em(4) hardware error after ACPI suspend

Sepherosa Ziehau sepherosa at gmail.com
Sun Jan 27 02:04:39 PST 2008

On Jan 27, 2008 5:13 PM, Matthias Schmidt <matthias at dragonflybsd.org> wrote:
> He sephe,
> * Sepherosa Ziehau wrote:
> >
> > Intel does only one eeprom checksum upon em_attach() in their new
> > driver, but I don't think that will solve your problem; I suspect all
> > of the devices' BAR is complete trashed after suspend/resume.  Could
> > you apply following patch and post the debug prints?
> > http://leaf.dragonflybsd.org/~sephe/em_test.diff
> >
> > The read back value should not be 0xffffffff
> I've applied the patch, but I don't see any status output.  The only
> change is the following additional line after resume:
> Jan 27 10:07:57 jupiter kernel: em0: Memory Access and/or Bus Master
> bits were not set

Don't have much idea about how ACPI suspend/resume works.  But it
looks like it calls device attach routine.  And the above debug log is
benign.  Does it mean you will have to manually ifconfig em0 up again
after resuming?

Best Regards,

Live Free or Die

More information about the Bugs mailing list