Hi,
  I've run into a weird problem related to the autoloading of the xc5000
tuner module.  On a 8.04.1 Ubuntu system (vanilla 2.6.27.7 kernel, hg
empia tree from mcentral) the module is autoloaded correctly when the
stick is connected.  However, on a 10.1 Slackware (same kernel, same
empia module), the tuner fails to be attached:

 [...]
 em28xx #0: Alternate setting 7, max size= 3072
 cx25843.c: starting probe for adapter SMBus nForce2 adapter at 5000 (0x4000c)
 cx25843.c: starting probe for adapter SMBus nForce2 adapter at 5100 (0x4000c)
 cx25843.c: starting probe for adapter Satelco EasyWatch DVB-S (0x60000)
 cx25843.c: starting probe for adapter em28xx #0 (0x1001f)
 cx25843.c: detecting cx25843 client on address 0x88
 attach_inform: msp34xx/cx25843 detected.
 trying to attach xc5000
 unable to attach tuner
 radio device registered as /dev/radio0
 [...]

At this point, trying to access the device nodes results in a Oops:

 em28xx_dvb_init
 initializing: 18
 BUG: unable to handle kernel NULL pointer dereference at 00000004
 IP: [<d2ed1ac3>] :em28xx_dvb:em28xx_dvb_init+0x163/0x1a0
 *pde = 00000000 
 Oops: 0000 [#1] PREEMPT 
 Modules linked in: em28xx_dvb drx3973d s921 mt2060 lgdt3304 qt1010 
em28xx_audio em28xx_cx25843 em28xx nls_iso8859_1 nls_cp437 vfat fat sg sd_mod 
usb_storage scsi_mod budget_av snd_pcm_oss snd_mixer_oss xt_tcpudp xt_state 
nf_conntrack ip6table_filter ip6_tables x_tables ipv6 usbkbd uhci_hcd pcspkr 
rtc dvb_bt8xx nxt6000 mt352 dst_ca dst bt878 bttv ir_common compat_ioctl32 
i2c_algo_bit v4l2_common btcx_risc tveeprom zl10353 cx24110 pwc zd1211rw 
mac80211 usbhid saa7146_vv videobuf_dma_sg videobuf_core videodev v4l1_compat 
budget_core saa7146 matroxfb_base matroxfb_DAC1064 matroxfb_accel cfbcopyarea 
cfbimgblt cfbfillrect ttpci_eeprom matroxfb_g450 dvb_pll g450_pll snd_intel8x0 
tda10021 tda10023 tda1004x matroxfb_misc stv0299 snd_ac97_codec dvb_core 
ac97_bus snd_pcm snd_timer snd soundcore snd_page_alloc forcedeth ehci_hcd 
ohci_hcd usbcore i2c_nforce2 i2c_core fan parport_pc parport thermal button 
processor evdev [last unloaded: budget_av]
 Pid: 12458, comm: kdvb-fe-1 Not tainted (2.6.27.7 #1)
 EIP: 0060:[<d2ed1ac3>] EFLAGS: 00010246 CPU: 0
 EIP is at em28xx_dvb_init+0x163/0x1a0 [em28xx_dvb]
 EAX: 00000000 EBX: 00000000 ECX: 00000000 EDX: 00000002
 ESI: c587a000 EDI: fffffffc EBP: 00000000 ESP: c1549f38
  DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
 Process kdvb-fe-1 (pid: 12458, ti=c1548000 task=cc941190 task.ti=c1548000)
 Stack: d2ed2836 00000012 00000012 00000001 c25a2404 d08e9d20 c25a2404 d08e9d20 
       d08e96e2 c0117410 f2c455cd 000036cd c25a2404 d08e9d88 00000001 cf82f87c 
       cf82f87c cca8e000 c0101f0f cc941718 00000000 cc941500 c0118b24 00000000 
 Call Trace:
 [<d08e9d20>] dvb_frontend_thread+0x0/0x330 [dvb_core]
 [<d08e9d20>] dvb_frontend_thread+0x0/0x330 [dvb_core]
 [<d08e96e2>] dvb_frontend_init+0x32/0x70 [dvb_core]
 [<c0117410>] __dequeue_entity+0x50/0xb0
 [<d08e9d88>] dvb_frontend_thread+0x68/0x330 [dvb_core]
 [<c0101f0f>] __switch_to+0x1f/0x130
 [<c0118b24>] finish_task_switch+0x44/0xa0
 [<c034b512>] schedule+0x212/0x370
 [<c011939b>] complete+0x4b/0x80
 [<d08e9d20>] dvb_frontend_thread+0x0/0x330 [dvb_core]
 [<c013044a>] kthread+0x6a/0x70
 [<c01303e0>] kthread+0x0/0x70
 [<c0103c97>] kernel_thread_helper+0x7/0x30
 =======================
 Code: 44 24 08 8b 86 c4 03 00 00 8b 40 0c c7 04 24 36 28 ed d2 89 44 24 04 e8 
4c c5 24 ed ba 02 00 00 00 8b 9e a0 00 00 00 31 c9 89 d8 <ff> 53 04 8b 86 a0 00 
00 00 85 c0 0f 84 51 ff ff ff 8b 58 04 85 
 EIP: [<d2ed1ac3>] em28xx_dvb_init+0x163/0x1a0 [em28xx_dvb] SS:ESP 0068:c1549f38


If, before accessing the device, I load the tuner module by hand, then
reload the em* modules, everything works fine.

What can be causing such problem?  May this have to do with outdated
modutils on the Slackware system?

Thanks,
 David

_______________________________________________
Em28xx mailing list
Em28xx@mcentral.de
http://mcentral.de/mailman/listinfo/em28xx

Reply via email to