Debian patch to PCI initialization code on alpha has caused longstanding, widespread brokenness

Bug #6816 reported by Debian Bug Importer
6
Affects Status Importance Assigned to Milestone
linux-source-2.6.15 (Debian)
Fix Released
Unknown
linux-source-2.6.15 (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Automatically imported from Debian bug report #253787
http://bugs.debian.org/253787

Revision history for this message
In , Jim Crilly (jim-why) wrote : Re: kernel-image packages for alpha in need of testing
Download full text (3.5 KiB)

2.4.25-1-generic works fine here for me and I know older Debian
kernel-image packages would not. I don't remember the specific text
spewed by the older kernels off hand, but they were basically unusable.

lspci -v output:

0000:00:03.0 Ethernet controller: Digital Equipment Corporation DECchip
21142/43 (rev 30)
         Flags: bus master, medium devsel, latency 32, IRQ 24
         I/O ports at 9000 [size=128]
         Memory at 0000000009a65000 (32-bit, non-prefetchable) [size=128]
         Expansion ROM at 0000000009a00000 [disabled] [size=256K]

0000:00:07.0 ISA bridge: Contaq Microsystems 82c693
         Flags: bus master, medium devsel, latency 0

0000:00:07.1 IDE interface: Contaq Microsystems 82c693 (prog-if 80 [Master])
         Flags: bus master, medium devsel, latency 0
         I/O ports at 01f0 [size=8]
         I/O ports at 03f4 [size=4]
         I/O ports at 9080 [size=16]

0000:00:07.2 IDE interface: Contaq Microsystems 82c693 (prog-if 00 [])
         Flags: bus master, medium devsel, latency 0
         I/O ports at 0170 [size=8]
         I/O ports at 0374 [size=4]
         Memory at 0000000009a40000 (32-bit, non-prefetchable)
[disabled] [size=64K]

0000:00:07.3 USB Controller: Contaq Microsystems 82c693 (prog-if 10 [OHCI])
         Flags: bus master, medium devsel, latency 32, IRQ 10
         Memory at 0000000009a64000 (32-bit, non-prefetchable) [size=4K]

0000:00:0b.0 VGA compatible controller: Matrox Graphics, Inc. MGA 2064W
[Millennium] (rev 01) (prog-if 00 [VGA])
         Flags: stepping, medium devsel, IRQ 28
         Memory at 0000000009a60000 (32-bit, non-prefetchable) [size=16K]
         Memory at 0000000009000000 (32-bit, prefetchable) [size=8M]
         Expansion ROM at 0000000009a50000 [disabled] [size=64K]

0000:00:14.0 PCI bridge: Digital Equipment Corporation DECchip 21152
(rev 02) (prog-if 00 [Normal decode])
         Flags: bus master, medium devsel, latency 32
         Bus: primary=00, secondary=01, subordinate=01, sec-latency=255
         I/O behind bridge: 00008000-00008fff
         Memory behind bridge: 09800000-098fffff
         Prefetchable memory behind bridge:
0000000009900000-0000000009900000

0000:01:04.0 SCSI storage controller: QLogic Corp. ISP1020 Fast-wide
SCSI (rev 05)
         Flags: bus master, medium devsel, latency 32, IRQ 27
         I/O ports at 8000 [size=256]
         Memory at 0000000009800000 (32-bit, non-prefetchable) [size=4K]
         Expansion ROM at 0000000009900000 [disabled] [size=64K]

0000:01:09.0 SCSI storage controller: QLogic Corp. ISP1020 Fast-wide
SCSI (rev 05)
         Subsystem: Unknown device 2050:5349
         Flags: bus master, medium devsel, latency 32, IRQ 40
         I/O ports at 8400 [size=256]
         Memory at 0000000009801000 (32-bit, non-prefetchable) [size=4K]
         Expansion ROM at 0000000009910000 [disabled] [size=64K]

/proc/cpuinfo:

cpu : Alpha
cpu model : EV56
cpu variation : 7
cpu revision : 0
cpu serial number :
system type : Miata
system variation : 0
system revision : 0
system serial number :
cycle frequency [Hz] : 599743472 est.
timer frequency...

Read more...

Revision history for this message
In , Steve Langasek (vorlon) wrote :

Hi Jim,

On Fri, Jun 11, 2004 at 09:10:33PM -0400, Jim Crilly wrote:
> 2.4.25-1-generic works fine here for me and I know older Debian
> kernel-image packages would not. I don't remember the specific text
> spewed by the older kernels off hand, but they were basically unusable.

Can you confirm whether the kernel images at
http://people.debian.org/~vorlon/fixed-alpha-kernels/ do or don't work
for you? It's important to know whether this change represents a
regression for anyone currently able to use the official kernel-image
packages.

Thanks,
--
Steve Langasek
postmodern programmer

Revision history for this message
In , Jim Crilly (jim-why) wrote :

Shit, that was a typo. I meant to say that 2.4.26-1-generic fixed the
issue. My apologies.

Thanks,
 Jim.

Steve Langasek said the following:
> Hi Jim,
>
> On Fri, Jun 11, 2004 at 09:10:33PM -0400, Jim Crilly wrote:
>
>>2.4.25-1-generic works fine here for me and I know older Debian
>>kernel-image packages would not. I don't remember the specific text
>>spewed by the older kernels off hand, but they were basically unusable.
>
>
> Can you confirm whether the kernel images at
> http://people.debian.org/~vorlon/fixed-alpha-kernels/ do or don't work
> for you? It's important to know whether this change represents a
> regression for anyone currently able to use the official kernel-image
> packages.
>
> Thanks,

Revision history for this message
In , Steve Langasek (vorlon) wrote : Hardware info on machines where this fix is needed
Download full text (3.2 KiB)

Reverting the patch in question fixes PCI support on the following
machines:

#1

$ lspci
00:05.0 VGA compatible controller: Matrox Graphics, Inc. MGA 2164W [Millennium II]
00:07.0 PCI bridge: Digital Equipment Corporation DECchip 21050 (rev 02)
00:08.0 Non-VGA unclassified device: Intel Corp. 82378IB [SIO ISA Bridge] (rev 43)
00:09.0 USB Controller: NEC Corporation USB (rev 41)
00:09.1 USB Controller: NEC Corporation USB (rev 41)
00:09.2 USB Controller: NEC Corporation USB 2.0 (rev 02)
00:0b.0 IDE interface: CMD Technology Inc PCI0646 (rev 01)
01:00.0 Ethernet controller: Digital Equipment Corporation DECchip 21040 [Tulip] (rev 23)
01:01.0 SCSI storage controller: QLogic Corp. ISP1020 Fast-wide SCSI (rev 01)
01:02.0 SCSI storage controller: QLogic Corp. ISP1020 Fast-wide SCSI (rev 01)
$ cat /proc/cpuinfo
cpu : Alpha
cpu model : EV56
cpu variation : 7
cpu revision : 0
cpu serial number :
system type : EB164
system variation : LX164
system revision : 0
system serial number :
cycle frequency [Hz] : 533172608 est.
timer frequency [Hz] : 1024.00
page size [bytes] : 8192
phys. address bits : 40
max. addr. space # : 127
BogoMIPS : 1059.80
kernel unaligned acc : 4 (pc=fffffffc0040eb18,va=fffffc001754be7e)
user unaligned acc : 187245 (pc=12000e6a8,va=120590f83)
platform string : Digital AlphaPC 164LX 533 MHz
cpus detected : 1
$

Existing 2.4.26 kernel-images on the above machine result in infinite
looping while initializing the qlogicisp driver for the SCSI card.
Bypassing SCSI initialization, the 2.4.26 kernel package will also fail
to correctly initialize the ethernet card using either the tulip or
de4x5 driver: the driver will load, but eth0 is not usable. Under the
patched kernel, both devices work correctly; I'm currently using the
de4x5 driver for the ethernet.

#2

$ lspci
00:05.0 VGA compatible controller: Trident Microsystems TGUI 9440 (rev e3)
00:07.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 64)
00:08.0 Non-VGA unclassified device: Intel Corp. 82378IB [SIO ISA Bridge] (rev 43)
00:09.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 64)
00:0b.0 IDE interface: CMD Technology Inc PCI0646 (rev 01)
$ cat /proc/cpuinfo
cpu : Alpha
cpu model : EV56
cpu variation : 7
cpu revision : 0
cpu serial number :
system type : EB164
system variation : LX164
system revision : 0
system serial number :
cycle frequency [Hz] : 533198080 est.
timer frequency [Hz] : 1024.00
page size [bytes] : 8192
phys. address bits : 40
max. addr. space # : 127
BogoMIPS : 1059.80
kernel unaligned acc : 0 (pc=0,va=0)
user unaligned acc : 32815 (pc=1200115e8,va=1200aa3f7)
platform string : Digital AlphaPC 164LX 533 MHz
cpus detected : 1
$

On this system, a 2.4.24 kernel-image kernel (the last I had bothered
trying) would loop infinitely as soon as the ethernet driver (3c59x) was
loaded. Using 2.4.26 with the patch in que...

Read more...

Revision history for this message
In , Craig Small (csmall) wrote : Vorlon's patch fixes it for me

Hello,
  I own an alpha PC164SX. Until recently *no* kernel image, wether
built by my using kernel-source-* packages or a Debian kernel image
would work on it and caused pages of PCI errors. This problem meant
I had to keep with kernel image 2.4.18

I have now tried to run Vorlon's specific kernel image 2.4.26 and can
say that it works fine for me (depmod -a segfaults, not sure why).

lspci
-----
0000:00:05.0 VGA compatible controller: Cirrus Logic GD 5434-8 [Alpine] (rev fc)
0000:00:06.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 28)
0000:00:07.0 Multimedia audio controller: Ensoniq ES1370 [AudioPCI]
0000:00:08.0 ISA bridge: Contaq Microsystems 82c693
0000:00:08.1 IDE interface: Contaq Microsystems 82c693
0000:00:08.2 IDE interface: Contaq Microsystems 82c693
0000:00:08.3 USB Controller: Contaq Microsystems 82c693
0000:00:09.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 74)

cpuinfo
-------
cpu : Alpha
cpu model : PCA56
cpu variation : 7
cpu revision : 0
cpu serial number :
system type : EB164
system variation : SX164
system revision : 0
system serial number :
cycle frequency [Hz] : 533178173 est.
timer frequency [Hz] : 1024.00
page size [bytes] : 8192
phys. address bits : 40
max. addr. space # : 127
BogoMIPS : 1057.24
kernel unaligned acc : 0 (pc=0,va=0)
user unaligned acc : 108113 (pc=1200115e8,va=1200af6f7)
platform string : Digital AlphaPC 164SX 533 MHz
cpus detected : 1

 - Craig

--
Craig Small GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.enc.com.au/ MIEE Debian developer
csmall at : enc.com.au ieee.org debian.org

Revision history for this message
In , Herbert Xu (herbert-gondor) wrote : Re: Bug#253787: Debian patch to PCI initialization code on alpha has caused longstanding, widespread brokenness

On Thu, Jun 10, 2004 at 11:51:19PM -0500, Steve Langasek wrote:
> 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.

Yes this has already been identified in #241185.

> Please immediately revert the patch to arch/alpha/kernel/core_cia.c in
> the kernel-source package. There is no documentation in the

Well if you or someone else can provide a place for me to upload
fixed packages to then I can build one with this as well as the
i387 crash bug fixed.

> kernel-patch changelog or README.Debian that explains what problem this
> patch was intended to solve, so I can't guarantee that reverting it

You'll find the reason in debian/changelog if you search for core_cia.
In any case, the original bug that prompted this is no longer there
so it can be safely reverted.

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <email address hidden>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Revision history for this message
In , William Lee Irwin III (wli) wrote : alpha kernel testing

I've got about 3 distinct types of alphas I can test this out on. The
general method I use for booting etc. actually circumvents the
installation kernels so I've never actually seen it in action before.

I need to take care of the general i386 situation before this and I
should probably recruit helpers for cvs-specific issues at this point.

-- wli

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #253787
http://bugs.debian.org/253787

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (3.4 KiB)

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
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
Co...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (3.7 KiB)

Message-ID: <email address hidden>
Date: Fri, 11 Jun 2004 21:10:33 -0400
From: Jim Crilly <email address hidden>
To: Steve Langasek <email address hidden>
Cc: <email address hidden>, <email address hidden>
Subject: Re: kernel-image packages for alpha in need of testing

2.4.25-1-generic works fine here for me and I know older Debian
kernel-image packages would not. I don't remember the specific text
spewed by the older kernels off hand, but they were basically unusable.

lspci -v output:

0000:00:03.0 Ethernet controller: Digital Equipment Corporation DECchip
21142/43 (rev 30)
         Flags: bus master, medium devsel, latency 32, IRQ 24
         I/O ports at 9000 [size=128]
         Memory at 0000000009a65000 (32-bit, non-prefetchable) [size=128]
         Expansion ROM at 0000000009a00000 [disabled] [size=256K]

0000:00:07.0 ISA bridge: Contaq Microsystems 82c693
         Flags: bus master, medium devsel, latency 0

0000:00:07.1 IDE interface: Contaq Microsystems 82c693 (prog-if 80 [Master])
         Flags: bus master, medium devsel, latency 0
         I/O ports at 01f0 [size=8]
         I/O ports at 03f4 [size=4]
         I/O ports at 9080 [size=16]

0000:00:07.2 IDE interface: Contaq Microsystems 82c693 (prog-if 00 [])
         Flags: bus master, medium devsel, latency 0
         I/O ports at 0170 [size=8]
         I/O ports at 0374 [size=4]
         Memory at 0000000009a40000 (32-bit, non-prefetchable)
[disabled] [size=64K]

0000:00:07.3 USB Controller: Contaq Microsystems 82c693 (prog-if 10 [OHCI])
         Flags: bus master, medium devsel, latency 32, IRQ 10
         Memory at 0000000009a64000 (32-bit, non-prefetchable) [size=4K]

0000:00:0b.0 VGA compatible controller: Matrox Graphics, Inc. MGA 2064W
[Millennium] (rev 01) (prog-if 00 [VGA])
         Flags: stepping, medium devsel, IRQ 28
         Memory at 0000000009a60000 (32-bit, non-prefetchable) [size=16K]
         Memory at 0000000009000000 (32-bit, prefetchable) [size=8M]
         Expansion ROM at 0000000009a50000 [disabled] [size=64K]

0000:00:14.0 PCI bridge: Digital Equipment Corporation DECchip 21152
(rev 02) (prog-if 00 [Normal decode])
         Flags: bus master, medium devsel, latency 32
         Bus: primary=00, secondary=01, subordinate=01, sec-latency=255
         I/O behind bridge: 00008000-00008fff
         Memory behind bridge: 09800000-098fffff
         Prefetchable memory behind bridge:
0000000009900000-0000000009900000

0000:01:04.0 SCSI storage controller: QLogic Corp. ISP1020 Fast-wide
SCSI (rev 05)
         Flags: bus master, medium devsel, latency 32, IRQ 27
         I/O ports at 8000 [size=256]
         Memory at 0000000009800000 (32-bit, non-prefetchable) [size=4K]
         Expansion ROM at 0000000009900000 [disabled] [size=64K]

0000:01:09.0 SCSI storage controller: QLogic Corp. ISP1020 Fast-wide
SCSI (rev 05)
         Subsystem: Unknown device 2050:5349
         Flags: bus master, medium devsel, latency 32, IRQ 40
         I/O ports at 8400 [size=256]
         Memory at 0000000009801000 (32-bit, non-prefetchable) [size=4K]
         Expansion ROM at 0000000009910000 [disabled] [size=64K]

/proc/cpuinfo:

cpu ...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Fri, 11 Jun 2004 23:54:30 -0500
From: Steve Langasek <email address hidden>
To: Jim Crilly <email address hidden>
Cc: <email address hidden>
Subject: Re: kernel-image packages for alpha in need of testing

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

Hi Jim,

On Fri, Jun 11, 2004 at 09:10:33PM -0400, Jim Crilly wrote:
> 2.4.25-1-generic works fine here for me and I know older Debian=20
> kernel-image packages would not. I don't remember the specific text=20
> spewed by the older kernels off hand, but they were basically unusable.

Can you confirm whether the kernel images at
http://people.debian.org/~vorlon/fixed-alpha-kernels/ do or don't work
for you? It's important to know whether this change represents a
regression for anyone currently able to use the official kernel-image
packages.

Thanks,
--=20
Steve Langasek
postmodern programmer

--ReaqsoxgOBHFXBhH
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)

iD8DBQFAyoyGKN6ufymYLloRAmGNAKC5j5aANizcmFM/XHmfcoj61+fGDgCfUQi8
WsUDbddjHFRObE05QE1Gfcw=
=obur
-----END PGP SIGNATURE-----

--ReaqsoxgOBHFXBhH--

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sat, 12 Jun 2004 00:56:22 -0400
From: Jim Crilly <email address hidden>
To: Steve Langasek <email address hidden>
Cc: <email address hidden>
Subject: Re: kernel-image packages for alpha in need of testing

Shit, that was a typo. I meant to say that 2.4.26-1-generic fixed the
issue. My apologies.

Thanks,
 Jim.

Steve Langasek said the following:
> Hi Jim,
>
> On Fri, Jun 11, 2004 at 09:10:33PM -0400, Jim Crilly wrote:
>
>>2.4.25-1-generic works fine here for me and I know older Debian
>>kernel-image packages would not. I don't remember the specific text
>>spewed by the older kernels off hand, but they were basically unusable.
>
>
> Can you confirm whether the kernel images at
> http://people.debian.org/~vorlon/fixed-alpha-kernels/ do or don't work
> for you? It's important to know whether this change represents a
> regression for anyone currently able to use the official kernel-image
> packages.
>
> Thanks,

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (4.0 KiB)

Message-ID: <email address hidden>
Date: Sat, 12 Jun 2004 00:28:25 -0500
From: Steve Langasek <email address hidden>
To: <email address hidden>
Subject: Hardware info on machines where this fix is needed

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

Reverting the patch in question fixes PCI support on the following
machines:

#1

$ lspci
00:05.0 VGA compatible controller: Matrox Graphics, Inc. MGA 2164W [Millenn=
ium II]
00:07.0 PCI bridge: Digital Equipment Corporation DECchip 21050 (rev 02)
00:08.0 Non-VGA unclassified device: Intel Corp. 82378IB [SIO ISA Bridge] (=
rev 43)
00:09.0 USB Controller: NEC Corporation USB (rev 41)
00:09.1 USB Controller: NEC Corporation USB (rev 41)
00:09.2 USB Controller: NEC Corporation USB 2.0 (rev 02)
00:0b.0 IDE interface: CMD Technology Inc PCI0646 (rev 01)
01:00.0 Ethernet controller: Digital Equipment Corporation DECchip 21040 [T=
ulip] (rev 23)
01:01.0 SCSI storage controller: QLogic Corp. ISP1020 Fast-wide SCSI (rev 0=
1)
01:02.0 SCSI storage controller: QLogic Corp. ISP1020 Fast-wide SCSI (rev 0=
1)
$ cat /proc/cpuinfo=20
cpu : Alpha
cpu model : EV56
cpu variation : 7
cpu revision : 0
cpu serial number :=20
system type : EB164
system variation : LX164
system revision : 0
system serial number :=20
cycle frequency [Hz] : 533172608 est.
timer frequency [Hz] : 1024.00
page size [bytes] : 8192
phys. address bits : 40
max. addr. space # : 127
BogoMIPS : 1059.80
kernel unaligned acc : 4 (pc=3Dfffffffc0040eb18,va=3Dfffffc001754be7e)
user unaligned acc : 187245 (pc=3D12000e6a8,va=3D120590f83)
platform string : Digital AlphaPC 164LX 533 MHz
cpus detected : 1
$

Existing 2.4.26 kernel-images on the above machine result in infinite
looping while initializing the qlogicisp driver for the SCSI card.
Bypassing SCSI initialization, the 2.4.26 kernel package will also fail
to correctly initialize the ethernet card using either the tulip or
de4x5 driver: the driver will load, but eth0 is not usable. Under the
patched kernel, both devices work correctly; I'm currently using the
de4x5 driver for the ethernet.

#2

$ lspci
00:05.0 VGA compatible controller: Trident Microsystems TGUI 9440 (rev e3)
00:07.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (r=
ev 64)
00:08.0 Non-VGA unclassified device: Intel Corp. 82378IB [SIO ISA Bridge] (=
rev 43)
00:09.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (r=
ev 64)
00:0b.0 IDE interface: CMD Technology Inc PCI0646 (rev 01)
$ cat /proc/cpuinfo=20
cpu : Alpha
cpu model : EV56
cpu variation : 7
cpu revision : 0
cpu serial number :=20
system type : EB164
system variation : LX164
system revision : 0
system serial number :=20
cycle frequency [Hz] : 533198080 est.
timer frequency [Hz] : 1024.00
page size [bytes] : 8192
phys. address bits : 40
max. addr. space # : 127
BogoMIPS ...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sat, 12 Jun 2004 23:15:03 +1000
From: <email address hidden> (Craig Small)
To: <email address hidden>
Subject: Vorlon's patch fixes it for me

Hello,
  I own an alpha PC164SX. Until recently *no* kernel image, wether
built by my using kernel-source-* packages or a Debian kernel image
would work on it and caused pages of PCI errors. This problem meant
I had to keep with kernel image 2.4.18

I have now tried to run Vorlon's specific kernel image 2.4.26 and can
say that it works fine for me (depmod -a segfaults, not sure why).

lspci
-----
0000:00:05.0 VGA compatible controller: Cirrus Logic GD 5434-8 [Alpine] (rev fc)
0000:00:06.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 28)
0000:00:07.0 Multimedia audio controller: Ensoniq ES1370 [AudioPCI]
0000:00:08.0 ISA bridge: Contaq Microsystems 82c693
0000:00:08.1 IDE interface: Contaq Microsystems 82c693
0000:00:08.2 IDE interface: Contaq Microsystems 82c693
0000:00:08.3 USB Controller: Contaq Microsystems 82c693
0000:00:09.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 74)

cpuinfo
-------
cpu : Alpha
cpu model : PCA56
cpu variation : 7
cpu revision : 0
cpu serial number :
system type : EB164
system variation : SX164
system revision : 0
system serial number :
cycle frequency [Hz] : 533178173 est.
timer frequency [Hz] : 1024.00
page size [bytes] : 8192
phys. address bits : 40
max. addr. space # : 127
BogoMIPS : 1057.24
kernel unaligned acc : 0 (pc=0,va=0)
user unaligned acc : 108113 (pc=1200115e8,va=1200af6f7)
platform string : Digital AlphaPC 164SX 533 MHz
cpus detected : 1

 - Craig

--
Craig Small GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.enc.com.au/ MIEE Debian developer
csmall at : enc.com.au ieee.org debian.org

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 13 Jun 2004 18:30:56 +1000
From: Herbert Xu <email address hidden>
To: Steve Langasek <email address hidden>, <email address hidden>
Subject: Re: Bug#253787: Debian patch to PCI initialization code on alpha has
 caused longstanding, widespread brokenness

On Thu, Jun 10, 2004 at 11:51:19PM -0500, Steve Langasek wrote:
> 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.

Yes this has already been identified in #241185.

> Please immediately revert the patch to arch/alpha/kernel/core_cia.c in
> the kernel-source package. There is no documentation in the

Well if you or someone else can provide a place for me to upload
fixed packages to then I can build one with this as well as the
i387 crash bug fixed.

> kernel-patch changelog or README.Debian that explains what problem this
> patch was intended to solve, so I can't guarantee that reverting it

You'll find the reason in debian/changelog if you search for core_cia.
In any case, the original bug that prompted this is no longer there
so it can be safely reverted.

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <email address hidden>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 13 Jun 2004 07:28:25 -0700
From: William Lee Irwin III <email address hidden>
To: <email address hidden>
Cc: <email address hidden>, <email address hidden>
Subject: alpha kernel testing

I've got about 3 distinct types of alphas I can test this out on. The
general method I use for booting etc. actually circumvents the
installation kernels so I've never actually seen it in action before.

I need to take care of the general i386 situation before this and I
should probably recruit helpers for cvs-specific issues at this point.

-- wli

Revision history for this message
Matt Zimmerman (mdz) wrote :

This bug is alpha-specific

Revision history for this message
In , Jens Schmalzing (jensen) wrote : Bug#253787: fixed in kernel-source-2.6.7 2.6.7-1
Download full text (5.8 KiB)

Source: kernel-source-2.6.7
Source-Version: 2.6.7-1

We believe that the bug you reported is fixed in the latest version of
kernel-source-2.6.7, which is due to be installed in the Debian FTP archive:

kernel-doc-2.6.7_2.6.7-1_all.deb
  to pool/main/k/kernel-source-2.6.7/kernel-doc-2.6.7_2.6.7-1_all.deb
kernel-patch-debian-2.6.7_2.6.7-1_all.deb
  to pool/main/k/kernel-source-2.6.7/kernel-patch-debian-2.6.7_2.6.7-1_all.deb
kernel-source-2.6.7_2.6.7-1.diff.gz
  to pool/main/k/kernel-source-2.6.7/kernel-source-2.6.7_2.6.7-1.diff.gz
kernel-source-2.6.7_2.6.7-1.dsc
  to pool/main/k/kernel-source-2.6.7/kernel-source-2.6.7_2.6.7-1.dsc
kernel-source-2.6.7_2.6.7-1_all.deb
  to pool/main/k/kernel-source-2.6.7/kernel-source-2.6.7_2.6.7-1_all.deb
kernel-source-2.6.7_2.6.7.orig.tar.gz
  to pool/main/k/kernel-source-2.6.7/kernel-source-2.6.7_2.6.7.orig.tar.gz
kernel-tree-2.6.7_2.6.7-1_all.deb
  to pool/main/k/kernel-source-2.6.7/kernel-tree-2.6.7_2.6.7-1_all.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jens Schmalzing <email address hidden> (supplier of updated kernel-source-2.6.7 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 21 Jun 2004 12:55:48 +0200
Source: kernel-source-2.6.7
Binary: kernel-source-2.6.7 kernel-tree-2.6.7 kernel-patch-debian-2.6.7 kernel-doc-2.6.7
Architecture: source all
Version: 2.6.7-1
Distribution: unstable
Urgency: low
Maintainer: Debian kernel team <email address hidden>
Changed-By: Jens Schmalzing <email address hidden>
Description:
 kernel-doc-2.6.7 - Linux kernel specific documentation for version 2.6.7
 kernel-patch-debian-2.6.7 - Debian patches to Linux 2.6.7
 kernel-source-2.6.7 - Linux kernel source for version 2.6.7 with Debian patches
 kernel-tree-2.6.7 - Linux kernel tree for building prepackaged Debian kernel images
Closes: 253787
Changes:
 kernel-source-2.6.7 (2.6.7-1) unstable; urgency=low
 .
   * New upstream release.
 .
   * Added split patches in dpatch format (Christoph Hellwig and Sven Luther).
 .
   * Lots of patches merged upstream:
     . acpi-link
     . console-refcounting
     . doc-sound
     . drivers-hotplug-acpi-unregister
     . drivers-i810-update
     . drivers-ide-CONFIG_IDE_STROKE-at-runtime (slight changes, allows drops
       the config option completely)
     . drivers-mca_53c9x-needs_mca_legacy
     . drivers-mtd-sharp-missing-includes
     . drivers-mtd-uclinux-rootfs
     . drivers-neomagic-ids
     . drivers-neomagic-oss-ids
     . drivers-paride-epat (with minor updates)
     . drivers-pnp-needs-x86
     . drivers-scsi-aic7xxx-fixes (slightly different)
     . drivers-usb-storage-new-sony-device
     . drivers-video-tgafb-needs-selection.h
     . drivers-watchdog-missing-includes
     . fs...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (6.0 KiB)

Message-Id: <email address hidden>
Date: Fri, 02 Jul 2004 03:45:39 -0400
From: Jens Schmalzing <email address hidden>
To: <email address hidden>
Subject: Bug#253787: fixed in kernel-source-2.6.7 2.6.7-1

Source: kernel-source-2.6.7
Source-Version: 2.6.7-1

We believe that the bug you reported is fixed in the latest version of
kernel-source-2.6.7, which is due to be installed in the Debian FTP archive:

kernel-doc-2.6.7_2.6.7-1_all.deb
  to pool/main/k/kernel-source-2.6.7/kernel-doc-2.6.7_2.6.7-1_all.deb
kernel-patch-debian-2.6.7_2.6.7-1_all.deb
  to pool/main/k/kernel-source-2.6.7/kernel-patch-debian-2.6.7_2.6.7-1_all.deb
kernel-source-2.6.7_2.6.7-1.diff.gz
  to pool/main/k/kernel-source-2.6.7/kernel-source-2.6.7_2.6.7-1.diff.gz
kernel-source-2.6.7_2.6.7-1.dsc
  to pool/main/k/kernel-source-2.6.7/kernel-source-2.6.7_2.6.7-1.dsc
kernel-source-2.6.7_2.6.7-1_all.deb
  to pool/main/k/kernel-source-2.6.7/kernel-source-2.6.7_2.6.7-1_all.deb
kernel-source-2.6.7_2.6.7.orig.tar.gz
  to pool/main/k/kernel-source-2.6.7/kernel-source-2.6.7_2.6.7.orig.tar.gz
kernel-tree-2.6.7_2.6.7-1_all.deb
  to pool/main/k/kernel-source-2.6.7/kernel-tree-2.6.7_2.6.7-1_all.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jens Schmalzing <email address hidden> (supplier of updated kernel-source-2.6.7 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 21 Jun 2004 12:55:48 +0200
Source: kernel-source-2.6.7
Binary: kernel-source-2.6.7 kernel-tree-2.6.7 kernel-patch-debian-2.6.7 kernel-doc-2.6.7
Architecture: source all
Version: 2.6.7-1
Distribution: unstable
Urgency: low
Maintainer: Debian kernel team <email address hidden>
Changed-By: Jens Schmalzing <email address hidden>
Description:
 kernel-doc-2.6.7 - Linux kernel specific documentation for version 2.6.7
 kernel-patch-debian-2.6.7 - Debian patches to Linux 2.6.7
 kernel-source-2.6.7 - Linux kernel source for version 2.6.7 with Debian patches
 kernel-tree-2.6.7 - Linux kernel tree for building prepackaged Debian kernel images
Closes: 253787
Changes:
 kernel-source-2.6.7 (2.6.7-1) unstable; urgency=low
 .
   * New upstream release.
 .
   * Added split patches in dpatch format (Christoph Hellwig and Sven Luther).
 .
   * Lots of patches merged upstream:
     . acpi-link
     . console-refcounting
     . doc-sound
     . drivers-hotplug-acpi-unregister
     . drivers-i810-update
     . drivers-ide-CONFIG_IDE_STROKE-at-runtime (slight changes, allows drops
       the config option completely)
     . drivers-mca_53c9x-needs_mca_legacy
     . drivers-mtd-sharp-missing-includes
     . drivers-mtd-uclinux-rootfs
     . drivers-neomagic-ids
     . drivers-neomagic-oss-ids
     . drivers-paride-epat (with minor updates)...

Read more...

Revision history for this message
In , Simon Horman (horms) wrote : Reopen 253787

reopen 253787

--
Horms

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Thu, 22 Jul 2004 12:20:25 +0900
From: Horms <email address hidden>
To: <email address hidden>
Subject: Reopen 253787

reopen 253787

--
Horms

Revision history for this message
In , Simon Horman (horms) wrote : Fixed in NMU of kernel-source-2.4.26 2.4.26-4

tag 253787 + fixed
tag 257120 + fixed

quit

This message was generated automatically in response to a
non-maintainer upload. The .changes file follows.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 22 Jul 2004 12:27:39 +0900
Source: kernel-source-2.4.26
Binary: kernel-source-2.4.26 kernel-tree-2.4.26 kernel-patch-debian-2.4.26 kernel-doc-2.4.26
Architecture: source all
Version: 2.4.26-4
Distribution: unstable
Urgency: low
Maintainer: Debian Kernel Team <email address hidden>
Changed-By: Simon Horman <email address hidden>
Description:
 kernel-doc-2.4.26 - Linux kernel specific documentation for version 2.4.26
 kernel-patch-debian-2.4.26 - Debian patches to Linux 2.4.26
 kernel-source-2.4.26 - Linux kernel source for version 2.4.26 with Debian patches
 kernel-tree-2.4.26 - Linux kernel tree for building prepackaged Debian kernel images
Closes: 253787 257120
Changes:
 kernel-source-2.4.26 (2.4.26-4) unstable; urgency=low
 .
   * Fix stack allocation in crypt(). Patch by Herbert Xu
     (closes: #257120)
     . crypto/cipher.c
   * Reversed patch to PCI initialisation code on Alpha
     Patch by Herbert Xu, Steve Langasek
     (closes: #253787)
     . arch/alpha/kernel/core_cia.c
Files:
 854a944a781a81004a338fb8b66b3428 970 devel optional kernel-source-2.4.26_2.4.26-4.dsc
 00b15a0987bf8cd1b1cd492ef6fdc6bc 1324652 devel optional kernel-source-2.4.26_2.4.26-4.diff.gz
 87ae51b334ff16c15a942796396ae709 517696 devel optional kernel-patch-debian-2.4.26_2.4.26-4_all.deb
 d14571c069f4d7d8d8a8a9b43d520595 16762 devel optional kernel-tree-2.4.26_2.4.26-4_all.deb
 3e5c219b4eb3b868644d7825a0a13def 3543112 doc optional kernel-doc-2.4.26_2.4.26-4_all.deb
 d46c94475cbd04f305ea67dc2f31aa42 30984776 devel optional kernel-source-2.4.26_2.4.26-4_all.deb

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

iD8DBQFA/zcLdu+M6Iexz7URApcvAKDaGUelUJ3A7qqJ7LCgdsKPYeC8ugCgy/Op
lu+d4Vzwc/Qz8G9fGJFteKY=
=2/Kg
-----END PGP SIGNATURE-----

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Thu, 22 Jul 2004 21:32:49 -0400
From: Simon Horman <email address hidden>
To: <email address hidden>
Cc: Simon Horman <email address hidden>, Debian Kernel Team <email address hidden>
Subject: Fixed in NMU of kernel-source-2.4.26 2.4.26-4

tag 253787 + fixed
tag 257120 + fixed

quit

This message was generated automatically in response to a
non-maintainer upload. The .changes file follows.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 22 Jul 2004 12:27:39 +0900
Source: kernel-source-2.4.26
Binary: kernel-source-2.4.26 kernel-tree-2.4.26 kernel-patch-debian-2.4.26 kernel-doc-2.4.26
Architecture: source all
Version: 2.4.26-4
Distribution: unstable
Urgency: low
Maintainer: Debian Kernel Team <email address hidden>
Changed-By: Simon Horman <email address hidden>
Description:
 kernel-doc-2.4.26 - Linux kernel specific documentation for version 2.4.26
 kernel-patch-debian-2.4.26 - Debian patches to Linux 2.4.26
 kernel-source-2.4.26 - Linux kernel source for version 2.4.26 with Debian patches
 kernel-tree-2.4.26 - Linux kernel tree for building prepackaged Debian kernel images
Closes: 253787 257120
Changes:
 kernel-source-2.4.26 (2.4.26-4) unstable; urgency=low
 .
   * Fix stack allocation in crypt(). Patch by Herbert Xu
     (closes: #257120)
     . crypto/cipher.c
   * Reversed patch to PCI initialisation code on Alpha
     Patch by Herbert Xu, Steve Langasek
     (closes: #253787)
     . arch/alpha/kernel/core_cia.c
Files:
 854a944a781a81004a338fb8b66b3428 970 devel optional kernel-source-2.4.26_2.4.26-4.dsc
 00b15a0987bf8cd1b1cd492ef6fdc6bc 1324652 devel optional kernel-source-2.4.26_2.4.26-4.diff.gz
 87ae51b334ff16c15a942796396ae709 517696 devel optional kernel-patch-debian-2.4.26_2.4.26-4_all.deb
 d14571c069f4d7d8d8a8a9b43d520595 16762 devel optional kernel-tree-2.4.26_2.4.26-4_all.deb
 3e5c219b4eb3b868644d7825a0a13def 3543112 doc optional kernel-doc-2.4.26_2.4.26-4_all.deb
 d46c94475cbd04f305ea67dc2f31aa42 30984776 devel optional kernel-source-2.4.26_2.4.26-4_all.deb

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

iD8DBQFA/zcLdu+M6Iexz7URApcvAKDaGUelUJ3A7qqJ7LCgdsKPYeC8ugCgy/Op
lu+d4Vzwc/Qz8G9fGJFteKY=
=2/Kg
-----END PGP SIGNATURE-----

Revision history for this message
In , Joshua Kwan (joshk) wrote : closing these bugs

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
from it. For now I'm closing them.

--
Joshua Kwan

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Wed, 11 Aug 2004 19:47:27 -0700
From: Joshua Kwan <email address hidden>
To: <email address hidden>, <email address hidden>
Subject: closing these bugs

--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--

Changed in linux-source-2.6.15:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.