Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mounting /dev/sdb must be done twice..?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
pacman13
n00b
n00b


Joined: 18 Nov 2002
Posts: 58
Location: Austin, TX

PostPosted: Fri Dec 13, 2002 2:25 am    Post subject: Mounting /dev/sdb must be done twice..? Reply with quote

I have a USB flash card reader, and in order to access my Compact Flash card, I must first type
Code:
mount -t vfat /dev/hdb /mnt/cf

to which I get the error:
Code:
mount: wrong fs type, bad option, bad superblock on /dev/sdb, or too many mounted file systems

then I must type:
Code:
mount -t vfat /dev/hdb1 /mnt/cf/

and it works. I cannot skip directly to the last step (/hdb1) because I get the error:
Code:
mount: special device /dev/sdb1 does not exist


Some how SDB1 gets created when the first error message pops up...
Anyone know whats up?
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Fri Dec 13, 2002 2:39 am    Post subject: Reply with quote

I don't have experience with USB mass storage devices but my camera (which does not work under Linux). But it seems like the partition table is read when you try the first mount, and then devfs discovers it has a hdb1 partition.

Probably you should look for help about hotplug.
Back to top
View user's profile Send private message
777arty
n00b
n00b


Joined: 28 Nov 2002
Posts: 10
Location: Detroit

PostPosted: Fri Dec 13, 2002 2:40 am    Post subject: Reply with quote

I've got the same problem with sdb: ...and more! :c)
https://forums.gentoo.org/viewtopic.php?t=25880

The funny thing is my zip on sda works fine!

What kernel you usein'? (gentoo 2.4.19-r10 here)

I'm lookin' into "hotplug stuff" along with some other things... 'not sure if any of if it will make a diff. but i'll keep ya posted if i find anything.

Good luck!
_________________
powered by gentoo linux
stronger than dirt
Back to top
View user's profile Send private message
pacman13
n00b
n00b


Joined: 18 Nov 2002
Posts: 58
Location: Austin, TX

PostPosted: Fri Dec 13, 2002 3:38 am    Post subject: Reply with quote

I'm using Gentoo-R10 as well... I have a Sharp Zaurus PDA (www.myzaurus.com) which runs linux. It some how handles this, I just need to disect it a little more... I just get sick of looking at a Quarter-VGA screen :)

Anyway, thanks for the help -- I'll also post if I find out anything.
Back to top
View user's profile Send private message
phong
Bodhisattva
Bodhisattva


Joined: 16 Jul 2002
Posts: 778
Location: Michigan - 15 & Ryan

PostPosted: Fri Dec 13, 2002 4:14 am    Post subject: Reply with quote

It seems there are a couple of bugs with usb-storage that got introduced in the kernel sometime around 2.4.19-pre6 or pre7. My CF reader (Sandisk SDDR-05) has been useless since then. So, try a bit older kernel like vanilla-sources-2.4.18 to see if it's related (I have no idea if it is, but it's worth a shot).
_________________
"An empty head is not really empty; it is stuffed with rubbish. Hence the difficulty of forcing anything into an empty head."
-- Eric Hoffer
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum