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
 
LinkBack Search this Thread
Old 01-09-2006, 11:34 PM   #1
mykyl
Member
 
Registered: Aug 2003
Posts: 75

Rep: Reputation: 15
maxtor usb external hardrive issues


Having a problem mounting my external fat32 usb harddrive. hoping someone can help.
Running Mandriva 2006. In the control panel under hardware, it sees and describes the usb device. It shows that it's a maxtor one touch and I see the harddrive light every time I go in there.
It shows it under harddisk as sda. On the information side it shows the old device file as /dev/sda and the new devfs device as /dev/scsi/host0/bus0/target0/lun0/disc

I've created the /mnt/usb directory

I open a terminal and log in as root...then I run this command line:

mount -t msdos /dev/scsi/host0/bus0/target0/lun0/disc /mnt/usb and I get...
mount: /dev/scsi/host0/bus0/target0/lun0/disc: can't read superblock
but the light on the harddrive flashs so I know it's finding it's way there.
same thing happens with:
mount -t msdos /dev/sda /mnt/usb and it gives me:
mount: /dev/sda: can't read superblock

Any idea what the problem is? Any help would be appreciated.

Last edited by mykyl; 01-11-2006 at 01:00 PM.
 
Old 01-12-2006, 07:25 AM   #2
mykyl
Member
 
Registered: Aug 2003
Posts: 75

Original Poster
Rep: Reputation: 15
I did some searching and found to add into the fstab:

/dev/sda /mnt/usb vfat user,noauto,rw 0 0

It now appears under my desktop "devices" but it shows as unmounted in the properties. Couble click and it shows "can't read superblock"
 
Old 01-12-2006, 01:35 PM   #3
Matir
Moderator
 
Registered: Nov 2004
Location: Kennesaw, GA
Distribution: Ubuntu
Posts: 8,502

Rep: Reputation: 110Reputation: 110
You need to mount a partition of the device: i.e., /dev/sda1.
 
Old 10-29-2006, 03:44 AM   #4
wearetheborg
Member
 
Registered: Sep 2004
Distribution: Debian Lenny AMD64
Posts: 258

Rep: Reputation: 31
Quote:
Originally Posted by Matir
You need to mount a partition of the device: i.e., /dev/sda1.

I'm having the exact same problem.

I have incorporated all suggestions, yet problem persists.

USB HDD connected via PCMCIA card. Card is working (flash drive on it works).
HDD is 400GB partitioned into fat & ntfs.
I can mount it in SLED 10, under /dev/sdb5, /dev/sdb6.

The numbers should be the same in mandriva. I did
dmesg |grep -i "SCSI"
and under sdb, I had something like:
p1: <p5 p6>
Howevr when I try to mount it, terminal hangs for a long while and comes back with "cant read superblock"

I tried connecting HDD to inbuilt USB port on laptop, laptop would not even boot up, it hung up before the grub menu.

Here is what I'm getting under dmesg:
Code:
[root@localhost ~]# dmesg |grep -i "SCSI"
SCSI subsystem initialized
scsi0 : SCSI emulation for IEEE-1394 SBP-2 Devices
  Type:   Direct-Access                      ANSI SCSI revision: 06
SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
 /dev/scsi/host0/bus0/target0/lun0: p1
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
scsi1 : SCSI emulation for USB Mass Storage devices
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sdb: 781422768 512-byte hdwr sectors (400088 MB)
SCSI device sdb: 781422768 512-byte hdwr sectors (400088 MB)
 /dev/scsi/host1/bus0/target0/lun0:ip_tables: (C) 2000-2002 Netfilter core team
scsi: Device offlined - not ready after error recovery: host 1 channel 0 id 0 lun 0
SCSI error : <1 0 0 0> return code = 0x50000
scsi1 (0:0): rejecting I/O to offline device
scsi1 (0:0): rejecting I/O to offline device
scsi1 (0:0): rejecting I/O to offline device
scsi1 (0:0): rejecting I/O to offline device
scsi1 (0:0): rejecting I/O to offline device
scsi1 (0:0): rejecting I/O to offline device
scsi1 (0:0): rejecting I/O to offline device
Attached scsi disk sdb at scsi1, channel 0, id 0, lun 0
scsi2 : SCSI emulation for USB Mass Storage devices
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sdb: 781422768 512-byte hdwr sectors (400088 MB)
SCSI device sdb: 781422768 512-byte hdwr sectors (400088 MB)
 /dev/scsi/host2/bus0/target0/lun0: p1 < p5 p6 >
Attached scsi disk sdb at scsi2, channel 0, id 0, lun 0
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sdc: 3671546000 512-byte hdwr sectors (1879832 MB)
SCSI device sdc: 3671546000 512-byte hdwr sectors (1879832 MB)
 /dev/scsi/host2/bus0/target0/lun1: p1 < p5 >
Attached scsi disk sdc at scsi2, channel 0, id 0, lun 1
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sdd: 544809 512-byte hdwr sectors (279 MB)
SCSI device sdd: 544809 512-byte hdwr sectors (279 MB)
 /dev/scsi/host2/bus0/target0/lun2:<6>usb 6-2: reset high speed USB device using ehci_hcd and address 3
scsi: Device offlined - not ready after error recovery: host 2 channel 0 id 0 lun 2
SCSI error : <2 0 0 2> return code = 0x50000
scsi2 (0:2): rejecting I/O to offline device
scsi2 (0:2): rejecting I/O to offline device
scsi2 (0:2): rejecting I/O to offline device
scsi2 (0:2): rejecting I/O to offline device
Attached scsi disk sdd at scsi2, channel 0, id 0, lun 2
scsi: Device offlined - not ready after error recovery: host 2 channel 0 id 0 lun 0
SCSI error : <2 0 0 0> return code = 0x50000
scsi: Device offlined - not ready after error recovery: host 2 channel 0 id 0 lun 3
[root@localhost ~]#

Last edited by wearetheborg; 10-29-2006 at 03:48 AM.
 
Old 10-29-2006, 04:44 AM   #5
Panagiotis_IOA
Member
 
Registered: Jan 2006
Location: Hellas, Europe
Distribution: Slackware 12
Posts: 238

Rep: Reputation: 32
If I remember well you get "Can't read superblock" when some blocks of the partition(s) are damaged. What I suggest to do is to run "fdisk -l" to be 100% sure about sda* and then run "fsck" to check these partitions.
 
Old 10-29-2006, 02:40 PM   #6
wearetheborg
Member
 
Registered: Sep 2004
Distribution: Debian Lenny AMD64
Posts: 258

Rep: Reputation: 31
Here is what I'm getting

Code:
[root@localhost]# fsck /dev/sdb
fsck 1.38 (30-Jun-2005)
e2fsck 1.38 (30-Jun-2005)
fsck.ext2: No such device or address while trying to open /dev/sdb
Possibly non-existent or swap device ?
[root@localhost]# fsck /dev/sdb5
fsck 1.38 (30-Jun-2005)
fsck: fsck.vfat: not found
fsck: Error 2 while executing fsck.vfat for /dev/sdb5
[root@localhost]# fsck /dev/sdb6
fsck 1.38 (30-Jun-2005)
fsck: fsck.ntfs: not found
fsck: Error 2 while executing fsck.ntfs for /dev/sdb6
[root@localhost]#
Code:
[root@localhost]# dmesg |grep -i "SCSI"
SCSI subsystem initialized
scsi0 : SCSI emulation for USB Mass Storage devices
scsi1 : SCSI emulation for IEEE-1394 SBP-2 Devices
  Type:   Direct-Access                      ANSI SCSI revision: 06
SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
 /dev/scsi/host1/bus0/target0/lun0: p1
Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
scsi2 : SCSI emulation for IEEE-1394 SBP-2 Devices
  Type:   CD-ROM                             ANSI SCSI revision: 02
sr0: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
Attached scsi CD-ROM sr0 at scsi2, channel 0, id 0, lun 0
scsi: Device offlined - not ready after error recovery: host 0 channel 0 id 0 lun 0
scsi3 : SCSI emulation for USB Mass Storage devices
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sdb: 781422768 512-byte hdwr sectors (400088 MB)
SCSI device sdb: 781422768 512-byte hdwr sectors (400088 MB)
 /dev/scsi/host3/bus0/target0/lun0: p1 < p5 p6 >
Attached scsi disk sdb at scsi3, channel 0, id 0, lun 0
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sdc: 3671546000 512-byte hdwr sectors (1879832 MB)
SCSI device sdc: 3671546000 512-byte hdwr sectors (1879832 MB)
 /dev/scsi/host3/bus0/target0/lun1: p1 < p5 >
Attached scsi disk sdc at scsi3, channel 0, id 0, lun 1
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sdd: 544809 512-byte hdwr sectors (279 MB)
SCSI device sdd: 544809 512-byte hdwr sectors (279 MB)
 /dev/scsi/host3/bus0/target0/lun2:<6>NET: Registered protocol family 10
scsi: Device offlined - not ready after error recovery: host 3 channel 0 id 0 lun 2
SCSI error : <3 0 0 2> return code = 0x50000
scsi3 (0:2): rejecting I/O to offline device
scsi3 (0:2): rejecting I/O to offline device
scsi3 (0:2): rejecting I/O to offline device
scsi3 (0:2): rejecting I/O to offline device
Attached scsi disk sdd at scsi3, channel 0, id 0, lun 2
BTW, the external HDD works flawslessly on another laptop with SLED 10

Last edited by wearetheborg; 10-29-2006 at 02:59 PM.
 
Old 11-01-2006, 04:15 PM   #7
wearetheborg
Member
 
Registered: Sep 2004
Distribution: Debian Lenny AMD64
Posts: 258

Rep: Reputation: 31
Bump.............. Any help for the previos post ?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Maxtor Personal External USB HD not working mcgd Linux - Hardware 0 11-18-2005 06:16 AM
Suse 9.1 Pro / External USB Maxtor bitnerd Suse/Novell 1 07-10-2005 03:18 AM
Mounting an External Maxtor 120GB Hardrive cheetahman Suse/Novell 7 04-08-2005 03:09 PM
can't attach external USB Maxtor HD coontie Linux - Hardware 4 03-31-2005 01:49 PM
mandrake 10.1 installed on maxtor external usb hd larrynichols Linux - Hardware 1 02-12-2005 12:09 AM


All times are GMT -5. The time now is 11:41 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration