So I'm trying to migrate from 2.4 to 2.6 across the board. I've been at
2.6 everywhere but UML for some time, but this problem is defeating me.

I'm running UML on a GCC-3.4.3-compiled 2.6.11.7-skas3-v8-rc5 host (to
be .9 when next I reboot) running glibc-2.3.5, like this (simplified
from longer line which also fails):

/usr/bin/nice -n -10 su firewall -c "LD_ASSUME_KERNEL=2.4.29 uml-esperi"

Now on a 2.4 UML that works fine (well, obviously *that* line panics
because it doesn't specify a root fs. But the longer line works, and in
2.6 both fail the same way). In 2.6 I see this:

Checking for /proc/mm...found
Checking for the skas3 patch in the host...found
[dead]

A gdb backtrace shows this:

Attaching to program: /usr/packages/linux/i586-esperi/linux, process 6587
Reading symbols from /lib/libutil.so.1...done.
Loaded symbols for /lib/libutil.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
0x0805df94 in __const_udelay ()
(gdb) bt
#0  0x0805df94 in __const_udelay ()
#1  0x0807284b in panic ()
#2  0x081b9220 in __func__.4 ()
#3  0x00000001 in ?? ()
#4  0x08072831 in panic ()
#5  0x0000000a in ?? ()
#6  0x000019bc in ?? ()
#7  0x0806c95f in init_registers ()
#8  0x000019bc in ?? ()
#9  0x000019bc in ?? ()
#10 0x000019bc in ?? ()
#11 0x000019bc in ?? ()
#12 0x0805ab01 in can_do_skas ()
#13 0x00000000 in ?? ()
#14 0xbffff2e0 in ?? ()
#15 0x00000000 in ?? ()
#16 0x00000000 in ?? ()
#17 0x0000000a in ?? ()
#18 0xb7ee9000 in ?? ()
#19 0x08200cc0 in system_state ()
#20 0x00000000 in ?? ()
#21 0xbffff444 in ?? ()
#22 0x0805edf0 in linux_main ()
#23 0x00000001 in ?? ()
#24 0x081cb478 in __initcall_stderr_console_init ()
#25 0x08242050 in ?? ()
#26 0x0000000a in ?? ()
#27 0x08059159 in main ()

which looks to me like a panic. (Why can't I see it? Where's the panic
message going? All the *other* messages go straight to the console, as
they ought.)

The crashing routine is (probably) init_registers(), which checks for
the presence of PTRACE_GETREGS, PTRACE_GETFPXREGS, and PTRACE_GETFPREGS
on the host --- which certainly look like they're there to me.

How to test if they *work* I have not a clue. Any suggestions?

-- 
`End users are just test loads for verifying that the system works, kind of
 like resistors in an electrical circuit.' - Kaz Kylheku in c.o.l.d.s


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&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

Reply via email to