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

Re: console on Niagara in 6.0.1



On Mon, Mar 21, 2011 at 08:31:19PM -0700, David Miller wrote:
> 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.

You may end up with console set to /dev/console if detection logic 
failed and a fall-through value has been used here:

http://git.debian.org/?p=d-i/rootskel.git;a=blob_plain;f=src/sbin/reopen-console-linux;hb=HEAD

Can you post dmesg output from this machine, booted via a serial 
console?

Best regards,
-- 
Jurij Smakov                                           jurij@wooyd.org
Key: http://www.wooyd.org/pgpkey/                      KeyID: C99E03CC


Reply to: