You are not logged in.
ever since the 2.6.19 kernel upgrade i've been in a constant struggle with getting my CD/DVD drive to be detected on boot.
I've read through all the relevant threads i could find, but still can't work it out. :?
Firstly, during boot i get these errors:
ata_piix 0000:00:1f.1: version 2.00ac6
ata1: PATA max UDMA/100 cmd 0x1F0 ctl 0x3F6 bmdma 0xFFA0 irq 14
ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xFFA8 irq 15
scsi0 : ata_piix
ata1.00: ATAPI, max UDMA/66
ata1.00: configured for UDMA/66
scsi1 : ata_piix
ata2: port disabled. ignoring.
ATA: abnormal status 0xFF on port 0x177
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata1.00: (BMDMA stat 0x24)
ata1.00: tag 0 cmd 0xa0 Emask 0x4 stat 0x40 err 0x0 (timeout)
ata1: soft resetting port
ata1.00: configured for UDMA/66
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata1.00: (BMDMA stat 0x24)
ata1.00: tag 0 cmd 0xa0 Emask 0x4 stat 0x40 err 0x0 (timeout)
ata1: soft resetting port
ata1.00: configured for UDMA/66
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata1.00: (BMDMA stat 0x24)
ata1.00: tag 0 cmd 0xa0 Emask 0x4 stat 0x40 err 0x0 (timeout)
ata1: soft resetting port
ata1.00: configured for UDMA/66
ata1: EH complete
ata1.00: limiting speed to UDMA/44
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata1.00: (BMDMA stat 0x24)
ata1.00: tag 0 cmd 0xa0 Emask 0x4 stat 0x40 err 0x0 (timeout)
ata1: soft resetting port
ata1.00: configured for UDMA/44
ata1: EH complete
ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
ata3: SATA max UDMA/133 cmd 0xAC00 ctl 0xA882 bmdma 0xA400 irq 18
ata4: SATA max UDMA/133 cmd 0xA800 ctl 0xA482 bmdma 0xA408 irq 18
scsi2 : ata_piix
ata3.00: ATA-7, max UDMA/133, 488397168 sectors: LBA48
ata3.00: ata3: dev 0 multi count 16
ata3.00: configured for UDMA/133
scsi3 : ata_piix
ata4.00: ATA-6, max UDMA/133, 234441648 sectors: LBA48
ata4.00: ata4: dev 0 multi count 16
ata4.01: ATA-7, max UDMA/133, 312581808 sectors: LBA48
ata4.01: ata4: dev 1 multi count 16
ata4.00: configured for UDMA/133
ata4.01: configured for UDMA/133
9 times out of 10 my cd drive won't be detected, however occasionally it will...at least until the next time i boot
i've tried appending earlymodules=piix / ata_piix to my kernel boot command but with no luck. I've also tried creating alternative initramfs images from http://wiki.archlinux.org/index.php/Mkinitcpio but that didn't work either. Admittedly i didn't know exactly what i was doing tho heheh :oops:
let me know if you need me to post my menu.lst, rc.conf and/or mkinitcpio.conf
thanks for any help!
Offline
I'm having a number of issues with my cdrom since the update as well. Is this actually a sata drive, or is it ide that's being seen as sata? What do you mean by having no luck when using earlymodules=piix? Are you using ahci? Once I set that up, things seemed to improve a little, but I can't really say for sure since it's an intermittent issue I'm dealing with.
My issue differs from yours some in that I'm not getting soft-resets on boot, but I get logs like that 50+ percent of the time when I burn discs now. I do get the same abnormal status line in dmesg, though. Googling hasn't been very fruitful, but I have seen several similar issues reported, though IIRC most of them were for 2.6.17, not the recent kernel.
I'm considering trying out the pata hooks this weekend. Not expecting anything to change, really, but WTH. For the record I have an LG "HL-DT-ST DVDRAM GSA-4163B" and a supermicro PDSG4 mobo with an ICH7 chipset (according to dmesg at least).
Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein
Offline
good to see i'm not the only one having similar issues.
What do you mean by having no luck when using earlymodules=piix
I read in another thread that that might solve the problem that's why i did it.... as i said, i don't really know what i'm doing here - i haven't had time to read up everything about it.
Is this actually a sata drive, or is it ide that's being seen as sata?
I'm pretty sure it is sata connected, i'll open up the box and double check to make sure tho - or is there another way? keeping in mind my cd drive is currently not detected as far as i can tell.
Are you using ahci?
The module is loaded if that's what you mean.
lsmod | grep ahci
ahci 16644 0
libata 90644 4 ahci,pata_it821x,ata_piix,ata_generic
Offline
ok, i played around again and managed to get it to work with a test image. I'm not 100% sure that it will work next time i reboot - i want to do some burning before i reboot in case i lose the bloody drive again!
What i did was:
mkinitcpio -M
and put the modules in modules in rc.conf (including the other custom modules for my machine)
next in /etc/mkinitcpio.conf put hooks to:
HOOKS="base udev autodetect sata filesystems"
and modules to :
MODULES="piix"
then generated the image:
mkinitcpio -g /boot/kernel26-test.img
then made a grub entry to test the image. Seemed to work, but as i said this may not work next reboot
Offline
I may be wrong but if you have a sata drive its means there's a seperate controller from your ide cdrom. In that case you'll need to enable sata and pata support in the kernel. Give that a shot.
Offline
Well, it sounds like our issues are actually not similar afterall. I have an ide burner that started to be seen as sr0 instead of hda after the recent upgrades. It's always seen, but I end up with similar errors in my dmesg, and end up burning a lot of coasters now.
If your fix doesn't work, I'd do two things - try a fallback image, and look at your bios settings. In order to really enable ahci I had to set my bios for it and had to add it to my modules array in mkinitcpio.conf.
As far as earlymodules=piix goes, what I meant to ask was what did you mean when you said it didn't work. In my case, adding that line to my boot options changes my dvd-rw drive back to hda instead of sr0.
Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein
Offline
lsmod | grep ahci
ahci 16644 5
libata 90644 1 ahci
although I have an ide dvd drive ... did have issues pre jmicron patch
just set up ahci in bios ....
HTH
Mr Green
Offline
just set up ahci in bios ....
I had a brief look in my bios setup for it but couldn't find it... someone point me in the right direction? also what is required, is it just a simple enable/disable toggle?
On another note it looks like i have my drive back, however it is not sr0 anymore but back to hda. I'm not sure if this will cause a problem later on but i'm happy for now.
Offline
So did you get it working permanently using that previous method? (I'm having the same problem)
Offline
yep, generating a new image worked for me. I can give more detailed steps if need be
Offline
yep, generating a new image worked for me. I can give more detailed steps if need be
Well just adding piix fixed the problem detecting my cdrom/dvd drive however now I get kernel panics involving "kinit: cannot open root device dev(0,0), init not found." So maybe a little more detailed explanation would be more appropriate ^^
On a side note: I did exactly what you said originally with the same effects.
Offline
Well just adding piix fixed the problem
Was that adding, earlymodules=piix? because i had the same kernel panics.
Offline
Alright I fixed it myself. I took a slightly different approach - I just compiled my own custom kernel, edited my fstab back to hda and changed my grub back to hda. Now everything works fine.
Offline
just for some closure, the last kernel update resolved the problem for me. I no longer get the strange SATA timeouts and my CD/DVD device is properly detected everytime. Solved!
Offline