From owner-freebsd-bugs Sat Jul 29 16: 0: 7 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 6F30337B8C3 for ; Sat, 29 Jul 2000 16:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id QAA64803; Sat, 29 Jul 2000 16:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 2B72737B8A1; Sat, 29 Jul 2000 15:55:26 -0700 (PDT) Message-Id: <20000729225526.2B72737B8A1@hub.freebsd.org> Date: Sat, 29 Jul 2000 15:55:26 -0700 (PDT) From: marc@tear.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/20292: MAKEDEV does not create RocketPort devices Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 20292 >Category: misc >Synopsis: MAKEDEV does not create RocketPort devices >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jul 29 16:00:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Marc Mosko >Release: 4.0-RELEASE >Organization: >Environment: FreeBSD farpoint.tear.com 4.0-RELEASE FreeBSD 4.0-RELEASE #0: Sun Jul 30 15:25:10 PDT 2000 root@farpoint.tear.com:/usr/src/sys/compile/MARC2 i386 >Description: after installing a RocketPort PCI card (8 port) and recompiling the kernel with "device rp0", I tried adding the "cuaR" devices with /dev/MAKEDEV cuaR0. This did nothing. It failed to detect the controler. The shell script MAKEDEV used the syntax "\$first" in several places. The escape character is the problem. I edited the script and removed the \ from 8 locations. That fixed the problem. I have not checked to see if this is a problem elsewhere in the script. >How-To-Repeat: Add RocketPort card Recompile kernel with "rp0" run /dev/MAKEDEV cuaR0 >Fix: diff MAKEDEV MAKEDEV.org 1192c1192 < case "$first" in --- > case "\$first" in 1194c1194 < echo "$first" --- > echo "\$first" 1203c1203 < case "$first" in --- > case "\$first" in 1205c1205 < echo "$ports" --- > echo "\$ports" 1232c1232 < case "$first" in --- > case "\$first" in 1234c1234 < echo "$first" --- > echo "\$first" 1243c1243 < case "$first" in --- > case "\$first" in 1245c1245 < echo "$ports" --- > echo "\$ports" >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message