R8152 carrier off

r8152: check code with checkpatch.pl r8152: replace strncpy with strlcpy r8152: reduce the number of Tx r8152: rename rx_buf_sz r8152: change the location of rtl8152_set_mac_address r8152: use eth_hw_addr_random r8152: use usleep_range r8152: support VLAN r8152: change the EEE definition r8152: add functions to set EEE r8152: support ethtool eeer8152: fix the carrier off when autoresuming r8152: fix setting RTL8152_UNPLUG r8152: remove clearing bp r8152: disable power cut for RTL8153--To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]*PATCH net-next 0/5] r8152 changes @ 2020-11-03 19:22 Marek Behún 2020-11-03 19:22 ` [PATCH net-next 1/5] r8152: use generic USB macros to define product table Marek Behún ` (4 more replies) 0 siblings, 5 replies; 26+ messages in thread From: Marek Behún @ 2020-11-03 19:22 UTC (permalink / raw) To: netdev; +Cc: linux-usb, Hayes Wang, Marek Behún Hi, these are some changes for r8152. At ...Answered September 19, 2020 - Commercial Service Group (Former Employee) - North America. Yes. Due to understaffing, working holidays, weekends, and during vacation is often required.2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000 link/ether <MAC 'enp3s0' [IF1]> brd <MAC address> 4: wlp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 10001713657 - Dell DA200 Ethernet (Realtek R8153) not finding link. If you use the APIs then you should read the API Authentication changes announcement before your access is blocked on the 14th of March. Bug 1713657 - Dell DA200 Ethernet (Realtek R8153) not finding link. Summary: Dell DA200 Ethernet (Realtek R8153) not finding link.The original flows are 1. check if the driver/device is busy now. 2. set wake events. 3. enter runtime suspend. If the wake event occurs between (1) and (2), the device may miss it. Besides, to avoid the runtime resume occurs after runtime suspend immediately, move the checking to the end of rtl8152_runtime_suspend ().Lenovo Thunderbolt 4 Dock, and other Lenovo USB Docks are using the original Realtek USB ethernet Vendor and Product IDs If the Network device is Realtek verify that it is on a Lenovo USB hub before enabling the passthru feature This also adds in the device IDs for the Lenovo USB Dongle and one other USB-C dock V2 fix formating of code V3 remove Generic define for Device ID 0x8153 and change ...The local_bh_disable () / local_bh_enable () definitely is the right answer to the issue you described. It does not matter what code in r8152.c currently does. https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=8cf699ec849f4ca1413cea01289bd7d37dbcc626 ^ permalink raw reply [ flat | nested] 11+ messages in threadDownload r8152. Copy the r8152.ko file to /lib/modules/ To automatically load drivers, you have to edit line 310 of /etc/rc and /etc.default/rc. Change : NET_DRIVERS="dca e1000e i2c-algo-bit igb be2net ixgbe tn40xx" To : NET_DRIVERS="dca e1000e i2c-algo-bit igb be2net ixgbe tn40xx mii usbnet ax88179_178a r8152 " Then reboot and enjoyI'm running Ubuntu Server 20.04.1 on an Intel NUC 10i5. I've found that the ethernet port on the NUC is very iffy - just barely touching/nudging the ethernet cable makes me lose connection. So I bought a USB 3.0-Ethernet adapter. (I could RMA, but I don't want to spend the time doing it right now). lsusb: Bus 002 Device 002: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet ...*PATCH net-next] net/usb: new driver for RTL8152 @ 2013-04-26 8:45 Hayes Wang 2013-04-26 11:56 ` Oliver Neukum ` (3 more replies) 0 siblings, 4 replies; 13+ messages in thread From: Hayes Wang @ 2013-04-26 8:45 UTC (permalink / raw) To: gregkh, oliver Cc: netdev, linux-kernel, linux-usb, Hayes Wang, Realtek linux nic maintainers Add new driver for ...Website. I have the ThinkPad USB-C Dock connected to my ThinkPad Carbon X1. I'm running a freshly updated Arch. When I connect Ethernet to the port on the docking station the connection flaps continuously and the connection is not usable. Connecting Ethernet to the computer directly (via this proprietary adapter) works fine.FWIW, not all devices using the r8152 driver seem affected by the crash. I was facing the crash on ArchLinux with a TP-Link UE330 adapter (which is also a 3 port USB hub) for several weeks, then switched to the Dell USB 3.0 adapter that was provided with my Dell XPS 13 and issues are gone.Hi everybody, I have a dell xps 9570 and I am trying to connect to the internet using a usb type-c dongle and with an ethernet port. Wifi works well but I also want to be able to connect to wired networks. I am on Manjaro KDE. First, I have to say that the UI for connecting to networks in Manjaro is very confusing, since I don't see any "connect" button I am not sure of how I am supposed to ...Maybe you could try blacklisting the cdc_ncm driver to see if the r8152 then loads instead. The r8152 module is being compiled, you just need to get it loaded. No need to compile a different one unless the kernel version does not work. Something like this should work: $ nano /etc/modprobe.d/blacklist.conf blacklist cdc_ncm我已经购买了一些基于Realtek r8152芯片组的USB以太网适配器。它在我的Debian" Stretch"下完美地工作,但是只有在OS加载后插入它,它才能这样工作。如果操作系统在连接了此适配器的情况下启动-互联网连接持续挂起(如每5秒钟一次),它将自动连接并断开连接。Sep 04, 2013 · Priority:-2 extents:1 across:102396k SSFS [ 125.855442] r8152 1-1:1.0 eth0: carrier off [ 128.564423] r8152 1-1:1.0 eth0: carrier on [ 130.396088] r8152 1-1:1.0 eth0: carrier off [ 133.107800] r8152 1-1:1.0 eth0: carrier on [ 148.125673] r8152 1-1:1.0 eth0: carrier off [ 150.963953] r8152 1-1:1.0 eth0: carrier on [ 180.763941] r8152 1-1:1.0 ... Maybe you could try blacklisting the cdc_ncm driver to see if the r8152 then loads instead. The r8152 module is being compiled, you just need to get it loaded. No need to compile a different one unless the kernel version does not work. Something like this should work: $ nano /etc/modprobe.d/blacklist.conf blacklist cdc_ncm*PATCH net-next] net/usb: new driver for RTL8152 @ 2013-04-26 8:45 Hayes Wang 2013-04-26 11:56 ` Oliver Neukum ` (3 more replies) 0 siblings, 4 replies; 13+ messages in thread From: Hayes Wang @ 2013-04-26 8:45 UTC (permalink / raw) To: gregkh, oliver Cc: netdev, linux-kernel, linux-usb, Hayes Wang, Realtek linux nic maintainers Add new driver for ...- r8152: fix the list rx_done may be used without initialization (bnc#1012382). - r8152: prevent the driver from transmitting packets with carrier off (bnc#1012382). - r8169: fix memory corruption on retrieval of hardware statistics (bnc#1012382). - raid5: Set R5_Expanded on parity devices as well as data (bnc#1012382).Lenovo Thunderbolt 4 Dock, and other Lenovo USB Docks are using the original Realtek USB ethernet Vendor and Product IDs If the Network device is Realtek verify that it is on a Lenovo USB hub before enabling the passthru feature This also adds in the device IDs for the Lenovo USB Dongle and one other USB-C dock V2 fix formating of code V3 remove Generic define for Device ID 0x8153 and change ...The Gonzaga and Michigan State men's basketball teams are set to face off on top of an aircraft carrier, the USS Abraham Lincoln, on Veterans Day. Menu. Sports. Latest Sports. Lions. Tigers.the usb ethernet driver r8152 is old, when will Nvidia kernel be updated with new driver and support code. kayccc October 29, 2020, 1:47am #6. See also : Tx2-4g R32.3.1 Custom board, r8152 Problems. Is the reltek drivers the latest and greatest?Sep 04, 2013 · Priority:-2 extents:1 across:102396k SSFS [ 125.855442] r8152 1-1:1.0 eth0: carrier off [ 128.564423] r8152 1-1:1.0 eth0: carrier on [ 130.396088] r8152 1-1:1.0 eth0: carrier off [ 133.107800] r8152 1-1:1.0 eth0: carrier on [ 148.125673] r8152 1-1:1.0 eth0: carrier off [ 150.963953] r8152 1-1:1.0 eth0: carrier on [ 180.763941] r8152 1-1:1.0 ... *PATCH net-next] net/usb: new driver for RTL8152 @ 2013-04-26 8:45 Hayes Wang 2013-04-26 11:56 ` Oliver Neukum ` (3 more replies) 0 siblings, 4 replies; 13+ messages in thread From: Hayes Wang @ 2013-04-26 8:45 UTC (permalink / raw) To: gregkh, oliver Cc: netdev, linux-kernel, linux-usb, Hayes Wang, Realtek linux nic maintainers Add new driver for ...the usb ethernet driver r8152 is old, when will Nvidia kernel be updated with new driver and support code. kayccc October 29, 2020, 1:47am #6. See also : Tx2-4g R32.3.1 Custom board, r8152 Problems. Is the reltek drivers the latest and greatest?Im using my Dell XPS 13 9350 device with Dell WD15 USB-C dock as desktop replacement. Manjaro (Budgie) installed and working well. The only issue i can't solve is the Ethernet card inside the WD15 dock doesn't get detected after few reboots. The ethernet icon in status bar switches to Wifi icon if this happens. Ethernet is dead. I have to unplug the USB-C dock power supply and replug, reboot ...Clone via HTTPS Clone with Git or checkout with SVN using the repository's web address.Priority:-2 extents:1 across:102396k SSFS [ 125.855442] r8152 1-1:1.0 eth0: carrier off [ 128.564423] r8152 1-1:1.0 eth0: carrier on [ 130.396088] r8152 1-1:1.0 eth0: carrier off [ 133.107800] r8152 1-1:1.0 eth0: carrier on [ 148.125673] r8152 1-1:1.0 eth0: carrier off [ 150.963953] r8152 1-1:1.0 eth0: carrier on [ 180.763941] r8152 1-1:1.0 ...A video posted on social media over the weekend shows the stealth fighter that crashed on a US Navy aircraft carrier last month bursting into flames as it strikes the flight deck of the massive ...Hi All! I have the following setup: Precision 5520 Dell WD15 Docking On the WD15 docking there is an network port r8152. Now once in a while (like 1 time a week), the connection dies, and kernel prints the following message: kernel: [ 6164.073282] r8152 4-1.2:1.0 enxa44cc890f4c8: Tx status -71 simply replugging the dock, or disable/enable the network interface fixes the problem.r8152: fix the carrier off when autoresuming r8152: fix setting RTL8152_UNPLUG r8152: remove clearing bp r8152: disable power cut for RTL8153--To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] message: Greg Kroah-Hartman: "[PATCH 4.9 040/104] r8152: prevent the driver from transmitting packets with carrier off" In reply to: Greg Kroah-Hartman: "[PATCH 4.9 040/104] r8152: prevent the driver from transmitting packets with carrier off" Next in thread: Greg Kroah-Hartman: "[PATCH 4.9 049/104] IB/rxe: double free on error"Download r8152. Copy the r8152.ko file to /lib/modules/ To automatically load drivers, you have to edit line 310 of /etc/rc and /etc.default/rc. Change : NET_DRIVERS="dca e1000e i2c-algo-bit igb be2net ixgbe tn40xx" To : NET_DRIVERS="dca e1000e i2c-algo-bit igb be2net ixgbe tn40xx mii usbnet ax88179_178a r8152 " Then reboot and enjoyThis is solved by installing the now outdated Realtek drivers for this chip. Problem is, I need to kick both cdc-mbim and cdc-ncm with modprobe -r before attaching the device since otherwise the modules will conflict and cdc-ncm will win.It seems I'm unable to narrow down the commit. I can assure (because I have tested this twice) the last bad kernel is 3.17.-rc7-utopic (http://kernel.ubuntu.com ...Hi All! I have the following setup: Precision 5520 Dell WD15 Docking On the WD15 docking there is an network port r8152. Now once in a while (like 1 time a week), the connection dies, and kernel prints the following message: kernel: [ 6164.073282] r8152 4-1.2:1.0 enxa44cc890f4c8: Tx status -71 simply replugging the dock, or disable/enable the network interface fixes the problem.This package provides the r8125 kernel module(s) for Realtek RTL8125 2.5G Ethernet NICs built for the Linux kernel using the x86_64 family of processors.The r8152.c driver attempted to build skb's for the entire packet size, even though the 1518-byte packets had only 496-bytes of data in the URB. It is not clear what the chip did with the rest of the packets in question, but the next URBs in each case began with a new/real rx_desc and new packet.- r8152: fix the carrier off when autoresuming (bsc#993099). - r8152: fix the checking of the usb speed (bsc#993099). - r8152: fix the issue about U1/U2 (bsc#993099). - r8152: fix the runtime suspend issues (bsc#993099). - r8152: fix the submission of the interrupt transfer (bsc#993099).r8152: fix the carrier off when autoresuming r8152: fix setting RTL8152_UNPLUG r8152: remove clearing bp r8152: disable power cut for RTL8153--To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] 21.08.6 Bullseye with Linux 5.10.43-rockchip64 # cd /etc/systemd/network/ # ls -la total 20 drwxr-xr-x 2 root root 4096 Nov 16 14:42 . drwxr-xr-x 6 root root 4096 Nov 26 07:00 .. -rw-r--r-- 1 root root 30 Nov 26 2020 br0.netdev -rw-r--r-- 1 root root 233 Oct 10 19:27 br0.network -rw-r--r-- 1 root root 40 Nov 16 14:42 eth0.network # cat ...Description of the problem Connection stops after few minutes ds1515+ ugreen usb after around 1000 ping, i can recover it by turn off/on NIC in nas or pc. speed is fine around 230Mbps Description of your products the product name of your... Occasionally, wired USB input devices (mouse and keyboard) stop working under an Xorg XFCE session. There is no consistency whether they appear to be powered or not (NumLock and CapsLock LEDs can or cannot light up, e.g), but they do not move the pointer or input text, whereas built-in keyboard and touchpad do.compile SPK with:sudo ./PkgCreate.py -v 7.0 -p evansport -c r8152 --min-sdk 7.0. extract the resulting SPK file as a zip and extract the r8152.ko file. put it on the synology and use insmod to load the module. enable interface with:ifconfig eth1 up. yay USB 2.5Gbit ethernet working on DSM 7.0 Beta. No downgrade needed.Mar 10 18:32:42 raspberrypi kernel: [ 5097.297373] r8152 1-1:1.0 eth0: carrier off Mar 10 18:32:44 raspberrypi kernel: [ 5099.407827] r8152 1-1:1.0 eth0: carrier on Mar 11 06:51:49 raspberrypi kernel: [49445.271529] r8152 1-1:1.0 eth0: carrier off Mar 11 06:51:52 raspberrypi kernel: [49447.348851] r8152 1-1:1.0 eth0: carrier onOccasionally, wired USB input devices (mouse and keyboard) stop working under an Xorg XFCE session. There is no consistency whether they appear to be powered or not (NumLock and CapsLock LEDs can or cannot light up, e.g), but they do not move the pointer or input text, whereas built-in keyboard and touchpad do.[PATCH net-next 12/12] r8152: modify the tx timeout funcfion From: Hayes Wang Date: Tue Mar 04 2014 - 07:02:38 EST Next message: Hayes Wang: "[PATCH net-next 09/12] r8152: support IPv6" Previous message: Hayes Wang: "[PATCH net-next 10/12] r8152: reduce the numbers of the bulks" In reply to: Hayes Wang: "[PATCH net-next 10/12] r8152: reduce the numbers of the bulks"Maybe you could try blacklisting the cdc_ncm driver to see if the r8152 then loads instead. The r8152 module is being compiled, you just need to get it loaded. No need to compile a different one unless the kernel version does not work. Something like this should work: $ nano /etc/modprobe.d/blacklist.conf blacklist cdc_ncmFWIW, not all devices using the r8152 driver seem affected by the crash. I was facing the crash on ArchLinux with a TP-Link UE330 adapter (which is also a 3 port USB hub) for several weeks, then switched to the Dell USB 3.0 adapter that was provided with my Dell XPS 13 and issues are gone. 8 body types of chinese medicine Hey gang! I could use your help troubleshooting an issue with my Synology! So I run an DiskStation 1821+ [0], with DSM 7.1-42661 Update 2 [1]I recently acquired fancy & expensive Synology E25G21-F2 PCIe card [2], which features two SFP28 ports. Each port does a line rate of 25 Gbps, so in 2x aggregate runs about ~50 Gbps.The r8152.c driver attempted to build skb's for the entire packet size, even though the 1518-byte packets had only 496-bytes of data in the URB. It is not clear what the chip did with the rest of the packets in question, but the next URBs in each case began with a new/real rx_desc and new packet.[ 2799.195392] r8152 2-3:1.0 eth1: carrier on [ 3033.353440] r8152 2-3:1.0 eth1: carrier off [ 3039.418097] r8152 2-3:1.0 eth1: carrier on [ 3045.025038] asix 1-6:1.0 eth2: link up, 100Mbps, full-duplex, lpa 0xCDE1 [ 3089.050936] asix 1-6:1.0 eth2: link up, 100Mbps, full-duplex, lpa 0xCDE1 [ 3096.412954] r8152 2-3:1.0 eth1: carrier off [ 3102. ...Next in thread: David Miller: "Re: [PATCH net-next 0/3] r8152: cleanups" Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Replace some tp->netdev with netdev.*PATCH net-next] net/usb: new driver for RTL8152 @ 2013-04-26 8:45 Hayes Wang 2013-04-26 11:56 ` Oliver Neukum ` (3 more replies) 0 siblings, 4 replies; 13+ messages in thread From: Hayes Wang @ 2013-04-26 8:45 UTC (permalink / raw) To: gregkh, oliver Cc: netdev, linux-kernel, linux-usb, Hayes Wang, Realtek linux nic maintainers Add new driver for ...Debian Stretch and Realtek r8152 chipset carrier off/on errorHelpful? Please support me on Patreon: https://www.patreon.com/roelvandepaarWith thanks & prais... I got an XPS 15 (9500) recently. It has an SD card slot, so I decided to try installing Linux on an SD card. This way, I can test how Linux works on it without having to destroy the existing Windows installation. I tried installing Debian, versions stable and testing. I got the testing because I needed a newer kernel that would support the WiFi ...- r8152: fix the list rx_done may be used without initialization (bnc#1012382). - r8152: prevent the driver from transmitting packets with carrier off (bnc#1012382). - r8169: fix memory corruption on retrieval of hardware statistics (bnc#1012382). - raid5: Set R5_Expanded on parity devices as well as data (bnc#1012382).The original flows are 1. check if the driver/device is busy now. 2. set wake events. 3. enter runtime suspend. If the wake event occurs between (1) and (2), the device may miss it. Besides, to avoid the runtime resume occurs after runtime suspend immediately, move the checking to the end of rtl8152_runtime_suspend ().Next in thread: David Miller: "Re: [PATCH net-next 0/3] r8152: cleanups" Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Replace some tp->netdev with netdev.r8152: fix the carrier off when autoresuming r8152: fix setting RTL8152_UNPLUG r8152: remove clearing bp r8152: disable power cut for RTL8153--To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] 0. Fix the runtime suspend issues result from the linking change. Case 1: a) link down occurs. b) driver disable tx/rx. c) autosuspend occurs. d) hw linking up. e) device suspends without enabling tx/rx. f) couldn't wake up when receiving packets. mamba micro x2 - r8152: fix the list rx_done may be used without initialization (bnc#1012382). - r8152: prevent the driver from transmitting packets with carrier off (bnc#1012382). - r8169: fix memory corruption on retrieval of hardware statistics (bnc#1012382). - raid5: Set R5_Expanded on parity devices as well as data (bnc#1012382).[PATCH net-next 12/12] r8152: modify the tx timeout funcfion From: Hayes Wang Date: Tue Mar 04 2014 - 07:02:38 EST Next message: Hayes Wang: "[PATCH net-next 09/12] r8152: support IPv6" Previous message: Hayes Wang: "[PATCH net-next 10/12] r8152: reduce the numbers of the bulks" In reply to: Hayes Wang: "[PATCH net-next 10/12] r8152: reduce the numbers of the bulks"I'm running Ubuntu Server 20.04.1 on an Intel NUC 10i5. I've found that the ethernet port on the NUC is very iffy - just barely touching/nudging the ethernet cable makes me lose connection. So I bought a USB 3.0-Ethernet adapter. (I could RMA, but I don't want to spend the time doing it right now). lsusb: Bus 002 Device 002: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet ...The local_bh_disable () / local_bh_enable () definitely is the right answer to the issue you described. It does not matter what code in r8152.c currently does. https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=8cf699ec849f4ca1413cea01289bd7d37dbcc626 ^ permalink raw reply [ flat | nested] 11+ messages in thread[PATCH net-next 12/12] r8152: modify the tx timeout funcfion From: Hayes Wang Date: Tue Mar 04 2014 - 07:02:38 EST Next message: Hayes Wang: "[PATCH net-next 09/12] r8152: support IPv6" Previous message: Hayes Wang: "[PATCH net-next 10/12] r8152: reduce the numbers of the bulks" In reply to: Hayes Wang: "[PATCH net-next 10/12] r8152: reduce the numbers of the bulks"Netdev Archive on lore.kernel.org help / color / mirror / Atom feed * [PATCH v2] r8152: fix lockup when runtime PM is enabled @ 2015-12-08 11:17 Peter Wu 2015-12-08 12:39 ` Hayes Wang 2015-12-09 3:48 ` David Miller 0 siblings, 2 replies; 17+ messages in thread From: Peter Wu @ 2015-12-08 11:17 UTC (permalink / raw) To: Hayes Wang, David S . [ 8.753558] usbcore: registered new interface driver r8152 [ 8.758006] usbcore: registered new interface driver cdc_ether [ 8.759078] usbcore: registered new interface driver r8153_ecm [ 8.878726] usb 6-1.4: reset SuperSpeed Gen 1 USB device number 4 using xhci_hcd [ 8.912802] r8152 6-1.4:1.0: load rtl8153b-2 v1 10/23/19 successfullyPriority:-2 extents:1 across:102396k SSFS [ 125.855442] r8152 1-1:1.0 eth0: carrier off [ 128.564423] r8152 1-1:1.0 eth0: carrier on [ 130.396088] r8152 1-1:1.0 eth0: carrier off [ 133.107800] r8152 1-1:1.0 eth0: carrier on [ 148.125673] r8152 1-1:1.0 eth0: carrier off [ 150.963953] r8152 1-1:1.0 eth0: carrier on [ 180.763941] r8152 1-1:1.0 ...Lenovo Thunderbolt 4 Dock, and other Lenovo USB Docks are using the original Realtek USB ethernet Vendor and Product IDs If the Network device is Realtek verify that it is on a Lenovo USB hub before enabling the passthru feature This also adds in the device IDs for the Lenovo USB Dongle and one other USB-C dock V2 fix formating of code V3 remove Generic define for Device ID 0x8153 and change ...While at it, remove WORK_ENABLE check from rtl8152_open (introduced with the original change) because it cannot happen: - After this patch, runtime resume will not set it during rtl8152_open. - When link is up, rtl8152_open is not called. - When link is down during system/auto suspend/resume, it is not set.This package provides the r8125 kernel module(s) for Realtek RTL8125 2.5G Ethernet NICs built for the Linux kernel using the x86_64 family of processors.is carrier off, because the interrupt transfer doesn't update the linking status, yet. And, if the device is in ALDPS mode, the device would stop working. The another similar case is 1. unplug the cable. 2. interrupt transfer queue a work_queue for linking change. 3. device enters the ALDPS mode. 4. a tx occurs before the work_queue is called.Debian Stretch and Realtek r8152 chipset carrier off/on errorHelpful? Please support me on Patreon: https://www.patreon.com/roelvandepaarWith thanks & prais... Netdev Archive on lore.kernel.org help / color / mirror / Atom feed * [PATCH net-next 1/7] r8152: remove clearing the memory to zero for netdev priv @ 2013-08-16 8:09 Hayes Wang 2013-08-16 8:09 ` [PATCH net-next 2/7] r8152: replace void * with struct r8152 * Hayes Wang ` (6 more replies) 0 siblings, 7 replies; 8+ messages in thread From: Hayes Wang @ 2013-08-16 8:09 UTC (permalink / raw) To ... Debian Stretch and Realtek r8152 chipset carrier off/on errorHelpful? Please support me on Patreon: https://www.patreon.com/roelvandepaarWith thanks & prais... dry press Answered September 19, 2020 - Commercial Service Group (Former Employee) - North America. Yes. Due to understaffing, working holidays, weekends, and during vacation is often required.LKML Archive on lore.kernel.org help / color / mirror / Atom feed * [PATCH net-next 00/12] r8152: new features @ 2014-03-04 12:00 Hayes Wang 2014-03-04 12:00 ` [PATCH net-next 01/12] r8152: deal with the empty line and space Hayes Wang ` (19 more replies) 0 siblings, 20 replies; 80+ messages in thread From: Hayes Wang @ 2014-03-04 12:00 UTC (permalink / raw) To: netdev; +Cc: nic_swsd, linux ...Hi, I have this Anker USB-Hub/Ethernet Adapter (Realtek r8153/8152) and after a bit of startup problems which where resolved by tlp-blacklisting it, it worked just fine for a view days. Yesterday out of (seemlingly) nowhere the connection dropped from 1000Mbit/s to 100mbit/s. Tried to force it to 1Gbit with sudo ethtool -s enn0s20u1u3 speed 1000 duplex full but it fails to estalish a ...Previous message: Greg Kroah-Hartman: "[PATCH 4.9 040/104] r8152: prevent the driver from transmitting packets with carrier off" In reply to: Greg Kroah-Hartman: "[PATCH 4.9 040/104] r8152: prevent the driver from transmitting packets with carrier off" Next in thread: Greg Kroah-Hartman: "[PATCH 4.9 049/104] IB/rxe: double free on error"compile SPK with:sudo ./PkgCreate.py -v 7.0 -p evansport -c r8152 --min-sdk 7.0. extract the resulting SPK file as a zip and extract the r8152.ko file. put it on the synology and use insmod to load the module. enable interface with:ifconfig eth1 up. yay USB 2.5Gbit ethernet working on DSM 7.0 Beta. No downgrade needed.我已经购买了一些基于Realtek r8152芯片组的USB以太网适配器。它在我的Debian" Stretch"下完美地工作,但是只有在OS加载后插入它,它才能这样工作。如果操作系统在连接了此适配器的情况下启动-互联网连接持续挂起(如每5秒钟一次),它将自动连接并断开连接。Debian Stretch and Realtek r8152 chipset carrier off/on errorHelpful? Please support me on Patreon: https://www.patreon.com/roelvandepaarWith thanks & prais...It seems I'm unable to narrow down the commit. I can assure (because I have tested this twice) the last bad kernel is 3.17.-rc7-utopic (http://kernel.ubuntu.com ...r8152: fix the carrier off when autoresuming r8152: fix setting RTL8152_UNPLUG r8152: remove clearing bp r8152: disable power cut for RTL8153--To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]$ uname -a Linux host 5.0.6-arch1-1-ARCH #1 SMP PREEMPT Wed Apr 3 09:35:20 UTC 2019 x86_64 GNU/Linux $ lsusb Bus 002 Device 003: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter $ ip addr 3: enp0s20f0u4u1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 00:50:b6:ae:35:6b brd ff:ff:ff:ff:ff:ff inet6 fe80::d262:bdd4 ...Jan 14 17:53:34 computer5 kernel: [ 3399.691886] r8152 2-4:1.0 enx00e04c6816d8: carrier off Jan 14 17:53:37 computer5 kernel: [ 3402.761631] r8152 2-4:1.0 enx00e04c6816d8: carrier on Zu diesem Zeitpunkt lag keine große Netzwerklast an, höchstens ein paar vereinzelte Datenpakete von NTP oder IMAP.Hi everybody, I have a dell xps 9570 and I am trying to connect to the internet using a usb type-c dongle and with an ethernet port. Wifi works well but I also want to be able to connect to wired networks. I am on Manjaro KDE. First, I have to say that the UI for connecting to networks in Manjaro is very confusing, since I don't see any "connect" button I am not sure of how I am supposed to ...From:: Greg KH <gregkh-AT-linuxfoundation.org> To:: linux-kernel-AT-vger.kernel.org, Andrew Morton <akpm-AT-linux-foundation.org>, torvalds-AT-linux-foundation.org ... movies about online predators Nov 05, 2019 · 出现间歇性的LAN中断,内核日志输出如下: [36266.457483] br-lan: port 1(eth0) entered disabled state [36266.522508] r8152 2-1.1:1.0 eth0: carrier off [36266.596951] atkbd serio0: Unknown key pressed (translated set 2, code 0x8d on isa0060/serio0). I wanted to have a powered USB 3.0 Hub available for items I was concerned weren't going to get enough power off the USB 3 bus, especially if the Pi was suspended or sleeping (e.g., keyboards and mice, USB flash drives, etc.). ... r8152 2-1:1.0 enp1s0u1: carrier on Mar 19 17:47:23 teletraan1 systemd-networkd[207]: enp1s0u1: Gained carrier.May 17, 2022 · Lenovo Thunderbolt 4 Dock, and other Lenovo USB Docks are using the original Realtek USB ethernet Vendor and Product IDs If the Network device is Realtek verify that it is on a Lenovo USB hub before enabling the passthru feature This also adds in the device IDs for the Lenovo USB Dongle and one other USB-C dock V2 fix formating of code V3 remove Generic define for Device ID 0x8153 and change ... Debian Stretch and Realtek r8152 chipset carrier off/on errorHelpful? Please support me on Patreon: https://www.patreon.com/roelvandepaarWith thanks & prais... Armbian 21.08.6 Bullseye with Linux 5.10.43-rockchip64 # cd /etc/systemd/network/ # ls -la total 20 drwxr-xr-x 2 root root 4096 Nov 16 14:42 . drwxr-xr-x 6 root root 4096 Nov 26 07:00 .. -rw-r--r-- 1 root root 30 Nov 26 2020 br0.netdev -rw-r--r-- 1 root root 233 Oct 10 19:27 br0.network -rw-r--r-- 1 root root 40 Nov 16 14:42 eth0.network # cat ...From:: Greg KH <gregkh-AT-linuxfoundation.org> To:: linux-kernel-AT-vger.kernel.org, Andrew Morton <akpm-AT-linux-foundation.org>, torvalds-AT-linux-foundation.org ...Priority:-2 extents:1 across:102396k SSFS [ 125.855442] r8152 1-1:1.0 eth0: carrier off [ 128.564423] r8152 1-1:1.0 eth0: carrier on [ 130.396088] r8152 1-1:1.0 eth0: carrier off [ 133.107800] r8152 1-1:1.0 eth0: carrier on [ 148.125673] r8152 1-1:1.0 eth0: carrier off [ 150.963953] r8152 1-1:1.0 eth0: carrier on [ 180.763941] r8152 1-1:1.0 ...[PATCH 4.9 040/104] r8152: prevent the driver from transmitting packets with carrier off From: Greg Kroah-Hartman Date: Fri Dec 22 2017 - 03:54:56 EST Next message: Greg Kroah-Hartman: "[PATCH 4.9 041/104] s390/qeth: size calculation outbound buffers" 2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000 link/ether <MAC 'enp3s0' [IF1]> brd <MAC address> 4: wlp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000# dmidecode | grep 'System Info' -A2 System Information Manufacturer: Dell Inc. Product Name: Latitude 3350 # lspci | grep -i net 03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15) 04:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32) # uname -r 4.7.6-1-ARCHI am using a Dell WD19TB Dock to connect my Dell XPS 13 2-in-1 7390 to two 1440p Monitors via DP (Not daisy-chained), Network and the occasional thumb drive. Kernel: 5.6.11-arch1-1 Desktop Environment: KDE plasma 5.18.5-1 with X 1.20.8-2 xf86-video-intel is not installed. I am running out of Ideas with this one: Randomly, the screens connected to the dock:Subject: [PATCH net-next] net/usb: new driver for RTL8152. Date: Fri, 26 Apr 2013 16:45:48 +0800. Message-ID: <[email protected]>. Cc: <[email protected]>, <[email protected]>, <[email protected]>, Hayes Wang <[email protected]>, Realtek linux nic maintainers <[email protected]>.A video posted on social media over the weekend shows the stealth fighter that crashed on a US Navy aircraft carrier last month bursting into flames as it strikes the flight deck of the massive ... woodpecker router lift manual - r8152: fix the list rx_done may be used without initialization (bnc#1012382). - r8152: prevent the driver from transmitting packets with carrier off (bnc#1012382). - r8169: fix memory corruption on retrieval of hardware statistics (bnc#1012382). - raid5: Set R5_Expanded on parity devices as well as data (bnc#1012382).Debian Stretch and Realtek r8152 chipset carrier off/on errorHelpful? Please support me on Patreon: https://www.patreon.com/roelvandepaarWith thanks & prais... May 17, 2022 · Lenovo Thunderbolt 4 Dock, and other Lenovo USB Docks are using the original Realtek USB ethernet Vendor and Product IDs If the Network device is Realtek verify that it is on a Lenovo USB hub before enabling the passthru feature This also adds in the device IDs for the Lenovo USB Dongle and one other USB-C dock V2 fix formating of code V3 remove Generic define for Device ID 0x8153 and change ... Mar 10 18:32:42 raspberrypi kernel: [ 5097.297373] r8152 1-1:1.0 eth0: carrier off Mar 10 18:32:44 raspberrypi kernel: [ 5099.407827] r8152 1-1:1.0 eth0: carrier on Mar 11 06:51:49 raspberrypi kernel: [49445.271529] r8152 1-1:1.0 eth0: carrier off Mar 11 06:51:52 raspberrypi kernel: [49447.348851] r8152 1-1:1.0 eth0: carrier on2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000 link/ether <MAC 'enp3s0' [IF1]> brd <MAC address> 4: wlp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000Answered September 19, 2020 - Commercial Service Group (Former Employee) - North America. Yes. Due to understaffing, working holidays, weekends, and during vacation is often required.LKML Archive on lore.kernel.org help / color / mirror / Atom feed * [PATCH net-next 00/12] r8152: new features @ 2014-03-04 12:00 Hayes Wang 2014-03-04 12:00 ` [PATCH net-next 01/12] r8152: deal with the empty line and space Hayes Wang ` (19 more replies) 0 siblings, 20 replies; 80+ messages in thread From: Hayes Wang @ 2014-03-04 12:00 UTC (permalink / raw) To: netdev; +Cc: nic_swsd, linux ...> lsmod | grep r8152 r8152 61440 0 mii 16384 2 usbnet,r8152 > ifconfig enx34298f9231a4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether 34:29:8f:92:31:a4 txqueuelen 1000 (Ethernet) RX packets 63 bytes 11158 (11.1 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 ...Jan 14 17:53:34 computer5 kernel: [ 3399.691886] r8152 2-4:1.0 enx00e04c6816d8: carrier off Jan 14 17:53:37 computer5 kernel: [ 3402.761631] r8152 2-4:1.0 enx00e04c6816d8: carrier on Zu diesem Zeitpunkt lag keine große Netzwerklast an, höchstens ein paar vereinzelte Datenpakete von NTP oder IMAP.Sep 10, 2021 · [ 1310.474946] r8152 3-1:1.0 eth1: get_registers -71 [ 1310.479829] r8152 3-1:1.0 eth1: get_registers -71 [ 1310.484701] r8152 3-1:1.0 eth1: get_registers -71 [ 1310.489583] r8152 3-1:1.0 eth1: get_registers -71 [ 1310.524303] usb 3-1: reset SuperSpeed USB device number 2 using xhci-hcd [ 1326.881897] r8152 3-1:1.0 eth1: carrier off [ 8.753558] usbcore: registered new interface driver r8152 [ 8.758006] usbcore: registered new interface driver cdc_ether [ 8.759078] usbcore: registered new interface driver r8153_ecm [ 8.878726] usb 6-1.4: reset SuperSpeed Gen 1 USB device number 4 using xhci_hcd [ 8.912802] r8152 6-1.4:1.0: load rtl8153b-2 v1 10/23/19 successfullyLKML Archive on lore.kernel.org help / color / mirror / Atom feed * [PATCH net-next 00/12] r8152: new features @ 2014-03-04 12:00 Hayes Wang 2014-03-04 12:00 ` [PATCH net-next 01/12] r8152: deal with the empty line and space Hayes Wang ` (19 more replies) 0 siblings, 20 replies; 80+ messages in thread From: Hayes Wang @ 2014-03-04 12:00 UTC (permalink / raw) To: netdev; +Cc: nic_swsd, linux ... green jade jewelry 我已经购买了一些基于Realtek r8152芯片组的USB以太网适配器。它在我的Debian" Stretch"下完美地工作,但是只有在OS加载后插入它,它才能这样工作。如果操作系统在连接了此适配器的情况下启动-互联网连接持续挂起(如每5秒钟一次),它将自动连接并断开连接。Previous message: Greg Kroah-Hartman: "[PATCH 4.9 040/104] r8152: prevent the driver from transmitting packets with carrier off" In reply to: Greg Kroah-Hartman: "[PATCH 4.9 040/104] r8152: prevent the driver from transmitting packets with carrier off" Next in thread: Greg Kroah-Hartman: "[PATCH 4.9 049/104] IB/rxe: double free on error"Lenovo Thunderbolt 4 Dock, and other Lenovo USB Docks are using the original Realtek USB ethernet Vendor and Product IDs If the Network device is Realtek verify that it is on a Lenovo USB hub before enabling the passthru feature This also adds in the device IDs for the Lenovo USB Dongle and one other USB-C dock V2 fix formating of code V3 remove Generic define for Device ID 0x8153 and change ...Yes, from above you can see usb 3-4: New USB device found, idVendor=0bda, idProduct=8153 right before r8152 3-4:1.0 eth0: v1.09.9 which is a bit confusing. The Amazon brand and ASUS adapters (which have been the most reliable, even with the above config) and Pluggable, are all ASIX AX88179 idVendor=0b95, idProduct=1790 if that helps anyone. CableMatters is the 0bda:8153 (even though it looks ...The Gonzaga and Michigan State men's basketball teams are set to face off on top of an aircraft carrier, the USS Abraham Lincoln, on Veterans Day. Menu. Sports. Latest Sports. Lions. Tigers.[185483.241909] r8152 2-1:1.0 enx00e04c784e6c: carrier on [185483.275527] r8152 2-1:1.0 enx00e04c784e6c: carrier off [185487.145930] r8152 2-1:1.0 enx00e04c784e6c: carrier on. I've talked to some network engineer friends of mine, and they have absolutely no idea what the problem is, and I'm in a similar boat. ...The original flows are 1. check if the driver/device is busy now. 2. set wake events. 3. enter runtime suspend. If the wake event occurs between (1) and (2), the device may miss it. Besides, to avoid the runtime resume occurs after runtime suspend immediately, move the checking to the end of rtl8152_runtime_suspend ().He comprado un adaptador USB-Ethernet basado en el chipset Realtek r8152. Y funciona perfectamente en mi Debian "Stretch", pero sólo funciona así si lo conectas después de que se cargue el SO. Si el SO se inicia con este adaptador conectado - la conexión a Internet se cuelga continuamente, como cada 5 segundos, se conecta automáticamente ...2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000 link/ether <MAC 'enp3s0' [IF1]> brd <MAC address> 4: wlp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000r8152: fix the carrier off when autoresuming r8152: fix setting RTL8152_UNPLUG r8152: remove clearing bp r8152: disable power cut for RTL8153--To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] start address of * the data would be the address of struct fw_phy_nc + @fw_offset. * @fw_reg: the register to load the firmware. Depends on chip. * @ba_reg: the register to write the base address. Depends on chip. * @ba_data: base address. Depends on chip. * @patch_en_addr: the register of enabling patch mode.*PATCH net-next 0/5] r8152 changes @ 2020-11-03 19:22 Marek Behún 2020-11-03 19:22 ` [PATCH net-next 1/5] r8152: use generic USB macros to define product table Marek Behún ` (4 more replies) 0 siblings, 5 replies; 26+ messages in thread From: Marek Behún @ 2020-11-03 19:22 UTC (permalink / raw) To: netdev; +Cc: linux-usb, Hayes Wang, Marek Behún Hi, these are some changes for r8152. At ...r8152: fix the carrier off when autoresuming r8152: fix setting RTL8152_UNPLUG r8152: remove clearing bp r8152: disable power cut for RTL8153--To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected][185483.241909] r8152 2-1:1.0 enx00e04c784e6c: carrier on [185483.275527] r8152 2-1:1.0 enx00e04c784e6c: carrier off [185487.145930] r8152 2-1:1.0 enx00e04c784e6c: carrier on. I've talked to some network engineer friends of mine, and they have absolutely no idea what the problem is, and I'm in a similar boat. ...Hi, I have this Anker USB-Hub/Ethernet Adapter (Realtek r8153/8152) and after a bit of startup problems which where resolved by tlp-blacklisting it, it worked just fine for a view days. Yesterday out of (seemlingly) nowhere the connection dropped from 1000Mbit/s to 100mbit/s. Tried to force it to 1Gbit with sudo ethtool -s enn0s20u1u3 speed 1000 duplex full but it fails to estalish a ...Debian Stretch and Realtek r8152 chipset carrier off/on errorHelpful? Please support me on Patreon: https://www.patreon.com/roelvandepaarWith thanks & prais... *PATCH net-next 0/5] r8152 changes @ 2020-11-03 19:22 Marek Behún 2020-11-03 19:22 ` [PATCH net-next 1/5] r8152: use generic USB macros to define product table Marek Behún ` (4 more replies) 0 siblings, 5 replies; 26+ messages in thread From: Marek Behún @ 2020-11-03 19:22 UTC (permalink / raw) To: netdev; +Cc: linux-usb, Hayes Wang, Marek Behún Hi, these are some changes for r8152. At ... apathetically antonym 2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000 link/ether <MAC 'enp3s0' [IF1]> brd <MAC address> 4: wlp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000The original flows are 1. check if the driver/device is busy now. 2. set wake events. 3. enter runtime suspend. If the wake event occurs between (1) and (2), the device may miss it. Besides, to avoid the runtime resume occurs after runtime suspend immediately, move the checking to the end of rtl8152_runtime_suspend ().$ uname -a Linux host 5.0.6-arch1-1-ARCH #1 SMP PREEMPT Wed Apr 3 09:35:20 UTC 2019 x86_64 GNU/Linux $ lsusb Bus 002 Device 003: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter $ ip addr 3: enp0s20f0u4u1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 00:50:b6:ae:35:6b brd ff:ff:ff:ff:ff:ff inet6 fe80::d262:bdd4 ...I wanted to have a powered USB 3.0 Hub available for items I was concerned weren't going to get enough power off the USB 3 bus, especially if the Pi was suspended or sleeping (e.g., keyboards and mice, USB flash drives, etc.). ... r8152 2-1:1.0 enp1s0u1: carrier on Mar 19 17:47:23 teletraan1 systemd-networkd[207]: enp1s0u1: Gained carrier.While at it, remove WORK_ENABLE check from rtl8152_open (introduced with the original change) because it cannot happen: - After this patch, runtime resume will not set it during rtl8152_open. - When link is up, rtl8152_open is not called. - When link is down during system/auto suspend/resume, it is not set.- r8152: fix the list rx_done may be used without initialization (bnc#1012382). - r8152: prevent the driver from transmitting packets with carrier off (bnc#1012382). - r8169: fix memory corruption on retrieval of hardware statistics (bnc#1012382). - raid5: Set R5_Expanded on parity devices as well as data (bnc#1012382).[PATCH 4.9 040/104] r8152: prevent the driver from transmitting packets with carrier off From: Greg Kroah-Hartman Date: Fri Dec 22 2017 - 03:54:56 EST Next message: Greg Kroah-Hartman: "[PATCH 4.9 041/104] s390/qeth: size calculation outbound buffers" Yes, from above you can see usb 3-4: New USB device found, idVendor=0bda, idProduct=8153 right before r8152 3-4:1.0 eth0: v1.09.9 which is a bit confusing. The Amazon brand and ASUS adapters (which have been the most reliable, even with the above config) and Pluggable, are all ASIX AX88179 idVendor=0b95, idProduct=1790 if that helps anyone. CableMatters is the 0bda:8153 (even though it looks ...Sep 10, 2021 · [ 1310.474946] r8152 3-1:1.0 eth1: get_registers -71 [ 1310.479829] r8152 3-1:1.0 eth1: get_registers -71 [ 1310.484701] r8152 3-1:1.0 eth1: get_registers -71 [ 1310.489583] r8152 3-1:1.0 eth1: get_registers -71 [ 1310.524303] usb 3-1: reset SuperSpeed USB device number 2 using xhci-hcd [ 1326.881897] r8152 3-1:1.0 eth1: carrier off Next in thread: David Miller: "Re: [PATCH net-next 0/3] r8152: cleanups" Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Replace some tp->netdev with netdev.# dmidecode | grep 'System Info' -A2 System Information Manufacturer: Dell Inc. Product Name: Latitude 3350 # lspci | grep -i net 03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15) 04:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32) # uname -r 4.7.6-1-ARCH[ 80.793925] r8152 6-1.2:1.0 eth0: carrier off [ 83.351146] r8152 6-1.2:1.0 eth0: carrier on [ 96.926052] random: crng init done [ 96.932203] random: 1 urandom warning(s) missed due to ratelimiting [ 104.749180] usb 6-1.2: USB disconnect, device number 4 [ 106.809994] usb 6-1.2: new SuperSpeed Gen 1 USB device number 5 using xhci-hcd ...2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000 link/ether <MAC 'enp3s0' [IF1]> brd <MAC address> 4: wlp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000I got an XPS 15 (9500) recently. It has an SD card slot, so I decided to try installing Linux on an SD card. This way, I can test how Linux works on it without having to destroy the existing Windows installation. I tried installing Debian, versions stable and testing. I got the testing because I needed a newer kernel that would support the WiFi ...The start address of * the data would be the address of struct fw_phy_nc + @fw_offset. * @fw_reg: the register to load the firmware. Depends on chip. * @ba_reg: the register to write the base address. Depends on chip. * @ba_data: base address. Depends on chip. * @patch_en_addr: the register of enabling patch mode.Real-Time Linux with PREEMPT_RT. Check our new training course. with Creative Commons CC-BY-SAcompile SPK with:sudo ./PkgCreate.py -v 7.0 -p evansport -c r8152 --min-sdk 7.0. extract the resulting SPK file as a zip and extract the r8152.ko file. put it on the synology and use insmod to load the module. enable interface with:ifconfig eth1 up. yay USB 2.5Gbit ethernet working on DSM 7.0 Beta. No downgrade needed.The local_bh_disable () / local_bh_enable () definitely is the right answer to the issue you described. It does not matter what code in r8152.c currently does. https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=8cf699ec849f4ca1413cea01289bd7d37dbcc626 ^ permalink raw reply [ flat | nested] 11+ messages in thread[ 80.793925] r8152 6-1.2:1.0 eth0: carrier off [ 83.351146] r8152 6-1.2:1.0 eth0: carrier on [ 96.926052] random: crng init done [ 96.932203] random: 1 urandom warning(s) missed due to ratelimiting [ 104.749180] usb 6-1.2: USB disconnect, device number 4 [ 106.809994] usb 6-1.2: new SuperSpeed Gen 1 USB device number 5 using xhci-hcd ...For example, to check for the driver used by one of your NIC (let's say enx00e04c42a3fe ), run ethtool command as follows: $ sudo ethtool -i enx00e04c42a3fe. As you can see, my enx00e04c42a3fe NIC is using Realtek r8152 driver version 1.08.7. Yours may be different.r8152: fix the carrier off when autoresuming r8152: fix setting RTL8152_UNPLUG r8152: remove clearing bp r8152: disable power cut for RTL8153--To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] 0. Fix the runtime suspend issues result from the linking change. Case 1: a) link down occurs. b) driver disable tx/rx. c) autosuspend occurs. d) hw linking up. e) device suspends without enabling tx/rx. f) couldn't wake up when receiving packets.is carrier off, because the interrupt transfer doesn't update the linking status, yet. And, if the device is in ALDPS mode, the device would stop working. The another similar case is 1. unplug the cable. 2. interrupt transfer queue a work_queue for linking change. 3. device enters the ALDPS mode. 4. a tx occurs before the work_queue is called.next prev parent reply other threads:[~2017-03-13 13:26 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-03-13 12:47 Petr Vorel 2017-03-13 13:18 ` Eric Dumazet 2017-03-13 13:19 ` Eric Dumazet [this message] 2017-03-13 15:37 ` Petr Vorel 2017-03-13 15:44 ` Eric Dumazet 2017-03-13 15:46 ` Eric Dumazet ... enfield deactivated guns I'm running Ubuntu Server 20.04.1 on an Intel NUC 10i5. I've found that the ethernet port on the NUC is very iffy - just barely touching/nudging the ethernet cable makes me lose connection. So I bought a USB 3.0-Ethernet adapter. (I could RMA, but I don't want to spend the time doing it right now). lsusb: Bus 002 Device 002: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet ...Clone via HTTPS Clone with Git or checkout with SVN using the repository's web address.The r8152.c driver attempted to build skb's for the entire packet size, even though the 1518-byte packets had only 496-bytes of data in the URB. It is not clear what the chip did with the rest of the packets in question, but the next URBs in each case began with a new/real rx_desc and new packet.[PATCH net-next 6/6] r8152: support RTL8153 From: Hayes Wang Date: Thu Dec 26 2013 - 21:38:13 EST Next message: Hayes Wang: "[PATCH net-next 3/6] r8152: change some definitions" Previous message: Hayes Wang: "[PATCH net-next 2/6] r8152: modify the method of accessing PHY" In reply to: Hayes Wang: "[PATCH net-next 2/6] r8152: modify the method of accessing PHY"1. check where the NFS rootfs is installed, if you are not sure, the file /etc/exports might give a clue, assuming the location is $ {HOME}/am437x-nfs. According to your instruction, I tried doing it. But, it also failed. So, I tried doing this with other usb ethernet adapter with r8152 chip.Yes, from above you can see usb 3-4: New USB device found, idVendor=0bda, idProduct=8153 right before r8152 3-4:1.0 eth0: v1.09.9 which is a bit confusing. The Amazon brand and ASUS adapters (which have been the most reliable, even with the above config) and Pluggable, are all ASIX AX88179 idVendor=0b95, idProduct=1790 if that helps anyone. CableMatters is the 0bda:8153 (even though it looks ...Mar 10 18:32:42 raspberrypi kernel: [ 5097.297373] r8152 1-1:1.0 eth0: carrier off Mar 10 18:32:44 raspberrypi kernel: [ 5099.407827] r8152 1-1:1.0 eth0: carrier on Mar 11 06:51:49 raspberrypi kernel: [49445.271529] r8152 1-1:1.0 eth0: carrier off Mar 11 06:51:52 raspberrypi kernel: [49447.348851] r8152 1-1:1.0 eth0: carrier onDescription of the problem Connection stops after few minutes ds1515+ ugreen usb after around 1000 ping, i can recover it by turn off/on NIC in nas or pc. speed is fine around 230Mbps Description of your products the product name of your... It seems I'm unable to narrow down the commit. I can assure (because I have tested this twice) the last bad kernel is 3.17.-rc7-utopic (http://kernel.ubuntu.com ...The start address of * the data would be the address of struct fw_phy_nc + @fw_offset. * @fw_reg: the register to load the firmware. Depends on chip. * @ba_reg: the register to write the base address. Depends on chip. * @ba_data: base address. Depends on chip. * @patch_en_addr: the register of enabling patch mode.Hi everybody, I have a dell xps 9570 and I am trying to connect to the internet using a usb type-c dongle and with an ethernet port. Wifi works well but I also want to be able to connect to wired networks. I am on Manjaro KDE. First, I have to say that the UI for connecting to networks in Manjaro is very confusing, since I don't see any "connect" button I am not sure of how I am supposed to ...The r8152.c driver attempted to build skb's for the entire packet size, even though the 1518-byte packets had only 496-bytes of data in the URB. It is not clear what the chip did with the rest of the packets in question,The original flows are 1. check if the driver/device is busy now. 2. set wake events. 3. enter runtime suspend. If the wake event occurs between (1) and (2), the device may miss it. Besides, to avoid the runtime resume occurs after runtime suspend immediately, move the checking to the end of rtl8152_runtime_suspend ().This package provides the r8125 kernel module(s) for Realtek RTL8125 2.5G Ethernet NICs built for the Linux kernel using the x86_64 family of processors.The r8152.c driver attempted to build skb's for the entire packet size, even though the 1518-byte packets had only 496-bytes of data in the URB. It is not clear what the chip did with the rest of the packets in question, but the next URBs in each case began with a new/real rx_desc and new packet.For example, to check for the driver used by one of your NIC (let's say enx00e04c42a3fe ), run ethtool command as follows: $ sudo ethtool -i enx00e04c42a3fe. As you can see, my enx00e04c42a3fe NIC is using Realtek r8152 driver version 1.08.7. Yours may be different.Debian Stretch and Realtek r8152 chipset carrier off/on errorHelpful? Please support me on Patreon: https://www.patreon.com/roelvandepaarWith thanks & prais...# sudo depmod -a # sudo update-initramfs -u - Example of setting speed 2.5G before kernel v4.10 # ethtool -s eth0 autoneg on advertise 0x802f 2.5G for kernel v4.10 and later # ethtool -s eth0 autoneg on advertise 0x80000000002f # ethtool -s eth0 autoneg on advertise 0x002f (1G) # ethtool -s eth0 autoneg on advertise 0x000f (100M full) # ethtool ... *PATCH net-next] net/usb: new driver for RTL8152 @ 2013-04-26 8:45 Hayes Wang 2013-04-26 11:56 ` Oliver Neukum ` (3 more replies) 0 siblings, 4 replies; 13+ messages in thread From: Hayes Wang @ 2013-04-26 8:45 UTC (permalink / raw) To: gregkh, oliver Cc: netdev, linux-kernel, linux-usb, Hayes Wang, Realtek linux nic maintainers Add new driver for ...r8152: check code with checkpatch.pl r8152: replace strncpy with strlcpy r8152: reduce the number of Tx r8152: rename rx_buf_sz r8152: change the location of rtl8152_set_mac_address r8152: use eth_hw_addr_random r8152: use usleep_range r8152: support VLAN r8152: change the EEE definition r8152: add functions to set EEE r8152: support ethtool eeer8152: fix the carrier off when autoresuming r8152: fix setting RTL8152_UNPLUG r8152: remove clearing bp r8152: disable power cut for RTL8153--To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] prev parent reply other threads:[~2017-03-13 13:26 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-03-13 12:47 Petr Vorel 2017-03-13 13:18 ` Eric Dumazet 2017-03-13 13:19 ` Eric Dumazet [this message] 2017-03-13 15:37 ` Petr Vorel 2017-03-13 15:44 ` Eric Dumazet 2017-03-13 15:46 ` Eric Dumazet ...Sep 10, 2021 · [ 1310.474946] r8152 3-1:1.0 eth1: get_registers -71 [ 1310.479829] r8152 3-1:1.0 eth1: get_registers -71 [ 1310.484701] r8152 3-1:1.0 eth1: get_registers -71 [ 1310.489583] r8152 3-1:1.0 eth1: get_registers -71 [ 1310.524303] usb 3-1: reset SuperSpeed USB device number 2 using xhci-hcd [ 1326.881897] r8152 3-1:1.0 eth1: carrier off Jul 18, 2022 · From: Hayes Wang <> Subject [PATCH net] r8152: fix a WOL issue: Date: Mon, 18 Jul 2022 16:21:20 +0800 share 0. Fix the runtime suspend issues result from the linking change. Case 1: a) link down occurs. b) driver disable tx/rx. c) autosuspend occurs. d) hw linking up. e) device suspends without enabling tx/rx. f) couldn't wake up when receiving packets.> lsmod | grep r8152 r8152 61440 0 mii 16384 2 usbnet,r8152 > ifconfig enx34298f9231a4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether 34:29:8f:92:31:a4 txqueuelen 1000 (Ethernet) RX packets 63 bytes 11158 (11.1 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 ...share 0. Fix the runtime suspend issues result from the linking change. Case 1: a) link down occurs. b) driver disable tx/rx. c) autosuspend occurs. d) hw linking up. e) device suspends without enabling tx/rx. f) couldn't wake up when receiving packets.Armbian 21.08.6 Bullseye with Linux 5.10.43-rockchip64 # cd /etc/systemd/network/ # ls -la total 20 drwxr-xr-x 2 root root 4096 Nov 16 14:42 . drwxr-xr-x 6 root root 4096 Nov 26 07:00 .. -rw-r--r-- 1 root root 30 Nov 26 2020 br0.netdev -rw-r--r-- 1 root root 233 Oct 10 19:27 br0.network -rw-r--r-- 1 root root 40 Nov 16 14:42 eth0.network # cat ...[PATCH 4.9 040/104] r8152: prevent the driver from transmitting packets with carrier off From: Greg Kroah-Hartman Date: Fri Dec 22 2017 - 03:54:56 EST Next message: Greg Kroah-Hartman: "[PATCH 4.9 041/104] s390/qeth: size calculation outbound buffers" [644021.588843] r8152 1-8:1.0 eth1: carrier off [644023.100334] r8152 1-8:1.0 eth1: carrier on [644023.224492] r8152 1-8:1.0 eth1: carrier off [644024.700584] r8152 1-8:1.0 eth1: carrier on [644031.179652] device wlan0 entered promiscuous mode --- > That one was weird..Jul 18, 2022 · From: Hayes Wang <> Subject [PATCH net] r8152: fix a WOL issue: Date: Mon, 18 Jul 2022 16:21:20 +0800 - r8152: fix the list rx_done may be used without initialization (bnc#1012382). - r8152: prevent the driver from transmitting packets with carrier off (bnc#1012382). - r8169: fix memory corruption on retrieval of hardware statistics (bnc#1012382). - raid5: Set R5_Expanded on parity devices as well as data (bnc#1012382).the usb ethernet driver r8152 is old, when will Nvidia kernel be updated with new driver and support code. kayccc October 29, 2020, 1:47am #6. See also : Tx2-4g R32.3.1 Custom board, r8152 Problems. Is the reltek drivers the latest and greatest?r8152: check code with checkpatch.pl r8152: replace strncpy with strlcpy r8152: reduce the number of Tx r8152: rename rx_buf_sz r8152: change the location of rtl8152_set_mac_address r8152: use eth_hw_addr_random r8152: use usleep_range r8152: support VLAN r8152: change the EEE definition r8152: add functions to set EEE r8152: support ethtool eeeAnswered September 19, 2020 - Commercial Service Group (Former Employee) - North America. Yes. Due to understaffing, working holidays, weekends, and during vacation is often required.I wanted to have a powered USB 3.0 Hub available for items I was concerned weren't going to get enough power off the USB 3 bus, especially if the Pi was suspended or sleeping (e.g., keyboards and mice, USB flash drives, etc.). ... r8152 2-1:1.0 enp1s0u1: carrier on Mar 19 17:47:23 teletraan1 systemd-networkd[207]: enp1s0u1: Gained carrier.*PATCH net-next 0/5] r8152 changes @ 2020-11-03 19:22 Marek Behún 2020-11-03 19:22 ` [PATCH net-next 1/5] r8152: use generic USB macros to define product table Marek Behún ` (4 more replies) 0 siblings, 5 replies; 26+ messages in thread From: Marek Behún @ 2020-11-03 19:22 UTC (permalink / raw) To: netdev; +Cc: linux-usb, Hayes Wang, Marek Behún Hi, these are some changes for r8152. At ...- r8152: fix the carrier off when autoresuming (bsc#993099). - r8152: fix the checking of the usb speed (bsc#993099). - r8152: fix the issue about U1/U2 (bsc#993099). - r8152: fix the runtime suspend issues (bsc#993099). - r8152: fix the submission of the interrupt transfer (bsc#993099).It seems I'm unable to narrow down the commit. I can assure (because I have tested this twice) the last bad kernel is 3.17.-rc7-utopic (http://kernel.ubuntu.com ...Nov 05, 2019 · 出现间歇性的LAN中断,内核日志输出如下: [36266.457483] br-lan: port 1(eth0) entered disabled state [36266.522508] r8152 2-1.1:1.0 eth0: carrier off [36266.596951] atkbd serio0: Unknown key pressed (translated set 2, code 0x8d on isa0060/serio0). r8152: fix the carrier off when autoresuming r8152: fix setting RTL8152_UNPLUG r8152: remove clearing bp r8152: disable power cut for RTL8153--To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] 10, 2021 · [ 1310.474946] r8152 3-1:1.0 eth1: get_registers -71 [ 1310.479829] r8152 3-1:1.0 eth1: get_registers -71 [ 1310.484701] r8152 3-1:1.0 eth1: get_registers -71 [ 1310.489583] r8152 3-1:1.0 eth1: get_registers -71 [ 1310.524303] usb 3-1: reset SuperSpeed USB device number 2 using xhci-hcd [ 1326.881897] r8152 3-1:1.0 eth1: carrier off Description of the problem Connection stops after few minutes ds1515+ ugreen usb after around 1000 ping, i can recover it by turn off/on NIC in nas or pc. speed is fine around 230Mbps Description of your products the product name of your... > lsmod | grep r8152 r8152 61440 0 mii 16384 2 usbnet,r8152 > ifconfig enx34298f9231a4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether 34:29:8f:92:31:a4 txqueuelen 1000 (Ethernet) RX packets 63 bytes 11158 (11.1 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 ...我已经购买了一些基于Realtek r8152芯片组的USB以太网适配器。它在我的Debian" Stretch"下完美地工作,但是只有在OS加载后插入它,它才能这样工作。如果操作系统在连接了此适配器的情况下启动-互联网连接持续挂起(如每5秒钟一次),它将自动连接并断开连接。anyway, these are from Raspberry Pi Zero 2 W devices: same config.txt. Code: Select all. [all] arm_64bit=1 enable_uart=1 avoid_warnings=1 upstream_kernel=1 kernel=Tow-Boot.noenv.rpi_arm64.bin arm_boost=1 initial_boost=60 force_turbo=1 uart_2ndstage=1 hdmi_safe=1 hdmi_force_hotplug=1 hdmi_drive=2 hdmi_ignore_cec=1 hdmi_ignore_cec_init=1 disable ...A video posted on social media over the weekend shows the stealth fighter that crashed on a US Navy aircraft carrier last month bursting into flames as it strikes the flight deck of the massive ...出现间歇性的LAN中断,内核日志输出如下: [36266.457483] br-lan: port 1(eth0) entered disabled state [36266.522508] r8152 2-1.1:1.0 eth0: carrier off [36266.596951] atkbd serio0: Unknown key pressed (translated set 2, code 0x8d on isa0060/serio0).GitHub - wget/realtek-r8152-linux: A kernel module for Realtek RTL8152/RTL8153 Based USB Ethernet Adapters - Meant to be used in distributions only - For upstream bugs, please report them to your distribution maintainer or to Realtek. wget / realtek-r8152-linux Public master 1 branch 13 tags Code 16 commits Failed to load latest commit information.share 0. Fix the runtime suspend issues result from the linking change. Case 1: a) link down occurs. b) driver disable tx/rx. c) autosuspend occurs. d) hw linking up. e) device suspends without enabling tx/rx. f) couldn't wake up when receiving packets.r8152: check code with checkpatch.pl r8152: replace strncpy with strlcpy r8152: reduce the number of Tx r8152: rename rx_buf_sz r8152: change the location of rtl8152_set_mac_address r8152: use eth_hw_addr_random r8152: use usleep_range r8152: support VLAN r8152: change the EEE definition r8152: add functions to set EEE r8152: support ethtool eeeMar 10 18:32:42 raspberrypi kernel: [ 5097.297373] r8152 1-1:1.0 eth0: carrier off Mar 10 18:32:44 raspberrypi kernel: [ 5099.407827] r8152 1-1:1.0 eth0: carrier on Mar 11 06:51:49 raspberrypi kernel: [49445.271529] r8152 1-1:1.0 eth0: carrier off Mar 11 06:51:52 raspberrypi kernel: [49447.348851] r8152 1-1:1.0 eth0: carrier on1713657 - Dell DA200 Ethernet (Realtek R8153) not finding link. If you use the APIs then you should read the API Authentication changes announcement before your access is blocked on the 14th of March. Bug 1713657 - Dell DA200 Ethernet (Realtek R8153) not finding link. Summary: Dell DA200 Ethernet (Realtek R8153) not finding link.[185483.241909] r8152 2-1:1.0 enx00e04c784e6c: carrier on [185483.275527] r8152 2-1:1.0 enx00e04c784e6c: carrier off [185487.145930] r8152 2-1:1.0 enx00e04c784e6c: carrier on. I've talked to some network engineer friends of mine, and they have absolutely no idea what the problem is, and I'm in a similar boat. ...[ 8.753558] usbcore: registered new interface driver r8152 [ 8.758006] usbcore: registered new interface driver cdc_ether [ 8.759078] usbcore: registered new interface driver r8153_ecm [ 8.878726] usb 6-1.4: reset SuperSpeed Gen 1 USB device number 4 using xhci_hcd [ 8.912802] r8152 6-1.4:1.0: load rtl8153b-2 v1 10/23/19 successfullynext prev parent reply other threads:[~2017-03-13 13:26 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-03-13 12:47 Petr Vorel 2017-03-13 13:18 ` Eric Dumazet 2017-03-13 13:19 ` Eric Dumazet [this message] 2017-03-13 15:37 ` Petr Vorel 2017-03-13 15:44 ` Eric Dumazet 2017-03-13 15:46 ` Eric Dumazet ...# sudo depmod -a # sudo update-initramfs -u - Example of setting speed 2.5G before kernel v4.10 # ethtool -s eth0 autoneg on advertise 0x802f 2.5G for kernel v4.10 and later # ethtool -s eth0 autoneg on advertise 0x80000000002f # ethtool -s eth0 autoneg on advertise 0x002f (1G) # ethtool -s eth0 autoneg on advertise 0x000f (100M full) # ethtool ... He comprado un adaptador USB-Ethernet basado en el chipset Realtek r8152. Y funciona perfectamente en mi Debian "Stretch", pero sólo funciona así si lo conectas después de que se cargue el SO. Si el SO se inicia con este adaptador conectado - la conexión a Internet se cuelga continuamente, como cada 5 segundos, se conecta automáticamente ...*PATCH net-next] net/usb: new driver for RTL8152 @ 2013-04-26 8:45 Hayes Wang 2013-04-26 11:56 ` Oliver Neukum ` (3 more replies) 0 siblings, 4 replies; 13+ messages in thread From: Hayes Wang @ 2013-04-26 8:45 UTC (permalink / raw) To: gregkh, oliver Cc: netdev, linux-kernel, linux-usb, Hayes Wang, Realtek linux nic maintainers Add new driver for ...*PATCH net-next] net/usb: new driver for RTL8152 @ 2013-04-26 8:45 Hayes Wang 2013-04-26 11:56 ` Oliver Neukum ` (3 more replies) 0 siblings, 4 replies; 13+ messages in thread From: Hayes Wang @ 2013-04-26 8:45 UTC (permalink / raw) To: gregkh, oliver Cc: netdev, linux-kernel, linux-usb, Hayes Wang, Realtek linux nic maintainers Add new driver for ...GitHub - wget/realtek-r8152-linux: A kernel module for Realtek RTL8152/RTL8153 Based USB Ethernet Adapters - Meant to be used in distributions only - For upstream bugs, please report them to your distribution maintainer or to Realtek. wget / realtek-r8152-linux Public master 1 branch 13 tags Code 16 commits Failed to load latest commit information. forced vital capacity test--L1