View previous topic :: View next topic |
Author |
Message |
AugustineF n00b

Joined: 19 Dec 2003 Posts: 31
|
Posted: Mon Apr 05, 2004 5:46 pm Post subject: supermount problem |
|
|
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 |
|
 |
diastelo Guru


Joined: 23 Feb 2004 Posts: 521
|
Posted: Wed Apr 07, 2004 2:41 pm Post subject: |
|
|
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 |
|
 |
AugustineF n00b

Joined: 19 Dec 2003 Posts: 31
|
Posted: Wed Apr 07, 2004 2:48 pm Post subject: |
|
|
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 |
|
 |
diastelo Guru


Joined: 23 Feb 2004 Posts: 521
|
Posted: Wed Apr 07, 2004 3:00 pm Post subject: |
|
|
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 |
|
 |
cyrillic Watchman


Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Wed Apr 07, 2004 3:35 pm Post subject: Re: supermount problem |
|
|
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 |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 20608
|
Posted: Wed Apr 07, 2004 4:50 pm Post subject: |
|
|
Moved from Installing Gentoo. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
 |
|