Hello Blaisorblade,

I built a new kernel - boot process seems friendlier, but the kernel
hangs as soon as I run "/sbin/ifconfig eth0 up".  It gives a message:

uml_net: relocation error: uml_net: symbol gnu_dev_makedev, version
GLIBC_2.3.3 not defined in file libc.so.6 with link time reference

My procedure has been:

1) Load existing UML guest,
2) Copy /proc/config.gz to /home/dsl/config.gz
3) halt the UML guest
4) Mount DSL-2.2-root_fs via /dev/loop0 on /mnt/r1/
5) Copy /mnt/r1/home/dsl/config.gz to /home/dsl/r1/config.gz
6) Download, on another system, linux-2.6.19.2, unpack this.
7) Run make mrproper
8) scp /home/dsl/r1/config.gz on the DSL host to this other machine,
in the linux-2.6.19.2 directory as "config_uml.gz".
9) Unpack "config_uml.gz" and rename ".config"
10) Run "make ARCH=um oldconfig; make ARCH=um"
11) Verify that resulting "linux" file is an ELF
12) scp executable "linux" back to UML host
13) Run "make ARCH=um modules", then "make ARCH=um modules_install" on
the other machine
14) Tar /lib/modules/2.6.19.2 into /lib/modules/2.6.19.2.tar
15) scp /lib/modules/2.6.19.2.tar into UML host
16) Remount DSL-2.2-root_fs via procedure used in steps 4 and 5
17) Copy in /lib/modules/2.6.19.2.tar to /lib/modules/2.6.19.tar
18) Run in UML host: /home/dsl/r1/linux ubda=DSL-2.2-root_fs mem=128M
eth=tuntap,,,10.11.12.13 2>&1 | tee output.txt
19) Wait until kernel freeze
20) Use separate shell in UML host to identify and kill running linux instance
21) scp output.txt to other machine
22) Run: "cat output.txt | sed 's/^[[^m]*m//g' | sed 's/^H//g' > out2.txt"
23) out2.txt follows, ends with "END UML OUTPUT"

Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...missing
Checking for tmpfs mount on /dev/shm...nothing mounted on /dev/shm
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
Linux version 2.6.19.2 ([EMAIL PROTECTED]) (gcc version 4.0.3
(Ubuntu 4.0.3-1ubuntu5)) #1 Thu Jan 25 06:53:44 PST 2007
Built 1 zonelists.  Total pages: 32512
Kernel command line: ubda=DSL-2.2-root_fs mem=128M
eth0=tuntap,,,10.11.12.13 root=98:0
PID hash table entries: 512 (order: 9, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 126848k 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
aio_thread failed to initialize context, err = 38
2.6 AIO not supported on the host - reverting to 2.4 AIO
2.6 host AIO support not used - falling back to I/O thread
NET: Registered protocol family 16
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
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/dsl/.uml/Owe0t4/mconsole
Netdevice 0 (2a:93:e5:15:4e:b9) : TUN/TAP backend - IP = 10.11.12.13
  Host TLS support NOT detected! TLS support inside UML will not work
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Initialized stdio console driver
Console initialized on /dev/tty0
Initializing software serial port version 1
 ubda: unknown partition table
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
line_ioctl: tty0: ioctl KDSIGACCEPT called

INIT: version 2.78-knoppix booting


hwclock: Could not access RTC: No such file or directory

 Running Linux Kernel 2.6.19.2.

Running from HD, checking filesystems...

Activating swap...

Checking root file system...

fsck 1.34-WIP (21-May-2003)

/dev/ubda: clean, 11915/51200 files, 146239/204800 blocks

EXT3 FS on ubda, internal journal
Checking all file systems...

fsck 1.34-WIP (21-May-2003)

Running from HD, regenerate ld.so.cache and modules.dep...

 Processor 0 is  UML

Autoconfiguring devices... /-\|/-\ |/-\|/-\ |/-\|/-\ |/-\|/-\ |/-\|/-\
|/-\|/-\ |/-\|/-\ |/-\|/-\ |/-\|/-\ |/-\|/-\ |/-\|/-\ |/-\|/-\
|/-\|/-\ |/-\|/-\ |/-\|/-\ |/-\|/-\ |/-\|/-\ |/-\|/-\ |/-\|/-\
|/-\|/-\ |/-\|/-\ |/-\|/-\ |/-\|/-\ |/-\|/-\ |/-\|/-\ |/-\|/-\
|/-\|/-\ |/- Done.

Couldnt get a file descriptor referring to the console

 Skipping DMA accelleration as requested on boot commandline.

Scanning for Harddisk partitions and creating /etc/fstab... Done.

 Network device eth0 detected, DHCP broadcasting for IP.uml_net:
relocation error: uml_net: symbol gnu_dev_makedev, version GLIBC_2.3.3
not defined in file libc.so.6 with link time reference
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...missing


END UML OUTPUT

Observations: I didn't find any more /lib/module errors, but I this
time the kernel hangs - anything that I am doing wrong?  Is there
anything that I should do otherwise?

Thank you!

On 1/24/07, Blaisorblade <[EMAIL PROTECTED]> wrote:
> On Wednesday 24 January 2007 19:17, Maren Peasley wrote:
> > Hello,
> >
> > I am attempting to setup several Damn Small Linux (DSL) instances to
> > run within a DSL host.  I am successful in launching and running
> > instances (guests) of DSL, but I cannot bring an Ethernet interface up
> > on the guest.
> >
> > My procedure follows:
> >
> > 1) Download current.iso from one of DSL's mirrors (this was not more
> > than a week ago - I don't have an exact date),
> > 2) Install this to a spare machine via hd-install script,
> > 3) Download DSL from Antoine Martin's page (http://uml.nagafix.co.uk/):
> > http://uml.nagafix.co.uk/DSL-2.2/
> > 4) Unpack, then copy this to the system running DSL,
> > 5) Run this command-line in the host DSL to start UML:
> > ./linux-2.6.19-rc5 ubda=DSL-2.2-root_fs mem=128M
> > eth0=ethertap,tap0,,10.11.12.13
>
> First of all, have you got good reasons to use ethertap rather than tuntap
> (which is faster, among other things)? The only one I can remember is a host
> kernel not supporting tuntap (because it wasn't compiled in).
> --
> Inform me of my mistakes, so I can add them to my list!
> Paolo Giarrusso, aka Blaisorblade
> http://www.user-mode-linux.org/~blaisorblade
> Chiacchiera con i tuoi amici in tempo reale!
>  http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
>
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to