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

Sepherosa Ziehau sepherosa at gmail.com
Mon Aug 7 07:05:14 PDT 2006


On 7/31/06, YONETANI Tomokazu <qhwt+dfly at xxxxxxxxxx> 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
--
Live Free or Die




More information about the Bugs mailing list