Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Hi, i'm having trouble mounting a pendrive in ubuntu 8.04. When i plug it in i get these message when i use the dmesg command. Does anyone have any idea how i can access the usb driver?? Thanks in advanced.
Code:
[ 73.144825] usb 5-8: new high speed USB device using ehci_hcd and address 3
[ 73.663323] usb 5-8: device not accepting address 3, error -71
[ 73.779006] usb 5-8: new high speed USB device using ehci_hcd and address 4
[ 73.911653] usb 5-8: configuration #1 chosen from 1 choice
[ 73.912243] scsi3 : SCSI emulation for USB Mass Storage devices
[ 73.912774] usb-storage: device found at 4
[ 73.912780] usb-storage: waiting for device to settle before scanning
[ 78.896428] usb-storage: device scan complete
[ 78.896921] scsi 3:0:0:0: Direct-Access Kode Flash Disk 4.00 PQ: 0 ANSI: 2
[ 78.904205] sd 3:0:0:0: [sdc] 996863 512-byte hardware sectors (510 MB)
[ 78.905117] sd 3:0:0:0: [sdc] Write Protect is off
[ 78.905123] sd 3:0:0:0: [sdc] Mode Sense: 00 00 00 00
[ 78.905127] sd 3:0:0:0: [sdc] Assuming drive cache: write through
[ 78.907478] sd 3:0:0:0: [sdc] 996863 512-byte hardware sectors (510 MB)
[ 78.908355] sd 3:0:0:0: [sdc] Write Protect is off
[ 78.908362] sd 3:0:0:0: [sdc] Mode Sense: 00 00 00 00
[ 78.908365] sd 3:0:0:0: [sdc] Assuming drive cache: write through
[ 78.908374] sdc: unknown partition table
[ 78.912654] sd 3:0:0:0: [sdc] Attached SCSI removable disk
[ 78.912741] sd 3:0:0:0: Attached scsi generic sg3 type 0
Is it just a standard USB flash drive ? or is it one of those 'U3' drives ?
Looks like Linux doesn't like the partition table on the flash device. if it's a standard flash disk you can repartition and reformat it. and it will probably work fine.
If it's a U3 flash drive then get the U3 removal software, and cleanse your drive of that junk.
No, it's not an U3 flash drive, it's just a normal pen drive. I was trying to recover the data from it. Do you think it can be managed?? Thanks for answering, if there is no way i guess i'll have to format it.
You could look at it with the file command:
sudo file -s /dev/sdc
You could look at it with fdisk to see if there is even a partition table:
sudo /sbin/fdisk -u /dev/sdc
If there was an mbr and it got wiped out, the first partition probably started on block 63. You can try attaching a loop device and if there is a partition starting there, you may be able to mount it:
sudo /sbin/losetup -fs /dev/sdc -o $((63*512))
This will respond with the loop device used such as loop0.
sudo file -s /dev/loop0
sudo mount -t vfat /dev/loop0 /mnt/mountpoint/
---
Also, there is a program called photorec that may be able to recover files from a device or image.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.