Re: Help debugging: Fatal kernel mode data abort: 'External Linefetch Abort (P)'

2009-10-05 Thread Tom Judge
Olivier Houchard wrote: Hi Olivier, I have tried the patch and here are the boot results: I fail to see how it happens. Could you printf the value of sc->sc_mem once set in i80321_pci_attach(), and if it appears to be 0, the value of i80321_softc->sc_owin[0].owin_xlate_lo at the differ

Re: Help debugging: Fatal kernel mode data abort: 'External Linefetch Abort (P)'

2009-10-04 Thread Olivier Houchard
> Hi Olivier, > > I have tried the patch and here are the boot results: > > > i80321: BAR0 = 2004. BAR1 = 4004. > i80219: BAR0 = 2000. BAR1 = 4000. > i80219: I/O Processor, acting as PCI host > i80321: SBDR = 0xa000 SBR0 = 0x0018 SBR1 = 0x0

Re: Help debugging: Fatal kernel mode data abort: 'External Linefetch Abort (P)'

2009-09-29 Thread Mark Tinguely
I don't know anything about the code other than what I read today ... It appears from you boot traces the owin[0].owin_xlate_[lo | hi] values should be fine in iq80321.c - an "VERBOSE_INIT_ARM" would confirm it. You might want to test if the "sc" pointer in iq80321.c has the same value as the gl

Re: Help debugging: Fatal kernel mode data abort: 'External Linefetch Abort (P)'

2009-09-29 Thread Tom Judge
Mark Tinguely wrote: I don't know anything about the code other than what I read today ... It appears from you boot traces the owin[0].owin_xlate_[lo | hi] values should be fine in iq80321.c - an "VERBOSE_INIT_ARM" would confirm it. You might want to test if the "sc" pointer in iq80321.c has th

Re: Help debugging: Fatal kernel mode data abort: 'External Linefetch Abort (P)'

2009-09-29 Thread Tom Judge
Olivier Houchard wrote: On Tue, Sep 29, 2009 at 02:05:14AM +, Tom Judge wrote: Hi Olivier, I have switched out the std file and am now using std.i80219 but am still having issues. I think the problems are the pci memory mappings in the controller devices. On linux em0 gets mapped as

Re: Help debugging: Fatal kernel mode data abort: 'External Linefetch Abort (P)'

2009-09-29 Thread Olivier Houchard
On Tue, Sep 29, 2009 at 02:05:14AM +, Tom Judge wrote: > Olivier Houchard wrote: > >On Mon, Sep 28, 2009 at 06:55:38PM +, Tom Judge wrote: > > > >>Hi, > >> > >>I am working on getting FreeBSD to boot on a new ARM based board, and am > >>hitting this issue any time I load a driver for the

Re: Help debugging: Fatal kernel mode data abort: 'External Linefetch Abort (P)'

2009-09-28 Thread Tom Judge
Tom Judge wrote: Olivier Houchard wrote: On Mon, Sep 28, 2009 at 06:55:38PM +, Tom Judge wrote: Hi, I am working on getting FreeBSD to boot on a new ARM based board, and am hitting this issue any time I load a driver for the PCI based devices on the board. My current code can be foun

Re: Help debugging: Fatal kernel mode data abort: 'External Linefetch Abort (P)'

2009-09-28 Thread Tom Judge
Olivier Houchard wrote: On Mon, Sep 28, 2009 at 06:55:38PM +, Tom Judge wrote: Hi, I am working on getting FreeBSD to boot on a new ARM based board, and am hitting this issue any time I load a driver for the PCI based devices on the board. My current code can be found here: http://w

Re: Help debugging: Fatal kernel mode data abort: 'External Linefetch Abort (P)'

2009-09-28 Thread Olivier Houchard
On Mon, Sep 28, 2009 at 06:55:38PM +, Tom Judge wrote: > Hi, > > I am working on getting FreeBSD to boot on a new ARM based board, and am > hitting this issue any time I load a driver for the PCI based devices on > the board. > > My current code can be found here: > > http://www.tomjudge.c

Help debugging: Fatal kernel mode data abort: 'External Linefetch Abort (P)'

2009-09-28 Thread Tom Judge
Hi, I am working on getting FreeBSD to boot on a new ARM based board, and am hitting this issue any time I load a driver for the PCI based devices on the board. My current code can be found here: http://www.tomjudge.com/tmp/em7210.patch Here is the back trace of the problem (which i can repe