From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <334fe1a2da50f7762cdb2cf4da1a5301@plan9.bell-labs.com> Date: Fri, 1 Apr 2005 14:45:34 -0500 From: jmk@plan9.bell-labs.com To: 9fans@cse.psu.edu Subject: Re: [9fans] Hang at boot. In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 3059a1b0-ead0-11e9-9d60-3106f5b1d025 On Fri Apr 1 14:37:00 EST 2005, steve@quintile.net wrote: > some left over debug I reckon > > /sys/src/boot/pc/etherigbe.c:print("status0 %8.8uX\n", csr32r(ctlr, Status)); > > -Steve hmm. could be related to this in detach() which is called soon after that print: /* apparently needed on multi-GHz processors to avoid infinite loops */ delay(1); while(csr32r(ctlr, Ctrl) & Devrst) ; we should probably time out the loops in there and return a failure value instead of void.