Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Apr 2000 13:49:51 +0100 (BST)
From:      Nick Hibma <n_hibma@calcaphon.com>
To:        usb-bsd@egroups.com
Cc:        current@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp
Subject:   Re: SMP problem? (was: Re: [usb-bsd] USB To Do list)  
Message-ID:  <Pine.BSF.4.20.0004081344560.10044-100000@localhost>
In-Reply-To: <200004080519.OAA02320@zodiac.mech.utsunomiya-u.ac.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
> uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xe000-0xe01f irq 15 at device 7.2 on pci0
> uhci0: LegSup = 0x00000010

                  ^^^^^^^^^^
PIRQDEN (IRQ's Enable) bit is not set by default. We set it right
afterwards, but you you might want to check this out by copying the
device_printf. The value should be 0x2000.

In uhci_pci.c:

         * anymore if it is connected to the ports of the root hub?
         */
#ifdef UHCI_DEBUG
        if (pci_read_config(self, PCI_LEGSUP, 4)!=PCI_LEGSUP_USBPIRQDEN)
                device_printf(self, "LegSup = 0x%08x\n",
                              pci_read_config(self, PCI_LEGSUP, 4));
#endif
        pci_write_config(self, PCI_LEGSUP, PCI_LEGSUP_USBPIRQDEN, 4);

+       device_printf(self, "LegSup = 0x%08x\n",
+                     pci_read_config(self, PCI_LEGSUP, 4));

        err = uhci_init(sc);

> >Shared interrupt?
> 
> No shared interrupt.  Both IDE channels are disabled by BIOS, thus,
> irq 15 is free.  After all, The USB drivers work if I run a UP kernel
> on the same machine.

Um, no, it still might conflict. Could you assign 14 and 15 to legacy
ISA, or move the UHCI controller onto a different interrupt and try
again?


> I know.  It works on my another SMP box running 4.0-STABLE ;-<

There is no difference between 5.0 nd 4.0 that could create this
problem, so it must be a difference in hardware.

Nick

--
n_hibma@webweaving.org
n_hibma@freebsd.org                                          USB project
http://www.etla.net/~n_hibma/



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.20.0004081344560.10044-100000>