On Mon, Oct 20, 2008 at 10:13 AM, Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> wrote: > Em Sat, Oct 18, 2008 at 01:06:28PM +0200, Gerrit Renker escreveu: > > <SNIP> > >> Incidentally the new netdev-2.6 has a commit called "Remove CONFIG_KMOD from >> net/ (towards removing KMOD entirely)", so perhaps there is something in >> progress. > > Is CONFIG_MODULES present in the config file that produces a kernel that > has the problem? > > I guess not, Leandro, can you please add it manually, then do a make > oldconfig, check that it is still there, then build the kernel? > > This is the part of the patch Gerrit mentioned > (95a5afca4a8d2e1cb77e1d4bc6ff9f718dc32f7a) that could be hitting you. > > > diff --git a/net/dccp/ccid.c b/net/dccp/ccid.c > index 4809753..8fe931a 100644 > --- a/net/dccp/ccid.c > +++ b/net/dccp/ccid.c > @@ -154,7 +154,7 @@ struct ccid *ccid_new(unsigned char id, struct sock *sk, int rx, gfp_t gfp) > struct ccid *ccid = NULL; > > ccids_read_lock(); > -#ifdef CONFIG_KMOD > +#ifdef CONFIG_MODULES > if (ccids[id] == NULL) { > /* We only try to load if in process context */ > ccids_read_unlock(); > > - Arnaldo > I run the test again. I run git clone --reference, git checkgout origin/dccp as usual. It does not show 2.6.27-rc8 in the DCCP tree, only 2.6.27. Is that correct? # `uname -a` Linux localhost 2.6.27-48036-g29aae39 #1 SMP Tue Oct 21 09:43:27 BRT 2008 i686 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux I compiled dccp as module, disabled CONFIG_SECURITY, CONFIG_USBNET and Ipv6 as per Gerrit suggestion and CONFIG_MODULES=y as per Arnaldo suggestion. Here it is the strace result: `strace -f -e trace=network iperf -sd` Process 5947 attached Process 5948 attached [pid 5947] socket(PF_NETLINK, SOCK_RAW, 0) = 3 [pid 5947] bind(3, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0 [pid 5947] getsockname(3, {sa_family=AF_NETLINK, pid=5946, groups=00000000}, [12]) = 0 [pid 5947] sendto(3, "\24\0\0\0\26\0\1\3/\332\375H\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20 [pid 5947] recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"8\0\0\0\24\0\2\0/\332\375H:\27\0\0\2\10\200\376\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 116 [pid 5947] recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0/\332\375H:\27\0\0\0\0\0\0\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20 [pid 5947] socket(PF_INET, 0x6 /* SOCK_??? */, 0x21 /* IPPROTO_??? */) = -1 EUNATCH (Protocol driver not attached) [pid 5947] socket(PF_INET, 0x6 /* SOCK_??? */, 0x21 /* IPPROTO_??? */) = -1 EUNATCH (Protocol driver not attached) [pid 5947] socket(PF_INET, 0x6 /* SOCK_??? */, 0x21 /* IPPROTO_??? */) = -1 EUNATCH (Protocol driver not attached) Can not create DCCP socket (Protocol driver not attached) Process 5947 detached My .config is attached. Leandro.
Attachment:
config_desktop
Description: Binary data