LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-20-2002, 06:04 PM   #1
emblarq
LQ Newbie
 
Registered: Sep 2002
Location: marilia city - brazil
Distribution: conectiva
Posts: 4

Rep: Reputation: 0
Wink fllash drive


We have bought a Flash Drive.
In the windows 98 it worked perfectly.
But in our Linux (kernel 2.4.18) we didnt't get to install it.
We would like you could inform us step by step all the procedure to the Flash Drive installation in the Linux
We also would like to know if Flash Drive can be connected/disconnected when the PC is turned on.
We need these information with urgency.
We thank you help in advance.
José
Brazil
emblarq@terra.com.br

Last edited by emblarq; 09-21-2002 at 07:51 AM.
 
Old 09-20-2002, 07:21 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
If this is a USB flash device, you can probably get the kernel to recognize it with the following:

modprobe usbcore
modprobe uhci
modprobe usb-storage

Then check "dmesg" to see if the device was registered. It will be registered as a SCSI device, yeah, no kidding, everything is basically emulated as SCSI device. The chain read should look like:

scsi1 : sym53c8xx-1.7.3c-20010512
Vendor: SONY Model: CD-R CDU948S Rev: 1.0h
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi1, channel 0, id 0, lun 0

Except not a CDROM of course....

The Device should be mountable as /dev/sda1 assuming you have no SCSI hard drives in your machine. I don't know how automounter deals with these things so the device is going to be hotpluggable in that you have to unmount and remount the device before and after you pull it.

Of course, this all depends on whether your device is supported yet, which it may be, but under 2.4.19. If the above doesn't work, check back.

Cheers,

Finegan
 
Old 09-20-2002, 07:42 PM   #3
emblarq
LQ Newbie
 
Registered: Sep 2002
Location: marilia city - brazil
Distribution: conectiva
Posts: 4

Original Poster
Rep: Reputation: 0
I thank your answer to my e-mail.
I will try use your informations and i will return the results.
regards,jose
 
Old 09-20-2002, 08:22 PM   #4
emblarq
LQ Newbie
 
Registered: Sep 2002
Location: marilia city - brazil
Distribution: conectiva
Posts: 4

Original Poster
Rep: Reputation: 0
It worked perfectly.
Thanks for your help.
jose
 
Old 06-26-2003, 05:07 AM   #5
Tommi
Member
 
Registered: Apr 2003
Posts: 185

Rep: Reputation: 30
Yo!

Please, maybe you can help...

I have an USB flash pen mass storage disk. An USB flash disk.

It works perfectly in MAC OS X 10.2 and in Windows 2000 without any configuration.

I think my problem is only how to install it to Linux Redhat 9.0.

I tried this $ modprobe

but it says:bash: modprobe, commond not found, ???

It is handled as typical harddisk in Linux. Linux can find it, but I dont know how to mount it neither how to configure Linux to accept this device. It *should* work according to manual. Furthermore it should be totally platform independent device, as generally accepted like floppy disk is in general.

Furtheromore there may be a conflict with cdwriter which is another fake scsi device in Linux.

and logfile for you...


Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
usb_control/bulk_msg: timeout
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: 3SYSTEM Model: USB FLASH DISK Rev: 1.00
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.
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
hdd: ATAPI 48X CD-ROM drive, 120kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
scsi1 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: HP Model: CD-Writer+ 9100 Rev: 1.0c
Type: CD-ROM ANSI SCSI revision: 02
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110


-Tommi


__________________
 
Old 06-26-2003, 04:25 PM   #6
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
Tommi,

please even though this is another pre-existing thread, please don't double post.

Cheers,

Finegan
 
Old 06-27-2003, 12:55 AM   #7
Tommi
Member
 
Registered: Apr 2003
Posts: 185

Rep: Reputation: 30
O.K. Sorry I dont douple post in the future anymore.
I was in a panic...

-Tommi :-)
 
Old 06-27-2003, 02:39 AM   #8
geoff_f
Member
 
Registered: May 2003
Location: Canberra, Australia
Distribution: openSUSE 11.3
Posts: 445

Rep: Reputation: 31
Tommi, please post the outputs (as root) of:

dmesg | grep usb
ls -lR /dev/usb
ls -lR /dev/cd*
ls -lR /dev/scsi
 
Old 06-27-2003, 02:44 AM   #9
Tommi
Member
 
Registered: Apr 2003
Posts: 185

Rep: Reputation: 30
The device works...but gives these alarms. I dont know if it is trustable. I will test these...

But this logfile which I gave is precisely the result of the dmesg. I just didnt use all of your flags. It is recognized as scsi device and I have transfared files in to my new flash disk. In general it seems to work...but should I still change it, maybe its broken, but only a little bit?

-Tommi
 
Old 06-27-2003, 02:53 AM   #10
geoff_f
Member
 
Registered: May 2003
Location: Canberra, Australia
Distribution: openSUSE 11.3
Posts: 445

Rep: Reputation: 31
To be able to help you, I need to see the output of the commands I posted. I am interested in seeing how your USB setup is configured, but I need the output of those commands to do that. Your previous post didn't help me get that sort of info.
 
Old 06-27-2003, 03:05 AM   #11
Tommi
Member
 
Registered: Apr 2003
Posts: 185

Rep: Reputation: 30
O.K. You will get them soon.

-Tommi
 
Old 06-27-2003, 04:47 AM   #12
timread
LQ Newbie
 
Registered: Mar 2002
Posts: 23

Rep: Reputation: 15
Unhappy I have a similar USB2 Flash Drive Problem

I have a similar problem with a Sony MicroVault 128MB Flash Drive USB2 device. I am trying to use it with SUSE 8.2 that handles USB2 in theory...

If I connect it to the computer, after a few seconds an icon appears on the desktop, as if it were a normal hard disk. When I click on it I get an unknown filesystem error. I have tried formatting it as FAT, FAT32 and NTFS from within Windows 2000 but always get the same error. I have followed the steps above and nothing changes, in response to what you asked Tommi:

dmesg | grep usb:
bilbo:/home/tread # dmesg | grep usb
usb.c: registered new driver serial
usbserial.c: USB Serial support registered for Generic
usbserial.c: USB Serial Driver core v1.4
usb.c: USB device 3 (vend/prod 0x54c/0x8b) is not claimed by any active driver.
usb.c: registered new driver usb-storage

ls -lR /dev/usb:
bilbo:/home/tread # ls -lR /dev/usb
/dev/usb:
total 95
drwxr-xr-x 2 root root 2184 2003-05-26 13:15 .
drwxr-xr-x 29 root root 95088 2003-06-27 10:41 ..
crw-rw-rw- 1 root root 180, 112 2003-03-14 14:08 auer0
crw-rw-rw- 1 root root 180, 113 2003-03-14 14:08 auer1
crw-rw-rw- 1 root root 180, 114 2003-03-14 14:08 auer2
crw-rw-rw- 1 root root 180, 115 2003-03-14 14:08 auer3
crw-rw-rw- 1 root root 180, 116 2003-03-14 14:08 auer4
crw-rw-rw- 1 root root 180, 117 2003-03-14 14:08 auer5
crw-rw-rw- 1 root root 180, 118 2003-03-14 14:08 auer6
crw-rw-rw- 1 root root 180, 119 2003-03-14 14:08 auer7
crw-rw---- 1 root root 180, 240 2003-03-14 14:08 dabusb0
crw-rw---- 1 root root 180, 241 2003-03-14 14:08 dabusb1
crw-rw---- 1 root root 180, 242 2003-03-14 14:08 dabusb2
crw-rw---- 1 root root 180, 243 2003-03-14 14:08 dabusb3
crw-rw---- 1 root root 180, 244 2003-03-14 14:08 dabusb4
crw-rw---- 1 root root 180, 245 2003-03-14 14:08 dabusb5
crw-rw---- 1 root root 180, 246 2003-03-14 14:08 dabusb6
crw-rw---- 1 root root 180, 247 2003-03-14 14:08 dabusb7
crw-rw---- 1 root root 180, 80 2003-03-14 14:08 dc2xx0
crw-rw---- 1 root root 180, 81 2003-03-14 14:08 dc2xx1
crw-rw---- 1 root root 180, 82 2003-03-14 14:08 dc2xx2
crw-rw---- 1 root root 180, 83 2003-03-14 14:08 dc2xx3
crw-rw---- 1 root root 180, 84 2003-03-14 14:08 dc2xx4
crw-rw---- 1 root root 180, 85 2003-03-14 14:08 dc2xx5
crw-rw---- 1 root root 180, 86 2003-03-14 14:08 dc2xx6
crw-rw---- 1 root root 180, 87 2003-03-14 14:08 dc2xx7
crw-rw---- 1 root root 180, 32 2003-03-14 14:08 ez0
crw-rw---- 1 root root 180, 33 2003-03-14 14:08 ez1
crw-rw---- 1 root root 180, 34 2003-03-14 14:08 ez2
crw-rw---- 1 root root 180, 35 2003-03-14 14:08 ez3
crw-rw---- 1 root root 180, 36 2003-03-14 14:08 ez4
crw-rw---- 1 root root 180, 37 2003-03-14 14:08 ez5
crw-rw---- 1 root root 180, 38 2003-03-14 14:08 ez6
crw-rw---- 1 root root 180, 39 2003-03-14 14:08 ez7
crw-rw---- 1 root root 180, 96 2003-03-14 14:08 hiddev0
crw-rw---- 1 root root 180, 97 2003-03-14 14:08 hiddev1
crw-rw---- 1 root root 180, 106 2003-03-14 14:08 hiddev10
crw-rw---- 1 root root 180, 107 2003-03-14 14:08 hiddev11
crw-rw---- 1 root root 180, 108 2003-03-14 14:08 hiddev12
crw-rw---- 1 root root 180, 109 2003-03-14 14:08 hiddev13
crw-rw---- 1 root root 180, 110 2003-03-14 14:08 hiddev14
crw-rw---- 1 root root 180, 111 2003-03-14 14:08 hiddev15
crw-rw---- 1 root root 180, 98 2003-03-14 14:08 hiddev2
crw-rw---- 1 root root 180, 99 2003-03-14 14:08 hiddev3
crw-rw---- 1 root root 180, 100 2003-03-14 14:08 hiddev4
crw-rw---- 1 root root 180, 101 2003-03-14 14:08 hiddev5
crw-rw---- 1 root root 180, 102 2003-03-14 14:08 hiddev6
crw-rw---- 1 root root 180, 103 2003-03-14 14:08 hiddev7
crw-rw---- 1 root root 180, 104 2003-03-14 14:08 hiddev8
crw-rw---- 1 root root 180, 105 2003-03-14 14:08 hiddev9
crw-rw---- 1 root lp 180, 0 2003-03-14 14:08 lp0
crw-rw---- 1 root lp 180, 1 2003-03-14 14:08 lp1
crw-rw---- 1 root lp 180, 2 2003-03-14 14:08 lp2
crw-rw---- 1 root lp 180, 3 2003-03-14 14:08 lp3
crw-rw---- 1 root lp 180, 4 2003-03-14 14:08 lp4
crw-rw---- 1 root lp 180, 5 2003-03-14 14:08 lp5
crw-rw---- 1 root lp 180, 6 2003-03-14 14:08 lp6
crw-rw---- 1 root lp 180, 7 2003-03-14 14:08 lp7
crw-rw---- 1 root root 180, 16 2003-03-14 14:08 mouse0
crw-rw---- 1 root root 180, 17 2003-03-14 14:08 mouse1
crw-rw---- 1 root root 180, 18 2003-03-14 14:08 mouse2
crw-rw---- 1 root root 180, 19 2003-03-14 14:08 mouse3
crw-rw---- 1 root root 180, 20 2003-03-14 14:08 mouse4
crw-rw---- 1 root root 180, 21 2003-03-14 14:08 mouse5
crw-rw---- 1 root root 180, 22 2003-03-14 14:08 mouse6
crw-rw---- 1 root root 180, 23 2003-03-14 14:08 mouse7
crw-rw---- 1 root root 180, 64 2003-03-14 14:08 rio500
crw------- 1 tread root 180, 48 2003-03-14 14:08 scanner0
crw------- 1 tread root 180, 49 2003-03-14 14:08 scanner1
crw------- 1 tread root 180, 50 2003-03-14 14:08 scanner2
crw------- 1 tread root 180, 51 2003-03-14 14:08 scanner3
crw------- 1 tread root 180, 52 2003-03-14 14:08 scanner4
crw------- 1 tread root 180, 53 2003-03-14 14:08 scanner5
crw------- 1 tread root 180, 54 2003-03-14 14:08 scanner6
crw------- 1 tread root 180, 55 2003-03-14 14:08 scanner7
crw-rw---- 1 root uucp 188, 0 2003-03-14 14:08 ttyUSB0
crw-rw---- 1 root uucp 188, 1 2003-03-14 14:08 ttyUSB1
crw-rw---- 1 root uucp 188, 10 2003-03-14 14:08 ttyUSB10
crw-rw---- 1 root uucp 188, 11 2003-03-14 14:08 ttyUSB11
crw-rw---- 1 root uucp 188, 12 2003-03-14 14:08 ttyUSB12
crw-rw---- 1 root uucp 188, 13 2003-03-14 14:08 ttyUSB13
crw-rw---- 1 root uucp 188, 14 2003-03-14 14:08 ttyUSB14
crw-rw---- 1 root uucp 188, 15 2003-03-14 14:08 ttyUSB15
crw-rw---- 1 root uucp 188, 2 2003-03-14 14:08 ttyUSB2
crw-rw---- 1 root uucp 188, 3 2003-03-14 14:08 ttyUSB3
crw-rw---- 1 root uucp 188, 4 2003-03-14 14:08 ttyUSB4
crw-rw---- 1 root uucp 188, 5 2003-03-14 14:08 ttyUSB5
crw-rw---- 1 root uucp 188, 6 2003-03-14 14:08 ttyUSB6
crw-rw---- 1 root uucp 188, 7 2003-03-14 14:08 ttyUSB7
crw-rw---- 1 root uucp 188, 8 2003-03-14 14:08 ttyUSB8
crw-rw---- 1 root uucp 188, 9 2003-03-14 14:08 ttyUSB9
bilbo:/home/tread #

ls -lR /dev/cd*:
bilbo:/home/tread # ls -lR /dev/cd*
brw-rw---- 1 root disk 19, 128 2003-03-14 14:07 /dev/cdouble0
brw-rw---- 1 root disk 19, 129 2003-03-14 14:07 /dev/cdouble1
lrwxrwxrwx 1 root root 3 2003-05-26 13:09 /dev/cdrecorder -> sr0
lrwxrwxrwx 1 root root 3 2003-05-26 13:09 /dev/cdrom -> hdd
brw-r----- 1 root disk 24, 0 2003-03-14 14:07 /dev/cdu535

ls -lR /dev/scsi:
bilbo:/home/tread # ls -lR /dev/scsi
ls: /dev/scsi: No existe el fichero o el directorio

Any suggestions would be gratefully received.

Tim
 
Old 06-27-2003, 06:41 AM   #13
geoff_f
Member
 
Registered: May 2003
Location: Canberra, Australia
Distribution: openSUSE 11.3
Posts: 445

Rep: Reputation: 31
I was looking for a message about the hardware detection of the USB host controller on bootup and what IRQ was assigned, but your output doesn't make any mention of IRQs. I was looking for IRQs above 16, which can cause problems with how a device works under Linux. However, everything seems to be in order; although it seems that your CD burner is connected as a scsi device (as /dev/sr0 - this is normal practice) but /dev/scsi is empty (Suse must do things differently).

Your Flash Drive appears to be /dev/cdu535. As I read the permissions, it is readable and writable by root, but only readable by the group 'disk'. It should also be writable by group 'disk' as per the entries for /dev/cdouble0 and /dev/cdouble1. I would try changing the permissions to be the same as your CD drives by typing the command (as root):

chmod 660 /dev/cdu535

and see if that improves things.

I gather you are going to use this device to swap files between Windows and Linux, so I would avoid filetypes FAT and NTFS and use FAT32 (vfat in Linux). Avoid FAT because it is much less efficient in using storage space, and avoid NTFS because writing to NTFS in Linux is 'experimental' at the moment, so not to be trusted.

If you have an entry under /mnt for your flash drive, then see if it works under that after running the chmod command.

<edit> typo in chmod command.

Last edited by geoff_f; 06-27-2003 at 06:44 AM.
 
Old 06-27-2003, 08:33 AM   #14
timread
LQ Newbie
 
Registered: Mar 2002
Posts: 23

Rep: Reputation: 15
Thanks for the tips, but no joy...

I changed the permissions as you suggested:

bilbo:/dev # ls -al cd*
brw-rw---- 1 root disk 19, 128 2003-03-14 14:07 cdouble0
brw-rw---- 1 root disk 19, 129 2003-03-14 14:07 cdouble1
lrwxrwxrwx 1 root root 3 2003-05-26 13:09 cdrecorder -> sr0
lrwxrwxrwx 1 root root 3 2003-05-26 13:09 cdrom -> hdd
brw-rw---- 1 root disk 24, 0 2003-03-14 14:07 cdu535

but the contents of /mnt are empty:

bilbo:/dev # cd /mnt
bilbo:/mnt # ls -al
total 1
drwxr-xr-x 2 root root 48 2003-03-18 18:49 .
drwxr-xr-x 21 root root 488 2003-06-27 17:19 ..

And I cannot mount cdu535:

bilbo:/mnt # mount /dev/cdu535 /media/sdb1
mount: /dev/cdu535 no es un dispositivo de bloques válido

The curious thing is that the icon still appears on my desktop when I plug it in, with the name sdb1, and there is even an entry in the /etc/fstab:

/dev/sdb1 /media/sdb1 auto noauto,user,exec 0 0 #HOTPLUG B3Fu.vd1ItuzTT19

But the damned thing will not mount:

bilbo:/mnt # mount /dev/sdb1 -t vfat /media/vfat
bilbo:/mnt # mount /dev/sdb1 -t vfat /media/sdb1/
mount: tipo de sistema de ficheros incorrecto, opción incorrecta, superbloque incorrecto en /dev/sdb1,
o número de sistemas de ficheros montados excesivo

Really frustrating - any other ideas?

Thanks,

Tim
 
Old 06-27-2003, 08:40 AM   #15
timread
LQ Newbie
 
Registered: Mar 2002
Posts: 23

Rep: Reputation: 15
Oops, I forgot to include the contents of /var/log/messages which appear to show that the Hub has been identified:

Jun 27 10:03:45 bilbo /etc/hotplug/usb.rc[823]: loaded HCD: ehci-hcd
Jun 27 10:03:46 bilbo /etc/hotplug/usb.rc[823]: loaded HCD: usb-uhci
Jun 27 10:03:46 bilbo /etc/hotplug/usb.rc[823]: loaded HCD: ehci-hcd
Jun 27 10:03:49 bilbo kernel: usb.c: registered new driver usbdevfs
Jun 27 10:03:49 bilbo kernel: usb.c: registered new driver hub
Jun 27 10:03:49 bilbo kernel: PCI: Setting latency timer of device 00:1d.7 to 64
Jun 27 10:03:49 bilbo kernel: ehci-hcd 00:1d.7: Intel Corp. 82801DB USB EHCI Controller
Jun 27 10:03:49 bilbo kernel: ehci-hcd 00:1d.7: irq 10, pci mem f9992c00
Jun 27 10:03:49 bilbo kernel: usb.c: new USB bus registered, assigned bus number 1
Jun 27 10:03:49 bilbo kernel: ehci-hcd 00:1d.7: enabled 64bit PCI DMA
Jun 27 10:03:49 bilbo kernel: PCI: 00:1d.7 PCI cache line size set incorrectly (0 bytes) by BIOS/FW.
Jun 27 10:03:49 bilbo kernel: PCI: 00:1d.7 PCI cache line size corrected to 32.
Jun 27 10:03:49 bilbo kernel: ehci-hcd 00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Jan-22
Jun 27 10:03:49 bilbo kernel: hub.c: USB hub found
Jun 27 10:03:49 bilbo kernel: hub.c: 6 ports detected
Jun 27 10:03:49 bilbo kernel: usb-uhci.c: $Revision: 1.275 $ time 08:26:33 Jun 18 2003
Jun 27 10:03:49 bilbo kernel: usb-uhci.c: High bandwidth mode enabled
Jun 27 10:03:49 bilbo kernel: PCI: Setting latency timer of device 00:1d.0 to 64
Jun 27 10:03:49 bilbo kernel: usb-uhci.c: USB UHCI at I/O 0xe800, IRQ 11
Jun 27 10:03:49 bilbo kernel: usb-uhci.c: Detected 2 ports
Jun 27 10:03:49 bilbo kernel: PCI: Setting latency timer of device 00:1d.1 to 64
Jun 27 10:03:49 bilbo kernel: usb-uhci.c: USB UHCI at I/O 0xe880, IRQ 5
Jun 27 10:03:49 bilbo kernel: usb-uhci.c: Detected 2 ports
Jun 27 10:03:49 bilbo kernel: usb.c: new USB bus registered, assigned bus number 3
Jun 27 10:03:49 bilbo kernel: hub.c: USB hub found
Jun 27 10:03:49 bilbo kernel: hub.c: 2 ports detected
Jun 27 10:03:49 bilbo kernel: PCI: Setting latency timer of device 00:1d.2 to 64
Jun 27 10:03:49 bilbo kernel: usb-uhci.c: USB UHCI at I/O 0xec00, IRQ 9
Jun 27 10:03:49 bilbo kernel: usb-uhci.c: Detected 2 ports
Jun 27 10:03:49 bilbo kernel: usb.c: new USB bus registered, assigned bus number 4
Jun 27 10:03:49 bilbo kernel: hub.c: USB hub found
Jun 27 10:03:49 bilbo kernel: hub.c: 2 ports detected
Jun 27 10:03:49 bilbo kernel: usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
Jun 27 10:03:49 bilbo kernel: uhci.c: USB Universal Host Controller Interface driver v1.1
Jun 27 10:03:49 bilbo kernel: sda : READ CAPACITY failed.
Jun 27 10:03:49 bilbo kernel: sda : status = 1, message = 00, host = 0, driver = 08
Jun 27 10:03:49 bilbo kernel: Current sd00:00: sns = 70 2
Jun 27 10:03:49 bilbo kernel: ASC=3a ASCQ= 0
Jun 27 10:03:49 bilbo kernel: Raw sense data:0x70 0x00 0x02 0x00 0x00 0x00 0x00
0x11 0x00 0x00 0x00 0x00 0x3a 0x00 0x00 0x00 0x00 0x00 0xff 0xfe 0x01 0x00 0x00
0x00 0x00
Jun 27 10:03:49 bilbo kernel: sda : block size assumed to be 512 bytes, disk size 1GB.
Jun 27 10:03:49 bilbo kernel: sda: I/O error: dev 08:00, sector 0
Jun 27 10:03:49 bilbo kernel: I/O error: dev 08:00, sector 0
Jun 27 10:03:49 bilbo kernel: I/O error: dev 08:00, sector 2097144
Jun 27 10:03:49 bilbo kernel: I/O error: dev 08:00, sector 2097144
Jun 27 10:03:49 bilbo kernel: I/O error: dev 08:00, sector 0
Jun 27 10:03:49 bilbo kernel: I/O error: dev 08:00, sector 0
Jun 27 10:03:49 bilbo kernel: unable to read partition table
Jun 27 10:03:49 bilbo kernel: Device not ready. Make sure there is a disc in the drive.
Jun 27 10:03:49 bilbo kernel: Device not ready. Make sure there is a disc in the drive.
Jun 27 10:03:50 bilbo kernel: sda : READ CAPACITY failed.
Jun 27 10:03:50 bilbo kernel: sda : status = 1, message = 00, host = 0, driver = 08
Jun 27 10:03:50 bilbo kernel: Current sd00:00: sns = 70 2
Jun 27 10:03:50 bilbo kernel: ASC=3a ASCQ= 0
Jun 27 10:03:50 bilbo kernel: Raw sense data:0x70 0x00 0x02 0x00 0x00 0x00 0x00
0x11 0x00 0x00 0x00 0x00 0x3a 0x00 0x00 0x00 0x00 0x00 0xff 0xfe 0x01 0x00 0x00
0x00 0x00
Jun 27 10:03:50 bilbo kernel: sda : block size assumed to be 512 bytes, disk size 1GB.
etc...
 
  


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
Installed GRUB on 3rd hard drive, how do I boot 1st drive? jesusphreak Linux - Newbie 4 04-06-2005 09:34 AM
Installing SuSE on an external FireWire drive: YaST can't edit partitions on drive kivimaki Linux - Distributions 2 09-13-2004 08:52 PM
boot from floppy drive then insall linux redhat9 from HARD DRIVE Shiraz Ahmed Linux - Software 0 08-23-2004 05:11 AM
slackware 9.1 mounting problems (cd drive, cd writer drive, win partition (ntfs)) mr.gizm0 Slackware 8 05-11-2004 06:23 PM
Cannot Copy Files From Network FAT32/NTFS Drive to My Local Linux Drive michaelh Linux - Networking 3 10-29-2002 10:27 AM

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

All times are GMT -5. The time now is 08:48 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration