From: Mickey Stein <yekkim@pacbell.net>
To: Cal Peake <cp@absolutedigital.net>
Cc: Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linus Torvalds <torvalds@osdl.org>
Subject: Re: Linux 2.6.13-rc4
Date: Fri, 29 Jul 2005 18:53:44 -0700 [thread overview]
Message-ID: <42EADDA8.3080604@pacbell.net> (raw)
In-Reply-To: <Pine.LNX.4.61.0507291456550.2566@lancer.cnet.absolutedigital.net>
Cal Peake wrote:
>On Fri, 29 Jul 2005, Mickey Stein wrote:
>
>
>
>>This is regarding *-rc4 and *-rc4-git1: I slapped together my favorite config
>>and gave it a test run. It had a bit of a problem and ground to a halt after
>>spewing these into the log.
>>
>>If I can find the time tomorrow morning, I'll leave parport_pc commented out
>>of modprobe.conf and see if something else pops loose. I don't use the
>>parallel port, but I try to keep a fairly robust config for noticing bugs.
>>
>>
>
>Hi Mick,
>
>Can you please try the patch below from Linus (or -git2 tomorrow) and
>confirm that it fixes it for you?
>
>thx,
>-cp
>
>--- a/include/asm-i386/bitops.h
>+++ b/include/asm-i386/bitops.h
>@@ -335,14 +335,13 @@ static inline unsigned long __ffs(unsign
> static inline int find_first_bit(const unsigned long *addr, unsigned size)
> {
> int x = 0;
>- do {
>- if (*addr)
>- return __ffs(*addr) + x;
>- addr++;
>- if (x >= size)
>- break;
>+
>+ while (x < size) {
>+ unsigned long val = *addr++;
>+ if (val)
>+ return __ffs(val) + x;
> x += (sizeof(*addr)<<3);
>- } while (1);
>+ }
> return x;
> }
>
>
>
Linus Torvalds wrote:
>On Fri, 29 Jul 2005, Mickey Stein wrote:
>
>
>>I've been quite low on time lately, so perhaps I missed something
>>obvious in the notes. When I did the "$make xconfig" , there were no
>>warnings about changes or new config params.
>>
>>
>
>Does this fix it for you? (Already in the current git tree)
>
> Linus
>---
>diff --git a/include/asm-i386/bitops.h b/include/asm-i386/bitops.h
>--- a/include/asm-i386/bitops.h
>+++ b/include/asm-i386/bitops.h
>@@ -335,14 +335,13 @@ static inline unsigned long __ffs(unsign
> static inline int find_first_bit(const unsigned long *addr, unsigned size)
> {
> int x = 0;
>- do {
>- if (*addr)
>- return __ffs(*addr) + x;
>- addr++;
>- if (x >= size)
>- break;
>+
>+ while (x < size) {
>+ unsigned long val = *addr++;
>+ if (val)
>+ return __ffs(val) + x;
> x += (sizeof(*addr)<<3);
>- } while (1);
>+ }
> return x;
> }
>
>
>
>
I'm running on *-rc4 at the moment, so thanks very much for the patch.
I think there were ~3 of my modules producing similar output, but after
I followed someone's advice about enabling most of the CONFIG_DEBUG_*
switches, I experienced quite a bit more trouble getting anything to log
(or do anything but freeze). Now, all the modules are loading fine.
If I get time I'll probably be asking which of the 9 or 10 CONFIG_DEB*
switches are compatible with one another, but actually it may have just
been the same bug that would hang me up when they were on. I'll test
with the full CONFIG_DEBUG .config later on.
Appreciate it,
Mick
next prev parent reply other threads:[~2005-07-30 1:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-29 12:09 Linux 2.6.13-rc4 Mickey Stein
2005-07-29 19:01 ` Cal Peake
2005-07-30 1:32 ` Mickey Stein
2005-07-30 1:53 ` Mickey Stein [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-07-29 16:55 Randy Dunlap
2005-07-29 17:00 ` Jesper Juhl
2005-07-28 23:34 Linus Torvalds
2005-07-29 16:48 ` Jesper Juhl
2005-07-29 23:41 ` Andrew Morton
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=42EADDA8.3080604@pacbell.net \
--to=yekkim@pacbell.net \
--cc=cp@absolutedigital.net \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox