1. 05 5月, 2012 1 次提交
  2. 25 1月, 2012 1 次提交
    • J
      TTY: fix UV serial console regression · 0eee50af
      Jiri Slaby 提交于
      Commit 74c21077 (serial: Use block_til_ready helper) and its fixup
      3f582b8c (serial: fix termios settings in open) introduced a
      regression on UV systems. The serial eventually freezes while being
      used. It's completely unpredictable and sometimes needs a heap of
      traffic to happen first.
      
      To reproduce this, yast installation was used as it turned out to be
      pretty reliable in reproducing. Especially during installation process
      where one doesn't have an SSH daemon running. And no monitor as the HW
      is completely headless. So this was fun to find. Given the machine
      doesn't boot on vanilla before 2.6.36 final. (And the commits above
      are older.)
      
      Unless there is some bad race in the code, the hardware seems to be
      pretty broken. Otherwise pure MSR read should not cause such a bug,
      or?
      
      So to prevent the bug, revert to the old behavior. I.e. read modem
      status only if we really have to -- for non-CLOCAL set serials.
      Non-CLOCAL works on this hardware OK, I tried. See? I don't.
      
      And document that shit.
      Signed-off-by: NJiri Slaby <jslaby@suse.cz>
      Cc: stable <stable@vger.kernel.org>
      References: https://lkml.org/lkml/2011/12/6/573
      References: https://bugzilla.novell.com/show_bug.cgi?id=718518Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      0eee50af
  3. 26 8月, 2011 1 次提交
  4. 05 11月, 2010 1 次提交
  5. 11 8月, 2010 2 次提交
  6. 19 3月, 2010 1 次提交
    • J
      tty_port,usb-console: Fix usb serial console open/close regression · 336cee42
      Jason Wessel 提交于
      Commit e1108a63 ("usb_serial: Use the
      shutdown() operation") breaks the ability to use a usb console
      starting in 2.6.33.  This was observed when using
      console=ttyUSB0,115200 as a boot argument with an FTDI device.  The
      error is:
      
      ftdi_sio ttyUSB0: ftdi_submit_read_urb - failed submitting read urb, error -22
      
      The handling of the ASYNCB_INITIALIZED changed in 2.6.32 such that in
      tty_port_shutdown() it always clears the flag if it is set.  The fix
      is to add a variable to the tty_port struct to indicate when the tty
      port is a console.
      
      CC: Alan Cox <alan@linux.intel.com>
      CC: Alan Stern <stern@rowland.harvard.edu>
      CC: Oliver Neukum <oliver@neukum.org>
      CC: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      336cee42
  7. 12 12月, 2009 7 次提交
  8. 01 12月, 2009 1 次提交
  9. 18 11月, 2009 1 次提交
  10. 20 9月, 2009 3 次提交
  11. 17 7月, 2009 1 次提交
  12. 25 6月, 2009 1 次提交
  13. 11 6月, 2009 4 次提交
  14. 03 1月, 2009 8 次提交
  15. 24 10月, 2008 1 次提交
  16. 14 10月, 2008 2 次提交