Kernel Bug Tracker – Bug 13950
Oops when USB Serial disconnected while in use
Last modified: 2009-10-02 21:24:38 UTC
Subject : 2.6.31-rc5 regression: Oops when USB Serial disconnected while in use
Submitter : Bruno Prémont <firstname.lastname@example.org>
Date : 2009-08-08 17:47
References : http://marc.info/?l=linux-kernel&m=124975432900466&w=4
Notify-Also : Alan Stern <email@example.com>
This entry is being used for tracking a regression from 2.6.30. Please don't
close it until the problem is fixed in the mainline.
On Tuesday 18 August 2009, Bruno Prémont wrote:
> I just had a short look with 2.6.31-rc6, it crashes harder... once
> kernel did panic with general protection fault after reporting
> tty_port_close_start: count=-1
> The second time id started output of an Oops but only half of the first
> line ever showed up on screen (Intel KMS).
> Note: this was with just usbserial.ko and ftdi_sio.ko rebuilt with
> CONFIG_DEBUG_INFO=y in the hope to find out what did access a bad
> pointer. (make CONFIG_DEBUG_INFO=y drivers/usb/serial/$module.ko)
> Will retry now with a fresh compile with CONFIG_DEBUG_INFO enabled for
> whole kernel and see if I can get better information, eventually
> switching to vesa framebuffer in case the partial output happens again.
> This pretty much looks like unbalanced ref-count...
Handled-By : Alan Stern <firstname.lastname@example.org>
On Friday 02 October 2009, Bruno Prémont wrote:
> On Thu, 01 October 2009 "Rafael J. Wysocki" <email@example.com> wrote:
> > This message has been generated automatically as a part of a report
> > of regressions introduced between 2.6.30 and 2.6.31.
> > The following bug entry is on the current list of known regressions
> > introduced between 2.6.30 and 2.6.31. Please verify if it still
> > should be listed and let me know (either way).
> > Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=13950
> > Subject : Oops when USB Serial disconnected while in
> > use Submitter : Bruno Prémont <firstname.lastname@example.org>
> > Date : 2009-08-08 17:47 (55 days old)
> > References : http://marc.info/?l=linux-kernel&m=124975432900466&w=4
> > Handled-By : Alan Stern <email@example.com>
> This has been adressed with following commits:
> usb-serial: change referencing of port and serial structures
> usb-serial: put subroutines in logical order
> usb-serial: change logic of serial lookups
> usb-serial: acquire references when a new tty is installed
> usb-serial: fix termios initialization logic
> usb-serial: rename subroutines
> usb-serial: add missing tests and debug lines
> usb-serial: straighten out serial_open
> They went into 2.6.32-rc1 and are probably queued for 126.96.36.199 stable.