RE: kernel oops with extended serial stuff turned on...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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...

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...

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...

Scott
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux