public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
* fedora and how to get mass storage devices (memory card readers) to work
@ 2004-04-13  2:59 Rei Shinozuka
  2004-04-13  5:54 ` pa3gcu
  2004-04-13 16:16 ` John Kelly
  0 siblings, 2 replies; 5+ messages in thread
From: Rei Shinozuka @ 2004-04-13  2:59 UTC (permalink / raw)
  To: Newbie Linux Users

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 <shino@panix.com> -----

Subject: fedira and how to get mass storage devices (memory card readers) to work
From: Rei Shinozuka <shino@panix.com>
Date: Mon, 12 Apr 2004 22:54:02 -0400
To: Newbie Linux Users <linux-newbie@vger.kernel.org>

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
-- 
Rei Shinozuka shino@panix.com
Ridgewood, New Jersey

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
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 shino@panix.com
Ridgewood, New Jersey

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: fedora and how to get mass storage devices (memory card readers) to work
  2004-04-13  2:59 fedora and how to get mass storage devices (memory card readers) to work Rei Shinozuka
@ 2004-04-13  5:54 ` pa3gcu
  2004-04-13 16:16 ` John Kelly
  1 sibling, 0 replies; 5+ messages in thread
From: pa3gcu @ 2004-04-13  5:54 UTC (permalink / raw)
  To: Rei Shinozuka, Newbie Linux Users

On Tuesday 13 April 2004 04:59, Rei Shinozuka wrote:
> Apr 12 22:50:59 tuxedo usb.agent[25333]: missing kernel or user mode driver
> usb-storage

missing support for usb-storage, possably its a module and its not getting 
loaded.

modprobe usb-storage

before plugging in the device.

-- 
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
pa3gcu@zeelandnet.nl
http://people.zeelandnet.nl/pa3gcu/



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: fedora and how to get mass storage devices (memory card readers) to work
  2004-04-13  2:59 fedora and how to get mass storage devices (memory card readers) to work Rei Shinozuka
  2004-04-13  5:54 ` pa3gcu
@ 2004-04-13 16:16 ` John Kelly
  2004-04-14  2:34   ` Rei Shinozuka
  1 sibling, 1 reply; 5+ messages in thread
From: John Kelly @ 2004-04-13 16:16 UTC (permalink / raw)
  To: linux-newbie

On Mon, 12 Apr 2004 22:59:03 -0400
Rei Shinozuka <shino@panix.com> wrote:

> 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
>
< 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* fedora and how to get mass storage devices (memory card readers) to work
  2004-04-13 16:16 ` John Kelly
@ 2004-04-14  2:34   ` Rei Shinozuka
  2004-04-14 17:16     ` John Kelly
  0 siblings, 1 reply; 5+ messages in thread
From: Rei Shinozuka @ 2004-04-14  2:34 UTC (permalink / raw)
  To: Newbie Linux Users

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


On Apr13 17:16, John Kelly wrote:
> On Mon, 12 Apr 2004 22:59:03 -0400
> Rei Shinozuka <shino@panix.com> wrote:
> 
> > 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
> >
> < 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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs

-- 
Rei Shinozuka shino@panix.com
Ridgewood, New Jersey

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: fedora and how to get mass storage devices (memory card readers) to work
  2004-04-14  2:34   ` Rei Shinozuka
@ 2004-04-14 17:16     ` John Kelly
  0 siblings, 0 replies; 5+ messages in thread
From: John Kelly @ 2004-04-14 17:16 UTC (permalink / raw)
  To: linux-newbie

Hi,

On Tue, 13 Apr 2004 22:34:55 -0400
Rei Shinozuka <shino@panix.com> 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/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,
> 
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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-04-14 17:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-13  2:59 fedora and how to get mass storage devices (memory card readers) to work Rei Shinozuka
2004-04-13  5:54 ` pa3gcu
2004-04-13 16:16 ` John Kelly
2004-04-14  2:34   ` Rei Shinozuka
2004-04-14 17:16     ` John Kelly

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox