On Wed, Dec 12, 2018 at 08:02:48AM +1100, David Howe wrote: > Hi Sean > > I have tried a variety of kernels, including my own and the results are all > very similar. > > current version of kernel (uname -a) > > Linux david-HP-EliteBook-8460p 4.18.0-13-generic #14~lp1807550 SMP Mon Dec > 10 14:01:28 CST 2018 x86_64 x86_64 x86_64 GNU/Linux > > I built the media stack this way > > git clone/--depth=1/ git://linuxtv.org/media_build.git > cd media_build/ > ./build --main-git --depth 1 > sudo make install > > I can also confirm that the firmware and device loads correctly on an older > machine running an i386 platform and 3.13 kernel
It would be helpful to know if this can be reproduced on the current media tree, see: https://git.linuxtv.org/media_tree.git/about/ Thanks, Sean > > > On 12/10/18 11:30 PM, Sean Young wrote: > > Hi, > > > > On Mon, Dec 10, 2018 at 10:51:33AM +1100, David Howe wrote: > > > hi > > > > > > using the experimental version of the media stack and i get this > > > > > > [ 80.606898] dvb-usb: found a 'DViCO FusionHDTV DVB-T NANO2 w/o > > > firmware' > > > in cold state, will try to load a firmware > > > [ 80.620010] dvb-usb: downloading firmware from file > > > 'dvb-usb-bluebird-02.fw' > > > [ 80.656195] usbcore: registered new interface driver dvb_usb_cxusb > > > [ 80.688792] usb 3-1: USB disconnect, device number 2 > > > [ 80.688826] BUG: unable to handle kernel paging request at > > > 0000000000002db8 > > > [ 80.688830] PGD 0 P4D 0 > > > [ 80.688834] Oops: 0000 [#1] PREEMPT SMP PTI > > > [ 80.688838] CPU: 2 PID: 26 Comm: kworker/2:0 Tainted: G OE > > > 4.18.0-10-lowlatency #11-Ubuntu > > > [ 80.688840] Hardware name: Hewlett-Packard HP EliteBook 8460p/161C, > > > BIOS > > > 68SCF Ver. F.67 02/13/2018 > > > [ 80.688846] Workqueue: usb_hub_wq hub_event > > > [ 80.688852] RIP: 0010:cxusb_disconnect+0x18/0x70 [dvb_usb_cxusb] > > I'm not entirely sure how it got to cxusb_disconnect() without calling > > usb_set_intfdata(). I would have expected a "found a '%s' in warm state." > > message. > > > > Which kernel version are you running? Are building media_build or just the > > latest media_tree -- if so, what commit? > > > > Does this issue happen every time you boot/connect the usb dvb device? > > > > > > Thanks > > Sean > > > > > [ 80.688853] Code: 85 c0 75 e7 31 c0 48 c7 02 00 00 00 00 5d c3 0f 1f 00 > > > 66 66 66 66 90 55 48 89 e5 41 55 41 54 49 89 fc 53 48 8b 87 c8 00 00 00 > > > <4c> > > > 8b a8 b8 2d 00 00 49 8b 5d 10 48 85 db 74 18 48 8b 83 a8 00 00 > > > [ 80.688885] RSP: 0018:ffffa44f00d97b68 EFLAGS: 00010246 > > > [ 80.688888] RAX: 0000000000000000 RBX: ffff98db2dad3030 RCX: > > > 0000000000000000 > > > [ 80.688890] RDX: 0000000000000000 RSI: ffff98db2dad3000 RDI: > > > ffff98db2dad3000 > > > [ 80.688891] RBP: ffffa44f00d97b80 R08: 0000000000000000 R09: > > > ffffffff95335b00 > > > [ 80.688893] R10: ffff98db2ef01660 R11: 0000000000000001 R12: > > > ffff98db2dad3000 > > > [ 80.688895] R13: ffffffffc10530a8 R14: ffff98db307d7000 R15: > > > ffff98db307d70a0 > > > [ 80.688898] FS: 0000000000000000(0000) GS:ffff98db3dc80000(0000) > > > knlGS:0000000000000000 > > > [ 80.688900] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > > > [ 80.688902] CR2: 0000000000002db8 CR3: 000000010ae0a001 CR4: > > > 00000000000606e0 > > > [ 80.688904] Call Trace: > > > [ 80.688911] usb_unbind_interface+0x7a/0x280 > > > [ 80.688916] device_release_driver_internal+0x18c/0x260 > > > [ 80.688919] device_release_driver+0x12/0x20 > > > [ 80.688922] bus_remove_device+0xec/0x160 > > > [ 80.688925] device_del+0x13b/0x350 > > > [ 80.688928] ? __dev_printk+0x44/0x70 > > > [ 80.688932] usb_disable_device+0x9f/0x270 > > > [ 80.688935] usb_disconnect+0xca/0x2c0 > > > [ 80.688938] hub_port_connect+0x85/0xa70 > > > [ 80.688941] port_event+0x45b/0x6d0 > > > [ 80.688945] hub_event+0x14f/0x3b0 > > > [ 80.688951] process_one_work+0x208/0x3f0 > > > [ 80.688954] worker_thread+0x34/0x3f0 > > > [ 80.688958] kthread+0x120/0x140 > > > [ 80.688961] ? rescuer_thread+0x390/0x390 > > > [ 80.688964] ? kthread_create_worker_on_cpu+0x70/0x70 > > > [ 80.688967] ret_from_fork+0x35/0x40 > > > [ 80.688970] Modules linked in: dvb_usb_cxusb(OE) dib0070(OE) > > > dvb_usb(OE) > > > dvb_core(OE) rc_core(OE) rfcomm rpcsec_gss_krb5 auth_rpcgss nfsv4 nfs > > > lockd > > > grace fscache ccm bnep snd_hda_codec_hdmi snd_hda_codec_idt hp_wmi > > > snd_hda_codec_generic snd_hda_intel snd_hda_codec arc4 sparse_keymap > > > iwldvm > > > mac80211 intel_rapl x86_pkg_temp_thermal intel_powerclamp uvcvideo(OE) > > > videobuf2_vmalloc(OE) videobuf2_memops(OE) videobuf2_v4l2(OE) coretemp > > > wmi_bmof videobuf2_common(OE) videodev(OE) snd_hda_core snd_hwdep > > > media(OE) > > > kvm irqbypass crct10dif_pclmul crc32_pclmul btusb ghash_clmulni_intel > > > btrtl > > > iwlwifi pcbc snd_pcm aesni_intel joydev btbcm input_leds snd_seq_midi > > > snd_seq_midi_event btintel aes_x86_64 crypto_simd cryptd bluetooth > > > glue_helper intel_cstate i915 ecdh_generic intel_rapl_perf hp_accel > > > drm_kms_helper drm > > > [ 80.689018] lis3lv02d snd_rawmidi serio_raw mei_me i2c_algo_bit > > > fb_sys_fops syscopyarea sysfillrect cfg80211 wmi tpm_infineon snd_seq > > > snd_seq_device snd_timer mei sysimgblt input_polldev snd soundcore video > > > mac_hid sch_fq_codel cuse parport_pc ppdev lp parport sunrpc ip_tables > > > x_tables autofs4 gpio_ich ahci psmouse libahci lpc_ich firewire_ohci > > > sdhci_pci e1000e firewire_core cqhci sdhci crc_itu_t > > > [ 80.689047] CR2: 0000000000002db8 > > > [ 80.689050] ---[ end trace b4ada9b289256086 ]--- > > > [ 80.689054] RIP: 0010:cxusb_disconnect+0x18/0x70 [dvb_usb_cxusb] > > > [ 80.689056] Code: 85 c0 75 e7 31 c0 48 c7 02 00 00 00 00 5d c3 0f 1f 00 > > > 66 66 66 66 90 55 48 89 e5 41 55 41 54 49 89 fc 53 48 8b 87 c8 00 00 00 > > > <4c> > > > 8b a8 b8 2d 00 00 49 8b 5d 10 48 85 db 74 18 48 8b 83 a8 00 00 > > > [ 80.689090] RSP: 0018:ffffa44f00d97b68 EFLAGS: 00010246 > > > [ 80.689092] RAX: 0000000000000000 RBX: ffff98db2dad3030 RCX: > > > 0000000000000000 > > > [ 80.689093] RDX: 0000000000000000 RSI: ffff98db2dad3000 RDI: > > > ffff98db2dad3000 > > > [ 80.689095] RBP: ffffa44f00d97b80 R08: 0000000000000000 R09: > > > ffffffff95335b00 > > > [ 80.689097] R10: ffff98db2ef01660 R11: 0000000000000001 R12: > > > ffff98db2dad3000 > > > [ 80.689098] R13: ffffffffc10530a8 R14: ffff98db307d7000 R15: > > > ffff98db307d70a0 > > > [ 80.689101] FS: 0000000000000000(0000) GS:ffff98db3dc80000(0000) > > > knlGS:0000000000000000 > > > [ 80.689103] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > > > [ 80.689105] CR2: 0000000000002db8 CR3: 000000010ae0a001 CR4: > > > 00000000000606e0