tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bus_dmamap_sync() for uhci(4)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Jun 14, 2008, at 08:32, Manuel Bouyer wrote:
On Sat, Jun 14, 2008 at 10:46:41AM +0900, Izumi Tsutsui wrote:
bouyer%antioche.eu.org@localhost wrote:

AFAIK it's there, line 2658. I see it it the patch I posted too ...
Or did you mean something else ?

Ah, maybe I checked a wrong file or lines. Sorry for noise.

Anyway I'll test it on cobalt with later..

thanks !
Here's my latest patch. In addition to the previous, it fixes a possible
race between the controller and host when removing TDs from a queue.
With this, my test on umodem has been running for more than 36 hours
without issues, where it would hit a "host controller process error" within
max. 12 hours before. I'll let it running until monday.

Here's what it did on my O2:
- - the USB-IDE bridge was occasionally identified as full speed device but it's high speed, usually when booting cold with the disk plugged in. Unplugging it and plugging it into a different port usually got it attached to ehci. - - the disk survived half an hour bonnie++ on both ehci and uhci without any errors from the kernel, so you fixed at least the HBA errors.
Writes are still screwy though:
- - newfs fails to create a root directory on both ehci and uhci. fsck created it when forced to check the filesystem - - interrupting bonnie++, unmounting and running fsck -f yields many, many errors while fsck claims the filesystem is clean. Running fsck - f again still gives errors, even when the filesystem was mounted with - -o sync or -o softdep and fsck claimed to have fixed all errors. I think it's USB-related because the O2's SCSI disks show no such behaviour - everything works fine there.

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBSFWNj8pnzkX8Yg2nAQIK2wf9E7alGIq6fDz+fWaypP8bg0ydOFLjsIcf
K2Nz7WsYBRgQ1/zZKRD9zLVZ4A+tGrNBbHTvFdYAI52a2nvFfx/xHpuIHkd9CtB/
BqiSLagbxsuBTmf6k2HWvldkYVMWRTRKVddunHtSh8pV4oemzuw8nKSriCPH7Fmk
Z346++z794XmIplASGb5v3EsRmqgzk5by3hsK/t4sDIDjDjuC4r+xBMxj0McGitP
HbjVb0s4ynbgPM+nDM9gaBTGnvk8E69E4tbfoZQYwvIh3XZtYeFVVJA46XGKNr2e
Vb2bhk4cT1Fs4s8Re6AEIBjDx/SEiSkMOJ1jxwjLd+sq/51Be5DW1w==
=TX2K
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index