Package: initrd-tools
Version: 0.1.76
Severity: normal
Tags: patch
Attached patch modifies mkinitrd so the new qla1280 driver is used
for qlogic 1020/1040 controllers with current 2.6 kernels on alpha.
Maybe it's a good idea to add a Conflicts: to the older (and current)
alpha kernel images, because the qla1280 driver from kernel-source
2.6.8-11 and earlier does not support the qlogic 1020/1040 controllers.
The first release which will add qlogic 1020/1040 support to the
qla1280 driver will be kernel-image-2.6.8-alpha 2.6.8-7, which I'll
upload as soon as kernel-source-2.6.8 2.6.8-13 is available.
Versions of packages initrd-tools depends on:
ii coreutils [fileutils] 5.2.1-2 The GNU core utilities
ii cpio 2.5-1.1 GNU cpio -- a program to manage ar
ii cramfsprogs 1.1-6 Tools for CramFs (Compressed ROM F
ii dash 0.5.1-3 The Debian Almquist Shell
ii util-linux 2.12-10 Miscellaneous system utilities
+ QLA_SCSI=qlogicisp
+
# Educate mkinitrd about different arches..
case "$(dpkg --print-architecture)" in
mips) ARCH_ESP=jazz_esp ;;
@@ -575,6 +577,13 @@
esac
;;
sparc | sparc64) ARCH_ESP=esp ;;
+ alpha)
+ case $VERSION in
+ 2.6*)
+ QLA_SCSI=qla1280
+ ;;
+ esac
+ ;;
esac
find /proc/scsi -type d -mindepth 1 -maxdepth 1 \
@@ -585,7 +594,7 @@
s/^aac$/aacraid/; t
s/^am53c974$/AM53C974/; t
s/^eata2x$/eata/; t
- s/^isp1020$/qlogicisp/; t
+ s/^isp1020$/'$QLA_SCSI'/; t
s/^isp2x00$/qlogicfc/; t
s/^ncr53c7xx$/53c7,8xx/; t
s/^ncr53c8xx$/sym53c8xx/; t
Message-ID: <email address hidden>
Date: Wed, 12 Jan 2005 09:52:12 +0100
From: Norbert Tretkowski <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: initrd-tools: use qla1280 on 2.6/alpha instead qlogicisp
--17pEHd4RhPHOinZp Disposition: inline
Content-Type: text/plain; charset=us-ascii
Content-
Package: initrd-tools
Version: 0.1.76
Severity: normal
Tags: patch
Attached patch modifies mkinitrd so the new qla1280 driver is used
for qlogic 1020/1040 controllers with current 2.6 kernels on alpha.
Maybe it's a good idea to add a Conflicts: to the older (and current)
alpha kernel images, because the qla1280 driver from kernel-source
2.6.8-11 and earlier does not support the qlogic 1020/1040 controllers.
The first release which will add qlogic 1020/1040 support to the image-2. 6.8-alpha 2.6.8-7, which I'll
qla1280 driver will be kernel-
upload as soon as kernel-source-2.6.8 2.6.8-13 is available.
Regards, Norbert
-- System Information: ISO-8859- 1)
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-686
Locale: LANG=POSIX, LC_CTYPE=de_DE (charmap=
Versions of packages initrd-tools depends on:
ii coreutils [fileutils] 5.2.1-2 The GNU core utilities
ii cpio 2.5-1.1 GNU cpio -- a program to manage ar
ii cramfsprogs 1.1-6 Tools for CramFs (Compressed ROM F
ii dash 0.5.1-3 The Debian Almquist Shell
ii util-linux 2.12-10 Miscellaneous system utilities
-- no debconf information
--17pEHd4RhPHOinZp Disposition: attachment; filename= "qlogic. diff"
Content-Type: text/plain; charset=us-ascii
Content-
--- /usr/sbin/ mkinitrd. bak 2004-12-30 18:30:33.000000000 +0100
+++ /usr/sbin/mkinitrd 2005-01-12 09:46:27.000000000 +0100
@@ -557,6 +557,8 @@
exit 1
fi
+ QLA_SCSI=qlogicisp architecture) " in
+
# Educate mkinitrd about different arches..
case "$(dpkg --print-
mips) ARCH_ESP=jazz_esp ;;
@@ -575,6 +577,13 @@
esac
;;
sparc | sparc64) ARCH_ESP=esp ;;
+ alpha)
+ case $VERSION in
+ 2.6*)
+ QLA_SCSI=qla1280
+ ;;
+ esac
+ ;;
esac
find /proc/scsi -type d -mindepth 1 -maxdepth 1 \ ^aac$/aacraid/ ; t ^am53c974$ /AM53C974/ ; t ^eata2x$ /eata/; t /qlogicisp/ ; t /'$QLA_ SCSI'/; t ^isp2x00$ /qlogicfc/ ; t ^ncr53c7xx$ /53c7,8xx/ ; t ^ncr53c8xx$ /sym53c8xx/ ; t
@@ -585,7 +594,7 @@
s/
s/
s/
- s/^isp1020$
+ s/^isp1020$
s/
s/
s/
--17pEHd4RhPHOi nZp--