Date: Sun, 11 Aug 2013 20:14:26 -0700 From: Tim Kientzle <tim@kientzle.com> To: Tom Everett <tom@khubla.com> Cc: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: kldload on arm Message-ID: <B09E8511-6B8C-4E7C-B4D0-2F1B571EDA58@kientzle.com> In-Reply-To: <CAB3ij4BZDyyEkSdonCFxiETrMRXXNge7KxDqUk=M79XcD1g9LQ@mail.gmail.com> References: <CAB3ij4BZDyyEkSdonCFxiETrMRXXNge7KxDqUk=M79XcD1g9LQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Aug 11, 2013, at 2:07 PM, Tom Everett wrote: > 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? Yes, it does. "File exists" simply means that the kernel thinks the driver is already loaded. Tim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B09E8511-6B8C-4E7C-B4D0-2F1B571EDA58>