The following reply was made to PR kern/144755; it has been noted by GNATS.
From: Edwin Groothuis <ed...@mavetju.org> To: Bernhard Schmidt <bschm...@techwires.net> Cc: bug-follo...@freebsd.org Subject: Re: kern/144755: [iwi] [panic] iwi panic when issuing /etc/rc.d/netif restart on 8-STABLE r205159 Date: Thu, 5 Aug 2010 08:31:27 +1000 Hello Bernhard! On Wed, Jul 28, 2010 at 12:11:17PM +0200, Bernhard Schmidt wrote: > Can you check if wpa_supplicant gets started twice after > "/etc/rc.d/netif restart"? According to core.txt there are two wpa_supplicant processes, but I don't know if it is caused by a fork of itself or if it is caused by something started twice: 0 7084 1 0 56 0 5192 0 select Ds ?? 3686:38.00 [wpa_suppli 0 7085 1 0 57 0 5192 0 select Ds ?? 2617:11.00 [wpa_suppli Based on the PPID of 1 for both, I would say it gets started twice. root wpa_supplicant 7085 root / 2 drwxr-xr-x 512 r root wpa_supplicant 7085 wd / 2 drwxr-xr-x 512 r root wpa_supplicant 7085 text /usr 4526084 -r-xr-xr-x 295932 r root wpa_supplicant 7085 0 /dev 7 crw-rw-rw- null rw root wpa_supplicant 7085 1 /dev 7 crw-rw-rw- null rw root wpa_supplicant 7085 2 /dev 7 crw-rw-rw- null rw root wpa_supplicant 7085 3* internet dgram udp c52b1000 root wpa_supplicant 7085 4* route raw 0 c527f4d4 root wpa_supplicant 7085 5 /dev 15 crw------- bpf rw root wpa_supplicant 7084 root / 2 drwxr-xr-x 512 r root wpa_supplicant 7084 wd / 2 drwxr-xr-x 512 r root wpa_supplicant 7084 text /usr 4526084 -r-xr-xr-x 295932 r root wpa_supplicant 7084 0 /dev 7 crw-rw-rw- null rw root wpa_supplicant 7084 1 /dev 7 crw-rw-rw- null rw root wpa_supplicant 7084 2 /dev 7 crw-rw-rw- null rw root wpa_supplicant 7084 3* internet dgram udp c4f520dc root wpa_supplicant 7084 4* route raw 0 c527f670 root wpa_supplicant 7084 5* local stream c4f508bc root wpa_supplicant 7084 6 /var 23622 -rw------- 4 w root wpa_supplicant 7084 7* local stream c4f5035c <-> c4f50408 root wpa_supplicant 7084 8 /dev 15 crw------- bpf rw > I have the feeling that this is a more or less known issue, a race > between devd (/etc/pccard_ether) and /etc/rc.d/netif. There is a small > window (a few ms) where this can happen and our net80211 isn't capable > of handling two running wpa_supplicants on the same interface. Which > leads to all kind of weird issues, .e.g. panics. Nice! Is there a workaround or patch available for testing? Edwin -- Edwin Groothuis Website: http://www.mavetju.org/ ed...@mavetju.org Weblog: http://www.mavetju.org/weblog/ _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"