From: "David S. Miller" Date: Wed, 08 Jun 2005 19:22:04 +0000 Subject: Re: nuke string.h micro-optimizations from orbit Message-Id: <20050608.122204.55504319.davem@davemloft.net> List-Id: References: <20050607031302.GA2621@holomorphy.com> In-Reply-To: <20050607031302.GA2621@holomorphy.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: sparclinux@vger.kernel.org From: William Lee Irwin III Date: Wed, 8 Jun 2005 12:19:43 -0700 > > From: William Lee Irwin III > > Date: Wed, 8 Jun 2005 04:52:28 -0700 > >> Apart from "the tty layer is f***ed", not really. We should probably > >> take our findings to whoever's now working on the tty layer. > > On Wed, Jun 08, 2005 at 12:06:18PM -0700, David S. Miller wrote: > > It is undoubtedly a sparc serial console issue, not one with > > the TTY layer. > > I didn't see the driver in the backtrace so I got fooled. > > ... dare I ask if anyone can smoke out a line number on this one? What's probably happening is that the serial driver in question is causing the UART layer to release the console TTY on a close, and later on access to this is what OOPS's. To be honest, I am utterly confused as to how the console TTY handling stuff is supposed to operate wrt. the UART serial drivers. Sunzilog has this thing where it doesn't touch any of the serial chip settings on a close (see sunzilog_shutdown() and the huge comment preceeding it) yet I don't see any other driver's doing this. This whole area needs a huge anti-crap audit.