[pkg-fso-maint] nodm does not work (VT_GETSTATE on /dev/console failed)

Enrico Zini enrico at enricozini.org
Sat Jul 25 15:18:03 UTC 2009


On Sat, Jul 25, 2009 at 02:04:39PM +0200, arne anka wrote:

> >And nodm doesn't work for you either?
> exactly.
> i downgraded to 0.4 again.

On Sat, Jul 25, 2009 at 01:11:13AM +0200, Sebastian Reichel wrote:

> > > root at freerunner ~ # nodm
> > > nodm: VT_GETSTATE failed on /dev/console: Invalid argument
> > > nodm: cannot allocate a virtual terminal

Ok. I just tried no nomeata's phone who has the exactly same kernel as
Sebastian, and it works.

Googling a bit the error kind of suggests that if you get that error,
then it looks like /dev/console is not a Linux console. Can you please
also post the output of "ls -l /dev/console" ? Let's compare the magic
numbers (nomeata's are "5, 1").

I'm attaching a small C file. I'd like you to compile it:

   gcc getvt.c -o getvt

then play with it a bit, and see when it works and when you get errors:
does it change if you run it under X, or from ssh? What happens if you
run it many times in a row?

Unfortunately all the debconf's openmokos except nomeata's are currently
torn apart on top of a table with one poor soul with excellent hands
fixing the buzz bug on them all. When they're put back together I'll
also ask people here to try getvt.c.


Ciao,

Enrico

-- 
GPG key: 4096R/E7AD5568 2009-05-08 Enrico Zini <enrico at enricozini.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getvt.c
Type: text/x-csrc
Size: 1277 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20090725/86b29135/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20090725/86b29135/attachment.pgp>


More information about the pkg-fso-maint mailing list