On venerdì 27 aprile 2007, Antoine Martin wrote:
> Hi all,
>
> These images aren't linked from the home page yet. Each page contains a
> link to the script/commands used to create the image.
>
> Here they are:
> http://uml.nagafix.co.uk/Ubuntu-Feisty/
> http://uml.nagafix.co.uk/Ubuntu-Dapper/
> http://uml.nagafix.co.uk/Debian-Etch/
> http://uml.nagafix.co.uk/BusyBox-1.5.0
>
>
>
> Some notes/issues - I think the images are usable as-is, but it would be
> nice to get rid of some of those messages:
> 1) Dapper was made from the Breezy image with a "dist-upgrade" rather
> than from scratch, which may trigger some issues. ie:
> * a boot message about /sbin/ifrename which has been replaced by udev
> but still referenced in a script...)
"dpkg --purge ifrename" should help (I had this too with Ubuntu on host).
> * "id: cannot find name for group ID 11"
> 2) caught this on all images:
> [42949394.930000] line_ioctl: tty0: unknown ioctl: 0x541e
> [42949394.930000] line_ioctl: tty0: unknown ioctl: 0x5603
> Is this because of the getty settings? (38000 vs 9600?)
Never diagnosed that, and nobody (apart, time ago, Gerd Knorr) worked on this.
> 3) "hwclock is unable to get I/O port access: the iopl(3) call failed."
> and "Cannot access the Hardware Clock via any known method."
> But this isn't new, right?
> 4) A few "Couldnt get a file descriptor referring to the console"
> In Feisty
> 5) Also in feisty:
> mount: none already mounted or /dev/pts busy
> mount: according to mtab, devpts is already mounted on /dev/pts
> (tried removing it from mtab to no avail)
Removing from /etc/fstab (if it's there) helps?
> 6) Etch doesn't have any debootstrap scripts that I could find for
> Gentoo (even latest unstable debootstrap), and when using the text
> installer it keeps crashing at "detecting hardware" on i386.
> "fakehd/fake_ide" didn't help (if they still do anything).
> I will have to find another way (using debootstrap from within Debian
> 3.1 UML seems like a plan)
> And some new kernel issues I just discovered:
> * a 32-bit kernel compiled on 64-bit (using SUBARCH=i386) does not work
> on a 32-bit host. It fails with the usual cryptic message:
> Kernel panic - not syncing: No init found. Try passing init= option to
> kernel.
> (but init is there, as the same command line works just fine with a
> different kernel!)
I got this when testing my first TLS-64bit patch (i.e. 2.6.18-bb1, IIRC).
Removing it made this disappear. I was always puzzled by this.
> * a 32-bit kernel compiled on 32-bit does not boot on 64-bit, all I get is:
> #> ./vmlinux
> "Checking that ptrace can change system call numbers...check_ptrace:
> PTRACE_OLDSETOPTIONS failed: Invalid argument"
> Versions are always the latest for the guest (2.6.21) and the hosts
> varies (2.6.19.2 for amd64 and 2.6.15 for i386) + skas
Applies to any (recent) 32bit UML kernel.
You have a bad 64bit host - the bug is the OLDSETOPTIONS support, and I fixed
it. 2.6.18 has this bug, but 2.6.18.8 includes my fix. It needs however the
attached patch, too (or it'll give another error with TLS).
Also, 2.6.19.5 is perfectly good (includes the attached patch).
--
Inform me of my mistakes, so I can add them to my list!
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade
Subject: x86_64: PTRACE_[GS]ET_THREAD_AREA should be accepted
From: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]>
This patch backports from 2.6.19 a fix to a 2.6.18 regression.
Like for PTRACE_OLDSETOPTIONS, we should fix PTRACE_[GS]ET_THREAD_AREA. This had
been done already for 2.6.19, so this is for 2.6.18-stable only.
This was tested with UML/32bit as API consumer, both before and after this
patch.
Cc: Andi Kleen <[EMAIL PROTECTED]>
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]>
Index: linux-2.6.18/arch/x86_64/ia32/ptrace32.c
===================================================================
--- linux-2.6.18.orig/arch/x86_64/ia32/ptrace32.c
+++ linux-2.6.18/arch/x86_64/ia32/ptrace32.c
@@ -241,6 +241,8 @@ asmlinkage long sys32_ptrace(long reques
case PTRACE_SYSCALL:
case PTRACE_OLDSETOPTIONS:
case PTRACE_SETOPTIONS:
+ case PTRACE_SET_THREAD_AREA:
+ case PTRACE_GET_THREAD_AREA:
return sys_ptrace(request, pid, addr, data);
default:
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user