-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Description
hi there,
I have a raspberry pi model A+ running linux 3.18.7+, and raspberry pi B running linux 4.1.7.I found a issue about r8152 driver in the image.
steps below:
1, attach a usb hub(self-powered usb hub is better, otherwise the pi'll reboot when you plug usb2network in) on the pi's usb port
2, attach a usb2network card (chip ID is 0bda:8152 Realtek Semiconductor Corp.) device on the usb hub
3, connect network wire to r8152 network card and a router
4, run ifconfig to monitor eth0's status(eth1 in raspberry model B, which is the usb2network's ethnet port)
5, when eth0's status changed to running or got ip address, unplug the r8152 device, the raspberry pi has a large probability to stop response
you may try serveral times to reappear this issue.
I use several other usb2network cards(chip ID is 0b95:772b ASIX Electronics Corp. and ), the same operation, It works, no crash.
BTW, I try the latest driver 2.05.0 from realteck website, problem remains.
My power supply is 5V 2A, the power is good enough for raspberry pi.
I don't think the freeze is related with the usb hub, I tried many hub chip such as 05e3:0608(GL850G) or 05e3:0610(GL852G) from Genesys logic or 1a40:0101or 1a40:0201 Terminus Technology Inc. or 0424:9512 from Standard Microsystems Corp. which is the original hub of raspberry model B
And I can not get any related log from dmesg or other log.
If attached the r8152 directly with the Pi's USB port, no such issue.
I have contacted with the engineer of REALTEK, the conclusion from REALTEK is:
"If hub is involved to the issue, it could be a timing compatibility issue between usb host controller and genesis chip."
How can I fix the issue?
Thank you in advance!