Nix wrote: > I felt unhappy recently because UML was working perfectly well and I had > no complaints (except for the absence of skas3 on 2.6.25 > hosts). Obviously this was unacceptable. > > So I tried out skas4, host+guest (the guest also has your rng patches, > time fixes, and SIGWINCH fixes applied). > > The result: > > ,---- > | Script started on Sun 15 Jun 2008 21:54:41 BST > | loki:/mirror/uml# /usr/bin/nice -n -10 su firewall -c "uml-esperi > con1=port:163800 con0=fd:0,fd:1 fakeide mem=96M > ubd0=/mirror/uml/esperi-root-cow.image,/mirror/uuml/esperi-root.image > umid=esperi eth0=tuntap,tap0,02:60:97:79:e2:c1 eth1=tuntap,,tap1" > | > | Locating the top of the address space ... 0xc0000000 > | Core dump limits : > | soft - 1024000000 > | hard - 1024000000 > | 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 SKAS4 support in the host: > | /proc/self/mm ... OK > | new_mm ... OK > | switching over ... switched back ... OK > | PTRACE_SWITCH_MM ... OK > | Full CPU fault information in siginfo_t ... OK > | Full CPU fault information in PTRACE_GETSIGINFO ... OK > | vcpu ... Host TLS support detected > | Detected host type: i386 > | (GDT indexes 6 to 9) > | vcpu returned with event = 1 > | Failed > `---- > > Oops. Now it starts searching for skas3 (which isn't there), and things > go more pear-shaped: > > ,---- > | Checking for the skas3 patch in the host: > | - /proc/mm...not found: No such file or directory > | - PTRACE_FAULTINFO... > | [1]+ Stopped /usr/bin/nice -n -10 su firewall -c > "uml-esperi con1=port:16380 con0=fd:0,fd:1 fakeide mem=96M > ubd0=/mirror/uml/esperi-root-cow.image,/mirror/uml/esperi-root.image > umid=esperi eth0=tuntap,tap0,02:60:97:79:e2:c1 eth1=tuntap,tap1" > `---- > > fg it, and we see: > > ,---- > | loki:/mirror/uml# fg > | /usr/bin/nice -n -10 su firewall -c "uml-esperi con1=port:16380 > con0=fd:0,fd:1 fakeide mem=96M > ubd0=/mirror/uml/esperi-root-cow.image,/mirror/uml/esperi-root.image > umid=esperi eth0=tuntap,tap0,02:60:97:79:e2:c1 eth1=tuntap,tap1" > `---- > > [dead halt until we hit it with a SIGKILL, whereupon it dies] > > Thus, not only does SKAS4 not work for me, the fallback to SKAS0 doesn't seem > to be working. > > Is the SKAS4 patch supposed to work on x86-32 yet? > > (Without the skas4 patch on the guest, everything works fine, SKAS0ing > happily.)
I have skas4 working on 2.6.25.4. You need to patch both the guest & host kernel but from you said i conclude that you already knew that. Regards, Benedict ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user