From owner-freebsd-usb@FreeBSD.ORG Sun Feb 6 09:12:32 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37DE8106566B for ; Sun, 6 Feb 2011 09:12:32 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id B15A68FC16 for ; Sun, 6 Feb 2011 09:12:31 +0000 (UTC) Received: from [93.104.77.134] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Pm0fU-00011A-9f for freebsd-usb@freebsd.org; Sun, 06 Feb 2011 10:12:29 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id p169CMKZ052609 for ; Sun, 6 Feb 2011 10:12:22 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id p169CMU6052601 for freebsd-usb@freebsd.org; Sun, 6 Feb 2011 10:12:22 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sun, 6 Feb 2011 10:12:21 +0100 From: Matthias Apitz To: freebsd-usb@freebsd.org Message-ID: <20110206091221.GA50007@tinyCurrent> References: <20110111085451.GA1953@current.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20110111085451.GA1953@current.Sisis.de> X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 93.104.77.134 Subject: Re: microSD card in FreeBSD 8-CURRENT and 9-CURRENT X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Feb 2011 09:12:32 -0000 El día Tuesday, January 11, 2011 a las 09:54:51AM +0100, Matthias Apitz escribió: > > Hello, > > Inserting a microSD card (with an adapter) into my Dell M4400 laptop > gives no messages in /var/log/messages, even after kldload'ing mmc.ko > and mmcsd.ko... What I am missing? The card itself works fine in some > other Linux laptop. I also checked the BIOS and the slot is enabled. > > Thanks > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" With more time I did some tests on my netbooks, the Acer D250 which runs a 9-CURRENT and with the EeePC which still is on 8-CURRENT; When I insert and remove the microSD card in 9-CURRENT the device attaches fine and can be mounted: Feb 6 09:57:33 tinyCurrent kernel: ugen4.3: at usbus4 (disconnected) Feb 6 09:57:33 tinyCurrent kernel: umass0: at uhub4, port 8, addr 3 (disconnected) Feb 6 09:57:33 tinyCurrent kernel: (da0:umass-sim0:0:0:0): lost device Feb 6 09:57:33 tinyCurrent kernel: (da0:umass-sim0:0:0:0): removing device entry Feb 6 09:57:35 tinyCurrent kernel: ugen4.3: at usbus4 Feb 6 09:57:35 tinyCurrent kernel: umass0: on usbus4 Feb 6 09:57:35 tinyCurrent kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000 Feb 6 09:57:35 tinyCurrent guru: Unknown USB device: vendor 0x0bda product 0x0159 bus uhub4 Feb 6 09:57:36 tinyCurrent kernel: umass0:0:0:-1: Attached to scbus0 Feb 6 09:57:37 tinyCurrent kernel: (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 Feb 6 09:57:37 tinyCurrent kernel: (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error Feb 6 09:57:37 tinyCurrent kernel: (probe0:umass-sim0:0:0:0): SCSI status: Check Condition Feb 6 09:57:37 tinyCurrent kernel: (probe0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:28,0 (Not ready to ready change, medium may have changed) Feb 6 09:57:37 tinyCurrent kernel: da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 Feb 6 09:57:37 tinyCurrent kernel: da0: Removable Direct Access SCSI-0 device Feb 6 09:57:37 tinyCurrent kernel: da0: 40.000MB/s transfers Feb 6 09:57:37 tinyCurrent kernel: da0: 486MB (996352 512 byte sectors: 64H 32S/T 486C) Feb 6 09:57:38 tinyCurrent kernel: GEOM: da0: partition 1 does not start on a track boundary. Feb 6 09:57:38 tinyCurrent kernel: GEOM: da0: partition 1 does not end on a track boundary. Feb 6 09:57:41 tinyCurrent kernel: ugen4.3: at usbus4 (disconnected) Feb 6 09:57:41 tinyCurrent kernel: umass0: at uhub4, port 8, addr 3 (disconnected) Feb 6 09:57:41 tinyCurrent kernel: (da0:umass-sim0:0:0:0): lost device Feb 6 09:57:41 tinyCurrent kernel: (da0:umass-sim0:0:0:0): removing device entry in 8-CURRENT it is only available when the card is inserted before booting; then the device is seen and mountable: Feb 6 09:37:31 tiny kernel: umass0: on usbus4 Feb 6 09:37:31 tiny kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000 Feb 6 09:37:31 tiny kernel: Root mount waiting for: usbus4 Feb 6 09:37:31 tiny kernel: umass0:0:0:-1: Attached to scbus0 Feb 6 09:37:31 tiny kernel: Trying to mount root from ufs:/dev/ad2s1a Feb 6 09:37:31 tiny kernel: (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 Feb 6 09:37:31 tiny kernel: (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Feb 6 09:37:31 tiny kernel: (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition Feb 6 09:37:31 tiny kernel: (probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 Feb 6 09:37:31 tiny kernel: (probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed Feb 6 09:37:31 tiny kernel: (probe0:umass-sim0:0:0:0): Retrying Command (per Sense Data) Feb 6 09:37:31 tiny kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Feb 6 09:37:31 tiny kernel: da0: Removable Direct Access SCSI-0 device Feb 6 09:37:31 tiny kernel: da0: 40.000MB/s transfers Feb 6 09:37:31 tiny kernel: da0: 486MB (996352 512 byte sectors: 64H 32S/T 486C) Feb 6 09:37:31 tiny kernel: GEOM: da0: partition 1 does not start on a track boundary. Feb 6 09:37:31 tiny kernel: GEOM: da0: partition 1 does not end on a track boundary. and one can even eject the card, re-insert it and re-mount it again; when the card is not inserted at boot, it is not detected later on insert: Feb 6 09:43:26 tiny kernel: umass0: on usbus4 Feb 6 09:43:26 tiny kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000 Feb 6 09:43:26 tiny kernel: Root mount waiting for: usbus4 Feb 6 09:43:26 tiny kernel: umass0:0:0:-1: Attached to scbus0 Feb 6 09:43:26 tiny kernel: (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 Feb 6 09:43:26 tiny kernel: (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Feb 6 09:43:26 tiny kernel: (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition Feb 6 09:43:26 tiny kernel: (probe0:umass-sim0:0:0:0): NOT READY asc:3a,0 Feb 6 09:43:26 tiny kernel: (probe0:umass-sim0:0:0:0): Medium not present Feb 6 09:43:26 tiny kernel: (probe0:umass-sim0:0:0:0): Unretryable error Feb 6 09:43:26 tiny kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Feb 6 09:43:26 tiny kernel: da0: Removable Direct Access SCSI-0 device Feb 6 09:43:26 tiny kernel: da0: 40.000MB/s transfers Feb 6 09:43:26 tiny kernel: da0: Attempt to query device size failed: NOT READY, Medium not present As well a camcontrol(8) does not help. Any ideas? Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/