Re: What is an error -22 ??



On Wed, 2006-12-20 at 08:00 -0800, Sean Bruno wrote:
On Wed, 2006-12-20 at 13:14 +0200, Gilboa Davara wrote:
On Tue, 2006-12-19 at 23:05 -0500, William Case wrote:
Hi;

I am getting the following line in dmesg:

"bt878: probe of 0000.02:0d.1 failed with error -22"

I am trying to get my ATI TV Wonder VE TV tuner card to work with a
newly installed ATI Radeon 9600 video card. Lots of problems; the main
one beeing that TV window intermittently but frequently gives a 'no
signal' warning.

What is error -22? Where can I find a list of error messages that might
appear in my log(s)?

I am using the bttv driver, tvtimes and tuner=2 option. I right now I
am trying *all* tuner options, but so far no hint of any luck.


--
Regards Bill


Kernel modules return negative error codes.
Error -22 is -EINVAL. or "Invalid argument".
Mostly likely something is broken within the bttv driver.
I'd suggest you file a bug report in the bugzilla.

- Gilboa

Thanks, I had no idea that kernel modules would return negative error
codes.

So, is it permissible to use the header
files /usr/include/asm-generic/errno.h
and /usr/include/asm-generic/errno-base.h to determine the error code by
just changing the sign of the return value in this case?

Sean


Yes.
Though in general, when looking at kernel errors, you better of
installing the kernel-devel package and looking at /lib/modules/$(uname
-r)/build/include/asm-generic/errno-base.h and at /lib/modules/$(uname
-r)/build/include/asm-generic/errno.h

- Gilboa


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: What is an error -22 ??
    ... I am trying to get my ATI TV Wonder VE TV tuner card to work with a ... newly installed ATI Radeon 9600 video card. ... Kernel modules return negative error codes. ...
    (Fedora)
  • Re: Correct link from previous message.
    ... I think the problem is you tuner; I don't see your tuner card listed. ... only ATI cards listed are the HDTV Wonder, the Theater 550 Pro, and the TV ... I thought the WDM drivers were for the All-In-Wonder type ... which are supported in MCE. ...
    (microsoft.public.windows.mediacenter)
  • Re: Turning on direct rendering with an ATI card
    ... I have turned on direct rendering on several machines (my laptop with ATI ... I have the libdrm2 installed as well as the relevant xorg software, ... sure that kernel modules are loaded. ... These packages ...
    (Debian-User)
  • Re: What is an error -22 ??
    ... I am trying to get my ATI TV Wonder VE TV tuner card to work with a ... newly installed ATI Radeon 9600 video card. ... am trying *all* tuner options, but so far no hint of any luck. ... Took me a minute to find the standard errnos, there is a bit of include ...
    (Fedora)
  • Re: What is an error -22 ??
    ... I am trying to get my ATI TV Wonder VE TV tuner card to work with a ... newly installed ATI Radeon 9600 video card. ... am trying *all* tuner options, but so far no hint of any luck. ... Mostly likely something is broken within the bttv driver. ...
    (Fedora)