Date: Mon, 12 Aug 2013 07:06:06 -0600 From: Ian Lepore <ian@FreeBSD.org> To: Tom Everett <tom@khubla.com> Cc: "freebsd-arm@freebsd.org" <freebsd-arm@FreeBSD.org> Subject: Re: kldload on arm Message-ID: <1376312766.3320.180.camel@revolution.hippie.lan> 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 Sun, 2013-08-11 at 15:07 -0600, 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? > > Usually "file exists" means that the driver is either already loaded, or is compiled into the kernel. "kldstat -v" will show the latter. Also, sometimes the kldload messages are not helpful, but there'll be more info in dmesg. -- Ian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1376312766.3320.180.camel>