All of lore.kernel.org
 help / color / mirror / Atom feed
From: Boaz Harrosh <bharrosh@panasas.com>
To: Richard Weinberger <richard@nod.at>
Cc: Yuanhan Liu <yuanhan.liu@linux.intel.com>,
	uml-devel <user-mode-linux-devel@lists.sourceforge.net>
Subject: Re: [uml-devel] WARNING: CPU: 0 PID: 1 at init/main.c:711 do_one_initcall()
Date: Mon, 25 Nov 2013 17:06:00 +0200	[thread overview]
Message-ID: <52936758.405@panasas.com> (raw)
In-Reply-To: <2845101.Wgsx5afvdX@sandpuppy>

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


  reply	other threads:[~2013-11-25 15:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-22  6:02 WARNING: CPU: 0 PID: 1 at init/main.c:711 do_one_initcall() Yuanhan Liu
2013-11-25 10:43 ` Boaz Harrosh
2013-11-25 13:25   ` Yuanhan Liu
2013-11-25 13:57     ` Boaz Harrosh
2013-11-26 10:37       ` Yuanhan Liu
2013-11-26 10:54         ` Boaz Harrosh
2013-11-25 14:15 ` Richard Weinberger
2013-11-25 14:32   ` Boaz Harrosh
2013-11-25 14:43     ` Richard Weinberger
2013-11-25 15:06       ` Boaz Harrosh [this message]
2013-11-25 15:09         ` [uml-devel] " Richard Weinberger
2013-11-25 17:13           ` Boaz Harrosh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52936758.405@panasas.com \
    --to=bharrosh@panasas.com \
    --cc=richard@nod.at \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    --cc=yuanhan.liu@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.