The Debian kernel image packages for alpha have been wholly unusable on
a large number of hardware configurations for probably half a year now,
dating back to around 2.4.21. Peter De Schrijver has tracked this
problem down to a broken *Debian-specific* patch in the kernel images.
Please immediately revert the patch to arch/alpha/kernel/core_cia.c in
the kernel-source package. There is no documentation in the
kernel-patch changelog or README.Debian that explains what problem this
patch was intended to solve, so I can't guarantee that reverting it
wouldn't cause problems on some machines, but I do know that reverting
it corrects the PCI setup problems on at least two different models of
alpha. I will be publishing test packages shortly with this patch
reverted, to get feedback from other alpha users who both were or were
not able to use the kernel-image-2.4.26 packages.
The reverted patch is attached for reference.
Thanks,
--=20
Steve Langasek
postmodern programmer
Message-ID: <email address hidden>
Date: Thu, 10 Jun 2004 23:51:19 -0500
From: Steve Langasek <email address hidden>
To: <email address hidden>
Subject: Debian patch to PCI initialization code on alpha has caused
longstanding, widespread brokenness
--bAmEntskrkuBymla "jho1yZJdad60DJ r+" Disposition: inline
Content-Type: multipart/mixed; boundary=
Content-
--jho1yZJdad60DJr+ Disposition: inline Transfer- Encoding: quoted-printable
Content-Type: text/plain; charset=us-ascii
Content-
Content-
Package: kernel- source- 2.4.26
Version: 2.4.26-2
Severity: grave
The Debian kernel image packages for alpha have been wholly unusable on
a large number of hardware configurations for probably half a year now,
dating back to around 2.4.21. Peter De Schrijver has tracked this
problem down to a broken *Debian-specific* patch in the kernel images.
Please immediately revert the patch to arch/alpha/ kernel/ core_cia. c in
the kernel-source package. There is no documentation in the
kernel-patch changelog or README.Debian that explains what problem this
patch was intended to solve, so I can't guarantee that reverting it
wouldn't cause problems on some machines, but I do know that reverting
it corrects the PCI setup problems on at least two different models of
alpha. I will be publishing test packages shortly with this patch
reverted, to get feedback from other alpha users who both were or were
not able to use the kernel-image-2.4.26 packages.
The reverted patch is attached for reference.
Thanks,
--=20
Steve Langasek
postmodern programmer
--jho1yZJdad60DJr+ Disposition: attachment; filename=patch-cia Transfer- Encoding: quoted-printable
Content-Type: text/plain; charset=us-ascii
Content-
Content-
--- arch/alpha/ kernel/ core_cia. c.debian 2003-09-03 12:26:49.000000000 +0200 kernel/ core_cia. c 2004-06-09 20:54:25.000000000 +0200 CIA_IOC_ PCI_W0_ MASK =3D (hose->sg_isa->size - 1) & 0xfff00000; CIA_IOC_ PCI_T0_ BASE =3D virt_to_ phys(hose- >sg_isa- >ptes) >> 2; IOC_PCI_ W1_BASE =3D 0x40000000 | 1; IOC_PCI_ W1_MASK =3D (0x40000000 - 1) & 0xfff00000; IOC_PCI_ T1_BASE =3D 0 >> 2; IOC_PCI_ W2_BASE =3D 0x80000000 | 1; IOC_PCI_ W2_MASK =3D (0x40000000 - 1) & 0xfff00000; IOC_PCI_ T2_BASE =3D 0x40000000 >> 2; CIA_IOC_ PCI_W2_ BASE =3D __direct_map_base | 1; IOC_PCI_ W2_MASK =3D IOC_PCI_ W2_MASK =3D (__direct_map_size - 1) & 0xfff00000; CIA_IOC_ PCI_T2_ BASE =3D 0 >> 2; CIA_IOC_ PCI_W3_ BASE =3D 0; IOC_PCI_ W1_BASE =3D 0; CIA_IOC_ PCI_W3_ BASE =3D 0;
+++ arch/alpha/
@@ -775,22 +775,9 @@
*(vip)
*(vip)
=20
- if (cia_rev =3D=3D 1) {
- __direct_map_base =3D 0x40000000;
-
- *(vip)CIA_
- *(vip)CIA_
- *(vip)CIA_
-
- *(vip)CIA_
- *(vip)CIA_
- *(vip)CIA_
- } else {
*(vip)
- *(vip)CIA_
- (__direct_map_size - 1) & 0xfff00000;
+ *(vip)CIA_
*(vip)
- }
=20
/* On PYXIS we have the monster window, selected by bit 40, so
there is no need for window3 to be enabled.
@@ -810,6 +797,7 @@
if (is_pyxis) {
*(vip)
} else if (cia_rev =3D=3D 1) {
+ *(vip)CIA_
tbia_window =3D 3;
} else if (max_low_pfn > (0x100000000UL >> PAGE_SHIFT)) {
*(vip)
--jho1yZJdad60D Jr+--
--bAmEntskrkuBymla pgp-signature; name="signature .asc" Description: Digital signature Disposition: inline
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
ufymYLloRAuveAK CIgr9n1v1JW4Fil NcHQd13DN7J9QCe O1th FVQwn89tbZsIq8=
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFAyTpGKN6
GpKONlhv/
=MvBy
-----END PGP SIGNATURE-----
--bAmEntskrkuBy mla--