Problem with upgrading kernel in d-i

2006-11-14 Thread Marcin Giedz

Hello,

I really don't know if this is right group (if not give me a hint where 
to put that) to send my question but I will try. Yesterday I compiled 
new kernel for etch installer. I added new section in 
isolinux/isolinux.cfg pointing my new kernel and initrd.

LABEL linux29
kernel /install/vmlinuz
append vga=normal initrd=/install/initrd.gz ramdisk_size=9920 
root=/dev/ram --




Next I produced new iso, burnt it and tried to install. D-i run ok but 
after "Begin: Waiting for root file system... ..." he stopped with 
message: "ALERT! /dev/ram does not exist. Dropping to a shell!"


I checked in /dev/ and there was no "ram" entry but "ram{0-9}".

What I did wrong? How can I fix it?

Best regards,
Marcin
ARISE


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: 2.6.18 installer

2006-11-16 Thread Marcin Giedz

Alexander Vlasov napisał(a):

Hello.
  

Hello,

This is quit normal operation, however nowadays I'm stacked with such error:
ALERT! /dev/ram does not exist during running new installer kernel 
but maybe you will fix it since NO ONE has answered my question :(


1) download debian installer iso
2) download new kernel e.g. I use recent 2.6.19rc5
3) unpack kernel to /usr/src/ :
tar jxf linux-xxx.bz2
4) change to /usr/src/ and create link in /usr/src
   cd /usr/src/; ln -s linux-xxx linux
5) copy kernel config file (2.6 version) from /boot/config- to 
/usr/src/linux

 cp /boot/config-xxx   /usr/src/linux/
6) make sure you have: kernel-package, initramfs-tools, fakeroot...if not
   apt-get install kernel-package initramfs-tools fakeroot
7) change directory to /usr/src/linux
   cd /usr/src/linux
8) run
   make menuconfig
9) if you want to add some new modules or something else do it now
10) exit kernel configer - save it
11) run
   fakeroot make-kpkg clean
12) run
   fakeroot make-kpkg --init --append-to-version-.20061116.01 kernel_image
13) go to make some coffee or take a rest ;)
14) after it's done you should have in /usr/src/ new kernel deb
15) change directory:
   cd ../
16) install new kernel into your running system to check if it's OK:
   dpkg -i linux-xx.20061116.01.deb
17) check grub menu file
   cat /boot/grub/menu.lst - you should have now new entry for your kernel
18) reboot system i use new kernel
19) if it goes OK - first stage DONE


20) create new directory for your debian installer iso file
   mkdir etch-temp
21) mount debian iso file to etch-temp
   mount debian-in.iso etch-temp -o loop
22) create new directory and copy almost everything from new-etch dir to 
the new one

   mkdir etch-new;
   rsync -av -H --delete --exclude=TRANS.TBL etch-temp/ etch-new/
23) change directory to etch-new
   cd etch-new
24) this is what I did to add new kernel to debian installer - I simply 
remove initrd and vmlinuz from install/ - these are from 2.4 kernel - I 
didn't need them

   rm install/vmlinuz
   rm install/initrd
25) copy previously installed new kernel to install/ directory
   cp /boot/vmlinuz-2.6.19x install/vmlinuz;
   cp /boot/initrd-2.6.19 install/initrd.gz;
26) add new entry into isolinux/isolinux.cfg

LABEL linux29
   kernel /install/vmlinuz
   append vga=normal initrd=/install/initrd.gz ramdisk_size=9920 
root=/dev/ram rw  --


. you may need to change/increase/decrease ramdisk_size if you added 
new modules or 


27) save isolinux/isolinux.cfg
28) create new iso file for debian
   mkisofs -o /root/new-etch.iso -r -J -no-emul-boot -boot-load-size 4 
-boot-info-table -b isolinux/isolinux.bin -c isolinux/boot.cat .

29) burn such created iso
30) run new etch debian installer
31) after it boots, type:
linux29
32) look what is happening now  if you pass
   Begin: Waiting for root file system
and you will not have ALERT! /dev/ram does not exist - you succeeded !!! 
However I failed on this stage and can't go further :(


But you can try anyway, maybe I did something wrong

Regards,
Marcin



Recently I received a server with Areca arc-1110 sata raid card; as far
as I can see, it's only supported by 2.6.18 kernel.
Can anyone point me to a Hdocument describing how to built custom
install image with 2.6.18 kernel and/or prebuilt netboot/iso with 2.6.18
kernel?

Thanks in advance.


  



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Problem with upgrading kernel in d-i

2006-11-16 Thread Marcin Giedz

Joey Hess napisał(a):

Marcin Giedz wrote:
  
I really don't know if this is right group (if not give me a hint where 
to put that) to send my question but I will try. Yesterday I compiled 
new kernel for etch installer. I added new section in 
isolinux/isolinux.cfg pointing my new kernel and initrd.


LABEL linux29
   kernel /install/vmlinuz
   append vga=normal initrd=/install/initrd.gz ramdisk_size=9920 
root=/dev/ram --


  
Next I produced new iso, burnt it and tried to install. D-i run ok but 
after "Begin: Waiting for root file system... ..." he stopped with 
message: "ALERT! /dev/ram does not exist. Dropping to a shell!"


I checked in /dev/ and there was no "ram" entry but "ram{0-9}".

What I did wrong? How can I fix it?



You may have built a kernel without the necessary initramfs support. You
also seem to be using an old iso image; current iso images do not set
root=/dev/ram.

  

Thanks Joey,

I will try tomorrow and let you know.

Regards,
Marcin


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Moving to 2.6.18

2006-11-19 Thread Marcin Giedz

Martin Michlmayr napisał(a):

Hello,

I realize that this message may not necessary be to you but I've just 
read this message and thought that I can try. My question is: is there a 
howto or something describing how to change debian installer kernel - 
the same what you did in this post? I've been looking for such document 
with no success. All documents are related to Sarge and seem to work 
with Etch. I want to update d-i etch kernel to 2.6.19rc because of new 
hardware I have on one of my intel servers.


Once again, I really sorry to bother you.
Regards,
Marcin


For the record, I've moved arm, mips and mipsel to 2.6.18-2 yesterday
and did some tests on mips/mipsel today:

 - r4k-ip22: ok
 - r5k-ip32: ok
 - cobalt: RTC not working but checking 2.6.17 I see it's a problem
   there too.  Will investigate.

d-i installed fine using 2.6.18 and after the installation I upgraded
from 2.6.17 (testing) to 2.6.18.  Again, worked fine but I only tested
that the systems boot correctly.
  



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]