Bug 13542 - kernel does not boot if it was installed with kernel 2.6.30
Summary: kernel does not boot if it was installed with kernel 2.6.30
Status: RESOLVED CODE_FIX
Alias: None
Product: File System
Classification: Unclassified
Component: JFS (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Dave Kleikamp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-15 07:20 UTC by Alex
Modified: 2009-06-16 19:08 UTC (History)
0 users

See Also:
Kernel Version: 2.6.30
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
jfs: fix regression preventing coalescing of extents (1.15 KB, patch)
2009-06-16 19:07 UTC, Dave Kleikamp
Details | Diff

Description Alex 2009-06-15 07:20:38 UTC
I had 2.6.29.4 gentoo kernel. I wanted to try 2.6.30 kernel. I installed gentoo-sources-2.6.30.ebuild (it is 2.6.30 kernel + fbcondecor patch) and compiled bzImage, compiled modules, installed modules. I copied bzImage into /boot dir. I have grub installed, boot partition is jfs. I added the entry into grub.conf, restarted system. The system is loaded ok. I changed the kernel config and recompiled the kernel. Next the same: I copied bzImage into /boot dir, restarted system. Grub was not able to load kernel. No any error messages, pc was restarted automatically. bzImage was copied ok I checked it.

I booted with gentoo-livecd, mount my boot partition and copied bzImage again, restarted the system. The system is loaded ok. 

So I think the problem in new jfs code (The problem in the copying of bzImage under 2.6.30 kernel).
Comment 1 Alex 2009-06-15 07:24:21 UTC
I saw the same problem on German forum for Arch Linux. So I think Gentoo is not reason.
Comment 2 Dave Kleikamp 2009-06-15 15:35:42 UTC
Strange problem.  I can't imagine any of the changes between 2.6.29 and 2.6.30 making any difference to how jfs will lay out a file on disk.  Since you checked the copied bzImage, I'm guessing the problem is likely to be in grub, although I'm curious what what might have triggered it.

Can you point me to the German Arch Linux forum?  I'd like to see how similar the details are.

Thanks,
Shaggy
Comment 3 Alex 2009-06-15 15:57:19 UTC
http://sidux.com/PNphpBB2-viewtopic-t-16583.html

:) but it is for Sidux not Arch.
Comment 4 Dave Kleikamp 2009-06-16 19:07:44 UTC
Created attachment 21943 [details]
jfs: fix regression preventing coalescing of extents

A change I made in 2.6.30 introduced a problem where each extent was created with a length of one block.  I guess grub can't handle a file with too many extents.  This one-line patch fixes the problem.

Thanks for reporting this!

Note You need to log in before you can comment on or make changes to this bug.