From owner-freebsd-questions Sat Dec 9 16:31:21 2000 From owner-freebsd-questions@FreeBSD.ORG Sat Dec 9 16:31:12 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from libero.sunshine.ale (ppp-152-114.33-151.iol.it [151.33.114.152]) by hub.freebsd.org (Postfix) with ESMTP id C9D8337B400; Sat, 9 Dec 2000 16:31:10 -0800 (PST) Received: by libero.sunshine.ale (Postfix, from userid 1001) id 751675E9F; Sun, 10 Dec 2000 01:29:52 +0100 (CET) Date: Sun, 10 Dec 2000 01:29:52 +0100 From: Alessandro de Manzano To: freebsd-questions@freebsd.org Cc: freebsd-smp@freebsd.org Subject: USB and SMP Message-ID: <20001210012952.A343@libero.sunshine.ale> Reply-To: Alessandro de Manzano Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="YiEDa0DAkWCtVeE4" Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 4.2-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello! I've a little technical problem and I would ask you for help :-) Situation: FreeBSD 4.2-STABLE (cvsupped few days ago) on a Microstar MS-6321 dual socket 370 motherboard. The CPUs are two Celeron 433 Mhz and the motherboard chipset is VIA VT82C694X (Apollo Pro 133A) with also a Promise ATA 100 dual channel controller (not used). I attached to this email my "dmesg" output. I noted that the USB subsystem get really crazy when running a SMP kernel. I've a Logitech Pilot Wheel Mouse USB that I used really fine on another 4.2-stable box, but on this one it is not usable. As you'll see from dmesg output, the USB controllers are correctly found, but seems not to work. But if I boot using a single CPU kernel then USB works fine. What could be ? Is this a known problem ? Here I include also the "usbdevs" output captured under SMP kernel: libero:(root)/root# usbdevs -v Controller /dev/usb0: addr 1: self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 0x0100 port 1 powered port 2 powered Controller /dev/usb1: addr 1: self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 0x0100 port 1 powered port 2 powered I guess that 0x0000 are not correct values for that parameters.. ;-) Please, could someone help me ? What I should do, besides disabling SMP ? ;-) Thanks a lot anyway! NOTE: please CC: the answer to me directly too, since I'm not yet subscribed to these lists! Thanks! -- bye! Alessandro de Manzano Milano, Italy aledema@iol.it --YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=dmesg Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.2-STABLE #0: Sat Dec 9 19:15:36 CET 2000 root@libero.sunshine.ale:/usr/obj/usr/src/sys/LIBERO2 Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (434.32-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x665 Stepping = 5 Features=0x183fbff real memory = 100663296 (98304K bytes) avail memory = 93990912 (91788K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc03b3000. Pentium Pro MTRR support enabled md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib2: at device 1.0 on pci0 pci1: on pcib2 pci1: at 0.0 irq 16 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xc000-0xc00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xc400-0xc41f irq 19 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xc800-0xc81f irq 19 at device 7.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pcm0: port 0xd400-0xd403,0xd000-0xd003,0xcc00-0xccff irq 18 at device 7.5 on pci0 atapci1: port 0xe800-0xe83f,0xe400-0xe403,0xe000-0xe007,0xdc00-0xdc03,0xd800-0xd807 mem 0xdc000000-0xdc01ffff irq 18 at device 12.0 on pci0 ata2: at 0xd800 on atapci1 ata3: at 0xe000 on atapci1 pci0: (vendor=0x104c, dev=0x8020) at 13.0 irq 19 xl0: <3Com 3c900-COMBO Etherlink XL> port 0xec00-0xec3f irq 17 at device 15.0 on pci0 xl0: Ethernet address: 00:10:4b:b0:38:07 xl0: selecting 10baseT transceiver, half duplex pcib1: on motherboard pci2: on pcib1 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppi0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via IOAPIC #0 intpin 2 IP packet filtering initialized, divert disabled, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry by default DUMMYNET initialized (000608) BRIDGE 990810, have 8 interfaces -- index 1 type 6 phy 0 addrl 6 addr 00.10.4b.b0.38.07 SMP: AP CPU #1 Launched! ad0: 9787MB [19885/16/63] at ata0-master UDMA66 acd0: CDROM at ata1-master using WDMA2 Mounting root from ufs:/dev/ad0s1a --YiEDa0DAkWCtVeE4-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message