On Tue, 2005-01-11 at 12:02, Li-Ta Lo wrote:
> On Tue, 2005-01-11 at 11:56, YhLu wrote:
> > Ollie,
> > 
> > I recall sth about mtrr setting, I wonder if I enable the NC could affect
> > your code. Please check cpu/x86/mtrr/mtrr.c about enable NC below 4G.
> > 
> 
> I think there is some problem with the resource allocation. If the vga
> card has PCI IO resource then there will be no overlaping. If it does
> not have PCI IO resource then there will be overlaping.
> 

There is really a but in the resource allocation. Please take a look at
the attached log files. The ATI card has PCI IO resource so there
is no bogus resource in the northbridge. As the Nvidia card it does
not have PCI IO resource so we got the 20000 to 1ffff thing.

Ollie


LinuxBIOS-1.1.72.0_Fallback Tue Jan 11 11:22:28 MST 2005 starting...
setting up resource map....done.
(0,1) link=01
(1,0) link=01
02 nodes initialized.
SBLink=02
NC node/link=00
	busn=06
NC node/link=02
ht reset -


LinuxBIOS-1.1.72.0_Fallback Tue Jan 11 11:22:28 MST 2005 starting...
setting up resource map....done.
(0,1) link=01
(1,0) link=01
02 nodes initialized.
SBLink=02
NC node/link=00
	busn=06
NC node/link=02
Ram1.00
Ram1.01
Ram2.00
Ram2.01
Ram3
Initializing memory:  done
Initializing memory:  done
Clearing initial memory region:  done
Ram4
Copying LinuxBIOS to ram.
Jumping to LinuxBIOS.
LinuxBIOS-1.1.72.0_Fallback Tue Jan 11 11:22:28 MST 2005 booting...
Enumerating buses...
PCI_DOMAIN: 0000 enabled
APIC_CLUSTER: 0 enabled
PCI: pci_scan_bus for bus 0
PCI: 00:18.0 [1022/1100] bus ops
PCI: 00:18.0 [1022/1100] enabled
PCI: 00:18.1 [1022/1101] enabled
PCI: 00:18.2 [1022/1102] enabled
PCI: 00:18.3 [1022/1103] ops
PCI: 00:18.3 [1022/1103] enabled
PCI: 00:19.0 [1022/1100] bus ops
PCI: 00:19.0 [1022/1100] enabled
PCI: 00:19.1 [1022/1101] enabled
PCI: 00:19.2 [1022/1102] enabled
PCI: 00:19.3 [1022/1103] ops
PCI: 00:19.3 [1022/1103] enabled
PCI: 01:01.0 [1022/7454] enabled next_unitid: 0004
HyperT reset not needed
PCI: pci_scan_bus for bus 1
PCI: 01:01.0 [1022/7454] ops
PCI: 01:01.0 [1022/7454] enabled
PCI: 01:02.0 [1022/7455] bus ops
PCI: 01:02.0 [1022/7455] enabled
PCI: pci_scan_bus for bus 2
PCI: 02:00.0 [1002/4e48] enabled
PCI: 02:00.1 [1002/4e68] enabled
PCI: pci_scan_bus returning with max=02
PCI: pci_scan_bus returning with max=02
PCI: 03:01.0 [1022/7450] enabled next_unitid: 0003
PCI: 03:03.0 [1022/7460] enabled next_unitid: 0007
HyperT reset not needed
PCI: pci_scan_bus for bus 3
PCI: 03:01.0 [1022/7450] bus ops
PCI: 03:01.0 [1022/7450] enabled
PCI: 03:01.1 [1022/7451] ops
PCI: 03:01.1 [1022/7451] enabled
PCI: 03:02.0 [1022/7450] bus ops
PCI: 03:02.0 [1022/7450] enabled
PCI: 03:02.1 [1022/7451] ops
PCI: 03:02.1 [1022/7451] enabled
PCI: 03:03.0 [1022/7460] bus ops
PCI: 03:03.0 [1022/7460] enabled
PCI: 03:04.0 [1022/7468] bus ops
PCI: 03:04.0 [1022/7468] enabled
PCI: 03:04.1 [1022/7469] ops
PCI: 03:04.1 [1022/7469] enabled
PCI: 03:04.2 [1022/746a] bus ops
PCI: 03:04.2 [1022/746a] enabled
PCI: 03:04.3 [1022/746b] bus ops
PCI: 03:04.3 [1022/746b] enabled
PCI: 03:04.5 [1022/746d] enabled
PCI: 03:04.6 No device operations
PCI: pci_scan_bus for bus 4
PCI: 04:09.0 [14e4/16a7] enabled
PCI: pci_scan_bus returning with max=04
PCI: pci_scan_bus for bus 5
PCI: pci_scan_bus returning with max=05
PCI: pci_scan_bus for bus 6
PCI: 06:00.0 [1022/7464] enabled
PCI: 06:00.1 [1022/7464] enabled
PCI: 06:00.2 No device operations
PCI: 06:01.0 No device operations
PCI: 06:0c.0 [104c/8023] enabled
PCI: pci_scan_bus returning with max=06
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
I2C: 50 enabled
I2C: 51 enabled
I2C: 52 enabled
I2C: 53 enabled
I2C: 54 enabled
I2C: 55 enabled
I2C: 56 enabled
I2C: 57 enabled
PCI: pci_scan_bus returning with max=06
PCI: pci_scan_bus returning with max=06
CPU: APIC: 00 enabled
CPU: APIC: 01 enabled
done
Allocating resources...
Reading resources...
PCI: 03:01.0 1c <- [0x00fffff000 - 0x00ffffefff] bus 4 io
PCI: 03:01.0 24 <- [0xfffffffffff00000 - 0xffffffffffefffff] bus 4 prefmem
PCI: 03:02.0 1c <- [0x00fffff000 - 0x00ffffefff] bus 5 io
PCI: 03:02.0 24 <- [0xfffffffffff00000 - 0xffffffffffefffff] bus 5 prefmem
PCI: 03:02.0 20 <- [0x00fff00000 - 0x00ffefffff] bus 5 mem
PCI: 03:03.0 1c <- [0x000000f000 - 0x000000efff] bus 6 io
PCI: 03:03.0 24 <- [0x00fff00000 - 0x00ffefffff] bus 6 prefmem
Done reading resources.
Allocating VGA resource PCI: 02:00.0
Setting PCI_BRIDGE_CTK_VGA for bridge PCI: 01:02.0
Setting PCI_BRIDGE_CTK_VGA for bridge PCI: 00:18.0
Setting PCI_BRIDGE_CTK_VGA for bridge PCI_DOMAIN: 0000
Setting PCI_BRIDGE_CTK_VGA for bridge Root Device
Setting resources...
amdk8_create_vga_resource: link 0 has VGA device
PCI: 00:18.0 1ba <- [0x00f4500000 - 0x00f44fffff] prefmem <node 0 link 2>
PCI: 00:18.0 1c2 <- [0x0000001000 - 0x0000001fff] io <node 0 link 2>
PCI: 00:18.0 1d8 <- [0x0000002000 - 0x0000002fff] io <node 0 link 0>
PCI: 00:18.0 1b0 <- [0x00d0000000 - 0x00efffffff] prefmem <node 0 link 0>
PCI: 00:18.0 1a8 <- [0x00f4300000 - 0x00f44fffff] mem <node 0 link 0>
PCI: 00:18.0 1a2 <- [0x00f4000000 - 0x00f42fffff] mem <node 0 link 2>
PCI: 01:01.0 10 <- [0x00d0000000 - 0x00dfffffff] prefmem
PCI: 01:01.0 14 <- [0x00f4400000 - 0x00f4400000] mem
PCI: 01:02.0 1c <- [0x0000002000 - 0x0000002fff] bus 2 io
PCI: 01:02.0 24 <- [0x00e0000000 - 0x00efffffff] bus 2 prefmem
PCI: 01:02.0 20 <- [0x00f4300000 - 0x00f43fffff] bus 2 mem
PCI: 02:00.0 10 <- [0x00e0000000 - 0x00e7ffffff] prefmem
PCI: 02:00.0 14 <- [0x0000002000 - 0x00000020ff] io
PCI: 02:00.0 18 <- [0x00f4320000 - 0x00f432ffff] mem
PCI: 02:00.0 30 <- [0x00f4300000 - 0x00f431ffff] rom
PCI: 02:00.1 10 <- [0x00e8000000 - 0x00efffffff] prefmem
PCI: 02:00.1 14 <- [0x00f4330000 - 0x00f433ffff] mem
PCI: 03:01.0 20 <- [0x00f4000000 - 0x00f40fffff] bus 4 mem
PCI: 04:09.0 10 <- [0x00f4000000 - 0x00f400ffff] mem
PCI: 04:09.0 30 <- [0x00f4010000 - 0x00f401ffff] rom
PCI: 03:01.1 10 <- [0x00f4200000 - 0x00f4200fff] mem
PCI: 03:02.1 10 <- [0x00f4201000 - 0x00f4201fff] mem
PCI: 03:03.0 20 <- [0x00f4100000 - 0x00f41fffff] bus 6 mem
PCI: 06:00.0 10 <- [0x00f4104000 - 0x00f4104fff] mem
PCI: 06:00.1 10 <- [0x00f4105000 - 0x00f4105fff] mem
PCI: 06:0c.0 10 <- [0x00f4106000 - 0x00f41067ff] mem
PCI: 06:0c.0 14 <- [0x00f4100000 - 0x00f4103fff] mem
PNP: 002e.0 60 <- [0x00000003f0 - 0x00000003f7] io
PNP: 002e.0 70 <- [0x0000000006 - 0x0000000006] irq
PNP: 002e.0 74 <- [0x0000000002 - 0x0000000002] drq
PNP: 002e.2 60 <- [0x00000003f8 - 0x00000003ff] io
PNP: 002e.2 70 <- [0x0000000004 - 0x0000000004] irq
PNP: 002e.3 60 <- [0x00000002f8 - 0x00000002ff] io
PNP: 002e.3 70 <- [0x0000000003 - 0x0000000003] irq
PNP: 002e.5 60 <- [0x0000000060 - 0x0000000060] io
PNP: 002e.5 62 <- [0x0000000064 - 0x0000000064] io
PNP: 002e.5 70 <- [0x0000000001 - 0x0000000001] irq
PNP: 002e.5 72 <- [0x000000000c - 0x000000000c] irq
PNP: 002e.b 60 <- [0x0000000290 - 0x0000000297] io
PNP: 002e.b 70 <- [0x0000000005 - 0x0000000005] irq
PCI: 03:04.1 20 <- [0x0000001860 - 0x000000186f] io
PCI: 03:04.2 10 <- [0x0000001840 - 0x000000185f] io
PCI: 03:04.3 58 <- [0x0000001000 - 0x00000010ff] io
PCI: 03:04.5 10 <- [0x0000001400 - 0x00000014ff] io
PCI: 03:04.5 14 <- [0x0000001800 - 0x000000183f] io
PCI: 00:18.3 94 <- [0x00f0000000 - 0x00f3ffffff] mem <gart>
PCI: 00:19.3 94 <- [0x00f0000000 - 0x00f3ffffff] mem <gart>
Done setting resources.
Done allocating resources.
Enabling resourcess...
PCI: 00:18.0 cmd <- 140
PCI: 01:01.0 subsystem <- 10f1/2885
PCI: 01:01.0 cmd <- 146
PCI: 01:02.0 bridge ctrl <- 000b
PCI: 01:02.0 cmd <- 147
PCI: 02:00.0 cmd <- 1c3
PCI: 02:00.1 cmd <- 1c2
PCI: 03:01.0 bridge ctrl <- 0003
PCI: 03:01.0 cmd <- 146
PCI: 04:09.0 cmd <- 142
PCI: 03:01.1 subsystem <- 10f1/2885
PCI: 03:01.1 cmd <- 146
PCI: 03:02.0 bridge ctrl <- 0003
PCI: 03:02.0 cmd <- 140
PCI: 03:02.1 subsystem <- 10f1/2885
PCI: 03:02.1 cmd <- 146
PCI: 03:03.0 bridge ctrl <- 0003
PCI: 03:03.0 cmd <- 146
PCI: 06:00.0 subsystem <- 10f1/2885
PCI: 06:00.0 cmd <- 142
PCI: 06:00.1 subsystem <- 10f1/2885
PCI: 06:00.1 cmd <- 142
PCI: 06:0c.0 cmd <- 142
PCI: 03:04.0 subsystem <- 10f1/2885
PCI: 03:04.0 cmd <- 14f
w83627hf hwm smbus enabled
PCI: 03:04.1 subsystem <- 10f1/2885
PCI: 03:04.1 cmd <- 141
PCI: 03:04.2 subsystem <- 10f1/2885
PCI: 03:04.2 cmd <- 141
PCI: 03:04.3 subsystem <- 10f1/2885
PCI: 03:04.3 cmd <- 141
PCI: 03:04.5 subsystem <- 10f1/2885
PCI: 03:04.5 cmd <- 141
PCI: 00:18.1 subsystem <- 10f1/2885
PCI: 00:18.1 cmd <- 140
PCI: 00:18.2 subsystem <- 10f1/2885
PCI: 00:18.2 cmd <- 140
PCI: 00:18.3 cmd <- 140
PCI: 00:19.0 cmd <- 140
PCI: 00:19.1 subsystem <- 10f1/2885
PCI: 00:19.1 cmd <- 140
PCI: 00:19.2 subsystem <- 10f1/2885
PCI: 00:19.2 cmd <- 140
PCI: 00:19.3 cmd <- 140
done.
Initializing devices...
Root Device init
PCI: 00:18.0 init
PCI: 01:02.0 init
PCI: 03:01.0 init
PCI: 03:02.0 init
PCI: 03:03.0 init
PCI: 06:00.0 init
PCI: 06:00.1 init
PCI: 03:04.0 init
RTC Init
Invalid CMOS LB checksum
enabling HPET @0xfed00000
PNP: 002e.0 init
PNP: 002e.2 init
PNP: 002e.3 init
PNP: 002e.5 init
PNP: 002e.b init
PCI: 03:04.1 init
IDE1 IDE0 PCI: 03:04.3 init
set power on after power fail
PCI: 03:04.5 init
PCI: 00:18.1 init
PCI: 00:18.2 init
PCI: 00:18.3 init
NB: Function 3 Misc Control.. done.
PCI: 00:19.0 init
PCI: 00:19.1 init
PCI: 00:19.2 init
PCI: 00:19.3 init
NB: Function 3 Misc Control.. done.
APIC_CLUSTER: 0 init
Initializing CPU #0
CPU: vendor AMD device f50
Enabling cache

Setting fixed MTRRs(0-88) type: UC
Setting fixed MTRRs(0-16) Type: WB
Setting fixed MTRRs(24-88) Type: WB
DONE fixed MTRRs
Setting variable MTRR 0, base:    0MB, range: 2048MB, type WB
Setting variable MTRR 1, base: 2048MB, range: 1024MB, type WB
DONE variable MTRRs
Clear out the extra MTRR's

MTRR check
Fixed MTRRs   : Enabled
Variable MTRRs: Enabled

Clearing memory 0K - 2097152K: ------------------------------- done
Setting up local apic... apic_id: 0 done.
CPU #0 Initialized
Initializing CPU #1
Waiting for 1 CPUS to stop
CPU: vendor AMD device f50
Enabling cache

Setting fixed MTRRs(0-88) type: UC
Setting fixed MTRRs(0-16) Type: WB
Setting fixed MTRRs(24-88) Type: WB
DONE fixed MTRRs
Setting variable MTRR 0, base:    0MB, range: 2048MB, type WB
Setting variable MTRR 1, base: 2048MB, range: 1024MB, type WB
DONE variable MTRRs
Clear out the extra MTRR's

MTRR check
Fixed MTRRs   : Enabled
Variable MTRRs: Enabled

Clearing memory 2097152K - 3145728K: ---------------- done
Setting up local apic... apic_id: 1 done.
CPU #1 Initialized
All AP CPUs stopped
PCI: 02:00.0 init
pci_rom_probe, rom address for PCI: 02:00.0 = f4300000
pci_rom_probe, PCI Expansion ROM, signature 0xaa55, 
	INIT size 0xd000, data ptr 0x0178
pci_rom_probe, PCI ROM Image,  Vendor 1002, Device 4e48,
pci_rom_probe, PCI ROM Image,  Class Code 000300, Code Type 00
pci_rom_load, copying VGA ROM Image from f4300000 to c0000, d000 bytes
c000:646 updating int vector 0x1a
c000:646 updating int vector 0x1a
c000:646 updating int vector 0x1a
int1a vector at 0
pcibios_handler AX = b109
c000:7d2 updating int vector 0x42
c000:7d8 updating int vector 0x42
c000:7de updating int vector 0x1f
c000:7e2 updating int vector 0x1f
c000:7e8 updating int vector 0x43
c000:7ec updating int vector 0x43
c000:7f2 updating int vector 0x6d
c000:7f6 updating int vector 0x6d
c000:7fc updating int vector 0x10
c000:800 updating int vector 0x10
c000:c656 updating int vector 0x15
c000:c656 updating int vector 0x15
c000:c656 updating int vector 0x15
int15 vector at 0
c000:4b3c updating int vector 0x42
c000:4b3c updating int vector 0x42
c000:4b3c updating int vector 0x42
int42 vector at ff065
c000:4b3c updating int vector 0x42
c000:4b3c updating int vector 0x42
c000:4b3c updating int vector 0x42
c000:4b3c updating int vector 0x42
c000:4b89 updating int vector 0x6d
c000:4b89 updating int vector 0x6d
c000:4b89 updating int vector 0x6d
int6d vector at c1edc
c000:4b89 updating int vector 0x6d
c000:4b89 updating int vector 0x6d
c000:4b89 updating int vector 0x6d
c000:4b89 updating int vector 0x6d
c000:4b89 updating int vector 0x6d
c000:4b89 updating int vector 0x6d
c000:1edc updating int vector 0x6d
c000:1edc updating int vector 0x6d
run_bios_int: INT 6d CS:IP = c000:1edc
c000:6b5 updating int vector 0x6d
c000:6b5 updating int vector 0x6d
c000:6b5 updating int vector 0x6d
int6d vector at c1edc
c000:6b5 updating int vector 0x6d
c000:6b5 updating int vector 0x6d
c000:6b5 updating int vector 0x6d
c000:6b5 updating int vector 0x6d
c000:6b5 updating int vector 0x6d
c000:6b5 updating int vector 0x6d
c000:1edc updating int vector 0x6d
c000:1edc updating int vector 0x6d
run_bios_int: INT 6d CS:IP = c000:1edc
c000:6f6 updating int vector 0x6d
c000:6f6 updating int vector 0x6d
c000:6f6 updating int vector 0x6d
int6d vector at c1edc
c000:6f6 updating int vector 0x6d
c000:6f6 updating int vector 0x6d
c000:6f6 updating int vector 0x6d
c000:6f6 updating int vector 0x6d
c000:6f6 updating int vector 0x6d
c000:6f6 updating int vector 0x6d
c000:1edc updating int vector 0x6d
c000:1edc updating int vector 0x6d
run_bios_int: INT 6d CS:IP = c000:1edc
halt_sys: file /home/ollie/work/freebios2_local/src/devices/emulator/x86emu/ops.c, line 4400
PCI: 02:00.1 init
PCI: 04:09.0 init
pci_rom_probe, rom address for PCI: 04:09.0 = f4010000
pci_rom_probe, PCI Expansion ROM, signature 0xffff, 
	INIT size 0x1fe00, data ptr 0xffff
pci_rom_probe, Incorrect Expansion ROM Header Signature ffff
PCI: 06:0c.0 init
Devices initialized
Copying IRQ routing tables to 0xf0000...done.
Verifing copy of IRQ routing tables at 0xf0000...done
Checking IRQ routing table consistency...
/home/ollie/work/freebios2_local/src/arch/i386/boot/pirq_routing.c:    28:check_pirq_routing_table() - irq_routing_table located at: 0x000f0000
done.
Wrote the mp table end at: 00000020 - 0000021c
Wrote linuxbios table at: 00000500 - 00000d90  checksum f922

Welcome to elfboot, the open sourced starter.
January 2002, Eric Biederman.
Version 1.3

    23:stream_init() - rom_stream: 0xfffc0000 - 0xfffe9fff
Found ELF candiate at offset 0
New segment addr 0x100000 size 0x215a0 offset 0xc0 filesize 0x7608
(cleaned up) New segment addr 0x100000 size 0x215a0 offset 0xc0 filesize 0x7608
New segment addr 0x1215a0 size 0x48 offset 0x76e0 filesize 0x48
(cleaned up) New segment addr 0x1215a0 size 0x48 offset 0x76e0 filesize 0x48
Dropping non PT_LOAD segment
Dropping non PT_LOAD segment
Loading Segment: addr: 0x0000000000100000 memsz: 0x00000000000215a0 filesz: 0x0000000000007608
Clearing Segment: addr: 0x0000000000107608 memsz: 0x0000000000019f98
Loading Segment: addr: 0x00000000001215a0 memsz: 0x0000000000000048 filesz: 0x0000000000000048
Jumping to boot code at 0x10551c
FILO version 0.4.1 ([EMAIL PROTECTED]) Tue Nov 30 13:44:17 MST 2004
collect_linuxbios_info: Searching for LinuxBIOS tables...
find_lb_table: Found canidate at: 00000500
find_lb_table: header checksum o.k.
find_lb_table: table checksum o.k.
find_lb_table: record count o.k.
collect_linuxbios_info: Found LinuxBIOS table at: 00000500
convert_memmap: 0x00000000000000 0x00000000000df8 16
convert_memmap: 0x00000000000df8 0x0000000009f208 1
convert_memmap: 0x000000000c0000 0x00000000030000 1
convert_memmap: 0x000000000f0000 0x00000000000400 16
convert_memmap: 0x000000000f0400 0x0000007ff0fc00 1
convert_memmap: 0x00000080000000 0x00000040000000 1
pci_init: Scanning PCI: found 26 devices
pci_init: 00:18.0 1022:1100 0600 00
pci_init: 00:18.1 1022:1101 0600 00
pci_init: 00:18.2 1022:1102 0600 00
pci_init: 00:18.3 1022:1103 0600 00
pci_init: 00:19.0 1022:1100 0600 00
pci_init: 00:19.1 1022:1101 0600 00
pci_init: 00:19.2 1022:1102 0600 00
pci_init: 00:19.3 1022:1103 0600 00
pci_init: 01:01.0 1022:7454 0600 00
pci_init: 01:02.0 1022:7455 0604 00
pci_init: 02:00.0 1002:4e48 0300 00
pci_init: 02:00.1 1002:4e68 0380 00
pci_init: 03:01.0 1022:7450 0604 00
pci_init: 03:01.1 1022:7451 0800 10
pci_init: 03:02.0 1022:7450 0604 00
pci_init: 03:02.1 1022:7451 0800 10
pci_init: 03:03.0 1022:7460 0604 00
pci_init: 03:04.0 1022:7468 0601 00
pci_init: 03:04.1 1022:7469 0101 8a
pci_init: 03:04.2 1022:746a 0c05 00
pci_init: 03:04.3 1022:746b 0680 00
pci_init: 03:04.5 1022:746d 0401 00
pci_init: 04:09.0 14e4:16a7 0200 00
pci_init: 06:00.0 1022:7464 0c03 10
pci_init: 06:00.1 1022:7464 0c03 10
pci_init: 06:0c.0 104c:8023 0c00 10
Press <Enter> for default boot, or <Esc> for boot prompt... 3

LinuxBIOS-1.1.72.0_Fallback Tue Jan 11 11:22:28 MST 2005 starting...
setting up resource map....done.
(0,1) link=01
(1,0) link=01
02 nodes initialized.
SBLink=02
NC node/link=00
	busn=06
NC node/link=02
ht reset -


LinuxBIOS-1.1.72.0_Fallback Tue Jan 11 11:22:28 MST 2005 starting...
setting up resource map....done.
(0,1) link=01
(1,0) link=01
02 nodes initialized.
SBLink=02
NC node/link=00
	busn=06
NC node/link=02
Ram1.00
Ram1.01
Ram2.00
Ram2.01
Ram3
Initializing memory:  done
Initializing memory:  done
Clearing initial memory region:  done
Ram4
Copying LinuxBIOS to ram.
Jumping to LinuxBIOS.
LinuxBIOS-1.1.72.0_Fallback Tue Jan 11 11:22:28 MST 2005 booting...
Enumerating buses...
PCI_DOMAIN: 0000 enabled
APIC_CLUSTER: 0 enabled
PCI: pci_scan_bus for bus 0
PCI: 00:18.0 [1022/1100] bus ops
PCI: 00:18.0 [1022/1100] enabled
PCI: 00:18.1 [1022/1101] enabled
PCI: 00:18.2 [1022/1102] enabled
PCI: 00:18.3 [1022/1103] ops
PCI: 00:18.3 [1022/1103] enabled
PCI: 00:19.0 [1022/1100] bus ops
PCI: 00:19.0 [1022/1100] enabled
PCI: 00:19.1 [1022/1101] enabled
PCI: 00:19.2 [1022/1102] enabled
PCI: 00:19.3 [1022/1103] ops
PCI: 00:19.3 [1022/1103] enabled
PCI: 01:01.0 [1022/7454] enabled next_unitid: 0004
HyperT reset not needed
PCI: pci_scan_bus for bus 1
PCI: 01:01.0 [1022/7454] ops
PCI: 01:01.0 [1022/7454] enabled
PCI: 01:02.0 [1022/7455] bus ops
PCI: 01:02.0 [1022/7455] enabled
PCI: pci_scan_bus for bus 2
PCI: 02:00.0 [10de/0312] enabled
PCI: pci_scan_bus returning with max=02
PCI: pci_scan_bus returning with max=02
PCI: 03:01.0 [1022/7450] enabled next_unitid: 0003
PCI: 03:03.0 [1022/7460] enabled next_unitid: 0007
HyperT reset not needed
PCI: pci_scan_bus for bus 3
PCI: 03:01.0 [1022/7450] bus ops
PCI: 03:01.0 [1022/7450] enabled
PCI: 03:01.1 [1022/7451] ops
PCI: 03:01.1 [1022/7451] enabled
PCI: 03:02.0 [1022/7450] bus ops
PCI: 03:02.0 [1022/7450] enabled
PCI: 03:02.1 [1022/7451] ops
PCI: 03:02.1 [1022/7451] enabled
PCI: 03:03.0 [1022/7460] bus ops
PCI: 03:03.0 [1022/7460] enabled
PCI: 03:04.0 [1022/7468] bus ops
PCI: 03:04.0 [1022/7468] enabled
PCI: 03:04.1 [1022/7469] ops
PCI: 03:04.1 [1022/7469] enabled
PCI: 03:04.2 [1022/746a] bus ops
PCI: 03:04.2 [1022/746a] enabled
PCI: 03:04.3 [1022/746b] bus ops
PCI: 03:04.3 [1022/746b] enabled
PCI: 03:04.5 [1022/746d] enabled
PCI: 03:04.6 No device operations
PCI: pci_scan_bus for bus 4
PCI: 04:09.0 [14e4/16a7] enabled
PCI: pci_scan_bus returning with max=04
PCI: pci_scan_bus for bus 5
PCI: pci_scan_bus returning with max=05
PCI: pci_scan_bus for bus 6
PCI: 06:00.0 [1022/7464] enabled
PCI: 06:00.1 [1022/7464] enabled
PCI: 06:00.2 No device operations
PCI: 06:01.0 No device operations
PCI: 06:0c.0 [104c/8023] enabled
PCI: pci_scan_bus returning with max=06
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
I2C: 50 enabled
I2C: 51 enabled
I2C: 52 enabled
I2C: 53 enabled
I2C: 54 enabled
I2C: 55 enabled
I2C: 56 enabled
I2C: 57 enabled
PCI: pci_scan_bus returning with max=06
PCI: pci_scan_bus returning with max=06
CPU: APIC: 00 enabled
CPU: APIC: 01 enabled
done
Allocating resources...
Reading resources...
PCI: 01:02.0 1c <- [0x00fffff000 - 0x00ffffefff] bus 2 io
PCI: 03:01.0 1c <- [0x00fffff000 - 0x00ffffefff] bus 4 io
PCI: 03:01.0 24 <- [0xfffffffffff00000 - 0xffffffffffefffff] bus 4 prefmem
PCI: 03:02.0 1c <- [0x00fffff000 - 0x00ffffefff] bus 5 io
PCI: 03:02.0 24 <- [0xfffffffffff00000 - 0xffffffffffefffff] bus 5 prefmem
PCI: 03:02.0 20 <- [0x00fff00000 - 0x00ffefffff] bus 5 mem
PCI: 03:03.0 1c <- [0x000000f000 - 0x000000efff] bus 6 io
PCI: 03:03.0 24 <- [0x00fff00000 - 0x00ffefffff] bus 6 prefmem
Done reading resources.
Allocating VGA resource PCI: 02:00.0
Setting PCI_BRIDGE_CTK_VGA for bridge PCI: 01:02.0
Setting PCI_BRIDGE_CTK_VGA for bridge PCI: 00:18.0
Setting PCI_BRIDGE_CTK_VGA for bridge PCI_DOMAIN: 0000
Setting PCI_BRIDGE_CTK_VGA for bridge Root Device
Setting resources...
amdk8_create_vga_resource: link 0 has VGA device
PCI: 00:18.0 1ba <- [0x00f5500000 - 0x00f54fffff] prefmem <node 0 link 2>
PCI: 00:18.0 1c2 <- [0x0000001000 - 0x0000001fff] io <node 0 link 2>
PCI: 00:18.0 1d8 <- [0x0000002000 - 0x0000001fff] io <node 0 link 0>
PCI: 00:18.0 1b0 <- [0x00d0000000 - 0x00efffffff] prefmem <node 0 link 0>
PCI: 00:18.0 1a8 <- [0x00f4000000 - 0x00f51fffff] mem <node 0 link 0>
PCI: 00:18.0 1a2 <- [0x00f5200000 - 0x00f54fffff] mem <node 0 link 2>
PCI: 01:01.0 10 <- [0x00d0000000 - 0x00dfffffff] prefmem
PCI: 01:01.0 14 <- [0x00f5100000 - 0x00f5100000] mem
PCI: 01:02.0 24 <- [0x00e0000000 - 0x00efffffff] bus 2 prefmem
PCI: 01:02.0 20 <- [0x00f4000000 - 0x00f50fffff] bus 2 mem
PCI: 02:00.0 10 <- [0x00f4000000 - 0x00f4ffffff] mem
PCI: 02:00.0 14 <- [0x00e0000000 - 0x00efffffff] prefmem
PCI: 02:00.0 30 <- [0x00f5000000 - 0x00f501ffff] rom
PCI: 03:01.0 20 <- [0x00f5200000 - 0x00f52fffff] bus 4 mem
PCI: 04:09.0 10 <- [0x00f5200000 - 0x00f520ffff] mem
PCI: 04:09.0 30 <- [0x00f5210000 - 0x00f521ffff] rom
PCI: 03:01.1 10 <- [0x00f5400000 - 0x00f5400fff] mem
PCI: 03:02.1 10 <- [0x00f5401000 - 0x00f5401fff] mem
PCI: 03:03.0 20 <- [0x00f5300000 - 0x00f53fffff] bus 6 mem
PCI: 06:00.0 10 <- [0x00f5304000 - 0x00f5304fff] mem
PCI: 06:00.1 10 <- [0x00f5305000 - 0x00f5305fff] mem
PCI: 06:0c.0 10 <- [0x00f5306000 - 0x00f53067ff] mem
PCI: 06:0c.0 14 <- [0x00f5300000 - 0x00f5303fff] mem
PNP: 002e.0 60 <- [0x00000003f0 - 0x00000003f7] io
PNP: 002e.0 70 <- [0x0000000006 - 0x0000000006] irq
PNP: 002e.0 74 <- [0x0000000002 - 0x0000000002] drq
PNP: 002e.2 60 <- [0x00000003f8 - 0x00000003ff] io
PNP: 002e.2 70 <- [0x0000000004 - 0x0000000004] irq
PNP: 002e.3 60 <- [0x00000002f8 - 0x00000002ff] io
PNP: 002e.3 70 <- [0x0000000003 - 0x0000000003] irq
PNP: 002e.5 60 <- [0x0000000060 - 0x0000000060] io
PNP: 002e.5 62 <- [0x0000000064 - 0x0000000064] io
PNP: 002e.5 70 <- [0x0000000001 - 0x0000000001] irq
PNP: 002e.5 72 <- [0x000000000c - 0x000000000c] irq
PNP: 002e.b 60 <- [0x0000000290 - 0x0000000297] io
PNP: 002e.b 70 <- [0x0000000005 - 0x0000000005] irq
PCI: 03:04.1 20 <- [0x0000001860 - 0x000000186f] io
PCI: 03:04.2 10 <- [0x0000001840 - 0x000000185f] io
PCI: 03:04.3 58 <- [0x0000001000 - 0x00000010ff] io
PCI: 03:04.5 10 <- [0x0000001400 - 0x00000014ff] io
PCI: 03:04.5 14 <- [0x0000001800 - 0x000000183f] io
PCI: 00:18.3 94 <- [0x00f0000000 - 0x00f3ffffff] mem <gart>
PCI: 00:19.3 94 <- [0x00f0000000 - 0x00f3ffffff] mem <gart>
Done setting resources.
Done allocating resources.
Enabling resourcess...
PCI: 00:18.0 cmd <- 140
PCI: 01:01.0 subsystem <- 10f1/2885
PCI: 01:01.0 cmd <- 146
PCI: 01:02.0 bridge ctrl <- 000b
PCI: 01:02.0 cmd <- 146
PCI: 02:00.0 cmd <- 143
PCI: 03:01.0 bridge ctrl <- 0003
PCI: 03:01.0 cmd <- 146
PCI: 04:09.0 cmd <- 142
PCI: 03:01.1 subsystem <- 10f1/2885
PCI: 03:01.1 cmd <- 146
PCI: 03:02.0 bridge ctrl <- 0003
PCI: 03:02.0 cmd <- 140
PCI: 03:02.1 subsystem <- 10f1/2885
PCI: 03:02.1 cmd <- 146
PCI: 03:03.0 bridge ctrl <- 0003
PCI: 03:03.0 cmd <- 146
PCI: 06:00.0 subsystem <- 10f1/2885
PCI: 06:00.0 cmd <- 142
PCI: 06:00.1 subsystem <- 10f1/2885
PCI: 06:00.1 cmd <- 142
PCI: 06:0c.0 cmd <- 142
PCI: 03:04.0 subsystem <- 10f1/2885
PCI: 03:04.0 cmd <- 14f
w83627hf hwm smbus enabled
PCI: 03:04.1 subsystem <- 10f1/2885
PCI: 03:04.1 cmd <- 141
PCI: 03:04.2 subsystem <- 10f1/2885
PCI: 03:04.2 cmd <- 141
PCI: 03:04.3 subsystem <- 10f1/2885
PCI: 03:04.3 cmd <- 141
PCI: 03:04.5 subsystem <- 10f1/2885
PCI: 03:04.5 cmd <- 141
PCI: 00:18.1 subsystem <- 10f1/2885
PCI: 00:18.1 cmd <- 140
PCI: 00:18.2 subsystem <- 10f1/2885
PCI: 00:18.2 cmd <- 140
PCI: 00:18.3 cmd <- 140
PCI: 00:19.0 cmd <- 140
PCI: 00:19.1 subsystem <- 10f1/2885
PCI: 00:19.1 cmd <- 140
PCI: 00:19.2 subsystem <- 10f1/2885
PCI: 00:19.2 cmd <- 140
PCI: 00:19.3 cmd <- 140
done.
Initializing devices...
Root Device init
PCI: 00:18.0 init
PCI: 01:02.0 init
PCI: 03:01.0 init
PCI: 03:02.0 init
PCI: 03:03.0 init
PCI: 06:00.0 init
PCI: 06:00.1 init
PCI: 03:04.0 init
RTC Init
Invalid CMOS LB checksum
enabling HPET @0xfed00000
PNP: 002e.0 init
PNP: 002e.2 init
PNP: 002e.3 init
PNP: 002e.5 init
PNP: 002e.b init
PCI: 03:04.1 init
IDE1 IDE0 PCI: 03:04.3 init
set power on after power fail
PCI: 03:04.5 init
PCI: 00:18.1 init
PCI: 00:18.2 init
PCI: 00:18.3 init
NB: Function 3 Misc Control.. done.
PCI: 00:19.0 init
PCI: 00:19.1 init
PCI: 00:19.2 init
PCI: 00:19.3 init
NB: Function 3 Misc Control.. done.
APIC_CLUSTER: 0 init
Initializing CPU #0
CPU: vendor AMD device f50
Enabling cache

Setting fixed MTRRs(0-88) type: UC
Setting fixed MTRRs(0-16) Type: WB
Setting fixed MTRRs(24-88) Type: WB
DONE fixed MTRRs
Setting variable MTRR 0, base:    0MB, range: 2048MB, type WB
Setting variable MTRR 1, base: 2048MB, range: 1024MB, type WB
DONE variable MTRRs
Clear out the extra MTRR's

MTRR check
Fixed MTRRs   : Enabled
Variable MTRRs: Enabled

Clearing memory 0K - 2097152K: ------------------------------- done
Setting up local apic... apic_id: 0 done.
CPU #0 Initialized
Initializing CPU #1
Waiting for 1 CPUS to stop
CPU: vendor AMD device f50
Enabling cache

Setting fixed MTRRs(0-88) type: UC
Setting fixed MTRRs(0-16) Type: WB
Setting fixed MTRRs(24-88) Type: WB
DONE fixed MTRRs
Setting variable MTRR 0, base:    0MB, range: 2048MB, type WB
Setting variable MTRR 1, base: 2048MB, range: 1024MB, type WB
DONE variable MTRRs
Clear out the extra MTRR's

MTRR check
Fixed MTRRs   : Enabled
Variable MTRRs: Enabled

Clearing memory 2097152K - 3145728K: ---------------- done
Setting up local apic... apic_id: 1 done.
CPU #1 Initialized
All AP CPUs stopped
PCI: 02:00.0 init
pci_rom_probe, rom address for PCI: 02:00.0 = f5000000
pci_rom_probe, PCI Expansion ROM, signature 0xaa55, 
	INIT size 0xfc00, data ptr 0x022c
pci_rom_probe, PCI ROM Image,  Vendor 10de, Device 0312,
pci_rom_probe, PCI ROM Image,  Class Code 000300, Code Type 00
pci_rom_load, copying VGA ROM Image from f5000000 to c0000, fc00 bytes
c000:90a updating int vector 0x10
c000:90e updating int vector 0x10
c000:914 updating int vector 0x1f
c000:918 updating int vector 0x1f
c000:91e updating int vector 0x42
c000:924 updating int vector 0x42
c000:92a updating int vector 0x43
c000:92e updating int vector 0x43
c000:934 updating int vector 0x6d
c000:938 updating int vector 0x6d
c000:58eb updating int vector 0x43
c000:58ef updating int vector 0x43
halt_sys: file /home/ollie/work/freebios2_local/src/devices/emulator/x86emu/ops.c, line 4400
PCI: 04:09.0 init
pci_rom_probe, rom address for PCI: 04:09.0 = f5210000
pci_rom_probe, PCI Expansion ROM, signature 0xffff, 
	INIT size 0x1fe00, data ptr 0xffff
pci_rom_probe, Incorrect Expansion ROM Header Signature ffff
PCI: 06:0c.0 init
Devices initialized
Copying IRQ routing tables to 0xf0000...done.
Verifing copy of IRQ routing tables at 0xf0000...done
Checking IRQ routing table consistency...
/home/ollie/work/freebios2_local/src/arch/i386/boot/pirq_routing.c:    28:check_pirq_routing_table() - irq_routing_table located at: 0x000f0000
done.
Wrote the mp table end at: 00000020 - 0000021c
Wrote linuxbios table at: 00000500 - 00000d90  checksum f922

Welcome to elfboot, the open sourced starter.
January 2002, Eric Biederman.
Version 1.3

    23:stream_init() - rom_stream: 0xfffc0000 - 0xfffe9fff
Found ELF candiate at offset 0
New segment addr 0x100000 size 0x215a0 offset 0xc0 filesize 0x7608
(cleaned up) New segment addr 0x100000 size 0x215a0 offset 0xc0 filesize 0x7608
New segment addr 0x1215a0 size 0x48 offset 0x76e0 filesize 0x48
(cleaned up) New segment addr 0x1215a0 size 0x48 offset 0x76e0 filesize 0x48
Dropping non PT_LOAD segment
Dropping non PT_LOAD segment
Loading Segment: addr: 0x0000000000100000 memsz: 0x00000000000215a0 filesz: 0x0000000000007608
Clearing Segment: addr: 0x0000000000107608 memsz: 0x0000000000019f98
Loading Segment: addr: 0x00000000001215a0 memsz: 0x0000000000000048 filesz: 0x0000000000000048
Jumping to boot code at 0x10551c
FILO version 0.4.1 ([EMAIL PROTECTED]) Tue Nov 30 13:44:17 MST 2004
collect_linuxbios_info: Searching for LinuxBIOS tables...
find_lb_table: Found canidate at: 00000500
find_lb_table: header checksum o.k.
find_lb_table: table checksum o.k.
find_lb_table: record count o.k.
collect_linuxbios_info: Found LinuxBIOS table at: 00000500
convert_memmap: 0x00000000000000 0x00000000000df8 16
convert_memmap: 0x00000000000df8 0x0000000009f208 1
convert_memmap: 0x000000000c0000 0x00000000030000 1
convert_memmap: 0x000000000f0000 0x00000000000400 16
convert_memmap: 0x000000000f0400 0x0000007ff0fc00 1
convert_memmap: 0x00000080000000 0x00000040000000 1
pci_init: Scanning PCI: found 25 devices
pci_init: 00:18.0 1022:1100 0600 00
pci_init: 00:18.1 1022:1101 0600 00
pci_init: 00:18.2 1022:1102 0600 00
pci_init: 00:18.3 1022:1103 0600 00
pci_init: 00:19.0 1022:1100 0600 00
pci_init: 00:19.1 1022:1101 0600 00
pci_init: 00:19.2 1022:1102 0600 00
pci_init: 00:19.3 1022:1103 0600 00
pci_init: 01:01.0 1022:7454 0600 00
pci_init: 01:02.0 1022:7455 0604 00
pci_init: 02:00.0 10de:0312 0300 00
pci_init: 03:01.0 1022:7450 0604 00
pci_init: 03:01.1 1022:7451 0800 10
pci_init: 03:02.0 1022:7450 0604 00
pci_init: 03:02.1 1022:7451 0800 10
pci_init: 03:03.0 1022:7460 0604 00
pci_init: 03:04.0 1022:7468 0601 00
pci_init: 03:04.1 1022:7469 0101 8a
pci_init: 03:04.2 1022:746a 0c05 00
pci_init: 03:04.3 1022:746b 0680 00
pci_init: 03:04.5 1022:746d 0401 00
pci_init: 04:09.0 14e4:16a7 0200 00
pci_init: 06:00.0 1022:7464 0c03 10
pci_init: 06:00.1 1022:7464 0c03 10
pci_init: 06:0c.0 104c:8023 0c00 10
Press <Enter> for default boot, or <Esc> for boot prompt... 3

Reply via email to