BERTRAND Joël a écrit : > Hello, > > If iscsi-9-current.diff provided by Michael van Elst seems to fix > panic, it doesn't fix deadlock. Last night, when bacula was starting, > system has stopped once again in this deadlock. > > No trace in log or console, and I cannot switch in kernel debugger > (keyboard doesn't respond, same constatation on serial line). > > This morning, I have tried to boot with the same kernel, but built with > LOCKDEBUG option. After 30 minutes, system did not reach init ! But > there was no usable information on console. > > I don't know how investigate. I have uploaded on > ftp://fermat.systella.fr (netbsd directory) : > > - CUSTOM.CFG (kernel configuration) > - ISCSI-9-CURRENT.DIFF (patch against -9 to fix ccb panic) > - NETBSD.BZ2 (kernel build with CUSTOM.CFG config file) > - NETBSD_GDB.BZ2 (same configuration but with DBG) > - NETBSD_LOCKDEBUG.BZ2 (same configuration with LOCKDEBUG, it doesn't > boot or very very very slowly)
I have done a diff between GENERIC kernel and mine. My kernel contains iscsi, altq and all but tpm GENERIC options. I use altqd for QoS. Maybe this deadlock is a side effect with altqd. /etc/altq.conf : #tbrconfig interface wm2 bandwidth 4M priq class priq wm2 high_class NULL priority 1 class priq wm2 low_class NULL priority 0 default filter wm2 high_class 0 1194 0 0 17 filter wm2 high_class 0 0 0 1194 17 filter wm2 high_class 0 1195 0 0 17 filter wm2 high_class 0 0 0 10240 17 filter wm2 high_class 0 10000 0 0 17 filter wm2 high_class 0 0 0 10000 17 filter wm2 high_class 0 53 0 0 17 filter wm2 high_class 0 53 0 0 6 interface tap0 bandwidth 2M priq class priq tap0 high_class_vpn NULL priority 1 class priq tap0 low_class_vpn NULL priority 0 default filter tap0 high_class_vpn 192.168.10.250 0 0 0 17 filter tap0 high_class_vpn 0 0 192.168.10.250 0 17 filter tap0 high_class_vpn 192.168.10.253 0 0 0 17 filter tap0 high_class_vpn 0 0 192.168.10.253 0 17 interface agr0 bandwidth 1000M priq class priq agr0 high_class_lan NULL priority 1 class priq agr0 low_class_lan NULL priority 0 default filter agr0 high_class_lan 192.168.10.250 0 0 0 17 filter agr0 high_class_lan 0 0 192.168.10.250 0 17 filter agr0 high_class_lan 192.168.10.253 0 0 0 17 filter agr0 high_class_lan 0 0 192.168.10.253 0 17 filter agr0 high_class_lan 0 10000 0 0 17 filter agr0 high_class_lan 0 0 0 10000 17 # QoS conditioner agr0 af41_agr0 <mark 0xb8> filter agr0 af41_agr0 0 10000 0 0 17 filter agr0 af41_agr0 0 0 0 10000 17 filter agr0 af41_agr0 0 0 192.168.10.250 0 17 filter agr0 af41_agr0 0 0 192.168.10.253 0 17 conditioner tap0 af41_tap0 <mark 0xb8> filter tap0 af41_tap0 0 0 192.168.10.250 0 17 filter tap0 af41_tap0 0 0 192.168.10.253 0 17 filter tap0 af41_tap0 0 10000 0 0 17 filter tap0 af41_tap0 0 0 0 10000 17 Regards, JB