Fri, 14 Jul 2006

For those who care about the backported debian-installer -- kernel 2.6.16 version is released

Today I built the backported d-i image with kernel 2.6.16. I updated many codes also.

  • Applied 3.1r2 for the base.
  • Applied kernel 2.6.16-15bpo2 was taken from backports.org. This version has CVE-2006-2934/CVE-2006-2451 fixes.(thanks Norbert!)
  • Copied partitioner codes from unstable-installer. For example, you can choose LVM auto partitioner.
  • Included linux-headers-2.6.16-* in ISO.
  • Included megaraid_sas in initramfs-tools/hooks-functions. (I dunno whether this is correct or not..)
  • Package updates are introduced by kernel update and backports.org up-to-date: cdebconf, di-utils, grub, initramfs-tools, klibc, libdebian-installer, lsb-base, parted, rootskel, udev, yaird

You can download the image from backported d-i images portal.

Note: Although I'd tried 2.6.17 version once, finally I gave up. I succeeded to build kernel image from unstable source on Sarge. But linux-kbuild package, for linux-kernel-headers helper, was failed to build with gcc-3.3. Gcc-4.0 or above works, but they don't exist on Sarge.

(Don't nag me about CUPS... Most problems are upstream's matter and upstream is preparing 1.2.2 release at this time. I'll run again after it's released.)

Comments

linux-headers

HI,

Hi've try to install the linux-headers-2.6.16-* but i don't found it on the iso.

Where can i download it,

Thank's in advance and best regards!

Posted by argiz at 2006/07/17 (Mon) 04:56:56

Really? pool/main of sarge-custom-0714.iso has linux-headers-2.6.16-2-486_2.6.16-15bpo2_i386.deb, linux-headers-2.6.16-2-686-smp_2.6.16-15bpo2_i386.deb, ... and so on. dists/sarge/main/binary-i386/Packages has these informations also.

Posted by kmuto at 2006/07/17 (Mon) 10:29:20

upss!!

sorry,

you be right, ;-), thank's

Posted by argiz at 2006/07/18 (Tue) 03:48:41

/dev/cdrom hasn't been created before install so the installer was complaining about that.

had to to an
ln -s /dev/hda /dev/cdrom
manually

Posted by paha at 2006/07/18 (Tue) 05:57:57

Hi,

Congrats for the great work. I tried it last night and found few glitches and solutions:

* hardware detection in expert mode complains and fails to load modules. I manually modprobe-d sata_nv module and everything went fine :-)

* During the 2nd stage - package selection fails to install packages from sarge3.1r0a DVD. This has something to do package incompatibility. I can see the libc6 package installed by installer is causing this. Installer installs verrsion 2.3.2.ds1-22sarge3 while other packages require 2.3.2.ds1-22. To install desktop system, I had to remove perl-base and then reinstall it from the DVD. This caused further problems with locale settings because of libc6 version mismatch. But I am happy as my desktop system is runninng fine, even though I wouldn't be able to install libc6-dev and compile anything :-(

* forcedeth module identifies the NIC and I am able to assign the IP. mii-tool on other machine shows link up (both are connected with a cross cable), but I can not ping. Is it true that forcedeth driver for 32 bit OS can not run NIC on 64 bit hardware?

* I have installed alsa-base and alsamixer. My sound device is identified as HDA nVidia. Multimedia players show that they are playing but I do not get sound even though all the volume controllers are opened fully. ( I know this is not related to the installer, but I am mentioning here )

Overall a great work indeed and helpful for people who do not have a bandwidth at their place. Thanks again.

Posted by Nishant Sharma at 2006/07/18 (Tue) 13:10:17

It is possible to build the package linux-kbuild-2.6.17 with GCC-3.4 . But this is not the standardcompiler for Sarge :-(

Posted by Matthias Popp [KBDCALLS) at 2006/07/18 (Tue) 20:09:17

Matthias: yes, I noticed also. I succeeded it with bit tweaking Makefile.

Posted by kmuto at 2006/07/18 (Tue) 20:19:28

It is possible to build the package linux-kbuild-2.6.17 with GCC-3.4 . But this is not the standardcompiler for Sarge :-(

Posted by Matthias Popp [KBDCALLS) at 2006/07/18 (Tue) 20:25:18

Will there also be an amd64 image?

Posted by Bjoern Boschman at 2006/07/20 (Thu) 22:11:03

Will there also be an amd64 image?

Posted by Bjoern Boschman at 2006/07/20 (Thu) 23:35:16

Bjoern, I have amd64 machine for build, but not for test.
Can you try http://kmuto.jp/debian/d-i/2.6.16/amd64/sarge-custom-0722.iso ?

Posted by kmuto at 2006/07/22 (Sat) 14:12:54

d945 finally working !!

hello, thanks, for the image, i finally was able to install it on a intel d945gntl motherboard !!!

Thank you again, nice work !! you have to post it to the mail list in order for others to be able to check this !

keywords

945 d945 d945gtp d945gnt intel motherboard classic series debian linux sarge 3.1

Posted by linux fan at 2006/07/22 (Sat) 20:33:57

great work!

Saved me to be going mad!
I also tried building custom d-i images for sarge but I failed. I used kernel images from backports also ( 686 not 486 ) but I never got beyond the:
VFS panic unable to mount root fs on unknown block (0,0)
I followed the http://d-i.alioth.debian.org/svn/debian-installer/installer/doc/custom-kernel.txt
and the http://wiki.debian.org/DebianInstaller/Modify
howtos.

Posted by Tamas Horvath at 2006/07/27 (Thu) 06:50:09

Tamas, as you know it's bit hard to customize d-i to use a kernel from backports.org. The kernel uses udev instead of devfsd, so you need to update things around it, such as rootskel and udev-udeb. When you update d-i to use udev, partman needs to update. Futhermore you need to update base-installer to allow newer name scheme and initramfs-tools. kernel-wedge/linux-2.6-i386-di needs an update also. Wow!

All of my derivatives are in public on my SVN repository. (see the bottom of my d-i page)

Posted by kmuto at 2006/07/27 (Thu) 09:15:57

I downloaded sarge-custom-0714.iso and it got me going - thank you. Do you have an image for SMP?

Posted by Rob Hurle at 2006/07/27 (Thu) 11:28:05

Rob, -smp kernel will be installed automatically if the installer detects SMP correctly. Even if the installer won't detect, you can install -smp kernel from CD or www.backports.org repository. Or you can choose your prefer kernel at installer stage by booting d-i with "expert".

Posted by kmuto at 2006/07/27 (Thu) 11:34:28

raid software not operational

hi,
the raid software in partman is working for only 1 raid device, i wasn't able to create other raid (mirror) devices. i created devices names by hand (/dev/md1 -> /dev/md/1), but still no luck.

still, thanks for the work, i could install my too new server !

Posted by xavier at 2006/07/31 (Mon) 21:48:02

Hi kmuto,

I successfully used the 64-bit d-i ISO that you mentioned in a previous comment (http://kmuto.jp/debian/d-i/2.6.16/amd64/sarge-custom-0722.iso)
to install Debian on a Dell PowerEdge 2950 (with 2 dual-core Intel Xenon Dempsey processors). Three things required a little bit of extra effort:

1. The Broadcom NetXtreme II NIC wasn't autodetected, but the "bnx2" driver worked when I selected it.

2. The RAID controller (Perc5/i) wasn't autodetected. I switched to a console and ran "modprobe megaraid_sas" at the shell prompt, and then after re-running hardware detection, everything worked.

3. The uniprocessor kernel was installed instead of the SMP kernel. I'll just compile the kernel locally later.

Bravo! An excellent piece of work, especially given that you weren't able to test it.

Thank you very much. - Steve

Posted by Steve Rowe at 2006/08/02 (Wed) 01:42:44

Steve,

1. Could you add your hardware information to http://kmuto.jp/debian/hcl ?
Then we can add it into our discover database.
(I assume you can use it already after GRUB)
2. Yes, it's known issue. Today I uploaded sarge-custom-0801 image. (I modified
hw-detect to run update-dev)
3. Interesting. d-i checks SMP by running:
dmesg | grep -q "WARNING: NR_CPUS limit of 1 reached."
Hm, what's happen if you run following line from d-i shell:
dmesg | grep -q ^Processors:

Posted by kmuto at 2006/08/02 (Wed) 08:21:21

Hi,

1. I added my hardware info.
2. Thanks for the new d-i image. Unless I have trouble recompiling the kernel (using 2.6.17.7), I don't plan on testing it right now.
3. I can't boot into d-i right now, but from the uniprocessor kernel booted from the hard drive, I can see the following line several times in the output of dmesg (I added the quotation marks):
"WARNING: NR_CPUS limit of 1 reached. Processor ignored."

Steve

Posted by Steve Rowe at 2006/08/03 (Thu) 02:18:04

SATA SW-Raid upon installation

It appears that sarge-custom-0801.iso image still does not like to configure a SATA SW-RAID upon installation. It does not find the Raw Raid partitions.

A quick work-around for this I found was to do the following:
1) In the bios get the system to use your SATA disks temporarily in "compatible" mode.
2) Use the stock-standard Debian Sarge installer CD to create the Raw raid partitions and create the Raid volumes.
3) Once this is all written to disk (don't proceed with the installation after the disk info has been written) reboot with the machine
4) Set the bios back to use your SATA disks in "enhanced" mode
5) Use the back-ported installer from this site to proceed. You will find that you can proceed with the installation on SW-Raid now as you would have expected.

Possibly not the cleanest and most "correct" way of doing things, but it worked for me.

If there is a better way, please let me know....

Peter - Singapore

Posted by Peter at 2006/08/07 (Mon) 20:12:00

Hi. I just spent a Saturday afternoon tearing my hair out trying to fiugre out how to get some form of Debian onto a Dell PE 2950. I found your site and used sarge-custom-0801 and that ended my frustration, thank you. A couple notes and a question. I read a post by Steve that he used 0722.iso and had network issues. 0801 does not have the networking problem :-) However, when I reboot the Kernel could not see the disks. I reinstalled and at the end dropped to a shell and did chroot /target and then added "alias megaraid_sas scsi_mod" to the /etc/modules.conf file prior to rebooting and this worked great.
One easy question, where do I point my apt config?

Thank you

Posted by Karl at 2006/08/07 (Mon) 22:27:06

Hi. I just spent a Saturday afternoon tearing my hair out trying to fiugre out how to get some form of Debian onto a Dell PE 2950. I found your site and used sarge-custom-0801 and that ended my frustration, thank you. A couple notes and a question. I read a post by Steve that he used 0722.iso and had network issues. 0801 does not have the networking problem :-) However, when I reboot the Kernel could not see the disks. I reinstalled and at the end dropped to a shell and did chroot /target and then added "alias megaraid_sas scsi_mod" to the /etc/modules.conf file prior to rebooting and this worked great.
One easy question, where do I point my apt config?

Thank you

Posted by Karl at 2006/08/08 (Tue) 00:03:07

RAW_PARTITIONS for SW RAID

After I've changed the RAW_PARTITIONS on /bin/mdcfg and created the MD,
it does not appear on the list of partitions, any clues?

Posted by RANDARA at 2006/08/11 (Fri) 13:46:39

CD-ROM

During the installation the systems says that the CD-ROM is not custom and not exists /dev/cdrom

Posted by Alejandro at 2006/08/18 (Fri) 22:28:39

Thanks for your excelent work...

Posted by JUnix at 2006/08/27 (Sun) 08:00:54

Hello, thanks a lot for this image. I finally got my new server to boot. I needed kernel 2.6.16 for disk and network drivers.

Now I have one problem. I configure software raid on my server with mdadm I need to execute mkinitrd, but mkinitrd is not available on the system. Is there any way around this problem ?

Posted by fv at 2006/09/04 (Mon) 16:35:18

Thanks

I was going a little insane trying to get to the bottom of this SATA madness with Sarge. Your iso is very handy.

Thanks again.

Posted by Gibler at 2006/09/12 (Tue) 05:58:24

hello, I have just installed debian on a powerEdge 2900 two CPU with RAID-1 (perc5/1) My problem is that it does not find me two CPU. Here my /proc/cpuinfo:
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Intel(R) Xeon(TM) CPU 3.00GHz
stepping : 4
cpu MHz : 2992.651
cache size : 2048 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 6
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni
monitor ds_cpl vmx est cid cx16 xtpr lahf_lm
bogomips : 5991.24.
Which is the reason thanks and beautiful work.

I used sarge-custom-0801.iso for install.

Posted by Jean-Marc at 2006/09/29 (Fri) 18:58:12

hello, I have just installed debian on a powerEdge 2900 two CPU with RAID-1 (perc5/1) My problem is that it does not find me two CPU. Here my /proc/cpuinfo:
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Intel(R) Xeon(TM) CPU 3.00GHz
stepping : 4
cpu MHz : 2992.651
cache size : 2048 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 6
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni
monitor ds_cpl vmx est cid cx16 xtpr lahf_lm
bogomips : 5991.24.
Which is the reason thanks and beautiful work.

I used sarge-custom-0801.iso for install.

Posted by Jean-Marc at 2006/09/29 (Fri) 21:57:50

Jean, which kernel version do you use (you can check by "uname -r")?
I think installing "linux-image-2.6.16-1-686-smp" will solve your problem.

Posted by kmuto at 2006/09/29 (Fri) 22:22:33

hello, I have just installed debian on a powerEdge 2900 two CPU with RAID-1 (perc5/1) My problem is that it does not find me two CPU. Here my /proc/cpuinfo:
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Intel(R) Xeon(TM) CPU 3.00GHz
stepping : 4
cpu MHz : 2992.651
cache size : 2048 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 6
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni
monitor ds_cpl vmx est cid cx16 xtpr lahf_lm
bogomips : 5991.24.
Which is the reason thanks and beautiful work.

I used sarge-custom-0801.iso for install.

Posted by Jean-Marc at 2006/09/29 (Fri) 23:15:39

Software RAID Workaround

Here is how I got SATA Software RAID working for this image.

Symptoms:
- When configuring Software RAID, an error message like "No partitions of type Linux RAID autodetect" were found
- If you used the RAW_PARTITIONS workaround, even though Create MD appears to have worked, partman does not show arrays

Workaround:

After creating the partitions in partman and setting Use as to physical RAID volume, go to the console (ALT+F2).

# nano /bin/mdcfg
Change RAW_PARTITIONS= line to:
RAW_PARTITIONS="/dev/sda1 /dev/sda2 /dev/sdb1 /dev/sdb2" (change for your partitions)

# mkdir /dev/md
# mknod /dev/md/0 b 9 0
# mknod /dev/md/1 b 9 1

That's it. Then Create MD will create the arrays and they will show up when you return to partman and you can format them and and assign them to mount points.

Posted by Jason at 2006/09/30 (Sat) 07:10:57

I've just installed this on amd64 -- one thing that I noticed was that it installs the debsig-verify package, which means that I get a lot of "debsig: Origin Signature check failed. This deb might not be signed." errors and my packages don't install. Once I remove the debsig-verify package, all is well (see http://wiki.debian.org/SecureApt#head-589747062cec6046da81b23e31a4bbe3ff6bb9dc for more).

You might want to consider removing this package, since it needs not to be installed on new machines.

Posted by Andrew Moise at 2006/10/03 (Tue) 06:28:24

I was able to boot my new 2950 using the 0801 image, and everything appears to work fine. The only problem I have is that the kernel doesn't recognize the 16G of memory thatis' in my machine.

Did I not select the correct kernel at install-time (was there one that would recognize more than 4G?)

I've tried to build a new 2.6.16 kernel by taking the config from the 0801 image and setting CONFIG_HIGHMEM64G=y, and the kernel tries to boot, but I get dropped into a busybox and the keyboard has no effect (even going in through the DRAC, I'm unable to type anything in the busybox).

Since I can't type in the busybox, I can't look at any of the messages that scrolled by. It appears that the kernel was unable to mount /dev/sda1.

Do you have any idea what the problem might be?

-Cael

Posted by Cael at 2006/10/07 (Sat) 05:36:38

I was able to boot my new 2950 using the 0801 image, and everything appears to work fine. The only problem I have is that the kernel doesn't recognize the 16G of memory thatis' in my machine.

Did I not select the correct kernel at install-time (was there one that would recognize more than 4G?)

I've tried to build a new 2.6.16 kernel by taking the config from the 0801 image and setting CONFIG_HIGHMEM64G=y, and the kernel tries to boot, but I get dropped into a busybox and the keyboard has no effect (even going in through the DRAC, I'm unable to type anything in the busybox).

Since I can't type in the busybox, I can't look at any of the messages that scrolled by. It appears that the kernel was unable to mount /dev/sda1.

Do you have any idea what the problem might be?

-Cael

Posted by Cael at 2006/10/07 (Sat) 05:53:30

I was able to boot my new 2950 using the 0801 image, and everything appears to work fine. The only problem I have is that the kernel doesn't recognize the 16G of memory thatis' in my machine.

Did I not select the correct kernel at install-time (was there one that would recognize more than 4G?)

I've tried to build a new 2.6.16 kernel by taking the config from the 0801 image and setting CONFIG_HIGHMEM64G=y, and the kernel tries to boot, but I get dropped into a busybox and the keyboard has no effect (even going in through the DRAC, I'm unable to type anything in the busybox).

Since I can't type in the busybox, I can't look at any of the messages that scrolled by. It appears that the kernel was unable to mount /dev/sda1.

Do you have any idea what the problem might be?

-Cael

Posted by Cael at 2006/10/07 (Sat) 05:54:03

hello,

the backport of debian installer for the stable distrib is a good idea.

In sarge-custom-0801.iso i remark that the debconf-get-selections script is missing in the /bin directory of initrd an it's impossible to use preseed.cfg file.

I put the debconf-get-selections of etch in.

Salut et @+
patrick

Posted by patrick at 2006/10/10 (Tue) 05:09:44

hello,

the backport of debian installer for the stable distrib is a good idea.

In sarge-custom-0801.iso i remark that the debconf-get-selections script is missing in the /bin directory of initrd an it's impossible to use preseed.cfg file.

I put the debconf-get-selections of etch in.

Salut et @+
patrick

Posted by patrick at 2006/10/10 (Tue) 06:30:01

Can anyone tell me where can I find the kernel-source (it asks for kernel-source-2.6.15) package?, I need it to install zaptel but I can't find it anywhere

Posted by Carolina at 2006/10/27 (Fri) 23:50:11
Write a comment

Message: Ready to post a comment.