https://bugs.dragonflybsd.org/https://bugs.dragonflybsd.org/favicon.ico?16293952082007-10-02T07:02:02ZDragonFlyBSD bugtrackerDragonFlyBSD - Bug #817: page fault during boot on latest -HEADhttps://bugs.dragonflybsd.org/issues/817?journal_id=37172007-10-02T07:02:02Zjoerg1
<ul></ul><p>Hi,</p>
<p>I'm experiencing the very same effect after I upgraded to latest HEAD<br />yesterday, the machine panics right before fsck'ing/mounting. I also<br />cannot produce dump files...</p>
<p>--j</p>
<p>On Mon, 01 Oct 2007 01:54:49 +0200, Rumko <<a class="email" href="mailto:rumcic@gmail.com">rumcic@gmail.com</a>> wrote:</p> DragonFlyBSD - Bug #817: page fault during boot on latest -HEADhttps://bugs.dragonflybsd.org/issues/817?journal_id=37232007-10-03T02:30:01Zdillon
<ul></ul><p>:Hi,<br />:<br />:I'm experiencing the very same effect after I upgraded to latest HEAD<br />:yesterday, the machine panics right before fsck'ing/mounting. I also<br />:cannot produce dump files...<br />:<br />:--j</p>
<pre><code>Ok, on both reports it looks like some recent sysctl work must have<br /> broken sysctl. The kernel does a sysctl -a while booting in order<br /> to help seed the random number generator.</code></pre>
<pre><code>Rumko, could you do a 'nm -n /kernel' (or wherever that kernel binary<br /> resides) and track down the function containing the address 0xc045d724 ?</code></pre>
<pre><code>I'm guessing is related to the recent network/polling work.</code></pre>
<pre><code>-Matt<br /> Matthew Dillon <br /> &lt;<a class="email" href="mailto:dillon@backplane.com">dillon@backplane.com</a>&gt;</code></pre> DragonFlyBSD - Bug #817: page fault during boot on latest -HEADhttps://bugs.dragonflybsd.org/issues/817?journal_id=37242007-10-03T02:54:00Zrumcic
<ul></ul><p>Interesting ... "nm -n /kernel | grep -i c045d724" returns ... nothing. A<br />function is missing?</p> DragonFlyBSD - Bug #817: page fault during boot on latest -HEADhttps://bugs.dragonflybsd.org/issues/817?journal_id=37252007-10-03T03:03:01Zdillon
<ul></ul><p>:Interesting ... "nm -n /kernel | grep -i c045d724" returns ... nothing. A<br />:function is missing?</p>
<pre><code>No, it's not the start of a function, its in the middle of a function<br /> so you have to find the address which comes before that one.</code></pre>
<pre><code>-Matt</code></pre> DragonFlyBSD - Bug #817: page fault during boot on latest -HEADhttps://bugs.dragonflybsd.org/issues/817?journal_id=37262007-10-03T03:14:00Zrumcic
<ul></ul><p>nm -n /kernel | grep -i c045d7<br />c045d71c T strlen<br />c045d740 T strncmp<br />c045d790 T strncpy<br />c045d7d0 T strtol</p>
<p>strlen?</p> DragonFlyBSD - Bug #817: page fault during boot on latest -HEADhttps://bugs.dragonflybsd.org/issues/817?journal_id=37272007-10-03T04:34:06Zjoerg
<ul></ul><p>For a debug kernel, addr2line is very helpful.</p>
<p>Joerg</p> DragonFlyBSD - Bug #817: page fault during boot on latest -HEADhttps://bugs.dragonflybsd.org/issues/817?journal_id=37282007-10-03T05:34:02Zdillon
<ul></ul><p>:c045d740 T strncmp<br />:c045d790 T strncpy<br />:c045d7d0 T strtol<br />:<br />:strlen?</p>
<pre><code>Yah, we'll need a stack backtrace to see who called it. It's probably<br /> a sysctl somewhere. Can you get to a DDB prompt ?</code></pre>
<pre><code>-Matt</code></pre> DragonFlyBSD - Bug #817: page fault during boot on latest -HEADhttps://bugs.dragonflybsd.org/issues/817?journal_id=37292007-10-03T05:50:01Zrumcic
<ul></ul><p><a class="external" href="http://www.rumko.net/dragonfly/DSC00156.JPG">http://www.rumko.net/dragonfly/DSC00156.JPG</a><br /><a class="external" href="http://www.rumko.net/dragonfly/DSC00157.JPG">http://www.rumko.net/dragonfly/DSC00157.JPG</a><br /><a class="external" href="http://www.rumko.net/dragonfly/DSC00158.JPG">http://www.rumko.net/dragonfly/DSC00158.JPG</a></p>
<p>this enough?</p> DragonFlyBSD - Bug #817: page fault during boot on latest -HEADhttps://bugs.dragonflybsd.org/issues/817?journal_id=37302007-10-03T06:04:02Zdillon
<ul></ul><p>:http://www.rumko.net/dragonfly/DSC00156.JPG<br />:http://www.rumko.net/dragonfly/DSC00157.JPG<br />:http://www.rumko.net/dragonfly/DSC00158.JPG<br />:<br />:this enough?<br />:<br />:Matthew Dillon wrote:</p>
<pre><code>No good, it looks like it can't trace back from the fault<br /> frame.</code></pre>
<pre><code>Hmm. Can you boot into single-user mode and set the dump device<br /> manually? Then exit out of the single-user shell to complete a<br /> normal boot and hopefully get a kernel core dump out of it.</code></pre>
<pre><code>-Matt</code></pre> DragonFlyBSD - Bug #817: page fault during boot on latest -HEADhttps://bugs.dragonflybsd.org/issues/817?journal_id=37482007-10-08T03:35:38Zrumcic
<ul></ul><p>Also, seems that this issue has been split a bit ... check issue821 and issue820</p>
<p>Seems to be working now.</p>
<p>Thank you Matt.</p>