Re: [PATCH 2/2] Fix possible leakage of blocks in UDF

2007-06-02 Thread Cyrill Gorcunov
[Andrew Morton - Fri, Jun 01, 2007 at 11:54:22PM -0700] | On Sat, 2 Jun 2007 10:34:03 +0400 Cyrill Gorcunov <[EMAIL PROTECTED]> wrote: | | > | That patch is DOA, methinks. | > | | > | > Andrew, what does it mean - "DOA"? Dead on arrival? | | yes - I dropped it. | But that could lead to reject

Re: [kvm-devel] [GIT PULL][RESEND] KVM cpu hotplug fixes

2007-06-02 Thread Jun Koi
Hi Avi, On 6/2/07, Avi Kivity <[EMAIL PROTECTED]> wrote: Linus Torvalds wrote: > Don't send me pull requests like this. And absolutely do NOT send them as > resends. I just get grumpy. > > If all the added code had been KVM-only, I might not care. But when the > bulk of the code touches core fi

Re: [PATCH 2/2] Fix possible leakage of blocks in UDF

2007-06-02 Thread Andrew Morton
On Sat, 2 Jun 2007 10:59:23 +0400 Cyrill Gorcunov <[EMAIL PROTECTED]> wrote: > [Andrew Morton - Fri, Jun 01, 2007 at 11:54:22PM -0700] > | On Sat, 2 Jun 2007 10:34:03 +0400 Cyrill Gorcunov <[EMAIL PROTECTED]> wrote: > | > | > | That patch is DOA, methinks. > | > | > | > > | > Andrew, what does

Re: [kvm-devel] [GIT PULL][RESEND] KVM cpu hotplug fixes

2007-06-02 Thread Avi Kivity
Jun Koi wrote: > Hi Avi, > > On 6/2/07, Avi Kivity <[EMAIL PROTECTED]> wrote: >> Linus Torvalds wrote: >> > Don't send me pull requests like this. And absolutely do NOT send >> them as >> > resends. I just get grumpy. >> > >> > If all the added code had been KVM-only, I might not care. But when >>

Re: Kernel utf-8 handling

2007-06-02 Thread DervishD
Hi Éric :) * Éric Piel <[EMAIL PROTECTED]> dixit: > 06/01/2007 04:20 PM, DervishD wrote/a écrit: > >Will the console work as it works now if I can live with latin1 > >accented characters only? > Just tested here, it _seems_ to work right on the console with Spanish > and French accentuat

Re: [AppArmor 01/41] Pass struct vfsmount to the inode_create LSM hook

2007-06-02 Thread Valdis . Kletnieks
On Sat, 02 Jun 2007 04:30:30 -, David Wagner said: > I don't find the Windows stuff too relevant here. I'm surprised. The only Windows-specific thing in the whole paragraph is that the attack described is currently wildly successful. And there *have* been known exploitable bugs in the Linux v

Re: Kernel utf-8 handling

2007-06-02 Thread DervishD
Hi Alexander :) * Alexander E. Patrakov <[EMAIL PROTECTED]> dixit: > >I have a do-it-yourself Linux box, and I'm planning to move to UTF8 > >(currently I'm using es_ES locale, with latin1 encoding). One of my main > >concerns (apart from programs with little or no utf8 support, which I >

Re: Kernel utf-8 handling

2007-06-02 Thread DervishD
Hi Alexander :) * Alexander E. Patrakov <[EMAIL PROTECTED]> dixit: > >The switch is possible. You could try the latest development LFS LiveCD > >(http://ums.usu.ru/~patrakov/test/lfslivecd-x86-6.3-pre2-r1897.iso) and > >see if it works for you (be sure to CC: me if you post any feedback). >

Re: Kernel utf-8 handling

2007-06-02 Thread DervishD
Hi Ken :) * Ken Moffat <[EMAIL PROTECTED]> dixit: > On Fri, Jun 01, 2007 at 04:20:58PM +0200, DervishD wrote: > > Will the console work as it works now if I can live with latin1 > > accented characters only? Is there any terminal emulator *for the > > console*, not for X, that handles utf

Re: Kernel utf-8 handling

2007-06-02 Thread DervishD
Hi Jan :) * Jan Engelhardt <[EMAIL PROTECTED]> dixit: > On Jun 1 2007 16:20, DervishD wrote: > > > >This said, I know that the console will give me no problems > >regarding character representantion (heck, I'm pretty sure that I will > >be able to use even the same font I'm using right no

Re: Kernel utf-8 handling

2007-06-02 Thread DervishD
Hi H. Peter :) * H. Peter Anvin <[EMAIL PROTECTED]> dixit: > Jan Engelhardt wrote: > > (1) I can do <~> just fine on vt > > (2) I can do <ö> just fine on vt too > > (3) And copy+paste them both using GPM too, again w/o probs > > Both of those are in the 0-255 range, though. I thought the is

Re: OOPS (NULL pointer dereference) in v2.6.22-rc3

2007-06-02 Thread Andrew Morton
On Sat, 2 Jun 2007 00:15:15 +0200 Alex Riesen <[EMAIL PROTECTED]> wrote: > Ubuntu 7.04, P4, SMT, hyperthreading active. Not reproducable, context > unknown, > seen only two times :( > > kernel: BUG: unable to handle kernel NULL pointer dereference at virtual > address > kernel: printi

Re: 2.6.22-rc3-mm1

2007-06-02 Thread Segher Boessenkool
Yeah, allmodconfig tends to fall over in a heap on a lot of the less-lavishly-maintained architectures. To be fair, almost all of the powerpc allmodconfig build problems are caused by x86-only drivers (and most of those I doubt still work on x86, even). Segher - To unsubscribe from this list:

Re: [PATCH 2.6.21] cramfs: add cramfs Linear XIP

2007-06-02 Thread Nick Piggin
Jared Hulbert wrote: > The current xip stack relies on having struct page behind the memory > segment. This causes few impact on memory management, but occupies some > more memory. The cramfs patch chose to modify copy on write in order to > deal with vmas that don't have struct page behind. > So

Re: Intel's response Linux/MTRR/8GB Memory Support / Why doesn't the kernel realize the BIOS has problems and re-map appropriately?

2007-06-02 Thread Justin Piszcz
On Fri, 1 Jun 2007, Jesse Barnes wrote: On Friday, June 1, 2007 6:05:39 Venki Pallipadi wrote: On Fri, Jun 01, 2007 at 02:41:57PM -0700, Jesse Barnes wrote: On Friday, June 1, 2007 2:19:43 Andi Kleen wrote: And normally the MTRRs win, don't they (if I remember the table correctly) So if the

Re: Missing RAM on x86_64

2007-06-02 Thread Eric Dumazet
Mike Richards a écrit : Hi, I appear to be missing quite a bit of RAM on an x86_64 system. I have 1GB installed, but 'free' only shows 878MB: pokey$ free -m total used free sharedbuffers cached Mem: 878571306 0 52

Re: [PATCH 1/1] V4L: stk11xx, add a new webcam driver

2007-06-02 Thread Thierry Merle
Mauro Carvalho Chehab a écrit : This seems to be an interesting approach. Interesting but impossible to do for ioctl calls. When the application does a ioctl(fd_of_mnt_video0,VIDIOC_G_FMT,&arg) for example, there is no way for the userspace helper to catch this ioctl. The applicati

Re: A kexec approach to hibernation

2007-06-02 Thread Rafael J. Wysocki
On Saturday, 2 June 2007 03:54, Jeremy Maitin-Shepard wrote: > "Rafael J. Wysocki" <[EMAIL PROTECTED]> writes: > > >> But kernel threads also rely on userspace, due to e.g. fuse and usermode > >> helpers. > > > Yes, I know that and I think these issues are solvable within the current > > approach

Re: Intel's response Linux/MTRR/8GB Memory Support / Why doesn't the kernel realize the BIOS has problems and re-map appropriately?

2007-06-02 Thread Andi Kleen
> I feel, having a silent/transparent workaround is not a good idea. With that If enough RAM is chopped off users will notice. They tend to complain when they miss RAM. I don't like panic very much because for many users it will be a show stopper (even when they are not blessed with "quiet" boots

kernel Error

2007-06-02 Thread umesh
I got following error message when I try to upload file to remote server. The log generated in remote server is as per below. KERNEL: assertion (flags & MSG_PEEK) failed at net/ipv4/tcp.c (1284) recvmsg bug: copied BC00D548 seq BC00DAFC KERNEL: assertion (tp->copied_seq == tp->rcv_nxt || (flags &

Re: Kernel message

2007-06-02 Thread Robert P. J. Day
On Sat, 2 Jun 2007, [EMAIL PROTECTED] wrote: > Can anyone send me the documentation about dmesg message that how > can we understand by it. I am searching good document which can > explain each and every line of dmesg. > > umesh this is really more of a kernel newbie question that belongs on th

Re: Kernel utf-8 handling

2007-06-02 Thread Jan Engelhardt
On Jun 2 2007 09:45, DervishD wrote: > >Not a problem for me because I don't use GPM. I hate mice, and while >under X I'm forced (more or less) to use them, Use the ratpoison WM then. Jan -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: Kernel utf-8 handling

2007-06-02 Thread Jan Engelhardt
On Jun 2 2007 09:58, DervishD wrote: > > * H. Peter Anvin <[EMAIL PROTECTED]> dixit: >> Jan Engelhardt wrote: >> > (1) I can do <~> just fine on vt >> > (2) I can do <ö> just fine on vt too >> > (3) And copy+paste them both using GPM too, again w/o probs >> >> Both of those are in the 0-255 range

diff-patch

2007-06-02 Thread Shahbaz Khan
I need to get a good hold of patch and diff utilities for my project. Can anyone recomend a good howto or tutorial? shaka - 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/majordom

Re: [2.6.22-rc3][ACPI?] Resume from s2r doesn't work.

2007-06-02 Thread Mitch Davis
Hi Olaf, I'm also having troubles with the resume part of STR, although since your hardware is significantly different to mine, the cause is likely to be different. On 6/2/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > >> > >> > On Friday, 1 June 2007 22:27, Olaf Dietsche wrote: > >> >> Whe

Re: Linux v2.6.22-rc3

2007-06-02 Thread Tejun Heo
Hello, Jeff, Linus. Jeff Garzik wrote: > Linus Torvalds wrote: >> >> On Fri, 1 Jun 2007, Jeff Garzik wrote: >>> With these old PATA devices, device reset is "six of one, half-dozen >>> of the >>> other." Using SRST is the only way to kick some ATAPI devices into >>> working: >>> http://suif.stanf

Re: 2.6.22-rc3 hibernate(?) disables SMART on ide

2007-06-02 Thread Tejun Heo
David Greaves wrote: > I have 2 ide disks. If I enable SMART and hibernate/suspend2disk, SMART is > disabled when I resume. > > Same as in 2.6.21.1 > > cu:~# smartctl -son /dev/hda > smartctl version 5.36 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen > Home page is http://smartmontools.sou

Re: [RFD] BIO_RW_BARRIER - what it means for devices, filesystems, and dm/md.

2007-06-02 Thread Tejun Heo
Hello, Jens Axboe wrote: >> Would that be very different from issuing barrier and not waiting for >> its completion? For ATA and SCSI, we'll have to flush write back cache >> anyway, so I don't see how we can get performance advantage by >> implementing separate WRITE_ORDERED. I think zero-lengt

Re: floppy.c soft lockup

2007-06-02 Thread Oleg Nesterov
On 06/01, Mark Hounschell wrote: > > Oleg Nesterov wrote: > > On 06/01, Mark Hounschell wrote: > >> > >> Ok the prctl never returned. I just replaced the ioctl with it and added > >> a printf before and after. I only get the one before. The thread is hung > >> at this point just as if I'd done the

Re: [linux-usb-devel] [PATCH] Fix NEC OHCI chip silicon bug

2007-06-02 Thread Michael Hanselmann
On Fri, Jun 01, 2007 at 10:19:30AM -0400, Alan Stern wrote: > > @@ -779,7 +790,11 @@ static int ohci_restart (struct ohci_hcd > > */ > > spin_lock_irq(&ohci->lock); > > disable (ohci); > > + > > +#ifdef CONFIG_PM > > usb_root_hub_lost_power(ohci_to_hcd(ohci)->self.root_hub); > > +#

[PATCH ext3/ext4] lost brelse in ext3_read_inode

2007-06-02 Thread Vasily Averin
From: Kirill Korotaev <[EMAIL PROTECTED]> One of error path in ext3_read_inode() leaks bh since brelse is forgoten. Signed-Off-By: Kirill Korotaev <[EMAIL PROTECTED]> Acked-by: Vasily Averin <[EMAIL PROTECTED]> diff --git a/fs/ext3/inode.c b/fs/ext3/inode.c index a6cb617..2a85dde 100644

Section mismatches in drivers/video/console/promcon

2007-06-02 Thread Sam Ravnborg
Building a kernel for sparc64 defconfig gave me following warnings: WARNING: drivers/built-in.o(.text+0xb788): Section mismatch: reference to .init.data:promfont_unitable (between 'promcon_init_unimap' and 'promcon_init') WARNING: drivers/built-in.o(.text+0xb790): Section mismatch: reference to .

Re: 2.6.22-rc3: more section mismatch

2007-06-02 Thread Sam Ravnborg
On Sat, Jun 02, 2007 at 08:13:23AM +0400, Andrey Borzenkov wrote: > Sorry if it was already reported. It is but thanks anyway. There is a patch floating around to fix this and you can ignore the warnings for now. Sam - To unsubscribe from this list: send the line "unsubscribe linux-kerne

Re: Add INPUT support to toshiba_acpi

2007-06-02 Thread Richard Hughes
On Fri, 2007-06-01 at 12:45 -0400, Dmitry Torokhov wrote: > The patch was pretty good, I did not quite like the driver > registration code so I tried to clean it up. Cool, cheers. > What do you think about > the attached patch (not tested due to the lack of hardware). If you > are OK with it plea

Re: Section mismatches in drivers/video/console/promcon

2007-06-02 Thread Jan Engelhardt
On Jun 2 2007 14:42, Sam Ravnborg wrote: > >A few people in to: that I hope can help out (thanks to git blame)... git needs a "praise" command, like svn. :> Jan -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Mo

Re: Section mismatches in drivers/video/console/promcon

2007-06-02 Thread Antonino A. Daplas
On Sat, 2007-06-02 at 14:42 +0200, Sam Ravnborg wrote: > Building a kernel for sparc64 defconfig gave me following warnings: > WARNING: drivers/built-in.o(.text+0xb788): Section mismatch: reference to > .init.data:promfont_unitable (between 'promcon_init_unimap' and > 'promcon_init') > WARNING: d

Re: [patch 1/1] document Acked-by:

2007-06-02 Thread debian developer
On 6/2/07, Andrew Morton <[EMAIL PROTECTED]> wrote: It's quite common for experienced kernel developers to ack completely broken patches. common!! is'nt that a bit too ... - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] M

2.6.22-rc3-mm1: Xen compile error with X86_CMPXCHG=n

2007-06-02 Thread Adrian Bunk
I'm getting the following compile error in 2.6.22-rc3-mm1 with CONFIG_X86_CMPXCHG=n (with -Werror-implicit-function-declaration - otherwise it would be a link error): <-- snip --> ... CC drivers/xen/grant-table.o /home/bunk/linux/kernel-2.6/linux-2.6.22-rc3-mm1/drivers/xen/grant-table.

Re: [PATCH 2/2] Fix possible leakage of blocks in UDF

2007-06-02 Thread Cyrill Gorcunov
[Andrew Morton - Sat, Jun 02, 2007 at 12:06:45AM -0700] | On Sat, 2 Jun 2007 10:59:23 +0400 Cyrill Gorcunov <[EMAIL PROTECTED]> wrote: | | > [Andrew Morton - Fri, Jun 01, 2007 at 11:54:22PM -0700] | > | On Sat, 2 Jun 2007 10:34:03 +0400 Cyrill Gorcunov <[EMAIL PROTECTED]> wrote: | > | | > | > |

Re: [patch 1/1] document Acked-by:

2007-06-02 Thread Adrian Bunk
On Thu, May 31, 2007 at 07:09:10PM -0700, [EMAIL PROTECTED] wrote: > From: Andrew Morton <[EMAIL PROTECTED]> > > Explain what we use Acked-by: for, and how it differs from Signed-off-by: > Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> > --- > > Documentation/SubmittingPatches | 15 +

[RFC][PATCH] IO-APIC blacklist

2007-06-02 Thread Tear
Hi, I own a Dell OptiPlex GX240 which, when ACPI is disabled but IO-APIC is enabled, shows very slow USB performance. I thought that this could be related to IO-APIC and tried to boot with "noapic" appended to the kernel command line. This way the USB transfer speed returned to normal values. To

RE: Dependent CPU core speed reporting not updated withCPUFREQ_SHARED_TYPE_HW?

2007-06-02 Thread Pallipadi, Venkatesh
>-Original Message- >From: Dave Jones [mailto:[EMAIL PROTECTED] >Sent: Friday, June 01, 2007 11:43 PM >To: Pallipadi, Venkatesh >Cc: Darrick J. Wong; linux-kernel@vger.kernel.org >Subject: Re: Dependent CPU core speed reporting not updated >withCPUFREQ_SHARED_TYPE_HW? > >On Fri, Jun 01

Re: Add INPUT support to toshiba_acpi

2007-06-02 Thread Matthew Garrett
On Sat, Jun 02, 2007 at 01:50:52PM +0100, Richard Hughes wrote: > > KEY_SCREENLOCK? KEY_SCREENSAVER? > > Either of these keys would be good to add. We've been interpreting "KEY_COFFEE" as screenlock (as in "I've gone for a coffee break, lock the screen"). -- Matthew Garrett | [EMAIL PROTECTED]

Re: [AppArmor 01/41] Pass struct vfsmount to the inode_create LSM hook

2007-06-02 Thread david
On Sat, 2 Jun 2007, [EMAIL PROTECTED] wrote: On Sat, 02 Jun 2007 04:30:30 -, David Wagner said: I don't find the Windows stuff too relevant here. I'm surprised. The only Windows-specific thing in the whole paragraph is that the attack described is currently wildly successful. And there *

Re: [RFD] BIO_RW_BARRIER - what it means for devices, filesystems, and dm/md.

2007-06-02 Thread Jens Axboe
On Sat, Jun 02 2007, Tejun Heo wrote: > Hello, > > Jens Axboe wrote: > >> Would that be very different from issuing barrier and not waiting for > >> its completion? For ATA and SCSI, we'll have to flush write back cache > >> anyway, so I don't see how we can get performance advantage by > >> impl

Re: [RFC][PATCH] IO-APIC blacklist

2007-06-02 Thread Heikki Orsila
On Sat, Jun 02, 2007 at 07:10:58AM -0700, Tear wrote: > I would like this patch to be merged into the main > tree. If there is any revision/correction that needs to > be done on the patch, please let me know. You forgot: Signed-off-by: Random J Developer <[EMAIL PROTECTED]> (See Documentation/Su

Re: Conditionals for development tests and output

2007-06-02 Thread Adrian Bunk
On Fri, Jun 01, 2007 at 09:17:53PM -0700, Christoph Lameter wrote: > This introduces > > CONFIG_DEVELKERNEL > > If CONFIG_DEVELKERNEL is set then this is a development kernel. > Otherwise the kernel to be built is a a production kernel. >... I have two problems with your patch: First, there wi

Re: OOPS (NULL pointer dereference) in v2.6.22-rc3

2007-06-02 Thread Alex Riesen
Andrew Morton, Sat, Jun 02, 2007 10:35:02 +0200: > On Sat, 2 Jun 2007 00:15:15 +0200 Alex Riesen <[EMAIL PROTECTED]> wrote: > > > Ubuntu 7.04, P4, SMT, hyperthreading active. Not reproducable, context > > unknown, > > seen only two times :( > > > > kernel: Call Trace: > > kernel: [show_trace_lo

Re: diff-patch

2007-06-02 Thread Andrew Walrond
On Saturday 02 June 2007 12:00:28 Shahbaz Khan wrote: > I need help with my homework > Both tools come with extensive documentation, but such questions are unwelcome here. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

Re: [linux-usb-devel] [PATCH] Fix NEC OHCI chip silicon bug

2007-06-02 Thread Alan Stern
On Sat, 2 Jun 2007, Michael Hanselmann wrote: > On Fri, Jun 01, 2007 at 10:19:30AM -0400, Alan Stern wrote: > > > @@ -779,7 +790,11 @@ static int ohci_restart (struct ohci_hcd > > >*/ > > > spin_lock_irq(&ohci->lock); > > > disable (ohci); > > > + > > > +#ifdef CONFIG_PM > > > usb_root_h

Re: [RFD] BIO_RW_BARRIER - what it means for devices, filesystems, and dm/md.

2007-06-02 Thread Jens Axboe
On Fri, Jun 01 2007, Bill Davidsen wrote: > Jens Axboe wrote: > >On Thu, May 31 2007, Bill Davidsen wrote: > > > >>Jens Axboe wrote: > >> > >>>On Thu, May 31 2007, David Chinner wrote: > >>> > >>> > On Thu, May 31, 2007 at 08:26:45AM +0200, Jens Axboe wrote: > >

Re: [PATCH] sendfile removal

2007-06-02 Thread Jens Axboe
On Fri, Jun 01 2007, Linus Torvalds wrote: > > > On Fri, 1 Jun 2007, H. Peter Anvin wrote: > > > > Fair enough. Unix has traditionally not acknowledged the possibility of > > nonblocking I/O on conventional files, for some odd reason. > > It's not odd at all. > > If you return EAGAIN, you had

Re: [PATCH] sendfile removal

2007-06-02 Thread Jens Axboe
On Fri, Jun 01 2007, H. Peter Anvin wrote: > > So there's a few things to take away from this: > > > > - regular file access MUST NOT return EAGAIN just because a page isn't > >in the cache. Doing so is simply a bug. No ifs, buts or maybe's about > >it! > > > >Busy-looping is NOT A

Re: Device Driver Etiquette

2007-06-02 Thread Satyam Sharma
Hi Matthew, On 6/1/07, Matthew Fredrickson <[EMAIL PROTECTED]> wrote: Greetings, I maintain a device driver that has been bitten by the transition to 4K stacks. It is a T1/E1 line interface PCI card driver that is maintained outside of the kernel, although is used by a significant number of pe

Re: Device Driver Etiquette

2007-06-02 Thread Matt Fredrickson
- "Daniel J Blueman" <[EMAIL PROTECTED]> wrote: > On 1 Jun, 19:40, "Lee Revell" <[EMAIL PROTECTED]> wrote: > > On 6/1/07, Matthew Fredrickson <[EMAIL PROTECTED]> wrote: > > > > > is it acceptable (although > > > not nice) to simply fix it this way, by disabling irqs while it > loads > > > the

Re: [PATCH] quiet down swiotlb warnings

2007-06-02 Thread Muli Ben-Yehuda
On Fri, Jun 01, 2007 at 10:26:01PM +0200, Andi Kleen wrote: > Normally swiotlb doesn't even try to bounce when dma mask is <= > end_pfn so something must be very wrong in your kernel. It > definitely isn't a mainline kernel. If this happens in Xen then Xen > just needs fixing -- it should not try

Re: [RFC 0/4] CONFIG_STABLE to switch off development checks

2007-06-02 Thread Dave Kleikamp
On Fri, 2007-06-01 at 11:58 -0700, Jeremy Fitzhardinge wrote: > Christoph Lameter wrote: > > Hmmm... We got there because SLUB initially return NULL for kmalloc(0). > > Rationale: The user did not request any memory so we wont give him > > any. > > > > That (to my surprise) caused some strange be

Re: [PATCH] sendfile removal

2007-06-02 Thread Linus Torvalds
On Sat, 2 Jun 2007, Jens Axboe wrote: > > splice() WILL return EAGAIN, but in that case it should have triggered > the read-ahead and thus started some IO. That's not enough. If the IO has already been started, splice needs to wait. > For the from-file case, see __generic_file_splice_read(). s

Re: Who is administering the kernel bugzilla?

2007-06-02 Thread Adrian Bunk
On Sat, Jun 02, 2007 at 01:42:06AM +0200, Rafael J. Wysocki wrote: > Hi, > > Can anyone please tell me who's administering the kernel bugzilla now? > > I've tried to write to [EMAIL PROTECTED] , but this address seems > to point to nowhere. >... Martin Bligh (explicitely Cc'ed) should be able to

Re: kernel Error

2007-06-02 Thread Michal Piotrowski
Hi, [netdev added to CC] [EMAIL PROTECTED] pisze: I got following error message when I try to upload file to remote server. The log generated in remote server is as per below. KERNEL: assertion (flags & MSG_PEEK) failed at net/ipv4/tcp.c (1284) recvmsg bug: copied BC00D548 seq BC00DAFC KERNEL:

[PATCH] Re: Linux v2.6.22-rc3

2007-06-02 Thread Jeff Garzik
Gregor Jasny wrote: Hi, 2007/5/26, Linus Torvalds <[EMAIL PROTECTED]>: What more could you possibly want? Some ATA updates? USB suspend problem 22-rc3 broke the CDROM in my Dell notebook. After I've switched to libata som time ago, I've got some delays/timeouts during boot [1]. But the drive

Re: [RFC 0/4] CONFIG_STABLE to switch off development checks

2007-06-02 Thread Jeremy Fitzhardinge
Dave Kleikamp wrote: > I'm on Christoph's side here. I don't think it makes sense for any code > to ask to allocate zero bytes of memory and expect valid memory to be > returned. > Yes, everyone agrees on that. If you do kmalloc(0), its never OK to dereference the result. The question is whe

Re: [PATCH] sendfile removal

2007-06-02 Thread Jens Axboe
On Sat, Jun 02 2007, Linus Torvalds wrote: > > > On Sat, 2 Jun 2007, Jens Axboe wrote: > > > > splice() WILL return EAGAIN, but in that case it should have triggered > > the read-ahead and thus started some IO. > > That's not enough. > > If the IO has already been started, splice needs to wait.

Re: [RFC][PATCH] IO-APIC blacklist

2007-06-02 Thread Linus Torvalds
On Sat, 2 Jun 2007, Tear wrote: > > I own a Dell OptiPlex GX240 which, when ACPI is disabled > but IO-APIC is enabled, shows very slow USB performance. > I thought that this could be related to IO-APIC and > tried to boot with "noapic" appended to the kernel > command line. This way the USB tran

Re: [PATCH] quiet down swiotlb warnings

2007-06-02 Thread Andi Kleen
On Sat, Jun 02, 2007 at 06:21:46PM +0300, Muli Ben-Yehuda wrote: > On Fri, Jun 01, 2007 at 10:26:01PM +0200, Andi Kleen wrote: > > > Normally swiotlb doesn't even try to bounce when dma mask is <= > > end_pfn so something must be very wrong in your kernel. It > > definitely isn't a mainline kernel

Re: OOPS (NULL pointer dereference) in v2.6.22-rc3

2007-06-02 Thread Randy Dunlap
On Sat, 2 Jun 2007 01:35:02 -0700 Andrew Morton wrote: > On Sat, 2 Jun 2007 00:15:15 +0200 Alex Riesen <[EMAIL PROTECTED]> wrote: > > > Ubuntu 7.04, P4, SMT, hyperthreading active. Not reproducable, context > > unknown, > > seen only two times :( > > > > kernel: BUG: unable to handle kernel NUL

Re: [PATCH] xt_gateway match (kernel)

2007-06-02 Thread Jan Engelhardt
Originally from Amin Azez <[EMAIL PROTECTED]>, http://lists.netfilter.org/pipermail/netfilter-devel/2007-June/027954.html This adds a gateway match to iptables that lets you match against the routed ipv4 gateway, it's very useful for SNAT if you want to avoid replicating your routing in your SNAT

Re: [PATCH] xt_gateway match (iptables)

2007-06-02 Thread Jan Engelhardt
--- extensions/.gateway-test |3 extensions/libipt_gateway.c | 157 ++ extensions/libipt_gateway.man |9 ++ 3 files changed, 169 insertions(+) Index: iptables/extensions/.gateway-test

[-mm patch] fix XEN_BLKDEV_FRONTEND Makefile entry

2007-06-02 Thread Adrian Bunk
CONFIG_XEN_BLKDEV_FRONTEND shouldn't silently prevent the compilation of most other block drivers. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6.22-rc3-mm1/drivers/block/Makefile.old 2007-06-02 18:21:12.0 +0200 +++ linux-2.6.22-rc3-mm1/drivers/block/Makefile 2007-

Re: [PATCH] xt_gateway match (kernel,2)

2007-06-02 Thread Jan Engelhardt
On Jun 2 2007 18:56, Jan Engelhardt wrote: >--- > include/linux/netfilter/xt_gateway.h | 13 + > net/netfilter/Kconfig|9 +++ > net/netfilter/Makefile |1 > net/netfilter/xt_gateway.c | 85 > +++ > 4 files changed

Re: Watchdog API Update

2007-06-02 Thread Randy Dunlap
On Fri, 01 Jun 2007 14:00:10 -0500 Andrew Kilkenny wrote: > Patched from 2.6.16 > > Included are patches for the Watchdog API. This API is already AD HOC > according to the documentation, so the update is not expected to meet > much opposition. > > The patch/api update adds support for enablin

2.6.22-rc3-mm1: __attribute__((weak)) considered harmful

2007-06-02 Thread Adrian Bunk
statistics-infrastructure-make-printk_clock-a-generic-kernel-wide-nsec-resolution.patch shows why __attribute__((weak)) is harmful because you don't see if a required non-weak implemtation is missing: In this case, the weak printk_clock() was renamed to timestamp_clock(), but the ARM and i386

Re: [patch 1/1] document Acked-by:

2007-06-02 Thread Jan Engelhardt
On Jun 1 2007 14:28, Dave Jones wrote: > > > On Thu, May 31, 2007 at 07:09:10PM -0700, Andrew Morton wrote: > > > > From: Andrew Morton <[EMAIL PROTECTED]> > > > > > > > > Explain what we use Acked-by: for, and how it differs from > > > Signed-off-by: > > > > Signed-off-by: Andrew Morton <[E

Re: [patch 1/1] document Acked-by:

2007-06-02 Thread Jan Engelhardt
On Jun 2 2007 19:04, debian developer wrote: > On 6/2/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > >> It's quite common for experienced kernel developers to ack completely >> broken >> patches. > > common!! > > is'nt that a bit too ... too nack? Jan -- - To unsubscribe from this list

Re: [PATCH 2/2] Fix possible leakage of blocks in UDF

2007-06-02 Thread Andrew Morton
On Sat, 2 Jun 2007 18:06:19 +0400 Cyrill Gorcunov <[EMAIL PROTECTED]> wrote: > [Andrew Morton - Sat, Jun 02, 2007 at 12:06:45AM -0700] > | On Sat, 2 Jun 2007 10:59:23 +0400 Cyrill Gorcunov <[EMAIL PROTECTED]> wrote: > | > | > [Andrew Morton - Fri, Jun 01, 2007 at 11:54:22PM -0700] > | > | On Sat,

Re: [RFC][PATCH] IO-APIC blacklist

2007-06-02 Thread Len Brown
> +static int __init disable_blacklisted_ioapic(struct dmi_system_id *d) > +{ > + printk(KERN_WARNING "%s detected... Disabling IO-APIC\n", d->ident); > + skip_ioapic_setup = 1; > + return(0); > +} Wouldn't this also disable the IOAPIC in the (working) ACPI+IOAPIC case? - To unsubscrib

Re: [patch 1/1] document Acked-by:

2007-06-02 Thread Andrew Morton
On Sat, 2 Jun 2007 16:11:45 +0200 Adrian Bunk <[EMAIL PROTECTED]> wrote: > On Thu, May 31, 2007 at 07:09:10PM -0700, [EMAIL PROTECTED] wrote: > > From: Andrew Morton <[EMAIL PROTECTED]> > > > > Explain what we use Acked-by: for, and how it differs from Signed-off-by: > > Signed-off-by: Andrew Mor

Re: Conditionals for development tests and output

2007-06-02 Thread Andrew Morton
On Sat, 2 Jun 2007 16:43:48 +0200 Adrian Bunk <[EMAIL PROTECTED]> wrote: > And your approach could easily result in code paths never tested in > -mm or -rc kernels exploding in the actual release. yep, we need to ensure that DEVELKERNEL gets turned off a few weeks before final release. - To unsu

Re: [patch 1/1] document Acked-by:

2007-06-02 Thread Adrian Bunk
On Sat, Jun 02, 2007 at 10:47:00AM -0700, Andrew Morton wrote: > On Sat, 2 Jun 2007 16:11:45 +0200 Adrian Bunk <[EMAIL PROTECTED]> wrote: >... > > > -12) The canonical patch format > > > +12) When to use Acked-by: > > > + > > > +The Signed-off-by: tag implies that the signer was involved in the >

Re: [patch 1/1] document Acked-by:

2007-06-02 Thread John Anthony Kazos Jr.
> > > > > Explain what we use Acked-by: for, and how it differs from > > > > Signed-off-by: > > > > > Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> > > > > > + > > > > > +If a person was not directly involved in the preparation or > > > > handling of a > > > > > +patch but wishes to signi

Re: Who is administering the kernel bugzilla?

2007-06-02 Thread Martin J. Bligh
Adrian Bunk wrote: On Sat, Jun 02, 2007 at 01:42:06AM +0200, Rafael J. Wysocki wrote: Hi, Can anyone please tell me who's administering the kernel bugzilla now? I've tried to write to [EMAIL PROTECTED] , but this address seems to point to nowhere. ... Martin Bligh (explicitely Cc'ed) should

multiple xor_block() functions

2007-06-02 Thread Adrian Bunk
include/linux/raid/xor.h:extern void xor_block(unsigned int count, unsigned int bytes, void **ptr); drivers/md/xor.c:xor_block(unsigned int count, unsigned int bytes, void **ptr) drivers/md/xor.c:EXPORT_SYMBOL(xor_block); and net/ieee80211/ieee80211_crypt_ccmp.c:static inline void xor_block(u8 *

Re: [PATCH 2/2] Fix possible leakage of blocks in UDF

2007-06-02 Thread Cyrill Gorcunov
[Andrew Morton - Sat, Jun 02, 2007 at 10:32:03AM -0700] | On Sat, 2 Jun 2007 18:06:19 +0400 Cyrill Gorcunov <[EMAIL PROTECTED]> wrote: | | > [Andrew Morton - Sat, Jun 02, 2007 at 12:06:45AM -0700] | > | On Sat, 2 Jun 2007 10:59:23 +0400 Cyrill Gorcunov <[EMAIL PROTECTED]> wrote: | > | | > | > [A

[PATCH 2/2] serverworks: fix CSB6 tuning logic

2007-06-02 Thread Bartlomiej Zolnierkiewicz
Problem noticed by Joe Zbiciak, see http://kerneltrap.org/node/8252 for details. On CSB6 the driver is using BIOS settings and not programming DMA/PIO timings itself. However the logic was completely broken and resulted in wrong timings being silently allowed (instead of being correcte

[PATCH 1/2] serverworks: remove crappy code

2007-06-02 Thread Bartlomiej Zolnierkiewicz
Remove crappy code noticed by Linus, see http://lkml.org/lkml/2007/5/23/476 for details. While at it simplify logic a bit. There should be no functionality changes caused by this patch. Cc: Linus Torvalds <[EMAIL PROTECTED]> Cc: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Bartlom

[PATCH] O_CLOEXEC for SCM_RIGHTS

2007-06-02 Thread Ulrich Drepper
Part two in the O_CLOEXEC saga: adding support for file descriptors received through Unix domain sockets. The patch is once again pretty minimal, it introduces a new flag for recvmsg and passes it just like the existing MSG_CMSG_COMPAT flag. I think this bit is not used otherwise but the networki

Re: Conditionals for development tests and output

2007-06-02 Thread Sam Ravnborg
On Fri, Jun 01, 2007 at 09:17:53PM -0700, Christoph Lameter wrote: > This introduces > > CONFIG_DEVELKERNEL > > If CONFIG_DEVELKERNEL is set then this is a development kernel. > Otherwise the kernel to be built is a a production kernel. The below patch suffers from the problem that changing the

[PATCH] Ignore partition table on device

2007-06-02 Thread Jonathan Schleifer
Hello. This patch adds a new kernel parameter (ignore_partitions=device) to the kernel. It is useful when using a fake RAID with dmraid so that Linux won't complain about attemps to access the drive beyond its boundaries when udev and/or hald are started. --- linux-2.6.21.1/fs/partitions/check.c.

Re: [patch 1/1] document Acked-by:

2007-06-02 Thread Sam Ravnborg
On Sat, Jun 02, 2007 at 02:00:00PM -0400, John Anthony Kazos Jr. wrote: > > > > > > Explain what we use Acked-by: for, and how it differs from > > > > > Signed-off-by: > > > > > > Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> > > > > > > + > > > > > > +If a person was not directly involved

[2.6 patch] make arch/i386/mm/pgtable.c:pgd_{c,d}tor() static

2007-06-02 Thread Adrian Bunk
pgd_{c,d}tor() can now become static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- arch/i386/mm/pgtable.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- linux-2.6.22-rc3-mm1/arch/i386/mm/pgtable.c.old 2007-06-02 19:16:38.0 +0200 +++ linux-2.6.22-rc3-mm1/a

[-mm patch] the ASYNC_* options shouldn't be user visible

2007-06-02 Thread Adrian Bunk
On Wed, May 30, 2007 at 11:58:23PM -0700, Andrew Morton wrote: >... > Changes since 2.6.22-rc2-mm1: >... > git-md-accel.patch >... > git trees >... The ASYNC_* options are for internal helper code and should therefore not be user visible. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- B

[2.6 patch] make drivers/char/hvc_console.c:khvcd() static

2007-06-02 Thread Adrian Bunk
This patch makes the needlesly global khvcd() static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6.22-rc3-mm1/drivers/char/hvc_console.c.old 2007-06-02 19:58:07.0 +0200 +++ linux-2.6.22-rc3-mm1/drivers/char/hvc_console.c 2007-06-02 19:58:28.0 +0200 @@ -67

[2.6 patch] remove sonypi_camera_command()

2007-06-02 Thread Adrian Bunk
This patch removes the no longer used sonypi_camera_command(). Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/char/sonypi.c | 47 - include/linux/sonypi.h |2 - 2 files changed, 49 deletions(-) --- linux-2.6.22-rc3-mm1/include/linux/so

2.6.22-rc3-mm1 reiser4 bug

2007-06-02 Thread Berck E. Nash
All appears to work fine, until I try to boot a kernel with a Reiser4 / partition. Then I get endless errors of the sort: [ 206.349450] sd 1:0:0:0: [sdc] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK (See attached dmesg for more, I only sent the first 1,000 lines, it goes on u

Re: [AppArmor 01/41] Pass struct vfsmount to the inode_create LSM hook

2007-06-02 Thread Valdis . Kletnieks
On Sat, 02 Jun 2007 07:27:13 PDT, [EMAIL PROTECTED] said: > > The type of hardening that AppArmor can provide network-facing daemons is > > only > > protecting the system against attacks that aren't even a large part of the > > threat model. Exploiting a broken PHP script? Happens all the time,

Re: Section mismatches in drivers/video/console/promcon

2007-06-02 Thread Sam Ravnborg
> > promcon_init() can be called again from visual_init() during > vc_allocate(). So anything referenced by promcon_init() should not be > marked __init. > > Although, if you want to keep promfont_unitable and promfont_unicount > __init, you can probably use con_copy_unimap() using the default v

Re: [PATCH 2/2] Fix possible leakage of blocks in UDF

2007-06-02 Thread Andrew Morton
On Sat, 2 Jun 2007 22:57:07 +0400 Cyrill Gorcunov <[EMAIL PROTECTED]> wrote: > [Andrew Morton - Sat, Jun 02, 2007 at 10:32:03AM -0700] > | On Sat, 2 Jun 2007 18:06:19 +0400 Cyrill Gorcunov <[EMAIL PROTECTED]> wrote: > | > | > [Andrew Morton - Sat, Jun 02, 2007 at 12:06:45AM -0700] > | > | On Sat,

[Trivial Patch] Remove JFFS2 dependency on internal Zlib header

2007-06-02 Thread Daniel Hazelton
History: During the discussion over the speed and stability of the proposed inclusion of a stripped-down, minimized version of the LZO compression algorithm it was noted that the way that patch handled separation of compression and decompression could be used for zlib as well. Then it was note

Re: [patch 1/1] document Acked-by:

2007-06-02 Thread Valdis . Kletnieks
On Sat, 02 Jun 2007 19:04:29 +0530, debian developer said: > On 6/2/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > > > It's quite common for experienced kernel developers to ack completely broken > > patches. > > common!! > > is'nt that a bit too ... Lots of code looks totally reasonable to a k

Re: multiple xor_block() functions

2007-06-02 Thread Jouni Malinen
On Sat, Jun 02, 2007 at 08:57:46PM +0200, Adrian Bunk wrote: > include/linux/raid/xor.h:extern void xor_block(unsigned int count, unsigned > int bytes, void **ptr); > drivers/md/xor.c:xor_block(unsigned int count, unsigned int bytes, void **ptr) > drivers/md/xor.c:EXPORT_SYMBOL(xor_block); > > an

  1   2   >