From: Antoine M. <an...@na...> - 2008-01-06 19:28:08
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hi, Trying to boot KVM on a Core2Duo system, kvm-59 + linux-2.6.23.12 Booting with: qemu-system-x86_64 -hda /home/uml/BusyBox-1.5.0-amd64-root_fs -m 384 - -nographic -cpu qemu64 -kernel /boot/vmlinuz-2.6.23.12 -append "earlyprintk=serial,ttyS0,115200" Boot stops after: [ 0.509283] time.c: Detected 2393.985 MHz processor. [ 0.600090] Console: colour VGA+ 80x25 [ 0.600570] console handover: boot [earlyser0] -> real [tty0] It sits there using 100% CPU until I kill it. If I add "-serial file:serial.log", I get dropped to the qemu shell and the log file contains the same as above. Sorry if this has been covered before, couldn't find it. Cheers Antoine Strace of the spinning process: clock_gettime(CLOCK_MONOTONIC, {6003, 864979716}) = 0 ioctl(4, 0x4008ae61, 0x7fff64780f10) = 0 ioctl(4, 0x4008ae61, 0x7fff64780f10) = 0 ioctl(4, 0x4008ae61, 0x7fff64780f10) = 0 ioctl(4, 0x4008ae61, 0x7fff64780f10) = 0 clock_gettime(CLOCK_MONOTONIC, {6003, 865075815}) = 0 clock_gettime(CLOCK_MONOTONIC, {6003, 865092971}) = 0 timer_gettime(0, {it_interval={0, 0}, it_value={0, 0}}) = 0 timer_settime(0, 0, {it_interval={0, 0}, it_value={0, 250000}}, NULL) = 0 clock_gettime(CLOCK_MONOTONIC, {6003, 865156093}) = 0 clock_gettime(CLOCK_MONOTONIC, {6003, 865173715}) = 0 clock_gettime(CLOCK_MONOTONIC, {6003, 865192525}) = 0 clock_gettime(CLOCK_MONOTONIC, {6003, 865210519}) = 0 timer_gettime(0, {it_interval={0, 0}, it_value={0, 162334}}) = 0 ioctl(5, 0xae80, 0) = -1 EINTR (Interrupted system call) rt_sigtimedwait([USR2 ALRM IO], {si_signo=SIGALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value={int=0, ptr=0x7fff00000000}}, 0x7fff64781140, 8) = 14 rt_sigaction(SIGALRM, NULL, {0x60006e20, ~[KILL STOP RTMIN RT_1], SA_RESTORER, 0x2b6546c23ed0}, 8) = 0 rt_sigtimedwait([USR2 ALRM IO], 0x6026ee00) = -1 EAGAIN (Resource temporarily unavailable) select(1, [0], [], [], {0, 0}) = 0 (Timeout) clock_gettime(CLOCK_MONOTONIC, {6003, 874979291}) = 0 ioctl(4, 0x4008ae61, 0x7fff64780f10) = 0 ioctl(4, 0x4008ae61, 0x7fff64780f10) = 0 clock_gettime(CLOCK_MONOTONIC, {6003, 875036807}) = 0 clock_gettime(CLOCK_MONOTONIC, {6003, 875054053}) = 0 timer_gettime(0, {it_interval={0, 0}, it_value={0, 0}}) = 0 timer_settime(0, 0, {it_interval={0, 0}, it_value={0, 8781000}}, NULL) = 0 clock_gettime(CLOCK_MONOTONIC, {6003, 875116694}) = 0 clock_gettime(CLOCK_MONOTONIC, {6003, 875134858}) = 0 clock_gettime(CLOCK_MONOTONIC, {6003, 875152025}) = 0 timer_gettime(0, {it_interval={0, 0}, it_value={0, 8712787}}) = 0 timer_settime(0, 0, {it_interval={0, 0}, it_value={0, 8683000}}, NULL) = 0 ioctl(5, 0xae80 <unfinished ...> (ad-infinitum) Full boot log below: # qemu-system-x86_64 -hda /home/uml/BusyBox-1.5.0-amd64-root_fs -m 384 - -nographic -cpu qemu64 -kernel /boot/vmlinuz-2.6.23.12 -append "earlyprintk=serial,115200" [ 0.000000] Linux version 2.6.23.12 (root@gentoo) (gcc version 4.1.1 (Gentoo 4.1.1-r3)) #2 SMP Fri Jan 4 21:25:37 GMT 2008 [ 0.000000] Command line: earlyprintk=serial,115200 [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) [ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) [ 0.000000] BIOS-e820: 00000000000e8000 - 0000000000100000 (reserved) [ 0.000000] BIOS-e820: 0000000000100000 - 0000000017ff0000 (usable) [ 0.000000] BIOS-e820: 0000000017ff0000 - 0000000018000000 (ACPI data) [ 0.000000] BIOS-e820: 00000000fffbd000 - 0000000100000000 (reserved) [ 0.000000] console [earlyser0] enabled [ 0.000000] end_pfn_map = 1048576 kernel direct mapping tables up to 100000000 @ 8000-d000 [ 0.000000] DMI not present or invalid. [ 0.000000] ACPI: RSDP 000FAD00, 0014 (r0 QEMU ) [ 0.000000] ACPI: RSDT 17FF0000, 002C (r1 QEMU QEMURSDT 1 QEMU 1) [ 0.000000] ACPI: FACP 17FF002C, 0074 (r1 QEMU QEMUFACP 1 QEMU 1) [ 0.000000] ACPI: DSDT 17FF0100, 0948 (r1 BXPC BXDSDT 1 INTL 20061109) [ 0.000000] ACPI: FACS 17FF00C0, 0040 [ 0.000000] ACPI: APIC 17FF0A48, 0040 (r1 QEMU QEMUAPIC 1 QEMU 1) [ 0.000000] No mptable found. [ 0.000000] Zone PFN ranges: [ 0.000000] DMA 0 -> 4096 [ 0.000000] DMA32 4096 -> 1048576 [ 0.000000] Normal 1048576 -> 1048576 [ 0.000000] Movable zone start PFN for each node [ 0.000000] early_node_map[2] active PFN ranges [ 0.000000] 0: 0 -> 159 [ 0.000000] 0: 256 -> 98288 [ 0.000000] ACPI: PM-Timer IO Port: 0xb008 [ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) [ 0.000000] Processor #0 (Bootup-CPU) [ 0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0]) [ 0.000000] IOAPIC[0]: apic_id 1, address 0xfec00000, GSI 0-23 [ 0.000000] Setting APIC routing to flat [ 0.000000] Using ACPI (MADT) for SMP configuration information [ 0.000000] swsusp: Registered nosave memory region: 000000000009f000 - - 00000000000a0000 [ 0.000000] swsusp: Registered nosave memory region: 00000000000a0000 - - 00000000000e8000 [ 0.000000] swsusp: Registered nosave memory region: 00000000000e8000 - - 0000000000100000 [ 0.000000] Allocating PCI resources starting at 20000000 (gap: 18000000:e7fbd000) [ 0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs [ 0.000000] PERCPU: Allocating 31336 bytes of per cpu data [ 0.000000] Built 1 zonelists in Zone order. Total pages: 94849 [ 0.000000] Kernel command line: earlyprintk=serial,115200 [ 0.000000] Initializing CPU#0 [ 0.000000] PID hash table entries: 2048 (order: 11, 16384 bytes) [ 0.496644] time.c: Detected 2393.776 MHz processor. [ 0.587700] Console: colour VGA+ 80x25 [ 0.588182] console handover: boot [earlyser0] -> real [tty0] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREKAAYFAkeBK8MACgkQGK2zHPGK1rvVxQCeIIqxyiOF4cjE1LGmUNdz97nn t2cAnjnSUlqjHxBwXRTkXYRKahQy8IAg =qF2a -----END PGP SIGNATURE----- |
From: Izik E. <iz...@qu...> - 2008-01-06 19:37:22
|
Antoine Martin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Hi, > > Trying to boot KVM on a Core2Duo system, kvm-59 + linux-2.6.23.12 > Booting with: > qemu-system-x86_64 -hda /home/uml/BusyBox-1.5.0-amd64-root_fs -m 384 > - -nographic -cpu qemu64 -kernel /boot/vmlinuz-2.6.23.12 -append > "earlyprintk=serial,ttyS0,115200" > > what happen if you add -no-kvm? > Boot stops after: > [ 0.509283] time.c: Detected 2393.985 MHz processor. > [ 0.600090] Console: colour VGA+ 80x25 > [ 0.600570] console handover: boot [earlyser0] -> real [tty0] > > It sits there using 100% CPU until I kill it. > > If I add "-serial file:serial.log", I get dropped to the qemu shell and > the log file contains the same as above. > > Sorry if this has been covered before, couldn't find it. > > Cheers > Antoine > > > Strace of the spinning process: > clock_gettime(CLOCK_MONOTONIC, {6003, 864979716}) = 0 > ioctl(4, 0x4008ae61, 0x7fff64780f10) = 0 > ioctl(4, 0x4008ae61, 0x7fff64780f10) = 0 > ioctl(4, 0x4008ae61, 0x7fff64780f10) = 0 > ioctl(4, 0x4008ae61, 0x7fff64780f10) = 0 > clock_gettime(CLOCK_MONOTONIC, {6003, 865075815}) = 0 > clock_gettime(CLOCK_MONOTONIC, {6003, 865092971}) = 0 > timer_gettime(0, {it_interval={0, 0}, it_value={0, 0}}) = 0 > timer_settime(0, 0, {it_interval={0, 0}, it_value={0, 250000}}, NULL) = 0 > clock_gettime(CLOCK_MONOTONIC, {6003, 865156093}) = 0 > clock_gettime(CLOCK_MONOTONIC, {6003, 865173715}) = 0 > clock_gettime(CLOCK_MONOTONIC, {6003, 865192525}) = 0 > clock_gettime(CLOCK_MONOTONIC, {6003, 865210519}) = 0 > timer_gettime(0, {it_interval={0, 0}, it_value={0, 162334}}) = 0 > ioctl(5, 0xae80, 0) = -1 EINTR (Interrupted system call) > rt_sigtimedwait([USR2 ALRM IO], {si_signo=SIGALRM, si_code=SI_TIMER, > si_pid=0, si_uid=0, si_value={int=0, ptr=0x7fff00000000}}, > 0x7fff64781140, 8) = 14 > rt_sigaction(SIGALRM, NULL, {0x60006e20, ~[KILL STOP RTMIN RT_1], > SA_RESTORER, 0x2b6546c23ed0}, 8) = 0 > rt_sigtimedwait([USR2 ALRM IO], 0x6026ee00) = -1 EAGAIN (Resource > temporarily unavailable) > select(1, [0], [], [], {0, 0}) = 0 (Timeout) > clock_gettime(CLOCK_MONOTONIC, {6003, 874979291}) = 0 > ioctl(4, 0x4008ae61, 0x7fff64780f10) = 0 > ioctl(4, 0x4008ae61, 0x7fff64780f10) = 0 > clock_gettime(CLOCK_MONOTONIC, {6003, 875036807}) = 0 > clock_gettime(CLOCK_MONOTONIC, {6003, 875054053}) = 0 > timer_gettime(0, {it_interval={0, 0}, it_value={0, 0}}) = 0 > timer_settime(0, 0, {it_interval={0, 0}, it_value={0, 8781000}}, NULL) = 0 > clock_gettime(CLOCK_MONOTONIC, {6003, 875116694}) = 0 > clock_gettime(CLOCK_MONOTONIC, {6003, 875134858}) = 0 > clock_gettime(CLOCK_MONOTONIC, {6003, 875152025}) = 0 > timer_gettime(0, {it_interval={0, 0}, it_value={0, 8712787}}) = 0 > timer_settime(0, 0, {it_interval={0, 0}, it_value={0, 8683000}}, NULL) = 0 > ioctl(5, 0xae80 <unfinished ...> > (ad-infinitum) > > > Full boot log below: > # qemu-system-x86_64 -hda /home/uml/BusyBox-1.5.0-amd64-root_fs -m 384 > - -nographic -cpu qemu64 -kernel /boot/vmlinuz-2.6.23.12 -append > "earlyprintk=serial,115200" > [ 0.000000] Linux version 2.6.23.12 (root@gentoo) (gcc version 4.1.1 > (Gentoo 4.1.1-r3)) #2 SMP Fri Jan 4 21:25:37 GMT 2008 > [ 0.000000] Command line: earlyprintk=serial,115200 > [ 0.000000] BIOS-provided physical RAM map: > [ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) > [ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) > [ 0.000000] BIOS-e820: 00000000000e8000 - 0000000000100000 (reserved) > [ 0.000000] BIOS-e820: 0000000000100000 - 0000000017ff0000 (usable) > [ 0.000000] BIOS-e820: 0000000017ff0000 - 0000000018000000 (ACPI data) > [ 0.000000] BIOS-e820: 00000000fffbd000 - 0000000100000000 (reserved) > [ 0.000000] console [earlyser0] enabled > [ 0.000000] end_pfn_map = 1048576 > kernel direct mapping tables up to 100000000 @ 8000-d000 > [ 0.000000] DMI not present or invalid. > [ 0.000000] ACPI: RSDP 000FAD00, 0014 (r0 QEMU ) > [ 0.000000] ACPI: RSDT 17FF0000, 002C (r1 QEMU QEMURSDT 1 > QEMU 1) > [ 0.000000] ACPI: FACP 17FF002C, 0074 (r1 QEMU QEMUFACP 1 > QEMU 1) > [ 0.000000] ACPI: DSDT 17FF0100, 0948 (r1 BXPC BXDSDT 1 > INTL 20061109) > [ 0.000000] ACPI: FACS 17FF00C0, 0040 > [ 0.000000] ACPI: APIC 17FF0A48, 0040 (r1 QEMU QEMUAPIC 1 > QEMU 1) > [ 0.000000] No mptable found. > [ 0.000000] Zone PFN ranges: > [ 0.000000] DMA 0 -> 4096 > [ 0.000000] DMA32 4096 -> 1048576 > [ 0.000000] Normal 1048576 -> 1048576 > [ 0.000000] Movable zone start PFN for each node > [ 0.000000] early_node_map[2] active PFN ranges > [ 0.000000] 0: 0 -> 159 > [ 0.000000] 0: 256 -> 98288 > [ 0.000000] ACPI: PM-Timer IO Port: 0xb008 > [ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) > [ 0.000000] Processor #0 (Bootup-CPU) > [ 0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0]) > [ 0.000000] IOAPIC[0]: apic_id 1, address 0xfec00000, GSI 0-23 > [ 0.000000] Setting APIC routing to flat > [ 0.000000] Using ACPI (MADT) for SMP configuration information > [ 0.000000] swsusp: Registered nosave memory region: 000000000009f000 > - - 00000000000a0000 > [ 0.000000] swsusp: Registered nosave memory region: 00000000000a0000 > - - 00000000000e8000 > [ 0.000000] swsusp: Registered nosave memory region: 00000000000e8000 > - - 0000000000100000 > [ 0.000000] Allocating PCI resources starting at 20000000 (gap: > 18000000:e7fbd000) > [ 0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs > [ 0.000000] PERCPU: Allocating 31336 bytes of per cpu data > [ 0.000000] Built 1 zonelists in Zone order. Total pages: 94849 > [ 0.000000] Kernel command line: earlyprintk=serial,115200 > [ 0.000000] Initializing CPU#0 > [ 0.000000] PID hash table entries: 2048 (order: 11, 16384 bytes) > [ 0.496644] time.c: Detected 2393.776 MHz processor. > [ 0.587700] Console: colour VGA+ 80x25 > [ 0.588182] console handover: boot [earlyser0] -> real [tty0] > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.8 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEAREKAAYFAkeBK8MACgkQGK2zHPGK1rvVxQCeIIqxyiOF4cjE1LGmUNdz97nn > t2cAnjnSUlqjHxBwXRTkXYRKahQy8IAg > =qF2a > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > kvm-devel mailing list > kvm...@li... > https://lists.sourceforge.net/lists/listinfo/kvm-devel > |
From: Antoine M. <an...@na...> - 2008-01-06 19:39:35
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Izik Eidus wrote: > Antoine Martin wrote: > Hi, > > Trying to boot KVM on a Core2Duo system, kvm-59 + linux-2.6.23.12 > Booting with: > qemu-system-x86_64 -hda /home/uml/BusyBox-1.5.0-amd64-root_fs -m 384 > -nographic -cpu qemu64 -kernel /boot/vmlinuz-2.6.23.12 -append > "earlyprintk=serial,ttyS0,115200" > > > >> what happen if you add -no-kvm? # qemu-system-x86_64 -no-kvm -hda /home/uml/BusyBox-1.5.0-amd64-root_fs - -m 384 -nographic -cpu qemu64 -kernel /boot/vmlinuz-2.6.23.12 -append "earlyprintk=serial,115200" Segmentation fault strace: open("/usr/local/share/qemu/vgabios-cirrus.bin", O_RDONLY) = 4 lseek(4, 0, SEEK_END) = 35840 lseek(4, 0, SEEK_SET) = 0 read(4, "U\252F\351\355\0Plex86/Bochs VGABios \0\0\0IB"..., 35840) = 35840 close(4) = 0 brk(0x626b8000) = 0x626b8000 open("/boot/vmlinuz-2.6.23.12", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=3365240, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b674d45f000 lseek(4, 0, SEEK_CUR) = 0 fstat(4, {st_mode=S_IFREG|0644, st_size=3365240, ...}) = 0 lseek(4, 3362816, SEEK_SET) = 3362816 read(4, "\302t@H\215=\20\6\0\0\350\241\343\377\377\351\253\370\377\377\211-\202I\0\0\273\4\0\0\0H"..., 2424) = 2424 lseek(4, 0, SEEK_SET) = 0 read(4, "\352\5\0\300\7\214\310\216\330\216\300\216\3201\344\373\374\276-\0\254 \300t\t\264\16\273\7\0\315\20"..., 4096) = 4096 read(4, "\0\214\330f\17\267\300f\301\340\4f\5\0*\0\0f\243B-f\17\1\26@-f\303f\203\354"..., 4096) = 4096 read(4, "\213\36Z2f\307\6`,\220@\0\0f\350\255\370\377\377f\350c\376\377\377f1\300f\350\27\371"..., 4096) = 4096 read(4, "1\300\216\330\216\300\216\320\216\340\216\350\17\0\320\270 \0\0\0\17\0\330H\307\305\0\0 \0H\211"..., 3350528) = 3350528 read(4, "\302t@H\215=\20\6\0\0\350\241\343\377\377\351\253\370\377\377\211-\202I\0\0\273\4\0\0\0H"..., 4096) = 2424 close(4) = 0 munmap(0x2b674d45f000, 4096) = 0 lseek(3, 0, SEEK_SET) = 0 read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 512) = 512 open("/etc/localtime", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=3661, ...}) = 0 fstat(4, {st_mode=S_IFREG|0644, st_size=3661, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b674d45f000 read(4, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\7\0\0\0\7\0\0\0\0"..., 4096) = 3661 lseek(4, -2338, SEEK_CUR) = 1323 read(4, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\10\0\0\0\0"..., 4096) = 2338 close(4) = 0 munmap(0x2b674d45f000, 4096) = 0 lseek(3, 0, SEEK_END) = 16777216 lseek(3, 0, SEEK_END) = 16777216 lseek(3, 0, SEEK_END) = 16777216 brk(0x626db000) = 0x626db000 clock_gettime(CLOCK_MONOTONIC, {6697, 835147767}) = 0 clock_gettime(CLOCK_MONOTONIC, {6697, 835169254}) = 0 clock_gettime(CLOCK_MONOTONIC, {6697, 835187680}) = 0 clock_gettime(CLOCK_MONOTONIC, {6697, 835206704}) = 0 timer_gettime(0, {it_interval={0, 0}, it_value={0, 0}}) = 0 timer_settime(0, 0, {it_interval={0, 0}, it_value={0, 250000}}, NULL) = 0 - --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ Antoine -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREKAAYFAkeBLnQACgkQGK2zHPGK1rsaPACfaWQz1umqsXDV9Zp6ZxGVkLUR OSAAmgOFNNRAxnqYxgbvjEZV2fSCJ83h =cEEm -----END PGP SIGNATURE----- |
From: Antoine M. <an...@na...> - 2008-01-06 22:32:59
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Antoine Martin wrote: > Izik Eidus wrote: >> Antoine Martin wrote: >> Hi, > >> Trying to boot KVM on a Core2Duo system, kvm-59 + linux-2.6.23.12 >> Booting with: >> qemu-system-x86_64 -hda /home/uml/BusyBox-1.5.0-amd64-root_fs -m 384 >> -nographic -cpu qemu64 -kernel /boot/vmlinuz-2.6.23.12 -append >> "earlyprintk=serial,ttyS0,115200" > > > >>> what happen if you add -no-kvm? > # qemu-system-x86_64 -no-kvm -hda /home/uml/BusyBox-1.5.0-amd64-root_fs > -m 384 -nographic -cpu qemu64 -kernel /boot/vmlinuz-2.6.23.12 -append > "earlyprintk=serial,115200" > Segmentation fault > I thought maybe a newer kernel would help, so I tried 2.6.24-rc6: # qemu-system-x86_64 -hda /home/uml/BusyBox-1.5.0-amd64-root_fs -m 384 - -nographic -cpu qemu64 -kernel /boot/vmlinuz-2.6.24-rc6 -append "earlyprintk=serial,115200" exception 13 (0) rax 0000000000000000 rbx 0000000000000000 rcx 0000000000000000 rdx 0000000000000600 rsi 0000000000000000 rdi 0000000000000000 rsp 0000000000000000 rbp 0000000000000000 r8 0000000000000000 r9 0000000000000000 r10 0000000000000000 r11 0000000000000000 r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 0000000000000000 rip 0000000000010000 rflags 00033046 cs f000 (000f0000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) ds 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) es 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) ss 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) fs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) gs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) tr 0000 (18c00000/00002088 p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0) ldt 0000 (00000000/0000ffff p 1 dpl 0 db 0 s 0 type 2 l 0 g 0 avl 0) gdt 0/ffff idt 0/ffff cr0 60000010 cr2 0 cr3 0 cr4 0 cr8 0 efer 0 code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 --> fc f6 86 11 02 00 00 40 75 0c fa b8 18 00 00 00 8e d8 8e c0 8e d0 8d a6 e8 01 00 00 e8 00 Aborted Am I being unlucky, doing something wrong or do you need a more specific configuration to get kvm working? Cheers Antoine -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREKAAYFAkeBVxcACgkQGK2zHPGK1rt81wCfWE7oGdo/mPfeG/Ig7JrB4QJT TQAAn0tffOWD/aY/hsxEpwZHUHMqM0GH =C9A+ -----END PGP SIGNATURE----- |
From: Avi K. <av...@qu...> - 2008-01-07 09:16:15
|
Antoine Martin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Hi, > > Trying to boot KVM on a Core2Duo system, kvm-59 + linux-2.6.23.12 > Booting with: > qemu-system-x86_64 -hda /home/uml/BusyBox-1.5.0-amd64-root_fs -m 384 > - -nographic -cpu qemu64 -kernel /boot/vmlinuz-2.6.23.12 -append > "earlyprintk=serial,ttyS0,115200" > > Does regular boot (without -kernel) work? -- error compiling committee.c: too many arguments to function |
From: Antoine M. <an...@na...> - 2008-01-07 19:30:47
|
Avi Kivity wrote: > Antoine Martin wrote: >> >> Hi, >> >> Trying to boot KVM on a Core2Duo system, kvm-59 + linux-2.6.23.12 >> Booting with: >> qemu-system-x86_64 -hda /home/uml/BusyBox-1.5.0-amd64-root_fs -m 384 >> - -nographic -cpu qemu64 -kernel /boot/vmlinuz-2.6.23.12 -append >> "earlyprintk=serial,ttyS0,115200" >> >> > > Does regular boot (without -kernel) work? > Nope, it's just spinning at 100% cpu, tried stock 2.6.23.12 and 2.6.24-rc6, lots of clock_gettime(CLOCK_MONOTONIC,... Do I need to enable/disable some RTC / HPET options? Cheers Antoine here is the start of the strace: # execve("/usr/local/bin/qemu-system-x86_64", ["qemu-system-x86_64", "-hda", "./BusyBox-1.5.0-amd64-root_fs", "-m", "384", "-nographic", "-append", "earlyp rintk=serial,115200"...], [/* 26 vars */]) = 0 brk(0) = 0x62541000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae8327b7000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae8327b8000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=23976, ...}) = 0 mmap(NULL, 23976, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2ae8327b9000 close(3) = 0 open("/lib/libm.so.6", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0?\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=526472, ...}) = 0 mmap(NULL, 2621672, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ae8329b8000 mprotect(0x2ae832a38000, 2093056, PROT_NONE) = 0 mmap(0x2ae832c37000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7f000) = 0x2ae832c37000 close(3) = 0 open("/lib/libz.so.1", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\35\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=84272, ...}) = 0 mmap(NULL, 2179560, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ae832c39000 mprotect(0x2ae832c4d000, 2093056, PROT_NONE) = 0 mmap(0x2ae832e4c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13000) = 0x2ae832e4c000 close(3) = 0 open("/usr/lib/libSDL-1.2.so.0", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0pe\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=255360, ...}) = 0 mmap(NULL, 2361936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ae832e4e000 mprotect(0x2ae832e8a000, 2097152, PROT_NONE) = 0 mmap(0x2ae83308a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3c000) = 0x2ae83308a000 mmap(0x2ae83308c000, 10832, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ae83308c000 close(3) = 0 open("/lib/libpthread.so.0", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260W\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=131897, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae83308f000 mmap(NULL, 2204528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ae833090000 mprotect(0x2ae8330a5000, 2097152, PROT_NONE) = 0 mmap(0x2ae8332a5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x2ae8332a5000 mmap(0x2ae8332a7000, 13168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ae8332a7000 close(3) = 0 open("/lib/librt.so.1", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\"\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=35688, ...}) = 0 mmap(NULL, 2132968, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ae8332ab000 mprotect(0x2ae8332b3000, 2093056, PROT_NONE) = 0 mmap(0x2ae8334b2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x2ae8334b2000 close(3) = 0 open("/lib/libutil.so.1", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\16\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=10488, ...}) = 0 mmap(NULL, 2105624, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ae8334b4000 mprotect(0x2ae8334b6000, 2093056, PROT_NONE) = 0 mmap(0x2ae8336b5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x2ae8336b5000 close(3) = 0 open("/lib/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\334\1\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1293456, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae8336b7000 mmap(NULL, 3399928, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ae8336b8000 mprotect(0x2ae8337ee000, 2093056, PROT_NONE) = 0 mmap(0x2ae8339ed000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x135000) = 0x2ae8339ed000 mmap(0x2ae8339f2000, 16632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ae8339f2000 close(3) = 0 open("/lib/libdl.so.2", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\16\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=14528, ...}) = 0 mmap(NULL, 2109728, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ae8339f7000 mprotect(0x2ae8339f9000, 2097152, PROT_NONE) = 0 mmap(0x2ae833bf9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x2ae833bf9000 close(3) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae833bfb000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae833bfc000 arch_prctl(ARCH_SET_FS, 0x2ae833bfbf60) = 0 mprotect(0x2ae833bf9000, 4096, PROT_READ) = 0 mprotect(0x2ae8339ed000, 16384, PROT_READ) = 0 mprotect(0x2ae8336b5000, 4096, PROT_READ) = 0 mprotect(0x2ae8334b2000, 4096, PROT_READ) = 0 mprotect(0x2ae8332a5000, 4096, PROT_READ) = 0 mprotect(0x2ae83308a000, 4096, PROT_READ) = 0 mprotect(0x2ae832e4c000, 4096, PROT_READ) = 0 mprotect(0x2ae832c37000, 4096, PROT_READ) = 0 mprotect(0x2ae8329b6000, 4096, PROT_READ) = 0 munmap(0x2ae8327b9000, 23976) = 0 set_tid_address(0x2ae833bfbff0) = 6164 set_robust_list(0x2ae833bfc000, 0x18) = 0 rt_sigaction(SIGRTMIN, {0x2ae833095320, [], SA_RESTORER|SA_SIGINFO, 0x2ae83309ded0}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {0x2ae8330953a0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x2ae83309ded0}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0 open("/dev/kvm", O_RDWR) = 3 ioctl(3, 0xae00, 0) = 12 brk(0) = 0x62541000 brk(0x62562000) = 0x62562000 clock_gettime(CLOCK_MONOTONIC, {903, 611665420}) = 0 rt_sigaction(SIGALRM, {0x60006e20, ~[RTMIN RT_1], SA_RESTORER, 0x2ae83309ded0}, NULL, 8) = 0 timer_create(CLOCK_REALTIME, {(nil), SIGALRM, SIGEV_SIGNAL, {...}}, {0x6025ec0000000000}) = 0 rt_sigaction(SIGUSR2, {0x60017fa0, ~[RTMIN RT_1], SA_RESTORER, 0x2ae83309ded0}, NULL, 8) = 0 open("/etc/resolv.conf", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=83, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae8327b9000 read(4, "# Generated by dhcpcd for interf"..., 4096) = 83 read(4, "", 4096) = 0 close(4) = 0 munmap(0x2ae8327b9000, 4096) = 0 uname({sys="Linux", node="mamba", ...}) = 0 open("/etc/resolv.conf", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=83, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae8327b9000 read(4, "# Generated by dhcpcd for interf"..., 4096) = 83 read(4, "", 4096) = 0 close(4) = 0 munmap(0x2ae8327b9000, 4096) = 0 stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=83, ...}) = 0 open("/etc/resolv.conf", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=83, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae8327b9000 read(4, "# Generated by dhcpcd for interf"..., 4096) = 83 read(4, "", 4096) = 0 close(4) = 0 munmap(0x2ae8327b9000, 4096) = 0 socket(PF_FILE, SOCK_STREAM, 0) = 4 fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) close(4) = 0 socket(PF_FILE, SOCK_STREAM, 0) = 4 fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) close(4) = 0 open("/etc/nsswitch.conf", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=508, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae8327b9000 read(4, "# /etc/nsswitch.conf:\n# $Header:"..., 4096) = 508 read(4, "", 4096) = 0 close(4) = 0 munmap(0x2ae8327b9000, 4096) = 0 open("/etc/ld.so.cache", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=23976, ...}) = 0 mmap(NULL, 23976, PROT_READ, MAP_PRIVATE, 4, 0) = 0x2ae8327b9000 close(4) = 0 open("/lib/libnss_files.so.2", O_RDONLY) = 4 read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200 \0\0\0\0\0\0"..., 832) = 832 fstat(4, {st_mode=S_IFREG|0755, st_size=43344, ...}) = 0 mmap(NULL, 2139464, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x2ae833bfd000 mprotect(0x2ae833c07000, 2093056, PROT_NONE) = 0 mmap(0x2ae833e06000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x9000) = 0x2ae833e06000 close(4) = 0 mprotect(0x2ae833e06000, 4096, PROT_READ) = 0 munmap(0x2ae8327b9000, 23976) = 0 open("/etc/host.conf", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=936, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae8327b9000 read(4, "# /etc/host.conf:\n# $Header: /va"..., 4096) = 936 read(4, "", 4096) = 0 close(4) = 0 munmap(0x2ae8327b9000, 4096) = 0 futex(0x2ae8339f4c80, FUTEX_WAKE, 2147483647) = 0 open("/etc/hosts", O_RDONLY) = 4 fcntl(4, F_GETFD) = 0 fcntl(4, F_SETFD, FD_CLOEXEC) = 0 fstat(4, {st_mode=S_IFREG|0644, st_size=1061, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae8327b9000 read(4, "# /etc/hosts: Local Host Databas"..., 4096) = 1061 read(4, "", 4096) = 0 close(4) = 0 munmap(0x2ae8327b9000, 4096) = 0 open("/etc/ld.so.cache", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=23976, ...}) = 0 mmap(NULL, 23976, PROT_READ, MAP_PRIVATE, 4, 0) = 0x2ae8327b9000 close(4) = 0 open("/lib/libnss_dns.so.2", O_RDONLY) = 4 read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\17\0\0\0\0\0\0"..., 832) = 832 fstat(4, {st_mode=S_IFREG|0755, st_size=18664, ...}) = 0 mmap(NULL, 2113800, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x2ae833e08000 mprotect(0x2ae833e0c000, 2093056, PROT_NONE) = 0 mmap(0x2ae83400b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x3000) = 0x2ae83400b000 close(4) = 0 open("/lib/libresolv.so.2", O_RDONLY) = 4 read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\3203\0\0\0\0\0\0"..., 832) = 832 fstat(4, {st_mode=S_IFREG|0755, st_size=72464, ...}) = 0 mmap(NULL, 2177800, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x2ae83400d000 mprotect(0x2ae83401d000, 2097152, PROT_NONE) = 0 mmap(0x2ae83421d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x10000) = 0x2ae83421d000 mmap(0x2ae83421f000, 6920, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ae83421f000 close(4) = 0 mprotect(0x2ae83421d000, 4096, PROT_READ) = 0 mprotect(0x2ae83400b000, 4096, PROT_READ) = 0 munmap(0x2ae8327b9000, 23976) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.0.1")}, 28) = 0 fcntl(4, F_GETFL) = 0x2 (flags O_RDWR) fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0 poll([{fd=4, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1 sendto(4, "\251\231\1\0\0\1\0\0\0\0\0\0\5mamba\vlocaldomain\0\0"..., 35, MSG_NOSIGNAL, NULL, 0) = 35 poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, 5000) = 1 ioctl(4, FIONREAD, [110]) = 0 recvfrom(4, "\251\231\201\203\0\1\0\0\0\1\0\0\5mamba\vlocaldomain\0\0"..., 1024, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.0 .1")}, [16]) = 110 close(4) = 0 ioctl(3, 0xae01, 0) = 4 ioctl(3, 0xae03, 0x4) = 0 ioctl(3, 0xae03, 0x3) = 0 ioctl(3, 0xae03, 0x4) = 0 ioctl(3, 0xae03, 0x4) = 0 ioctl(4, 0x4018ae40, 0x7fff78306ef0) = 0 ioctl(4, 0x4018ae40, 0x7fff78306ed0) = 0 mmap(NULL, 415248384, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0) = 0x2ae834221000 open("/dev/zero", O_RDONLY) = 5 mmap(0x2ae8342c9000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0) = 0x2ae8342c9000 close(5) = 0 ioctl(3, 0xae03, 0) = 0 ioctl(4, 0xae41, 0) = 5 ioctl(3, 0xae04, 0) = 8192 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_SHARED, 5, 0) = 0x2ae84ce24000 ioctl(3, 0xc004ae02, 0x7fff78306f80) = -1 E2BIG (Argument list too long) ioctl(3, 0xc004ae02, 0x62543030) = 0 ioctl(3, 0xae03, 0x3) = 0 stat("./BusyBox-1.5.0-amd64-root_fs", {st_mode=S_IFREG|0644, st_size=16777216, ...}) = 0 open("./BusyBox-1.5.0-amd64-root_fs", O_RDONLY) = 6 lseek(6, 0, SEEK_END) = 16777216 lseek(6, 0, SEEK_SET) = 0 read(6, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 2048) = 2048 close(6) = 0 open("./BusyBox-1.5.0-amd64-root_fs", O_RDWR) = 6 lseek(6, 0, SEEK_END) = 16777216 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 fcntl(0, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE) ioctl(0, SNDCTL_TMR_START or TCSETS, {B38400 opost -isig -icanon -echo ...}) = 0 fcntl(0, F_SETFL, O_RDONLY|O_NONBLOCK) = 0 mprotect(0x6153a000, 16781312, PROT_READ|PROT_WRITE|PROT_EXEC) = 0 brk(0x6258f000) = 0x6258f000 ioctl(3, 0xae03, 0x3) = 0 brk(0x625b0000) = 0x625b0000 brk(0x625d1000) = 0x625d1000 brk(0x625f2000) = 0x625f2000 brk(0x62613000) = 0x62613000 brk(0x62634000) = 0x62634000 brk(0x62655000) = 0x62655000 brk(0x62676000) = 0x62676000 brk(0x62697000) = 0x62697000 open("/usr/local/share/qemu/bios.bin", O_RDONLY) = 7 lseek(7, 0, SEEK_END) = 131072 close(7) = 0 open("/usr/local/share/qemu/bios.bin", O_RDONLY) = 7 lseek(7, 0, SEEK_END) = 131072 lseek(7, 0, SEEK_SET) = 0 read(7, "1\300\277Hi\4\0\271\204i\4\0)\371\363\252\351\vQ\0\0001\300\216\330\377\6\0\360\364\353\375"..., 131072) = 131072 close(7) = 0 open("/usr/local/share/qemu/vgabios-cirrus.bin", O_RDONLY) = 7 lseek(7, 0, SEEK_END) = 35840 close(7) = 0 open("/usr/local/share/qemu/vgabios-cirrus.bin", O_RDONLY) = 7 lseek(7, 0, SEEK_END) = 35840 lseek(7, 0, SEEK_SET) = 0 read(7, "U\252F\351\355\0Plex86/Bochs VGABios \0\0\0IB"..., 35840) = 35840 close(7) = 0 ioctl(3, 0xae03, 0x3) = 0 ioctl(3, 0xae03, 0x3) = 0 brk(0x626b8000) = 0x626b8000 ioctl(3, 0xae03, 0x3) = 0 ioctl(3, 0xae03, 0x3) = 0 ioctl(3, 0xae03, 0x4) = 0 ioctl(4, 0x4018ae40, 0x7fff783063f0) = 0 mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0xfffe0000) = 0x2ae84ce26000 mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae84ce46000 open("/etc/localtime", O_RDONLY) = 7 fstat(7, {st_mode=S_IFREG|0644, st_size=3661, ...}) = 0 fstat(7, {st_mode=S_IFREG|0644, st_size=3661, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae84d647000 read(7, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\7\0\0\0\7\0\0\0\0"..., 4096) = 3661 lseek(7, -2338, SEEK_CUR) = 1323 read(7, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\10\0\0\0\0"..., 4096) = 2338 close(7) = 0 munmap(0x2ae84d647000, 4096) = 0 lseek(6, 0, SEEK_END) = 16777216 lseek(6, 0, SEEK_END) = 16777216 lseek(6, 0, SEEK_END) = 16777216 lseek(6, 0, SEEK_SET) = 0 read(6, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 512) = 512 brk(0x626db000) = 0x626db000 clock_gettime(CLOCK_MONOTONIC, {903, 817836369}) = 0 rt_sigprocmask(SIG_BLOCK, [IO], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [ALRM IO], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [USR2 ALRM IO], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [USR2 ALRM IO RT_6], NULL, 8) = 0 rt_sigaction(SIGRT_6, {0x6008af30, [RT_6], SA_RESTORER|SA_RESTART, 0x2ae8336e8430}, {SIG_DFL}, 8) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 817996209}) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 818017176}) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 818037546}) = 0 timer_gettime(0, {it_interval={0, 0}, it_value={0, 0}}) = 0 timer_settime(0, 0, {it_interval={0, 0}, it_value={0, 250000}}, NULL) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [USR2 ALRM IO RT_6], 8) = 0 ioctl(5, 0x4004ae8b, 0x6257df70) = 0 uname({sys="Linux", node="mamba", ...}) = 0 ioctl(5, 0x4008ae8a, 0x6257a810) = 0 ioctl(3, 0xae03, 0x6) = 0 ioctl(5, 0xae80, 0) = -1 EINTR (Interrupted system call) rt_sigtimedwait([USR2 ALRM IO RT_6], {si_signo=SIGALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value={int=0, ptr=0}}, 0x7fff78306d20, 8) = 14 rt_sigaction(SIGALRM, NULL, {0x60006e20, ~[KILL STOP RTMIN RT_1], SA_RESTORER, 0x2ae83309ded0}, 8) = 0 rt_sigtimedwait([USR2 ALRM IO RT_6], 0x6026ee00) = -1 EAGAIN (Resource temporarily unavailable) select(1, [0], [], [], {0, 0}) = 0 (Timeout) clock_gettime(CLOCK_MONOTONIC, {903, 823564382}) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 823585192}) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 823605645}) = 0 timer_gettime(0, {it_interval={0, 0}, it_value={0, 0}}) = 0 timer_settime(0, 0, {it_interval={0, 0}, it_value={0, 250000}}, NULL) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 823673485}) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 823694588}) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 823715203}) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 823735475}) = 0 timer_gettime(0, {it_interval={0, 0}, it_value={0, 148590}}) = 0 ioctl(5, 0xae80, 0) = -1 EINTR (Interrupted system call) rt_sigtimedwait([USR2 ALRM IO RT_6], {si_signo=SIGALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value={int=0, ptr=0}}, 0x7fff78306d20, 8) = 14 rt_sigaction(SIGALRM, NULL, {0x60006e20, ~[KILL STOP RTMIN RT_1], SA_RESTORER, 0x2ae83309ded0}, 8) = 0 rt_sigtimedwait([USR2 ALRM IO RT_6], 0x6026ee00) = -1 EAGAIN (Resource temporarily unavailable) select(1, [0], [], [], {0, 0}) = 0 (Timeout) clock_gettime(CLOCK_MONOTONIC, {903, 833532609}) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 833553404}) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 833573875}) = 0 timer_gettime(0, {it_interval={0, 0}, it_value={0, 0}}) = 0 timer_settime(0, 0, {it_interval={0, 0}, it_value={0, 11886000}}, NULL) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 833641395}) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 833661987}) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 833682387}) = 0 timer_gettime(0, {it_interval={0, 0}, it_value={0, 11805768}}) = 0 timer_settime(0, 0, {it_interval={0, 0}, it_value={0, 11777000}}, NULL) = 0 ioctl(5, 0xae80, 0) = -1 EINTR (Interrupted system call) rt_sigtimedwait([USR2 ALRM IO RT_6], {si_signo=SIGALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value={int=0, ptr=0}}, 0x7fff78306d20, 8) = 14 rt_sigaction(SIGALRM, NULL, {0x60006e20, ~[KILL STOP RTMIN RT_1], SA_RESTORER, 0x2ae83309ded0}, 8) = 0 rt_sigtimedwait([USR2 ALRM IO RT_6], 0x6026ee00) = -1 EAGAIN (Resource temporarily unavailable) select(1, [0], [], [], {0, 0}) = 0 (Timeout) clock_gettime(CLOCK_MONOTONIC, {903, 853549350}) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 853571856}) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 853592395}) = 0 timer_gettime(0, {it_interval={0, 0}, it_value={0, 0}}) = 0 timer_settime(0, 0, {it_interval={0, 0}, it_value={0, 250000}}, NULL) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 853659773}) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 853680481}) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 853701088}) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 853721567}) = 0 timer_gettime(0, {it_interval={0, 0}, it_value={0, 149048}}) = 0 ioctl(5, 0xae80, 0) = -1 EINTR (Interrupted system call) rt_sigtimedwait([USR2 ALRM IO RT_6], {si_signo=SIGALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value={int=0, ptr=0}}, 0x7fff78306d20, 8) = 14 rt_sigaction(SIGALRM, NULL, {0x60006e20, ~[KILL STOP RTMIN RT_1], SA_RESTORER, 0x2ae83309ded0}, 8) = 0 rt_sigtimedwait([USR2 ALRM IO RT_6], 0x6026ee00) = -1 EAGAIN (Resource temporarily unavailable) select(1, [0], [], [], {0, 0}) = 0 (Timeout) clock_gettime(CLOCK_MONOTONIC, {903, 863536524}) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 863557150}) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 863577685}) = 0 timer_gettime(0, {it_interval={0, 0}, it_value={0, 0}}) = 0 timer_settime(0, 0, {it_interval={0, 0}, it_value={0, 9344000}}, NULL) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 863645074}) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 863665594}) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 863686088}) = 0 timer_gettime(0, {it_interval={0, 0}, it_value={0, 9263851}}) = 0 timer_settime(0, 0, {it_interval={0, 0}, it_value={0, 9236000}}, NULL) = 0 ioctl(5, 0xae80, 0) = -1 EINTR (Interrupted system call) rt_sigtimedwait([USR2 ALRM IO RT_6], {si_signo=SIGALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value={int=0, ptr=0}}, 0x7fff78306d20, 8) = 14 rt_sigaction(SIGALRM, NULL, {0x60006e20, ~[KILL STOP RTMIN RT_1], SA_RESTORER, 0x2ae83309ded0}, 8) = 0 rt_sigtimedwait([USR2 ALRM IO RT_6], 0x6026ee00) = -1 EAGAIN (Resource temporarily unavailable) select(1, [0], [], [], {0, 0}) = 0 (Timeout) clock_gettime(CLOCK_MONOTONIC, {903, 883535813}) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 883557992}) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 883578519}) = 0 timer_gettime(0, {it_interval={0, 0}, it_value={0, 0}}) = 0 timer_settime(0, 0, {it_interval={0, 0}, it_value={0, 250000}}, NULL) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 883645720}) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 883666267}) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 883686874}) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 883707390}) = 0 timer_gettime(0, {it_interval={0, 0}, it_value={0, 149229}}) = 0 ioctl(5, 0xae80, 0) = -1 EINTR (Interrupted system call) rt_sigtimedwait([USR2 ALRM IO RT_6], {si_signo=SIGALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value={int=0, ptr=0}}, 0x7fff78306d20, 8) = 14 rt_sigaction(SIGALRM, NULL, {0x60006e20, ~[KILL STOP RTMIN RT_1], SA_RESTORER, 0x2ae83309ded0}, 8) = 0 rt_sigtimedwait([USR2 ALRM IO RT_6], 0x6026ee00) = -1 EAGAIN (Resource temporarily unavailable) select(1, [0], [], [], {0, 0}) = 0 (Timeout) clock_gettime(CLOCK_MONOTONIC, {903, 893537217}) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 893557903}) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 893578382}) = 0 timer_gettime(0, {it_interval={0, 0}, it_value={0, 0}}) = 0 timer_settime(0, 0, {it_interval={0, 0}, it_value={0, 6806000}}, NULL) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 893646282}) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 893666848}) = 0 clock_gettime(CLOCK_MONOTONIC, {903, 893687391}) = 0 timer_gettime(0, {it_interval={0, 0}, it_value={0, 6725671}}) = 0 timer_settime(0, 0, {it_interval={0, 0}, it_value={0, 6697000}}, NULL) = 0 ioctl(5, 0xae80, 0) = -1 EINTR (Interrupted system call) rt_sigtimedwait([USR2 ALRM IO RT_6], {si_signo=SIGALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value={int=0, ptr=0}}, 0x7fff78306d20, 8) = 14 rt_sigaction(SIGALRM, NULL, {0x60006e20, ~[KILL STOP RTMIN RT_1], SA_RESTORER, 0x2ae83309ded0}, 8) = 0 rt_sigtimedwait([USR2 ALRM IO RT_6], 0x6026ee00) = -1 EAGAIN (Resource temporarily unavailable) |
From: Carlo M. A. B. <ca...@sa...> - 2008-01-07 22:26:39
|
On Mon, Jan 07, 2008 at 07:30:44PM +0000, Antoine Martin wrote: > Avi Kivity wrote: > > Antoine Martin wrote: > >> > >> Hi, > >> > >> Trying to boot KVM on a Core2Duo system, kvm-59 + linux-2.6.23.12 > >> Booting with: > >> qemu-system-x86_64 -hda /home/uml/BusyBox-1.5.0-amd64-root_fs -m 384 > >> - -nographic -cpu qemu64 -kernel /boot/vmlinuz-2.6.23.12 -append > >> "earlyprintk=serial,ttyS0,115200" > >> > >> > > > > Does regular boot (without -kernel) work? > > > Nope, it's just spinning at 100% cpu, tried stock 2.6.23.12 and > 2.6.24-rc6, lots of clock_gettime(CLOCK_MONOTONIC,... this is a big guess as I have no way to test it or know the internals well enough to come with an authoritative answer, but I remember having a similar problem once which was fixed by using the kernel option "nolapic" > Do I need to enable/disable some RTC / HPET options? there used to be a bug about it before which was closed by the reported even though I was able to reproduce it after all (haven't looked since) and it was related to the use of CONFIG_HPET_EMULATE_RTC=y in the guest kernel. sorry for not giving you any hard evidence, but I am just going from memory here and though I would mention it just in case it could help. Carlo |
From: Antoine M. <an...@na...> - 2008-01-08 00:12:14
|
Carlo Marcelo Arenas Belon wrote: > On Mon, Jan 07, 2008 at 07:30:44PM +0000, Antoine Martin wrote: >> Avi Kivity wrote: >>> Antoine Martin wrote: >>>> Hi, >>>> >>>> Trying to boot KVM on a Core2Duo system, kvm-59 + linux-2.6.23.12 >>>> Booting with: >>>> qemu-system-x86_64 -hda /home/uml/BusyBox-1.5.0-amd64-root_fs -m 384 >>>> - -nographic -cpu qemu64 -kernel /boot/vmlinuz-2.6.23.12 -append >>>> "earlyprintk=serial,ttyS0,115200" >>>> >>>> >>> Does regular boot (without -kernel) work? >>> >> Nope, it's just spinning at 100% cpu, tried stock 2.6.23.12 and >> 2.6.24-rc6, lots of clock_gettime(CLOCK_MONOTONIC,... > > this is a big guess as I have no way to test it or know the internals well > enough to come with an authoritative answer, but I remember having a similar > problem once which was fixed by using the kernel option "nolapic" I assume this is for the host? (no effect on the guest) unfortunately that box won't boot with nolapic, the sata controllers timeout. (although I haven't tried turning apic off in the bios) >> Do I need to enable/disable some RTC / HPET options? > > there used to be a bug about it before which was closed by the reported > even though I was able to reproduce it after all (haven't looked since) and it > was related to the use of CONFIG_HPET_EMULATE_RTC=y in the guest kernel. I've disabled that, and everything else I could trim. Still no luck :( > sorry for not giving you any hard evidence, but I am just going from memory > here and though I would mention it just in case it could help. Thanks, much appreciated. gdb gives me this, dunno if this helps: #0 0x00002b231784d777 in ioctl () from /lib/libc.so.6 #1 0x00000000600ef2df in kvm_run (kvm=0x62541010, vcpu=0) at libkvm.c:901 #2 0x000000006008bdb6 in kvm_cpu_exec (env=<value optimized out>) at /usr/src/kvm-59/qemu/qemu-kvm.c:143 #3 0x000000006008bf80 in kvm_main_loop_cpu (env=0x62546100) at /usr/src/kvm-59/qemu/qemu-kvm.c:341 #4 0x00000000600108f7 in main (argc=8, argv=0x7fff9422e758) at /usr/src/kvm-59/qemu/vl.c:7771 Which is this: r = ioctl(fd, KVM_RUN, 0); where int fd = kvm->vcpu_fd[vcpu]; Antoine |
From: Avi K. <av...@qu...> - 2008-01-08 08:34:14
|
Antoine Martin wrote: > Avi Kivity wrote: > >> Antoine Martin wrote: >> >>> Hi, >>> >>> Trying to boot KVM on a Core2Duo system, kvm-59 + linux-2.6.23.12 >>> Booting with: >>> qemu-system-x86_64 -hda /home/uml/BusyBox-1.5.0-amd64-root_fs -m 384 >>> - -nographic -cpu qemu64 -kernel /boot/vmlinuz-2.6.23.12 -append >>> "earlyprintk=serial,ttyS0,115200" >>> >>> >>> >> Does regular boot (without -kernel) work? >> >> > Nope, it's just spinning at 100% cpu, tried stock 2.6.23.12 and > 2.6.24-rc6, lots of clock_gettime(CLOCK_MONOTONIC,... > > Do I need to enable/disable some RTC / HPET options? > It's worth trying. If that doesn't work, maybe you can upload an image for me to debug. -- error compiling committee.c: too many arguments to function |
From: Antoine M. <an...@na...> - 2008-01-08 18:55:24
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Avi Kivity wrote: > Antoine Martin wrote: >> Avi Kivity wrote: >> >>> Antoine Martin wrote: >>> >>>> Hi, >>>> >>>> Trying to boot KVM on a Core2Duo system, kvm-59 + linux-2.6.23.12 >>>> Booting with: >>>> qemu-system-x86_64 -hda /home/uml/BusyBox-1.5.0-amd64-root_fs -m 384 >>>> - -nographic -cpu qemu64 -kernel /boot/vmlinuz-2.6.23.12 -append >>>> "earlyprintk=serial,ttyS0,115200" >>>> >>>> >>> Does regular boot (without -kernel) work? >>> >>> >> Nope, it's just spinning at 100% cpu, tried stock 2.6.23.12 and >> 2.6.24-rc6, lots of clock_gettime(CLOCK_MONOTONIC,... >> >> Do I need to enable/disable some RTC / HPET options? >> > > It's worth trying. Didn't help... > If that doesn't work, maybe you can upload an image > for me to debug. http://194.145.196.85/kvm/vmlinuz-2.6.24-rc7.bz2 Thanks for your time Antoine -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREKAAYFAkeDxswACgkQGK2zHPGK1ru8ZgCfcbt/mXL8dE4tiAXcBYm4DjnN T5wAnA1fU9kEl5AUN7m7GN+r2yiLRxcx =cwev -----END PGP SIGNATURE----- |
From: Antoine M. <an...@na...> - 2008-01-12 18:07:22
|
>> If that doesn't work, maybe you can upload an image >> for me to debug. > > http://194.145.196.85/kvm/vmlinuz-2.6.24-rc7.bz2 > Any luck? Any other ideas for me to try? FYI, just tried building 2.6.24-rc7-git4 and got this warning: (...) LD vmlinux.o MODPOST vmlinux.o WARNING: vmlinux.o(.text+0x2cb657): Section mismatch: reference to .init.text:register_cpu_notifier (between 'kvm_init_x86' and 'kvm_sched_in') WARNING: vmlinux.o(.text.head+0xe4): Section mismatch: reference to .init.data.2:trampoline_level4_pgt (between 'ident_complete' and 'secondary_startup_64') WARNING: vmlinux.o(.text.head+0xeb): Section mismatch: reference to .init.data.2:trampoline_level4_pgt (between 'ident_complete' and 'secondary_startup_64') LD vmlinux Cheers Antoine |
From: Avi K. <av...@qu...> - 2008-01-12 21:07:46
|
Antoine Martin wrote: >>> If that doesn't work, maybe you can upload an image >>> for me to debug. >>> >> http://194.145.196.85/kvm/vmlinuz-2.6.24-rc7.bz2 >> >> > Any luck? Any other ideas for me to try? > > Haven't got around to it yet, sorry. > FYI, just tried building 2.6.24-rc7-git4 and got this warning: > (...) > LD vmlinux.o > MODPOST vmlinux.o > WARNING: vmlinux.o(.text+0x2cb657): Section mismatch: reference to > .init.text:register_cpu_notifier (between 'kvm_init_x86' and 'kvm_sched_in') > WARNING: vmlinux.o(.text.head+0xe4): Section mismatch: reference to > .init.data.2:trampoline_level4_pgt (between 'ident_complete' and > 'secondary_startup_64') > WARNING: vmlinux.o(.text.head+0xeb): Section mismatch: reference to > .init.data.2:trampoline_level4_pgt (between 'ident_complete' and > 'secondary_startup_64') > LD vmlinux > > Probably harmless, but worth reporting to lkml. -- Any sufficiently difficult bug is indistinguishable from a feature. |
From: Carlo M. A. B. <ca...@sa...> - 2008-01-12 22:15:00
|
On Sat, Jan 12, 2008 at 11:01:28PM +0200, Avi Kivity wrote: > Antoine Martin wrote: > > > FYI, just tried building 2.6.24-rc7-git4 and got this warning: > > (...) > > LD vmlinux.o > > MODPOST vmlinux.o > > WARNING: vmlinux.o(.text+0x2cb657): Section mismatch: reference to > > .init.text:register_cpu_notifier (between 'kvm_init_x86' and 'kvm_sched_in') > > WARNING: vmlinux.o(.text.head+0xe4): Section mismatch: reference to > > .init.data.2:trampoline_level4_pgt (between 'ident_complete' and > > 'secondary_startup_64') > > WARNING: vmlinux.o(.text.head+0xeb): Section mismatch: reference to > > .init.data.2:trampoline_level4_pgt (between 'ident_complete' and > > 'secondary_startup_64') > > LD vmlinux > > Probably harmless, but worth reporting to lkml. couldn't replicate it here, but I'd seen usually those kind of errors when building a kernel that hasn't been "mrproper" between re-configurations Carlo |
From: Antoine M. <an...@na...> - 2008-01-13 01:19:19
|
Carlo Marcelo Arenas Belon wrote: > On Sat, Jan 12, 2008 at 11:01:28PM +0200, Avi Kivity wrote: >> Antoine Martin wrote: >> >>> FYI, just tried building 2.6.24-rc7-git4 and got this warning: >>> (...) >> Probably harmless, but worth reporting to lkml. > > couldn't replicate it here, but I'd seen usually those kind of errors > when building a kernel that hasn't been "mrproper" between re-configurations > cp .config ../config-2.6.24-rc7-git4 make mrproper cp ../config-2.6.24-rc7-git4 .config make -j 4 (...) MODPOST vmlinux.o WARNING: vmlinux.o(.text+0x2cb657): Section mismatch: reference to .init.text:register_cpu_notifier (between 'kvm_init_x86' and 'kvm_sched_in') WARNING: vmlinux.o(.text.head+0xe4): Section mismatch: reference to .init.data.2:trampoline_level4_pgt (between 'ident_complete' and 'secondary_startup_64') WARNING: vmlinux.o(.text.head+0xeb): Section mismatch: reference to .init.data.2:trampoline_level4_pgt (between 'ident_complete' and 'secondary_startup_64') LD vmlinux SYSMAP System.map SYSMAP .tmp_System.map You can grab the .config here: http://194.145.196.85/kvm/config-2.6.24-rc7-git4 Antoine |
From: Carlo M. A. B. <ca...@sa...> - 2008-01-13 03:00:36
|
On Sun, Jan 13, 2008 at 01:19:13AM +0000, Antoine Martin wrote: > Carlo Marcelo Arenas Belon wrote: > > On Sat, Jan 12, 2008 at 11:01:28PM +0200, Avi Kivity wrote: > >> Antoine Martin wrote: > >> > >>> FYI, just tried building 2.6.24-rc7-git4 and got this warning: > >>> (...) > >> Probably harmless, but worth reporting to lkml. > > > > couldn't replicate it here, but I'd seen usually those kind of errors > > when building a kernel that hasn't been "mrproper" between re-configurations > > > cp .config ../config-2.6.24-rc7-git4 > make mrproper > cp ../config-2.6.24-rc7-git4 .config make oldconfig # presumed > make -j 4 replicated with your configuration, but can't still reproduce it with mine even when forcing as you do CONFIG_KVM=y CONFIG_KVM_INTEL=y available from : http://tapir.sajinet.com.pe/kvm/config-2.6.24-rc7-git4 > (...) > MODPOST vmlinux.o > WARNING: vmlinux.o(.text+0x2cb657): Section mismatch: reference to > .init.text:register_cpu_notifier (between 'kvm_init_x86' and 'kvm_sched_in') > WARNING: vmlinux.o(.text.head+0xe4): Section mismatch: reference to > .init.data.2:trampoline_level4_pgt (between 'ident_complete' and > 'secondary_startup_64') > WARNING: vmlinux.o(.text.head+0xeb): Section mismatch: reference to > .init.data.2:trampoline_level4_pgt (between 'ident_complete' and > 'secondary_startup_64') > LD vmlinux > SYSMAP System.map > SYSMAP .tmp_System.map > > You can grab the .config here: > http://194.145.196.85/kvm/config-2.6.24-rc7-git4 is this the configuration for the host kernel? if you want to use the last code for kvm you should have CONFIG_KVM disabled and instead use the external module as instructed in (HINT: you don't have a patched kernel) : http://kvm.qumranet.com/kvmwiki/HOWTO1 not sure which version will be part of 2.6.24 but I suspect it might not be kvm 59. Carlo |
From: Carlo M. A. B. <ca...@sa...> - 2008-01-13 03:23:47
|
On Sat, Jan 12, 2008 at 06:07:19PM +0000, Antoine Martin wrote: > >> If that doesn't work, maybe you can upload an image > >> for me to debug. > > > > http://194.145.196.85/kvm/vmlinuz-2.6.24-rc7.bz2 > > > Any luck? Any other ideas for me to try? see if the problem goes away with -no-kvm-irqchip and using "nolapic" in the guest kernel if that doesn't fix it, use the last kvm code as an external module Carlo |
From: Antoine M. <an...@na...> - 2008-01-13 12:32:04
|
Carlo Marcelo Arenas Belon wrote: > On Sat, Jan 12, 2008 at 06:07:19PM +0000, Antoine Martin wrote: >>>> If that doesn't work, maybe you can upload an image >>>> for me to debug. >>> http://194.145.196.85/kvm/vmlinuz-2.6.24-rc7.bz2 >>> >> Any luck? Any other ideas for me to try? > > see if the problem goes away with -no-kvm-irqchip and using "nolapic" in the > guest kernel No change. > if that doesn't fix it, use the last kvm code as an external module No change. :( Antoine |
From: Antoine M. <an...@na...> - 2008-02-26 21:53:15
|
Antoine Martin wrote: > Carlo Marcelo Arenas Belon wrote: >> On Sat, Jan 12, 2008 at 06:07:19PM +0000, Antoine Martin wrote: >>>>> If that doesn't work, maybe you can upload an image >>>>> for me to debug. >>>> http://194.145.196.85/kvm/vmlinuz-2.6.24-rc7.bz2 >>>> >>> Any luck? Any other ideas for me to try? >> see if the problem goes away with -no-kvm-irqchip and using "nolapic" in the >> guest kernel > No change. > >> if that doesn't fix it, use the last kvm code as an external module > No change. > :( All good now. FYI: Once I got the console output after boot using a cmdline like "earlyprintk=serial,ttyS0,115200,keep console=ttyS0,115200" I found that the kernel was spinning, failing because of some problem with the fstab or something like that (can't remember now.. need sleep) That's using 2.6.24.2 Note that I have to use the '-kernel' switch otherwise it doesn't work. Cheers Antoine |