kern/124389: make installkernel fails with KMODDIR iff $(KMODDIR) does not exist

Yoshihiro Ota ota at j.email.ne.jp
Sun Jun 8 07:40:04 UTC 2008


>Number:         124389
>Category:       kern
>Synopsis:       make installkernel fails with KMODDIR iff $(KMODDIR) does not exist
>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:   Sun Jun 08 07:40:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Yoshihiro Ota
>Release:        7.0-STABLE
>Organization:
>Environment:
FreeBSD xxx 7.0-STABLE FreeBSD 7.0-STABLE #417: Sat Jun  7 13:12:29 EDT 2008     root at xxx:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
"make installkernel" does not create $(KMODDIR).  As a result, all files are installed as $(KMODDIR) but not under $(KMODDIR).  Quick-workaround is "mkdir $(KMODDIR)" before installkernel; but installkernel process is broken.
>How-To-Repeat:
# ls /boot/dir
ls: /boot/dir: No such file or directory
# make installkernel KMODDIR=/boot/dir

..

===> zyd (install)
install -o root -g wheel -m 555   if_zyd.ko /boot/dir
install -o root -g wheel -m 555   if_zyd.ko.symbols /boot/dir
kldxref /boot/dir
kldxref: /boot/dir: Not a directory
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
# ls -l /boot/dir
-r-xr-xr-x  1 root  wheel  89690 Jun  8 03:35 /boot/dir
>Fix:


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


More information about the freebsd-bugs mailing list