LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-04-2003, 06:27 AM   #1
sammythehat
LQ Newbie
 
Registered: May 2003
Distribution: redhat 8.0
Posts: 3

Rep: Reputation: 0
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.
 
Old 05-04-2003, 06:49 AM   #2
membrax
Member
 
Registered: Nov 2002
Location: 50'48''N - 4'21''E
Distribution: SuSE7.1 - SuSE8.1 - SuSE8.2 - RH6.2 - RH7.1 - RH7.3 - RH8.0 - RH9.0 - Fedora Core 1
Posts: 281

Rep: Reputation: 30
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.
 
Old 05-04-2003, 07:05 AM   #3
sammythehat
LQ Newbie
 
Registered: May 2003
Distribution: redhat 8.0
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks, Membrax. But I still get '/dev/sda1 is not a valid block device'.
Does anyone know how to MAKE it valid???
 
Old 05-04-2003, 07:08 AM   #4
membrax
Member
 
Registered: Nov 2002
Location: 50'48''N - 4'21''E
Distribution: SuSE7.1 - SuSE8.1 - SuSE8.2 - RH6.2 - RH7.1 - RH7.3 - RH8.0 - RH9.0 - Fedora Core 1
Posts: 281

Rep: Reputation: 30
Nothing on my side, sorry buddy.
Tried with sda0 as well ?
 
Old 05-04-2003, 06:55 PM   #5
sammythehat
LQ Newbie
 
Registered: May 2003
Distribution: redhat 8.0
Posts: 3

Original Poster
Rep: Reputation: 0
(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.
 
Old 07-24-2003, 04:25 AM   #6
BlinkEye
Member
 
Registered: Jul 2003
Distribution: gentoo
Posts: 71

Rep: Reputation: 15
Question 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
 
Old 09-11-2003, 08:08 AM   #7
Luke-Lu
LQ Newbie
 
Registered: Sep 2003
Location: Hamburg
Posts: 7

Rep: Reputation: 0
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.
 
Old 09-11-2003, 01:19 PM   #8
BlinkEye
Member
 
Registered: Jul 2003
Distribution: gentoo
Posts: 71

Rep: Reputation: 15
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.

Last edited by BlinkEye; 09-11-2003 at 01:20 PM.
 
Old 09-12-2003, 02:35 AM   #9
Luke-Lu
LQ Newbie
 
Registered: Sep 2003
Location: Hamburg
Posts: 7

Rep: Reputation: 0
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.
 
Old 09-12-2003, 02:51 AM   #10
Luke-Lu
LQ Newbie
 
Registered: Sep 2003
Location: Hamburg
Posts: 7

Rep: Reputation: 0
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.
 
Old 09-12-2003, 03:17 AM   #11
BlinkEye
Member
 
Registered: Jul 2003
Distribution: gentoo
Posts: 71

Rep: Reputation: 15
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...

Last edited by BlinkEye; 09-12-2003 at 03:27 AM.
 
Old 09-12-2003, 03:24 AM   #12
Luke-Lu
LQ Newbie
 
Registered: Sep 2003
Location: Hamburg
Posts: 7

Rep: Reputation: 0
Thank you very much the same.
 
Old 09-12-2003, 03:50 AM   #13
Luke-Lu
LQ Newbie
 
Registered: Sep 2003
Location: Hamburg
Posts: 7

Rep: Reputation: 0
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
 
Old 09-12-2003, 06:13 AM   #14
Luke-Lu
LQ Newbie
 
Registered: Sep 2003
Location: Hamburg
Posts: 7

Rep: Reputation: 0
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.
 
Old 09-12-2003, 06:17 AM   #15
Luke-Lu
LQ Newbie
 
Registered: Sep 2003
Location: Hamburg
Posts: 7

Rep: Reputation: 0
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),

Last edited by Luke-Lu; 09-12-2003 at 09:05 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB Enabling in Redhat rahimzai Red Hat 6 10-04-2005 12:15 AM
USB 2 in Redhat 9 Sirkent Linux - Software 1 10-19-2004 09:49 AM
Installing USB for Redhat 7.3 jcherw Linux - Hardware 1 10-18-2003 08:52 PM
RedHat 9 and Speedtouch USB franglais Linux - Hardware 0 06-19-2003 08:47 AM
USB + Redhat 8.0 Sam S Linux - Hardware 3 04-09-2003 05:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration