Log in Register FAQ Memberlist Search pcHDTV Forum Index
pcHDTV Forum

pcHDTV Forum Index -> Driver Issues -> missing dvb device sometimes
Post new topic  Reply to topic View previous topic :: View next topic 
missing dvb device sometimes
PostPosted: Tue May 08, 2007 10:52 pm Reply with quote
neebertsons
 
Joined: 08 May 2007
Posts: 2




I've recently moved my myth backend to a new case, and added another PVR-150 cards to my setup. Now, about 50% of the time by backend boots, the cx88-dvb driver doesn't autoload. Because the driver doesn't load, no /dev/dvb directory is made, so the device is inaccessible to the system. The analog portion of the card seems to have it's driver loaded (ie, a /dev/videoX handle is created for the card by one of the drivers).

I can manually modprobe the cx88-dvb driver, and dmesg prints:

Code:
cx2388x dvb driver version 0.0.6 loaded


"lsmod | grep cx88" before manual modprobe:

Code:

cx8800                 31372  0
cx88xx                 58276  1 cx8800
ir_common              27780  1 cx88xx
video_buf              23012  2 cx8800,cx88xx
compat_ioctl32          1472  1 cx8800
btcx_risc               4776  2 cx8800,cx88xx
i2c_algo_bit            8424  2 cx88xx,ivtv
tveeprom               13840  2 cx88xx,ivtv
i2c_core               19680  8 wm8775,cx25840,tuner,cx88xx,ivtv,i2c_algo_bit,i2c_viapro,tveeprom
videodev               21120  3 cx8800,cx88xx,ivtv
v4l1_compat            12036  3 cx8800,ivtv,videodev
v4l2_common            20448  6 cx25840,tuner,cx8800,ivtv,cx2341x,videodev


"lsmod | grep cx88" before manual modprobe:


Code:

cx88_dvb               13636  0
cx8802                 11812  1 cx88_dvb
cx88_vp3054_i2c         4384  1 cx88_dvb
mt352                   6276  1 cx88_dvb
dvb_pll                14308  1 cx88_dvb
or51132                 9476  1 cx88_dvb
video_buf_dvb           6436  1 cx88_dvb
nxt200x                12260  1 cx88_dvb
isl6421                 2400  1 cx88_dvb
zl10353                 5252  1 cx88_dvb
cx24123                11336  1 cx88_dvb
lgdt330x                7708  1 cx88_dvb
cx22702                 5892  1 cx88_dvb
cx8800                 31372  0
cx88xx                 58276  3 cx88_dvb,cx8802,cx8800
ir_common              27780  1 cx88xx
video_buf              23012  5 cx88_dvb,cx8802,video_buf_dvb,cx8800,cx88xx
compat_ioctl32          1472  1 cx8800
btcx_risc               4776  3 cx8802,cx8800,cx88xx
i2c_algo_bit            8424  3 cx88_vp3054_i2c,cx88xx,ivtv
tveeprom               13840  2 cx88xx,ivtv
i2c_core               19680  18 cx88_dvb,mt352,dvb_pll,or51132,nxt200x,isl6421,zl10353,cx24123,lgdt330x,cx22702,wm8775,cx25840,tuner,cx88xx,ivtv,i2c_algo_bit,i2c_viapro,tveeprom
videodev               21120  3 cx8800,cx88xx,ivtv
v4l1_compat            12036  3 cx8800,ivtv,videodev
v4l2_common            20448  6 cx25840,tuner,cx8800,ivtv,cx2341x,videodev


However, even after manually modprobing the driver, the device is not created (ie, no /dev/dvb directory).

I'm running debian etch, with kernel 2.6.18-4. Also, due to some bios bugs, I had to disable lapic, apic, and acpi. This leads to a shared legacy interrupt between the HD card, and the usb driver. I've read in other forums that this is not good. However, I don't use those USB ports, so they don't generate any interrupts. Could this be the cause of my problem? I didn't have this problem when there was only 1 pvr-150 card installed in the system. It only started happening after I installed the second one.

Code:

myth-backend:~# cat /proc/interrupts
           CPU0       CPU1
  0:     362365          0          XT-PIC  timer
  2:          0          0          XT-PIC  cascade
  5:        159          0          XT-PIC  libata, ehci_hcd:usb5, ivtv1, VIA8237
  6:          5          0          XT-PIC  floppy
  7:          2          0          XT-PIC  parport0
  8:          1          0          XT-PIC  rtc
  9:          0          0          XT-PIC  acpi
 10:       1861          0          XT-PIC  uhci_hcd:usb1, uhci_hcd:usb2, ivtv0, eth0
 11:          0          0          XT-PIC  uhci_hcd:usb3, uhci_hcd:usb4, cx88[0]
 14:       4422          0          XT-PIC  ide0
 15:       4306          0          XT-PIC  ide1
NMI:          0          0
LOC:     362323     362322
ERR:          0
MIS:          0


This is really annoying, as I've got my backend setup to wakup to record shows, and sometimes the device doesn't work. Any help would be appreciated.
View user's profile Send private message
Figured it out.......
PostPosted: Wed May 30, 2007 10:06 pm Reply with quote
neebertsons
 
Joined: 08 May 2007
Posts: 2




I decided to toss that buggy motherboard, and upgrade to a bigger better one. When I did that, my problem only got worse. Now it was happening most of the time the system boots. I did further debugging, and discovered that, when it didn't work, some of the PCI devices were missing. When it worked, it looked like this:

Code:

06:02.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
06:02.1 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] (rev 05)
06:02.2 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] (rev 05)
06:02.4 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [IR Port] (rev 05)


When it didn't work, lspci looked like this

Code:

06:02.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)


Obviously something was wrong. Did a goole search, and came up empty. Was thinking I should upgrade the bios, and went to the website to see if a new bios would fix my problem. There was a warning about using under-powered power supplies with their motherboards. I upgraded my power supply, and viola, problem gone. Seems 380 watts wasn't enough to power all of the components in the system, and adding the extra pvr-150 card to the setup caused the problem to appear on the old motherboard only after adding the second pvr-150. I setup my init scripts to automatically reboot if /dev/dvb exists, and so far, it's rebooted numerous times (at least 20) without any problems. Seems 500 watts is enough power for my system.....until the next upgrade
View user's profile Send private message
missing dvb device sometimes
  pcHDTV Forum Index -> Driver Issues
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 7 Hours  
Page 1 of 1  

  
  
 Post new topic  Reply to topic  


Powered by phpBB © 2001-2003 phpBB Group
Theme created by Vjacheslav Trushkin