[LinuxBIOS] Enabling APIC 82801xx

joe at smittys.pointclark.net joe at smittys.pointclark.net
Tue Oct 2 02:16:17 CEST 2007


Quoting Corey Osgood <corey.osgood at gmail.com>:

> joe at smittys.pointclark.net wrote:
>> Quoting ron minnich <rminnich at gmail.com>:
>>
>>> On 9/29/07, joe at smittys.pointclark.net <joe at smittys.pointclark.net>
>>> wrote:
>>>
>>>> device pci 2.0 off end # VGA compatible controller: Intel Corporation
>>>> 82830 CGC
>>>>
>>>> enabled it does not allocate the 0x00fec00000 - 0x00fec000ff memory
>>>> range. Is this because the VGA controller prefetches memory first?? Or
>>>> is this just a wacky Intel thing?
>>>>
>>>
>>> oh, joy. I have not been following this thread; sorry. So when you
>>> boot with DEBUG_SPEW, do you see what is going on with the allocation?

Here is a copy of my bootlog showing devices alocating memory in this region.


Thanks - Joe
-------------- next part --------------
LinuxBIOS-2.0.0.0Fallback Wed Sep 26 18:28:48 EDT 2007 starting...
Setting initial registers....
Initial registers have been set.
No DIMM found in slot 00
DRB 0x60 has been set to 0x00
DRB1 0x61 has been set to 0x00
Found DIMM in slot 01
DIMM is 0x0080 on side 1
DIMM is 0x0000 on side 2
DRB2 0x62 has been set to 0x04
DRB3 0x63 has been set to 0x04
No DIMM found in slot 00, setting DRA to 0xFF
DRA 0x70 has been set to 0xff
Found DIMM in slot 01, setting DRA...
DRA 0x71 has been set to 0xf1
RAM Enable 1: Apply NOP
    Sending RAM command 0x00000010 to 0x00000000
RAM Enable 2: Precharge all
    Sending RAM command 0x00000020 to 0x00000000
RAM Enable 3: CBR
    Sending RAM command 0x00000060 to 0x00000000
RAM Enable 4: Mode register set
    Sending RAM command 0x00000030 to 0x000001d0
RAM Enable 5: Normal operation
    Sending RAM command 0x20000170 to 0x00000000
Northbridge following SDRAM init:
PCI: 00:00.00
00: 86 80 75 35 06 00 10 00 04 00 00 06 00 00 00 00
10: 08 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 01 00 00 00 00 00 00 00 00 02 28 00 0e
50: 72 a0 20 00 00 00 00 00 00 30 33 33 33 33 33 33
60: 00 00 04 04 00 00 00 00 00 00 00 00 00 00 00 00
70: ff f1 ff ff 00 00 00 00 10 00 00 00 70 01 00 20
80: 00 00 00 00 00 00 00 00 00 d0 20 60 00 00 00 00
90: 02 38 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 02 00 20 00 17 02 00 1f 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: 00 54 0e 41 a2 99 01 00 c0 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 09 c9 9f fc
f0: 11 11 01 00 00 00 0b 05 34 d6 33 cf 22 cf 27 cf
Copying LinuxBIOS to RAM.
Jumping to LinuxBIOS.
LinuxBIOS-2.0.0.0Fallback Wed Sep 26 18:28:48 EDT 2007 booting...
end 6cf8cf61, start 0
32-bit delta 1566
calibrate_tsc 32-bit result is 1566
clocks_per_usec: 1566
Enumerating buses...
scan_static_bus for Root Device
Finding PCI configuration type.
PCI: Using configuration type 1
PCI_DOMAIN: 0000 enabled
PCI_DOMAIN: 0000 scanning...
PCI: pci_scan_bus for bus 00
PCI: 00:00.0 [8086/3575] ops
PCI: 00:00.0 [8086/3575] enabled
PCI: devfn 0x9, bad id 0xffffffff
PCI: devfn 0xa, bad id 0xffffffff
PCI: devfn 0xb, bad id 0xffffffff
PCI: devfn 0xc, bad id 0xffffffff
PCI: devfn 0xd, bad id 0xffffffff
PCI: devfn 0xe, bad id 0xffffffff
PCI: devfn 0xf, bad id 0xffffffff
PCI: 00:02.0 [8086/3577] disabled
PCI: devfn 0x11, bad id 0xffffffff
PCI: devfn 0x12, bad id 0xffffffff
PCI: devfn 0x13, bad id 0xffffffff
PCI: devfn 0x14, bad id 0xffffffff
PCI: devfn 0x15, bad id 0xffffffff
PCI: devfn 0x16, bad id 0xffffffff
PCI: devfn 0x17, bad id 0xffffffff
PCI: devfn 0x18, bad id 0xffffffff
PCI: devfn 0x20, bad id 0xffffffff
PCI: devfn 0x28, bad id 0xffffffff
PCI: devfn 0x30, bad id 0xffffffff
PCI: devfn 0x38, bad id 0xffffffff
PCI: devfn 0x40, bad id 0xffffffff
PCI: devfn 0x48, bad id 0xffffffff
PCI: devfn 0x50, bad id 0xffffffff
PCI: devfn 0x58, bad id 0xffffffff
PCI: devfn 0x60, bad id 0xffffffff
PCI: devfn 0x68, bad id 0xffffffff
PCI: devfn 0x70, bad id 0xffffffff
PCI: devfn 0x78, bad id 0xffffffff
PCI: devfn 0x80, bad id 0xffffffff
PCI: devfn 0x88, bad id 0xffffffff
PCI: devfn 0x90, bad id 0xffffffff
PCI: devfn 0x98, bad id 0xffffffff
PCI: devfn 0xa0, bad id 0xffffffff
PCI: devfn 0xa8, bad id 0xffffffff
PCI: devfn 0xb0, bad id 0xffffffff
PCI: devfn 0xb8, bad id 0xffffffff
PCI: devfn 0xc0, bad id 0xffffffff
PCI: devfn 0xc8, bad id 0xffffffff
PCI: devfn 0xd0, bad id 0xffffffff
PCI: devfn 0xd8, bad id 0xffffffff
PCI: devfn 0xe0, bad id 0xffffffff
PCI: 00:1d.0 [8086/24c2] ops
PCI: 00:1d.0 [8086/24c2] enabled
PCI: 00:1d.1 [8086/24c4] ops
PCI: 00:1d.1 [8086/24c4] enabled
PCI: 00:1d.2 [8086/24c7] ops
PCI: 00:1d.2 [8086/24c7] enabled
PCI: devfn 0xeb, bad id 0xffffffff
PCI: devfn 0xec, bad id 0xffffffff
PCI: devfn 0xed, bad id 0xffffffff
PCI: devfn 0xee, bad id 0xffffffff
PCI: 00:1d.7 [8086/24cd] ops
PCI: 00:1d.7 [8086/24cd] enabled
PCI: 00:1e.0 [8086/244e] bus ops
PCI: 00:1e.0 [8086/244e] enabled
PCI: 00:1f.0 [8086/24c0] bus ops
PCI: 00:1f.0 [8086/24c0] enabled
PCI: 00:1f.1 [8086/24cb] ops
PCI: 00:1f.1 [8086/24cb] enabled
PCI: devfn 0xfa, bad id 0xffffffff
PCI: 00:1f.3 [8086/24c3] enabled
PCI: devfn 0xfc, bad id 0xffffffff
PCI: 00:1f.5 [8086/24c5] ops
PCI: 00:1f.5 [8086/24c5] enabled
PCI: 00:1f.6 [8086/24c6] ops
PCI: 00:1f.6 [8086/24c6] enabled
PCI: devfn 0xff, bad id 0xffffffff
do_pci_scan_bridge for PCI: 00:1e.0
PCI: pci_scan_bus for bus 01
PCI: devfn 0x0, bad id 0xffffffff
PCI: devfn 0x8, bad id 0xffffffff
PCI: devfn 0x10, bad id 0xffffffff
PCI: devfn 0x18, bad id 0xffffffff
PCI: devfn 0x20, bad id 0xffffffff
PCI: devfn 0x28, bad id 0xffffffff
PCI: devfn 0x30, bad id 0xffffffff
PCI: devfn 0x38, bad id 0xffffffff
PCI: devfn 0x40, bad id 0xffffffff
PCI: devfn 0x48, bad id 0xffffffff
PCI: devfn 0x50, bad id 0xffffffff
PCI: devfn 0x58, bad id 0xffffffff
PCI: devfn 0x60, bad id 0xffffffff
PCI: devfn 0x68, bad id 0xffffffff
PCI: devfn 0x70, bad id 0xffffffff
PCI: devfn 0x78, bad id 0xffffffff
PCI: devfn 0x80, bad id 0xffffffff
PCI: devfn 0x88, bad id 0xffffffff
PCI: devfn 0x90, bad id 0xffffffff
PCI: devfn 0x98, bad id 0xffffffff
PCI: devfn 0xa0, bad id 0xffffffff
PCI: devfn 0xa8, bad id 0xffffffff
PCI: devfn 0xb0, bad id 0xffffffff
PCI: devfn 0xb8, bad id 0xffffffff
PCI: devfn 0xc0, bad id 0xffffffff
PCI: devfn 0xc8, bad id 0xffffffff
PCI: devfn 0xd0, bad id 0xffffffff
PCI: devfn 0xd8, bad id 0xffffffff
PCI: devfn 0xe0, bad id 0xffffffff
PCI: devfn 0xe8, bad id 0xffffffff
PCI: devfn 0xf0, bad id 0xffffffff
PCI: devfn 0xf8, bad id 0xffffffff
PCI: pci_scan_bus returning with max=001
do_pci_scan_bridge returns max 1
scan_static_bus for PCI: 00:1f.0
Found SMSC Super I/O (ID=0x60, rev=0x01)
PNP: 002e.0 disabled
PNP: 002e.3 disabled
PNP: 002e.4 enabled
PNP: 002e.5 disabled
PNP: 002e.7 enabled
PNP: 002e.9 disabled
PNP: 002e.a disabled
PNP: 002e.b disabled
scan_static_bus for PCI: 00:1f.0 done
PCI: pci_scan_bus returning with max=001
scan_static_bus for Root Device done
done
Allocating resources...
Reading resources...
Root Device compute_allocate_io: base: 00000400 size: 00000000 align: 0 gran: 0
Root Device read_resources bus 0 link: 0
PCI_DOMAIN: 0000 read_resources bus 0 link: 0
PCI: 00:00.0 register 10(00000008), read-only ignoring it
PCI: 00:1e.0 compute_allocate_io: base: 00000000 size: 00000000 align: 12 gran: 12
PCI: 00:1e.0 read_resources bus 1 link: 0
PCI: 00:1e.0 read_resources bus 1 link: 0 done
PCI: 00:1e.0 compute_allocate_io: base: 00000000 size: 00000000 align: 12 gran: 12 done
PCI: 00:1e.0 compute_allocate_io: base: 0000f000 size: 00000000 align: 12 gran: 12
PCI: 00:1e.0 read_resources bus 1 link: 0
PCI: 00:1e.0 read_resources bus 1 link: 0 done
PCI: 00:1e.0 compute_allocate_io: base: 0000f000 size: 00000000 align: 12 gran: 12 done
PCI: 00:1e.0 1c <- [0x000000f000 - 0x000000efff] bus 01 io
PCI: 00:1e.0 compute_allocate_prefmem: base: 00000000 size: 00000000 align: 20 gran: 20
PCI: 00:1e.0 read_resources bus 1 link: 0
PCI: 00:1e.0 read_resources bus 1 link: 0 done
PCI: 00:1e.0 compute_allocate_prefmem: base: 00000000 size: 00000000 align: 20 gran: 20 done
PCI: 00:1e.0 compute_allocate_prefmem: base: fff00000 size: 00000000 align: 20 gran: 20
PCI: 00:1e.0 read_resources bus 1 link: 0
PCI: 00:1e.0 read_resources bus 1 link: 0 done
PCI: 00:1e.0 compute_allocate_prefmem: base: fff00000 size: 00000000 align: 20 gran: 20 done
PCI: 00:1e.0 24 <- [0x00fff00000 - 0x00ffefffff] bus 01 prefmem
PCI: 00:1e.0 compute_allocate_mem: base: 00000000 size: 00000000 align: 20 gran: 20
PCI: 00:1e.0 read_resources bus 1 link: 0
PCI: 00:1e.0 read_resources bus 1 link: 0 done
PCI: 00:1e.0 compute_allocate_mem: base: 00000000 size: 00000000 align: 20 gran: 20 done
PCI: 00:1e.0 compute_allocate_mem: base: fff00000 size: 00000000 align: 20 gran: 20
PCI: 00:1e.0 read_resources bus 1 link: 0
PCI: 00:1e.0 read_resources bus 1 link: 0 done
PCI: 00:1e.0 compute_allocate_mem: base: fff00000 size: 00000000 align: 20 gran: 20 done
PCI: 00:1e.0 20 <- [0x00fff00000 - 0x00ffefffff] bus 01 mem
PCI: 00:1f.0 read_resources bus 0 link: 0
PCI: 00:1f.0 read_resources bus 0 link: 0 done
PCI_DOMAIN: 0000 read_resources bus 0 link: 0 done
Root Device read_resources bus 0 link: 0 done
PCI: 00:1f.5 10 *  [0x00000400 - 0x000004ff] io
PCI: 00:1f.6 10 *  [0x00000800 - 0x000008ff] io
PCI: 00:1f.6 14 *  [0x00000c00 - 0x00000c7f] io
PCI: 00:1f.5 14 *  [0x00000c80 - 0x00000cbf] io
PCI: 00:1d.0 20 *  [0x00000cc0 - 0x00000cdf] io
PCI: 00:1d.1 20 *  [0x00000ce0 - 0x00000cff] io
PCI: 00:1d.2 20 *  [0x00001000 - 0x0000101f] io
PCI: 00:1f.3 20 *  [0x00001020 - 0x0000103f] io
PCI: 00:1f.1 20 *  [0x00001040 - 0x0000104f] io
PCI: 00:1f.1 10 *  [0x00001050 - 0x00001057] io
PCI: 00:1f.1 18 *  [0x00001060 - 0x00001067] io
PCI: 00:1f.1 14 *  [0x00001070 - 0x00001073] io
PCI: 00:1f.1 1c *  [0x00001080 - 0x00001083] io
Root Device compute_allocate_io: base: 00001084 size: 00000c84 align: 8 gran: 0 done
Root Device compute_allocate_mem: base: 00000000 size: 00000000 align: 0 gran: 0
Root Device read_resources bus 0 link: 0
Root Device read_resources bus 0 link: 0 done
PCI: 00:1d.7 10 *  [0x00000000 - 0x000003ff] mem
PCI: 00:1f.1 24 *  [0x00001000 - 0x000013ff] mem
PCI: 00:1f.5 18 *  [0x00002000 - 0x000021ff] mem
PCI: 00:1f.5 1c *  [0x00003000 - 0x000030ff] mem
Root Device compute_allocate_mem: base: 00003100 size: 00003100 align: 10 gran: 0 done
Done reading resources.
Setting resources...
Root Device compute_allocate_io: base: 00001000 size: 00000c84 align: 8 gran: 0
Root Device read_resources bus 0 link: 0
Root Device read_resources bus 0 link: 0 done
PCI: 00:1f.5 10 *  [0x00001000 - 0x000010ff] io
PCI: 00:1f.6 10 *  [0x00001400 - 0x000014ff] io
PCI: 00:1f.6 14 *  [0x00001800 - 0x0000187f] io
PCI: 00:1f.5 14 *  [0x00001880 - 0x000018bf] io
PCI: 00:1d.0 20 *  [0x000018c0 - 0x000018df] io
PCI: 00:1d.1 20 *  [0x000018e0 - 0x000018ff] io
PCI: 00:1d.2 20 *  [0x00001c00 - 0x00001c1f] io
PCI: 00:1f.3 20 *  [0x00001c20 - 0x00001c3f] io
PCI: 00:1f.1 20 *  [0x00001c40 - 0x00001c4f] io
PCI: 00:1f.1 10 *  [0x00001c50 - 0x00001c57] io
PCI: 00:1f.1 18 *  [0x00001c60 - 0x00001c67] io
PCI: 00:1f.1 14 *  [0x00001c70 - 0x00001c73] io
PCI: 00:1f.1 1c *  [0x00001c80 - 0x00001c83] io
Root Device compute_allocate_io: base: 00001c84 size: 00000c84 align: 8 gran: 0 done
Root Device compute_allocate_mem: base: febfcc00 size: 00003100 align: 10 gran: 0
Root Device read_resources bus 0 link: 0
Root Device read_resources bus 0 link: 0 done
PCI: 00:1d.7 10 *  [0xfebfd000 - 0xfebfd3ff] mem
PCI: 00:1f.1 24 *  [0xfebfe000 - 0xfebfe3ff] mem
PCI: 00:1f.5 18 *  [0xfebff000 - 0xfebff1ff] mem
PCI: 00:1f.5 1c *  [0xfec00000 - 0xfec000ff] mem
Root Device compute_allocate_mem: base: fec00100 size: 00003500 align: 10 gran: 0 done
Root Device assign_resources, bus 0 link: 0
Setting RAM size to 131072
PCI_DOMAIN: 0000 assign_resources, bus 0 link: 0
PCI: 00:1d.0 20 <- [0x00000018c0 - 0x00000018df] io
PCI: 00:1d.1 20 <- [0x00000018e0 - 0x00000018ff] io
PCI: 00:1d.2 20 <- [0x0000001c00 - 0x0000001c1f] io
PCI: 00:1d.7 10 <- [0x00febfd000 - 0x00febfd3ff] mem
PCI: 00:1f.0 assign_resources, bus 0 link: 0
PNP: 002e.4 60 <- [0x00000003f8 - 0x00000003ff] io
PNP: 002e.4 70 <- [0x0000000004 - 0x0000000004] irq
PNP: 002e.7 60 <- [0x0000000060 - 0x0000000060] io
PNP: 002e.7 62 <- [0x0000000064 - 0x0000000064] io
PNP: 002e.7 70 <- [0x0000000001 - 0x0000000001] irq
PNP: 002e.7 72 <- [0x000000000c - 0x000000000c] irq
PCI: 00:1f.0 assign_resources, bus 0 link: 0
PCI: 00:1f.1 10 <- [0x0000001c50 - 0x0000001c57] io
PCI: 00:1f.1 14 <- [0x0000001c70 - 0x0000001c73] io
PCI: 00:1f.1 18 <- [0x0000001c60 - 0x0000001c67] io
PCI: 00:1f.1 1c <- [0x0000001c80 - 0x0000001c83] io
PCI: 00:1f.1 20 <- [0x0000001c40 - 0x0000001c4f] io
PCI: 00:1f.1 24 <- [0x00febfe000 - 0x00febfe3ff] mem
PCI: 00:1f.3 20 <- [0x0000001c20 - 0x0000001c3f] io
PCI: 00:1f.5 10 <- [0x0000001000 - 0x00000010ff] io
PCI: 00:1f.5 14 <- [0x0000001880 - 0x00000018bf] io
PCI: 00:1f.5 18 <- [0x00febff000 - 0x00febff1ff] mem
PCI: 00:1f.5 1c <- [0x00fec00000 - 0x00fec000ff] mem
PCI: 00:1f.6 10 <- [0x0000001400 - 0x00000014ff] io
PCI: 00:1f.6 14 <- [0x0000001800 - 0x000000187f] io
PCI_DOMAIN: 0000 assign_resources, bus 0 link: 0
Root Device assign_resources, bus 0 link: 0
Done setting resources.
Done allocating resources.
Enabling resources...
PCI: 00:00.0 cmd <- 06
PCI: 00:1d.0 cmd <- 01
PCI: 00:1d.1 cmd <- 01
PCI: 00:1d.2 cmd <- 01
PCI: 00:1d.7 subsystem <- 00/00
PCI: 00:1d.7 cmd <- 02
PCI: 00:1e.0 bridge ctrl <- 0003
PCI: 00:1e.0 cmd <- 01
PCI: 00:1f.0 cmd <- 0f
PCI: 00:1f.1 cmd <- 03
PCI: 00:1f.3 subsystem <- 00/00
PCI: 00:1f.3 cmd <- 01
PCI: 00:1f.5 cmd <- 03
PCI: 00:1f.6 cmd <- 01
done.
Initializing devices...
Root Device init
PCI: 00:00.0 init
Northbridge init
PCI: 00:1d.0 init
PCI: 00:1d.1 init
PCI: 00:1d.2 init
PCI: 00:1d.7 init
EHCI: Setting up controller.. done.
PCI: 00:1e.0 init
PCI: 00:1f.0 init
IOAPIC Southbridge enabled 2186
Southbridge APIC ID = 0
APIC Error


More information about the coreboot mailing list