lkml.org 
[lkml]   [2001]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] Re: Reproducible oops when loading ns558.o in 2.4.5-ac4
Hi!

Here is the fix.

Alan, please add this to the input update. Thanks.

Vojtech

On Tue, May 29, 2001 at 11:08:13PM +0100, Stephen Thomas wrote:

> May 29 22:40:52 wycliffe kernel: Unable to handle kernel paging request at virtual address 3d83537a
> May 29 22:40:52 wycliffe kernel: c01a8d27
> May 29 22:40:52 wycliffe kernel: *pde = 00000000
> May 29 22:40:52 wycliffe kernel: Oops: 0000
> May 29 22:40:52 wycliffe kernel: CPU: 0
> May 29 22:40:52 wycliffe kernel: EIP: 0010:[isapnp_find_dev+59/256]
> May 29 22:40:52 wycliffe kernel: EFLAGS: 00010213
> May 29 22:40:52 wycliffe kernel: eax: 3d835356 ebx: cc8a36e4 ecx: 00000000 edx: cc8a348c
> May 29 22:40:52 wycliffe kernel: esi: 00000002 edi: 00000002 ebp: 00000100 esp: cb12dedc
> May 29 22:40:52 wycliffe kernel: ds: 0018 es: 0018 ss: 0018
> May 29 22:40:52 wycliffe kernel: Process modprobe (pid: 662, stackpage=cb12d000)
> May 29 22:40:52 wycliffe kernel: Stack: cc8a36e4 cc8a348c 00000001 cc8a382c cc8a3000 cc8a3824 000000ff 0002382c
> May 29 22:40:52 wycliffe kernel: cc8a34f5 00000000 00000002 00000100 cc8a348c cc8a3000 cc8a348c c0114b28
> May 29 22:40:52 wycliffe kernel: cb12c000 0804b52b 08061d70 bfffc45c 00000001 cc8a1000 cc8a1000 cc8a3818
> May 29 22:40:52 wycliffe kernel: Call Trace: [<cc8a36e4>] [<cc8a348c>] [<cc8a382c>] [<cc8a3000>] [<cc8a3824>]
> May 29 22:40:52 wycliffe kernel: [<cc8a34f5>] [<cc8a348c>] [<cc8a3000>] [<cc8a348c>] [sys_init_module+1424/1588] [<cc8a1000>]
> May 29 22:40:52 wycliffe kernel: [<cc8a1000>] [<cc8a3818>] [<cc8a1000>] [<cc8a3060>] [system_call+51/56]
> May 29 22:40:52 wycliffe kernel: Code: 66 39 78 24 75 0a 66 39 68 26 0f 84 ab 00 00 00 31 c9 8d 70

--
Vojtech Pavlik
SuSE Labs
diff -urN linux-2.4.5-ac4/drivers/char/joystick/ns558.c linux/drivers/char/joystick/ns558.c
--- linux-2.4.5-ac4/drivers/char/joystick/ns558.c Tue May 29 19:48:14 2001
+++ linux/drivers/char/joystick/ns558.c Wed May 30 14:23:33 2001
@@ -239,7 +239,7 @@
int i = 0;
#ifdef NSS558_ISAPNP
struct isapnp_device_id *devid;
- struct pci_device *dev;
+ struct pci_dev *dev = NULL;
#endif

/*
\
 
 \ /
  Last update: 2005-03-22 12:54    [W:0.046 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site