Problems with new 2.6 kernel
I recently installed the new linux kernel 2.6 starting with a new fresh .config file. Everything seemed to go ok and didn't get any compile time errors. The only problem I got was a black screen on reboot. Thats ok, I went back in and changed one option in the graphic subcat and recompiled. Everything went ok this time, no black screen. The problem I am having is that now ACPI doesn't work! I didn't touch a thing in the kernel config menus except that one option dealing with graphic support (can't remember the option name, something to do with allowing for higher than typical screen resolutions). When I was getting the black screen I was able to log on and start the x window manager. ACPI was up and functional. After the recompile, it doesn't work. I don't know what the heck I did. Did I perhaps follow the wrong recompile steps?
Kierse |
hmmm....
so you recompiled, had framebuffer, or vga console issues but opened an xwindow and verified that acpi was running? and now you recompiled again, (the exact same way?) and it doesn't work? send output dmesg|grep -A5B5 acpi that should find all lines from your boot messages containing information about acpi.. what hardware setup do you have? |
ok, typing
Code:
dmesg | grep -A5 -B5 acpi ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10 ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11 ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11 ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11 PCI: Using ACPI for IRQ routing PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off' Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd allocated 32 pages and 32 bhs reserved for the highmem bounces ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10 ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11 ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11 ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11 PCI: Using ACPI for IRQ routing PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off' Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd allocated 32 pages and 32 bhs reserved for the highmem bounces I'm running an Xplio centrino laptop (its a custom built laptop from Staples/Business Depot), 1Gb ram, 30 Gb hd, CD-RW/DVD combo drive |
When I was getting the black screen I was able to log on and start the x window manager. ACPI was up and functional. After the recompile, it doesn't work
how did you check to see if it's working? |
kde showed power management as installed and functional and allowed me to configure it. After the recompile, it said acpi wasn't installed. I guess that doesn't mean anything, kde could be out to lunch :)
|
I'm having the same problem with the blank screen. What option did you change to get that to work?
|
check
lspc and see if it returns acpi information it is possible (i think) that the old kernel was using apm. use pkgtool to view installed packages and make sure that you have the acpi package installed. check the man pages if available on acpi and acpid, i don't know if there are any, but it doesnt hurt to try.. |
miaviator278: I'm not sure what lspc is, I assume you want me to go
Code:
dmesg | grep -A5 -B5 lspc I checked and both acpi and apm are installed modules. I removed apm and modified both rc.M and rc.6 to reflect its removal (both scripts were calling apm). I read the man page for acpid and it explains how acpid parses all files in the /etc/acpi/events directory. The problem is that there are no files in that directory. Acpid is running but there are no files for it use to process events (ie power button, lid close, etc). Do I have to create those? I looked at the acpid event log and it registered specific events occurring right up to the moment where I rebooted using the newly compiled kernel. After that point no events are shown to have occured. mindfrost82: I solved the black screen problem I was having by changing the .config menu option located at: Device Drivers/Graphic Support/console display driver support/VGA text console/video mode selection support to N |
ah, that explains the black screen... thx
sorry for the mistype. what i meant was lspci (command to list information on all pci devices) not sure if acpi shows up there or not, don't worry about it now though, it's obviously recocnized. still might want to check out man lspci as it is a usefull command to know. your acpid install should** have installed those files. well were getting somewhwere, check your kernel config, and make sure that the options under acpi were selected (ie power button lid etc.) send the output of lsmod (man lsmod for info) see if acpi is listed did you make modules, make modules_install, and depmod after building the new kernel ? also try modprobe apci (man modprobe) as you can tell i love manpages, when i started with linux, i knew nothing about it, i managed to install several versions, and sat there typing commands untill something worked. once i foud the man command all was well.. |
The output of my lsmod is
Code:
Module Size Used by Not tainted |
did you make modules, make modules_install, and depmod after building the new kernel ?
and what is the output of modprobe apci i didn't think it could be compiled as a module? hmm |
when I compiled the kernel for the first time I called:
make make modules_install make install when I tried recompiling the kernel I called: make dep make clean make bzImage make make install make modules make modules_install I basically followed the steps outlined in the kernel compiling guide outlined here |
All times are GMT -5. The time now is 06:00 AM. |