On Fri, Dec 12, 2008 at 7:15 PM, Aviv Grafi <aviv@xxxxxxxxxxxx> wrote:
> You can use the Xen console (serial) to reboot the machine. Just press
> 'r' (or 'h' to see other commands).
I added panic=5 to the linux kernel arguments which has had the
desired effect, unfortunatly despite the serial console working with
Xen and Linux it appears to not work with grub, I copied the grub
serial config from my main workstation so I am sure the config is
correct as it works on that system, but on this Dell Optiplex 755 I
get no grub menu over the serial console, just the Xen & Linux dmesg,
oops, and reboot, so the machine is now stuck in a rebooting loop
until I get back to the office on tuesday :(.
> I'm had the same ata problem two weeks ago. I found strange irq behavior
> then. Anyway, I will try the updated tree on Sunday.
>
>
> -----Original Message-----
> From: Andrew Lyon [mailto:andrew.lyon@xxxxxxxxx]
> Sent: Friday, December 12, 2008 9:09 PM
> To: Jeremy Fitzhardinge
> Cc: Xen-devel; Aviv Grafi; Ian Campbell
> Subject: Re: [Xen-devel] Re: pv_ops dom0 USB fixed
>
> On Fri, Dec 12, 2008 at 5:20 PM, Jeremy Fitzhardinge <jeremy@xxxxxxxx>
> wrote:
>> Andrew Lyon wrote:
>>>
>>> On Fri, Dec 12, 2008 at 4:43 PM, Jeremy Fitzhardinge
> <jeremy@xxxxxxxx>
>>> wrote:
>>>
>>>>
>>>> Andrew Lyon wrote:
>>>>
>>>>>
>>>>> I tried with the patch anyway, it didnt seem to make any
> difference.
>>>>>
>>>>> I also booted the kernel on the bare metal and it works perfectly,
> the
>>>>> sata hd is detected ok.
>>>>>
>>>>> Anything I can do to help debug this?
>>>>>
>>>>>
>>>>
>>>> Can you switch your controller back to legacy mode (in the BIOS) and
> see
>>>> what happens? It looks like a problem with the AHCI driver.
>>>>
>>>> J
>>>>
>>>>
>>>
>>> In legacy mode it fails much quicker, perhaps I need to enable
>>> different drivers for legacy mode? but I think ive used 2.6.27 in
>>> legacy mode with the same config as I use now, in AHCI mode it takes
> a
>>> while for the timeouts to happen, here is the dmesg:
>>>
>>> __ __ _____ _____ ___
>>> \ \/ /___ _ __ |___ / |___ / / _ \
>>> \ // _ \ '_ \ |_ \ |_ \| | | |
>>> / \ __/ | | | ___) | ___) | |_| |
>>> /_/\_\___|_| |_| |____(_)____(_)___/
>>>
>>> (XEN) Xen version 3.3.0 (root@) (gcc version 4.1.2 (Gentoo 4.1.2
>>> p1.0.2)) Thu Dec 11 11:52:12 GMT 2008
>>> (XEN) Latest ChangeSet: unavailable
>>> (XEN) Command line: iommu=1 com1=115200,8n1 console=com1,vga
>>> cpufreq=dom0-kernel dom0_mem=1G
>>> (XEN) Video information:
>>> (XEN) VGA is text mode 80x25, font 8x16
>>> (XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds
>>> (XEN) Disc information:
>>> (XEN) Found 1 MBR signatures
>>> (XEN) Found 1 EDD information structures
>>> (XEN) Xen-e820 RAM map:
>>> (XEN) 0000000000000000 - 000000000009fc00 (usable)
>>> (XEN) 00000000000f0000 - 0000000000100000 (reserved)
>>> (XEN) 0000000000100000 - 00000000cfdff800 (usable)
>>> (XEN) 00000000cfdff800 - 00000000cfe53c00 (ACPI NVS)
>>> (XEN) 00000000cfe53c00 - 00000000cfe55c00 (ACPI data)
>>> (XEN) 00000000cfe55c00 - 00000000d0000000 (reserved)
>>> (XEN) 00000000e0000000 - 00000000f0000000 (reserved)
>>> (XEN) 00000000fec00000 - 00000000fed00400 (reserved)
>>> (XEN) 00000000fed20000 - 00000000feda0000 (reserved)
>>> (XEN) 00000000fee00000 - 00000000fef00000 (reserved)
>>> (XEN) 00000000ffb00000 - 0000000100000000 (reserved)
>>> (XEN) 0000000100000000 - 0000000128000000 (usable)
>>> (XEN) System RAM: 3965MB (4060792kB)
>>> (XEN) ACPI: RSDP 000FEC00, 0024 (r2 DELL )
>>> (XEN) ACPI: XSDT 000FC5B3, 008C (r1 DELL B9K 15 ASL
>>> 61)
>>> (XEN) ACPI: FACP 000FC6E3, 00F4 (r3 DELL B9K 15 ASL
>>> 61)
>>> (XEN) ACPI: DSDT FFF76BF6, 4596 (r1 DELL dt_ex 1000 INTL
>>> 20050624)
>>> (XEN) ACPI: FACS CFDFF800, 0040
>>> (XEN) ACPI: SSDT FFF7B2AB, 00AA (r1 DELL st_ex 1000 INTL
>>> 20050624)
>>> (XEN) ACPI: APIC 000FC7D7, 0092 (r1 DELL B9K 15 ASL
>>> 61)
>>> (XEN) ACPI: BOOT 000FC869, 0028 (r1 DELL B9K 15 ASL
>>> 61)
>>> (XEN) ACPI: ASF! 000FC891, 0096 (r32 DELL B9K 15 ASL
>>> 61)
>>> (XEN) ACPI: MCFG 000FC927, 003E (r1 DELL B9K 15 ASL
>>> 61)
>>> (XEN) ACPI: HPET 000FC965, 0038 (r1 DELL B9K 15 ASL
>>> 61)
>>> (XEN) ACPI: TCPA 000FCBC1, 0032 (r1 DELL B9K 15 ASL
>>> 61)
>>> (XEN) ACPI: DMAR 000FCBF3, 00D0 (r1 DELL B9K 15 ASL
>>> 61)
>>> (XEN) ACPI: SLIC 000FC99D, 0176 (r1 DELL B9K 15 ASL
>>> 61)
>>> (XEN) ACPI: SSDT CFDFF840, 01F9 (r1 DpgPmm Cpu0Ist 11 INTL
>>> 20050624)
>>> (XEN) ACPI: SSDT CFDFFC49, 01F9 (r1 DpgPmm Cpu1Ist 11 INTL
>>> 20050624)
>>> (XEN) ACPI: SSDT CFE00052, 0140 (r1 DpgPmm CpuPm 10 INTL
>>> 20050624)
>>> (XEN) Xen heap: 14MB (14632kB)
>>> (XEN) Domain heap initialised
>>> (XEN) Processor #0 6:15 APIC version 20
>>> (XEN) Processor #1 6:15 APIC version 20
>>> (XEN) IOAPIC[0]: apic_id 8, version 32, address 0xfec00000, GSI 0-23
>>> (XEN) Enabling APIC mode: Flat. Using 1 I/O APICs
>>> (XEN) Intel VT-d has been enabled
>>> (XEN) Using scheduler: SMP Credit Scheduler (credit)
>>> (XEN) Detected 2394.073 MHz processor.
>>> (XEN) HVM: VMX enabled
>>> (XEN) CPU0: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz stepping
> 06
>>> (XEN) Booting processor 1/1 eip 8c000
>>> (XEN) CPU1: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz stepping
> 06
>>> (XEN) Total of 2 processors activated.
>>> (XEN) ENABLING IO-APIC IRQs
>>> (XEN) -> Using new ACK method
>>> (XEN) checking TSC synchronization across 2 CPUs: passed.
>>> (XEN) Platform timer is 14.318MHz HPET
>>> (XEN) Brought up 2 CPUs
>>> (XEN) I/O virtualisation enabled
>>> (XEN) I/O virtualisation for PV guests disabled
>>> (XEN) *** LOADING DOMAIN 0 ***
>>> (XEN) Xen kernel: 64-bit, lsb, compat32
>>> (XEN) Dom0 kernel: 64-bit, PAE, lsb, paddr 0x200000 -> 0x87c3d0
>>> (XEN) PHYSICAL MEMORY ARRANGEMENT:
>>> (XEN) Dom0 alloc.: 0000000122000000->0000000123000000 (258048
> pages
>>> to be allocated)
>>> (XEN) VIRTUAL MEMORY ARRANGEMENT:
>>> (XEN) Loaded kernel: ffffffff80200000->ffffffff8087c3d0
>>> (XEN) Init. ramdisk: ffffffff8087d000->ffffffff8087d000
>>> (XEN) Phys-Mach map: ffffffff8087d000->ffffffff80a7d000
>>> (XEN) Start info: ffffffff80a7d000->ffffffff80a7d4a4
>>> (XEN) Page tables: ffffffff80a7e000->ffffffff80a87000
>>> (XEN) Boot stack: ffffffff80a87000->ffffffff80a88000
>>> (XEN) TOTAL: ffffffff80000000->ffffffff80c00000
>>> (XEN) ENTRY ADDRESS: ffffffff80741200
>>> (XEN) Dom0 has maximum 2 VCPUs
>>> (XEN) Scrubbing Free RAM: ............................done.
>>> (XEN) Xen trace buffers: disabled
>>> (XEN) Std. Loglevel: Errors and warnings
>>> (XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings)
>>> (XEN) Xen is relinquishing VGA console.
>>> (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch
>>> input to Xen)
>>> (XEN) Freed 108kB init memory.
>>> mapping kernel into physical memory
>>> Xen: setup ISA identity maps
>>> about to get started...
>>> (XEN) ioapic_guest_write: apic=0, pin=2, old_irq=0, new_irq=-1
>>> (XEN) ioapic_guest_write: old_entry=000009f0, new_entry=00010900
>>> (XEN) ioapic_guest_write: Attempt to remove IO-APIC pin of in-use
> IRQ!
>>> (XEN) ioapic_guest_write: apic=0, pin=4, old_irq=4, new_irq=-1
>>> (XEN) ioapic_guest_write: old_entry=000009f1, new_entry=00010900
>>> (XEN) ioapic_guest_write: Attempt to remove IO-APIC pin of in-use
> IRQ!
>>> Linux version 2.6.28-rc8-tip (root@localhost) (gcc version 4.1.2
>>> (Gentoo 4.1.2 p1.0.2)) #1 SMP Fri Dec 12 08:57:32 GMT 2008
>>> Command line: root=/dev/sda2 swiotlb=256 console=hvc0 earlyprink=xen
>>> pciback.hide=(03:02.0) pci=nomsi
>>> KERNEL supported cpus:
>>> Intel GenuineIntel
>>> AMD AuthenticAMD
>>> Centaur CentaurHauls
>>> BIOS-provided physical RAM map:
>>> Xen: 0000000000000000 - 00000000000a0000 (usable)
>>> Xen: 00000000000a0000 - 0000000000100000 (reserved)
>>> Xen: 0000000000100000 - 000000000087d000 (usable)
>>> Xen: 000000000087d000 - 0000000000a7e000 (reserved)
>>> Xen: 0000000000a7e000 - 0000000040000000 (usable)
>>> DMI 2.5 present.
>>> last_pfn = 0x40000 max_arch_pfn = 0x3ffffffff
>>> init_memory_mapping: 0000000000000000-0000000040000000
>>> last_map_addr: 40000000 end: 40000000
>>> ACPI: RSDP 000FEC00, 0024 (r2 DELL )
>>> ACPI: XSDT 000FC5B3, 008C (r1 DELL B9K 15 ASL 61)
>>> ACPI: FACP 000FC6E3, 00F4 (r3 DELL B9K 15 ASL 61)
>>> ACPI: DSDT FFF76BF6, 4596 (r1 DELL dt_ex 1000 INTL 20050624)
>>> ACPI: FACS CFDFF800, 0040
>>> ACPI: SSDT FFF7B2AB, 00AA (r1 DELL st_ex 1000 INTL 20050624)
>>> ACPI: APIC 000FC7D7, 0092 (r1 DELL B9K 15 ASL 61)
>>> ACPI: BOOT 000FC869, 0028 (r1 DELL B9K 15 ASL 61)
>>> ACPI: ASF! 000FC891, 0096 (r32 DELL B9K 15 ASL
> 61)
>>> ACPI: MCFG 000FC927, 003E (r1 DELL B9K 15 ASL 61)
>>> ACPI: HPET 000FC965, 0038 (r1 DELL B9K 15 ASL 61)
>>> ACPI: TCPA 000FCBC1, 0032 (r1 DELL B9K 15 ASL 61)
>>> ACPI: DMAR 000FCBF3, 00D0 (r1 DELL B9K 15 ASL 61)
>>> ACPI: SLIC 000FC99D, 0176 (r1 DELL B9K 15 ASL 61)
>>> ACPI: SSDT CFDFF840, 01F9 (r1 DpgPmm Cpu0Ist 11 INTL 20050624)
>>> ACPI: SSDT CFDFFC49, 01F9 (r1 DpgPmm Cpu1Ist 11 INTL 20050624)
>>> ACPI: SSDT CFE00052, 0140 (r1 DpgPmm CpuPm 10 INTL 20050624)
>>> (5 early reservations) ==> bootmem [0000000000 - 0040000000]
>>> #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 -
>>> 0000001000]
>>> #1 [0000a7e000 - 0000a87000] XEN PAGETABLES ==> [0000a7e000 -
>>> 0000a87000]
>>> #2 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 -
>>> 0000008000]
>>> #3 [0000200000 - 000087c3d0] TEXT DATA BSS ==> [0000200000 -
>>> 000087c3d0]
>>> #4 [0000a87000 - 0000c7d000] PGTABLE ==> [0000a87000 -
>>> 0000c7d000]
>>> found SMP MP-table at [ffff8800000fe710] 000fe710
>>> Zone PFN ranges:
>>> DMA 0x00000000 -> 0x00001000
>>> DMA32 0x00001000 -> 0x00100000
>>> Normal 0x00100000 -> 0x00100000
>>> Movable zone start PFN for each node
>>> early_node_map[3] active PFN ranges
>>> 0: 0x00000000 -> 0x000000a0
>>> 0: 0x00000100 -> 0x0000087d
>>> 0: 0x00000a7e -> 0x00040000
>>> ACPI: PM-Timer IO Port: 0x808
>>> ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
>>> ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
>>> ACPI: LAPIC (acpi_id[0x03] lapic_id[0x05] disabled)
>>> ACPI: LAPIC (acpi_id[0x04] lapic_id[0x07] disabled)
>>> ACPI: LAPIC (acpi_id[0x05] lapic_id[0x00] disabled)
>>> ACPI: LAPIC (acpi_id[0x06] lapic_id[0x01] disabled)
>>> ACPI: LAPIC (acpi_id[0x07] lapic_id[0x02] disabled)
>>> ACPI: LAPIC (acpi_id[0x08] lapic_id[0x03] disabled)
>>> ACPI: LAPIC_NMI (acpi_id[0xff] high level lint[0x1])
>>> ACPI: IOAPIC (id[0x08] address[0xfec00000] gsi_base[0])
>>> IOAPIC[0]: apic_id 8, version 0, address 0xfec00000, GSI 0-23
>>> ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
>>> ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
>>> Using ACPI (MADT) for SMP configuration information
>>> ACPI: HPET id: 0x8086a301 base: 0xfed00000
>>> SMP: Allowing 2 CPUs, 0 hotplug CPUs
>>> Allocating PCI resources starting at 50000000 (gap:
> 40000000:c0000000)
>>> PERCPU: Allocating 57344 bytes of per cpu data
>>> Built 1 zonelists in Zone order, mobility grouping on. Total pages:
>>> 255775
>>> Kernel command line: root=/dev/sda2 swiotlb=256 console=hvc0
>>> earlyprink=xen pciback.hide=(03:02.0) pci=nomsi
>>> Unknown boot option `pciback.hide=(03:02.0)': ignoring
>>> Initializing CPU#0
>>> xen: allocated irq 9 for acpi 9
>>> PID hash table entries: 4096 (order: 12, 32768 bytes)
>>> Detected 2394.004 MHz processor.
>>> Console: colour dummy device 80x25
>>> console [hvc0] enabled
>>> Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
>>> Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
>>> Checking aperture...
>>> No AGP bridge found
>>> PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
>>> Placing 0MB software IO TLB between ffff88000208b000 -
> ffff88000210afff
>>> software IO TLB at phys 0x208b000 - 0x210afff bus 0x1c0000 - 0x1bffff
>>> Memory: 1020272k/1048576k available (3275k kernel code, 2436k absent,
>>> 25380k reserved, 1863k data, 452k init)
>>> SLUB: Genslabs=12, HWalign=64, Order=0-3, MinObjects=0, CPUs=2,
> Nodes=1
>>> installing Xen timer for CPU 0
>>> Calibrating delay loop (skipped), value calculated using timer
>>> frequency.. 4788.00 BogoMIPS (lpj=2394004)
>>> Mount-cache hash table entries: 256
>>> CPU: L1 I cache: 32K, L1 D cache: 32K
>>> CPU: L2 cache: 4096K
>>> CPU: Physical Processor ID: 0
>>> CPU: Processor Core ID: 0
>>> SMP alternatives: switching to UP code
>>> ACPI: Core revision 20080926
>>> cpu 0 spinlock event irq 17
>>> installing Xen timer for CPU 1
>>> cpu 1 spinlock event irq 23
>>> SMP alternatives: switching to SMP code
>>> Initializing CPU#1
>>> CPU: L1 I cache: 32K, L1 D cache: 32K
>>> CPU: L2 cache: 4096K
>>> CPU: Physical Processor ID: 0
>>> CPU: Processor Core ID: 0
>>> Brought up 2 CPUs
>>> khelper used greatest stack depth: 6800 bytes left
>>> net_namespace: 592 bytes
>>> Booting paravirtualized kernel on Xen
>>> Xen version: 3.3.0 (preserve-AD) (dom0)
>>> Grant table initialized
>>> Time: 17:09:45 Date: 12/12/08
>>> NET: Registered protocol family 16
>>> xenbus_probe_init ok
>>> ACPI FADT declares the system doesn't support PCIe ASPM, so disable
> it
>>> ACPI: bus type pci registered
>>> PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
>>> PCI: Not using MMCONFIG.
>>> PCI: Using configuration type 1 for base access
>>> khelper used greatest stack depth: 6448 bytes left
>>> khelper used greatest stack depth: 6232 bytes left
>>> ACPI: Interpreter enabled
>>> ACPI: (supports S0 S1 S3 S5)
>>> ACPI: Using IOAPIC for interrupt routing
>>> PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
>>> PCI: BIOS Bug: MCFG area at e0000000 is not reserved in ACPI
>>> motherboard resources
>>> PCI: Not using MMCONFIG.
>>> ACPI: ACPI Dock Station Driver: 1 docks/bays found
>>> ACPI: PCI Root Bridge [PCI0] (0000:00)
>>> pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
>>> pci 0000:00:01.0: PME# disabled
>>> pci 0000:00:03.0: PME# supported from D0 D3hot D3cold
>>> pci 0000:00:03.0: PME# disabled
>>> pci 0000:00:19.0: PME# supported from D0 D3hot D3cold
>>> pci 0000:00:19.0: PME# disabled
>>> pci 0000:00:1a.7: PME# supported from D0 D3hot D3cold
>>> pci 0000:00:1a.7: PME# disabled
>>> pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
>>> pci 0000:00:1b.0: PME# disabled
>>> pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
>>> pci 0000:00:1c.0: PME# disabled
>>> pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
>>> pci 0000:00:1d.7: PME# disabled
>>> pci 0000:00:1f.0: quirk: region 0800-087f claimed by ICH6
> ACPI/GPIO/TCO
>>> pci 0000:00:1f.0: quirk: region 0880-08bf claimed by ICH6 GPIO
>>> pci 0000:03:02.0: PME# supported from D0 D1 D2 D3hot D3cold
>>> pci 0000:03:02.0: PME# disabled
>>> pci 0000:00:1e.0: transparent bridge
>>> ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12 15)
>>> ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 9 10 11 12 15)
>>> ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 *9 10 11 12 15)
>>> ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 *10 11 12 15)
>>> ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11 12 15) *0,
>>> disabled.
>>> ACPI: PCI Interrupt Link [LNKF] (IRQs *3 4 5 6 7 9 10 11 12 15)
>>> ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 *5 6 7 9 10 11 12 15)
>>> ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 *10 11 12 15)
>>> ACPI Warning (tbutils-0217): Incorrect checksum in table [TCPA] - 00,
>>> should be 87 [20080926]
>>> xen_balloon: Initialising balloon driver.
>>> SCSI subsystem initialized
>>> usbcore: registered new interface driver usbfs
>>> usbcore: registered new interface driver hub
>>> usbcore: registered new device driver usb
>>> PCI: Using ACPI for IRQ routing
>>> Xen: Initializing Xen DMA ops
>>> Xen: Enabling DMA fallback to swiotlb
>>> PCI-GART: No AMD GART found.
>>> pnp: PnP ACPI init
>>> ACPI: bus type pnp registered
>>> pnp 00:01: io resource (0x800-0x85f) overlaps 0000:00:1f.0 BAR 7
>>> (0x800-0x87f), disabling
>>> pnp 00:01: io resource (0x860-0x8ff) overlaps 0000:00:1f.0 BAR 7
>>> (0x800-0x87f), disabling
>>> system 00:01: ioport range 0xc00-0xc7f has been reserved
>>> xen_set_ioapic_routing: irq 13 gsi 13 vector 120 ioapic 0 pin 13
>>> triggering 1 polarity 0
>>> xen_set_ioapic_routing: irq 8 gsi 8 vector 80 ioapic 0 pin 8
>>> triggering 1 polarity 0
>>> xen_set_ioapic_routing: irq 7 gsi 7 vector 72 ioapic 0 pin 7
>>> triggering 1 polarity 0
>>> xen_set_ioapic_routing: irq 4 gsi 4 vector 241 ioapic 0 pin 4
>>> triggering 1 polarity 0
>>> (XEN) ioapic_guest_write: apic=0, pin=4, old_irq=4, new_irq=4
>>> (XEN) ioapic_guest_write: old_entry=000009f1, new_entry=000189f1
>>> (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use
> IRQ!
>>> pnp: PnP ACPI: found 9 devices
>>> ACPI: ACPI bus type pnp unregistered
>>> pci 0000:00:01.0: PCI bridge, secondary bus 0000:01
>>> pci 0000:00:01.0: IO window: 0xd000-0xdfff
>>> pci 0000:00:01.0: MEM window: 0xfe900000-0xfeafffff
>>> pci 0000:00:01.0: PREFETCH window:
> 0x000000d0000000-0x000000dfffffff
>>> pci 0000:00:1c.0: PCI bridge, secondary bus 0000:02
>>> pci 0000:00:1c.0: IO window: disabled
>>> pci 0000:00:1c.0: MEM window: 0xfe800000-0xfe8fffff
>>> pci 0000:00:1c.0: PREFETCH window: disabled
>>> pci 0000:00:1e.0: PCI bridge, secondary bus 0000:03
>>> pci 0000:00:1e.0: IO window: 0xc000-0xcfff
>>> pci 0000:00:1e.0: MEM window: 0xfe600000-0xfe7fffff
>>> pci 0000:00:1e.0: PREFETCH window:
> 0x00000050000000-0x000000500fffff
>>> xen_set_ioapic_routing: irq 29 gsi 16 vector 176 ioapic 0 pin 16
>>> triggering 0 polarity 1
>>> pci 0000:00:01.0: PCI INT A -> GSI 16 (level, low) -> IRQ 29
>>> xen: PCI device 0000:00:01.0 pin 1 -> irq 29
>>> xen_allocate_pirq: returning irq 29 for gsi 16
>>> xen_set_ioapic_routing: irq 29 gsi 16 vector 176 ioapic 0 pin 16
>>> triggering 0 polarity 1
>>> pci 0000:00:1c.0: PCI INT A -> GSI 16 (level, low) -> IRQ 29
>>> xen: PCI device 0000:00:1c.0 pin 1 -> irq 29
>>> bus: 00 index 0 io port: [0x00-0xffff]
>>> bus: 00 index 1 mmio: [0x000000-0xffffffffffffffff]
>>> bus: 01 index 0 io port: [0xd000-0xdfff]
>>> bus: 01 index 1 mmio: [0xfe900000-0xfeafffff]
>>> bus: 01 index 2 mmio: [0xd0000000-0xdfffffff]
>>> bus: 01 index 3 mmio: [0x0-0x0]
>>> bus: 02 index 0 mmio: [0x0-0x0]
>>> bus: 02 index 1 mmio: [0xfe800000-0xfe8fffff]
>>> bus: 02 index 2 mmio: [0x0-0x0]
>>> bus: 02 index 3 mmio: [0x0-0x0]
>>> bus: 03 index 0 io port: [0xc000-0xcfff]
>>> bus: 03 index 1 mmio: [0xfe600000-0xfe7fffff]
>>> bus: 03 index 2 mmio: [0x50000000-0x500fffff]
>>> bus: 03 index 3 io port: [0x00-0xffff]
>>> bus: 03 index 4 mmio: [0x000000-0xffffffffffffffff]
>>> NET: Registered protocol family 2
>>> IP route cache hash table entries: 32768 (order: 6, 262144 bytes)
>>> TCP established hash table entries: 131072 (order: 9, 2097152 bytes)
>>> TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
>>> TCP: Hash tables configured (established 131072 bind 65536)
>>> TCP reno registered
>>> NET: Registered protocol family 1
>>> Simple Boot Flag at 0x7a set to 0x1
>>> audit: initializing netlink socket (disabled)
>>> type=2000 audit(1229101787.763:1): initialized
>>> VFS: Disk quotas dquot_6.5.1
>>> Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
>>> msgmni has been set to 2048
>>> alg: No test for stdrng (krng)
>>> Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
>>> io scheduler noop registered
>>> io scheduler anticipatory registered
>>> io scheduler deadline registered
>>> io scheduler cfq registered (default)
>>> pcieport-driver 0000:00:01.0: found MSI capability
>>> pcieport-driver 0000:00:1c.0: found MSI capability
>>> pci_hotplug: PCI Hot Plug PCI Core version: 0.5
>>> input: Power Button (FF) as
> /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
>>> ACPI: Power Button (FF) [PWRF]
>>> input: Power Button (CM) as
>>> /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input1
>>> ACPI: Power Button (CM) [VBTN]
>>> xenbus_probe_backend_init bus registered ok
>>> xenbus_probe_frontend_init bus registered ok
>>> Event-channel device installed.
>>> ***blkif_init
>>> Non-volatile memory driver v1.2
>>> Linux agpgart interface v0.103
>>> [drm] Initialized drm 1.1.0 20060810
>>> brd: module loaded
>>> loop: module loaded
>>> tun: Universal TUN/TAP device driver, 1.6
>>> tun: (C) 1999-2004 Max Krasnyansky <maxk@xxxxxxxxxxxx>
>>> console [netcon0] enabled
>>> netconsole: network logging started
>>> Loading iSCSI transport class v2.0-870.
>>> Driver 'sd' needs updating - please use bus_type methods
>>> Driver 'sr' needs updating - please use bus_type methods
>>> xen_set_ioapic_routing: irq 31 gsi 18 vector 184 ioapic 0 pin 18
>>> triggering 0 polarity 1
>>> ata_piix 0000:00:1f.2: PCI INT C -> GSI 18 (level, low) -> IRQ 31
>>> xen: PCI device 0000:00:1f.2 pin 3 -> irq 31
>>> ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
>>> xen: disable pci device 0000:00:1f.2
>>>
>>
>> Hm, for some reason the ata_piix failed to probe this device.
>>
>>> Pid: 1, comm: swapper Not tainted 2.6.28-rc8-tip #1
>>> Call Trace:
>>> [<ffffffff8037e624>] ? pci_bus_write_config_word+0x65/0x74
>>> [<ffffffff8020ef56>] xen_pci_pirq_disable+0x1e/0x20
>>> [<ffffffff8049df82>] pcibios_disable_device+0x1b/0x1d
>>> [<ffffffff80380442>] pci_disable_device+0x74/0x7b
>>> [<ffffffff80380b11>] ? pci_release_region+0x8e/0xa8
>>> [<ffffffff80380c53>] pcim_release+0x64/0x6d
>>> [<ffffffff8040691c>] release_nodes+0x163/0x18e
>>> [<ffffffff804069fc>] devres_release_all+0x31/0x35
>>> [<ffffffff80404af5>] driver_probe_device+0xfc/0x16d
>>> [<ffffffff80404bc8>] __driver_attach+0x62/0x8c
>>> [<ffffffff80404b66>] ? __driver_attach+0x0/0x8c
>>> [<ffffffff80404b66>] ? __driver_attach+0x0/0x8c
>>> [<ffffffff804040fa>] bus_for_each_dev+0x4a/0x79
>>> [<ffffffff80404903>] driver_attach+0x1c/0x1e
>>> [<ffffffff8040456b>] bus_add_driver+0xb7/0x209
>>> [<ffffffff80404e63>] driver_register+0x93/0x10a
>>> [<ffffffff803837cf>] __pci_register_driver+0x63/0x9c
>>> [<ffffffff807651a0>] ? piix_init+0x0/0x2c
>>> [<ffffffff807651b9>] piix_init+0x19/0x2c
>>> [<ffffffff8020a056>] do_one_initcall+0x56/0x13e
>>> [<ffffffff8026c436>] ? register_irq_proc+0xae/0xca
>>> [<ffffffff802e0000>] ? free_proc_entry+0x37/0x68
>>> [<ffffffff8074195d>] kernel_init+0x11f/0x175
>>> [<ffffffff802133fa>] child_rip+0xa/0x20
>>> [<ffffffff80212ced>] ? retint_restore_args+0x5/0x20
>>> [<ffffffff802133f0>] ? child_rip+0x0/0x20
>>> ata_piix: probe of 0000:00:1f.2 failed with error -38
>>> xen_allocate_pirq: returning irq 31 for gsi 18
>>> xen_set_ioapic_routing: irq 31 gsi 18 vector 184 ioapic 0 pin 18
>>> triggering 0 polarity 1
>>> ata_piix 0000:00:1f.5: PCI INT C -> GSI 18 (level, low) -> IRQ 31
>>> xen: PCI device 0000:00:1f.5 pin 3 -> irq 31
>>> ata_piix 0000:00:1f.5: MAP [ P0 -- P1 -- ]
>>> scsi0 : ata_piix
>>> scsi1 : ata_piix
>>> ata1: SATA max UDMA/133 cmd 0xfe40 ctl 0xfe50 bmdma 0xfed0 irq 31
>>> ata2: SATA max UDMA/133 cmd 0xfe60 ctl 0xfe70 bmdma 0xfed8 irq 31
>>>
>>
>> But this looks OK. It found a couple of drives, I think. Though I
> don't
>> see any drive identity messages, so perhaps it didn't find anything..
>
> Pretty sure it didnt detect the drives, booting the same kernel on
> bare metal detects the hd (WD360GD-00FLA2), which proves that the
> kernel has the correct drivers, in both ahci and legacy mode the
> kernel works on the bare metal but not under Xen.
>
> dmesg from the same kernel without xen:
>
> ata_piix 0000:00:1f.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
> ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
> ata_piix 0000:00:1f.2: setting latency timer to 64
> scsi0 : ata_piix
> scsi1 : ata_piix
> ata1: SATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xfec0 irq 14
> ata2: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xfec8 irq 15
> ata1.00: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
> ata1.01: SATA link down (SStatus 4 SControl 300)
> ata1.00: ATA-6: WDC WD360GD-00FLA2, 31.08F31, max UDMA/133
> ata1.00: 72303840 sectors, multi 8: LBA48
> ata1.00: configured for UDMA/133
> ata2.00: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
> ata2.01: SATA link down (SStatus 4 SControl 300)
> ata2.00: ATAPI: HL-DT-ST DVD+/-RW GSA-H73N, B103, max UDMA/100
> ata2.00: configured for UDMA/100
> scsi 0:0:0:0: Direct-Access ATA WDC WD360GD-00FL 31.0 PQ: 0
> ANSI: 5
> sd 0:0:0:0: [sda] 72303840 512-byte hardware sectors: (37.0 GB/34.4 GiB)
> sd 0:0:0:0: [sda] Write Protect is off
> sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
> sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
> support DPO or FUA
> sd 0:0:0:0: [sda] 72303840 512-byte hardware sectors: (37.0 GB/34.4 GiB)
> sd 0:0:0:0: [sda] Write Protect is off
> sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
> sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
> support DPO or FUA
> sda: sda1 sda2 sda3
> sd 0:0:0:0: [sda] Attached SCSI disk
> sd 0:0:0:0: Attached scsi generic sg0 type 0
> scsi 1:0:0:0: CD-ROM HL-DT-ST DVD+-RW GSA-H73N B103 PQ: 0
> ANSI: 5
> sr0: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
> Uniform CD-ROM driver Revision: 3.20
> sr 1:0:0:0: Attached scsi CD-ROM sr0
> sr 1:0:0:0: Attached scsi generic sg1 type 5
> ata_piix 0000:00:1f.5: PCI INT C -> GSI 18 (level, low) -> IRQ 18
> ata_piix 0000:00:1f.5: MAP [ P0 -- P1 -- ]
> ata_piix 0000:00:1f.5: setting latency timer to 64
> scsi2 : ata_piix
> scsi3 : ata_piix
> ata3: SATA max UDMA/133 cmd 0xfe40 ctl 0xfe50 bmdma 0xfed0 irq 18
> ata4: SATA max UDMA/133 cmd 0xfe60 ctl 0xfe70 bmdma 0xfed8 irq 18
> ata3: SATA link down (SStatus 4 SControl 300)
> ata4: SATA link down (SStatus 4 SControl 300)
>
> But under Xen both sata links are down:
>
> ata1: SATA link down (SStatus 4 SControl 300)
> ata2: SATA link down (SStatus 4 SControl 300)
>
>>
>>> ata1: SATA link down (SStatus 4 SControl 300)
>>> ata2: SATA link down (SStatus 4 SControl 300)
>>> ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
>>> xen_set_ioapic_routing: irq 32 gsi 22 vector 192 ioapic 0 pin 22
>>> triggering 0 polarity 1
>>> ehci_hcd 0000:00:1a.7: PCI INT C -> GSI 22 (level, low) -> IRQ 32
>>> xen: PCI device 0000:00:1a.7 pin 3 -> irq 32
>>> ehci_hcd 0000:00:1a.7: EHCI Host Controller
>>> ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 1
>>> ehci_hcd 0000:00:1a.7: debug port 1
>>> ehci_hcd 0000:00:1a.7: irq 32, io mem 0xfebd9c00
>>> ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00
>>> usb usb1: configuration #1 chosen from 1 choice
>>> hub 1-0:1.0: USB hub found
>>> hub 1-0:1.0: 6 ports detected
>>> usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
>>> usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
>>> usb usb1: Product: EHCI Host Controller
>>> usb usb1: Manufacturer: Linux 2.6.28-rc8-tip ehci_hcd
>>> usb usb1: SerialNumber: 0000:00:1a.7
>>> xen_set_ioapic_routing: irq 33 gsi 23 vector 200 ioapic 0 pin 23
>>> triggering 0 polarity 1
>>> ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 23 (level, low) -> IRQ 33
>>> xen: PCI device 0000:00:1d.7 pin 1 -> irq 33
>>> ehci_hcd 0000:00:1d.7: EHCI Host Controller
>>> ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 2
>>> ehci_hcd 0000:00:1d.7: debug port 1
>>> ehci_hcd 0000:00:1d.7: irq 33, io mem 0xff980800
>>> ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
>>> usb usb2: configuration #1 chosen from 1 choice
>>> hub 2-0:1.0: USB hub found
>>> hub 2-0:1.0: 6 ports detected
>>> usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
>>> usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
>>> usb usb2: Product: EHCI Host Controller
>>> usb usb2: Manufacturer: Linux 2.6.28-rc8-tip ehci_hcd
>>> usb usb2: SerialNumber: 0000:00:1d.7
>>> ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
>>> uhci_hcd: USB Universal Host Controller Interface driver
>>> xen_allocate_pirq: returning irq 29 for gsi 16
>>> xen_set_ioapic_routing: irq 29 gsi 16 vector 176 ioapic 0 pin 16
>>> triggering 0 polarity 1
>>> uhci_hcd 0000:00:1a.0: PCI INT A -> GSI 16 (level, low) -> IRQ 29
>>> xen: PCI device 0000:00:1a.0 pin 1 -> irq 29
>>> uhci_hcd 0000:00:1a.0: UHCI Host Controller
>>> uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 3
>>> uhci_hcd 0000:00:1a.0: detected 2 ports
>>> uhci_hcd 0000:00:1a.0: irq 29, io base 0x0000ff20
>>> usb usb3: configuration #1 chosen from 1 choice
>>> hub 3-0:1.0: USB hub found
>>> hub 3-0:1.0: 2 ports detected
>>> usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
>>> usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
>>> usb usb3: Product: UHCI Host Controller
>>> usb usb3: Manufacturer: Linux 2.6.28-rc8-tip uhci_hcd
>>> usb usb3: SerialNumber: 0000:00:1a.0
>>> xen_set_ioapic_routing: irq 34 gsi 17 vector 208 ioapic 0 pin 17
>>> triggering 0 polarity 1
>>> uhci_hcd 0000:00:1a.1: PCI INT B -> GSI 17 (level, low) -> IRQ 34
>>> xen: PCI device 0000:00:1a.1 pin 2 -> irq 34
>>> uhci_hcd 0000:00:1a.1: UHCI Host Controller
>>> uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 4
>>> uhci_hcd 0000:00:1a.1: detected 2 ports
>>> uhci_hcd 0000:00:1a.1: irq 34, io base 0x0000ff00
>>> usb usb4: configuration #1 chosen from 1 choice
>>> hub 4-0:1.0: USB hub found
>>> hub 4-0:1.0: 2 ports detected
>>> usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
>>> usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
>>> usb usb4: Product: UHCI Host Controller
>>> usb usb4: Manufacturer: Linux 2.6.28-rc8-tip uhci_hcd
>>> usb usb4: SerialNumber: 0000:00:1a.1
>>> xen_allocate_pirq: returning irq 33 for gsi 23
>>> xen_set_ioapic_routing: irq 33 gsi 23 vector 200 ioapic 0 pin 23
>>> triggering 0 polarity 1
>>> uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 33
>>> xen: PCI device 0000:00:1d.0 pin 1 -> irq 33
>>> uhci_hcd 0000:00:1d.0: UHCI Host Controller
>>> uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 5
>>> uhci_hcd 0000:00:1d.0: detected 2 ports
>>> uhci_hcd 0000:00:1d.0: irq 33, io base 0x0000ff80
>>> usb usb5: configuration #1 chosen from 1 choice
>>> hub 5-0:1.0: USB hub found
>>> hub 5-0:1.0: 2 ports detected
>>> usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
>>> usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
>>> usb usb5: Product: UHCI Host Controller
>>> usb usb5: Manufacturer: Linux 2.6.28-rc8-tip uhci_hcd
>>> usb usb5: SerialNumber: 0000:00:1d.0
>>> xen_allocate_pirq: returning irq 34 for gsi 17
>>> xen_set_ioapic_routing: irq 34 gsi 17 vector 208 ioapic 0 pin 17
>>> triggering 0 polarity 1
>>> uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 17 (level, low) -> IRQ 34
>>> xen: PCI device 0000:00:1d.1 pin 2 -> irq 34
>>> uhci_hcd 0000:00:1d.1: UHCI Host Controller
>>> uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 6
>>> uhci_hcd 0000:00:1d.1: detected 2 ports
>>> uhci_hcd 0000:00:1d.1: irq 34, io base 0x0000ff60
>>> usb usb6: configuration #1 chosen from 1 choice
>>> hub 6-0:1.0: USB hub found
>>> hub 6-0:1.0: 2 ports detected
>>> usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
>>> usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
>>> usb usb6: Product: UHCI Host Controller
>>> usb usb6: Manufacturer: Linux 2.6.28-rc8-tip uhci_hcd
>>> usb usb6: SerialNumber: 0000:00:1d.1
>>> xen_allocate_pirq: returning irq 31 for gsi 18
>>> xen_set_ioapic_routing: irq 31 gsi 18 vector 184 ioapic 0 pin 18
>>> triggering 0 polarity 1
>>> uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 31
>>> xen: PCI device 0000:00:1d.2 pin 3 -> irq 31
>>> uhci_hcd 0000:00:1d.2: UHCI Host Controller
>>> uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 7
>>> uhci_hcd 0000:00:1d.2: detected 2 ports
>>> uhci_hcd 0000:00:1d.2: irq 31, io base 0x0000ff40
>>> usb usb7: configuration #1 chosen from 1 choice
>>> hub 7-0:1.0: USB hub found
>>> hub 7-0:1.0: 2 ports detected
>>> usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
>>> usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
>>> usb usb7: Product: UHCI Host Controller
>>> usb usb7: Manufacturer: Linux 2.6.28-rc8-tip uhci_hcd
>>> usb usb7: SerialNumber: 0000:00:1d.2
>>> usbcore: registered new interface driver usblp
>>> Initializing USB Mass Storage driver...
>>> usbcore: registered new interface driver usb-storage
>>> USB Mass Storage support registered.
>>> usbcore: registered new interface driver libusual
>>> PNP: No PS/2 controller found. Probing ports directly.
>>> i8042: probe of i8042 failed with error -38
>>> mice: PS/2 mouse device common for all mice
>>> device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised:
>>> dm-devel@xxxxxxxxxx
>>> cpuidle: using governor ladder
>>> dcdbas dcdbas: Dell Systems Management Base Driver (version
> 5.6.0-3.2)
>>> TCP cubic registered
>>> NET: Registered protocol family 17
>>> RPC: Registered udp transport module.
>>> RPC: Registered tcp transport module.
>>> IO APIC resources could be not be allocated.
>>> registered taskstats version 1
>>> Magic number: 4:358:188
>>> md: Waiting for all devices to be available before autodetect
>>> md: If you don't use raid, use raid=noautodetect
>>> md: Autodetecting RAID arrays.
>>> md: Scanned 0 and added 0 devices.
>>> md: autorun ...
>>> md: ... autorun DONE.
>>> Root-NFS: No NFS server available, giving up.
>>> VFS: Unable to mount root fs via NFS, trying floppy.
>>> VFS: Cannot open root device "sda2" or unknown-block(2,0)
>>> Please append a correct "root=" boot option; here are the available
>>> partitions:
>>> Kernel panic - not syncing: VFS: Unable to mount root fs on
>>> unknown-block(2,0)
>>>
>>
>> What are you specifying as a root device? Is it a logical or physical
>> filesystem reference?
>
> root is a physical partition (sda2)
>
> I will not be at work until tuesday and I want to continue to work on
> this, so I wonder if anybody could tell me how to setup xen and linux
> such that any oops/crash/failure to mount root filesystem results in a
> reboot? I have a serial console setup which I can access remotely, but
> I have no way to reset or power cycle the system.
>
> Andy
>
>>
>> J
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-devel
>>
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|