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

Bug#253787: marked as done (Debian patch to PCI initialization code on alpha has caused longstanding, widespread brokenness)



Your message dated Wed, 11 Aug 2004 19:47:27 -0700
with message-id <20040812024727.GA7051@darjeeling.triplehelix.org>
and subject line closing these bugs
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 11 Jun 2004 04:51:20 +0000
>From vorlon@debian.org Thu Jun 10 21:51:20 2004
Return-path: <vorlon@debian.org>
Received: from quetzlcoatl.dodds.net [64.22.202.19] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BYe0e-0004q5-00; Thu, 10 Jun 2004 21:51:20 -0700
Received: by quetzlcoatl.dodds.net (Postfix, from userid 1000)
	id D12B83BC0; Thu, 10 Jun 2004 23:51:19 -0500 (CDT)
Date: Thu, 10 Jun 2004 23:51:19 -0500
From: Steve Langasek <vorlon@debian.org>
To: submit@bugs.debian.org
Subject: Debian patch to PCI initialization code on alpha has caused longstanding, widespread brokenness
Message-ID: <20040611045119.GB1335@quetzlcoatl.dodds.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="bAmEntskrkuBymla"
Content-Disposition: inline
User-Agent: Mutt/1.5.4i
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 


--bAmEntskrkuBymla
Content-Type: multipart/mixed; boundary="jho1yZJdad60DJr+"
Content-Disposition: inline


--jho1yZJdad60DJr+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-cia
Content-Transfer-Encoding: quoted-printable

--- arch/alpha/kernel/core_cia.c.debian	2003-09-03 12:26:49.000000000 +0200
+++ arch/alpha/kernel/core_cia.c	2004-06-09 20:54:25.000000000 +0200
@@ -775,22 +775,9 @@
 	*(vip)CIA_IOC_PCI_W0_MASK =3D (hose->sg_isa->size - 1) & 0xfff00000;
 	*(vip)CIA_IOC_PCI_T0_BASE =3D virt_to_phys(hose->sg_isa->ptes) >> 2;
=20
-	if (cia_rev =3D=3D 1) {
-		__direct_map_base =3D 0x40000000;
-
-		*(vip)CIA_IOC_PCI_W1_BASE =3D 0x40000000 | 1;
-		*(vip)CIA_IOC_PCI_W1_MASK =3D (0x40000000 - 1) & 0xfff00000;
-		*(vip)CIA_IOC_PCI_T1_BASE =3D 0 >> 2;
-
-		*(vip)CIA_IOC_PCI_W2_BASE =3D 0x80000000 | 1;
-		*(vip)CIA_IOC_PCI_W2_MASK =3D (0x40000000 - 1) & 0xfff00000;
-		*(vip)CIA_IOC_PCI_T2_BASE =3D 0x40000000 >> 2;
-	} else {
 		*(vip)CIA_IOC_PCI_W2_BASE =3D __direct_map_base | 1;
-		*(vip)CIA_IOC_PCI_W2_MASK =3D
-			(__direct_map_size - 1) & 0xfff00000;
+	*(vip)CIA_IOC_PCI_W2_MASK =3D (__direct_map_size - 1) & 0xfff00000;
 		*(vip)CIA_IOC_PCI_T2_BASE =3D 0 >> 2;
-	}
=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)CIA_IOC_PCI_W3_BASE =3D 0;
 	} else if (cia_rev =3D=3D 1) {
+		*(vip)CIA_IOC_PCI_W1_BASE =3D 0;
 		tbia_window =3D 3;
 	} else if (max_low_pfn > (0x100000000UL >> PAGE_SHIFT)) {
 		*(vip)CIA_IOC_PCI_W3_BASE =3D 0;

--jho1yZJdad60DJr+--

--bAmEntskrkuBymla
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAyTpGKN6ufymYLloRAuveAKCIgr9n1v1JW4FilNcHQd13DN7J9QCeO1th
GpKONlhv/FVQwn89tbZsIq8=
=MvBy
-----END PGP SIGNATURE-----

--bAmEntskrkuBymla--

---------------------------------------
Received: (at 253787-done) by bugs.debian.org; 12 Aug 2004 02:47:29 +0000
>From joshk@triplehelix.org Wed Aug 11 19:47:29 2004
Return-path: <joshk@triplehelix.org>
Received: from smtp804.mail.sc5.yahoo.com [66.163.168.183] 
	by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
	id 1Bv5cn-0001Iz-00; Wed, 11 Aug 2004 19:47:29 -0700
Received: from unknown (HELO triplehelix.org) (edkwan@sbcglobal.net@68.126.190.56 with login)
  by smtp804.mail.sc5.yahoo.com with SMTP; 12 Aug 2004 02:47:28 -0000
Received: from darjeeling.triplehelix.org (darjeeling.wifi.triplehelix.org [192.168.0.7])
	by triplehelix.org (Postfix) with ESMTP id 45C082A9590;
	Wed, 11 Aug 2004 19:47:28 -0700 (PDT)
Received: from joshk by darjeeling.triplehelix.org with local (Exim 3.36 #1 (Debian))
	id 1Bv5cl-0001pz-00; Wed, 11 Aug 2004 19:47:27 -0700
Date: Wed, 11 Aug 2004 19:47:27 -0700
To: 257120-done@bugs.debian.org, 253787-done@bugs.debian.org
Subject: closing these bugs
Message-ID: <20040812024727.GA7051@darjeeling.triplehelix.org>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="zhXaljGHf11kAtnf"
Content-Disposition: inline
X-Habeas-SWE-1: winter into spring
X-Habeas-SWE-2: brightly anticipated
X-Habeas-SWE-3: like Habeas SWE (tm)
X-Habeas-SWE-4: Copyright 2002 Habeas (tm)
X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this
X-Habeas-SWE-6: email in exchange for a license for this Habeas
X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant
X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this
X-Habeas-SWE-9: mark in spam to <http://www.habeas.com/report/>.
User-Agent: Mutt/1.5.6+20040803i
From: Joshua Kwan <joshk@triplehelix.org>
Delivered-To: 253787-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 


--zhXaljGHf11kAtnf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello,

Simon Horman closed these bugs, but they were marked as fixed in NMU
because his name was dropped from Uploaders by accident.

So, lest you suddenly remember that this bug has _not_ been fixed as of
kernel-source-2.4.26 2.4.26-5, reopen the bug and remove the fixed tag
=66rom it. For now I'm closing them.

--=20
Joshua Kwan

--zhXaljGHf11kAtnf
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: http://triplehelix.org/~joshk/pubkey_gpg.asc

iQIVAwUBQRraP6OILr94RG8mAQLYwhAA79mSkDXxi8dbB+ky4TzojL1h2H9NkHgT
ill5SyQljmNrXZI9VFrus32BxFZs7TEMxlmFKh3X71gu9fY7OI1p+LIv/uxtF8cv
iFQ4QKzfGqgVzF/SakztgMRjJqBAmbhnQgVLE2fIpPSvGroMMLd4CJkj2DApSQsr
aHirpQQL7g4RrbaP+VIwvb8qtbkCTBkZIRnVxk5AkZl1E4kWxBjiv9k3dmoM686h
NHMq631fVshlYHsNoJFKI6lIrGnlkkcZjqxcUdrwOfnzmaLMZUD5bvlV+O3oRuua
2PG0vzN7AcLB70bMCKgsSMrrxmQfj0ZuC9RlTAhw1nYeNdCJzkj5KqJHcG9g+Pq9
yevOTjBnsGV2Of4MDS7oDzCxNEP9gQQy4JCwlmBAJB/9/bFVS4SDK0SYIVobMECX
yGr5pq569ZpSEc+H7Q+7HNKPPq9tB3nIUXtHz2TvnD+QLZK6QyeLOE4B5xIQ+9fH
VatYokxTHAs3/ofDiB8fRjQA698jBPNaAdz26XqZfnRjrbXQgpDe2Ig6QMQFMogH
EJh8CxcB90YtadTMYw5WJCYzHMM0/waemj3m1kzHRh6WhfivflDaoleZ2N5Ag1Hh
Q7mSZcidoDrXy7YZuKdupMC6p5aukGZge3nobb/Y1d1Nz/o5VLFnJb2A1V8S9h/r
zNt4vhgz8rw=
=VX2M
-----END PGP SIGNATURE-----

--zhXaljGHf11kAtnf--



Reply to: