RobertCNelson / linux-dev

MIT License
151 stars 96 forks source link

am33x-v3.8 Issues #20

Closed ghost closed 10 years ago

ghost commented 10 years ago

I am using https://rcn-ee.net/deb/microsd/wheezy/BBB-debian-7.3-2013-12-17-4gb.img.xz

and i have error when loading kernel module..

[ 142.264209] BUG: spinlock bad magic on CPU#0, lircd/988 [ 142.269761] lock: hardware+0x18/0xfffffddc [lirc_serial], .magic: 00000000, .owner: /-1, .owner_cpu: 0

RobertCNelson commented 10 years ago

which module? uname -r

Regards,

ghost commented 10 years ago

debian@arm:~$ uname -a Linux arm 3.8.13-bone32 #1 SMP Fri Dec 13 16:57:41 UTC 2013 armv7l GNU/Linux

https://drive.google.com/file/d/0BwugW4zORI-LYWJBZjE0ZHhXNjg/edit?usp=sharing this same driver work on other device(openwrt) with 3.8 kernel I am trying to run lirc on beaglebone black..

RobertCNelson commented 10 years ago

Yet the openwrt doesn't have an musb based usb ip stack..

1st: try upgrading to lastest stable 3.8:

wget http://rcn-ee.net/deb/wheezy-armhf/v3.8.13-bone36/install-me.sh
sudo /bin/bash install-me.sh

2nd: if above still doesn't fix it, (and you are not using any external 3rd party capes..)

rm -f install-me.sh || true
wget http://rcn-ee.net/deb/wheezy-armhf/v3.13.0-rc8-bone4/install-me.sh
sudo /bin/bash install-me.sh
ghost commented 10 years ago

test with v3.8.13-bone37 , but no luck with me.. same error .. I will try with 3.13 and will let you know....

ghost commented 10 years ago

with 3.13.1-bone5 spinlock error removed. there is no error, but still driver not working , the same driver works well with raspberry pi (http://aron.ws/projects/lirc_rpi/kernel.lirc_rpi-0.3.patch)

ghost commented 10 years ago

RobertCNelson thanks... now all things work correctly after 3.13.1-bone5 now it works perfectly... many thanks..

ghost commented 10 years ago

hello sir,, I make lirc driver for beaglebone black gpio. and it works fine. and I want to upload it to beaglebone github.. kindly reply.. how can i upload it.. this is my 1st time .. so i request you ..