On Mon, Aug 13, 2007 at 04:28:06PM -0700, Chris Gianelloni wrote: > On Fri, 2007-08-10 at 11:32 -1000, Joshua Hoblitt wrote: > > On Fri, Aug 10, 2007 at 02:15:17PM -0700, Chris Gianelloni wrote: > > > On Sat, 2007-08-04 at 16:11 -0500, Andrew Gaffney wrote: > > > > > I won't be able to test anything until Monday. Would an option to > > > > > completely disable the splash be reasonable? > > > > > > > > That's what the -nofb kernel does. However, there isn't currently an > > > > option to > > > > have a framebuffer without splash. I'm not sure if it would still pass > > > > the > > > > splash options if you don't enable splash stuff in livecd-stage2.spec, > > > > but I bet > > > > it would. > > > > > > Just comment out the splash stuff in livecd-stage2's spec and you won't > > > get a splash, at all, and serial will work just fine. > > > > I just tried booting with the gentoo-nofb option and it becomes a serial > > only system with absolutely no response on the vga/keyboard console. > > Ideally I'd like to have both function the vga & serial consoles live. > > I'll try rolling a new CD with the splash stuff disabled but I doubt the > > results will be any different. Do you want to see /proc/cmdline? > > OK. I had assumed that you were more familiar with the init process > than you are. Using -nofb means you get zero console= options on your > command line. You need one for every console you're supporting and > currently are only appending one for serial. Rebuild your CD with: > > livecd/bootargs: console=tty0 console=ttyS0,115200 > > This will tell it to show on both the local screen and the serial, with > the kernel's concept of the "console" being your serial. Also, rebuild > without splash.
I just tried this (except with the console order inverted) and the complete livecd/bootargs are passed to the kernel (they appear in /proc/cmdline) and the local fb console is started (no splash) but no tty was attached to the serial line nor does a config for one appear in /etc/inittab. The .spec is attached. It would be really nice to control the kernel's boot params and what init attaches ttys as independent variables. -J --
subarch: amd64
version_stamp: 2007.0-serial
target: livecd-stage2
rel_type: default
profile: default-linux/amd64/2007.0
snapshot: 2007.0
source_subpath: default/livecd-stage1-amd64-2007.0
portage_overlay: /usr/src/portage
livecd/fstype: squashfs
livecd/cdtar:
/usr/lib/catalyst/livecd/cdtar/isolinux-3.09-memtest86+-cdtar.tar.bz2
livecd/iso:
/var/tmp/catalyst/builds/default/install-amd64-minimal-2007.0-serial.iso
#livecd/splash_type: gensplash
#livecd/splash_theme: livecd-2007.0
livecd/volid: Gentoo Linux amd64 2007.0
livecd/type: gentoo-release-minimal
#livecd/overlay: /root/livecd/overlays/amd64-minimal
#livecd/bootargs: dokeymap
livecd/bootargs: console=ttyS0,115200 console=tty0
livecd/gk_mainargs: --makeopts=-j16 --lvm2 --dmraid --evms2
boot/kernel: gentoo
boot/kernel/gentoo/sources: gentoo-sources
#boot/kernel/gentoo/config:
/root/livecd/kconfig/2007.0/amd64/installcd-2.6.19.config
boot/kernel/gentoo/config: /root/2007.0-specs/installcd-2.6.19.config
boot/kernel/gentoo/use: pcmcia usb -X png truetype -qt
boot/kernel/gentoo/packages:
media-gfx/splashutils
media-gfx/splash-themes-livecd
sys-apps/pcmciautils
sys-fs/cryptsetup-luks
# These were not stable at time of snapshot/release.
# net-wireless/at76c503a
# net-wireless/rtl8180
# net-wireless/rtl8187
# net-wireless/adm8211
# net-wireless/acx
# net-wireless/ipw3945
net-wireless/rt2500
livecd/unmerge:
# acl
# addpatches
# attr
alsa-headers
autoconf
autoconf-wrapper
automake
automake-wrapper
# bc
# bin86
binutils
binutils-config
bison
busybox
# ccache
cpio
# cronbase
# devfsd
diffutils
# distcc
# ed
expat
flex
gcc
gcc-config
# gcc-sparc64
genkernel
gentoo-sources
gettext
gnuconfig
groff
# grub
help2man
kgcc64
# lcms
# ld.so
# lib-compat
# libmng
libperl
libtool
linux-headers
m4
make
man
man-pages
miscfiles
pax-utils
patch
perl
perl-cleaner
perl-Test-Simple
PodParser
pycrypto
rsync
sandbox
# sash
# sysklogd
# tcp-wrappers
Test-Harness
texinfo
# ucl
# vanilla-sources
livecd/empty:
/etc/bootsplash/gentoo
/etc/bootsplash/gentoo-highquality
/etc/cron.daily
/etc/cron.hourly
/etc/cron.monthly
/etc/cron.weekly
/etc/logrotate.d
/etc/modules.autoload.d
/etc/rsync
/etc/runlevels/single
/etc/skel
/etc/splash/emergence
/etc/splash/gentoo
/lib/dev-state
/lib/udev-state
/lib64/dev-state
/lib64/udev-state
/root/.ccache
/tmp
/usr/diet/include
/usr/diet/man
/usr/i386-gentoo-linux-uclibc
/usr/i386-pc-linux-gnu
/usr/i386-pc-linux-uclibc
/usr/include
/usr/lib/X11/config
/usr/lib/X11/doc
/usr/lib/X11/etc
/usr/lib/awk
/usr/lib/ccache
/usr/lib/gcc-config
/usr/lib/gconv
/usr/lib/nfs
/usr/lib/perl5
/usr/lib/portage
/usr/lib/python2.2
/usr/lib/python2.3
/usr/lib/python2.4/tests
/usr/lib64/X11/config
/usr/lib64/X11/doc
/usr/lib64/X11/etc
/usr/lib64/awk
/usr/lib64/ccache
/usr/lib64/gcc-config
/usr/lib64/gconv
/usr/lib64/nfs
/usr/lib64/perl5
/usr/lib64/portage
/usr/lib64/python2.2
/usr/lib64/python2.3
/usr/lib64/python2.4/tests
/usr/local
/usr/portage
/usr/powerpc-unknown-linux-gnu
/usr/powerpc64-unknown-linux-gnu
/usr/share/aclocal
/usr/share/baselayout
/usr/share/binutils-data
/usr/share/consolefonts/partialfonts
/usr/share/consoletrans
/usr/share/dict
/usr/share/doc
/usr/share/emacs
/usr/share/et
/usr/share/gcc-data
/usr/share/genkernel
/usr/share/gettext
/usr/share/glib-2.0
/usr/share/gnuconfig
/usr/share/gtk-doc
/usr/share/i18n
/usr/share/info
/usr/share/lcms
/usr/share/libtool
/usr/share/locale
/usr/share/man
/usr/share/perl
/usr/share/rfc
/usr/share/ss
/usr/share/state
/usr/share/texinfo
/usr/share/unimaps
/usr/share/zoneinfo
/usr/sparc-unknown-linux-gnu
/usr/src
/usr/x86_64-pc-linux-gnu
/var/cache
/var/db
/var/empty
/var/lib/portage
/var/lock
/var/log
/var/run
/var/spool
/var/state
/var/tmp
livecd/rm:
/boot/System*
/boot/initr*
/boot/kernel*
/etc/*-
/etc/*.old
/etc/default/audioctl
/etc/dispatch-conf.conf
/etc/env.d/05binutils
/etc/env.d/05gcc
/etc/etc-update.conf
/etc/hosts.bck
/etc/issue*
/etc/genkernel.conf
/etc/make.conf
/etc/make.conf.example
/etc/make.globals
/etc/make.profile
/etc/man.conf
/etc/resolv.conf
/etc/splash/livecd-2007.0/12*
/etc/splash/livecd-2007.0/14*
/etc/splash/livecd-2007.0/16*
/etc/splash/livecd-2007.0/19*
/etc/splash/livecd-2007.0/6*
/etc/splash/livecd-2007.0/8*
/etc/splash/livecd-2007.0/images/background-12*
/etc/splash/livecd-2007.0/images/background-14*
/etc/splash/livecd-2007.0/images/background-16*
/etc/splash/livecd-2007.0/images/background-19*
/etc/splash/livecd-2007.0/images/background-6*
/etc/splash/livecd-2007.0/images/background-8*
/etc/splash/livecd-2007.0/images/verbose-12*
/etc/splash/livecd-2007.0/images/verbose-14*
/etc/splash/livecd-2007.0/images/verbose-16*
/etc/splash/livecd-2007.0/images/verbose-19*
/etc/splash/livecd-2007.0/images/verbose-6*
/etc/splash/livecd-2007.0/images/verbose-8*
/lib*/*.a
/lib*/*.la
/lib*/cpp
/lib*/security/pam_access.so
/lib*/security/pam_chroot.so
/lib*/security/pam_debug.so
/lib*/security/pam_ftp.so
/lib*/security/pam_issue.so
/lib*/security/pam_mail.so
/lib*/security/pam_mkhomedir.so
/lib*/security/pam_motd.so
/lib*/security/pam_postgresok.so
/lib*/security/pam_rhosts_auth.so
/lib*/security/pam_userdb.so
/root/.bash_history
/root/.viminfo
/sbin/fsck.cramfs
/sbin/fsck.minix
/sbin/mkfs.bfs
/sbin/mkfs.cramfs
/sbin/mkfs.minix
/usr/bin/addr2line
/usr/bin/ar
/usr/bin/as
/usr/bin/audioctl
/usr/bin/c++*
/usr/bin/cc
/usr/bin/cjpeg
/usr/bin/cpp
/usr/bin/djpeg
/usr/bin/ebuild
/usr/bin/emerge
/usr/bin/elftoaout
/usr/bin/f77
/usr/bin/g++*
/usr/bin/g77
/usr/bin/gcc*
/usr/bin/genkernel
/usr/bin/gprof
/usr/bin/i386-gentoo-linux-uclibc-*
/usr/bin/i386-pc-linux-*
/usr/bin/jpegtran
/usr/bin/ld
/usr/bin/libpng*
/usr/bin/nm
/usr/bin/objcopy
/usr/bin/objdump
/usr/bin/piggyback*
/usr/bin/portageq
/usr/bin/ranlib
/usr/bin/readelf
/usr/bin/repoman
/usr/bin/size
/usr/bin/powerpc-unknown-linux-gnu-*
/usr/bin/powerpc64-unknown-linux-gnu-*
/usr/bin/sparc-unknown-linux-gnu-*
/usr/bin/sparc64-unknown-linux-gnu-*
/usr/bin/strings
/usr/bin/strip
/usr/bin/tbz2tool
/usr/bin/x86_64-pc-linux-gnu-*
/usr/bin/xpak
/usr/bin/yacc
/usr/lib*/*.a
/usr/lib*/*.la
/usr/lib*/gcc-lib/*/*/libgcj*
/usr/sbin/archive-conf
/usr/sbin/bootsplash*
/usr/sbin/dispatch-conf
/usr/sbin/emaint
/usr/sbin/emerge-webrsync
/usr/sbin/env-update
/usr/sbin/fb*
/usr/sbin/fixpackages
/usr/sbin/quickpkg
/usr/sbin/regenworld
/usr/share/consolefonts/1*
/usr/share/consolefonts/7*
/usr/share/consolefonts/8*
/usr/share/consolefonts/9*
/usr/share/consolefonts/A*
/usr/share/consolefonts/C*
/usr/share/consolefonts/E*
/usr/share/consolefonts/G*
/usr/share/consolefonts/L*
/usr/share/consolefonts/M*
/usr/share/consolefonts/R*
/usr/share/consolefonts/a*
/usr/share/consolefonts/c*
/usr/share/consolefonts/dr*
/usr/share/consolefonts/g*
/usr/share/consolefonts/i*
/usr/share/consolefonts/k*
/usr/share/consolefonts/l*
/usr/share/consolefonts/r*
/usr/share/consolefonts/s*
/usr/share/consolefonts/t*
/usr/share/consolefonts/v*
/usr/share/misc/*.old
pgpeWfsmT9rm0.pgp
Description: PGP signature
