Hi, thanks for the patch, now the machine boots again!
BR Simon 2016-11-01 1:16 GMT+01:00, David Gwynne <[email protected]>: > On Mon, Oct 31, 2016 at 02:58:10PM +0100, Simon Mages wrote: >> >Synopsis: OpenBSD-current hang at scsibus1 at mpii0: 128 targets >> >Category: driver issue >> >Environment: >> System : OpenBSD 6.0 >> Details : OpenBSD 6.0-current (GENERIC.MP) #2: Mon Oct 31 >> 14:39:18 CET 2016 >> >> [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP >> >> Architecture: OpenBSD.amd64 >> Machine : amd64 >> >Description: >> after rebuilding the current kernel and booting it the machine >> hangs >> at "scsibus1 at mpii0: 128 targets". > > can you try this? > > Index: mpii.c > =================================================================== > RCS file: /cvs/src/sys/dev/pci/mpii.c,v > retrieving revision 1.107 > diff -u -p -r1.107 mpii.c > --- mpii.c 24 Oct 2016 01:50:09 -0000 1.107 > +++ mpii.c 1 Nov 2016 00:13:56 -0000 > @@ -888,6 +888,9 @@ mpii_scsi_probe(struct scsi_link *link) > if (ISSET(flags, MPII_DF_HIDDEN) || ISSET(flags, MPII_DF_UNUSED)) > return (1); > > + if (ISSET(flags, MPII_DF_VOLUME)) > + return (0); > + > memset(&ehdr, 0, sizeof(ehdr)); > ehdr.page_type = MPII_CONFIG_REQ_PAGE_TYPE_EXTENDED; > ehdr.page_number = 0; >
