Re: jffs2: -ENOSPC when truncating file?!

2008-02-24 Thread Alexander Belyakov
On Sun, Feb 24, 2008 at 2:57 AM, Pavel Machek <[EMAIL PROTECTED]> wrote: > Hi! > > I'm trying to free space by truncating big file, and I get: > > [EMAIL PROTECTED]:~# ls -al gps.nmea > -rw-r--r--1 root root 2332070 Feb 19 22:13 gps.nmea > [EMAIL PROTECTED]:~# > gps.nmea > -sh:

Patch kernel: I have 8 Gbytes RAM, but why I can only allocate 2.8 Gbytes RAM for a single process?

2008-02-24 Thread Ady Wicaksono
I have 8 Gbytes RAM, but why I can allocate 2.8 Gbytes RAM for a single process? How to patch kernel so I have more than 2.8 Gbytes limitation? Kernel: --- Linux xxx.com 2.6.9-023stab046.2-enterprise #1 SMP Mon Dec 10 15:22:33 MSK 2007 i686 i686 i386 GNU/Linux Mem:

Re: [PATCH 1/3] add a private data field within kobj_attribute structure (final#2)

2008-02-24 Thread Greg KH
On Mon, Feb 25, 2008 at 03:57:44PM +0900, Kohei KaiGai wrote: > Greg KH wrote: >> On Mon, Feb 25, 2008 at 03:10:27PM +0900, Kohei KaiGai wrote: >>> [PATCH 1/3] add a private data field within kobj_attribute structure. >>> >>> This patch add a private data field, declared as void *, within >>>

Re: [PATCH] x86: EFI_PAGE_SHIFT fix

2008-02-24 Thread Ingo Molnar
* Huang, Ying <[EMAIL PROTECTED]> wrote: > Make x86 EFI code works when EFI_PAGE_SHIFT != PAGE_SHIFT. The > memrage_efi_to_native() provided in this patch can be used on other > EFI platform such as IA64 too. > > This patch has been tested on Intel x86_64 platform with EFI 64/32 > firmware.

Re: [PATCH] maple: fix device detection

2008-02-24 Thread Adrian McMenamin
On Mon, 2008-02-25 at 14:33 +0900, Paul Mundt wrote: > On Sun, Feb 24, 2008 at 10:32:53PM +, Adrian McMenamin wrote: > > On Sun, 2008-02-24 at 21:50 +, Adrian McMenamin wrote: > > > On Sun, 2008-02-24 at 14:30 +, Adrian McMenamin wrote: > > > > The maple bus driver that went into the

Re: Clocksource tsc is always unstable with 2.6.25-* kernels and CONFIG_NO_HZ=y on my box

2008-02-24 Thread Thomas Gleixner
On Sun, 24 Feb 2008, Robert Hancock wrote: > Gabriel C wrote: > > Hi, > > > > I noticed tsc is always marked unstable on my box with 2.6.25* , 2.6.24 is > > fine. > > > > .. > > > > [0.825760] ACPI: PCI Interrupt :03:0e.0[A] -> GSI 22 (level, low) -> > > IRQ 22 > > [0.805755]

Re: [PATCH 1/2] Kprobes: Indicate kretprobe support in Kconfig

2008-02-24 Thread Ingo Molnar
* Ananth N Mavinakayanahalli <[EMAIL PROTECTED]> wrote: > From: Ananth N Mavinakayanahalli <[EMAIL PROTECTED]> > > This patch adds CONFIG_HAVE_KRETPROBES to the arch//Kconfig file > for relevant architectures with kprobes support. This facilitates easy > handling of in-kernel modules (like >

Re: [Bluez-devel] forcing SCO connection patch

2008-02-24 Thread Dave Young
On Mon, Feb 25, 2008 at 3:30 PM, Dave Young <[EMAIL PROTECTED]> wrote: > Quote mail from [EMAIL PROTECTED] : > > 2007/12/17 Louis JANG <[EMAIL PROTECTED]>: > > > > Hello everybody, > > > > I attached two patches. the first one(bluez-kernel-forcesco.patch) is to > > force using HCI_OP_ADD_SCO

Re: [PATCH 3/3] IDE: Coding Style fixes to drivers/ide/pci/cy82c693.c

2008-02-24 Thread Ingo Molnar
* Paolo Ciarrocchi <[EMAIL PROTECTED]> wrote: > Before: > total: 34 errors, 14 warnings, 456 lines checked > > After: > total: 0 errors, 8 warnings, 456 lines checked sidenote: please also indicate to maintainers that the cleanup causes no change in generated code. Find below of how one of

Re: [PATCH 03/10] PCI: AMD SATA IDE mode quirk

2008-02-24 Thread Grant Grundler
On Mon, Feb 25, 2008 at 09:43:59AM +0800, Cai, Crane wrote: > > On Fri, Feb 22, 2008 at 01:49:20PM +0800, Cai, Crane wrote: > > > > On Thu, Feb 21, 2008 at 03:47:33PM -0800, Greg > > Kroah-Hartman wrote: > > > > > +static void __devinit quirk_amd_ide_mode(struct pci_dev *pdev) > > > > > { > > >

Re: Compex FreedomLine 32 PnP-PCI2 broken with de2104x

2008-02-24 Thread Jeff Garzik
Grant Grundler wrote: On Mon, Feb 18, 2008 at 05:40:42PM +0100, Ondrej Zary wrote: I think that de2104x driver should be removed (or at least its MODULE_DEVICE_TABLE) and MODULE_DEVICE_TABLE with only 21040 and 21041 PCI IDs added to de4x5. I can send a patch if this is acceptable. It's

Re: [Bluez-devel] forcing SCO connection patch

2008-02-24 Thread Dave Young
Quote mail from [EMAIL PROTECTED] : 2007/12/17 Louis JANG <[EMAIL PROTECTED]>: > Hello everybody, > > I attached two patches. the first one(bluez-kernel-forcesco.patch) is to > force using HCI_OP_ADD_SCO instead of HCI_OP_SETUP_SYNC_CONN, and the > second one is to handle SCO connection

Re: Compex FreedomLine 32 PnP-PCI2 broken with de2104x

2008-02-24 Thread Jeff Garzik
Grant Grundler wrote: ISTR there was a time when tulip would compete with de4x5 for devices. tulip is the preferred driver. That's clearly no longer the case and perhaps both distro's need to revisit this. The only reason why de4x5 still exists is that the /tulip/ driver fails to work on a

Re: 2.6.26-git0: IDE oops during boot

2008-02-24 Thread Yinghai Lu
On Sun, Feb 24, 2008 at 11:05 PM, Yinghai Lu <[EMAIL PROTECTED]> wrote: > On Fri, Feb 15, 2008 at 3:15 AM, Kamalesh Babulal > > <[EMAIL PROTECTED]> wrote: > > > > > > > Thanks for pointing the patch, I do not have the SES config option enabled, > > then too i tried your patch, but that does

Re: Linux 2.6.25-rc3

2008-02-24 Thread Ingo Molnar
* S.Çağlar Onur <[EMAIL PROTECTED]> wrote: > 25 Şub 2008 Pts tarihinde, Linus Torvalds şunları yazmıştı: > > > > Ok, it's out there, ready for your enjoyment. > [...] > > So give it a good testing, please, > > -rc3 still fails for this [1] config this is lguest breakage. I've got the fixes

[PATCH] x86: EFI_PAGE_SHIFT fix

2008-02-24 Thread Huang, Ying
Make x86 EFI code works when EFI_PAGE_SHIFT != PAGE_SHIFT. The memrage_efi_to_native() provided in this patch can be used on other EFI platform such as IA64 too. This patch has been tested on Intel x86_64 platform with EFI 64/32 firmware. Signed-off-by: Huang Ying <[EMAIL PROTECTED]> ---

Re: Compex FreedomLine 32 PnP-PCI2 broken with de2104x

2008-02-24 Thread Grant Grundler
On Mon, Feb 18, 2008 at 05:40:42PM +0100, Ondrej Zary wrote: > On Monday 18 February 2008 04:21:11 Grant Grundler wrote: > > On Wed, Jan 30, 2008 at 09:23:06PM +0100, Ondrej Zary wrote: > > > On Saturday 26 January 2008 21:58:10 Ondrej Zary wrote: > > > > Hello, > > > > I was having problems with

Re: 2.6.26-git0: IDE oops during boot

2008-02-24 Thread Yinghai Lu
On Fri, Feb 15, 2008 at 3:15 AM, Kamalesh Babulal <[EMAIL PROTECTED]> wrote: > > > Thanks for pointing the patch, I do not have the SES config option enabled, > then too i tried your patch, but that does not solve the panic. The kernel > panic's with the same panic message as before. I have

Re: [PATCH 1/3] add a private data field within kobj_attribute structure (final#2)

2008-02-24 Thread Kohei KaiGai
Greg KH wrote: On Mon, Feb 25, 2008 at 03:10:27PM +0900, Kohei KaiGai wrote: [PATCH 1/3] add a private data field within kobj_attribute structure. This patch add a private data field, declared as void *, within kobj_attribute structure. The _show() and _store() method in the sysfs attribute

Re: [RFC] [PATCH] To refuse users from probing preempt_schedule()

2008-02-24 Thread Srinivasa DS
On Monday 25 February 2008 11:50:24 am Dave Hansen wrote: > On Mon, 2008-02-25 at 11:27 +0530, srinivasa wrote: > > This patch prohibits user from probing preempt_schedule(). One way of > > prohibiting the user from probing functions is by marking such > > functions with __kprobes. But this method

Re: bcm43xx regression in 2.6.24 (with patch)

2008-02-24 Thread Pekka J Enberg
Hi Greg, On Sun, 24 Feb 2008, Greg KH wrote: > > Lets make this simple: it used to work before and now it doesn't. > > Therefore it's a regression that must be addressed. Period. > > Isn't the resolution Michael is suggesting is, "use the different driver"? Alexey said it didn't work but even

Re: [PATCH] Change a WARN message in checkpatch

2008-02-24 Thread Paolo Ciarrocchi
On 2/25/08, Andy Whitcroft > As we want the messages to be as short as possible, I am leaning towards > standardising on: > > spaces prohibited > spaces required > in that case i would prefer: space not required space required ciao, -- Paolo http://paolo.ciarrocchi.googlepages.com/ -- To

Re: [PATCH 1/3] add a private data field within kobj_attribute structure (final#2)

2008-02-24 Thread Greg KH
On Mon, Feb 25, 2008 at 03:10:27PM +0900, Kohei KaiGai wrote: > [PATCH 1/3] add a private data field within kobj_attribute structure. > > This patch add a private data field, declared as void *, within kobj_attribute > structure. The _show() and _store() method in the sysfs attribute entries can

Re: bcm43xx regression in 2.6.24 (with patch)

2008-02-24 Thread Greg KH
On Mon, Feb 25, 2008 at 08:16:17AM +0200, Pekka J Enberg wrote: > Hi Michael, > > On Sun, 24 Feb 2008, Michael Buesch wrote: > > > The ony way I see this was possible, you manually changed the > > > module loading order, so that the b43xx module was loaded prior > > > to the ssb and b44 modules.

Re: [PATCH 2/3] IDE: Replace __FUNCTION__ with __func__

2008-02-24 Thread Paolo Ciarrocchi
On 2/25/08, Joe Perches <[EMAIL PROTECTED]> wrote: > On Sun, 2008-02-24 at 22:11 +0100, Paolo Ciarrocchi wrote: > > - "driver.\n", __FUNCTION__, drive->name); > > + "driver.\n", __func__, drive->name); > > Is there consensus on this style conversion? I did that in a separate patch because i'm

[PATCH] Resume TTY on SUSP and fix CRNL order in N_TTY line discipline

2008-02-24 Thread Joe Peterson
Here is a small patch to further refine behavior in n_tty.c. It addresses two fine points in how received characters are treated - one to handle the signal chars in stopped TTYs more consistently, and the other to make the order of cr/nl translations more logical and consistent with other Unixes

[PATCH] x86: vSMP selection in config

2008-02-24 Thread Yinghai Lu
find out vSMP setting is going away in config after make oldconfig vSMP need to PARAVIRT and PCI. so move PARAVIRT out of if PARAVIRT_GUEST, and make vSMP select PCI instead of depends on PCI after patch vSMP could stick there. Signed-off-by: Yinghai Lu <[EMAIL PROTECTED]> Index:

linux-next: Tree for Feb 24

2008-02-24 Thread Stephen Rothwell
Hi all, I have created today's linux-next tree at git://git.kernel.org/pub/scm/linux/kernel/git/sfr/linux-next.git. You can see which trees have been included by looking in the Next/Trees file in the source. There are also quilt-import.log and merge.log files in the Next directory. Between

Re: [PATCH] cgroup: fix default notify_on_release setting

2008-02-24 Thread Paul Menage
On Sun, Feb 24, 2008 at 9:53 PM, Li Zefan <[EMAIL PROTECTED]> wrote: > The documentation says the default value of notify_on_release of > a child cgroup is inherited from its parent, which is reasonable, > but the implementation just sets the flag disabled. > > Signed-off-by: Li Zefan <[EMAIL

Re: [PATCH [RT] 11/14] optimize the !printk fastpath through the lock acquisition

2008-02-24 Thread Bill Huey (hui)
[repost with all folks CCed] On Sun, Feb 24, 2008 at 9:20 PM, Gregory Haskins <[EMAIL PROTECTED]> wrote: > Are you saying that the modified logic that I introduced is broken? Or > that the original use of the might_sleep() annotation inside this > function is broken? It's probably safe to

Re: [RFC] [PATCH] To refuse users from probing preempt_schedule()

2008-02-24 Thread Dave Hansen
On Mon, 2008-02-25 at 11:27 +0530, srinivasa wrote: > This patch prohibits user from probing preempt_schedule(). One way of > prohibiting the user from probing functions is by marking such > functions with __kprobes. But this method doesn't work for those functions, > which are already marked to

Re: bcm43xx regression in 2.6.24 (with patch)

2008-02-24 Thread Pekka J Enberg
Hi Michael, On Sun, 24 Feb 2008, Michael Buesch wrote: > > The ony way I see this was possible, you manually changed the > > module loading order, so that the b43xx module was loaded prior > > to the ssb and b44 modules. Right? > > Right. So "so I'm left with either no wifi or no ethenet" being

[PATCH 3/3] a new example to use kobject/kobj_attribute (final#2)

2008-02-24 Thread Kohei KaiGai
[PATCH 3/3] a new example to use kobject/kobj_attribute This patch can provide a new exmple to use kobject and attribute. The _show() and _store() method can refer/store the private data field of kobj_attribute structure to know what entries are accessed by users. It will make easier to share a

[PATCH 2/3] exporting capability name/code pairs (final#2)

2008-02-24 Thread Kohei KaiGai
[PATCH 2/3] exporting capability name/code pairs This patch enables to export code/name pairs of capabilities the running kernel supported. A newer kernel sometimes adds new capabilities, like CAP_MAC_ADMIN at 2.6.25. However, we have no interface to disclose what capabilities are supported on

[PATCH 1/3] add a private data field within kobj_attribute structure (final#2)

2008-02-24 Thread Kohei KaiGai
[PATCH 1/3] add a private data field within kobj_attribute structure. This patch add a private data field, declared as void *, within kobj_attribute structure. The _show() and _store() method in the sysfs attribute entries can refer this information to identify what entry is accessed. It makes

[PATCH 0/3] exporting capability name/code pairs (final#2)

2008-02-24 Thread Kohei KaiGai
The following three patches enables to export code/name pairs of capabilities the running kernel supports, and add a documentation and samples to use this feature. [PATCH 1/3] add a private data field within kobj_attribute structure. This patch add a private data field, declared as void *,

Re: IDE cdrom problem with PLEXTOR DVDR PX-608AL

2008-02-24 Thread Brad Rosser
Hi Boris, > Well, this sounds strange. Are you sure you're entering the boot options > correctly on the kernel command line? Which is your boot loader? I just > booted > my machine with 'hdc=noprobe' (hdc is my cdrom drive) and here's what i get: > > ... > [0.304774] Probing IDE

[RFC] [PATCH] To refuse users from probing preempt_schedule()

2008-02-24 Thread srinivasa
From: Srinivasa Ds <[EMAIL PROTECTED]> This patch prohibits user from probing preempt_schedule(). One way of prohibiting the user from probing functions is by marking such functions with __kprobes. But this method doesn't work for those functions, which are already marked to different section

[PATCH 2/2] Kprobes: Move kprobe examples to samples/

2008-02-24 Thread Ananth N Mavinakayanahalli
From: Ananth N Mavinakayanahalli <[EMAIL PROTECTED]> Move kprobes examples from Documentation/kprobes.txt to under samples/. Patch originally by Randy Dunlap. o Updated the patch to apply on 2.6.25-rc3 o Modified examples code to build on multiple architectures. Currently, the kprobe and

[PATCH 1/2] Kprobes: Indicate kretprobe support in Kconfig

2008-02-24 Thread Ananth N Mavinakayanahalli
From: Ananth N Mavinakayanahalli <[EMAIL PROTECTED]> This patch adds CONFIG_HAVE_KRETPROBES to the arch//Kconfig file for relevant architectures with kprobes support. This facilitates easy handling of in-kernel modules (like samples/kprobes/kretprobe_example.c) that depend on kretprobes being

[PATCH] cgroup: fix default notify_on_release setting

2008-02-24 Thread Li Zefan
The documentation says the default value of notify_on_release of a child cgroup is inherited from its parent, which is reasonable, but the implementation just sets the flag disabled. Signed-off-by: Li Zefan <[EMAIL PROTECTED]> --- kernel/cgroup.c |4 +++- 1 files changed, 3 insertions(+), 1

Re: [PATCH] Change a WARN message in checkpatch

2008-02-24 Thread Benny Halevy
On Feb. 24, 2008, 19:29 -0800, Andy Whitcroft <[EMAIL PROTECTED]> wrote: > On Sun, Feb 24, 2008 at 07:14:13PM +0100, Paolo Ciarrocchi wrote: >> On Sun, Feb 24, 2008 at 4:18 PM, Benny Halevy <[EMAIL PROTECTED]> wrote: >> [...] >>> How about: >>> - WARN("no space

Re: [PATCH] x86_64: make amd quad core 8 socket system not be clustered_box v2

2008-02-24 Thread Yinghai Lu
On Sun, Feb 24, 2008 at 4:29 AM, Andi Kleen <[EMAIL PROTECTED]> wrote: > On Sat, Feb 23, 2008 at 09:48:42PM -0800, Yinghai Lu wrote: > > > > quad core 8 socket system will have apic id lifting.the apic id range could > > be [4, 0x23]. and apic_is_clustered_box will think that need to three >

Re: IDE cdrom problem with PLEXTOR DVDR PX-608AL

2008-02-24 Thread Borislav Petkov
On Mon, Feb 25, 2008 at 11:58:57AM +1000, Brad Rosser wrote: > On Mon, Feb 25, 2008 at 3:34 AM, Borislav Petkov > <[EMAIL PROTECTED]> wrote: > > On Sun, Feb 24, 2008 at 03:38:34PM +1000, Brad Rosser wrote: > > > > > > There's nothing in the bios that allows me to move one away from > > > the

Re: [PATCH] maple: fix device detection

2008-02-24 Thread Paul Mundt
On Sun, Feb 24, 2008 at 10:32:53PM +, Adrian McMenamin wrote: > On Sun, 2008-02-24 at 21:50 +, Adrian McMenamin wrote: > > On Sun, 2008-02-24 at 14:30 +, Adrian McMenamin wrote: > > > The maple bus driver that went into the kernel mainline in > > > September 2007 contained some bugs

Re: 2.6.24 patches for mips qemu target needed for stable.

2008-02-24 Thread Rob Landley
On Sunday 24 February 2008 20:08:17 Ralf Baechle wrote: > On Mon, Feb 25, 2008 at 10:36:59AM +0900, Samuel Masham wrote: > > Hi Stable team, > > > > The mips build for qemu (and possibly other targets) crashes when > > doing any irq probe. > > > > Specifically this happens on boot when brining up

Re: [RFC/PATCH] Update coding standard to avoid ungrepable printk format strings

2008-02-24 Thread Andy Whitcroft
On Fri, Feb 22, 2008 at 02:26:12PM +0100, Andi Kleen wrote: > At some point checkpatch.pl would need to be updated to know about this > exception too, that would be the next step. Cirtainly we have exceptions for docstrings, so that shouldn't be a problem if this were accepted. -apw -- To

[PATCH] x86_64: for apic_is_clustered_box for vsmp v2

2008-02-24 Thread Yinghai Lu
quad core 8 socket system will have apic id lifting.the apic id range could be [4, 0x23]. and apic_is_clustered_box will think that need to three clusters and that is large than 2. So it is treated as clustered_box. and will get Marking TSC unstable due to TSCs unsynchronized even the CPUs

Re: [RFC/PATCH] Update coding standard to avoid ungrepable printk format strings

2008-02-24 Thread Andy Whitcroft
On Sat, Feb 23, 2008 at 01:55:32PM +0100, Christer Weinigel wrote: > Andi Kleen wrote: > >RFC: Update coding standard to avoid split up printk format strings > > While we're talking about checkpatch.pl, I'd definitely like to teach > checkpatch about "list_for_each" and friends. > >

Re: [PATCH [RT] 11/14] optimize the !printk fastpath through the lock acquisition

2008-02-24 Thread Gregory Haskins
Bill Huey (hui) wrote: The might_sleep is annotation and well as a conditional preemption point for the regular kernel. You might want to do a schedule check there, but it's the wrong function if memory serves me correctly. It's reserved for things that actually are design to sleep. Note that

Re: [PATCH] video: add a clamp() macro to kernel.h and replace two existing defs

2008-02-24 Thread Mauro Carvalho Chehab
On Sun, 24 Feb 2008 20:43:23 -0800 Harvey Harrison <[EMAIL PROTECTED]> wrote: > Clamps a value to be within a given range with strict typechecking. > > Signed-off-by: Harvey Harrison <[EMAIL PROTECTED]> Acked-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]> -- To unsubscribe from this list: send

[PATCH] radeon: fix integer as NULL pointer warnings in radeon_mem.c

2008-02-24 Thread Harvey Harrison
drivers/char/drm/radeon_mem.c:91:23: warning: Using plain integer as NULL pointer drivers/char/drm/radeon_mem.c:116:28: warning: Using plain integer as NULL pointer drivers/char/drm/radeon_mem.c:124:28: warning: Using plain integer as NULL pointer drivers/char/drm/radeon_mem.c:177:26: warning:

RE: Aborted commands with arcmsr and 2xWD1500ADFD in RAID1

2008-02-24 Thread nickcheng
Hi Aron, >From our field experiences and customers' feedbacks, all of them direct to vibration and power issues. The vibration could be caused by FANs not only by themselves. You mentioned it could be the F/W issue. If the environment does not meet the prerequisite, FW could not work correctly.

[PATCH] video: add a clamp() macro to kernel.h and replace two existing defs

2008-02-24 Thread Harvey Harrison
Clamps a value to be within a given range with strict typechecking. Signed-off-by: Harvey Harrison <[EMAIL PROTECTED]> --- akpm: I've submitted a clamp_t version previously for use in libata. You may want to just roll this into that one so clamp/clamp_t go in together.

[patch 2.6.25-rc3] lockdep: add spin_lock_irq_nested()

2008-02-24 Thread David Brownell
> > > ==> LOCKDEP feature is evidently missing: > > > spin_lock_irq_nested(lock_ptr, lock_class) > > > > This rant is more lines than adding the API :-/ the reason for it not > > being there is simple, it wasn't needed up until now. > > I suspected that was the case, but for all

Re: Clocksource tsc is always unstable with 2.6.25-* kernels and CONFIG_NO_HZ=y on my box

2008-02-24 Thread Robert Hancock
Gabriel C wrote: Hi, I noticed tsc is always marked unstable on my box with 2.6.25* , 2.6.24 is fine. .. [0.825760] ACPI: PCI Interrupt :03:0e.0[A] -> GSI 22 (level, low) -> IRQ 22 [0.805755] Switched to high resolution mode on CPU 1 [0.794244] Switched to high resolution

Re: [PATCH 2/3] exporting capability name/code pairs (final)

2008-02-24 Thread Kohei KaiGai
Li Zefan wrote: >> [2/3] Exporting capability code/name pairs >> >> This patch enables to export code/name pairs of capabilities the running >> kernel supported. >> > > supported or supports ? It seems to me "supports" is more appropriate one. The original one might mention legacy versions. :-(

Re: [git patches] net driver fixes (50% rebased)

2008-02-24 Thread David Miller
From: Jeff Garzik <[EMAIL PROTECTED]> Date: Sun, 24 Feb 2008 00:20:41 -0500 > > This is a 50% resend, rebased on top of net-2.6. > > Please pull from 'upstream-davem' branch of > master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git > upstream-davem > > to receive the following

Re: [Regression in 2.6.25-rcX] CD/DVD writer no longer works

2008-02-24 Thread Mike Galbraith
On Sun, 2008-02-24 at 12:57 -0800, zkopex wrote: > Hello, Greetings, > I am using Debian Sid on a Toshiba A100 laptop. My CD/DVD > writer functions very well on 2.6.23.16 and 2.6.24.2. > > I tried 2.6.25-rc2-git7, and I was very sad to notice that > when I tried to write a CD, wodim started to

Re: [PATCH] Change a WARN message in checkpatch

2008-02-24 Thread Andy Whitcroft
On Sun, Feb 24, 2008 at 07:14:13PM +0100, Paolo Ciarrocchi wrote: > On Sun, Feb 24, 2008 at 4:18 PM, Benny Halevy <[EMAIL PROTECTED]> wrote: > [...] > > How about: > > - WARN("no space between function name and > > open parenthesis '('\n" . $herecurr); > > +

Re: Tiny cpusets -- cpusets for small systems?

2008-02-24 Thread KOSAKI Motohiro
Hi Pual > Looking at some IA64 sn2 config builds I have laying about, I see the > following text sizes for a couple of versions, showing the growth of > the cpuset/cgroup apparatus over time: > > 25933 2.6.18-rc3-mm1/kernel/cpuset.o (Aug 2006) > vs. > 37823

Re: 2.6.25-rc1/2 CD/DVD burning broken

2008-02-24 Thread Kiyoshi Ueda
Hi Andreas, On Sat, 23 Feb 2008 16:47:50 +0100, Andreas Schwab wrote: Kiyoshi Ueda <[EMAIL PROTECTED]> writes: > Could you try this patch? > I've only done a compile test, so this patch may not work. Unfortunately, that is not enough to get DVD burning working again. This is the error that

Re: Tabs, spaces, indent and 80 character lines

2008-02-24 Thread Miles Bader
Why do people even respond to these trolls...? -Miles -- Success, n. The one unpardonable sin against one's fellows. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [PATCH] x86_64: make amd quad core 8 socket system not be clustered_box v2

2008-02-24 Thread Yinghai Lu
please check the fix for v2. this one can be applied to x86.git#testing YH --- [PATCH] x86_64: apic_is_clustered_box fix for vsmp quad core 8 socket system will have apic id lifting.the apic id range could be [4, 0x23]. and apic_is_clustered_box will think that need to three clusters and that

Re: [Bug 10030] Suspend doesn't work when SD card is inserted

2008-02-24 Thread Alan Stern
On Sun, 24 Feb 2008, Rafael J. Wysocki wrote: > > Very subtly wrong ;-). > > > > imagine suspending_task == 0xabcdef01. Now task "R" with current == > > 0xabcd reads suspending_task while the other cpu is writing to it, > > and sees 0xabcd (0xef01 was not yet written) -- and mistakenly >

[PATCH] Remove the macro get_personality

2008-02-24 Thread WANG Cong
From: WANG Cong <[EMAIL PROTECTED]> Date: Sun, 24 Feb 2008 12:09:03 +0800 Subject: [PATCH] Remove the macro get_personality Remove the macro get_personality, use ->personality instead. Cc: Ingo Molnar <[EMAIL PROTECTED]> Cc: Christoph Hellwig <[EMAIL PROTECTED] Cc: Alexey Dobriyan <[EMAIL

Re: [PATCH] Fix alignment of early reservation for EBDA

2008-02-24 Thread H. Peter Anvin
Alexander van Heukelum wrote: Hi Andi, My eyes fell on the following table in the boot messages: early res: 0 [0-fff] BIOS data page early res: 1 [6000-7fff] SMP_TRAMPOLINE early res: 2 [20-374557] TEXT DATA BSS early res: 3 [9fc00-a0bff] EBDA early res: 4 [8000-afff] PGTABLE The memory

Re: [Bug 10030] Suspend doesn't work when SD card is inserted

2008-02-24 Thread Alan Stern
On Sun, 24 Feb 2008, Pavel Machek wrote: > > > At the very least, you'd need rmb() before reading it and wmb() after > > > writing to it, but I'm not sure if that's enough on every obscure > > > architecture out there. > > > > No, neither one is needed because of the way suspending_task is used.

Re: [Q] x86 - boot/header.S

2008-02-24 Thread H. Peter Anvin
Cyrill Gorcunov wrote: Look, we only have head64.c - there is no head32.c at all. That's true to some degree, but head64.c contains a bunch of stuff which lives in setup_32.c in the 32-bit world. -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [Q] x86 - boot/header.S

2008-02-24 Thread H. Peter Anvin
Cyrill Gorcunov wrote: Hi Peter, Sam, could you take a look on x86/boot/header.S:280 please? # Zero the bss movw$__bss_start, %di movw$_end+3, %cx xorl%eax, %eax subw%di, %cx shrw$2, %cx rep; stosl I wonder why is $_end there

Re: boot_delay broken ?

2008-02-24 Thread Dave Young
On Sun, Feb 24, 2008 at 8:46 AM, Dave Jones <[EMAIL PROTECTED]> wrote: > The boot_delay switch seems to be behaving strangely in the > current -git. Setting it to =10 makes the output 'bursty' > it becomes slow for some printk's whilst others scroll by > at regular speed. > Setting it any

2.6.25-rc3: WARNING: at arch/x86/mm/ioremap.c:137

2008-02-24 Thread Phil Oester
Got the below on -rc3. Tried applying the "more info" patch from Arjan (http://marc.info/?l=linux-kernel=120336371506283=2), but that just made the warning go away. Phil ACPI: EC: Look up EC in DSDT [ cut here ] WARNING: at arch/x86/mm/ioremap.c:137

Re: 2.6.24 patches for mips qemu target needed for stable.

2008-02-24 Thread Ralf Baechle
On Mon, Feb 25, 2008 at 10:36:59AM +0900, Samuel Masham wrote: > Hi Stable team, > > The mips build for qemu (and possibly other targets) crashes when > doing any irq probe. > > Specifically this happens on boot when brining up the ne driver. > > This is fixed by the following two patches from

Re: IDE cdrom problem with PLEXTOR DVDR PX-608AL

2008-02-24 Thread Brad Rosser
On Mon, Feb 25, 2008 at 3:34 AM, Borislav Petkov <[EMAIL PROTECTED]> wrote: > On Sun, Feb 24, 2008 at 03:38:34PM +1000, Brad Rosser wrote: > > > > There's nothing in the bios that allows me to move one away from > > the other. I can 'reserve' or block IRQs, but that only shifts them > > both to

[PATCH] kernel-doc: set verbose mode via environment

2008-02-24 Thread Randy Dunlap
From: Randy Dunlap <[EMAIL PROTECTED]> Allow setting environment variable "KERNEL_DOC_VERBOSE=1" to enable verbose mode in scripts/kernel-doc. Useful for getting more info and warnings from kernel-doc. Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> --- scripts/kernel-doc |4 1 file

[PATCH] md: fix integer as NULL pointer warnings in md.c

2008-02-24 Thread Harvey Harrison
drivers/md/md.c:734:16: warning: Using plain integer as NULL pointer drivers/md/md.c:1115:16: warning: Using plain integer as NULL pointer Add some braces to match the else-block as well. Signed-off-by: Harvey Harrison <[EMAIL PROTECTED]> --- drivers/md/md.c |8 1 files changed, 4

[PATCH] smack: fix integer as NULL pointer warning in smack_lsm.c

2008-02-24 Thread Harvey Harrison
security/smack/smack_lsm.c:1257:16: warning: Using plain integer as NULL pointer Signed-off-by: Harvey Harrison <[EMAIL PROTECTED]> --- security/smack/smack_lsm.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c

Re: [RFC] Genirq and CPU isolation

2008-02-24 Thread Randy Dunlap
On Fri, 22 Feb 2008 22:19:18 -0800 Max Krasnyansky wrote: Hi Max, > diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c > index 438a014..e74db94 100644 > --- a/kernel/irq/manage.c > +++ b/kernel/irq/manage.c > @@ -488,6 +491,26 @@ void free_irq(unsigned int irq, void *dev_id) > } >

Re: [PATCH] x86_64: make amd quad core 8 socket system not be clustered_box v2

2008-02-24 Thread Yinghai Lu
On Sunday 24 February 2008 03:00:52 pm Yinghai Lu wrote: > On Sunday 24 February 2008 04:29:03 am Andi Kleen wrote: > > On Sat, Feb 23, 2008 at 09:48:42PM -0800, Yinghai Lu wrote: > > > > > > quad core 8 socket system will have apic id lifting.the apic id range > > > could > > > be [4, 0x23].

RE: [PATCH 03/10] PCI: AMD SATA IDE mode quirk

2008-02-24 Thread Cai, Crane
> On Fri, Feb 22, 2008 at 01:49:20PM +0800, Cai, Crane wrote: > > > On Thu, Feb 21, 2008 at 03:47:33PM -0800, Greg > Kroah-Hartman wrote: > > > > +static void __devinit quirk_amd_ide_mode(struct pci_dev *pdev) > > > > { > > > > - /* set sb600 sata to ahci mode */ > > > > - if

2.6.25-rc3: Reported regressions from 2.6.24

2008-02-24 Thread Rafael J. Wysocki
This message contains a list of some regressions from 2.6.24 reported since 2.6.25-rc1 was released, for which there are no fixes in the mainline I know of.  If any of them have been fixed already, please let me know. If you know of any other unresolved regressions from 2.6.24, please let me know

2.6.24 patches for mips qemu target needed for stable.

2008-02-24 Thread Samuel Masham
Hi Stable team, The mips build for qemu (and possibly other targets) crashes when doing any irq probe. Specifically this happens on boot when brining up the ne driver. This is fixed by the following two patches from linus's tree 46f4f8f665080900e865392f4b3593be463bf0d8 - IRQ_NOPROBE helper

Re: lockdep warnings in ipv6

2008-02-24 Thread David Miller
From: Jan Engelhardt <[EMAIL PROTECTED]> Date: Sun, 24 Feb 2008 13:10:58 +0100 (CET) > when doing IPv6 (ping6, ssh otherhost, etc.), lockdep spews a warning in > 2.6.25-rc2 on the target. CONFIG_..._FRAME_POINTER is off, We reverted the change which causes this, and it results in real bonafide

Q: volatile vs barriers to access memory data changed by device DMA

2008-02-24 Thread Eliot Blennerhassett
Greetings, Currently I have a driver that uses "volatile", which I want to remove. As others have said "volatile is useless" Heres the relevant source. http://hg.alsa-project.org/alsa-driver/file/89222d702376/pci/asihpi/hpi6205.c There's quite a bit written about barriers, but most seems to be

Re: [patch 2.6.25-rc2-git 1/2] atmel_tc library

2008-02-24 Thread David Brownell
> > > > Note that this won't be usable until the AT91 and AT32 platforms > > > > incorporate patches to configure the relevant platform devices. > > > > Those changes are probably 2.6.26 material. > > > > More specifically (and all those patches are available now): > > > > - AT91 needs

Re: [BUG] 2.6.25-rc2-git8 fails to boot on 486 due to TSC breakage

2008-02-24 Thread H. Peter Anvin
Mikael Pettersson wrote: Here's how the breakage occurs: 1. arch/x86/kernel/tsc_32.c:tsc_init() sees !cpu_has_tsc, so bails and calls setup_clear_cpu_cap(X86_FEATURE_TSC). 2. include/asm-x86/cpufeature.h:setup_clear_cpu_cap(bit) clears the bit in boot_cpu_data and sets it in

[2.6.25-rc2-mm1][2.6.25-rc3] Remove argv_len from struct linux_binprm

2008-02-24 Thread Tetsuo Handa
I noticed that 2.6.24.2 calculates bprm->argv_len at do_execve(). But it doesn't update bprm->argv_len after "remove_arg_zero() + copy_strings_kernel()" at load_script() etc. audit_bprm() is called from search_binary_handler() and search_binary_handler() is called from load_script() etc. Thus, I

Re: [patch 2.6.25-rc2-git 1/2] atmel_tc library

2008-02-24 Thread Haavard Skinnemoen
On Sun, 24 Feb 2008 14:55:27 -0800 David Brownell <[EMAIL PROTECTED]> wrote: > On Sun, 24 Feb 2008 18:45:54 +0100 > Haavard Skinnemoen <[EMAIL PROTECTED]> wrote: > > > > On Fri, 22 Feb 2008 17:23:23 -0800 > > David Brownell <[EMAIL PROTECTED]> wrote: > > > > > Note that this won't be usable until

[PATCH 6/6] block: fix shadowed variable warning in blk-map.c

2008-02-24 Thread Harvey Harrison
Introduced between 2.6.25-rc2 and -rc3 block/blk-map.c:154:14: warning: symbol 'bio' shadows an earlier one block/blk-map.c:110:13: originally declared here Signed-off-by: Harvey Harrison <[EMAIL PROTECTED]> --- block/blk-map.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)

[PATCH 4/6] smack: make functions static

2008-02-24 Thread Harvey Harrison
Introduced between 2.6.25-rc2 and -rc3 security/smack/smackfs.c:374:6: warning: symbol 'smk_unlbl_ambient' was not declared. Should it be static? While here, take care of this one too. security/smack/smackfs.c:341:6: warning: symbol 'smk_cipso_doi' was not declared. Should it be static?

[PATCH 3/6] agp: fix shadowed variable warning in amd-k7-agp.c

2008-02-24 Thread Harvey Harrison
Introduced between 2.6.25-rc2 and -rc3 drivers/char/agp/amd-k7-agp.c:439:6: warning: symbol 'cap_ptr' shadows an earlier one drivers/char/agp/amd-k7-agp.c:414:5: originally declared here cap_ptr is never used again in this function, don't bother redeclaring. Signed-off-by: Harvey Harrison

[PATCH 5/6] block: remove extern on function definition

2008-02-24 Thread Harvey Harrison
Intoduced between 2.6.25-rc2 and -rc3 block/blk-settings.c:319:12: warning: function 'blk_queue_dma_drain' with external linkage has definition Signed-off-by: Harvey Harrison <[EMAIL PROTECTED]> --- block/blk-settings.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 1/6] markers: make marker_debug static

2008-02-24 Thread Harvey Harrison
Introduced between 2.6.25-rc2 and -rc3 kernel/marker.c:31:11: warning: symbol 'marker_debug' was not declared. Should it be static? Signed-off-by: Harvey Harrison <[EMAIL PROTECTED]> --- kernel/marker.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/marker.c

[PATCH 2/6] xen: make blkif_getgeo static

2008-02-24 Thread Harvey Harrison
Introduced between 2.6.25-rc2 and -rc3 drivers/block/xen-blkfront.c:139:5: warning: symbol 'blkif_getgeo' was not declared. Should it be static? Signed-off-by: Harvey Harrison <[EMAIL PROTECTED]> --- drivers/block/xen-blkfront.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

Re: [spi-devel-general] [PATCH] atmel_spi: support zero length transfer

2008-02-24 Thread Atsushi Nemoto
On Fri, 22 Feb 2008 14:36:53 -0500, Ned Forrester <[EMAIL PROTECTED]> wrote: > Or are you and Atsushi talking about using spi_transfer.delay_usecs > *with* a zero length transfer to effectively put a delay between the > assertion of CS and the start of the first clock? If so, then I guess I >

Re: linux-next: Tree for Feb 24

2008-02-24 Thread Kevin Winchester
: 19374 >>>> Feb 24 14:00:20 alekhine kernel: [ 456.705856] hardirqs last enabled at >>>> (19373): [] __mutex_unlock_slowpath+0xd5/0xef >>>> Feb 24 14:00:20 alekhine kernel: [ 456.705856] hardirqs last disabled at >>>> (19374): [] _spin_lock_irqsa

Re: Nework Emulation with UML, bug 8895

2008-02-24 Thread Andrew Morton
On Sat, 23 Feb 2008 14:04:18 +0100 clowncoder <[EMAIL PROTECTED]> wrote: > Hello, > You can have a configured and running network inside a single linux machine, > only one script command is enough. After the start of all the machine, a > graphical representation of your topology helps your

Re: [BUG + PATCH/Bugfix] x86/lguest: fix pgdir pmd index calculation

2008-02-24 Thread Ahmed S. Darwish
On Sun, Feb 24, 2008 at 06:26:53PM +0200, Ahmed S. Darwish wrote: > On Sun, Feb 24, 2008 at 05:18:14PM +0100, Ingo Molnar wrote: > > > I've picked up your patch into x86.git#testing (until Rusty picks it > > up), you can track it the following way: > > > >

Re: arcmsr & areca-1660 - strange behaviour under heavy load

2008-02-24 Thread Andrew Morton
On Sat, 23 Feb 2008 12:20:12 +0100 (CET) Nikola Ciprich <[EMAIL PROTECTED]> wrote: > Hi, > > I've found strange problem either in arcmsr driver, or maybe in > areca-1660 card... > When system on SAS discs RAID connected to areca-1660 card > gets under heavy I/O load, it gets unusable after

[2.6 patch] mm/vmstat.c: proper externs

2008-02-24 Thread Adrian Bunk
This patch adds proper extern declarations for five variables in include/linux/vmstat.h Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- fs/proc/proc_misc.c|4 include/linux/vmstat.h |6 ++ kernel/sysctl.c|2 +- mm/vmstat.c|1 + 4 files

  1   2   3   4   5   6   7   >