Port-macppc archive

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

Re: Hunting the ahc boot-time panic



Hello,

On Wed, 19 Oct 2011 20:13:54 -0500 (CDT)
"John D. Baker" <jdbaker%mylinuxisp.com@localhost> wrote:

> > An easy test would be to always set ioh_valid to 0 and see if things
> > work with that.
> 
> Bingo!  Inserting a couple of lines:
> 
> [...]
>      843 /* force to zero to see if panic is due to umapped/mismapped IOBAR */
>      844 ioh_valid = 0;
>      845 printf("%s():\n  %s:%d\n", __func__, __FILE__, __LINE__);
>      846         if (ioh_valid) { 
> [...]
> 
> and ahc attaches without problems.  Excerpt from dmesg with extra
> printf()s:

Please try the attached patch with an unmodified ahc_pci.c

have fun
Michael

Attachment: pci.patch
Description: Binary data



Home | Main Index | Thread Index | Old Index