From: Joseph Fannin <jfannin@gmail.com>
To: Romano Giannetti <romanol@upcomillas.es>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.24-rc1 fails with lockup and BUG:
Date: Wed, 24 Oct 2007 12:44:46 -0400 [thread overview]
Message-ID: <20071024164445.GA6452@nineveh.local> (raw)
In-Reply-To: <1193232344.32208.0.camel@localhost>
On Wed, Oct 24, 2007 at 03:25:44PM +0200, Romano Giannetti wrote:
>
> Hi,
>
> 2.6.23-rc1 fails for me. I have the sensation it is network-related, but
> I am not sure, so I send this message just to the list.
> This same failure was present in git-5734-gd85714d, I sent
> a message to the list but it seems it never arrived. I hope this will
> pass through. My system is a toshiba satellite A305-S5077, dual core pentium.
>
> The symptoms are quite strange. At boot, NetworkManager fails to activate
> my eth0 (r8169). Just stopping/restarting NM will make it works.
Denis V. Lunev wrote a patch for the NetworkManager thing a day or two
ago (which DaveM has queued).
Since netlink is involved in the traces you sent, this might do something
for the other too.
The patch I recieved follows:
> Revert to original netlink behavior. Do not reply with ACK if the
> netlink dump has bees successfully started.
> libnl has been broken by the cd40b7d3983c708aabe3d3008ec64ffce56d33b0
> The following command reproduce the problem:
> /nl-route-get 192.168.1.1
> Signed-off-by: Denis V. Lunev <den@openvz.org>
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c
index 98e313e..44a8b41 100644
--- a/net/netlink/af_netlink.c
+++ b/net/netlink/af_netlink.c
@@ -1565,7 +1565,10 @@ int netlink_dump_start(struct sock *ssk, struct sk_buff *skb,
netlink_dump(sk);
sock_put(sk);
- return 0;
+
+ /* We successfully started a dump, by returning -EINTR we
+ * signal not to send ACK even if it was requested */
+ return -EINTR;
}
void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err)
@@ -1619,17 +1622,21 @@ int netlink_rcv_skb(struct sk_buff *skb, int (*cb)(struct sk_buff *,
/* Only requests are handled by the kernel */
if (!(nlh->nlmsg_flags & NLM_F_REQUEST))
- goto skip;
+ goto ack;
/* Skip control messages */
if (nlh->nlmsg_type < NLMSG_MIN_TYPE)
- goto skip;
+ goto ack;
err = cb(skb, nlh);
-skip:
+ if (err == -EINTR)
+ goto skip;
+
+ack:
if (nlh->nlmsg_flags & NLM_F_ACK || err)
netlink_ack(skb, nlh, err);
+skip:
msglen = NLMSG_ALIGN(nlh->nlmsg_len);
if (msglen > skb->len)
msglen = skb->len;
--
Joseph Fannin
jfannin@gmail.com
next prev parent reply other threads:[~2007-10-24 16:59 UTC|newest]
Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-24 4:19 Linux v2.6.24-rc1 Linus Torvalds
2007-10-24 4:49 ` Willy Tarreau
2007-10-24 5:22 ` Dave Young
2007-10-24 7:23 ` Ingo Molnar
2007-10-24 7:32 ` Ohad Ben-Cohen
2007-10-24 7:33 ` Dave Young
2007-10-24 8:12 ` Jens Axboe
2007-10-24 7:44 ` kvm_main.c:220: error: implicit declaration of function 'smp_call_function_mask' Paolo Ornati
2007-10-24 7:56 ` Jeff Garzik
2007-10-24 8:04 ` Linux v2.6.24-rc1 Ingo Molnar
2007-10-24 8:04 ` Christoph Hellwig
2007-10-24 10:17 ` Linux v2.6.24-rc1, x86 arch code quality, unifications Ingo Molnar
2007-10-24 11:07 ` Linux v2.6.24-rc1 Sam Ravnborg
2007-10-24 12:12 ` Ingo Molnar
2007-10-24 12:21 ` Sam Ravnborg
2007-10-24 21:30 ` [RFC - GIT pull] first step to get rid of x86_64 and i386 dirs Sam Ravnborg
2007-10-24 22:50 ` Randy Dunlap
2007-10-25 6:14 ` Yinghai Lu
2007-10-25 10:56 ` Sam Ravnborg
2007-10-25 15:45 ` Randy Dunlap
2007-10-25 10:18 ` Ingo Molnar
2007-10-25 10:55 ` Sam Ravnborg
2007-10-24 8:10 ` [uml-devel] [Git Patch] arch/um/drivers/ubd_kern.c: fix a building error WANG Cong
2007-10-24 8:10 ` WANG Cong
2007-10-24 11:03 ` [uml-devel] " Jens Axboe
2007-10-24 11:03 ` Jens Axboe
2007-10-24 11:30 ` [git pull] x86 arch updates Ingo Molnar
2007-10-24 11:48 ` Jeff Garzik
2007-10-24 12:03 ` Ingo Molnar
2007-10-24 13:25 ` 2.6.24-rc1 fails with lockup and BUG: Romano Giannetti
2007-10-24 14:27 ` Ingo Molnar
2007-10-24 15:53 ` Romano Giannetti
2007-10-24 15:55 ` Ingo Molnar
2007-10-24 16:11 ` Peter Zijlstra
2007-10-26 5:57 ` Romano Giannetti
2007-10-26 6:37 ` 2.6.24-rc1 fails with lockup - /sbin/ifconfig / inet_ioctl() / dev_close() / rtl8169_down() Ingo Molnar
2007-10-26 16:48 ` Stephen Hemminger
2007-10-26 17:56 ` Ingo Molnar
2007-10-26 18:33 ` [PATCH] r8169: don't call napi_disable if not doing NAPI Stephen Hemminger
2007-10-26 20:17 ` Francois Romieu
2007-10-28 22:18 ` Romano Giannetti
2007-10-29 8:56 ` Romano Giannetti
2007-10-24 16:44 ` Joseph Fannin [this message]
2007-10-26 5:59 ` 2.6.24-rc1 fails with lockup and BUG: Romano Giannetti
2007-10-24 18:19 ` Linux v2.6.24-rc1 Giacomo Catenazzi
2007-12-04 10:08 ` [Bug 9246] On 2.6.24-rc1-gc9927c2b BUG: unable to handle kernel paging request at virtual address 3d15b925 Ingo Molnar
2007-12-04 16:47 ` Giacomo A. Catenazzi
2007-12-04 20:08 ` Rafael J. Wysocki
2007-12-05 9:26 ` Giacomo A. Catenazzi
2007-10-24 19:44 ` [patch] portman2x4.c: fix boot hang Ingo Molnar
2007-10-24 20:12 ` Frans Pop
2007-10-24 21:29 ` Ingo Molnar
2007-10-25 8:16 ` Takashi Iwai
2007-10-25 5:18 ` 2.6.24-rc1 doesn't build Theodore Tso
2007-10-25 5:30 ` Kamalesh Babulal
2007-10-25 12:45 ` Linux v2.6.24-rc1 edz_mania
2007-10-26 5:19 ` [PATCH] Dump filtering supports x86_64 sparsemem(Re: Linux v2.6.24-rc1) Ken'ichi Ohmichi
2007-10-26 5:19 ` Ken'ichi Ohmichi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071024164445.GA6452@nineveh.local \
--to=jfannin@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=romanol@upcomillas.es \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.