Date: Tue, 2 Apr 2013 10:50:15 -0600 (MDT) From: Chris Torek <torek@elf.torek.net> To: bryanv@daemoninthecloset.org, glebius@FreeBSD.org Cc: freebsd-hackers@FreeBSD.org Subject: Re: boot time crash in if_detach_internal() Message-ID: <201304021650.r32GoFKO034890@elf.torek.net> In-Reply-To: <1227759852.2041.1364917640905.JavaMail.root@daemoninthecloset.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>Not sure if the right answer is for drivers not to call ether_ifattach() >until the point-of-no-failure (lots of drivers are wrong then) or >initialize other parts earlier. The other "obvious" method is to rearrange the sysinit priorities (/sys/sys/kernel.h) so that all network domains are initialized before invoking the device configuration code -- moving SI_SUB_PROTO* before SI_CONFIGURE -- but presumably this idea was tried and rejected earlier and hence the code in ether_ifattach to check the same global variable. Chris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304021650.r32GoFKO034890>