From owner-freebsd-current Sat Apr 8 5:53: 3 2000 Delivered-To: freebsd-current@freebsd.org Received: from anchor-post-33.mail.demon.net (anchor-post-33.mail.demon.net [194.217.242.91]) by hub.freebsd.org (Postfix) with ESMTP id C567A37B7B4 for ; Sat, 8 Apr 2000 05:52:57 -0700 (PDT) (envelope-from n_hibma@calcaphon.com) Received: from calcaphon.demon.co.uk ([193.237.19.5] helo=bluebottle.qubesoft.com) by anchor-post-33.mail.demon.net with esmtp (Exim 2.12 #1) id 12dujM-000Kf4-0X; Sat, 8 Apr 2000 13:52:52 +0100 Received: from henny.qubesoft.com (henny.qubesoft.com [192.168.1.5]) by bluebottle.qubesoft.com (8.9.3/8.9.1) with ESMTP id NAA60613; Sat, 8 Apr 2000 13:55:59 +0100 (BST) (envelope-from n_hibma@calcaphon.com) Date: Sat, 8 Apr 2000 13:49:51 +0100 (BST) From: Nick Hibma X-Sender: n_hibma@localhost Reply-To: Nick Hibma 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) In-Reply-To: <200004080519.OAA02320@zodiac.mech.utsunomiya-u.ac.jp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > uhci0: 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