public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Kernel Panic in 2.5.73-mm1 OOps part.
@ 2003-06-24 19:31 jds
  2003-06-24 20:09 ` Andrew Morton
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: jds @ 2003-06-24 19:31 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm



Hi Andrew:


    I have kernel panic when boot with kernel 2.5.73-mm1, in kernel 2.5.73
working good.

    Anex part the OOps:


    EPI: 0060:[<c20f480>]   not tainted VLI
    EFLAHS: 0010246
    EIP:   is at kobject_add+0xd0/0130
    eax: 736f70a3 ebx:736f705f  ecx:00000000   edx:ffff0001
    esi: 736f70a3 edi:dfd6653x  ebp:c157df40   esp:c157df24
    ds:  007b  es: 007b  ss:  0068

    Process:   swapper( pid:1, theaddinfo= c157c000 task = c157f880)
    
    Stack:

    c03ed505  00000059  dfd6653c  dfd80860  dfd66400 dfd653c  c157f75c
     
  
    Call Trace:

    [< c020f503>]  kobject_register+0x23/0x60
    [<             blk_register_queue+0x80/0xb0
                   nbd_init+0x1df/0x220
                   do_initcalls+0x2b/0xa0
                   init_workqueues+0x12/0x30
                   init+0x28/0x150
                   init+0x0/0x150
                   kernel_thread_helper+0x50/0xc

   Code: feff
   <0>Kernel Panic:  Attempted to kill init!


   Helpme please.

   Regards.



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

* Re: Kernel Panic in 2.5.73-mm1 OOps part.
  2003-06-24 19:31 Kernel Panic in 2.5.73-mm1 OOps part jds
@ 2003-06-24 20:09 ` Andrew Morton
  2003-06-24 20:15 ` Lou Langholtz
  2003-06-24 21:58 ` Lou Langholtz
  2 siblings, 0 replies; 7+ messages in thread
From: Andrew Morton @ 2003-06-24 20:09 UTC (permalink / raw)
  To: jds; +Cc: linux-kernel

"jds" <jds@soltis.cc> wrote:
>
> 
> 
> Hi Andrew:
> 
> 
>     I have kernel panic when boot with kernel 2.5.73-mm1, in kernel 2.5.73
> working good.
> 

Please disable CONFIG_BLK_DEV_NBD.   We're working on it.

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

* Re: Kernel Panic in 2.5.73-mm1 OOps part.
  2003-06-24 19:31 Kernel Panic in 2.5.73-mm1 OOps part jds
  2003-06-24 20:09 ` Andrew Morton
@ 2003-06-24 20:15 ` Lou Langholtz
  2003-06-24 21:27   ` jds
  2003-06-24 21:58 ` Lou Langholtz
  2 siblings, 1 reply; 7+ messages in thread
From: Lou Langholtz @ 2003-06-24 20:15 UTC (permalink / raw)
  To: jds; +Cc: linux-kernel, akpm

jds wrote:

>Hi Andrew:
>
>
>    I have kernel panic when boot with kernel 2.5.73-mm1, in kernel 2.5.73
>working good.
>
>    Anex part the OOps: . . .
>
>    [< c020f503>]  kobject_register+0x23/0x60
>    [<             blk_register_queue+0x80/0xb0
>                   nbd_init+0x1df/0x220
>                   do_initcalls+0x2b/0xa0
>                   init_workqueues+0x12/0x30
>                   init+0x28/0x150
>                   init+0x0/0x150
>                   kernel_thread_helper+0x50/0xc
>. . .
>
I think this is my fault. I introduced a patch to nbd that apparantly 
doesn't use the block layer quite the way the block layer developers 
expect. As you found, it works on 2.5.73 but not in 2.5.73-mm1. I'm 
looking into why exactly this is so I can get a fix ASAP. In the 
meantime, if you take out the network block driver you shouldn't get 
this oops anymore.


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

* Re: Kernel Panic in 2.5.73-mm1 OOps part.
  2003-06-24 20:15 ` Lou Langholtz
@ 2003-06-24 21:27   ` jds
  0 siblings, 0 replies; 7+ messages in thread
From: jds @ 2003-06-24 21:27 UTC (permalink / raw)
  To: Lou Langholtz, jds; +Cc: linux-kernel, akpm


Hi Andrew, lou:

   Diseable the # CONFIG_BLK_DEV_NBD is not set, in .config, compile again
kernel and working good.

   Thanks .... :)

   Iam testings my new kernel mm1

   Regards.


---------- Original Message -----------
From: Lou Langholtz <ldl@aros.net>
To: jds <jds@soltis.cc>
Sent: Tue, 24 Jun 2003 14:15:24 -0600
Subject: Re: Kernel Panic in 2.5.73-mm1 OOps part.

> jds wrote:
> 
> >Hi Andrew:
> >
> >
> >    I have kernel panic when boot with kernel 2.5.73-mm1, in kernel 2.5.73
> >working good.
> >
> >    Anex part the OOps: . . .
> >
> >    [< c020f503>]  kobject_register+0x23/0x60
> >    [<             blk_register_queue+0x80/0xb0
> >                   nbd_init+0x1df/0x220
> >                   do_initcalls+0x2b/0xa0
> >                   init_workqueues+0x12/0x30
> >                   init+0x28/0x150
> >                   init+0x0/0x150
> >                   kernel_thread_helper+0x50/0xc
> >. . .
> >
> I think this is my fault. I introduced a patch to nbd that 
> apparantly doesn't use the block layer quite the way the block layer 
> developers expect. As you found, it works on 2.5.73 but not in 
> 2.5.73-mm1. I'm looking into why exactly this is so I can get a fix 
> ASAP. In the meantime, if you take out the network block driver you 
> shouldn't get this oops anymore.
------- End of Original Message -------


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

* Re: Kernel Panic in 2.5.73-mm1 OOps part.
  2003-06-24 19:31 Kernel Panic in 2.5.73-mm1 OOps part jds
  2003-06-24 20:09 ` Andrew Morton
  2003-06-24 20:15 ` Lou Langholtz
@ 2003-06-24 21:58 ` Lou Langholtz
  2003-06-24 22:00   ` Lou Langholtz
  2 siblings, 1 reply; 7+ messages in thread
From: Lou Langholtz @ 2003-06-24 21:58 UTC (permalink / raw)
  To: jds; +Cc: linux-kernel, akpm

jds wrote:

>Hi Andrew:
>
>
>    I have kernel panic when boot with kernel 2.5.73-mm1, in kernel 2.5.73
>working good.
>
>    Anex part the OOps:
>
>
>    EPI: 0060:[<c20f480>]   not tainted VLI
>    EFLAHS: 0010246
>    EIP:   is at kobject_add+0xd0/0130
>    eax: 736f70a3 ebx:736f705f  ecx:00000000   edx:ffff0001
>    esi: 736f70a3 edi:dfd6653x  ebp:c157df40   esp:c157df24
>    ds:  007b  es: 007b  ss:  0068
>
>    Process:   swapper( pid:1, theaddinfo= c157c000 task = c157f880)
>    
>    Stack:
>
>    c03ed505  00000059  dfd6653c  dfd80860  dfd66400 dfd653c  c157f75c
>     
>  
>    Call Trace:
>
>    [< c020f503>]  kobject_register+0x23/0x60
>    [<             blk_register_queue+0x80/0xb0
>                   nbd_init+0x1df/0x220
>                   do_initcalls+0x2b/0xa0
>                   init_workqueues+0x12/0x30
>                   init+0x28/0x150
>                   init+0x0/0x150
>                   kernel_thread_helper+0x50/0xc
>
>   Code: feff
>   <0>Kernel Panic:  Attempted to kill init!
>. . .
>
I'm *guestimating* that the following patch will fix this problem. Let 
me know if you use it wether it makes this problem go away or not. Note 
that to me at least, blk_init_queue() should be responsible for 
initializing this memory not the driver. Either way, something has to 
initialize request_queue.kobj.kset otherwise I think this is the result 
when the kset field can be any value.


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

* Re: Kernel Panic in 2.5.73-mm1 OOps part.
  2003-06-24 21:58 ` Lou Langholtz
@ 2003-06-24 22:00   ` Lou Langholtz
  2003-06-24 23:21     ` jds
  0 siblings, 1 reply; 7+ messages in thread
From: Lou Langholtz @ 2003-06-24 22:00 UTC (permalink / raw)
  To: jds; +Cc: linux-kernel, akpm

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

>
>
>> .. . .
>
> I'm *guestimating* that the following patch will fix this problem. Let 
> me know if you use it wether it makes this problem go away or not. 
> Note that to me at least, blk_init_queue() should be responsible for 
> initializing this memory not the driver. Either way, something has to 
> initialize request_queue.kobj.kset otherwise I think this is the 
> result when the kset field can be any value.
>
Woops... pressed send before doing the attachment...

[-- Attachment #2: patch-2.5.73-nbd --]
[-- Type: text/plain, Size: 305 bytes --]

--- drivers/block/nbd.c	2003-06-24 14:39:59.043718133 -0600
+++ drivers/block/nbd-new.c	2003-06-24 15:28:04.318158305 -0600
@@ -695,6 +695,7 @@
 			put_disk(disk);
 			goto out;
 		}
+		memset(disk->queue, 0, sizeof(struct request_queue));
 		blk_init_queue(disk->queue, do_nbd_request, &nbd_lock);
 	}
 

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

* Re: Kernel Panic in 2.5.73-mm1 OOps part.
  2003-06-24 22:00   ` Lou Langholtz
@ 2003-06-24 23:21     ` jds
  0 siblings, 0 replies; 7+ messages in thread
From: jds @ 2003-06-24 23:21 UTC (permalink / raw)
  To: Lou Langholtz; +Cc: linux-kernel, akpm



  Hi Lou, Andrew:

   Ok applied the patch Lou in kernel 2.5.73-mm1, change the .config
   CONFIG_BLK_DEV_NBD=y, compile again and kernel working good not more Oops.

   In this moment testing kernel.

   Thanks again ..... :)

   Regards.




---------- Original Message -----------
From: Lou Langholtz <ldl@aros.net>
To: jds <jds@soltis.cc>
Sent: Tue, 24 Jun 2003 16:00:48 -0600
Subject: Re: Kernel Panic in 2.5.73-mm1 OOps part.

> >
> >
> >> .. . .
> >
> > I'm *guestimating* that the following patch will fix this problem. Let 
> > me know if you use it wether it makes this problem go away or not. 
> > Note that to me at least, blk_init_queue() should be responsible for 
> > initializing this memory not the driver. Either way, something has to 
> > initialize request_queue.kobj.kset otherwise I think this is the 
> > result when the kset field can be any value.
> >
> Woops... pressed send before doing the attachment...
------- End of Original Message -------


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

end of thread, other threads:[~2003-06-24 23:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-24 19:31 Kernel Panic in 2.5.73-mm1 OOps part jds
2003-06-24 20:09 ` Andrew Morton
2003-06-24 20:15 ` Lou Langholtz
2003-06-24 21:27   ` jds
2003-06-24 21:58 ` Lou Langholtz
2003-06-24 22:00   ` Lou Langholtz
2003-06-24 23:21     ` jds

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