Имеется модем Yota LU156 и два компа с Fedora 23 x64. Вопрос в том, что на одном все работает - создается USB Ethernet, а на другом ПК не работает, даже подвисает система при вставке устройства в порт. Отличие смог найти только одно - версия ядра:
Рабочая версия:
Код: Выделить всё
Linux 4.3.5-300.fc23.x86_64 #1 SMP Mon Feb 1 03:18:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Нерабочая версия:
Код: Выделить всё
Linux 4.4.2-301.fc23.x86_64 #1 SMP Tue Feb 23 19:00:38 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Список загруженных модулей совпадает (с нерабочего ПК):
Код: Выделить всё
$ lsmod | grep usbnet
usbnet 45056 2 rndis_host,cdc_ether
mii 16384 1 usbnet
Только, гм, на рабочем размер модуля usbnet меньше - 40960 против 45056 на нерабочем.
Вывод с нерабочего ПК:
Spoiler
Код: Выделить всё
[ 3106.556033] usb 3-2: new high-speed USB device number 4 using xhci_hcd
[ 3106.720881] usb 3-2: New USB device found, idVendor=1076, idProduct=8001
[ 3106.720889] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3106.720892] usb 3-2: Product: Modem Yota
[ 3106.720895] usb 3-2: Manufacturer: GCT SEMICONDUCTOR Inc
[ 3106.722170] usb-storage 3-2:1.0: USB Mass Storage device detected
[ 3106.722523] scsi host7: usb-storage 3-2:1.0
[ 3107.722796] scsi 7:0:0:0: CD-ROM GDM Mass PQ: 0 ANSI: 0 CCS
[ 3107.742522] sr 7:0:0:0: [sr0] scsi3-mmc drive: 0x/0x caddy
[ 3107.742530] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 3107.743403] sr 7:0:0:0: Attached scsi CD-ROM sr0
[ 3107.743783] sr 7:0:0:0: Attached scsi generic sg1 type 5
[ 3108.728076] usb 3-2: USB disconnect, device number 4
[ 3109.535013] usb 3-2: new high-speed USB device number 5 using xhci_hcd
[ 3109.699842] usb 3-2: New USB device found, idVendor=1076, idProduct=8002
[ 3109.699850] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3109.699854] usb 3-2: Product: Modem Yota
[ 3109.699857] usb 3-2: Manufacturer: GCT SEMICONDUCTOR Inc
[ 3109.732237] usbcore: registered new interface driver cdc_ether
[ 3109.736005] BUG: unable to handle kernel NULL pointer dereference at 0000000000000003
[ 3109.736086] IP: [<ffffffffa08e32a1>] usbnet_generic_cdc_bind+0x171/0x710 [cdc_ether]
[ 3109.736142] PGD 0
[ 3109.736159] Oops: 0000 [#1] SMP
[ 3109.736187] Modules linked in: rndis_host(+) cdc_ether usbnet mii uas usb_storage fuse xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun nf_conntrack_netbios_ns nf_conntrack_broadcast ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ip_set nfnetlink ebtable_nat ebtable_filter ebtable_broute bridge stp llc ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw bnep intel_rapl iosf_mbi x86_pkg_temp_thermal coretemp arc4 kvm rtl8192ce iTCO_wdt rtl_pci irqbypass iTCO_vendor_support rtl8192c_common snd_hda_codec_hdmi rtlwifi snd_hda_codec_realtek snd_hda_codec_generic mac80211 snd_hda_intel
[ 3109.736767] uvcvideo snd_hda_codec btusb btrtl btbcm btintel bluetooth snd_hda_core videobuf2_vmalloc joydev videobuf2_memops snd_hwdep snd_seq videobuf2_v4l2 videobuf2_core v4l2_common cfg80211 snd_seq_device videodev snd_pcm media i2c_i801 lpc_ich mei_me shpchp snd_timer mei thinkpad_acpi wmi snd soundcore rfkill tpm_tis tpm nfsd auth_rpcgss binfmt_misc nfs_acl lockd grace sunrpc dm_crypt i915 crct10dif_pclmul crc32_pclmul crc32c_intel sdhci_pci sdhci i2c_algo_bit drm_kms_helper e1000e mmc_core drm serio_raw ptp pps_core fjes video
[ 3109.737182] CPU: 1 PID: 10615 Comm: systemd-udevd Not tainted 4.4.2-301.fc23.x86_64 #1
[ 3109.737234] Hardware name: LENOVO 2325I64/2325I64, BIOS G2ET82WW (2.02 ) 09/11/2012
[ 3109.737283] task: ffff880126095a00 ti: ffff880070fec000 task.ti: ffff880070fec000
[ 3109.737330] RIP: 0010:[<ffffffffa08e32a1>] [<ffffffffa08e32a1>] usbnet_generic_cdc_bind+0x171/0x710 [cdc_ether]
[ 3109.737398] RSP: 0018:ffff880070fef960 EFLAGS: 00010286
[ 3109.737433] RAX: 0000000000000000 RBX: ffff8800c8806840 RCX: 0000000000000000
[ 3109.737478] RDX: 0000000000000000 RSI: ffff88015321d000 RDI: ffff88000a38c800
[ 3109.737523] RBP: ffff880070fefa20 R08: ffff880036579052 R09: ffff880158c03400
[ 3109.737569] R10: ffff88000a38d000 R11: 0000000000021ca9 R12: ffff88015321d000
[ 3109.737613] R13: 0000000000000001 R14: ffffffffa0901068 R15: ffff8800c8806938
[ 3109.737659] FS: 00007f3fac5188c0(0000) GS:ffff88015e240000(0000) knlGS:0000000000000000
[ 3109.737710] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3109.737746] CR2: 0000000000000003 CR3: 000000004113f000 CR4: 00000000001406e0
[ 3109.737791] Stack:
[ 3109.737806] ffff880070fefa20 ffff8800c88062a0 ffff8801080ec2a0 0000000000000000
[ 3109.737861] 0000000000000000 ffff880036579052 ffff88003657905b 0000000000000000
[ 3109.737915] 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 3109.737969] Call Trace:
[ 3109.737992] [<ffffffffa08ff8d2>] generic_rndis_bind+0x62/0x500 [rndis_host]
[ 3109.738041] [<ffffffff81683c28>] ? alloc_netdev_mqs+0x2f8/0x430
[ 3109.738082] [<ffffffffa08ffd83>] rndis_bind+0x13/0x20 [rndis_host]
[ 3109.738125] [<ffffffffa08f14d0>] usbnet_probe+0x320/0x8c0 [usbnet]
[ 3109.738169] [<ffffffff8158589d>] usb_probe_interface+0x1bd/0x300
[ 3109.738211] [<ffffffff814ea482>] driver_probe_device+0x222/0x490
[ 3109.738251] [<ffffffff814ea774>] __driver_attach+0x84/0x90
[ 3109.738288] [<ffffffff814ea6f0>] ? driver_probe_device+0x490/0x490
[ 3109.738329] [<ffffffff814e7f5c>] bus_for_each_dev+0x6c/0xc0
[ 3109.738368] [<ffffffff814e9c3e>] driver_attach+0x1e/0x20
[ 3109.738403] [<ffffffff814e977b>] bus_add_driver+0x1eb/0x280
[ 3109.738441] [<ffffffff814eafc0>] driver_register+0x60/0xe0
[ 3109.738479] [<ffffffff81584144>] usb_register_driver+0x84/0x140
[ 3109.738518] [<ffffffffa0904000>] ? 0xffffffffa0904000
[ 3109.738553] [<ffffffffa090401e>] rndis_driver_init+0x1e/0x1000 [rndis_host]
[ 3109.738601] [<ffffffff81002123>] do_one_initcall+0xb3/0x200
[ 3109.738640] [<ffffffff811ed9b1>] ? __vunmap+0x91/0xe0
[ 3109.738676] [<ffffffff8120aac2>] ? kmem_cache_alloc_trace+0x182/0x1f0
[ 3109.740611] [<ffffffff8120b77b>] ? kfree+0x11b/0x130
[ 3109.742547] [<ffffffff811a9b89>] ? do_init_module+0x27/0x1e5
[ 3109.744436] [<ffffffff811a9bc1>] do_init_module+0x5f/0x1e5
[ 3109.746347] [<ffffffff811288c6>] load_module+0x2026/0x2640
[ 3109.748197] [<ffffffff81124de0>] ? __symbol_put+0x60/0x60
[ 3109.749968] [<ffffffff811ebfec>] ? alloc_vmap_area+0x2fc/0x360
[ 3109.751719] [<ffffffff8112902e>] SyS_init_module+0x14e/0x190
[ 3109.753407] [<ffffffff8179996e>] entry_SYSCALL_64_fastpath+0x12/0x71
[ 3109.755041] Code: 00 48 8b 95 60 ff ff ff 48 8b 85 58 ff ff ff 48 8b 3b 48 89 93 f8 00 00 00 48 8b 55 88 48 89 83 00 01 00 00 48 89 93 08 01 00 00 <0f> b6 70 03 e8 56 02 c9 e0 48 89 83 10 01 00 00 48 8b 83 00 01
[ 3109.758525] RIP [<ffffffffa08e32a1>] usbnet_generic_cdc_bind+0x171/0x710 [cdc_ether]
[ 3109.760175] RSP <ffff880070fef960>
[ 3109.761741] CR2: 0000000000000003
[ 3109.771835] ---[ end trace c48e9679f33533c7 ]---
Смущают, естественно, такие строки:
Код: Выделить всё
[ 3109.736005] BUG: unable to handle kernel NULL pointer dereference at 0000000000000003
[ 3109.736086] IP: [<ffffffffa08e32a1>] usbnet_generic_cdc_bind+0x171/0x710 [cdc_ether]
На рабочем все чудесно:
Spoiler
Код: Выделить всё
[1023994.847016] usb 1-6: new high-speed USB device number 10 using ehci-pci
[1023994.961774] usb 1-6: New USB device found, idVendor=1076, idProduct=8001
[1023994.961779] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[1023994.961783] usb 1-6: Product: Modem Yota
[1023994.961786] usb 1-6: Manufacturer: GCT SEMICONDUCTOR Inc
[1023994.962512] usb-storage 1-6:1.0: USB Mass Storage device detected
[1023994.962604] scsi host14: usb-storage 1-6:1.0
[1023995.962677] scsi 14:0:0:0: CD-ROM GDM Mass PQ: 0 ANSI: 0 CCS
[1023995.986295] sr 14:0:0:0: [sr1] scsi3-mmc drive: 0x/0x caddy
[1023995.986758] sr 14:0:0:0: Attached scsi CD-ROM sr1
[1023995.987023] sr 14:0:0:0: Attached scsi generic sg8 type 5
[1023996.965220] usb 1-6: USB disconnect, device number 10
[1023997.718015] usb 1-6: new high-speed USB device number 11 using ehci-pci
[1023997.832769] usb 1-6: New USB device found, idVendor=1076, idProduct=8002
[1023997.832773] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[1023997.832777] usb 1-6: Product: Modem Yota
[1023997.832780] usb 1-6: Manufacturer: GCT SEMICONDUCTOR Inc
[1023997.955728] usbcore: registered new interface driver cdc_ether
[1023997.962146] rndis_host 1-6:1.0: dev can't take 1558 byte packets (max 1458), adjusting MTU to 1400
[1023997.963601] rndis_host 1-6:1.0 eth0: register 'rndis_host' at usb-0000:00:1d.7-6, RNDIS device, 00:09:3b:f0:1a:40
[1023997.963640] usbcore: registered new interface driver rndis_host
[1023998.159655] rndis_host 1-6:1.0 enp0s29f7u6: renamed from eth0
[1023998.441565] IPv6: ADDRCONF(NETDEV_UP): enp0s29f7u6: link is not ready
Собственно, просьба подсказать куда копать. Пробовать ядро более старое загрузить?