public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* VIA chipset discussion
@ 2001-01-17 22:02 David D.W. Downey
  2001-01-17 22:40 ` Pete Toscano
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: David D.W. Downey @ 2001-01-17 22:02 UTC (permalink / raw)
  To: linux-kernel


Could those that were involved in the VIA chipset discussion email me
privately at pgpkeys@hislinuxbox.com?

I'm truly interested in solving this issue. I personally think it's more
than just the chipset causing the problems.


I'm looking for members of the list that are using the kernel support for
the following


VIA chipset
Promise controller (PDC2026# with specifics on the PDC20265 (ATA100))
SMP support
IDE + SCSI mix in the system.


I'm trying to track a number of POSSIBLE bugs (can't say they are for
sure) and any input from folks with this mix of drivers would be
exponentially useful, even if for nothing more than discounting some of my
thoughts.


Also, can anyone summurize the already known and specific problems with
combinations of the above requirements? I would truly appreciate that. 

David D.W. Downey

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

^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: VIA chipset discussion
@ 2001-01-18 10:18 Petr Vandrovec
  0 siblings, 0 replies; 17+ messages in thread
From: Petr Vandrovec @ 2001-01-18 10:18 UTC (permalink / raw)
  To: Pete Toscano; +Cc: linux-kernel

On 17 Jan 01 at 17:40, Pete Toscano wrote:
> according to the linux-usb maintainers, it's a pci irq routing problem.
> i've asked jeff garzik and martin mares if they'll look into it, but
> they're pretty busy and i haven't heard anything back from them (not
> that'd i'd expect to for quite a while, considering their load).  i've
> asked on the list too, but i've only heard back from people with the
> same problem, not anyone who can fix the problem.

I'm using kernel module below. Find which device your USB is. If it is
0:07.2 and 0:07.3, take 7*8 + 2 = 58 (resp. 59). Then try

for irq in 16 17 18 19; do
  insmod setpci devfn=58 irq=$irq
  insmod setpci devfn=59 irq=$irq
  modprobe <your usb ohci/uhci/alt-uhci>
  does it work -> stop
done

After you'll find correct IRQ, you are done ;-) Put this into your
initscript before usb loading (you must compile USB as module), or
you can insert your devfn/irq pair somewhere into pirq_get_info()...

My BIOS (Apollo Pro 133x) returns incorrect routing table when LPT is
not in ECP mode. When it is in ECP, reported routing table is correct
(and my USB is on IRQ19, if that matters).

/*
# Based on Makefile for the Linux video drivers.
# 5 Aug 1999, James Simmons, <mailto:jsimmons@edgeglobal.com>
# Rewritten to use lists instead of if-statements.

default:
    (cd /usr/src/linux; make SUBDIRS=/usr/src/linus/pci modules)

O_TARGET := setp.o

# All of the (potential) objects that export symbols.
# This list comes from 'grep -l EXPORT_SYMBOL *.[hc]'.

# Each configuration option enables a list of files.

obj-m += setpci.o

ifdef TOPDIR
include $(TOPDIR)/Rules.make
endif

clean:
    rm -f core *.o *.a *.s
*/

#include <linux/config.h>
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/pci.h>

static unsigned int devfn = -1;
static unsigned int irq   = -1;
MODULE_PARM(devfn, "i");
MODULE_PARM(irq, "i");

static int loadme(void) {
    struct pci_dev* dev;
    
    pci_for_each_dev(dev) {
        printk(KERN_DEBUG "%p: %04X: %04X:%04X -> %d\n",
            dev, dev->devfn, dev->vendor, dev->device, dev->irq);
        if (dev->devfn == devfn)
            dev->irq = irq;
    }
    return -EBUSY;
}

module_init(loadme);
 

                                            Best regards,
                                                Petr Vandrovec
                                                vandrove@vc.cvut.cz
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 17+ messages in thread
[parent not found: <20010118081259.A694@suse.cz>]

end of thread, other threads:[~2001-01-23 17:29 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-17 22:02 VIA chipset discussion David D.W. Downey
2001-01-17 22:40 ` Pete Toscano
2001-01-18  4:04 ` Rogerio Brito
2001-01-18 18:13   ` Matthew Fredrickson
2001-01-18 23:32     ` John O'Donnell
2001-01-18 23:42       ` Howard Johnson
2001-01-19 14:53         ` Vojtech Pavlik
2001-01-19 16:42           ` John O'Donnell
2001-01-19 21:54             ` Matthew Fredrickson
2001-01-21 18:39             ` David D.W. Downey
2001-01-22  8:54           ` Howard Johnson
2001-01-19  6:42     ` Rogerio Brito
2001-01-20  8:39 ` Andy Galasso
2001-01-21 18:46   ` David D.W. Downey
2001-01-23 17:28   ` Andre Hedrick
  -- strict thread matches above, loose matches on Subject: below --
2001-01-18 10:18 Petr Vandrovec
     [not found] <20010118081259.A694@suse.cz>
     [not found] ` <Pine.LNX.4.21.0101181548230.9718-100000@ns-01.hislinuxbox.com>
2001-01-21 11:54   ` Vojtech Pavlik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox