[linux-dvb] DVB-S2 segfault with current multiproto driver.

Stefan Lucke stefan at lucke.in-berlin.de
Wed Jan 30 00:49:09 CET 2008


On Tuesday 29 January 2008, Manu Abraham wrote:
> Stefan Lucke wrote:
> > Hi,
> > 
> > with current mulproto driver from http://www.jusst.de/hg/multiproto/ I get
> > a reproducable segfault upon start of vdr :-( .
> > 
> > [  248.480524] stb0899_i2c_gate_ctrl: Enabling I2C Repeater ...
> > [  248.480526] stb0899_write_regs [0xf12a]: c8
> > [  248.480790] _stb0899_read_reg: Reg=[0xf12a], data=c8
> > [  248.480901] _stb0899_read_reg: Reg=[0xf12a], data=c8
> > [  248.486417] BUG: unable to handle kernel NULL pointer dereference at virtual address 00000020
> > [  248.486422]  printing eip:
> > [  248.486424] f8a3b571
> > [  248.486425] *pde = 00000000
> > [  248.486428] Oops: 0000 [#1]
> > [  248.486430] PREEMPT SMP
> 

Kernel OOPS does not happen when using:
hg clone -r 7199 http://www.jusst.de/hg/multiproto/

> Is the bug reproducible if PREEMPT is turned OFF ?
> 

YES.
Actual preemption model was: Preemptible Kernel (Low-Latency Desktop)
Changed to: No Forced Preemption (Server) 

Jan 30 00:42:02 jarada [  116.391047] _stb0899_read_reg: Reg=[0xf12a], data=c8
Jan 30 00:42:02 jarada [  116.391168] _stb0899_read_reg: Reg=[0xf12a], data=c8
Jan 30 00:42:02 jarada vdr: [7826] found 2 video devices
Jan 30 00:42:02 jarada vdr: [7831] tuner on device 2 thread started (pid=7826, tid=7831)
Jan 30 00:42:02 jarada vdr: [7832] section handler thread started (pid=7826, tid=7832)
Jan 30 00:42:02 jarada vdr: [7826] initializing plugin: softdevice (0.4.0): A software emulated MPEG2 device
Jan 30 00:42:02 jarada [  116.396618] BUG: unable to handle kernel NULL pointer dereference at virtual address 00000020
Jan 30 00:42:02 jarada [  116.396624]  printing eip:
Jan 30 00:42:02 jarada [  116.396625] f9a8f5a1
Jan 30 00:42:02 jarada [  116.396626] *pde = 00000000
Jan 30 00:42:02 jarada [  116.396629] Oops: 0000 [#1]
Jan 30 00:42:02 jarada [  116.396630] SMP
Jan 30 00:42:02 jarada [  116.396633] Modules linked in: radeon drm cpufreq_userspace rfcomm l2cap bluetooth cpufreq_ondemand fbcon tileblit font bitblit softcursor budget_ci lnbp21 firmware_class budget_core saa7146 ttpci_eeprom ir_common stb6100 stb0899 cinergyT2 dvb_core k8temp hwmon snd_usb_audio snd_pcm snd_timer snd_page_alloc snd_usb_lib snd_rawmidi snd_seq_device snd_hwdep snd amd64_agp agpgart parport_pc parport radeonfb fb_ddc cfbcopyarea cfbimgblt cfbfillrect evdev i2c_nforce2 ftdi_sio usbserial scsi_wait_scan sbp2 ohci1394 ieee1394
Jan 30 00:42:02 jarada [  116.396661] CPU:    1
Jan 30 00:42:02 jarada [  116.396662] EIP:    0060:[<f9a8f5a1>]    Not tainted VLI
Jan 30 00:42:02 jarada [  116.396663] EFLAGS: 00210282   (2.6.23.13-np #6)
Jan 30 00:42:02 jarada [  116.396669] EIP is at budget_read_fe_status+0x21/0x90 [budget_core]
Jan 30 00:42:02 jarada [  116.396672] eax: 00000000   ebx: 80046f45   ecx: f9a8f580   edx: f1f05ec4
Jan 30 00:42:02 jarada [  116.396674] esi: f7c50008   edi: ffffffea   ebp: f1f05ec4   esp: f1f05a54
Jan 30 00:42:02 jarada [  116.396677] ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
Jan 30 00:42:02 jarada [  116.396679] Process vdr (pid: 7831, ti=f1f04000 task=f7f35000 task.ti=f1f04000)
Jan 30 00:42:02 jarada [  116.396681] Stack: 80046f45 f1c53940 f7c50008 fffffe00 f996142a 00000000 00000000 00000000
Jan 30 00:42:02 jarada [  116.396686]        00000000 00000000 dfde1000 000081a4 000007c8 479fb669 f7c50008 dfde1a60
Jan 30 00:42:02 jarada [  116.396691]        00000000 00010000 00000008 00000000 00000000 00327abb 00000000 00000000
Jan 30 00:42:02 jarada [  116.396695] Call Trace:
Jan 30 00:42:02 jarada [  116.396699]  [<f996142a>] dvb_frontend_ioctl+0x1fa/0x1230 [dvb_core]
Jan 30 00:42:02 jarada [  116.396721]  [<c0128439>] update_curr+0x139/0x150
Jan 30 00:42:02 jarada [  116.396730]  [<c0127d46>] update_stats_wait_end+0xa6/0xe0
Jan 30 00:42:02 jarada [  116.396735]  [<c01072ba>] __switch_to+0xaa/0x160
Jan 30 00:42:02 jarada [  116.396740]  [<c0450ee8>] schedule+0x1c8/0x5e0
Jan 30 00:42:02 jarada [  116.396747]  [<c0138a27>] lock_timer_base+0x27/0x60
Jan 30 00:42:02 jarada [  116.396751]  [<c0138aa7>] try_to_del_timer_sync+0x47/0x50
Jan 30 00:42:02 jarada [  116.396755]  [<c0138abe>] del_timer_sync+0xe/0x20
Jan 30 00:42:02 jarada [  116.396759]  [<c01431aa>] remove_wait_queue+0x1a/0x50
Jan 30 00:42:02 jarada [  116.396763]  [<c019a36e>] free_poll_entry+0xe/0x20
Jan 30 00:42:02 jarada [  116.396767]  [<c019a3a0>] poll_freewait+0x20/0x60
Jan 30 00:42:02 jarada [  116.396771]  [<c019a6d7>] do_sys_poll+0x2f7/0x3e0
Jan 30 00:42:02 jarada [  116.396776]  [<c019b1b0>] __pollwait+0x0/0x100
Jan 30 00:42:02 jarada [  116.396780]  [<c012a1c0>] default_wake_function+0x0/0x10
Jan 30 00:42:02 jarada [  116.396787]  [<c0128efa>] task_rq_lock+0x4a/0x80
Jan 30 00:42:02 jarada [  116.396791]  [<c0129e71>] try_to_wake_up+0x41/0x390
Jan 30 00:42:02 jarada [  116.396800]  [<c01279a9>] __wake_up_common+0x39/0x60
Jan 30 00:42:02 jarada [  116.396806]  [<c0128d68>] __wake_up+0x38/0x50
Jan 30 00:42:02 jarada [  116.396811]  [<c03bf8e8>] sock_def_readable+0x78/0x80
Jan 30 00:42:02 jarada [  116.396815]  [<c041ce4b>] unix_stream_sendmsg+0x19b/0x340
Jan 30 00:42:02 jarada [  116.396823]  [<c03bba5e>] sock_sendmsg+0xce/0x100
Jan 30 00:42:02 jarada [  116.396831]  [<c0142f90>] autoremove_wake_function+0x0/0x50
Jan 30 00:42:02 jarada [  116.396835]  [<c01976ea>] __link_path_walk+0xcea/0xd50
Jan 30 00:42:02 jarada [  116.396840]  [<c0108ccb>] common_interrupt+0x23/0x28
Jan 30 00:42:02 jarada [  116.396845]  [<c01a355b>] mntput_no_expire+0x1b/0x70
Jan 30 00:42:02 jarada [  116.396854]  [<f9959124>] dvb_usercopy+0xa4/0x160 [dvb_core]
Jan 30 00:42:02 jarada [  116.396864]  [<c0191089>] cp_new_stat64+0xf9/0x110
Jan 30 00:42:02 jarada [  116.396874]  [<f995922d>] dvb_generic_ioctl+0x4d/0x60 [dvb_core]
Jan 30 00:42:02 jarada [  116.396881]  [<f9961230>] dvb_frontend_ioctl+0x0/0x1230 [dvb_core]
Jan 30 00:42:02 jarada [  116.396889]  [<c0199af8>] do_ioctl+0x78/0x90
Jan 30 00:42:02 jarada [  116.396893]  [<c0199b6c>] vfs_ioctl+0x5c/0x290
Jan 30 00:42:02 jarada [  116.396897]  [<c0199ddd>] sys_ioctl+0x3d/0x70
Jan 30 00:42:02 jarada [  116.396901]  [<c0108266>] sysenter_past_esp+0x6b/0xa1
Jan 30 00:42:02 jarada [  116.396909]  =======================
Jan 30 00:42:02 jarada [  116.396910] Code: e8 95 0d 6a c6 e9 1d ff ff ff 83 ec 10 89 74 24 04 89 7c 24 08 89 c6 89 6c 24 0c 89 1c 24 89 d5 8b 80 cc 01 00 00 bf ea ff ff ff <8b> 58 20 8b 8b 80 05 00 00 85 c9 74 42 89 f0 ff d1 85 c0 89 c7
Jan 30 00:42:02 jarada [  116.396931] EIP: [<f9a8f5a1>] budget_read_fe_status+0x21/0x90 [budget_core] SS:ESP 0068:f1f05a54
Jan 30 00:42:02 jarada vdr: [7826] [XvVideoOut]: patch version (2007-12-25)


-- 
Stefan Lucke



More information about the linux-dvb mailing list