From owner-freebsd-stable@FreeBSD.ORG Thu Oct 5 16:49:36 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02F3916A4AB; Thu, 5 Oct 2006 16:49:36 +0000 (UTC) (envelope-from eugen@www.svzserv.kemerovo.su) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB55043DED; Thu, 5 Oct 2006 16:48:44 +0000 (GMT) (envelope-from eugen@www.svzserv.kemerovo.su) Received: from www.svzserv.kemerovo.su (eugen@localhost [127.0.0.1]) by www.svzserv.kemerovo.su (8.13.8/8.13.8) with ESMTP id k95GmLSU072110; Fri, 6 Oct 2006 00:48:21 +0800 (KRAST) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.13.8/8.13.8/Submit) id k95GmLpe072109; Fri, 6 Oct 2006 00:48:21 +0800 (KRAST) (envelope-from eugen) Date: Fri, 6 Oct 2006 00:48:21 +0800 From: Eugene Grosbein To: Robert Watson Message-ID: <20061005164821.GA71411@svzserv.kemerovo.su> References: <451F6E8E.8020301@freebsd.org> <4523916C.1080905@crc.u-strasbg.fr> <20061004163622.GA35298@xor.obsecurity.org> <20061004173637.GA66349@svzserv.kemerovo.su> <20061005102923.N84384@fledge.watson.org> <20061005115140.GA47746@svzserv.kemerovo.su> <20061005130829.A46123@fledge.watson.org> <20061005144852.GA60575@svzserv.kemerovo.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061005144852.GA60575@svzserv.kemerovo.su> User-Agent: Mutt/1.4.2.1i Cc: FreeBSD Stable , bug-followup@freebsd.org Subject: Re: kern/103841: [fdc] fdc(4) does not work (regression) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2006 16:49:36 -0000 On Thu, Oct 05, 2006 at 10:48:52PM +0800, Eugene Grosbein wrote: > > >It's definetely a regression from 4.11-STABLE that runs fine on this > > >system with ACPI fully enabled > > Hmm, I was wrong about 4.11 using ACPI - it does not use it here really, > it uses "good old" APM. > > > It would be interesting to know how 4.x probes the hardware vs. how it > > apperas in the 6.x dmesg. > > 4.11-STABLE: > > 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 > > 6.2-PRERELEASE: > > fdc0: port 0x3f0-0x3f5,0x3f0 irq 6 drq 2 on acpi0 > fdc0: [FAST] > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 I managed to know that fdc_initial_reset() in sys/dev/fdc/fdc.c probes my fdc controller as "Enhanced floppy controller" (ic_type==0x90) vs. 4.x's "NEC close". BTW, does in possible to obtain fdc's probe result vs. fdc_acpi's result without addition of call to "fdc_print_child(device_get_parent(dev), dev);" to fdc_initial_reset()? I've forced sys/dev/fdc/fdc.c to probe my controller as "NEC clone" by moving "case 0x90:" upwards to "case 0x80" in this function but that does not help, no change in behavour was observed. Eugene Grosbein