You are not logged in.

#1 2007-04-28 16:54:54

coolpyrofreak
Member
From: Las Vegas
Registered: 2006-03-13
Posts: 53

problem with cd/dvd in fstab

I'm having the weirdest problem.  Since I upgraded to the 2.6.20 kernel, my cdrom doesn't seem to be detected.  I know the entry is missing from my fstab file.

none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0


/dev/sda1 /boot ext2 defaults 0 1
/dev/sda2 swap swap defaults 0 0
/dev/sda3 / reiserfs defaults 0 1
/dev/sda4 /home reiserfs defaults 0 1

Here's the strange part:  anything resembling a cdrom is also missing from /dev:

[matt@matt-laptop ~]$ ls /dev
agpgart  loop3     ram12   sda3        tty14  tty31  tty49  tty9
audio    loop4     ram13   sda4        tty15  tty32  tty5   ttyS0
bus      loop5     ram14   sequencer   tty16  tty33  tty50  ttyS1
console  loop6     ram15   sequencer2  tty17  tty34  tty51  ttyS2
core     loop7     ram2    shm         tty18  tty35  tty52  ttyS3
disk     lp0       ram3    snapshot    tty19  tty36  tty53  urandom
dri      mem       ram4    snd         tty2   tty37  tty54  usbdev1.1_ep00
dsp      misc      ram5    sound       tty20  tty38  tty55  usbdev1.1_ep81
fd       mixer     ram6    stderr      tty21  tty39  tty56  usbdev2.1_ep00
full     null      ram7    stdin       tty22  tty4   tty57  usbdev2.1_ep81
initctl  parport0  ram8    stdout      tty23  tty40  tty58  usbdev2.3_ep00
input    port      ram9    tts         tty24  tty41  tty59  usbdev2.3_ep81
kmem     psaux     random  tty         tty25  tty42  tty6   usbdev3.1_ep00
kmsg     ptmx      rd      tty0        tty26  tty43  tty60  usbdev3.1_ep81
log      pts       root    tty1        tty27  tty44  tty61  vc
loop     ram0      rtc     tty10       tty28  tty45  tty62  vcc
loop0    ram1      sda     tty11       tty29  tty46  tty63  zero
loop1    ram10     sda1    tty12       tty3   tty47  tty7
loop2    ram11     sda2    tty13       tty30  tty48  tty8

I really would rather not reinstall Arch if I don't have to, but I'm ready if that will fix the problem.  Whatever help I can get will be greatly appreciated.  Thanks.

Offline

#2 2007-04-28 17:32:10

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: problem with cd/dvd in fstab

Strange the you have no /dev/dvdx, or /dev/cdromx or /dev/sgx entries at all.
Just a suggestion: Try reinstalling udev and restarting it, or rebooting.
Also, if you have written any custom udev rules, check them thoroughly or remove them temporarily.

And of course you don't need any fstab entry. Only few programs (like wine) need it.

Last edited by scarecrow (2007-04-28 17:33:34)


Microshaft delenda est

Offline

#3 2007-04-28 21:19:40

Zoranthus
Member
From: muc
Registered: 2006-11-22
Posts: 166

Re: problem with cd/dvd in fstab

I just realized today that I'm having the same problem. I actually have an IDE-DVD-Rom and a cd-writer. Yet there aro no cd* and no dvd*-entries in /dev. No hd* either.

Last edited by Zoranthus (2007-04-28 22:41:29)

Offline

#4 2007-04-30 15:59:21

coolpyrofreak
Member
From: Las Vegas
Registered: 2006-03-13
Posts: 53

Re: problem with cd/dvd in fstab

I got it figured out.  I should have mentioned that I'm using a Compaq Presario 2500 (about 3 years old).  When I re-installed Arch with the ide-legacy option, everything worked fine.  I guess pata doesn't like my computer.

Offline

#5 2007-05-01 13:16:07

Zoranthus
Member
From: muc
Registered: 2006-11-22
Posts: 166

Re: problem with cd/dvd in fstab

Hm.. when do you have to use ide-legacy? I installed arch frmo 0.72 and everything used to work until recently.

I'm completely lost with my DVD-Drive and my CD Writer.

The BIOS recognizes it. Knoppix recognizes it. With Ach however, dmesg doesn't show anything. The only thing that resembles an error is this line;

ATA: abnormal status 0x7F on port 0x00010177

Here's the entire snippet:


ACPI: PCI Interrupt 0000:00:1f.2[A] -> Link [LNKC] -> GSI 5 (level, low) -> IRQ 5
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: PATA max UDMA/100 cmd 0x000101f0 ctl 0x000103f6 bmdma 0x0001fc00 irq 14
ata2: SATA max UDMA/133 cmd 0x00010170 ctl 0x00010376 bmdma 0x0001fc08 irq 15
scsi0 : ata_piix
ata1.00: ATA-7: Maxtor 6Y120P0, YAR41BW0, max UDMA/133
ata1.00: 240121728 sectors, multi 16: LBA 
ata1.00: configured for UDMA/100
scsi1 : ata_piix
ATA: abnormal status 0x7F on port 0x00010177
scsi 0:0:0:0: Direct-Access     ATA      Maxtor 6Y120P0   YAR4 PQ: 0 ANSI: 5
SCSI device sda: 240121728 512-byte hdwr sectors (122942 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
SCSI device sda: 240121728 512-byte hdwr sectors (122942 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2 sda3 sda4 < sda5 >
sd 0:0:0:0: Attached scsi disk sda
usbcore: registered new interface driver usbfs

I tried it with IDE and PATA hooks in mkinitcpio.conf and with my dvd-drive being ide0 and ide1, master and slave.. always the same: No trace of the drive or even the ide port it's hanging on in dmesg. sad

Oh and my drives used to work until like 3 weeks ago.

Last edited by Zoranthus (2007-05-01 13:32:58)

Offline

#6 2007-05-04 04:45:19

coolpyrofreak
Member
From: Las Vegas
Registered: 2006-03-13
Posts: 53

Re: problem with cd/dvd in fstab

If you can still boot your computer, add the "ide" hook to your mkinitcpio.conf file and remove pata entirely, and make a new kernel image.  That should do it.  If you can't boot, make sure you use "arch ide-legacy" when you're booting the install disk.

Last edited by coolpyrofreak (2007-05-04 04:46:12)

Offline

#7 2007-05-04 13:49:45

Zoranthus
Member
From: muc
Registered: 2006-11-22
Posts: 166

Re: problem with cd/dvd in fstab

Thanks for your answer, but that didn't help.
I can still boot and everything's working fine except for my CD/DVD-Drives.

Right now I have:

HOOKS="base udev autodetect ide sata filesystems"

in my mkinicpio.conf.

Offline

#8 2007-05-04 15:16:53

coolpyrofreak
Member
From: Las Vegas
Registered: 2006-03-13
Posts: 53

Re: problem with cd/dvd in fstab

In that case....I don't really know.  I had to reinstall the whole thing from scratch.  It's probably because the modules for your optical drives weren't loaded properly.  After I reinstalled everything, all of my drives started working fine without any problems.

Offline

Board footer

Powered by FluxBB