Last week my ZFS cache device — an USB memory stick — showed xxxM write errors. I got this stick for free as a promo, so I do not expect it to be of high quality (or wear-leveling or similar life-saving things). The stick survived about 9 months, during which it provided a nice speed-up for the access to the corresponding ZFS storage pool. I replaced it by another stick which I got for free as a promo. This new stick survived… one long weekend. It has now 8xxM write errors and the USB subsystem is not able to speak to it anymore. 30 minutes ago I issued an “usbconfig reset” to this device, which is still not finished. This leads me to the question if such sticks are really that bad, or if some problem crept into the USB subsystem?
If this is a problem with the memory stick itself, I should be able to reproduce such a problem on a different machine with a different OS. I could test this with FreeBSD 8.1, Solaris 10u9, or Windows XP. What I need is an automated test. This rules out the Windows XP machine for me, I do not want to spend time to search a suitable test which is available for free and allows to be run in an automated way. For FreeBSD and Solaris it probably comes down to use some disk-I/O benchmark (I think there are enough to chose from in the FreeBSD Ports Collection) and run it in a shell-loop.
GD Star Rating
loading…
GD Star Rating
loading…
Tags: 30 minutes,
9 months,
benchmark,
cache memory,
freebsd ports collection,
shell,
storage pool,
suitable test,
usb memory stick,
windows xp —
I had a look at some USB PRs and wrote a list of those with patches to Warner (as he is working on USB stuff currently). I also categorized them (easy, not easy, maybe already fixed, …). The easy ones he handled already, for the rest I don’t know his current plans.
Regarding linuxulator stuff I’m working on a MFC patch (no TLS, no futexes). As I don’t have a -stable box I need some help testing it before I can commit it. I only compile tested this on –current with the new gcc 4.2. What I need is:
- testing on i386, amd64 (if I forgot something, it may panic your system)
- “make universe” test (you have to grep all the logs for “Error 1″ and investigate the error if there’s one)
- LTP test run, see the wiki for more (best would be a diff of the logs in the result directory of no-patch/patch runs)
- normal linux application use-tests
What the patch provides is:
- mmap fixes
- fix memleaks
- add mprotect/iopl/lstat/ftruncate/statfs64/timer_*/mq_*
- more errno value mapping
- don’t limit number of syscalls to 255
- allow to exec libs
- ioctl TIOCGPTN
- handle more socket options
- de-COMPAT_43-ify
- add dummy syscalls so that we know what is needed (reports from users)
- style(9)
- linprocfs enhancements
GD Star Rating
loading…
GD Star Rating
loading…
Tags: amd64,
compat,
enhancements,
errno value,
freebsd work,
gcc,
linux application,
lstat,
prs,
socket options —
I did shoot down some USB related PR’s today. We have now support for more devices in uscanner, umodem and one new PDA in uvisor. Additionally all people which use the controller of a XBOX 360 will now notice that the LEDs on them stop blinking, when the uhid driver attaches to it (like on the XBOX 360).
This affects -current and -stable.
GD Star Rating
loading…
GD Star Rating
loading…
Tags: leds,
pda,
xbox,
xbox 360 —