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


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux