Re: Kernel oops in 2.2.1 and 2.2.2p4

Brian Macy (bmacy@sunshinecomputing.com)
Sun, 21 Feb 1999 20:13:20 -0800


A little more info on this. It may be happening if the insmod is trying to
load the modules when rmmod -a is trying to remove it. I am using kmow and
have a cron job set to rmmod -a every 5minutes. I'm testing a SANE scanner
application is it is very likely that when this oops is occurring I'm trying
to start scsi support (I compiled all of SCSI as a module and by Hard Drive
is UDMA).

BTW is there a logic reason why people don't check the return value of
scsi_init_malloc or scsi_register to see if they failed?

Brian Macy

----- Original Message -----
From: Brian Macy <bmacy@sunshinecomputing.com>
To: <linux-kernel@vger.rutgers.edu>
Sent: Sunday, February 21, 1999 3:34 PM
Subject: Kernel oops in 2.2.1 and 2.2.2p4

>Feb 21 15:11:17 job kernel: Unable to handle kernel NULL pointer
dereference
>at virtual address 00000028
>Feb 21 15:11:17 job kernel: current->tss.cr3 = 026a8000, pr3 = 026a8000
>Feb 21 15:11:17 job kernel: *pde = 00000000
>Feb 21 15:11:17 job kernel: Oops: 0002
>Feb 21 15:11:17 job kernel: CPU: 0
>Feb 21 15:11:17 job kernel: EIP: 0010:[<c4824112>]
>Feb 21 15:11:17 job kernel: EFLAGS: 00010246
>Feb 21 15:11:17 job kernel: eax: 00000000 ebx: 00003dd8 ecx: 00000000
>edx: 00000000
>Feb 21 15:11:17 job kernel: esi: c483a27c edi: c1ed3dd8 ebp: c483a27c
>esp: c0055e98
>Feb 21 15:11:17 job kernel: ds: 0018 es: 0018 ss: 0018
>Feb 21 15:11:17 job kernel: Process insmod (pid: 1579, process nr: 62,
>stackpage=c0055000)
>Feb 21 15:11:17 job kernel: Stack: c483a27c 0000eff4 c4835ce8 c483a27c
>00003dd8 0000eff4 00000004 c483834f
>Feb 21 15:11:17 job kernel: c1ed0000 c483a27c 00000000 c4833000
>c483a27c 0000eff4 c26a3178 0804f009
>Feb 21 15:11:17 job kernel: 0805e000 c0054000 c2fb1a40 00000246
>c29e62a0 c0054000 00000004 c1ed0000
>Feb 21 15:11:17 job kernel: Call Trace: [<c483a27c>] [<c4835ce8>]
>[<c483a27c>] [<c483834f>] [<c483a27c>] [<c4833000>] [<c483a27c>]
>Feb 21 15:11:17 job kernel: [<c4826b2b>] [<c483a27c>] [<c483a27c>]
>[<c4833000>] [<c4833000>] [<c4833000>] [<c48273ae>] [<c483a27c>]
>Feb 21 15:11:17 job kernel: [<c4833000>] [<c48382c6>] [<c483a27c>]
>[<c01152ef>] [<c4833000>] [<c4824000>] [<c483a730>] [<c4831000>]
>Feb 21 15:11:17 job kernel: [<c4833048>] [<c0109730>] [<c483a387>]
>[<c4833000>]
>Feb 21 15:11:17 job kernel: Code: c7 41 28 00 00 00 00 66 c7 41 2c 00 00 66
>c7 41 2e 00 00 c7
>
>>>EIP: c4824112 <scsi_register+2a/168>
>Trace: c483a27c <END_OF_CODE+8430/????>
>Trace: c4835ce8 <sg_registered.488+3e9c/????>
>Trace: c483a27c <END_OF_CODE+8430/????>
>Trace: c483834f <sg_registered.488+6503/????>
>Trace: c483a27c <END_OF_CODE+8430/????>
>Trace: c4833000 <sg_registered.488+11b4/????>
>Trace: c483a27c <END_OF_CODE+8430/????>
>Trace: c4826b2b <scsi_register_host+47/278>
>Trace: c4833000 <sg_registered.488+11b4/????>
>Trace: c4833048 <sg_registered.488+11fc/????>
>Code: c4824112 <scsi_register+2a/168> 00000000 <_EIP>:
>Code: c4824112 <scsi_register+2a/168> 0: c7 41 28 00 00
movl
>$
>0x0,0x28(%ecx)
>Code: c4824117 <scsi_register+2f/168> 5: 00 00
>Code: c4824119 <scsi_register+31/168> 7: 66 c7 41 2c 00
movw
>$
>0x0,0x2c(%ecx)
>Code: c482411e <scsi_register+36/168> c: 00
>Code: c482411f <scsi_register+37/168> d: 66 c7 41 2e 00
movw
>$
>0x0,0x2e(%ecx)
>Code: c4824124 <scsi_register+3c/168> 12: 00
>Code: c4824125 <scsi_register+3d/168> 13: c7 00 00 00 00
movl
>$
>0x0,(%eax)
>Code: c482412a <scsi_register+42/168> 18: 00
>
>
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.rutgers.edu
>Please read the FAQ at http://www.tux.org/lkml/
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/