* Re: [uml-devel] WARNING: CPU: 0 PID: 1 at init/main.c:711 do_one_initcall()
[not found] ` <2845101.Wgsx5afvdX@sandpuppy>
@ 2013-11-25 15:06 ` Boaz Harrosh
2013-11-25 15:09 ` Richard Weinberger
0 siblings, 1 reply; 3+ messages in thread
From: Boaz Harrosh @ 2013-11-25 15:06 UTC (permalink / raw)
To: Richard Weinberger; +Cc: Yuanhan Liu, uml-devel
On 11/25/2013 04:43 PM, Richard Weinberger wrote:
<snip>
>> [It stopped to be very important for me since I stopped using
>> UM very much. Ever since FC17 I'm unable to produce a running
>> image. It just will not boot, an image that a kvm would. So
>> very sad me, but no UML for me anymore.]
>
> Sad to hear.
> Did you try one from http://fs.devloop.org.uk/?
> Just booted a FC18 on UML. Works fine.
>
I just tried this exact one last week. (It gets stuck half way through boot)
Could you post me the .config file you used, and command line, and/or any
other info?
I would love to try again. I used a pretty defconfig based config
and my invocation blow: (Note that I use make KBUILD_OUTPUT=.build_um)
#!/bin/bash
#
UMDIR=/home/bharrosh/dev/um
ROOT_FS=$UMDIR/Fedora18-AMD64-root_fs-1
UBD_SWAP=ubd1=$UMDIR/swap_file-1
FS_LOCAL_MOUNT=$UMDIR/target_rootfs-1
LOCALHOST_TUN_IP=192.168.1.117
MEM=384M
# run this to install new um drivers into an image
um_mkkernel()
{
mount -o loop$ROOT_FS_OFFSET $ROOT_FS $FS_LOCAL_MOUNT \
&& make ARCH=um KBUILD_OUTPUT=.build_um INSTALL_MOD_PATH=$FS_LOCAL_MOUNT modules_install
umount $FS_LOCAL_MOUNT
}
# run this to load a UML system
um_load()
{
./.build_um/vmlinux ubd0=$ROOT_FS $UBD_SWAP eth0=tuntap,,,$LOCALHOST_TUN_IP mem=$MEM
}
> In the past we've had some issues with systemd-enabled distros.
> systemd uncovered problem in the UML tty driver.
>
>> If you want to investigate. try doing a modprobe xor.ko on
>> a uml and see. since xor.ko is only built on demand for example
>> enabling exofs or object-layout-driver will select it. ,or MD-raid5.
>
> Ok.
>
Thanks
Boaz
> Thanks,
> //richard
>
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [uml-devel] WARNING: CPU: 0 PID: 1 at init/main.c:711 do_one_initcall()
2013-11-25 15:06 ` [uml-devel] WARNING: CPU: 0 PID: 1 at init/main.c:711 do_one_initcall() Boaz Harrosh
@ 2013-11-25 15:09 ` Richard Weinberger
2013-11-25 17:13 ` Boaz Harrosh
0 siblings, 1 reply; 3+ messages in thread
From: Richard Weinberger @ 2013-11-25 15:09 UTC (permalink / raw)
To: Boaz Harrosh; +Cc: Yuanhan Liu, uml-devel
Am Montag, 25. November 2013, 17:06:00 schrieb Boaz Harrosh:
> On 11/25/2013 04:43 PM, Richard Weinberger wrote:
> <snip>
>
> >> [It stopped to be very important for me since I stopped using
> >>
> >> UM very much. Ever since FC17 I'm unable to produce a running
> >> image. It just will not boot, an image that a kvm would. So
> >> very sad me, but no UML for me anymore.]
> >
> > Sad to hear.
> > Did you try one from http://fs.devloop.org.uk/?
> > Just booted a FC18 on UML. Works fine.
>
> I just tried this exact one last week. (It gets stuck half way through boot)
> Could you post me the .config file you used, and command line, and/or any
> other info?
Just did (on x86_64):
$ make defconfig ARCH=um
$ make -j 4 linux ARCH=um
$ ./linux ubda=../Fedora18-AMD64-root_fs mem=512M
Thanks,
//richard
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [uml-devel] WARNING: CPU: 0 PID: 1 at init/main.c:711 do_one_initcall()
2013-11-25 15:09 ` Richard Weinberger
@ 2013-11-25 17:13 ` Boaz Harrosh
0 siblings, 0 replies; 3+ messages in thread
From: Boaz Harrosh @ 2013-11-25 17:13 UTC (permalink / raw)
To: Richard Weinberger; +Cc: Yuanhan Liu, uml-devel
On 11/25/2013 05:09 PM, Richard Weinberger wrote:
> Am Montag, 25. November 2013, 17:06:00 schrieb Boaz Harrosh:
>>> Sad to hear.
>>> Did you try one from http://fs.devloop.org.uk/?
>>> Just booted a FC18 on UML. Works fine.
>>
>> I just tried this exact one last week. (It gets stuck half way through boot)
>> Could you post me the .config file you used, and command line, and/or any
>> other info?
>
> Just did (on x86_64):
>
> $ make defconfig ARCH=um
For some reason this one (I'm on FC17 x86_64) did not pick up the CONFIG_64BIT
and compiled a 32bit uml (I should have suspected when build failed with missing
gnu/stubs-32.h which is in an glibc-devel.i686 package) So after crashing very
fast I finally inspected under xconfig, fixing that ...
> $ make -j 4 linux ARCH=um
> $ ./linux ubda=../Fedora18-AMD64-root_fs mem=512M
>
My god it works. I even have networking now. I guess the start from
scratch defconfig, did it for me, go figure. I had a .config that would
load FC15 but not FC17-FC18. (the new one loads both)
I'll try to put some load on it now. For a long time UM would crap under
load. Where in FC13 it would run (very slow) under the same load, on FC15
it would crash. Will report if you want.
> Thanks,
> //richard
>
Thank you! Sir Richard.
Boaz
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-11-25 17:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20131122060223.GP9991@yliu-dev.sh.intel.com>
[not found] ` <CAFLxGvynVV=aY755xTPTa7-57O25Dwzc+cbWELj+4xxFKznKMg@mail.gmail.com>
[not found] ` <52935F73.4090209@panasas.com>
[not found] ` <2845101.Wgsx5afvdX@sandpuppy>
2013-11-25 15:06 ` [uml-devel] WARNING: CPU: 0 PID: 1 at init/main.c:711 do_one_initcall() Boaz Harrosh
2013-11-25 15:09 ` Richard Weinberger
2013-11-25 17:13 ` Boaz Harrosh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox