From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754182AbYJUMjM (ORCPT ); Tue, 21 Oct 2008 08:39:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751937AbYJUMi5 (ORCPT ); Tue, 21 Oct 2008 08:38:57 -0400 Received: from earthlight.etchedpixels.co.uk ([81.2.110.250]:52039 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751560AbYJUMi4 (ORCPT ); Tue, 21 Oct 2008 08:38:56 -0400 Date: Tue, 21 Oct 2008 13:38:24 +0100 From: Alan Cox To: "Sergio Luis" Cc: "Alan Cox" , "Linus Torvalds" , "Greg KH" , linux-usb@vger.kernel.org, LKML Subject: Re: tty: usb-serial krefs - bad magic number for tty struct (188:0) Message-ID: <20081021133824.292a9071@lxorguk.ukuu.org.uk> In-Reply-To: References: X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.12; x86_64-redhat-linux-gnu) Organization: Red Hat UK Cyf., Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, Y Deyrnas Gyfunol. Cofrestrwyd yng Nghymru a Lloegr o'r rhif cofrestru 3798903 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > one of the problems was the tty_kref_put(tty) in > usb_serial_port_work() [drivers/usb/serial/usb-serial.c], that was > releasing the tty device. I removed that line and it _almost_ worked. > well, it worked, but only _once_. If I stopped the daemon and tried to You removed a valid one not the erroneous one it seems. Unfortunately your bug report doesn't actually say _WHICH_ USB serial driver you are using which makes it a bit hard to be sure I'm looking for the right bug.