Re: [newbie] New Kernel installation.

2005-04-06 Thread Tom
Gonzalo Mdk wrote:
Hi all, i'm new to this list (I usually use the expert) because i
think this Q doesn't qualify for the expert list.
   Actually it does, but you'll probly get better answers here, an 
less nags to add to the(ir) community twiki ;)

I have a laptop (doesn't have a brand, is assembled in a place here in
Chile) that has ACPI support,
It might be non-standard compliant Windo$e ACPI. Even if runnin
 tom # dmidecode | grep -i acpi
Version: ASUS A7V600 ACPI BIOS Revision 1005
ACPI is supported
   says it is. That's a direct reading from the system bios' 
firmware. Unfortunately most hardware is designed for Win$ux ;(

 but when i recompile the kernel with
acpi support (i have 2.6.3-7mdk-i686-up-4GB) it doesnt work. (gives me
the following line:
No ACPI support in kernel, or incorrect acpi_path ("/proc/acpi").
tom # ll /proc/acpi
total 0
dr-xr-xr-x  2 root root 0 Apr  6 14:46 ac_adapter/
-rw-r--r--  1 root root 0 Apr  6 14:46 alarm
dr-xr-xr-x  2 root root 0 Apr  6 14:46 battery/
dr-xr-xr-x  3 root root 0 Apr  6 14:46 button/
-r  1 root root 0 Apr  6 14:46 dsdt
dr-xr-xr-x  2 root root 0 Apr  6 14:46 embedded_controller/
-r  1 root root 0 Apr  6 14:46 event
-r  1 root root 0 Apr  6 14:46 fadt
dr-xr-xr-x  2 root root 0 Apr  6 14:46 fan/
-r--r--r--  1 root root 0 Apr  6 14:46 info
dr-xr-xr-x  2 root root 0 Apr  6 14:46 power_resource/
dr-xr-xr-x  3 root root 0 Apr  6 14:46 processor/
-rw-r--r--  1 root root 0 Apr  6 14:46 sleep
dr-xr-xr-x  2 root root 0 Apr  6 14:46 thermal_zone/
dr-xr-xr-x  2 root root 0 Apr  6 14:46 video/
-rw-r--r--  1 root root 0 Apr  6 14:46 wakeup
dr-xr-xr-x  2 root root 0 Apr  6 14:46 wmi/
So i want to know where can i download a kernel that is for mandrake,
like, is there a place for downloading the kernel 2.6.11mdk (or
something like that), the newest version, so i can use the WIFI also.
Hope you can give me some directions 
Salu2
Gonzalo Avaria
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_VIDEO=m
CONFIG_ACPI_FAN=m
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_THERMAL=m
CONFIG_ACPI_ASUS=m
CONFIG_ACPI_IBM=m
CONFIG_ACPI_TOSHIBA=m
# CONFIG_ACPI_CUSTOM_DSDT is not set
CONFIG_ACPI_CUSTOM_DSDT_INITRD=y
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_PM_TIMER=y
CONFIG_ACPI_CONTAINER=m
CONFIG_ACPI_TC1100=m
   That's from a 'stock' /boot/config-2.6.11-6mdkK74g.  Well, OK 
it's not quite stock, I hand edited the .config (don't try that 
unless you know what you're doin. Use 'make xconfig') to enable K7 
opts, and enable preempt, an more than 880MB ram support.  None of 
the above ACPI options were changed.  The =y are built in, the =m 
are modules (mostly for laptops). As long as I can remember, ACPI 
support is built into the kernel, even 2.2.x. Note  CONFIG_ACPI=y 
There is no need to install anything or recompile Mandrake kernels 
to support ACPI (if the hardware truly does).

Yes 2.6.11 does have better wifi support, but I only judge that 
from documentation and other's reports, not experience (I don't use 
wifi).  You might try a cooker kernel and re-compile it on older 
systems.  Get,

ftp://ftp.proxad.net/pub/Distributions_Linux/Mandrake/devel/cooker/i586/media/main/kernel-source-2.6-2.6.11-6mdk.i586.rpm
  an don't forget to begin with 'make mrproper'. If you don't need 
to change the .config, then

Edit Makefile, an  change EXTRAVERSION = , an uncomment 
(enable) this line  export	INSTALL_PATH=/boot
Im my above example, for instance  I changed EXTRAVERSION to
   EXTRAVERSION = -6mdkK74g
to denote, K7, preempt, and > 1 gig ram support differences from the 
'stock'  .config

 make oldconfig
 make
 make modules_install
 make install
 Also make sure you don't have ACPI disabled.  IOW's, there 
should be _no_ acpi statement in your boot parameters. Either lilo's 
append= line or in grub.  Every acpi statement except =force will 
disable ACPI, either partially or completely.  =on DNGN (does 
nothin, goes nowhere), ACPI is built into any Mandrake kernels as 
the default.  If you do have a statement like   acpi=ht   remove it 
an don't forget to run 'lilo'   You need not to make any changes to 
APM, as ACPI will overide it.  You should also see extended IRQ 
support (above 15) with ACPI enabled.   Give this a read,
 /usr/src/linux-2.6.11-6mdk/Documentation/kernel-parameters.txt
--
   Tom Brinkman  Corpus Christi, Texas 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com


Re: [newbie] New Kernel installation.

2005-04-06 Thread Stephen Kühn
On Thu, 2005-04-07 at 01:10, Gonzalo Mdk wrote:
> Hi all, i'm new to this list (I usually use the expert) because i
> think this Q doesn't qualify for the expert list.
> I have a laptop (doesn't have a brand, is assembled in a place here in
> Chile) that has ACPI support, but when i recompile the kernel with
> acpi support (i have 2.6.3-7mdk-i686-up-4GB) it doesnt work. (gives me
> the following line:
> 
> No ACPI support in kernel, or incorrect acpi_path ("/proc/acpi").
> 
> So i want to know where can i download a kernel that is for mandrake,
> like, is there a place for downloading the kernel 2.6.11mdk (or
> something like that), the newest version, so i can use the WIFI also.
> Hope you can give me some directions 
> Salu2
> Gonzalo Avaria

ftp://ftp.pbone.net/mirror/carroll.cac.psu.edu/pub/linux/distributions/mandrakelinux/official/10.0/i586/Mandrake/RPMS/kernel-source-2.6.3-7mdk.i586.rpm

If you download/install the sources, you should be able to recompile the
kernel without much hassle.
HTH.

--
stephen kuhn
mobile: 0410-728-389
illawarra and regional new south wales
---
GNU/Linux/OpenSource Solutions and Alternatives
100% Microsoft Free :: Crashing is NOT an option.
Registered Linux User # 267497
---
Let us, then, fellow citizens, unite with one heart and one mind. Let us
restore to social intercourse that harmony and affection without which
liberty and even life itself are but dreary things. And let us reflect
that having banished from our land that religious intolerance under
which mankind so long bled, we have yet gained little if we counternance
a political intolerance as despotic, as wicked, and capable of a bitter
and bloody persecutions. - Thomas Jefferson



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com