[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200906241643.48421.david-b@pacbell.net>
Date: Wed, 24 Jun 2009 16:43:48 -0700
From: David Brownell <david-b@...bell.net>
To: Marek Szyprowski <m.szyprowski@...sung.com>
Cc: "'Alan Cox'" <alan@...rguk.ukuu.org.uk>,
"'Alan Stern'" <stern@...land.harvard.edu>,
"'Peter Korsgaard'" <jacmet@...site.dk>,
"'USB list'" <linux-usb@...r.kernel.org>,
"'Kernel development list'" <linux-kernel@...r.kernel.org>,
kyungmin.park@...sung.com
Subject: Re: PROBLEM: kernel oops with g_serial USB gadget on 2.6.30
On Wednesday 24 June 2009, Marek Szyprowski wrote:
>
> > So it's looking like tty->driver_data is somehow NULL. That's
> > never supposed to happen. Did gs_open() fail or something?
>
> I've triggered this bug by running a 'getty -L 115200 ttyGS0 vt100' and trying
> to login on that usb console and then pressing 'enter' key for longer time.
> getty might abort after a few failed logins, so the /dev/ttyGS0 file might be
> closed before all characters that need to be echoed were processed (usb udc debug
> messages really slows it down). This is however a pure guessing, I know nothing
> about tty framework and internals.
Hmm, that would mean the shutdown processing isn't behaving
right. Plausible, it's tricky to test.
Patches accepted. ;)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists