Mailing List archive

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

[linux-dvb] "Unable to get major 212" (was: Can't compile saa7146_fops.c)



Peter Zelezny writes:
 > On Tue, 16 Nov 2004 09:38:42 +0100
 > "Kilian A. Foth" <foth@informatik.uni-hamburg.de> wrote:
 > > 
 > > It seems to me that several places check the kernel version via 
 > > 
 > >    #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10))
 > > 
 > > to see whether to call the three-argument or the four-argument version
 > > of functions. But as far as I can see the change to video_buf.h
 > > happened between 2.6.8 and 2.6.9, not 2.6.10. Should the 10 here read 9,
 > > or do I have a wrong version of something? Or am I terribly
 > > misunderstanding something entirely other?
 > 
 > A quick and dirty fix is to change that #if line to:
 > 
 > #if 0//(LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10))
 > 

OK, I got it all to compile by forcing the #if to the new prototype in
several places. Now I'm stuck at inserting:


$ cd /usr/src/dvb-kernel/build-2.6
$ ./insmod.sh load
  Inserting DVB modules into kernel
  FATAL: Module crc32 not found.
  FATAL: Module evdev already in kernel.
  insmod: error inserting './dvb-core.ko': -1 File exists

And dmesg says:

  Linux video capture interface: v1.00
  dvb-core: unable to get major 212
  ttusbdecfe: falsely claims to have parameter debug
  saa7146: register extension 'dvb'.
  saa7146: register extension 'budget dvb'.
  saa7146: register extension 'budget_ci dvb'.
  saa7146: register extension 'budget dvb /w video in'.
  usbcore: registered new driver Technotrend/Hauppauge USB-Nova
  usbcore: registered new driver ttusb-dec
  usbcore: registered new driver dvb_dibusb
  usbcore: registered new driver cinergyT2

And sure enough, the device isn't there:

  ./scan dvb-t/de-Berlin 
  scanning dvb-t/de-Berlin
  using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
  main:1882: FATAL: failed to open '/dev/dvb/adapter0/frontend0': 19 No such device

I did run MAKEDEV-DVB.sh, and my /etc/modules.conf says alias
char-major-212 dvb-core. What does "unable to get major 212" actually
mean, and what does one do about it?





Home | Main Index | Thread Index