From: Greg KH <greg@kroah.com>
To: Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua>
Cc: linux-kernel@vger.kernel.org
Subject: Re: devfs -> udev transition: vcsN are not created
Date: Sun, 5 Sep 2004 10:02:00 +0200 [thread overview]
Message-ID: <20040905080200.GC10292@kroah.com> (raw)
In-Reply-To: <200408271248.59746.vda@port.imtp.ilyichevsk.odessa.ua>
On Fri, Aug 27, 2004 at 12:48:59PM +0300, Denis Vlasenko wrote:
> Hi Greg,
>
> On Wednesday 25 August 2004 15:17, Denis Vlasenko wrote:
> > I am migrating my 2.6 systems from devfs to udev.
> > Versions:
> >
> > # uname -a
> > Linux firebird 2.6.7-bk20 #6 Mon Jul 12 01:23:31 EEST 2004 i686 unknown
> > # ls -d udev* hotplug*
> > hotplug-2004_04_01 udev-030
> >
> > In early boot, when root fs is readonly yet, I start udev this way:
> >
> > mount -t ramfs none /dev
> > env - udevd & sleep 1
> > udevstart
> >
> > and then continue as normal. Things mostly work.
> > However, I noticed that vcsN device nodes are missing
> > (I tried to start Midnight Commander and it failed).
> > This can be due to the fact that I start agettys very
> > late in boot sequence, and thus all ttyN's were not
> > open at the time of udevstart, only first one was (tty1).
> >
> > I logged in and did:
> >
> > # ls -l /udev >before
> > # strace -o us.log udevstart
> > # ls -l /udev >after
> > # diff -u before after >diff
> >
> > This worked, vcsN's appeared:
> [snip]
>
> As you suggested, I tried 2.6.9-rc1-mm1. Sorry. It does not work.
>
> My hotplug is instrumented a bit
> to log invocations to syslog. I did 'cat >/dev/tty13':
>
> hotplug[1196]: cmd: /sbin/hotplug vc
> hotplug[1196]: env: DEVPATH=/class/vc/vcs13 PATH=/sbin:/bin:/usr/sbin:/usr/bin
> ACTION=add PWD=/ SHLVL=1 HOME=/ SEQNUM=232 _=/sbin/env
> hotplug[1198]: cmd: /sbin/hotplug vc
> hotplug[1198]: env: DEVPATH=/class/vc/vcsa13 PATH=/sbin:/bin:/usr/sbin:/usr/bin
> ACTION=add PWD=/ SHLVL=1 HOME=/ SEQNUM=233 _=/sbin/env
> hotplug[1198]: run: /etc/hotplug.d/default/default.hotplug vc
> hotplug[1196]: run: /etc/hotplug.d/default/default.hotplug vc
> hotplug[1196]: run: /etc/hotplug.d/default/udev.hotplug vc
> hotplug[1198]: run: /etc/hotplug.d/default/udev.hotplug vc
>
> /dev/vcs[a]13 did NOT appear.
> I waited ~15 secs and ^C'ed cat:
Hm, this works for me.
What does /sys/class/vc/ contain? Any "vcs" files there? If not,
that's the issue.
thanks,
greg k-h
prev parent reply other threads:[~2004-09-06 3:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-25 12:17 devfs -> udev transition: vcsN are not created Denis Vlasenko
2004-08-25 19:43 ` Greg KH
2004-08-25 20:06 ` Denis Vlasenko
2004-08-27 9:48 ` Denis Vlasenko
2004-08-27 10:46 ` Denis Vlasenko
2004-09-05 8:02 ` Greg KH [this message]
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=20040905080200.GC10292@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=vda@port.imtp.ilyichevsk.odessa.ua \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.