Dear Axel Beierlein,

In message <[email protected]> you wrote:
> 
> [...]
> getty: ioctl() TIOCSPGRP call failed: Inappropriate ioctl for device
> 
> ELDK 5.2.1 generic-powerpc console
> 
> generic-powerpc login:
> [...]
> 
> Where this comes from?

It comes from the fact that we use the generic "/dev/console" for the
console login.

> After login it prints:
> 
> [...]
> -sh: cannot set terminal process group (-1): Inappropriate ioctl for device
> -sh: no job control in this shell
> [...]
> 
> I also can't kill a process with Strg-C in the Terminal.

This is the consequence of not being able to set up a process group,
see error message above...

> Adding a ttyPSC0 device to dev/ and changing tty in the getty call at

There should be no need to add anything to /dev; the ttyPSC? nodes
should be auto-created by udev.  If they are not on your system, then
you have a problem.

> inittab doesn't fix this Prob.

Yes, it does, at least for me.  With this change:

-S:2345:respawn:/sbin/getty 115200 console
+S:2345:respawn:/sbin/getty 115200 ttyPSC0

I can login without errors, and job control is working fine:

        ELDK 5.2.1 generic-powerpc ttyPSC0

        generic-powerpc login: root
        root@generic-powerpc:~# sleep 30
        [1]+  Stopped                    sleep 30
        root@generic-powerpc:~# bg
        [1] sleep 30
        root@generic-powerpc:~# fg
        sleep 30
        ^C
        root@generic-powerpc:~# 



Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
Space is big. You just won't believe how vastly, hugely, mind-
bogglingly big it is. I mean, you may think it's a long way down the
road to the drug store, but that's just peanuts to space.
                              -- The Hitchhiker's Guide to the Galaxy
_______________________________________________
eldk mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/eldk

Reply via email to