Suse and kernel compiling
Hi,
I just grabbed the latest snapshot from kernel.org with git,
successfully patched it with the UDF 2.5 patch as I want my HD DVD drive
to be readable and I was wondering if someone could step me through
compiling it, and getting the initrd right and grub.
I used make menuconfig, but did not use make mrproper first. Should I
have done that?
I also succeeded with make install (seemingly, though I did not make
rpms), but mkinitrd used some strange volume identifier, so the boot
fails when it looks for that odd volume. It is as if I was supposed to
specify something during mkinitrd but didn't do so.
Grub got updated right though, and the new kernel stanza is there and a
failsafe selection. My old kernel selection works, but the new one fails
after it loads vmlinuz, etc.
Re: Suse and kernel compiling
On Sun, 07 Oct 2007 04:14:36 -0700, UltimatePatriot
<UltimatePatriot@thebestcountry.org> wrote:
[color=blue]
>
> Hi,
>
> I just grabbed the latest snapshot from kernel.org with git,
>successfully patched it with the UDF 2.5 patch as I want my HD DVD drive
>to be readable and I was wondering if someone could step me through
>compiling it, and getting the initrd right and grub.
>
> I used make menuconfig, but did not use make mrproper first. Should I
>have done that?
>
> I also succeeded with make install (seemingly, though I did not make
>rpms), but mkinitrd used some strange volume identifier, so the boot
>fails when it looks for that odd volume. It is as if I was supposed to
>specify something during mkinitrd but didn't do so.
>
> Grub got updated right though, and the new kernel stanza is there and a
>failsafe selection. My old kernel selection works, but the new one fails
>after it loads vmlinuz, etc.[/color]
OK. The how-tos I have found are a little help.
It seems I forgot to do my make deps, among other things.
I'll do some more reading and update, and or ask for help later.
Thanks.
Re: Suse and kernel compiling
UltimatePatriot wrote:
[color=blue]
> On Sun, 07 Oct 2007 04:14:36 -0700, UltimatePatriot
> <UltimatePatriot@thebestcountry.org> wrote:
>[color=green]
>>
>> Hi,
>>
>> I just grabbed the latest snapshot from kernel.org with git,
>>successfully patched it with the UDF 2.5 patch as I want my HD DVD drive
>>to be readable and I was wondering if someone could step me through
>>compiling it, and getting the initrd right and grub.
>>
>> I used make menuconfig, but did not use make mrproper first. Should I
>>have done that?
>>
>> I also succeeded with make install (seemingly, though I did not make
>>rpms), but mkinitrd used some strange volume identifier, so the boot
>>fails when it looks for that odd volume. It is as if I was supposed to
>>specify something during mkinitrd but didn't do so.
>>
>> Grub got updated right though, and the new kernel stanza is there and a
>>failsafe selection. My old kernel selection works, but the new one fails
>>after it loads vmlinuz, etc.[/color]
>
>
> OK. The how-tos I have found are a little help.
>
> It seems I forgot to do my make deps, among other things.
>
> I'll do some more reading and update, and or ask for help later.
>
> Thanks.[/color]
What about the openSUSE's official kernel 2.6.22 series? Does that have the
UDF 2.5 patch applied? If not, you could download the kernel-source rpm and
apply the patch. Then all you would need to do is: make && make
modules_install && make install
I get the 2.6.22 kernel-source rpm from here:
[url]http://software.opensuse.org/download/Kernel:/HEAD/openSUSE_Factory/[/url]
It's a repo so it can be added to Smart or Yast (I don't use Yast though).
--
Chris
Re: Suse and kernel compiling
On Sun, 07 Oct 2007 13:36:32 GMT, Chris
<chris@thisisnotanemailaddress.ca> wrote:
[color=blue]
>UltimatePatriot wrote:
>[color=green]
>> On Sun, 07 Oct 2007 04:14:36 -0700, UltimatePatriot
>> <UltimatePatriot@thebestcountry.org> wrote:
>>[color=darkred]
>>>
>>> Hi,
>>>
>>> I just grabbed the latest snapshot from kernel.org with git,
>>>successfully patched it with the UDF 2.5 patch as I want my HD DVD drive
>>>to be readable and I was wondering if someone could step me through
>>>compiling it, and getting the initrd right and grub.
>>>
>>> I used make menuconfig, but did not use make mrproper first. Should I
>>>have done that?
>>>
>>> I also succeeded with make install (seemingly, though I did not make
>>>rpms), but mkinitrd used some strange volume identifier, so the boot
>>>fails when it looks for that odd volume. It is as if I was supposed to
>>>specify something during mkinitrd but didn't do so.
>>>
>>> Grub got updated right though, and the new kernel stanza is there and a
>>>failsafe selection. My old kernel selection works, but the new one fails
>>>after it loads vmlinuz, etc.[/color]
>>
>>
>> OK. The how-tos I have found are a little help.
>>
>> It seems I forgot to do my make deps, among other things.
>>
>> I'll do some more reading and update, and or ask for help later.
>>
>> Thanks.[/color]
>
>What about the openSUSE's official kernel 2.6.22 series? Does that have the
>UDF 2.5 patch applied? If not, you could download the kernel-source rpm and
>apply the patch. Then all you would need to do is: make && make
>modules_install && make install
>
>I get the 2.6.22 kernel-source rpm from here:
>
>[url]http://software.opensuse.org/download/Kernel:/HEAD/openSUSE_Factory/[/url]
>
>It's a repo so it can be added to Smart or Yast (I don't use Yast though).[/color]
I even found the most recent on a suse site of 2.6.23-rc9 from a mere
day or so ago.
But yes, the patch will apply from the feedback I saw on sourceforge.
[url]http://sourceforge.net/tracker/index.php?func=detail&aid=1795804&group_id=295&atid=300295[/url]
Re: Suse and kernel compiling
On 2007-10-07 13:14, UltimatePatriot wrote:[color=blue]
> Hi,
>
> I just grabbed the latest snapshot from kernel.org with git,
> successfully patched it with the UDF 2.5 patch as I want my HD DVD drive
> to be readable and I was wondering if someone could step me through
> compiling it, and getting the initrd right and grub.
>
> I used make menuconfig, but did not use make mrproper first. Should I
> have done that?
>
> I also succeeded with make install (seemingly, though I did not make
> rpms), but mkinitrd used some strange volume identifier, so the boot
> fails when it looks for that odd volume. It is as if I was supposed to
> specify something during mkinitrd but didn't do so.
>
> Grub got updated right though, and the new kernel stanza is there and a
> failsafe selection. My old kernel selection works, but the new one fails
> after it loads vmlinuz, etc.[/color]
The FIRST think to do is make cloneconfig
If you don't clone your current kernel, it's
easy to forget some features needed to boot or mkinitrd.
Then mrproper and menuconfig
/bb