Various hardware fixups

sr_mod non parallel I/O

symptom: while parallel writing to 5 DVD drives, speed is topped to the one of one single drive
reason: global locks introduced
demo: just eject all of them in parallel, and it will be serialized
patch: https://peertube.gaialabs.ch/videos/watch/7ad190bd-43d9-42dc-9336-984822db7cc3

r8152 hangs

Bus 003 Device 003: ID 0bda:8153 Realtek Semiconductor Corp.
USB Ethernet 1Gbit/s or less
hangs with high traffic (trigger with apt-get update) issue with 3.16.0-9-amd64:
   NETDEV WATCHDOG: eth3 (r8152): transmit queue 0 timed out
   [300923.448452] r8152 3-1.4:1.0 eth3: Tx timeout

solved with:
   cd /usr/src
   # tested with 2.11 release (commit 48b6eb1cd896c0e37099eccdc34e2fca9ba8af59)
   git clone https://github.com/wget/realtek-r8152-linux.git
   cd realtek-r8152-linux

temp test:
   lsmod | grep r81
   rmmod r8152
   insmod r8152.ko

at each kernel change:
   make clean; make
   dpkg-divert --rename /lib/modules/$(uname -r)/kernel/drivers/net/usb/r8152.ko
   cp r8152.ko /lib/modules/$(uname -r)/kernel/drivers/net/usb/r8152.ko

-- MarcSCHAEFER - 07 Jun 2019
Topic revision: r1 - 07 Jun 2019, MarcSCHAEFER
 

Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback