[Cooker] initrd: serious issues

2002-02-15 Thread David Walluck

I just went through the latest net install. Due to unresolved symbols in 
certain modules, I cannot load my root filesystem, which is xfs.

The problem though, is the install is not creating initrd files for the 
new kernels it installs. I installed the 10-mdksecure kernel from the 
latest working Beta 2. This kernel is supposed to use its own initrd 
which should be free from the issues of the current non-working kernel 
(-17mdk), but it appears mounting on the root fs still fails.

Any ideas? Shouldn't the newly installed kernels be creating an initrd 
corresponding to that kernel version? I read about the modules problem 
probably being fixed in -18mdk, but this doesn't seem like the only 
issue if it still tries to use the initrd from my broken (-16mdk) 
kernel, which is currently the only initrd in my /boot direectory.

-- 
Sincerely,

David Walluck
[EMAIL PROTECTED]





Re: [Cooker] /initrd

2001-09-25 Thread Oden Eriksson

tisdagen den 25 september 2001 08.07 skrev du:
 Oden Eriksson [EMAIL PROTECTED] writes:
  Hi,
 
  I noticed a new directory that I haven't seen in previous MDK versions:
 
  drwxr-xr-x2 root root   48 Jun 21 14:32 initrd/
 
  Is this FHS ?

 no it's not, but this is mandatory with initrd..

Hmm..., maybe that's why I had some other boot problems when I removed the 
directory. I just thought it was a bug somewhere making this dir... When was 
this implemented and why?

On another local machine I run MDK7.2 with kernel-2.4.8-24mdk compiled on 
MDK7.2. This machine works fine without a /initrd directory. (it uses a 
initrd for the reiserfs module and a loop module).

-- 
Regards // Oden Eriksson




Re: [Cooker] /initrd

2001-09-25 Thread Oden Eriksson

tisdagen den 25 september 2001 10.15 skrev du:
 Oden Eriksson [EMAIL PROTECTED] writes:


 [...]

on MDK7.2. This machine works fine without a /initrd directory. (it
uses a initrd for the reiserfs module and a loop module).
  
   mkinitrd is different we need that to have ext3/xfs/jfs / filesystem
   (and we do a pivot_root) i'm sure gc can explain more about that.
 
  Ok thanks. I read the kernel docs about it and it seems complicated...  I
  will examine the latest mkinitrd script though.
 
  Anyhow... If this directory is so crucial for MDK8.1, its existence
  should be verified somewhere, maybe in the halt script, in lilo, in the
  installkernel script, linuxconf etc. Or is this done allready that I
  don't know of?

 No, it's not :-(.

 For post-8.1, my idea was to use a /lib/initrd directory so that people
 will not notice it and remove it by error.

Yes, a good idea.

 I don't know if it would be really nice to verify it in `halt', in lilo
 it's not possible, in the initrd I can't create it since we're mounted RO,
 and in installkernel it's not relevant since we seldomly run this script.

Why not verify and create if needed the /initrd dir from the mkinitrd 
script for now? That would be a quick fix, and maybe even notify the user NOT 
to delete the /initrd dir ;) 

I miss chattr for RFS...

-- 
Regards // Oden Eriksson




Re: [Cooker] /initrd

2001-09-25 Thread Tom Badran

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

  For post-8.1, my idea was to use a /lib/initrd directory so that people
  will not notice it and remove it by error.

 Yes, a good idea.

Would this still work if /usr is on a seperate partition (and different 
filesystem - like NFS maybe) to / ?

- -- 
Tom Tomahawk Badran
Department of Computing, Imperial College
- --
PGP Public key available from keyserver.pgp.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7sKq5XCpWOla2mCcRAmm/AKCN8zYZG4z63AkzV69NcUO9RXpe4QCeLSQb
TSc4H3GAX6BDyqONLxQ1xvo=
=TAsc
-END PGP SIGNATURE-




Re: [Cooker] /initrd

2001-09-25 Thread Yura Gusev

On Tue, 25 Sep 2001, Oden Eriksson wrote:

   I noticed a new directory that I haven't seen in previous MDK versions:
  
   drwxr-xr-x2 root root   48 Jun 21 14:32 initrd/
  
   Is this FHS ?
 
  no it's not, but this is mandatory with initrd..

I also have /swap directory. But i installed cooker 3 weeks ago.

-- 
  6:25pm  up 32 days,  7:28,  3 users,  load average: 0.43, 0.40, 0.27
__
 | /  \ |Iouri Goussev//  \\
\_\\  //_/   [EMAIL PROTECTED]   _\\()//_
 .'/()\'.   Foo-Bar / //  \\ \
   jgs\\  //   http://foobar.irc-unix.net| \__/ |
I am not 31337. But I can use the Vi editor... ;-0





Re: [Cooker] initrd for reiserfs

2001-04-13 Thread michael

On Friday 13 April 2001 09:44, you wrote:
 There seems to be no initrd's for the last few kernels. What a pain it was
 when I rebooted my laptop this morning only to find I forgot to make one.

What did you do?
I tried mkinitrd etc and it coudn't. Then when I tried to copy the result to 
a text file , Mandracrash and only a hard reboot worked, but then of course I 
couldn't get back in except thru an emergency disk which i can't access 
internet through.

Now i'm twiddeling.
-m-




Re: SOLVED: [Cooker] initrd too small (alpha, 2.4 kernel)

2000-12-22 Thread Chmouel Boudjnah

Stefan van der Eijk [EMAIL PROTECTED] writes:

 /sbin/mkinitrd seems to be a script... I changed 
 
 if [ `uname -m` = "ia64" ]; then
   IMAGESIZE=3000
 else
   IMAGESIZE=1500  
 
 into
 
 if [ `uname -m` = "ia64" -o "alpha" ]; then
   IMAGESIZE=3000
 else
   IMAGESIZE=1500
 
 Then it works...

i don't believe that you can have a 3mega floppy disk on alpha... ia64
has ls120 floppy disk..

-- 
MandrakeSoft Inc http://www.chmouel.org
  --Chmouel





Re: SOLVED: [Cooker] initrd too small (alpha, 2.4 kernel)

2000-12-22 Thread Stefan van der Eijk

 i don't believe that you can have a 3mega floppy disk on alpha... 
True... but with the 2.4 kernel it just won't fit in the 1.5Mb image...

anyway, nowadays most systems are installed  booted from CDrom /
harddisk...

 ia64 has ls120 floppy disk..
ls120 = IDE? If so, someone  with screwdriver skills could probably fit
one into an alpha...




Re: SOLVED: [Cooker] initrd too small (alpha, 2.4 kernel)

2000-12-21 Thread Neal Pitts

I had a similar issue when trying to install cooker via tftp for sparc.  
Maybe this script mod would work for me as well?

Good luck to me...

Stefan van der Eijk wrote:

 /sbin/mkinitrd seems to be a script... I changed 
 
 if [ `uname -m` = "ia64" ]; then
   IMAGESIZE=3000
 else
   IMAGESIZE=1500  
 
 into
 
 if [ `uname -m` = "ia64" -o "alpha" ]; then
   IMAGESIZE=3000
 else
   IMAGESIZE=1500
 
 Then it works...
 
 Stefan
 
 
 






[Cooker] initrd too small (alpha, 2.4 kernel)

2000-12-20 Thread Stefan van der Eijk

I'm trying to make an initrd on my alpha, this is what happens:

mkinitrd -f -v /boot/initrd-2.4.0-0.14mdk 2.4.0-0.14mdk
Using modules:  ./kernel/drivers/scsi/scsi_mod.o
./kernel/drivers/scsi/sd_mod.o ./kernel/drivers/scsi/qlogicisp.o
mke2fs 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09
/sbin/sash - /tmp/initrd.mXGMwz/bin/sash
/sbin/insmod.static - /tmp/initrd.mXGMwz/bin/insmod
/lib/modules/2.4.0-0.14mdk/./kernel/drivers/scsi/scsi_mod.o -
/tmp/initrd.mXGMwz/lib/scsi_mod.o
/lib/modules/2.4.0-0.14mdk/./kernel/drivers/scsi/sd_mod.o -
/tmp/initrd.mXGMwz/lib/sd_mod.o
/lib/modules/2.4.0-0.14mdk/./kernel/drivers/scsi/qlogicisp.o -
/tmp/initrd.mXGMwz/lib/qlogicisp.o
Loading module scsi_mod with options
Loading module sd_mod with options
Loading module qlogicisp with options
tar: ./bin/insmod: Cannot write: No space left on device
tar: ./etc/: Cannot mkdir: No space left on device
tar: ./dev/: Cannot mkdir: No space left on device
tar: ./dev/console: Cannot mknod: No such file or directory
tar: ./dev/null: Cannot mknod: No such file or directory
tar: ./dev/ram: Cannot mknod: No such file or directory
tar: ./dev/systty: Cannot mknod: No such file or directory
tar: ./dev/tty1: Cannot mknod: No such file or directory
tar: ./dev/tty2: Cannot mknod: No such file or directory
tar: ./dev/tty3: Cannot mknod: No such file or directory
tar: ./dev/tty4: Cannot mknod: No such file or directory
tar: ./loopfs/: Cannot mkdir: No space left on device
tar: ./linuxrc: Cannot write: No space left on device
tar: Error exit delayed from previous errors

When I then mount the initrd it produced, the filesystem is 100% full.
Are there any ways to let mkinitrd make a a larger (2.88Mb?) image?

TIA,

Stefan




SOLVED: [Cooker] initrd too small (alpha, 2.4 kernel)

2000-12-20 Thread Stefan van der Eijk

/sbin/mkinitrd seems to be a script... I changed 

if [ `uname -m` = "ia64" ]; then
  IMAGESIZE=3000
else
  IMAGESIZE=1500  

into

if [ `uname -m` = "ia64" -o "alpha" ]; then
  IMAGESIZE=3000
else
  IMAGESIZE=1500

Then it works...

Stefan




Re: [Cooker] initrd question

2000-05-09 Thread Chmouel Boudjnah

Magnus Holmberg [EMAIL PROTECTED] writes:

 I try to make a initrd with mkinitrd /boot/initrd.img 2.2.15-2mdk
 
 And I get: No module reiserfs found for kernel 2.2.15-2mkd ?
 
 Why do I need to have resierfs in the initrd 
 (I have reiserfs in the kernel so this thing is stupid)

(chmou@kenobi)[tmp/]-% rpm -qpl /RPMS/kernel-2.2.15-2mdk.i586.rpm |grep reiser
/lib/modules/2.2.15-2mdk/fs/reiserfs.o
(chmou@kenobi)[tmp/]-% 

what do you have in your /etc/conf.modules ?

-- 
MandrakeSoft Inchttp://www.mandrakesoft.com
In travel.--Chmouel




Re: [Cooker] initrd question

2000-05-09 Thread Magnus Holmberg


I have just my scsi-host adapter and nothing about reiserfs.
(but mabe mkinitrd checks in /etc/fstab ?)
Btw. mkinitrd is a shell-script so it would be nice if it have the
--without=module  option.

/M


On 9 May 2000, Chmouel Boudjnah wrote:

 Magnus Holmberg [EMAIL PROTECTED] writes:
 
  I try to make a initrd with mkinitrd /boot/initrd.img 2.2.15-2mdk
  
  And I get: No module reiserfs found for kernel 2.2.15-2mkd ?
  
  Why do I need to have resierfs in the initrd 
  (I have reiserfs in the kernel so this thing is stupid)
 
 (chmou@kenobi)[tmp/]-% rpm -qpl /RPMS/kernel-2.2.15-2mdk.i586.rpm |grep reiser
 /lib/modules/2.2.15-2mdk/fs/reiserfs.o
 (chmou@kenobi)[tmp/]-% 
 
 what do you have in your /etc/conf.modules ?
 




Re: [Cooker] initrd question

2000-05-09 Thread Pixel

Magnus Holmberg [EMAIL PROTECTED] writes:

 I have just my scsi-host adapter and nothing about reiserfs.
 (but mabe mkinitrd checks in /etc/fstab ?)

it does.

 Btw. mkinitrd is a shell-script so it would be nice if it have the
 --without=module  option.
 

open mkinitrd, and add it to IGNOREMODS.

or use the new mkinitrd i'm just uploading, and do:

IGNOREMODS=reiserfs mkinitrd ...




Re: [Cooker] initrd question

2000-05-09 Thread Sergio Korlowsky




On Tue, 9 May 2000, Magnus Holmberg wrote:
 Date: Tue, 9 May 2000 04:59:00 +0200 (CEST)
 To: Mandrake Cooker [EMAIL PROTECTED]
 From: Magnus Holmberg [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Subject: [Cooker] initrd question
 
 
 I try to make a initrd with mkinitrd /boot/initrd.img 2.2.15-2mdk
 
 And I get: No module reiserfs found for kernel 2.2.15-2mkd ?
 
 Why do I need to have resierfs in the initrd 
 (I have reiserfs in the kernel so this thing is stupid)
 
 /M
 

are you totally sure you have kernel 2.2.15-2 (?)
I have installed 7.1 Beta 2 and it has kernel 2.2.15-0.28mdk  
that could be a good reason  ;-)

Sergio 




Re: [Cooker] initrd question

2000-05-09 Thread Magnus Holmberg

On Tue, 9 May 2000, Sergio Korlowsky wrote:

 
 
 
 On Tue, 9 May 2000, Magnus Holmberg wrote:
  Date: Tue, 9 May 2000 04:59:00 +0200 (CEST)
  To: Mandrake Cooker [EMAIL PROTECTED]
  From: Magnus Holmberg [EMAIL PROTECTED]
  Reply-To: [EMAIL PROTECTED]
  Subject: [Cooker] initrd question
  
  
  I try to make a initrd with mkinitrd /boot/initrd.img 2.2.15-2mdk
  
  And I get: No module reiserfs found for kernel 2.2.15-2mkd ?
  
  Why do I need to have resierfs in the initrd 
  (I have reiserfs in the kernel so this thing is stupid)
  
  /M
  
 
 are you totally sure you have kernel 2.2.15-2 (?)
 I have installed 7.1 Beta 2 and it has kernel 2.2.15-0.28mdk  
 that could be a good reason  ;-)

Im dam sure
#uname -r
2.2.15-2mdk

You havn't ypgraded for some days.. Both -1mdk and -2mdk has been relised.

/M


 
 Sergio 
 

-- 
_|_|_|_|_|_|_|_|  _|_|_|_|
_|_|  _|_|  _|_|  _|_|_|
_|_|_|_|_|  _|_|_|  _|_|
_|_|_|  _|_|  _|_|_|
_|  _|_|  _|_|_|  _|_|_|_|
 
 
 --==**  LIVETS VATTEN  **==--   




[Cooker] initrd question

2000-05-08 Thread Magnus Holmberg


I try to make a initrd with mkinitrd /boot/initrd.img 2.2.15-2mdk

And I get: No module reiserfs found for kernel 2.2.15-2mkd ?

Why do I need to have resierfs in the initrd 
(I have reiserfs in the kernel so this thing is stupid)

/M