2003-07-09 09:48:13

by Frederick, Fabian

[permalink] [raw]
Subject: IPC subsystem

Hi,
I'm trying to port the ipc stuff to work as a subsystem in order to
have sysfs outputs (/sysfs/ipc/sem {,shm,msg} ) .
Output I have is an early oops (which is not reported in /var/log
...)

It seems the ipc stuff init begins before kobject stuff or something
?

"EIP is at sysfs_create_dir

<0>kernel panic : attempted to kill the idle task!
"

Here is my patch attached + complete files

Someone could help ?

Regards,
Fabian




Attachments:
ipc2.diff (3.36 kB)

2003-07-09 18:20:43

by Greg KH

[permalink] [raw]
Subject: Re: IPC subsystem

On Wed, Jul 09, 2003 at 12:06:14PM +0200, Frederick, Fabian wrote:
> Hi,
> I'm trying to port the ipc stuff to work as a subsystem in order to
> have sysfs outputs (/sysfs/ipc/sem {,shm,msg} ) .
> Output I have is an early oops (which is not reported in /var/log
> ...)
>
> It seems the ipc stuff init begins before kobject stuff or something
> ?
>
> "EIP is at sysfs_create_dir

Can you print the whole call trace?

Also, is your kobject initialized to zero before you try to register it?

thanks,

greg k-h