Re: [01/11] fix amd64 2.6.11 oops on modprobe (saa7110)

2005-03-10 Thread Greg KH
On Thu, Mar 10, 2005 at 07:37:40PM -0600, Josh Boyer wrote: > On Thu, 2005-03-10 at 15:07 -0800, Greg KH wrote: > > -stable review patch. If anyone has any objections, please let us know. > > > > -- > > > > This is a rewrite of the saa7110_write_block function, which was plain >

Re: oom with 2.6.11

2005-03-10 Thread Pasi Kärkkäinen
On Fri, Mar 11, 2005 at 02:14:14AM +0100, Christian Kujau wrote: > Andrew Morton wrote: > > Christian Kujau <[EMAIL PROTECTED]> wrote: > > > >>i was going to compile 2.6.11-rc5-bk4, to sort out the "bad" kernel. > >>compiling went fine. ok, finished some email, ok, suddenly my swap was > >>used

Last night Linus bk - netfilter busted?

2005-03-10 Thread Dmitry Torokhov
Hi, My box gets stuck while booting (actually starting ntpd) whith tonight pull from Linus. It looks like it is spinning in ipt_do_table when I do SysRq-P. No call trace though. Anyone else seeing it? Any ideas? -- Dmitry - To unsubscribe from this list: send the line "unsubscribe

Re: User mode drivers: part 2: PCI device handling (patch 1/2 for 2.6.11)

2005-03-10 Thread Greg KH
On Fri, Mar 11, 2005 at 02:37:17PM +1100, Peter Chubb wrote: > +/* > + * The PCI subsystem is implemented as yet-another pseudo filesystem, > + * albeit one that is never mounted. > + * This is its magic number. > + */ > +#define USR_PCI_MAGIC (0x12345678) If you make it a real, mountable

Re: [PATCH] ppc64: Add IDE-pmac support for new "Shasta" chipset

2005-03-10 Thread Andrew Morton
Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > The iMac G5 and new single CPU PowerMac G5 come with a new revision of > the K2 ASIC called Shasta. The PATA cell in there now does 133Mhz. This > patch adds support for it. It also adds some power management bits to > the old 100MHz cell

Re: Microstate Accounting for 2.6.11

2005-03-10 Thread Andi Kleen
Andrew Morton <[EMAIL PROTECTED]> writes: > Why does the kernel need this feature? > > Have you any numbers on the overhead? It does RDTSC and lots of complicated stuff twice for each system call. On P4 this will be extremly slow (> 1000cycles combined) It is pretty unlikely that whatever it

Re: [RFC] -stable, how it's going to work.

2005-03-10 Thread Andi Kleen
Chris Friesen <[EMAIL PROTECTED]> writes: > Neil Brown wrote: > >> If a data corruption bug has been there for 10 weeks without being >> noticed, then the real risk is not that great. We are calling it >> "-release", not "-hardened". > > I disagree. If there's a simple, obvious, small fix that

Re: [ANNOUNCE 0/6] Open-iSCSI High-Performance Initiator for Linux

2005-03-10 Thread Dmitry Yusupov
On Thu, 2005-03-10 at 11:27 +0100, Lars Marowsky-Bree wrote: > On 2005-03-09T18:36:37, Alex Aizman <[EMAIL PROTECTED]> wrote: > > >That works well in our current development series, and if you want to > > >share code, you can either rip it off (Open Source, we love ya ;) or we > > >can spin off

[PATCH] ppc64: Add basic support for the SMU chip in iMac G5

2005-03-10 Thread Benjamin Herrenschmidt
Hi ! The iMac G5 and latest single-cpu PowerMac G5 have seen the venerable PMU (Power Management Unit) chip been sent to well deserved retirement. It has been replaced by a newcomer, the SMU (System Management Unit ?) which is of course totally undocumented and has no open source darwin driver...

[PATCH] ppc64: Fix some PCI interrupt routing issues on iMac G5

2005-03-10 Thread Benjamin Herrenschmidt
Hi ! The iMac G5 has some issues with Apple chips not having a valid PCI_INTERRUPT_PIN. This patch fixes IRQ routing on PowerMac platforms so that it only relies on the Open Firmware informations which are correct. Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> Signed-off-by: J. Mayer

[PATCH] ppc64: Add IDE-pmac support for new "Shasta" chipset

2005-03-10 Thread Benjamin Herrenschmidt
Hi ! The iMac G5 and new single CPU PowerMac G5 come with a new revision of the K2 ASIC called Shasta. The PATA cell in there now does 133Mhz. This patch adds support for it. It also adds some power management bits to the old 100MHz cell that was in Intrepid based ppc32 machines. The original

Re: [PATCH] ide: hdio.txt update

2005-03-10 Thread Tejun Heo
Greetings Bartlomiej, I've updated the following * in_flags modification when out_flags != 0 && in_flags == 0 * more than one -> one or more than one * tf_{in|out}_flags -> {in|out}_flags as tf_* are in-kernel names I'll update the taskfile patch series after receiving your comments about

Re: inappropriate use of in_atomic()

2005-03-10 Thread Stephen Rothwell
Hi Andrew, On Thu, 10 Mar 2005 20:40:06 -0800 Andrew Morton <[EMAIL PROTECTED]> wrote: > > in_atomic() is not a reliable indication of whether it is currently safe > to call schedule(). > > arch/ppc64/kernel/viopath.c in_atomic() in viopath.c was just used to determine if we had

[PATCH] ppc64: Export proper version from vDSO

2005-03-10 Thread Benjamin Herrenschmidt
Hi ! The ppc64 vDSO is still exporting LINUX_2.6.11 (from -mm) for symbol versioning. The glibc folks asked me to export the first kernel version that will contain it, so this patch fixes it to LINUX_2.6.12 Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> Index:

2.4 fix for write throttling on x86 >1G

2005-03-10 Thread Andrea Arcangeli
Hello Marcelo, I've got a fix for you on 2.4. I got reports of stalls with heavy writes on 2.4. There was a mistake in nr_free_buffer_pages. That function is definitely meant _not_ to take highmem into account (dirty cache cannot spread over highmem in 2.4 [even when on top of fs]). For unknown

Re: [PATCH, RFC 1/3] Add sem_getcount() to arches that lack it

2005-03-10 Thread Andrew Morton
Jody McIntyre <[EMAIL PROTECTED]> wrote: > > On Thu, Mar 10, 2005 at 08:55:03PM -0800, Andrew Morton wrote: > > Jody McIntyre <[EMAIL PROTECTED]> wrote: > > > > > > parisc and frv define sem_getcount() in semaphore.h, which returns the > > > current semaphore value. This is cleaner than doing >

Re: select() doesn't respect SO_RCVLOWAT ?

2005-03-10 Thread Willy Tarreau
On Thu, Mar 10, 2005 at 04:58:51PM -0500, Felix Matathias wrote: > > I am running a 2.4.21-9.0.3.ELsmp #1 kernel and I can setsockopt and > getsockopt correctly the SO_RCVLOWAT option, but select() seems to mark a > socket readable even if a single byte is ready to be read. Then, a read() >

[PATCH] radeonfb: Implement proper workarounds for PLL accesses

2005-03-10 Thread Benjamin Herrenschmidt
Hi ! After discussion with ATIs, it seems that the workarounds they initially gave me were not completely correct. This patch implements the proper ones, which includes sleeping in PLL accesses, and thus requires the previous patch to make sure we do not call unblank at interrupt time (unless

Re: [BK PATCHES] kbuild updates

2005-03-10 Thread Sam Ravnborg
> If this is the same version as in 2.6.11-mm2 (you didn't offer a GNU > patch so that I could check it), the following is still present: > > http://www.ussg.iu.edu/hypermail/linux/kernel/0502.2/1507.html Thanks Adrian, I forgot about that one. It is now fixed and pushed to

[PATCH] ppc32: move powermac backlight stuff to a workqueue

2005-03-10 Thread Benjamin Herrenschmidt
Hi ! The powermac has a kernel-based driver for controlling the backlight from the keyboard that used to call into some fbdev's from interrupt contexts. This patch moves it to a workqueue (and additionally makes sure the console semaphore is taken and held). I hope I'll replace this by the new

Re: [PATCH 2.6.11] fix: drivers/base/class.c

2005-03-10 Thread JustMan
> > fix: drivers/base/class.c > > "fix" how? What are you fixing? I'm sorry. Previous subject was "[PATCH 2.6.11] fix call kobject_get_path() with zero kobject argument in drivers/base/class.c" > > diff -uNrp linux/drivers/base/class.orig.c linux/drivers/base/class.c > > ---

[PATCH] sealevel 8 port RS-232/RS-422/RS-485 board

2005-03-10 Thread DHollenbeck
Vendor Sealevel suggested these changes for its new board. Tried them, they work with the card. Please apply the patch below, which was made from 2.6.10 but can be applied to 2.6.11.2 without errors. Dick --- linux/drivers/serial/8250_pci.orig 2005-03-10 13:09:39.0 -0600 +++

[PATCH] don't call unblank at irq time

2005-03-10 Thread Benjamin Herrenschmidt
Hi ! This patch removes the call to unblank() from printk, and avoids calling unblank at irq() time _unless_ oops_in_progress is 1. I also export oops_in_progress() so drivers who care like radeonfb can test it and know what to do. I audited call sites of unblank_screen(), console_unblank(),

Re: [PATCH, RFC 1/3] Add sem_getcount() to arches that lack it

2005-03-10 Thread Jody McIntyre
On Thu, Mar 10, 2005 at 08:55:03PM -0800, Andrew Morton wrote: > Jody McIntyre <[EMAIL PROTECTED]> wrote: > > > > parisc and frv define sem_getcount() in semaphore.h, which returns the > > current semaphore value. This is cleaner than doing > > atomic_read(), currently done in > >

Re: User mode drivers: part 2: PCI device handling (patch 1/2 for 2.6.11)

2005-03-10 Thread Albert Cahalan
Peter Chubb writes: > There are three new system calls: > > long usr_pci_open(int bus, int slot, int function, __u64 dma_mask); > Returns a filedescriptor for the PCI device described > by bus,slot,function. It also enables the device, and sets it > up as a

Re: [PATCH] PCI Express Advanced Error Reporting Driver

2005-03-10 Thread Greg KH
On Thu, Mar 10, 2005 at 03:04:18PM -0800, long wrote: > PCI Express error signaling can occur on the PCI Express link itself > or on behalf of transactions initiated on the link. PCI Express > defines the Advanced Error Reporting capability, which is implemented > with a PCI Express advanced

2.6.10-as7

2005-03-10 Thread Andres Salomon
Hi, 2.6.10-as is now in purely maintenance mode; that is, I'll only include security fixes or quick things that people send me (that don't require much effort on my part :). This includes the security fix from 2.6.11.2. I'll have 2.6.11-as1 soon, after I sync up w/ Debian stuff and go through

Re: [PATCH, RFC 1/3] Add sem_getcount() to arches that lack it

2005-03-10 Thread Nathan Scott
On Thu, Mar 10, 2005 at 09:10:42PM -0800, Roland Dreier wrote: > Andrew> (Why do they want to do this anyway?) > > Neither use seems really fundamental. The XFS use is explicitly > inside #ifdef DEBUG and seems to be used only for assertions. Right, our peeking at that value is debug-only

Re: binary drivers and development

2005-03-10 Thread Albert Cahalan
Lennart Sorensen writes: > You forgot the very important: >- Only works on architecture it was compiled for. So anyone not > using i386 (and maybe later x86-64) is simply out of luck. What do > nvidia users that want accelerated nvidia drivers for X DRI do > right now if they

Re: [PATCH, RFC 1/3] Add sem_getcount() to arches that lack it

2005-03-10 Thread Roland Dreier
Andrew> (Why do they want to do this anyway?) Neither use seems really fundamental. The XFS use is explicitly inside #ifdef DEBUG and seems to be used only for assertions. ieee1394 is just sticking the value in a read-only sysfs attribute. - R. - To unsubscribe from this list: send the

IA32 (2.6.11 - 2005-03-10.16.00) - 1 New warnings

2005-03-10 Thread John Cherry
drivers/video/intelfb/intelfbdrv.h:31: warning: 'intelfb_setup' declared `static' but never defined - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: Microstate Accounting for 2.6.11

2005-03-10 Thread Peter Chubb
> "Andrew" == Andrew Morton <[EMAIL PROTECTED]> writes: Andrew> Peter Chubb <[EMAIL PROTECTED]> wrote: >> Timing data on threads at present is pretty crude: when the timer >> interrupt occurs, a tick is added to either system time or user >> time for the currently running thread. Thus in an

Re: [RFC] -stable, how it's going to work.

2005-03-10 Thread Chris Friesen
Neil Brown wrote: If a data corruption bug has been there for 10 weeks without being noticed, then the real risk is not that great. We are calling it "-release", not "-hardened". I disagree. If there's a simple, obvious, small fix that passes all the other criteria, it should go into -stable

Re: oops / 2.6.11 / run_timer_softirq (mountvirtfs)

2005-03-10 Thread Andrew Morton
jerome lacoste <[EMAIL PROTECTED]> wrote: > > On an VIA EPIA board, I got this single oops at boot. Wasn't stored on > file so I had to take a screenshot with a digital camera. Basicallly > goes along those lines: > > Process: S36mountvirtfs > > Call trace: > run_timer_softirq+0x16f/0x200 >

Re: Average power consumption in S3?

2005-03-10 Thread Benjamin Herrenschmidt
On Thu, 2005-03-10 at 22:46 -0500, Theodore Ts'o wrote: > On Thu, Mar 10, 2005 at 07:08:26PM +0100, Moritz Muehlenhoff wrote: > > I've got the e100 and with WOL disabled and Matthew's hacked radeontool > > power consumption decreases to 970 mWh. > > I have a T40p, and with the following patches

Re: [PATCH, RFC 1/3] Add sem_getcount() to arches that lack it

2005-03-10 Thread Andrew Morton
Jody McIntyre <[EMAIL PROTECTED]> wrote: > > parisc and frv define sem_getcount() in semaphore.h, which returns the > current semaphore value. This is cleaner than doing > atomic_read(), currently done in > drivers/ieee1394/nodemgr.c and fs/xfs/linux-2.6/xfs_buf.c, and will work > on all

Re: inappropriate use of in_atomic()

2005-03-10 Thread Roland Dreier
> Consequently the use of in_atomic() in the below files is probably > deadlocky if CONFIG_PREEMPT=n: ... > drivers/infiniband/core/mad.c Thanks for pointing this out. I'll get you a patch in the next day or two. As you can probably tell, the code is just trying to decide

inappropriate use of in_atomic()

2005-03-10 Thread Andrew Morton
in_atomic() is not a reliable indication of whether it is currently safe to call schedule(). This is because the lockdepth beancounting which in_atomic() uses is only accumulated if CONFIG_PREEMPT=y. in_atomic() will return false inside spinlocks if CONFIG_PREEMPT=n. Consequently the use of

Microstate accounting, IA64 support

2005-03-10 Thread Peter Chubb
Microstate Accounting: Add suppoort for IA64. linux-2.6-ustate/arch/ia64/Kconfig | 25 +++ linux-2.6-ustate/arch/ia64/kernel/entry.S| 44 +++ linux-2.6-ustate/arch/ia64/kernel/irq_ia64.c | 21 +++-

Re: AGP bogosities

2005-03-10 Thread Benjamin Herrenschmidt
On Thu, 2005-03-10 at 20:02 -0800, Jesse Barnes wrote: > On Thursday, March 10, 2005 6:38 pm, Benjamin Herrenschmidt wrote: > > That one is even worse... from what I see in your lspci output, you have > > no bridge with AGP capability at all, and the various AGP devices are > > all siblings... >

Re: [PATCH] AGP support for powermac G5

2005-03-10 Thread Nigel Cunningham
Hi. On Fri, 2005-03-11 at 15:02, Paul Mackerras wrote: > Nigel Cunningham writes: > > > No power management support? :> > > The suspend/resume methods are in the pci_driver struct, not the > agp_bridge_driver struct. Not that we have suspend/resume on the G5 > yet. Ah. Thought I'd seen some

Re: [PATCH] AGP support for powermac G5

2005-03-10 Thread Benjamin Herrenschmidt
> > No power management support? :> Heh, not yet :) We can't really put a G5 to sleep yet. I haven't figured out the magic incantations for the PMU chip on those. Ben. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

Re: Microstate Accounting for 2.6.11

2005-03-10 Thread Andrew Morton
Peter Chubb <[EMAIL PROTECTED]> wrote: > > Timing data on threads at present is pretty crude: when the timer > interrupt occurs, a tick is added to either system time or user time > for the currently running thread. Thus in an unpacthed kernel one can > distinguish three timed states:

Microstate Accounting for 2.6.11, patch 4/6

2005-03-10 Thread Peter Chubb
Microstate accounting: Account for time in interrupt handlers for I386. arch/i386/kernel/irq.c | 13 - 1 files changed, 12 insertions(+), 1 deletion(-) Index: linux-2.6-ustate/arch/i386/kernel/irq.c === ---

Re: [PATCH] AGP support for powermac G5

2005-03-10 Thread Paul Mackerras
Nigel Cunningham writes: > No power management support? :> The suspend/resume methods are in the pci_driver struct, not the agp_bridge_driver struct. Not that we have suspend/resume on the G5 yet. Paul. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: AGP bogosities

2005-03-10 Thread Jesse Barnes
On Thursday, March 10, 2005 6:38 pm, Benjamin Herrenschmidt wrote: > That one is even worse... from what I see in your lspci output, you have > no bridge with AGP capability at all, and the various AGP devices are > all siblings... Both of the video cards are sitting on agp busses in agp slots

Microstate Accounting for 2.6.11, patch 6/6

2005-03-10 Thread Peter Chubb
Microstate accounting: Track time spent asleep while paging, in poll() or select(), or on a futex separately from other sleeps. fs/select.c |2 ++ kernel/futex.c |2 ++ mm/memory.c |6 +- Index: linux-2.6-ustate/mm/memory.c

Microstate Accounting for 2.6.11, patch 5/6

2005-03-10 Thread Peter Chubb
Microstate accounting: Add the I386 system call. arch/i386/kernel/entry.S |2 +- include/asm-i386/unistd.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Index: linux-2.6-ustate/arch/i386/kernel/entry.S === ---

[PATCH] Make primary boot video device detection more robust

2005-03-10 Thread Jon Smirl
When detecting the boot video device, allow for the case of multiple cards on the same bus. Check each candidate to make sure that the card is active. Signed off by: Jon Smirl <[EMAIL PROTECTED]> -- Jon Smirl [EMAIL PROTECTED] = arch/i386/pci/fixup.c 1.24 vs edited = ---

Microstate Accounting for 2.6.11, patch 3/6

2005-03-10 Thread Peter Chubb
Microstate accounting: Provide I386-dependent MSA clocks, and Kconfig options. arch/i386/Kconfig | 39 ++- include/asm-i386/msa.h | 49 + 2 files changed, 87 insertions(+), 1 deletion(-)

Re: [PATCH] AGP support for powermac G5

2005-03-10 Thread Nigel Cunningham
Hi. On Fri, 2005-03-11 at 14:02, Paul Mackerras wrote: > +struct agp_bridge_driver u3_agp_driver = { > + .owner = THIS_MODULE, > + .aperture_sizes = (void *)u3_sizes, > + .size_type = U32_APER_SIZE, > + .num_aperture_sizes = 8, > +

Microstate Accounting for 2.6.11, patch 2/6

2005-03-10 Thread Peter Chubb
Microstate Accounting: Add hooks into the scheduler to track state changes. Arrange for parent process's child times to be updated at process exit. kernel/sched.c |8 kernel/exit.c |3 +++ Index: linux-2.6-ustate/kernel/sched.c

Microstate Accounting for 2.6.11, patch 3/

2005-03-10 Thread Peter Chubb
Microstate Accounting: Track time in system calls and interrupts, i386 code. Signed-off-by; Peter Chubb <[EMAIL PROTECTED]> arch/i386/kernel/entry.S | 16 arch/i386/kernel/irq.c | 13 - Index: linux-2.6-ustate/arch/i386/kernel/entry.S

Re: Average power consumption in S3?

2005-03-10 Thread Theodore Ts'o
On Thu, Mar 10, 2005 at 07:08:26PM +0100, Moritz Muehlenhoff wrote: > I've got the e100 and with WOL disabled and Matthew's hacked radeontool > power consumption decreases to 970 mWh. I have a T40p, and with the following patches (versus 2.6.11) and the following sleep script, I have power

Microstate Accounting for 2.6.11

2005-03-10 Thread Peter Chubb
Microstate Accounting - Timing data on threads at present is pretty crude: when the timer interrupt occurs, a tick is added to either system time or user time for the currently running thread. Thus in an unpacthed kernel one can distinguish three timed states: On-cpu in

Re: pci_fixup_video() bogosity

2005-03-10 Thread Benjamin Herrenschmidt
On Thu, 2005-03-10 at 22:39 -0500, Jon Smirl wrote: > Patch to make detection of boot video device more robust. Should I > leave the printk in? Hrm... yes, but make it KERN_DEBUG. Ben. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: pci_fixup_video() bogosity

2005-03-10 Thread Jon Smirl
Patch to make detection of boot video device more robust. Should I leave the printk in? -- Jon Smirl [EMAIL PROTECTED] = arch/i386/pci/fixup.c 1.24 vs edited = --- 1.24/arch/i386/pci/fixup.c 2005-01-11 19:42:41 -05:00 +++ edited/arch/i386/pci/fixup.c2005-03-10 22:32:35 -05:00

FEB_comms statement - Best so far

2005-03-10 Thread Revenues
To contact us, please do_not_replyto. See the bottom of this email to contact us by telephone or email. It's absolutely right. You are going to get emails like this very soon Quickly, send me an email or call me and you will get real com.miss.ion emails with this subject line and big, big

User mode drivers: part 2: PCI device handling (patch 2/2 for 2.6.11)

2005-03-10 Thread Peter Chubb
User-level drivers: Add system calls for I386 and IA64. Signed-Off-By: Peter Chubb <[EMAIL PROTECTED]> # # arch/i386/kernel/entry.S |4 # arch/ia64/kernel/entry.S |8 # include/asm-i386/unistd.h |6 +- # include/asm-ia64/unistd.h |4 # 4 files changed, 17

User mode drivers: part 2: PCI device handling (patch 1/2 for 2.6.11)

2005-03-10 Thread Peter Chubb
USER LEVEL DRIVERS: enable PCI device drivers at user space. This patch adds the capability for suitably privileged user-level processes to enable a PCI device, and set up DMA for it. A subsequent patch hooks up the actual system calls. There are three new system calls: long

User mode drivers: part 1, interrupt handling (patch for 2.6.11)

2005-03-10 Thread Peter Chubb
As many of you will be aware, we've been working on infrastructure for user-mode PCI and other drivers. The first step is to be able to handle interrupts from user space. Subsequent patches add infrastructure for setting up DMA for PCI devices. The user-level interrupt code doesn't depend on

Re: current linus bk, error mounting root

2005-03-10 Thread Jon Smirl
On Thu, 10 Mar 2005 19:11:37 -0800, Matt Mackall <[EMAIL PROTECTED]> wrote: > On Thu, Mar 10, 2005 at 01:52:59PM -0500, Jon Smirl wrote: > > Here's a big clue, if I build ata_piix in I can boot. If it is a > > module I can't. The console output definitely shows that the module is > > being loaded.

Re: [uml-devel] [PATCH 3/9] UML - "Hardware" random number generator

2005-03-10 Thread Rob Landley
On Wednesday 09 March 2005 09:15 pm, Jeff Dike wrote: > This implements a hardware random number generator for UML which attaches > itself to the host's /dev/random. Direct use of /dev/random always makes me nervous. I've had a recurring problem with /dev/random blocking, and generally

Re: current linus bk, error mounting root

2005-03-10 Thread Matt Mackall
On Thu, Mar 10, 2005 at 01:52:59PM -0500, Jon Smirl wrote: > Here's a big clue, if I build ata_piix in I can boot. If it is a > module I can't. The console output definitely shows that the module is > being loaded. Can you post your config? -- Mathematics is the supreme nostalgia of our time. -

Re: AGP bogosities

2005-03-10 Thread Dave Jones
On Fri, Mar 11, 2005 at 01:40:24PM +1100, Benjamin Herrenschmidt wrote: > > > After it does that pci_dev_put on the from, it does another pci_dev_get > > on 'dev', which is what my put was releasing. > > > > Or am I terribly confused ? > > Well, pci_get_class() put's the passed-in device

Re: AGP bogosities

2005-03-10 Thread Benjamin Herrenschmidt
On Thu, 2005-03-10 at 18:18 -0800, Jesse Barnes wrote: > On Thursday, March 10, 2005 6:11 pm, Paul Mackerras wrote: > > What is the relationship in the PCI device tree between the video > > cards and their bridges? Is there for instance only one AGP bridge > > per host bridge? > > I *think* a

[PATCH] AGP support for powermac G5

2005-03-10 Thread Paul Mackerras
This patch adds AGP support for the U3 northbridge used in Apple G5 machines to drivers/char/agp/uninorth-agp.c. This patch is based on earlier work by Jerome Glisse. With this patch, the driver works in both ppc32 and ppc64 kernels. Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]> diff -urN

Re: AGP bogosities

2005-03-10 Thread Dave Jones
On Fri, Mar 11, 2005 at 01:35:40PM +1100, Benjamin Herrenschmidt wrote: > > > > > This part I'm not so sure about. > > The pci_get_class() call a few lines above will get a refcount that > > we will now never release. > > We will ... on the next loop iteration when we call pci_get_class

Re: [RFC] -stable, how it's going to work.

2005-03-10 Thread J. Bruce Fields
On Fri, Mar 11, 2005 at 11:10:37AM +1100, Neil Brown wrote: > I didn't mean "If it fixes a regression, it should be accepted." > I meant "If it does not fix a regression, it should not be accepted." ... Presumably with the obvious exception for security fixes.--b. - To unsubscribe from this list:

Re: AGP bogosities

2005-03-10 Thread Benjamin Herrenschmidt
> After it does that pci_dev_put on the from, it does another pci_dev_get > on 'dev', which is what my put was releasing. > > Or am I terribly confused ? Well, pci_get_class() put's the passed-in device and get's() the returned one. So if you run it in a loop, you should never have to either

Re: AGP bogosities

2005-03-10 Thread Benjamin Herrenschmidt
> > This part I'm not so sure about. > The pci_get_class() call a few lines above will get a refcount that > we will now never release. We will ... on the next loop iteration when we call pci_get_class again. > Thanks for taking a look at this. The absense of hardware to test > on means I

Re: AGP bogosities

2005-03-10 Thread Linus Torvalds
On Thu, 10 Mar 2005, Dave Jones wrote: > > >/* ARQSZ - Set the value to the maximum one. > > @@ -642,11 +638,6 @@ > >return 0; > >} > >cap_ptr = pci_find_capability(device, PCI_CAP_ID_AGP); > > - if (!cap_ptr) { > > -

Re: AGP bogosities

2005-03-10 Thread Linus Torvalds
On Fri, 11 Mar 2005, Paul Mackerras wrote: > > The point is that pci_get_class does a pci_dev_put() on the "from" > parameter, so your code ended up doing a double put. Ahh, I missed that too. Hmm.. We seem to not have any tests for the counts becoming negative, and this would seem to be an

Re: [PPC64] Allow emulation of mfpvr on ppc64 kernel

2005-03-10 Thread Paul Mackerras
Ingo Oeser writes: > Why not putting the required information into the AUX table > when executing your ELF programs? I loved this feature in the > ix86 arch. We do put an AT_HWCAP entry in the aux table, which is a bitmap of features supported by the cpu. But for some applications, such as

Re: 2.6.11 on AMD64 traps

2005-03-10 Thread David S. Miller
On Wed, 09 Mar 2005 20:45:35 +0100 Patrick McHardy <[EMAIL PROTECTED]> wrote: > > Michal Vanco wrote: > >> > >> I see this problem running 2.6.11 on dual AMD64: > >> > >> Running quagga routing daemon (ospf+bgp) and issuing "netstat -rn |wc > >> -l" command > >> while quagga tries to load more

Re: Can I get 200M contiguous physical memory?

2005-03-10 Thread Robert Hancock
Chris Wedgwood wrote: it's driver in windows can do it. windows can get 200MB of memory on a running system relaibly? does it swap like mad when you do this? I'm guessing that driver isn't too likely to pass WHQL testing on Windows either, whatever it's doing.. -- Robert Hancock

Re: AGP bogosities

2005-03-10 Thread Paul Mackerras
Dave Jones writes: > >cap_ptr = pci_find_capability(device, PCI_CAP_ID_AGP); > > - if (!cap_ptr) { > > - pci_dev_put(device); > > - continue; > > - } > > - cap_ptr = 0; > >} > > This part I'm not so sure

Re: AGP bogosities

2005-03-10 Thread Jesse Barnes
On Thursday, March 10, 2005 6:11 pm, Paul Mackerras wrote: > What is the relationship in the PCI device tree between the video > cards and their bridges? Is there for instance only one AGP bridge > per host bridge? I *think* a TIO (numalink<->agp & numalink<->pci) has two AGP busses coming off

Re: AGP bogosities

2005-03-10 Thread Dave Jones
On Fri, Mar 11, 2005 at 01:18:36PM +1100, Paul Mackerras wrote: > Dave Jones writes: > > > > cap_ptr = pci_find_capability(device, PCI_CAP_ID_AGP); > > > - if (!cap_ptr) { > > > - pci_dev_put(device); > > > -

Re: AGP bogosities

2005-03-10 Thread Dave Jones
On Fri, Mar 11, 2005 at 12:24:54PM +1100, Paul Mackerras wrote: > In fact there are other bogosities in drivers/char/agp/generic.c. I > can't believe Dave ever tested that code with an AGP 3.0 device. Hrmm, I'm fairly sure I did. It's also been sat in -mm without complaint for a few weeks,

Re: AGP bogosities

2005-03-10 Thread Paul Mackerras
Jesse Barnes writes: > I have a system in my office with several gfx pipes on different AGP busses, > and I'd like that to work well too! :) Interesting, could you post the output from lspci -v on that system? What is the relationship in the PCI device tree between the video cards and their

Re: AGP bogosities

2005-03-10 Thread Jesse Barnes
On Thursday, March 10, 2005 5:24 pm, Paul Mackerras wrote: > The patch below fixes these problems. It will work in the 99.99% of > cases where we have one AGP bridge and one AGP video card. We should > eventually cope with multiple AGP bridges, but doing the matching of > bridges to video cards

Re: re-inline sched functions

2005-03-10 Thread Nick Piggin
Andrew Morton wrote: "Chen, Kenneth W" <[EMAIL PROTECTED]> wrote: This could be part of the unknown 2% performance regression with db transaction processing benchmark. The four functions in the following patch use to be inline. They are un-inlined since 2.6.7. We measured that by re-inline them

Re: AGP bogosities

2005-03-10 Thread Linus Torvalds
On Fri, 11 Mar 2005, Paul Mackerras wrote: > > Oh, and by the way, I have 3D working relatively well on my G5 with a > 64-bit kernel (and 32-bit X server and clients), which is why I care > about AGP 3.0 support. :) Ok, I can't even compile it on my G5, so you're obviously withholding some

Re: 2.6.11 low latency audio test results

2005-03-10 Thread Gene Heskett
On Thursday 10 March 2005 16:52, Lee Revell wrote: >On Wed, 2005-03-09 at 08:27 -0600, K.R. Foley wrote: >> Lee Revell wrote: >> > Of course all of the above settings provide flawless xrun-free >> > performance with 2.6.11-rc4 + PREEMPT_RT. >> >> The above mentioned patch will apply (and build and

Re: inode cache, dentry cache, buffer heads usage

2005-03-10 Thread Andrew Morton
Badari Pulavarty <[EMAIL PROTECTED]> wrote: > > So, why is these slab cache are not getting purged/shrinked even > under memory pressure ? (I have seen lowmem as low as 6MB). What > can I do to keep the machine healthy ? Tried increasing /proc/sys/vm/vfs_cache_pressure? (That might not be in

Re: [RFC] -stable, how it's going to work.

2005-03-10 Thread Neil Brown
On Thursday March 10, [EMAIL PROTECTED] wrote: > On Thu, 2005-03-10 at 21:00 +1100, Neil Brown wrote: > > One rule that I thought would make sense, but that I don't see listed > > is: > > > > - must fix a regression > > > > If some problem was in 2.6.X and is still there in 2.6.X+1, then there

Re: [PATCH] Support for GEODE CPUs

2005-03-10 Thread Andrew Morton
So.. did we end up deciding that the Geode patch should be reverted wholesale? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: [01/11] fix amd64 2.6.11 oops on modprobe (saa7110)

2005-03-10 Thread Josh Boyer
On Thu, 2005-03-10 at 15:07 -0800, Greg KH wrote: > -stable review patch. If anyone has any objections, please let us know. > > -- > > This is a rewrite of the saa7110_write_block function, which was plain > broken in the case where the underlying adapter supports I2C_FUNC_I2C.

AGP bogosities

2005-03-10 Thread Paul Mackerras
Linus, I see that you did a cset -x on a changeset from Dave Jones that added a bogus test for which AGP bridge a device is under. That has left us with code in agp_collect_device_status that will never find any device (just take a look and you'll see). In fact there are other bogosities in

Re: oom with 2.6.11

2005-03-10 Thread Christian Kujau
Andrew Morton wrote: > Christian Kujau <[EMAIL PROTECTED]> wrote: > >>i was going to compile 2.6.11-rc5-bk4, to sort out the "bad" kernel. >>compiling went fine. ok, finished some email, ok, suddenly my swap was >>used up again, and no memory left - uh oh! OOM again, with 2.6.11-rc5-bk2! > > >

Re: 2.6.11-mm2 + Radeon crash

2005-03-10 Thread Dave Airlie
> > When I try to start X, my machine reboots. The screen goes dark as > usual when setting the video mode, but then I get a beep and I'm > greeted with the BIOS boot messages. This happened 4/5 times i've > tried, and once the video mode was actually set (at least I saw the > usual X b/w pattern

Re: Someting's busted with serial in 2.6.11 latest

2005-03-10 Thread Steven Cole
On Thursday 10 March 2005 03:59 pm, Russell King wrote: > On Thu, Mar 10, 2005 at 03:40:11PM -0700, Steven Cole wrote: > > I'll test current bk tonight, but I don't see any recent fix to > > drivers/serial/8250.c when browsing linux.bkbits.net/linux-2.6. > > Ok, so Stephen's bug is already fixed.

Re: [PATCH] add a clear_pages function to clear pages of higher order

2005-03-10 Thread Christoph Lameter
Changelog: - use Kconfig and CONFIG_CLEAR_PAGES The zeroing of a page of a arbitrary order in page_alloc.c and in hugetlb.c may benefit from a clear_page that is capable of zeroing multiple pages at once. The following patch adds a function "clear_pages" that is capable of clearing multiple

Re: [AGPGART] Map the graphic card to the bridge its connected to.

2005-03-10 Thread Benjamin Herrenschmidt
On Fri, 2005-03-11 at 10:02 +1100, Benjamin Herrenschmidt wrote: > On Wed, 2005-02-23 at 02:25 +, Linux Kernel Mailing List wrote: > > ChangeSet 1.1982.82.19, 2005/02/22 21:25:33-05:00, [EMAIL PROTECTED] > > > > [AGPGART] Map the graphic card to the bridge its connected to. > > > >

Re: [patch 4/5] audit mips fix

2005-03-10 Thread Yoichi Yuasa
Hi Ralf, On Thu, 10 Mar 2005 17:14:29 + Ralf Baechle <[EMAIL PROTECTED]> wrote: > On Fri, Mar 04, 2005 at 01:16:57PM -0800, [EMAIL PROTECTED] wrote: > > > Signed-off-by: Yoichi Yuasa <[EMAIL PROTECTED]> > > Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> > > > @@ -307,7 +308,7 @@

Re: [PPC64] Allow emulation of mfpvr on ppc64 kernel

2005-03-10 Thread David Gibson
On Thu, Mar 10, 2005 at 11:17:03PM +0100, Ingo Oeser wrote: > David Gibson wrote: > > Andrew, please apply. > > > > Allow userspace programs on ppc64 to use the (privileged) mfpvr > > instruction to determine the processor type. At the moment it > > emulates the instruction to provide the real

Re: re-inline sched functions

2005-03-10 Thread Andrew Morton
"Chen, Kenneth W" <[EMAIL PROTECTED]> wrote: > > This could be part of the unknown 2% performance regression with > db transaction processing benchmark. > > The four functions in the following patch use to be inline. They > are un-inlined since 2.6.7. > > We measured that by re-inline them back

Re: oom with 2.6.11

2005-03-10 Thread Andrew Morton
Christian Kujau <[EMAIL PROTECTED]> wrote: > > i was going to compile 2.6.11-rc5-bk4, to sort out the "bad" kernel. > compiling went fine. ok, finished some email, ok, suddenly my swap was > used up again, and no memory left - uh oh! OOM again, with 2.6.11-rc5-bk2! Well if you ran out of swap

re-inline sched functions

2005-03-10 Thread Chen, Kenneth W
This could be part of the unknown 2% performance regression with db transaction processing benchmark. The four functions in the following patch use to be inline. They are un-inlined since 2.6.7. We measured that by re-inline them back on 2.6.9, it improves performance for db transaction

  1   2   3   4   5   6   7   8   >