SUSE / openSUSEThis Forum is for the discussion of Suse 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.
I recently installed Suse 10rc1. Everything works fine, but i am having a transfer rate problem with my USB stick. It is an LG 1GB stick, and it worked flawlessly in Suse 9.3. However, in the newer version, it seems that my transfer rate is limited to about 95KB/s. What can i do to get the transfer speed back up to normal?
Have a look at the output of dmesg after you plugged in the drive. There you should see which driver is used. This should be ehci-hcd. If it is uhci-hcd, it runs with the USB1 protocol. In a previous SUSE version it was sometimes necessary to load the ehci driver first during boot, to allow proper use of USB2 devices. Have a look here: http://portal.suse.com/sdb/en/2004/01/USB_2_0.html
Thanks for the reply. I'm not really sure what i'm looking at, but here's the last bit of dmesg that appears to pertain to the USB stick
Quote:
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
sda: sda1
usb 4-5: USB disconnect, address 5
usb 4-5: new high speed USB device using ehci_hcd and address 6
scsi3 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 6
usb-storage: waiting for device to settle before scanning
Vendor: LG Model: USB Drive Rev: 2.00
Type: Direct-Access ANSI SCSI revision: 02
sda: Unit Not Ready, sense:
: Current: sense key: Unit Attention
Additional sense: Not ready to ready change, medium may have changed
sda : READ CAPACITY failed.
sda : status=1, message=00, host=0, driver=08
sd: Current: sense key: Unit Attention
Additional sense: Not ready to ready change, medium may have changed
sda: test WP failed, assume Write Enabled
sda: assuming drive cache: write through
sda: Unit Not Ready, sense:
: Current: sense key: Unit Attention
Additional sense: Not ready to ready change, medium may have changed
sda : READ CAPACITY failed.
sda : status=1, message=00, host=0, driver=08
sd: Current: sense key: Unit Attention
Additional sense: Not ready to ready change, medium may have changed
sda: test WP failed, assume Write Enabled
sda: assuming drive cache: write through
sda: Unit Not Ready, sense:
: Current: sense key: Unit Attention
Additional sense: Not ready to ready change, medium may have changed
sda : READ CAPACITY failed.
sda : status=1, message=00, host=0, driver=08
sd: Current: sense key: Unit Attention
Additional sense: Not ready to ready change, medium may have changed
sda: test WP failed, assume Write Enabled
sda: assuming drive cache: write through
sda:end_request: I/O error, dev sda, sector 0
printk: 9 messages suppressed.
Buffer I/O error on device sda, logical block 0
Buffer I/O error on device sda, logical block 0
Buffer I/O error on device sda, logical block 0
unable to read partition table
Attached scsi removable disk sda at scsi3, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi3, channel 0, id 0, lun 0, type 0
usb-storage: device scan complete
sda: Unit Not Ready, sense:
: Current: sense key: Unit Attention
Additional sense: Not ready to ready change, medium may have changed
sda : READ CAPACITY failed.
sda : status=1, message=00, host=0, driver=08
sd: Current: sense key: Unit Attention
Additional sense: Not ready to ready change, medium may have changed
sda: test WP failed, assume Write Enabled
sda: assuming drive cache: write through
sda: Unit Not Ready, sense:
: Current: sense key: Unit Attention
Additional sense: Not ready to ready change, medium may have changed
sda : READ CAPACITY failed.
sda : status=1, message=00, host=0, driver=08
sd: Current: sense key: Unit Attention
Additional sense: Not ready to ready change, medium may have changed
sda: test WP failed, assume Write Enabled
sda: assuming drive cache: write through
sda:end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
Buffer I/O error on device sda, logical block 0
Buffer I/O error on device sda, logical block 0
unable to read partition table
Buffer I/O error on device sda, logical block 0
Buffer I/O error on device sda, logical block 1
Buffer I/O error on device sda, logical block 2
Buffer I/O error on device sda, logical block 3
sda: Unit Not Ready, sense:
: Current: sense key: Unit Attention
Additional sense: Not ready to ready change, medium may have changed
sda : READ CAPACITY failed.
sda : status=1, message=00, host=0, driver=08
sd: Current: sense key: Unit Attention
Additional sense: Not ready to ready change, medium may have changed
sda: test WP failed, assume Write Enabled
sda: assuming drive cache: write through
sda: Unit Not Ready, sense:
: Current: sense key: Unit Attention
Additional sense: Not ready to ready change, medium may have changed
sda : READ CAPACITY failed.
sda : status=1, message=00, host=0, driver=08
sd: Current: sense key: Unit Attention
Additional sense: Not ready to ready change, medium may have changed
sda: test WP failed, assume Write Enabled
sda: assuming drive cache: write through
sda:end_request: I/O error, dev sda, sector 0
unable to read partition table
SCSI device sda: 2045440 512-byte hdwr sectors (1047 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 2045440 512-byte hdwr sectors (1047 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
sda: sda1
i also ran lsmod to check loaded modules. I do see ehci_hcd, but in the "used by" column, there isa 0.
Iwill look at the link you post as well, but based on the info here, do you see anything out of place?
Here's the deal, new kernels now include syncronized writing by default on usb devices. You can disable it and regain your speed like this:
Quote:
If writing to USB storage devices like USB sticks or USB hard drive is
rather slow or if you do not want synchronized writing to these devices,
disable the sync mount option.
1.
Create the directory /usr/share/hal/fdi/policy/95userpolicy:
mkdir -p /usr/share/hal/fdi/policy/95userpolicy/
2.
Create a file with the name nosync.fdi and the following contents:
vi /usr/share/hal/fdi/policy/95userpolicy/nosync.fdi
3.
Adjust the line <match key="volume.uuid" string="==UUID=="> according to
your hardware. Run 'lshal' to retrieve the "volume.uuid" and enter this id
instead of ==UUID==
4.
Finally restart the HAL service with
rchal restart
havent tried it yet, but on the bug report, people have claimed this works fine.
Cool!
But one question: Doesn't disabling sync require extra care to unmount the drive before removing it? And does this go well with submount? I remember that there is no 'unmount' button available for subfs mounted drives. At least I know a couple of threads where people where confused about the best way to remove a USB drive on submount systems. Any idea/comments about this?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.