Re: Kernel Patch and Config Issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2008/10/9 Phil C <hpypenguin.lists@xxxxxxxxx>:
> I am having two issues with compiling my kernel. I am using 2.6.26 source.
>
> The first issue has to do with config and mkinitramfs. I have been
> messing with kernel to see what happens in different situations and I
> can't figure out why my expectation is different from the outcome
> here. The steps I'm using are;
>
> make mrproper
>
> make allmodconfig
>
> make
>
> make modules_install
>
> make install
>
> mkinitramfs-kpkg -o /boot/img-2.6.26 2.6.26
>
> I anticipate the outcome to be that I will have all drivers loaded as
> modules yet my wireless network card won't work. I was under the
> impression that mkinitramfs without options would load all modules at
> boot, is this not the case? If not what steps would I need to take to
> ensure that all modules are loaded at boot.

the modules loaded at boot are controlled by /etc/modules  (or
/etc/modules.conf), not by initramfs.
please have a look at man modules or man modules.conf

> The other issue is with patching. I am attempting to patch the source
> with the -5 patch using the command;
>
> patch -p1 < patch-2.6.26-5.tar.gz
>
> from the top level of the source tree. I get an error saying that the
> entire patch is garbage. I checked the man page for patch already and
> didn't see anything to suggest that I was doing the wrong thing here
> so I'm pretty confused on this one.

well, you file is gzipped, try :
bzcat patch-2.6.26-5.tar.gz | patch -p1
or
gunzip --stdout patch-2.6.26-5.tar.gz | patch -p1

> Thanks in advance for the help
>
>  - Phil C


richard
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux