2003-05-07 19:01:57

by Nicolas Couture

[permalink] [raw]
Subject: Kernel Panic - IDE-SCSI

Hi,

I found a bug in the scsi emulation support in the 2.4 serie.

--- snip ---
kung-foo:/home/user# echo foo > /proc/scsi/ide-scsi/0
<1>Unable to handle kernel NULL pointer dereference at virtual address
00000000
printing eip:
00000000
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<00000000>] Not tainted
EFLAGS: 00010246
eax: 00000000 ebx: c6b80000 ecx: 00000000 edx: c032c620
esi: c11ffdb0 edi: 00000004 ebp: 00000004 esp: c70c1f5c
ds: 0018 es: 0018 ss: 0018
Process bash (pid: 5072, stackpage=c70c1000)
Stack: c0207a4a c6b80000 c70c1f84 00000000 00000004 00000000 00000001
00000000
c47db120 ffffffea c010d09c c014c3df c47db120 40015000 00000004
c11ffdb0
c0131715 c47db120 40015000 00000004 c47db140 c70c0000 00000004
40015000
Call Trace: [<c0207a4a>] [<c010d09c>] [<c014c3df>] [<c0131715>]
[<c01086df>]

Code: Bad EIP value.
Segmentation fault
user@kung-foo:~$
--- snip ---

Nicolas Couture


2003-05-07 20:11:05

by Michael Buesch

[permalink] [raw]
Subject: Re: Kernel Panic - IDE-SCSI

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 07 May 2003 21:13, Nicolas Couture wrote:
> Hi,
>
> I found a bug in the scsi emulation support in the 2.4 serie.
>
> --- snip ---
> kung-foo:/home/user# echo foo > /proc/scsi/ide-scsi/0
> <1>Unable to handle kernel NULL pointer dereference at virtual address
> 00000000
> printing eip:
> 00000000
> *pde = 00000000
> Oops: 0000
> CPU: 0
> EIP: 0010:[<00000000>] Not tainted
> EFLAGS: 00010246
> eax: 00000000 ebx: c6b80000 ecx: 00000000 edx: c032c620
> esi: c11ffdb0 edi: 00000004 ebp: 00000004 esp: c70c1f5c
> ds: 0018 es: 0018 ss: 0018
> Process bash (pid: 5072, stackpage=c70c1000)
> Stack: c0207a4a c6b80000 c70c1f84 00000000 00000004 00000000 00000001
> 00000000
> c47db120 ffffffea c010d09c c014c3df c47db120 40015000 00000004
> c11ffdb0
> c0131715 c47db120 40015000 00000004 c47db140 c70c0000 00000004
> 40015000
> Call Trace: [<c0207a4a>] [<c010d09c>] [<c014c3df>] [<c0131715>]
> [<c01086df>]
>
> Code: Bad EIP value.
> Segmentation fault
> user@kung-foo:~$
> --- snip ---
>
> Nicolas Couture

can you please run ksymoops on it?

- --
Regards Michael B?sch
http://www.8ung.at/tuxsoft
22:22:48 up 7:39, 2 users, load average: 1.01, 1.00, 1.00
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+uWszoxoigfggmSgRAuLZAJ9EjAXjwxDKIMEoaJrPRO3VnkgHuACeM/IY
QGS+mTf54H66EjERIWcC3d0=
=rZo3
-----END PGP SIGNATURE-----

2003-05-08 00:35:19

by Tony Spinillo

[permalink] [raw]
Subject: Re: Kernel Panic - IDE-SCSI

Same here.

Kernel 2.4.21-pre1 with RedHat 9. INTEL 845PESVL motherboard.
It oopses and logs me off from the console.
Thanks,

T

Here is my oops:

ksymoops 2.4.9 on i686 2.4.21-rc1b. Options used
-V (default)
-k /proc/ksyms (default)
-l /proc/modules (default)
-o /lib/modules/2.4.21-rc1b/ (default)
-m /usr/src/linux/System.map (default)

Warning: You did not tell me where to find symbol information. I will
assume that the log matches the kernel and modules that are running
right now and I'll use the default options above for symbol resolution.
If the current kernel and/or modules do not match the log, you can get
more accurate output by telling me the kernel version and where to find
map, modules, ksyms etc. ksymoops -h explains the options.

kernel: Unable to handle kernel NULL pointer dereference at virtual
address 00000000
kernel: 00000000
kernel: *pde = 00000000
kernel: Oops: 0000
kernel: CPU: 0
kernel: EIP: 0010:[<00000000>] Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
kernel: EFLAGS: 00010246
kernel: eax: f6e33f70 ebx: 00000004 ecx: 00000000 edx: c03398e0
kernel: esi: f6e1b000 edi: f7e5b680 ebp: 00000004 esp: f6e33f54
kernel: ds: 0018 es: 0018 ss: 0018
kernel: Process bash (pid: 13515, stackpage=f6e33000)
kernel: Stack: c021c590 f6e1b000 f6e33f70 00000000 00000004 00000002
00000001 0000000a
kernel: 00000000 f7805c00 ffffffea c015daf0 f7805c00 080e8408
00000004 f7e5b680
kernel: c013d1f3 f7805c00 080e8408 00000004 f7805c20 00000003
00000000 f6e32000
kernel: Call Trace: [<c021c590>] [<c015daf0>] [<c013d1f3>]
[<c01090ef>]
kernel: Code: Bad EIP value.
>>EIP; 00000000 Before first symbol
>>eax; f6e33f70 <_end+36a78878/3848c968>
>>edx; c03398e0 <idescsi_template+0/80>
>>esi; f6e1b000 <_end+36a5f908/3848c968>
>>edi; f7e5b680 <_end+37a9ff88/3848c968>
>>esp; f6e33f54 <_end+36a7885c/3848c968>

Trace; c021c590 <proc_scsi_write+a0/c0>
Trace; c015daf0 <proc_file_write+40/50>
Trace; c013d1f3 <sys_write+a3/140>
Trace; c01090ef <system_call+33/38>

1 warning issued. Results may not be reliable.