Hi,

still no luck with x86_64 on last night CVS build...

* CentOS 3.6 x86_64:
   - UP won't boot with or without kqemu. Log file is attached.

  - Booting with "-kernel-kqemu" is even worse: the guest kernel won't start
at all (at least it does not print anything).

   - Booting with "-smp 2" makes it a bit further: the kernel fully boots but
the system crashes while starting Anaconda. System output in attachment.

In all cases qemu gets stuck eating 100% CPU.


* CentOS 4.2 x86_64:
  - UP does run without kqemu and with user code virtualization.  Booting
 with "-smp 2" also works.

  - However, running with "-kernel-kqemu" does not work: the kernel won't
 boot and it makes qemu crash. Log files are attached (guest output and
 crash).


The good news is that i386 versions for both distros do run smoothly :-)

Host system is an Athlon 64 running a Mandriva 2006.0 with a plain kernel.org
2.6.15-4 kernel. Kqemu is 1.3.0pre5. Qemu was compiled with gcc 3.3.6-2mdk
and the host kernel with gcc 4.0.2-1mdk.
I tried several values for '-m' (128,160,192,224) with the same results.

Fabrice, do you need any more information in order to help you debug this ?

Regards,
Thibaut
ok

Bootdata ok (command line is initrd=initrd.img devfs=nomount ramdisk_size=9216 
BOOT_IMAGE=vmlinuz text console=ttyS0,115200)

Linux version 2.4.21-37.EL ([EMAIL PROTECTED]) (gcc version 3.2.3 20030502 (Red 
Hat Linux 3.2.3-52)) #1 SMP Wed Sep 28 12:59:51 EDT 2005

BIOS-provided physical RAM map:

 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)

 BIOS-e820: 0000000000100000 - 000000000c000000 (usable)

kernel direct mapping tables upto 1000c000000 @ 8000-a000

No NUMA configuration found

Faking a node at 0000000000000000-000000000c000000

Bootmem setup node 0 0000000000000000-000000000c000000

setting up node 0 0-c000

On node 0 totalpages: 49152

zone(0): 4096 pages.

zone(1): 45056 pages.

zone(2): 0 pages.

ACPI: Unable to locate RSDP

Found and enabled local APIC!

Kernel command line: initrd=initrd.img devfs=nomount ramdisk_size=9216 
BOOT_IMAGE=vmlinuz text console=ttyS0,115200

Initializing CPU#0

time.c: Detected 1.193182 MHz PIT timer.

time.c: Detected 1795.151 MHz TSC timer.

Console: colour VGA+ 80x25

Calibrating delay loop... 3565.15 BogoMIPS

Page-cache hash table entries: 65536 (order: 7, 512 KB)

Page-pin hash table entries: 16384 (order: 4, 64 KB)

Dentry cache hash table entries: 32768 (order: 7, 512 KB)

Inode cache hash table entries: 16384 (order: 6, 256 KB)

Buffer cache hash table entries: 16384 (order: 5, 128 KB)

Memory: 179516k/196608k available (1821k kernel code, 0k reserved, 1883k data, 
228k init)

Mount cache hash table entries: 256 (order: 0, 4096 bytes)

CPU: L1 I Cache: 64K (64 bytes/line/2 way), D cache 64K (64 bytes/line/2 way)

CPU: L2 Cache: 512K (64 bytes/line/8 way)

Intel machine check architecture supported.

Intel machine check reporting enabled on CPU#0.

POSIX conformance testing by UNIFIX

mtrr: v2.02 (20020716))

CPU: L1 I Cache: 64K (64 bytes/line/2 way), D cache 64K (64 bytes/line/2 way)

CPU: L2 Cache: 512K (64 bytes/line/8 way)

CPU0: QEMU Virtual CPU version 0.8.0 stepping 03

per-CPU timeslice cutoff: 2560.10 usecs.

task migration cache decay timeout: 10 msecs.

SMP motherboard not detected.

general protection fault: 0000

CPU 0 

Pid: 1, comm: swapper Not tainted

RIP: 0010:[<f000ff53f000ff53>]

RSP: 0000:000001000bfd3ee0  EFLAGS: 00000216

RAX: 0000000000000000 RBX: 0000000000000011 RCX: 0000000000050011

RDX: ffffffff804388c0 RSI: 0000010001bd6140 RDI: ffffffff804388a0

RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000

R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000

R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000

FS:  0000000000000000(0000) GS:ffffffff805e8040(0000) knlGS:0000000000000000

CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b

CR2: 0000000000000000 CR3: 0000000000101000 CR4: 00000000000006e0


Call Trace: [<ffffffff8010c098>]{init+40} [<ffffffff80110cc1>]{child_rip+8} 

       [<ffffffff8010c070>]{init+0} [<ffffffff80110cb9>]{child_rip+0} 

       

Process swapper (pid: 1, stackpage=1000bfd3000)

Stack: 000001000bfd3ee0 0000000000000000 ffffffff806280f5 0000000000000000 

       ffffffff806286bc 0000000000000000 ffffffff80627b14 0000000000000000 

       0000000000000000 0000000000000000 0000000000000000 0000000000000000 

       ffffffff80621599 000001000bfd2000 ffffffff8010c098 0000000000000000 

       ffffffff80110cc1 0000000000000000 0000000000000000 0000000000000000 

       0000000000000000 0000000000000000 0000000000000000 000000000000000a 

       ffffffff805eecc0 ffffffff805eecc0 ffffffff805eed08 0000000000000000 

       ffffffff8061e000 0000000000000e00 0000000000000000 ffffffff8010c070 

       0000000000000000 ffffffff80110cb9 0000000000000010 0000000000000200 

       000001000bfd3f58 0000000000000000 

Call Trace: [<ffffffff8010c098>]{init+40} [<ffffffff80110cc1>]{child_rip+8} 

       [<ffffffff8010c070>]{init+0} [<ffffffff80110cb9>]{child_rip+0} 

       


Code: Bad RIP value.


Kernel panic: Fatal exception

 

ok

Bootdata ok (command line is initrd=initrd.img devfs=nomount ramdisk_size=9216 
BOOT_IMAGE=vmlinuz text console=ttyS0,115200)

Linux version 2.4.21-37.EL ([EMAIL PROTECTED]) (gcc version 3.2.3 20030502 (Red 
Hat Linux 3.2.3-52)) #1 SMP Wed Sep 28 12:59:51 EDT 2005

BIOS-provided physical RAM map:

 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)

 BIOS-e820: 0000000000100000 - 000000000c000000 (usable)

kernel direct mapping tables upto 1000c000000 @ 8000-a000

No NUMA configuration found

Faking a node at 0000000000000000-000000000c000000

Bootmem setup node 0 0000000000000000-000000000c000000

found SMP MP-table at 000fb0f0

hm, page 000fb000 reserved twice.

hm, page 000fc000 reserved twice.

hm, page 000fb000 reserved twice.

setting up node 0 0-c000

On node 0 totalpages: 49152

zone(0): 4096 pages.

zone(1): 45056 pages.

zone(2): 0 pages.

ACPI: Unable to locate RSDP

Intel MultiProcessor Specification v1.4

    Virtual Wire compatibility mode.

OEM ID: QEMUCPU  <6>Product ID: 0.1          <6>APIC at: 0xFEE00000

Processor #0 6:0 APIC version 17

Processor #1 6:0 APIC version 17

I/O APIC #2 Version 17 at 0xFEC00000.

Processors: 2

Setting APIC routing to flat

Kernel command line: initrd=initrd.img devfs=nomount ramdisk_size=9216 
BOOT_IMAGE=vmlinuz text console=ttyS0,115200

Initializing CPU#0

time.c: Detected 1.193182 MHz PIT timer.

time.c: Detected 1795.263 MHz TSC timer.

Console: colour VGA+ 80x25

Calibrating delay loop... 3578.26 BogoMIPS

Page-cache hash table entries: 65536 (order: 7, 512 KB)

Page-pin hash table entries: 16384 (order: 4, 64 KB)

Dentry cache hash table entries: 32768 (order: 7, 512 KB)

Inode cache hash table entries: 16384 (order: 6, 256 KB)

Buffer cache hash table entries: 16384 (order: 5, 128 KB)

Memory: 179516k/196608k available (1821k kernel code, 0k reserved, 1883k data, 
228k init)

Mount cache hash table entries: 256 (order: 0, 4096 bytes)

CPU: L1 I Cache: 64K (64 bytes/line/2 way), D cache 64K (64 bytes/line/2 way)

CPU: L2 Cache: 512K (64 bytes/line/8 way)

Intel machine check architecture supported.

Intel machine check reporting enabled on CPU#0.

POSIX conformance testing by UNIFIX

mtrr: v2.02 (20020716))

CPU: L1 I Cache: 64K (64 bytes/line/2 way), D cache 64K (64 bytes/line/2 way)

CPU: L2 Cache: 512K (64 bytes/line/8 way)

CPU0: QEMU Virtual CPU version 0.8.0 stepping 03

per-CPU timeslice cutoff: 2560.10 usecs.

task migration cache decay timeout: 10 msecs.

CPU present map: 3

Booting processor 1/1 rip 6000 page 0000010001bea000

Setting warm reset code and vector.

1.

2.

3.

Asserting INIT.

Waiting for send to finish...

+Deasserting INIT.

Waiting for send to finish...

+#startup loops: 2.

Sending STARTUP #1.

After apic_write.

target apic 1000000

after target chip

after eip write

Startup point 1.

Initializing CPU#1

CPU#1 (phys ID: 1) waiting for CALLOUT

Waiting for send to finish...

+Sending STARTUP #2.

After apic_write.

target apic 1000000

after target chip

after eip write

Startup point 1.

Waiting for send to finish...

+After Startup.

Before Callout 1.

After Callout 1.

CALLIN, before setup_local_APIC().

Calibrating delay loop... 734.00 BogoMIPS

Stack at about 0000010001bebfd4

CPU: L1 I Cache: 64K (64 bytes/line/2 way), D cache 64K (64 bytes/line/2 way)

CPU: L2 Cache: 512K (64 bytes/line/8 way)

Intel machine check reporting enabled on CPU#1.

OK.

CPU1: QEMU Virtual CPU version 0.8.0 stepping 03

CPU has booted.

Before bogomips.

Total of 2 processors activated (4312.26 BogoMIPS).

Before bogocount - setting activated=1.

Boot done.

ENABLING IO-APIC IRQs

Using IO-APIC 2

...changing IO-APIC physical APIC ID to 2 ... ok.

..TIMER: vector=0x31 pin1=0 pin2=-1

testing the IO APIC.......................


.................................... done.

Using local APIC timer interrupts.

Detected 112.204 MHz APIC timer.

cpu: 0, clocks: 17952695, slice: 5984231

CPU0<T0:17952688,T1:11968320,D:137,S:5984231,C:17952695>

cpu: 1, clocks: 17952695, slice: 5984231

CPU1<T0:17952688,T1:90432,D:5893794,S:5984231,C:17952695>

checking TSC synchronization across CPUs: 

BIOS BUG: CPU#0 improperly initialized, has -1490 usecs TSC skew! FIXED.

BIOS BUG: CPU#1 improperly initialized, has 1490 usecs TSC skew! FIXED.

time.c: Using PIT based timekeeping.

Setting commenced=1, go go go

Starting migration thread for cpu 0

Starting migration thread for cpu 1

ACPI: Subsystem revision 20030619

PCI: Using configuration type 1

ACPI: System description tables not found

    ACPI-0084: *** Error: acpi_load_tables: Could not get RSDP, AE_NOT_FOUND

    ACPI-0134: *** Error: acpi_load_tables: Could not load tables: AE_NOT_FOUND

ACPI: Unable to load the System Description Tables

PCI: Probing PCI hardware

PCI: Using IRQ router PIIX [8086/7000] at 00:01.0

PCI BIOS passed nonexistent PCI bus 0!

Linux agpgart interface v0.99 (c) Jeff Hartmann

agpgart: Maximum main memory to use for agp memory: 150M

PCI-DMA: Disabling IOMMU.

PCI: PIIX3: Enabling Passive Release on 00:01.0

Limiting direct PCI/PCI transfers.

Activating ISA DMA hang workarounds.

Linux NET4.0 for Linux 2.4

Based upon Swansea University Computer Society NET3.039

Initializing RT netlink socket

Starting kswapd

VFS: Disk quotas vdquot_6.5.1

aio_setup: num_physpages = 12288

aio_setup: sizeof(struct page) = 104

Hugetlbfs mounted.

Total HugeTLB memory allocated, 0

IA32 emulation $Id: sys_ia32.c,v 1.56 2003/04/10 10:45:37 ak Exp $

pty: 2048 Unix98 ptys configured

Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ 
SERIAL_PCI SERIAL_ACPI enabled

ttyS0 at 0x03f8 (irq = 4) is a 16450

Real Time Clock Driver v1.10e

NET4: Frame Diverter 0.46

RAMDISK driver initialized: 256 RAM disks of 9216K size 1024 blocksize

Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4

ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx

PIIX3: IDE controller at PCI slot 00:01.1

PIIX3: chipset revision 0

PIIX3: not 100% native mode: will probe irqs later

PCI: Setting latency timer of device 00:01.1 to 64

    ide0: BM-DMA at 0xc000-0xc007, BIOS settings: hda:pio, hdb:pio

    ide1: BM-DMA at 0xc008-0xc00f, BIOS settings: hdc:pio, hdd:pio

hda: QEMU HARDDISK, ATA DISK drive

hdc: QEMU CD-ROM, ATAPI CD/DVD-ROM drive

ide0 at 0x1f0-0x1f7,0x3f6 on irq 14

ide1 at 0x170-0x177,0x376 on irq 15

hda: attached ide-disk driver.

hda: 12582912 sectors (6442 MB) w/256KiB Cache, CHS=12483/16/63, (U)DMA

ide-floppy driver 0.99.newide

Partition check:

 hda: unknown partition table

ide-floppy driver 0.99.newide

md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27

md: Autodetecting RAID arrays.

md: autorun ...

md: ... autorun DONE.

Initializing Cryptographic API

NET4: Linux TCP/IP 1.0 for NET4.0

IP: routing cache hash table of 1024 buckets, 16Kbytes

TCP: Hash tables configured (established 8192 bind 8192)

Linux IP multicast router 0.06 plus PIM-SM

Initializing IPsec netlink socket

NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.

RAMDISK: Compressed image found at block 0

VFS: Mounted root (ext2 filesystem).

[9;0][8]Greetings.
CentOS install init version 9.1.6.8 starting
mounting /proc filesystem... done
mounting /dev/pts (unix98 pty) filesystem... done
CentOS install init version 9.1.6.8 using a serial console
remember, cereal is an important part of a nutritionally balanced breakfast.

trying to remount root filesystem read write... done
mounting /tmp as ramfs... done
Unable to handle kernel paging request at virtual address 0000007fbfffc148

 printing rip:

000000000040046e

PML4 b8aa067 PGD b8a7067 PMD b8a6067 PTE 800000000b899065

Oops: 0007

CPU 0 

Pid: 0, comm: swapper Not tainted

RIP: 0033:[<000000000040046e>]

RSP: 002b:0000007fbfffc150  EFLAGS: 00000202

RAX: 000000000000000d RBX: 000000000045205d RCX: 000000000040c220

RDX: 0000000000000000 RSI: 0000000000000041 RDI: 0000000000000003

RBP: 0000000000000003 R08: 0000000000020901 R09: 000000000001f8a1

R10: 000000000001f8a0 R11: 0000000000000246 R12: 0000007fbfffc760

R13: 0000000000000002 R14: 0000007fbfffc960 R15: 0000000000000000

FS:  0000000000000000(0000) GS:ffffffff805e8040(0000) knlGS:0000000000000000

CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b

CR2: 0000007fbfffc148 CR3: 0000000001bd1000 CR4: 00000000000006e0


Call Trace: 

Process swapper (pid: 0, stackpage=ffffffff8061f000)


Kernel panic: Fatal exception

In idle task - not syncing

 

Bootdata ok (command line is initrd=initrd.img ramdisk_size=9216 
BOOT_IMAGE=vmlinuz text console=ttyS0,115200)

Linux version 2.6.9-22.EL ([EMAIL PROTECTED]) (gcc version 3.4.4 20050721 (Red 
Hat 3.4.4-2)) #1 Sat Oct 8 21:08:40 BST 2005

BIOS-provided physical RAM map:

 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)

 BIOS-e820: 0000000000100000 - 000000000c000000 (usable)

ACPI: Unable to locate RSDP

No mptable found.

DMI not present.

Checking aperture...

Built 1 zonelists

Kernel command line: initrd=initrd.img ramdisk_size=9216 BOOT_IMAGE=vmlinuz 
text console=ttyS0,115200

Initializing CPU#0

PID hash table entries: 1024 (order: 10, 32768 bytes)

time.c: Using 1.193182 MHz PIT timer.

time.c: Detected 1795.125 MHz processor.

time.c: Using PIT/TSC based timekeeping.

Console: colour VGA+ 80x25

RAX=ffffffff80533900 RBX=0000000000000002 RCX=0000000000000000 
RDX=00000000fffffffe
RSI=000000000017648f RDI=000000000017648f RBP=ffffffff804cd340 
RSP=ffffffff804a1558
R8 =000000000017648f R9 =ffffffff805105a0 R10=00000000000003e8 
R11=ffffffff80537f38
R12=000000000000000a R13=ffffffff80537f38 R14=0000000000000000 
R15=0000000000000000
RIP=ffffffff8013f389 RFL=00010002 [-------] CPL=0 II=0 A20=1 HLT=0
ES =0018 0000000000000000 ffffffff 00cff300
CS =0010 0000000000000000 ffffffff 00affb00
SS =0018 0000000000000000 ffffffff 00cff300
DS =0018 0000000000000000 ffffffff 00cff300
FS =0000 0000000000000000 00000000 00000000
GS =0000 ffffffff80533900 00000000 00000000
LDT=0000 0000000000000000 00000000 00008000
TR =0040 ffffffff804a6600 000000ef 8000894a
GDT=     ffffffff8041c980 00000080
IDT=     ffffffff8041ca00 00001000
CR0=8005003b CR2=0000000000000000 CR3=0000000000101000 CR4=000006a0
Unsupported return value: 0xffffffff
_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to