Partial system freeze when disconnecting USB 3G stick
When we disconnect a live USB 3G stick, parts of the pfSense system freezes, for example, opening the dashboard, showing the interface status page, running "usbconfig", etc.
The dev node cuaU0.3 is still appearing on the filesystem. Replugging the 3G stick won't help.
To unfreeze the system, the workaround is quite simple: kill the php process running 3gstats.php. Only after that the kernel finishes cleaning up the device nodes, etc.
#1 Updated by Michal Sawa almost 7 years ago
Same here. Huawei E1820. 2.1 RELEASE on physical VIA EPIA and VirtualBox.
First time configured without problems, then I found that:
- pfsense reboot hangs at:
u3g0: at uhub1, port1, addr 2 (disconnected)
- startup hangs at device init. To boot I have to disable interface before reboot or remove it from usb port.
To run connection / unlock pf I tried this method:
- start two separate ssh consoles
- enable interface in "Interfaces"
- disconnect from Status
> interfaces one one of the consoles:
d ugen1.2.0 reset connect from Status -> interfaces
which will be stucked until I kill php (pkill php) from second console. That unlocks usbconfig and web interface.
Sometimes it's works sometimes not and both consoles might be inoperable. Same with connection...
Device tested on Fortigate 100A, laptop with Win7, desktop with XP and desktop with Gentoo without problems so I assume that it's pretty stable.
I know that there was Bug #2433 very similar to mine.
#3 Updated by Bipin Chandra over 6 years ago
getting stuck on reboot with active 3g dongle is getting a serious issue for me, i have tried 3 different 3g dongles from d-link, nokia, huwaei and when in modem mode and if u reboot then system hangs but when in storage mode and u reboot then it reboots just fine