Date: Sun, 8 Nov 2015 21:38:23 +0100 From: Noth <nothingness@citycable.ch> To: freebsd-usb@freebsd.org Subject: Re: PC Engines APU2B4 betatest: usb install fails Message-ID: <563FB2BF.7050803@citycable.ch> In-Reply-To: <563F1905.1050602@selasky.org> References: <563E2039.9090004@citycable.ch> <563F1905.1050602@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi again, I added the following to /boot/loader.conf on the 11-CURRENT usb memstick : usb_quirk_load="YES" boot_multicons="YES" boot_serial="YES" comconsole_speed="115200" console="comconsole,vidconsole" usbconfig -d ugen0.2 add_quirk NO_6_BYTE and that seems to let the kernel mount the miniroot: Trying to mount root from ufs:/dev/ufs/FreeBSD_Install [ro,noatime]... Root mount waiting for: usbus1 usbus0 uhub0: 4 ports with 4 removable, self powered uhub1: 2 ports with 2 removable, self powered Root mount waiting for: usbus1 usbus0 ugen1.2: <vendor 0x0438> at usbus1 uhub2: <vendor 0x0438 product 0x7900, class 9/0, rev 2.00/0.18, addr 2> on usbus1 uhub2: 4 ports with 4 removable, self powered ugen0.2: <vendor 0x0718> at usbus0 umass0: <vendor 0x0718 product 0x0619, class 0/0, rev 2.00/1.00, addr 1> on usbus0 umass0: SCSI over Bulk-Only; quirks = 0xc100 umass0:2:0: Attached to scbus2 mountroot: waiting for device /dev/ufs/FreeBSD_Install... (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (probe0:umass-sim0:0:0:0): Retrying command da0 at umass-sim0 bus 0 scbus2 target 0 lun 0 da0: <TDK LoR TF20 PMAP> Removable Direct Access SPC-4 SCSI device da0: 40.000MB/s transfers da0: 7384MB (15122432 512 byte sectors) da0: quirks=0x2<NO_6_BYTE> GEOM: da0: the secondary GPT header is not in the last LBA. No suitable dump device was found. Starting file system checks: /dev/ufs/FreeBSD_Install: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ufs/FreeBSD_Install: clean, 52158 free (174 frags, 6498 blocks, 0.0% fragmentation) Thanks for the suggestions! Cheers, Noth On 08/11/15 10:42, Hans Petter Selasky wrote: > On 11/07/15 17:00, Noth wrote: >> Hi all, >> >> I've been directed here by the good folk of #freebsd on Freenode. I'm >> betatesting the upcoming PC Engines APU2B4 ( >> http://pcengines.ch/apu2b4.htm ) on various OSes. I tried the memstick >> installers of both 10.2-RELEASE and the 2nd of November snapshot of >> 11-CURRENT, and neither work, because the kernel can't mount the >> miniroot: >> >> Trying to mount root from ufs:/dev/ufs/FreeBSD_Install [ro,noatime]... >> Root mount waiting for: usbus1 usbus0 >> uhub0: 4 ports with 4 removable, self powered >> uhub1: 2 ports with 2 removable, self powered >> Root mount waiting for: usbus1 usbus0 >> ugen1.2: <vendor 0x0438> at usbus1 >> uhub2: <vendor 0x0438 product 0x7900, class 9/0, rev 2.00/0.18, addr 2> >> on usbus1 >> uhub2: 4 ports with 4 removable, self powered >> ugen0.2: <vendor 0x0781> at usbus0 >> umass0: <vendor 0x0781 product 0x5571, class 0/0, rev 2.00/1.26, addr 1> >> on usbus0 >> umass0: SCSI over Bulk-Only; quirks = 0x8100 >> umass0:2:0: Attached to scbus2 >> mountroot: waiting for device /dev/ufs/FreeBSD_Install... >> (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 >> (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an >> error >> (probe0:umass-sim0:0:0:0): Retrying command >> (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 >> (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an >> error >> (probe0:umass-sim0:0:0:0): Retrying command >> Mounting from ufs:/dev/ufs/FreeBSD_Install failed with error 19. >> > > Hi, > > SCSI command #12 is: > > #define INQUIRY 0x12 > > That means you might need to set the UQ_MSC_NO_INQUIRY quirk for your > device, before it works. In recent 11-current images, this can be done > from the loader. See usb_quirk manual page in 11-current. > > --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?563FB2BF.7050803>