From owner-freebsd-current@FreeBSD.ORG Fri Sep 24 19:12:28 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 42CF916A4CE for ; Fri, 24 Sep 2004 19:12:28 +0000 (GMT) Received: from web14824.mail.yahoo.com (web14824.mail.yahoo.com [216.136.225.195]) by mx1.FreeBSD.org (Postfix) with SMTP id E3C4543D1D for ; Fri, 24 Sep 2004 19:12:25 +0000 (GMT) (envelope-from rosti_bsd@yahoo.com) Message-ID: <20040924191225.32854.qmail@web14824.mail.yahoo.com> Received: from [212.143.154.227] by web14824.mail.yahoo.com via HTTP; Fri, 24 Sep 2004 12:12:25 PDT Date: Fri, 24 Sep 2004 12:12:25 -0700 (PDT) From: Rostislav Krasny To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: interesting bug of new fdc(4) - two /dev/fd0 device files X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2004 19:12:28 -0000 I have FreeBSD 5.3-BETA5 and 5.3-BETA4 installed on separate disks of the same computer. After the installation I added a second floppy drive (disk B in DOS). See following logs about how both systems work after that: dmesg and shell logs of 5.3-BETA5 (two /dev/fd0 device files): PNP0700: adding dma mask 0x4 PNP0700: adding io range 0x3f2-0x3f5, size=0x4, align=0 PNP0700: adding irq mask 0x40 pnpbios: handle 12 device ID PNP0700 (0007d041) [snipped] fdc0: ic_type 90 part_id 80 fdc0: at port 0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: ic_type 90 part_id 80 fdc0: [MPSAFE] fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 fd1: <1440-KB 3.5" drive> on fdc0 drive 1 > ls -il /dev/fd[0-9] 73 crw-r----- 1 root operator 4, 10 Sep 24 20:21 /dev/fd0 73 crw-r----- 1 root operator 4, 10 Sep 24 20:21 /dev/fd0 dmesg and shell logs of 5.3-BETA4 (no such bug): PNP0700: adding dma mask 0x4 PNP0700: adding io range 0x3f2-0x3f5, size=0x4, align=0 PNP0700: adding irq mask 0x40 pnpbios: handle 12 device ID PNP0700 (0007d041) [snipped] fdc0: at port 0x3f7,0x3f 0-0x3f5 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 fd1: <1440-KB 3.5" drive> on fdc0 drive 1 > ls -il /dev/fd[0-9] 32 crw-r----- 1 root operator 242, 0 Sep 24 19:05 /dev/fd0 34 crw-r----- 1 root operator 242, 1 Sep 24 19:05 /dev/fd1 P.S. having two floppy drives became rare at our days but this is still possible and correct to be used by anyone. __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail