Eric,
Thanks for the Info, I can get two cpus running now. but it die in Kernel.
Ron,
I use 2.4.21 kernel and it died on
CPU 0: Machine Check Exception: 0000000000000007
Bank 3: b40000000000083b at 000000fdfc000cfe
Kernel panic: Unable to continue
Any advise.
Regards
Yinghai Lu
LinuxBIOS-1.1.02.0Fallback Thu Jul 3 00:33:17 EDT 2003 starting...
LinuxBIOS-1.1.02.0Fallback Thu Jul 3 00:33:17 EDT 2003 starting...
apic_id: 00000000
Bootstrap cpu
setting up resource map....
done.
setting up coherent ht domain....
done.
PCI: 00:01.00
PCI: 00:01.01
PCI: 00:02.00
PCI: 00:02.01
PCI: 00:03.00
PCI: 00:04.00
PCI: 00:04.01
PCI: 00:04.02
PCI: 00:04.03
PCI: 00:04.05
PCI: 00:04.06
PCI: 00:18.00
PCI: 00:18.01
PCI: 00:18.02
PCI: 00:18.03
PCI: 00:19.00
PCI: 00:19.01
PCI: 00:19.02
PCI: 00:19.03
SMBus controller enabled
Ram1
setting up CPU0 northbridge registers
done.
setting up CPU1 northbridge registers
done.
Ram2
RAM: 0x00180000 KB
Ram3
dcl: 08018000
Initializing memory: done
dcl: 08018000
Initializing memory: done
Ram4
Ram5
Ram6
LinuxBIOS-1.1.02.0Fallback Thu Jul 3 00:33:17 EDT 2003 starting...
LinuxBIOS-1.1.02.0Fallback Thu Jul 3 00:33:17 EDT 2003 starting...
apic_id: 00000001
Application processor
Copying LinuxBIOS to ram.
Jumping to LinuxBIOS.
LinuxBIOS-1.1.02.0Fallback Thu Jul 3 00:33:17 EDT 2003 booting...
Finding PCI configuration type.
PCI: Using configuration type 1
Enumerating buses...PCI: pci_scan_bus for bus 0
PCI: 00:01.0 [1022/7450]
PCI: 00:01.1 [1022/7451]
PCI: 00:02.0 [1022/7450]
PCI: 00:02.1 [1022/7451]
PCI: 00:03.0 [1022/7460]
PCI: 00:04.0 [1022/7468] ops
PCI: 00:04.0 [1022/7468]
PCI: 00:04.1 [1022/7469] ops
PCI: 00:04.1 [1022/7469]
PCI: 00:04.2 [1022/746a]
PCI: 00:04.3 [1022/746b] ops
PCI: 00:04.3 [1022/746b]
PCI: 00:04.5 [1022/746d]
PCI: 00:04.6 [1022/746e]
PCI: 00:18.0 [1022/1100]
PCI: 00:18.1 [1022/1101]
PCI: 00:18.2 [1022/1102]
PCI: 00:18.3 [1022/1103]
PCI: 00:19.0 [1022/1100]
PCI: 00:19.1 [1022/1101]
PCI: 00:19.2 [1022/1102]
PCI: 00:19.3 [1022/1103]
PCI: pci_scan_bus for bus 1
PCI: 01:09.0 [14e4/1648]
PCI: 01:09.1 [14e4/1648]
PCI: 01:0a.0 [1000/0030]
PCI: 01:0a.1 [1000/0030]
PCI: pci_scan_bus returning with max=01
PCI: pci_scan_bus for bus 2
PCI: pci_scan_bus returning with max=02
PCI: pci_scan_bus for bus 3
PCI: 03:00.0 [1022/7464] ops
PCI: 03:00.0 [1022/7464]
PCI: 03:00.1 [1022/7464] ops
PCI: 03:00.1 [1022/7464]
PCI: 03:00.2 [1022/7463]
PCI: 03:01.0 [1022/7462]
PCI: 03:05.0 [105a/3373]
PCI: 03:06.0 [1002/4752]
PCI: pci_scan_bus returning with max=03
PCI: pci_scan_bus returning with max=03
done
Allocating resources...
ASSIGN RESOURCES, bus 0
PCI: 00:01.0 1c <- [0x00001000 - 0x00001fff] bus 1 io
PCI: 00:01.0 24 <- [0xfe200000 - 0xfe1fffff] bus 1 prefmem
PCI: 00:01.0 20 <- [0xfe100000 - 0xfe1fffff] bus 1 mem
ASSIGN RESOURCES, bus 1
PCI: 01:09.0 10 <- [0xfe100000 - 0xfe10ffff] mem
PCI: 01:09.0 18 <- [0xfe110000 - 0xfe11ffff] mem
PCI: 01:09.1 10 <- [0xfe120000 - 0xfe12ffff] mem
PCI: 01:09.1 18 <- [0xfe130000 - 0xfe13ffff] mem
PCI: 01:0a.0 10 <- [0x00001000 - 0x000010ff] io
PCI: 01:0a.0 14 <- [0xfe140000 - 0xfe14ffff] mem
PCI: 01:0a.0 1c <- [0xfe150000 - 0xfe15ffff] mem
PCI: 01:0a.1 10 <- [0x00001400 - 0x000014ff] io
PCI: 01:0a.1 14 <- [0xfe160000 - 0xfe16ffff] mem
PCI: 01:0a.1 1c <- [0xfe170000 - 0xfe17ffff] mem
ASSIGNED RESOURCES, bus 1
PCI: 00:02.0 1c <- [0x00003000 - 0x00002fff] bus 2 io
PCI: 00:02.0 24 <- [0xfe200000 - 0xfe1fffff] bus 2 prefmem
PCI: 00:02.0 20 <- [0xfe200000 - 0xfe1fffff] bus 2 mem
PCI: 00:03.0 1c <- [0x00002000 - 0x00002fff] bus 3 io
PCI: 00:03.0 24 <- [0xfe200000 - 0xfe1fffff] bus 3 prefmem
PCI: 00:03.0 20 <- [0xfd000000 - 0xfe0fffff] bus 3 mem
ASSIGN RESOURCES, bus 3
PCI: 03:00.0 10 <- [0xfe020000 - 0xfe020fff] mem
PCI: 03:00.1 10 <- [0xfe021000 - 0xfe021fff] mem
PCI: 03:00.2 10 <- [0xfe025000 - 0xfe0250ff] mem
PCI: 03:00.2 14 <- [0xfe026000 - 0xfe02601f] mem
PCI: 03:01.0 10 <- [0xfe022000 - 0xfe022fff] mem
PCI: 03:05.0 10 <- [0x00002480 - 0x000024bf] io
PCI: 03:05.0 14 <- [0x000024c0 - 0x000024cf] io
PCI: 03:05.0 18 <- [0x00002400 - 0x0000247f] io
PCI: 03:05.0 1c <- [0xfe023000 - 0xfe023fff] mem
PCI: 03:05.0 20 <- [0xfe000000 - 0xfe01ffff] mem
PCI: 03:06.0 10 <- [0xfd000000 - 0xfdffffff] mem
PCI: 03:06.0 14 <- [0x00002000 - 0x000020ff] io
PCI: 03:06.0 18 <- [0xfe024000 - 0xfe024fff] mem
ASSIGNED RESOURCES, bus 3
PCI: 00:04.1 20 <- [0x000038e0 - 0x000038ef] io
PCI: 00:04.2 10 <- [0x000038c0 - 0x000038df] io
PCI: 00:04.5 10 <- [0x00003000 - 0x000030ff] io
PCI: 00:04.5 14 <- [0x00003880 - 0x000038bf] io
PCI: 00:04.6 10 <- [0x00003400 - 0x000034ff] io
PCI: 00:04.6 14 <- [0x00003800 - 0x0000387f] io
ASSIGNED RESOURCES, bus 0
Allocating VGA resource
done.
Enabling resourcess...DEV: 00:01.0 cmd <- 07
DEV: 00:01.1 cmd <- 00
DEV: 00:02.0 cmd <- 07
DEV: 00:02.1 cmd <- 00
DEV: 00:03.0 cmd <- 07
DEV: 00:04.0 cmd <- 0f
DEV: 00:04.1 cmd <- 01
DEV: 00:04.2 cmd <- 01
DEV: 00:04.3 cmd <- 00
DEV: 00:04.5 cmd <- 01
DEV: 00:04.6 cmd <- 01
DEV: 00:18.0 cmd <- 00
DEV: 00:18.1 cmd <- 00
DEV: 00:18.2 cmd <- 00
DEV: 00:18.3 cmd <- 00
DEV: 00:19.0 cmd <- 00
DEV: 00:19.1 cmd <- 00
DEV: 00:19.2 cmd <- 00
DEV: 00:19.3 cmd <- 00
DEV: 01:09.0 cmd <- 02
DEV: 01:09.1 cmd <- 02
DEV: 01:0a.0 cmd <- 03
DEV: 01:0a.1 cmd <- 03
DEV: 03:00.0 cmd <- 02
DEV: 03:00.1 cmd <- 02
DEV: 03:00.2 cmd <- 02
DEV: 03:01.0 cmd <- 02
DEV: 03:05.0 cmd <- 03
DEV: 03:06.0 cmd <- 83
done.
Initializing devices...
PCI: 00:04.0 init
lpc_init
PCI: 00:04.1 init
ide_init
IDE1 IDE0 PCI: 00:04.3 init
PCI: 03:00.0 init
USB: Setting up controller.. done.
PCI: 03:00.1 init
USB: Setting up controller.. done.
Devices initialized
totalram: 1536M
Initializing CPU #0
Enabling cache...
Setting fixed MTRRs(0-88) type: UC
Setting fixed MTRRs(0-16) type: WB
Setting fixed MTRRs(72-88) type: WB
DONE fixed MTRRs
Setting variable MTRR 0, base: 0MB, range: 1024MB, type WB
Setting variable MTRR 1, base: 1024MB, range: 512MB, type WB
DONE variable MTRRs
Clear out the extra MTRR's
call intel_enable_fixed_mtrr()
call intel_enable_var_mtrr()
Leave setup_mtrrs
done.
Max cpuid index : 1
Vendor ID : AuthenticAMD
Processor Type : 0x00
Processor Family : 0x0f
Processor Model : 0x05
Processor Mask : 0x00
Processor Stepping : 0x08
Feature flags : 0x078bfbff
MTRR check
Fixed MTRRs : Enabled
Variable MTRRs: Enabled
Setting up local apic... apic_id: 0 done.
CPU #0 Initialized
clocks_per_usec: 1793
secondary_cpu_init
Waiting for 2 CPUS to stop
Initializing CPU #1
Enabling cache...
Setting fixed MTRRs(0-88) type: UC
Setting fixed MTRRs(0-16) type: WB
Setting fixed MTRRs(72-88) type: WB
DONE fixed MTRRs
Setting variable MTRR 0, base: 0MB, range: 1024MB, type WB
Setting variable MTRR 1, base: 1024MB, range: 512MB, type WB
DONE variable MTRRs
Clear out the extra MTRR's
call intel_enable_fixed_mtrr()
call intel_enable_var_mtrr()
Leave setup_mtrrs
done.
Max cpuid index : 1
Vendor ID : AuthenticAMD
Processor Type : 0x00
Processor Family : 0x0f
Processor Model : 0x05
Processor Mask : 0x00
Processor Stepping : 0x08
Feature flags : 0x078bfbff
MTRR check
Fixed MTRRs : Enabled
Variable MTRRs: Enabled
Setting up local apic... apic_id: 16777216 done.
CPU #1 Initialized
secondary_cpu_init 1/1
All AP CPUs stopped
Checking IRQ routing tables...
/root/xx/xx/freebios2/src/arch/i386/boot/pirq_routing.c:
29:check_pirq_routin
g_table() - irq_routing_table located at: 0x0000a140
done.
Copying IRQ routing tables to 0xf0000...done.
Verifing priq routing tables copy at 0xf0000...succeed
Wrote the mp table end at: 00000020 - 0000014c
Wrote linuxbios table at: 00000500 - 00000b08 checksum 707a
Welcome to elfboot, the open sourced starter.
January 2002, Eric Biederman.
Version 1.3
Found ELF candiate at offset 0
Loading Etherboot version: 5.1.8
Dropping non PT_LOAD segment
New segment addr 0x20000 size 0x34718 offset 0xb0 filesize 0x56d6
(cleaned up) New segment addr 0x20000 size 0x34718 offset 0xb0 filesize
0x56d6
Loading Segment: addr: 0x0000000000020000 memsz: 0x0000000000034718 filesz:
0x00
000000000056d6
Clearing Segment: addr: 0x00000000000256d6 memsz: 0x000000000002f042
Jumping to boot code at 0x20000
ROM segment 0x33cc length 0x9866 reloc 0x00020000
CPU 1857 Mhz
Etherboot 5.1.8 (GPL) Tagged ELF (Multiboot) for [TG3]
Relocating _text from: [000256e0,00054d50) to [5ffd0990,60000000)
Probing pci nic...
[TG3]Cannot find PowerManagement capability, aborting.
[TG3]Ethernet addr: 00:E0:81:F0:18:CD
Tigon3 [partno(BCM95704A7) rev 2002 PHY(5704)] (PCIX:100MHz:64-bit)
Link is up at 100 Mbps, half duplex.
Searching for server (DHCP)...
..Me: 192.168.1.198, Server: 192.168.1.1, Gateway 192.168.1.1
Loading 192.168.1.1:ram0_2.5_2.4.21_k8_lsi_mydisk4.elf ...(ELF)...
.............
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
.................................................done
Firmware type: LinuxBIOS
Linux version 2.4.21 (root@tst2723_rh9) (gcc version 3.2.2 20030222 (Red Hat
Lin
ux 3.2.2-5)) #13 SMP Tue Jul 1 21:09:41 EDT 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 0000000000000b68 (reserved)
BIOS-e820: 0000000000000b68 - 00000000000a0000 (usable)
BIOS-e820: 00000000000f0000 - 00000000000f0400 (reserved)
BIOS-e820: 0000000000100000 - 0000000060000000 (usable)
640MB HIGHMEM available.
896MB LOWMEM available.
hm, page 00000000 reserved twice.
found SMP MP-table at 00000010
hm, page 00000000 reserved twice.
hm, page 00001000 reserved twice.
hm, page 00000000 reserved twice.
hm, page 00001000 reserved twice.
On node 0 totalpages: 393216
zone(0): 4096 pages.
zone(1): 225280 pages.
zone(2): 163840 pages.
Intel MultiProcessor Specification v1.4
Virtual Wire compatibility mode.
OEM ID: TYAN Product ID: S2880 APIC at: 0xFEE00000
Processor #0 Unknown CPU [15:5] APIC version 16
Processor #1 Unknown CPU [15:5] APIC version 16
I/O APIC #2 Version 17 at 0xFEC00000.
Enabling APIC mode: Flat. Using 1 I/O APICs
Processors: 2
Kernel command line: root=/dev/ram0 rw ram0_2.5_2.4.21_k8_lsi_mydisk4.elf
-retad
dr 0X5FFD0B34
Initializing CPU#0
Detected 1792.125 MHz processor.
Calibrating delay loop... 3565.15 BogoMIPS
Memory: 1547448k/1572864k available (1493k kernel code, 25028k reserved,
323k da
ta, 284k init, 655360k highmem)
Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
Inode cache hash table entries: 131072 (order: 8, 1048576 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 131072 (order: 7, 524288 bytes)
Page-cache hash table entries: 524288 (order: 9, 2097152 bytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch(a)atnf.csiro.au)
mtrr: detected mtrr type: Intel
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
Intel machine check reporting enabled on CPU#0.
CPU0: AMD 02/05 stepping 08
per-CPU timeslice cutoff: 2925.71 usecs.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Booting processor 1/1 eip 2000
Initializing CPU#1
masked ExtINT on CPU#1
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Calibrating delay loop... 3578.26 BogoMIPS
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
Intel machine check reporting enabled on CPU#1.
CPU1: AMD 02/05 stepping 08
Total of 2 processors activated (7143.42 BogoMIPS).
ENABLING IO-APIC IRQs
Setting 2 in the phys_id_present_map
...changing IO-APIC physical APIC ID to 2 ... ok.
..TIMER: vector=0x31 pin1=2 pin2=0
testing the IO APIC.......................
.................................... done.
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 1792.0936 MHz.
..... host bus clock speed is 199.1214 MHz.
cpu: 0, clocks: 1991214, slice: 663738
CPU0<T0:1991200,T1:1327456,D:6,S:663738,C:1991214>
cpu: 1, clocks: 1991214, slice: 663738
CPU1<T0:1991200,T1:663712,D:12,S:663738,C:1991214>
checking TSC synchronization across CPUs: passed.
Waiting on wait_init_idle (map = 0x2)
All processors have done init_idle
CPU 0: Machine Check Exception: 0000000000000007
Bank 3: b40000000000083b at 000000fdfc000cfe
Kernel panic: Unable to continue