From owner-freebsd-current@FreeBSD.ORG Sat Feb 9 20:11:07 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0226F914; Sat, 9 Feb 2013 20:11:07 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-ee0-f42.google.com (mail-ee0-f42.google.com [74.125.83.42]) by mx1.freebsd.org (Postfix) with ESMTP id 654F29A; Sat, 9 Feb 2013 20:11:05 +0000 (UTC) Received: by mail-ee0-f42.google.com with SMTP id b47so2623857eek.29 for ; Sat, 09 Feb 2013 12:10:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=fFErZ0CpdDv5GjwSuOGnqZK43zqbLz249O9vVFhk1Ns=; b=AyRYggmpJF4fEWADFldX5OgdlQPKGgJao+qCz2eLvCbYw5FcbHtOK4fod8agZzdBgZ FofkJ+HlZyHjwCsVSqV8Qu+3UVg8WbEQj6wNM/P3GoSj60ueE8xSr0+YwbSUhjO0CWBi +oppwhxA9btYmIgupc2Vf4g47ouWa2wDOHj5vZX99/jxld/bvIW3RAJJC7CCsQSrOP+K pqFMWxXT2xXxD9ZbU6hkEOWSs/rMdcVSIEG8gIMqTc6DoIjRCsiX3DK1ZBQ7PULBAVNN drjVWUoHqPoUhRqFgeCjBv7EL4xa5KYRubVxu+erzd2pi0yHH8W5Oo2oDs5t/3U1QHiB x97A== X-Received: by 10.14.220.135 with SMTP id o7mr13501046eep.3.1360434546697; Sat, 09 Feb 2013 10:29:06 -0800 (PST) Received: from mavbook.mavhome.dp.ua ([31.144.36.20]) by mx.google.com with ESMTPS id f47sm7929175eep.13.2013.02.09.10.29.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 09 Feb 2013 10:29:05 -0800 (PST) Sender: Alexander Motin Message-ID: <51169568.60402@FreeBSD.org> Date: Sat, 09 Feb 2013 20:28:56 +0200 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130125 Thunderbird/17.0.2 MIME-Version: 1.0 To: Joel Dahl Subject: Re: HEAD memsticks broken? [USB/CAM Problems?] References: <20130209073241.GN21730@jd.benders.se> <20130209092659.GO21730@jd.benders.se> <201302091115.24790.hselasky@c2i.net> In-Reply-To: <201302091115.24790.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, Hans Petter Selasky 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 20:11:07 -0000 On 09.02.2013 12:15, Hans Petter Selasky wrote: > 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. How long ago that HEAD was built? Could you get full dmesg? I don't think that "PREVENT ALLOW MEDIUM REMOVAL" should cause device drop. "No sense data present" also doesn't look right. -- Alexander Motin