LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-08-2006, 06:12 PM   #1
itzig
Member
 
Registered: Jan 2006
Location: bay area
Distribution: slackware, Ubunutu, OSX
Posts: 77

Rep: Reputation: 15
mounting issue


I am having trouble mounting my cdr and my dvd player on a slackware 10.2, 4.2 kernel.
I have enabled scsi emulation, and edited my fstab, but I still get errors.
I think it has to do with the linking of devices, please advise!

I am trying to mount dev/scd0 as my cd writer, and dev scd1 as my dvd player.
Problem is it mounts scd0 as the dvd, and scd1 as the cdrw and
both drives as "ssci", do I really need that for the dvd player?
*When trying to mount a dvd-movie, it says "no medium found".
*The cdburner mounts as "read only"

I can't burn disc yet either, it might be because of this DMA error:
dmesg | grep hd
Quote:
Kernel command line: BOOT_IMAGE=Linux ro root=306 hdc=ide-scsi hdd=ide-scsi
ide_setup: hdc=ide-scsi
ide_setup: hdd=ide-scsi
ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hdaMA, hdbio
ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdcMA, hddMA
hda: WDC WD1200JB-75CRA0, ATA DISK drive
hdc: Lite-On LTN486 48x Max, ATAPI CD/DVD-ROM drive
hdd: HL-DT-ST GCE-8160B, ATAPI CD/DVD-ROM drive
hda: attached ide-disk driver.
hda: host protected area => 1
hda: setmax LBA 234375120, native 234375000
hda: 234375000 sectors (120000 MB) w/8192KiB Cache, CHS=14589/255/63, UDMA(100)
hda: hda1 hda2 < hda5 hda6 > hda4
hdc: attached ide-scsi driver.
hdd: attached ide-scsi driver.
hdc: DMA interrupt recovery
hdc: lost interrupt
hdc: status timeout: status=0xd0 { Busy }
hdc: DMA disabled
hdc: drive not ready for command
hdc: ATAPI reset complete
ls -la /dev/scd0
Quote:
brw-rw---- 1 root cdrom 11, 0 1994-07-18 09:06 /dev/scd0
root@wildblue:/mnt# ls -la /dev/scd1
brw-rw---- 1 root cdrom 11, 1 1994-07-18 09:06 /dev/scd1
root@wildblue:/mnt# ls -la /dev/hdc
brw-rw---- 1 root disk 22, 0 2002-06-09 12:27 /dev/hdc
root@wildblue:/mnt# ls -la /dev/hdd
brw-rw---- 1 root disk 22, 64 2002-06-09 12:27 /dev/hdd
fstab
Quote:

/dev/hda5 swap swap defaults 0 0
/dev/hda6 / ext2 defaults 1 1
/dev/hda1 /media/betelgeuse_C ntfs ro 1 0
/dev/hda4 /media/betelgeuse_D vfat defaults 1 0
/dev/sda1 /media/usb_ion_A vfat defaults 1 0
/dev/sdc1 /media/usb_ion_B vfat user 1 0
/dev/sdc5 /media/usb_maxtor vfat defaults 1 0
/dev/scd0 /mnt/dvdrom iso9660 noauto,user,ro 0 0
/dev/scd1 /mnt/cdwrite iso9660 noauto,user,rw 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
mtab
Quote:
/dev/hda6 / ext2 rw 0 0
proc /proc proc rw 0 0
/dev/hda1 /media/betelgeuse_C ntfs ro 0 0
/dev/hda4 /media/betelgeuse_D vfat rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
lsmod
Quote:
Module Size Used by Not tainted
appletalk 20036 1 (autoclean)
ipx 16580 1 (autoclean)
snd-pcm-oss 36736 1
snd-mixer-oss 12376 0 [snd-pcm-oss]
snd-intel8x0 18304 2
snd-ac97-codec 58556 0 [snd-intel8x0]
snd-pcm 54344 0 [snd-pcm-oss snd-intel8x0 snd-ac97-codec]
snd-timer 13764 0 [snd-pcm]
snd 32772 1 [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec snd-pcm snd-timer]
soundcore 3396 4 [snd]
snd-page-alloc 4712 0 [snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd]
pcmcia_core 39172 0
ntfs 51232 1 (autoclean)
ide-scsi 9392 0
3c59x 26576 1
agpgart 45508 0 (unused)
cdrecord -scanbus
Quote:
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.8'.
scsibus0:
cdrecord: Warning: controller returns wrong size for CD capabilities page.
0,0,0 0) 'Lite-On ' 'LTN486 48x Max ' 'YD01' Removable CD-ROM
0,1,0 1) 'HL-DT-ST' 'CD-RW GCE-8160B ' '2.11' Removable CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
lspci
Quote:
00:00.0 Host bridge: Intel Corporation 82850 850 (Tehama) Chipset Host Bridge (MCH) (rev 04)
00:01.0 PCI bridge: Intel Corporation 82850 850 (Tehama) Chipset AGP Bridge (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 04)
00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 04)
00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 (rev 04)
00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #1) (rev 04)
00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus (rev 04)
00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #2) (rev 04)
00:1f.5 Multimedia audio controller: Intel Corporation 82801BA/BAM AC'97 Audio (rev 04)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2)
02:07.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
02:07.1 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
02:07.2 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
02:07.3 USB Controller: ALi Corporation USB 2.0 Controller (rev 01)
02:07.4 FireWire (IEEE 1394): ALi Corporation M5253 P1394 OHCI 1.1 Controller
02:08.0 Communication controller: Conexant HSF 56k Data/Fax Modem (rev 01)
02:09.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
 
Old 02-08-2006, 07:42 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937
From the info provided having the reader assigned to /dev/scd0 and the writer assigned to /dev/scd1 is normal. You can create a link such as /dev/cdwriter if desired to make identification easier. You do not need SCSI emulation for the reader unless you want to copy CDs. I suspect that the "no medium found" error might be due to using the wrong device ID.

linux does not have the capability of writing to CDs on the fly. The application acccess the device itself and does not use any reference via /etc/fstab. You can not mount a blank CD because it does not contain a valid filesystem.

What application are you using to burn CDs? I suggest k3b.

Last edited by michaelk; 02-08-2006 at 07:44 PM.
 
Old 02-09-2006, 04:51 AM   #3
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
you dont need to set a cd/dvd recorders as rw in /etc/fstab. this does not determine cd writing.... so leave as ro....

also i would recommend a 2.6.x kernel. there are pre-complied ones for slackware. not sure why they insist on using 2.4.x
 
Old 02-09-2006, 11:00 PM   #4
itzig
Member
 
Registered: Jan 2006
Location: bay area
Distribution: slackware, Ubunutu, OSX
Posts: 77

Original Poster
Rep: Reputation: 15
I just have cdrecord, k3b is not installed yet -wanted to wait till I have sorted out the last issues here.
I did not try to mount a "blank" dvd, it was "commercial movie dvd"; you can't do that either?
I can handle the identification of the devise, so I won't create the link, but you say I use the wrong "device ID"-
Which one? How do I change the permissions of the cdwriter so it won't mount ready only?

I changed back fstab entries of cd/dvd recorders back to "ro"
Yes, I was thinking about the 2.6 kernel, it sounds a lot better. However I am just now at the point where I got everything working, well "almost.."! Reading some posts about that it sounds it could mess up some old configuration files, and I just have wayyyyy too much work now, to be messing with that. If yo have a link to a tutorial for future reference I would greatly appreciate it!

I get this error when trying to mount the dvd, when I try a minute later it works, whta's that all about?
What does this "dma" error mean?


root@wildblue:/mnt# mount -t iso9660 /dev/scd0 /mnt/dvdrom
mount: block device /dev/scd0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/scd0,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

root@wildblue:/mnt# dmesg | tail
ISOFS: changing to secondary root
scsi : aborting command due to timeout : pid 34, scsi0, channel 0, id 0, lun 0 0x28 00 00 00 00 10 00 00 01 00
hdc: DMA interrupt recovery
hdc: lost interrupt
hdc: status timeout: status=0xd0 { Busy }
hdc: DMA disabled
hdc: drive not ready for command
hdc: ATAPI reset complete
I/O error: dev 0b:00, sector 68
isofs_read_super: bread failed, dev=0b:00, iso_blknum=17, block=17
 
Old 02-10-2006, 07:08 AM   #5
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
i'd switch to 2.6.

there is a precompiled version in slackware and instructions on the disk of how to install it.......
 
Old 02-10-2006, 04:05 PM   #6
itzig
Member
 
Registered: Jan 2006
Location: bay area
Distribution: slackware, Ubunutu, OSX
Posts: 77

Original Poster
Rep: Reputation: 15
I found the kernel, and instructions. Is this really all I need to do?:
Quote:
To use a kernel, copy the System.map and config files to your /boot directory and copy the kernel image to /boot/vmlinuz. Run /sbin/lilo(8) to install LILO for the new kernel, and then reboot your system
That sounds pretty easy, but instructions on this site are a bid different: http://dlgwiki.dot42.org/index.php/2.4.26_to_2.6.7
Is it cause I am running kernel 2.4.31?

txs!
 
Old 02-10-2006, 04:14 PM   #7
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
there are proper instructions on disk 2 i believe.

they explain how to install the 2.6.13 kernel from the disk and how to config grub etc.

Last edited by satinet; 02-10-2006 at 04:15 PM.
 
Old 02-11-2006, 01:24 PM   #8
itzig
Member
 
Registered: Jan 2006
Location: bay area
Distribution: slackware, Ubunutu, OSX
Posts: 77

Original Poster
Rep: Reputation: 15
hmm, I can find the test26.s kernel on the first CD, 2.6.13 kernel is on CD2 with all source code and modules etc. however reading all the text files in there I can't find instructions!

Which one should I use anyhow, I guess I would use only the 2.6.13 kernel. Sorry for all the dumb questions I have never done that b4!

txs!
 
Old 02-11-2006, 01:29 PM   #9
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
i cant remember off the top of my head.

will get back to you soon....
 
Old 02-14-2006, 04:15 PM   #10
itzig
Member
 
Registered: Jan 2006
Location: bay area
Distribution: slackware, Ubunutu, OSX
Posts: 77

Original Poster
Rep: Reputation: 15
Nevermind, thank you! I found instructions on this site: http://dlgwiki.dot42.org/index.php/2.4.26_to_2.6.7 and it installed fine )) Except I was unable to install the nvidia driver, I am on a x86 platform, and there does not seem to be a driver available for it. Doesn't matter, it works fine without! I can now mount the cdrom fine, AKA root@wildblue:/mnt# mount -t iso9660 /dev/cdrom /mnt/cdrom
problem is it mounts the dvddrive, not the cdwriter? It all works when mounting "hdc" and "hdd".
I still have a bunch of external usb drives that I can't get to mount.( bad superblock error)
I think it all has to do with the link in /dev, how can I create my own links in "/dev"?

txs!

Last edited by itzig; 02-14-2006 at 04:28 PM.
 
Old 02-15-2006, 02:27 AM   #11
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
x86? surely there is.

udev creates devices. try upgrading to the latest version. i think you need to get the kernel from the slackware disk. its 2.6.13, its on the disk under /test.

if you man 'mkinitrc' then there is a path to where the new kernel and stuff is.
 
Old 02-15-2006, 11:18 PM   #12
itzig
Member
 
Registered: Jan 2006
Location: bay area
Distribution: slackware, Ubunutu, OSX
Posts: 77

Original Poster
Rep: Reputation: 15
You are right,- digging a little deeper I found some other drivers for x86, I will try to install tonight. I have udev 064 installed, I see there is a 084 version out, I'll have a try at that as well. From what I was reading so far- that "udev thingy" sound pretty complicated. Why isn't the version that is installed working at all? Why do I need the kernel from the disc again, after I just installed it?
If I man 'mkinitrc' I get: No manual entry for mkinitrc When trying to install initrd, I read somewhere that it is not needed with ext2 filesystem, since it is suppose to be pre compiled in the kernel!

thank you, I appreciate it!

Last edited by itzig; 02-15-2006 at 11:22 PM.
 
Old 02-16-2006, 02:25 AM   #13
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
you shouldnt need a initrc,so i wouldnt worry about that.
 
Old 02-17-2006, 12:05 AM   #14
itzig
Member
 
Registered: Jan 2006
Location: bay area
Distribution: slackware, Ubunutu, OSX
Posts: 77

Original Poster
Rep: Reputation: 15
ok, I got the newest Nvidia driver installed. I looked around at my current installation of udev, and everything looks like it's in place. I would like to at least try it, before I install the newer version of udev and hotplug, since I need to compile them from source, and I don't how well that work on my box.
When I look those particular pkgs up in gslapt they show as "status: excluded"
It won't let me change anything there,- how does I get it started?
txs!
 
Old 02-17-2006, 01:53 AM   #15
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
you need to vi /etc/slap-get/blacklist

or something along those lines
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cd mounting issue greenmuzz Linux - Hardware 2 09-09-2005 02:44 PM
Help with a mounting issue????? graystarr Red Hat 1 04-27-2005 07:47 AM
MDK mounting issue Stephanie Linux - General 3 07-03-2002 03:15 AM
RH 7.2 Mounting Issue santiagodelgado Linux - Software 6 10-29-2001 06:17 AM
Follow up for my mounting issue... juagut Linux - Newbie 3 04-24-2001 10:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration