Marc,
what did you specify for your init= in loadlin ?
When I tag a kernel, I use the following:
mknbi-linux --output=vmlinuz.ltsp \
--append="init=/linuxrc rw" \
--rootdir="/dev/ram0" \
bzImage initrd.ltsp.gz
If you don't supply the 'init=' parameter, the kernel will first try to
run /sbin/init, then if that fails, it will try to run a shell. You need
to force it to run /linuxrc.
Hope that helps,
Jim McQuillan
[EMAIL PROTECTED]
Marc Delisle wrote:
>Jim,
>
>Do you mean messages before "VFS: mounted root" ?
>
>Here are the message after "VFS: mounted root":
>-----------------------------------------------
>Freeing unused kernel memory: 168k freed
>
>Busybox v0.60.1 (2001.09.16-20:45+0000) multi-call binary
>
>Usage: busybox [function] [arguments]...
> or: [function] [arguments]...
>
>Busybox is a multi-call binary that combines (...)
>
>currenlty defined functions:
>
>[, ash, busybox, cat, chroot, cut, echo, expr, hostname, ifconfig,
>insmod, kill, mount, pivot_root, route, sh, sleep, test, umount
>
>Kernel panic: Attempted to kill init!
>--------------------------------------
>
>
>Jim McQuillan a �crit :
>
>>Marc,
>>
>>Can you show us more of the messages ?
>>there may be something that will give us a clue as to the problem.
>>
>>Thanks,
>>
>>Jim McQuillan
>>[EMAIL PROTECTED]
>>
>>Marc Delisle wrote:
>>
>>>Good! now it mounts:
>>>
>>>======================================
>>>VFS: mounted root (ext2 filesystem)
>>>Feeing unused kernel memory: 168k freed
>>>
>>>BusyBox v0.60.1 ....
>>>.
>>>.(Snip)
>>>.
>>>
>>>Kernel panic: Attempted to kill init!
>>>=====================================
>>>
>>>Hmm, isn't that the point where it would start init?
>>>
>>>Thanks,
>>>
>>>Marc
>>>
>>>Jim McQuillan a �crit :
>>>
>>>>Marc,
>>>>
>>>>You might want to say root=/dev/ram0
>>>>
>>>>That is what I do when I use mknbi-linux to setup the kernel
>>>>for Etherboot.
>>>>
>>>>Jim McQuillan
>>>>[EMAIL PROTECTED]
>>>>
>>>>Marc Delisle wrote:
>>>>
>>>>>Hi,
>>>>>
>>>>>I am using loadlin to boot the ltsp bzImage, with initrd= option. Here
>>>>>are the last messages I see:
>>>>>
>>>>>Mounting rootfs
>>>>>Doing the pivot_root
>>>>>Mounting devfs...
>>>>>Running /sbin/init
>>>>>Usage: init 0123456sQqAaBbCcUu
>>>>>
>>>>>VFS: cannot open rootdevice nfs
>>>>>Please append a correct "root=" boot option.
>>>>>--------------------------------------------
>>>>>
>>>>>I guess loadlin should pass a "root=/dev/something" option to the
>>>>>kernel, but which device?
>>>>>I tried /dev/nfs but it doesn't work.
>>>>>
>>>>>Thanks
>>>>>
>>>>>Marc Delisle
>>>>>Coll�ge de Sherbrooke (Qu�bec)
>>>>>
>
>_____________________________________________________________________
>Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
> https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
>For additional LTSP help, try #ltsp channel on irc.openprojects.net
>
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.openprojects.net