[PATCH 1/2] rtc: add rtc-m41t80 driver (take 2)

2007-06-22 Thread Atsushi Nemoto
This is a new-style i2c driver for ST M41T80 series RTC chip, derived from works by Alexander Bigga <[EMAIL PROTECTED]> who wrote the original rtc-m41txx.c based on drivers/i2c/chips/m41t00.c driver. This driver supports M41T8[0-4] and M41ST8[457]. The old m41t00 driver supports M41T00, M41T81 an

[PATCH 2/2] rtc: watchdog support for rtc-m41t80 driver (take 2)

2007-06-22 Thread Atsushi Nemoto
This patch add a watchdog driver interface to rtc-m41t80 driver. This is derived from works by Alexander Bigga <[EMAIL PROTECTED]> Signed-off-by: Atsushi Nemoto <[EMAIL PROTECTED]> Signed-off-by: Alexander Bigga <[EMAIL PROTECTED]> --- Changes from previous version: * Update against rtc-m41t80 v

Re: how to tell linux (on x86) to ignore 1M or memory

2007-06-22 Thread Rene Herman
On 06/22/2007 03:46 AM, H. Peter Anvin wrote: Rene Herman wrote: On 04/19/2007 04:18 PM, Bart Trojanowski wrote: I need to preserve some state from the bios before entering protected mode. For now I want to copy it into some ram accessible by real-mode, say the last megabyte visible in real-

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-22 Thread Andrew Morton
> On Fri, 22 Jun 2007 08:58:44 -0400 Steven Rostedt <[EMAIL PROTECTED]> wrote: > On Fri, 2007-06-22 at 14:38 +0200, Ingo Molnar wrote: > > * Steven Rostedt <[EMAIL PROTECTED]> wrote: > > > > > > And this is something that might be fine for benchmarking, but not > > > > something > > > > we should

Re: ACPI Regression on Dell E1501

2007-06-22 Thread Tim Gardner
Tim Gardner wrote: > Thomas Gleixner wrote: >> On Thu, 2007-06-21 at 17:47 -0400, Chuck Ebbert wrote: >>> On 06/21/2007 05:04 PM, Tim Gardner wrote: Hi, Commit e9e2cdb412412326c4827fc78ba27f410d837e6e breaks boot on a Dell E1501 unless 'acpi=off' is specified (also tried nolapic

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-22 Thread Steven Rostedt
On Fri, 2007-06-22 at 14:38 +0200, Ingo Molnar wrote: > * Steven Rostedt <[EMAIL PROTECTED]> wrote: > > > > And this is something that might be fine for benchmarking, but not > > > something > > > we should put in. Keeping two wildly different implementation of core > > > functionality with very

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-22 Thread Ingo Molnar
* Steven Rostedt <[EMAIL PROTECTED]> wrote: > > that's where it belongs - but it first needs the cleanups suggested > > by Christoph. > > I had the impression that he didn't want it in, but instead wanted > each driver to be changed separately. that can be done too in a later stage. We cannot

Re: libata and legacy ide pcmcia failure

2007-06-22 Thread Mark Lord
Robert de Rooy wrote: I did another try with libata pcmcia support using 2.6.22-rc5 which already includes the nodata polling fix, in combination with disable-dev_init_param-and-setxfermode-for-CFA.patch and the timing-debug.patch ... Jun 22 13:19:44 localhost kernel: ata3.00: issuing IDENT

Re: [RFC PATCH 6/6] Convert tasklets to work queues

2007-06-22 Thread Steven Rostedt
On Fri, 2007-06-22 at 00:06 -0700, Daniel Walker wrote: > > +void tasklet_schedule(struct tasklet_struct *t) > > +{ > > + BUG_ON(!ktaskletd_wq); > > + pr_debug("scheduling tasklet %s %p\n", t->n, t); > > I'd change these pr_debug lines to "tasklet : scheduling %s %p\n" for > readability .. A

Re: [PATCH] mmc-atmel : fix kunmap wrong usage

2007-06-22 Thread Nicolas Ferre
Hugh Dickins : Aren't you just guessing there? Those kunmap_atomics in at91_mci.c may look wrong to you, but they're not incorrect (so long as sg->offset falls within the page, as it must do here to make sense of the page). Especially not on ARM, where kunmap_atomic actually has no interest in t

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-22 Thread Steven Rostedt
On Fri, 2007-06-22 at 06:13 -0700, Andrew Morton wrote: > > On Fri, 22 Jun 2007 08:58:44 -0400 Steven Rostedt <[EMAIL PROTECTED]> wrote: > > On Fri, 2007-06-22 at 14:38 +0200, Ingo Molnar wrote: > > > * Steven Rostedt <[EMAIL PROTECTED]> wrote: > > > > Honestly, I highly doubted that this would ma

Re: Kconfig troubles when using menuconfig - Was: [patch]Re: [linux-usb-devel] linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Andreas Herrmann
On Fri, Jun 22, 2007 at 10:22:46AM -0300, Mauro Carvalho Chehab wrote: > Hi Roman, > > Several instabilities on Kconfig started to happen after replacing > Kconfig menus to use menuconfig, as this one, reported by Oliver: > > Em Qui, 2007-06-21 às 13:50 +0200, Oliver Neukum escreveu: > > Am Donne

Re: [RFC PATCH 2/6] Split out tasklets from softirq.c

2007-06-22 Thread Akinobu Mita
2007/6/22, Steven Rostedt <[EMAIL PROTECTED]>: +static inline void tasklet_unlock_wait(struct tasklet_struct *t) +{ + while (test_bit(TASKLET_STATE_RUN, &(t)->state)) { barrier(); } +} BTW, can we use cpu_relax() instead of barrier() in this busy-wait loop? - To unsubscribe from this lis

Re: JIT emulator needs

2007-06-22 Thread Arjan van de Ven
On Fri, 2007-06-22 at 01:56 -0400, Albert Cahalan wrote: > On 6/21/07, Arjan van de Ven <[EMAIL PROTECTED]> wrote: > > On Fri, 2007-06-08 at 02:35 -0400, Albert Cahalan wrote: > > > Right now, Linux isn't all that friendly to JIT emulators. > > > Here are the problems and suggestions to improve the

Re: [AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching

2007-06-22 Thread James Morris
On Fri, 22 Jun 2007, Chris Mason wrote: > > The validity or otherwise of pathname access control is not being > > discussed here. > > > > The point is that the pathname model does not generalize, and that > > AppArmor's inability to provide adequate coverage of the system is a > > design issue

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-22 Thread Andrew Morton
> On Fri, 22 Jun 2007 15:26:22 +0200 Ingo Molnar <[EMAIL PROTECTED]> wrote: > > * Andrew Morton <[EMAIL PROTECTED]> wrote: > > > I do think that would be a better approach. Apart from the > > cleanliness issue, the driver-by-driver conversion would make it much > > easier to hunt down any regr

Re: Kconfig troubles when using menuconfig - Was: [patch]Re: [linux-usb-devel] linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Jan Engelhardt
On Jun 22 2007 15:46, Andreas Herrmann wrote: >Hi, > >I am not sure whether it is related or not >But if you select USB as module but build your v4l_usb driver >into the kernel you also get compile errors. >Attached is a patch which will prevent this by changing the menuconfig >from bool to trista

Re: [PATCH, RFD]: Unbreak no-mmu mmap

2007-06-22 Thread David Howells
Bernd Schmidt <[EMAIL PROTECTED]> wrote: > Excess pages will be freed if MAP_SPLIT_PAGES is passed to mmap. How about MAP_TRIM_EXCESS instead of MAP_SPLIT_PAGES? I think it fits the function better. David - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-22 Thread Ingo Molnar
* Andrew Morton <[EMAIL PROTECTED]> wrote: > I do think that would be a better approach. Apart from the > cleanliness issue, the driver-by-driver conversion would make it much > easier to hunt down any regresions or various funnineses. there are 120 tasklet_init()s in the tree and 224 tasklet

Re: 2.6.20->2.6.21 - networking dies after random time

2007-06-22 Thread Jarek Poplawski
On Fri, Jun 22, 2007 at 10:56:44AM +0200, Marcin Ślusarz wrote: ... > When I disable on-board network card in BIOS (controlled by skge) > ne2k-pci card is still locking up. So I think it's strictly ne2k-pci > card bug. I made some tests and I know how to reproduce it fast (on my > machine) - just m

Kconfig troubles when using menuconfig - Was: [patch]Re: [linux-usb-devel] linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Mauro Carvalho Chehab
Hi Roman, Several instabilities on Kconfig started to happen after replacing Kconfig menus to use menuconfig, as this one, reported by Oliver: Em Qui, 2007-06-21 às 13:50 +0200, Oliver Neukum escreveu: > Am Donnerstag, 21. Juni 2007 schrieb Toralf Förster: > > Right, but IMHO this issue is typica

Re: [AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching

2007-06-22 Thread Stephen Smalley
On Fri, 2007-06-22 at 14:54 +0200, Lars Marowsky-Bree wrote: > On 2007-06-22T08:41:51, Stephen Smalley <[EMAIL PROTECTED]> wrote: > > Sorry, do you mean the "server" as in the "server system" or as in the > > "server daemon"? For the former, I'd agree - we would want SELinux > > policy applied on

[patch] usbnet: fix kconfig for usbnet drivers

2007-06-22 Thread Andreas Herrmann
Fix kernel build error: drivers/built-in.o: In function `usbnet_set_settings': : undefined reference to `mii_ethtool_sset' drivers/built-in.o: In function `usbnet_get_settings': : undefined reference to `mii_ethtool_gset' drivers/built-in.o: In function `usbnet_get_link': : undefined referen

Re: [PATCH] bracing the loop in kernel/softirq.c

2007-06-22 Thread Cyrill Gorcunov
[Jeremy Fitzhardinge - Thu, Jun 21, 2007 at 11:52:25AM -0700] > Jesper Juhl wrote: >> On 20/06/07, Cyrill Gorcunov <[EMAIL PROTECTED]> wrote: >>> This trivial patch adds braces over a one-line >>> loop. That makes code...well... little bit >>> convenient for (possible) further modifications. >>> >>

Re: can't suspend on vaio sz (rc4 and rc5 are ok) [was Re: 2.6.22-rc4-mm2]

2007-06-22 Thread Alan Stern
On Fri, 22 Jun 2007, Mattia Dongili wrote: > > Yes, the problem is not present after reverting this patch. > > Not for me, I had that patch already reverted. As I said there was a > point when bisecting which the kernel came back to life instead of just > hanging trying to suspend. > I'll try to

Re: [RFC PATCH 2/6] Split out tasklets from softirq.c

2007-06-22 Thread Steven Rostedt
On Fri, 2007-06-22 at 22:45 +0900, Akinobu Mita wrote: > 2007/6/22, Steven Rostedt <[EMAIL PROTECTED]>: > > > +static inline void tasklet_unlock_wait(struct tasklet_struct *t) > > +{ > > + while (test_bit(TASKLET_STATE_RUN, &(t)->state)) { barrier(); } > > +} > > BTW, can we use cpu_relax()

Re: [PATCH] mmc-atmel : fix kunmap wrong usage

2007-06-22 Thread Hugh Dickins
On Fri, 22 Jun 2007, Nicolas Ferre wrote: > > Here: > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=b9bae3402572dc50a1e084c5b1ae5117918ef0f0 Yup. > > But it would be good to hear from Nicolas whether that indeed fixes > > his oops: I couldn't actually try my pat

Re: Terrible IO performance when using 4GB of RAM on a 32 bit machine

2007-06-22 Thread Robert Hancock
Peter Rabbitson wrote: Robert Hancock wrote: Peter Rabbitson wrote: H. Peter Anvin wrote: What does /proc/mtrr look like in the two cases? Identical for mem=3900 and without it. reg00: base=0x ( 0MB), size=2048MB: write-back, count=1 reg01: base=0x8000 (2048MB), size=1024MB:

Re: [PATCH 7/12] acpi: fix another compile warning

2007-06-22 Thread Andreas Herrmann
On Thu, Jun 21, 2007 at 08:36:15PM +0200, Andreas Herrmann wrote: > On Wed, Jun 20, 2007 at 11:25:48AM -0700, Ravikiran G Thirumalai wrote: > > On Wed, Jun 20, 2007 at 09:36:30AM -0400, Len Brown wrote: > > > > > > The underlying problem is that Kconfig doesn't support using select > > > o

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-22 Thread Steven Rostedt
On Fri, 2007-06-22 at 07:25 -0700, Arjan van de Ven wrote: > > The most part, tasklets today are not used for time critical functions. > > Running tasklets in thread context is not harmful to performance of > > the overall system. > > That is a bold statement... > > > But running them in interru

[RC][PATCH -mm] PM: Prevent frozen user mode helpers from failing the freezing of tasks

2007-06-22 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> At present, if a user mode helper is running while usermodehelper_pm_callback() is executed, the helper may be frozen and the completion in call_usermodehelper_exec() won't be completed until user space processes are thawed. As a result, the freezing of

Re: how about mutual compatibility between Linux's GPLv2 and GPLv3?

2007-06-22 Thread Theodore Tso
On Fri, Jun 22, 2007 at 03:00:30AM -0300, Alexandre Oliva wrote: > I was here to dispell the lies that were being spread about GPLv3, the > spirit and the goals of the GPL, as far as I understood them. I knew > from the start that it was an uphill battle, and that I wouldn't be > able to convince

[RC][PATCH] PM: Remove code duplication between main.c and user.c

2007-06-22 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> The SNAPSHOT_S2RAM ioctl code is outdated and it should not duplicate the suspend code in kernel/power/main.c. Fix that. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> Reviewed-by: Pavel Machek <[EMAIL PROTECTED]> --- kernel/power/main.c | 79

Re: [TOMOYO 5/9] Memory and pathname management functions.

2007-06-22 Thread Albert Cahalan
On 6/21/07, Pavel Machek <[EMAIL PROTECTED]> wrote: > >> It's really not worth getting bothered by. Truth is, big > >> giant > >> pathnames break lots of stuff already, both kernel and > >> userspace. > > > >> Just look in /proc for some nice juicy kernel breakage: > >> cwd, exe, fd/*, maps, mou

Re: JIT emulator needs

2007-06-22 Thread Arjan van de Ven
> > > > and these methods also destroy yourself on any machine with a looser > > > > cache coherency between I and D-cache > > > > > > > > for all but x86 you pretty much have to do the mprotect() between the > > > > two states to deal with the cache flushing properly... > > > > > > If the ins

Re: [PATCH 2/12] acpi: select ACPI_EC for THINKPAD_ACPI

2007-06-22 Thread Andreas Herrmann
On Tue, Jun 19, 2007 at 09:57:44PM -0300, Henrique de Moraes Holschuh wrote: > On Wed, 20 Jun 2007, Andreas Herrmann wrote: > > Fix kernel build problem: > > > > thinkpad_acpi.c:(.text+0x7486a): undefined reference to `ec_write' > > > > (as THINKPAD_ACPI depends on ACPI_EC) > > > > Signed-off-b

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-22 Thread Arjan van de Ven
> > This is stated on the assumption that pretty much all performance > critical tasklets have been removed (although Christoph just mentioned > megaraid_sas, but after I made this statement). > > We've been running tasklets as threads in the -rt kernel for some time > now, and that hasn't bothe

Re: 2.6.22-rc5: pdflush oops under heavy disk load

2007-06-22 Thread Chuck Ebbert
On 06/21/2007 08:07 PM, Jay L. T. Cornwall wrote: > Hi, > > Kernel version: 2.6.22-rc5 (confirmed also on 2.6.20) > Kernel config : Ubuntu 7.04 default (SMP) > > Relevant hardware: > Asus P5K (Intel P35 chipset) > Core 2 Duo E6600 2.4GHz > Western Digital 10KRPM 150GB HDD on JMicron 20360/2

Re: how about mutual compatibility between Linux's GPLv2 and GPLv3?

2007-06-22 Thread Theodore Tso
On Fri, Jun 22, 2007 at 10:14:23AM +0100, Alan Cox wrote: > > Another law of negotiations --- don't goad people into hardening their > > positions; it helps neither you nor your interests. > > That always depends which side you really support, whether you want to > force someone to wedge themselve

Re: [AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching

2007-06-22 Thread Stephen Smalley
On Fri, 2007-06-22 at 09:22 -0400, Stephen Smalley wrote: > On Fri, 2007-06-22 at 14:54 +0200, Lars Marowsky-Bree wrote: > > On 2007-06-22T08:41:51, Stephen Smalley <[EMAIL PROTECTED]> wrote: > > > Sorry, do you mean the "server" as in the "server system" or as in the > > > "server daemon"? For th

Re: Please release a stable kernel Linux 3.0

2007-06-22 Thread Rafael J. Wysocki
On Friday, 22 June 2007 00:34, Chuck Ebbert wrote: > On 06/21/2007 06:29 PM, Jesper Juhl wrote: > > > > I myself have argued that we should be focusing more on stability and > > regression fixing, but I'm not so sure that a 2.6.7 devel branch would > > solve this. In general the 2.6.x.y -stable ke

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-22 Thread Steven Rostedt
On Fri, 2007-06-22 at 15:12 +0200, Ingo Molnar wrote: > * Steven Rostedt <[EMAIL PROTECTED]> wrote: > > yes, the softirq based tasklet implementation with workqueue based > implementation, but the tasklet API itself should still stay. done. > > ok, enough idle talking, lets see the next round

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-22 Thread Arjan van de Ven
> The most part, tasklets today are not used for time critical functions. > Running tasklets in thread context is not harmful to performance of > the overall system. That is a bold statement... > But running them in interrupt context is, since > they increase the overall latency for high priori

Re: Kconfig troubles when using menuconfig - Was: [patch]Re: [linux-usb-devel] linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Roman Zippel
Hi, On Fri, 22 Jun 2007, Mauro Carvalho Chehab wrote: > Hi Roman, > > Several instabilities on Kconfig started to happen after replacing > Kconfig menus to use menuconfig, as this one, reported by Oliver: > > Em Qui, 2007-06-21 às 13:50 +0200, Oliver Neukum escreveu: > > Am Donnerstag, 21. Juni

Re: [PATCH] doc/oops-tracing: add Code: decode info

2007-06-22 Thread Andi Kleen
On Friday 22 June 2007 07:51:08 Randy Dunlap wrote: > From: Randy Dunlap <[EMAIL PROTECTED]> > > Add info that the Code: bytes line contains or (wxyz) in some > architecture oops reports and what that means. > > Add URL for a script by Andi Kleen that reads the Code: line from an Oops > report f

Re: How to improve the quality of the kernel?

2007-06-22 Thread Stefan Richter
Markus Rechberger wrote: > just reading through it and cleaning up some code isn't so difficult > and can be done by many people - Doing cleanups is a good way to get into the matter, to become able to eventually fix bugs of the difficult type. > if they're allowed/wanted to do so. Everybody is

Re: [PATCH] SLOB allocator imcompatible SLAB

2007-06-22 Thread Matt Mackall
On Fri, Jun 22, 2007 at 05:08:07PM +0900, Yoshinori Sato wrote: > Because the page which SLOB allocator got does not have PG_slab, This is for a NOMMU system? You're using an old kernel with an old version of SLOB. SLOB in newer kernels actually sets per-page flags. Nick, can you see any reason n

Re: [PATCH] mmc-atmel : fix kunmap wrong usage

2007-06-22 Thread Marc Pignat
On Friday 22 June 2007 15:34, Nicolas Ferre wrote: > Hugh Dickins : > Here: > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=b9bae3402572dc50a1e084c5b1ae5117918ef0f0 > > > But it would be good to hear from Nicolas whether that indeed fixes > > his oops: I couldn't

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-22 Thread Ingo Molnar
* Andrew Morton <[EMAIL PROTECTED]> wrote: > > there are 120 tasklet_init()s in the tree and 224 > > tasklet_schedule()s. > > couple of hours? hm, what would you replace it with? Another new API? Or to workqueues with a manual adding of a local_bh_disable()/enable() pair around the worker fu

[patch] DLM: fix kconfig dependency

2007-06-22 Thread Andreas Herrmann
Avoid kernel build error (as DLM depends on SYSFS) LD vmlinux fs/built-in.o: In function `dlm_lockspace_init': : undefined reference to `kernel_subsys' fs/built-in.o: In function `configfs_init': mount.c:(.init.text+0xef4): undefined reference to `kernel_subsys' Signed-off-

Re: [AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching

2007-06-22 Thread Chris Mason
On Fri, Jun 22, 2007 at 09:48:12AM -0400, James Morris wrote: > On Fri, 22 Jun 2007, Chris Mason wrote: > > > > The validity or otherwise of pathname access control is not being > > > discussed here. > > > > > > The point is that the pathname model does not generalize, and that > > > AppArmor's

Re: Kconfig troubles when using menuconfig - Was: [patch]Re: [linux-usb-devel] linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Andreas Herrmann
On Fri, Jun 22, 2007 at 03:51:34PM +0200, Jan Engelhardt wrote: > > On Jun 22 2007 15:46, Andreas Herrmann wrote: > >Hi, > > > >I am not sure whether it is related or not > >But if you select USB as module but build your v4l_usb driver > >into the kernel you also get compile errors. > >Attached is

Re: [AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching

2007-06-22 Thread James Morris
On Fri, 22 Jun 2007, Chris Mason wrote: > But, this is a completely different discussion than if AA is > solving problems in the wild for its intended audience, or if the code > is somehow flawed and breaking other parts of the kernel. Is its intended audience aware of its limitiations? Lars has

Re: [PATCH] mmc-atmel : fix kunmap wrong usage

2007-06-22 Thread Marc Pignat
On Friday 22 June 2007 15:34, Nicolas Ferre wrote: > Hugh Dickins : > > Aren't you just guessing there? Those kunmap_atomics in at91_mci.c > > may look wrong to you, but they're not incorrect (so long as sg->offset > > falls within the page, as it must do here to make sense of the page). > > Espec

[PATCH] NOMMU: Unbreak no-mmu mmap

2007-06-22 Thread David Howells
From: Bernd Schmidt <[EMAIL PROTECTED]> Here's a patch to move nommu mmap/munmap ever so slightly closer to mmu behaviour. The motivation for this is to be able to deselect uClibc's UCLIBC_UCLINUX_BROKEN_MUNMAP config option, which speeds up malloc a fair bit. I'm interested in comments whether

Re: JIT emulator needs

2007-06-22 Thread Albert Cahalan
On 6/22/07, Arjan van de Ven <[EMAIL PROTECTED]> wrote: On Fri, 2007-06-22 at 01:56 -0400, Albert Cahalan wrote: > On 6/21/07, Arjan van de Ven <[EMAIL PROTECTED]> wrote: > > On Fri, 2007-06-08 at 02:35 -0400, Albert Cahalan wrote: > > > Right now, Linux isn't all that friendly to JIT emulators.

Re: 2.6.22-rc5: pdflush oops under heavy disk load

2007-06-22 Thread Jay L. T. Cornwall
Chuck Ebbert wrote: > On 06/21/2007 08:07 PM, Jay L. T. Cornwall wrote: >> [ 724.350222] general protection fault: [1] SMP >> [ 724.350413] CPU 1 >> >> [ 724.355028] Pid: 199, comm: pdflush Not tainted 2.6.22-rc5-edge #1 >> [ 724.355125] RIP: 0010:[] [] >> :ext3:walk_page_buffers+0x34/0

Re: Kconfig troubles when using menuconfig - Was: [patch]Re: [linux-usb-devel] linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Mauro Carvalho Chehab
Em Sex, 2007-06-22 às 15:51 +0200, Jan Engelhardt escreveu: > On Jun 22 2007 15:46, Andreas Herrmann wrote: > >Hi, > > > >I am not sure whether it is related or not > >But if you select USB as module but build your v4l_usb driver > >into the kernel you also get compile errors. > >Attached is a patc

Re: ACPI Regression on Dell E1501

2007-06-22 Thread Thomas Renninger
On Fri, 2007-06-22 at 07:18 -0600, Tim Gardner wrote: > Tim Gardner wrote: > > Thomas Gleixner wrote: > >> On Thu, 2007-06-21 at 17:47 -0400, Chuck Ebbert wrote: > >>> On 06/21/2007 05:04 PM, Tim Gardner wrote: > Hi, > > Commit e9e2cdb412412326c4827fc78ba27f410d837e6e breaks boot on

Re: How to improve the quality of the kernel?

2007-06-22 Thread Oleg Verych
On Fri, Jun 22, 2007 at 04:19:34PM +0200, Stefan Richter wrote: > Markus Rechberger wrote: > > just reading through it and cleaning up some code isn't so difficult > > and can be done by many people - > > Doing cleanups is a good way to get into the matter, to become able to > eventually fix bugs

Re: Kconfig troubles when using menuconfig - Was: [patch]Re: [linux-usb-devel] linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Jan Engelhardt
On Jun 22 2007 16:27, Roman Zippel wrote: > >> In this specific case, all V4L USB drivers depends on V4L_USB_DRIVERS, >> that depends, in turn, on USB. So, if USB is not selected, >> V4L_USB_DRIVERS should be unselected, unselecting zc0301. >> >> Unfortunately, the Kernel building system is not p

Re: Kconfig troubles when using menuconfig - Was: [patch]Re: [linux-usb-devel] linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Mauro Carvalho Chehab
Em Sex, 2007-06-22 às 16:27 +0200, Roman Zippel escreveu: > Hi, > > On Fri, 22 Jun 2007, Mauro Carvalho Chehab wrote: > > > Hi Roman, > > > > Several instabilities on Kconfig started to happen after replacing > > Kconfig menus to use menuconfig, as this one, reported by Oliver: > > > > Em Qui,

Re: Linux Kernel include files

2007-06-22 Thread Adrian Bunk
On Fri, Jun 22, 2007 at 11:38:47AM +0800, David Woodhouse wrote: > On Fri, 2007-06-22 at 01:38 +0200, Joerg Schilling wrote: > > The main problems are not really hard to fix.. > > > > - Most problems eem to be related to the fact that Linux does not > > use C-99 based types in the kernel

Re: [PATCH -rt] CONFIG_PARAVIRT and CONFIG_MCOUNT don't play well together

2007-06-22 Thread Chris Wright
* Ingo Molnar ([EMAIL PROTECTED]) wrote: > * Chris Wright <[EMAIL PROTECTED]> wrote: > > Current -rt is broken when compiling with CONFIG_PARAVIRT and > > CONFIG_MCOUNT both enabled. Because CONFIG_MCOUNT disables > > CONFIG_REGPARM, the calling convention must once again be explicit > > with f

Re: Dual slot PCI riser messes up ivtv

2007-06-22 Thread Krzysztof Halasa
Islam Amer <[EMAIL PROTECTED]> writes: > [ 37.298400] ACPI: PCI Interrupt :00:05.0[A] -> GSI 17 (level, > low) -> IRQ 22 > [ 37.298413] saa7134[0]: found at :00:05.0, rev: 1, irq: 22, > latency: 32, mmio: 0x0 The riser card must not be very active as the device(s) are sitting on bus #

Re: Kconfig troubles when using menuconfig - Was: [patch]Re: [linux-usb-devel] linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Oliver Neukum
Am Freitag, 22. Juni 2007 schrieb Mauro Carvalho Chehab: > Em Sex, 2007-06-22 às 15:51 +0200, Jan Engelhardt escreveu: > > On Jun 22 2007 15:46, Andreas Herrmann wrote: > > >Hi, > > > > > >I am not sure whether it is related or not > > >But if you select USB as module but build your v4l_usb driver

Re: [RFC PATCH 6/6] Convert tasklets to work queues

2007-06-22 Thread Oleg Nesterov
On 06/22, Steven Rostedt wrote: > > > truct tasklet_struct, work); > > > + > > > + if (unlikely(atomic_read(&t->count))) { > > > + pr_debug("tasklet disabled %s %p\n", t->n, t); > > > + set_bit(TASKLET_STATE_PENDING, &t->state); > > > + smp_mb(); > > > + /* make sure

Re: [PATCH] bracing the loop in kernel/softirq.c

2007-06-22 Thread Cyrill Gorcunov
[Jeremy Fitzhardinge - Thu, Jun 21, 2007 at 11:52:25AM -0700] > Jesper Juhl wrote: >> On 20/06/07, Cyrill Gorcunov <[EMAIL PROTECTED]> wrote: >>> This trivial patch adds braces over a one-line >>> loop. That makes code...well... little bit >>> convenient for (possible) further modifications. >>> >>

Re: [patch -rss] Make RSS accounting display more user friendly

2007-06-22 Thread Paul Menage
On 6/21/07, Pavel Emelianov <[EMAIL PROTECTED]> wrote: Nothing wrong, but currently they are shown in "natural" points, i.e. in those that the controller accounts them in. For RSS controller the natural point is "page", but auto-converting them from pages to bytes is wrong, as not all the contro

Re: [PATCH -rt] CONFIG_PARAVIRT and CONFIG_MCOUNT don't play well together

2007-06-22 Thread Ingo Molnar
* Chris Wright <[EMAIL PROTECTED]> wrote: > * Steven Rostedt ([EMAIL PROTECTED]) wrote: > > Chris, thanks a hell of a lot for looking into this!!! > > > > -rt doesn't do much with paravirt, but since both -rt and lguest are two > > things I love to play with, it was really bothering me that they

Re: [BUG] ide dma_timer_expiry, then hard lockup

2007-06-22 Thread Sergei Shtylyov
Linas Vepstas wrote: I've got a hard lockup in the ide subsystem, probably due to some irq spew or something like that. I've just bought a brand new Maxtor 320GB disk driver for the insane price of $70 US to replace another failing drive. It works well under light load; I was able to copy ab

Re: Kconfig troubles when using menuconfig - Was: [patch]Re: [linux-usb-devel] linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Andreas Herrmann
On Fri, Jun 22, 2007 at 12:03:19PM -0300, Mauro Carvalho Chehab wrote: > Em Sex, 2007-06-22 às 15:51 +0200, Jan Engelhardt escreveu: > > On Jun 22 2007 15:46, Andreas Herrmann wrote: > > >Hi, > > > > > >I am not sure whether it is related or not > > >But if you select USB as module but build your v

Re: [PATCH -rt] CONFIG_PARAVIRT and CONFIG_MCOUNT don't play well together

2007-06-22 Thread Chris Wright
* Steven Rostedt ([EMAIL PROTECTED]) wrote: > Chris, thanks a hell of a lot for looking into this!!! > > -rt doesn't do much with paravirt, but since both -rt and lguest are two > things I love to play with, it was really bothering me that they were > not getting along. It was bugging me too, now

Re: [PATCH -rt] CONFIG_PARAVIRT and CONFIG_MCOUNT don't play well together

2007-06-22 Thread Ingo Molnar
* Chris Wright <[EMAIL PROTECTED]> wrote: > > thanks! I ran into this before and asked for the fastcalls to not be > > removed from upstream paravirt.c but to no avail it seems. It does > > no harm to anyone to keep the 'fastcall' declarations and > > definitions for places where _actual assem

Re: [RFC PATCH 4/6] Make DRM use the tasklet is-sched API

2007-06-22 Thread Daniel Walker
On Fri, 2007-06-22 at 08:15 -0400, Steven Rostedt wrote: > On Fri, 2007-06-22 at 00:08 -0700, Daniel Walker wrote: > > > > > No sense in having a patch just for this, may as well merge this with > > > > patch 3 .. > > > > > > Wrong. patch 3 adds the API and this one makes use of it. Stevens split

Re: limits on raid

2007-06-22 Thread Bill Davidsen
David Greaves wrote: [EMAIL PROTECTED] wrote: On Fri, 22 Jun 2007, David Greaves wrote: That's not a bad thing - until you look at the complexity it brings - and then consider the impact and exceptions when you do, eg hardware acceleration? md information fed up to the fs layer for xfs? simp

Re: Fix signalfd interaction with thread-private signals

2007-06-22 Thread Oleg Nesterov
On 06/22, Benjamin Herrenschmidt wrote: > > That is, it -does- make sense to be able to create a signal singalfd in > a process and have N threads reading from it and getting either shared > signals or their local private signals. Great. > I just don't like the actual implementation of it by cha

Re: mach64 breakage in 2.6.22

2007-06-22 Thread Olaf Hering
On Thu, Jun 21, Ville Syrjälä wrote: > Here's a slightly safer version, just in case there are iBooks with > non-mobility chips or using the 64bit memory interface. > > > atyfb: Fix XCLK frequency on Apple iBook1 > > Fix a regression on Apple iBook1. Changes in the clock init code > caused an i

Re: [AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching

2007-06-22 Thread Casey Schaufler
--- Stephen Smalley <[EMAIL PROTECTED]> wrote: > Mandatory access control as historically understood has always meant > system-wide. Chapter and verse: TCSEC 3.1.1.4 Mandatory Access Control "The TCB shall enforce a mandatory access control policy over all subjects and storage objects und

Re: ACPI Regression on Dell E1501

2007-06-22 Thread Roland Dreier
> pci=nomsi let the machine still boot. > > I tried a bit and I think I got it, for me it's this one: > > commit 78b7611c4a1e3ff008abc4751b566cb533d68f3d Really?? That's "msi: mask the msix vector before we unmap it" and A) it looks *really* obviously correct and B) it should only have an

Re: Oops in a driver while using SLUB as a SLAB allocator

2007-06-22 Thread Christoph Lameter
On Fri, 22 Jun 2007, Linus Torvalds wrote: > > Looks like it would indeed address the immediate issue on ARM - > > IF they've no particular reason to be using kmalloc there. > > I think the right thing to do is do both of these things. I already > applied Hugh's patch - it seemed like a total no

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-22 Thread Linus Torvalds
On Fri, 22 Jun 2007, Steven Rostedt wrote: > > I just want to state that tasklets served their time well. But it's time > to give them an honorable discharge. So lets get rid of tasklets and > given them a standing salute as they leave :-) Well, independently of whether we actually discharge t

Re: [rtc-linux] [PATCH 2/2] rtc: watchdog support for rtc-m41t80 driver (take 2)

2007-06-22 Thread Alessandro Zummo
On Fri, 22 Jun 2007 22:15:23 +0900 (JST) Atsushi Nemoto <[EMAIL PROTECTED]> wrote: > This patch add a watchdog driver interface to rtc-m41t80 driver. This > is derived from works by Alexander Bigga <[EMAIL PROTECTED]> > > Signed-off-by: Atsushi Nemoto <[EMAIL PROTECTED]> > Signed-off-by: Alexand

[PATCH 1/1] fs-sysfs bugfix of sysfs_hash_and_remove dereferencing before checking for NULL

2007-06-22 Thread Doug Thompson
From: Douglas Thompson <[EMAIL PROTECTED]> In tracking down one of my bugs in using sysfs, I found the kernel doing a NULL de-reference in function fs/sysfs/inode.c:sysfs_hash_and_remove(), when I (incorrectly) passed in a dentry value of NULL. The check for NULL should occur BEFORE the deref

Re: [PATCH] update checkpatch.pl to version 0.06

2007-06-22 Thread Dave Hansen
Andy and Joel, very cool that you got this in-tree! I have a patch touching a bunch of fs ioctl functions. Things like ext2_ioctl() look like this: foo_ioctl() { switch(ioctl) { case FOO: lots of code error:

Re: [RFC PATCH 4/6] Make DRM use the tasklet is-sched API

2007-06-22 Thread Steven Rostedt
On Fri, 2007-06-22 at 18:10 +0200, Arnd Bergmann wrote: > Wouldn't the easy solution be to get rid of drm_locked_tasklet > entirely and convert i915_vblank_tasklet(), the only user, to use > a work queue right away? You recommend making the i915 use a workqueue to do this instead, and remove the

Re: [PATCH -rt] CONFIG_PARAVIRT and CONFIG_MCOUNT don't play well together

2007-06-22 Thread Jeremy Fitzhardinge
Chris Wright wrote: Yes, I agree, it's actually documenting the subtlety of the calling convention, not just noise in the source. The upstream patch is different, I'll sort one out. I wonder if we should use something like "regparm" rather than "fastcall"? The latter makes it sound like its

Re: Oops in a driver while using SLUB as a SLAB allocator

2007-06-22 Thread Linus Torvalds
On Fri, 22 Jun 2007, Hugh Dickins wrote: > > On Thu, 21 Jun 2007, Christoph Lameter wrote: > > > Maybe this will address the issue on ARM? > > Looks like it would indeed address the immediate issue on ARM - > IF they've no particular reason to be using kmalloc there. I think the right thing to

Re: Kconfig troubles when using menuconfig - Was: [patch]Re: [linux-usb-devel] linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Jan Engelhardt
On Jun 22 2007 18:24, Roman Zippel wrote: > >> There have been discussions to remove the default-ys again, I've sent a patch >> [http://lkml.org/lkml/2007/5/12/216], but nothing happened. >> >> So, should all affected menuconfigs be transformed into tristates, what >> do you think, Roman? Let me

[GIT PULL] please pull blackfin-2.6.git

2007-06-22 Thread Bryan Wu
Hi Linus, Please pull from master.kernel.org:/pub/scm/linux/kernel/git/cooloney/blackfin-2.6.git/ master Some Blackfin bug fixing and update. Mike Frysinger (3): Blackfin arch: add missing braces around array bfin serial init Blackfin arch: move cond_syscall() behind __KERNEL__

Re: [RFC PATCH 6/6] Convert tasklets to work queues

2007-06-22 Thread Steven Rostedt
On Fri, 2007-06-22 at 19:52 +0400, Oleg Nesterov wrote: > On 06/22, Steven Rostedt wrote: > > > > > truct tasklet_struct, work); > > > > + > > > > + if (unlikely(atomic_read(&t->count))) { > > > > + pr_debug("tasklet disabled %s %p\n", t->n, t); > > > > + set_bit(T

[GIT PULL] please pull infiniband.git

2007-06-22 Thread Roland Dreier
Linus, please pull from master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband.git for-linus This tree is also available from kernel.org mirrors at: git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git for-linus This will get a few fixes for crashes/deadlocks as a

Re: [RFC PATCH 4/6] Make DRM use the tasklet is-sched API

2007-06-22 Thread Arnd Bergmann
On Friday 22 June 2007, Thomas Gleixner wrote: > > > Index: linux-2.6.21-rt9/drivers/char/drm/drm_irq.c > > > === > > > --- linux-2.6.21-rt9.orig/drivers/char/drm/drm_irq.c > > > +++ linux-2.6.21-rt9/drivers/char/drm/drm_irq.c > > > @@

Re: [PATCH -mm] add a kmem_cache for nsproxy objects

2007-06-22 Thread Christoph Lameter
On Fri, 22 Jun 2007, Cedric Le Goater wrote: > the macro sets the align parameter to "__alignof__(struct)" by default. > is that something we want to do all the time ? if so, why not change > kmem_cache_create() directly ? Its a safety net. If there is some reason that the structure needs a la

Re: Kconfig troubles when using menuconfig - Was: [patch]Re: [linux-usb-devel] linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Roman Zippel
Hi, On Fri, 22 Jun 2007, Jan Engelhardt wrote: > V4L_USB_DRIVERS=y turns USB into =y? That can't be. It should give the "this > depends on another symbol [USB] that is modular". That's not how it works, the enclosed symbols depend now on V4L_USB_DRIVERS, which is a boolean and it can only have

Re: Kconfig troubles when using menuconfig - Was: [patch]Re: [linux-usb-devel] linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Roman Zippel
Hi, On Fri, 22 Jun 2007, Mauro Carvalho Chehab wrote: > I'm to keep "default y" for the menuconfig items. > > Since those don't generate any code (there's no Makefile items > associated with the menuconfig vars), I don't know that without checking Makefiles/sources, so I have to assume it may

Re: [RFC] mm-controller

2007-06-22 Thread Vaidyanathan Srinivasan
Peter Zijlstra wrote: > On Thu, 2007-06-21 at 16:33 +0530, Balbir Singh wrote: >> Peter Zijlstra wrote: [snip] > Not quite sure on 2, from reading the pagecache controller, I got the > impression that enforcing both limits got you into trouble. Merging the > limits would rid us of that issue, no

[PATCH v2] doc/oops-tracing: add Code: decode info

2007-06-22 Thread Randy Dunlap
On Fri, 22 Jun 2007 16:26:39 +0200 Andi Kleen wrote: > On Friday 22 June 2007 07:51:08 Randy Dunlap wrote: > > From: Randy Dunlap <[EMAIL PROTECTED]> > > > > Add info that the Code: bytes line contains or (wxyz) in some > > architecture oops reports and what that means. > > > > Add URL for a sc

Re: SATA Harddisk speed drop of 100 MB/s

2007-06-22 Thread Carlo Wood
On Wed, Jun 20, 2007 at 08:36:52PM -0700, Arjan van de Ven wrote: > also do a > > echo 60 > /proc/sys/vm/dirty_ratio > > first to see if that helps That makes no difference. It took a while before I replied - because I first want to do a bisect to find a version closer to the problem. So far

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-22 Thread Tomas Neme
powerful. It is pretty obvious that when Linus adopted GPLv2 he didn't realize it reached that point. That when Tivo invented Tivoization, he decided he wanted to permit this, and thus grants an implicit additional permission for anyone to do it with his code, doesn't mean other participants in

<    1   2   3   4   5   >