[LinuxBIOS] dead loop in compute_allocate_resource

yhlu yinghailu at gmail.com
Wed Jul 6 00:14:28 CEST 2005


Eric,

for s2735, I add enable some print out, it turns out it get not get out from 
Root Device compute_allocate_io

it will get into the dead loop around 2e.0 2e.2, 2e.3, 2e.b

YH



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:02.0 compute_allocate_io: base: 00000000 size: 00000000 align:
12 gran: 12
PCI: 00:02.0 read_resources bus 1 link: 0
PCI: 01:1d.0 compute_allocate_io: base: 00000000 size: 00000000 align:
12 gran: 12
PCI: 01:1d.0 read_resources bus 2 link: 0
PCI: 01:1d.0 read_resources bus 2 link: 0 done
        1: PCI: 02:01.0 20 *  [0x00000000 - 0x0000003f] io
        2:PCI: 02:01.0 20 *  [0x00000000 - 0x0000003f] io
PCI: 02:01.0 20 *  [0x00000000 - 0x0000003f] io
        1: PCI: 02:01.1 20 *  [0x00000000 - 0x0000003f] io
        2:PCI: 02:01.1 20 *  [0x00000000 - 0x0000003f] io
PCI: 02:01.1 20 *  [0x00000040 - 0x0000007f] io
PCI: 01:1d.0 compute_allocate_io: base: 00000080 size: 00001000 align:
12 gran: 12 done
PCI: 01:1d.0 compute_allocate_prefmem: base: 00000000 size: 00000000
align: 20 gran: 20
PCI: 01:1d.0 read_resources bus 2 link: 0
PCI: 01:1d.0 read_resources bus 2 link: 0 done
PCI: 01:1d.0 compute_allocate_prefmem: base: 00000000 size: 00000000
align: 20 gran: 20 done
PCI: 01:1d.0 compute_allocate_prefmem: base: fffffffffff00000 size:
00000000 align: 20 gran: 20
PCI: 01:1d.0 read_resources bus 2 link: 0
PCI: 01:1d.0 read_resources bus 2 link: 0 done
PCI: 01:1d.0 compute_allocate_prefmem: base: fffffffffff00000 size:
00000000 align: 20 gran: 20 done
PCI: 01:1d.0 24 <- [0xfffffffffff00000 - 0xffffffffffefffff] bus 2 prefmem
PCI: 01:1d.0 compute_allocate_mem: base: 00000000 size: 00000000
align: 20 gran: 20
PCI: 01:1d.0 read_resources bus 2 link: 0
PCI: 01:1d.0 read_resources bus 2 link: 0 done
        1: PCI: 02:01.0 10 *  [0x00000000 - 0x0001ffff] mem
        2:PCI: 02:01.0 10 *  [0x00000000 - 0x0001ffff] mem
PCI: 02:01.0 10 *  [0x00000000 - 0x0001ffff] mem
        1: PCI: 02:01.1 10 *  [0x00000000 - 0x0001ffff] mem
        2:PCI: 02:01.1 10 *  [0x00000000 - 0x0001ffff] mem
PCI: 02:01.1 10 *  [0x00020000 - 0x0003ffff] mem
PCI: 01:1d.0 compute_allocate_mem: base: 00040000 size: 00100000
align: 20 gran: 20 done
PCI: 01:1f.0 compute_allocate_io: base: 00000000 size: 00000000 align:
12 gran: 12
PCI: 01:1f.0 read_resources bus 3 link: 0
PCI: 01:1f.0 read_resources bus 3 link: 0 done
PCI: 01:1f.0 compute_allocate_io: base: 00000000 size: 00000000 align:
12 gran: 12 done
PCI: 01:1f.0 compute_allocate_io: base: 0000f000 size: 00000000 align:
12 gran: 12
PCI: 01:1f.0 read_resources bus 3 link: 0
PCI: 01:1f.0 read_resources bus 3 link: 0 done
PCI: 01:1f.0 compute_allocate_io: base: 0000f000 size: 00000000 align:
12 gran: 12 done
PCI: 01:1f.0 1c <- [0x000000f000 - 0x000000efff] bus 3 io
PCI: 01:1f.0 compute_allocate_prefmem: base: 00000000 size: 00000000
align: 20 gran: 20
PCI: 01:1f.0 read_resources bus 3 link: 0
PCI: 01:1f.0 read_resources bus 3 link: 0 done
PCI: 01:1f.0 compute_allocate_prefmem: base: 00000000 size: 00000000
align: 20 gran: 20 done
PCI: 01:1f.0 compute_allocate_prefmem: base: fffffffffff00000 size:
00000000 align: 20 gran: 20
PCI: 01:1f.0 read_resources bus 3 link: 0
PCI: 01:1f.0 read_resources bus 3 link: 0 done
PCI: 01:1f.0 compute_allocate_prefmem: base: fffffffffff00000 size:
00000000 align: 20 gran: 20 done
PCI: 01:1f.0 24 <- [0xfffffffffff00000 - 0xffffffffffefffff] bus 3 prefmem
PCI: 01:1f.0 compute_allocate_mem: base: 00000000 size: 00000000
align: 20 gran: 20
PCI: 01:1f.0 read_resources bus 3 link: 0
PCI: 01:1f.0 read_resources bus 3 link: 0 done
PCI: 01:1f.0 compute_allocate_mem: base: 00000000 size: 00000000
align: 20 gran: 20 done
PCI: 01:1f.0 compute_allocate_mem: base: fff00000 size: 00000000
align: 20 gran: 20
PCI: 01:1f.0 read_resources bus 3 link: 0
PCI: 01:1f.0 read_resources bus 3 link: 0 done
PCI: 01:1f.0 compute_allocate_mem: base: fff00000 size: 00000000
align: 20 gran: 20 done
PCI: 01:1f.0 20 <- [0x00fff00000 - 0x00ffefffff] bus 3 mem
PCI: 00:02.0 read_resources bus 1 link: 0 done
        1: PCI: 01:1d.0 1c *  [0x00000000 - 0x00000fff] io
        2:PCI: 01:1d.0 1c *  [0x00000000 - 0x00000fff] io
PCI: 01:1d.0 1c *  [0x00000000 - 0x00000fff] io
PCI: 00:02.0 compute_allocate_io: base: 00001000 size: 00001000 align:
12 gran: 12 done
PCI: 00:02.0 compute_allocate_prefmem: base: 00000000 size: 00000000
align: 20 gran: 20
PCI: 00:02.0 read_resources bus 1 link: 0
PCI: 00:02.0 read_resources bus 1 link: 0 done
PCI: 00:02.0 compute_allocate_prefmem: base: 00000000 size: 00000000
align: 20 gran: 20 done
PCI: 00:02.0 compute_allocate_prefmem: base: fff00000 size: 00000000
align: 20 gran: 20
PCI: 00:02.0 read_resources bus 1 link: 0
PCI: 00:02.0 read_resources bus 1 link: 0 done
PCI: 00:02.0 compute_allocate_prefmem: base: fff00000 size: 00000000
align: 20 gran: 20 done
PCI: 00:02.0 24 <- [0x00fff00000 - 0x00ffefffff] bus 1 prefmem
PCI: 00:02.0 compute_allocate_mem: base: 00000000 size: 00000000
align: 20 gran: 20
PCI: 00:02.0 read_resources bus 1 link: 0
PCI: 00:02.0 read_resources bus 1 link: 0 done
        1: PCI: 01:1d.0 20 *  [0x00000000 - 0x000fffff] mem
        2:PCI: 01:1d.0 20 *  [0x00000000 - 0x000fffff] mem
PCI: 01:1d.0 20 *  [0x00000000 - 0x000fffff] mem
        1: PCI: 01:1c.0 10 *  [0x00000000 - 0x00000fff] mem
        2:PCI: 01:1c.0 10 *  [0x00000000 - 0x00000fff] mem
PCI: 01:1c.0 10 *  [0x00100000 - 0x00100fff] mem
        1: PCI: 01:1e.0 10 *  [0x00000000 - 0x00000fff] mem
        2:PCI: 01:1e.0 10 *  [0x00000000 - 0x00000fff] mem
PCI: 01:1e.0 10 *  [0x00101000 - 0x00101fff] mem
PCI: 00:02.0 compute_allocate_mem: base: 00102000 size: 00200000
align: 20 gran: 20 done
PCI: 00:1e.0 compute_allocate_io: base: 00000000 size: 00000000 align:
12 gran: 12
PCI: 00:1e.0 read_resources bus 4 link: 0
PCI: 00:1e.0 read_resources bus 4 link: 0 done
        1: PCI: 04:02.0 14 *  [0x00000000 - 0x000000ff] io
        2:PCI: 04:02.0 14 *  [0x00000000 - 0x000000ff] io
PCI: 04:02.0 14 *  [0x00000000 - 0x000000ff] io
        1: PCI: 04:01.0 14 *  [0x00000000 - 0x0000003f] io
        2:PCI: 04:01.0 14 *  [0x00000000 - 0x0000003f] io
PCI: 04:01.0 14 *  [0x00000400 - 0x0000043f] io
PCI: 00:1e.0 compute_allocate_io: base: 00000440 size: 00001000 align:
12 gran: 12 done
PCI: 00:1e.0 compute_allocate_prefmem: base: 00000000 size: 00000000
align: 20 gran: 20
PCI: 00:1e.0 read_resources bus 4 link: 0
PCI: 00:1e.0 read_resources bus 4 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 4 link: 0
PCI: 00:1e.0 read_resources bus 4 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 4 prefmem
PCI: 00:1e.0 compute_allocate_mem: base: 00000000 size: 00000000
align: 20 gran: 20
PCI: 00:1e.0 read_resources bus 4 link: 0
PCI: 00:1e.0 read_resources bus 4 link: 0 done
        1: PCI: 04:02.0 10 *  [0x00000000 - 0x00ffffff] mem
        2:PCI: 04:02.0 10 *  [0x00000000 - 0x00ffffff] mem
PCI: 04:02.0 10 *  [0x00000000 - 0x00ffffff] mem
        1: PCI: 04:01.0 18 *  [0x00000000 - 0x0001ffff] mem
        2:PCI: 04:01.0 18 *  [0x00000000 - 0x0001ffff] mem
PCI: 04:01.0 18 *  [0x01000000 - 0x0101ffff] mem
        1: PCI: 04:01.0 10 *  [0x00000000 - 0x00000fff] mem
        2:PCI: 04:01.0 10 *  [0x00000000 - 0x00000fff] mem
PCI: 04:01.0 10 *  [0x01020000 - 0x01020fff] mem
        1: PCI: 04:02.0 18 *  [0x00000000 - 0x00000fff] mem
        2:PCI: 04:02.0 18 *  [0x00000000 - 0x00000fff] mem
PCI: 04:02.0 18 *  [0x01021000 - 0x01021fff] mem
PCI: 00:1e.0 compute_allocate_mem: base: 01022000 size: 01100000
align: 24 gran: 20 done
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
        1: PCI: 00:02.0 1c *  [0x00000000 - 0x00000fff] io
        2:PCI: 00:02.0 1c *  [0x00000000 - 0x00000fff] io
PCI: 00:02.0 1c *  [0x00001000 - 0x00001fff] io
        1: PCI: 00:1e.0 1c *  [0x00000000 - 0x00000fff] io
        2:PCI: 00:1e.0 1c *  [0x00000000 - 0x00000fff] io
PCI: 00:1e.0 1c *  [0x00002000 - 0x00002fff] io
        1: PCI: 00:1d.0 20 *  [0x00000000 - 0x0000001f] io
        2:PCI: 00:1d.0 20 *  [0x00000000 - 0x0000001f] io
PCI: 00:1d.0 20 *  [0x00003000 - 0x0000301f] io
        1: PCI: 00:1d.1 20 *  [0x00000000 - 0x0000001f] io
        2:PCI: 00:1d.1 20 *  [0x00000000 - 0x0000001f] io
PCI: 00:1d.1 20 *  [0x00003020 - 0x0000303f] io
        1: PCI: 00:1d.2 20 *  [0x00000000 - 0x0000001f] io
        2:PCI: 00:1d.2 20 *  [0x00000000 - 0x0000001f] io
PCI: 00:1d.2 20 *  [0x00003040 - 0x0000305f] io
        1: PCI: 00:1d.3 20 *  [0x00000000 - 0x0000001f] io
        2:PCI: 00:1d.3 20 *  [0x00000000 - 0x0000001f] io
PCI: 00:1d.3 20 *  [0x00003060 - 0x0000307f] io
        1: PCI: 00:1f.3 20 *  [0x00000000 - 0x0000001f] io
        2:PCI: 00:1f.3 20 *  [0x00000000 - 0x0000001f] io
PCI: 00:1f.3 20 *  [0x00003080 - 0x0000309f] io
        1: PCI: 00:1f.2 20 *  [0x00000000 - 0x0000000f] io
        2:PCI: 00:1f.2 20 *  [0x00000000 - 0x0000000f] io
PCI: 00:1f.2 20 *  [0x000030a0 - 0x000030af] io
        1: PNP: 002e.0 60 *  [0x000003f0 - 0x000003f7] io
        1: PNP: 002e.2 60 *  [0x000003f8 - 0x000003ff] io
        1: PNP: 002e.3 60 *  [0x000002f8 - 0x000002ff] io
        1: PNP: 002e.b 60 *  [0x00000290 - 0x00000297] io
        1: PNP: 002e.0 60 *  [0x000003f0 - 0x000003f7] io
        1: PNP: 002e.2 60 *  [0x000003f8 - 0x000003ff] io
        1: PNP: 002e.3 60 *  [0x000002f8 - 0x000002ff] io
        1: PNP: 002e.b 60 *  [0x00000290 - 0x00000297] io
        1: PNP: 002e.0 60 *  [0x000003f0 - 0x000003f7] io
        1: PNP: 002e.2 60 *  [0x000003f8 - 0x000003ff] io
        1: PNP: 002e.3 60 *  [0x000002f8 - 0x000002ff] io
        1: PNP: 002e.b 60 *  [0x00000290 - 0x00000297] io
        1: PNP: 002e.0 60 *  [0x000003f0 - 0x000003f7] io
        1: PNP: 002e.2 60 *  [0x000003f8 - 0x000003ff] io
        1: PNP: 002e.3 60 *  [0x000002f8 - 0x000002ff] io
        1: PNP: 002e.b 60 *  [0x00000290 - 0x00000297] io
        1: PNP: 002e.0 60 *  [0x000003f0 - 0x000003f7] io
        1: PNP: 002e.2 60 *  [0x000003f8 - 0x000003ff] io
        1: PNP: 002e.3 60 *  [0x000002f8 - 0x000002ff] io
        1: PNP: 002e.b 60 *  [0x00000290 - 0x00000297] io
        1: PNP: 002e.0 60 *  [0x000003f0 - 0x000003f7] io
        1: PNP: 002e.2 60 *  [0x000003f8 - 0x000003ff] io
        1: PNP: 002e.3 60 *  [0x000002f8 - 0x000002ff] io
        1: PNP: 002e.b 60 *  [0x00000290 - 0x00000297] io
        1: PNP: 002e.0 60 *  [0x000003f0 - 0x000003f7] io
        1: PNP: 002e.2 60 *  [0x000003f8 - 0x000003ff] io




More information about the coreboot mailing list