View previous topic :: View next topic |
Author |
Message |
mazirian Apprentice
Joined: 26 Jun 2003 Posts: 273 Location: Yarmouth, ME
|
Posted: Wed Dec 28, 2005 10:44 pm Post subject: Hey, where'd my /dev/hdc go?? {Semi-solved} |
|
|
I have a cd/dvd combo drive that has always been properly detected at boot and given node /dev/hdc. Suddenly, /dev/hdc is longer getting created and the drive is longer being detected at boot. I think this coincides with a recent kernel upgrade to 2.6.14-r4 (although the problem persisted after changing the kernel to 2.6.14-r5 today). ide_cd is built into the kernel. The drive is still working fine, as it will happily boot the box into knoppix using a live cd. Here is the relevant portion of my dmesg:
Code: |
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:11.1
ACPI: PCI Interrupt 0000:00:11.1[A]: no GSI
PCI: Via IRQ fixup for 0000:00:11.1, from 255 to 15
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci0000:00:11.1
ide0: BM-DMA at 0xb000-0xb007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xb008-0xb00f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: ST3120026A, ATA DISK drive
hdb: HDT722525DLAT80, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
hdd: ST3250823A, ATA DISK drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 1024KiB
hda: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=16383/255/63, UDMA(100)
hda: cache flushes supported
hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 hda9 >
hdb: max request size: 1024KiB
hdb: 488397168 sectors (250059 MB) w/7674KiB Cache, CHS=30401/255/63, UDMA(133)
hdb: cache flushes supported
hdb: hdb1 hdb2
hdd: max request size: 1024KiB
hdd: 488397168 sectors (250059 MB) w/8192KiB Cache, CHS=30401/255/63, UDMA(33)
hdd: cache flushes supported
hdd: hdd1
ide-floppy driver 0.99.newide
libata version 1.12 loaded.
|
Formerly it always recognized the cd drive. What happened? And why is the mouse detected when it probes the second ide channel? Any ideas for how to begin troubleshooting this?
EDIT: Since posting, I've recompiled the kernel with ide-cd support built as a module. Loading the module does not solve the problem, although I get this log entry:
Code: |
Dec 28 18:38:41 phandaal sudo: bowman : TTY=pts/0 ; PWD=/home/bowman ; USER=root ; COMMAND=/sbin/modprobe ide-cd
Dec 28 18:38:42 phandaal hald[10590]: Timed out waiting for hotplug event 1068. Rebasing to 1070
|
Last edited by mazirian on Sat Dec 31, 2005 4:59 am; edited 1 time in total |
|
Back to top |
|
|
anonybosh Guru
Joined: 20 Nov 2005 Posts: 324
|
Posted: Thu Dec 29, 2005 6:08 am Post subject: |
|
|
Any chance you could post your kernel config? |
|
Back to top |
|
|
mazirian Apprentice
Joined: 26 Jun 2003 Posts: 273 Location: Yarmouth, ME
|
Posted: Thu Dec 29, 2005 12:57 pm Post subject: |
|
|
Sure:
Code: |
<edit>
removed the pasted .config, it made the thread too hard to read and wasn't relevant to the problem...
</edit>
|
Last edited by mazirian on Sat Dec 31, 2005 4:58 am; edited 1 time in total |
|
Back to top |
|
|
anonybosh Guru
Joined: 20 Nov 2005 Posts: 324
|
Posted: Sat Dec 31, 2005 3:48 am Post subject: |
|
|
Have you tried rolling back to the previous kernel version running the same config file? |
|
Back to top |
|
|
mazirian Apprentice
Joined: 26 Jun 2003 Posts: 273 Location: Yarmouth, ME
|
Posted: Sat Dec 31, 2005 4:30 am Post subject: |
|
|
Yeah, that's the weirdest part of all. I just booted into older kernels dating back to when I know the cd drive was being detected properly, but I still get the same problem. When the kernel probes ide1 it takes about 10 seconds and then finds the hard drive on that ide cable but misses the optical drive. Occasionally I will get a "probe timed out before all ready" or some such error when it probes ide1, but other than that there's no indication what's going on. I just booted into knoppix and damn-small-linux livecds and they both have no problem detecting the drive.
The gentoo install on this particular box is almost three years old. I've pulled it through just about everything, I'd hate to let something like this kill it, but I need to be able to use my combo drive again soon. |
|
Back to top |
|
|
mazirian Apprentice
Joined: 26 Jun 2003 Posts: 273 Location: Yarmouth, ME
|
Posted: Sat Dec 31, 2005 4:56 am Post subject: |
|
|
Solved, but not in a completely satisfying way...
The solution came from the kernel doc file ide.txt, which suggested adding the following boot option:
Now my dmesg looks like:
Code: |
Probing IDE interface ide0...
hda: ST3120026A, ATA DISK drive
hdb: HDT722525DLAT80, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
ide1: Wait for ready failed before probe !
hdc: _NEC DVD_RW ND-3520A, ATAPI CD/DVD-ROM drive
hdd: ST3250823A, ATA DISK drive
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
|
The only problem is that it hangs for 20-30 seconds after writing the "input: ..." line, which makes booting a bit slower than I'd like. There must be something about sharing the channel or IRQ between those two devices that screws things up, but I'm not a hardware guy. Maybe switching the order of the devices on that cable will help.
Thanks for your replies. |
|
Back to top |
|
|
anonybosh Guru
Joined: 20 Nov 2005 Posts: 324
|
Posted: Sat Dec 31, 2005 6:28 am Post subject: |
|
|
That is rather strange. Could you (or a dead battery) have possibly changed anything in the BIOS settings?
Glad to at least appear like I'm helping! ;-) |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|