Updated switch/glue patch?
Stefan Bethke
stb at lassitu.de
Thu Dec 29 10:18:32 UTC 2011
> http://gitorious.org/~stb/freebsd/stb-adrianchadd-freebsd-work (branch work/ath)
> http://www.lassitu.de/freebsd/etherswitch-adrian.patch (patch against Adrians gitorious repo as of now)
> http://www.lassitu.de/freebsd/etherswitch.tbz (all files)
I've now gotten the panic again with the callout:
Sleeping on "rtl8366rbstart" with the following non-sleepable locks held:
exclusive sleep mutex rtl8366rbcallout (rtl8366rbcallout) r = 0 (0x80769114) locked @ /home/stb/working/fe/stb-adrianchadd-freebsd-work/sys/kern/kern_mutex.c:148
callout_init_mtx() says
> The usable lock classes are currently limited to mutexes and rwlocks, because callout handlers run in softclock swi, so they cannot sleep nor acquire sleepable locks like sx or lockmgr.
The way I read that, any callout will be run in a way that does not allow sleeping. I'm not sure how to handle this.
Stefan
--
Stefan Bethke <stb at lassitu.de> Fon +49 151 14070811
More information about the freebsd-embedded
mailing list