On Sunday 06 February 2005 06:43, Jim Carter wrote: > I'm just getting started with UML, and can't get past square 1. UML > just gives itself SIGSTOP. Version info: > > CPU: i86, Pentium 3 Mobile (Coppermine), 1.0 GHz > System: Dell Inspiron 4100, 256 MB RAM > Distro: SuSE 9.2 > Host kernel: 2.6.8 (SuSE build: kernel-default-2.6.8-24.11) > Guest kernel: 2.6.8 (SuSE build: kernel-um-2.6.8-24.10), no local hacks > Root filesys: root_fs_toms1.7.205.bz2 + others > UML utilities: uml-utilities-20040114-21.1 > > Following instructions I created a swap image. I decompressed the root > filesystem. I mounted it (it's valid ext2) and snooped around; it > seemed believable, though the modules are for 2.0.37 so my UML couldn't > have loaded them. (No configuration file told it to load any of them.) > Kernel 2.6.x no longer has devfs; rather it has udev; so I edited > /etc/inittab in Tom's root so the single getty will open the tty device > actually present in /dev. I unmounted the root, then used this > command line: > > /boot/linux ubd0=root_fs_toms.img ubd1=swap.img > > It said on stdout or stderr: > Checking for the skas3 patch in the host...found > Checking for /proc/mm...found > Suspended (signal)
Well, this problem was described earlier - and it's workarounded by exporting the env. var LD_ASSUME_KERNEL=2.4.1 before running UML (so that ld.so will link it against libs in /lib, not in /lib/tls, which contains the NPTL version). It's a bug in the NPTL glibc, which has been later fixed in glibc (I've no confirms of this apart from Ulrich Drepper) and has been workarounded inside UML. > However, I found no discussion of SIGSTOP, except for a race condition > involving PTRACE_STOP which (I hope) was not involved here. -- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user