Antoine Martin wrote:
> Antoine Martin wrote:
>>>>> I have downgraded the x86 boxes to 2.6.15.7 and these are up and 
>>>>> running again. But I can't do that for all of them, and this is just 
>>>>> not an option for some of the amd64 boxes.
>>>> My setup is:
>>> Thanks for that. That is very similar to mine.
>>> I don't think this has anything to do with the guest... So I'll try to 
>>> remove the skas3 patch from the host and see how it goes.
>>>
>> I did, and no improvement... x86 guests still hang.
>> Could you post a binary guest kernel somewhere so I can try that?
>> (even if it isn't static - glibc should be similar since we're using 
>> Gentoo amd64)
>> If that still does not work then I can be certain that it is something 
>> to do with the host.
> I've just tried on 3 more hosts, all AMD64 Gentoo fully up to date, 
> kernel 2.6.19.2. No skas, no exec shield, no selinux, plain kernel.org:
> None of them work with any of the 32-bit kernels!
> It prints nothing, just sits there spinning at 100% cpu.
> So I am now totally convinced that i haven't got a weird setup.
> Something else is broken in UML.
> 
> On fully up to date Fedora Core 6 x86_64, the kernel does display 
> something before crashing:
> # uname -a
> Linux localhost.localdomain 2.6.18-1.2869.fc6 #1 SMP Wed Dec 20 14:51:34 
> EST 2006 x86_64 x86_64 x86_64 GNU/Linux
> # ./kernel32-2.6.19.2
> Checking that ptrace can change system call numbers...OK
> Checking syscall emulation patch for ptrace...missing
> 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
> 
> [EMAIL PROTECTED] home]#
> 
> This is 100% repeatable. Plain Fedora.
> Many users will have a similar setup and will just give up on UML.
> So I as I said before, UML is currently unusable for most people out 
> there running fairly recent systems.
> 
> Antoine
> 
> _______________________________________________
> User-mode-linux-devel mailing list
> User-mode-linux-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
I have a 2.6.19, vanila kernel on top of redhat4, host.
And any kernel between 2.6.17 - 2.6.20-rc5 x86_64 for guests.
For my iSCSI tests they all run well.
At the very beginning, I had bad crashes and I solved it with plain gdb.
The point for us to use UML, from the begging, was to use gdb on our own kernel 
development.
At the end it was very easy to find that I have miss-configured the uml kernel, 
when that was fixed every thing
ran well.

for me I just do
#gdb um/vmlinux (was compiled with -O um)
gdb>run ubd0=/var/opt/FedoraCore5-AMD64-root_fs eth0=tuntap,,,192.168.0.117
after first trap in gdb
gdb>handle SIGUSR1 pass nostop noprint
from than on its strait gdb, tell me if you need a script for loading symbols 
of kernel modules.

Free Life
Boaz


-------------------------------------------------------------------------
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-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to