From owner-freebsd-usb@freebsd.org Sun Nov 8 20:38:42 2015 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 96C38A29470 for ; Sun, 8 Nov 2015 20:38:42 +0000 (UTC) (envelope-from nothingness@citycable.ch) Received: from emailfrontal1-new.citycable.ch (emailfrontal1-new.citycable.ch [85.218.0.103]) by mx1.freebsd.org (Postfix) with ESMTP id 1EE7013D1 for ; Sun, 8 Nov 2015 20:38:41 +0000 (UTC) (envelope-from nothingness@citycable.ch) Received: from localhost (localhost [127.0.0.1]) by emailfrontal1-new.citycable.ch (Postfix) with ESMTP id 3nv6jj12bnzNq6Q; Sun, 8 Nov 2015 21:38:33 +0100 (CET) X-Virus-Scanned: amavisd-new at localdomain Received: from emailfrontal1-new.citycable.ch ([127.0.0.1]) by localhost (localhost.localdomain [127.0.0.1]) (amavisd-new, port 10050) with LMTP id J2FdIggZNmm7; Sun, 8 Nov 2015 21:38:25 +0100 (CET) Received: from [192.168.50.9] (85-218-8-184.dclient.lsne.ch [85.218.8.184]) (Authenticated sender: nothingness@citycable.ch) by emailfrontal1-new.citycable.ch (Postfix) with ESMTPA id 3nv6jW5k2DzNq5p; Sun, 8 Nov 2015 21:38:23 +0100 (CET) Subject: Re: PC Engines APU2B4 betatest: usb install fails To: freebsd-usb@freebsd.org References: <563E2039.9090004@citycable.ch> <563F1905.1050602@selasky.org> From: Noth Message-ID: <563FB2BF.7050803@citycable.ch> Date: Sun, 8 Nov 2015 21:38:23 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <563F1905.1050602@selasky.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Nov 2015 20:38:42 -0000 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: at usbus1 uhub2: on usbus1 uhub2: 4 ports with 4 removable, self powered ugen0.2: at usbus0 umass0: 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: Removable Direct Access SPC-4 SCSI device da0: 40.000MB/s transfers da0: 7384MB (15122432 512 byte sectors) da0: quirks=0x2 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: at usbus1 >> uhub2: >> on usbus1 >> uhub2: 4 ports with 4 removable, self powered >> ugen0.2: at usbus0 >> umass0: >> 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