Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34301 - AMD64 gentoo-dev-sources kernel panic if legacy USB enabled in BIOS
Summary: AMD64 gentoo-dev-sources kernel panic if legacy USB enabled in BIOS
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-24 16:49 UTC by David Henderson
Modified: 2003-11-25 10:38 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 David Henderson 2003-11-24 16:49:10 UTC
In the beta AMD64 liveCD 
and all attempts to build a development-sources or gentoo-dev-sources kernel
since then (starting with 2.6.0-beta9 and to current).

The kernel panics and dies during bootup IF legacy USB support is enabled in
Bios (regardless of what level it is enabled at).  (So far I have only observed
this with a USB keyboard/mouse connected...)

Reproducible: Always
Steps to Reproduce:
1. Install any 2.6.0-beta 9 or better kernel with usb as modules or in kernel
for amd64
2. Enable legacy USB support in bios (to allow keyboard to work in GRUB)
3. Reboot; and viola! happens right at the end of kernel initialisation...  I
just see the ps/2 mouse line scroll past.....  (see forum link in url).
Actual Results:  
Oops: 0010 [1]
CPU 0
Pid: 0, comm: swapper Not tainted
RIP: 0010:[<000000008010f784>] [<000000008010f784>]
RSP: 0000:ffffffff80485fd8  EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffffffff8010f784 RCX: 0000000000000000
RDX: 000001003fb240c0 RSI: ffffffff803a3ba0 RDI: ffffffff803a37e0
RBP: 0000000000000000 R08: ffffffff80484000 R09: 000001003fa51e9c
R10: 0000000000000078 R11: 0000001003fb240c0 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffffffff8047dd40(0000) knlGS: 0000000000000000
CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 000000008010f784 CR3: 0000000000101000 CR4: 000000000000006a0
Process swapper (pid: 0, stackpage=ffffffff803a4ba0)
Stack: ffffffff8010f80a 000000000000010a ffffffff8048972a ffffffff80448500
   0000000000000000
Call TraceL<ffffffff8010f80a>{cpu_idle+26} <ffffffff8048972a>{start_kernel+378}

Code: Bad RIP value.
RIP [<000000008010f784>] RSP <ffffffff80485fd8>
CR2: 000000008010f784
 <0>Kernel panic: Attempted to kill the idle task!
In idle task 
Comment 1 David Henderson 2003-11-24 16:49:10 UTC
In the beta AMD64 liveCD 
and all attempts to build a development-sources or gentoo-dev-sources kernel
since then (starting with 2.6.0-beta9 and to current).

The kernel panics and dies during bootup IF legacy USB support is enabled in
Bios (regardless of what level it is enabled at).  (So far I have only observed
this with a USB keyboard/mouse connected...)

Reproducible: Always
Steps to Reproduce:
1. Install any 2.6.0-beta 9 or better kernel with usb as modules or in kernel
for amd64
2. Enable legacy USB support in bios (to allow keyboard to work in GRUB)
3. Reboot; and viola! happens right at the end of kernel initialisation...  I
just see the ps/2 mouse line scroll past.....  (see forum link in url).
Actual Results:  
Oops: 0010 [1]
CPU 0
Pid: 0, comm: swapper Not tainted
RIP: 0010:[<000000008010f784>] [<000000008010f784>]
RSP: 0000:ffffffff80485fd8  EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffffffff8010f784 RCX: 0000000000000000
RDX: 000001003fb240c0 RSI: ffffffff803a3ba0 RDI: ffffffff803a37e0
RBP: 0000000000000000 R08: ffffffff80484000 R09: 000001003fa51e9c
R10: 0000000000000078 R11: 0000001003fb240c0 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffffffff8047dd40(0000) knlGS: 0000000000000000
CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 000000008010f784 CR3: 0000000000101000 CR4: 000000000000006a0
Process swapper (pid: 0, stackpage=ffffffff803a4ba0)
Stack: ffffffff8010f80a 000000000000010a ffffffff8048972a ffffffff80448500
   0000000000000000
Call TraceL<ffffffff8010f80a>{cpu_idle+26} <ffffffff8048972a>{start_kernel+378}

Code: Bad RIP value.
RIP [<000000008010f784>] RSP <ffffffff80485fd8>
CR2: 000000008010f784
 <0>Kernel panic: Attempted to kill the idle task!
In idle task  not syncing 

Give or take, register values vary (this one copied from forum as copying from a
 panic'd screen is a pain in the a...

Expected Results:  
booted into init and worked!

My Config (see forum noted above for others):
Athlon64 3200+
MSI K8T Neo FISR2 MOBO
120GB EIDE HDD
40 GB EIDE HDD (no raid)
Liteon 48,24,48,16 CDR/RW/read/DVD
Powercolour Radeon9600pro
2 x 512MB CAS3 PC3200 SDRAM
SB Audigy
Netgear MA311 802.11b PCI card
Nobelesse 6in1 usb card reader
MS Wireless Office USB keyboard/mouse combo
Portage 2.0.49-r15 (default-amd64-1.4, gcc-3.3.1, glibc-2.3.2-r2,
2.6.0-test10-gentoo-r1)
=================================================================
System uname: 2.6.0-test10-gentoo-r1 x86_64 4
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -funroll-loops -fprefetch-loop-arrays -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -funroll-loops -fprefetch-loop-arrays -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
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://rsync.gentoo.org/gentoo-portage"
USE="amd64 oss 3dnow apm avi crypt -cups encode foomaticdb gif gpm -java jpeg
libg++ libwww mikmod mmx mpeg ncurses nls pdflib png -qt quicktime spell sse
truetype xml2 xmms xv zlib gdbm berkdb slang readline arts sdl tcpd pam ssl perl
python esd imlib oggvorbis qt motif opengl mozilla gphoto2 X gtk gtk2 gnome kde
mbox cdr alsa samba usb xml ldap"

emerge --info
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2003-11-25 10:38:36 UTC
If you get this with development-sources, we can't do much as this upstream. Can you please report this to the kernel bugzilla at http://bugme.osdn.org or send this off to the LKML and the kernel developers?