Eric,
It hang somewhere before ending "reading resources",
what could cause that?
YH
LinuxBIOS-1.1.8_s2735_Fallback Thu Jun 16 21:26:53 PDT 2005 starting...
SMBus controller enabled
Ram1.00 Ram2.00 Ram3
LinuxBIOS-1.1.8_s2735_Fallback Thu Jun 16 21:26:53 PDT 2005 starting... SMBus controller enabled Ram1.00 Ram2.00 Ram3 Ram4 PCI: 00:00.00 00: 86 80 4c 25 06 00 90 00 01 00 00 06 00 00 80 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00 40: 09 00 05 11 00 00 00 00 00 00 00 00 00 00 00 00 50: 04 60 0d 00 00 00 00 00 00 30 33 33 33 33 33 33 60: 10 20 30 40 50 60 60 60 00 00 00 00 00 00 00 00 70: 44 44 44 00 00 00 00 00 1f 02 01 39 79 02 67 20 80: b1 0b 71 00 00 00 00 00 00 98 10 d2 88 00 00 00 90: 00 00 00 00 00 00 00 00 55 05 55 05 01 02 38 00 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0: 44 c0 50 11 00 c0 60 00 70 00 00 00 00 00 00 00 d0: 02 28 00 0e 03 00 00 33 80 09 31 b5 00 00 00 00 e0: 1c 1d 00 00 00 00 00 00 56 48 00 00 00 00 00 00 f0: 00 00 00 00 76 00 30 40 40 0f 00 00 00 00 00 00 Copying LinuxBIOS to ram. Jumping to LinuxBIOS. LinuxBIOS-1.1.8_s2735_Fallback Thu Jun 16 21:26:53 PDT 2005 booting... clocks_per_usec: 4538 Enumerating buses... PCI_DOMAIN: 0000 enabled APIC_CLUSTER: 0 enabled PCI: pci_scan_bus for bus 0 PCI: 00:00.0 [8086/254c] enabled PCI: 00:00.1 [8086/2541] enabled PCI: 00:02.0 [8086/2543] enabled PCI: 00:06.0 [8086/2549] enabled PCI: 00:1d.0 [8086/24d2] ops PCI: 00:1d.0 [8086/24d2] enabled PCI: 00:1d.1 [8086/24d4] ops PCI: 00:1d.1 [8086/24d4] enabled PCI: 00:1d.2 [8086/24d7] ops PCI: 00:1d.2 [8086/24d7] enabled PCI: 00:1d.3 [8086/24de] ops PCI: 00:1d.3 [8086/24de] enabled PCI: 00:1d.7 [8086/24dd] ops PCI: 00:1d.7 [8086/24dd] enabled PCI: 00:1e.0 [8086/244e] bus ops PCI: 00:1e.0 [8086/244e] enabled PCI: 00:1f.0 [8086/24d0] bus ops PCI: 00:1f.0 [8086/24d0] enabled PCI: 00:1f.2 [8086/24df] ops PCI: 00:1f.2 [8086/24df] enabled PCI: 00:1f.3 [8086/24d3] enabled PCI: pci_scan_bus for bus 1 PCI: 01:1c.0 [8086/1461] ops PCI: 01:1c.0 [8086/1461] enabled PCI: 01:1d.0 [8086/1460] bus ops PCI: 01:1d.0 [8086/1460] enabled PCI: 01:1e.0 [8086/1461] ops PCI: 01:1e.0 [8086/1461] enabled PCI: 01:1f.0 [8086/1460] bus ops PCI: 01:1f.0 [8086/1460] enabled PCI: pci_scan_bus for bus 2 PCI: 02:01.0 [8086/1010] enabled PCI: 02:01.1 [8086/1010] enabled PCI: pci_scan_bus returning with max=02 PCI: pci_scan_bus for bus 3 PCI: pci_scan_bus returning with max=03 PCI: pci_scan_bus returning with max=03 PCI: pci_scan_bus for bus 4 PCI: 04:01.0 [8086/1229] enabled PCI: 04:02.0 [1002/4752] enabled PCI: pci_scan_bus returning with max=04 PNP: 002e.0 enabled PNP: 002e.1 disabled PNP: 002e.2 enabled PNP: 002e.3 enabled PNP: 002e.5 enabled PNP: 002e.6 disabled PNP: 002e.7 disabled PNP: 002e.8 disabled PNP: 002e.9 disabled PNP: 002e.a disabled PNP: 002e.b enabled PCI: pci_scan_bus returning with max=04 done Allocating resources... Reading resources... PCI: 01:1d.0 24 <- [0xfffffffffff00000 - 0xffffffffffefffff] bus 2 prefmem PCI: 01:1f.0 1c <- [0x000000f000 - 0x000000efff] bus 3 io PCI: 01:1f.0 24 <- [0xfffffffffff00000 - 0xffffffffffefffff] bus 3 prefmem PCI: 01:1f.0 20 <- [0x00fff00000 - 0x00ffefffff] bus 3 mem PCI: 00:02.0 24 <- [0x00fff00000 - 0x00ffefffff] bus 1 prefmem PCI: 00:1e.0 24 <- [0x00fff00000 - 0x00ffefffff] bus 4 prefmem
On Thu, Jun 16, 2005 at 08:55:49PM -0700, YhLu wrote:
It hang somewhere before ending "reading resources",
what could cause that?
Allocating resources... Reading resources... PCI: 01:1d.0 24 <- [0xfffffffffff00000 - 0xffffffffffefffff] bus 2 prefmem PCI: 01:1f.0 1c <- [0x000000f000 - 0x000000efff] bus 3 io PCI: 01:1f.0 24 <- [0xfffffffffff00000 - 0xffffffffffefffff] bus 3 prefmem PCI: 01:1f.0 20 <- [0x00fff00000 - 0x00ffefffff] bus 3 mem PCI: 00:02.0 24 <- [0x00fff00000 - 0x00ffefffff] bus 1 prefmem PCI: 00:1e.0 24 <- [0x00fff00000 - 0x00ffefffff] bus 4 prefmem
I've seen this with the EPIA-M work (which is still ongoing; Adam's been testing bits and I've been trying to understand the chip and waiting impatiently for my programmer to turn up).
We solved it by changing pci_moving_config32.
The current in-tree version reads the value, sets the reg to all 1s, reads the value, sets the reg to all 0s, reads the value, restores the regs to the original value and works out the mask by XORing the bits.
However from my reading of the PCI spec (v2.2) it just says to set the BAR to all 1s, read the value and work out the bits at the bottom you can ignore from whether it's an IO or MEM resource. I don't know if the writing all 0s is the problem or not though; presumably it works everywhere else or the tree wouldn't currently do that.
J.