Red Hat Bugzilla – Bug 153969
kernel panic when removing active USB serial converter used as serial console
Last modified: 2015-01-04 17:18:32 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.6) Gecko/20050322 Firefox/1.0.2
Description of problem:
Installed a belkin USB to serial converter into system, and set up to work as a serial console for the system.
Kernel recognises the adapter, and serial console works very well.
/etc/inittab contains the line:
cu:2345:respawn:/sbin/agetty -t60 -f /etc/issue.usb 19200 /dev/ttyUSB0
If the USB to serial converter is unplugged when an active agetty is running, the kernel panics.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Insert USB to serial adapter
2. If not already running, start agetty process on /dev/ttyUSB0 (or whatever tty)
3. unplug USB to serial adapter
Actual Results: System fall down go boom.
Kernel panic, system halted.
Expected Results: The kernel should recognise the event and bypass any processess attached to that tty
*** This bug has been marked as a duplicate of 153967 ***