Re: [Cooker] mkinitrd-3.1.6-18mdk.i586.rpm (still the same error.)

2002-01-17 Thread Guillaume Cottenceau

Chmouel Boudjnah <[EMAIL PROTECTED]> writes:

> > ?? But kmod will load "loop.o" when mkinitrd mount -o loop the
> > initrd... normally ??
> 
> Remember if rpm -e, the module is not here anymore.

Of course, /me stupid, sorry.

But I have an excuse :-), I don't experience any trouble like
that for ages on my machines since:

[gc@obiwan ~] cat /etc/modules
vfat
loop
floppy
nls_cp437
nfsd



-- 
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/




Re: [Cooker] mkinitrd-3.1.6-18mdk.i586.rpm (still the same error.)

2002-01-17 Thread Guillaume Cottenceau

Chmouel Boudjnah <[EMAIL PROTECTED]> writes:

> It's loaded before uninstalling the kernel :
> 
> chmou@giants|~| rpm -q --scripts kernel-2.4.17.2mdk-1-1mdk|grep -i loop
> /sbin/modprobe loop 2> /dev/null > /dev/null
> 
> To be sure the user can regenerate an initrd...

?? But kmod will load "loop.o" when mkinitrd mount -o loop the
initrd... normally ??


-- 
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/




Re: [Cooker] mkinitrd-3.1.6-18mdk.i586.rpm (still the same error.)

2002-01-17 Thread Chmouel Boudjnah

Guillaume Cottenceau <[EMAIL PROTECTED]> writes:

> Chmouel Boudjnah <[EMAIL PROTECTED]> writes:
>
>> It's loaded before uninstalling the kernel :
>> 
>> chmou@giants|~| rpm -q --scripts kernel-2.4.17.2mdk-1-1mdk|grep -i loop
>> /sbin/modprobe loop 2> /dev/null > /dev/null
>> 
>> To be sure the user can regenerate an initrd...
>
> ?? But kmod will load "loop.o" when mkinitrd mount -o loop the
> initrd... normally ??

Remember if rpm -e, the module is not here anymore.

-- 
http://www.linux-mandrake.com/en/club/




Re: [Cooker] mkinitrd-3.1.6-18mdk.i586.rpm (still the same error.)

2002-01-17 Thread Chmouel Boudjnah

Reinhard Katzmann <[EMAIL PROTECTED]> writes:

> Hi Guillaume,
>
> On Thu, Jan 17, 2002 at 01:09:37PM +0100, Guillaume Cottenceau wrote:
>> Reinhard Katzmann <[EMAIL PROTECTED]> writes:
>> > Another bug (I did install the newest devfsd from 1.3.18, but not yet
>> > reboot, maybe this cures the problem):
>> > loop.o module is not loaded (modprobe) with the current version.
>> 
>> Why should it take the "loop.o" module anyway?
>
> Because otherwise there is no /dev/loop# device accessable, so the
> initrd image can not be created. (Maybe the mdk kernel do include
> the loop support in the kernel, I'm one of those who like to have
> as much stuff as possible outside the kernel, I don't usually need
> the loopback device).

It's loaded before uninstalling the kernel :

chmou@giants|~| rpm -q --scripts kernel-2.4.17.2mdk-1-1mdk|grep -i loop
/sbin/modprobe loop 2> /dev/null > /dev/null

To be sure the user can regenerate an initrd...

-- 
http://www.linux-mandrake.com/en/club/




Re: [Cooker] mkinitrd-3.1.6-18mdk.i586.rpm (still the same error.)

2002-01-17 Thread Reinhard Katzmann

Hi Guillaume,

On Thu, Jan 17, 2002 at 01:09:37PM +0100, Guillaume Cottenceau wrote:
> Reinhard Katzmann <[EMAIL PROTECTED]> writes:
> > Another bug (I did install the newest devfsd from 1.3.18, but not yet
> > reboot, maybe this cures the problem):
> > loop.o module is not loaded (modprobe) with the current version.
> 
> Why should it take the "loop.o" module anyway?

Because otherwise there is no /dev/loop# device accessable, so the
initrd image can not be created. (Maybe the mdk kernel do include
the loop support in the kernel, I'm one of those who like to have
as much stuff as possible outside the kernel, I don't usually need
the loopback device).

Regards,

Reinhard
-- 
Software-Engineer, Developer for Embedded Devices
Project: HyperPen Tablet USB Driver for Linux 
GnuPG Public Key available on request



msg51417/pgp0.pgp
Description: PGP signature


Re: [Cooker] mkinitrd-3.1.6-18mdk.i586.rpm (still the same error.)

2002-01-17 Thread Guillaume Cottenceau

Reinhard Katzmann <[EMAIL PROTECTED]> writes:

> But it's still damn slow, on my AMD-K62 500 Mhz system it took
> I think about a minute to build the initrd image...
> It was already slow since 16mdk, but I did not notice it that
> much before on my AMD Duron Laptop.

I'll take care of that.
 
> Another bug (I did install the newest devfsd from 1.3.18, but not yet
> reboot, maybe this cures the problem):
> loop.o module is not loaded (modprobe) with the current version.

Why should it take the "loop.o" module anyway?
 
> And a final problem: Temporary files of initrd are not removed when
> a problem appears (like a missing loop device). Please remove them
> either on startup (better solution for debugging :) or after the
> error occured

I'll throw an eye but I don't promise anything.


-- 
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/




Re: [Cooker] mkinitrd-3.1.6-18mdk.i586.rpm (still the same error.)

2002-01-17 Thread Reinhard Katzmann

Hi Oden!

On Thu, Jan 17, 2002 at 02:10:38AM +0100, Oden Eriksson wrote:
> Hi,
> 
> This won't work:

It works fine on my system, all the modules previously taken from
the build path are now ignored.

But it's still damn slow, on my AMD-K62 500 Mhz system it took
I think about a minute to build the initrd image...
It was already slow since 16mdk, but I did not notice it that
much before on my AMD Duron Laptop.

Another bug (I did install the newest devfsd from 1.3.18, but not yet
reboot, maybe this cures the problem):
loop.o module is not loaded (modprobe) with the current version.

And a final problem: Temporary files of initrd are not removed when
a problem appears (like a missing loop device). Please remove them
either on startup (better solution for debugging :) or after the
error occured

With best regards,

Reinhard Katzmann
-- 
Software-Engineer, Developer for Embedded Devices
Project: HyperPen Tablet USB Driver for Linux 
GnuPG Public Key available on request



msg51402/pgp0.pgp
Description: PGP signature


[Cooker] mkinitrd-3.1.6-18mdk.i586.rpm (still the same error.)

2002-01-16 Thread Oden Eriksson

Hi,

This won't work:

fmPath=`(cd /lib/modules/$kernel; sh_find ./ $modName.o.gz | grep -v build)`

As the magic seems to happen in the "sh_find" function.

# sh_find  
sh_find() {
if [ -n "$2" ]; then [ -r $1$2 ] && echo $1$2; else echo "$1"*; fi
for i in "$1"*; do
[ -d $i ] && sh_find $i/ $2
done
}


It has to be something like:

IGNOREDIRS="build"

And a more clever "sh_find" function, I don't know how, I'm too tired right 
now... Why is there a "build" softlink in there anyway???

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| Oden Eriksson, Deserve-IT Networks/HFE Systems, Jokkmokk, Sweden.
| Mandrake Linux release 8.2 (Cooker) for i586
| Current uptime with kernel 2.4.17-5mdksmp: 1 day 47 minutes
| cpu0 @ 799.53 bm, fan 4591 rpm, temp +30°C
| cpu1 @ 801.17 bm, fan 4500 rpm, temp +29.5°C