Re: What is an error -22 ??

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

 



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



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux