Debian Lenny guest first boot throws "Kernel panic" error

Discussions about using Linux guests in VirtualBox.

Debian Lenny guest first boot throws "Kernel panic" error

Postby kerdany » 3. Sep 2009, 08:33

Hi,

After intstalling Debian Lenny, and during the first booting, I get this error and the booting fails:

Code: Select all   Expand viewCollapse view
Kernel panic - not syncing: Fatal exception in interrupt


I installed using a netinst cd image (150MB), on a default settings guest machine with a 20GB vdi, and a 256 MB Ram

I used the default text installer, and only installed the "Standard System" package on the Debian Guest.

Debian ISO: debian-502a-i386-netinst.iso
Host OS: Windows XP SP3
Guest OS: Debian Lenny
VirtualBox Version: 3.0.4.r50677
kerdany
 
Posts: 1
Joined: 3. Sep 2009, 08:20
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Centos 5.3

Re: Debian Lenny guest first boot throws "Kernel panic" error

Postby Sasquatch » 3. Sep 2009, 10:45

Any idea which kernel you've installed? Can you install a different kernel if you try to rescue the installation?
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: Debian Lenny guest first boot throws "Kernel panic" error

Postby clintp » 8. Sep 2009, 18:25

I have this same error. The host is Debian Etch, the guest OS is ... whatever the latest net install is. (503a, I believe. I did a net install.) The VM will boot successfully about 1/3 of the time, but otherwise I get the following:

Code: Select all   Expand viewCollapse view
[...can't read, it's scrolled offscreen...]
apply_paravirt
ktime_get
tick_nohz_stop_sched_tick
__do_softirq
native_smp_call_function_mask
do_flush_tlb
native_smp_call_function_mask
native_flush_tlb_global
on_each_cpu
flush_tlb_all
remove_vm_area
klist_add_before
_etext
alternatives_smp_unlock
alternative_instructions
check_bugs
start_kernel
===================
Code: Bad EIP value.
EIP: [<000000a>] 0xa SS: ESP  0068:c0379e44
Kernel panic - not syncing: Fatal exception in interrupt


(I left the addresses off the various function calls listed). Options on the VM:
Memory: 364MB
32 bit host and guest.
Processor: 1
VT-x/AMD-V: Enabled
Nested Paging: Disabled
Display: Video Memory 8MB
3D/Remote Display: Disabled
Hard Disk: IDE Primary Slave system.vdi (Normal, 4.88GB)
Network: Adapter 1: PCnet-FAST III (bridged adapter, eth0)
(everything else not mounted or disabled)

I've got nothing on this VM, it's a fresh install. I'm trying to get *ANY* debian distribution to run as a guest, so I'm willing to experiment a little bit. There's nothing in it to save, I just need to get it working.
Last edited by clintp on 8. Sep 2009, 19:04, edited 1 time in total.
clintp
 
Posts: 7
Joined: 8. Sep 2009, 18:13
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian

Re: Debian Lenny guest first boot throws "Kernel panic" error

Postby Perryg » 8. Sep 2009, 18:55

Why not share with us the settings that you are trying to use on the guest and also the host environment, such as the total amount of RAM, 32bit, 64 bit that sort of information is necessary to figure this out. I see some of the guest settings which is good, but are you enabling sound, USB the other items in the settings.
Perryg
Site Moderator
 
Posts: 25960
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other

Re: Debian Lenny guest first boot throws "Kernel panic" error

Postby clintp » 8. Sep 2009, 18:59

Perryg wrote:Why not share with us the settings that you are trying to use on the guest and also the host environment, such as the total amount of RAM, 32bit, 64 bit that sort of information is necessary to figure this out. I see some of the guest settings which is good, but are you enabling sound, USB the other items in the settings.


"everything else not mouted or disabled"

No sound, no usb, no serial ports. Everything on the guest is listed there.
clintp
 
Posts: 7
Joined: 8. Sep 2009, 18:13
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian

Re: Debian Lenny guest first boot throws "Kernel panic" error

Postby Perryg » 8. Sep 2009, 19:02

total amount of (host) RAM, 32bit, 64 bit
Perryg
Site Moderator
 
Posts: 25960
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other

Re: Debian Lenny guest first boot throws "Kernel panic" error

Postby clintp » 8. Sep 2009, 19:09

Host ram, 1GB.
32 bit all around (host and guest)

I'm installing Etch now on that VM to see if the problem goes away, and it's a Lenny problem.
clintp
 
Posts: 7
Joined: 8. Sep 2009, 18:13
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian

Re: Debian Lenny guest first boot throws "Kernel panic" error

Postby Perryg » 8. Sep 2009, 19:15

I have lenny working and installed with 256 meg and no problems. Also squeeze but it needed 768 to work properly on install, I have not turned it down yet but will later and see what the actual memory requirement is. I have not used Etch for a while so can't help you there.
Perryg
Site Moderator
 
Posts: 25960
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other

Re: Debian Lenny guest first boot throws "Kernel panic" error

Postby clintp » 8. Sep 2009, 19:30

Etch (kernel 2.6.18) is working perfectly. After installing I've rebooted several times and everything checks out. There's something about Lenny (judging by what I've found Googling this problem) that VirtualBox doesn't like.
clintp
 
Posts: 7
Joined: 8. Sep 2009, 18:13
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian

Re: Debian Lenny guest first boot throws "Kernel panic" error

Postby Perryg » 8. Sep 2009, 19:44

For the life of me I can't think what. I have had Lenny working since it was released. And Squeeze has not presented a problem either except a few upgrades that were not ready for release, but that is what you expect on pre-released software.
Perryg
Site Moderator
 
Posts: 25960
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other


Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 17 guests