Re: [PATCH] BUG(): sched.c: Line 944

Steven Cole
2002-09-17T18:41:29Z

On Tue, 2002-09-17 at 12:29, Robert Love wrote:
> On Tue, 2002-09-17 at 10:10, Steven Cole wrote:
>
> > I booted that so-patched kernel and it got much further than before,
> > up to where syslogd was able to write some stuff to /var/log/messages.
>
> That is what is happening to me... if you trace when you lockup, its due
> to the printk. My machines in these cases are only livelocked, I can
> still ping etc.
>
> > Trace; c011c51b <put_files_struct+bb/d0>
> > Trace; c011d08b <do_exit+35b/370>
> > Trace; c012d67f <do_munmap+11f/130>
> > Trace; c012d6c5 <sys_munmap+35/60>
> > Trace; c010918f <syscall_call+7/b>
>
> Ugh this looks like the exit path which should not be triggered.
>
I grabbed the 2.5.35-bk3 patch provided by Jeff Garzik so that I could
test something even more current and applied your patches to that (one
hunk was already there in -bk3).

I ran several of the stack dumps through ksymoops. Perhaps some of
these might point to something interesting.

Steven

ksymoops 2.4.4 on i686 2.5.35. Options used
-v vmlinux (specified)
-K (specified)
-L (specified)
-O (specified)
-m System.map (specified)

f773df4c c01167a6 c02834a0 f77801c0 c0337f20 c011c4eb c1b0eec0 f7936c60
f773c000 f773c000 f773c000 f77021a0 c011d05b 00000000 0000a9db f77021a0
c0122340 f7744760 f78cd2e0 f7744760 f773c000 bffffd08 c0122522 4213030c
Call Trace: [<c01167a6>] [<c011c4eb>] [<c011d05b>] [<c0122340>] [<c0122522>]
[<c010918f>]
f773df4c c01167a6 c02834a0 f77801c0 c0337f20 c011c4eb c1b0eec0 f7936ee0
f773c000 f773c000 f773c000 f77021a0 c011d05b c022305b 00000003 bfffea00
0000001c 00000000 0804b3c8 00000014 00000003 bfffea00 0000001c 4213030c
Call Trace: [<c01167a6>] [<c011c4eb>] [<c011d05b>] [<c022305b>] [<c010918f>]
f7739f4c c01167a6 c02834a0 f77801c0 c0337f20 c011c4eb c1b0eec0 f7936820
f7738000 f7738000 f7738000 f772a800 c011d05b 00000000 f7738000 bffff7a4
f7739fb0 0807e210 04000000 42029098 00000000 00000000 00000000 4213030c
Call Trace: [<c01167a6>] [<c011c4eb>] [<c011d05b>] [<c010918f>]
f7789f4c c01167a6 c02834a0 f7c5e760 c0337f20 c011c4eb c1b0eec0 c1b71da0
f7788000 f7788000 f7788000 f7ea8d60 c011d05b 0000006e 00000000 00000005
c0222fb0 00000005 f77fa1a0 fffffff7 00000005 bffffb28 c0142fe3 4213030c
Call Trace: [<c01167a6>] [<c011c4eb>] [<c011d05b>] [<c0222fb0>] [<c0142fe3>]
[<c010918f>]
Warning (Oops_read): Code line not seen, dumping what data is available

Trace; c01167a6 <schedule+36/3d0>
Trace; c011c4eb <put_files_struct+bb/d0>
Trace; c011d05b <do_exit+35b/370>
Trace; c0122340 <process_timeout+0/10>
Trace; c0122522 <sys_nanosleep+122/1a0>
Trace; c010918f <syscall_call+7/b>
Trace; c01167a6 <schedule+36/3d0>
Trace; c011c4eb <put_files_struct+bb/d0>
Trace; c011d05b <do_exit+35b/370>
Trace; c022305b <sys_socketcall+13b/200>
Trace; c010918f <syscall_call+7/b>
Trace; c01167a6 <schedule+36/3d0>
Trace; c011c4eb <put_files_struct+bb/d0>
Trace; c011d05b <do_exit+35b/370>
Trace; c010918f <syscall_call+7/b>
Trace; c01167a6 <schedule+36/3d0>
Trace; c011c4eb <put_files_struct+bb/d0>
Trace; c011d05b <do_exit+35b/370>
Trace; c0222fb0 <sys_socketcall+90/200>
Trace; c0142fe3 <sys_write+33/40>
Trace; c010918f <syscall_call+7/b>

1 warning issued. Results may not be reliable.