LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-20-2003, 03:31 PM   #1
kierse
Member
 
Registered: Apr 2003
Distribution: Slackware!
Posts: 73

Rep: Reputation: 15
Question 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
 
Old 12-20-2003, 05:01 PM   #2
miaviator278
Member
 
Registered: Dec 2003
Location: Al-Diwania, Iraq (deployed)
Distribution: Slackware ONLY
Posts: 237

Rep: Reputation: 30
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?
 
Old 12-21-2003, 01:44 AM   #3
kierse
Member
 
Registered: Apr 2003
Distribution: Slackware!
Posts: 73

Original Poster
Rep: Reputation: 15
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
 
Old 12-21-2003, 02:58 AM   #4
miaviator278
Member
 
Registered: Dec 2003
Location: Al-Diwania, Iraq (deployed)
Distribution: Slackware ONLY
Posts: 237

Rep: Reputation: 30
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?
 
Old 12-21-2003, 11:17 AM   #5
kierse
Member
 
Registered: Apr 2003
Distribution: Slackware!
Posts: 73

Original Poster
Rep: Reputation: 15
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

Last edited by kierse; 12-21-2003 at 11:19 AM.
 
Old 12-21-2003, 01:21 PM   #6
mindfrost82
Member
 
Registered: Apr 2003
Distribution: Slackware
Posts: 60

Rep: Reputation: 15
I'm having the same problem with the blank screen. What option did you change to get that to work?
 
Old 12-21-2003, 04:12 PM   #7
miaviator278
Member
 
Registered: Dec 2003
Location: Al-Diwania, Iraq (deployed)
Distribution: Slackware ONLY
Posts: 237

Rep: Reputation: 30
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..
 
Old 12-21-2003, 09:08 PM   #8
kierse
Member
 
Registered: Apr 2003
Distribution: Slackware!
Posts: 73

Original Poster
Rep: Reputation: 15
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
 
Old 12-22-2003, 07:47 PM   #9
miaviator278
Member
 
Registered: Dec 2003
Location: Al-Diwania, Iraq (deployed)
Distribution: Slackware ONLY
Posts: 237

Rep: Reputation: 30
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..
 
Old 12-23-2003, 12:14 AM   #10
kierse
Member
 
Registered: Apr 2003
Distribution: Slackware!
Posts: 73

Original Poster
Rep: Reputation: 15
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
 
Old 12-23-2003, 02:30 PM   #11
miaviator278
Member
 
Registered: Dec 2003
Location: Al-Diwania, Iraq (deployed)
Distribution: Slackware ONLY
Posts: 237

Rep: Reputation: 30
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
 
Old 12-23-2003, 02:59 PM   #12
kierse
Member
 
Registered: Apr 2003
Distribution: Slackware!
Posts: 73

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel compilation problems, distorted video and kernel panic shamrock_uk Linux - Laptop and Netbook 5 08-12-2005 10:53 PM
problems occured after upgrading kernel and kernel-utils parv Fedora 0 05-02-2005 06:21 PM
kernel 2.4 -> kernel 2.6 problems with Maxtor SATA Bultot Linux - Hardware 2 01-19-2005 01:58 AM
Problems building a simple kernel module for kernel 2.6.7 atticman Linux - Software 2 12-13-2004 03:35 PM
Kernel Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 06:02 AM


All times are GMT -5. The time now is 03:19 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration