mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Nai Xia" <nai.xia@gmail.com>
To: "Roland Dreier" <rdreier@cisco.com>
Cc: "Kiyoshi Ueda" <k-ueda@ct.jp.nec.com>,
	bzolnier@gmail.com, bbpetkov@yahoo.de, flo@rfc822.org,
	linux-kernel@vger.kernel.org, jens.axboe@oracle.com,
	j-nomura@ce.jp.nec.com, linux-ide@vger.kernel.org
Subject: Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089
Date: Thu, 31 Jan 2008 15:49:47 +0800	[thread overview]
Message-ID: <ab418ea90801302349u945788jeed1f42021801dbf@mail.gmail.com> (raw)
In-Reply-To: <adamyqmafl3.fsf@cisco.com>

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@cisco.com> 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.
>
>

  reply	other threads:[~2008-01-31  7:51 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-29 14:01 Nai Xia
2008-01-29 15:33 ` Florian Lohoff
2008-01-29 20:13 ` Kiyoshi Ueda
2008-01-29 22:22   ` Roland Dreier
2008-01-29 23:23     ` Kiyoshi Ueda
2008-01-29 23:58       ` Bartlomiej Zolnierkiewicz
2008-01-30  5:03         ` Borislav Petkov
2008-01-30  5:16           ` Borislav Petkov
2008-01-31  1:26       ` Kiyoshi Ueda
2008-01-31  2:34         ` Roland Dreier
2008-01-31  7:49           ` Nai Xia [this message]
2008-01-31 13:05             ` Jens Axboe
2008-01-31 14:53               ` Florian Lohoff
2008-01-31 15:04                 ` Jens Axboe
2008-02-01 21:59                   ` Bartlomiej Zolnierkiewicz
2008-01-31 17:04               ` Kiyoshi Ueda
2008-01-31 18:16                 ` Jens Axboe
2008-01-31 20:35                   ` Kiyoshi Ueda
2008-01-31 21:37               ` Borislav Petkov
2008-01-31 22:35                 ` Kiyoshi Ueda
2008-02-01  7:51                   ` Borislav Petkov
2008-02-01 17:39                     ` Kiyoshi Ueda
2008-02-01 18:29                       ` Borislav Petkov
2008-02-01 19:37                         ` Kiyoshi Ueda

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ab418ea90801302349u945788jeed1f42021801dbf@mail.gmail.com \
    --to=nai.xia@gmail.com \
    --cc=bbpetkov@yahoo.de \
    --cc=bzolnier@gmail.com \
    --cc=flo@rfc822.org \
    --cc=j-nomura@ce.jp.nec.com \
    --cc=jens.axboe@oracle.com \
    --cc=k-ueda@ct.jp.nec.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rdreier@cisco.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®