Package: console-common
Version: 0.7.85
Severity: normal

After I installed and configured Plymouth, the splash image would display, and 
then it would drop into the console, then stop and do nothing. I hit enter and 
it continued. After some debugging I found the problem to be in 
/etc/init.d/keymap.sh. It seems this has been a problem in the past with 
splashy, as I found this section:

# Avoid messing with splashy boot
# Thanks to John Hughes and Marc Haber for suggestions
pidof splashy >/dev/null &&
   mkdir -p /lib/init/rw/splashy/ &&
   touch /lib/init/rw/splashy/splashy-stopped-keymap &&
   exit 0

I changed "splashy" to "plymouthd" as a work-around. It's my understanding that 
splashy is no longer supported in squeeze, so this section should probably be 
updated.

This problem seems similar to Bug #575431, except for me it dropped to the 
console rather than hang in the splash screen.

Marshall

-- System Information:
Debian Release: 6.0
  APT prefers squeeze-updates
  APT policy: (500, 'squeeze-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages console-common depends on:
ii  console-data            2:1.10-9         keymaps, fonts, charset maps, fall
ii  console-tools           1:0.2.3dbs-69.1  Linux console and font utilities
ii  debconf [debconf-2.0]   1.5.36.1         Debian configuration management sy
ii  debianutils             3.4              Miscellaneous utilities specific t
ii  lsb-base                3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip

console-common recommends no packages.

console-common suggests no packages.

-- Configuration Files:
/etc/init.d/keymap.sh changed:
if type setupcon >/dev/null 2>&1; then
        exit 0
fi
. /lib/lsb/init-functions
pidof plymouthd >/dev/null &&
   mkdir -p /lib/init/rw/plymouth/ &&
   touch /lib/init/rw/plymouth/plymouthd-stopped-keymap &&
   exit 0
CONSOLE_TYPE=`fgconsole 2>/dev/null` || CONSOLE_TYPE="unknown"
QUIT=0
command -v loadkeys >/dev/null 2>&1 || QUIT=1
CONFDIR=/etc/console
CONFFILEROOT=boottime
EXT=kmap
CONFFILE=${CONFDIR}/${CONFFILEROOT}.${EXT}.gz
reset_kernel()
{
        # On Mac PPC machines, we may need to set kernel vars first
        # We need to mount /proc to do that; not optimal, as its going to 
        # be mounted in S10checkroot, but we need it set up before sulogin
        # may be run in checkroot, which will need the keyboard to log in...
        [ -x /sbin/sysctl ] || return
        [ -r /etc/sysctl.conf ] || return
        grep -v '^\#' /etc/sysctl.conf | grep -q keycodes 
        if [ "$?" = "0" ] ; then
            grep keycodes /etc/sysctl.conf | grep -v "^#" | while read d ; do
                /sbin/sysctl -w $d 2> /dev/null || true
            done
        fi
}
unicode_start_stop()
{
        # Switch unicode mode by checking the locale.
        # This will be needed before loading the keymap.
        [ -x /usr/bin/unicode_start ] || [ -x /bin/unicode_start ] ||  return
        [ -x /usr/bin/unicode_stop ] || [ -x /bin/unicode_stop ] || return
        ENV_FILE=""
        [ -r /etc/environment ] && ENV_FILE="/etc/environment"
        [ -r /etc/default/locale ] && ENV_FILE="/etc/default/locale" 
        [ "$ENV_FILE" ] && CHARMAP=$(set -a && . "$ENV_FILE" && locale charmap)
        if [ "$CHARMAP" = "UTF-8" ]; then
                unicode_start 2> /dev/null || true
        else
                unicode_stop 2> /dev/null || true
        fi
}
if [ ! $QUIT = '1' ] ; then
  case "$1" in
      start | restart | force-reload | reload)
  
        # Set kernel variables if required
        reset_kernel
        # First mount /proc if necessary...and if it is there (#392798)
        unmount_proc="no"
        if [ -d /proc ]; then
                if [ ! -x /proc/$$ ]; then
                        unmount_proc="yes"      
                        mount -n /proc
                fi
  
                if [ -f /proc/sys/dev/mac_hid/keyboard_sends_linux_keycodes ] ; 
then
                        linux_keycodes=`cat 
/proc/sys/dev/mac_hid/keyboard_sends_linux_keycodes`
                else
                        linux_keycodes=1;
                fi
        else
                linux_keycodes=1;
        fi
        # load new map
        if [ $linux_keycodes -gt 0 ] ; then 
          if [ -r ${CONFFILE} ] ; then
            # Switch console mode to UTF-8 or ASCII as necessary
            unicode_start_stop
            if [ $CONSOLE_TYPE = "serial" ] ; then 
                    loadkeys -q ${CONFFILE} 2>&1 > /dev/null
            else
                    loadkeys -q ${CONFFILE}
            fi
            if [ $? -gt 0 ]
                then
                # if we've a serial console, we may not have a keyboard, so 
don't
                # complain if we fail. 
                   if [ ! $CONSOLE_TYPE = "serial" ]; then 
                        log_warning_msg "Problem when loading 
${CONFDIR}/${CONFFILEROOT}.${EXT}.gz, use install-keymap"
                        sleep 10
                   fi 
                fi
            fi
        fi
        # unmount /proc if we mounted it
        [ "$unmount_proc" = "no" ] || umount -n /proc
        ;;
    stop)
        ;;
    *)
        log_warning_msg "Usage: $0 {start|stop|restart|reload|force-reload}"
        ;;
  esac
fi


-- debconf information:
  console-data/keymap/template/layout:
  console-data/keymap/family: qwerty
  console-data/keymap/powerpcadb:
  console-data/keymap/template/variant:
  console-data/keymap/ignored:
  console-data/keymap/full:
  console-data/keymap/template/keymap:
* console-data/keymap/policy: Don't touch keymap
  console-data/bootmap-md5sum: none



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to