From owner-freebsd-questions@FreeBSD.ORG Wed Nov 14 19:43:31 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C71DAB98 for ; Wed, 14 Nov 2012 19:43:31 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 34F408FC12 for ; Wed, 14 Nov 2012 19:43:30 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id gg13so904063lbb.13 for ; Wed, 14 Nov 2012 11:43:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=2Se6OojZuSizYkmOUXfQ7csevmkGptnH6ecfvXuxjzs=; b=s8tj64sPRb4PHnh9Os9F6ERM9KlBpAE6HoX6bHgdjudMNoBvKSCH+rqtSLb6p0m704 1+FgbFitUxJR0JWey0wydsn4+LR43w56eenTO/ehdD9dYD0npkS51oE5TswHBPeK3vVg cjxk3NKDHTRqSe1RBqdeifVRdktuz4/YbnAijDc96Vo2Z5GUv5OvAVlkZJjkPyRx+xwt 0nd+Kl4/+SfGYL384dsJEhSwVLjhlwOkoQViAF8x4uqKqz9UUKQRpiWHRTAjrObn8NJu x3GM49cvMKhHYajzhEgs/+vmge/ed5YhLY5ySUfHeMXFeILcuzB6F5xXW/r9kMWiCcO9 /EOg== MIME-Version: 1.0 Received: by 10.152.104.107 with SMTP id gd11mr25723820lab.25.1352922210031; Wed, 14 Nov 2012 11:43:30 -0800 (PST) Received: by 10.152.1.193 with HTTP; Wed, 14 Nov 2012 11:43:30 -0800 (PST) Date: Wed, 14 Nov 2012 20:43:30 +0100 Message-ID: Subject: Mounting SD card. From: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= To: User Questions Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2012 19:43:31 -0000 Hi, I can't make my SD card reader work. It is from a 4 years old Compaq PC. It works fine in Linux however. I'm using 9.0 release with stock kernel. If I boot the system and plug the SD card in, the green led doesn't even switch on and there is only a /dev/da0 that I can not mount. If I boot the system with the card plugged in, the green led is on and there is a /dev/da0s1 device that I can't still mount because mount_msdosfs returns an Input/Output error after some time. Any ideas on how to debug this? This is an excerpt of dmesg: ... Root mount waiting for: usbus7 usbus6 usbus5 usbus4 usbus3 usbus2 usbus1 usbus0 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub3: 2 ports with 2 removable, self powered uhub4: 2 ports with 2 removable, self powered uhub5: 2 ports with 2 removable, self powered uhub6: 2 ports with 2 removable, self powered Root mount waiting for: usbus7 usbus2 uhub2: 4 ports with 4 removable, self powered Root mount waiting for: usbus7 uhub7: 8 ports with 8 removable, self powered Root mount waiting for: usbus7 Root mount waiting for: usbus7 ugen7.2: at usbus7 umass0: on usbus7 umass0: SCSI over Bulk-Only; quirks = 0x4000 umass0:6:0:-1: Attached to scbus6 Trying to mount root from ufs:/dev/ad4s2a [rw]... (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI status: Check Condition (probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) (probe0:umass-sim0:0:0:0): Command Specific Info: 0xaa5540 da0 at umass-sim0 bus 0 scbus6 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present (probe0:umass-sim0:0:0:1): TEST UNIT READY. CDB: 0 20 0 0 0 0 (probe0:umass-sim0:0:0:1): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:1): SCSI status: Check Condition (probe0:umass-sim0:0:0:1): SCSI sense: NOT READY asc:3a,0 (Medium not present) (probe0:umass-sim0:0:0:1): Command Specific Info: 0xaa5540 da1 at umass-sim0 bus 0 scbus6 target 0 lun 1 da1: Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present (probe0:umass-sim0:0:0:2): TEST UNIT READY. CDB: 0 40 0 0 0 0 (probe0:umass-sim0:0:0:2): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:2): SCSI status: Check Condition (probe0:umass-sim0:0:0:2): SCSI sense: NOT READY asc:3a,0 (Medium not present) (probe0:umass-sim0:0:0:2): Command Specific Info: 0xaa5540 da2 at umass-sim0 bus 0 scbus6 target 0 lun 2 da2: Removable Direct Access SCSI-0 device da2: 40.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present ... And this is the output of pciconf -lv: hostb0@pci0:0:0:0: class=0x060000 card=0x2a6f103c chip=0x29c08086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82G33/G31/P35/P31 Express DRAM Controller' class = bridge subclass = HOST-PCI pcib1@pci0:0:1:0: class=0x060400 card=0x00008086 chip=0x29c18086 rev=0x02 hdr=0x01 vendor = 'Intel Corporation' device = '82G33/G31/P35/P31 Express PCI Express Root Port' class = bridge subclass = PCI-PCI uhci0@pci0:0:26:0: class=0x0c0300 card=0x2a6f103c chip=0x29378086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) USB UHCI Controller' class = serial bus subclass = USB uhci1@pci0:0:26:1: class=0x0c0300 card=0x2a6f103c chip=0x29388086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) USB UHCI Controller' class = serial bus subclass = USB ehci0@pci0:0:26:7: class=0x0c0320 card=0x2a6f103c chip=0x293c8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) USB2 EHCI Controller' class = serial bus subclass = USB hdac0@pci0:0:27:0: class=0x040300 card=0x2a6f103c chip=0x293e8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) HD Audio Controller' class = multimedia subclass = HDA pcib2@pci0:0:28:0: class=0x060400 card=0x2a6f103c chip=0x29408086 rev=0x02 hdr=0x01 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) PCI Express Port 1' class = bridge subclass = PCI-PCI pcib3@pci0:0:28:2: class=0x060400 card=0x2a6f103c chip=0x29448086 rev=0x02 hdr=0x01 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) PCI Express Port 3' class = bridge subclass = PCI-PCI uhci2@pci0:0:29:0: class=0x0c0300 card=0x2a6f103c chip=0x29348086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) USB UHCI Controller' class = serial bus subclass = USB uhci3@pci0:0:29:1: class=0x0c0300 card=0x2a6f103c chip=0x29358086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) USB UHCI Controller' class = serial bus subclass = USB uhci4@pci0:0:29:2: class=0x0c0300 card=0x2a6f103c chip=0x29368086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) USB UHCI Controller' class = serial bus subclass = USB uhci5@pci0:0:29:3: class=0x0c0300 card=0x2a6f103c chip=0x29398086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) USB UHCI Controller' class = serial bus subclass = USB ehci1@pci0:0:29:7: class=0x0c0320 card=0x2a6f103c chip=0x293a8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) USB2 EHCI Controller' class = serial bus subclass = USB pcib4@pci0:0:30:0: class=0x060401 card=0x2a6f103c chip=0x244e8086 rev=0x92 hdr=0x01 vendor = 'Intel Corporation' device = '82801 PCI Bridge' class = bridge subclass = PCI-PCI isab0@pci0:0:31:0: class=0x060100 card=0x2a6f103c chip=0x29168086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801IR (ICH9R) LPC Interface Controller' class = bridge subclass = PCI-ISA ahci0@pci0:0:31:2: class=0x010400 card=0x2a6f103c chip=0x28228086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801 SATA RAID Controller' class = mass storage subclass = RAID none0@pci0:0:31:3: class=0x0c0500 card=0x2a6f103c chip=0x29308086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) SMBus Controller' class = serial bus subclass = SMBus vgapci0@pci0:4:0:0: class=0x030000 card=0x10411462 chip=0x94c31002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc' device = 'RV610 video device [Radeon HD 2400 PRO]' class = display subclass = VGA re0@pci0:2:0:0: class=0x020000 card=0x2a6f103c chip=0x816810ec rev=0x02 hdr=0x00 vendor = 'Realtek Semiconductor Co., Ltd.' device = 'RTL8111/8168B PCI Express Gigabit Ethernet controller' class = network subclass = ethernet fwohci0@pci0:1:5:0: class=0x0c0010 card=0x2a6f103c chip=0x581111c1 rev=0x70 hdr=0x00 vendor = 'Agere Systems' device = 'FW322/323' class = serial bus subclass = FireWire Thanks.