From owner-freebsd-smp@FreeBSD.ORG Thu May 13 01:18:05 2004 Return-Path: Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F181016A4CE for ; Thu, 13 May 2004 01:18:05 -0700 (PDT) Received: from linda-1.paradise.net.nz (bm-1a.paradise.net.nz [202.0.58.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11C5543D54 for ; Thu, 13 May 2004 01:18:05 -0700 (PDT) (envelope-from markir@paradise.net.nz) Received: from smtp-2.paradise.net.nz (smtp-2b.paradise.net.nz [202.0.32.211]) by linda-1.paradise.net.nz (Paradise.net.nz) with ESMTP id <0HXN003OL8E31K@linda-1.paradise.net.nz> for freebsd-smp@freebsd.org; Thu, 13 May 2004 20:18:04 +1200 (NZST) Received: from paradise.net.nz (203-79-100-194.adsl.paradise.net.nz [203.79.100.194]) by smtp-2.paradise.net.nz (Postfix) with ESMTP id AD6A89E218 for ; Thu, 13 May 2004 20:18:03 +1200 (NZST) Date: Thu, 13 May 2004 20:20:04 +1200 From: Mark Kirkwood To: freebsd-smp@freebsd.org Message-id: <40A32FB4.2030601@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040404 Subject: SMP disables USB mass storage in Freebsd 4.9 RELEASE X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 May 2004 08:18:06 -0000 Dear list, I have a Tyan Tiger 133 / S1834 running Freebsd 4.9 RELEASE that exhibits the following: booting with SMP and APIC_IO *disabled* lets me plug in usb devices and mount them - e.g: May 11 22:50:19 istral /kernel.STANDARD: umass0: Creative Tech NOMAD MuVo, rev 1.10/0.01, addr 2 May 11 22:50:19 istral /kernel.STANDARD: umass0: Get Max Lun not supported (IOERROR) May 11 22:50:19 istral /kernel.STANDARD: da0 at umass-sim0 bus 0 target 0 lun 0 May 11 22:50:19 istral /kernel.STANDARD: da0: Removable Direct Access SCSI-4 device May 11 22:50:19 istral /kernel.STANDARD: da0: 650KB/s transfers May 11 22:50:19 istral /kernel.STANDARD: da0: 125MB (256001 512 byte sectors: 64H 32S/T 125C) whereas with them enabled I cannot - e.g: May 12 22:29:23 istral /kernel.SMP: uhub0: device problem, disabling port 1 The difference between STANDARD and GENERIC is $ diff STANDARD GENERIC 21,23c21,23 < #cpu I386_CPU < #cpu I486_CPU < #cpu I586_CPU --- > cpu I386_CPU > cpu I486_CPU > cpu I586_CPU 25c25 < ident STANDARD --- > ident GENERIC 29d28 < makeoptions COPTFLAGS="-O2 -pipe -funroll-loops -ffast-math" 118d116 < device atapicam # CAM Cooked SCSI device The difference between SMP and STANDARD is $ diff STANDARD SMP 65,66c65,66 < #options SMP # Symmetric MultiProcessor Kernel < #options APIC_IO # Symmetric (APIC) I/O --- > options SMP # Symmetric MultiProcessor Kernel > options APIC_IO # Symmetric (APIC) I/O My mptable: =============================================================================== MPTable, version 2.0.15 ------------------------------------------------------------------------------- MP Floating Pointer Structure: location: BIOS physical address: 0x000f5940 signature: '_MP_' length: 16 bytes version: 1.1 checksum: 0x80 mode: Virtual Wire ------------------------------------------------------------------------------- MP Config Table Header: physical address: 0x000f1400 signature: 'PCMP' base table length: 260 version: 1.1 checksum: 0xd5 OEM ID: 'OEM00000' Product ID: 'PROD00000000' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 24 local APIC address: 0xfee00000 extended table length: 0 extended table checksum: 0 ------------------------------------------------------------------------------- MP Config Base Table Entries: -- Processors: APIC ID Version State Family Model Step Flags 0 0x11 BSP, usable 6 8 3 0xfbff 1 0x11 AP, usable 6 8 3 0xfbff -- Bus: Bus ID Type 0 PCI 1 PCI 2 ISA -- I/O APICs: APIC ID Version State Address 2 0x11 usable 0xfec00000 -- I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# ExtINT conforms conforms 2 0 2 0 INT conforms conforms 2 1 2 1 INT conforms conforms 2 0 2 2 INT conforms conforms 2 3 2 3 INT conforms conforms 2 4 2 4 INT conforms conforms 2 6 2 6 INT conforms conforms 2 7 2 7 INT active-hi edge 2 8 2 8 INT conforms conforms 2 9 2 9 INT conforms conforms 2 12 2 12 INT conforms conforms 2 13 2 13 INT conforms conforms 2 14 2 14 INT conforms conforms 2 15 2 15 INT active-lo level 2 11 2 16 INT active-lo level 2 10 2 18 INT active-lo level 2 5 2 19 -- Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# ExtINT conforms conforms 2 0 255 0 NMI conforms conforms 2 0 255 1 =============================================================================== My general configuration is: Tyan Tiger 133 S1834:VIA 82C691 PCI/82C596 ATA/83C572 USB 2xPIII 700 100Mhz 4x512Mb Kingston DIMM 2x40G Maxtor +8 connected to Promise TX2000 PCI RAID 1xMatrix Millenium II AGP Any ideas would be greatly appreciated, as it is very convenient to have USB working without having to effectively "lose" a CPU. (As a general note Freebsd/SMP on this box seems to work flawlessly apart from this issue!) regards Mark