Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jul 2000 15:55:26 -0700 (PDT)
From:      marc@tear.com
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/20292: MAKEDEV does not create RocketPort devices
Message-ID:  <20000729225526.2B72737B8A1@hub.freebsd.org>

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

>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




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