Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jun 2008 07:39:38 GMT
From:      Yoshihiro Ota <ota@j.email.ne.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/124389: make installkernel fails with KMODDIR iff $(KMODDIR) does not exist
Message-ID:  <200806080739.m587dcTj020288@www.freebsd.org>
Resent-Message-ID: <200806080740.m587e4qs063903@freefall.freebsd.org>

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

>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@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:



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