From: Ingo Molnar <mingo@elte.hu>
To: Markus <M4rkusXXL@web.de>, Suresh Siddha <suresh.b.siddha@intel.com>
Cc: linux-kernel@vger.kernel.org, Alan Cox <alan@lxorguk.ukuu.org.uk>,
"Rafael J. Wysocki" <rjw@sisk.pl>,
Kernel Testers List <kernel-testers@vger.kernel.org>
Subject: Re: [Bug #12872] pwc mmap always fails with EAGAIN
Date: Sun, 22 Mar 2009 21:05:21 +0100 [thread overview]
Message-ID: <20090322200521.GA5355@elte.hu> (raw)
In-Reply-To: <200903222058.12924.M4rkusXXL@web.de>
* Markus <M4rkusXXL@web.de> wrote:
> > > > Still valid for 2.6.29-rc8-git5.
> > >
> > > And not really likely to change until someone with a pwc camera adds
> lots
> > > of printks to the code to work out why this happens.
> >
> > Or does a bisection to figure out the bad commit, because the report
> > says that 2.6.28 worked.
> >
> > The 'howto bisect' portion of:
> >
> > http://www.kernel.org/doc/local/git-quick.html
>
>
> Well I did a bisect:
> be03d9e8022030c16abf534e33e185bfc3d40eef is first bad commit
> commit be03d9e8022030c16abf534e33e185bfc3d40eef
> Author: Suresh Siddha <suresh.b.siddha@intel.com>
> Date: Wed Feb 11 11:20:23 2009 -0800
>
> x86, pat: fix warn_on_once() while mapping 0-1MB range with /dev/mem
>
> Jeff Mahoney reported:
>
> > With Suse's hwinfo tool, on -tip:
> > WARNING: at arch/x86/mm/pat.c:637 reserve_pfn_range+0x5b/0x26d()
>
> reserve_pfn_range() is not tracking the memory range below 1MB
> as non-RAM and as such is inconsistent with similar checks in
> reserve_memtype() and free_memtype()
>
> Rename the pagerange_is_ram() to pat_pagerange_is_ram() and add the
> "track legacy 1MB region as non RAM" condition.
>
> And also, fix reserve_pfn_range() to return -EINVAL, when the pfn
> range is RAM. This is to be consistent with this API design.
>
> Reported-and-tested-by: Jeff Mahoney <jeffm@suse.com>
> Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
> Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
> Signed-off-by: Ingo Molnar <mingo@elte.hu>
>
> :040000 040000 feb3bf21d762e885284cb1bedb5d2c6c0d16811b
> b4c2143775386ce15dd49b6749c1f7913d8beb00 M arch
>
> So I ran "git bisect reset ; git revert
> be03d9e8022030c16abf534e33e185bfc3d40eef" and rebuild. That worked!
>
> I dont know if this is valid to do, but its working fine.
> Its an amd64 system with CONFIG_X86_PAT=y.
>
> Need some feedback ;)
First thing to check would be whether the latest round of PAT fixes
(not yet upstream) fix the problem:
http://people.redhat.com/mingo/tip.git/README
Suresh, any ideas?
Ingo
next prev parent reply other threads:[~2009-03-22 20:05 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-21 16:28 2.6.29-rc8-git5: Reported regressions from 2.6.28 Rafael J. Wysocki
2009-03-21 16:28 ` [Bug #12419] possible circular locking dependency on i915 dma Rafael J. Wysocki
2009-03-21 16:39 ` [Bug #12668] USB flash disk surprise disconnect Rafael J. Wysocki
2009-03-21 16:39 ` [Bug #12574] possible circular locking dependency detected Rafael J. Wysocki
2009-03-21 16:39 ` [Bug #12667] Badness at kernel/time/timekeeping.c:98 in pmud (timekeeping_suspended) Rafael J. Wysocki
2009-03-21 16:39 ` [Bug #12490] ath5k related kernel panic in 2.6.29-rc1 Rafael J. Wysocki
2009-03-21 16:39 ` [Bug #12670] BUG: unable to handle kernel paging request at pin_to_kill+0x21 Rafael J. Wysocki
2009-03-21 16:39 ` [Bug #12499] Problem with using bluetooth adaper connected to usb port Rafael J. Wysocki
2009-03-21 16:39 ` [Bug #12671] uvc_status_cleanup(): undefined reference to `input_unregister_device' Rafael J. Wysocki
2009-03-21 16:39 ` [Bug #12763] Different cpu MHz values for processor0 and processor1 Rafael J. Wysocki
2009-03-21 16:39 ` [Bug #12705] X200: Brightness broken since 2.6.29-rc4-58-g4c098bc Rafael J. Wysocki
2009-03-21 16:39 ` [Bug #12681] s2ram: fails to wake up on Acer Extensa 4220 (SMP disabled) Rafael J. Wysocki
2009-03-21 16:39 ` [Bug #12771] Oops in i915_gem_flush Rafael J. Wysocki
2009-03-21 16:39 ` [Bug #12778] suspend regression from 29rc5 to 29rc6 Rafael J. Wysocki
2009-03-21 16:39 ` [Bug #12765] i915 VT switch with AIGLX causes X lock up Rafael J. Wysocki
2009-03-21 16:39 ` [Bug #12809] iozone regression with 2.6.29-rc6 Rafael J. Wysocki
2009-03-21 16:39 ` [Bug #12800] x86 PAT invalid vm_insert_pfn assumptions Rafael J. Wysocki
2009-03-21 16:39 ` [Bug #12808] Suspend regression with 2.6.29-rc Rafael J. Wysocki
2009-03-21 16:39 ` [Bug #12792] 2.6.29-rc6-git4 boot failure Rafael J. Wysocki
2009-03-22 21:49 ` Benjamin Herrenschmidt
2009-03-23 5:04 ` Sachin Sant
2009-03-23 6:05 ` Benjamin Herrenschmidt
2009-03-21 16:39 ` [Bug #12846] Regression issue with kernel 2.6.29-rc6-git1: high power consumption during sleep Rafael J. Wysocki
2009-03-21 16:39 ` [Bug #12856] Thinkpad freezes with X.org and acpi=rsdt Rafael J. Wysocki
2009-03-21 16:39 ` [Bug #12836] 2.6.29-rc breaks STD using Intel 945 Rafael J. Wysocki
2009-03-21 16:39 ` [Bug #12870] 2.6.29-rc "TKIP: replay detected" regression Rafael J. Wysocki
2009-03-21 19:51 ` Hugh Dickins
2009-03-21 16:39 ` [Bug #12861] Xorg fails to start "Failed to allocate space for kernel memory manager" Rafael J. Wysocki
2009-03-21 16:39 ` [Bug #12867] 2.6.29-rc7 broke r8169 MAC on Thecus n2100 ARM board Rafael J. Wysocki
2009-03-22 13:51 ` Mikael Pettersson
2009-03-21 16:39 ` [Bug #12871] usb bluetooth crashes system Rafael J. Wysocki
2009-03-22 10:06 ` Pavel Machek
2009-03-21 16:39 ` [Bug #12909] boot/kernel init duration regression from 2.6.28 Rafael J. Wysocki
2009-03-21 16:39 ` [Bug #12872] pwc mmap always fails with EAGAIN Rafael J. Wysocki
2009-03-22 12:37 ` Markus
2009-03-22 14:28 ` Alan Cox
2009-03-22 14:45 ` Ingo Molnar
2009-03-22 19:58 ` Markus
2009-03-22 20:05 ` Ingo Molnar [this message]
2009-04-02 15:49 ` Markus
[not found] ` <7b6bb4a50903230341r6ab4a910l401a49d41aa289c7@mail.gmail.com>
2009-03-23 10:49 ` Alan Cox
2009-03-23 14:12 ` Arjan van de Ven
2009-03-21 16:39 ` [Bug #12908] acpi_ex_extract_from_field -- div by zero Rafael J. Wysocki
2009-03-21 16:39 ` [Bug #12910] Wierd iteractions with CPUFREQ Rafael J. Wysocki
2009-03-21 20:05 ` 2.6.29-rc8-git5: Reported regressions from 2.6.28 Ingo Molnar
2009-03-23 0:57 ` Wu Fengguang
2009-03-23 16:23 ` Linus Torvalds
-- strict thread matches above, loose matches on Subject: below --
2009-04-06 18:54 2.6.29-git13: " Rafael J. Wysocki
2009-04-06 19:05 ` [Bug #12872] pwc mmap always fails with EAGAIN Rafael J. Wysocki
2009-03-14 19:01 2.6.29-rc8: Reported regressions from 2.6.28 Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12872] pwc mmap always fails with EAGAIN Rafael J. Wysocki
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=20090322200521.GA5355@elte.hu \
--to=mingo@elte.hu \
--cc=M4rkusXXL@web.de \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=kernel-testers@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@sisk.pl \
--cc=suresh.b.siddha@intel.com \
/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;
as well as URLs for NNTP newsgroup(s).