Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76513 - linux-kernel-2.6 output to one console only
Summary: linux-kernel-2.6 output to one console only
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-03 05:58 UTC by KiR
Modified: 2005-01-28 03:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description KiR 2005-01-03 05:58:10 UTC
When using gentoo-dev-sources, genkernel (i.e. initrd) and more than one console (like this 'kernel ... udev console=tty0 console=ttyS1,19200n8') output stops to tty0 after initrd /linuxrc starts (??? last message on tty0 is 'Freeing unused kernel memory:...'). With linux-kernel-2.4 it works fine. For 2.6 i use udev, genkernel --udev.

Reproducible: Always
Steps to Reproduce:
1.genkernel --udev --install
2. CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
CONFIG_INOTIFY=y
# CONFIG_SERIAL_NONSTANDARD is not set
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_EXTENDED=y
# CONFIG_SERIAL_8250_MANY_PORTS is not set
# CONFIG_SERIAL_8250_SHARE_IRQ is not set
CONFIG_SERIAL_8250_DETECT_IRQ=y
# CONFIG_SERIAL_8250_MULTIPORT is not set
# CONFIG_SERIAL_8250_RSA is not set
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_UNIX98_PTYS=y
# CONFIG_LEGACY_PTYS is not set
3. add to boot loader (GRUB) console=tty0 console=ttyS1,19200n8

Actual Results:  
When using gentoo-dev-sources, genkernel (i.e. initrd) and more than one console
(like this 'kernel ... udev console=tty0 console=ttyS1,19200n8') output stops to
tty0 after initrd /linuxrc starts (??? last message on tty0 is 'Freeing unused
kernel memory:...'). With linux-kernel-2.4 it works fine. For 2.6 i use udev,
genkernel --udev.


Expected Results:  
Simply kernel must output to tty0 and ttyS1

motherboard: SE7501WV2SCSI
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r13 i686)
=================================================================
System uname: 2.6.9-gentoo-r13 i686 Intel(R) Xeon(TM) CPU 2.66GHz
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://server.home/portage"
USE="x86 accounting acl apache2 berkdb bitmap-fonts crypt cups encode expat
ext-png ext-zlib foomaticdb fortran gdbm gif imap ipv6 jpeg libwww lua mad
md5sum mmx mpeg mysql ncurses nls nptl oggvorbis oss pam perl png pthreads
python readline sasl sdl serial slang ssl tcpd tiff xml2 zlib"
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2005-01-20 08:36:59 UTC
Does it help if you make ttyS1 the first arg? e.g.

console=ttyS1,19200n8 console=tty0

Comment 2 Daniel Drake (RETIRED) gentoo-dev 2005-01-28 03:41:01 UTC
Please reopen when you reply to comment #1
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2005-01-28 03:41:15 UTC
.