On Fri, 2013-02-08 at 15:33 +0000, David Woodhouse wrote:
On Fri, 2013-02-08 at 15:27 +0000, Ian Campbell wrote:
On Fri, 2013-02-08 at 14:50 +0000, Ian Campbell wrote:
even with that and CONFIG_DEBUG_LEVEL=2 I still don't see the expected "Using pmtimer" message.
pci_setup() doesn't run on coreboot or Xen (because they do PCI setup themselves first), and AFAICT this is the path which leads to the call to pmtimer_setup(), so I don't think pmtimer will be initialised on either Xen or coreboot.
Except that my patch at http://git.infradead.org/users/dwmw2/seabios.git/commitdiff/56014611 adds a call to find_pmtimer() right after copying the Xen tables.
Right, it might help if I did "git bisect reset"and went back to the head of your branch!
With that I see the following, which looks good to me.
Ian.
(XEN) HVM166: HVM Loader (XEN) HVM166: Detected Xen v4.3-unstable (XEN) HVM166: Xenbus rings @0xfeffc000, event channel 4 (XEN) HVM166: System requested SeaBIOS (XEN) HVM166: CPU speed is 2400 MHz (XEN) HVM166: PCI-ISA link 0 routed to IRQ5 (XEN) HVM166: PCI-ISA link 1 routed to IRQ10 (XEN) HVM166: PCI-ISA link 2 routed to IRQ11 (XEN) HVM166: PCI-ISA link 3 routed to IRQ5 (XEN) HVM166: pci dev 01:3 INTA->IRQ10 (XEN) HVM166: pci dev 03:0 INTA->IRQ5 (XEN) HVM166: pci dev 04:0 INTA->IRQ5 (XEN) HVM166: pci dev 02:0 bar 10 size lx: 02000000 (XEN) HVM166: pci dev 03:0 bar 14 size lx: 01000000 (XEN) HVM166: pci dev 04:0 bar 10 size lx: 00020000 (XEN) HVM166: pci dev 04:0 bar 30 size lx: 00020000 (XEN) HVM166: pci dev 02:0 bar 30 size lx: 00010000 (XEN) HVM166: pci dev 02:0 bar 14 size lx: 00001000 (XEN) HVM166: pci dev 03:0 bar 10 size lx: 00000100 (XEN) HVM166: pci dev 04:0 bar 14 size lx: 00000040 (XEN) HVM166: pci dev 01:1 bar 20 size lx: 00000010 (XEN) HVM166: Multiprocessor initialisation: (XEN) HVM166: - CPU0 ... 36-bit phys ... fixed MTRRs ... var MTRRs [2/8] ... done. (XEN) HVM166: - CPU1 ... 36-bit phys ... fixed MTRRs ... var MTRRs [2/8] ... done. (XEN) HVM166: Testing HVM environment: (XEN) HVM166: - REP INSB across page boundaries ... passed (XEN) HVM166: - GS base MSRs and SWAPGS ... passed (XEN) HVM166: Passed 2 of 2 tests (XEN) HVM166: Writing SMBIOS tables ... (XEN) HVM166: Loading SeaBIOS ... (XEN) HVM166: Creating MP tables ... (XEN) HVM166: Loading ACPI ... (XEN) HVM166: vm86 TSS at fc00a080 (XEN) HVM166: BIOS map: (XEN) HVM166: 10000-100d3: Scratch space (XEN) HVM166: e0000-fffff: Main BIOS (XEN) HVM166: E820 table: (XEN) HVM166: [00]: 00000000:00000000 - 00000000:000a0000: RAM (XEN) HVM166: HOLE: 00000000:000a0000 - 00000000:000e0000 (XEN) HVM166: [01]: 00000000:000e0000 - 00000000:00100000: RESERVED (XEN) HVM166: [02]: 00000000:00100000 - 00000000:07800000: RAM (XEN) HVM166: HOLE: 00000000:07800000 - 00000000:fc000000 (XEN) HVM166: [03]: 00000000:fc000000 - 00000001:00000000: RESERVED (XEN) HVM166: Invoking SeaBIOS ... (XEN) HVM166: SeaBIOS (version rel-1.7.2-29-gf9614ba-dirty-20130208_160742-cosworth) (XEN) HVM166: (XEN) HVM166: Found Xen hypervisor signature at 40000000 (XEN) HVM166: xen: copy e820... (XEN) HVM166: Ram Size=0x07800000 (0x0000000000000000 high) (XEN) HVM166: Relocating low data from 0x000e2900 to 0x000ef780 (size 2164) (XEN) HVM166: Relocating init from 0x000e3174 to 0x077e2300 (size 56280) (XEN) HVM166: CPU Mhz=2403 (XEN) HVM166: Found 7 PCI devices (max PCI bus is 00) (XEN) HVM166: Allocated Xen hypercall page at 77ff000 (XEN) HVM166: Detected Xen v4.3-unstable (XEN) HVM166: Found 2 cpu(s) max supported 2 cpu(s) (XEN) HVM166: xen: copy BIOS tables... (XEN) HVM166: Copying SMBIOS entry point from 0x00010010 to 0x000fdb10 (XEN) HVM166: Copying MPTABLE from 0xfc001170/fc001180 to 0x000fda10 (XEN) HVM166: Copying PIR from 0x00010030 to 0x000fd990 (XEN) HVM166: Copying ACPI RSDP from 0x000100b0 to 0x000fd960 (XEN) HVM166: Using pmtimer, ioport 0xb008, freq 3579 kHz (XEN) HVM166: Scan for VGA option rom (XEN) HVM166: Found 1 lpt ports (XEN) HVM166: Found 1 serial ports (XEN) HVM166: Searching bootorder for: /pci@i0cf8/isa@1/fdc@03f0/floppy@0 (XEN) HVM166: ATA controller 1 at 1f0/3f4/c140 (irq 14 dev 9) (XEN) HVM166: ATA controller 2 at 170/374/c148 (irq 15 dev 9) (XEN) HVM166: ata0-0: QEMU HARDDISK ATA-7 Hard-Disk (8192 MiBytes) (XEN) HVM166: Searching bootorder for: /pci@i0cf8/*@1,1/drive@0/disk@0 (XEN) HVM166: DVD/CD [ata1-0: QEMU DVD-ROM ATAPI-4 DVD/CD] (XEN) HVM166: Searching bootorder for: /pci@i0cf8/*@1,1/drive@1/disk@0 (XEN) HVM166: PS2 keyboard initialized (XEN) HVM166: All threads complete. (XEN) HVM166: Scan for option roms (XEN) HVM166: Running option rom at c000:0003 (XEN) HVM166: pmm call arg1=1 (XEN) HVM166: pmm call arg1=0 (XEN) HVM166: pmm call arg1=1 (XEN) HVM166: pmm call arg1=0 (XEN) HVM166: Searching bootorder for: /pci@i0cf8/*@4 (XEN) HVM166: (XEN) HVM166: Press F12 for boot menu. (XEN) HVM166: (XEN) HVM166: Searching bootorder for: HALT (XEN) HVM166: drive 0x000fd8e0: PCHS=16383/16/63 translation=lba LCHS=1024/255/63 s=16777216 (XEN) HVM166: (XEN) HVM166: Space available for UMB: 000c1000-000ee800 (XEN) HVM166: Returned 61440 bytes of ZoneHigh (XEN) HVM166: e820 map has 6 items: (XEN) HVM166: 0: 0000000000000000 - 000000000009fc00 = 1 RAM (XEN) HVM166: 1: 000000000009fc00 - 00000000000a0000 = 2 RESERVED (XEN) HVM166: 2: 00000000000f0000 - 0000000000100000 = 2 RESERVED (XEN) HVM166: 3: 0000000000100000 - 00000000077ff000 = 1 RAM (XEN) HVM166: 4: 00000000077ff000 - 0000000007800000 = 2 RESERVED (XEN) HVM166: 5: 00000000fc000000 - 0000000100000000 = 2 RESERVED (XEN) HVM166: enter handle_19: (XEN) HVM166: NULL (XEN) HVM166: Booting from ROM... (XEN) HVM166: Booting from c000:0372