mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [Bug 583] New: Enabling Coda with Devfs causes Kernel Panic
@ 2003-04-15  3:34 Martin J. Bligh
  2003-04-16  3:00 ` Jan Harkes
  0 siblings, 1 reply; 2+ messages in thread
From: Martin J. Bligh @ 2003-04-15  3:34 UTC (permalink / raw)
  To: linux-kernel

http://bugme.osdl.org/show_bug.cgi?id=583

           Summary: Enabling Coda with Devfs causes Kernel Panic
    Kernel Version: 2.5.67
            Status: NEW
          Severity: blocking
             Owner: bugme-janitors@lists.osdl.org
         Submitter: qubex@punkass.com


Distribution: Gentoo 1.4_rc 
Hardware Environment: Micron Millenia Transport, P133 (i586) 
Software Environment: i586-pc-linux-gnu, posix threads, gcc 3.2.2 
Problem Description: Compiling Devfs into kernel is fine. Compiling Coda
into kernel is fine.  Compiling Devfs and Coda together is not fine, causes
a kernel panic.   
Sorry, I don't have a console - here is what I can see of the error: 
 
CPU:     0 
EIP:     0060:[<C020605F>]    Not tainted 
EFLAGS: 00010202 
EIP is at vsnprintf+0x2f/0x460 
eax: c2fd3f43    ebx: c2fd3f44   ecx: c040776c   edx: 00000000 
esi: c2fd3f44    edi: 00000000   ebp: c2fd3f24    esp: c2fd3f0c 
ds: 007b    es: 007b    ss: 0068 
Process swapper (pid: 1, threadinfo=c2fd2000 task c2fd0040) 
Stack: 000001f0 c2fd3f2c c2fd3f83 c2fd3f44 c2fd3fa0 00000000 c2fd3f8c
c01a4a62            c2fd3f44 00000040 00000000 c2fd3f98 c01360d1 00000000
00000246 00000043            00000001 00000000 c2fd3f70 c0150e47 00000018
000000d0 00000000 00000001   
[<c01a4a62>] devfs_mk_dir+0x22/0xd0 
[<c01360d1>] kmalloc+0x81/0x99 
[<c0150e47>] register_chrdev_region+0x17/0x120 
[<c0150f6b>] register_chrdev+0x1b/0x20 
[<c019a9ab>] init_coda_psdev+0x4b/0x90 
[<c019b050>] init_once+0x0/0x20 
[<c01050a2>] init+0x32/0x190 
[<c0105070>] init+0x0/0x190 
[<c0107255>] kernel_thread_helper+0x50/0x10 
 
Code: 80 3a 00 74 1d 8a 02 3c 25 74 3d 3b 75 f0 77 05 88 06 8b 55 
<0>Kernel panic: Attempted to kill init! 
 
Steps to reproduce: 
Compile Devfs and Codafs into kernel (have not tested as modules.) This
causes kernel panic  upon boot.


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

* Re: [Bug 583] New: Enabling Coda with Devfs causes Kernel Panic
  2003-04-15  3:34 [Bug 583] New: Enabling Coda with Devfs causes Kernel Panic Martin J. Bligh
@ 2003-04-16  3:00 ` Jan Harkes
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Harkes @ 2003-04-16  3:00 UTC (permalink / raw)
  To: LKML; +Cc: torvalds

On Mon, Apr 14, 2003 at 08:34:03PM -0700, Martin J. Bligh wrote:
> http://bugme.osdl.org/show_bug.cgi?id=583
> [<c01a4a62>] devfs_mk_dir+0x22/0xd0 
> [<c01360d1>] kmalloc+0x81/0x99 
> [<c0150e47>] register_chrdev_region+0x17/0x120 

Part of the backtrace doesn't make much sense, but the problem is caused
by the devfs_mk_dir simplification that went in a couple of weeks ago.

Jan

--- linux-2.5.67/fs/coda/psdev.c.orig	2002-12-17 21:09:56.000000000 -0500
+++ linux-2.5.67/fs/coda/psdev.c	2003-04-15 23:05:04.000000000 -0400
@@ -371,7 +371,7 @@
 		     CODA_PSDEV_MAJOR);
               return -EIO;
 	}
-	devfs_mk_dir (NULL, "coda", NULL);
+	devfs_mk_dir ("coda");
 	for (i = 0; i < MAX_CODADEVS; i++) {
 		char name[16];
 		sprintf(name, "coda/%d", i);


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

end of thread, other threads:[~2003-04-16  2:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-15  3:34 [Bug 583] New: Enabling Coda with Devfs causes Kernel Panic Martin J. Bligh
2003-04-16  3:00 ` Jan Harkes

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

all inboxes | Powered by JetHome®