Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422924AbWJRUcm (ORCPT ); Wed, 18 Oct 2006 16:32:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1422923AbWJRUcm (ORCPT ); Wed, 18 Oct 2006 16:32:42 -0400 Received: from mail29.messagelabs.com ([216.82.249.147]:64668 "HELO mail29.messagelabs.com") by vger.kernel.org with SMTP id S1422924AbWJRUck convert rfc822-to-8bit (ORCPT ); Wed, 18 Oct 2006 16:32:40 -0400 X-VirusChecked: Checked X-Env-Sender: Scott_Kilau@digi.com X-Msg-Ref: server-4.tower-29.messagelabs.com!1161203559!32836497!1 X-StarScan-Version: 5.5.10.7; banners=-,-,- X-Originating-IP: [66.77.174.21] X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT Subject: RE: kernel oops with extended serial stuff turned on... Date: Wed, 18 Oct 2006 15:32:38 -0500 Message-ID: <335DD0B75189FB428E5C32680089FB9F803FDB@mtk-sms-mail01.digi.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: RE: kernel oops with extended serial stuff turned on... Thread-Index: Acby9I1hWM0wMGB7S2+2ZuFFKwTmIg== From: "Kilau, Scott" To: Cc: X-OriginalArrivalTime: 18 Oct 2006 20:32:38.0938 (UTC) FILETIME=[8DAB17A0:01C6F2F4] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1089 Lines: 38 Hi Greg, > kobject_add failed for ttyM0 with -EEXIST, don't try to register things > with the same name in the same directory. > [] kobject_add+0xd2/0xe0 > [] class_device_add+0x9f/0x2a0 > [] class_device_create+0x77/0x90 > [] tty_register_device+0x5f/0x70 > [] kobj_map+0xec/0x100 > [] cdev_add+0x1d/0x30 > [] tty_register_driver+0x19a/0x1b0 > [] isicom_register_tty_driver+0xac/0xd0 I saw this same warning/problem in my out-of-tree drivers when the "TTY_DRIVER_NO_DEVFS" flag went away somewhere between 2.6.17 and 2.6.18. You need to change this line: isicom_normal->flags = TTY_DRIVER_REAL_RAW; To: isicom_normal->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_DYNAMIC_DEV; In the "drivers/char/isicom.c" file. Scott - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/