Menu

#3 serial-5.05 compiled in linux-2.2.18 hangs the kernel

open
nobody
None
5
2001-01-03
2001-01-03
No

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.

Discussion

  • Nobody/Anonymous

    I was able to reproduce the problem on 2.2.18.
    Exactly same story...

     
  • Nobody/Anonymous

    I was able to reproduce the problem on 2.2.18.
    Exactly same story...

     
  • Ian Abbott

    Ian Abbott - 2001-02-19

    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.