197b:0250 JMicron JMC250 Gigabit ethernet doesn't work

Bug #1497005 reported by Driuchatyi Mykola
66
This bug affects 29 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Laptop ASUS X52JU can't connect to the router ASUS RT-AC68U via ethernet. NetworkManager shows that cable is unplugged. Router has Gigabit ethernet ports and laptop doesn't see them. I found that it's a bug of the JMC kernel module.

WORKAROUND: The following allows 100 Mbps speed:
sudo ethtool -s eth0 speed 100 duplex full

---
ApportVersion: 2.14.1-0ubuntu3.13
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: nick 1682 F.... pulseaudio
 /dev/snd/controlC0: nick 1682 F.... pulseaudio
CurrentDesktop: Unity
DistroRelease: Ubuntu 14.04
HibernationDevice: RESUME=UUID=b3669551-f67b-41f1-a310-6b79e24b871c
InstallationDate: Installed on 2015-06-16 (93 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
MachineType: ASUSTeK Computer Inc. K52JU
Package: linux (not installed)
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-49-generic root=UUID=c8aa6fb0-2c0a-430d-b6e5-7bb4ebb8346e ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.16.0-49.65~14.04.1-generic 3.16.7-ckt15
RelatedPackageVersions:
 linux-restricted-modules-3.16.0-49-generic N/A
 linux-backports-modules-3.16.0-49-generic N/A
 linux-firmware 1.127.15
Tags: trusty
Uname: Linux 3.16.0-49-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo vboxusers
_MarkForUpload: True
dmi.bios.date: 01/25/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: K52JU.206
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: K52JU
dmi.board.vendor: ASUSTeK Computer Inc.
dmi.board.version: 1.0
dmi.chassis.asset.tag: ATN12345678901234567
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer Inc.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrK52JU.206:bd01/25/2011:svnASUSTeKComputerInc.:pnK52JU:pvr1.0:rvnASUSTeKComputerInc.:rnK52JU:rvr1.0:cvnASUSTeKComputerInc.:ct10:cvr1.0:
dmi.product.name: K52JU
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK Computer Inc.

affects: linux-lts-utopic (Ubuntu) → linux-lts-trusty (Ubuntu)
Revision history for this message
penalvch (penalvch) wrote :

Driuchatyi Nikolay, thank you for reporting this and helping make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal:
apport-collect 1497005

affects: linux-lts-trusty (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Driuchatyi Mykola (druchaty) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Driuchatyi Mykola (druchaty) wrote : BootDmesg.txt

apport information

Revision history for this message
Driuchatyi Mykola (druchaty) wrote : CRDA.txt

apport information

Revision history for this message
Driuchatyi Mykola (druchaty) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Driuchatyi Mykola (druchaty) wrote : IwConfig.txt

apport information

Revision history for this message
Driuchatyi Mykola (druchaty) wrote : Lspci.txt

apport information

Revision history for this message
Driuchatyi Mykola (druchaty) wrote : Lsusb.txt

apport information

Revision history for this message
Driuchatyi Mykola (druchaty) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Driuchatyi Mykola (druchaty) wrote : ProcEnviron.txt

apport information

Revision history for this message
Driuchatyi Mykola (druchaty) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Driuchatyi Mykola (druchaty) wrote : ProcModules.txt

apport information

Revision history for this message
Driuchatyi Mykola (druchaty) wrote : PulseList.txt

apport information

Revision history for this message
Driuchatyi Mykola (druchaty) wrote : RfKill.txt

apport information

Revision history for this message
Driuchatyi Mykola (druchaty) wrote : UdevDb.txt

apport information

Revision history for this message
Driuchatyi Mykola (druchaty) wrote : UdevLog.txt

apport information

Revision history for this message
Driuchatyi Mykola (druchaty) wrote : WifiSyslog.txt

apport information

Revision history for this message
penalvch (penalvch) wrote : Re: JMicron JMC250 Gigabit ethernet doesn't work

Driuchatyi Nikolay, could you please test the latest upstream kernel available from the very top line at the top of the page from http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D (the release names are irrelevant for testing, and please do not test the daily folder)? Install instructions are available at https://wiki.ubuntu.com/Kernel/MainlineBuilds . This will allow additional upstream developers to examine the issue.

If the latest kernel did not allow you to test to the issue (ex. you couldn't boot into the OS) please make a comment in your report about this, and continue to test the next most recent kernel version until you can test to the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this issue is fixed in the mainline kernel, please add the following tags by clicking on the yellow circle with a black pencil icon, next to the word Tags, located at the bottom of the report description:
kernel-fixed-upstream
kernel-fixed-upstream-X.Y-rcZ

Where X, Y, and Z are numbers corresponding to the kernel version.

If the mainline kernel does not fix the issue, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-X.Y-rcZ

Please note, an error to install the kernel does not fit the criteria of kernel-bug-exists-upstream.

Once testing of the latest upstream kernel is complete, please mark this report's Status as Confirmed. Please let us know your results.

Thank you for your understanding.

tags: added: latest-bios-206
Changed in linux (Ubuntu):
importance: Low → Medium
tags: added: kernel-bug-exists-upstream-4.3-rc1
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: added: kernel-bug-exists-upstream
Revision history for this message
Driuchatyi Mykola (druchaty) wrote :

The problem still persists. The same behaviour as on stable Ubuntu kernel.

Revision history for this message
penalvch (penalvch) wrote :

Driuchatyi Nikolay, to clarify, does the command mentioned in the Bug Description allow you to at least use the device at 100Mbps speeds:
sudo ethtool -s eth0 speed 100 duplex full

description: updated
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Driuchatyi Mykola (druchaty) wrote :

Yes, it does

Revision history for this message
penalvch (penalvch) wrote :

Driuchatyi Nikolay, the issue you are reporting is an upstream one. Could you please report this problem following the instructions verbatim at https://wiki.ubuntu.com/Bugs/Upstream/kernel to the appropriate mailing list (netdev CC Guo-Fu Tseng)?

Please provide a direct URL to your e-mail to the mailing list once you have made it so that it may be tracked via http://vger.kernel.org/vger-lists.html . It can take a day for the new e-mail to show up in the respective archive.

Thank you for your understanding.

description: updated
description: updated
Changed in linux (Ubuntu):
status: Incomplete → Triaged
summary: - JMicron JMC250 Gigabit ethernet doesn't work
+ 197b:0250 JMicron JMC250 Gigabit ethernet doesn't work
Revision history for this message
Driuchatyi Mykola (druchaty) wrote :
Download full text (54.5 KiB)

Hello Chistopher,
Is this content ok for sending as email body at mailing list?

[1.] One line summary of the problem: 197b:0250 JMicron JMC250 Gigabit ethernet doesn't work

[2.] Full description of the problem/report:
Laptop ASUS X52JU can't connect to the router ASUS RT-AC68U via ethernet. NetworkManager shows that cable is unplugged. Router has Gigabit ethernet ports and laptop doesn't see them. I found that it's a bug of the JMC kernel module.

[4.] Kernel version (from /proc/version):
Linux version 4.3.0-040300rc1-generic (kernel@gomeisa) (gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04) ) #201509160642 SMP Wed Sep 16 10:44:16 UTC 2015

[7.] Environment
Description: Ubuntu 14.04.3 LTS
Release: 14.04

[7.1.] Software
Linux nick-notebook 4.3.0-040300rc1-generic #201509160642 SMP Wed Sep 16 10:44:16 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Gnu C 4.8
Gnu make 3.81
binutils 2.24
util-linux 2.20.1
mount support
module-init-tools 15
e2fsprogs 1.42.9
pcmciautils 018
PPP 2.4.5
Linux C Library 2.19
Dynamic linker (ldd) 2.19
Procps 3.3.9
Net-tools 1.60
Kbd 1.15.5
Sh-utils 8.21
wireless-tools 30
Modules Loaded nls_iso8859_1 nls_utf8 isofs uas usb_storage drbg ansi_cprng ctr ccm rfcomm bnep arc4 ath9k intel_powerclamp coretemp ath9k_common ath9k_hw uvcvideo amdkfd videobuf2_vmalloc videobuf2_memops amd_iommu_v2 ath radeon videobuf2_core mac80211 v4l2_common kvm_intel videodev hid_logitech_hidpp media ttm drm_kms_helper snd_hda_codec_conexant snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel snd_hda_codec drm kvm cfg80211 snd_hda_core snd_seq_midi snd_seq_midi_event snd_rawmidi snd_hwdep i2c_algo_bit btusb fb_sys_fops syscopyarea snd_pcm sysfillrect sysimgblt snd_seq jmb38x_ms lpc_ich joydev btrtl snd_seq_device memstick input_leds btbcm btintel serio_raw bluetooth snd_timer shpchp mei_me snd soundcore mei asus_laptop sparse_keymap input_polldev parport_pc video ppdev mac_hid lp parport hid_logitech_dj usbhid hid psmouse ahci libahci jme mii sdhci_pci sdhci fjes

[7.2.] Processor information (from /proc/cpuinfo):
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 37
model name : Intel(R) Core(TM) i3 CPU M 380 @ 2.53GHz
stepping : 5
microcode : 0x2
cpu MHz : 1066.000
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt lahf_lm arat dtherm tpr_shadow vnmi flexpriority ept vpid
bugs :
bogomips : 5053.72
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 37
model name : Intel(R) Core...

Revision history for this message
penalvch (penalvch) wrote :

Driuchatyi Nikolay, looks good.

Revision history for this message
Driuchatyi Mykola (druchaty) wrote :
Revision history for this message
Driuchatyi Mykola (druchaty) wrote :

I got a response from Guo-Fu Tseng: http://www.spinics.net/lists/netdev/msg344019.html
What can I do next?

Revision history for this message
penalvch (penalvch) wrote :

Driuchatyi Nikolay, I'm not sure what "HW-PHY bug" means precisely. You may want Guo-Fu to clarify what that means (ex. firmware, hardware design flaw, etc.).

One way to double check is test it with Windows. If you get gigabit speeds, then I would think (perhaps naively) it's a bug in the linux driver versus a bug elsewhere.

Revision history for this message
Driuchatyi Mykola (druchaty) wrote :

I have installed Windows to re-check this issue. Unfortunatelly, adapter works automatically only on 100 Mbps.
Forced setting up to 1Gbps didn't help - link is down.
Seems like it is a hardware problem.

Revision history for this message
penalvch (penalvch) wrote :

Driuchatyi Nikolay:
>"I have installed Windows to re-check this issue. Unfortunatelly, adapter works automatically only on 100 Mbps. Forced setting up to 1Gbps didn't help - link is down."

To clarify, you are downloading the latest version from ftp://driver.jmicron.com.tw/Ethernet/Windows/ ?

>"Seems like it is a hardware problem."

If this is reproducible with the latest driver version from Windows, you could call the manufacturer to inquire about if there is a firmware update that could be applied to fix this problem. If not, you could request a replacement of the same model where they updated the hardware to do as advertised.

Circling back to linux, a quirk could be added that automatically invokes the WORKAROUND you noted in your Bug Description, given it doesn't just work when you plug it in.

Revision history for this message
Driuchatyi Mykola (druchaty) wrote :

I tried to use the recommended driver version from ASUS support website: V6.0.27.6 http://dlcdnet.asus.com/pub/ASUS/nb/Drivers/LAN/JMicron/LAN_JMicron_JMC251_Win7_32_Win7_64_Z60276.zip

After that, I used the latest one for Windows 7 x64 from JMicron support website: http://jmicron-pci-express-gigabit-ethernet-ada1.drivers.informer.com/

Revision history for this message
Driuchatyi Mykola (druchaty) wrote :

I have sent an email to JMicron. There is an answer:

The JMC25x/JMC26x Gigabit Ethernet Chip was mass production at 2008Y, at that time, the IEEE802.3az specification wasn’t ready. So this chip will have a connection issue while connecting to all the IEEE 802.3az enabled devices, that is, if the ‘Speed & Duplex’ feature sets to ”Auto Negotiation” mode or ”1Gbps/Full Duplex” mode, then the link function is abnormal, i.e. link down. Therefore our S/W engineer made a workaround - ASD(Auto-Speed-Down) function to force the LAN speed keeping in 100Mbps when the ‘Speed & Duplex’ feature has been set to “Auto Negotiation” mode or ”1Gbps/Full Duplex” mode.
 My suggestion is to use non-IEEE802.3az Gigabit equipment then your connection speed would keep as 1Gbps.

Revision history for this message
InfoLibre (david-vantyghem) wrote (last edit ):

I'm installing Linux Mint 20.2 Cinnamon on a Shuttle XS35V2.
I've got a Jmicron JMC250 network card 197b:0250 (rev 03).
It doesn't work, until I change speed from 1 Gbit/s to 100 Mbits/s :
sudo ethtool -s enp2s0f5 speed 100 duplex full
(enp2s0f5 is the network interface name)

So, this bug seems to be still here in last version of Debian, Ubuntu and Mint :(

To modify the speed permanently :
Create a file enp2s0f5.service (or whatyouwant.service) in /etc/systemd/system/ :

[Unit]
Description=ethtool configuration to enable 100 Mbit/s speed for the specified card
After=network-online.target
Wants=network-online.target

[Service]
ExecStart=ethtool -s enp2s0f5 speed 100 duplex full
Type=oneshot

[Install]
WantedBy=multi-user.target

Then :

sudo systemctl enable enp2s0f5.service
reboot

See https://bbs.archlinux.org/viewtopic.php?id=262075 for more informations.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.