qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Latest cvs and kqemu-1.3.0pre9 segfault on booting linux gu


From: Brad Campbell
Subject: [Qemu-devel] Latest cvs and kqemu-1.3.0pre9 segfault on booting linux guest from linux host
Date: Sun, 01 Oct 2006 18:07:51 +0400
User-agent: Thunderbird 1.5.0.7 (X11/20060922)

This was working about 4 weeks ago or thereabouts. I just upgraded qemu from cvs and now it won't boot a stock kernel with -kernel-qemu. (no -kernel-kqemu seems to work just fine)

Qemu Version:
CVS as of 30 mins ago

Host kernel:
Linux bklaptop2 2.6.18-rc4-bkc1 #3 Wed Aug 9 12:01:18 GST 2006 i686 GNU/Linux

Boot command line:
qemu -kernel bzImage-2.6.17-2 -initrd ~/initramfs-2.6.cpio.gz -hda /dev/null -kernel-kqemu -append "console=ttyS0 console=tty0" -serial stdio | tee oops.log

I tried it with and without -no-acpi with the same result.

I've tracked it down to the bios file. If I revert bios.bin back to an older 
revision it's all good.

This works: (It was one I had handy in my backup - current as of about August 
sometime I think)
$Revision: 1.160 $ $Date: 2006/01/25 17:51:49 $

This does not: (Todays CVS)
$Revision: 1.166 $ $Date: 2006/08/11 17:34:12 $

Relevant files

http://fnarfbargle.dyndns.org:81/qemu/bzImage-2.6.17-2
http://fnarfbargle.dyndns.org:81/qemu/config.gz
http://fnarfbargle.dyndns.org:81/qemu/initramfs-2.6.cpio.gz (this is 10M and I really don't think you need it, but it's here for completeness)

The kernel is a vanilla 2.6.17

oops attached.

Linux version 2.6.17 (address@hidden) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 Sun Oct 1 17:54:08 GST 2006
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e8000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000007ff0000 (usable)
 BIOS-e820: 0000000007ff0000 - 0000000008000000 (ACPI data)
 BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
127MB LOWMEM available.
DMI not present or invalid.
Allocating PCI resources starting at 10000000 (gap: 08000000:f7fc0000)
Built 1 zonelists
Kernel command line: console=ttyS0 console=tty0
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 512 (order: 9, 2048 bytes)
Detected 598.575 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 116664k/131008k available (1649k kernel code, 13824k reserved, 458k data, 124k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 1180.84 BogoMIPS (lpj=5904209)
Mount-cache hash table entries: 512
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 2048K
CPU: Intel(R) Pentium(R) M processor 1.20GHz stepping 08
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 0k freed
Unpacking initramfs... done
Freeing initrd memory: 10315k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfa100, last bus=0
Setting up standard PCI resources
SCSI subsystem initialized
PCI: Probing PCI hardware
PCI quirk: region b000-b03f claimed by PIIX4 ACPI
PCI: Using IRQ router PIIX/ICH [8086/7000] at 0000:00:01.0
general protection fault: 0060 [#1]
CPU:    0
EIP:    0060:[<c00fa205>]    Not tainted VLI
EFLAGS: 00010203   (2.6.17 #1)
EIP is at 0xc00fa205
eax: ffff86ff   ebx: c1130100   ecx: 12378086   edx: 00000cfc
esi: 00000001   edi: c02ed094   ebp: c1130000   esp: c7fc1f78
ds: 007b   es: 007b   ss: 0068
Process swapper (pid: 1, threadinfo=c7fc0000 task=c1136a10)
Stack: c024c886 00000063 00000000 c113c400 00000001 00000001 c113c400 c113c400
       00000000 c032cc0c c7fc0000 00000000 c032478d c01002ff c0311fe0 c0102726
       c02d6880 c01002a0 00000000 00000000 00000000 00000000 00000000 00000000
Call Trace:
 <c024c886> pcibios_sort+0x66/0x1b0  <c032478d> pcibios_init+0x5d/0x70
 <c01002ff> init+0x5f/0x250  <c0102726> ret_from_fork+0x6/0x20
 <c01002a0> init+0x0/0x250  <c01002a0> init+0x0/0x250
 <c0100c45> kernel_thread_helper+0x5/0x10
Code: c2 fc 0c 66 89 c8 66 ef 5a eb 21 3c 0d 75 10 e8 25 00 00 00 52 66 ba fc 0c 89 c8 ef 5a eb 0d b4 81 5f 5e 83 64 24 08 fc 66 9d f9 <cb> 30 e4 5f 5e 83 64 24 08 fc 66 9d f8 cb 52 b8 00 00 80 00 66
EIP: [<c00fa205>] 0xc00fa205 SS:ESP 0068:c7fc1f78
 <0>Kernel panic - not syncing: Attempted to kill init!

Brad
--
"Human beings, who are almost unique in having the ability
to learn from the experience of others, are also remarkable
for their apparent disinclination to do so." -- Douglas Adams




reply via email to

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