Re: [gentoo-user] USB mass storage - WD My Book

2006-11-12 Thread David Relson
You might also consider upgrading your kernel to 2.6.18.

I use BackupPC with an external USB HD.  With the 2.6.17 the usb
subsystem would choke before a full backup would complete.  By choke
I mean that 'ps' would show a 'D' state for all USB related processes.
Once the USB subsystem had choked, a command as simple as
'ls /mnt/usbhd' would result in another process hung in 'D' state.  

I've upgraded to 2.6.18 and it's doing much better, though its USB
support is not yet totally solid.

HTH,

David
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] USB mass storage - WD My Book

2006-11-06 Thread Adrian

Greetings.  Wondering if anyone can help me out on this.  I got a
Western Digital My Book, 500G -- and it's not happy with my main
computer.

I tried it on a Windows system and my other computer, running 2.6.17-r8,
and it's happy there.  So the drive is working.  However on this
box, running 2.6.12-r6 I get the messages below from dmesg.

I should mention that I can not mount the drive on the 2.6.12 box, but
it mounts fine on the 2.6.17 system.  The error messages start shorty
(a minute or so) after plugging the device in and doing nothing else.
If I try to mount it:


Mon Nov 06 22:18:38
~
 root $  mount /dev/sda /mnt/500G/
mount: you must specify the filesystem type

Mon Nov 06 22:20:39
~
 root $  mount /dev/sda /mnt/500G/ -t vfat
mount: special device /dev/sda does not exist

--- 
 root $  cat /proc/partitions
major minor  #blocks  name

   3 0  120060864 hda
   3 1   13671976 hda1
   3 2   13672008 hda2
   3 3   13672008 hda3
   3 4  1 hda4
   3 5   13671976 hda5
   3 6 976720 hda6
   3 7   64396048 hda7
  33 0  293057352 hde
  33 1 489951 hde1
  33 2  1 hde2
  33 5 979933 hde5
  33 65855661 hde6
  33 7   11719386 hde7
  33 87815591 hde8
  33 9  266188986 hde9
  34 0  160086528 hdg
  34 1  160079661 hdg1
   8 0  488386584 sda
   8 1  488375968 sda1
-


I mention kernel versions as that is my first guess about the problem.
I'm currently compiling 2.6.17-r8 for this box to see if that makes any
difference.  I might be barking up the wrong tree however.

I've also done a bit of googleing for that error message, nothing
helpful there.

This computer works fine with 2G and 6G usb memory sticks, also works
fine with my ipod, and I've used a digital camera -- thus I know
that usb works in general.

As always, any assistance is greatly appreciated.
Adrian

error message --

usb 1-6: new high speed USB device using ehci_hcd and address 24
scsi7 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 24
usb-storage: waiting for device to settle before scanning
  Vendor: WDModel: 5000YS External   Rev: 101a
  Type:   Direct-Access  ANSI SCSI revision: 04
SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
sda: assuming drive cache: write through
SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
sda: assuming drive cache: write through
 sda: sda1
Attached scsi disk sda at scsi7, channel 0, id 0, lun 0
usb 1-6: reset high speed USB device using ehci_hcd and address 24
usb 1-6: device descriptor read/64, error -110
usb 1-6: device descriptor read/64, error -110
usb 1-6: reset high speed USB device using ehci_hcd and address 24
usb 1-6: device descriptor read/64, error -110
usb 1-6: device descriptor read/64, error -110
usb 1-6: reset high speed USB device using ehci_hcd and address 24
usb 1-6: device descriptor read/8, error -110
usb 1-6: device descriptor read/8, error -110
usb 1-6: reset high speed USB device using ehci_hcd and address 24
usb 1-6: device descriptor read/8, error -110
usb 1-6: device descriptor read/8, error -110
scsi: Device offlined - not ready after error recovery: host 7 channel
0 id 0 lun 0 scsi7 (0:0): rejecting I/O to offline device
printk: 522 messages suppressed.
Buffer I/O error on device sda1, logical block 976751744
Buffer I/O error on device sda1, logical block 976751745
Buffer I/O error on device sda1, logical block 976751746
Buffer I/O error on device sda1, logical block 976751747
Buffer I/O error on device sda1, logical block 976751748
Buffer I/O error on device sda1, logical block 976751749
Buffer I/O error on device sda1, logical block 976751750
Buffer I/O error on device sda1, logical block 976751751
usb 1-6: USB disconnect, address 24
scsi7 (0:0): rejecting I/O to offline device
scsi7 (0:0): rejecting I/O to offline device
scsi7 (0:0): rejecting I/O to offline device
Buffer I/O error on device sda1, logical block 976751744
Buffer I/O error on device sda1, logical block 976751745
scsi7 (0:0): rejecting I/O to offline device
scsi7 (0:0): rejecting I/O to offline device
scsi7 (0:0): rejecting I/O to offline device
scsi7 (0:0): rejecting I/O to offline device
scsi7 (0:0): rejecting I/O to offline device
scsi7 (0:0): rejecting I/O to offline device
scsi7 (0:0): rejecting I/O to offline device
scsi7 (0:0): rejecting I/O to offline device
scsi7 (0:0): rejecting I/O to offline device
scsi7 (0:0): rejecting I/O to offline device
scsi7 (0:0): rejecting I/O to offline device
scsi7 (0:0): rejecting I/O to offline device
scsi7 (0:0): rejecting I/O to offline device
scsi7 (0:0): rejecting I/O to offline device
scsi7 (0:0): rejecting I/O to offline device
scsi7 (0:0): rejecting I/O to offline device
scsi7 (0:0): rejecting I/O to offline device
scsi7 (0:0): rejecting I/O to offline device
scsi7 

Re: [gentoo-user] USB mass storage - WD My Book

2006-11-06 Thread Novensiles divi Flamen
On Tuesday 07 November 2006 12:22, Adrian wrote:
 
 Mon Nov 06 22:18:38
 ~
  root $  mount /dev/sda /mnt/500G/
 mount: you must specify the filesystem type

 Mon Nov 06 22:20:39
 ~
  root $  mount /dev/sda /mnt/500G/ -t vfat
 mount: special device /dev/sda does not exist


8 0  488386584 sda
8 1  488375968 sda1
 -

try mounting /dev/sda1

- Noven
-- 
-- Novensiles divi Flamen --
 Miles Militis Fons 


pgpNsZnTeZPAo.pgp
Description: PGP signature


Re: [gentoo-user] USB mass storage - WD My Book

2006-11-06 Thread Adrian
On Tue, 7 Nov 2006 11:43:18 +0700
Novensiles divi Flamen [EMAIL PROTECTED] wrote the words:

 On Tuesday 07 November 2006 12:22, Adrian wrote:
  
  Mon Nov 06 22:18:38
  ~
   root $  mount /dev/sda /mnt/500G/
  mount: you must specify the filesystem type
 
  Mon Nov 06 22:20:39
  ~
   root $  mount /dev/sda /mnt/500G/ -t vfat
  mount: special device /dev/sda does not exist
 
 
 8 0  488386584 sda
 8 1  488375968 sda1
  -
 
 try mounting /dev/sda1
 
 - Noven
 -- 
 -- Novensiles divi Flamen --
  Miles Militis Fons 

---
Mon Nov 06 22:21:41
~
 root $  mount /dev/sda1 /mnt/500G/
mount: you must specify the filesystem type

Mon Nov 06 23:45:07
~
 root $  mount /dev/sda1 /mnt/500G/ -t vfat
mount: special device /dev/sda1 does not exist


Good thought however.  Thank you.  A


-- 
On The Fly Photography -:- Creation From Chaos

On The Fly Photography:  http://204EastSouth.com
Purchase from On The Fly:  http://204EastSouth.com/OTFStore.htm
The Cynical Libertarian Society:  http://www.204EastSouth.com/cls

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB mass storage - WD My Book

2006-11-06 Thread Novensiles divi Flamen
  On Tuesday 07 November 2006 12:22, Adrian wrote:

 ---
 Mon Nov 06 22:21:41
 ~
  root $  mount /dev/sda1 /mnt/500G/
 mount: you must specify the filesystem type

 Mon Nov 06 23:45:07
 ~
  root $  mount /dev/sda1 /mnt/500G/ -t vfat
 mount: special device /dev/sda1 does not exist
 

 Good thought however.  Thank you.  A

Okay, at least the simle one is out of the way. I would suggest either kernel 
version or the built modules are your problem. You are already trying updated 
kernel version, maybe that will do it. If not stick it in the working 
computer and do an 'lsmod'. Identify which modules are used by the device. 
Then make sure those modules are built and loaded on the non-working system.

usb 1-6: device descriptor read/8, error -110
scsi: Device offlined - not ready after error recovery: host 7 channel
0 id 0 lun 0 scsi7 (0:0): rejecting I/O to offline device
printk: 522 messages suppressed.
Buffer I/O error on device sda1, logical block 976751744
Buffer I/O error on device sda1, logical block 976751745

seems like the error that matters. Check the kernel SCSI config, compare it 
with the working computer.

- Noven
-- 
-- Novensiles divi Flamen --
 Miles Militis Fons 


pgptFk4RaYOBI.pgp
Description: PGP signature