All of lore.kernel.org
 help / color / mirror / Atom feed
* [PROBLEM] kernel BUG at include/linux/blkdev.h:601
@ 2005-06-29  5:19 Srihari Vijayaraghavan
  0 siblings, 0 replies; 6+ messages in thread
From: Srihari Vijayaraghavan @ 2005-06-29  5:19 UTC (permalink / raw)
  To: linux-kernel

Vanilla 2.6.12 or 2.6.12-git* (the below BUG/Panic
report is from 2.6.12-git9).

Hardware:
ICH4: chipset revision 1
ICH4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1860-0x1867, BIOS settings:
hda:DMA, hdb:pio
    ide1: BM-DMA at 0x1868-0x186f, BIOS settings:
hdc:DMA, hdd:DMA
hda: IC35L060AVV207-0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: LITE-ON LTR-48246S, ATAPI CD/DVD-ROM drive
hdd: HL-DT-ST CD-ROM GCR-8482B, ATAPI CD/DVD-ROM drive

Software:
Linux-2.6.*
Vanilla FC4 + official updates

How to reproduce:
Insert Coldplay X&Y CD album (yes, it's a
copy-controlled cd), and wait for few minutes until it
crashes. No need to even 'play' it.

end_request: I/O error, dev hdc, sector 0
printk: 140 messages suppressed.
Buffer I/O error on device hdc, logical block 0
hdc: command error: status=0x51 { DriveReady
SeekComplete Error }
hdc: command error: error=0x54 { AbortedCommand
LastFailedSense=0x05 }
ide: failed opcode was: unknown
end_request: I/O error, dev hdc, sector 0
------------[ cut here ]------------
kernel BUG at include/linux/blkdev.h:601!
invalid operand: 0000 [#1]
Modules linked in: autofs4 sunrpc af_packet dm_mod
video thermal processor fan button uhci_hcd ehci_hcd
intel_agp i2c_i801 i2c_core snd_intel8x0
snd_ac97_codec snd_seq_dummy snd_seq_oss
snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss
snd_mixer_oss snd_pcm snd_timer snd soundcore
snd_page_alloc e100 mii floppy ide_cd cdrom usbcore
unix ext3 mbcache jbd
CPU:    0
EIP:    0060:[<c01f5e68>]    Not tainted VLI
EFLAGS: 00010046   (2.6.12-git9) 
EIP is at __ide_end_request+0x118/0x125
eax: 00009feb   ebx: de543460   ecx: 01600100   edx:
de543460
esi: 00000001   edi: c033e5fc   ebp: 00000292   esp:
c030ef58
ds: 007b   es: 007b   ss: 0068
Process swapper (pid: 0, threadinfo=c030e000
task=c02a2b80)
Stack: 00000001 de543460 c033e5fc c01f5eca 00000001
00000001 00000012 c033e5fc 
       00000012 de543460 e008d547 e008c8af c033e56c
00000004 00000003 00000012 
       0000000f 00000050 df3dad80 c033e5fc 00000296
c033e56c c01f7762 c030efb0 
Call Trace:
 [<c01f5eca>] ide_end_request+0x55/0x57
 [<e008d547>] cdrom_pc_intr+0x90/0x219 [ide_cd]
 [<e008c8af>] cdrom_timer_expiry+0x0/0x59 [ide_cd]
 [<c01f7762>] ide_intr+0x66/0x11d
 [<e008d4b7>] cdrom_pc_intr+0x0/0x219 [ide_cd]
 [<c01320ed>] handle_IRQ_event+0x2e/0x5a
 [<c0132197>] __do_IRQ+0x7e/0xc7
 [<c010459d>] do_IRQ+0x4a/0x82
 =======================
 [<c0102e32>] common_interrupt+0x1a/0x20
 [<c010101a>] default_idle+0x0/0x29
 [<c0101040>] default_idle+0x26/0x29
 [<c01010a6>] cpu_idle+0x34/0x4c
 [<c02e770a>] start_kernel+0x15d/0x1b7
 [<c02e72f7>] unknown_bootoption+0x0/0x1b6
Code: 50 14 89 f8 ff 92 e0 04 00 00 e9 31 ff ff ff 8b
47 10 89 da e8 c6 5f ff ff e9 50 ff ff ff 0f 0b 3f 00
1e 44 28 c0 e9 fc fe ff ff <0f> 0b 59 02 6c 3c 28 c0
e9 40 ff ff ff 55 57 56 53 83 ec 08 89 
 <0>Kernel panic - not syncing: Fatal exception in
interrupt

Thanks
Hari

PS: Since I am not subscribed to LKML, please cc me on replies.

Send instant messages to your online friends http://au.messenger.yahoo.com 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PROBLEM] kernel BUG at include/linux/blkdev.h:601
@ 2005-06-30  2:17 Srihari Vijayaraghavan
  2005-06-30 15:37 ` Jens Axboe
  0 siblings, 1 reply; 6+ messages in thread
From: Srihari Vijayaraghavan @ 2005-06-30  2:17 UTC (permalink / raw)
  To: linux-kernel

--- Srihari Vijayaraghavan
<sriharivijayaraghavan@yahoo.com.au> wrote:
> Vanilla 2.6.12 or 2.6.12-git* (the below BUG/Panic
> report is from 2.6.12-git9).
> [...] 
> kernel BUG at include/linux/blkdev.h:601!
> [...]
> EIP is at __ide_end_request+0x118/0x125
> [...]
>  [<c01f5eca>] ide_end_request+0x55/0x57

[Sorry for replying to my own email]

2.6.13-rc1 (plus Hugh's get_request patch) doesn't
suffer from this problem, unlike 2.6.12 and 2.6.12-git
releases.

Thanks
Hari

Send instant messages to your online friends http://au.messenger.yahoo.com 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PROBLEM] kernel BUG at include/linux/blkdev.h:601
  2005-06-30  2:17 [PROBLEM] kernel BUG at include/linux/blkdev.h:601 Srihari Vijayaraghavan
@ 2005-06-30 15:37 ` Jens Axboe
  2005-07-01  0:48   ` Srihari Vijayaraghavan
  0 siblings, 1 reply; 6+ messages in thread
From: Jens Axboe @ 2005-06-30 15:37 UTC (permalink / raw)
  To: Srihari Vijayaraghavan; +Cc: linux-kernel

On Thu, Jun 30 2005, Srihari Vijayaraghavan wrote:
> --- Srihari Vijayaraghavan
> <sriharivijayaraghavan@yahoo.com.au> wrote:
> > Vanilla 2.6.12 or 2.6.12-git* (the below BUG/Panic
> > report is from 2.6.12-git9).
> > [...] 
> > kernel BUG at include/linux/blkdev.h:601!
> > [...]
> > EIP is at __ide_end_request+0x118/0x125
> > [...]
> >  [<c01f5eca>] ide_end_request+0x55/0x57
> 
> [Sorry for replying to my own email]
> 
> 2.6.13-rc1 (plus Hugh's get_request patch) doesn't
> suffer from this problem, unlike 2.6.12 and 2.6.12-git
> releases.

That's a little strange, as there should be no changes in this area so
far. Are you 100% sure?

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PROBLEM] kernel BUG at include/linux/blkdev.h:601
  2005-06-30 15:37 ` Jens Axboe
@ 2005-07-01  0:48   ` Srihari Vijayaraghavan
  2005-07-01  8:02     ` Jens Axboe
  0 siblings, 1 reply; 6+ messages in thread
From: Srihari Vijayaraghavan @ 2005-07-01  0:48 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-kernel

--- Jens Axboe <axboe@suse.de> wrote:
> On Thu, Jun 30 2005, Srihari Vijayaraghavan wrote:
> > --- Srihari Vijayaraghavan
> > <sriharivijayaraghavan@yahoo.com.au> wrote:
> [...] 
> > 2.6.13-rc1 (plus Hugh's get_request patch) doesn't
> > suffer from this problem, unlike 2.6.12 and
> 2.6.12-git
> > releases.
> 
> That's a little strange, as there should be no
> changes in this area so
> far. Are you 100% sure?

Absolutely. 2.6.12 and 2.6.12-git9 crash within
minutes/seconds; OTOH, 2.6.13-rc1 (plus Hugh's patch)
survives this torture test for hours (despite
generating 30+ MB of kernel/IDE error messages :). No
OOPS, no BUGs, no panics, just truck load of error
messages.

I haven't tested whether earlier releases of 2.6
suffer from this (such as 2.6.10, 2.6.11 ..) or other
hardware combinations exhibit the same problem etc.
Tell me, if you want me to.

Thanks
Hari



	

	
		
____________________________________________________ 
Do you Yahoo!? 
Try Yahoo! Photomail Beta: Send up to 300 photos in one email! 
http://au.photomail.mail.yahoo.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PROBLEM] kernel BUG at include/linux/blkdev.h:601
  2005-07-01  0:48   ` Srihari Vijayaraghavan
@ 2005-07-01  8:02     ` Jens Axboe
  2005-07-01 12:35       ` Srihari Vijayaraghavan
  0 siblings, 1 reply; 6+ messages in thread
From: Jens Axboe @ 2005-07-01  8:02 UTC (permalink / raw)
  To: Srihari Vijayaraghavan; +Cc: linux-kernel

On Fri, Jul 01 2005, Srihari Vijayaraghavan wrote:
> --- Jens Axboe <axboe@suse.de> wrote:
> > On Thu, Jun 30 2005, Srihari Vijayaraghavan wrote:
> > > --- Srihari Vijayaraghavan
> > > <sriharivijayaraghavan@yahoo.com.au> wrote:
> > [...] 
> > > 2.6.13-rc1 (plus Hugh's get_request patch) doesn't
> > > suffer from this problem, unlike 2.6.12 and
> > 2.6.12-git
> > > releases.
> > 
> > That's a little strange, as there should be no
> > changes in this area so
> > far. Are you 100% sure?
> 
> Absolutely. 2.6.12 and 2.6.12-git9 crash within
> minutes/seconds; OTOH, 2.6.13-rc1 (plus Hugh's patch)
> survives this torture test for hours (despite
> generating 30+ MB of kernel/IDE error messages :). No
> OOPS, no BUGs, no panics, just truck load of error
> messages.
> 
> I haven't tested whether earlier releases of 2.6
> suffer from this (such as 2.6.10, 2.6.11 ..) or other
> hardware combinations exhibit the same problem etc.
> Tell me, if you want me to.

There are some minor ide updates outside of ide-cd, they must be
accounting for your success in 2.6.13-rc1 then. Could you test 2.6.12
with this patch applied?

diff --git a/drivers/ide/ide-iops.c b/drivers/ide/ide-iops.c
--- a/drivers/ide/ide-iops.c
+++ b/drivers/ide/ide-iops.c
@@ -1181,7 +1181,8 @@ static ide_startstop_t do_reset1 (ide_dr
 		pre_reset(drive);
 		SELECT_DRIVE(drive);
 		udelay (20);
-		hwif->OUTB(WIN_SRST, IDE_COMMAND_REG);
+		hwif->OUTBSYNC(drive, WIN_SRST, IDE_COMMAND_REG);
+		ndelay(400);
 		hwgroup->poll_timeout = jiffies + WAIT_WORSTCASE;
 		hwgroup->polling = 1;
 		__ide_set_handler(drive, &atapi_reset_pollfunc, HZ/20, NULL);


-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PROBLEM] kernel BUG at include/linux/blkdev.h:601
  2005-07-01  8:02     ` Jens Axboe
@ 2005-07-01 12:35       ` Srihari Vijayaraghavan
  0 siblings, 0 replies; 6+ messages in thread
From: Srihari Vijayaraghavan @ 2005-07-01 12:35 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-kernel

--- Jens Axboe <axboe@suse.de> wrote:
> On Fri, Jul 01 2005, Srihari Vijayaraghavan wrote:
> > [...]
> > I haven't tested whether earlier releases of 2.6
> > suffer from this (such as 2.6.10, 2.6.11 ..) or
> other
> > hardware combinations exhibit the same problem
> etc.

Actually, I've tested it on another computer (AMD64):
VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on
pci0000:00:0f.1
    ide0: BM-DMA at 0xcc00-0xcc07, BIOS settings:
hda:DMA, hdb:pio
    ide1: BM-DMA at 0xcc08-0xcc0f, BIOS settings:
hdc:DMA, hdd:DMA
hda: ST3120026A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: HL-DT-ST DVDRAM GSA-4163B, ATAPI CD/DVD-ROM drive
hdd: RICOH CD-R/RW MP7083A, ATAPI CD/DVD-ROM drive

> There are some minor ide updates outside of ide-cd,
> they must be
> accounting for your success in 2.6.13-rc1 then.
> Could you test 2.6.12
> with this patch applied?
> 
> diff --git a/drivers/ide/ide-iops.c
> b/drivers/ide/ide-iops.c

Unfortunately, there's still problem with that patch
with Ricoh drive:

Kernel BUG at "include/linux/blkdev.h":607
invalid operand: 0000 [1] 
CPU 0 
Modules linked in: radeon autofs4 sunrpc ipt_REJECT
ipt_state ip_conntrack iptable_filter ip_tables dm_mod
video thermal processor fan button ohci1394 ieee1394
uhci_hcd ehci_hcd i2c_viapro i2c_core snd_via82xx
snd_ac97_codec snd_seq_dummy snd_seq_oss
snd_seq_midi_event snd_seq snd_pcm_oss snd_mixer_oss
snd_pcm snd_timer snd_page_alloc snd_mpu401_uart
snd_rawmidi snd_seq_device snd soundcore via_rhine mii
r8169 crc32 floppy ide_cd cdrom ext3 mbcache jbd
sata_via libata sd_mod scsi_mod
Pid: 0, comm: swapper Not tainted 2.6.12-ide
RIP: 0010:[<ffffffff80241cb8>]
<ffffffff80241cb8>{__ide_end_request+216}
RSP: 0018:ffffffff80392c08  EFLAGS: 00010046
RAX: 0000000000000061 RBX: ffff81003e649c80 RCX:
0000000000000001
RDX: ffff81003e649c80 RSI: 0000000001600140 RDI:
ffff81003c9bad80
RBP: 0000000000000001 R08: ffffffff803ec000 R09:
0000000000000040
R10: 0000000000000040 R11: 0000000000000040 R12:
ffffffff803cf850
R13: 0000000000000001 R14: 0000000000000001 R15:
0000000000000001
FS:  00002aaaaacfb6e0(0000) GS:ffffffff803e6ac0(0000)
knlGS:0000000000000000
CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 00002aaaaaaac000 CR3: 0000000036cee000 CR4:
00000000000006e0
Process swapper (pid: 0, threadinfo ffffffff803ec000,
task ffffffff80326980)
Stack: 0000000000000001 0000000000000001
ffff81003e649c80 ffffffff803cf850 
       0000000000000292 ffffffff80241da0
ffffffff803cf850 0000000000000000 
       ffff81003e649c80 0000000000000001 
Call Trace: <IRQ>
<ffffffff80241da0>{ide_end_request+112}
<ffffffff880725c4>{:ide_cd:cdrom_end_request+1108}
       <ffffffff802365e7>{freed_request+39}
<ffffffff8807323a>{:ide_cd:cdrom_pc_intr+250}
       <ffffffff88073140>{:ide_cd:cdrom_pc_intr+0}
<ffffffff802431e8>{ide_intr+392}
       <ffffffff8015267c>{handle_IRQ_event+44}
<ffffffff80152766>{__do_IRQ+182}
       <ffffffff801110c8>{do_IRQ+72}
<ffffffff8010ec11>{ret_from_intr+0}
        <EOI> <ffffffff8010d110>{default_idle+0}
<ffffffff8010d132>{default_idle+34}
       <ffffffff8010d171>{cpu_idle+49}
<ffffffff803ee7e5>{start_kernel+469}
       <ffffffff803ee1f4>{_sinittext+500} 

Code: 0f 0b 6e e0 2f 80 ff ff ff ff 5f 02 48 8b 43 08
48 89 42 08 
RIP <ffffffff80241cb8>{__ide_end_request+216} RSP
<ffffffff80392c08>
 <3>Debug: sleeping function called from invalid
context at include/linux/rwsem.h:43
in_atomic():1, irqs_disabled():1

Call Trace: <IRQ>
<ffffffff80132fe5>{profile_task_exit+21}
<ffffffff80133f32>{do_exit+34}
       <ffffffff80211aa7>{do_unblank_screen+135}
<ffffffff8010fef5>{die+69}
       <ffffffff80110a23>{do_invalid_op+163}
<ffffffff80241cb8>{__ide_end_request+216}
       <ffffffff8015267c>{handle_IRQ_event+44}
<ffffffff8010ef35>{error_exit+0}
       <ffffffff80241cb8>{__ide_end_request+216}
<ffffffff80241c97>{__ide_end_request+183}
       <ffffffff80241da0>{ide_end_request+112}
<ffffffff880725c4>{:ide_cd:cdrom_end_request+1108}
       <ffffffff802365e7>{freed_request+39}
<ffffffff8807323a>{:ide_cd:cdrom_pc_intr+250}
       <ffffffff88073140>{:ide_cd:cdrom_pc_intr+0}
<ffffffff802431e8>{ide_intr+392}
       <ffffffff8015267c>{handle_IRQ_event+44}
<ffffffff80152766>{__do_IRQ+182}
       <ffffffff801110c8>{do_IRQ+72}
<ffffffff8010ec11>{ret_from_intr+0}
        <EOI> <ffffffff8010d110>{default_idle+0}
<ffffffff8010d132>{default_idle+34}
       <ffffffff8010d171>{cpu_idle+49}
<ffffffff803ee7e5>{start_kernel+469}
       <ffffffff803ee1f4>{_sinittext+500} 
Kernel panic - not syncing: Aiee, killing interrupt
handler!

With 2.6.13-rc1 (+Hugh's patch), all is well in this
computer. And oh, the LG DVD-RW drive doesn't crash
even in 2.6.12, though I didn't wait for more than 10+
minutes. (IOW, it must be hardware dependant.)

Thanks
Hari.

PS: I added -ide suffix to kernel version, so that
kernel build doesn't overwrite the real 2.6.12 modules
directory.



	

	
		
____________________________________________________ 
Do you Yahoo!? 
Try Yahoo! Photomail Beta: Send up to 300 photos in one email! 
http://au.photomail.mail.yahoo.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-07-01 12:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-30  2:17 [PROBLEM] kernel BUG at include/linux/blkdev.h:601 Srihari Vijayaraghavan
2005-06-30 15:37 ` Jens Axboe
2005-07-01  0:48   ` Srihari Vijayaraghavan
2005-07-01  8:02     ` Jens Axboe
2005-07-01 12:35       ` Srihari Vijayaraghavan
  -- strict thread matches above, loose matches on Subject: below --
2005-06-29  5:19 Srihari Vijayaraghavan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.