On 5/26/05, Hans-Werner Hilse <[EMAIL PROTECTED]> wrote:
> > I've got an external USB 2.0 HD with two fat32 partitions (I have to
> > use fat32 to make them work with windows). What troubles with me with
> > drive is that in windows I get the expected transfer speed, but in
> > linux it just won't get faster than 1Mb/s.
> 
> Do you use the usb-storage driver or the usb block device drive (which
> mentions things like "slow" and "cpu-hungry" and "unstable" in the
> kernel config option's help page)? Could you C&P the relevant parts
> from the kernel logs when the drivers are loaded (USB host adapter and
> device)?

Here's the kernel log message:
May 27 01:51:06 rpc-jd224 usb 4-4: new high speed USB device using
ehci_hcd and address 6
May 27 01:51:06 rpc-jd224 uba: device 6 capacity nsec 312581808 bsize 512
May 27 01:51:06 rpc-jd224 uba: device 6 capacity nsec 312581808 bsize 512
May 27 01:51:06 rpc-jd224 uba: uba1 uba2

The drive's entry in fstab (i'm using udev to get /dev/externalhd2):
/dev/externalhd2        /mnt/externalhd vfat           
noauto,noatime,rw,users 0 0

That's the relevant usb section of /usr/src/linux/.config:
CONFIG_USB=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_EHCI_ROOT_HUB_TT=y
CONFIG_USB_OHCI_HCD=m
CONFIG_USB_UHCI_HCD=m
CONFIG_USB_STORAGE=m
CONFIG_USB_STORAGE_RW_DETECT=y

I don't exactly know which block device drivers you're talking about.
Are you sure that they're available in 2.6.10?

The modules that are currently loaded (after using the external drive):
ohci_hcd               19656  0
rtc                    10440  0
nls_iso8859_1           3776  1
nls_cp437               5376  1
vfat                   11520  1
fat                    36576  1 vfat
ath_pci                52576  0
ath_rate_onoe           6856  1 ath_pci
wlan                  107484  3 ath_pci,ath_rate_onoe
ath_hal               131280  2 ath_pci
ub                     15132  2
yenta_socket           19200  0
pcmcia_core            45388  1 yenta_socket
ehci_hcd               28164  0
uhci_hcd               30672  0

I still don't see much of a reason why the drive should be so slow,
and neither why the kernel should use 100% cpu.

Any help is appreciated,
Jan

-- 
gentoo-user@gentoo.org mailing list

Reply via email to