On Wednesday 22 March 2006 17:46, David Lang wrote: > On Wed, 22 Mar 2006, Blaisorblade wrote: > > Thanks for the reply > > >> I've got it working with a root_fs image, but I would like to use to > >> hostfs, when I attempt to use it with the command line > > > > hostfs as root is not well supported. > > good to know, I'll avoid useing it for now. is it on the roadmap to be > supported?
Actually, Rob Landley is using it on a quite standard basis, and Jeff Dike is working on a new version of it supporting well ownerships and so on. > >> ./linux ssl=xterm console=xterm root=/dev/root > >> rootflags=/sandboxes/amd64uml/ rootfstype=hostfs > >> > >> I get an error about a missing /dev/shm/root > > > > /dev/shm/root? It would be very strange, never seen that. > > useing this command line (running as root) > > ./linux ssl=xterm console=xterm root=/dev/root > rootflags=/sandboxes/amd64uml/ rootfstype=hostfs > > here is the tail end of the errors I get. what other testing would you > like me to do (or since it's not well supported should I just drop it?) Ok, this is not hostfs-related likely. > Checking root file system... > fsck 1.37 (21-Mar-2005) > fsck.ext2: No such device or address while trying to open /dev/shm/root > Possibly non-existent or swap device? Ah, ok, but what fsck checks is determined by the content of /etc/fstab... it shouldn't name a device for /, only a line like: none / hostfs defaults 0 0 and /dev/shm/root has no reason whatsoever to appear in that file, IMHO (either it's a typo or someone had a smarter idea which he didn't finish to implement). > >> the other big question that I have is about the networking. > useing this command line > > ./amd64uml/linux ssl=xterm console=xterm eth0=tuntap,tap0 eth1=tuntap,tap1 [...] > at this point I have xterms up for the active tty's on the uml box, but > ifconfig -a doesn't show any network interfaces. But ./amd64uml/linux --showconfig should show at least the following being enabled: CONFIG_UML_NET=y CONFIG_UML_NET_TUNTAP=y does it? > with ifconfig reporting > > eth0 Link encap:Ethernet HWaddr 00:50:45:5D:30:1C > inet addr:10.201.7.99 Bcast:10.201.255.255 Mask:255.255.0.0 > tap0 Link encap:Ethernet HWaddr 7A:A4:9F:8D:6D:DC > inet addr:10.201.7.203 Bcast:10.201.255.255 Mask:255.255.0.0 > tap1 Link encap:Ethernet HWaddr AA:95:E7:B0:73:52 > inet addr:10.201.7.204 Bcast:10.201.255.255 Mask:255.255.0.0 These three interfaces can share the same IP since they refer to the same host. > Configuring network interfaces...make: /etc/mail/Makefile: No such file or > directory > make: *** No rule to make target `/etc/mail/Makefile'. Stop. > make: /etc/mail/Makefile: No such file or directory > make: *** No rule to make target `/etc/mail/Makefile'. Stop. (DHCP is likely bogus inside UML, unless you have a DHCP server on the host listening there or you setup bridging with the main interface). > Internet Software Consortium DHCP Client 2.0pl5 > Loading the saved-state of the serial devices... > Cannot get serial info: Invalid argument No serial ports configured or the program's trying some hardware ioctls. > Setting the System Clock using the Hardware Clock as reference... > Cannot access the Hardware Clock via any known method. > Use the --debug option to see the details of our search for an access > method. > System Clock set. Local time: Wed Mar 22 09:42:58 PST 2006 Normal (no hardware clock) > INIT: Entering runlevel: 2 -- Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894) http://www.user-mode-linux.org/~blaisorblade ___________________________________ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user