Date: Sun, 26 Oct 2014 07:37:46 -0500 From: "William A. Mahaffey III" <wam@hiwaay.net> Cc: "FreeBSD Questions !!!!" <freebsd-questions@freebsd.org> Subject: Re: problems trying to mount SDHC card .... Message-ID: <544CEB1A.6020200@hiwaay.net> In-Reply-To: <20141026052929.ef41a037.freebsd@edvax.de> References: <544C34A2.1070806@hiwaay.net> <20141026052929.ef41a037.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <vendor 0x05e3> at usbus3 Oct 26 07:29:49 kabini1 kernel: umass0: <vendor 0x05e3 USB Storage, class 0/0, rev 2.00/9.03, addr 2> 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: <Generic STORAGE DEVICE 0903> 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<NO_SYNC_CACHE,NO_6_BYTE> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?544CEB1A.6020200>