[coreboot] Debug help

Stefan Reinauer stepan at coresystems.de
Tue May 26 09:31:45 CEST 2009


On 09.05.2009 0:45 Uhr, Myles Watson wrote:
> I can't figure out how to track this down.  I get serial corruption
> and missing output lines.  The difference in the setup is that one
> boot has a module installed and the other one doesn't.  The broken one
> doesnt :(
>   
What module is that?

> Look at the first two lines of the logs...
>
> How would I go about tracking this down?  What could eat my serial
> output?  I'm on a single processor machine.
>
> Full logs available if anyone wants them.
>
>   

If it still applies...

> BTW: I've never gotten scan-build to work right on my machine.
> Patrick or Stefan, do you have a new run available somewhere?
>   

I started a new run yesterday evening, and I put it to
http://www.coreboot.org/~stepan/coreboot-scanbuild
moved the old one to
http://www.coreboot.org/~stepan/coreboot-scanbuild.old but I'm going to
wipe it in a day or too as these reports are quite big (11G each, while
the coreboot.org SAS disks are clearly undersized)




> Thanks,
> Myles
>
> Broken log:
>
> PCI: 00:0d.0 compute_allocate_resource 0000a0 gran: 20 done
> mputeemem: base: fff00000 size: 00000000 align: 20 gran: 20
> PCI: 00:0d.0 read_resources bCI00e:0:01.00.0 1820x00002087] io
> PCI: 00:07.0 14 *  [0x00002090 - 0x00002093] io
> PCI: 00:07.0 1c *  [0x000020a0 - 0x000020a3] io
> PCI: 00:08.0 14 *  [0x000020b0 - 0x000020b3] io
> PCI: 00:08.0 1c *  [0x000020c0 - 0x000020c3] io
>
>
> OK log:
> PCI: 00:0d.0 compute_allocate_resource prefmem: base: 00000000 size:
> 00000000 align: 20 gran: 20 done
> PCI: 00:0d.0 compute_allocate_resource prefmem: base: fff00000 size:
> 00000000 align: 20 gran: 20
> PCI: 00:0d.0 read_resources bus 2 link: 0
> PCI: 00:0d.0 read_resources bus 2 link: 0 done
> PCI: 00:0d.0 compute_allocate_resource prefmem: base: fff00000 size:
> 00000000 align: 20 gran: 20 done
> PCI: 00:0d.0 24 <- [0x00fff00000 - 0x00ffefffff] size 0x00000000 gran
> 0x14 bus 02 prefmem
> PCI: 00:0d.0 compute_allocate_resource mem: base: 00000000 size:
> 00000000 align: 20 gran: 20
> PCI: 00:0d.0 read_resources bus 2 link: 0
> PCI: 00:0d.0 read_resources bus 2 link: 0 done
> PCI: 00:0d.0 compute_allocate_resource mem: base: 00000000 size:
> 00000000 align: 20 gran: 20 done
> PCI: 00:0d.0 compute_allocate_resource mem: base: fff00000 size:
> 00000000 align: 20 gran: 20
> PCI: 00:0d.0 read_resources bus 2 link: 0
> PCI: 00:0d.0 read_resources bus 2 link: 0 done
> PCI: 00:0d.0 compute_allocate_resource mem: base: fff00000 size:
> 00000000 align: 20 gran: 20 done
> PCI: 00:0d.0 20 <- [0x00fff00000 - 0x00ffefffff] size 0x00000000 gran
> 0x14 bus 02 mem
> PCI: 00:0e.0 compute_allocate_resource io: base: 00000000 size:
> 00000000 align: 12 gran: 12
> PCI: 00:0e.0 read_resources bus 3 link: 0
> PCI: 00:0e.0 read_resources bus 3 link: 0 done
> PCI: 00:0e.0 compute_allocate_resource io: base: 00000000 size:
> 00000000 align: 12 gran: 12 done
> PCI: 00:0e.0 compute_allocate_resource io: base: fffff000 size:
> 00000000 align: 12 gran: 12
> PCI: 00:0e.0 read_resources bus 3 link: 0
> PCI: 00:0e.0 read_resources bus 3 link: 0 done
> PCI: 00:0e.0 compute_allocate_resource io: base: fffff000 size:
> 00000000 align: 12 gran: 12 done
> PCI: 00:0e.0 1c <- [0x00fffff000 - 0x00ffffefff] size 0x00000000 gran
> 0x0c bus 03 io
> PCI: 00:0e.0 compute_allocate_resource prefmem: base: 00000000 size:
> 00000000 align: 20 gran: 20
> PCI: 00:0e.0 read_resources bus 3 link: 0
> PCI: 00:0e.0 read_resources bus 3 link: 0 done
> PCI: 00:0e.0 compute_allocate_resource prefmem: base: 00000000 size:
> 00000000 align: 20 gran: 20 done
> PCI: 00:0e.0 compute_allocate_resource prefmem: base: fff00000 size:
> 00000000 align: 20 gran: 20
> PCI: 00:0e.0 read_resources bus 3 link: 0
> PCI: 00:0e.0 read_resources bus 3 link: 0 done
> PCI: 00:0e.0 compute_allocate_resource prefmem: base: fff00000 size:
> 00000000 align: 20 gran: 20 done
> PCI: 00:0e.0 24 <- [0x00fff00000 - 0x00ffefffff] size 0x00000000 gran
> 0x14 bus 03 prefmem
> PCI: 00:0e.0 compute_allocate_resource mem: base: 00000000 size:
> 00000000 align: 20 gran: 20
> PCI: 00:0e.0 read_resources bus 3 link: 0
> PCI: 00:0e.0 read_resources bus 3 link: 0 done
> PCI: 00:0e.0 compute_allocate_resource mem: base: 00000000 size:
> 00000000 align: 20 gran: 20 done
> PCI: 00:0e.0 compute_allocate_resource mem: base: fff00000 size:
> 00000000 align: 20 gran: 20
> PCI: 00:0e.0 read_resources bus 3 link: 0
> PCI: 00:0e.0 read_resources bus 3 link: 0 done
> PCI: 00:0e.0 compute_allocate_resource mem: base: fff00000 size:
> 00000000 align: 20 gran: 20 done
> PCI: 00:0e.0 20 <- [0x00fff00000 - 0x00ffefffff] size 0x00000000 gran
> 0x14 bus 03 mem
> PCI: 00:18.0 read_resources bus 0 link: 0 done
> PCI: 00:09.0 1c *  [0x00000000 - 0x00000fff] io
> PCI: 00:01.0 60 *  [0x00001000 - 0x000010ff] io
> PCI: 00:01.0 64 *  [0x00001400 - 0x000014ff] io
> PCI: 00:01.0 68 *  [0x00001800 - 0x000018ff] io
> PCI: 00:01.0 10 *  [0x00001c00 - 0x00001c7f] io
> PCI: 00:01.1 20 *  [0x00001c80 - 0x00001cbf] io
> PCI: 00:01.1 24 *  [0x00001cc0 - 0x00001cff] io
> PCI: 00:01.1 10 *  [0x00002000 - 0x0000201f] io
> PCI: 00:06.0 20 *  [0x00002020 - 0x0000202f] io
> PCI: 00:07.0 20 *  [0x00002030 - 0x0000203f] io
> PCI: 00:08.0 20 *  [0x00002040 - 0x0000204f] io
> PCI: 00:07.0 10 *  [0x00002050 - 0x00002057] io
> PCI: 00:07.0 18 *  [0x00002060 - 0x00002067] io
> PCI: 00:08.0 10 *  [0x00002070 - 0x00002077] io
> PCI: 00:08.0 18 *  [0x00002080 - 0x00002087] io
> PCI: 00:07.0 14 *  [0x00002090 - 0x00002093] io
> PCI: 00:07.0 1c *  [0x000020a0 - 0x000020a3] io
> PCI: 00:08.0 14 *  [0x000020b0 - 0x000020b3] io
> PCI: 00:08.0 1c *  [0x000020c0 - 0x000020c3] io
>
>   


-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866





More information about the coreboot mailing list