[Pkg-uml-devel] Re: modprobe problem with rootstrap?
Stefano Melchior
stefano.melchior at openlabs.it
Tue Jan 10 22:31:55 UTC 2006
On Tue, Jan 10, 2006 at 08:45:16PM +0100, Andreas Schuldei wrote:
Hi all,
> now i try to run my testbox with your rootstrap and uml package.
>
> (first i was confused because they still had mdz as the
> maintainer. feel free to fix that and set me as the uploader.)
of course: I left mdz with respect of his great work and because I didn't
yet received an ack to my pings to him.
Now with his bless we can drive the pkg through the way to Etch :))
>
> however i have a problem with modprobe in rootstrap. here is the
> output of the relevant dmesg:
[...]
>
> Initialized stdio console driver
> Console initialized on /dev/tty0
> Initializing software serial port version 1
> Failed to open 'root_fs', errno = 2
> /dev/ubd/disc1: unknown partition table
> VFS: Mounted root (hostfs filesystem) readonly.
> Mounted devfs on /dev
> builder running...^M
> request_module: runaway loop modprobe net-pf-1
> modprobe: FATAL: Could not load /lib/modules/2.6.12/modules.dep: No such file or directory^M
Andreas: when you install u-m-l-2.6.12-1um you can have a linux kernel
with some modules compiled in order to accomplish the configuration I
included in the pkg.
You can find them in /usr/lib/uml/modules/x.y.z (of course x.y.z=2.6.12 in
you case).
What you need to do now is to:
host# mount -o loop root_fs /mnt;
host# cp -r /usr/lib/uml/modules/x.y.z /mnt/lib/modules/
host# umount /mnt
Thus EVERYTIME you use a new root_fs you need to do the same, ok?
>
> Since this happens inside the UML, passing environment vars like
> MODPROBE_OPTIONS does not help either. before i go and dig in
> roostrap for this: do you have a clue about this?
>
> btw: i extended rootstrap a bit and plan to relase a new and
> improved version with more modules (and have mdz's blessing).
> did you do work on it, too?
I actually tried an already done root_fs (stupid workaround for someone
who does't have time: me!) from u-m-l.sf.net :))
Cheers
SteX
--
Stefano Melchior, GPG key = D52DF829 - <stefano.melchior at openlabs.it>
http://etinarcadiaego.dyndns.org -- http://www.stex.name
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-uml-devel/attachments/20060110/95050d2b/attachment.pgp
More information about the Pkg-uml-devel
mailing list