From owner-freebsd-arm@FreeBSD.ORG Sun Aug 11 21:07:44 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 215DB30D for ; Sun, 11 Aug 2013 21:07:44 +0000 (UTC) (envelope-from tom@0x544745.com) Received: from mail-ob0-f177.google.com (mail-ob0-f177.google.com [209.85.214.177]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E25A627D1 for ; Sun, 11 Aug 2013 21:07:42 +0000 (UTC) Received: by mail-ob0-f177.google.com with SMTP id f8so4101422obp.36 for ; Sun, 11 Aug 2013 14:07:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=Vp0ctL9dOSp6hCzbU78yxzZuyFIwYmpkZwGy1AjKGpg=; b=UirdkcPoXH85et1jhuleLHEnG50mN/LtOcjmOPyhtu0rd1LV8vQT297vpWS2/+UksR QnHlOeKPvaItmsNlYTG5WuBzSXoBgMTGmOwYCLG4LSPWdsf+t1KCBppR9DwAYSJzjJXz 6aF2JkueMLWMXqtl9Wkflef+K7zCgQcoOOFbLj6B/jshL6uzDTucf7kADgFoLb2CbNbu aQwm942OYea8SlFBOZw4/Xv3nLgRS9K+5daTd+5MN6D9oWnvKKEdttIRASaY/ddfyKpz 3kAkptQs2EEDFtkHU/VqM2Kv+28qNOTmZy77OGeH8rjXgP3B4tuATJLqDYEOOFtkuvdd +MEg== X-Gm-Message-State: ALoCoQmzrgrAaFr7hJaGT9SdTX/GWTiUDv3xJGD3EE0tRfyNj/Xgy5GnXNjcvTheeQgO/j5Btsfe MIME-Version: 1.0 X-Received: by 10.182.50.200 with SMTP id e8mr8591865obo.35.1376255256746; Sun, 11 Aug 2013 14:07:36 -0700 (PDT) Received: by 10.182.135.195 with HTTP; Sun, 11 Aug 2013 14:07:36 -0700 (PDT) Date: Sun, 11 Aug 2013 15:07:36 -0600 Message-ID: Subject: kldload on arm From: Tom Everett To: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Aug 2013 21:07:44 -0000 Good afternoon mailing list. I'm attempting to write my first driver. I've got a very basic driver which I am attempting to load. The source code is here: https://github.com/teverett/pi-iic When I attempt to load the driver I get this: root@lureen:/home/tom/pi-iic/pi-iic # make install install -o root -g wheel -m 555 bcm2835_iic.ko /boot/kernel kldxref /boot/kernel kldxref: Skipping /boot/kernel/kernel.gz.tramp: not dynamically-linked root@lureen:/home/tom/pi-iic/pi-iic # make load /sbin/kldload -v /home/tom/pi-iic/pi-iic/bcm2835_iic.ko kldload: can't load /home/tom/pi-iic/pi-iic/bcm2835_iic.ko: File exists *** Error code 1 Does kldload work properly on arm? -- A better world shall emerge based on faith and understanding - Douglas MacArthur