Bug #272

WARNING: driver sc should register devices with make_dev() (dev_t = "#sc/255")

Added by qhwt+dfly about 8 years ago. Updated almost 8 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

Hello.
Just updated my Dynabook to HEAD, I see the following warning message
on console:
WARNING: driver sc should register devices with make_dev() (dev_t = "#sc/255")

This message appears on the console every time moused is started.
Any ideas why?

Cheers.

History

#1 Updated by sepherosa about 8 years ago

On 7/31/06, YONETANI Tomokazu <> wrote:
> Hello.
> Just updated my Dynabook to HEAD, I see the following warning message
> on console:
> WARNING: driver sc should register devices with make_dev() (dev_t = "#sc/255")
>
> This message appears on the console every time moused is started.
> Any ideas why?
>
> Cheers.
>

I have seen this problem on HEAD too.
After adding some printf into dev/misc/syscons/syscons.c
(http://leaf.dragonflybsd.org/~sephe/syscons_print.diff), I got
following out put:
...
scopen after l_open, si_name: ttyvb
scopen after l_open, si_name: ttyvb
<------ moused began to open /dev/consolectl here
scopen after l_open, si_name:
WARNING: driver sc should register devices with make_dev() (dev_t = "#sc/255")
scopen after l_open, si_name: ttyv0
scopen after l_open, si_name: ttyv0
...

full dmesg is at:
http://leaf.dragonflybsd.org/~sephe/dmesg.l_open

Hope this will be helpful.

Best Regards,
sephe

#2 Updated by corecode about 8 years ago

better analysis in superseder

Also available in: Atom PDF