From owner-freebsd-bugs Sat Oct 25 19:10:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA09145 for bugs-outgoing; Sat, 25 Oct 1997 19:10:04 -0700 (PDT) (envelope-from owner-freebsd-bugs) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA09136; Sat, 25 Oct 1997 19:10:02 -0700 (PDT) (envelope-from gnats) Resent-Date: Sat, 25 Oct 1997 19:10:02 -0700 (PDT) Resent-Message-Id: <199710260210.TAA09136@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, ji@research.att.com Received: (from nobody@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA08291; Sat, 25 Oct 1997 19:00:11 -0700 (PDT) (envelope-from nobody) Message-Id: <199710260200.TAA08291@hub.freebsd.org> Date: Sat, 25 Oct 1997 19:00:11 -0700 (PDT) From: ji@research.att.com To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: kern/4855: devfs not handling second IDE controller drives (wd2/wd3) Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 4855 >Category: kern >Synopsis: devfs not handling second IDE controller drives (wd2/wd3) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Oct 25 19:10:01 PDT 1997 >Last-Modified: >Originator: John Ioannidis >Organization: AT&T Labs Research >Release: 2.2.2-RELEASE >Environment: FreeBSD elf.tla.org 2.2.2-RELEASE FreeBSD 2.2.2-RELEASE #0: Sun Oct 12 16:21:34 EDT 1997 root@elf.tla.org:/usr/src/sys/compile/ELF i386 >Description: devfs does not handle IDE drives hanging off the second IDE controller (wdc1) properly. Instead of trying to attach them as [r]wd2 and [r]wd3, it tries to attach them as [r]wd0 and [r]wd1. Here is the evidence: wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 1628MB (3335472 sectors), 3309 cyls, 16 heads, 63 S/T, 512 B/S wdc0: unit 1 (wd1): wd1: 3020MB (6185088 sectors), 6136 cyls, 16 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 on isa wdc1: unit 0 (wd2): wd2: 6204MB (12706470 sectors), 13446 cyls, 15 heads, 63 S/T, 512 B/S Device wd0: name slot allocation failed (Errno=17) Device rwd0: name slot allocation failed (Errno=17) (17 is EEXIST). >How-To-Repeat: put 3 or 4 drives in a machine. Boot! >Fix: I would fix it if I had time. It should be a five-minute fix for the author of devfs! >Audit-Trail: >Unformatted: