Re: [expert] compiling kernel with acpi and w/o apic
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sascha Noyes wrote on Tue, Dec 17, 2002 at 06:06:09PM -0500 : Do you make mrproper as the first step? Move .config out of the way if you want to use it or use /boot/config but mrproper should be the first step. Sorry but I have no idea what 'make mrproper' is. Do you mean use it before 'make xconfig'? He did a great job of explaining it, let me give you a little bit more to explain _why_ Mandrake requires this. From /usr/share/doc/kernel-2.4.20.2mdk-1/README.Mandrake: Mandrake Kernel Compile Special Instructions Due to the way that Mandrake generates multiple versions of the kernel (uniprocessor, smp, enterprise, boot, secure), recompiling the kernel from the kernel source installed in /usr/src/linux *MUST* be preceded by one step: make mrproper This is roughly equivalent to make distclean, but not quite. The best explanation of why this scenario exists appeared in the Cooker Mailing List by Andrej Borsenkow: PLEASE do not forget - you must not need to configure your kernel before you compile EXTERNAL module (as example, nVidia). PLEASE remember that Mandrake has 5 (five!) kernel flavours and you can compile external modules for any of them WITHOUT RECONFIGURATION IN BETWEEN. PLEASE look into this regenrated files in clean kernel-source and after you have reconfigured your kernel. To summarize, the kernel source tree is left in a state such that you compile custom kernel modules for any of the five versions of the kernel without having to do anything special. One of the side effects of this is that if you want to start a compile from scratch, you must remove various configuration files (as well as object files and binaries). To do this, you *MUST* do the make mrproper first. Regards, the MandrakeSoft Team - -- MandrakeSoft USA http://www.mandrakesoft.com Mandrake: An amalgam of good ideas from RedHat, Debian, and MandrakeSoft. All in all, IMHO, an unbeatable combination. --Levi Ramsey on Cooker ML Cooker Version mandrake-release-9.1-0.1mdk Kernel 2.4.20-2mdk -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+ASJLlp7v05cW2woRArzRAJ0Q8u7m50JPgMJJ06KH30f0ppJ5HwCeIPBE OPTvg6+5VPb3Yp+9QIRxCTs= =RQdM -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] compiling kernel with acpi and w/o apic
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ronald J. Hall wrote on Wed, Dec 18, 2002 at 01:38:40AM -0500 : Guys, I'm not using a laptop but I'm having serious problems with 9.0 on my desktop. It installs great, but will only bootup or shutdown correctly after numerous attempts. I passed noapci thru /etc/lilo.conf like this: snip but still, when I do successfully bootup, I get this in dmesg: Local APIC disabled by BIOS -- reenabling. Found and enabled local APIC! So whats up with that? Seems I can't disable apic - and yes, I did rerun /sbin/lilo as root, after making changes. He's disabling acpi (power management), you're quoting messages about apic (interrupt controller). Two totally different things. It's a shame the acronyms are so damn close to each other :-/ When/if the normal bootup fails, I can usually get a complete bootup by using the nonfb choice. What is there about that choice that lets it bootup (when apci is *not* disabled there!)? Something to do with video. Try going into nonfb, but pass vga=xxx where xxx is some number between 791 and 798 to get various graphical modes (ie more than 24 lines of text). Blue skies... Todd - -- | MandrakeSoft USA | Security is like an onion. It's made | | http://www.mandrakesoft.com | made up of several layers and makes | | http://www.mandrakelinux.com | you cry. --Howard Chu| Cooker Version mandrake-release-9.1-0.1mdk Kernel 2.4.20-2mdk -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+ASLvlp7v05cW2woRApi5AJ9E31gyfW+8ZhWkij7gavgbEovv6QCcC2Et LV0UQgBpw4TNJDgvHUZZG48= =W11V -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] compiling kernel with acpi and w/o apic
On Wednesday 18 December 2002 08:37 pm, you wrote: He's disabling acpi (power management), you're quoting messages about apic (interrupt controller). Two totally different things. It's a shame the acronyms are so damn close to each other :-/ Todd, thanks for the reply. Yes - since you read this post I was corrected on this point by a couple of others. Something to do with video. Try going into nonfb, but pass vga=xxx where xxx is some number between 791 and 798 to get various graphical modes (ie more than 24 lines of text). Blue skies... Todd I've now installed 9.0 about 20 times (I kidd you not). I used the stock kernel and the nonfb one, passing different things like: acpi=no mem=nopentium noapic I also used these settings for video: blank normal 640x480 800x600 on all of the different lilo entries I was using. Sometimes, an entry would work just fine. You could do nothing but reboot, go back to that very same entry and it wouldn't work then. I can't figure out why its so erratic and unpredictable. It also does not want to shutdown correctly. At one point, I had to reboot so much with incomplete shutdowns that I lost my / partition and had to reinstall (switched to a journaling fs then smile). I've got 3 comps here and have now installed 9.0 on 2 out of 3 with no problems whatsoever. They are both older then my main computer. I've got this gut feeling that if I stripped my main computer down to bare essentials it would install just fine. I've got a Linksys NIC, WinTV tuner card, Adaptec 2930 SCSI card, SB Live, Geforce (AGP) 2, floppy, Zip, IBM HD, Toshiba SCSI DVD, and a Plextor SCSI CDRW. Not the barest of setups, eh? :-) It always locks up at the line that says loading module dependencies (or something close to that). I would blame faulty memory, controllers or the hard drive but v8.2 (powerpack) runs on this system *flawlessly*. I don't have to pass anything to the kernel Thanks for any help! :-) -- /\ Dark Lord \/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] compiling kernel with acpi and w/o apic
At 06.23 18/12/2002, you wrote: the default 9.0 kernel comes with a very old version of ACPI -- you should either go from vanilla (which broke USB in my case) or download a cooker kernel with newer ACPI. I've had ok luck with 2.4.19-19, currently on 2.4.20-2 and not happy with it. Is there a way to have the complete list of patches applied? I didn't find the SPEC file with the list. Could someone post it or send it to me? Thanks. Olaf olaf@ kjws.com for every kind of mail, except spam! :-) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] compiling kernel with acpi and w/o apic
Jack, I was getting ready to try 2.4.20, either vanilla (with preempt patch, and a modified Mandrake .conf), or cooker 2.4.20-2. Could you advise me in on as to why you aren't happy with 2.4.20? I was under the impression it fixed some USB problems, of which I am having. Thanks, Robert Crawford On Wednesday 18 December 2002 12:23 am, Jack Coates wrote: the default 9.0 kernel comes with a very old version of ACPI -- you should either go from vanilla (which broke USB in my case) or download a cooker kernel with newer ACPI. I've had ok luck with 2.4.19-19, currently on 2.4.20-2 and not happy with it. On Tue, 2002-12-17 at 08:19, Sascha Noyes wrote: -BEGIN PGP SIGNED MESSAGE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] compiling kernel with acpi and w/o apic
the swsusp included is beta 16, which is broken per the swsusp and acpi-sppt lists -- not like beta 15 worked, but apparently beta 16 is even more broken :-) This could be related to swsusp, but hotplug has quit working, rendering my memory-stick slot broken (this is USB, so proceed with caution). Like the last few 2.4.19 kernels, it panics about half the time when logging out of X or choosing shutdown from gdm. I am so glad for journaling filesystems. Jack On Wed, 2002-12-18 at 06:28, flacycads wrote: Jack, I was getting ready to try 2.4.20, either vanilla (with preempt patch, and a modified Mandrake .conf), or cooker 2.4.20-2. Could you advise me in on as to why you aren't happy with 2.4.20? I was under the impression it fixed some USB problems, of which I am having. Thanks, Robert Crawford On Wednesday 18 December 2002 12:23 am, Jack Coates wrote: the default 9.0 kernel comes with a very old version of ACPI -- you should either go from vanilla (which broke USB in my case) or download a cooker kernel with newer ACPI. I've had ok luck with 2.4.19-19, currently on 2.4.20-2 and not happy with it. On Tue, 2002-12-17 at 08:19, Sascha Noyes wrote: -BEGIN PGP SIGNED MESSAGE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com -- Jack Coates Monkeynoodle: A Scientific Venture... Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] compiling kernel with acpi and w/o apic
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Es Dimecres 18 Desembre 2002 15:28, en flacycads va escriure: Jack, I was getting ready to try 2.4.20, either vanilla (with preempt patch, and a modified Mandrake .conf), or cooker 2.4.20-2. Could you advise me in on as to why you aren't happy with 2.4.20? I was under the impression it fixed some USB problems, of which I am having. My experience is similar to Jack's: 2.4.19-19mdk works better to me than 2.4.20-2mdk: - -In both usb sound aren't working after resume (swsusp.sh 0.4) - -2.4.19-19 suspends (and resumes) fine, 2.4.20-2 sometimes hang and shows some errors when resuming. On Wednesday 18 December 2002 12:23 am, Jack Coates wrote: the default 9.0 kernel comes with a very old version of ACPI -- you should either go from vanilla (which broke USB in my case) or download a cooker kernel with newer ACPI. I've had ok luck with 2.4.19-19, currently on 2.4.20-2 and not happy with it. On Tue, 2002-12-17 at 08:19, Sascha Noyes wrote: -BEGIN PGP SIGNED MESSAGE- - -- Joan Tur. Eivissa-Spain AOL quini2k, ICQ 11407395 www.ClubIbosim.org Linux: usuari registrat 190.783 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+ALJMok8j9RhtetwRAsnfAKCU+ffgcRhcFpyVajfjg4ZuJ3WikgCfcSdG RfN/6/BT8rZBFHYokOd4T2I= =2n5E -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] compiling kernel with acpi and w/o apic
I guess I need to rethink my plan for kernels. I thought 2.4.20 with preemptive patch would be a good move, but now I'm not so sure. I guess it's back to the research boards for me. My main complaint with Linux so far is the performance on high-end PC's, like my KX7-333 Board and Athlon XP thoroughbred cpu. I've been looking for improvement with optimizing gcc compiler flags, and now this preemptive kernel stuff looks extremely promising. Any advice is greatly welcome. I also just read there is a new Intel compiler for linux, that offers much improved application compiling. Thanks for the info, guys, Robert C. On Wednesday 18 December 2002 12:37 pm, Joan Tur wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Es Dimecres 18 Desembre 2002 15:28, en flacycads va escriure: Jack, I was getting ready to try 2.4.20, either vanilla (with preempt patch, and a modified Mandrake .conf), or cooker 2.4.20-2. Could you advise me in on as to why you aren't happy with 2.4.20? I was under the impression it fixed some USB problems, of which I am having. My experience is similar to Jack's: 2.4.19-19mdk works better to me than 2.4.20-2mdk: - -In both usb sound aren't working after resume (swsusp.sh 0.4) - -2.4.19-19 suspends (and resumes) fine, 2.4.20-2 sometimes hang and shows some errors when resuming. On Wednesday 18 December 2002 12:23 am, Jack Coates wrote: the default 9.0 kernel comes with a very old version of ACPI -- you should either go from vanilla (which broke USB in my case) or download a cooker kernel with newer ACPI. I've had ok luck with 2.4.19-19, currently on 2.4.20-2 and not happy with it. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] compiling kernel with acpi and w/o apic
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 18 December 2002 12:37 pm, Joan Tur wrote: Es Dimecres 18 Desembre 2002 15:28, en flacycads va escriure: Jack, I was getting ready to try 2.4.20, either vanilla (with preempt patch, and a modified Mandrake .conf), or cooker 2.4.20-2. Could you advise me in on as to why you aren't happy with 2.4.20? I was under the impression it fixed some USB problems, of which I am having. My experience is similar to Jack's: 2.4.19-19mdk works better to me than 2.4.20-2mdk: -In both usb sound aren't working after resume (swsusp.sh 0.4) -2.4.19-19 suspends (and resumes) fine, 2.4.20-2 sometimes hang and shows some errors when resuming. Any idea where I can still get a 2.4.19-19 kernel? Thanks, Sascha On Wednesday 18 December 2002 12:23 am, Jack Coates wrote: the default 9.0 kernel comes with a very old version of ACPI -- you should either go from vanilla (which broke USB in my case) or download a cooker kernel with newer ACPI. I've had ok luck with 2.4.19-19, currently on 2.4.20-2 and not happy with it. On Tue, 2002-12-17 at 08:19, Sascha Noyes wrote: -BEGIN PGP SIGNED MESSAGE- - -- Please encrypt all correspondence. PGP key available from: http://individual.utoronto.ca/noyes/snoyes.asc - -- -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+AHovgzJdfX+cTW8RAlM4AKCWMKBt5EsHo/ooJPE5RZQEeI2CEQCeJTew BlZWpkmHxnIIQIG+T0ZUB9w= =7fSh -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] compiling kernel with acpi and w/o apic
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Just recently got a Compaq Presario 700 series laptop, which does things entirely by ACPI and not APM. I tried to compile 9.0's kernel but ran into trouble. 1) make xconfig Here are the things that I changed from the default values: Processor type and features Processor Family : from 586 to athlon/duron/k7 Processor type and features Local APIC support on uniprocessors: from 'yes' to 'no' General Setup ACPI support from 'no' to 'yes' and all the other ACPI options in General Setup from 'no' to 'yes' 2) make dep 3) make clean 4) make bzImage 5) make modules 6) make modules_install This process exits with these last couple of lines: snip make -C arch/i386/lib modules_install make[1]: Entering directory `/usr/src/linux-2.4.19-16mdk/arch/i386/lib' make[1]: Nothing to be done for `modules_install'. make[1]: Leaving directory `/usr/src/linux-2.4.19-16mdk/arch/i386/lib' cd /lib/modules/2.4.19-16mdkcustom; \ mkdir -p pcmcia; \ find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.19-16mdkcustom; fi depmod: *** Unresolved symbols in /lib/modules/2.4.19-16mdkcustom/kernel/drivers/hotplug/ibmphp.o depmod: IO_APIC_get_PCI_irq_vector /snip It must be possible to build the kernel with ACPI, but without APIC as I have seen numerous website who suggest doing just that. Is this something specific to the mandrake kernel? Maybe I'll try the stock one. Any help is greatly appreciated. Sascha Noyes - -- Please encrypt all correspondence. PGP key available from: http://individual.utoronto.ca/noyes/snoyes.asc - -- -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE9/06hgzJdfX+cTW8RAuZAAJ9wuRZro0NhMX+UDDhjMmkuKEs4WACfSuFz UiA4JCMcIfRfInRg8t+GlW0= =AhUx -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] compiling kernel with acpi and w/o apic
On Tue, 2002-12-17 at 16:19, Sascha Noyes wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Just recently got a Compaq Presario 700 series laptop, which does things entirely by ACPI and not APM. I tried to compile 9.0's kernel but ran into trouble. 1) make xconfig Here are the things that I changed from the default values: Processor type and features Processor Family : from 586 to athlon/duron/k7 Processor type and features Local APIC support on uniprocessors: from 'yes' to 'no' General Setup ACPI support from 'no' to 'yes' and all the other ACPI options in General Setup from 'no' to 'yes' 2) make dep 3) make clean 4) make bzImage 5) make modules 6) make modules_install This process exits with these last couple of lines: snip make -C arch/i386/lib modules_install make[1]: Entering directory `/usr/src/linux-2.4.19-16mdk/arch/i386/lib' make[1]: Nothing to be done for `modules_install'. make[1]: Leaving directory `/usr/src/linux-2.4.19-16mdk/arch/i386/lib' cd /lib/modules/2.4.19-16mdkcustom; \ mkdir -p pcmcia; \ find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.19-16mdkcustom; fi depmod: *** Unresolved symbols in /lib/modules/2.4.19-16mdkcustom/kernel/drivers/hotplug/ibmphp.o depmod: IO_APIC_get_PCI_irq_vector /snip It must be possible to build the kernel with ACPI, but without APIC as I have seen numerous website who suggest doing just that. Is this something specific to the mandrake kernel? Maybe I'll try the stock one. Any help is greatly appreciated. Sascha Noyes I owned a Toshiba Satellite until recently that depended on acpi for IRQ routing and found that I could only get things running smoothly if I compiled a vanilla kernel,with the latest acpi patch from sourceforge (http://sourceforge.net/projects/acpi) None of the standard distribution kernels seemed to do the job fully and it is difficult to get suitable patches for them, so I would just compile your own.Using the options you mentioned should then be fine, I think. David -- The only reason some people get lost in thought is because it's unfamiliar territory. (Paul Fix) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] compiling kernel with acpi and w/o apic
David Robertson ([EMAIL PROTECTED]) wrote: On Tue, 2002-12-17 at 16:19, Sascha Noyes wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Just recently got a Compaq Presario 700 series laptop, which does things entirely by ACPI and not APM. I tried to compile 9.0's kernel but ran into trouble. 1) make xconfig Here are the things that I changed from the default values: Processor type and features Processor Family : from 586 to athlon/duron/k7 Processor type and features Local APIC support on uniprocessors: from 'yes' to 'no' General Setup ACPI support from 'no' to 'yes' and all the other ACPI options in General Setup from 'no' to 'yes' 2) make dep 3) make clean 4) make bzImage 5) make modules 6) make modules_install This process exits with these last couple of lines: snip make -C arch/i386/lib modules_install make[1]: Entering directory `/usr/src/linux-2.4.19-16mdk/arch/i386/lib' make[1]: Nothing to be done for `modules_install'. make[1]: Leaving directory `/usr/src/linux-2.4.19-16mdk/arch/i386/lib' cd /lib/modules/2.4.19-16mdkcustom; \ mkdir -p pcmcia; \ find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.19-16mdkcustom; fi depmod: *** Unresolved symbols in /lib/modules/2.4.19-16mdkcustom/kernel/drivers/hotplug/ibmphp.o depmod: IO_APIC_get_PCI_irq_vector /snip It must be possible to build the kernel with ACPI, but without APIC as I have seen numerous website who suggest doing just that. Is this something specific to the mandrake kernel? Maybe I'll try the stock one. Any help is greatly appreciated. Sascha Noyes I owned a Toshiba Satellite until recently that depended on acpi for IRQ routing and found that I could only get things running smoothly if I compiled a vanilla kernel,with the latest acpi patch from sourceforge (http://sourceforge.net/projects/acpi) None of the standard distribution kernels seemed to do the job fully and it is difficult to get suitable patches for them, so I would just compile your own.Using the options you mentioned should then be fine, I think. David My toshiba sat had the same problems until I moved to cooker. Cooker kernel (2.4.20-2) has acpi on by default and works great. Stable as hell even though it is a development release. Worth a try and no more kernel recompiles. -- Simon Rée [EMAIL PROTECTED] msg62925/pgp0.pgp Description: PGP signature
Re: [expert] compiling kernel with acpi and w/o apic
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 17 December 2002 07:30 pm, Simon Ree wrote: David Robertson ([EMAIL PROTECTED]) wrote: On Tue, 2002-12-17 at 16:19, Sascha Noyes wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Just recently got a Compaq Presario 700 series laptop, which does things entirely by ACPI and not APM. I tried to compile 9.0's kernel but ran into trouble. 1) make xconfig Here are the things that I changed from the default values: Processor type and features Processor Family : from 586 to athlon/duron/k7 Processor type and features Local APIC support on uniprocessors: from 'yes' to 'no' General Setup ACPI support from 'no' to 'yes' and all the other ACPI options in General Setup from 'no' to 'yes' 2) make dep 3) make clean 4) make bzImage 5) make modules 6) make modules install This process exits with these last couple of lines: snip make -C arch/i386/lib modules install make[1]: Entering directory `/usr/src/linux-2.4.19-16mdk/arch/i386/lib' make[1]: Nothing to be done for `modules install'. make[1]: Leaving directory `/usr/src/linux-2.4.19-16mdk/arch/i386/lib' cd /lib/modules/2.4.19-16mdkcustom; \ mkdir -p pcmcia; \ find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.19-16mdkcustom; fi depmod: *** Unresolved symbols in /lib/modules/2.4.19-16mdkcustom/kernel/drivers/hotplug/ibmphp.o depmod: IO APIC get PCI irq vector /snip It must be possible to build the kernel with ACPI, but without APIC as I have seen numerous website who suggest doing just that. Is this something specific to the mandrake kernel? Maybe I'll try the stock one. Any help is greatly appreciated. Sascha Noyes I owned a Toshiba Satellite until recently that depended on acpi for IRQ routing and found that I could only get things running smoothly if I compiled a vanilla kernel,with the latest acpi patch from sourceforge (http://sourceforge.net/projects/acpi) None of the standard distribution kernels seemed to do the job fully and it is difficult to get suitable patches for them, so I would just compile your own.Using the options you mentioned should then be fine, I think. David My toshiba sat had the same problems until I moved to cooker. Cooker kernel (2.4.20-2) has acpi on by default and works great. Stable as hell even though it is a development release. Worth a try and no more kernel recompiles. I've installed cooker and 9.0 on the laptop. Unfortunately cooker locks hard early in the boot process (It's got something to do with an IRQ, IIRC), even before logging begins. Apparently with the presario 700 series you have to disable APIC in the kernel though, i tried booting with 'noapic' and with ACPI enabled, but that locked up as well. I tried recompiling the cooker kernel to suit my needs, but ran into trouble rather early in the process (during make bzImage), anyway I'll post that to the cooker list. Thanks for the help, I'll try recompiling a standard kernel, I just hope it plays nicely with the rest of the system. Sascha - -- Please encrypt all correspondence. PGP key available from: http://individual.utoronto.ca/noyes/snoyes.asc - -- -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE9/4FBgzJdfX+cTW8RAmkKAJ97RnpC5NE+pMVfzazVhDF95sOOtQCeIA3t ZnqxOMDZkBTanhTYKoO2vvg= =vgtA -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] compiling kernel with acpi and w/o apic
Sascha Noyes wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 17 December 2002 07:30 pm, Simon Ree wrote: David Robertson ([EMAIL PROTECTED]) wrote: On Tue, 2002-12-17 at 16:19, Sascha Noyes wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Just recently got a Compaq Presario 700 series laptop, which does things entirely by ACPI and not APM. I tried to compile 9.0's kernel but ran into trouble. 1) make xconfig Here are the things that I changed from the default values: Processor type and features Processor Family : from 586 to athlon/duron/k7 Processor type and features Local APIC support on uniprocessors: from 'yes' to 'no' General Setup ACPI support from 'no' to 'yes' and all the other ACPI options in General Setup from 'no' to 'yes' 2) make dep 3) make clean 4) make bzImage 5) make modules 6) make modules install This process exits with these last couple of lines: snip make -C arch/i386/lib modules install make[1]: Entering directory `/usr/src/linux-2.4.19-16mdk/arch/i386/lib' make[1]: Nothing to be done for `modules install'. make[1]: Leaving directory `/usr/src/linux-2.4.19-16mdk/arch/i386/lib' cd /lib/modules/2.4.19-16mdkcustom; \ mkdir -p pcmcia; \ find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.19-16mdkcustom; fi depmod: *** Unresolved symbols in /lib/modules/2.4.19-16mdkcustom/kernel/drivers/hotplug/ibmphp.o depmod: IO APIC get PCI irq vector /snip It must be possible to build the kernel with ACPI, but without APIC as I have seen numerous website who suggest doing just that. Is this something specific to the mandrake kernel? Maybe I'll try the stock one. Any help is greatly appreciated. Sascha Noyes I owned a Toshiba Satellite until recently that depended on acpi for IRQ routing and found that I could only get things running smoothly if I compiled a vanilla kernel,with the latest acpi patch from sourceforge (http://sourceforge.net/projects/acpi) None of the standard distribution kernels seemed to do the job fully and it is difficult to get suitable patches for them, so I would just compile your own.Using the options you mentioned should then be fine, I think. David My toshiba sat had the same problems until I moved to cooker. Cooker kernel (2.4.20-2) has acpi on by default and works great. Stable as hell even though it is a development release. Worth a try and no more kernel recompiles. I've installed cooker and 9.0 on the laptop. Unfortunately cooker locks hard early in the boot process (It's got something to do with an IRQ, IIRC), even before logging begins. Apparently with the presario 700 series you have to disable APIC in the kernel though, i tried booting with 'noapic' and with ACPI enabled, but that locked up as well. I tried recompiling the cooker kernel to suit my needs, but ran into trouble rather early in the process (during make bzImage), anyway I'll post that to the cooker list. Thanks for the help, I'll try recompiling a standard kernel, I just hope it plays nicely with the rest of the system. Sascha Do you make mrproper as the first step? Move .config out of the way if you want to use it or use /boot/config but mrproper should be the first step. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] compiling kernel with acpi and w/o apic
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 17 December 2002 09:52 pm, Rolf Pedersen wrote: Sascha Noyes wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 17 December 2002 07:30 pm, Simon Ree wrote: David Robertson ([EMAIL PROTECTED]) wrote: On Tue, 2002-12-17 at 16:19, Sascha Noyes wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Just recently got a Compaq Presario 700 series laptop, which does things entirely by ACPI and not APM. I tried to compile 9.0's kernel but ran into trouble. 1) make xconfig Here are the things that I changed from the default values: Processor type and features Processor Family : from 586 to athlon/duron/k7 Processor type and features Local APIC support on uniprocessors: from 'yes' to 'no' General Setup ACPI support from 'no' to 'yes' and all the other ACPI options in General Setup from 'no' to 'yes' 2) make dep 3) make clean 4) make bzImage 5) make modules 6) make modules install This process exits with these last couple of lines: snip make -C arch/i386/lib modules install make[1]: Entering directory `/usr/src/linux-2.4.19-16mdk/arch/i386/lib' make[1]: Nothing to be done for `modules install'. make[1]: Leaving directory `/usr/src/linux-2.4.19-16mdk/arch/i386/lib' cd /lib/modules/2.4.19-16mdkcustom; \ mkdir -p pcmcia; \ find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.19-16mdkcustom; fi depmod: *** Unresolved symbols in /lib/modules/2.4.19-16mdkcustom/kernel/drivers/hotplug/ibmphp.o depmod: IO APIC get PCI irq vector /snip It must be possible to build the kernel with ACPI, but without APIC as I have seen numerous website who suggest doing just that. Is this something specific to the mandrake kernel? Maybe I'll try the stock one. Any help is greatly appreciated. Sascha Noyes I owned a Toshiba Satellite until recently that depended on acpi for IRQ routing and found that I could only get things running smoothly if I compiled a vanilla kernel,with the latest acpi patch from sourceforge (http://sourceforge.net/projects/acpi) None of the standard distribution kernels seemed to do the job fully and it is difficult to get suitable patches for them, so I would just compile your own.Using the options you mentioned should then be fine, I think. David My toshiba sat had the same problems until I moved to cooker. Cooker kernel (2.4.20-2) has acpi on by default and works great. Stable as hell even though it is a development release. Worth a try and no more kernel recompiles. I've installed cooker and 9.0 on the laptop. Unfortunately cooker locks hard early in the boot process (It's got something to do with an IRQ, IIRC), even before logging begins. Apparently with the presario 700 series you have to disable APIC in the kernel though, i tried booting with 'noapic' and with ACPI enabled, but that locked up as well. I tried recompiling the cooker kernel to suit my needs, but ran into trouble rather early in the process (during make bzImage), anyway I'll post that to the cooker list. Thanks for the help, I'll try recompiling a standard kernel, I just hope it plays nicely with the rest of the system. Sascha Do you make mrproper as the first step? Move .config out of the way if you want to use it or use /boot/config but mrproper should be the first step. Sorry but I have no idea what 'make mrproper' is. Do you mean use it before 'make xconfig'? And the '.config' file - should I move that away while using mrproper? Or for the whole process? And what is the relationship between .config in /usr/src/linux/ and /boot/config. Thanks, Sascha - -- Please encrypt all correspondence. PGP key available from: http://individual.utoronto.ca/noyes/snoyes.asc - -- -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE9/63ngzJdfX+cTW8RAofbAKCqiYjMiuCLSTLARFyp4zw74jHrQwCgi05O bJ6FCYVkoWcGQGt9wGbXnBk= =3lvC -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] compiling kernel with acpi and w/o apic
Sascha Noyes wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 17 December 2002 09:52 pm, Rolf Pedersen wrote: Do you make mrproper as the first step? Move .config out of the way if you want to use it or use /boot/config but mrproper should be the first step. Sorry but I have no idea what 'make mrproper' is. Do you mean use it before 'make xconfig'? And the '.config' file - should I move that away while using mrproper? Or for the whole process? And what is the relationship between .config in /usr/src/linux/ and /boot/config. Thanks, Sascha You could do a search at www.groups.google.com to get an overview and here are some of the points that lead me to say to make mrproper: It's stated in the README by, iianm, Linus: $ cat /usr/src/linux/README | grep -A3 -B3 mrproper - Make sure you have no stale .o files and dependencies lying around: cd linux make mrproper You should now have the sources correctly installed. It's part of the HOWTO at MUO Docs: http://www.mandrakeuser.org/docs/install/kupgrade3.html#config Juan Quintela, Mandrake's kernel developer, made the most recent statement of authority about this step that I know of: http://www.mail-archive.com/cooker@linux-mandrake.com/msg80179.html The configuration of your current kernel is in /boot/config or /usr/src/linux/.conf, at least in stock Mandrake install situations: [rolf@localhost rolf]$ diff -u /usr/src/linux/.config /boot/config [rolf@localhost rolf]$ Move .config if you want to use it as make mrproper erases it. What I do is to make mrproper, make xconfig, load config from /boot/config, make changes that interest me, then use the two chains of commands from the MUO Howto. This automatically changes the version of the kernel to -mdkcustom, installs it in /boot, makes an initrd, changes the default links in /boot, and runs lilo, as needed. Pretty easy. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] compiling kernel with acpi and w/o apic
the default 9.0 kernel comes with a very old version of ACPI -- you should either go from vanilla (which broke USB in my case) or download a cooker kernel with newer ACPI. I've had ok luck with 2.4.19-19, currently on 2.4.20-2 and not happy with it. On Tue, 2002-12-17 at 08:19, Sascha Noyes wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Just recently got a Compaq Presario 700 series laptop, which does things entirely by ACPI and not APM. I tried to compile 9.0's kernel but ran into trouble. 1) make xconfig Here are the things that I changed from the default values: Processor type and features Processor Family : from 586 to athlon/duron/k7 Processor type and features Local APIC support on uniprocessors: from 'yes' to 'no' General Setup ACPI support from 'no' to 'yes' and all the other ACPI options in General Setup from 'no' to 'yes' 2) make dep 3) make clean 4) make bzImage 5) make modules 6) make modules_install This process exits with these last couple of lines: snip make -C arch/i386/lib modules_install make[1]: Entering directory `/usr/src/linux-2.4.19-16mdk/arch/i386/lib' make[1]: Nothing to be done for `modules_install'. make[1]: Leaving directory `/usr/src/linux-2.4.19-16mdk/arch/i386/lib' cd /lib/modules/2.4.19-16mdkcustom; \ mkdir -p pcmcia; \ find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.19-16mdkcustom; fi depmod: *** Unresolved symbols in /lib/modules/2.4.19-16mdkcustom/kernel/drivers/hotplug/ibmphp.o depmod: IO_APIC_get_PCI_irq_vector /snip It must be possible to build the kernel with ACPI, but without APIC as I have seen numerous website who suggest doing just that. Is this something specific to the mandrake kernel? Maybe I'll try the stock one. Any help is greatly appreciated. Sascha Noyes - -- Please encrypt all correspondence. PGP key available from: http://individual.utoronto.ca/noyes/snoyes.asc - -- -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE9/06hgzJdfX+cTW8RAuZAAJ9wuRZro0NhMX+UDDhjMmkuKEs4WACfSuFz UiA4JCMcIfRfInRg8t+GlW0= =AhUx -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com -- Jack Coates Monkeynoodle: A Scientific Venture... Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] compiling kernel with acpi and w/o apic
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 17 December 2002 11:42 pm, Rolf Pedersen wrote: Sascha Noyes wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 17 December 2002 09:52 pm, Rolf Pedersen wrote: Do you make mrproper as the first step? Move .config out of the way if you want to use it or use /boot/config but mrproper should be the first step. Sorry but I have no idea what 'make mrproper' is. Do you mean use it before 'make xconfig'? And the '.config' file - should I move that away while using mrproper? Or for the whole process? And what is the relationship between .config in /usr/src/linux/ and /boot/config. Thanks, Sascha You could do a search at www.groups.google.com to get an overview and here are some of the points that lead me to say to make mrproper: It's stated in the README by, iianm, Linus: $ cat /usr/src/linux/README | grep -A3 -B3 mrproper - Make sure you have no stale .o files and dependencies lying around: cd linux make mrproper You should now have the sources correctly installed. It's part of the HOWTO at MUO Docs: http://www.mandrakeuser.org/docs/install/kupgrade3.html#config Juan Quintela, Mandrake's kernel developer, made the most recent statement of authority about this step that I know of: http://www.mail-archive.com/cooker@linux-mandrake.com/msg80179.html The configuration of your current kernel is in /boot/config or /usr/src/linux/.conf, at least in stock Mandrake install situations: [rolf@localhost rolf]$ diff -u /usr/src/linux/.config /boot/config [rolf@localhost rolf]$ Move .config if you want to use it as make mrproper erases it. What I do is to make mrproper, make xconfig, load config from /boot/config, make changes that interest me, then use the two chains of commands from the MUO Howto. This automatically changes the version of the kernel to -mdkcustom, installs it in /boot, makes an initrd, changes the default links in /boot, and runs lilo, as needed. Pretty easy. Thanks a lot for all the information. P.S. I get the impression that you had understood my query as asking for you to justify 'make mrproper'. This was not intended, rather I didn't know anything about it and needed to know what it actually is does. Sascha - -- Please encrypt all correspondence. PGP key available from: http://individual.utoronto.ca/noyes/snoyes.asc - -- -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE9/79EgzJdfX+cTW8RAifhAJ4lEHG31hNpkkQLOeQrc1eWFU9pxACfWhLk yLxJkPVabBhBOYSp2NCHcq8= =SeV9 -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] compiling kernel with acpi and w/o apic
On Wednesday 18 December 2002 12:23 am, Jack Coates wrote: the default 9.0 kernel comes with a very old version of ACPI -- you should either go from vanilla (which broke USB in my case) or download a cooker kernel with newer ACPI. I've had ok luck with 2.4.19-19, currently on 2.4.20-2 and not happy with it. Sorry to butt in here but I'll take help from any thread I can! :-) Guys, I'm not using a laptop but I'm having serious problems with 9.0 on my desktop. It installs great, but will only bootup or shutdown correctly after numerous attempts. I passed noapci thru /etc/lilo.conf like this: boot=/dev/hda map=/boot/map vga=normal default=linux keytable=/boot/us.klt prompt nowarn timeout=100 message=/boot/message menu-scheme=wb:bw:wb:bw image=/boot/vmlinuz label=linux root=/dev/hda1 initrd=/boot/initrd.img append=noquiet noapci noapic devfs=mount hdc=ide-scsi vga=788 read-only image=/boot/vmlinuz label=linux-nonfb root=/dev/hda1 initrd=/boot/initrd.img append=devfs=mount hdc=ide-scsi vga=788 read-only other=/dev/fd0 label=floppy unsafe image=/boot/vmlinuz label=failsafe root=/dev/hda1 initrd=/boot/initrd.img append=failsafe devfs=nomount hdc=ide-scsi read-only but still, when I do successfully bootup, I get this in dmesg: Local APIC disabled by BIOS -- reenabling. Found and enabled local APIC! So whats up with that? Seems I can't disable apic - and yes, I did rerun /sbin/lilo as root, after making changes. When a bootup fails - it locks up hard usually about where it says detecting USB or loading module dependencies. It locks up so hard that you can't even turn caps on/off on the keyboard (all keys are locked). When/if the normal bootup fails, I can usually get a complete bootup by using the nonfb choice. What is there about that choice that lets it bootup (when apci is *not* disabled there!)? Any ideas? Would installing a newer kernel help? Thanks in advance. -- /\ Dark Lord \/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com