Ian Pratt
2005-Aug-30 14:16 UTC
RE: [Xen-devel] SATA detect fails on ICH7 chipset / Dell PoweredgeSC430
This is a pretty odd failure, as everything seems to be going fine with the ACPI configuration right up until the ata_piix probe failure. The only thing I can suggest is to add some "printk(KERN_ALERT" tracing to the init function of the driver and see where its failing... My guess is that it fails for some other reason before it tries using ACPI to plumb the interrupt. Thanks, Ian> -----Original Message----- > From: xen-devel-bounces@lists.xensource.com > [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of > Chris Bainbridge > Sent: 30 August 2005 13:04 > To: xen-devel@lists.xensource.com > Subject: Re: [Xen-devel] SATA detect fails on ICH7 chipset / > Dell PoweredgeSC430 > > > Having the bootlog from a native build of 2.6.12.5 would be > useful to > > compare against the 2.6.12.5-xen0. > > Attached. > > > When running native linux, what driver is used for the SATA > controller? > > Are you sure its actually compiled in to our -xen0 config? > > The one in Config->SCSI->Sata->Intel PIIX/ICH SATA Support. > I have the AHCI driver builtin as well. > > I''m sure the SATA support works. I''ve used the exact same > hypervisor and kernel images to boot on the sc420, and the > same driver works on the sc430 without Xen. > > The difference seems to be that under sc430-xen we get: > > ata_piix: probe of 0000:00:1f.2 failed with error -12 > > instead of (sc430 native): > > ACPI: PCI Interrupt 0000:00:1f.2[C] -> GSI 20 (level, low) -> IRQ 20 > ata1: SATA max UDMA/133 cmd 0xFE00 ctl 0xFE12 bmdma 0xFEA0 irq 20 > ata2: SATA max UDMA/133 cmd 0xFE20 ctl 0xFE32 bmdma 0xFEA8 irq 20 > > or (sc420-xen): > > ACPI: PCI Interrupt 0000:00:1f.2[C] -> GSI 20 (level, low) -> IRQ 20 > ahci(0000:00:1f.2) AHCI 0001.0000 32 slots 4 ports 1.5 Gbps > 0xf impl IDE mode > ahci(0000:00:1f.2) flags: 64bit ncq pm led slum part > > It seems the sc430-xen isn''t doing something related to ACPI > that enables the hardware to be detected? > > > Incidently, have you tried using the -xen kerenel plus modules that > > are in our -unstable install tar ball? This is the kernel that > > end-users are intended to use: -xen0/-xenU are just for developers'' > > convenience (fewer modules, faster to build). > > I took the unstable tarball, patched the kernel with the > patches/linux-2.6.12 diffs, and copied over the > linux-2.6-xen-sparse directory. After building it boots on > the sc420 so I don''t think it''s a problem with the build > stage, but I can try something else if it would help. >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Chris Bainbridge
2005-Aug-30 17:09 UTC
Re: [Xen-devel] SATA detect fails on ICH7 chipset / Dell PoweredgeSC430
On 30/08/05, Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk> wrote:> > This is a pretty odd failure, as everything seems to be going fine with > the ACPI configuration right up until the ata_piix probe failure. > > The only thing I can suggest is to add some "printk(KERN_ALERT" tracing > to the init function of the driver and see where its failing... > > My guess is that it fails for some other reason before it tries using > ACPI to plumb the interrupt.I think you''re right as the pata driver omits the cd detect just before the ata_piix failing. I''ve cut the kernels down, removing usb and a bunch of stuff, ensuring settings are identical. Here''s a diff between from xen(fails)->native(works). As you can see there really aren''t that many differences.. maybe you can spot something significant? -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 +Linux version 2.6.12.5 (root@xenmaster) (gcc version 3.4.4 (Gentoo 3.4.4, ssp-3.4.4-1.0, pie-8.7.8)) #10 Tue Aug 30 17:10:32 GMT 2005 BIOS-provided physical RAM map: - Xen: 0000000000000000 - 0000000006000000 (usable) -96MB LOWMEM available. -On node 0 totalpages: 24576 - DMA zone: 24576 pages, LIFO batch:15 - Normal zone: 0 pages, LIFO batch:1 - HighMem zone: 0 pages, LIFO batch:1 + 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) +Warning only 896MB will be used. +Use a HIGHMEM enabled kernel. +896MB 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=/dev/md2 noreboot console=ttyS0 debug -Initializing CPU#0 -PID hash table entries: 512 (order: 9, 8192 bytes) -Xen reported: 2793.118 MHz processor. -Console: colour VGA+ 80x25 -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. -On node 0 totalpages: 24576 - DMA zone: 24576 pages, LIFO batch:15 - Normal zone: 0 pages, LIFO batch:1 +On node 0 totalpages: 229376 + DMA zone: 4096 pages, LIFO batch:1 + Normal zone: 225280 pages, LIFO batch:31 HighMem zone: 0 pages, LIFO batch:1 -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 +Processor #0 15:4 APIC version 20 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) +Allocating PCI resources starting at 40000000 (gap: 40000000:b0000000) Built 1 zonelists -Kernel command line: root=/dev/md2 noreboot console=ttyS0 debug +Kernel command line: ro root=/dev/md2 console=ttyS0 debug +mapped APIC to ffffd000 (fee00000) +mapped IOAPIC to ffffc000 (fec00000) Initializing CPU#0 -PID hash table entries: 512 (order: 9, 8192 bytes) -Xen reported: 2793.118 MHz processor. +PID hash table entries: 4096 (order: 12, 65536 bytes) +Detected 2794.172 MHz processor. +Using tsc for high-res timesource 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) +Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) +Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) +Memory: 906492k/917504k available (1577k kernel code, 10560k reserved, 692k data, 136k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. -Calibrating delay loop... 5583.66 BogoMIPS (lpj=27918336) +Calibrating delay loop... 5505.02 BogoMIPS (lpj=2752512) Mount-cache hash table entries: 512 CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 0000641d 00000000 00000000 CPU: After vendor identify, caps: bfebfbff 20100000 00000000 00000000 0000641d 00000000 00000000 +monitor/mwait feature present. +using mwait in idle threads. CPU: Trace cache: 12K uops, L1 D cache: 16K CPU: L2 cache: 1024K -CPU: After all inits, caps: bfebd3f1 20100000 00000000 00000080 0000641d 00000000 00000000 +CPU: After all inits, caps: bfebfbff 20100000 00000000 00000080 0000641d 00000000 00000000 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 +Checking ''hlt'' instruction... OK. ENABLING IO-APIC IRQs +..TIMER: vector=0x31 pin1=2 pin2=0 NET: Registered protocol family 16 +PCI: PCI BIOS revision 2.10 entry at 0xfbcb2, last bus=5 PCI: Using configuration type 1 -xen_mem: Initialising balloon driver. SCSI subsystem initialized PCI: Probing PCI hardware PCI: Probing PCI hardware (bus 00) @@ -86,7 +79,6 @@ 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 PCI: Setting latency timer of device 0000:00:01.0 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[pcie00] @@ -116,26 +108,99 @@ 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. libata version 1.11 loaded. ata_piix version 1.03 -ata_piix: probe of 0000:00:1f.2 failed with error -12 +PCI: Setting latency timer of device 0000:00:1f.2 to 64 +ata1: SATA max UDMA/133 cmd 0xFE00 ctl 0xFE12 bmdma 0xFEA0 irq 20 +ata2: SATA max UDMA/133 cmd 0xFE20 ctl 0xFE32 bmdma 0xFEA8 irq 20 +ata1: dev 0 cfg 49:2f00 82:7c6b 83:7f09 84:4003 85:7c69 86:3e01 87:4003 88:207f +ata1: dev 0 ATA, max UDMA/133, 312500000 sectors: lba48 +ata1: dev 1 cfg 49:2f00 82:7c6b 83:7f09 84:4003 85:7c69 86:3e01 87:4003 88:207f +ata1: dev 1 ATA, max UDMA/133, 312500000 sectors: lba48 +ata1: dev 0 configured for UDMA/133 +ata1: dev 1 configured for UDMA/133 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel