[ltp] custom kernel for SuSE 9.1

Home linux-thinkpad@linux-thinkpad.org
Wed, 04 Aug 2004 15:20:53 +0100





On Tue, 2004-08-03 at 17:36 -0400, Eben King wrote:
> I'm trying to make a custom kernel for my SuSE 9.1 system, which is an IBM
> Thinkpad T40 (1.4 GHz P4-M, 768 MB RAM, 25 (30?) GB HD).  The HD has 4
> primary partitions (no extended partitions).  The reason I'm doing this is
> to eliminate the drivers and options it uses for which I don't have the
> hardware support (i.e., almost all of them).  For instance, I don't have 
> RAID (nor is it feasible on this machine).
> The errors are similar to (similar
> because I'm copying by hand):


> hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error}
> hda: read_intr: error=0x10 { SectorIdNotFound }, LBASect=58542742, sector=58542742
> 
> That pair repeated, with occasional
> 
> ide0: reset: success
> 
> or
> 
> end_request: I/O error, dev hda, sector 58542742
> 
> thrown in.  LBASect and the two sectors are the same number.  (Is 58542742
> decimal or hex?  How big are the sectors?)  I didn't see them changing.  
> but they went by rather fast (even with a 60-line screen).  I don't
> suppose there's any way I could log that and retrieve it...
> 
> This drive works fine under the stock SuSE kernel and under XP, so it's
> not a hardware issue.


> Does anybody have any clues or pointers?  Thanks.
> 


I've done this quite easily but as ever when configuring a kernel its
easy to leave out vital options.

Best option with SuSE I've found is:

1) Make mrproper
2) Make cloneconfig - copies running kernel
3) Make menuconfig - make changes as required
4) Make bzImage, modules etc

If you keep on getting these problems then I'd suggest you remove your
kernel source & reinstall - mine recently got mildly trashed as the YoU
patched it - remove it - reinstall from disk then You and you're back in
action.