lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <adamyqmafl3.fsf@cisco.com>
Date:	Wed, 30 Jan 2008 18:34:00 -0800
From:	Roland Dreier <rdreier@...co.com>
To:	Kiyoshi Ueda <k-ueda@...jp.nec.com>
Cc:	bzolnier@...il.com, bbpetkov@...oo.de, nai.xia@...il.com,
	flo@...822.org, linux-kernel@...r.kernel.org,
	jens.axboe@...cle.com, j-nomura@...jp.nec.com,
	linux-ide@...r.kernel.org
Subject: Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089

 > 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.


View attachment "bootlog.txt" of type "text/plain" (53857 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ