Stefan Reinauer <[EMAIL PROTECTED]> writes:

> Hi,
> 
> I get reboots again, this time it's not dependent on the gcc version I
> use.. Eric, there are some weird bits in the attached log, can you help
> to interpret them? From what I see some the SuperIO setup has severe
> trouble, and some of the resources seem to be given out twice...

Going through the pieces.

It looks like you are using the NSC pc87360 code from the hdama,
given the solo has a different superio chip this may be part of
the problem.  I am moving to a complete superio implementation and
the difference is chips will likely become more significant.

This bit is very worrisome.  
> Allocating resources...
> PCI: 00:00.0 missing read_resources
> PCI: 00:01.0 missing read_resources
> PCI: 00:00.0 missing read_resources
> PCI: 00:01.0 missing read_resources

You should not have entries in the tree that don't have those
methods.  Nor should you have any devices on bus 0, except
the cpus right now.

It looks like this is probably due to listing the amd8151  
after the amd8111, instead of before in Config.lb

This bit is also worryisome:
> PCI: pci_scan_bus for bus 2
> PNP: 002e.0 [1002/5157] enabled
> PNP: 002e.8 [ffff/ffff] enabled
> PNP: 002e.9 [ffff/ffff] enabled
> PNP: 002e.a [ffff/ffff] enabled

PNP devices should not attempt to print out a pci vendor/device id.

I have appended my boot log for comparison purposes.  The NSC superio
code is currently grumpy because I am not allocating interrupts.
Which I think is what you were picking up on. But no interrupts are
harmless in this context.

I am very puzzled about what is actually triggering the unexpected
resets.  Though poorly setup hardware can't help.  I also don't
see the duplicate resource scenario you were reporting.

Eric

>From the ARIMA/HDAMA:

> LinuxBIOS-1.1.5.0Normal Sat Oct 11 00:21:05 MDT 2003 booting...
> Finding PCI configuration type.
> PCI: Using configuration type 1
> Enumerating: AMD K8 Northbridge
> Enumerating: AMD K8 Northbridge
> Enumerating: AMD K8
> Enumerating: AMD K8
> Enumerating: AMD 8111
> Enumerating: NSC 87360
> Enumerating buses...PCI: pci_scan_bus for bus 0
> 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] 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
> amdk8_scan_chains max: 0 starting...
> Hyper transport scan link: 0 max: 1
> PCI: 01:01.0 [1022/7450] enabled next_unitid: 0003
> PCI: 01:03.0 [1022/7460] enabled next_unitid: 0007
> HyperT reset not needed
> PCI: pci_scan_bus for bus 1
> PCI: 01:01.0 [1022/7450] bus ops
> PCI: 01:01.0 [1022/7450] enabled
> PCI: 01:01.1 [1022/7451] ops
> PCI: 01:01.1 [1022/7451] enabled
> PCI: 01:02.0 [1022/7450] bus ops
> PCI: 01:02.0 [1022/7450] enabled
> PCI: 01:02.1 [1022/7451] ops
> PCI: 01:02.1 [1022/7451] enabled
> PCI: 01:03.0 [1022/7460] enabled
> PCI: 01:04.0 [1022/7468] bus ops
> PCI: 01:04.0 [1022/7468] enabled
> PCI: 01:04.1 [1022/7469] ops
> PCI: 01:04.1 [1022/7469] enabled
> PCI: 01:04.2 [1022/746a] enabled
> PCI: 01:04.3 [1022/746b] ops
> PCI: 01:04.3 [1022/746b] enabled
> amd8111_enable dev: PCI: 01:04.5 lpc_dev: PCI: 01:04.0 index: 5 reg: ffff -> ffdf 
> done
> PCI: 01:04.5 [ffff/ffff] disabled
> amd8111_enable dev: PCI: 01:04.6 lpc_dev: PCI: 01:04.0 index: 6 reg: ffdf -> ff9f 
> done
> PCI: 01:04.6 [ffff/ffff] disabled
> PCI: pci_scan_bus for bus 2
> PCI: 02:03.0 [14e4/16a6] enabled
> PCI: 02:04.0 [14e4/16a6] 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 for bus 4
> PCI: 04:00.0 [1022/7464] ops
> PCI: 04:00.0 [1022/7464] enabled
> PCI: 04:00.1 [1022/7464] ops
> PCI: 04:00.1 [1022/7464] enabled
> PCI: 04:00.2 [1022/7463] ops
> PCI: 04:00.2 [1022/7463] enabled
> amd8111_enable dev: PCI: 04:01.0 lpc_dev: PCI: 01:04.0 index: 9 reg: ff9f -> fd9f 
> done
> PCI: 04:01.0 [ffff/ffff] disabled
> PCI: 04:06.0 [1002/4752] enabled
> PCI: pci_scan_bus returning with max=04
> PNP: 002e.0 enabled
> PNP: 002e.1 enabled
> PNP: 002e.2 enabled
> PNP: 002e.3 enabled
> PNP: 002e.4 enabled
> PNP: 002e.5 enabled
> PNP: 002e.6 enabled
> PNP: 002e.7 enabled
> PNP: 002e.8 enabled
> PNP: 002e.9 enabled
> PNP: 002e.a enabled
> PCI: pci_scan_bus returning with max=04
> Hyper transport scan link: 0 new max: 4
> Hypertransport scan link done
> amdk8_scan_chains max: 4 done
> amdk8_scan_chains max: 4 starting...
> amdk8_scan_chains max: 4 done
> PCI: pci_scan_bus returning with max=04
> done
> Allocating resources...
> PCI: 04:01.0 missing read_resources
> PCI: 04:01.0 missing read_resources
> PCI: 04:01.0 missing read_resources
> PCI: 01:04.5 missing read_resources
> PCI: 01:04.6 missing read_resources
> PCI: 01:04.5 missing read_resources
> PCI: 01:04.6 missing read_resources
> ASSIGN RESOURCES, bus 0
> PCI: 01:04.5 missing read_resources
> PCI: 01:04.6 missing read_resources
> PCI: 00:18.0 c0 <- [0x00001000 - 0x00002fff] node 0 link 0 io
> PCI: 01:04.5 missing read_resources
> PCI: 01:04.6 missing read_resources
> PCI: 00:18.0 b8 <- [0xfd000000 - 0xfe2fffff] node 0 link 0 mem
> ASSIGN RESOURCES, bus 1
> PCI: 01:01.0 1c <- [0x00002000 - 0x00001fff] bus 2 io
> PCI: 01:01.0 24 <- [0xfe200000 - 0xfe1fffff] bus 2 prefmem
> PCI: 01:01.0 20 <- [0xfe100000 - 0xfe1fffff] bus 2 mem
> ASSIGN RESOURCES, bus 2
> PCI: 02:03.0 10 <- [0xfe100000 - 0xfe10ffff] mem
> PCI: 02:04.0 10 <- [0xfe110000 - 0xfe11ffff] mem
> ASSIGNED RESOURCES, bus 2
> PCI: 01:01.1 10 <- [0xfe200000 - 0xfe200fff] mem
> PCI: 01:02.0 1c <- [0x00002000 - 0x00001fff] bus 3 io
> PCI: 01:02.0 24 <- [0xfe200000 - 0xfe1fffff] bus 3 prefmem
> PCI: 01:02.0 20 <- [0xfe200000 - 0xfe1fffff] bus 3 mem
> PCI: 01:02.1 10 <- [0xfe201000 - 0xfe201fff] mem
> PCI: 04:01.0 missing read_resources
> PCI: 01:03.0 1c <- [0x00001000 - 0x00001fff] bus 4 io
> PCI: 04:01.0 missing read_resources
> PCI: 01:03.0 24 <- [0xfe200000 - 0xfe1fffff] bus 4 prefmem
> PCI: 04:01.0 missing read_resources
> PCI: 01:03.0 20 <- [0xfd000000 - 0xfeffffff] bus 4 mem
> ASSIGN RESOURCES, bus 4
> PCI: 04:00.0 10 <- [0xfe000000 - 0xfe000fff] mem
> PCI: 04:00.1 10 <- [0xfe001000 - 0xfe001fff] mem
> PCI: 04:00.2 10 <- [0xfe003000 - 0xfe0030ff] mem
> PCI: 04:00.2 14 <- [0xfe004000 - 0xfe00401f] mem
> PCI: 04:01.0 missing set_resources
> PCI: 04:06.0 10 <- [0xfd000000 - 0xfdffffff] mem
> PCI: 04:06.0 14 <- [0x00001000 - 0x000010ff] io
> PCI: 04:06.0 18 <- [0xfe002000 - 0xfe002fff] mem
> ASSIGNED RESOURCES, bus 4
> PCI: 01:04.0 00 <- [0x00000000 - 0xffffffff] io
> PCI: 01:04.0 00 <- [0x00000000 - 0xffffffff] mem
> ASSIGN RESOURCES, bus 0
> PNP: 002e.0 60 <- [0x00002480 - 0x00002485 io
> ERROR: PNP: 002e.0 70 not allocated
> ERROR: PNP: 002e.0 74 not allocated
> PNP: 002e.1 60 <- [0x00002000 - 0x00002307 io
> ERROR: PNP: 002e.1 70 not allocated
> ERROR: PNP: 002e.1 74 not allocated
> PNP: 002e.2 60 <- [0x00002440 - 0x00002447 io
> ERROR: PNP: 002e.2 70 not allocated
> ERROR: PNP: 002e.2 74 not allocated
> ERROR: PNP: 002e.2 75 not allocated
> PNP: 002e.3 60 <- [0x000003f8 - 0x000003f7 io
> PNP: 002e.3 70 <- [0x00000004 - 0x00000003 irq
> PNP: 002e.4 60 <- [0x00002420 - 0x0000242f io
> ERROR: PNP: 002e.4 70 not allocated
> ERROR: PNP: 002e.5 70 not allocated
> PNP: 002e.6 60 <- [0x00000060 - 0x0000005f io
> PNP: 002e.6 62 <- [0x00000064 - 0x00000063 io
> PNP: 002e.7 60 <- [0x00002450 - 0x00002457 io
> ERROR: PNP: 002e.7 70 not allocated
> PNP: 002e.8 60 <- [0x00002460 - 0x00002467 io
> ERROR: PNP: 002e.8 70 not allocated
> PNP: 002e.9 60 <- [0x00002470 - 0x00002477 io
> ERROR: PNP: 002e.9 70 not allocated
> PNP: 002e.a 60 <- [0x00002490 - 0x00002493 io
> ERROR: PNP: 002e.a 70 not allocated
> ASSIGNED RESOURCES, bus 0
> PCI: 01:04.1 20 <- [0x00002430 - 0x0000243f] io
> PCI: 01:04.2 10 <- [0x00002400 - 0x0000241f] io
> PCI: 01:04.5 missing set_resources
> PCI: 01:04.6 missing set_resources
> ASSIGNED RESOURCES, bus 1
> ASSIGNED RESOURCES, bus 0
> Allocating VGA resource
> done.
> Enabling resourcess...
> PCI: 00:18.0 cmd <- 00
> PCI: 01:01.0 bridge ctrl <- 0000
> PCI: 01:01.0 cmd <- 07
> PCI: 02:03.0 cmd <- 02
> PCI: 02:04.0 cmd <- 02
> PCI: 01:01.1 cmd <- 02
> PCI: 01:02.0 bridge ctrl <- 0000
> PCI: 01:02.0 cmd <- 07
> PCI: 01:02.1 cmd <- 02
> PCI: 01:03.0 bridge ctrl <- 003e
> PCI: 01:03.0 cmd <- 07
> PCI: 04:00.0 cmd <- 02
> PCI: 04:00.1 cmd <- 02
> PCI: 04:00.2 cmd <- 02
> PCI: 04:01.0 missing enable_resources
> PCI: 04:06.0 cmd <- 83
> PCI: 01:04.0 cmd <- 0f
> PCI: 01:04.1 cmd <- 01
> PCI: 01:04.2 cmd <- 01
> PCI: 01:04.3 cmd <- 00
> PCI: 01:04.5 missing enable_resources
> PCI: 01:04.6 missing enable_resources
> PCI: 00:18.1 cmd <- 00
> PCI: 00:18.2 cmd <- 00
> PCI: 00:18.3 cmd <- 00
> PCI: 00:19.0 cmd <- 00
> PCI: 00:19.1 cmd <- 00
> PCI: 00:19.2 cmd <- 00
> PCI: 00:19.3 cmd <- 00
> done.
> Initializing devices...
> PCI: 00:18.3 init
> NB: Function 3 Misc Control.. done.
> PCI: 00:19.3 init
> NB: Function 3 Misc Control.. done.
> PCI: 01:01.0 init
> PCI: 01:02.0 init
> PCI: 01:04.0 init
> lpc_init
> PCI: 01:04.1 init
> ide_init
> IDE1 IDE0 PCI: 01:04.3 init
> set power on after power fail
> PCI: 04:00.0 init
> USB: Setting up controller.. done.
> PCI: 04:00.1 init
> USB: Setting up controller.. done.
> PCI: 04:00.2 init
> USB: Setting up controller.. done.
> Devices initialized
> mmio_base: 3932160KB
> totalram: 2048M
> Initializing CPU #0
> Enabling cache...
> Setting fixed MTRRs(0-88) type: UC
> Setting fixed MTRRs(0-88) type: WB
> DONE fixed MTRRs
> Setting variable MTRR 0, base:    0MB, range: 2048MB, 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 : 0x01
> Feature flags      : 0x078bfbff
> 
> 
> MTRR check
> Fixed MTRRs   : Enabled
> Variable MTRRs: Enabled
> 
> Setting up local apic... apic_id: 0 done.
> CPU #0 Initialized
> secondary_cpu_init
> Waiting for 2 CPUS to stop
> mmio_base: 3932160KB
> Initializing CPU #1
> Enabling cache...
> Setting fixed MTRRs(0-88) type: UC
> Setting fixed MTRRs(0-88) type: WB
> DONE fixed MTRRs
> Setting variable MTRR 0, base:    0MB, range: 2048MB, 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 : 0x01
> 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...
> Inconsistent IRQ routing table size
> /home/eric/projects/linuxbios/checkin/hdama/foo/freebios2/src/arch/i386/boot/pirq_routing.c:
>     29:check_pirq_routing_table() - irq_routing_table located at: 0x0000f1c0
> done.
> Copying IRQ routing tables to 0xf0000...done.
> Verifing priq routing tables copy at 0xf0000...succeed
> Wrote the mp table end at: 00000020 - 0000021c
> Wrote linuxbios table at: 00000500 - 00000b00  checksum 4399
> 
> Welcome to elfboot, the open sourced starter.
> January 2002, Eric Biederman.
> Version 1.3
> 
> Found ELF candiate at offset 0
> Loading Etherboot version: 5.2.1eb1
> Dropping non PT_LOAD segment
> New segment addr 0x20000 size 0x3936f offset 0xc0 filesize 0x70d8
> (cleaned up) New segment addr 0x20000 size 0x3936f offset 0xc0 filesize 0x70d8
> Loading Segment: addr: 0x0000000000020000 memsz: 0x000000000003936f filesz: 
> 0x00000000000070d8
> Clearing Segment: addr: 0x00000000000270d8 memsz: 0x0000000000032297
> Jumping to boot code at 0x20000
> ROM segment 0x0000 length 0x0000 reloc 0x00020000
> CPU 1457 Mhz
> Etherboot 5.2.1eb1 (GPL) http://etherboot.org ELF64 ELF for [TG3][IDE]
_______________________________________________
Linuxbios mailing list
[EMAIL PROTECTED]
http://www.clustermatic.org/mailman/listinfo/linuxbios

Reply via email to