Slackware :: Custom Built 2.6.37 Kernel And ACPI
Feb 12, 2011
I have a custom built 2.6.37 kernel where I have most of my devices compiled into the kernel. The only modules are related to nouveau (in case I want to go back to proprietary nvidia) and sound drivers. Everything seems to be running fine. However, in /proc/acpi, I'm missing a number of entries, such as thermal_zone/, dsdt, etc. I do have ac_adapter/, battery/, button/, event, processor/ and wakeup. I've gone through what I think is a very detailed review of my kernel config, and I can't find where I've missed something ACPI related. Here is my kernel config with the ACPI section.
Code:
# Power management and ACPI options
CONFIG_ARCH_HIBERNATION_HEADER=y
CONFIG_PM=y
# CONFIG_PM_DEBUG is not set
CONFIG_PM_SLEEP_SMP=y
CONFIG_PM_SLEEP=y
CONFIG_SUSPEND_NVS=y
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
CONFIG_HIBERNATION=y .....
View 12 Replies
ADVERTISEMENT
Jun 5, 2010
this isn't so much slackware specific as it is general linux related, but using the default huge slackware kernel included with 13.1, acpi reports cpu temps of about 55 celsius i always like to run my own kernels though, and using the latest stable kernel, i have compiled one using what i believe is necessary for my hardware, and everything works as expected except that acpi reports my cpu temp as 80 celsius at idle, causing my fan to be running constantly
so without simply using the generic config included with slack in the newer kernel, what do you think might be causing the thermal issues? i used diff on the two configs and the output is over 5,000 lines, so thats not a huge help, and im really not even sure what to be looking for the cpu is an intel i7 720qm, so if anyone might know any specific settings for that processor type needed for acpi to interface with it properly that would be much obliged here is my config for potential review: [URL] also, if i disable acpi entirely, the fan operates as normal but i cannot get readings obviously
View 1 Replies
View Related
Oct 18, 2010
I built my slackware system from source code. Bootstrapped, toolchained etc.. The only thing I didn't change was the chost thinking that life would be easier if left alone @ i486. Would I have gained anything if I had used i786 or even pentium4 (pentium4-slackware-linux-gnu)?
I already got all the benefits of optimization when I used (still using) my own CFLAGS CXXFLAGS right? So changing the chost won't do anything speed wise will it? If I used march=prescott when compiling everything am I ok to just forget about the chost value? It's not gonna change anything will it?
View 7 Replies
View Related
Jul 8, 2011
I use Slackware 13.37 32-bit version on ThinkPad X60s. I compiled two Window Maker dockable applications monitoring the processor temperature, fan speed, and battery status: wmpower (see: [URL]) and wmlenovo (see: [URL]). Both these applications refuse to work.
wmpower displays the messages:
Code:
CPU frequency scaling available
No power management subsystem detected
No power management support...
wmlenovo displays the message:
Code:
No ACPI support in kernel
Did I missed something obvious during the configuration of the system and ACPI doesn't work for me or there's some more serious problem with my system?
View 4 Replies
View Related
Jan 23, 2010
I read over the X11 acceleration in this forum but I'm not having issues with acceleration - running slackware 13 with built in ATI AGP stuff in kernel. Glxgears is putting out what I would expect for a 9600 pro (2500 FPS in the little window). I haven't needed you guys for a very long time but I just formatted Ubuntu (was getting on my nerves) and installed slack 12 on my hp netbook and 13 on my old desktop without a hitch - except this
I NEED BIG DESKTOP! I've searched, I've read, I've wondered! What's the normal setup in xorg.conf for bigdesktop WITHOUT the ATI driver (I ran the driver after building a custom kernel and the installer crashed with "Error: ./default_policy.sh does not support version" - I think I should of renamed my kernel path and setup differently or something)? Is BigDesktop ONLY supported with the driver? I know now that the driver wont work for my system - How do I enable bigdesktop with the open source driver I built in?
View 1 Replies
View Related
Jul 30, 2010
after upgrading to make 3.82, I can not compile the newest kernel: 2.6.35-rc6-git5,it failed with:
GEN /home/aaa/tools/kernel/output/35/Makefile
CHK include/linux/version.h
CHK include/generated/utsrelease.h
[code].....
Maybe 3.82 has some backward-incompatibility that breaks kernel compilation.
[URL]
View 5 Replies
View Related
Nov 7, 2010
I have random X freezes (suddenly keyboard and mouse stop to react). Xorg.O.log is error and warnings free. The only problems I see in syslog/ dmesg are related to ACPI.
I have Asus P5E3 Deluxe motherboard. Slackware 13.1
Linux vareg 2.6.33.4-smp #2 SMP Wed May 12 22:47:36 CDT 2010 i686 Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz GenuineIntel GNU/Linux
Code:
Code:
I ahve also today upgraded my BIOS to 1303 version. Still no difference.
View 14 Replies
View Related
Jun 26, 2011
I compiled my own custom kernel for the first time. I tinkered with different options, nothing to difficult. I actually didn't expect it to work the first time.
I had kept the original lilo boot config just in case something was to go wrong. Now when I try to boot the system, I always get a "VFS: cannot mount root system on (8,3)". I googled this and found that my kernel did not support my root filesystem (btrfs). So I made an initrd with btrfs kernel module, but it didn't help. I then got a string of errors about how /dev could not be mounted.
My question is two-fold. First, how come when I configure the system back to when it was first installed, it still won't boot? Im using the same kernel (2.6.37.6-smp). Second, how can I get myself out of this rut without reinstalling?
lilo.conf
Code:
lba32
append=" vt.default_utf8=0"
boot=/dev/sda
vga = normal
# Linux - Slackware
image = /boot/vmlinuz-huge-smp-2.6.37.6-smp
root = /dev/sda3
label = Linux
read-only
BTW, I have been maintenancing the system by chrooting into the device off of my slackware boot disk. Im on slack 13.37
View 3 Replies
View Related
Mar 2, 2010
After the bunch of updates with current, my custom kernel (2.6.33) can't boot.
The error is:
/sbin/e2fsck: No such file or directory while trying to open /dev/sda6
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate
superblock:
e2fsck -b 8193 <device>
The /dev/sda6 is ext4 and is ok since it can boot with official huge smp kernel 2.6.33.
My custom kernel can boot before this bunch of updates in current.
What i missing in kernel?
View 18 Replies
View Related
May 16, 2010
I just rebuild the kernel for slackware 13, everything works, but root file system which is ext3 is mounted as ext2. Normally I've build ext3, ext4 and so on as modules, not in the kernel... but if I do this, then the kernel mounts the file system as ext2, which is build in the kernel. I also modified rc.modules so I can make sure that ext3,ext4,jbd are loaded, but it doesnt work.
View 2 Replies
View Related
Mar 10, 2011
I'm building an RPM that requires adding a cron job into a user's(service account) crontab...from what I see in the manpages, this isn't possible, as the only viable option is to replace the crontab entries already there for previous scripts being run. Either way, as an example I've found I can make it work by directly modifying the crontab file using:
Code:
echo "* * * * * /bin/ls -la ~/ >> ~/ls.log" >> /var/spool/cron/userName
I'd just like to know, is there any MAJOR issues with modifying a the crontabs like this? This is running on a Redhat Enterprise Linux server by the way.
View 1 Replies
View Related
Jun 15, 2011
I've just built gcc 4.6.0 by myself since there is no update in Mandriva yet and I really needed the updated version, but I must be missing something in its configuration. I added ~/apps/gcc460/bin in front of my PATH, and the lib dir to my LD_LIBRARY_PATH in my .bash_profile, like so:
Code:
PATH=$HOME/apps/gcc460/bin:$PATH:$HOME/apps/bin
LD_LIBRARY_PATH=/home/duckz/apps/intel/composerxe-2011.4.191/lib/intel64/:/home/duckz/apps/gcc460/lib/
LD_RUN_PATH=/home/duckz/apps/intel/composerxe-2011.4.191/lib/intel64/:/home/duckz/apps/gcc460/lib/
export PATH
export LD_LIBRARY_PATH
export LD_RUN_PATH
I still have gcc 4.4.2 installed, but it's now hidden, so gcc --version correctly yields 4.6.0. I finally tried to build my project, all went fine, but at the moment of running it I get:
Code:
./EugGame.Release.Linux: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./EugGame.Release.Linux)
I assume the correct version is the one located in ~/apps/gcc460/lib, but how do I make my project load the correct lib? Is it possible at all to have two versions of gcc on the same machine? I just found that I should've added lib64 to my LD_LIBRARY_PATH instead of lib. Anyways, even if the problem is solved, I'd like to hear if my configuration is well made or if I should leave LD_LIBRARY_PATH unset and use some other way to override the default search path for stdlib.
View 1 Replies
View Related
Dec 12, 2009
I've been working on creating a Live CD with the tools I want, just for my use with system recovery and repair. For the most part, things have gone very well. The Live CD actually works fine, somewhat. I have run in to a problem where it doesn't actually boot on a lot of hardware.
What happens is during boot, while the modules are loading, the boot process hangs and the disc drive spins down. While I thought it might be a kernel problem, I'm using the .config from the latest gentoo Live CD, which boots fine on the same hardware.
View 2 Replies
View Related
Dec 21, 2010
I'm trying to get WOL (Wake On Lan -suspend and hibernate don't work either) working in Ubuntu 10.10 amd64 on the above computer for a family member but seem to not be getting anywhere! WOL is enabled correctly I verified that after shutting down in windows XP that the computer came on with WOL. I have tried the following:
Enable wol
Code:
ethtool -s eth0 wol g
The computer shuts-down but won't wake up by WOL packet. Make sure the Ethernet (MAC0) can wake up PC
Code:
echo "MAC0" > /proc/acpi/wakeup
The computer shuts-down but won't wake up by WOL packet
Kernel parameters:
Code:
acpi=off
Code:
apm=power_off acpi=off
Code:
acpi=nopci
With all of the above, the computer doesn't not power down after shut down. The power button light is still on and has to be pressed to turn it off. Here is the strange thing: WOL works after manually tuning it off! I tried inserting apm module but it is not available.
View 3 Replies
View Related
Jan 14, 2010
Having trouble rebooting a system. Have a Ubuntu 9.10 (2.6.31-16 generic-pae) build on a VMWare installation. The system was fine until I rebooted after an update. Now I get the above message and the system halts loading. Have tried to Grub acpi=off and acpi=force to no avail.
View 1 Replies
View Related
May 29, 2011
When I run OpenSUSE from the Live CD using normal settings, booting stops with a blank screen a moment after the kernel is loaded. When running it with ACPI disabled, it works, but direct rendering is disabled, even though it detects my video card (Mobility Radeon HD 5650) correctly Here's the Xorg.0.log file: my xorg log - [URL]
View 3 Replies
View Related
Jan 7, 2010
I just installed Fedora 12. When I boot, only the following three lines are printed: pnp 00:09: can't evaluate _CRS: 12298 ACPI: Expecting a [Reference] package element, found type 0 Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) I first installed Fedora using a RAID 1 setup that mirrored each partition, so I thought the problem was coming from GRUB and confusion from what to boot off of. However, I reinstalled Fedora using a simple single drive setup (left the second drive without any partition), and the same error was returned. Is this an ACPI issue with this particular motherboard/BIOS? Any ideas for how I can fix this?
View 1 Replies
View Related
Jun 5, 2011
Below is a piece of copy from my /etc/acpi_handler.sh
...
case "$1" in
button)
[code]....
View 14 Replies
View Related
Jan 24, 2010
I have a problem with my custom kernel when I want to create the Nvidia kernel module.After this finished I installed the image and headers and created the Nvidia kernel module. Everything worked fine.However, if I remove the linux-source from my home directory then I can't create the kernel module.Even though I have the headers for the kernel installed.
View 2 Replies
View Related
May 6, 2011
Slackware 13.37 is giving me ugly suspend/resume problems.When I suspend to RAM and my laptop wakes up again, I get a corrupt screen flashing like crazy.This happens when I suspend from the console and when in X11; be it by issuing 'echo mem >/sys/power/state' or 'pm-suspend'.Tried the 'save-pci' quirk for 'pm-suspend', no dice.Tried to POST the card with 'vbetool' after resume, no dice. Tried to save/restore vbestate before and after suspend/resume, no dice.What is one supposed to do to get this stuff to work in 2011?Funny thing that suspend-to-disk works as it should.Also, with 12.2 I would pick a VGA mode for the console in 'lilo.conf' and it would freaking stick. Not anymore. Now the 1st half of the boot is performed in my chosen mode (80x30), then it switches to maximum resolution with an idiotically unsightly small font.My laptop is an Acer Aspire 5101 with an ATI Radeon 200M card.Is anyone going thru the same hell or has anyone found a fix?
View 1 Replies
View Related
Oct 11, 2010
It's only been a couple of days since I formatted my toshiba laptop's hard drive (i was running fedora without significant problems) and installed slackware 13.1 32bit. I did a network install because the dvd drive is not functioning properly. everything installed fine with the hugesmp kernel, but I started not being able to boot the laptop every single time I wanted to (especially after a reboot but also after a power up).
my observations:
-the pc might freeze in the very first toshiba logo screen (where you are prompted to press F2 to enter BIOS)
-or it might freeze when I get the lilo boot loader (not even the count down to choose kernel starts) - but i CAN use the arrows and press 'enter' to choose to load a kernel manually
-or just after it loads the kernel and the bios checks
-or during boot after in loads ACPI thermal zone
-or a little later during boot when the dhcpcd if broadcasting for a dhcp lease.
the first 3 are freezes, the last 2 are resets. especially if i need to reboot (or get the resets of the 2 last case), I will surely get stack in one of the first 3 cases afterwards! i have observed that rarely, after such a reset, if it actually gets stack in the toshiba logo, i might be able - pressing the poiwer buttonj repeatedly to actually overcome the 'freezing' there at which time i'll get to the lilo loader (the count down timer will not.. count down), but i can press 'enter' and I will finally get stack after loading the kernel and bios checks
So I have to powerdown the laptop and start all over again. Sometimes the whole boot process will proceed smoothly. and i'll get to a login prompt, and when I do I can keep the laptop up and running for virtually ever. that is it doesn't seem to be slackware related... Hwever the problems started after I installed slackware. I didn't have any problem with the fedora installation and i wonder if it has something to do with the network boot.... additional note, with feodra i didn't have a problem restarting or shutting down the laptop. now if i restart, the pc will go through the process of shutting down, but it will never actually reboot - i'll have to do it manually..
View 10 Replies
View Related
Oct 31, 2009
I'm running CentOS 5.3 and would like to know what the "best" or "proper" method is to build a custom kernel using the generic kernel sources from kernel.org. Most of the references I've found talk about modifying the current CentOS kernel using the RPM way. I really want to have the latest kernel due to some important security issues that haven't been addressed in the current CentOS 5.3 kernel.
View 6 Replies
View Related
May 25, 2010
I got last night debian 5 stable, but it has an older version of kernel, I think 2.6.26, which doesn't have my network card drivers. I tried to install myself the kernel, but I a newbie in linux, so something failed and I give up until next time. Is this version: [URL] a safer one for a desktop computer, daily usage? How to I know it has the latest kernel?
View 3 Replies
View Related
Feb 6, 2010
Is there a DEB of the 2.6.32 Kernel with the BFS Scheduler built in? I'd like to give it a run, but I'm not so sure about compiling it on my own.
View 9 Replies
View Related
Aug 9, 2010
I am trying to update ALSA drivers which are built-in in the kernel.
I downloaded the latest ALSA drivers 1.0.23 and tried to compile but came with this error (that is the last part of it)
Code:
*** NO PREDEFINED KERNEL COMPILER IS DETECTED
*** Assuming the same compiler is used with the current system compiler.
[Code]....
Is there a way to remove the ALSA driver from the kernel so I can configure and compile the new ALSA driver ?
View 1 Replies
View Related
May 28, 2010
Iwhen I get my 32 bit build machine upgraded to 13.1 I was going to to try building GSB 2.30.
View 14 Replies
View Related
May 29, 2010
Since there aren't many available third party packages for slackware 13.1 yet, is it safe to install packages built for slackware 13.0? For example I need to install openoffice and skype and the latest packages i could find are built for 13.0.
View 11 Replies
View Related
Jun 26, 2010
Is there a way to programmatically determine whether a particular driver support is built-in rather than a loadable module? I'd be grateful if somebody would share how. I have written a shell script using the RTC (real time clock). I can check whether the rtc-cmos kernel module exists and load the module accordingly as needed, but I don't know how to determine when the driver is built-in. Of course, if the driver is built-in then the module does not exist.
I seem to recall there is a method to query the kernel config file (/proc/config.gz), through which I probably could grep for the CONFIG_RTC_DRV_CMOS parameter. I also can check whether /proc/driver/rtc exists. If that file exists then either the driver is built-in or the module was loaded.I realize the rtc-cmos driver is built-in with the standard Debian kernel build, but I still would like a way to query where the driver is supported.Is there a straightforward or direct method to query the kernel whether a particular driver is built-in?
View 3 Replies
View Related
Apr 26, 2011
Squeeze-beta was my first foray into Debian, and I love it. I changed my setup to a rolling setup with testing (Wheezy), and have done that for several months. Lately, I got a new kernel, but it reboots to a terminal rather than GUI (I'm a simple laptop user). I think it's because of the NVIDIA drivers, and here is what I've tried (meanwhile, I'm using the previous kernel):
# apt-get install module-assistant nvidia-kernel-common
# m-a auto-install nvidia-kernel${VERSION}-source
A blue screen appears that says:
module-assistant error message Bad luck, the kernel headers for the target kernel version could not be found and you did not specify other valid kernel headers to use.
You can try:
module-assistant prepare
or
apt-get install linux-headers-2.6.38-2-amd64
I have done both, rebooted, and I still get the blue screen. I also see this message:
nvidia-kernel-source was not built successfully, see:
/var/cache/modass/nvidia-kernel-source*buildlog*
...and I have copy/pasted the file below (which omits lines 101-200 because this message is too long then):
/usr/bin/make -f debian/rules clean
make[1]: Entering directory `/usr/src/modules/nvidia-kernel'
test -f debian/control || cp debian/control.template debian/control
[code]....
View 1 Replies
View Related
Jul 30, 2011
I've posted here before (viewtopic.php?f=5&t=66322) about problems arising from my attempts to get an nVidia driver to work with my custom kernel. Now those problems are all fixed, and I'm back to where I was: the built kernel boots fine, but the nVidia driver fails.
The custom kernel is as near to the stock one as I can make it, I'm just trying to find a working build process at present, before trying to build a later-version kernel.
I used sgfxi with "-! 40" to build the nVidia driver for my custom kernel; it reported that everything was fine.
With stock kernel - 2.6.32-5-amd64 ...
Extracts from /var/log/Xorg.0.log:
X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
code....
View 6 Replies
View Related