su problem
Eugene Grosbein
egrosbein at rdtc.ru
Sat Jun 9 16:42:50 UTC 2012
09.06.2012 19:47, Sami Halabi пишет:
> %su -
> Password:
> load: 0.00 cmd: su 30588 [ttydcd] 0.91r 0.00u 0.00s 0% 2092k
Perpaps, your system had no keyboard attached at boot time;
or for some other reason it booted with /dev/console being serial console
instead of vidconsole. su locks trying to access serial console
that is /dev/ttyd0 by default and has Carrier Detect flag enabled.
Hence, it waits for CD on the first serial port (miserably and hopelessly).
You can check if it's true with "sysctl kern.console" command.
You could ask someone to boot the system with keyboard attached -
no need to type anything, though. The system should detect it
and assingn /dev/ttyv0 as /dev/console instead of /dev/ttyd0.
And "su" won't lock.
Eugene Grosbein
More information about the freebsd-stable
mailing list