Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Kernel freezes during the boot process

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
momesana
Apprentice
Apprentice
User avatar
Posts: 212
Joined: Mon Sep 20, 2004 3:06 pm
Location: Germany (Bremen)

Kernel freezes during the boot process

  • Quote

Post by momesana » Fri Aug 11, 2006 7:33 pm

Hi,
I have just got a new pc and put gentoo on it. After updating the system I tried to compile a kernel myself. After configuring and compiling the kernel, I get the following error during boot up
(The system freezes with the following message being written to the screen):
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0

No error message, simply nothing !!! I have to shutdown the pc by holding the powerbutton pressed for 5 seconds (due to the lack of a reset button). My first thought was, using acpi=off as kernel parameter. This again resulted in freezing the kernel ... This time the following was written to the console:
PCI: Probing PCI hardware
Again, no error messagen, no kernel panic.
I tried using genkernel in hope, it would provide a usable kernel but again, I have the same problems... The kernel copied from the livecd works flawless though ...
I will try to copy over the livecd configuration and experiment with it but meanwhile, ... does anyone here have a suggestion? :(

Thanx in advance
momesana

A little bit of background-information:
kernel version: 2.6.17-gentoo-r4

emerge --info:

Code: Select all

Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="de fa"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi aim alsa apache2 apm arts audiofile avi berkdb bidi bitmap-fonts bluetooth bzip2 cdparanoia cdr cli crypt cups dbus dga dio directfb dlloader doc dri dts dvdr dvdread eds emboss encode esd fam ffmpeg firefox flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal ieee1394 imagemagick imlib ipv6 isdnlog jabber java javascript jpeg kde kdeenablefinal kdexdeltas libg++ libwww lm_sensors mad mikmod mmx motif mp3 mpeg mysql ncurses nls nptl nsplugin ogg oggvorbis opengl oss pam pcre pdf pdflib perl php png pppd python qt qt3 qt4 quicktime readline reflection scanner sdl session speex spell spl sse sse2 ssl svg tcpd theora tidy tiff truetype truetype-fonts type1-fonts udev unicode v4l vcd vhosts vorbis win32codecs xine xml xmms xorg xpm xsl xv xvid yahoo zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux linguas_de linguas_fa userland_GNU video_cards_v4l video_cards_vesa video_cards_vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
genkernel options:

Code: Select all

genkernel --gensplash --no-bootsplash --no-devfs all
in the world I see, you're stalking elk throught the grand canyon forests, around the ruins of the rockefeller center. You'll wear leather clothes, that will last you the rest of your life... (Tylers Vision)
Top
oKtosiTe
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 122
Joined: Mon Aug 15, 2005 6:30 pm
Location: Halmstad, Sweden

  • Quote

Post by oKtosiTe » Sat Aug 12, 2006 3:24 am

So did you use a genkernel, or really configure it yourself? Can you post the section of the kernel configuration related to ACPI? Mine looks like this:

Code: Select all

# Power management options (ACPI, APM)
#
CONFIG_PM=y
# CONFIG_PM_LEGACY is not set
# CONFIG_PM_DEBUG is not set

#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
# CONFIG_ACPI_AC is not set
# CONFIG_ACPI_BATTERY is not set
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_VIDEO=m
# CONFIG_ACPI_HOTKEY is not set
CONFIG_ACPI_FAN=m
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_THERMAL=m
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_IBM is not set
# CONFIG_ACPI_TOSHIBA is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_PM_TIMER=y
# CONFIG_ACPI_CONTAINER is not set

#
# APM (Advanced Power Management) BIOS Support
#
# CONFIG_APM is not set
...or perhaps ACPI is not the problem...
Ask Ubuntu | Super User
Top
momesana
Apprentice
Apprentice
User avatar
Posts: 212
Joined: Mon Sep 20, 2004 3:06 pm
Location: Germany (Bremen)

  • Quote

Post by momesana » Sat Aug 12, 2006 12:38 pm

oKtosiTe wrote:So did you use a genkernel, or really configure it yourself? Can you post the section of the kernel configuration related to ACPI? [/code]...or perhaps ACPI is not the problem...
I tried both. Genkernel and manual configuration as well. I've always compiled my kernels manually though I've used genkernels for other systems where I installed gentoo for some newbies. I am quite familiar with both procedures and this time both failed.

I then tried some slightly older kernels using the manual method. I tried this with the 2.6.15-r1 and the 2.6.16-r13er kernel and they work pretty fine. Right now I am using the 2.6.16-r13er kernel. I then deleted the 2.6.17er directory where the kernel sources resided and emerged it again. copied the .config file from the 2.6.16 kernel over to the new kernel and issued make oldconfig && make && make modules_install && cp arch/i368/boot/bzImage /boot/...
Tried to boot and the same error occured. I will try to use the vanilla kernel in a few hours ... maybe its a gentoo patch that causes the problems ..

Code: Select all

#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
CONFIG_PM_LEGACY=y
# CONFIG_PM_DEBUG is not set

#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=y
# CONFIG_ACPI_HOTKEY is not set
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_IBM is not set
# CONFIG_ACPI_TOSHIBA is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_PM_TIMER=y
# CONFIG_ACPI_CONTAINER is not set

#
# APM (Advanced Power Management) BIOS Support
#
# CONFIG_APM is not set

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set
thanx in advance
momesana
in the world I see, you're stalking elk throught the grand canyon forests, around the ruins of the rockefeller center. You'll wear leather clothes, that will last you the rest of your life... (Tylers Vision)
Top
Monkeh
Veteran
Veteran
User avatar
Posts: 1656
Joined: Sat Aug 06, 2005 11:58 am
Location: England

  • Quote

Post by Monkeh » Sat Aug 12, 2006 12:54 pm

2.6.17 has buggy ACPI, to be kind to it. Unless you need it, stick with .16.
Top
momesana
Apprentice
Apprentice
User avatar
Posts: 212
Joined: Mon Sep 20, 2004 3:06 pm
Location: Germany (Bremen)

  • Quote

Post by momesana » Sat Aug 12, 2006 1:16 pm

Monkeh wrote:2.6.17 has buggy ACPI, to be kind to it. Unless you need it, stick with .16.
But as I stated above, disabling ACPI still leads to a frozen kernel with following line written to console ... :(

Code: Select all

usbcore: registered new driver usbfs
usbcore:registered new driver hub
pci:probing pci hardware
I even tried acpi=off in combination with pci=off. The kernel would stop with hda ... lost statements but at least I could restart it with ctrl+alt+del ...
in the world I see, you're stalking elk throught the grand canyon forests, around the ruins of the rockefeller center. You'll wear leather clothes, that will last you the rest of your life... (Tylers Vision)
Top
momesana
Apprentice
Apprentice
User avatar
Posts: 212
Joined: Mon Sep 20, 2004 3:06 pm
Location: Germany (Bremen)

  • Quote

Post by momesana » Sat Aug 12, 2006 3:40 pm

Ok, I just tried out the 2.6.17.8er vanilla kernel I fetched from www.kernel.org.
I am using it right now :-D as proven by following statement:

Code: Select all

gentooBox momesana # uname -a
Linux gentooBox 2.6.17.8 #1 SMP PREEMPT Sat Aug 12 16:57:05 CEST 2006 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GNU/Linux
... , i.e. it must be a gentoo issue. maybe one of the numerous patches causes this ... anyway, I'll stick to the 2.6.16er kernel until the problems get solved ... I might try out a new kernel in 3 months or so.

Thanx
in the world I see, you're stalking elk throught the grand canyon forests, around the ruins of the rockefeller center. You'll wear leather clothes, that will last you the rest of your life... (Tylers Vision)
Top
Post Reply

6 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic