LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Problems with new 2.6 kernel (https://www.linuxquestions.org/questions/slackware-14/problems-with-new-2-6-kernel-127632/)

kierse 12-20-2003 03:31 PM

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

miaviator278 12-20-2003 05:01 PM

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?

kierse 12-21-2003 01:44 AM

ok, typing

Code:

dmesg | grep -A5 -B5 acpi
returns:

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

miaviator278 12-21-2003 02:58 AM

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?

kierse 12-21-2003 11:17 AM

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 :)

mindfrost82 12-21-2003 01:21 PM

I'm having the same problem with the blank screen. What option did you change to get that to work?

miaviator278 12-21-2003 04:12 PM

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..

kierse 12-21-2003 09:08 PM

miaviator278: I'm not sure what lspc is, I assume you want me to go
Code:

dmesg | grep -A5 -B5 lspc
but I could be wrong as this doesn't return anything.

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

miaviator278 12-22-2003 07:47 PM

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..

kierse 12-23-2003 12:14 AM

The output of my lsmod is
Code:

Module                  Size  Used by    Not tainted
soundcore              3332  0  (autoclean)
autofs                10388  1  (autoclean)
uhci                  24496  0  (unused)
usbcore                58400  1  [uhci]
i810_rng                2656  0  (unused)
ohci1394              24200  0  (unused)
ieee1394              42436  0  [ohci1394]
8139too                15240  0
mii                    2304  0  [8139too]
crc32                  2880  0  [8139too]
ds                      6568  1
yenta_socket          10368  1
pcmcia_core            40032  0  [ds yenta_socket]
ide-scsi                9392  0
agpgart                39480  0  (unused)

I checked and acpid is a running process. I tried reinstalling the new kernel source and recompiling a new kernel from scratch but that didn't work as it did before. acpi still does not work and the event files are still missing

miaviator278 12-23-2003 02:30 PM

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

kierse 12-23-2003 02:59 PM

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.