Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2008 10:32:28 GMT
From:      Matt Burke <matt@botchitt.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/122288: mdconfig returning negative unit numbers
Message-ID:  <200803311032.m2VAWSJS060813@www.freebsd.org>
Resent-Message-ID: <200803311040.m2VAe4Ve035250@freefall.freebsd.org>

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

>Number:         122288
>Category:       bin
>Synopsis:       mdconfig returning negative unit numbers
>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:   Mon Mar 31 10:40:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Matt Burke
>Release:        6.3-RELEASE
>Organization:
>Environment:
FreeBSD xxxxxxxxxxx 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 16 01:43:02 UTC 2008     root@palmer.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  amd64

>Description:
mdconfig starts reporting negative unit numbers when 2^31 or greater is requested. 

I have had people verify the problem exists on other architectures and on freebsd 7.0
>How-To-Repeat:
# mdconfig -a -t malloc -s 1 -u 2147483647
# mdconfig -a -t malloc -s 1 -u 2147483648
# mdconfig -a -t malloc -s 1 -u 2147483649
# mdconfig -ln
2147483647 -2147483648 -2147483647
# mdconfig -d -u 2147483647
# mdconfig -d -u 2147483648
# mdconfig -d -u 2147483649
# mdconfig -ln
#

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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