2004-01-30 11:23:52

by Markus Schaber

[permalink] [raw]
Subject: Errors with USB Disk

Hi,

I'm trying to use an USB Disk (IDE Disk in external USB Case), but
strange file system errors occurend and tools as dosfsck reproducably
hang.

kingfisher:/home/schabi# uname -a
Linux kingfisher 2.6.0 #1 Wed Dec 24 19:16:00 CET 2003 i686 GNU/Linux

kingfisher:/home/schabi# cat /proc/version
Linux version 2.6.0 (root@kingfisher) (gcc-Version 3.3.2 (Debian)) #1
Wed Dec 24 19:16:00 CET 2003

I attached a kernel log excerpt, it seems as there's a bug in the slab
allocater.

As I used 2.6.0, was there some work up to now (2.6.2rc2) in this area
so I should test using this newer kernel again?

I'm willing to do some debug work and run tests if you tell me what to
do, but I have very limited kernel developer knowledge.

Thanks,
Markus
--
markus schaber | dipl. informatiker
logi-track ag | rennweg 14-16 | ch 8001 z?rich
phone +41-43-888 62 52 | fax +41-43-888 62 53
mailto:[email protected] | http://www.logi-track.com


Attachments:
bulgog.txt (6.25 kB)

2004-01-30 11:48:30

by Michael Knigge

[permalink] [raw]
Subject: Re: Errors with USB Disk


> I'm trying to use an USB Disk (IDE Disk in external USB Case), but
> strange file system errors occurend and tools as dosfsck reproducably
> hang.

Try/Read this:

http://www.mail-archive.com/[email protected]/msg
18528.html


On my System, changing max_sectors to 128 doesn't help reliably. I'm
currently testing if 64/32/16/8 will work better.


Bye
Michael



2004-01-30 13:42:15

by Markus Schaber

[permalink] [raw]
Subject: Re: Errors with USB Disk

Hi, Michael,

On Fri, 30 Jan 2004 11:44:43 GMT
Michael Knigge <[email protected]> wrote:

> > I'm trying to use an USB Disk (IDE Disk in external USB Case), but
> > strange file system errors occurend and tools as dosfsck
> > reproducably hang.
>
> Try/Read this:
>
> http://www.mail-archive.com/[email protected]/msg
> 18528.html
>
> On my System, changing max_sectors to 128 doesn't help reliably. I'm
> currently testing if 64/32/16/8 will work better.

Thanks a log, we'll try this on our machines.

Yours,
Markus
--
markus schaber | dipl. informatiker
logi-track ag | rennweg 14-16 | ch 8001 z?rich
phone +41-43-888 62 52 | fax +41-43-888 62 53
mailto:[email protected] | http://www.logi-track.com

2004-01-30 16:59:02

by Martin Bogomolni

[permalink] [raw]
Subject: Re: Errors with USB Disk


Michael, Markus, Et. Al.

We are seeing the same problem ( USB hangs ) on 2.4.24 and 2.4.25-pre7 w/ the
patches submitted by Oliver and Alan S. We're copying about 15GiB of data
between an IDE and USB drive, and see the hang occur somewhere in the first
1GiB of data transferred.

Changing max_sectors to 128/64/32/16/8 in the scsiglue.c doesn't make any
difference as far as stability goes. Unfortunately, once the system locks up,
it ceases responding even to the SysCtl hack.

I'm in the process of performing tests on various platforms and verbose
logging usb_storage via serial console. As soon as I have some results I will
be posting them to the linux-usb-devel list.

Martin

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAGAwugZQNxll+EIcRAi5QAJwPVaycmtXpTpfRlO+1BJaQUSbEwQCgltX6
qQ1ruCegNDc+w82h9iPT+Zc=
=FTcP
-----END PGP SIGNATURE-----

2004-01-30 19:18:58

by Greg KH

[permalink] [raw]
Subject: Re: Errors with USB Disk

On Fri, Jan 30, 2004 at 12:23:24PM +0100, Markus Schaber wrote:
> Hi,
>
> I'm trying to use an USB Disk (IDE Disk in external USB Case), but
> strange file system errors occurend and tools as dosfsck reproducably
> hang.
>
> kingfisher:/home/schabi# uname -a
> Linux kingfisher 2.6.0 #1 Wed Dec 24 19:16:00 CET 2003 i686 GNU/Linux

Please try 2.6.1 at the least, and if you can 2.6.2-rc2. There's been a
lot of cleanups and minor fixes in the USB and scsi area in those
kernels.

thanks,

greg k-h