[SATLUG] Re: SATLUG Digest, Vol 41, Issue 2

Vern Davis vern.davis at gmail.com
Sat Jun 2 18:39:48 CDT 2007


On 6/1/07, Todd W. Bucy <toddwbucy at grandecom.net> wrote:

> Vern, I followed your directions and the card is recognized by my system when
> using the 'tail -f /var/log/messages' command. here is the output
>
> with card unpluged:
>
> May 31 22:29:11 toddwbucy-laptop kernel: [12523.600000] tifm0 : demand
> removing card from socket 0:0
>
> card pluged in:
> May 31 22:30:05 toddwbucy-laptop kernel: [12577.600000] tifm_core:
> SmartMedia/xD card detected in socket 0:0
>
> This seems to be a good sign so I went on with your edit suggestion in fstab
>
> here is a current coppy of my fstab:
> # /etc/fstab: static file system information.
> #
> # <file system> <mount point> <type> <options> <dump> <pass>
> proc /proc proc defaults 0 0
> # /dev/sda1
> UUID=fde3abc3-9f37-41da-add7-3e87f2bae66b / reiserfs notail
> 0 1
> # /dev/sda3
> UUID=9a29aada-0fd6-422a-90d0-6300e9928c4c /home reiserfs defaults
> 0 2
> # /dev/sda2
> UUID=b7689728-2b11-44b9-9678-8d8b188851e8 none swap sw
> 0 0
> /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
>
> /dev/sdd1 /media/card_reader auto users,noauto,rw 0 0
>
> I then created the directory that you suggested and tried to mount the device
> like you suggested. Unfortuately it came up with an error.
>
> error output:
> ~$ mount /media/card_reader
> [mntent]: warning: no final newline at the end of /etc/fstab
> [mntent]: line 13 in /etc/fstab is bad
> mount: can't find /media/card_reader in /etc/fstab or /etc/mtab
>
> I feel like I almost have it fixed but my knowledge of fstab is quite limited.
> I did notice though that the other devices in my fstab all have UUIDs. could
> this be causing the problem? if so how do I find out what the UUID is for my
> sd card reader?
>
> Thanks again guys for your paitence and help
> Todd
> --
> _______________________________________________
> SATLUG mailing list
> SATLUG at satlug.org
> http://alamo.satlug.org/mailman/listinfo/satlug to unsubscribe
> Powered by Rackspace (www.rackspace.com)
>

Well Todd, my suggestion for what to put in your fstab was based on
the following lines from my /var/log/messages file (output of the tail
-f command);

   May 30 13:02:12 deuce kernel: SCSI device sdd: 4005888 512-byte
   hdwr sectors (2051 MB)
   May 30 13:02:12 deuce kernel: sdd: Write Protect is off
   May 30 13:02:12 deuce kernel: sdd: assuming drive cache: write through
   May 30 13:02:12 deuce kernel:  sdd: sdd1
   May 30 13:02:12 deuce kernel: sd 5:0:0:0: Attached scsi removable disk sdd

As you can see, the kernel recognized the card and set it up as /dev/sdd1.

I see no such thing in the output of your tail command, so that line
will most likely not work in your fstab file.

You should delete that line from your fstab before it screws something up!

I don't see anything from your posting remotely resembling what works
on my FC6 box, so I will have to defer to someone who knows the
mechanics of how Kubuntu mounts USB mass storage devices.

-- 
vern.davis at gmail.com


More information about the SATLUG mailing list