public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: "Kilau, Scott" <Scott_Kilau@digi.com>
Cc: Greg.Chandler@wellsfargo.com, linux-kernel@vger.kernel.org
Subject: Re: kernel oops with extended serial stuff turned on...
Date: Wed, 18 Oct 2006 16:09:39 -0700	[thread overview]
Message-ID: <20061018230939.GA7713@kroah.com> (raw)
In-Reply-To: <335DD0B75189FB428E5C32680089FB9F803FE8@mtk-sms-mail01.digi.com>

On Wed, Oct 18, 2006 at 05:35:17PM -0500, Kilau, Scott wrote:
> Hi Greg,
> 
> > 
> > I don't understand, what problem is occuring here?  Who is trying to
> > register with sysfs twice?
> > 
> > thanks,
> > 
> > greg k-h
> > 
> 
> The original warning/error he gets is:
> 
> > kobject_add failed for ttyM0 with -EEXIST, don't try to register
> things
> > with the same name in the same directory.
> 
> Presumably this means that "ttyM0" was already registered with
> sysfs/udev already...

Yes (sysfs, not udev, there is no kernel portion of udev, sorry).

> In my out-of-tree driver's case, I used to use "TTY_DRIVER_NO_DEVFS" as
> a flag.
> 
> When that flag went away, I did not put in "TTY_DRIVER_DYNAMIC_DEV" by
> mistake,
> and I got the same error as Greg C.
> I had to push in "TTY_DRIVER_DYNAMIC_DEV" to fix my problem...

What other driver is using the ttyM0 name?

> I don't know much (anything) about the isicom.c driver, so maybe I am
> reading
> something into that error that shouldn't be read into it...

Any pointer to your driver's code so I can see if you are doing
something odd here?  Any reason it's just not in the main kernel tree so
I would have fixed it up at the time I did the other fixes?

thanks,

greg k-h

  reply	other threads:[~2006-10-18 23:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-18 22:35 kernel oops with extended serial stuff turned on Kilau, Scott
2006-10-18 23:09 ` Greg KH [this message]
2006-10-19  0:20   ` Kilau, Scott
2006-10-19  9:02     ` Jiri Slaby
2006-10-19  9:42       ` Jiri Slaby
2006-10-19 10:58         ` Kilau, Scott
2006-10-19 11:01           ` Jiri Slaby
2006-10-19 13:14       ` Alan Cox
2006-10-19 12:00     ` Alan Cox
  -- strict thread matches above, loose matches on Subject: below --
2006-10-18 21:16 Kilau, Scott
2006-10-18 21:21 ` Greg KH
2006-10-18 21:07 Greg.Chandler
2006-10-18 20:32 Kilau, Scott
2006-10-18 17:51 Greg.Chandler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061018230939.GA7713@kroah.com \
    --to=greg@kroah.com \
    --cc=Greg.Chandler@wellsfargo.com \
    --cc=Scott_Kilau@digi.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox