My dmesg relevant info is quite similar: [ 6.875041] Freeing unused kernel memory: 320k freed [ 8.143120] ide-cd: rq still having bio: dev hdc: type=2, flags=114c8 [ 8.144439] [ 8.144439] sector 10824201199534213, nr/cnr 0/0 [ 8.144439] bio cf029280, biotail cf029280, buffer 00000000, data 00000000, len 158 [ 8.144439] cdb: 12 00 00 00 fe 00 00 00 00 00 00 00 00 00 00 00 [ 8.144439] backup: data_len=158 bi_size=158 [ 8.160756] ide-cd: rq still having bio: dev hdc: type=2, flags=114c8 [ 8.160756] [ 8.160756] sector 2669858, nr/cnr 0/0 [ 8.160756] bio cf029300, biotail cf029300, buffer 00000000, data 00000000, len 158 [ 8.160756] cdb: 12 01 00 00 fe 00 00 00 00 00 00 00 00 00 00 00 [ 8.160756] backup: data_len=158 bi_size=158 [ 14.851101] eth0: link up [ 27.121883] eth0: no IPv6 routers present And by the way, Kiyoshi, This can be reproduced in a typical setup vmware workstation 6.02 with a vritual IDE cdrom, in case you wanna catch that with your own eyes. :-) Thanks for your trying hard to correct this annoying bug. Best Regards, Nai On 1/31/08, Roland Dreier <rdreier@xxxxxxxxx> wrote: > > Could you try the patch below and give me all boot messages again? > > Sure, no problem, see below for full log (I updated to the latest git, > which seems to have some other unrelated problems with things timing > out earlier in the boot, but it does get to the ide-cd init); here's > the relevant looking debug info: > > [ 163.990058] ide-cd: rq still having bio: dev hda: type=2, flags=114c8 > [ 163.990060] > [ 163.990061] sector 1987647, nr/cnr 0/0 > [ 163.990063] bio ffff8101c418c200, biotail ffff8101c418c200, buffer > 0000000000000000, data 0000000000000000, len 158 > [ 163.990064] cdb: 12 00 00 00 fe 00 00 00 00 00 00 00 00 00 00 00 > [ 163.990069] backup: data_len=158 bi_size=158 > [ 163.994021] ide-cd: rq still having bio: dev hda: type=2, flags=114c8 > [ 163.994023] > [ 163.994024] sector 1987647, nr/cnr 0/0 > [ 163.994025] bio ffff8101c418c200, biotail ffff8101c418c200, buffer > 0000000000000000, data 0000000000000000, len 158 > [ 163.994027] cdb: 12 01 00 00 fe 00 00 00 00 00 00 00 00 00 00 00 > [ 163.994032] backup: data_len=158 bi_size=158 > > > This patch displays debug messages against requests still having bio, > > then tries to unlink all bios from the rq before the rq is completed. > > So your system may be able to continue to work correctly > > after displaying debug messages. > > By the way, even with your first debug patch, I had no problem using > the box once it booted. I didn't try the CD-ROM but everything else > seemed fine. > > Also, I saw the same issue on a different box (Dell SC1435 with > serverworks IDE): > > [ 1.367648] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 > [ 1.371649] ide: Assuming 33MHz system bus speed for PIO modes; > override with idebus=xx > [ 2.612417] SvrWks HT1000: IDE controller (0x1166:0x0214 rev 0x00) at > PCI slot 0000:00:02.1 > [ 2.612439] SvrWks HT1000: not 100% native mode: will probe irqs > later > [ 2.616427] ide0: BM-DMA at 0x08c0-0x08c7, BIOS settings: > hda:DMA, hdb:pio > [ 2.623505] Probing IDE interface ide0... > [ 4.037070] hda: PHILIPS DVD-ROM SDR089, ATAPI CD/DVD-ROM drive > [ 4.041801] hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4 > [ 4.058447] hda: UDMA/33 mode selected > [ 4.061278] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 > [ 4.632739] hda: ATAPI 24X DVD-ROM drive, 2048kB Cache > ... > [ 8.631615] ide-cd: rq still having bio: dev hda: type=2, flags=114c8 > [ 8.631615] > [ 8.631615] sector 2867855, nr/cnr 0/0 > [ 8.631615] bio ffff81021fba3f40, biotail ffff81021fba3f40, buffer > 0000000000000000, data 0000000000000000, len 158 > [ 8.631615] cdb: 12 00 00 00 fe 00 00 00 00 00 00 00 00 00 00 00 > [ 8.660505] ide-cd: rq still having bio: dev hda: type=2, flags=114c8 > [ 8.660505] > [ 8.660505] sector 2867855, nr/cnr 0/0 > [ 8.660505] bio ffff81021fba3f40, biotail ffff81021fba3f40, buffer > 0000000000000000, data 0000000000000000, len 62 > [ 8.660505] cdb: 12 00 00 00 fe 00 00 00 00 00 00 00 00 00 00 00 > > Let me know if you'd like debug info from that too. > > - To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html