[Bug 231] New: depmod.pl wont work

bugzilla at busybox.net bugzilla at busybox.net
Sat Mar 28 21:22:09 UTC 2009


https://bugs.busybox.net/show_bug.cgi?id=231

              Host: i386
            Target: i386
             Build: 1.13.3
           Summary: depmod.pl wont work
           Product: Busybox
           Version: 1.14.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: denys at visp.net.lb
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


After upgrading from last 1.12 release i notice that modules.dep generated by
included script depmod.pl will not work. For example latest kernel with garp
compiled in (modprobe 8021q), or ppp. It will show unresolved symbols, and will
load module on next attempt.
Default modules.dep generated by kernel tools is fine on new version, so it is
just matter of documentation.

More big problem is sysctl
/etc/sysctl.conf content is:
net.ipv4.ip_forward=1
kernel.panic_on_oops=1
kernel.panic=5
vm.min_free_kbytes=16384
net.ipv4.tcp_max_syn_backlog=10240
net.ipv4.conf.all.arp_filter=1
vm.panic_on_oom=2
net.core.netdev_max_backlog=4000
net.ipv4.conf.default.send_redirects=0
net.ipv4.conf.all.send_redirects=0
net.ipv4.conf.eth0.send_redirects=0
net.ipv4.conf.eth1.send_redirects=0
net.ipv4.conf.eth2.send_redirects=0
net.ipv4.conf.eth3.send_redirects=0

after executing sysctl -p i will get:

sysctl: error: malformed setting '=1'
sysctl: error: malformed setting '=1'
sysctl: error: malformed setting '=5'
sysctl: error: malformed setting '=16384'
sysctl: error: malformed setting '=10240'
sysctl: error: malformed setting '=1'
sysctl: error: malformed setting '=2'


After some short debugging i notice:
               printf("%s|%s\n",token[1],token[0]);
                sprintf(parser->line, "%s=%s", token[0], token[1]); // must
have room by definition
                printf("%s|%s\n",token[1],token[0]);

I will get:
1|net.ipv4.conf.default.rp_filter
1|=1
sysctl: error: malformed setting '=1'


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list