[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installing amd64 on Adaptec 2015S (SmartRAID V) with dpt_i2o



On Fri, Sep 02, 2005 at 10:06:02AM -0700, Neil Gunton wrote:
> Thanks very much for the tips! I was in fact doing something similar to 
> this all day yesterday, and I now have a handy little pile of CD coasters. 
> I just can't get this thing to boot! I just tried it using your incantation 
> and it doesn't make any difference.
> 
> Here's what I am doing: I have an working version of CentOS 4.1 installed 
> on the hard drive (actually 4 hard drives, RAID 10) and running ok using 
> i2o_block. I downloaded 2.6.12.6 from kernel.org and built it, including 
> the new 64-bit-capable dpt_i2o driver from Adaptec (it won't compile on 
> 2.6.13). That works fine, and I can even boot into it off the hard drive 
> from grub. All the important modules are compiled statically into the 
> kernel. This includes all the ide, scsi, dpt_i2o, ext3 etc. But when I try 
> this from my custom netinst cd, there is a kernel panic. To build the CD I 
> am simply replacing the install/vmlinuz and install/initrd.gz with my own 
> versions, and then creating the iso and burning the CD as outlined above. 
> It does boot ok past the isolinux and into the kernel, and it does appear 
> to recognize the RAID card. But then it gets the panic:
> 
> ...
> Freeing unused kernel memory: 220k freed
> Red Hat nash version 4.2.1.3 starting
> Mounted /proc filesystem
> Mounting sysfs
> Creating /dev
> Starting udev
> Creating root device
> Mounting root filesystem
> mount: error 6 mounting ext3
> mount: error 2 mounting none
> Switching to new root
> switchroot: mount failed: 22
> umount /initrd/dev failed: 2
> Kernel panic - not syncing: Attempted to kill init!
> 
> What am I doing wrong here??? Is this something to do with the /devfs 
> issue? But Len, you must be doing something different, because your ISO 
> gets past this point with no problem. I get the feeling I am missing some 
> crucial piece in the kernel and/or CD build process that makes it not see 
> that it's booting from CD.

I use the kernel from linux-image-2.6.12-1-amd64-generic.  That one has
initrd and cramfs and such support and all the other options debian
expects a kernel to have, and also what the debian installer expects.  I
suspect you don't have initrd or at least not cramfs initrd support and
that makes the installer fail to load the initrd containing the
installer.  The initrd also has to be rebuilt for the kernel from the
debian-installer package, and the udeb's rebuilt using another debian
package.

> Also, I'm a little confused as to why it's still saying "Red Hat nash 
> version 4.2.1.3 starting", because this should be a custom kernel, I 
> downloaded it from kernel.org. Where does it get the Red Hat bit from? Is 
> that a system thing that it includes automatically, or are my kernels just 
> somehow getting all mixed up with the one already on the hard drive (which 
> really is the CentOS kernel)...
> 
> I am about out of ideas with this path, I'd love to be able to get a "real" 
> Debian netinst CD working with dpt_i2o so that I can build a real Debian 
> system from the ground up.

Well if you say the driver appears to work, I would be willing to try
building an image with a _debian_ 2.6.12 kernel with that driver in it.
Starting from kernel.org sources is way to much work.

Len Sorensen



Reply to: