Mailing List archive

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

[linux-dvb] Udev loop problem after modprobe dvb-ttpci



A few seconds after manually inserting the dvb-ttpci driver 
with modprobe, a udev process is started which then goes into 
an apparent loop, consuming most of the CPU.

I am running Fedora Core 2, 2.6.8-1.521, using the supplied 
linuxtv drivers and /usr/lib/hotplug/firmware/dvb-ttpci-01.fw 
as the firmware.

If I kill the udev process, all seems well.  

The problem began after I installed a second dvb-s tv card - 
a budget-ci Hauppauge Nova-s CI to my existing Nexus-s card.   
I did not knowingly make any changes to associate the linuxtv 
drivers with udev.

However, if I physically remove the budget Nova card, the 
udev problem persists - so I may have made some other change 
which is not currently clear.

____________________________________________________________

1) Has anyone had similar experience?

____________________________________________________________

2) As workarounds/debugging, I tried or considered:

a) Disable udev hotplug call
----------------------------
I didn't see any specific information in the udev man page, so 
I simply tried to rename the  /etc/dev.d/net/hotplug.dev file 
in order to avoid triggering udev when the dvb-ttpci firmware 
file is loaded.  This did not stop udev from being launched.

b) Force udev use
----------------------------
After consulting the linuxtv mailing list, Udev on Fedora 
(http://fedora.redhat.com/docs/udev) and the
linux/Documentation/dvb/udev.txt 
file, I have the impression that this solution might be too 
much on the cutting edge and not provide any advantage.  
Voices to the contrary?

c) Compile new driver
----------------------------
I checked out the CVS version of the linuxtv driver, hoping 
to resolve a potentially known problem with the latest code.  
I followed the build-2.6 instructions to build a stand-alone 
version without patching the kernel.  

cd build-2.6
make

but it would not compile.  I will post this separately after 
verifing that it is not a know issue, but a brief extract of 
the error messages follows:

.. 

make -C /lib/modules/2.6.8-1.521/build 
SUBDIRS=/usr/src/dvb/linuxtv-dvb.cvs/dvb-kernel/build-2.6
AV7110_FIRMWARE= AV7110_OSD=y
make[1]: Entering directory `/lib/modules/2.6.8-1.521/build'
  LD      /usr/src/dvb/linuxtv-dvb.cvs/dvb-kernel/build-2.6/built-in.o
  CC [M] 
/usr/src/dvb/linuxtv-dvb.cvs/dvb-kernel/build-2.6/b2c2-usb-core.o
/usr/src/dvb/linuxtv-dvb.cvs/dvb-kernel/build-2.6/b2c2-usb-core.c: In
function `b2c2_urb_complete':
/usr/src/dvb/linuxtv-dvb.cvs/dvb-kernel/build-2.6/b2c2-usb-core.c:346:
warning: unused variable `b2c2'
/usr/src/dvb/linuxtv-dvb.cvs/dvb-kernel/build-2.6/b2c2-usb-core.c: In
function `b2c2_init_usb':
/usr/src/dvb/linuxtv-dvb.cvs/dvb-kernel/build-2.6/b2c2-usb-core.c:395:
warning: ISO C90 forbids mixed declarations and code
/usr/src/dvb/linuxtv-dvb.cvs/dvb-kernel/build-2.6/b2c2-usb-core.c: At
top level:

.. cut ..

  CC [M]  /usr/src/dvb/linuxtv-dvb.cvs/dvb-kernel/build-2.6/dvb_net.o
  CC [M] 
/usr/src/dvb/linuxtv-dvb.cvs/dvb-kernel/build-2.6/dvb_ringbuffer.o
  CC [M]  /usr/src/dvb/linuxtv-dvb.cvs/dvb-kernel/build-2.6/av7110_hw.o
In file included from
/usr/src/dvb/linuxtv-dvb.cvs/dvb-kernel/linux/include/media/saa7146_vv.h:6,
                 from
/usr/src/dvb/linuxtv-dvb.cvs/dvb-kernel/build-2.6/av7110.h:35,
                 from
/usr/src/dvb/linuxtv-dvb.cvs/dvb-kernel/build-2.6/av7110_hw.c:41:
/usr/src/dvb/linuxtv-dvb.cvs/dvb-kernel/linux/include/media/saa7146.h:140: warning: no semicolon at end of struct or union
/usr/src/dvb/linuxtv-dvb.cvs/dvb-kernel/linux/include/media/saa7146.h:140: error: syntax error before '*' token
/usr/src/dvb/linuxtv-dvb.cvs/dvb-kernel/linux/include/media/saa7146.h:168: error: syntax error before '}' token
/usr/src/dvb/linuxtv-dvb.cvs/dvb-kernel/build-2.6/av7110_hw.c: In
function `av7110_debiwrite':
/usr/src/dvb/linuxtv-dvb.cvs/dvb-kernel/build-2.6/av7110_hw.c:64: error:
dereferencing pointer to incomplete type
/usr/src/dvb/linuxtv-dvb.cvs/dvb-kernel/build-2.6/av7110_hw.c:66: error:
dereferencing pointer to incomplete type
/usr/src/dvb/linuxtv-dvb.cvs/dvb-kernel/build-2.6/av7110_hw.c:68: error:
dereferencing pointer to incomplete type
/usr/src/dvb/linuxtv-dvb.cvs/dvb-kernel/build-2.6/av7110_hw.c:69: error:
dereferencing pointer to incomplete type
/usr/src/dvb/linuxtv-dvb.cvs/dvb-kernel/build-2.6/av7110_hw.c:70: error:
dereferencing pointer to incomplete type

.. cut ..

____________________________________________________________

3) Any trouble shooting suggestions?


4) Is this a Red Hat problem, more appropriately reported 
to the Fedora list?


As you can imagine, thank you in advance for any help!

Sean





Home | Main Index | Thread Index