From owner-freebsd-acpi@FreeBSD.ORG Mon Jan 3 22:25:59 2005 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA5DA16A4CE for ; Mon, 3 Jan 2005 22:25:59 +0000 (GMT) Received: from mail25.syd.optusnet.com.au (mail25.syd.optusnet.com.au [211.29.133.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EF3943D1D for ; Mon, 3 Jan 2005 22:25:59 +0000 (GMT) (envelope-from PeterJeremy@optushome.com.au) Received: from cirb503493.alcatel.com.au (c211-30-75-229.belrs2.nsw.optusnet.com.au [211.30.75.229]) j03MPvFX024827 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Tue, 4 Jan 2005 09:25:57 +1100 Received: from cirb503493.alcatel.com.au (localhost.alcatel.com.au [127.0.0.1])j03MPuxP036581 for ; Tue, 4 Jan 2005 09:25:57 +1100 (EST) (envelope-from pjeremy@cirb503493.alcatel.com.au) Received: (from pjeremy@localhost) by cirb503493.alcatel.com.au (8.12.10/8.12.9/Submit) id j03MPu7p036580 for freebsd-acpi@freebsd.org; Tue, 4 Jan 2005 09:25:56 +1100 (EST) (envelope-from pjeremy) Date: Tue, 4 Jan 2005 09:25:56 +1100 From: Peter Jeremy To: freebsd-acpi@freebsd.org Message-ID: <20050103222556.GW79646@cirb503493.alcatel.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2i Subject: ACPI + SMBus disables ISA bus X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jan 2005 22:25:59 -0000 I originally sent this to -stable but have received no response. It's possible that it's an ACPI problem so I'm trying here. I'm trying to upgrade a system from 4.10 to 5.3p2 and am running into problems with the ISA bus disappearing (not probing or attaching) when I have both ACPI and SMBus enabled. This leads to a panic when something tries to do a sysctl on the (non-existent) console. The problem is masked if I use a serial console because the only ISA device I need is the VGA adapter and the lack of vga0 and syscons doesn't worry the serial console. I've had a google around and it looks like this combination should work. At least, I can't find anything forbidding it and can find some dmesgs showing both ACPI and SMBus. The relevant sections of a GENERIC "boot -v" shows: ... AcpiOsDerivePciId: bus 0 dev 17 func 0 AcpiOsDerivePciId: bus 0 dev 17 func 0 ... found-> vendor=0x1106, dev=0x3147, revid=0x00 bus=0, slot=17, func=0 class=06-01-00, hdrtype=0x00, mfdev=1 cmdreg=0x0087, statreg=0x0210, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) powerspec 2 supports D0 D3 current D0 map[20]: type 4, range 32, base 0000fc00, size 4, enabled ... pci1: at device 0.0 (no driver attached) pci0: at device 8.0 (no driver attached) pci0: at device 11.0 (no driver attached) isab0: at device 17.0 on pci0 isa0: on isab0 atapci0: port 0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 17.1 on pci0 If I add the following options to GENERIC: device smbus device viapm device smb device iicbb device iicbus then the ISA bus vanishes and the above probe messages change to: ... pci1: at device 0.0 (no driver attached) pci0: at device 8.0 (no driver attached) pci0: at device 11.0 (no driver attached) viapropm0: SMBus I/O base at 0x400 viapropm0: port 0x400-0x40f at device 17.0 on pci0 viapropm0: SMBus revision code 0x0 smbus0: on viapropm0 smb0: on smbus0 atapci0: port 0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 17.1 on pci0 I can't get ACPI running properly in 4.x but I can have both SMBus and ACPI loaded and dmesg shows: ... viapropm0: SMBus I/O base at 0x400 viapropm0: port 0x400-0x40f at device 17.0 on pci0 viapropm0: SMBus revision code 0x0 smb0: on smbus0 ... isa0: on motherboard The motherboard is a Gigabyte GA-7VRXP with F12 BIOS (the latest AFAIK). Switching between PIC and APIC modes in the BIOS has no effect. There's no explicit "PnP/nonPnP" option. Should this work? If so, where should I look for clues as to why it doesn't for me? -- Peter Jeremy