[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] SATA detect fails on ICH7 chipset / DellPoweredgeSC430


  • To: "Chris Bainbridge" <chris.bainbridge@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
  • Date: Tue, 30 Aug 2005 18:30:51 +0100
  • Delivery-date: Tue, 30 Aug 2005 17:29:00 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcWthZkXv3s54Gt2SxWK21PGOr7NQgAAswMw
  • Thread-topic: [Xen-devel] SATA detect fails on ICH7 chipset / DellPoweredgeSC430

> > 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 can't spot this. Are you sure you're posting the right diff?

> 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?

It all looks good, right up until it fails.

I think adding some tracing in the driver is the next course of action.

Ian 

> -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@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.