View previous topic :: View next topic |
Author |
Message |
killer n00b
Joined: 12 Dec 2003 Posts: 47 Location: Kladno
|
Posted: Tue Nov 22, 2005 4:40 pm Post subject: Massstorage Automount Questions |
|
|
Hi all....
My target is automatic mount of massstorage devices in Gnome Desktop (Mine is USB2.0 Lexar Multi-card-reader).
I am running 2.6 kernel, udev (068-r1), dbus, hald, hotplug, coldplug and gnome-volume-manager
Question 1: is needed to run anything other (like ivman) to automatic mount usb-mass storage in Gnome ?
Question 2: is needed to have anything special in /etc/fstab ?
(i remember my last notebook automatically creates in /media device folders vhen i connect any USB massstorage device to USB, and nothing special i have in fstab)
Question 3: when i connect my Lexar Card-Reader seee what happend:
#dmesg
Code: | usb 1-5: USB disconnect, address 14
usb 1-7: new high speed USB device using ehci_hcd and address 15
scsi6 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 15
usb-storage: waiting for device to settle before scanning
Vendor: Lexar Model: Media Inc. SM/xD Rev: 009E
Type: Direct-Access ANSI SCSI revision: 00
Attached scsi removable disk sdb at scsi6, channel 0, id 0, lun 0
Attached scsi generic sg1 at scsi6, channel 0, id 0, lun 0, type 0
usb-storage: device scan complete
|
When I want to list mountable devices:
#fdisk -l
then i dont see /dev/sg1and I am not able to to mount because
Code: | mount: /dev/sg1 není blokovým zařízením |
in translation: /dev/sg1 is not block device
#sg_scan
Code: | /dev/sg0: scsi1 channel=0 id=0 lun=0 [em]
/dev/sg1: scsi6 channel=0 id=0 lun=0 [em]
|
#sg_map
Code: | /dev/sg0 /dev/sda
/dev/sg1 /dev/sdb |
Can anybody help me ? |
|
Back to top |
|
|
Headrush Watchman
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Tue Nov 22, 2005 7:42 pm Post subject: |
|
|
Make sure that probe all LUN devices is enabled for your kernel in the SCSI section.
(Required to check all devices on a multi device. Some multi-card devices also have custom drivers in the usb section of the kernel config.) |
|
Back to top |
|
|
killer n00b
Joined: 12 Dec 2003 Posts: 47 Location: Kladno
|
Posted: Fri Nov 25, 2005 12:34 pm Post subject: Thanks ! |
|
|
Headrush wrote: | Make sure that probe all LUN devices is enabled for your kernel in the SCSI section.
(Required to check all devices on a multi device. Some multi-card devices also have custom drivers in the usb section of the kernel config.) |
This will helps me !!! My cardreader is known as /dev/sdc and slot for CF cards is /dev/sdc1 THANKS !!!
Only one problem still here... How to automatically mount in gnome ??? I have checked everything on in gnome-volume-manager, but Gnome doesnt automatically create directory in /media/ or somewhere other place... Is that gnome-volume-manager issue or udev issue ? Must I define line in /etc/fstab ??? I think gnome-volume-manager or udev can do it automatically without user interaction to have an icon on Gnome-desktop an relevant mount directory in filesystem... Am i sure ?
Killer |
|
Back to top |
|
|
Headrush Watchman
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Fri Nov 25, 2005 3:40 pm Post subject: |
|
|
It looks like there is currently a bug in gnome that is causing this.
There are several threads on this already, just search a bit. I can't tell much more since I only use KDE. |
|
Back to top |
|
|
killer n00b
Joined: 12 Dec 2003 Posts: 47 Location: Kladno
|
Posted: Thu Dec 01, 2005 10:55 pm Post subject: Automount.... |
|
|
Hi Headrush,
Headrush wrote: | It looks like there is currently a bug in gnome that is causing this.
There are several threads on this already, just search a bit. I can't tell much more since I only use KDE. |
I think this is problem of Udev.... Because when I manually enter lines for my usb masstorage device to fstab, gnome-volume-manager automatically creates icon on desktop. Maybe something changes in protages udev-rules, because on my last notebook it works automatically without any change !
Killer |
|
Back to top |
|
|
Headrush Watchman
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Thu Dec 01, 2005 11:03 pm Post subject: Re: Automount.... |
|
|
killer wrote: | Hi Headrush,
Headrush wrote: | It looks like there is currently a bug in gnome that is causing this.
There are several threads on this already, just search a bit. I can't tell much more since I only use KDE. |
I think this is problem of Udev.... Because when I manually enter lines for my usb masstorage device to fstab, gnome-volume-manager automatically creates icon on desktop. Maybe something changes in protages udev-rules, because on my last notebook it works automatically without any change !
Killer |
If it was just udev, I would have problems in KDE also, but it works fine.
Generally, all udev does is makes /dev/ device nodes, nothing else. |
|
Back to top |
|
|
|