On Sat, Dec 13, 2008 at 7:26 PM, Andrew Lyon <andrew.lyon@xxxxxxxxx> wrote:
> On Sat, Dec 13, 2008 at 7:02 PM, Todd Deshane <deshantm@xxxxxxxxx> wrote:
>>> Yes, in ahci mode the cdrom is detected but the disks are not, in
>>> legacy mode neither is detected.
>>
>> OK. I am now able to start testing on the VT-d 755 box as well.
>>
>> I am just first going to give 4 logs.
>>
>> 1. static-based disk naming mem=3G (gets to initramfs prompt, probably
>> similar to Andrew's).
>> 2. static-based disk naming no mem=3G option (crashes with panic)
>> 3. udev-based disk naming mem=3G (gets to initramfs prompt, probably
>> similar to Andrew's)
>> 4. udev-based disk naming no mem=3G option (crashes with panic)
>>
>> These are before the last set of patches, but no major fixes were add
>> since. I'll update to the
>> latest patches and re-test to stay in sync though.
>>
>> Let me know if there are any other things that I can help test with.
>>
>> Also, Andrew: which BIOS revision are you at?
>> Have you tried looking for a new one?
>
> My Optiplex 755 has the latest bios (A11) already, I don't think its a
> hardware or bios problem because my testing has shown that on the bare
> metal the same kernel boots successfully with the sata in legacy or
> ahci mode both the cdrom and hd are detected, but booted under Xen the
> hd is not detected in either mode.
>
> On friday I changed the grub.conf to enable serial console as I will
> not be at the office until tuesday but unfortunately I am not getting
> any grub serial menu so the machine is stuck in a reboot loop for the
> next 3 days, next week I plan to put a root filesystem on a usb memory
> stick to see if I can boot a OS that way and do more testing while the
> hd issue is sorted out.
>
> andy
>
>>
>> Cheers,
>> Todd
>>
>> --
>> Todd Deshane
>> http://todddeshane.net
>> http://runningxen.com
>>
>
I pulled the latest patches as per Ian's instructions in this thread,
as before the kernel works ok on the bare metal but not under Xen, but
I get a different crash message now:
__ __ _____ _____ ___
\ \/ /___ _ __ |___ / |___ / / _ \
\ // _ \ '_ \ |_ \ |_ \| | | |
/ \ __/ | | | ___) | ___) | |_| |
/_/\_\___|_| |_| |____(_)____(_)___/
(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
(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.041 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.: 0000000120000000->0000000122000000 (951655 pages
to be allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN) Loaded kernel: ffffffff80200000->ffffffff8087c3d0
(XEN) Init. ramdisk: ffffffff8087d000->ffffffff8087d000
(XEN) Phys-Mach map: ffffffff8087d000->ffffffff80fcfb38
(XEN) Start info: ffffffff80fd0000->ffffffff80fd04a4
(XEN) Page tables: ffffffff80fd1000->ffffffff80fde000
(XEN) Boot stack: ffffffff80fde000->ffffffff80fdf000
(XEN) TOTAL: ffffffff80000000->ffffffff81400000
(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)) #3 SMP Thu Dec 18 09:01:42 GMT 2008
Command line: root=/dev/sda2 console=hvc0 earlyprink=xen pci=nomsi panic=5
KERNEL supported cpus:
Intel GenuineIntel
AMD AuthenticAMD
Centaur CentaurHauls
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 000000000009fc00 (usable)
Xen: 00000000000a0000 - 0000000000100000 (reserved)
Xen: 0000000000100000 - 000000000087d000 (usable)
Xen: 000000000087d000 - 0000000000fd1000 (reserved)
Xen: 0000000000fd1000 - 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)
DMI 2.5 present.
last_pfn = 0xcfdff max_arch_pfn = 0x3ffffffff
init_memory_mapping: 0000000000000000-00000000cfdff000
last_map_addr: cfdff000 end: cfdff000
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 - 00cfdff000]
#0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
#1 [0000fd1000 - 0000fde000] XEN PAGETABLES ==> [0000fd1000 - 0000fde000]
#2 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 - 0000008000]
#3 [0000200000 - 000087c3d0] TEXT DATA BSS ==> [0000200000 - 000087c3d0]
#4 [0000fde000 - 0001652000] PGTABLE ==> [0000fde000 - 0001652000]
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 -> 0x0000009f
0: 0x00000100 -> 0x0000087d
0: 0x00000fd1 -> 0x000cfdff
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 d1000000 (gap: d0000000:10000000)
PERCPU: Allocating 57344 bytes of per cpu data
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 836163
Kernel command line: root=/dev/sda2 console=hvc0 earlyprink=xen
pci=nomsi panic=5
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 VGA+ 80x25
console [hvc0] enabled
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
Checking aperture...
No AGP bridge found
PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
Placing 64MB software IO TLB between ffff880004aed000 - ffff880008aecfff
software IO TLB at phys 0x4aed000 - 0x8aecfff bus 0x1c0000 - 0x7d3ffff
Memory: 3264608k/3405820k available (3273k kernel code, 7892k absent,
132716k reserved, 1869k 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: 6232 bytes left
net_namespace: 592 bytes
Booting paravirtualized kernel on Xen
Xen version: 3.3.0 (preserve-AD) (dom0)
Grant table initialized
Time: 9:19:17 Date: 12/18/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: MCFG area at e0000000 reserved in E820
BUG: unable to handle kernel paging request at ffff9d5555555000
IP: [<ffffffff8052e04d>] do_page_fault+0x409/0x9fa
PGD 0
Oops: 0000 [#1] SMP
last sysfs file:
CPU 0
Modules linked in:
Pid: 1, comm: swapper Not tainted 2.6.28-rc8-tip #3
RIP: e030:[<ffffffff8052e04d>] [<ffffffff8052e04d>] do_page_fault+0x409/0x9fa
RSP: e02b:ffff8800cf85bc18 EFLAGS: 00010046
RAX: 0000155555555000 RBX: ffff9d5555555000 RCX: 0000000000000020
RDX: ffff800000000000 RSI: 5555555555555000 RDI: 5555555555555067
RBP: ffff8800cf85bc88 R08: 000000000000000d R09: 000000000000000d
R10: 0000000000000010 R11: 00000000ffffffff R12: ffff880000000000
R13: ffff8000012c9a40 R14: 00003ffffffff000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffffffff80708ec0(0000) knlGS:0000000000000000
CS: e033 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: ffff9d5555555000 CR3: 0000000000201000 CR4: 0000000000002620
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process swapper (pid: 1, threadinfo ffff8800cf85a000, task ffff8800cf860000)
Stack:
0000000000002233 ffff8800cf85bc60 ffffffff8023a2fc ffff8800cf85bc98
0000000000000060 ffff8800cf860000 0000000000000000 000000000000002f
ffff8800cf85bd00 0000000000000001 ffffffffffffffff 00000000000ea56c
Call Trace:
[<ffffffff8023a2fc>] ? release_console_sem+0x1a9/0x1b6
[<ffffffff8052bf35>] page_fault+0x25/0x30
[<ffffffff8020a993>] ? xen_page_is_ram+0x5c/0x8d
[<ffffffff80229e98>] __ioremap_caller+0x13e/0x303
[<ffffffff8076793e>] ? pci_mmcfg_arch_init+0xaf/0x117
[<ffffffff80299170>] ? __kmalloc+0xb9/0xe6
[<ffffffff8022a092>] ioremap_nocache+0x12/0x14
[<ffffffff8076793e>] pci_mmcfg_arch_init+0xaf/0x117
[<ffffffff80768240>] __pci_mmcfg_init+0x273/0x2a4
[<ffffffff80767b07>] ? pci_direct_probe+0xa3/0x1c4
[<ffffffff807677cc>] ? pci_arch_init+0x0/0x57
[<ffffffff8076828c>] pci_mmcfg_early_init+0xe/0x10
[<ffffffff807677e1>] pci_arch_init+0x15/0x57
[<ffffffff8020a056>] do_one_initcall+0x56/0x13e
[<ffffffff8026c4be>] ? register_irq_proc+0xae/0xca
[<ffffffff802e0000>] ? proc_task_readdir+0x82/0x29a
[<ffffffff80741940>] kernel_init+0x11f/0x175
[<ffffffff802133ba>] child_rip+0xa/0x20
[<ffffffff80212cad>] ? retint_restore_args+0x5/0x20
[<ffffffff802133b0>] ? child_rip+0x0/0x20
Code: 4c 89 e8 49 be 00 f0 ff ff ff 3f 00 00 48 c1 e8 1b 4c 21 f3 49
bc 00 00 00 00 00 88 ff ff 25 f8 0f 00 00 48 8d 04 03 4a 8d 1c 20 <48>
8b 3b e8 cd e1 cd ff 90 a8 01 0f 84 2f 02 00 00 48 8b 3b e8
RIP [<ffffffff8052e04d>] do_page_fault+0x409/0x9fa
RSP <ffff8800cf85bc18>
CR2: ffff9d5555555000
---[ end trace 4eaa2a86a8e2da22 ]---
swapper used greatest stack depth: 4632 bytes left
Kernel panic - not syncing: Attempted to kill init!
Pid: 1, comm: swapper Tainted: G D 2.6.28-rc8-tip #3
Call Trace:
[<ffffffff80239c63>] panic+0xa0/0x162
[<ffffffff8023b5b5>] ? put_files_struct+0xb4/0xc1
[<ffffffff8023b4f8>] ? exit_fs+0x48/0x51
[<ffffffff8023c93c>] do_exit+0x74/0x876
[<ffffffff8052ca37>] oops_end+0xc1/0xc9
[<ffffffff8052e584>] do_page_fault+0x940/0x9fa
[<ffffffff8052bf35>] page_fault+0x25/0x30
[<ffffffff8052e04d>] ? do_page_fault+0x409/0x9fa
[<ffffffff8052e01e>] ? do_page_fault+0x3da/0x9fa
[<ffffffff8023a2fc>] ? release_console_sem+0x1a9/0x1b6
[<ffffffff8052bf35>] page_fault+0x25/0x30
[<ffffffff8020a993>] ? xen_page_is_ram+0x5c/0x8d
[<ffffffff80229e98>] __ioremap_caller+0x13e/0x303
[<ffffffff8076793e>] ? pci_mmcfg_arch_init+0xaf/0x117
[<ffffffff80299170>] ? __kmalloc+0xb9/0xe6
[<ffffffff8022a092>] ioremap_nocache+0x12/0x14
[<ffffffff8076793e>] pci_mmcfg_arch_init+0xaf/0x117
[<ffffffff80768240>] __pci_mmcfg_init+0x273/0x2a4
[<ffffffff80767b07>] ? pci_direct_probe+0xa3/0x1c4
[<ffffffff807677cc>] ? pci_arch_init+0x0/0x57
[<ffffffff8076828c>] pci_mmcfg_early_init+0xe/0x10
[<ffffffff807677e1>] pci_arch_init+0x15/0x57
[<ffffffff8020a056>] do_one_initcall+0x56/0x13e
[<ffffffff8026c4be>] ? register_irq_proc+0xae/0xca
[<ffffffff802e0000>] ? proc_task_readdir+0x82/0x29a
[<ffffffff80741940>] kernel_init+0x11f/0x175
[<ffffffff802133ba>] child_rip+0xa/0x20
[<ffffffff80212cad>] ? retint_restore_args+0x5/0x20
[<ffffffff802133b0>] ? child_rip+0x0/0x20
Rebooting in 5 seconds..(XEN) Domain 0 shutdown: rebooting machine.
Andy
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|