All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.6.8.1 OOPS, processes hanging in D state, can reproduce
@ 2004-08-29  0:25 Michael
  2004-08-29  0:48 ` Lee Revell
  0 siblings, 1 reply; 4+ messages in thread
From: Michael @ 2004-08-29  0:25 UTC (permalink / raw)
  To: Linux Kernel Mailing List

First post to the list, never found a kernel bug before :)

With 2.6.8.1 and the 2.6.8 RC kernels, processes trying to make use of my 
IDE devices can intermittantly hang in the 'D' state. When this occurs 
there is a kernel OOPS in dmesg and in /var/log/messages. Since this is my 
first bug report, I tried to get a log of everything.

I can reproduce this problem eventually doing one of the following. 
Normally the first method reproduces the problem the quickest, though all 
have caused this problem.

1) Mounting an ISO (loopback) and then copying a file from it.
2) Running lilo
3) Running mkinitrd

Any attempts to kill the hung process (with -9) fail, and attempting to 
re-run the command that hung will just make more stuck processes. The OOPS 
that appears in dmesg once the process hangs in the D state is as 
follows, and other log information can be found here at 
http://members.iinet.net.au/~quadfour/kernel/


Aug 28 20:53:55 natalie kernel: Unable to handle kernel paging request at 
virtual address fae79000
Aug 28 20:53:55 natalie kernel:  printing eip:
Aug 28 20:53:55 natalie kernel: f8e8904b
Aug 28 20:53:55 natalie kernel: *pde = 00000000
Aug 28 20:53:55 natalie kernel: Oops: 0000 [#3]
Aug 28 20:53:55 natalie kernel: Modules linked in: isofs zlib_inflate loop 
ov511 ovcamchip dvb-bt8xx dst dvb-core bt878 v4l1-compat tuner bttv 
video-buf i2c-algo-bit v4l2-common btcx-risc videodev ipt_state 
ipt_REDIRECT ipt_MASQUERADE iptable_nat ip_conntrack iptable_filter 
ip_tables sg sr_mod ppp_synctty ppp_async crc-ccitt ppp_generic slhc 
autofs4 nvidia lp parport_pc parport ipv6 es1371 soundcore gameport 
ac97_codec af_packet w83627hf i2c-sensor i2c-isa ide-floppy ide-tape 
ide-cd cdrom floppy sk98lin amd64-agp agpgart i2c-core ehci-hcd uhci-hcd 
usbcore rtc ext3 jbd sd_mod sata_via sata_promise libata scsi_mod
Aug 28 20:53:55 natalie kernel: CPU:    0
Aug 28 20:53:55 natalie kernel: EIP:    0060:[pg0+950358091/1069326336]    
Tainted: P   VLI
Aug 28 20:53:55 natalie kernel: EIP:    0060:[<f8e8904b>]    Tainted: P   
VLI
Aug 28 20:53:55 natalie kernel: EFLAGS: 00010216   (2.6.8.1-2mdk) 
Aug 28 20:53:55 natalie kernel: EIP is at transfer_none+0x4b/0x90 [loop]
Aug 28 20:53:55 natalie kernel: eax: fae79000   ebx: 00000800   ecx: 
00000200   edx: eb4af800
Aug 28 20:53:55 natalie kernel: esi: fae79000   edi: eb4af800   ebp: 
ed479e64   esp: ed479e54
Aug 28 20:53:55 natalie kernel: ds: 007b   es: 007b   ss: 0068
Aug 28 20:53:55 natalie kernel: Process loop0 (pid: 7667, 
threadinfo=ed478000 task=f1444b50)
Aug 28 20:53:55 natalie kernel: Stack: f8e89000 00000000 00000800 ed479f68 
ed479eac f8e895ca ec530000 00000000 
Aug 28 20:53:55 natalie kernel:        c175cf20 00000000 c15695e0 00000800 
00000800 000000c8 00000000 00000800 
Aug 28 20:53:55 natalie kernel:        c15695e0 ec530000 00000800 00001000 
c175cf20 ed479f3c ed479f1c c013664f 
Aug 28 20:53:55 natalie kernel: Call Trace:
Aug 28 20:53:55 natalie kernel:  [show_stack+117/144] show_stack+0x75/0x90
Aug 28 20:53:55 natalie kernel:  [<c0107025>] show_stack+0x75/0x90
Aug 28 20:53:55 natalie kernel:  [show_registers+281/400] 
show_registers+0x119/0x190
Aug 28 20:53:55 natalie kernel:  [<c0107179>] show_registers+0x119/0x190
Aug 28 20:53:55 natalie kernel:  [die+80/176] die+0x50/0xb0
Aug 28 20:53:55 natalie kernel:  [<c01072e0>] die+0x50/0xb0
Aug 28 20:53:55 natalie kernel:  [do_page_fault+896/1446] 
do_page_fault+0x360/0x5a6
Aug 28 20:53:55 natalie kernel:  [<c01179f0>] do_page_fault+0x360/0x5a6
Aug 28 20:53:55 natalie kernel:  [error_code+45/64] error_code+0x2d/0x40
Aug 28 20:53:55 natalie kernel:  [<c0106c8d>] error_code+0x2d/0x40
Aug 28 20:53:55 natalie kernel:  [pg0+950359498/1069326336] 
lo_read_actor+0x9a/0xd0 [loop]
Aug 28 20:53:55 natalie kernel:  [<f8e895ca>] lo_read_actor+0x9a/0xd0 
[loop]
Aug 28 20:53:55 natalie kernel:  [file_read_actor+191/256] 
do_generic_mapping_read+0xdf/0x3f0
Aug 28 20:53:55 natalie kernel:  [<c013664f>] 
do_generic_mapping_read+0xdf/0x3f0
Aug 28 20:53:55 natalie kernel:  [filemap_nopage+504/864] 
generic_file_sendfile+0x48/0x60
Aug 28 20:53:55 natalie kernel:  [<c0136dd8>] 
generic_file_sendfile+0x48/0x60
Aug 28 20:53:55 natalie kernel:  [pg0+950359615/1069326336] 
do_lo_receive+0x3f/0x60 [loop]
Aug 28 20:53:55 natalie kernel:  [<f8e8963f>] do_lo_receive+0x3f/0x60 
[loop]
Aug 28 20:53:55 natalie kernel:  [pg0+950359811/1069326336] 
lo_receive+0xa3/0xb0 [loop]
Aug 28 20:53:55 natalie kernel:  [<f8e89703>] lo_receive+0xa3/0xb0 [loop]
Aug 28 20:53:55 natalie kernel:  [pg0+950359878/1069326336] 
do_bio_filebacked+0x36/0x60 [loop]
Aug 28 20:53:55 natalie kernel:  [<f8e89746>] do_bio_filebacked+0x36/0x60 
[loop]
Aug 28 20:53:55 natalie kernel:  [pg0+950360414/1069326336] 
loop_thread+0x6e/0xf0 [loop]
Aug 28 20:53:55 natalie kernel:  [<f8e8995e>] loop_thread+0x6e/0xf0 [loop]
Aug 28 20:53:55 natalie kernel:  [kernel_thread_helper+5/12] 
kernel_thread_helper+0x5/0xc
Aug 28 20:53:55 natalie kernel:  [<c0104279>] kernel_thread_helper+0x5/0xc
Aug 28 20:53:55 natalie kernel: Code: c1 fa 05 8b 4d 0c c1 e0 0c 8b 5d 20 
c1 e2 0c 2d 00 00 00 40 81 ea 00 00 00 40 01 f8 01 f2 85 c9 75 2e 89 d9 89 
d7 c1 e9 02 89 c6 <f3> a5 f6 c3 02 74 02 66 a5 f6 c3 01 74 01 a4 b8 00 e0 
ff ff 21 


Regards
Michael Collard

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

* Re: 2.6.8.1 OOPS, processes hanging in D state, can reproduce
  2004-08-29  0:25 2.6.8.1 OOPS, processes hanging in D state, can reproduce Michael
@ 2004-08-29  0:48 ` Lee Revell
  2004-08-29  2:02   ` Michael
  0 siblings, 1 reply; 4+ messages in thread
From: Lee Revell @ 2004-08-29  0:48 UTC (permalink / raw)
  To: Michael; +Cc: Linux Kernel Mailing List

On Sat, 2004-08-28 at 20:25, Michael wrote:
> First post to the list, never found a kernel bug before :)
> 

Your kernel is tainted, probably due to having a binary module loaded. 
Please reproduce with an untainted kernel and repost.

Lee


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

* Re: 2.6.8.1 OOPS, processes hanging in D state, can reproduce
  2004-08-29  0:48 ` Lee Revell
@ 2004-08-29  2:02   ` Michael
  2004-08-30  1:53     ` Michael
  0 siblings, 1 reply; 4+ messages in thread
From: Michael @ 2004-08-29  2:02 UTC (permalink / raw)
  To: Linux Kernel Mailing List

On Sat, 28 Aug 2004, Lee Revell wrote:

> 
> On Sat, 2004-08-28 at 20:25, Michael wrote:
> > First post to the list, never found a kernel bug before :)
> > 
> 
> Your kernel is tainted, probably due to having a binary module loaded. 
> Please reproduce with an untainted kernel and repost.

I've removed the Nvidia binary module and rebooted so the kernel is no 
longer tainted. 

To mostly quote my previous post, with 2.6.8.1 and the 2.6.8 RC kernels, 
processes trying to make use of my IDE devices can intermittantly hang in 
the 'D' state. When this occurs there is a kernel OOPS in dmesg and in 
of everything. This occasion I am testing and reproducing the 
problem remotely and am not able to get the output of a Alt-SysRq-T 

I can reproduce this problem eventually doing one of the following.
Normally the first method reproduces the problem the quickest, though all
have caused this problem. 

1) Mounting an ISO (loopback) and/or copying a file from it.
2) Running lilo
3) Running mkinitrd

Any attempts to kill the hung process (with -9) fail, and attempting to
re-run the command that hung will just make more stuck processes. The OOPS
that appears in dmesg once the process hangs in the D state is as
follows, and other log information can be found here at
http://members.iinet.net.au/~quadfour/kernel/
 
Aug 29 09:08:22 natalie kernel: loop: loaded (max 8 devices)
Aug 29 09:08:22 natalie kernel: Unable to handle kernel paging request at 
virtual address fe83e000
Aug 29 09:08:22 natalie kernel:  printing eip:
Aug 29 09:08:22 natalie kernel: f89fb04b
Aug 29 09:08:22 natalie kernel: *pde = 00000000
Aug 29 09:08:22 natalie kernel: Oops: 0000 [#3]
Aug 29 09:08:22 natalie kernel: Modules linked in: loop ov511 ovcamchip 
dvb-bt8xx dst dvb-core bt878 v4l1-compat tuner bttv video-buf i2c-algo-bit 
v4l2-common btcx-risc videodev ipt_state ipt_REDIRECT ipt_MASQUERADE 
iptable_nat ip_conntrack iptable_filter ip_tables ppp_synctty ppp_async 
crc-ccitt ppp_generic slhc autofs4 lp parport_pc parport ipv6 es1371 
soundcore gameport ac97_codec af_packet ide-floppy ide-tape ide-cd cdrom 
floppy sk98lin i2c-core amd64-agp agpgart ehci-hcd uhci-hcd usbcore rtc 
ext3 jbd sd_mod sata_via sata_promise libata scsi_mod
Aug 29 09:08:22 natalie kernel: CPU:    0
Aug 29 09:08:22 natalie kernel: EIP:    0060:[pg0+945582155/1069326336]    
Not tainted VLI
Aug 29 09:08:22 natalie kernel: EIP:    0060:[<f89fb04b>]    Not tainted 
VLI
Aug 29 09:08:22 natalie kernel: EFLAGS: 00010216   (2.6.8.1-2mdk)
Aug 29 09:08:22 natalie kernel: EIP is at transfer_none+0x4b/0x90 [loop]
Aug 29 09:08:22 natalie kernel: eax: fe83e000   ebx: 00000800   ecx: 
00000200   edx: f7dba000
Aug 29 09:08:22 natalie kernel: esi: fe83e000   edi: f7dba000   ebp: 
f7217e64   esp: f7217e54
Aug 29 09:08:22 natalie kernel: ds: 007b   es: 007b   ss: 0068
Aug 29 09:08:22 natalie kernel: Process loop0 (pid: 5298, 
threadinfo=f7216000 task=f79232a0)
Aug 29 09:08:22 natalie kernel: Stack: f89fb000 00000000 00000800 f7217f68 
f7217eac f89fb5ca f747d000 00000000
Aug 29 09:08:22 natalie kernel:        c17d07c0 00000000 c16fb740 00000000 
00000800 00000000 00000000 00000000
Aug 29 09:08:22 natalie kernel:        c16fb740 f747d000 00000800 00001000 
c17d07c0 f7217f3c f7217f1c c013664f
Aug 29 09:08:22 natalie kernel: Call Trace:
Aug 29 09:08:22 natalie kernel:  [show_stack+117/144] show_stack+0x75/0x90
Aug 29 09:08:22 natalie kernel:  [<c0107025>] show_stack+0x75/0x90
Aug 29 09:08:22 natalie kernel:  [show_registers+281/400] 
show_registers+0x119/0x190
Aug 29 09:08:22 natalie kernel:  [<c0107179>] show_registers+0x119/0x190
Aug 29 09:08:22 natalie kernel:  [die+80/176] die+0x50/0xb0
Aug 29 09:08:22 natalie kernel:  [<c01072e0>] die+0x50/0xb0
Aug 29 09:08:22 natalie kernel:  [do_page_fault+896/1446] 
do_page_fault+0x360/0x5a6
Aug 29 09:08:22 natalie kernel:  [<c01179f0>] do_page_fault+0x360/0x5a6
Aug 29 09:08:22 natalie kernel:  [error_code+45/64] error_code+0x2d/0x40
Aug 29 09:08:22 natalie kernel:  [<c0106c8d>] error_code+0x2d/0x40
Aug 29 09:08:22 natalie kernel:  [pg0+945583562/1069326336] 
lo_read_actor+0x9a/0xd0 [loop]
Aug 29 09:08:22 natalie kernel:  [<f89fb5ca>] lo_read_actor+0x9a/0xd0 
[loop]
Aug 29 09:08:22 natalie kernel:  [file_read_actor+191/256] 
do_generic_mapping_read+0xdf/0x3f0
Aug 29 09:08:22 natalie kernel:  [<c013664f>] 
do_generic_mapping_read+0xdf/0x3f0
Aug 29 09:08:22 natalie kernel:  [filemap_nopage+504/864] 
generic_file_sendfile+0x48/0x60
Aug 29 09:08:22 natalie kernel:  [<c0136dd8>] 
generic_file_sendfile+0x48/0x60
Aug 29 09:08:22 natalie kernel:  [pg0+945583679/1069326336] 
do_lo_receive+0x3f/0x60 [loop]
Aug 29 09:08:22 natalie kernel:  [<f89fb63f>] do_lo_receive+0x3f/0x60 
[loop]
Aug 29 09:08:22 natalie kernel:  [pg0+945583875/1069326336] 
lo_receive+0xa3/0xb0 [loop]
Aug 29 09:08:22 natalie kernel:  [<f89fb703>] lo_receive+0xa3/0xb0 [loop]
Aug 29 09:08:22 natalie kernel:  [pg0+945583942/1069326336] 
do_bio_filebacked+0x36/0x60 [loop]
Aug 29 09:08:22 natalie kernel:  [<f89fb746>] do_bio_filebacked+0x36/0x60 
[loop]
Aug 29 09:08:22 natalie kernel:  [pg0+945584478/1069326336] 
loop_thread+0x6e/0xf0 [loop]
Aug 29 09:08:22 natalie kernel:  [<f89fb95e>] loop_thread+0x6e/0xf0 [loop]
Aug 29 09:08:22 natalie kernel:  [kernel_thread_helper+5/12] 
kernel_thread_helper+0x5/0xc
Aug 29 09:08:22 natalie kernel:  [<c0104279>] kernel_thread_helper+0x5/0xc
Aug 29 09:08:22 natalie kernel: Code: c1 fa 05 8b 4d 0c c1 e0 0c 8b 5d 20 
c1 e2 0c 2d 00 00 00 40 81 ea 00 00 00 40 01 f8 01 f2 85 c9 75 2e 89 d9 89 
d7 c1 e9 02 89 c6 <f3> a5 f6 c3 02 74 02 66 a5 f6 c3 01 74 01 a4 b8 00 e0 
ff ff 21

Regards
Michael Collard

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

* Re: 2.6.8.1 OOPS, processes hanging in D state, can reproduce
  2004-08-29  2:02   ` Michael
@ 2004-08-30  1:53     ` Michael
  0 siblings, 0 replies; 4+ messages in thread
From: Michael @ 2004-08-30  1:53 UTC (permalink / raw)
  To: Linux Kernel Mailing List

On Sun, 29 Aug 2004, Michael wrote:

> 
> On Sat, 28 Aug 2004, Lee Revell wrote:
> 
> > 
> > On Sat, 2004-08-28 at 20:25, Michael wrote:
> > > First post to the list, never found a kernel bug before :)
> > > 
> > 
> > Your kernel is tainted, probably due to having a binary module loaded. 
> > Please reproduce with an untainted kernel and repost.

I've received a howto via email on tracking down kernel oopses. I've 
followed the guide as far as I could but got stuck at the point of trying 
to find the part of asm code causing this because the 'Code' does not 
match as in the howto. I think the oops is stemming from a problem with 
the loop module but I don't know how to continue, I have not got the 
knowledge to do this.

More or less I think I've done as much as I can, I've provided as much 
information as I can about the problem. Im leaving this in the hands of 
experienced people :)

Regards
Michael Collard

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

end of thread, other threads:[~2004-08-30  1:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-29  0:25 2.6.8.1 OOPS, processes hanging in D state, can reproduce Michael
2004-08-29  0:48 ` Lee Revell
2004-08-29  2:02   ` Michael
2004-08-30  1:53     ` Michael

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.