[ltp] Grub hangs when cd drive in

shorty linux-thinkpad@linux-thinkpad.org
Thu, 05 Jan 2006 13:58:08 +1000


Hi all,
	About 4 months ago I started experiencing hangs on boot up with firstly
the bios screen (the "thinkpad" screen) then grub would hang at
detecting stage 1.5 and grub loading. I didnt really notice what the
problem was untill I saw in the logs that sometimes the cd drive was
failing to be detected or giving errors when it was. I thought this was
probably just the cd drive dying and when I removed it from the
ultrabay, I found that I was no longer experiencing the hangs at boot
time. After a couple of months I finally found an upgrade for it at a
reasonable price and bought a dvd+-rw drive. Now unfortunately once I
plugged it in I am again experiencing the hangs at boot, although not
quite as long as I remember them. Getting a few hdc errors in the logs
too, but the drive appears to be working ok. (btw debian sid 2.6.14
kernel) heres some errors.

Jan  4 12:30:43 linux kernel:     ide1: BM-DMA at 0x1868-0x186f, BIOS
settings: hdc:pio, hdd:pio
Jan  4 12:30:43 linux kernel: hdc: probing with STATUS(0x51) instead of
ALTSTATUS(0x7f)
Jan  4 12:30:43 linux kernel: hdc: _NEC DVD+/-RW ND-6500A, ATAPI
CD/DVD-ROM drive
Jan  4 12:30:43 linux kernel: hdc: ATAPI 24X DVD-ROM DVD-R CD-R/RW
drive, 2048kB Cache, DMA
Jan  4 13:05:02 linux kernel: hdc: lost interrupt
Jan  4 13:05:02 linux kernel: hdc: status error: status=0x58
{ DriveReady SeekComplete DataRequest }
Jan  4 13:05:02 linux kernel: hdc: drive not ready for command
Jan  4 13:05:07 linux kernel: hdc: status timeout: status=0xd8 { Busy }
Jan  4 13:05:07 linux kernel: hdc: DMA disabled
Jan  4 13:05:07 linux kernel: hdc: drive not ready for command
Jan  4 13:05:08 linux kernel: hdc: ATAPI reset complete
Jan  4 13:05:25 linux kernel: hdc: lost interrupt
Jan  4 13:05:25 linux kernel: hdc: status error: status=0x58
{ DriveReady SeekComplete DataRequest }
Jan  4 13:05:25 linux kernel: hdc: drive not ready for command
Jan  4 13:05:30 linux kernel: hdc: status timeout: status=0xd8 { Busy }
Jan  4 13:05:30 linux kernel: hdc: drive not ready for command
Jan  4 13:05:30 linux kernel: hdc: ATAPI reset complete
Jan  4 13:05:48 linux kernel: hdc: lost interrupt
Jan  4 13:05:48 linux kernel: hdc: status error: status=0x58
{ DriveReady SeekComplete DataRequest }
Jan  4 13:05:48 linux kernel: hdc: drive not ready for command
Jan  4 13:05:53 linux kernel: hdc: status timeout: status=0xd8 { Busy }
Jan  4 13:05:53 linux kernel: hdc: drive not ready for command
Jan  4 13:05:53 linux kernel: hdc: ATAPI reset complete
Jan  4 13:05:53 linux kernel: hdc: tray open
Jan  4 13:05:53 linux kernel: end_request: I/O error, dev hdc, sector 64
Jan  4 13:05:53 linux kernel: isofs_fill_super: bread failed, dev=hdc,
iso_blknum=16, block=16
Jan  4 13:12:52 linux kernel:     ide1: BM-DMA at 0x1868-0x186f, BIOS
settings: hdc:pio, hdd:pio
Jan  4 13:12:52 linux kernel: hdc: probing with STATUS(0x51) instead of
ALTSTATUS(0x7f)
Jan  4 13:12:52 linux kernel: hdc: _NEC DVD+/-RW ND-6500A, ATAPI
CD/DVD-ROM drive
Jan  4 13:12:52 linux kernel: hdc: ATAPI 24X DVD-ROM DVD-R CD-R/RW
drive, 2048kB Cache, DMA
Jan  4 13:12:52 linux kernel: hdc: lost interrupt
Jan  4 13:12:52 linux kernel: hdc: status error: status=0x58
{ DriveReady SeekComplete DataRequest }
Jan  4 13:12:52 linux kernel: hdc: drive not ready for command
Jan  4 13:12:52 linux kernel: hdc: status timeout: status=0xd8 { Busy }
Jan  4 13:12:52 linux kernel: hdc: DMA disabled
Jan  4 13:12:52 linux kernel: hdc: drive not ready for command
Jan  4 13:12:52 linux kernel: hdc: ATAPI reset complete
Jan  4 13:49:36 linux kernel: hdc: drive_cmd: status=0x51 { DriveReady
SeekComplete Error }
Jan  4 13:49:36 linux kernel: hdc: drive_cmd: error=0x04
{ AbortedCommand }
Jan  5 06:18:26 linux kernel:     ide1: BM-DMA at 0x1868-0x186f, BIOS
settings: hdc:pio, hdd:pio
Jan  5 06:18:26 linux kernel: hdc: probing with STATUS(0x51) instead of
ALTSTATUS(0x7f)
Jan  5 06:18:26 linux kernel: hdc: _NEC DVD+/-RW ND-6500A, ATAPI
CD/DVD-ROM drive
Jan  5 06:18:26 linux kernel: hdc: ATAPI 24X DVD-ROM DVD-R CD-R/RW
drive, 2048kB Cache, DMA 

The only thread that I could find similar to this doesnt seem to have
any real solution (apart from mobo replacement) Its here..
http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/2005-January/023052.html


Any thoughts on helping debug appreciated.. 

Cheers

Shorty