I had similar problems, including a kernel oops when mkinitrd went to mount
the loopback device. The problem appears to be in the kernel source
packaging - when I downloaded the "reference" kernel source from kernel.org
and recompile all was well - but then, I customize the heck out of my
kernels.The mdk kernel dists seemed OK, but I had my own configuration
issues in other places (devfs, reiserfs).
To ramble on a bit more...
The arch/ directory seems to be missing a lot of code in the kernel-source
RPMs. In addition, the PCMCIA configs are only half there - at minimum the
PCMCIA modem and network driver modules should be genned (pcnet_cs, for
example). Lastly, realize that now that PCMCIA base is in the kernel it's a
bit different configuration-wise - in /etc/sysconfig/pcmcia there's three
(four?) choices for the PCIC module (yenta-socket, i82365, (hd64465_ss?), or
tcic) and it must match the hardware.
Hope I'm helping and not just chattering...
Gio (Paul Giordano)
----- Original Message -----
From: "Stefan van der Eijk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 12, 2001 12:25 AM
Subject: Re: [Cooker] error running mkinitrd
> Pixel wrote:
> >
> > root <[EMAIL PROTECTED]> writes:
> >
> > > Anyone know what would cause this error?
> > >
> > >
> > > # mkinitrd /boot/initrd-2.4.1-8mdksmp 2.4.1-8mdksmp
> > > error: -d option is not supported on Linux
> > > error: -d option is not supported on Linux
> > > Error creating temporaries. Try again
>
> > i've added a require for mktemp >= 1.5-9mdk so that it doesn't happen
again
> > (unless --nodeps is used :)
>
> mkinitrd seems to hang in mid-air now... I've got:
>
> [root@stefan /sbin]# rpm -qa | grep mkinit
> mkinitrd-2.7-2mdk
> [root@stefan /sbin]# rpm -qa | grep mktemp
> mktemp-1.5-9mdk
>
> But when I try to make the image it stops like this:
>
> [root@stefan /boot]# mkinitrd /boot/initrd-2.4.1-9mdk.img 2.4.1-9mdk
> mke2fs 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09
>
>
> doing an strace ends up with:
>
> stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> stat64("/sbin/mount", 0xbffff4c8) = -1 ENOENT (No such file or
> directory)
> stat64("/sbin/mount", 0xbffff4c8) = -1 ENOENT (No such file or
> directory)
> stat64("/usr/sbin/mount", 0xbffff4c8) = -1 ENOENT (No such file or
> directory)
> stat64("/bin/mount", {st_mode=S_IFREG|S_ISUID|0755, st_size=58640, ...})
> = 0
> stat64("/bin/mount", {st_mode=S_IFREG|S_ISUID|0755, st_size=58640, ...})
> = 0
> rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
> _llseek(255, -1761, [6478], SEEK_CUR) = 0
> fork() = 20586
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigaction(SIGINT, {0x80704b0, [], 0x4000000}, {SIG_DFL}, 8) = 0
> wait4(-1,
>
> Any idea's?
>
> Stefan
>