[Netkit.users] Creating a custom root_fs
ZioPRoTo (Saverio Proto)
zioproto a gmail.com
Gio 11 Ott 2007 23:10:12 CEST
I'm writing some docs here:
I constantly upgrading this wiki while I make my tries.
I hope it will end up to be a useful piece of documentation for gentoo users :)
Now i noticed that my root_fs image boots just of passed with -m option.
If I make a symbolic link to the default netkit-fs the kernel does not
find the /dev/ubda device I have set in the fstab !
Also, I used a old kernel I had compiled months ago... now the kernel
headers changed and I have some trouble compiling for the um arch.
Is there a way to compile using the headers in /usr/src/linux/include
and not with the headers from the host distribution ?
thanks for the hints :)
2007/10/11, Massimo Rimondini <rimondin a dia.uniroma3.it>:
> Dear Saverio,
> nice to hear that you made it.
> The old kernel panics with the new filesystem possibly because of the lack
> of support for thread local storage, which system libraries in the new
> filesystem most likely attempt to enable.
> Had you performed a test with --verbose and --con0=this, you probably would
> get an error similar to this one:
> cannot set up thread-local storage: set_thread_area failed when setting up
> thread-local storage
> Kernel panic - not syncing: Attempted to kill init!
> > -----Original Message-----
> > From: netkit.users-bounces a list.dia.uniroma3.it
> > [mailto:netkit.users-bounces a list.dia.uniroma3.it] On Behalf
> > Of ZioPRoTo (Saverio Proto)
> > Sent: Wednesday, October 10, 2007 8:25 PM
> > To: Users of the Netkit Network Emulation System
> > Subject: Re: [Netkit.users] Creating a custom root_fs
> > > Feel free to come back if things still don't work.
> > I fixed passing a Vanilla Kernel compiled in UML mode and fixing the
> > /etc/fstab with the correct device for the root partition.
> > For some reason the default Netkit Kernel was going to Kerned Panic
> > immediately, while the kernel a compiled booted ok with my new
> > root_fs.
> > I'll write a complete guide of what I did during the night and I'll
> > post in on the mailing list :)
> > Thanks to all for the support :)
> > Saverio Proto
> > _______________________________________________
> > Netkit.users mailing list
> > Netkit.users a list.dia.uniroma3.it
> > http://list.dia.uniroma3.it/mailman/listinfo/netkit.users
> Netkit.users mailing list
> Netkit.users a list.dia.uniroma3.it
Maggiori informazioni sulla lista