Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42227 - Unable to log in on (most) 2.6 kernels
Summary: Unable to log in on (most) 2.6 kernels
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-20 01:07 UTC by Guy Van Sanden
Modified: 2004-03-28 05:39 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 Guy Van Sanden 2004-02-20 01:07:49 UTC
Reproducable (on the same system) with all 2.6.2 and 2.6.3 kernels (gentoo-dev-sources development-sources mm-sources).

The kernel seems to boot fine and the systems sits at the login prompt.
I can switch terminals and type ok, but I can not log in, neither as
root or as a user.
After entering the password the system just waits, and then says 'login
timed out'.

I can reach the system remotely, but I can't log in either, althoug the
connection is opened and stays open.
Below is the debug of an ssh session.

I only have these entries in the logs for the entire time that the
system was booted with 2.6.3:
---
Feb 12 16:52:14 [kernel] Linux version 2.6.3 (root@cronos) (gcc
version 3.3.2 20031218 (Gentoo L
inux 3.3.2-r5, propolice-3.3-7)) #1 Tue Feb 10 16:52:56 CET 2004
Feb 12 16:52:14 [kernel] VFS: Mounted root (ext2 filesystem) readonly.
Feb 12 16:52:15 [kernel] sis900.c: v1.08.07 11/02/2003
Feb 12 16:52:15 [kernel] eth0: Using transceiver found at address 1 as
default
---

-- SSH session --
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue:
publickey,password,keyboard-interactive
debug1: Next authentication method: password
root@cronos's password:
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: channel_free: channel 0: client-session, nchannels 1
Read from remote host cronos: Connection reset by peer
Connection to cronos closed.
debug1: Transferred: stdin 0, stdout 0, stderr 86 bytes in 180.5 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.5
debug1: Exit status -1
-- end SSH session --

I ran memtest for a while and it reported no memory leaks, I'm guessing
this isn't hardware related.
Also, I can get into single user mode.


Reproducible: Always
Steps to Reproduce:
1. Compile any 2.6.2 or greater kernel
2. Reboot with that kernel
3. Try to log in

Actual Results:  
All logins time out

Expected Results:  
Log in correctly

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25_pre7-gss-r2)
=================================================================
System uname: 2.4.25_pre7-gss-r2 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://194.83.57.3/sites/www.ibiblio.org/gentoo/
http://ftp.easynet.nl/mirror/gentoo/
http://194.83.57.2/sites/www.ibiblio.org/gentoo/
http://194.83.57.15/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acpi alsa apm arts avi berkdb bonobo cdr crypt cups dvd encode esd
foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml imlib java jpeg kde kerberos ldap
libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis
opengl oss pam pda pdflib perl png python qt quicktime readline scanner sdl
slang spell sse ssl svga tcltk tcpd truetype x86 xml2 xmms xosd xv zlib"
Comment 1 Nathan W. Labadie 2004-02-21 10:52:21 UTC
Very similiar problem here. I've had problems with all kernels > 2.6.1, except it doesn't seem to start until I run xinit. After that, nothing will start, can't get a login prompt, etc. Let me know if you want a copy of my kernel config or emerge info. Don't know if it makes a difference, but this is on a Dell Inspiron 5150.
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2004-02-21 11:05:28 UTC
Try upgrading util-linux and pam?
Comment 3 Guy Van Sanden 2004-02-22 04:29:29 UTC
>Try upgrading util-linux and pam?

I have the latest (available) versions of both:
sys-libs/pam-0.77 
sys-apps/util-linux-2.12-r4 (r5 has an ebuild, but is masked)
Comment 4 Tobias Gebhard 2004-02-24 00:21:01 UTC
Same here.
Since I upgraded to kernel 2.6.3 I get this error.
The only thing I can do is a hard reset, because reboot also doesnt work.
But sometimes after a reboot i can login and work as usual.
2.4 works without problems.
Comment 5 Michal Januszewski (RETIRED) gentoo-dev 2004-03-28 02:07:55 UTC
How about 2.6.4 and the latest 2.6.5_rc2? Is the problem still there with these versions?
Comment 6 Guy Van Sanden 2004-03-28 03:16:36 UTC
All kernels starting from the first 2.6.4 RC are fine.
I haven't tried 2.6.5 yet, but I expect that the problem remains resolved.

Thanks for your help.
Comment 7 Michal Januszewski (RETIRED) gentoo-dev 2004-03-28 05:39:53 UTC
OK, I'm closing this since the problem seems to be solved by the newer kernel versions and since 2.6.4 is now marked stable. Feel free to reopen if it's not gone in 2.6.4.