SPECS: kernel.spec (HEAD)

Jan Rekorajski baggins w sith.mimuw.edu.pl
Czw, 7 Sie 2003, 19:27:42 CEST


On Thu, 07 Aug 2003, Aredridel wrote:

> On Thu, 2003-08-07 at 11:04, baggins wrote:
> > Module name:	SPECS
> > Changes by:	baggins	03/08/07 19:04:08
> 
> With kernel-2.4.21-1.3, I have a problem at boot: module ide-probe-mod
> no longer exists.  If I build an initrd with:
> 
> 	geninitrd --with ide-detect /boot/initrd-2.4.21-1.3.gz \
> 		 2.4.21-1.3
> 
> I get undefined symbol errors when bsp does insmod on ide-detect
> 
> depmod shows no problem with ide-detect when system is booted:
> 
> 	depmod -a 2.4.21-1.3 -F /boot/System.map-2.4.21-1.3 && echo yes
> 
> gives "yes"

The IDE subsystem got a major rewrite in 2.4.21 and our tools are step
behind. If you want to use 2.4.21 you need to tell geninitrd exactly
what to do. Here is the recipe:

set in /etc/sysconfig/geninitrd:

PROBEIDE=no
PREMODS="ide-core <modules for your IDE chipsets here> ide-detect ide-disk"

then:
geninitrd --with-insmod-static /boot/initrd-2.4.21-1.3.gz 2.4.21-1.3

Warning - if you have modutils and module-init-tools you will have to
modify /sbin/geninitrd to use /sbin/insmod.static.modutils or get
geninitrd script from CVS module geninitrd.

Janek
-- 
Jan Rękorajski            |  ALL SUSPECTS ARE GUILTY. PERIOD!
baggins<at>mimuw.edu.pl   |  OTHERWISE THEY WOULDN'T BE SUSPECTS, WOULD THEY?
BOFH, MANIAC              |                   -- TROOPS by Kevin Rubio



Więcej informacji o liście dyskusyjnej pld-devel-pl