fedora and how to get mass storage devices (memory card readers) to work
also, /var/log/messages reports:
[root@tuxedo shino]# tail -f /var/log/messages
Apr 12 22:36:57 tuxedo kernel: cdrom: This disc doesn't have any tracks I recognize! Apr 12 22:37:01 tuxedo kernel: cdrom: This disc doesn't have any tracks I recognize! Apr 12 22:48:44 tuxedo kernel: spurious 8259A interrupt: IRQ7. Apr 12 22:50:54 tuxedo kernel: usb.c: USB disconnect on device 00:02.2-6 address 2 Apr 12 22:50:54 tuxedo devlabel: devlabel service started/restarted Apr 12 22:50:56 tuxedo kernel: hub.c: new USB device 00:02.2-6, assigned address 3 Apr 12 22:50:56 tuxedo kernel: usb.c: USB device not accepting new address=3 (error=-71) Apr 12 22:50:56 tuxedo kernel: hub.c: new USB device 00:02.2-6, assigned address 4 Apr 12 22:50:59 tuxedo usb.agent[25333]: missing kernel or user mode driver usb-storage Apr 12 22:51:00 tuxedo devlabel: devlabel service started/restarted
----- Forwarded message from Rei Shinozuka <[email protected]> -----
Subject: fedira and how to get mass storage devices (memory card readers) to work
From: Rei Shinozuka <[email protected]>
Date: Mon, 12 Apr 2004 22:54:02 -0400
To: Newbie Linux Users <[email protected]>
a real newbie-type question.
in my 2.4.7-10 RH7.2 i just put in my /etc/fstab/dev/sda1 /mnt/camera auto noauto,owner,kudzu 0 0
then i could just mount my cameras and cards (in a lexar reader) nad they were just files on /mnt/camera.
but now i get mount: /dev/sda1 is not a valid block device
brw-rw---- 1 root disk 8, 1 Sep 15 2003 /dev/sda1
anything i am doing wrong? BTW, i do also have a USB HP printer on the machine, which works fine.
thanks,
-rei
Signature · 20 lines
Rei Shinozuka [email protected] Ridgewood, New Jersey - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ----- End forwarded message ----- -- Rei Shinozuka [email protected] Ridgewood, New Jersey - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 2 lines · Rei Shinozuka
Apr 12 22:50:59 tuxedo usb.agent[25333]: missing kernel or user mode driverusb-storage
missing support for usb-storage, possably its a module and its not getting loaded.
modprobe usb-storage
before plugging in the device.
Signature · 15 lines
If the Linux community is a bunch of theives because they try to imitate windows programs, then the Windows community is built on organized crime. Regards Richard [email protected] http://people.zeelandnet.nl/pa3gcu/ - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 10 lines · On Mon, 12 Apr 2004 22:59:03 -0400 Rei Shinozuka <[email protected]> wrote:
also,
/var/log/messagesreports:[root@tuxedo shino]# tail -f
/var/log/messagesApr 12 22:36:57 tuxedo kernel: cdrom: This disc doesn't have anytracks I recognize! Apr 12 22:37:01 tuxedo kernel: cdrom: This disc doesn't have any tracks I recognize! Apr 12 22:48:44 tuxedo kernel:
spurious 8259A interrupt: IRQ7. Apr 12 22:50:54 tuxedo kernel:usb.c: USB disconnect on device 00:02.2-6 address 2 Apr 12 22:50:54 tuxedo devlabel: devlabel service started/restarted Apr 12 22:50:56 tuxedo kernel:hub.c: new USB device 00:02.2-6, assigned address 3
Quoted 6 lines
Apr 12 22:50:56 tuxedo kernel: usb.c: USB device not accepting newaddress=3 (error=-71) Apr 12 22:50:56 tuxedo kernel:
hub.c: new USB device 00:02.2-6, assigned address 4 Apr 12 22:50:59 tuxedo usb.agent[25333]: missing kernel or user mode driver usb-storage Apr 12 22:51:00 tuxedo devlabel: devlabel service started/restarted
< Rest deleted....>
Hi,
Here are the commands I use to view files on my camera. I have problems remembering how to do things so the commands are in a file. :-)
jpk@debian:~$ cat mounting_a_usb_tingy.txt # usbview # lsmod # modprobe usb-storage # mount -t usbdevfs 0 /proc/bus/usb # mount -t vfat /dev/sda1 /mnt/usb/
usbview shows what usb devices are connected to the machine. lsmod
shows what modules are loaded.
You need the usb-storage modules (or have it compiled into the kernel), so modprobe usb-storage loads the usb storage module. I think you might also need the generic SCCI module too. If so you may have to do: modprobe sg
I can't remember the details about the next command but it is necessary on my machine mount -t usbdevfs 0 /proc/bus/usb And finally, I mount the filesystem manually with
mount -t vfat /dev/sda1 /mnt/usb/
Hope this helps.
reagards,
John Kelly
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
well, lsmod did show:
Module Size Used by Tainted: P
usb-storage 75136 0
....
and interestingly, usbview
showed the the card reader is recognized:
http://www.shinozuka-family.com/USBViewer.jpg
but the last 2 commands return errors:
[root@tuxedo root]# mount -t usbdevfs 0 /proc/bus/usb
mount: 0 already mounted or /proc/bus/usb busy
mount: according to mtab, usbdevfs is already mounted on /proc/bus/usb [root@tuxedo root]# mount -t vfat /dev/sda1 /mnt/usb/
mount: /dev/sda1 is not a valid block device
[root@tuxedo root]#
i feel we are getting closer!!
thanks,
-rei
Quoted 59 lines · John Kelly
Quoted 10 lines · On Mon, 12 Apr 2004 22:59:03 -0400 Rei Shinozuka <[email protected]> wrote:
also,
/var/log/messagesreports:[root@tuxedo shino]# tail -f
/var/log/messagesApr 12 22:36:57 tuxedo kernel: cdrom: This disc doesn't have anytracks I recognize! Apr 12 22:37:01 tuxedo kernel: cdrom: This disc doesn't have any tracks I recognize! Apr 12 22:48:44 tuxedo kernel:
spurious 8259A interrupt: IRQ7. Apr 12 22:50:54 tuxedo kernel:usb.c: USB disconnect on device 00:02.2-6 address 2 Apr 12 22:50:54 tuxedo devlabel: devlabel service started/restarted Apr 12 22:50:56 tuxedo kernel:hub.c: new USB device 00:02.2-6, assigned address 3Quoted 6 lines
Apr 12 22:50:56 tuxedo kernel: usb.c: USB device not accepting newaddress=3 (error=-71) Apr 12 22:50:56 tuxedo kernel:
hub.c: new USB device 00:02.2-6, assigned address 4 Apr 12 22:50:59 tuxedo usb.agent[25333]: missing kernel or user mode driver usb-storage Apr 12 22:51:00 tuxedo devlabel: devlabel service started/restarted< Rest deleted....>
Hi,
Here are the commands I use to view files on my camera. I have problems remembering how to do things so the commands are in a file. :-)jpk@debian:~$ cat mounting_a_usb_tingy.txt # usbview # lsmod # modprobe usb-storage # mount -t usbdevfs 0 /proc/bus/usb # mount -t vfat /dev/sda1 /mnt/usb/usbview shows what usb devices are connected to the machine. lsmod
shows what modules are loaded.
You need the usb-storage modules (or have it compiled into the kernel), so modprobe usb-storage loads the usb storage module. I think you might also need the generic SCCI module too. If so you may have to do: modprobe sg
I can't remember the details about the next command but it is necessary on my machine mount -t usbdevfs 0/proc/bus/usbAnd finally, I mount the filesystem manually with
mount -t vfat/dev/sda1/mnt/usb/Hope this helps.
reagards,
John Kelly
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Signature · 8 lines
Rei Shinozuka [email protected] Ridgewood, New Jersey - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
Hi,
Quoted 21 lines · On Tue, 13 Apr 2004 22:34:55 -0400 Rei Shinozuka <[email protected]> wrote:
well, lsmod did show:
Module Size Used by Tainted: P
usb-storage 75136 0
....and interestingly, usbview
showed the the card reader is recognized:http://www.shinozuka-family.com/USBViewer.jpg
but the last 2 commands return errors:
[root@tuxedo root]# mount -t usbdevfs 0
/proc/bus/usb
mount: 0 already mounted or/proc/bus/usbbusy
mount: according to mtab, usbdevfs is already mounted on /proc/bus/usb[root@tuxedo root]# mount -t vfat/dev/sda1/mnt/usb/
mount:/dev/sda1is not a valid block device [root@tuxedo root]#
Quoted 4 lines
i feel we are getting closer!!
thanks,
The error you get while trying to mount usbdevfs is a good thing - it shows ussbdevfs is already mounted. Well there is one other thing, is generic SCCI support enabled? This can be compiled into the kernel or loaded as a module. lsmod should show the generic SCCI module as sg. For example on my system, I get:
jpk@debian:~$ /sbin/lsmod | grep sg sg 24420 0 (unused)
And if SCCI support is in the kernel (either as a module or compiled in) and you still get an error trying to mount /dev/sda1, then I would suggest trying to mount another SCCI drive. ie. Try
mount -t vfat /dev/sda2 /mnt/usb/
or
mount -t vfat /dev/sdb1 /mnt/usb/
I am not sure but I seem to recall that with generic scci, the first 'thingy' to use it gets the first scci device ie /dev/sda and the next 'thingy' gets the next scci device. So if something is using /dev/sda1
- for example a cd writer - then the usb device will be the next available scci device.
regards,
John Kelly
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs