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

Re: IBM x455 and Sarge to Etch



Hello again,

I got the qlogic fiber channel drivers working with my ia64 x455 running Sarge.

I think my libraries got all messed up when I upgraded to Etch.

So, I reinstalled and tried again.

It worked the second time around.

Here are the steps to getting the Qlogic drivers up on a ia64bit using an IBM x455:

Qlogic controller: Fibre Channel: QLogic Corp. QLA2312 Fibre Channel Adapter (rev 02)

1. Installed from the Debian-3r5-ia64 netiso. with 2.6.8.3-mckiney-smp

2. Setup apt to use Sarge rather than Stable [ETCH].

3. Downloaded kernel source and tools:
      apt-get install kernel-source-2.6.8
      apt-get install ncurses-dev gcc make

4. copy mkinsey .config over and compile
    cp /boot/config-2.6.8-3-mckinley-smp /usr/src/linux/.config

5. make menuconfig and close

6. make all
   cp vmlinux to /boot/vmlinuz-2.6.8
   cp System.map to /boot/Systems.map-2.6.8
   make modules_install
   mkinitrd -o /boot/initrd.img-2.6.8 2.6.8

7. setup elilo to use new kernel
8. reboot with new kernel
   The new kernel loaded:
   Linux mymachine 2.6.8 #1 SMP Tue May 22 15:39:50 EDT 2007 ia64 GNU/Linux

9. install Qlogic non free Linux drivers.
   used qla2xxx-src-v8.01.07.tar.gz from qlogic.com

   sh extras/build.sh
   sh extras/build.sh install

10. modprobe qla2300

messages will append something like this:

qla2300 0000:02:02.0: Found an ISP2312, irq 63, iobase 0xc000000082900000
qla2300 0000:02:02.0: Configuring PCI space...
qla2300 0000:02:02.0: Configure NVRAM parameters...
qla2300 0000:02:02.0: Verifying loaded RISC code...
qla2300 0000:02:02.0: Allocated (412 KB) for firmware dump...
qla2300 0000:02:02.0: Waiting for LIP to complete...
qla2300 0000:02:02.0: LIP reset occured (f8f7).
qla2300 0000:02:02.0: LIP occured (f8f7).
qla2300 0000:02:02.0: LOOP UP detected (2 Gbps).
qla2300 0000:02:02.0: Topology - (Loop), Host Loop address 0x7d
scsi4 : qla2xxx
qla2300 0000:02:02.0:
QLogic Fibre Channel HBA Driver: 8.01.07-fo
 QLogic QLA2340 - 133MHz PCI-X to 2Gb FC, Single Channel
 ISP2312: PCI-X (66 MHz) @ 0000:02:02.0 hdma+, host#=4, fw=3.03.19 IPX
 Vendor: IBM       Model: 1724-100  FAStT   Rev: 0542
 Type:   Direct-Access                      ANSI SCSI revision: 03
qla2300 0000:02:02.0: scsi(4:0:0:0): Enabled tagged queuing, queue depth 32.
SCSI device sdb: 974680064 512-byte hdwr sectors (499036 MB)
SCSI device sdb: drive cache: write back
/dev/scsi/host4/bus0/target0/lun0: p1
Attached scsi disk sdb at scsi4, channel 0, id 0, lun 0
 Vendor: IBM       Model: 1724-100  FAStT   Rev: 0542
 Type:   Direct-Access                      ANSI SCSI revision: 03
qla2300 0000:02:02.0: scsi(4:0:0:1): Enabled tagged queuing, queue depth 32.
SCSI device sdc: 4269801472 512-byte hdwr sectors (2186138 MB)
SCSI device sdc: drive cache: write back
/dev/scsi/host4/bus0/target0/lun1: p1
Attached scsi disk sdc at scsi4, channel 0, id 0, lun 1
 Vendor: IBM       Model: 1724-100  FAStT   Rev: 0542
 Type:   Direct-Access                      ANSI SCSI revision: 03
qla2300 0000:02:02.0: scsi(4:0:0:2): Enabled tagged queuing, queue depth 32.







Ted Knab wrote:
I am bootstrapping from a regular SCSI drives.

Those load the drivers fine.

However, the disk space is limited so I use the Fiber controller for extra disk storage.

This is not working since the mckinley-smp kernel does not come with the qla2xx drivers like the RedHat Kernel does.




Stan Hoeppner wrote:
Are you bootstrapping via the Qlogic FC adapter (i.e. boot from SAN), or from SCSI local disk?



Ted Knab wrote:
Hello,

I recently installed Debian Sarge on an IBM x455 using the Debian-3r5-ia64 netiso.

This comes with the "2.6.8-3-mckinley-smp #1 SMP Wed Dec 6 01:33:21 UTC 2006." kernel.

Since then I upgraded all the packages to Etch aside from  the kernel.

With the kernel I am having a little trouble. It appears the newer mckinley kernel does not work with my x455.

Where can I get the debian source files for this older kernel ?

I downloaded this 2.6.8-16sarge6 package and that will not compile:

sampson:/usr/src/kernel-source-2.6.8# export CC=gcc3.4

sampson:/usr/src/kernel-source-2.6.8# make menuconfig
 HOSTCC  scripts/kconfig/mconf.o
scripts/kconfig/mconf.c:91: error: static declaration of 'current_menu' follows non-static declaration scripts/kconfig/lkc.h:63: error: previous declaration of 'current_menu' was here
make[1]: *** [scripts/kconfig/mconf.o] Error 1
make: *** [menuconfig] Error 2

sampson:/usr/src/kernel-source-2.6.8# make
 HOSTCC  scripts/kconfig/mconf.o
scripts/kconfig/mconf.c:91: error: static declaration of 'current_menu' follows non-static declaration scripts/kconfig/lkc.h:63: error: previous declaration of 'current_menu' was here
make[2]: *** [scripts/kconfig/mconf.o] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** [include/linux/autoconf.h] Error 2

even after a make clean it happens

sampson:/usr/src/kernel-source-2.6.8# make
 HOSTCC  scripts/basic/fixdep
 HOSTCC  scripts/basic/split-include
 HOSTCC  scripts/basic/docproc
 HOSTCC  scripts/kconfig/conf.o
 HOSTCC  scripts/kconfig/mconf.o
scripts/kconfig/mconf.c:91: error: static declaration of 'current_menu' follows non-static declaration scripts/kconfig/lkc.h:63: error: previous declaration of 'current_menu' was here
make[2]: *** [scripts/kconfig/mconf.o] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** [include/linux/autoconf.h] Error 2

Once I get a custom kernel to load, I need to compile in the qla23xx drivers for my network storage device.
So that will be another question later on.

The newer kernel versions do not appear to boot with this system.

The Debian 4 64-bit iso does not work with the x455.
Additionally, when I upgrade the kernel to the one etch uses, I got a kernel panic.


-Ted










Reply to: