linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Unable to handle kernel NULL pointer dereference
@ 2004-01-01 18:44 Eduard <master^shadow> Roccatello
  2004-01-02  1:32 ` Greg KH
  0 siblings, 1 reply; 7+ messages in thread
From: Eduard <master^shadow> Roccatello @ 2004-01-01 18:44 UTC (permalink / raw)
  To: linux-kernel

Hi there,

i got an oops on USB mouse disconnect. i have tried to reproduce the oops 
but it happened only once. I'm running 2.6.0 vanilla with nvidia binary 
drivers but they not seems to be involved in the oops (imho).
USB modules i use are: hid, hcd-ohci, hcd-ehci

This his the oops:

Unable to handle kernel NULL pointer dereference at virtual address 00000008
 printing eip:
c01636fb
*pde = 00000000
Oops: 0000 [#1]
CPU:    0
EIP:    0060:[<c01636fb>]    Tainted: PF 
EFLAGS: 00010292
EIP is at __lookup_hash+0x1b/0xd0
eax: dfdcdeb8   ebx: 12fd28db   ecx: ffffffff   edx: 01b9ec71
esi: c03d0bb8   edi: 00000000   ebp: 00000000   esp: dfdcde7c
ds: 007b   es: 007b   ss: 0068
Process khubd (pid: 5, threadinfo=dfdcc000 task=c151c080)
Stack: 00000246 000003e8 e194d6be 12fd28db c03d0bb8 c0366258 dbf7d624 
c01637cf 
       dfdcdeb8 00000000 00000000 c018930c dfdcdeb8 00000000 0000001e 
c0366253 
       00000005 12fd28db dd93e380 dd93e294 dbf7d600 c018a85f 00000000 
c0366253 
Call Trace:
 [<e194d6be>] ed_free+0x24/0x28 [ohci_hcd]
 [<c01637cf>] lookup_hash+0x1f/0x23
 [<c018930c>] sysfs_get_dentry+0x6a/0x70
 [<c018a85f>] sysfs_remove_group+0x65/0x6a
 [<c0243e6e>] dpm_sysfs_remove+0x1a/0x20
 [<c0243937>] device_pm_remove+0x26/0x71
 [<c0241487>] device_del+0x65/0x9b
 [<c028c165>] usb_disable_device+0x71/0xac
 [<c02869d6>] usb_disconnect+0x9b/0xe6
 [<c0288ffa>] hub_port_connect_change+0x31d/0x322
 [<c0288916>] hub_port_status+0x45/0xb0
 [<c0289338>] hub_events+0x339/0x39e
 [<c02893ca>] hub_thread+0x2d/0xe3
 [<c0109032>] ret_from_fork+0x6/0x14
 [<c011b420>] default_wake_function+0x0/0x12
 [<c028939d>] hub_thread+0x0/0xe3
 [<c01070c9>] kernel_thread_helper+0x5/0xb

Code: 8b 77 08 c7 44 24 04 01 00 00 00 89 6c 24 08 89 34 24 e8 d4 
 

Thanks for the attention (and sorry for my english)
See you
--
Eduard Roccatello
S.P.I.N.E. Group


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

* Re: Unable to handle kernel NULL pointer dereference
  2004-01-01 18:44 Unable to handle kernel NULL pointer dereference Eduard <master^shadow> Roccatello
@ 2004-01-02  1:32 ` Greg KH
  2004-01-03  9:47   ` Michael Stucki
  0 siblings, 1 reply; 7+ messages in thread
From: Greg KH @ 2004-01-02  1:32 UTC (permalink / raw)
  To: Eduard <master^shadow> Roccatello; +Cc: linux-kernel

On Thu, Jan 01, 2004 at 07:44:50PM +0100, Eduard <master^shadow> Roccatello wrote:
> Hi there,
> 
> i got an oops on USB mouse disconnect. i have tried to reproduce the oops 
> but it happened only once. I'm running 2.6.0 vanilla with nvidia binary 
> drivers but they not seems to be involved in the oops (imho).
> USB modules i use are: hid, hcd-ohci, hcd-ehci

There is a patch in the -mm tree to fix this.  I've included it here
below.

thanks,

greg k-h


diff -Nru a/fs/sysfs/dir.c b/fs/sysfs/dir.c
--- a/fs/sysfs/dir.c	Mon Dec 22 16:02:07 2003
+++ b/fs/sysfs/dir.c	Mon Dec 22 16:02:07 2003
@@ -83,7 +83,8 @@
 	struct dentry * parent = dget(d->d_parent);
 	down(&parent->d_inode->i_sem);
 	d_delete(d);
-	simple_rmdir(parent->d_inode,d);
+	if (d->d_inode)
+		simple_rmdir(parent->d_inode,d);
 
 	pr_debug(" o %s removing done (%d)\n",d->d_name.name,
 		 atomic_read(&d->d_count));

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

* Re: Unable to handle kernel NULL pointer dereference
  2004-01-02  1:32 ` Greg KH
@ 2004-01-03  9:47   ` Michael Stucki
  2004-01-07 21:06     ` Greg KH
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Stucki @ 2004-01-03  9:47 UTC (permalink / raw)
  To: linux-kernel

Dear Greg,

I have exactly the same problem and I am using nvidia's binary drivers as
well, so they might be a problem anyway.

> There is a patch in the -mm tree to fix this.  I've included it here
> below.

Thanks. Unfortunately, this doesn't solve my problem.

Maybe this information could be useful:
http://www.mstucki.net/files/misc/messages.txt

Kind regards
- michael


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

* Re: Unable to handle kernel NULL pointer dereference
  2004-01-03  9:47   ` Michael Stucki
@ 2004-01-07 21:06     ` Greg KH
  0 siblings, 0 replies; 7+ messages in thread
From: Greg KH @ 2004-01-07 21:06 UTC (permalink / raw)
  To: Michael Stucki; +Cc: linux-kernel

On Sat, Jan 03, 2004 at 10:47:05AM +0100, Michael Stucki wrote:
> Dear Greg,
> 
> I have exactly the same problem and I am using nvidia's binary drivers as
> well, so they might be a problem anyway.

Can you duplicate this on 2.6.1-rc2 + the sysfs patch without the nvidia
drivers?

thanks,

greg k-h

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

* Re: Unable to handle kernel NULL pointer dereference
  2004-07-19 19:23 Nicolas Ross
@ 2004-07-20  4:07 ` Randy.Dunlap
  0 siblings, 0 replies; 7+ messages in thread
From: Randy.Dunlap @ 2004-07-20  4:07 UTC (permalink / raw)
  To: Nicolas Ross; +Cc: linux-kernel

On Mon, 19 Jul 2004 15:23:25 -0400 Nicolas Ross wrote:

| Hi all !
| 
| I have a firewall box, with a vanilla kernel from kernel.org. I've tried
| with 2.4.19 and 2.4.24. The system is RedHat 7.3 (it does the same thing
| with 8.0, and gcc 3)
| 
| The kernel is pretty straigh-up, not much options, some net modules,
| iptables etc.
| 
| The only thing out of the ordinary is a custom net/core/dev.c file to
| support a bandwith management module, wich isn't gpl and is pre-compiled.
| 
| When issuing commands to configure the bandwith manager, I get :
| 
| Unable to handle kernel NULL pointer dereference at virtual address 00000000
|  printing eip:
| 00000000
| *pde = 00000000
| Oops: 0000
| CPU:    0
| EIP:    0010:[<00000000>]    Tainted: P

What module makes it tainted?  Can you reproduce problem without it?

| EFLAGS: 00010086
| eax: ddf5f948   ebx: ddf5e000   ecx: ddf5f980   edx: de9db400
| esi: c0000000   edi: ddf5f986   ebp: ddf5f9b8   esp: ddf5f92c
| ds: 0018   es: 0018   ss: 0018
| Process bwmgr (pid: 1120, stackpage=ddf5f000)
| Stack: e08c4431 de9db400 ddf5f980 00008946 fffffec4 11860f1f 00000000
| 0000000a
|        00000000 00000001 00000000 00000000 00000000 00000000 00000000
| 00000000
|        00000000 00bd0c00 00000000 00000000 90c8ebff 6e616c76 e08d0032
| defec800
| Call Trace:    [<e08c4431>] [<e08d0032>] [<e08d58d7>] [<e08d68b5>]
| [<c012b346>]
|   [<c0120ea3>] [<c012b346>] [<c012995a>] [<c0120ea3>] [<c0120f19>]
| [<c010f303>]
|   [<c028407e>] [<e08d95f6>] [<c01216de>] [<c010f1b0>] [<c01071b4>]
| [<c0282bab>]
|   [<c010f1b0>] [<c01071b4>] [<c0282bab>] [<e08af1f7>] [<e08c33ec>]
| [<c01a3a17>]
|   [<c023af54>] [<c023b138>] [<c023315a>] [<c013e413>] [<c01070a3>]
| 
| Code:  Bad EIP value.
| 
| After that the system still responds but isn't much usable, I have to
| reboot, not practicall...
| 
| All of this was working with the exact same setup, but on a different MB,
| and kernel 2.4.19.
| 
| Any hints on the source of this exception ?

Please run this oops message thru ksymoops and resend it.
See linux/Documentation/ oops-tracing.txt for details.

--
~Randy

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

* Unable to handle kernel NULL pointer dereference
@ 2004-07-19 19:23 Nicolas Ross
  2004-07-20  4:07 ` Randy.Dunlap
  0 siblings, 1 reply; 7+ messages in thread
From: Nicolas Ross @ 2004-07-19 19:23 UTC (permalink / raw)
  To: linux-kernel

Hi all !

I have a firewall box, with a vanilla kernel from kernel.org. I've tried
with 2.4.19 and 2.4.24. The system is RedHat 7.3 (it does the same thing
with 8.0, and gcc 3)

The kernel is pretty straigh-up, not much options, some net modules,
iptables etc.

The only thing out of the ordinary is a custom net/core/dev.c file to
support a bandwith management module, wich isn't gpl and is pre-compiled.

When issuing commands to configure the bandwith manager, I get :

Unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
00000000
*pde = 00000000
Oops: 0000
CPU:    0
EIP:    0010:[<00000000>]    Tainted: P
EFLAGS: 00010086
eax: ddf5f948   ebx: ddf5e000   ecx: ddf5f980   edx: de9db400
esi: c0000000   edi: ddf5f986   ebp: ddf5f9b8   esp: ddf5f92c
ds: 0018   es: 0018   ss: 0018
Process bwmgr (pid: 1120, stackpage=ddf5f000)
Stack: e08c4431 de9db400 ddf5f980 00008946 fffffec4 11860f1f 00000000
0000000a
       00000000 00000001 00000000 00000000 00000000 00000000 00000000
00000000
       00000000 00bd0c00 00000000 00000000 90c8ebff 6e616c76 e08d0032
defec800
Call Trace:    [<e08c4431>] [<e08d0032>] [<e08d58d7>] [<e08d68b5>]
[<c012b346>]
  [<c0120ea3>] [<c012b346>] [<c012995a>] [<c0120ea3>] [<c0120f19>]
[<c010f303>]
  [<c028407e>] [<e08d95f6>] [<c01216de>] [<c010f1b0>] [<c01071b4>]
[<c0282bab>]
  [<c010f1b0>] [<c01071b4>] [<c0282bab>] [<e08af1f7>] [<e08c33ec>]
[<c01a3a17>]
  [<c023af54>] [<c023b138>] [<c023315a>] [<c013e413>] [<c01070a3>]

Code:  Bad EIP value.

After that the system still responds but isn't much usable, I have to
reboot, not practicall...

All of this was working with the exact same setup, but on a different MB,
and kernel 2.4.19.

Any hints on the source of this exception ?

Nicolas


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

* Unable to handle kernel NULL pointer dereference
@ 2002-04-05  7:42 Umaid Singh Rajpurohit
  0 siblings, 0 replies; 7+ messages in thread
From: Umaid Singh Rajpurohit @ 2002-04-05  7:42 UTC (permalink / raw)
  To: linux-kernel

Hello all,

we are running clearcase,sun grid engine on RedHat Linux 7.1 
(kernel 2.4.2) on IBM Xseries one U servers that has
two CPU's and we mount all the files to be processed using 
autofs.
Here is uname -a
Linux  2.4.2-2smp #1 SMP Sun Apr 8 20:21:34 EDT 2001 i686 
unknown

I have more then sufficient physical memory and swap space
Here is some swap space detail form top

Mem:  1543868K av,  507684K used, 1036184K free, 0K shrd, 317576K 
buff Swap: 5116576K av,0K used, 5116576K free 33076K  cached


we are running n number of IBM X Series server every now and then   
one or two servers crashes and don't allow me to do anything 
except hard reset.

   The /var/log/messages says something like:

                      Jan  6 17:59:45  kernel: Unable to handle 
kernel NULL pointer
                      dereference at virtual address 00000014
                      Jan  6 17:59:45  kernel:  printing eip:
                      Jan  6 17:59:45  kernel: f8b510b2
                      Jan  6 17:59:45  kernel: pgd entry eb571000: 
0000000000000000
                      Jan  6 17:59:45  kernel: pmd entry eb571000: 
0000000000000000
                      Jan  6 17:59:45  kernel: ... pmd not 
present!
                      Jan  6 17:59:45  kernel: Oops: 0000
                      Jan  6 17:59:45  kernel: CPU:    1
                      Jan  6 17:59:45  kernel: EIP:    
0010:[<f8b510b2>]
                      Jan  6 17:59:45  kernel: EFLAGS: 00010246
                      Jan  6 17:59:45  kernel: eax: d951f220   
ebx: 00000040   ecx: c027e140
                      edx: 00000000
                      Jan  6 17:59:45  kernel: esi: 00000000   
edi: ea10fe60   ebp: ea10fe20
                      esp: ea10fde8
                      Jan  6 17:59:45  kernel: ds: 0018   es: 0018   
ss: 0018
                      Jan  6 17:59:45  kernel: Process tcsh (pid: 
31185, stackpage=ea10f000)
                      Jan  6 17:59:45  kernel: Stack: 00000040 
f68c86c4 ea10fea0 d32e2ca0
                      00000040 f68c86c4 ea10fea0 00000000
                      Jan  6 17:59:45  kernel:        00000000 
00000000 f68c86c4 d951f220
                      00029508 00000002 ea10fe70 f8b4c6cf
                      Jan  6 17:59:45  kernel:        00000001 
ea10fe60 d32e2ca0 f8b4c423
                      00000040 f68c86c4 d32e2ca0 000079d1
                      Jan  6 17:59:45  kernel: Call Trace: 
[<f8b4c6cf>] [<f8b4c423>]
                      [<f8b56034>] [<f8b8a764>] [<f8b4d497>] 
[<f8b754cc>] [<f8b7042a>]
                      Jan  6 17:59:45  kernel:        [<f8b70420>] 
[<f8b6fbef>] [dput+59/416]
                      [permission+69/144] [<f8b6ee70>] 
[path_walk+2392/2432]
                      [__user_walk+58/96] [sys_stat64+19/112]
                      Jan  6 17:59:45  kernel:        [<f8b70420>] 
[<f8b6fbef>] [<c014e8cb>]
                      [<c01458a5>] [<f8b6ee70>] [<c01465f8>] 
[<c0146b0a>] [<c0143143>]
                      Jan  6 17:59:45  kernel:        
[error_code+52/60] [system_call+51/56]
                      Jan  6 17:59:45  kernel:        [<c0109300>] 
[<c01091cb>]
                      Jan  6 17:59:45  kernel:
                      Jan  6 17:59:45  kernel: Code: 83 7e 14 06 
0f 85 f7 00 00 00 83 c4 f8 6a
                      00 56 e8 3d a8 ff
                      Jan  6 17:59:45  kernel: Unable to handle 
kernel NULL pointer
                      dereference at virtual address 00000014
                      Jan  6 17:59:45  kernel:  printing eip:
                      Jan  6 17:59:45  kernel: f8b510b2
                      Jan  6 17:59:45  kernel: pgd entry d4f8d000: 
0000000000000000
                      Jan  6 17:59:45  kernel: pmd entry d4f8d000: 
0000000000000000
                      Jan  6 17:59:45  kernel: ... pmd not 
present!
                      Jan  6 17:59:45  kernel: Oops: 0000
                      Jan  6 17:59:45  kernel: CPU:    0
                      Jan  6 17:59:45  kernel: EIP:    
0010:[<f8b510b2>]
                      Jan  6 17:59:45  kernel: EFLAGS: 00010246
                      Jan  6 17:59:45  kernel: eax: d951f220   
ebx: 00000040   ecx: c027e140
                      edx: 00000000
                      Jan  6 17:59:45  kernel: esi: 00000000   
edi: e6041e60   ebp: e6041e20
                      esp: e6041de8
                      Jan  6 17:59:45  kernel: ds: 0018   es: 0018   
ss: 0018
                      Jan  6 17:59:45  kernel: Process tcsh (pid: 
31184, stackpage=e6041000)
                      Jan  6 17:59:45  kernel: Stack: 00000040 
f68c8ec8 e6041ea0 eca3ace0
                      00000040 f68c8ec8 e6041ea0 00000000
                      Jan  6 17:59:45  kernel:        00000000 
00000000 f68c8ec8 d951f220
                      00029508 00000002 e6041e70 f8b4c6cf
                      Jan  6 17:59:45  kernel:        00000001 
e6041e60 eca3ace0 f8b4c423
                      00000040 f68c8ec8 eca3ace0 000079d0
                      Jan  6 17:59:45  kernel: Call Trace: 
[<f8b4c6cf>] [<f8b4c423>]
                      [<f8b56034>] [<f8b8a764>] [<f8b4d497>] 
[<f8b754cc>] [<f8b7042a>]
                      Jan  6 17:59:45  kernel:        [<f8b70420>] 
[<f8b6fbef>] [dput+59/416]
                      [permission+69/144] [<f8b6ee70>] 
[path_walk+2392/2432]
                      [__user_walk+58/96] [sys_stat64+19/112]
                      Jan  6 17:59:45  kernel:        [<f8b70420>] 
[<f8b6fbef>] [<c014e8cb>]
                      [<c01458a5>] [<f8b6ee70>] [<c01465f8>] 
[<c0146b0a>] [<c0143143>]


  I am unable to find any information on it.Can any one help me 
out.If you need any other information please mail me.

Warm Regard
umaid
linux support (TI india)

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

end of thread, other threads:[~2004-07-20  4:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-01 18:44 Unable to handle kernel NULL pointer dereference Eduard <master^shadow> Roccatello
2004-01-02  1:32 ` Greg KH
2004-01-03  9:47   ` Michael Stucki
2004-01-07 21:06     ` Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2004-07-19 19:23 Nicolas Ross
2004-07-20  4:07 ` Randy.Dunlap
2002-04-05  7:42 Umaid Singh Rajpurohit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).