From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Rolf Eike Beer <eike-kernel@sf-tec.de>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Helge Hafting <helge.hafting@aitel.hist.no>,
Dave Airlie <airlied@gmail.com>,
Michael Ellerman <michael@ellerman.id.au>,
Greg Kroah-Hartman <gregkh@suse.de>,
Andrew Morton <akpm@osdl.org>
Subject: Re: rc5 seemed to kill a disk that rc4-mm1 likes. Also some X trouble.
Date: Tue, 23 Aug 2005 07:01:05 +1000 [thread overview]
Message-ID: <1124744465.5188.54.camel@gaston> (raw)
In-Reply-To: <Pine.LNX.4.58.0508221034090.3317@g5.osdl.org>
On Mon, 2005-08-22 at 10:44 -0700, Linus Torvalds wrote:
>
> On Mon, 22 Aug 2005, Rolf Eike Beer wrote:
>
> > >It's a PII-350 with more or less SuSE 9.3. The machine has no net access, so
> > > I can only try to narrow it down to one rc at the weekend.
> >
> > 2.6.12 works fine, everything since 2.6.13-rc1 breaks it.
>
> Gaah. I don't see anything really obvious in that range. However, I notice
> that pci_mmap_resource() (in drivers/pci/pci-sysfs.c) now has
>
> + if (i >= PCI_ROM_RESOURCE)
> + return -ENODEV;
>
> which seems a big bogus. Why wouldn't we allow the ROM resource to be
> mapped? I could imagine that the X server would very much like to mmap it,
> although I don't know if modern X actually does that. The fact that it
> works when root runs the X server and causes problems for normal users
> does seem like there's something that root can do that users can't do, and
> doing a mmap() on /dev/mem might be just that.
>
> Eike, maybe you could change the ">=" to just ">" instead?
>
> PS. The patch that introduced this was billed as "no change for anything
> but ppc". Tssk.
X uses /dev/mem, it doesn't use sysfs nor proc on x86, though it does
use proc for config space access (and that only) on ppc. Do you have the
sha1 ID of the above change at hand btw ?
(And yes, X should/will be fixed)
next prev parent reply other threads:[~2005-08-22 21:02 UTC|newest]
Thread overview: 57+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-02 5:07 Linux 2.6.13-rc5 Linus Torvalds
2005-08-02 6:17 ` Jan De Luyck
2005-08-02 6:43 ` Linux 2.6.13-rc5 - possible acpi regression? Jan De Luyck
2005-08-02 10:50 ` Rafael J. Wysocki
2005-08-03 10:59 ` Jan De Luyck
2005-08-02 7:56 ` Linux 2.6.13-rc5 Olaf Hering
2005-08-05 10:40 ` rc5 seemed to kill a disk that rc4-mm1 likes. Also some X trouble Helge Hafting
2005-08-05 22:05 ` Andrew Morton
2005-08-07 9:41 ` Helge Hafting
2005-08-07 17:06 ` Danny ter Haar
2005-08-08 11:27 ` Helge Hafting
2005-08-08 12:14 ` Danny ter Haar
2005-08-08 14:59 ` Danny ter Haar
[not found] ` <21d7e99705080503515e3045d5@mail.gmail.com>
2005-08-09 12:20 ` Helge Hafting
2005-08-12 10:01 ` rc6 keeps hanging and blanking displays where rc4-mm1 works fine Helge Hafting
2005-08-12 10:32 ` Alan Cox
2005-08-15 12:53 ` Bartlomiej Zolnierkiewicz
2005-08-15 13:00 ` Bartlomiej Zolnierkiewicz
2005-08-12 16:51 ` Linus Torvalds
2005-08-15 12:37 ` Helge Hafting
2005-08-15 15:50 ` Linus Torvalds
2005-08-15 17:00 ` Ryan Anderson
2005-08-15 17:45 ` Helge Hafting
2005-08-15 21:48 ` Sanjoy Mahajan
2005-08-15 22:11 ` rc6 keeps hanging and blanking displays - bisection complete Helge Hafting
2005-08-15 22:59 ` Linus Torvalds
2005-08-16 8:46 ` Helge Hafting
2005-08-16 19:29 ` Helge Hafting
2005-08-15 23:18 ` Dave Airlie
2005-08-15 23:24 ` Dave Airlie
2005-08-16 7:34 ` Helge Hafting
2005-08-16 16:52 ` rc6 keeps hanging and blanking displays Helge Hafting
2005-08-16 17:00 ` Linus Torvalds
2005-08-16 21:14 ` Helge Hafting
2005-08-16 23:50 ` Dave Airlie
2005-08-17 11:05 ` Helge Hafting
2005-08-17 11:05 ` Dave Airlie
2005-08-17 15:19 ` Linus Torvalds
2005-08-22 21:44 ` Helge Hafting
2005-08-22 23:07 ` Dave Airlie
2005-08-22 23:40 ` Linus Torvalds
2005-08-23 15:33 ` Alan Cox
2005-08-24 6:04 ` Linus Torvalds
2005-08-24 8:37 ` Helge Hafting
2005-09-08 23:47 ` rc6 keeps hanging and blanking displays where rc4-mm1 works fine Andrew Morton
2005-09-09 0:16 ` Linus Torvalds
2005-08-17 11:26 ` rc5 seemed to kill a disk that rc4-mm1 likes. Also some X trouble Rolf Eike Beer
2005-08-22 8:01 ` Rolf Eike Beer
2005-08-22 17:44 ` Linus Torvalds
2005-08-22 17:45 ` Linus Torvalds
2005-08-22 21:01 ` Benjamin Herrenschmidt [this message]
2005-08-23 6:48 ` Rolf Eike Beer
2005-08-30 8:07 ` Rolf Eike Beer
2005-09-05 7:49 ` Rolf Eike Beer
2005-09-05 8:45 ` Linus Torvalds
2005-09-05 19:58 ` Sonny Rao
2005-09-06 7:44 ` Linus Torvalds
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=1124744465.5188.54.camel@gaston \
--to=benh@kernel.crashing.org \
--cc=airlied@gmail.com \
--cc=akpm@osdl.org \
--cc=eike-kernel@sf-tec.de \
--cc=gregkh@suse.de \
--cc=helge.hafting@aitel.hist.no \
--cc=linux-kernel@vger.kernel.org \
--cc=michael@ellerman.id.au \
--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