On Sun, 05 Dec 2010, Oliver Hartkopp wrote: > can you give some more details about you setup, that leads to the crash? > > 1. Are you running the setup using this patch: > > > http://rtime.felk.cvut.cz/gitweb/shark/linux.git/commitdiff/92487e4f349cd7518cc3202662f42fea7d42ba73
Yes, but I've just tested that the panic appears even without this patch applied. > > 2. Are you using the '-e' option that creates the local echo of sent > CAN frames? No. I use a simple cangw -A -s can0 -d can1. It crashes immediately with the first routed message. I tried different messages ids and lengths but the result is still the same. Nnext, I want to try kgdb and set a watchpoint on the .magic filed of spinlock below. Do you have a better idea? BUG: spinlock bad magic on CPU#0, swapper/0 lock: c798cabc, .magic: c0000000, .owner: <none>/-1, .owner_cpu: -1069337880 -Michal P.S. My kernel config is here http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blob/edc8f8a7ff512c1c4cd1745aec62c4ddef1dc4fa:/kernel/build/shark/2.6.36/.config _______________________________________________ Socketcan-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-users
