LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-29-2007, 08:36 PM   #1
davimint
Member
 
Registered: Jan 2006
Distribution: Slackware Current
Posts: 272

Rep: Reputation: 33
CF reader will not mount correctly, wierd stuff in dev.


OK, If this sounds short its becuase i've spent way to much time trying to get my mind to understand what's wrong and not much time sleeping....

Help, Help,

I've got a multi card reader that will not mount. Lets say I boot so everything is clean and check /dev I find that I have /dev/sdb which is cool because I know that it's the correct path for my reader. So when I try to mount it "mount -t vfat /dev/sdb1 /mnt/memory" I get nothing. If I check /dev at this point I don't still have dev/sdb. But if I got back and try "mount -t vfat /dev/sdb /mnt/memory" then I go back and check /dev I do have dev/sb1 so now I can mount my drive at this point.

I've got several partition on my harddrive and have installed slackware11 and slackware-current. Both are doing this to me so what have I missed....

Please help me out someone.

Last edited by davimint; 05-29-2007 at 08:39 PM.
 
Old 05-29-2007, 09:17 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Stick a card in it (out and back in), and have a look at dmesg and "fdisk -l"
 
Old 05-29-2007, 09:22 PM   #3
davimint
Member
 
Registered: Jan 2006
Distribution: Slackware Current
Posts: 272

Original Poster
Rep: Reputation: 33
Ok, found this thread.

http://www.linuxquestions.org/questi...d.php?t=413719

After reading this the "hdparm -z /dev/sdb" works and creates the sdb1 node. But that's surly should not have to be done every time I need to mount my cf-reader... I know I've missed something and I've already complied the kernel today to make sure that I've got all the scsi stuff and usb stuff included ( I built it in to not take any chances ).......

I know I can't be the only one with a camera and slackware with this problem.

davimint
 
Old 05-29-2007, 09:45 PM   #4
davimint
Member
 
Registered: Jan 2006
Distribution: Slackware Current
Posts: 272

Original Poster
Rep: Reputation: 33
Thanks syg00 for the replay,
Sorry for the "frustrated" post before this reply, yours was not posted at the time.

As you asked...
First, that is the problem, I don't get anything by checking "tail -f /var/log/messages" like I do when I use this same multicard & usb reader with my usb-memory stick... I get nothing if I "fdisk -l" other than a list of partitions. But, if I try to mount sdb then it creates the node for me so I can mount it...

I also tried hdparm -z /dev/sdb which worked also.,
According to the man page.

Code:
-z     Force a kernel re-read of the partition table of the specified device(s).
Then I'm ready to go...

Its just stupid, I've got to have something wrong somewhere in the kernel, but I've used two different slackware stock kernels and one that I've double checked all the scsi and usb stuff that I know from what I've googled I should have.

Last edited by davimint; 05-29-2007 at 09:48 PM.
 
Old 05-29-2007, 10:11 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
I haven't used Slack in (quite) a while, so I don't know what Pat has done with hotplug/udev.
I did have an issue at one point (Mepis ???) where the multicard reader itself wouldn't do anything (reasonable as I guess it just looks like a hub), but if I "popped" a card it then recognised and mounted.
I'll try and remember to do some testing later.
 
Old 05-29-2007, 10:44 PM   #6
davimint
Member
 
Registered: Jan 2006
Distribution: Slackware Current
Posts: 272

Original Poster
Rep: Reputation: 33
syg00,
I've got Gentoo, Debian, & WindowXp installed on this same box and they all mount the cf-card first try. The reason this is driving me silly is the little lady of the house has to have the cf-reader and she uses Windows for that and she has been using kde on slackware and is happy. I want Microsoft off my box once and for all. Gentoo and Debian both have gnome although I could install kde, but I like Slackware. That's her only problem is that I always have to copy the pictures for her. I was writing the udev rules when I ran into this problem last night. Maybe I'll just write a bash scrip and fix it that way unless someone else post some help.

By the way, since the new toolchain in slackware-current, using the 2.6 kernels, hotplug is gone and udev is in... I know I'm still learning so this may be a good thing for me to work on for a while and learn some more. I just wanted to get things done and get windows off my box.

davimint.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wierd stuff in apache logs flashingcurser Linux - Security 3 04-12-2007 09:38 AM
MUlticard reader not correctly detected leodp Linux - Hardware 2 09-05-2005 06:26 AM
Sandisk USB card Reader not linking /dev/sg0 to /dev/sda acidraven Linux - Hardware 1 06-19-2004 03:56 PM
** WIERD STUFF Sendmail running But NOT installed Hacker maybe? ** DropHit Linux - Security 15 06-14-2004 11:32 AM
USB Compact flash card reader hotplug creates /dev/sda but no /dev/sda1 -Mandrake 9.1 bibinono Linux - Hardware 2 08-11-2003 09:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration