From owner-freebsd-stable@FreeBSD.ORG Fri Dec 26 13:54:33 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA92E1065677 for ; Fri, 26 Dec 2008 13:54:33 +0000 (UTC) (envelope-from me@janh.de) Received: from mout-xforward.kundenserver.de (mout-xforward.kundenserver.de [212.227.17.4]) by mx1.freebsd.org (Postfix) with ESMTP id 4EE228FC12 for ; Fri, 26 Dec 2008 13:54:33 +0000 (UTC) (envelope-from me@janh.de) Received: from janh.freebsd (e177245213.adsl.alicedsl.de [85.177.245.213]) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis) id 0ML25U-1LGD940mMs-0000N0; Fri, 26 Dec 2008 14:54:30 +0100 Message-ID: <4954E214.1020002@janh.de> Date: Fri, 26 Dec 2008 14:54:28 +0100 From: Jan Henrik Sylvester User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: Garrett Cooper References: <4953720D.8090201@janh.de> <49543502.80505@janh.de> <18AFA677-DE7D-402B-BC42-071818AFA393@gmail.com> In-Reply-To: <18AFA677-DE7D-402B-BC42-071818AFA393@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX18Wp/3+coAM7MTsIid8rXD5UhN8qZVv9NaX7WK 2DX+0qq73/0zrjbVdYUw9HbqgHt8J5HErxtMsIMvJLxU3UzjzH +0Uf3qrEH52W7VGXDncgA== Cc: stable-list freebsd Subject: Re: 7.1-RC2: link_elf: symbol cp_time undefined X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2008 13:54:33 -0000 Garrett Cooper wrote: > On Dec 25, 2008, at 17:36, Jan Henrik Sylvester wrote: > >> Garrett Cooper wrote: >>> On Dec 25, 2008, at 3:44, Jan Henrik Sylvester wrote: >>>> During boot I see: link_elf: symbol cp_time undefined >>>> >>>> I have realized it now with RC2, but looking at my logs, I have had >>>> that message during boot since upgrading this machine from >>>> 7.0-RELEASE to 7.1-RC1 via freebsd-update a at Dec-8. (I did >>>> recompile kernel modules from ports: fusefs-kmod and kqemu-kmod.) >>>> >>>> What is the easiest way to find out what tried to link to the >>>> unknown symbol? The context in which the messages appear is: >>>> >>>> savecore: no dumps found >>>> Initial i386 initialization:. >>>> Additional ABI support: linux. >>>> Starting local daemons:kldload: can't load ntfs: File exists >>>> link_elf: symbol cp_time undefined >>>> kldload: can't load linprocfs: No such file or directory >>>> link_elf: symbol cp_time undefined >>>> mount: linprocfs : Operation not supported by device >>>> . >>>> Updating motd. >>>> Starting fusefs. >>>> fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8 >>>> Mounting late file systems:. >>>> >>>> In my rc.local, I have >>>> kldload ntfs >>>> kldload linprocfs >>>> mount -t linprocfs linprocfs /usr/compat/linux/proc >>>> which used to work (I think). /boot/kernel/linprocfs.ko does exist. >>>> >>>> Cheers, >>>> Jan Henrik >>> Did you compile your kernel from scratch? >>> -Garrett >> >> No, it came with freebsd-update (every possible freebsd-update since >> the install from the 7.0-BETA4 CD). Outside /etc, the IDS function of >> freebsd-update only reports a mismatch for /boot/kernel/linker.hints >> -- can this be the problem? (I will try to replace it tomorrow.) >> >> Cheers, >> Jan Henrik > > It shouldn't be the hints file. I would think it's a lack of Linux > support built into the updated kernel. I've never used freebsd-upgrade > though.. > -Garrett Thanks for your answer. The problem is entirely my fault. From 7.0, I still had /boot/ulegeneric in my kern.module_path instead of /boot/kernel -- and /boot/ulegeneric is still there containing a 7.0-p6 kernel with ULE scheduler, of which the modules do not work with the 7.1-RC2 kernel (booted from /boot/kernel). Sorry for the fuss. Cheers, Jan Henrik