Re: 2.4.19-pre6aa1 (possible all kernel after 2.4.19-pre2) athlon PCI workaround

From: Kurt Garloff (garloff@suse.de)
Date: Tue Apr 16 2002 - 02:57:03 EST


Hi Steven,

On Tue, Apr 16, 2002 at 04:43:06PM +1000, Steve Kieu wrote:
> I think this is a known problem but it is strange that
> no one bother to implement something to make it easier
> for the end user to compile their own kernel rather
> than seraching the file and edit it.

The reason for the code there was that people had problems without it.
Somebody found some docu from VIA and came up with the patch that is now
in the kernel. And it helped those people.

So, it's not that nobody bothers, it's just that we don't want to break
those people's computers.

> Of course I believe my box is not the only one suffering such
> problem.

No, there have been a few reports on LKML.

> > arch/i386/kernel/pci-pc.c:
>
> Just after posting my first email, I found the file,
> yes it is in arch/i386/kernel/pci-pc.c and I just
> comment out all lines in struct pci_fixup
> pcibios_fixups[] related to VIA; that is
> PCI_FIXUP_HEADER, PCI_VENDOR_ID_VIA etc...
>
> I have no idea if this affects the system, but it
> seemed that the problem is solved and no thing wierd
> happened yet :-). May be if I got some trouble I will
> set the bit as you said.

You complain that no one bothers. The opposite is true:
Hacking solutions that work for some and not for others is just not
acceptable. But that's what you did now.
(Nothing wrong with it, if it helps you. But you don't help finding a
solution that works for everybody.)

> > and claiming that not clearing bit 5 did make the
> > problem go away.
> > (IOW: Replace v &= 0x1f; /* clear bits 5, 6, 7 */
> > by v &= 0x3f; /* clear bits 6, 7 */
> > and see whether this helps.)

It would be intersting to know. Maybe just clearing bits 6 and 7
would make everybody happy?
But the docu seems to indicate otherwise and there have not yet been
enough reports to be sure.

Regards,

-- 
Kurt Garloff  <garloff@suse.de>                          Eindhoven, NL
GPG key: See mail header, key servers         Linux kernel development
SuSE Linux AG, Nuernberg, DE                            SCSI, Security


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Apr 23 2002 - 22:00:14 EST