From owner-freebsd-current Thu Jun 29 4:29:37 2000 Delivered-To: freebsd-current@freebsd.org Received: from kbtfw.kubota.co.jp (kbtfw.kubota.co.jp [133.253.102.202]) by hub.freebsd.org (Postfix) with ESMTP id DE10937BC08 for ; Thu, 29 Jun 2000 04:29:29 -0700 (PDT) (envelope-from haro@tk.kubota.co.jp) Received: by kbtfw.kubota.co.jp; id UAA17493; Thu, 29 Jun 2000 20:29:22 +0900 (JST) Received: from unknown(133.253.122.1) by kbtfw.kubota.co.jp via smap (V4.2) id xma017377; Thu, 29 Jun 00 20:28:41 +0900 Received: from jkpc15.tk.kubota.co.jp ([192.168.7.250]) by kbtmx.eto.kubota.co.jp (8.9.3+3.2W/3.7W) with ESMTP id UAA18986; Thu, 29 Jun 2000 20:28:38 +0900 (JST) Received: from localhost (localhost.ttr.kubota.co.jp [127.0.0.1]) by jkpc15.tk.kubota.co.jp (8.9.3/3.7W-02/21/99) with ESMTP id UAA51492; Thu, 29 Jun 2000 20:27:28 +0900 (JST) To: holm@freibergnet.de Cc: freebsd-current@freebsd.org, kuwa@flab.fujitsu.co.jp Subject: Re: -current from yesterday ; annoying messages.. In-Reply-To: <20000629093231.A15828@pegasus.freibergnet.de> References: <20000629093231.A15828@pegasus.freibergnet.de> X-Mailer: Mew version 1.94.1 on Emacs 20.6 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000629202727R.haro@tk.kubota.co.jp> Date: Thu, 29 Jun 2000 20:27:27 +0900 From: haro@tk.kubota.co.jp (Munehiro Matsuda) X-Dispatcher: imput version 990905(IM130) Lines: 62 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, From: Holm Tiffe Date: Thu, 29 Jun 2000 09:32:31 +0200 ::Hi, ::can pleasee anyone explain what this means and how I can get rid of this ? :: ::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 ::fd1: <1200-KB 5.25" drive> on fdc0 drive 1 ::WARNING: "fd" is usurping "fd"'s cdevsw[] ::WARNING: "fd" is usurping "fd"'s bmaj ::^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: ::and ist this normal ? Because you have two floppy drives, and cdevsw_add() is being called twice. The following patch should fix it. This patch was originaly created by Kuwamura-san for PC98 fd driver. It's been working for me, for few month. ---8<------8<------8<------8<--- Cut Here ---8<------8<------8<------8<--- --- sys/isa/fd.c.orig Fri May 26 12:20:36 2000 +++ sys/isa/fd.c Thu Jun 29 20:14:11 2000 @@ -1099,10 +1099,14 @@ int typemynor; int typesize; #endif + static int32_t fd_cdev_done = 0; fd = device_get_softc(dev); - cdevsw_add(&fd_cdevsw); /* XXX */ + if (!fd_cdev_done) { + cdevsw_add(&fd_cdevsw); /* XXX */ + fd_cdev_done++; + } make_dev(&fd_cdevsw, (fd->fdu << 6), UID_ROOT, GID_OPERATOR, 0640, "rfd%d", fd->fdu); ---8<------8<------8<------8<--- Cut Here ---8<------8<------8<------8<--- ::sio1 at port 0x2f8-0x2ff irq 3 on isa0 ::sio1: type 16550A ::vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ::isa0: <@@@0000> found ::^^^^^^^^^^^^^^^^^^^^^ ::unknown: can't assign resources Same here. I also would like to know about it. Hope this helps, Haro =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Business Incubation Dept., Kubota Corp. /|\ |_| |_|_| 1-3 Nihonbashi-Muromachi 3-Chome Chuo-ku Tokyo 103-8310, Japan Tel: +81-3-3245-3318 Fax: +81-3-3245-3315 Email: haro@kubota.co.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message