How to make kernel package???
I tried to compile 2.6 kernel several times but anyone success
Then I install the 2.6 serieskernel package in test direction it was very easy but Im using a centrino laptop and that kernel does not support acpid and intel speedstep so these features are so important then I decided to make a kernel package that includes ipw2200 driver speedstep support and acpi support.The important point is here... HOW CAN I DO THİS OR CAN ANYONE DO THİS FOR ME AND ANYOTHERS LİKE ME |
The first thing to do is to compile the kernel to your specifications. Then you'll need to copy all the binaries and other stuff (don't forget the modules) to an out of the way directory, write the install, configuration, and onlyonce scripts, and then run makepkg to bundle it up. You can read the makepkg man page for more details.
|
Well, you probably should learn how to make build scripts if your going to use Slackware. They come in handy. I make my own kernel packages as well and I guess I could post mine. I group kernel-ide and kernel-modules into one package (kernel+)... It's not the true Slackware way of making kernel packages.. I just prefer it this way.
Don't prematurely kill the script with the if/then's still there. It will leave your system non-bootable unless you rename those directories... You'll need your .config in the same directory only named config-$VERSION. I'm not going to break it down any further. This is just meant as an example of how you COULD do it... Code:
#!/bin/sh |
|
@SqdnGuns
The link is broken @jong357 I thing it's so comlicated and ý cant do this and ý have a question :) Is There Anybody To Do This Job For Me and Others like me (PLEASEee)? Last question : When ý boot my freshly compiled kernel it stops and the last line is "mac adress A0 B2 bla blaa" where ý am wrong How did I build my kernel 1. copy the kernelsource to usr/src 2.extract it 3.ln -s linux2.6.. /linux 4.cd linux 5.make mrproper 6.copy the existing config file to source dir 7.make menuconfig (add speedstep and acpi support) 8.make -j5 bzImage 9.make -j5 modules 10. make modules install 11. /usr/src/linux# cp System.map /boot/System.map-2.6.13 /usr/src/linux# cp .config /boot/config-2.6.13 /usr/src/linux# cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.6.13 12. /boot# rm System.map /boot# rm config /boot# rm vmlinuz 13. /boot# ln -s System.map-2.6.13 System.map /boot# ln -s config-2.6.13 config /boot# ln -s vmlinuz-2.6.13 vmlinuz and last boot# generate-modprobe.conf /etc/modprobe.conf ofcourse I chanced my liloconf and then run lilo where is the problem ý did all of theese steps but.... |
I think you should do
Code:
make oldconfig |
Quote:
|
Seems you have to copy/paste that link into your address bar...
Quote:
After this, you aught to browse thru some Slackware build scripts and try to understand them... It will help you in the long run. |
Also...
Quote:
|
Quote:
and one more thing ; I installed ipw2200 driver before compiling the new kernel and edited initrd to use dhcp you mean the problem was becouse of this Iam sory about the link it's working And thanks for the link |
I decide to compile the kernel last time by the link and i need a good .config file for my hardware
my hardware is MSI M510A notebook centrino 1.6 ipw2200 wireless rodeon 9700 64mb ram .. ... |
Use the standard kernel config file and just add in the support you need, instead of starting from scratch.
|
today I tried to compile the kernel(by the guide of xushi) again
I used default .config file and add ssome features like centrino support,ntfs support acpi support pcmci and mmccard support...... but again and again the same problem what is it??? fatal modul agpgart not found fatal modul psmouse not found last line:mac adress a0 b3 .... |
Quote:
and i installed it but the problem is same :confused: :confused: :confused: I thing its abaut .config file i need a config file :eek: :eek: :eek: |
I would say there is nothing wrong with your config except that you should probably build the PS2 mouse module into the kernel. I have to do that as well or my mouse won't work as a module.
It sounds to me as if this is an ipw issue. I don't have one of those cards so I can't help you out. Do you need firmware or anything to go along with the driver? Is the driver in the kernel or are you using the sourceforge version? It has to be with that if it's stopping on your MAC address. Can't be anything else... Diasable your network from coming up on boot and it will probably start up fine. Then try working on your problem from within the new kernel. |
I made a kernel2.6.13.2 package with your script and this time it was successfull
I succesfully installed it but.... I have some problems again 1-)I installed ipw2200 driver when i tyepe iwconfig i can see wireless extensions on eth0 Then i edit inet1.conf like this "eth0 use dhcpd "yes" " then I reboot my machine and while booting it freezed at activating hotplug 2-)here is a part of my kernel config file # # CPU Frequency scaling # CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_TABLE=y # CONFIG_CPU_FREQ_DEBUG is not set CONFIG_CPU_FREQ_STAT=m CONFIG_CPU_FREQ_STAT_DETAILS=y # CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y CONFIG_CPU_FREQ_GOV_PERFORMANCE=m CONFIG_CPU_FREQ_GOV_POWERSAVE=m CONFIG_CPU_FREQ_GOV_USERSPACE=y CONFIG_CPU_FREQ_GOV_ONDEMAND=m CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m # # CPUFreq processor drivers # CONFIG_X86_ACPI_CPUFREQ=y CONFIG_X86_POWERNOW_K6=m CONFIG_X86_POWERNOW_K7=m CONFIG_X86_POWERNOW_K7_ACPI=y CONFIG_X86_POWERNOW_K8=m CONFIG_X86_POWERNOW_K8_ACPI=y CONFIG_X86_GX_SUSPMOD=m CONFIG_X86_SPEEDSTEP_CENTRINO=y CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI=y CONFIG_X86_SPEEDSTEP_CENTRINO_TABLE=y CONFIG_X86_SPEEDSTEP_ICH=y CONFIG_X86_SPEEDSTEP_SMI=m CONFIG_X86_P4_CLOCKMOD=m CONFIG_X86_CPUFREQ_NFORCE2=m CONFIG_X86_LONGRUN=m CONFIG_X86_LONGHAUL=m As you see i compiled the cpufreq options builtin to the kernel but my cpu always run 1600mhz whyyy how can i enable speedstep How can i solve this problems..... THANKsSSS very much.... |
Quote:
# Initialize the hotplugging subsystem for Cardbus, IEEE1394, PCI, and USB devices: #if [ -x /etc/rc.d/rc.hotplug -a -r /proc/modules ]; then #Don't run hotplug if 'nohotplug' was given at boot. #if ! grep nohotplug /proc/cmdline 1> /dev/null 2> /dev/null ; then #echo "Activating hardware detection: /etc/rc.d/rc.hotplug start" #. /etc/rc.d/rc.hotplug start #fi #fi |
Yea, I prefer to:
chmod 644 /etc/rc.d/rc.hotplug Quick and easy. You might want to prepare yourself to enable it again tho. I wouldn't set that in stone (determining that hotplug is a problem). You also need to edit /etc/rc.d/rc.wireless.conf too.... Are you forgeting about that? Ignore your kernel for now. As I said ealier, I don't think that is the problem. Sounds as if you haven't fully setup your pcmcia card yet. You need to define an access point, wep key (if any) and one or 2 other things. That's all done from /etc/rc.c/rc.wireless.conf |
Thanks to all of you for
At the end I successfuly compiled a kernel (ıam not good at making kernel package) Again and again i have some questions to ask you How can i configurate cpufreqd to start at boot İ installed ati drivers end then run fglrxconfig then my x server works successfull but without 3d support when i type #lsmod i can see fglrx,agpgart and intel agp module... how can i solve these problemss |
Quote:
am I right? |
All times are GMT -5. The time now is 10:08 PM. |