Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#158 ttyS0: BUG: scheduling while atomic

v0.7.x (release)
closed-fixed
Henry N.
5
2011-02-06
2009-04-24
Anonymous
No

I'm developing a serial driver for NTPD that opens a symbolic link to /dev/ttyS0, and copies some bytes to a PTY. After a few minutes of operation, it crashes NTPD (although sshd and vncserver continue to work). My kernel command line is simply root=/dev/cobd0, and the serial port is set up with ttys0=COM3,"BAUD=9600 PARITY=n DATA=8 STOP=1 dtr=on rts=on". I have attached the text of the bug notification.

I'm using Windows 2000 as the host system, with Debian 5.0 running on coLinux 0.7.4-rc1. Incidentally, this bug seems to be a less severe form of one I encountered under 0.7.3, which occured under exactly the same circumstances, but brought the entire system crashing instead of just NTPD and the coLinux console.

Discussion

  • The text that appears in the coLinux and NT terminals when the bug occurs

     
  • Henry N.
    Henry N.
    2009-05-29

    • summary: BUG: scheduling while atomic --> ttyS0: BUG: scheduling while atomic
     
  • Henry N.
    Henry N.
    2011-02-06

    • assigned_to: nobody --> henryn
    • status: open --> closed-fixed
     
  • Henry N.
    Henry N.
    2011-02-06

    coLinux 0.7.9 with kernel 2.6.33.7 uses a new implementation for serial device.
    Committed as SVN revision 1544.
    This bug we can close now.