Bug #2748
closedtop level identifier "dev" is missing for netmap
100%
Description
it defines some sysctl node which starts with _dev in sys/net/netmap module.
the top level identifier "dev" exists in FreeBSD, but Dfly is still lacking of it.
so should we create a top level "dev" or use net instead? ( personally I prefer to add a top level)
this patch was generated when I was trying to verify whether it is working if we use top level id "net" instead of "dev".
Files
Updated by swildner almost 10 years ago
In master, the dev hierarchy was added in commit 8e4d13764bdfc916c23fb22158c65e486dce631c, so we have it in master and the next release will have it too.
Can you instead try this patch: http://87.78.98.243/tmp/0001-Add-dev.-sysctl-hierarchy-to-4.0.patch
and report if the netmap sysctls work with it as "dev.netmap.*" ?
Regards,
Sascha
Updated by bycn82 almost 10 years ago
*OK, I will do it, *
*But is there anyway to test it without re-compile the kernel?*
Regards,
Bill Yuan
On 22 December 2014 at 21:37, <bugtracker-admin@leaf.dragonflybsd.org>
wrote:
Issue #2748 has been updated by swildner.
In master, the dev hierarchy was added in commit
8e4d13764bdfc916c23fb22158c65e486dce631c, so we have it in master and the
next release will have it too.Can you instead try this patch:
http://87.78.98.243/tmp/0001-Add-dev.-sysctl-hierarchy-to-4.0.patchand report if the netmap sysctls work with it as "dev.netmap.*" ?
Regards,
Sascha----------------------------------------
Bug #2748: top level identifier "dev" is missing for netmap
http://bugs.dragonflybsd.org/issues/2748#change-12356
- Author: bycn82
- Status: New
- Priority: Low
- Assignee:
- Category: Kernel
- Target version: 4.0.x
----------------------------------------
it defines some sysctl node which starts with _dev in sys/net/netmap
module.
the top level identifier "dev" exists in FreeBSD, but Dfly is still
lacking of it.
so should we create a top level "dev" or use net instead? ( personally I
prefer to add a top level)this patch was generated when I was trying to verify whether it is working
if we use top level id "net" instead of "dev".---Files--------------------------------
netmap.patch (1.9 KB)--
You have received this notification because you have either subscribed to
it, or are involved in it.
To change your notification preferences, please click here:
http://bugs.dragonflybsd.org/my/account
Updated by swildner almost 10 years ago
Nope, the kernel needs to be recompiled.
Updated by bycn82 almost 10 years ago
re-compiled the kernel already, But I think it doesnt work.
*#kldstatId Refs Address Size Name 1 7 0xffffffff80200000
1fae828 kernel 2 1 0xffffffff821af000 835450 acpi.ko 3 1
0xffffffff829e5000 64a90 ehci.ko 4 1 0xffffffff82a4a000 703f0
xhci.ko#kldload netmapkldload: an error occurred while loading the module.
Please check dmesg(8) for more details.##dmesg | tailcd0: 33.000MB/s
transferscd0: Attempt to query device size failed: NOT READY, Medium not
present - tray closedno B_DEVMAGIC (bootdev=0)Mounting root from
ufs:/dev/da0s1aDMA space used: 440k, remaining available: 16384kMounting
devfslink_elf_obj_obj: symbol sysctl__dev_netmap_children
undefinedlinker_load_file: Unsupported file type#but I noticed
something #sysctl net | wc -l 313#sysctl dev | wc -l 522#there are
522 dev node already! *
Regards,
Bill Yuan
On 22 December 2014 at 22:51, <bugtracker-admin@leaf.dragonflybsd.org>
wrote:
Issue #2748 has been updated by swildner.
Nope, the kernel needs to be recompiled.
----------------------------------------
Bug #2748: top level identifier "dev" is missing for netmap
http://bugs.dragonflybsd.org/issues/2748#change-12359
- Author: bycn82
- Status: New
- Priority: Low
- Assignee:
- Category: Kernel
- Target version: 4.0.x
----------------------------------------
it defines some sysctl node which starts with _dev in sys/net/netmap
module.
the top level identifier "dev" exists in FreeBSD, but Dfly is still
lacking of it.
so should we create a top level "dev" or use net instead? ( personally I
prefer to add a top level)this patch was generated when I was trying to verify whether it is working
if we use top level id "net" instead of "dev".---Files--------------------------------
netmap.patch (1.9 KB)--
You have received this notification because you have either subscribed to
it, or are involved in it.
To change your notification preferences, please click here:
http://bugs.dragonflybsd.org/my/account
Updated by swildner almost 10 years ago
- % Done changed from 0 to 100
I've pushed fixes to both master and 4.0 to make it work with dev.netmap. Please try again with latest source.
Thanks for reporting.
Updated by swildner almost 10 years ago
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.