serial-5.05 compiled in linux-2.2.18 hangs the kernel
Brought to you by:
tytso
After compiling in the serial-5.05 in linux-2.2.18 (with additional definition of PCI_DEVICE_ID_OXSEMI_16PCI954 in serial.c) the kernel hangs on bootup.
The rs_init() is called twice: first time while initializing serial ports (correct one),
and second time by function do_initcalls() in "init/main.c". This second time inserts again the structures
serial_driver and callout_driver to the tty device list. This list gets corrupted and kernel hangs.
When using serial-5.05 as module, it seems to work - booting without problems.
I don't have any clues on using initcalls and I am unable to track the problem further.
I was able to reproduce the problem on 2.2.18.
Exactly same story...
I was able to reproduce the problem on 2.2.18.
Exactly same story...
I've submitted an unofficial patch to serial-5.05 for these problems. I ought to point out that the hard work of tracing the bugs was done by others! See patch ID #103881.