SLiRP simply doesn't work, log output is seemingly useless, etc.

Using the following:
  ifconfig eth0 10.0.2.15 up
  route add default dev eth0

Obtained SLiRP 1.0.16 from: http://slirp.sourceforge.net/ (Enabled debugging.)

[EMAIL PROTECTED]:~/uml/test/slirp-1.0.16/src$ cat
/home/fosterb/slirp_debug
Slirp 1.0.16 - Debugging Started.
Debugging Started level -1.
tty_attach...
 unit = 0
 device = 0

Command Line:

cd /home/fosterb/uml/test/ && \
           "/home/fosterb/uml/test//um-linux-release-2.6.18-mod/vmlinux"
root=/dev/ubda \
           ubda="/home/fosterb/uml/test//images/rootfs" \
           ubdb="/home/fosterb/uml/test//images/swap" \
           mem=192M init=/bin/halt
eth0=slirp,,/home/fosterb/uml/test//bin/slirp  con=/dev/null
con0=fd:0,fd:1 con1=xterm

Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...OK
Checking advanced syscall emulation patch for ptrace...OK
Checking for tmpfs mount on /dev/shm...OK
Checking PROT_EXEC mmap in /dev/shm/...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
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...OK
Checking advanced syscall emulation patch for ptrace...OK
parse_chan couldn't parse "/dev/null"
parse_chan couldn't parse "/dev/null"
parse_chan couldn't parse "/dev/null"
parse_chan couldn't parse "/dev/null"
parse_chan couldn't parse "/dev/null"
parse_chan couldn't parse "/dev/null"
parse_chan couldn't parse "/dev/null"
parse_chan couldn't parse "/dev/null"
parse_chan couldn't parse "/dev/null"
parse_chan couldn't parse "/dev/null"
parse_chan couldn't parse "/dev/null"
parse_chan couldn't parse "/dev/null"
parse_chan couldn't parse "/dev/null"
parse_chan couldn't parse "/dev/null"
Linux version 2.6.18.1-bb2 ([EMAIL PROTECTED]) (gcc
version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 Sat Oct 21 03:42:42 CEST
2006
Built 1 zonelists.  Total pages: 49152
Kernel command line: root=/dev/ubda
ubda=/home/fosterb/uml/test//images/rootfs
ubdb=/home/fosterb/uml/test//images/swap mem=192M init=/bin/halt
eth0=slirp,,/home/fosterb/uml/test//bin/slirp con=/dev/null
con0=fd:0,fd:1 con1=xterm
PID hash table entries: 1024 (order: 10, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 189952k available
Mount-cache hash table entries: 512
Checking for host processor cmov support...Yes
Checking for host processor xmm support...No
Checking that host ptys support output SIGIO...Yes
Checking that host ptys support SIGIO on close...No, enabling workaround
Using 2.6 host AIO
NET: Registered protocol family 16
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 8192 bind 4096)
TCP reno registered
Netdevice 0 : SLIRP backend - command line: '/home/fosterb/uml/test//bin/slirp'
Checking host MADV_REMOVE support...MADV_REMOVE failed, err = -22
Can't release memory to the host - memory hotplug won't be supported
mconsole (version 2) initialized on /home/fosterb/.uml/AjL40L/mconsole
ubd: Synchronous mode
Host TLS support detected
Detected host type: i386
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
loop: loaded (max 8 devices)
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Initialized stdio console driver
parse_chan_pair failed for device 2
parse_chan_pair failed for device 3
parse_chan_pair failed for device 4
parse_chan_pair failed for device 5
parse_chan_pair failed for device 6
parse_chan_pair failed for device 7
parse_chan_pair failed for device 8
parse_chan_pair failed for device 9
parse_chan_pair failed for device 10
parse_chan_pair failed for device 11
parse_chan_pair failed for device 12
parse_chan_pair failed for device 13
parse_chan_pair failed for device 14
parse_chan_pair failed for device 15
Console initialized on /dev/tty0
Initializing software serial port version 1
 ubda: unknown partition table
 ubdb: unknown partition table
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Failed to execute /bin/halt.  Attempting defaults...
line_ioctl: tty0: ioctl KDSIGACCEPT called
 * Setting preliminary keymap... line_ioctl: tty1: ioctl KDGKBTYPE called
line_ioctl: tty0: ioctl KDGKBTYPE called
line_ioctl: tty0: ioctl KDGKBTYPE called
line_ioctl: tty1: ioctl KDGKBTYPE called
line_ioctl: tty0: ioctl KDGKBTYPE called
line_ioctl: tty0: ioctl KDGKBTYPE called
 * Starting basic networking...  * Starting kernel event manager...  *
Filesystem type 'usbfs' is not supported. Skipping mount.
 * Loading manual drivers...  * Activating swap...
                               [ ok ]
 * Checking root file system... fsck 1.39 (29-May-2006)
/dev/ubda: clean, 11824/262144 files, 78000/524288 blocks
                                                                         [ ok ]
 * Checking file systems... fsck 1.39 (29-May-2006)
                                                                         [ ok ]
 * Mounting local filesystems...  * Configuring network interfaces...
* Setting up console font and keymap...  * Starting system log...  *
Starting kernel log...  * Running local boot scripts (/etc/rc.local)
line_ioctl: tty0: unknown ioctl: 0x5603
Slirp v1.0.16 (BETA)

                    Copyright (c) 1995,1996 Danny Gasparovski and others.

  All rights reserved.
             This program is copyrighted, free software.
                                                        Please read
the file COPYRIGHT that came with the Slirp
                               package for the terms and conditions of
the copyright.

     IP address of Slirp host: 127.0.1.1
IP address of your DNS(s): 131.104.48.112, 131.104.48.1
Your address is 10.0.2.15
(or anything else you want)

Type five zeroes (0) to exit.

[autodetect SLIP/CSLIP, MTU 1500, MRU 1500]

SLiRP Ready ...
 * Shutting down ALSA...  * Terminating all remaining processes...  *
Deactivating swap...  * Will now halt
System halted.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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