Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
supermount problem
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
AugustineF
n00b
n00b


Joined: 19 Dec 2003
Posts: 31

PostPosted: Mon Apr 05, 2004 5:46 pm    Post subject: supermount problem Reply with quote

hi all,
I have got supermount and hotplug to work with 2.6.4, but It still has some oddities which I can't overcome.

1) For my Lexar firewire compact flash card reader, I have set up correct suprmount entry in /etc/fstab.
When I have a card present in the card-reader during boot time, the card is mounted automatically. After that every time I remove or insert a new card, it is unmounted/mounted correctly.
But this only happens if I had the card in during the boot time. If there was no card present in the card reader during booting, then when I put in a card after booting, It is not auto mounted.
Not only that, I can't even manually mount the card , using the mount command.
Even when I run mount as root, I get permission denied .

Any ideas why this is happening ? This some times happens to CDs too, but not always.
Back to top
View user's profile Send private message
diastelo
Guru
Guru


Joined: 23 Feb 2004
Posts: 521

PostPosted: Wed Apr 07, 2004 2:41 pm    Post subject: Reply with quote

What module does your card reader use? When you try to mount it manually (not at boot time), are all the modules loaded, such as usb-storage and scsi disk emulation?
_________________
"No question is so difficult to answer as that to which the answer is obvious" -- George Bernard Shaw
Back to top
View user's profile Send private message
AugustineF
n00b
n00b


Joined: 19 Dec 2003
Posts: 31

PostPosted: Wed Apr 07, 2004 2:48 pm    Post subject: Reply with quote

It is a firewire (iee1394) card reader not a usb card.

I have cojmpiled all the necessary ieee1394 support in the kernel itself. The card reader works perfectly when the compact flash card is present in the reader at boot time.
What I have noticed is , when the card is present at boot time a device /dev/sda1 is automatically created by udev, but when I insert the card after booting (and provided the card was not inserted during boot time) then the /dev/sda1 device is not created.
I am using udev , and no devfs.
Back to top
View user's profile Send private message
diastelo
Guru
Guru


Joined: 23 Feb 2004
Posts: 521

PostPosted: Wed Apr 07, 2004 3:00 pm    Post subject: Reply with quote

What rule are you using in udev.rules to create the device? Is a different device created instead, such as /dev/sdb1?
_________________
"No question is so difficult to answer as that to which the answer is obvious" -- George Bernard Shaw
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Wed Apr 07, 2004 3:35 pm    Post subject: Re: supermount problem Reply with quote

AugustineF wrote:
Not only that, I can't even manually mount the card , using the mount command.
Even when I run mount as root, I get permission denied .

Try this.
Code:
# modprobe sbp2
# mount -a
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20608

PostPosted: Wed Apr 07, 2004 4:50 pm    Post subject: Reply with quote

Moved from Installing Gentoo.
_________________
Quis separabit? Quo animo?
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