From owner-freebsd-current@FreeBSD.ORG Sat Feb 9 10:14:17 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 32F501B3; Sat, 9 Feb 2013 10:14:17 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.c2i.net [212.247.154.226]) by mx1.freebsd.org (Postfix) with ESMTP id 36A581B7; Sat, 9 Feb 2013 10:14:15 +0000 (UTC) X-T2-Spam-Status: No, hits=-1.0 required=5.0 tests=ALL_TRUSTED Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe08.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 377388283; Sat, 09 Feb 2013 11:14:14 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org, mav@freebsd.org Subject: Re: HEAD memsticks broken? [USB/CAM Problems?] Date: Sat, 9 Feb 2013 11:15:24 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-STABLE; KDE/4.8.4; amd64; ; ) References: <20130209073241.GN21730@jd.benders.se> <20130209092659.GO21730@jd.benders.se> In-Reply-To: <20130209092659.GO21730@jd.benders.se> X-Face: ?p&W)c(+80hU; '{.$5K+zq{oC6y| /D'an*6mw>j'f:eBsex\Gi, Cc: Joel Dahl X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2013 10:14:17 -0000 On Saturday 09 February 2013 10:26:59 Joel Dahl wrote: > On 09-02-2013 8:32, Joel Dahl wrote: > > Hi, > > > > I suspect something is broken with memsticks built from HEAD. I noticed > > that I couldn't boot the latest HEAD (amd64) memstick snapshot on two > > machines (Lenovo X220 and HP ProLiant ML350 G5). Trying snapshots from > > the FreeBSD.org FTP or allbsd.org makes no difference. > > I compared output from booting RELENG_9 and HEAD: > > RELENG_9: > > ugen2.3: at usbus2 > umass0: on > usbus2 umass0: SCSI over Bulk-Only; quirks = 0x0100 > umass0:4:0:-1: Attached to scbus4 > da0 at umass-sim0 bus 0 scbus4 target 0 lun 0 > da0: Removable Direct Access SCSI-2 device > ??????????? da0: 40.000MB/s transfers > da0: 1905MB (3903264 512 byte sectors: 255H 63S/T 24SC) > (da0-umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0 > (da0-umass-sim0:0:0:0): CAM status: SCSI Status Error > (da0-umass-sim0:0:0:0): SCSI status: Check Condition > (da0-umass-sim0:0:0:0): SCSI sense: No sense data present > (da0-umass-sim0:0:0:0): Retrying command (per sense data) > > > > Root mount waiting for: usbus2 > ugen2.4: at usbus2 > Trying to mount root from ufs:/dev/ufs/FreeBSD_Install [ro,noatime]... > Starting file system checks: > /dev/ufs/FreeBSD_Install: FILE SYSTEM CLEAN; SKIPPING CHECKS > /dev/ufs/FreeBSD_Install: clean, 43155 free (507 frags, 5331 blocks, 0.1% > fragmentation) Mounting local file systems:. > > and it works. > > HEAD: > > ugen2.3: at usbus2 > umass0: on > usbus2 umass0: SCSI over Bulk-Only; quirks = 0x0100 > umass0:5:0:-1: Attached to scbus5 > da0 at umass-sim0 bus 0 scbus5 target 0 lun 0 > da0: Removable Direct Access SCSI-0 device > ?????????? da0: 40.000MB/s transfers > da0: 3690MB (7557704 512 byte sectors: 255H 63S/T 470SC) > (da0-umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0 > (da0-umass-sim0:0:0:0): CAM status: SCSI Status Error > (da0-umass-sim0:0:0:0): SCSI status: Check Condition > (da0-umass-sim0:0:0:0): SCSI sense: No sense data present > (da0-umass-sim0:0:0:0): Retrying command (per sense data) > > > > (da0-umass-sim0:0:0:0): Error 5, Retries exhausted > (da0-umass-sim0:0:0:0): got CAM status 0x8c > (da0-umass-sim0:0:0:0): fatal error, failed to attach to device > (da0-umass-sim0:0:0:0): lost device - 0 outstanding, 4 refs > (da0-umass-sim0:0:0:0): removing device entry > ugen2.4: at usbus2 > Trying to mount root from ufs:/dev/ufs/FreeBSD_Install [ro,noatime]... > mountroot: waiting for device /dev/ufs/FreeBSD_Install ... > Mounting from ufs:/dev/ufs/FreeBSD_Install failed with error 19. Hi, You can try to set the no-synchronize cache quirk in sys/dev/usb/quirk/usb_quirk.c for your device. I'm not sure if it helps, but else I suspect it is not an USB issue. --HPS