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?
./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?)
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
Problem when loading /etc/console/boottime.kmap.gz
use install-keymap
Activating swap.
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?
fsck failed. Please repair manually and reboot. Please note
that the root file system is currently mounted read-only. To
remount it read-write:
# mount -n -o remount,rw /
CONTROL-D will exit from this shell and REBOOT the system.
the other big question that I have is about the networking.
as I attempt to use the tuntap interface to configure the uml eth0 as per
the howto I am creating the tap0 device, but when the uml system boots it
doesn't show any ethn interfaces and on the console I get the following
error.
Have you added eth0=tuntap,tap0 to the cmd line of UML according to:
http://user-mode-linux.sourceforge.net/networking.html
(See section "TUN/TAP with a preconfigured tap device")
useing this command line
./amd64uml/linux ssl=xterm console=xterm eth0=tuntap,tap0 eth1=tuntap,tap1
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
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5109515 errors:0 dropped:0 overruns:0 frame:0
TX packets:123533 errors:0 dropped:0 overruns:0 carrier:0
collisions:645 txqueuelen:1000
RX bytes:705175243 (672.5 MiB) TX bytes:31370962 (29.9 MiB)
Interrupt:16
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:98 errors:0 dropped:0 overruns:0 frame:0
TX packets:98 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12228 (11.9 KiB) TX bytes:12228 (11.9 KiB)
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
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
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
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
I get
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...missing
Checking PROT_EXEC mmap in /tmp...OK
Checking for the skas3 patch in the host:
- /proc/mm...not found
- PTRACE_FAULTINFO...not found
- PTRACE_LDT...not found
UML running in SKAS0 mode
INIT: version 2.86 booting
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
.
.
.
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
Problem when loading /etc/console/boottime.kmap.gz
use install-keymap
Activating swap.
Checking root file system...
fsck 1.37 (21-Mar-2005)
/dev/shm/root: clean, 22290/131072 files, 100122/262144 blocks
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 time was Wed Mar 22 17:42:54 UTC 2006.
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. System local time is now Wed Mar 22 09:42:54 PST 2006.
Cleaning up ifupdown...done.
Creating device-mapper devices...done.
Checking all file systems...
fsck 1.37 (21-Mar-2005)
Setting kernel variables ...
... done.
Mounting local filesystems...
Cleaning /tmp /var/run /var/lock.
Detecting hardware:
Running 0dns-down to make sure resolv.conf is ok...done.
Setting up networking...done.
Starting hotplug subsystem:
pci
pci [success]
usb
usb [success]
isapnp
isapnp [success]
ide
ide [success]
input
input [failed]
scsi
scsi [success]
done.
Setting up IP spoofing protection: rp_filter.
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.
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.
Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html
eth0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
exiting.
Failed to bring up eth0.
done.
Loading the saved-state of the serial devices...
Cannot get serial info: Invalid argument
Cannot get serial info: Invalid argument
Cannot get serial info: Invalid argument
Cannot get serial info: Invalid argument
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
Running ntpdate to synchronize clockError : Temporary failure in name
resolution
.
Initializing random number generator...done.
Recovering nvi editor sessions... done.
INIT: Entering runlevel: 2
Starting system log daemon: syslogd.
Starting kernel log daemon: klogd.
Starting MTA: exim4.
Starting internet superserver: inetd.
Starting OpenBSD Secure Shell server: sshd.
Starting NTP server: ntpd.
ProFTPd is started from inetd/xinetd.
Heartbeat not configured: /etc/ha.d/ha.cf not found.
Heartbeat failure [rc=1]. Failed.
Starting deferred execution scheduler: atd.
Starting periodic command scheduler: cron.
Starting web server: apache.
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.
Couldnt get a file descriptor referring to the console
line_ioctl: tty0: ioctl KDGKBTYPE called
line_ioctl: tty0: ioctl KDGKBTYPE called
line_ioctl: tty0: ioctl KDGKBTYPE called
line_ioctl: tty0: ioctl KDGKBTYPE called
line_ioctl: tty0: ioctl KDGKBTYPE called
line_ioctl: tty0: ioctl KDGKBTYPE called
Couldnt get a file descriptor referring to the console
These errors can be safely ignored, normally.
will do
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