Problem completely solved. There was also a line in /etc/fstab that specifically mentioned /dev/sda1. It now refers to /dev/sda, and the USB drive was mounted at start-up. Hooray.

I'll re-read the recent thread about USB drives and hotplug, and see if I can sort this out once and for all - just in case it changes again.



Douglas Royds wrote:
Modest victory! I have just succeeded in mounting the shared partition, so the problem wasn't with the vfat module. That one was a problem with my brain.

I do have the usb-storage, vfat, msdos and fat modules loaded, so I think that bit's all sorted:

usb-storage 58528 0
usb-ohci 16296 0 (unused)
usbcore 52908 1 [usb-storage usb-ohci]
scsi_mod 85412 6 (autoclean) [st sr_mod sg usb-storage ide-scsi sd_mod]
ide-core 93980 5 (autoclean) [usb-storage ide-scsi ide-cd ide-detect sis5513 ide-disk]
vfat 8908 0 (autoclean)
fat 28152 0 (autoclean) [msdos vfat]


There exists the following line in my /etc/fstab:

proc /proc/bus/usb usbdevfs devuid=0,devgid=106,devmode=0660 0 0

And in /etc/mtab:

usbfs /proc/bus/usb usbfs rw 0 0

These probably have something to do with the digital camera - I can download photos from the camera, it's only the USB drive that I'm having trouble with.


David Kirk wrote:

Douglas,


Can you remind me what the command is to see all your partitions, and the types that the system thinks they are? I thought it was fdisk -l, but that returned silence.



On my SuSE 9.1 box under my desk, I did a lsmod > before and the plugged in
a usb key. I mounted it and did lsmod > after. Here is a diff of before
and after:


kahlua:~ # diff before after
1a2,6

nls_utf8                2304  1
nls_cp437               6016  1
vfat                   14208  1
fat                    43584  1 vfat
usb_storage            60096  1


15c20
< sd_mod                 20224  0
---

sd_mod 20224 2


17c22
< scsi_mod              108876  4 sg,st,sd_mod,sr_mod
---

scsi_mod 108876 5 usb_storage,sg,st,sd_mod,sr_mod


48c53
< usbcore               103644  4 usbserial,uhci_hcd
---

usbcore 103644 5 usb_storage,usbserial,uhci_hcd


50c55
< subfs                   7424  2
---

subfs 7424 3



As you can see it has loaded usb_storage, fat and vfat.

Fdisk shows this:

kahlua:~ # fdisk -l /dev/sda

Disk /dev/sda: 16 MB, 16384000 bytes
2 heads, 32 sectors/track, 500 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         499       15952    1  FAT12

I hope this helps.


Later

David Kirk


=======================================================================
This email, including any attachments, is only for the intended
addressee.  It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
altered or corrupted during transmission.
=======================================================================



Reply via email to