From:
<ica...@me...> - 2004-09-18 22:09:14
|
Hi! I first tried this on a Debian Sid system, with kernel 2.6.8.1 (host and guest), I applied all the incremental patches (I did this on september 12). It worked just fine, I mounted a Debian Woody root_fs: No problems. I'm trying to run a UML on RedHat 7.3 now. I tried this: + Patched the vanilla kernel source 2.6.8.1 with all the patches in the page http://user-mode-linux.sourceforge.net/patches.html. + Compiled without SKAS suport (only Tracing Thread). And tried to run ./linux, I got: Segmentation fault (yes, only that line, nothing else). I tried to enable the skas support, and then I got the two lines telling me that there was not skas support in the host system (skas and /proc/mm), and then the seg fault. Well, I gave it a second try: + Patched the host kernel 2.4.27 with host-skas3-2.4.25.patch (Wich, by the way, got applied without any problems). + Compiled it. Rebooted the computer, and tried to run the kernel again. I now got the system to start, but then I get a kernel panic. Then I tried the kernel 2.6.7 with the patch for 2.6.7 (v2) guest. I got this: Checking for the skas3 patch in the host...found Checking for /proc/mm...found Linux version 2.6.7-2um (ro...@sh...) (gcc version 3.3.4) #1 Fri Sep 17 13:51:25 VET 2004 On node 0 totalpages: 8192 DMA zone: 8192 pages, LIFO batch:2 Normal zone: 0 pages, LIFO batch:1 HighMem zone: 0 pages, LIFO batch:1 Built 1 zonelists Kernel command line: mem=32M ssl=pty con=pty root=98:0 PID hash table entries: 16 (order 4: 128 bytes) Memory: 29224k available Calibrating delay loop... 1297.61 BogoMIPS Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) Checking for host processor cmov support...Yes Checking for host processor xmm support...No Checking that ptrace can change system call numbers...OK Checking that host ptys support output SIGIO...Yes Checking that host ptys support SIGIO on close...No, enabling workaround Checking for /dev/anon on the host...Not available (open failed with errno 2) NET: Registered protocol family 16 mconsole (version 2) initialized on /root/.uml/OVOSz0/mconsole VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) devfs: 2004-01-31 Richard Gooch (rg...@at...) devfs: boot_options: 0x1 JFFS version 1.0, (C) 1999, 2000 Axis Communications AB RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: loaded (max 8 devices) Using anticipatory io scheduler nbd: registered device at major 43 PPP generic driver version 2.4.2 SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256). Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky blkmtd: version $Revision: 1.5 $ blkmtd: error: missing `device' name NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 2048 bind 4096) NET: Registered protocol family 1 NET: Registered protocol family 17 Initializing software serial port version 1 Kernel panic: map_memory(0xa2800000, 3, 0x1e51000, 4096, 1, 1, 1) failed, err = -1 <6>SysRq : Show Regs EIP: 0023:[<a017f971>] CPU: 0 Not tainted ESP: 002b:40001fc4 EFLAGS: 00000212 Not tainted EAX: 00000000 EBX: 00004f51 ECX: 00000013 EDX: 00004f51 ESI: 00000007 EDI: 40001000 EBP: 40001fd0 DS: 002b ES: 002b Call Trace: [<a003a78b>] [<a001d24b>] [<a004784d>] [<a0039adb>] [<a0016a9c>] [<a002430f>] [<a002438c>] [<a001c555>] [<a017f818>] [<a017f9fb>] [<a001a363>] (..... it keeps here, but due that I has not the debug symbols, it doesn't help much .....) [<a017f818>] [<a017f971>] Kernel panic: map_memory(0xa2800000, 3, 0x1e51000, 4096, 1, 1, 1) failed, err = -1 <6>SysRq : Show Regs EIP: 0023:[<a017f971>] CPU: 0 Not tainted ESP: 002b:40001fc4 EFLAGS: 00000212 Not tainted EAX: 00000000 EBX: 00004f51 ECX: 00000013 EDX: 00004f51 ESI: 00000007 EDI: 40001000 EBP: 40001fd0 DS: 002b ES: 002b Call Trace: [<a003a78b>] [<a001d24b>] [<a004784d>] [<a0039adb>] [<a0016a9c>] (.......) Has anybody had this problem with RedHat 7.3 (glibc 2.2.5, gcc 2.96, binutils 2.11.93.0.2). I also tried to compile gcc 3.3.4 with binutils 2.15: got the same results. Right now I'm trying the patch http://www.user-mode-linux.org/~blaisorblade/patches/host-skas3-2.4.25-v3.patch for the host system, but I don't think it will help. If you need more info, I will send it (it is an celeron system, so It takes some time to do every test). Thanks in advance for your help, Sincerely, Ildefonso Camargo |
From: Jeff D. <jd...@ad...> - 2004-09-19 01:11:31
|
On Sat, Sep 18, 2004 at 06:09:02PM -0400, Jos=E9 Ildefonso Camargo Tolosa= wrote: > I'm trying to run a UML on RedHat 7.3 now. I tried this: That's quite old. What version of the host kernel are you using? >=20 > + Patched the vanilla kernel source 2.6.8.1 with all the patches in the= =20 > page http://user-mode-linux.sourceforge.net/patches.html. > + Compiled without SKAS suport (only Tracing Thread). >=20 > And tried to run ./linux, I got: Segmentation fault (yes, only that=20 > line, nothing else). Can you strace that? > I tried to enable the skas support, and then I got the two lines tellin= g=20 > me that there was not skas support in the host system (skas and=20 > /proc/mm), and then the seg fault. Sounds like the same as above. > Initializing software serial port version 1 > Kernel panic: map_memory(0xa2800000, 3, 0x1e51000, 4096, 1, 1, 1)=20 > failed, err =3D -1 This is usually caused by /tmp being mounted noexec. Jeff |
From:
<ica...@me...> - 2004-09-23 02:00:22
|
Hi! I finally got this "working". I'm using host kernel 2.4.27 with skas3 patch. The problem was in fact that the /tmp is noexec (but I will not mount /tmp without noexec). So, I did a export TEMP=/home/icamargo/tmp/ and it just started to work :) Simple enough, but due that I only had a Segmentation fault, I didn't noticed this. There is a patch for this now, so I don't think it would happend to anyone else. I'm now having other kind of problems. I'm trying to run: ./uml/2.6.8.1/linux-2.6.8.1/linux mem=128M eth0=tuntap,tap0 con0=fd:0,fd:1 con=pts I also tried it without the mode=tt. It used to work, and it gave me the assigned pts device of each console, but it doesn't do it anymore :( . Any ideas? Thanks in advance, Ildefonso Camargo Jeff Dike wrote: >On Sat, Sep 18, 2004 at 06:09:02PM -0400, José Ildefonso Camargo Tolosa wrote: > > >>I'm trying to run a UML on RedHat 7.3 now. I tried this: >> >> > >That's quite old. What version of the host kernel are you using? > > > >>+ Patched the vanilla kernel source 2.6.8.1 with all the patches in the >>page http://user-mode-linux.sourceforge.net/patches.html. >>+ Compiled without SKAS suport (only Tracing Thread). >> >>And tried to run ./linux, I got: Segmentation fault (yes, only that >>line, nothing else). >> >> > >Can you strace that? > > > >>I tried to enable the skas support, and then I got the two lines telling >>me that there was not skas support in the host system (skas and >>/proc/mm), and then the seg fault. >> >> > >Sounds like the same as above. > > > >>Initializing software serial port version 1 >>Kernel panic: map_memory(0xa2800000, 3, 0x1e51000, 4096, 1, 1, 1) >>failed, err = -1 >> >> > >This is usually caused by /tmp being mounted noexec. > > Jeff > > >------------------------------------------------------- >This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 >Project Admins to receive an Apple iPod Mini FREE for your judgement on >who ports your project to Linux PPC the best. Sponsored by IBM. >Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php >_______________________________________________ >User-mode-linux-user mailing list >Use...@li... >https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user > > > |