[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: console on Niagara in 6.0.1



From: Jurij Smakov <jurij@wooyd.org>
Date: Mon, 21 Mar 2011 11:51:30 +0000

> 4. Run '/bin/sh -x /usr/lib/finish-install.d/90console' and post the 
> output somewhere.

This doesn't log anything because executing 90console actualy spawns
debconf/frontend to execute the script.

So I inspected things by hand:

1) readlink on /proc/$(pidof debian-installer)/fd/0 evaluates to "/dev/console"
2) "mapdevfs" returns /dev/console

This is hitting the "Pass unknown devices without changes" path
in debian-installer/devfs.c:di_system_devfs_map_fron

This code seems to assume that the installer will have the underlying
device openned, but instead it is /dev/console which it will have.

Code needs to be added, somewhere, to translate /dev/console to
whatever the underlying device is.  Or to detect the serial console
in some other manner.


Reply to: