[Bug 61235] Re: USB mass storage stops working after a while

2007-04-16 Thread krull_der_zerstoerer
if i remove device after it hangs something is printed on stdout see attachment ** Attachment added: stdout errors http://librarian.launchpad.net/7337346/stdout.txt -- USB mass storage stops working after a while https://bugs.launchpad.net/bugs/61235 You received this bug notification

[Bug 61235] Re: USB mass storage stops working after a while

2007-04-10 Thread Scott James Remnant
** Changed in: udev (Ubuntu) Assignee: Scott James Remnant = (unassigned) -- USB mass storage stops working after a while https://bugs.launchpad.net/bugs/61235 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs

[Bug 61235] Re: USB mass storage stops working after a while

2007-03-20 Thread Ben Collins
** Changed in: linux-source-2.6.20 (Ubuntu) Assignee: (unassigned) = Ubuntu Kernel Team Status: Needs Info = Confirmed -- USB mass storage stops working after a while https://launchpad.net/bugs/61235 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 61235] Re: USB mass storage stops working after a while

2007-02-07 Thread taavi
I have this issue not only with a USB mass storage device but also with an Artec T14 DVB stick. I'm using the newest kernel from feisty repos. My issue is different from the description. My devices aren't recognized at all. -- USB mass storage stops working after a while

[Bug 61235] Re: USB mass storage stops working after a while

2007-02-07 Thread Ben Collins
** Changed in: linux-source-2.6.19 (Ubuntu) Status: Unconfirmed = Rejected -- USB mass storage stops working after a while https://launchpad.net/bugs/61235 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 61235] Re: USB mass storage stops working after a while

2007-01-05 Thread PetePete
I've been experiancing these problems, added the rule.. BUS==scsi, SYSFS{vendor}==RockChip, RUN+=/bin/sh -c '/bin/echo 128 /sys/block/%k/device/max_sectors' and it seems to be working fine (copied a 117mb file onto the disk, and read a 96mb file from the disk. -- USB mass storage stops

[Bug 61235] Re: USB mass storage stops working after a while

2007-01-05 Thread Gustavo Carneiro
I already tried that in the past and it made no difference. I think I must be stress-testing the USB disk a lot more than anyone else here. Try backing up your home directory to an USB disk using rdiff-backup! :) -- USB mass storage stops working after a while https://launchpad.net/bugs/61235

Re: [Bug 61235] Re: USB mass storage stops working after a while

2007-01-05 Thread John Dong
No, I don't think it's just stress; I regularly run an entire Ubuntu OS off my external 160GB for days and days of usage, including backports work, video encoding/copying/transcoding, backing up, you name it On Fri, 2007-01-05 at 22:24 +, Gustavo Carneiro wrote: I already tried that in

[Bug 61235] Re: USB mass storage stops working after a while

2007-01-03 Thread Gustavo Carneiro
Tested against 2.6.20-3; problem remains. :-( -- USB mass storage stops working after a while https://launchpad.net/bugs/61235 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 61235] Re: USB mass storage stops working after a while

2006-12-16 Thread Ben Collins
Please retest against 2.6.20-2 when it is available in the feisty archive. ** Changed in: linux-source-2.6.19 (Ubuntu) Sourcepackagename: linux-source-2.6.19 = linux-source-2.6.20 Status: Confirmed = Needs Info -- USB mass storage stops working after a while

[Bug 61235] Re: USB mass storage stops working after a while

2006-12-05 Thread Scott James Remnant
Could people running feisty try this rule instead: SUBSYSTEM==block, SUBSYSTEMS==scsi, ATTRS{vendor}==RockChip, ATTR{max_sectors}=128 (Note that the use of plural vs singular and == vs = is deliberate) -- USB mass storage stops working after a while https://launchpad.net/bugs/61235 --

[Bug 61235] Re: USB mass storage stops working after a while

2006-10-16 Thread Gustavo Carneiro
A few days back I did a test for the external USB disk, which failed in the middle of a backup as usual. Without rebooting, today I inserted a simple USB flash disk, and it doesn't work: [172878.782917] usb 3-5: new high speed USB device using ehci_hcd and address 7 [172885.168523] usb 3-5:

[Bug 61235] Re: USB mass storage stops working after a while

2006-10-12 Thread Scott James Remnant
What does this sysfs attribute do? limit the size of the disk? ** Changed in: udev (Ubuntu) Importance: Undecided = Wishlist Assignee: (unassigned) = Scott James Remnant Status: Unconfirmed = Needs Info -- USB mass storage stops working after a while

[Bug 61235] Re: USB mass storage stops working after a while

2006-10-12 Thread Gustavo Carneiro
I should point out that max_sectors = 128 doesn't solve my problem at all, so it is certainly not the solution to _this_ bug; maybe it fixes the other bug which was marked as dup of this one, maybe they're not the same bug after all... -- USB mass storage stops working after a while

[Bug 61235] Re: USB mass storage stops working after a while

2006-10-12 Thread John Dong
http://www.linux-usb.org/FAQ.html#i5 For USB Mass Storage devices (that is, devices which use the usb- storage driver) max_sectors controls the maximum amount of data that will be transferred to or from the device in a single command. -- USB mass storage stops working after a while

[Bug 61235] Re: USB mass storage stops working after a while

2006-10-11 Thread Ben Collins
** Changed in: linux-source-2.6.17 (Ubuntu) Status: Confirmed = Fix Committed -- USB mass storage stops working after a while https://launchpad.net/bugs/61235 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 61235] Re: USB mass storage stops working after a while

2006-10-11 Thread John Dong
Unfortunately, GO_SLOW does not fix it. It needs max_sectors to be set to 128. This should either be done in the kernel or userspace. I understand that one class of USB mass storage controllers (the genesis series?) get max_sectors=64 set automagically. This device needs the same workaround

[Bug 61235] Re: USB mass storage stops working after a while

2006-10-11 Thread John Dong
The following udev rule fixes the bug for me. It's currently the best way I've found to set max_sectors from udev (for some reason SYSFS{max_sectors}=128 does nothing) BUS==scsi, SYSFS{vendor}==RockChip, RUN+=/bin/sh -c '/bin/echo 128 /sys/block/%k/device/max_sectors' -- USB mass storage stops

[Bug 61235] Re: USB mass storage stops working after a while

2006-09-26 Thread Gustavo Carneiro
Your trick of setting max_sectors to 128 didn't work for me; same problem as before.. -- USB mass storage stops working after a while https://launchpad.net/bugs/61235 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 61235] Re: USB mass storage stops working after a while

2006-09-26 Thread Gustavo Carneiro
dmesg output again: [42466.244022] EXT3 FS on sda2, internal journal [42466.244085] EXT3-fs: mounted filesystem with ordered data mode. [42861.724469] usb 3-3: reset high speed USB device using ehci_hcd and address 2 [42867.492402] usb 3-3: device not accepting address 2, error -110

[Bug 61235] Re: USB mass storage stops working after a while

2006-09-25 Thread John Dong
I did some more testing on this last night, and it seems like max_sectors is OK up to 128, but going any higher causes the device to disconnect. after some more investigation, it appears like 128 matches Windows XP's behavior, which explains why Windows doesn't bork on transfers. The kernel

[Bug 61235] Re: USB mass storage stops working after a while

2006-09-25 Thread John Dong
Ben, here's the lsusb output for my device. It's the Domain Technologies one. As far as the original bug reporter, I'm guessing he'll need to provide his lsusb, too. ** Attachment added: lsusb output http://librarian.launchpad.net/4439277/lsusb.out -- USB mass storage stops working after

[Bug 61235] Re: USB mass storage stops working after a while

2006-09-24 Thread John Dong
http://paste.ubuntu-nl.org/24737 A pastebin of what I see... The connection was stable until I tried to copy a 5MB file into the MP3 player. -- USB mass storage stops working after a while https://launchpad.net/bugs/61235 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 61235] Re: USB mass storage stops working after a while

2006-09-24 Thread John Dong
UPDATE: Setting max_sectors in /sys/block/sdb/device to 32 (default 240), in an attempt to throttle speed, fixes this issue... So it must be that the problem is triggered by writing to the USB device too fast? Maybe the kernel should have some sort of throttling mechanism. -- USB mass storage

[Bug 61235] Re: USB mass storage stops working after a while

2006-09-19 Thread Gustavo Carneiro
** Attachment added: output of lspci (-n, -t, and plain) http://librarian.launchpad.net/4311201/lspci.out -- USB mass storage stops working after a while https://launchpad.net/bugs/61235 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 61235] Re: USB mass storage stops working after a while

2006-09-19 Thread Gustavo Carneiro
About this part: [37974.978380] 0:0:0:0: rejecting I/O to dead device [37974.978383] Buffer I/O error on device sda2, logical block 0 [37974.978385] lost page write due to I/O error on sda2 [38055.734000] usb 3-3: new high speed USB device using ehci_hcd and address 7 [38061.499838] usb 3-3:

[Bug 61235] Re: USB mass storage stops working after a while

2006-09-19 Thread John Dong
I can confirm this happening on two Centrino Duo laptops. The problem is quite fascinating in my testing: (fascinating meaning that the ubuntu kernel team should probably reach for aspirin before reading on) (1) It happens only when certain USB mass storage devices AND certain USB controllers are

<    1   2