From owner-freebsd-questions@freebsd.org Sat Jul 18 18:22:04 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 43AD59A5A2C for ; Sat, 18 Jul 2015 18:22:04 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 29F1A1287 for ; Sat, 18 Jul 2015 18:22:04 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: by mailman.ysv.freebsd.org (Postfix) id 28E789A5A2B; Sat, 18 Jul 2015 18:22:04 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 287B49A5A2A for ; Sat, 18 Jul 2015 18:22:04 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from griffon.alerce.com (griffon.alerce.com [206.125.171.162]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "griffon.alerce.com", Issuer "griffon.alerce.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 139DF1286 for ; Sat, 18 Jul 2015 18:22:03 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from griffon.alerce.com (localhost [127.0.0.1]) by griffon.alerce.com (Postfix) with ESMTP id 34DF42842D for ; Sat, 18 Jul 2015 11:15:37 -0700 (PDT) Received: from postfix.alerce.com (75-149-38-78-SFBA.hfc.comcastbusiness.net [75.149.38.78]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by griffon.alerce.com (Postfix) with ESMTPSA id F1AF82842C for ; Sat, 18 Jul 2015 11:15:36 -0700 (PDT) Received: by postfix.alerce.com (Postfix, from userid 503) id 03D225A09F2E; Sat, 18 Jul 2015 11:15:36 -0700 (PDT) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <21930.38856.925971.642440@alacrity.local> Date: Sat, 18 Jul 2015 11:15:36 -0700 To: FreeBSD Questions Subject: loader can't load vmm.ko after upgrade of -STABLE X-Mailer: VM 8.2.0b under 24.5.1 (x86_64-apple-darwin14.1.0) Reply-To: hartzell@alerce.com X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jul 2015 18:22:04 -0000 I've filed this as [bug 201679](https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201679). --- I upgraded my 10.2-STABLE system via svn last night, did the build and install world and kernel dance. Generally everything is as it should be. But, I can no longer load `vmm.ko` via the loader, which used to work. I have these lines in `/boot/loader.conf`: ``` vmm_load="YES" pptdevs="0/23/0" ``` and/but at the machine boots, I get this on the console. ``` >> FreeBSD EFI boot block Loader path: /boot/loader.efi Consoles: EFI console Image base: 0x78a69000 EFI version: 2.40 EFI Firmware: EDK II (rev 1.00) FreeBSD/amd64 EFI loader, Revision 1.1 (root@fishy.alerce.com, Sat Jul 18 00:42:15 PDT 2015) Loading /boot/defaults/loader.conf /boot/kernel/kernel text=0x1396e50 data=0x132738+0x4d7f40 syms=[0x8+0x159d50+0x8 +0x17465c] /boot/entropy size=0x1000 /boot/kernel/vmm.ko | elf64_obj_loadimage: read failed Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... Start @ 0xffffffff802f9000 ... ``` I am unable to load them by hand via the loader either: ``` OK OK load vmm /boot/kernel/vmm.ko - elf64_obj_loadimage: read failed can't load file '/boot/kernel/vmm.ko': input/output error OK ``` Loading `/boot/kernel.old/vmm.ko` (from the old build) also fails. I can load the module using `kldload` once the system is up and running. I also noticed that the `if_urtwn.ko` module loaded via the loader, so I think that loading kernel modules is not generally broken. ``` root@fishy:~ # kldload vmm root@fishy:~ # kldstat Id Refs Address Size Name 1 9 0xffffffff80200000 1e6fa38 kernel 2 1 0xffffffff82211000 11f42 if_urtwn.ko 3 1 0xffffffff82223000 338ac2 vmm.ko root@fishy:~ # ``` I'd like to get this working. Suggestions?