From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Bainbridge Subject: Re: SATA detect fails on ICH7 chipset / DellPoweredgeSC430 Date: Wed, 31 Aug 2005 16:39:51 +0100 Message-ID: <623652d5050831083934eeed24@mail.gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Pratt , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 31/08/05, Ian Pratt wrote: > > 0000:00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 > > Family) Serial ATA Storage Controllers cc=3DIDE (rev 01) > > (prog-if 8f [Master SecP SecO PriP PriO]) > > Subsystem: Dell: Unknown device 01ae > > Flags: bus master, 66Mhz, medium devsel, latency 0, IRQ 20 > > I/O ports at fe00 [size=3D8] > > I/O ports at fe10 [size=3D4] > > I/O ports at fe20 [size=3D8] > > I/O ports at fe30 [size=3D4] > > I/O ports at fea0 [size=3D16] > > Memory at 40000000 (32-bit, non-prefetchable) [size=3D1K] >=20 > 0x40000000 ??? That's bizzare. That's 1GB. I'd normally expect to see > something starting '0xff'. >=20 > How much memory has the machine got? 1GB =20 > Please can you post the e820 map. BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 00000000000a0000 (usable) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000003fe8cc00 (usable) BIOS-e820: 000000003fe8cc00 - 000000003fe8ec00 (ACPI NVS) BIOS-e820: 000000003fe8ec00 - 000000003fe90c00 (ACPI data) BIOS-e820: 000000003fe90c00 - 0000000040000000 (reserved) BIOS-e820: 00000000f0000000 - 00000000f4000000 (reserved) BIOS-e820: 00000000fec00000 - 00000000fed00400 (reserved) BIOS-e820: 00000000fed20000 - 00000000feda0000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fef00000 (reserved) BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved) > > (XEN) (file=3D.../xen-unstable/xen/include/asm/mm.h, line=3D201) Error = pfn > > 6000: rd=3Dffbfb080, od=3D00000000, caf=3D00000000, taf=3D0000000c > > (XEN) Domain 0 shutdown: rebooting machine >=20 > This is a failed attempt to access a page at 96MB. It's almost certainly > relevant. >=20 > Please can you add a show_guest_stack() right after thr printf in mm.h > line 201. Ok, I compiled the hypervisor with debug info as well, so hopefully you should see more from this: __ __ _____ ___ _ _ \ \/ /___ _ __ |___ / / _ \ __| | _____ _____| | \ // _ \ '_ \ |_ \| | | |__ / _` |/ _ \ \ / / _ \ | / \ __/ | | | ___) | |_| |__| (_| | __/\ V / __/ | /_/\_\___|_| |_| |____(_)___/ \__,_|\___| \_/ \___|_| http://www.cl.cam.ac.uk/netos/xen University of Cambridge Computer Laboratory Xen version 3.0-devel (root@(none)) (gcc version 3.4.4 (Gentoo 3.4.4, ssp-3.4.4-1.0, pie-8.7.8)) Wed Aug 31 16:30:21 GMT 2005 Latest ChangeSet: (XEN) Physical RAM map: (XEN) 0000000000000000 - 00000000000a0000 (usable) (XEN) 00000000000f0000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 000000003fe8cc00 (usable) (XEN) 000000003fe8cc00 - 000000003fe8ec00 (ACPI NVS) (XEN) 000000003fe8ec00 - 000000003fe90c00 (ACPI data) (XEN) 000000003fe90c00 - 0000000040000000 (reserved) (XEN) 00000000f0000000 - 00000000f4000000 (reserved) (XEN) 00000000fec00000 - 00000000fed00400 (reserved) (XEN) 00000000fed20000 - 00000000feda0000 (reserved) (XEN) 00000000fee00000 - 00000000fef00000 (reserved) (XEN) 00000000ffb00000 - 0000000100000000 (reserved) (XEN) System RAM: 1022MB (1046704kB) (XEN) Xen heap: 10MB (10664kB) (XEN) PAE disabled. (XEN) found SMP MP-table at 000fe710 (XEN) DMI 2.3 present. (XEN) Using APIC driver default (XEN) ACPI: RSDP (v002 DELL ) @ 0x000feb00 (XEN) ACPI: XSDT (v001 DELL PESC430 0x00000006 ASL 0x00000061) @ 0x000f= d244 (XEN) ACPI: FADT (v003 DELL PESC430 0x00000006 ASL 0x00000061) @ 0x000f= d33c (XEN) ACPI: SSDT (v001 DELL st_ex 0x00001000 INTL 0x20050211) @ 0xfffd= 2a19 (XEN) ACPI: MADT (v001 DELL PESC430 0x00000006 ASL 0x00000061) @ 0x000f= d430 (XEN) ACPI: BOOT (v001 DELL PESC430 0x00000006 ASL 0x00000061) @ 0x000f= d4a2 (XEN) ACPI: ASF! (v016 DELL PESC430 0x00000006 ASL 0x00000061) @ 0x000f= d4ca (XEN) ACPI: MCFG (v001 DELL PESC430 0x00000006 ASL 0x00000061) @ 0x000f= d531 (XEN) ACPI: HPET (v001 DELL PESC430 0x00000006 ASL 0x00000061) @ 0x000f= d56f (XEN) ACPI: DSDT (v001 DELL dt_ex 0x00001000 INTL 0x20050211) @ 0x0000= 0000 (XEN) ACPI: Local APIC address 0xfee00000 (XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) (XEN) Processor #0 15:4 APIC version 20 (XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled) (XEN) Processor #1 15:4 APIC version 20 (XEN) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x06] disabled) (XEN) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x07] disabled) (XEN) ACPI: LAPIC_NMI (acpi_id[0xff] high level lint[0x1]) (XEN) ACPI: IOAPIC (id[0x08] address[0xfec00000] gsi_base[0]) (XEN) IOAPIC[0]: apic_id 8, version 32, address 0xfec00000, GSI 0-23 (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) (XEN) ACPI: IRQ0 used by override. (XEN) ACPI: IRQ2 used by override. (XEN) ACPI: IRQ9 used by override. (XEN) Enabling APIC mode: Flat. Using 1 I/O APICs (XEN) ACPI: HPET id: 0x8086a201 base: 0xfed00000 (XEN) Using ACPI (MADT) for SMP configuration information (XEN) Initializing CPU#0 (XEN) Detected 2793.133 MHz processor. (XEN) Using scheduler: Simple EDF Scheduler (sedf) (XEN) CPU: Trace cache: 12K uops, L1 D cache: 16K (XEN) CPU: L2 cache: 1024K (XEN) CPU: Physical Processor ID: 0 (XEN) CPU0: Intel(R) Pentium(R) 4 CPU 2.80GHz stepping 01 (XEN) Booting processor 1/1 eip 90000 (XEN) Initializing CPU#1 (XEN) CPU: Trace cache: 12K uops, L1 D cache: 16K (XEN) CPU: L2 cache: 1024K (XEN) CPU: Physical Processor ID: 0 (XEN) CPU1: Intel(R) Pentium(R) 4 CPU 2.80GHz stepping 01 (XEN) Total of 2 processors activated. (XEN) ENABLING IO-APIC IRQs (XEN) ..TIMER: vector=3D0x31 pin1=3D2 pin2=3D-1 (XEN) checking TSC synchronization across 2 CPUs: passed. (XEN) Platform timer is 14.318MHz HPET (XEN) Brought up 2 CPUs (XEN) mtrr: v2.0 (20020519) (XEN) *** LOADING DOMAIN 0 *** (XEN) Xen-ELF header found: 'GUEST_OS=3Dlinux,GUEST_VER=3D2.6,XEN_VER=3D3.0,VIRT_BASE=3D0xC0000000,PAE= =3Dno,LOADER=3Dgeneric' (XEN) PHYSICAL MEMORY ARRANGEMENT: (XEN) Dom0 alloc.: 01800000->02000000 (22528 pages to be allocated) (XEN) VIRTUAL MEMORY ARRANGEMENT: (XEN) Loaded kernel: c0100000->c03753e8 (XEN) Init. ramdisk: c0376000->c0376000 (XEN) Phys-Mach map: c0376000->c038e000 (XEN) Page tables: c038e000->c0391000 (XEN) Start info: c0391000->c0392000 (XEN) Boot stack: c0392000->c0393000 (XEN) TOTAL: c0000000->c0800000 (XEN) ENTRY ADDRESS: c0100000 (XEN) Scrubbing Free RAM: ...........done. (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen). Linux version 2.6.12.5-xen (root@xenmaster) (gcc version 3.4.4 (Gentoo 3.4.4, ssp-3.4.4-1.0, pie-8.7.8)) #7 Tue Aug 30 17:13:19 GMT 2005 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000006000000 (usable) 96MB LOWMEM available. found SMP MP-table at 000fe710 DMI 2.3 present. Intel MultiProcessor Specification v1.4 Virtual Wire compatibility mode. OEM ID: DELL Product ID: PE SC430 APIC at: 0xFEE00000 I/O APIC #8 Version 32 at 0xFEC00000. Enabling APIC mode: Flat. Using 1 I/O APICs Processors: 1 IRQ lockup detection disabled Allocating PCI resources starting at 06000000 (gap: 06000000:fa000000) Built 1 zonelists Kernel command line: root=3D/dev/md2 noreboot console=3DttyS0 Initializing CPU#0 PID hash table entries: 512 (order: 9, 8192 bytes) Xen reported: 2793.132 MHz processor. Console: colour VGA+ 80x25 Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) vmalloc area: c6800000-fbeec000, maxmem 34000000 Memory: 94592k/98304k available (1739k kernel code, 3628k reserved, 511k data, 124k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok= . Mount-cache hash table entries: 512 CPU: Trace cache: 12K uops, L1 D cache: 16K CPU: L2 cache: 1024K CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz stepping 01 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... disabled ENABLING IO-APIC IRQs NET: Registered protocol family 16 PCI: Using configuration type 1 xen_mem: Initialising balloon driver. SCSI subsystem initialized PCI: Probing PCI hardware PCI: Probing PCI hardware (bus 00) PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1 PCI: Transparent bridge - 0000:00:1e.0 PCI: Using IRQ router PIIX/ICH [8086/27b8] at 0000:00:1f.0 PCI->APIC IRQ transform: 0000:00:01.0[A] -> IRQ 16 PCI->APIC IRQ transform: 0000:00:1c.0[A] -> IRQ 16 PCI->APIC IRQ transform: 0000:00:1c.4[A] -> IRQ 16 PCI->APIC IRQ transform: 0000:00:1c.5[B] -> IRQ 17 PCI->APIC IRQ transform: 0000:00:1d.0[A] -> IRQ 21 PCI->APIC IRQ transform: 0000:00:1d.1[B] -> IRQ 22 PCI->APIC IRQ transform: 0000:00:1d.2[C] -> IRQ 18 PCI->APIC IRQ transform: 0000:00:1d.3[D] -> IRQ 23 PCI->APIC IRQ transform: 0000:00:1d.7[A] -> IRQ 21 PCI->APIC IRQ transform: 0000:00:1f.1[A] -> IRQ 16 PCI->APIC IRQ transform: 0000:00:1f.2[C] -> IRQ 20 PCI->APIC IRQ transform: 0000:00:1f.3[B] -> IRQ 17 PCI->APIC IRQ transform: 0000:04:00.0[A] -> IRQ 17 Grant table initialized assign_interrupt_mode Found MSI capability assign_interrupt_mode Found MSI capability assign_interrupt_mode Found MSI capability assign_interrupt_mode Found MSI capability Linux agpgart interface v0.101 (c) Dave Jones serio: i8042 AUX port at 0x60,0x64 irq 12 serio: i8042 KBD port at 0x60,0x64 irq 1 Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered tg3.c:v3.31 (June 8, 2005) eth0: Tigon3 [partno(BCM95751) rev 4001 PHY(5750)] (PCIX:100MHz:32-bit) 10/100/1000BaseT Ethernet 00:12:3f:71:ed:be eth0: RXcsums[1] LinkChgREG[1] MIirq[1] ASF[0] Split[0] WireSpeed[1] TSOcap= [1] eth0: dma_rwctrl[76180000] WARNING: Failed to register Xen virtual console driver as 'ttyS0' Event-channel device installed. (XEN) (file=3D/var/tmp/portage/xen-3.0.0_pre20050829/work/xen-unstable/xen/= include/asm/mm.h, line=3D201) Error pfn 6000: rd=3Dffbfb080, od=3D00000000, caf=3D00000000, taf=3D0000000c (XEN) Guest stack trace from esp=3Dc10ff634: (XEN) c02e59c0 c6812000 00001000 c0116f71 c10ff658 00000000 00000001 000= 01000 (XEN) 7ff10073 c10ff66c 0189f048 00000000 06000063 00000000 0189f008 000= 00000 (XEN) efcf2073 00000000 0189f00c 00000000 efcf3073 00000000 0189f010 000= 00000 (XEN) efcf4073 00000000 0189f014 00000000 efcf5073 00000000 0189f018 000= 00000 (XEN) efcf6073 00000000 0189f01c 00000000 efcf7073 00000000 0189f020 000= 00000 (XEN) efcf8073 00000000 0189f024 00000000 efcf9073 00000000 0189f028 000= 00000 (XEN) efcfa073 00000000 0189f02c 00000000 efcfb073 00000000 0189f030 000= 00000 (XEN) efcfc073 00000000 0189f034 00000000 efcfd073 00000000 0189f038 000= 00000 (XEN) efcfe073 00000000 0189f03c 00000000 efcff073 00000000 00000053 000= 00054 (XEN) 00000055 00000056 00000057 00000058 00000059 0000005a 0000005b 000= 0005c (XEN) 0000005d 0000005e 0000005f 00000060 00000061 00000062 00000063 000= 00064 (XEN) 00000065 00000066 00000067 00000068 00000069 0000006a 0000006b 000= 0006c (XEN) 0000006d 0000006e 0000006f 00000070 00000071 00000072 00000073 000= 00074 (XEN) 00000075 00000076 00000077 00000078 00000079 0000007a 0000007b 000= 0007c (XEN) 0000007d 0000007e 0000007f 00000080 00000081 00000082 00000083 000= 00084 (XEN) 00000085 00000086 00000087 00000088 00000089 0000008a 0000008b 000= 0008c (XEN) 0000008d 0000008e 0000008f 00000118 00000119 0000011a 0000011b 000= 0011c (XEN) 0000011d 0000011e 0000011f 00000090 00000091 00000092 00000093 000= 00094 (XEN) 00000095 00000096 00000097 00000098 00000099 0000009a 0000009b 000= 0009c (XEN) 0000009d 0000009e 0000009f 000000a0 000000a1 000000a2 000000a3 000= 000a4 ata_piix: probe of 0000:00:1f.2 failed with error -12