Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Oct 1997 19:00:11 -0700 (PDT)
From:      ji@research.att.com
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   kern/4855: devfs not handling second IDE controller drives (wd2/wd3)
Message-ID:  <199710260200.TAA08291@hub.freebsd.org>
Resent-Message-ID: <199710260210.TAA09136@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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): <QUANTUM SIROCCO1700A>
wd0: 1628MB (3335472 sectors), 3309 cyls, 16 heads, 63 S/T, 512 B/S
wdc0: unit 1 (wd1): <WDC AC33100H>
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): <QUANTUM BIGFOOT_CY6480A>
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710260200.TAA08291>