Moderator Control Panel ]

Kernel oops and blocked boot with tbs6981 on Debian 2.6.39-2

Kernel oops and blocked boot with tbs6981 on Debian 2.6.39-2

Postby Rivcopter » Thu Jul 21, 2011 3:30 am

Hi!

I have tried to install my new tbs6981 on Debian with 2.6.39-2-686-pae kernel (as in the debian aptitude repository).

The modules build ok, install goes ok, but on rebooting the system locks up: the first load of the cx23885 module generates an oops, the second just waits there till the boot process is resumed by pressing Ctrl+C.

Obviously, no devicefiles are being generated for both frontends. There is no /dev/dvb/*.

When doing exactly the same procedure with 2.6.32-5-686, everything works like it is supposed to do.

Now the dmesg log:

The last line was written after pressing Ctrl+C

Thank you for any insight. This issue blocks me from using 2.6.39-2-686-pae.

Code: Select All Code
[    7.648583] cx23885 driver version 0.0.2 loaded
[    7.648648] cx23885 0000:05:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[    7.648876] CORE cx23885[0]: subsystem: 6981:8888, board: TurboSight TBS 6981 [card=30,autodetected]
[    8.414872] cx25840 3-0044: cx23885 A/V decoder found @ 0x88 (cx23885[0])
[    8.458801] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input5
[    9.267428] cx25840 3-0044: loaded v4l-cx23885-avcore-01.fw firmware (16382 bytes)
[    9.277055] cx23885_dvb_register() allocating 1 frontend(s)
[    9.277103] cx23885[0]: cx23885 based dvb card
[    9.332916] tbs6981fe: module license 'TurboSight Proprietary: www.tbsdtv.com' taints kernel.
[    9.333491] BUG: unable to handle kernel NULL pointer dereference at   (null)
[    9.333605] IP: [<f86827c0>] tbs6981fe_attach+0x10/0x490 [tbs6981fe]
[    9.333676] *pdpt = 000000003728b001 *pde = 0000000000000000
[    9.333771] Oops: 0000 [#1] SMP
[    9.333862] last sysfs file: /sys/devices/pci0000:00/0000:00:1f.5/host6/target6:0:0/6:0:0:0/block/sdh/removable
[    9.333921] Modules linked in: tbs6981fe(P) snd_hda_codec_realtek joydev cx25840(O) cx23885(O+) snd_hda_intel snd_hda_codec cx2341x(O) v4l2_common(O) snd_hwdep videodev(O) snd_pcm_oss snd_mixer_oss snd_pcm v4l1_compat(O) videobuf_dma_sg(O) videobuf_dvb(O) dvb_core(O) videobuf_core(O) ir_common(O) ir_core(O) i2c_i801 btcx_risc(O) tveeprom(O) snd_timer snd psmouse pcspkr i2c_core evdev soundcore snd_page_alloc processor button serio_raw thermal_sys asus_atk0110 ext3 jbd mbcache usbhid hid sd_mod pata_marvell crc_t10dif ahci ata_generic uhci_hcd libahci sata_mv ata_piix libata firewire_ohci ehci_hcd firewire_core atl1e crc_itu_t scsi_mod usbcore [last unloaded: scsi_wait_scan]
[    9.337437]
[    9.337437] Pid: 452, comm: modprobe Tainted: P           O 2.6.39-2-686-pae #1 System manufacturer P5Q-PRO/P5Q-PRO
[    9.337437] EIP: 0060:[<f86827c0>] EFLAGS: 00010282 CPU: 1
[    9.337437] EIP is at tbs6981fe_attach+0x10/0x490 [tbs6981fe]
[    9.337437] EAX: 00000000 EBX: f84f76f0 ECX: 00000000 EDX: f3820410
[    9.337437] ESI: f3820410 EDI: f86827b0 EBP: f7143d04 ESP: f7143cc4
[    9.337437]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[    9.337437] Process modprobe (pid: 452, ti=f7142000 task=f72a75a0 task.ti=f7142000)
[    9.337437] Stack:
[    9.337437]  00000000 f3820ba0 c105f2d6 f84f251b c1050101 f8692218 f8691ec4 f8691ebc
[    9.337437]  f7629800 f3820000 f8691ebc f3820000 c105f31d f7629800 f3820000 f86827b0
[    9.337437]  f3820ba0 f84e6c4b c11802f4 f3820b80 f3820bac f4019e00 00000000 00000001
[    9.337437] Call Trace:
[    9.337437]  [<c105f2d6>] ? find_symbol+0x28/0x4e
[    9.337437]  [<c1050101>] ? free_nsproxy+0x46/0x63
[    9.337437]  [<c105f31d>] ? __symbol_get+0x21/0x2e
[    9.337437]  [<f86827b0>] ? Delay1mS+0x10/0x10 [tbs6981fe]
[    9.337437]  [<f84e6c4b>] ? dvb_register+0x102b/0x1ac8 [cx23885]
[    9.337437]  [<c11802f4>] ? vgacon_scroll+0x17d/0x19b
[    9.337437]  [<c11cdc09>] ? scrup+0x5d/0xcb
[    9.337437]  [<c103bb7a>] ? irq_exit+0x56/0x79
[    9.337437]  [<c10095b8>] ? do_IRQ+0x73/0x84
[    9.337437]  [<c12b76f0>] ? common_interrupt+0x30/0x38
[    9.337437]  [<c103007b>] ? __build_sched_domains+0xb4/0x2fc
[    9.337437]  [<c10377fc>] ? vprintk+0x3a3/0x3dd
[    9.337437]  [<f83d6e36>] ? videobuf_queue_core_init+0xac/0xc3 [videobuf_core]
[    9.337437]  [<f83e301e>] ? videobuf_queue_sg_init+0x1e/0x22 [videobuf_dma_sg]
[    9.337437]  [<f84e778e>] ? cx23885_dvb_register+0xa6/0xdb [cx23885]
[    9.337437]  [<f84e77a0>] ? cx23885_dvb_register+0xb8/0xdb [cx23885]
[    9.337437]  [<f84ed0a0>] ? cx23885_initdev+0x7e1/0x1741 [cx23885]
[    9.337437]  [<c116b0b8>] ? local_pci_probe+0x34/0x74
[    9.337437]  [<c116ba96>] ? pci_device_probe+0x41/0x63
[    9.337437]  [<c11e8c91>] ? driver_probe_device+0x8c/0x110
[    9.337437]  [<c11e8d55>] ? __driver_attach+0x40/0x5b
[    9.337437]  [<c11e84ed>] ? bus_for_each_dev+0x37/0x5f
[    9.337437]  [<c11e8b47>] ? driver_attach+0x11/0x13
[    9.337437]  [<c11e8d15>] ? driver_probe_device+0x110/0x110
[    9.337437]  [<c11e8868>] ? bus_add_driver+0x87/0x1bb
[    9.337437]  [<c1154f40>] ? kset_find_obj_hinted+0x43/0x7d
[    9.337437]  [<f844d000>] ? 0xf844cfff
[    9.337437]  [<c11e9194>] ? driver_register+0x7a/0xd9
[    9.337437]  [<f844d000>] ? 0xf844cfff
[    9.337437]  [<c116bc61>] ? __pci_register_driver+0x33/0x89
[    9.337437]  [<f844d000>] ? 0xf844cfff
[    9.337437]  [<c1003068>] ? do_one_initcall+0x68/0x10f
[    9.337437]  [<c1060bd4>] ? sys_init_module+0xce1/0xe7d
[    9.337437]  [<f84b9000>] ? 0xf84b8fff
[    9.337437]  [<c12b715f>] ? sysenter_do_call+0x12/0x28
[    9.337437] Code: 5f 5d c3 90 8d b4 26 00 00 00 00 55 b8 e0 6d 34 00 89 e5 e8 1a 7c ad c8 5d c3 90 55 89 e5 57 56 89 d6 53 89 c3 83 ec 34 8b 42 10 <8b> 38 89 4c 24 04 c7 04 24 08 1b 69 f8 89 4d c8 e8 3d da c2 c8
[    9.337437] EIP: [<f86827c0>] tbs6981fe_attach+0x10/0x490 [tbs6981fe] SS:ESP 0068:f7143cc4
[    9.337437] CR2: 0000000000000000
[    9.345932] ---[ end trace 483b687e7cf38676 ]---
[   10.805530] EXT3-fs (sdj1): using internal journal
[   11.657793] loop: module loaded
[   11.861405] Uniform Multi-Platform E-IDE driver
[   11.861955] ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports
[   11.890291] dca service started, version 1.12.1
[   11.894470] ioatdma: Intel(R) QuickData Technology Driver 4.00
[   11.941988] usbcore: registered new interface driver hdpvr
[39489.664490] fuse init (API version 7.16)
Rivcopter
 
Posts: 1
Joined: Thu Jul 21, 2011 3:23 am

Re: Kernel oops and blocked boot with tbs6981 on Debian 2.6.

Postby Meindert » Mon Jul 25, 2011 5:20 am

Known issue, I reported this to TBS and got the following answer:

"we have confirmed the issue - it happens with all Debian-base distros with the latest 2.6.39 kernel for them including on Ubuntu. so, we're looking at it. thank you for all your assistance so far."

The people of TBS are very helpful, and I'm sure that there will be a solution for it in a short while.

Regards,
Meindert
Meindert
 
Posts: 21
Joined: Mon Feb 14, 2011 4:16 am

Re: Kernel oops (and blocked boot with tbs6981)

Postby tdassler » Wed Apr 10, 2013 5:52 pm

Similar issue here: [ 7.187506] Oops: 0000 [#1] SMP when cx32885 is loaded; fontend is not brought up.

I am on Slackware 14 -- current, with the 3.8.4 vanilla kernel. When I customize the kernel, the Oops freezes the system and I think it is caused by videodev.ko.

Kernel is 3.8.4; tried 3.8.6, same issue..

Please see some boot output using the stock kernel with no freezes:

[ 6.303448] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[ 6.321647] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 6.339770] usb usb3: Product: EHCI Host Controller
[ 6.357954] usb usb3: Manufacturer: Linux 3.8.4 ehci_hcd
[ 6.365609] cx23885 driver version 0.0.3 loaded
[ 6.365654] cx23885[0]: Your board isn't known (yet) to the driver.
[ 6.365654] cx23885[0]: Try to pick one of the existing card configs via
[ 6.365654] cx23885[0]: card=<n> insmod option. Updating to the latest
[ 6.365654] cx23885[0]: version might help as well.

...

[ 7.059227] usb usb3: SerialNumber: 0000:00:12.2
[ 7.059236] CORE cx23885[0]: subsystem: 6981:8888, board: UNKNOWN/GENERIC [card=0,autodetected]
[ 7.081872] hub 3-0:1.0: USB hub found
[ 7.092893] hub 3-0:1.0: 5 ports detected
[ 7.104002] ehci-pci 0000:00:13.2: EHCI Host Controller
[ 7.115081] ehci-pci 0000:00:13.2: new USB bus registered, assigned bus number 4
[ 7.126139] ehci-pci 0000:00:13.2: applying AMD SB700/SB800/Hudson-2/3 EHCI dummy qh workaround
[ 7.137223] ehci-pci 0000:00:13.2: debug port 1
[ 7.148031] ehci-pci 0000:00:13.2: irq 17, io mem 0xfe1fe800
[ 7.159107] firewire_core 0000:06:00.0: created device fw0: GUID 001e8c0000dc38e5, S400
[ 7.164871] ehci-pci 0000:00:13.2: USB 2.0 started, EHCI 1.00
[ 7.164886] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[ 7.164887] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 7.164888] usb usb4: Product: EHCI Host Controller
[ 7.164888] usb usb4: Manufacturer: Linux 3.8.4 ehci_hcd
[ 7.164889] usb usb4: SerialNumber: 0000:00:13.2
[ 7.164974] hub 4-0:1.0: USB hub found
[ 7.164976] hub 4-0:1.0: 5 ports detected
[ 7.165083] ehci-pci 0000:00:16.2: EHCI Host Controller
[ 7.165119] ehci-pci 0000:00:16.2: new USB bus registered, assigned bus number 5
[ 7.165123] ehci-pci 0000:00:16.2: applying AMD SB700/SB800/Hudson-2/3 EHCI dummy qh workaround
[ 7.165140] ehci-pci 0000:00:16.2: debug port 1
[ 7.165172] ehci-pci 0000:00:16.2: irq 17, io mem 0xfe1fec00
[ 7.187491] BUG: unable to handle kernel NULL pointer dereference at 0000000000000028
[ 7.187503] IP: [<ffffffffa03748d0>] cx23885_initdev+0x7d0/0x12e0 [cx23885]
[ 7.187504] PGD 128e9c067 PUD 128e9d067 PMD 0

[ 7.187506] Oops: 0000 [#1] SMP

[ 7.187519] Modules linked in: snd_hda_intel(+) snd_hda_codec cx23885(+) snd_hwdep btcx_risc(O) altera_ci videobuf_dvb(O) tda18271(O) altera_stapl snd_pcm snd_page_alloc ir_nec_decoder(O) ohci_hcd(+) ehci_pci(+) firewire_ohci ath9k ath9k_common ath9k_hw tveeprom(O) cx2341x(O) ath mac80211 v4l2_common(O) videobuf_dma_sg(O) videobuf_core(O) videodev(O) v4l2_compat_ioctl32(O) thermal_sys kvm cfg80211 rfkill sp5100_tco media(O) dvb_core snd_timer rc_core(O) snd asus_atk0110 k10temp hwmon psmouse i2c_piix4 ehci_hcd i2c_core evdev firewire_core microcode soundcore serio_raw button wmi loop
[ 7.187522] CPU 4
[ 7.187523] Pid: 1532, comm: udevd Tainted: G O 3.8.4 #2 System manufacturer System Product Name/Crosshair IV Formula
[ 7.187529] RIP: 0010:[<ffffffffa03748d0>] [<ffffffffa03748d0>] cx23885_initdev+0x7d0/0x12e0 [cx23885]
[ 7.187530] RSP: 0018:ffff880128eb3c70 EFLAGS: 00010207
[ 7.187531] RAX: 0000000000000000 RBX: ffff880123f10010 RCX: 00000000ffffffff
[ 7.187531] RDX: 0000000000000000 RSI: ffffffffa038dc5f RDI: ffff880123f10100
[ 7.187532] RBP: ffff880128eb3cb8 R08: 0000000000000000 R09: 0000000000000000
[ 7.187532] R10: ffff880128eb3bc8 R11: 0000000000000000 R12: ffff880123f10000
[ 7.187533] R13: ffff88012a98a000 R14: 0000000000000000 R15: 0000000000000000
[ 7.187533] FS: 00007fed17666780(0000) GS:ffff88012fd00000(0000) knlGS:0000000000000000
[ 7.187534] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 7.187535] CR2: 0000000000000028 CR3: 0000000128e9b000 CR4: 00000000000007e0
[ 7.187535] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 7.187535] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 7.187536] Process udevd (pid: 1532, threadinfo ffff880128eb2000, task ffff88012b3a6810)
[ 7.187537] Stack:
[ 7.187538] ffffffffa0387c29 ffff88012a98a098 ffff880123f113ac ffff880123f10008
[ 7.187539] ffff88012a98a098 ffffffffa038c868 ffff88012a98a000 ffffffffa038c800
[ 7.187540] ffffffffa038c900 ffff880128eb3cf0 ffffffff815be0d4 ffff88012a98a098
[ 7.187540] Call Trace:
[ 7.187545] [<ffffffff815be0d4>] pci_device_probe+0x84/0xe0
[ 7.187548] [<ffffffff81654736>] driver_probe_device+0x76/0x230
[ 7.187549] [<ffffffff816549c3>] __driver_attach+0x93/0xa0
[ 7.187550] [<ffffffff81654930>] ? __device_attach+0x40/0x40
[ 7.187553] [<ffffffff81652973>] bus_for_each_dev+0x63/0xa0
[ 7.187554] [<ffffffff8165426e>] driver_attach+0x1e/0x20
[ 7.187555] [<ffffffff81653d5d>] bus_add_driver+0xcd/0x280
[ 7.187556] [<ffffffffa0392000>] ? 0xffffffffa0391fff
[ 7.187557] [<ffffffff81654ff1>] driver_register+0x71/0x150
[ 7.187559] [<ffffffffa0392000>] ? 0xffffffffa0391fff
[ 7.187560] [<ffffffff815bcd4b>] __pci_register_driver+0x4b/0x50
[ 7.187564] [<ffffffffa0392033>] cx23885_init+0x33/0x35 [cx23885]
[ 7.187566] [<ffffffff810002aa>] do_one_initcall+0x10a/0x150
[ 7.187569] [<ffffffff810b5dec>] load_module+0x165c/0x1da0
[ 7.187571] [<ffffffff810b2020>] ? store_uevent+0x40/0x40
[ 7.187573] [<ffffffff810b65dd>] sys_init_module+0xad/0xd0
[ 7.187576] [<ffffffff81b4e786>] system_call_fastpath+0x1a/0x1f
[ 7.187585] Code: 2c 00 00 49 8d bc 24 30 0d 00 00 e8 eb 2c 00 00 4c 89 e7 e8 63 98 ff ff 4d 8b 7c 24 10 49 39 df 0f 84 2c 00 00 00 0f 1f 44 00 00 <49> 8b 47 28 48 8b 00 48 85 c0 74 13 48 8b 80 88 00 00 00 48 85
[ 7.187590] RIP [<ffffffffa03748d0>] cx23885_initdev+0x7d0/0x12e0 [cx23885]
[ 7.187590] RSP <ffff880128eb3c70>
[ 7.187591] CR2: 0000000000000028
[ 7.187592] ---[ end trace cb50f05b689965f2 ]---
tdassler
 
Posts: 1
Joined: Tue Apr 09, 2013 10:56 pm


Return to Linux

Who is online

Users browsing this forum: No registered users and 1 guest