qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Qemu-devel] Kernel panic - not syncing: No init found. Trypassing i


From: Kjel Delaey
Subject: RE: [Qemu-devel] Kernel panic - not syncing: No init found. Trypassing init= option to kernel.
Date: Fri, 19 Oct 2007 19:05:55 +0200


qemu screens



From: address@hidden
To: address@hidden
Subject: RE: [Qemu-devel] Kernel panic - not syncing: No init found. Trypassing init= option to kernel.
Date: Fri, 19 Oct 2007 19:04:54 +0200

I came home and I tried the stuff at my desktop (I was in school in the morning).
 
I followed your steps Christian and I have also downloaded the detaolb_v06.iso file. I have also changed the line in .config.
I have extracted "debug" in my working directory.
If I use "debug" I have the following message:
/bin/sh: can't access tty: job control turned off.
 
By the way, thank you all for helping me out :)

I'm trying since 8.30 am. It must work ;)
(init problem/solved!)
qemu -m 32 -hda rootfs.img -kernel linux-2.6.18.1/arch/i386/boot/bzImage -append "root=/dev/hda \clock=pit"
(tty problem)
qemu -m 32 -hda rootfs.img -kernel linux-2.6.18.1/arch/i386/boot/bzImage -initrd debug -append "root=/dev/hda \clock=pit"
 
Turning off tty in busybox isn't a working solution.

I couldn't send an email earlier because I had problems with Hotmail.


//*************************************************
Why do I keep getting "sh: can't access tty; job control turned off" errors? Why doesn't Control-C work within my shell?
Job control will be turned off since your shell can not obtain a controlling terminal.
This typically happens when you run your shell on /dev/console. The kernel
will not provide a controlling terminal on the /dev/console device. Your should run your
shell on a normal tty such as tty1 or ttyS0 and everything will work perfectly.
If you REALLY want your shell to run on /dev/console, then you can hack your kernel
(if you are into that sortof thing) by changing drivers/char/tty_io.c to change the lines
where it sets "noctty = 1;" to instead set it to "0".
I recommend you instead run your shell on a real console...



> Date: Fri, 19 Oct 2007 14:19:55 +0200
> From: address@hidden
> To: address@hidden
> Subject: Re: [Qemu-devel] Kernel panic - not syncing: No init found. Trypassing init= option to kernel.
>
> Kjel,
>
> I managed to compile the kernel with your config file and the vanilla
> linux 2.6.18.1.
> With the "debug" initramfs from DetaolB, I get similar error messages.
>
> I enabled only CONFIG_BLK_DEV_INITRD=y and the problem was gone.
>
> Could you please try this ? I can send you separately (off list) the
> "debug" file.
>
> --
> Christian
> --
> http://detaolb.sourceforge.net/, a linux distribution for Qemu with Git inside !
>
>



Neem je vrienden overal mee dankzij Messenger op je gsm. Messenger voor Mobile


Deel je gedachten direct met je vrienden Windows Live Messenger

Attachment: Init.png
Description: PNG image

Attachment: tty.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]