Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: panic: iomem allocation failure



On Monday 02 November 2009 15:56:33 Manuel Bouyer wrote:
> On Mon, Nov 02, 2009 at 02:53:17PM +0100, Christoph Egger wrote:
> > Hi!
> >
> > Booting an amd64 NetBSD Dom0, I got this panic:
> >
> > [...]
> > bge0 at pci8 dev 4 function 0: Broadcom BCM5714/5715 Gigabit Ethernet
> > extent_alloc_region: extent `iomem' (0x0 - 0xffffffff)
> > extent_alloc_region: start 0xb3ed988fd8410000, end 0xb3ed988fd841ffff
> > panic: extent_alloc_region: region lies outside extent
> > fatal breakpoint trap in supervisor mode
> > trap type 1 code 0 rip ffffffff801fa9ad cs e030 rflags 246 cr2  0 cpl 8
> > rsp ffffffff80e79090
> > Stopped in pid 0.1 (system) at  netbsd:breakpoint+0x5:  leave
> > breakpoint() at netbsd:breakpoint+0x5
> > panic() at netbsd:panic+0x269
> > extent_alloc_region() at netbsd:extent_alloc_region+0x91
> > bus_space_map() at netbsd:bus_space_map+0x52
> > pci_mapreg_submap() at netbsd:pci_mapreg_submap+0xd3
> > pci_mapreg_map() at netbsd:pci_mapreg_map+0x2e
> > bge_attach() at netbsd:bge_attach+0x163
>
> If would be interesting to print what's happening in these functions
> between bge_attach and extent_alloc_region. AFAIK, memory-mapped IO can't
> be above 4Gb on x86, even on 64bit systems (or at last NetBSD doesn't
> support it in the native case).

It looks like the hardware was in a bogus state. Booting Linux one time
made NetBSD boot again. I have no idea how Linux cured the hardware.

snippet of pcictl dump of bge0:

    Base address register at 0x10
      type: 64-bit nonprefetchable memory
      base: 0x00000000d8410000, not sized
    Base address register at 0x18
      type: 64-bit nonprefetchable memory
      base: 0x00000000d8400000, not sized
    Base address register at 0x20
      not implemented(?)
    Base address register at 0x24
      not implemented(?)
    Cardbus CIS Pointer: 0x00000000
    Subsystem vendor ID: 0x14e4
    Subsystem ID: 0x1678
    Expansion ROM Base Address: 0x00000000
    Capability list pointer: 0x40
    Reserved @ 0x38: 0x00000000
    Maximum Latency: 0x00
    Minimum Grant: 0x40
    Interrupt pin: 0x01 (pin A)
    Interrupt line: 0x0b


Christoph


Home | Main Index | Thread Index | Old Index