public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6.10-rc2-mm1] OOPS on boot (hotplug related?)
@ 2004-11-17 21:17 Christian Axelsson
  2004-11-17 22:53 ` Andrew Morton
  0 siblings, 1 reply; 6+ messages in thread
From: Christian Axelsson @ 2004-11-17 21:17 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1618 bytes --]

Hi!
Im getting OOPSes on boot on my laptop. Output is copied by hand and Ive 
only included the parts that I *think* are useful:

VFS: Mounted root (reiser4 filesystem) readonly.
Freeing unused kernel memory: 176k freed
Unable to handle kernel NULL pointer dereference at virtual address 0000003c
  printing eip:
c01ea243
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
Modules linked in:
CPU:    0
EIP:    0060:[<c01ea243>]   Not tainted VLI
EFLAGS: 00010286   (2.6.10-rc2-mm1)
EIP is at get_nonexclusive_access+0x13/0x40
eax: 00000000   ebx: dfbce730   ecx: 00000000  edx: dfbce6d8
esi: dfbce700   edi: dfbe44ec   ebp: dfbce6d8  esp: dfbf1c10
ds: 007b   es: 007b   ss: 0068
Process hotplug (pid: 966, threadinfo=dfbf0000 task=dfbcba80)
Stack: c01e8f1f dfbce6d8 00000000 c01e8ee0 dfbe7360 00000000 dfbe44ec
        c014a547 dfbe44ec 080d8000 dfbf1c58 c0112d4d dfbd3080 dfbd2dc0
        00000000 dfbce7d0 00000001 dfbd3080 080d84d4 00000001 c014a9f0
Call Trace:
  [<c01e8f1f>] unix_file_filemap_nopage+0x3f/0x90
  [<c01e8ee0>] unix_file_filemap_nopage+0x0/0x90
  [<c014a547>] do_no_page+0xc7/0x360
  [<c0112d4d>] pte_alloc_one+0x1d/0x50
  [<c014a9f0>] handle_mm_fault+0xf0/0x1a0
  [<c013bba2>] generic_file_mmap+3ec/0x60e
  [<c011356c>] do_page_fault+0x3ec/0x60e

<snipped>

Code: 00 0f c1 10 0f 85 14 12 00 00 c3 8d b6 00 00 00 00 8d bc 27 00 00 
00 00 b8 00 e0 ff ff 8b 54 24 04 21 e0 8b 00 8b 80 b8 04 00 <8b> 40 3c 
8b 48 08 85 c9 75 0b 89 d0 ff 00 0f 88 f3 11 00 00 c3

This one is followed by two similar (probably identical) OOPSes and then 
it panics.
Im using latest hotplug. Config attached.

-- 
Regards,
Christian

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 7476 bytes --]

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

* Re: [2.6.10-rc2-mm1] OOPS on boot (hotplug related?)
  2004-11-17 21:17 [2.6.10-rc2-mm1] OOPS on boot (hotplug related?) Christian Axelsson
@ 2004-11-17 22:53 ` Andrew Morton
  2004-11-18  1:11   ` Mathieu Segaud
  0 siblings, 1 reply; 6+ messages in thread
From: Andrew Morton @ 2004-11-17 22:53 UTC (permalink / raw)
  To: Christian Axelsson; +Cc: linux-kernel

Christian Axelsson <smiler@lanil.mine.nu> wrote:
>
> I'm getting OOPSes on boot on my laptop. Output is copied by hand and Ive 
> only included the parts that I *think* are useful:
> 
> ...
> EIP is at get_nonexclusive_access+0x13/0x40

Yup, seems that reiser4 broke.  I've forwarded a copy of an earlier report
to reiserfs-dev@namesys.com.

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

* Re: [2.6.10-rc2-mm1] OOPS on boot (hotplug related?)
@ 2004-11-17 23:12 Hanno Meyer-Thurow
  0 siblings, 0 replies; 6+ messages in thread
From: Hanno Meyer-Thurow @ 2004-11-17 23:12 UTC (permalink / raw)
  To: linux-kernel

Hi Christian Axelsson,

I get that hotplug oops on 2.6.10-rc2-bk1/2 but not on 2.6.10-rc2. so that bug must be in latest bk1 patchset. For anyone interested in bugfixing see my foto at:

http://geki.ath.cx/hotplug-oops.jpg

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

* Re: [2.6.10-rc2-mm1] OOPS on boot (hotplug related?)
@ 2004-11-17 23:14 Hanno Meyer-Thurow
  0 siblings, 0 replies; 6+ messages in thread
From: Hanno Meyer-Thurow @ 2004-11-17 23:14 UTC (permalink / raw)
  To: linux-kernel

Oups, just seen Andrew's answer - i took reiser4 from rc2-mm1 ^^ sorry for noise...

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

* Re: [2.6.10-rc2-mm1] OOPS on boot (hotplug related?)
  2004-11-17 22:53 ` Andrew Morton
@ 2004-11-18  1:11   ` Mathieu Segaud
  2004-11-18  3:02     ` Mathieu Segaud
  0 siblings, 1 reply; 6+ messages in thread
From: Mathieu Segaud @ 2004-11-18  1:11 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Christian Axelsson, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 533 bytes --]

Andrew Morton <akpm@osdl.org> disait dernièrement que :

> Christian Axelsson <smiler@lanil.mine.nu> wrote:
>>
>> I'm getting OOPSes on boot on my laptop. Output is copied by hand and Ive 
>> only included the parts that I *think* are useful:
>> 
>> ...
>> EIP is at get_nonexclusive_access+0x13/0x40
>
> Yup, seems that reiser4 broke.  I've forwarded a copy of an earlier report
> to reiserfs-dev@namesys.com.

V. Saveliev provided the right fix shortly after I reported this oops.

I attach the patch

Regards,


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: reiser4-context-fix.patch --]
[-- Type: text/x-patch, Size: 994 bytes --]

# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2004/11/15 16:23:47+03:00 vs@tribesman.namesys.com 
#   unix_file_filemap_nopage: missing context creation is added
# 
# plugin/file/file.c
#   2004/11/15 16:23:45+03:00 vs@tribesman.namesys.com +5 -1
#   unix_file_filemap_nopage: missing context creation is added
# 
diff -Nru a/plugin/file/file.c b/plugin/file/file.c
--- a/plugin/file/file.c	2004-11-17 09:36:11 +03:00
+++ b/plugin/file/file.c	2004-11-17 09:36:11 +03:00
@@ -1961,8 +1961,10 @@
 {
 	struct page *page;
 	struct inode *inode;
-
+	reiser4_context ctx;
+	
 	inode = area->vm_file->f_dentry->d_inode;
+	init_context(&ctx, inode->i_sb);
 
 	/* block filemap_nopage if copy on capture is processing with a node of this file */
 	down_read(&reiser4_inode_data(inode)->coc_sem);
@@ -1972,6 +1974,8 @@
 
 	drop_nonexclusive_access(unix_file_inode_data(inode));
 	up_read(&reiser4_inode_data(inode)->coc_sem);
+
+	reiser4_exit_context(&ctx);
 	return page;
 }
 

[-- Attachment #3: Type: text/plain, Size: 131 bytes --]



-- 
Lisa R. Nelson wrote:
> So much for a friendly group.

You really have seen nothing yet :-)

	- Bas Mevissen on linux-kernel

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

* Re: [2.6.10-rc2-mm1] OOPS on boot (hotplug related?)
  2004-11-18  1:11   ` Mathieu Segaud
@ 2004-11-18  3:02     ` Mathieu Segaud
  0 siblings, 0 replies; 6+ messages in thread
From: Mathieu Segaud @ 2004-11-18  3:02 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Christian Axelsson, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 298 bytes --]

Mathieu Segaud <matt@minas-morgul.org> disait dernièrement que :

> V. Saveliev provided the right fix shortly after I reported this oops.
>
> I attach the patch
>
> Regards,

correcting myself, the patch I gave was to apply in fs/reiser4...
by the way, thanks go to Vladimir Saveliev.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: reiser4-context-fix.patch --]
[-- Type: text/x-patch, Size: 623 bytes --]

--- a/fs/reiser4/plugin/file/file.c	2004-11-17 09:36:11 +03:00
+++ b/fs/reiser4/plugin/file/file.c	2004-11-17 09:36:11 +03:00
@@ -1961,8 +1961,10 @@
 {
 	struct page *page;
 	struct inode *inode;
-
+	reiser4_context ctx;
+	
 	inode = area->vm_file->f_dentry->d_inode;
+	init_context(&ctx, inode->i_sb);
 
 	/* block filemap_nopage if copy on capture is processing with a node of this file */
 	down_read(&reiser4_inode_data(inode)->coc_sem);
@@ -1972,6 +1974,8 @@
 
 	drop_nonexclusive_access(unix_file_inode_data(inode));
 	up_read(&reiser4_inode_data(inode)->coc_sem);
+
+	reiser4_exit_context(&ctx);
 	return page;
 }
 

[-- Attachment #3: Type: text/plain, Size: 69 bytes --]



-- 
"Just wait. My crystal ball is infallible."

	- Linus Torvalds

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

end of thread, other threads:[~2004-11-18  3:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-17 21:17 [2.6.10-rc2-mm1] OOPS on boot (hotplug related?) Christian Axelsson
2004-11-17 22:53 ` Andrew Morton
2004-11-18  1:11   ` Mathieu Segaud
2004-11-18  3:02     ` Mathieu Segaud
  -- strict thread matches above, loose matches on Subject: below --
2004-11-17 23:12 Hanno Meyer-Thurow
2004-11-17 23:14 Hanno Meyer-Thurow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox