From owner-freebsd-current@FreeBSD.ORG Sat Apr 14 00:44:32 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 07B6F106564A for ; Sat, 14 Apr 2012 00:44:32 +0000 (UTC) (envelope-from kwhite@site.uottawa.ca) Received: from courriel.site.uottawa.ca (eecsmail.engineering.uottawa.ca [137.122.24.224]) by mx1.freebsd.org (Postfix) with ESMTP id B52F58FC0C for ; Sat, 14 Apr 2012 00:44:31 +0000 (UTC) Received: from courriel.site.uottawa.ca (localhost [127.0.0.1]) by courriel.site.uottawa.ca (8.14.4/8.14.4) with ESMTP id q3E0iPSJ086294 for ; Fri, 13 Apr 2012 20:44:25 -0400 (EDT) (envelope-from kwhite@site.uottawa.ca) Received: from 74.51.53.177 (SquirrelMail authenticated user kwhite) by courriel.site.uottawa.ca with HTTP; Fri, 13 Apr 2012 20:44:25 -0400 (EDT) Message-ID: <31940.74.51.53.177.1334364265.squirrel@courriel.site.uottawa.ca> Date: Fri, 13 Apr 2012 20:44:25 -0400 (EDT) From: kwhite@site.uottawa.ca To: freebsd-current@freebsd.org User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Mailman-Approved-At: Sat, 14 Apr 2012 02:10:10 +0000 Subject: r234118 uart kernel module failure: "uart_cpu_eqres undefined" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Apr 2012 00:44:32 -0000 The change from sys/dev/uart/uart_cpu_{i386,amd64}.c to uart_cpu_x86.c probably also needs a corresponding change in the module Makefile. # kldload uart link_elf: symbol uart_cpu_eqres undefined Here's one suggestion that works for me: Index: /sys/modules/uart/Makefile =================================================================== --- /sys/modules/uart/Makefile (revision 234249) +++ /sys/modules/uart/Makefile (working copy) @@ -16,6 +16,8 @@ uart_if.c uart_if.h uart_subr.c uart_tty.c .if exists(${.CURDIR}/../../dev/uart/uart_cpu_${MACHINE}.c) SRCS+= uart_cpu_${MACHINE}.c +.elif ${MACHINE} == "i386" || ${MACHINE} == "amd64" +SRCS+= uart_cpu_x86.c .endif SRCS+= bus_if.h card_if.h device_if.h isa_if.h ${ofw_bus_if} pci_if.h \ power_if.h pccarddevs.h serdev_if.h ------------------------------------------------------------------------ ...keith