From owner-freebsd-questions@FreeBSD.ORG Sun Oct 26 12:31:33 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 93418F38 for ; Sun, 26 Oct 2014 12:31:33 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5DD21234 for ; Sun, 26 Oct 2014 12:31:33 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-33.adsl.hiwaay.net [216.180.19.33]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id s9QCVVve021315 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 26 Oct 2014 07:31:31 -0500 Message-ID: <544CEB1A.6020200@hiwaay.net> Date: Sun, 26 Oct 2014 07:37:46 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 CC: "FreeBSD Questions !!!!" Subject: Re: problems trying to mount SDHC card .... References: <544C34A2.1070806@hiwaay.net> <20141026052929.ef41a037.freebsd@edvax.de> In-Reply-To: <20141026052929.ef41a037.freebsd@edvax.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2014 12:31:33 -0000 On 10/25/14 23:29, Polytropon wrote: > On Sat, 25 Oct 2014 18:39:14 -0500, William A. Mahaffey III wrote: >> >> .... I am trying to mount some SDHC cards through a USB reader >> (Transcend USB 2.0) with an eye towards using them to create bootable >> drives for a Raspberry Pi B+. > In that case, you probably won't have anything to do > with mounting the SD card (especially not as a MS-DOS > file system). The thing you're going to do here probably > isn't much more than "dd if=pi.img of=/dev/da0", and > Xfce is not able to help here. When the image has been > written, there's probably a file system different from > FAT on the card. Aaaaaaahhhhh .... That clarifies much .... I work w/ the device directly, not MSDOS .... Beauty, ace ;-) .... >> When I try to view the drive through >> XFCE's 'flash File Manager' (from top toolbar) it pops up an error >> dialog saying: >> >> mount_msdosfs: can't find or load "msdos_iconv" kernel module >> mount_msdosfs: msdos_iconv: operation not permitted. > Is the card currently formatted? What does > > # fdisk da0 > > say (if /dev/da0 is the SD card reader)? Or with today's > tools, > > # gpart show da0 [root@kabini1, /etc, 7:30:02am] 495 % gpart show da0 => 63 31127489 da0 MBR (14G) 63 8129 - free - (4M) 8192 31119360 1 !12 (14G) [root@kabini1, /etc, 7:30:06am] 496 % > > Also check the dmesg entries in relation to the card reader. > Anything suspicious? nothing at all, it's dated 3:03 A.M. this morning .... > > In case the card is formatted with FAT, can you _manually_ > mount it? From my messages file this A.M.: Oct 26 07:29:49 kabini1 kernel: ugen3.2: at usbus3 Oct 26 07:29:49 kabini1 kernel: umass0: on usbus3 Oct 26 07:29:49 kabini1 kernel: umass0: SCSI over Bulk-Only; quirks = 0x4100 Oct 26 07:29:49 kabini1 kernel: umass0:4:0:-1: Attached to scbus4 Oct 26 07:29:49 kabini1 kernel: (probe0:umass-sim0:0:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00 10 00 00 Oct 26 07:29:49 kabini1 kernel: (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error Oct 26 07:29:49 kabini1 kernel: (probe0:umass-sim0:0:0:0): SCSI status: Check Condition Oct 26 07:29:49 kabini1 kernel: (probe0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid command operation code) Oct 26 07:29:49 kabini1 kernel: (probe0:umass-sim0:0:0:0): Error 22, Unretryable error Oct 26 07:29:49 kabini1 kernel: da0 at umass-sim0 bus 0 scbus4 target 0 lun 0 Oct 26 07:29:49 kabini1 kernel: da0: Removable Direct Access SCSI-6 device Oct 26 07:29:49 kabini1 kernel: da0: Serial Number 000000000903 Oct 26 07:29:49 kabini1 kernel: da0: 40.000MB/s transfers Oct 26 07:29:49 kabini1 kernel: da0: 15199MB (31127552 512 byte sectors: 255H 63S/T 1937C) Oct 26 07:29:49 kabini1 kernel: da0: quirks=0x3 All I see is the device name (da0), no further partitions referenced .... > > >> I am doing this as an ordinary user, something in fstab or amd.conf ? > I'm surprised you get any reaction at all. I never got > automounting to work with Xfce... It's not exactly working for me either, only if I separately prompt an automount from CLI in another window :-/ .... > > If you have the automounting stuff via HAL and DBUS, > your /etc/fstab won't probably have an entry for the > SD card reader, and /etc/amd.conf is probably totally > out of scope here. Maybe this is an expression of the > growing incompatibilities between Linux (where Xfce > has been created for) and FreeBSD? > > I'm a bit surprised about the "msdos_iconv" kernel > module, which should be present. Can you manually > load it, maybe via /boot/loader.conf? Could I load it w/ kldload (if it's there to load) ? -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.