Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I need some help with something, okay i have a usb thumb drive that i want to use under my redhat 8.0 laptop, but i can't mount it, since i don't know the correct /dev/ thing.
I was checking that if i could mount the usb thumb drive then .. i would go further and buy a lacie big disk, for my backup.
Hello,
I'm having similar problems with my SanDisk Cruzer 256Mb, I get /dev/sda1 is not a valid block device (this only started after I plugged in that damn drive , now whenever I plug in a usb device it is in /dev/sdbx, its swapped them over for some reason!)
Anyhow I tried lsusb and I get
linux:/home/rob # lsusb
Bus 003 Device 001: ID 0000:0000
Bus 003 Device 002: ID 0a81:0101 Chesen Electronics Corp.
Bus 002 Device 001: ID 0000:0000
Bus 002 Device 002: ID 045e:006a Microsoft Corp.
Bus 001 Device 001: ID 0000:0000
Bus 001 Device 006: ID 0781:8185 SanDisk Corp. <- my drive!!
does that mean my sandisk is on dev/sda6? I tried mounting that and it came up with the same "sda6 is not a valid block device"
one of these should be your drive, if that particular device is not present then fdisk will give you some error, but if not and it gives you a prompt thing then type 'p' to display the partition(s) on your usb drive. :
thse should look like /dev/sda1 or /dev/sda2 or /dev/sdb1 etc ........
then you can mount the desired partition on the usb drive:
mkdir /mnt/usb_drive
mount /dev/sXY /mnt/usb_drive
(where X represents your device : i.e a,b,c or d) and (Y represents the partition you want to mount on the drive ! )
I get the following output from dmesg if it helps anyone work out what's going on
usb.c: USB disconnect on device 00:03.2-5 address 7
hub.c: new USB device 00:03.2-6, assigned address 8
usb.c: error getting string descriptor 0 (error=-32)
usb.c: error getting string descriptor 0 (error=-32)
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 8
Device not ready. Make sure there is a disc in the drive.
sdb : READ CAPACITY failed.
sdb : status = 1, message = 00, host = 0, driver = 08
Info fld=0xa00 (nonstd), Current sd00:00: sns = 70 2
Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00
sdb : block size assumed to be 512 bytes, disk size 1GB.
sdb: I/O error: dev 08:10, sector 0
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
I/O error: dev 08:10, sector 0
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
I/O error: dev 08:10, sector 2097144
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
I/O error: dev 08:10, sector 2097144
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
I/O error: dev 08:10, sector 0
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
I/O error: dev 08:10, sector 0
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
unable to read partition table
Device not ready. Make sure there is a disc in the drive.
I/O error: dev 08:10, sector 0
Device not ready. Make sure there is a disc in the drive.
Device not ready. Make sure there is a disc in the drive.
sdb : READ CAPACITY failed.
sdb : status = 1, message = 00, host = 0, driver = 08
Info fld=0xa00 (nonstd), Current sd00:00: sns = 70 2
Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00
sdb : block size assumed to be 512 bytes, disk size 1GB.
sdb: I/O error: dev 08:10, sector 0
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
I/O error: dev 08:10, sector 0
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
I/O error: dev 08:10, sector 2097144
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
I/O error: dev 08:10, sector 2097144
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
I/O error: dev 08:10, sector 0
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
I/O error: dev 08:10, sector 0
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
lost async page write due to I/O error on 08:10
unable to read partition table
Device not ready. Make sure there is a disc in the drive.
I/O error: dev 08:10, sector 0
Device not ready. Make sure there is a disc in the drive.
I've tried the disc again and I thought I'd gotten somewhere, I plugged it in looked a dmesg and was hopefull. I tried to mount it and the console hung and then the usb drive got switched off (the light on it went out). A little while later the console returned me to the prompt and a bit after that the usb stick got turned back on.
Here's my dmesg output:
hub.c: new USB device 00:03.2-5, assigned address 2
usb.c: USB device 2 (vend/prod 0x781/0x8185) is not claimed by any active driver.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: Generic Model: STORAGE DEVICE Rev: 1.25
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
SCSI device sda: 512000 512-byte hdwr sectors (262 MB)
sda: Write Protect is off
sda: sda1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered. <---------this was the output up until the point where I tried to mount the device
usb_control/bulk_msg: timeout
usb.c: USB disconnect on device 00:03.2-5 address 2
hub.c: new USB device 00:03.2-5, assigned address 3
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
usb-storage: host_reset() requested but not implemented
scsi: device set offline - command error recover failed: host 1 channel 0 id 0 lun 0
SCSI disk error : host 1 channel 0 id 0 lun 0 return code = 6050000
I/O error: dev 08:00, sector 0
I/O error: dev 08:01, sector 0
lost async page write due to I/O error on 08:01
lost async page write due to I/O error on 08:01
lost async page write due to I/O error on 08:01
lost async page write due to I/O error on 08:01
I/O error: dev 08:01, sector 64
lost async page write due to I/O error on 08:01
lost async page write due to I/O error on 08:01
lost async page write due to I/O error on 08:01
lost async page write due to I/O error on 08:01
lost async page write due to I/O error on 08:01
lost async page write due to I/O error on 08:01
lost async page write due to I/O error on 08:01
lost async page write due to I/O error on 08:01
Any thoughts?
Maybe I'll give up on SuSE and try something else.....
I have some problems when trying to mount a cruzer mini 256 MB using SuSE 8.2, but I've made some progress; maybe this can help:
When I insert the flash drive, the computer makes a sound and the drive's led turns on; for about two minutes, the system tries to recognize it, (I do nothing); then the light turns off and later the same first sound is heard: the system gave up. At that point, I type the following commands:
# modprobe -r usb-storage
# modprobe usb-storage
# exit
% mount /mnt/usb # I added this mount point in the /etc/fstab file
% cp something /mnt/usb
% ls /mnt/usb/dev/hda3 / reiserfs defaults 1 1
/dev/hda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=iso8859-1 0 0
/dev/hda2 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs noauto 0 0
/dev/cdrecorder /media/cdrecorder auto ro,noauto,user,exec 0 0
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
/dev/sda1 /mnt/usb ext3,vfat defaults,noauto,users 0 0
Of course this is not exactly the way the pen drive is suppoused to work, but this is better than not working at all. I'm still looking for a better solution.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.