On Wed, 22 Mar 2006, Blaisorblade wrote:

On Wednesday 22 March 2006 17:46, David Lang wrote:
On Wed, 22 Mar 2006, Blaisorblade wrote:

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).

here is fstab (this is from a pretty basic debian install tarred up and put into a subdirectory)

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/sda2       /               ext2    defaults,errors=remount-ro 0       1
/dev/sda1       none            swap    sw              0       0
/dev/hda        /media/cdrom0   iso9660 ro,user,noauto  0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0

I'll change this and give it a shot.

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?

yes

CONFIG_UML_NET=y
CONFIG_UML_NET_ETHERTAP=y
CONFIG_UML_NET_TUNTAP=y
CONFIG_UML_NET_SLIP=y
CONFIG_UML_NET_DAEMON=y
CONFIG_UML_NET_MCAST=y
CONFIG_UML_NET_PCAP=y
CONFIG_UML_NET_SLIRP=y

this was with 2.6.15.6 I just compiled a 2.6.16 uml kernel and it appears to be working.

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.

I'll break this part into a seperate thread now since I'm past the initial problem.

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



David Lang


-------------------------------------------------------
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

Reply via email to