RE: [SLE] User mode linux and SuSE 9.0
I've been tinkering with this all day. Thus far I've narrowed it down to hanging at init/main.c on the line: execve("/sbin/init",argv_init,envp_init); boot_splash is never in a UML kernel. Now I'm in the process of figuring out if init is even starting or if that's the actual hang point. init never shows its first line and adding extra output before and after "execve" reveals that "execve" is the last function executed in main.c and it never returns. Anyone else get this far with the SuSE sources? I'll keep everyone posted what more I find as it seems I'm off in uncharted waters here. Chip Schweiss
-----Original Message----- From: NOSPAM [mailto:NOSPAM@tprfct.net] Sent: Saturday, November 08, 2003 12:31 PM To: suse-linux-e Subject: Re: [SLE] User mode linux and SuSE 9.0
On Sat, Nov 08, 2003 at 11:27:03AM -0600, chip@innovates.com wrote:
The user mode linux binary included in host-k_um-2.4.21-99 and the binary I built from kernel-source-um-2.4.21-135 both seem to exhibit the same problem. They hang right after mounting the root file system and attempting to execute /sbin/init.
Has anyone successfully ran a UML with a SuSE built kernel?
Yes, but booting RH root filesystem.
I've come across the kernels from kraxel (http://www.suse.de/~kraxel/uml/kernels/) but they too are precompiled from an unknown source with out the patches I need.
I bet you, it is related to boot_splash. I can't look into the problem deeper right at the moment, but I seriously suspect boot_splash. Either disable boot_splash in the kernel or in the init scripts.
Regards, -Kastus
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Sunday 09 November 2003 4:39 am, chip@innovates.com wrote:
I've been tinkering with this all day. Thus far I've narrowed it down to hanging at init/main.c on the line:
execve("/sbin/init",argv_init,envp_init);
If sbin/init is missing it try's a couple of other options and if they are missing gives a error message to that effect. So I guess it must be finding init..... But I can not offer any real wisdom as my embedded system is not uml. David
On Sat, Nov 08, 2003 at 10:39:18PM -0600, chip@innovates.com wrote:
I've been tinkering with this all day. Thus far I've narrowed it down to hanging at init/main.c on the line:
execve("/sbin/init",argv_init,envp_init);
boot_splash is never in a UML kernel.
You're right, it has nothing to do with boot_splash.
Now I'm in the process of figuring out if init is even starting or if that's the actual hang point. init never shows its first line and adding extra output before and after "execve" reveals that "execve" is the last function executed in main.c and it never returns.
init starts, but breaks on blogd command in my case. I can successfully boot if I comment out calls to blogd in /etc/init.d/boot and /etc/init.d/rc Further investigation shows that ioctl TIOCGDEV is missing from self-compiled UM kernel. -Kastus
participants (3)
-
chip@innovates.com
-
david stevenson
-
Kastus