https://bugs.dragonflybsd.org/https://bugs.dragonflybsd.org/favicon.ico?16293952082014-12-22T13:37:24ZDragonFlyBSD bugtrackerDragonFlyBSD - Bug #2748: top level identifier "dev" is missing for netmaphttps://bugs.dragonflybsd.org/issues/2748?journal_id=123562014-12-22T13:37:24Zswildner
<ul></ul><p>In master, the dev hierarchy was added in commit 8e4d13764bdfc916c23fb22158c65e486dce631c, so we have it in master and the next release will have it too.</p>
<p>Can you instead try this patch: <a class="external" href="http://87.78.98.243/tmp/0001-Add-dev.-sysctl-hierarchy-to-4.0.patch">http://87.78.98.243/tmp/0001-Add-dev.-sysctl-hierarchy-to-4.0.patch</a></p>
<p>and report if the netmap sysctls work with it as "dev.netmap.*" ?</p>
<p>Regards,<br />Sascha</p> DragonFlyBSD - Bug #2748: top level identifier "dev" is missing for netmaphttps://bugs.dragonflybsd.org/issues/2748?journal_id=123582014-12-22T14:25:54Zbycn82bycn82@gmail.com
<ul></ul><p>*OK, I will do it, *<br />*But is there anyway to test it without re-compile the kernel?*</p>
<p><strong>Regards,</strong><br /><strong>Bill Yuan</strong></p>
<p>On 22 December 2014 at 21:37, <<a class="email" href="mailto:bugtracker-admin@leaf.dragonflybsd.org">bugtracker-admin@leaf.dragonflybsd.org</a>><br />wrote:</p>
<blockquote>
<p>Issue <a class="issue tracker-1 status-5 priority-3 priority-lowest closed" title="Bug: top level identifier "dev" is missing for netmap (Closed)" href="https://bugs.dragonflybsd.org/issues/2748">#2748</a> has been updated by swildner.</p>
<p>In master, the dev hierarchy was added in commit<br />8e4d13764bdfc916c23fb22158c65e486dce631c, so we have it in master and the<br />next release will have it too.</p>
<p>Can you instead try this patch:<br /><a class="external" href="http://87.78.98.243/tmp/0001-Add-dev.-sysctl-hierarchy-to-4.0.patch">http://87.78.98.243/tmp/0001-Add-dev.-sysctl-hierarchy-to-4.0.patch</a></p>
<p>and report if the netmap sysctls work with it as "dev.netmap.*" ?</p>
<p>Regards,<br />Sascha</p>
<p>----------------------------------------<br />Bug <a class="issue tracker-1 status-5 priority-3 priority-lowest closed" title="Bug: top level identifier "dev" is missing for netmap (Closed)" href="https://bugs.dragonflybsd.org/issues/2748">#2748</a>: top level identifier "dev" is missing for netmap<br /><a class="external" href="http://bugs.dragonflybsd.org/issues/2748#change-12356">http://bugs.dragonflybsd.org/issues/2748#change-12356</a></p>
<ul>
<li>Author: bycn82</li>
<li>Status: New</li>
<li>Priority: Low</li>
<li>Assignee:</li>
<li>Category: Kernel</li>
<li>Target version: 4.0.x<br />----------------------------------------<br />it defines some sysctl node which starts with _dev in sys/net/netmap<br />module.<br />the top level identifier "dev" exists in FreeBSD, but Dfly is still<br />lacking of it.<br />so should we create a top level "dev" or use net instead? ( personally I<br />prefer to add a top level)</li>
</ul>
<p>this patch was generated when I was trying to verify whether it is working<br />if we use top level id "net" instead of "dev".</p>
<p>---Files--------------------------------<br />netmap.patch (1.9 KB)</p>
<p>--<br />You have received this notification because you have either subscribed to<br />it, or are involved in it.<br />To change your notification preferences, please click here:<br /><a class="external" href="http://bugs.dragonflybsd.org/my/account">http://bugs.dragonflybsd.org/my/account</a></p>
</blockquote> DragonFlyBSD - Bug #2748: top level identifier "dev" is missing for netmaphttps://bugs.dragonflybsd.org/issues/2748?journal_id=123592014-12-22T14:51:45Zswildner
<ul></ul><p>Nope, the kernel needs to be recompiled.</p> DragonFlyBSD - Bug #2748: top level identifier "dev" is missing for netmaphttps://bugs.dragonflybsd.org/issues/2748?journal_id=123602014-12-22T15:09:12Zbycn82bycn82@gmail.com
<ul></ul><p><strong>re-compiled the kernel already, But I think it doesnt work.</strong></p>
<p>*#kldstatId Refs Address Size Name 1 7 0xffffffff80200000<br />1fae828 kernel 2 1 0xffffffff821af000 835450 acpi.ko 3 1<br />0xffffffff829e5000 64a90 ehci.ko 4 1 0xffffffff82a4a000 703f0<br /> xhci.ko#kldload netmapkldload: an error occurred while loading the module.<br />Please check dmesg(8) for more details.##dmesg | tailcd0: 33.000MB/s<br />transferscd0: Attempt to query device size failed: NOT READY, Medium not<br />present - tray closedno B_DEVMAGIC (bootdev=0)Mounting root from<br />ufs:/dev/da0s1aDMA space used: 440k, remaining available: 16384kMounting<br />devfslink_elf_obj_obj: symbol sysctl__dev_netmap_children<br />undefinedlinker_load_file: Unsupported file type#but I noticed<br />something #sysctl net | wc -l 313#sysctl dev | wc -l 522#there are<br />522 dev node already! *</p>
<p><strong>Regards,</strong><br /><strong>Bill Yuan</strong></p>
<p>On 22 December 2014 at 22:51, <<a class="email" href="mailto:bugtracker-admin@leaf.dragonflybsd.org">bugtracker-admin@leaf.dragonflybsd.org</a>><br />wrote:</p>
<blockquote>
<p>Issue <a class="issue tracker-1 status-5 priority-3 priority-lowest closed" title="Bug: top level identifier "dev" is missing for netmap (Closed)" href="https://bugs.dragonflybsd.org/issues/2748">#2748</a> has been updated by swildner.</p>
<p>Nope, the kernel needs to be recompiled.</p>
<p>----------------------------------------<br />Bug <a class="issue tracker-1 status-5 priority-3 priority-lowest closed" title="Bug: top level identifier "dev" is missing for netmap (Closed)" href="https://bugs.dragonflybsd.org/issues/2748">#2748</a>: top level identifier "dev" is missing for netmap<br /><a class="external" href="http://bugs.dragonflybsd.org/issues/2748#change-12359">http://bugs.dragonflybsd.org/issues/2748#change-12359</a></p>
<ul>
<li>Author: bycn82</li>
<li>Status: New</li>
<li>Priority: Low</li>
<li>Assignee:</li>
<li>Category: Kernel</li>
<li>Target version: 4.0.x<br />----------------------------------------<br />it defines some sysctl node which starts with _dev in sys/net/netmap<br />module.<br />the top level identifier "dev" exists in FreeBSD, but Dfly is still<br />lacking of it.<br />so should we create a top level "dev" or use net instead? ( personally I<br />prefer to add a top level)</li>
</ul>
<p>this patch was generated when I was trying to verify whether it is working<br />if we use top level id "net" instead of "dev".</p>
<p>---Files--------------------------------<br />netmap.patch (1.9 KB)</p>
<p>--<br />You have received this notification because you have either subscribed to<br />it, or are involved in it.<br />To change your notification preferences, please click here:<br /><a class="external" href="http://bugs.dragonflybsd.org/my/account">http://bugs.dragonflybsd.org/my/account</a></p>
</blockquote> DragonFlyBSD - Bug #2748: top level identifier "dev" is missing for netmaphttps://bugs.dragonflybsd.org/issues/2748?journal_id=123612014-12-22T19:43:21Zswildner
<ul></ul><p>Ok I will check it out.</p> DragonFlyBSD - Bug #2748: top level identifier "dev" is missing for netmaphttps://bugs.dragonflybsd.org/issues/2748?journal_id=123622014-12-22T20:20:45Zswildner
<ul><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>I've pushed fixes to both master and 4.0 to make it work with dev.netmap. Please try again with latest source.</p>
<p>Thanks for reporting.</p> DragonFlyBSD - Bug #2748: top level identifier "dev" is missing for netmaphttps://bugs.dragonflybsd.org/issues/2748?journal_id=123672014-12-24T16:06:34Zswildner
<ul></ul><p>I just tried it here with current 4.0 release branch and it works. If you have trouble upgrading or other issues with it, let me know.</p> DragonFlyBSD - Bug #2748: top level identifier "dev" is missing for netmaphttps://bugs.dragonflybsd.org/issues/2748?journal_id=123722014-12-28T03:29:28Zswildner
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li></ul>