Re: [newbie] Kernel compiling for Driver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 06 April 2004 21:28, martin brandt wrote: Hello everyone, Im wanting to install my drivers for my ATI Radeon 9200SE ive bought recently on my mdk 9.2, and i have downloaded the appropriate rpm, but i need to tailor my Kernel to allow the driver to work. Now messing around with Kernel sounds complicated and i was wondering if it is actually doable by someone like me with little Linux knowledge. Would i be able to do it following instructions? Would it take too long? The error is documented here: http://www.ati.com/support/infobase/4475.html I've got a Radeon 9200 running with 9.2. I got to the same point as you before I realised that Mandrake already has the flgx driver. I think it was XFDrake that gave me the choice of driver. Anne - -- Registered Linux User No.293302 Have you visited http://twiki.mdklinuxfaq.org yet? -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFAc7C0kFAvMr/nNX8RAnmqAKCB3Zmxo7T9cQ8yqwpWIJZgIeGUpwCglD0u XJezGrEGw47SvJ2Wbt2RI+A= =aNng -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
[newbie] Kernel compiling for Driver
Hello everyone, Im wanting to install my drivers for my ATI Radeon 9200SE ive bought recently on my mdk 9.2, and i have downloaded the appropriate rpm, but i need to tailor my Kernel to allow the driver to work. Now messing around with Kernel sounds complicated and i was wondering if it is actually doable by someone like me with little Linux knowledge. Would i be able to do it following instructions? Would it take too long? The error is documented here: http://www.ati.com/support/infobase/4475.html Thanks in advance. -- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Kernel Compiling in 9.2 -Update - 9.2 bug?
On Wed, 22 Oct 2003 13:09, Sharrea Day wrote: make[2]: Entering directory `/usr/src/linux-2.4.22-10mdk/arch/i386/mm' gcc -D__KERNEL__ -I/usr/src/linux-2.4.22-10mdk/include -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -nostdinc -iwithprefix include -DKBUILD_BASENAME=init -c init.c -o init.o init.c:463: parse error before `_Bool' init.c:464: warning: function declaration isn't a prototype init.c: In function `one_highpage_init': init.c:465: `bad' undeclared (first use in this function) init.c:465: (Each undeclared identifier is reported only once init.c:465: for each function it appears in.) init.c:466: `pfn' undeclared (first use in this function) init.c:467: `page' undeclared (first use in this function) init.c:471: `bad_ppro' undeclared (first use in this function) init.c: In function `free_pages_init': init.c:529: `_Bool' undeclared (first use in this function) init.c:529: parse error before `bad' init.c:530: `bad' undeclared (first use in this function) make[2]: *** [init.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.4.22-10mdk/arch/i386/mm' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.22-10mdk/arch/i386/mm' make: *** [_dir_arch/i386/mm] Error 2 UPDATE: OK, so I downloaded another kernel-source from a 9.2 mirror tree (1st one was from mandrakeclub. Still no go... same error as above. Looking at the file /usr/src/linux-2.4.22-10mdk/arch/i386/mm/init.c doesn't help because I don't understand the programming language used. That is, I can't tell whether the function is previously declared or not (actually, I don't know if its even supposed to be). Is this a bug? Should I report it? If so, to whom? Looks like I'll have to go back to 9.1 ...bummer! :( Sharrea -- Help Microsoft stamp out piracy - give Linux to a friend today Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Kernel Compiling in 9.2
Hi all I need to build my own kernel so that I can use my satellite card for internet connection. The driver is compiled with gcc-2.96 and requires the kernel to be compiled with the same. No problem in 9.1 but having just installed 9.2, the make dep gives an error: /usr/src/linux-2.4.22-10mdk/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.22-10mdk/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -- acpi.c acpitable.c acpitable.h acpi_wakeup.S apic.c apm.c bluesmoke.c cpuid.c dmi_scan.c e820.c elanfreq.c entry.S gx-suspmod.c head.S i386_ksyms.c i387.c i8259.c init_task.c io_apic.c ioport.c irq.c ldt.c longhaul.c longrun.c mca.c microcode.c mpparse.c msr.c mtrr.c nmi.c p4-clockmod.c pci-dma.c pci-i386.c pci-i386.h pci-irq.c pci-pc.c pci-visws.c powernow-k6.c powernow-k7.c powernow-k7.h process.c ptrace.c semaphore.c setup.c signal.c smpboot.c smp.c speedstep-centrino.c speedstep-ich.c sys_i386.c time.c trampoline.S traps.c visws_apic.c vm86.c .depend make[2]: *** [fastdep] Error 139 make[2]: Leaving directory `/usr/src/linux-2.4.22-10mdk/arch/i386/kernel' make[1]: *** [_sfdep_arch/i386/kernel] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.22-10mdk' make: *** [dep-files] Error 2 Does anyone know how to get past this error? I'm using the config from the current Mandrake kernel-i686-up-4GB-2.4.22.10mdk-1-1mdk. Any help much appreciated. Sharrea -- Help Microsoft stamp out piracy - give Linux to a friend today Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Kernel Compiling in 9.2
Sharrea Day wrote: Hi all I need to build my own kernel so that I can use my satellite card for internet connection. The driver is compiled with gcc-2.96 and requires the kernel to be compiled with the same. No problem in 9.1 but having just installed 9.2, the make dep gives an error: /usr/src/linux-2.4.22-10mdk/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.22-10mdk/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -- acpi.c acpitable.c acpitable.h acpi_wakeup.S apic.c apm.c bluesmoke.c cpuid.c dmi_scan.c e820.c elanfreq.c entry.S gx-suspmod.c head.S i386_ksyms.c i387.c i8259.c init_task.c io_apic.c ioport.c irq.c ldt.c longhaul.c longrun.c mca.c microcode.c mpparse.c msr.c mtrr.c nmi.c p4-clockmod.c pci-dma.c pci-i386.c pci-i386.h pci-irq.c pci-pc.c pci-visws.c powernow-k6.c powernow-k7.c powernow-k7.h process.c ptrace.c semaphore.c setup.c signal.c smpboot.c smp.c speedstep-centrino.c speedstep-ich.c sys_i386.c time.c trampoline.S traps.c visws_apic.c vm86.c .depend make[2]: *** [fastdep] Error 139 make[2]: Leaving directory `/usr/src/linux-2.4.22-10mdk/arch/i386/kernel' make[1]: *** [_sfdep_arch/i386/kernel] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.22-10mdk' make: *** [dep-files] Error 2 Does anyone know how to get past this error? I'm using the config from the current Mandrake kernel-i686-up-4GB-2.4.22.10mdk-1-1mdk. Any help much appreciated. Sharrea Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com First, let me say that I don't know the answer to how to fix your compile, but I do have a couple of things for you. First the -wall in your make file will cause all errors AND warnings to stop the process. If you don't want warnings to stop the compile, remove the -wall. Second and more important, have you tried just compiling the drivers as a module and using insmod to use them? If you do compile them as a module, you will get an error about the kernel being compiled with 3.x and the module with 2.96, but it may still work if you use insmod -f mymodule (the -f says to force the module). On the otherhand, it may not work. On one of my boxes with a winmodem, the driver must be inserted with the -f because it, too, has an object file that was compiled with gcc 2.96, even though I am using gcc 3.3. Don't know if either of the two items will help or not, but you might try them. Joeb Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Kernel Compiling in 9.2
On Wed, 22 Oct 2003 11:21, Joeb wrote: Sharrea Day wrote: I need to build my own kernel so that I can use my satellite card for internet connection. The driver is compiled with gcc-2.96 and requires the kernel to be compiled with the same. No problem in 9.1 but having just installed 9.2, the make dep gives an error: big snip Does anyone know how to get past this error? I'm using the config from the current Mandrake kernel-i686-up-4GB-2.4.22.10mdk-1-1mdk. First, let me say that I don't know the answer to how to fix your compile, but I do have a couple of things for you. First the -wall in your make file will cause all errors AND warnings to stop the process. If you don't want warnings to stop the compile, remove the -wall. Firstly, I apologise for the long post. Joeb, thanks for your suggestions. OK, removed the -Wall (in 2 places) from the Makefile and got past the error but it stopped on another error: make[2]: Entering directory `/usr/src/linux-2.4.22-10mdk/arch/i386/mm' gcc -D__KERNEL__ -I/usr/src/linux-2.4.22-10mdk/include -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -nostdinc -iwithprefix include -DKBUILD_BASENAME=init -c init.c -o init.o init.c:463: parse error before `_Bool' init.c:464: warning: function declaration isn't a prototype init.c: In function `one_highpage_init': init.c:465: `bad' undeclared (first use in this function) init.c:465: (Each undeclared identifier is reported only once init.c:465: for each function it appears in.) init.c:466: `pfn' undeclared (first use in this function) init.c:467: `page' undeclared (first use in this function) init.c:471: `bad_ppro' undeclared (first use in this function) init.c: In function `free_pages_init': init.c:529: `_Bool' undeclared (first use in this function) init.c:529: parse error before `bad' init.c:530: `bad' undeclared (first use in this function) make[2]: *** [init.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.4.22-10mdk/arch/i386/mm' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.22-10mdk/arch/i386/mm' make: *** [_dir_arch/i386/mm] Error 2 Looked at the line containing _Bool but don't know what any of it meant so dead end there. Second and more important, have you tried just compiling the drivers as a module and using insmod to use them? If you do compile them as a module, you will get an error about the kernel being compiled with 3.x and the module with 2.96, but it may still work if you use insmod -f mymodule (the -f says to force the module). On the otherhand, it may not work. On one of my boxes with a winmodem, the driver must be inserted with the -f because it, too, has an object file that was compiled with gcc 2.96, even though I am using gcc 3.3. Just tried that but it wouldn't load the module even with the force option: # insmod -f sm200d_lnx.o Warning: The module you are trying to load (sm200d_lnx.o) is compiled with a gcc version 2 compiler, while the kernel you are running is compiled with a gcc version 3 compiler. This is known to not work. sm200d_lnx.o: unresolved symbol _mmx_memcpy sm200d_lnx.o: Hint: You are trying to load a module without a GPL compatible license and it has unresolved symbols. The module may be trying to access GPLONLY symbols but the problem is more likely to be a coding or user error. Contact the module supplier for assistance, only they can help you. Think I'd better stick to re-compiling the kernel under 2.96 since I don't really know what I'm doing with this. Don't know if either of the two items will help or not, but you might try them. Thanks very much for your suggestions/advice. Thought perhaps the kernel-source package I downloaded from Mandrake Club may be at fault so I'm currently downloading it from a mirror 9.2 tree. Will keep trying. Sharrea -- Help Microsoft stamp out piracy - give Linux to a friend today Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Kernel compiling problems
Why do I get kernel compiling problems? i.e. Everything goes fine until the make modules part where it gets to a point like isdn, fails and stops compiling? I downloaded the 40mb linux.2.6.test1 file, am I missing some other files or is that a complete file? Thanks. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Kernel compiling takes 80 minutes on P4 1.8 machine
Hi, This sounds a bit soothing for me. ;-) Now it takes about 45 minutes to compile the whole kernel. I've heard the Pentium4 deficiency problem before I bought this laptop. But the comments I found gave me an impression that P4 1.8GHz is aboutthe same performance as a P3 1.2GHz, but there is SSE2 to consider. So I bought it. So I'd be happy to keep this laptop with the similar performance with an Athlon 1.4 GHz. Maybe I should get a P3 1.2 instead? To wait for Centrino product means another 12 months maybe. Many thanks, Wei make dep clean bzImage~ 5 mins. time make modules ~ 38 mins. make modules_install install ~ 1 min. On a 1.4 gig Athlon. But it's always 1.4 gig ... takes 80 minutes to finish. Every gcc stays on the screen for a second or so that you can read almost every one of them. Is it normal? The gcc is version 3.2. ... your laptop (mobile cpu) isn't always 1.8 ghz. It slows down under load. A P3 would probly be faster too. So yes, it's a hardware deficiency ... get a real computer ;~ -- Tom Brinkman Corpus Christi, Texas Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Kernel compiling takes 80 minutes on P4 1.8 machine
Many thanks for your input. Have you done anything to the OS such as optimising or tuning? Since this is a new laptop and I am thinking of returning it if there is a hardware deficiency with it. On Mon, 20 Jan 2003 13:13:48 -0600 Robert Wideman [EMAIL PROTECTED] wrote: OUCH, how the hell??? My computers and times that i have used for linux: -Compaq 7180 (p100) and it takes 1.5 hours to compile a complete kernel. -Clone all SCSI p3-450 and it takes 30 mins to compile a complete kernel. -Dell Optiplex GX1 P3-450 and it takes 35 mins to compile a complete kernel. You guys might want to rethink your timing. Rob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Chuck Burns Sent: Monday, January 20, 2003 11:26 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] Kernel compiling takes 80 minutes on P4 1.8 machine On Mon, January 20 2003 11:01 am, Wei Wang wrote: *snip* I am not sure if this is hardware related or OS related. I have Mandrake 9.0 on my Pentium 4 M 1.8Ghz laptop. Now the complete kernel compiling make clean bzImage modules *snip takes 80 minutes to finish. Every gcc stays on the screen for a second or *snip* I have a P4 1.6 desktop, and it takes me about 45 minutes to compile everything, all modules and everything. My P3-500 desktop takes almost 2 hours, however, my P3-500 laptop takes over 3 hours. In case you didn't know, ALL x86 laptop cpu's are NOT the same cpu as the desktops, which makes them just a little better than half the speed of their respective desktop counterparts. While they both run at the same speed, the pipelining, power control, etc etc is much different. Data bus width also comes into play. AFAIK the only computers that use the exact same processors for both desktops and laptops are Apples. So, in answer to your question, no, there's probably nothing wrong with your hardware other than the fact it's a Mobility CPU, hooked to the cheapest components the maker of that laptop could find. -- Chuck Burns, Jr [EMAIL PROTECTED] ---==--- You are old, Father William, the young man said, All your papers these days look the same; Those William's would be better unread -- Do these facts never fill you with shame? In my youth, Father William replied to his son, I wrote wonderful papers galore; But the great reputation I found that I'd won, Made it pointless to think any more. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Kernel compiling takes 80 minutes on P4 1.8 machine
Hi, I am not sure if this is hardware related or OS related. I have Mandrake 9.0 on my Pentium 4 M 1.8Ghz laptop. Now the complete kernel compiling make clean bzImage modules takes 80 minutes to finish. Every gcc stays on the screen for a second or so that you can read almost every one of them. Is it normal? The gcc is version 3.2. Is there anything that I can do to speed it up? I know I could omit some modules to speed it up but I just want to know how long the compiling takes on your machine. BTW, if it is hardware related, is there any software that can detect the current running frequency of the CPU? Cheers, We Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Kernel compiling takes 80 minutes on P4 1.8 machine
On Mon, January 20 2003 11:01 am, Wei Wang wrote: *snip* I am not sure if this is hardware related or OS related. I have Mandrake 9.0 on my Pentium 4 M 1.8Ghz laptop. Now the complete kernel compiling make clean bzImage modules *snip takes 80 minutes to finish. Every gcc stays on the screen for a second or *snip* I have a P4 1.6 desktop, and it takes me about 45 minutes to compile everything, all modules and everything. My P3-500 desktop takes almost 2 hours, however, my P3-500 laptop takes over 3 hours. In case you didn't know, ALL x86 laptop cpu's are NOT the same cpu as the desktops, which makes them just a little better than half the speed of their respective desktop counterparts. While they both run at the same speed, the pipelining, power control, etc etc is much different. Data bus width also comes into play. AFAIK the only computers that use the exact same processors for both desktops and laptops are Apples. So, in answer to your question, no, there's probably nothing wrong with your hardware other than the fact it's a Mobility CPU, hooked to the cheapest components the maker of that laptop could find. -- Chuck Burns, Jr [EMAIL PROTECTED] ---==--- You are old, Father William, the young man said, All your papers these days look the same; Those William's would be better unread -- Do these facts never fill you with shame? In my youth, Father William replied to his son, I wrote wonderful papers galore; But the great reputation I found that I'd won, Made it pointless to think any more. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] Kernel compiling takes 80 minutes on P4 1.8 machine
OUCH, how the hell??? My computers and times that i have used for linux: -Compaq 7180 (p100) and it takes 1.5 hours to compile a complete kernel. -Clone all SCSI p3-450 and it takes 30 mins to compile a complete kernel. -Dell Optiplex GX1 P3-450 and it takes 35 mins to compile a complete kernel. You guys might want to rethink your timing. Rob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Chuck Burns Sent: Monday, January 20, 2003 11:26 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] Kernel compiling takes 80 minutes on P4 1.8 machine On Mon, January 20 2003 11:01 am, Wei Wang wrote: *snip* I am not sure if this is hardware related or OS related. I have Mandrake 9.0 on my Pentium 4 M 1.8Ghz laptop. Now the complete kernel compiling make clean bzImage modules *snip takes 80 minutes to finish. Every gcc stays on the screen for a second or *snip* I have a P4 1.6 desktop, and it takes me about 45 minutes to compile everything, all modules and everything. My P3-500 desktop takes almost 2 hours, however, my P3-500 laptop takes over 3 hours. In case you didn't know, ALL x86 laptop cpu's are NOT the same cpu as the desktops, which makes them just a little better than half the speed of their respective desktop counterparts. While they both run at the same speed, the pipelining, power control, etc etc is much different. Data bus width also comes into play. AFAIK the only computers that use the exact same processors for both desktops and laptops are Apples. So, in answer to your question, no, there's probably nothing wrong with your hardware other than the fact it's a Mobility CPU, hooked to the cheapest components the maker of that laptop could find. -- Chuck Burns, Jr [EMAIL PROTECTED] ---==--- You are old, Father William, the young man said, All your papers these days look the same; Those William's would be better unread -- Do these facts never fill you with shame? In my youth, Father William replied to his son, I wrote wonderful papers galore; But the great reputation I found that I'd won, Made it pointless to think any more. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Kernel compiling takes 80 minutes on P4 1.8 machine
On Monday January 20 2003 11:01 am, Wei Wang wrote: I am not sure if this is hardware related or OS related. I have Mandrake 9.0 on my Pentium 4 M 1.8Ghz laptop. Now the complete kernel compiling make clean bzImage modules make dep clean bzImage~ 5 mins. time make modules ~ 38 mins. make modules_install install ~ 1 min. On a 1.4 gig Athlon. But it's always 1.4 gig ... takes 80 minutes to finish. Every gcc stays on the screen for a second or so that you can read almost every one of them. Is it normal? The gcc is version 3.2. ... your laptop (mobile cpu) isn't always 1.8 ghz. It slows down under load. A P3 would probly be faster too. So yes, it's a hardware deficiency ... get a real computer ;~ -- Tom Brinkman Corpus Christi, Texas Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Kernel compiling takes 80 minutes on P4 1.8 machine
On Tue, 2003-01-21 at 04:01, Wei Wang wrote: Hi, I am not sure if this is hardware related or OS related. I have Mandrake 9.0 on my Pentium 4 M 1.8Ghz laptop. Now the complete kernel compiling make clean bzImage modules takes 80 minutes to finish. Every gcc stays on the screen for a second or so that you can read almost every one of them. Is it normal? The gcc is version 3.2. Is there anything that I can do to speed it up? I know I could omit some modules to speed it up but I just want to know how long the compiling takes on your machine. BTW, if it is hardware related, is there any software that can detect the current running frequency of the CPU? Cheers, We Part of the issue in the compiling of the kernel is how you chose to set the kernel up. If the setup has to recompile thousands of modules and the likes, it could take quite a bit of time - but yeah, 80 minutes does sound a bit strange... Prior to doing this, have you taken the time to try to tune or optimise your system before doing the kernel compile? Very helpful to do this... -- Tue Jan 21 07:05:00 EST 2003 7:05am up 4 days, 16:48, 5 users, load average: 0.02, 0.13, 0.14 -- |____ | kuhn media australia| | / ,, /| |'-. | http://kma.0catch.com | | .\__/ || | | |=| | _ / `._ \|_|_.-' | stephen kuhn| | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | | |/ ._/ || | email: [EMAIL PROTECTED]| | |'. `\ | | |icq: 5483808 | | ;/ / | | | | | smk ) /_/| |.---.| | mobile: 0410-728-389| | ' `-`' | Berkeley, New South Wales, AU | -- linux user:267497 * RH 8.0 * PC/Mac/Linux/Networking/Consulting -- The leaves were long, the grass was green, The hemlock-umbels tall and fair, And in the glade a light was seen Of stars in shadow shimmering. Tin'uviel was dancing there To music of a pipe unseen, And light of stars was in her hair, And in her raiment glimmering. There Beren came from mountains colds, And lost he wandered under leaves, And where the Elven-river rolled He walked alone and sorrowing. He peered between the hemlock-leaves And saw in wonder flowers of gold Upon her mantle and her sleeves, And her hair like shadow following. Enchantment healed his weary feet That over hills were doomed to roam; And forth he hastened, strong and fleet, And grasped at moonbeams glistening. Through woven woods in Elvenhome She lightly fled on dancing feet, And left him lonely still to roam In the silent forest listening. -- J. R. R. Tolkien Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Kernel Compiling Troubles
Hello: I finally installed all the source stuff needed to recompile the default kernel in Mandrake 7.2. It went very well. Since it was so easy, I decided to try compiling the 2.4.0-test12 kernel. I didn't have any trouble compiling it. Made may changes in GRUB and rebooted. I picked the right entry and it started to boot, but it got as far as "Uncompressing Linux... Okay to boot kernel" then it just freezes. Anyone familiar with this type of trouble? I'm not sure if this is the right place to ask this question, so I humbly appologize if it's not. Thanks, Riker
Re: [newbie] Kernel compiling?
Hello, you've got to open an xterm, go to the directory /usr/src/linux and give this command: make xconfig This opens a tcl/tk interface where you can put extra options to your Kernel, once you've finished save exit. Be careful because if you do something wrong your machine won't start the next time, for example don't chose a processor different from what is in your pc, etc. Then you have to do this command: make dep That's for making the dependencies, then: make clean This to delete unuseful files, then: make bzlilo *This last command ONLY if you use lilo as bootloader, otherwhise "make bzImage", which creates the immagine of your new kernel that you can find it in /usr/src/linux/arch/i386/boot/ and you can copy it (bzImage) in the directory /boot updating the file lilo.conf where there is "image=/boot/bzImage", or if you use a floppy to boot your system after done "make bzImage" put a new formatted floppy(don't mount it!) in the drive and do the command: dd if=/usr/src/linux/arch/i386/boot/bzImage of=/dev/fd0 which makes you boot floppy. This two things ONLY if you don't use lilo as bootloader, if you use lilo it's okay "make bzlilo" and you've finished (reboot the machine!). Bye. UP the Linux's --- Lovister LJ [EMAIL PROTECTED] ha scritto: I read somewhere in one of the help files in order to maximize our Linux box peformance, we should recompile it's kernel. I am interested in this and would like to find out how to do it. Thanks... _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. __ Do You Yahoo!? Il tuo indirizzo gratis e per sempre @yahoo.it su http://mail.yahoo.it
Re: [newbie] Kernel compiling?
http://www.pcworld.com/heres_how/article/0,1400,13702,00.html is a really good article on how to do it. I read somewhere in one of the help files in order to maximize our Linux box peformance, we should recompile it's kernel. I am interested in this and would like to find out how to do it. -- Anthony http://binaryfusion.net Computers are not intelligent. They only think they are.
[newbie] Kernel compiling?
I read somewhere in one of the help files in order to maximize our Linux box peformance, we should recompile it's kernel. I am interested in this and would like to find out how to do it. Thanks... _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.
Re: [[newbie] Kernel compiling?]
Yes, you can strip the needless features from it. Check out this page for help: http://www.linuxnewbie.org/nhf/intel/compiling/kernelcomp.html In addition to the commands used on that page, you can try: "bzlilo" - another automated lilo updater. "make install" - moves bvImage and System.Map and updates lilo. "make bzdisk" - makes bootfloppy for new kernel. Good Luck. Brent "Lovister LJ" [EMAIL PROTECTED] wrote: I read somewhere in one of the help files in order to maximize our Linux box peformance, we should recompile it's kernel. I am interested in this and would like to find out how to do it. Thanks... _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. Get your own FREE, personal Netscape WebMail account today at http://home.netscape.com/webmail