* 2.6.25-rc2-git4 BUG: sysfs_readdir
@ 2008-02-21 16:25 Randy Dunlap
2008-02-21 16:35 ` Randy Dunlap
2008-02-21 16:52 ` Greg KH
0 siblings, 2 replies; 4+ messages in thread
From: Randy Dunlap @ 2008-02-21 16:25 UTC (permalink / raw)
To: lkml; +Cc: gregkh
One of my (x86_64) test machines got this on booting 2.6.25-rc2-git4.
insmod used greatest stack depth: 4144 bytes left
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting. Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
modprobe used greatest stack depth: 3600 bytes left
BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
IP: [<ffffffff802d0f16>] sysfs_readdir+0xe0/0x13f
PGD 0
Oops: 0000 [1] SMP
CPU 2
Modules linked in: cciss ehci_hcd ohci_hcd uhci_hcd
Pid: 697, comm: udevtrigger Not tainted 2.6.25-rc2-git5 #1
RIP: 0010:[<ffffffff802d0f16>] [<ffffffff802d0f16>] sysfs_readdir+0xe0/0x13f
RSP: 0018:ffff81027e8c3eb8 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff81027fb35a50 RCX: ffffffffffffffff
RDX: 0000000000000020 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff81027e8c3ee8 R08: 000000006765b9c6 R09: 000000000000000a
R10: 0000000000000000 R11: 0000000000000202 R12: ffff81027e093b40
R13: ffffffff80299e04 R14: ffff81027e8c3f38 R15: ffffffff80299e04
FS: 00007ffe6743f710(0000) GS:ffff81027f88c680(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000000000000000 CR3: 000000027e8d6000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process udevtrigger (pid: 697, threadinfo ffff81027e8c2000, task ffff81027e5fa000)
Stack: ffff81027f467280 ffff81027f467338 ffff81027e093b40 00000000fffffffe
ffff81027f467280 ffff81027f467338 ffff81027e8c3f28 ffffffff80299f33
ffff81027e8c3f38 00007ffe6765b618 00000000fffffff7 ffff81027e093b40
Call Trace:
[<ffffffff80299f33>] vfs_readdir+0x6a/0x9f
[<ffffffff8029a1b1>] sys_getdents+0x7a/0xc5
[<ffffffff8020bf5b>] system_call_after_swapgs+0x7b/0x80
Code: 00 48 8b 5b 28 eb 04 48 8b 5b 10 48 85 db 74 62 48 8b 43 38 49 39 44 24 38 77 ec eb 40 48 8b 73 18 31 c0 48 83 c9 ff fc 48 89 f7 <f2> ae 4c 89 f7 48 f7 d1 48 8d 41 ff 48 8b 4b 38 89 c2 49 89 4c
RIP [<ffffffff802d0f16>] sysfs_readdir+0xe0/0x13f
RSP <ffff81027e8c3eb8>
CR2: 0000000000000000
---[ end trace b4dedabc6a9f743a ]---
---
~Randy
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.6.25-rc2-git4 BUG: sysfs_readdir
2008-02-21 16:25 2.6.25-rc2-git4 BUG: sysfs_readdir Randy Dunlap
@ 2008-02-21 16:35 ` Randy Dunlap
2008-02-21 16:52 ` Greg KH
1 sibling, 0 replies; 4+ messages in thread
From: Randy Dunlap @ 2008-02-21 16:35 UTC (permalink / raw)
To: Randy Dunlap; +Cc: lkml, gregkh
On Thu, 21 Feb 2008 08:25:53 -0800 Randy Dunlap wrote:
> One of my (x86_64) test machines got this on booting 2.6.25-rc2-git4.
bah. Make that 2.6.25-rc2-git5. :(
> insmod used greatest stack depth: 4144 bytes left
> EXT3-fs: INFO: recovery required on readonly filesystem.
> EXT3-fs: write access will be enabled during recovery.
> kjournald starting. Commit interval 5 seconds
> EXT3-fs: recovery complete.
> EXT3-fs: mounted filesystem with ordered data mode.
> modprobe used greatest stack depth: 3600 bytes left
> BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
> IP: [<ffffffff802d0f16>] sysfs_readdir+0xe0/0x13f
> PGD 0
> Oops: 0000 [1] SMP
> CPU 2
> Modules linked in: cciss ehci_hcd ohci_hcd uhci_hcd
> Pid: 697, comm: udevtrigger Not tainted 2.6.25-rc2-git5 #1
> RIP: 0010:[<ffffffff802d0f16>] [<ffffffff802d0f16>] sysfs_readdir+0xe0/0x13f
> RSP: 0018:ffff81027e8c3eb8 EFLAGS: 00010286
> RAX: 0000000000000000 RBX: ffff81027fb35a50 RCX: ffffffffffffffff
> RDX: 0000000000000020 RSI: 0000000000000000 RDI: 0000000000000000
> RBP: ffff81027e8c3ee8 R08: 000000006765b9c6 R09: 000000000000000a
> R10: 0000000000000000 R11: 0000000000000202 R12: ffff81027e093b40
> R13: ffffffff80299e04 R14: ffff81027e8c3f38 R15: ffffffff80299e04
> FS: 00007ffe6743f710(0000) GS:ffff81027f88c680(0000) knlGS:0000000000000000
> CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
> CR2: 0000000000000000 CR3: 000000027e8d6000 CR4: 00000000000006e0
> DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
> Process udevtrigger (pid: 697, threadinfo ffff81027e8c2000, task ffff81027e5fa000)
> Stack: ffff81027f467280 ffff81027f467338 ffff81027e093b40 00000000fffffffe
> ffff81027f467280 ffff81027f467338 ffff81027e8c3f28 ffffffff80299f33
> ffff81027e8c3f38 00007ffe6765b618 00000000fffffff7 ffff81027e093b40
> Call Trace:
> [<ffffffff80299f33>] vfs_readdir+0x6a/0x9f
> [<ffffffff8029a1b1>] sys_getdents+0x7a/0xc5
> [<ffffffff8020bf5b>] system_call_after_swapgs+0x7b/0x80
>
>
> Code: 00 48 8b 5b 28 eb 04 48 8b 5b 10 48 85 db 74 62 48 8b 43 38 49 39 44 24 38 77 ec eb 40 48 8b 73 18 31 c0 48 83 c9 ff fc 48 89 f7 <f2> ae 4c 89 f7 48 f7 d1 48 8d 41 ff 48 8b 4b 38 89 c2 49 89 4c
> RIP [<ffffffff802d0f16>] sysfs_readdir+0xe0/0x13f
> RSP <ffff81027e8c3eb8>
> CR2: 0000000000000000
> ---[ end trace b4dedabc6a9f743a ]---
---
~Randy
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.6.25-rc2-git4 BUG: sysfs_readdir
2008-02-21 16:25 2.6.25-rc2-git4 BUG: sysfs_readdir Randy Dunlap
2008-02-21 16:35 ` Randy Dunlap
@ 2008-02-21 16:52 ` Greg KH
2008-02-21 17:33 ` Randy Dunlap
1 sibling, 1 reply; 4+ messages in thread
From: Greg KH @ 2008-02-21 16:52 UTC (permalink / raw)
To: Randy Dunlap; +Cc: lkml
On Thu, Feb 21, 2008 at 08:25:53AM -0800, Randy Dunlap wrote:
> One of my (x86_64) test machines got this on booting 2.6.25-rc2-git4.
>
> insmod used greatest stack depth: 4144 bytes left
> EXT3-fs: INFO: recovery required on readonly filesystem.
> EXT3-fs: write access will be enabled during recovery.
> kjournald starting. Commit interval 5 seconds
> EXT3-fs: recovery complete.
> EXT3-fs: mounted filesystem with ordered data mode.
> modprobe used greatest stack depth: 3600 bytes left
> BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
> IP: [<ffffffff802d0f16>] sysfs_readdir+0xe0/0x13f
That's really wierd, as nothing has changed in this area in a while now.
did 2.6.25-rc2 work for you ok?
Can you enable CONFIG_DEBUG_KOBJECT and see if the kernel log shows you
what is happening here? Hm, that's only going to tell you what files
were created, not what was being read from sysfs...
How about adding the patch at:
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/gregkh-01-driver/sysfs-crash-debugging.patch
which has been in -mm for forever that will add the last-accessed sysfs
file to the oops report. That might give us more information here.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.6.25-rc2-git4 BUG: sysfs_readdir
2008-02-21 16:52 ` Greg KH
@ 2008-02-21 17:33 ` Randy Dunlap
0 siblings, 0 replies; 4+ messages in thread
From: Randy Dunlap @ 2008-02-21 17:33 UTC (permalink / raw)
To: Greg KH; +Cc: lkml
Greg KH wrote:
> On Thu, Feb 21, 2008 at 08:25:53AM -0800, Randy Dunlap wrote:
>> One of my (x86_64) test machines got this on booting 2.6.25-rc2-git4.
>>
>> insmod used greatest stack depth: 4144 bytes left
>> EXT3-fs: INFO: recovery required on readonly filesystem.
>> EXT3-fs: write access will be enabled during recovery.
>> kjournald starting. Commit interval 5 seconds
>> EXT3-fs: recovery complete.
>> EXT3-fs: mounted filesystem with ordered data mode.
>> modprobe used greatest stack depth: 3600 bytes left
>> BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
>> IP: [<ffffffff802d0f16>] sysfs_readdir+0xe0/0x13f
>
> That's really wierd, as nothing has changed in this area in a while now.
> did 2.6.25-rc2 work for you ok?
Yes, all previous 2.6.25-versions worked for me.
> Can you enable CONFIG_DEBUG_KOBJECT and see if the kernel log shows you
> what is happening here? Hm, that's only going to tell you what files
> were created, not what was being read from sysfs...
>
> How about adding the patch at:
> http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/gregkh-01-driver/sysfs-crash-debugging.patch
> which has been in -mm for forever that will add the last-accessed sysfs
> file to the oops report. That might give us more information here.
I'll try those, but I doubt that this is easily reproducible.
--
~Randy
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-02-21 17:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-21 16:25 2.6.25-rc2-git4 BUG: sysfs_readdir Randy Dunlap
2008-02-21 16:35 ` Randy Dunlap
2008-02-21 16:52 ` Greg KH
2008-02-21 17:33 ` Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox