[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kernel/3777: kernel config/compilation error in OpenBSD 3.5



>Number:         3777
>Category:       kernel
>Synopsis:       kernel `config` does not recognize lack of USB modules
>Confidential:   yes
>Severity:       serious
>Priority:       low
>Responsible:    bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 11 21:30:02 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Kyle Lanclos
>Release:        3.5
>Organization:
UCO/Lick Observatory
net
>Environment:
        
        System      : OpenBSD 3.5
        Architecture: OpenBSD.i386
        Machine     : i386
>Description:
        If you comment out all instances of USB devices in the conf/i386/GENERIC
	file, the 'config' executable does not recognize that the uhci and ohci
        devices are "orphaned." If you then try to compile the kernel, it will
        fail to compile the .o files asssociated with these devices.
>How-To-Repeat:
        Comment out all USB devices starting with "usb* at uchi?" down to
        "ugen* at uhub? port ? configuration ?", and run `config`
        `make depend` `make` the way you usually would. The compile will bomb
        when it tries to link ohci.o or uhci.o.
>Fix:
        Presumably, `config` needs to be aware that uhci and ohci are orphaned
	if USB bus support is disabled.


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