[Nut-upsdev] ETIME on FreeBSD
Alexey Loukianov
mooroon2 at mail.ru
Sun Jan 24 08:39:04 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
17.01.2010 07:20, Alexey Loukianov wrote:
> 17.01.2010 06:54, Charles Lepple wrote:
>> I guess I'm curious as to the source of that error code - I didn't see
>> it in libusb, so is it coming from the Linux kernel?
> Yes, it happen to come from the linux kernel and its meaning in our case is
> "ioctl URB operation timed out". ETIME is defined in
> /usr/include/asm-generic/errno.h, and this file is from kernel-headers package.
>
Here is the additional information on ETIME and the hanged Ippon UPS.
I've been doing some extra tests with the Ippon Back Pro 700 device on the
Scientific Linux 4.8 and it turned out that it is typical for the SL4.8 kernel
to return ETIMEDOUT (-110) error instead of ETIME (-62) when trying to
communicate with the hanged device.
Looks like ETIME had appeared in the linux kernel some time between 2.6.9 and
2.6.26 and ETIMEDOUT was used for such error before the introduction of ETIME.
Now, back to the FreeBSD. I had finally read up the FreeBSD handbook to the very
end and I am almost ready to give the freebsd installation a chance. What
versions of the FreeBSD are considered to be "current" from the NUT perspective?
- --
Best regards,
Alexey Loukianov mailto:mooroon2 at mail.ru
System Engineer, Mob.:+7(926)218-1320
*nix Specialist
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJLXAcoAAoJEPB9BOdTkBULkeYH/2HxtHDUMfHYj9a/YeOKjp25
pQtIefCwZQgJW1/3ugvto5GT5KlMhZ614TZyvNgtH7G4lT2Nd1V2r1wReVfnhP+c
I4UfvoIUzHUFLp4yKLtN+zqOHK20rIyREAP6dT9qkwGAbhgBjFlHy6TsNKIHXJyW
FlyIkuYWfqvj8A7rTywkYLqMEvQhFl49oXajldk683nXoIhQutcjVK+fw2u9CRdv
JKnF0IbvDpqTtgP3+ZKwRL7DX8pN/+yJ5eCIiXLvwgNlEDd3D1nt6dUP+gTVkVnY
QdVtqJ1aRAkPCevkzm/fn7kXv2CbNH0ggoiIwa/5bWocz16Nfmu7kdPYsvzr91I=
=1U1N
-----END PGP SIGNATURE-----
More information about the Nut-upsdev
mailing list