kern/63720: System hangs when trying to create non-existing devices with ifconfig

Gregor Surmann admin at sinuspl.net
Wed Mar 3 14:50:13 PST 2004


>Number:         63720
>Category:       kern
>Synopsis:       System hangs when trying to create non-existing devices with ifconfig
>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:   Wed Mar 03 14:50:12 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Gregor Surmann
>Release:        FreeBSD 5.2.1-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD router.sinuspl.net 5.2.1-RELEASE-p1 FreeBSD 5.2.1-RELEASE-p1 #3: Wed Mar 3 22:56:59 CET 2004 root at router.sinuspl.net:/usr/src/sys/i386/compile/ROUTER i386


	Machine is a normal PC, with intel mainboard and P3 CPU. Running very stable. No other errors or so.
	Standard kernel config, only some old ISA cards removes and "device stf" appended.

>Description:
	I wanted to use 6to4, so I've created a device stf0 with command "ifconfig stf0 create". Then... as I was bored, i though "let create device staff0". So, typed "ifconfig staff0 create". The system hangs. Nothing in logs, only reset possible. Then, after reboot, i tried to create gjiogjisdjgio device with "ifconfig gjiogjisdjgio create". Again, a hang.

>How-To-Repeat:
	Type "ifconfig asshole0 create" or so...

>Fix:
	Don't know how to fix, maybe first parse the device name and check it before doing anything?



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


More information about the freebsd-bugs mailing list