USB and Redhat 8.0
Hello all,
An ABSOLUTE beginner here, wondering how to get my computer to recognise USB devices. I'm using Redhat 8.0, with kernel 2.4.18-14. I'm trying to use my Archos Jukebox Studio 10 (which I use as a general storage drive). I'm told that Redhat 8.0 should automagically recognise this, which it doesn't. I'm also told that my Jukebox is among the devices which should be supported by this, as a mass storage device thingy. I've searched a bit on this, with no success. I've tried adding a line to the fstab file, but no luck (I just get 'X is not a valid block device' when I try to mount). Please tell me I don't need to mess with the kernel! Any assistance gratefully accepted. I'm really stupid, too, when it comes to this stuff (like, I'm really proud of myself if I manage to find, download, and unpackage an RPM) so baby talk is encouraged. (For example: some solutions I've seen mention using 'modprobe' or 'lsusb' to help diagnose the problem - I just get 'command not found' - am I doing something horribly stupid?) Thanks in advance! Sammy. |
try this once :
- log as normal user - create mountpoint "archos" (for instance) under /mnt basic example --->> "cd /" "cd mnt" "mkdir archos" - issue the command "su" (without quotes obviously) in a console - fill in the root password - try to mount manually still as root "mount -t vfat /dev/sda1 /mnt/archos" - then via a file browser, try to read the folder (which is actually a mountpoint) /mnt/archos ... I'm not much of a specialist but this woul dbe my first try if I were in your situation. |
Thanks, Membrax. But I still get '/dev/sda1 is not a valid block device'.
Does anyone know how to MAKE it valid??? |
Nothing on my side, sorry buddy.
Tried with sda0 as well ? |
(sda0 gives me 'mount: special device /dev/sda0 does not exist'.)
I think it's /dev/sda, but when I try "mount -t vfat /dev/sda /mnt/archos" , it tells me "mount: wrong fs type, bad option, bad superblock on /dev/sda, or too many mounted file systems" filesystem type 'auto' doesn't work either... dmesg output (below) suggests that my device and driver are fine. >hub.c: USB new device connect on bus1/1, assigned device number 2 >usb.c: unable to get device descriptor (error=-110) >hub.c: USB new device connect on bus1/1, assigned device number 3 >usb.c: USB device 3 (vend/prod 0x5ab/0x31) is not claimed by any >active driver. >SCSI subsystem driver Revision: 1.00 >Initializing USB Mass Storage driver... >usb.c: registered new driver usb-storage >scsi0 : SCSI emulation for USB Mass Storage devices > Vendor: FUJITSU Model: MHN2100AT Rev: 7255 > Type: Direct-Access ANSI SCSI revision: 02 >WARNING: USB Mass Storage data integrity not assured >USB Mass Storage device found at 3 >USB Mass Storage support registered. |
digital camera on usb device
HELP!
I've got the same problem. how do I mount the specific usb device (my digital camera ist a konica KD-400Z? here's some of my dmesg (in red my digital cam): PCI: 00:10.3 PCI cache line size corrected to 64. ehci-hcd 00:10.3: USB 2.0 enabled, EHCI 1.00, driver 2003-Jan-22 hub.c: USB hub found hub.c: 6 ports detected usb-uhci.c: $Revision: 1.275 $ time 15:16:26 Jul 15 2003 usb-uhci.c: High bandwidth mode enabled PCI: Found IRQ 3 for device 00:10.0 IRQ routing conflict for 00:10.0, have irq 7, want irq 3 IRQ routing conflict for 00:10.1, have irq 7, want irq 3 IRQ routing conflict for 00:10.2, have irq 7, want irq 3 IRQ routing conflict for 00:10.3, have irq 7, want irq 3 usb-uhci.c: USB UHCI at I/O 0xa800, IRQ 7 usb-uhci.c: Detected 2 ports usb.c: new USB bus registered, assigned bus number 2 hub.c: USB hub found hub.c: 2 ports detected PCI: Found IRQ 3 for device 00:10.1 IRQ routing conflict for 00:10.0, have irq 7, want irq 3 IRQ routing conflict for 00:10.1, have irq 7, want irq 3 IRQ routing conflict for 00:10.2, have irq 7, want irq 3 IRQ routing conflict for 00:10.3, have irq 7, want irq 3 usb-uhci.c: USB UHCI at I/O 0xa400, IRQ 7 usb-uhci.c: Detected 2 ports usb.c: new USB bus registered, assigned bus number 3 hub.c: USB hub found hub.c: 2 ports detected PCI: Found IRQ 3 for device 00:10.2 IRQ routing conflict for 00:10.0, have irq 7, want irq 3 IRQ routing conflict for 00:10.1, have irq 7, want irq 3 IRQ routing conflict for 00:10.2, have irq 7, want irq 3 IRQ routing conflict for 00:10.3, have irq 7, want irq 3 usb-uhci.c: USB UHCI at I/O 0xa000, IRQ 7 usb-uhci.c: Detected 2 ports usb.c: new USB bus registered, assigned bus number 4 hub.c: USB hub found hub.c: 2 ports detected usb-uhci.c: v1.275:USB Universal Host Controller Interface driver usb.c: registered new driver hiddev usb.c: registered new driver hid hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz> hid-core.c: USB HID support drivers mice: PS/2 mouse device common for all mice EXT3 FS 2.4-0.9.19, 19 August 2002 on ide1(22,5), internal journal Adding Swap: 1044184k swap-space (priority -1) hub.c: new USB device 00:10.1-1, assigned address 2 input0: USB HID v1.10 Mouse [Logitech USB Receiver] on usb3:2.0 hub.c: new USB device 00:10.1-2, assigned address 3 usb.c: USB device 3 (vend/prod 0x4e6/0x6) is not claimed by any active driver. hub.c: new USB device 00:10.0-1, assigned address 2 usb.c: USB device 2 (vend/prod 0x4c8/0x726) is not claimed by any active driver. hub.c: new USB device 00:10.0-2, assigned address 3 input1: USB HID v1.10 Keyboard [Logitech Logitech USB Keyboard] on usb2:3.0 input2: USB HID v1.10 Pointer [Logitech Logitech USB Keyboard] on usb2:3.1 kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.19, 19 August 2002 on ide1(22,3), internal journal EXT3-fs: mounted filesystem with ordered data mode. SCSI subsystem driver Revision: 1.00 Initializing USB Mass Storage driver... usb.c: registered new driver usb-storage scsi0 : SCSI emulation for USB Mass Storage devices usb-uhci.c: interrupt, status 3, frame# 156 Vendor: Model: Rev: Type: Direct-Access ANSI SCSI revision: 02 WARNING: USB Mass Storage data integrity not assured USB Mass Storage device found at 3 scsi1 : SCSI emulation for USB Mass Storage devices Vendor: Konica Model: KD-400Z Rev: 1.00 Type: Direct-Access ANSI SCSI revision: 02 WARNING: USB Mass Storage data integrity not assured USB Mass Storage device found at 2 USB Mass Storage support registered. ohci1394: $Rev: 693 $ Ben Collins <bcollins@debian.org> PCI: Found IRQ 10 for device 00:07.0 PCI: Sharing IRQ 10 with 00:08.0 ohci1394_0: OHCI-1394 1.0 (PCI): IRQ=[10] MMIO=[ed800000-ed8007ff] Max Packet=[2048] ieee1394: SelfID completion called outside of bus reset! PCI: Found IRQ 3 for device 00:0f.2 ohci1394_1: OHCI-1394 1.1 (PCI): IRQ=[3] MMIO=[eb800000-eb8007ff] Max Packet=[2048] ieee1394: SelfID completion called outside of bus reset! ieee1394: Host added: Node[00:1023] GUID[00e0180000098892] [Linux OHCI-1394] usb-uhci.c: ENXIO 84000380, flags 0, urb df38c5c0, burb df38c6c0 usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 9 ret -6 usb-uhci.c: ENXIO 84000380, flags 0, urb df38c5c0, burb df38c6c0 usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -6 usb-uhci.c: ENXIO 84000380, flags 0, urb df38c6c0, burb df38c5c0 usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 9 ret -6 usb-uhci.c: ENXIO 84000380, flags 0, urb df38c6c0, burb df38c5c0 usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -6 usb-uhci.c: ENXIO 84000380, flags 0, urb df38c6c0, burb df38c5c0 usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -6a anyone here who has a clou? would appreciate it, thanks. greets BlinkEye |
Have you solved your problem?
I have the same problem with the usb mouting.
I am useing RedHat 8.0, but it seams that it can't recoginze the USB disk. |
yeah, I solved the problem - both in redhat 8 and 9. have a look at this - it worked well for me: http://leo.physics.usyd.edu.au/~andrewn/camera.html
or/and read the following: the particular line of my '/etc/fstab' is: /dev/sda1 /mnt/camera_kd400z vfat noauto,user,rw 0 0 hint: log in as root and make a directory in /mnt/ , i.e. /mnt/usbdevice, then try to mount it with 'mount /dev/sda1 /mnt/usbdevice' - if that works add the line above to the /etc/fstab (you'll have read/write access as a user) - if it doesn't work try out 'mount /dev/sda2 /mnt/usbdevice' , 'mount /dev/sda3 /mnt/usbdevice' or 'mount /dev/sdb1 /mnt/usbdevice', 'mount /dev/sdb2/mnt/usbdevice' ... one should work. |
Thanks very much.
but I can't mount /dev/sda? or /dev/sdb?,sdc? anyway, where ? is 1,2,3,4,5,6.. It told me that it is not a valid block device sda0 is not a exist. |
There are such lines:
/var/log/messages: Sep 12 09:29:53 guest-144 kernel: scsi1 : SCSI emulation for USB Mass Storage devices Sep 12 09:29:53 guest-144 kernel: Type: Direct-Access ANSI SCSI revision: 02 Sep 12 09:29:53 guest-144 kernel: Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0 Sep 12 09:29:53 guest-144 kernel: SCSI device sda: 78140160 512-byte hdwr sectors (40008 MB) Sep 12 09:29:53 guest-144 kernel: SCSI device (ioctl) reports ILLEGAL REQUEST. Sep 12 09:29:53 guest-144 kernel: SCSI device sda: 78140160 512-byte hdwr sectors (40008 MB) Sep 12 09:29:54 guest-144 kernel: SCSI device (ioctl) reports ILLEGAL REQUEST. |
well, I looked for the first time into my /var/log/messages - and I don't have any messages about an illegal request of a scsi device -> could be the problem.
I'll just mail you my /var/log/messages and my dmesg - maybe you can get some information you need. I'm sorry not helping you further... |
Thank you very much the same.
|
some message:
# uname -a Linux guest-144.desy.de 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i386 GNU/Linux # /sbin/lsmod Module Size Used by Tainted: P vfat 13084 0 (autoclean) fat 38712 0 (autoclean) [vfat] sd_mod 13584 0 (autoclean) usb-storage 62000 0 i810_audio 25224 0 (autoclean) ac97_codec 13384 0 (autoclean) [i810_audio] soundcore 6532 2 (autoclean) [i810_audio] NVdriver 1149216 11 (autoclean) autofs 13348 0 (autoclean) (unused) ds 8712 1 yenta_socket 12960 1 pcmcia_core 54784 0 [ds yenta_socket] sis900 16908 1 iptable_filter 2412 0 (autoclean) (unused) ip_tables 14936 1 [iptable_filter] ide-scsi 10512 0 ide-cd 33608 0 ohci1394 20108 0 (unused) ieee1394 46892 0 [ohci1394] sr_mod 18136 0 (autoclean) (unused) cdrom 33696 0 (autoclean) [ide-cd sr_mod] scsi_mod 107176 4 (autoclean) [sd_mod usb-storage ide-scsi sr_mod] mousedev 5524 2 keybdev 2976 0 (unused) hid 22244 0 (unused) input 5888 0 [mousedev keybdev hid] ehci-hcd 17480 0 (unused) usb-ohci 21320 0 (unused) usbcore 77024 1 [usb-storage hid ehci-hcd usb-ohci] ext3 70368 2 jbd 52212 2 [ext3] #cat /proc/bus/usb/drivers usbdevfs hub 96-111: hiddev hid usb-storage # cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: QSI Model: DVD/CDRW SBW-161 Rev: SU03 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi1 Channel: 00 Id: 00 Lun: 00 Vendor: EagleTec Model: External Hard Di Rev: 0002 Type: Direct-Access ANSI SCSI revision: 02 # mount -t vfat /dev/sda /mnt/usb/ mount: wrong fs type, bad option, bad superblock on /dev/sda, or too many mounted file systems |
Okay now, it works well now.
I did it as the following, wish it is a little useful. # change the kernal file. (x.x.xx.is the kernal version) There is such sentence in /usr/src/linux-x.x.xx/drivers/usb/storage/unusual_devs.h: UNUSUAL_DEV( 0x05e3,0x0702,0x0000,0x0001, "EagleTec", "External Hard Disk", US_SC_SCSI,US_PR_BULK,NULL, US_FL_FIX_INQUIRY), change it to: UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0x9999, "Genesys", "USB DISK", US_SC_SCSI,US_PR_BULK,NULL, US_FL_FIX_INQUIRY | |US_FL_MODE_XLATEUS_FL_START_STOP), #then rebuild the kernal cp /boot/config-x.xx.x /usr/src/linux-x.xx/.config make oldconfig make dep make modules # copy the object file to the right directory cp /usr/src/linux-2.4/drivers/usb/storage/usb-storage.o /lib/modules/2.4.18-14/kernel/drivers/usb/storage/usb-storage.o #find the partition of the USB /sbin/modprobe -r usb-storage /sbin/modprobe usb-storage /sbin/fdisk -l #then just mount it ok. |
Sorry, fix one place.
There is only one | in the following sentence, I double input it just now. US_FL_FIX_INQUIRY | US_FL_MODE_XLATE | US_FL_START_STOP), |
All times are GMT -5. The time now is 11:03 AM. |