OpenELEC / OpenELEC.tv

OpenELEC - The living room PC for everyone
http://openelec.tv
1.61k stars 883 forks source link

dm9601module in 6.0.3 kernel causes system crash #4997

Open edd3a opened 7 years ago

edd3a commented 7 years ago

First. Thanks thanks thanks for Openelec!!

dm9601 module in 6.0.3 kernel causes system crash and complete hangup of openelec when playing video. From the information below it seems that the issue with this module is solved in a later kernel. Mine is Linux OpenELEC 4.1.18 #1 Mon Feb 29 19:06:37 CET 2016 armv6l GNU/Linux.In fact, the recommendation is to blacklist this module and use sr9700 (not present in openelec 6.0.3). See (**)

I got the usb ethernet dongle at ebay very cheap (*), and it looked like the perfect companion for a pi zero. And it looks it would be if the kernel used in openelec was 4.4+. Or if the module sr9700 was present such that it could be loaded separately (??).

From: (*) http://elinux.org/RPi_USB_Ethernet_adapters Kontron DM9601 (USB: 0fe6:9700) Cost $5 on Ebay, works OK with Dell laptop under WinXP & Debian. While it is advertised as USB 2.0, actually it is a USB 1.1 device, thus, its throughput is limited to 12 Mbps. Check with lsusb -v, field bcdUSB. Adaptor works on boot on R-Pi model A well enough for ping and NTP, but then crashes with "Kernel Bug at net/core/skbuff.c:127" immediately when file transfer begins. TP1-TP2 voltage measured solid at 4.92 V. See also http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=39567&p=325003#p325003 The Linux DM9601 Driver is reported to be the problem here: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=66&t=34557 so until driver is updated, do not bother with this device. 2016 UPDATE: the driver has been fixed! https://github.com/raspberrypi/linux/issues/1045. As a workaround, doubling the socket buffer size will prevent the kernel oops: https://github.com/kmtaylor/rpi_patches/blob/master/dm9601-bug.patch

From: (**) https://github.com/raspberrypi/linux/issues/1045 sej7278 commented on 14 May yup, i rsynced the entire sdcard on my zero and it didn't crash, so i'd say its fixed in 4.4 thanks!

Let me know if I havent included sufficient information. THANKS.