Jonathan Gray <jsg <at> jsg.id.au> writes: > > > If you can get the dmesg output of a kernel built with the following > > > diff it should indicate where the problem is: > > > > > > Index: sys/dev/pci/if_em_osdep.h > > > =================================================================== > > > RCS file: /cvs/src/sys/dev/pci/if_em_osdep.h,v > > > retrieving revision 1.12 > > > diff -u -p -r1.12 if_em_osdep.h > > > --- sys/dev/pci/if_em_osdep.h 5 Oct 2011 02:52:10 -0000 1.12 > > > +++ sys/dev/pci/if_em_osdep.h 29 Oct 2015 03:27:36 -0000 > > > <at> <at> -44,7 +44,8 <at> <at> POSSIBILITY OF SUCH DAMAGE. > > > > > > #define MSGOUT(S, A, B) printf(S "\n", A, B) > > > #define DEBUGFUNC(F) DEBUGOUT(F); > > > -#ifdef DBG > > > +//#ifdef DBG > > > +#if 1 > > > #define DEBUGOUT(S) printf(S "\n") > > > #define DEBUGOUT1(S,A) printf(S "\n",A) > > > #define DEBUGOUT2(S,A,B) printf(S "\n",A,B) > > > > > > > > > > > > > i'll attempt to build a new bsd.rd with this patch and report back. > > > > i've never done this, so it may take a bit of time to work out the > > details. thanks for the suggestion. > > It would be enough to log the serial output and boot a normal kernel > with pxe. Though it seems you may have the "fitlet-B" that doesn't > have serial unlike the "fitlet-i" and "fitlet-X". Or perhaps > the output isn't so verbose that you could transcribe it.
this particular device is the "MintBox mini" with the slower processor. i have two of these, as well as one fitlet-X with faster processor and 4x gigabit ethernet interfaces. all have serial. > If you have a spare usb flash drive you could install to that on a > different machine, put the test kernel on it, then boot it on the > machine. i may do that in the near future; before i started leveraging pxe, i simply carried a usb stick containing a working i386 installation plus everything needed to install i386/amd64 from their respective bsd.rd images. but since i started using pxe, i have gotten a bit lazy from a usb standpoint. > It takes a while to test changes if you have to run make build and > make release every time. for my specific purpose, booting bsd.rd is all i need. i found this helpful: http://openbsd.wikia.com/wiki/Creating_a_custom_OpenBSD_RAM_disk using information from that page, i was able to build a new bsd.rd very quickly. i still haven't built "everything" yet so have no idea just how much time i saved - but i'm guessing it was quite a bit.