Re: New hwmon maintainer

2007-06-11 Thread Jean Delvare
On Sat, 9 Jun 2007 12:00:31 -0400, Mark M. Hoffman wrote: > I am maintaining a git tree for the hwmon subsystem now. You may pull from > it here: > > git://lm-sensors.org/kernel/mhoffman/hwmon-2.6.git testing > > The current contents include the remainder of Jean Delvare's quilt patch >

Re: [PATCH 2/2] [RFC] PCI: Change all drivers to use pci_device->revision

2007-06-11 Thread Dave Jones
On Fri, Jun 08, 2007 at 03:46:36PM -0700, Auke Kok wrote: > Instead of all drivers reading pci config space to get the revision > ID, they can now use the pci_device->revision member. > > This exposes some issues where drivers where reading a word or a dword > for the revision number, and

Re: A kexec approach to hibernation

2007-06-11 Thread Jeremy Maitin-Shepard
Pavel Machek <[EMAIL PROTECTED]> writes: [snip] >> > If _I_ were willing to add some runtime overhead to make hibernation >> > simpler, I'd just use some virtualization to do that... with added >> > advantage of "hibernate here, resume on different hw". >> >> I don't believe there is going to

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

2007-06-11 Thread Stephen Smalley
On Sat, 2007-06-09 at 00:03 +0200, Andreas Gruenbacher wrote: > On Wednesday 06 June 2007 15:26, Stephen Smalley wrote: > > - under AA, each file may have an arbitrary set of "labels" or > > "policies" applied to it depending on what programs are accessing it and > > what names are being used to

[PATCH] Fix broken ifdefs in usbtouchscreen

2007-06-11 Thread Ondrej Zary
Hello, this patch fixes ifdefs in usbtouchscreen that got broken by Kconfig changes, resulting in non-working module with empty device table. Signed-off-by: Ondrej Zary <[EMAIL PROTECTED]> -- Ondrej Zary --- linux-2.6.22-rc4-orig/drivers/input/touchscreen/usbtouchscreen.c 2007-06-05

Re: A kexec approach to hibernation

2007-06-11 Thread Jeremy Maitin-Shepard
Nigel Cunningham <[EMAIL PROTECTED]> writes: [snip] > Trying to image a system to a fuse filesystem is indeed fundamentally > broken. The problem is really that we have to make choices about what we > will and won't support. > We can have suspending to fuse filesystems, but only if we have >

Re: USB remote control missing keycodes

2007-06-11 Thread Jiri Kosina
On Mon, 11 Jun 2007, Islam Amer wrote: > I have a remote control device, with an IR transciever that plugs into a > USB port and registers as an input device. All the buttons on the remote > work fine except for the back , text , and three grey buttons at the > top. Could you please recompile

[RFC][PATCH -mm 7/7] PM: Do not check parent state in suspend and resume core code

2007-06-11 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> The checks if the device's parent is in the right state done in drivers/base/power/suspend.c and drivers/base/power/resume.c serve no particular purpose, since if the parent is in a wrong power state, the device's suspend or resume callbacks are

[RFC][PATCH -mm 6/7] PM: Remove power_state.event checks from suspend core code

2007-06-11 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> The suspend routines should be called for every device during a system sleep transition, regardless of the device's state, so that drivers can regard these method calls as notifications that the system is about to go to sleep, rather than as directives

[RFC][PATCH -mm 3/7] PM: Simplify suspend_device

2007-06-11 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Reduce code duplication in drivers/base/suspend.c by introducing a separate function for printing diagnostic messages. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> --- drivers/base/power/suspend.c | 49

[RFC][PATCH -mm 4/7] PM: Remove suspend and resume support from struct device_type

2007-06-11 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> The suspend and resume support in struct device_type (include/linux/device.h) is not used anywhere. It is also undocumented, so it can be removed. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> --- drivers/base/power/resume.c |5 -

[RFC][PATCH -mm 5/7] PM: Remove prev_state from struct dev_pm_info

2007-06-11 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> The prev_state member of struct dev_pm_info (defined in include/linux/pm.h) is only used during a resume to check if the device's state before the suspend was 'off', in which case the device is not resumed. However, in such cases the decision whether

[RFC][PATCH -mm 2/7] PM: Remove saved_state from struct dev_pm_info

2007-06-11 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> The saved_state member of struct dev_pm_info, defined in include/linux/pm.h, is not used anywhere, so it can be removed. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> --- include/linux/pm.h |1 - 1 file changed, 1 deletion(-) Index:

[RFC][PATCH -mm 1/7] PM: Remove pm_parent from struct dev_pm_info

2007-06-11 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> The pm_parent member of struct dev_pm_info (defined in include/linux/pm.h) is only used to check if the device's parent is in the right state while the device is being suspended or resumed. However, this can be done just as well with the help of the

[RFC][PATCH -mm 0/7] PM: Remove unused and unnecessary features from suspend and resume core

2007-06-11 Thread Rafael J. Wysocki
Hi, The following series of patches removes some unused and unnecessary features from the suspend and resume core code. Comments welcome. Greetings, Rafael -- "Premature optimization is the root of all evil." - Donald Knuth - To unsubscribe from this list: send the line "unsubscribe

[PATCH] swsusp: Fix userland interface

2007-06-11 Thread Rafael J. Wysocki
[2.6.22 candidate, IMHO] --- From: Rafael J. Wysocki <[EMAIL PROTECTED]> Fix oops caused by 'cat /dev/snapshot', reported by Arkadiusz Miskiewicz, and make it impossible to thaw tasks with the help of the swsusp userland interface while there is a snapshot image ready to save. Signed-off-by:

Re: v2.6.21.4-rt11

2007-06-11 Thread Paul E. McKenney
On Mon, Jun 11, 2007 at 09:36:34AM +0200, Ingo Molnar wrote: > > * Paul E. McKenney <[EMAIL PROTECTED]> wrote: > > > 2.6.21.4-rt12 boots on 4-CPU Opteron and passes several hours of > > rcutorture. However, if I simply do "modprobe rcutorture", the kernel > > threads do not spread across the

2.6.22-rc4-mm2: Resume from RAM on HPC nx6325 broken

2007-06-11 Thread Rafael J. Wysocki
Hi, Here's the result of the search for the second patch that breaks resuming from RAM on HPC nx6325 (x86_64): ide-ide-hpa-detect-from-resume.patch The symptom is that after the resume there's no backlight and the screen apparently doesn't work, 100% of the time, although apart from this the

Re: 2.6.22-rc4-mm2: GPF during suspend to RAM on HPC nx6325

2007-06-11 Thread Rafael J. Wysocki
On Monday, 11 June 2007 09:17, Tejun Heo wrote: > Hello, Rafael. > > Rafael J. Wysocki wrote: > > gregkh-driver-sysfs-use-singly-linked-list-for-sysfs_dirent-tree.patch > > breaks > > suspend to RAM on HPC nx6325 (x86_64). > > > > With this patch applied I get a general protection fault in

Re: 2.6.21.3 Oops (was Re: XFS internal error xfs_da_do_buf(2) at line 2087 of file fs/xfs/xfs_da_btree.c. Caller 0xc01b00bd)

2007-06-11 Thread Marco Berizzi
Satyam Sharma wrote: > Hi Marco, Ciao Satyam, thanks for the feedback. > [ Re-adding David, XFS, Andrew and Christoph; this appears to be > some SLAB / fs (?) issue, so I'm a little out of my depth here :-) ] > > > > On 6/8/07, Marco Berizzi <[EMAIL PROTECTED]> wrote: > > >> After few hours

Re: [AppArmor 38/45] AppArmor: Module and LSM hooks

2007-06-11 Thread Stephen Smalley
On Mon, 2007-06-11 at 01:10 +0200, Andreas Gruenbacher wrote: > On Wednesday 06 June 2007 15:09, Stephen Smalley wrote: > > On Mon, 2007-06-04 at 16:30 +0200, Andreas Gruenbacher wrote: > > > On Monday 04 June 2007 15:12, Pavel Machek wrote: > > > > How will kernel work with very long paths? I'd

Attachment Discarded!

2007-06-11 Thread postmaster
WARNING: Message attachments violating Corporate Express' security policy have been discarded! *** Source Mailbox: linux-kernel@vger.kernel.org Destination Mailbox: [EMAIL PROTECTED] Message Subject: Delivery reports about your e-mail

[mm patch] fuse: fix double fs_flags initializer

2007-06-11 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> Thanks to Alexey Dobriyan for spotting the other one. Signed-off-by: Miklos Szeredi <[EMAIL PROTECTED]> --- Index: linux/fs/fuse/inode.c === --- linux.orig/fs/fuse/inode.c 2007-06-11

Re: fix oops on cat /dev/snapshot

2007-06-11 Thread Pavel Machek
Hi! > > What /dev/snapshot is simply cat-ed -- without ioctls used in normal > > operation -- it oopses. This one should fix it. > > > > Signed-off-by: Pavel Machek <[EMAIL PROTECTED]> > > > > --- clean-mm/kernel/power/user.c2007-06-09 16:18:12.0 +0200 > > +++

PATCH -mm] fix create_new_namespaces() return value

2007-06-11 Thread Cedric Le Goater
The following patch modifies create_new_namespaces() to also use the errors returned by the copy_*_ns routines and not to systematically return ENOMEM. Signed-off-by: Cedric Le Goater <[EMAIL PROTECTED]> Cc: Serge E. Hallyn <[EMAIL PROTECTED]> Cc: Badari Pulavarty <[EMAIL PROTECTED]> Cc: Pavel

Re: fix oops on cat /dev/snapshot

2007-06-11 Thread Rafael J. Wysocki
On Monday, 11 June 2007 14:17, Pavel Machek wrote: > What /dev/snapshot is simply cat-ed -- without ioctls used in normal > operation -- it oopses. This one should fix it. > > Signed-off-by: Pavel Machek <[EMAIL PROTECTED]> > > --- clean-mm/kernel/power/user.c 2007-06-09 16:18:12.0

Re: How does dummy network driver get its mac addresses?

2007-06-11 Thread Mike Schmidt
Thanks a lot for the responses I've received. I really appreciate the help. Sorry about posting in the wrong mailing list. I'll pay more attention next time. Mike Stephen Hemminger wrote: On Fri, 08 Jun 2007 15:03:42 -0400 Mike Schmidt <[EMAIL PROTECTED]> wrote: please cc me directly

kernel BUG at mm/slub.c:3689!

2007-06-11 Thread Haavard Skinnemoen
While trying to get SLUB debugging to not break DMA on AVR32, I ran into this: (...) adding slab: name=kmalloc-64 size=64 objsize=64 adding slab: name=kmalloc-32 size=32 objsize=32 adding slab: name=kmalloc-16 size=32 objsize=16 kobject_add failed for :032 with -EEXIST, don't try to register

Re: Kernel BUG when using corrupted ext3 fs

2007-06-11 Thread Karl Pickett
On 6/11/07, Jan Kara <[EMAIL PROTECTED]> wrote: Hello, > I had to hard shutdown a fc6 machine due to vmware and nvidia doing > ridiculous things to my screen resolution and locking up. ugh. > Anyway, upon reboot it recovers the journal and mounts / rw fine. > Then rc.sysinit tries to delete

Re: 2.6.22-rc: regression: no irda0 interface (2.6.21 was OK), smsc does not find chip

2007-06-11 Thread Andrey Borzenkov
On Monday 11 June 2007, Bjorn Helgaas wrote: > > {pts/1}% lspnp -vv 00:0a > > 00:0a SMCf010 SMC Fast Infrared Port > > state = active > > allocated resources: > > io 0x100-0x107 > > ... > > > > {pts/1}% cat /proc/ioports > > ... > > 0100-013f : pcmcia_socket0 > > ... > > > >

Re: 2.6.22-rc1-mm1

2007-06-11 Thread Andy Whitcroft
Andy Whitcroft wrote: > H. Peter Anvin wrote: >> Andy Whitcroft wrote: It definitely sounds like a memory clobber of some sort. Usual suspects, in addition to the input/output buffers you already looked at, would be the heap and the stack. Finding where the stack pointer

Re: [PATCH] fuse: ->fs_flags fixlet

2007-06-11 Thread Miklos Szeredi
> fs/fuse/inode.c:658:3: error: Initializer entry defined twice > fs/fuse/inode.c:661:3: also defined here Duh, that's a stupid conflict. I wonder why I don't get this compile error... > Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> Acked-by: Miklos Szeredi <[EMAIL PROTECTED]> Andrew,

Re: 2.6.21-rt9 - IRQ23 consuming a steady 2.7% of CPU

2007-06-11 Thread Mark Knecht
On 6/11/07, Ingo Molnar <[EMAIL PROTECTED]> wrote: * Mark Knecht <[EMAIL PROTECTED]> wrote: > Hi Ingo, > Yep, that solved it on my machine. I did have to patch using 'patch > -p1 -R' I think that's because the paths in your patch file are maybe > based on your work setup? I don't know. I'm

Re: [RFD] Documentation/HOWTO translated into Japanese

2007-06-11 Thread Matt Mackall
On Sun, Jun 10, 2007 at 11:07:59PM -0700, Greg KH wrote: > So, Tsugikazu, care to resend this file as a patch that I can apply to > the Documentation directory of the kernel tree? I think it would be > good to have there. I'd rather have a single file, marked "Japanese" (in Japanese), that had

Re: Add INPUT support to toshiba_acpi

2007-06-11 Thread Renato S. Yamane
Richard Hughes wrote: What's the status of this patch? Good for merging? Do you want me to redo the current patch using input-polldev and the new setkeycode stuff? A detail: I receive error message (no such device) when I try load toshiba_acpi on my Toshiba M45-S355 (BIOS is Toshiba and NOT

Re: IRQ handler type mismatch for IRQ 7

2007-06-11 Thread Vegard Nossum
On 6/11/07, Ingo Molnar <[EMAIL PROTECTED]> wrote: so both parport and serial is on the same IRQ: #7, but the parport one does not support shared interrupt lines (IRQF_SHARED). You can probably change the mapping in the BIOS (change the serial one to say IRQ#3 or IRQ#4). I suspect you dont have

API changes / 2.6.21 sysctl changes

2007-06-11 Thread Bernd Schubert
Hi, in 2.6.21 register_sysctl_table(), struct ctl_table and probably something else did change. Unfortunately so far I didn't figure out the "something else". Please, if generic interface modifications render all available documentation in the web invalid, is it so hard to also write kernel

Re: IRQ handler type mismatch for IRQ 7

2007-06-11 Thread Ingo Molnar
* Vegard Nossum <[EMAIL PROTECTED]> wrote: > I receive this on a fresh install of Fedora 7 (x86_64) running > 2.6.21-1.3194.fc7, and wonder if it's something to worry about: > > IRQ handler type mismatch for IRQ 7 > current handler: parport0 > [] request_irq+0xd7/0xfd > []

Re: [RESENT][TRIVIAL][PATCH] SELinux: Use %lu for inode->i_no when printing avcs

2007-06-11 Thread James Morris
On Mon, 11 Jun 2007, Tobias Oed wrote: > Resending this to a wider audience since the first attempt was mangled > and I haven't heard anything in a week. > > Inode numbers are unsigned long and so need to %lu as format string of > printf. I have no idea why the __attribute__((format,..)) of >

IRQ handler type mismatch for IRQ 7

2007-06-11 Thread Vegard Nossum
Hello, I receive this on a fresh install of Fedora 7 (x86_64) running 2.6.21-1.3194.fc7, and wonder if it's something to worry about: IRQ handler type mismatch for IRQ 7 current handler: parport0 Call Trace: [] setup_irq+0x1ba/0x1d5 [] serial8250_interrupt+0x0/0xf4 [] request_irq+0xd7/0xfd []

Re: [patch 4/9] lguest: the asm offsets

2007-06-11 Thread Sam Ravnborg
On Mon, Jun 11, 2007 at 02:49:32PM +0200, Oleg Verych wrote: > * Date: Thu, 10 May 2007 10:09:39 +1000 > > > > On Wed, 2007-05-09 at 22:46 +0200, Sam Ravnborg wrote: > >> On Wed, May 09, 2007 at 02:51:36AM -0700, [EMAIL PROTECTED] wrote: > >> > From: Rusty Russell <[EMAIL PROTECTED]> > >> > > >>

[Documentation] laptop-mode

2007-06-11 Thread Renato S. Yamane
Hi for all! in linux-2.6.21.1/Documentation/laptop-mode.txt we see this link: But it not exist. And this too: "...which is located in /etc/default/laptop-mode on Debian-based systems..." But in Debian Etch correct is:

[GIT PULL] Blackfin patches for 2.6.22-rc4

2007-06-11 Thread Bryan Wu
Blackfin architecture update patches, fixed some bugs and added support for latest BF54x. Blackfin serial, SPI, SMC91x watchdog drivers update. Please pull from 'master' branch of master.kernel.org:/pub/scm/linux/kernel/git/cooloney/blackfin-2.6.git master Thanks a lot -Bryan Wu Aubrey Li (2):

Re: [patch 4/9] lguest: the asm offsets

2007-06-11 Thread Oleg Verych
* Date: Thu, 10 May 2007 10:09:39 +1000 > > On Wed, 2007-05-09 at 22:46 +0200, Sam Ravnborg wrote: >> On Wed, May 09, 2007 at 02:51:36AM -0700, [EMAIL PROTECTED] wrote: >> > From: Rusty Russell <[EMAIL PROTECTED]> >> > >> > This is the structure offsets required by lg.ko's switcher.S. >> > >> >

Re: 2.6.22-rc regression: s2ram fails to suspend + fails to resume w/ Xorg

2007-06-11 Thread Stefan Seyfried
On Sun, Jun 10, 2007 at 06:44:07PM +0200, Soeren Sonnenburg wrote: > Dear all, > > I noticed 2 regressions to 2.6.21.X on my macbook pro: > > 1. on git-current something broke s2ram completely, i.e. s2ram does not > even suspend anymore but hangs (blinking cursor on console) I have had a

Re: [KJ] Re: [PATCH] drivers/isdn/hisax: ARRAY_SIZE instead of sizeof

2007-06-11 Thread Darren Jenkins
G'day Andi, On 6/11/07, Andi Drebes <[EMAIL PROTECTED]> wrote: > I'd suggest to not use another define, but use ARRAY_SIZE(foo) > _instead of_ eg. FNCOUNT. I thought of this, too, but I tried to keep things consistent. Let me explain that a little bit more in detail. If you have a look at the

Re: [RFC] [Patch 4/4] lock contention tracking slimmed down

2007-06-11 Thread Martin Peschke
Peter Zijlstra wrote: On Wed, 2007-06-06 at 23:34 +0200, Martin Peschke wrote: +#ifdef CONFIG_LOCK_STAT +enum lock_stat_enum { + LOCK_STAT_CONT, + LOCK_STAT_WAIT_READ, + LOCK_STAT_WAIT_WRITE, + LOCK_STAT_HOLD_READ, + LOCK_STAT_HOLD_WRITE, + _LOCK_STAT_NUMBER

fix oops on cat /dev/snapshot

2007-06-11 Thread Pavel Machek
What /dev/snapshot is simply cat-ed -- without ioctls used in normal operation -- it oopses. This one should fix it. Signed-off-by: Pavel Machek <[EMAIL PROTECTED]> --- clean-mm/kernel/power/user.c2007-06-09 16:18:12.0 +0200 +++ linux-mm/kernel/power/user.c2007-06-11

USB remote control missing keycodes

2007-06-11 Thread Islam Amer
Hello all. I have a remote control device, with an IR transciever that plugs into a USB port and registers as an input device. All the buttons on the remote work fine except for the back , text , and three grey buttons at the top. Here is the relevant /proc/bus/input/devices entry : I:

Re: ext2 on flash memory

2007-06-11 Thread Tomasz Chmielewski
Eduard-Gabriel Munteanu wrote: (...) Your USB pendrive will wear faster if you use an inappropriate filesystem. Such filesystems require frequent writes and change their internal state often. This could be alleviated by COWing the filesystem somehow and flushing writes when you're

Re: Kernel BUG when using corrupted ext3 fs

2007-06-11 Thread Jan Kara
Hello, > I had to hard shutdown a fc6 machine due to vmware and nvidia doing > ridiculous things to my screen resolution and locking up. ugh. > Anyway, upon reboot it recovers the journal and mounts / rw fine. > Then rc.sysinit tries to delete various things from /tmp (.ICE-unix, > .font

Re: [RFD] Documentation/HOWTO translated into Japanese

2007-06-11 Thread Rene Herman
On 06/11/2007 01:28 PM, KAMEZAWA Hiroyuki wrote: Rene Herman <[EMAIL PROTECTED]> wrote: Please don't say that -- I perfectly understood what you were saying and as such it was of perfect use. There's a large number of non-native English speakers around the Linux kernel and noone is expected

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

2007-06-11 Thread Sean
On Mon, 11 Jun 2007 02:33:30 -0700 (PDT) [EMAIL PROTECTED] wrote: > Ok, you are proposing throwing out all the label handling that SELinux > does, including any caching. forgive me if I agree with the SELinux people > that this is a very bad idea. Well presumably AA would be doing caching

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

2007-06-11 Thread Tarkan Erimer
Ingo Molnar wrote: * Tarkan Erimer <[EMAIL PROTECTED]> wrote: (*) And I've been pushing for that since before they even released it - I walked out on Bill Joy at a private event where they discussed their horrible previous Java license. Thanks for making things more clear :-) Some

Re: [RFD] Documentation/HOWTO translated into Japanese

2007-06-11 Thread KAMEZAWA Hiroyuki
On Mon, 11 Jun 2007 13:16:56 +0200 Rene Herman <[EMAIL PROTECTED]> wrote: > > Oh, sorry. I know I have language problem for years. > > My doc itself is of-no-use, I know. They will write their own by themselves. > > Please don't say that -- I perfectly understood what you were saying and as >

Re: [RFC] [Patch 4/4] lock contention tracking slimmed down

2007-06-11 Thread Martin Peschke
Bill Huey (hui) wrote: > However, I don't understand why all of this > is so heavy weight when the current measurements that Peter makes is > completely sufficient for any reasonable purpose I can think of at the > moment. It wasn't meant to be or to stay heavy weight. To make the best of my

Re: [RFD] Documentation/HOWTO translated into Japanese

2007-06-11 Thread Rene Herman
On 06/11/2007 12:46 PM, KAMEZAWA Hiroyuki wrote: "Qi Yong" <[EMAIL PROTECTED]> wrote: On 11/06/07, KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> wrote: Hi, thank you for your work. I was impressed. BTW, how about adding following lines (both in Japanese and English) ? == This is translated "HOWTO"

Re: [PATCH]: complete cleanup of check_region

2007-06-11 Thread Jesper Juhl
On 08/06/07, Surya <[EMAIL PROTECTED]> wrote: > > msg(DBG_INI,"check_drives done.\n"); > > + if(request_region_flag==0) > > + release_region(addr[1],4); > > I know the driver in its current version just tests if the region is > available and

Re: How to get an IDE Hard Reset, not a Soft Reset?

2007-06-11 Thread Ralph Corderoy
Hi Ondrej, Ondrej Zary wrote: > Ralph Corderoy wrote: > > As I understand it, an IDE hard drive can be reset in three ways. A > > power-on reset, a hard reset caused by pin 1 (RESET-) on the IDE > > connector, and a soft reset (bit SRST in the device control > > register). RESET- is held low

Re: ext3fs: umount+sync not enough to guarantee metadata-on-disk

2007-06-11 Thread Jan Kara
> Andrew Morton wrote: > >On Thu, 07 Jun 2007 12:11:58 -0400 > >Chuck Ebbert <[EMAIL PROTECTED]> wrote: > > > >>On 06/07/2007 11:41 AM, Andrew Morton wrote: > mount /var/lib/mythtv -oremount,ro > sync > umount /var/lib/mythtv > >>>Did this succeed? If the application is still

Re: ide0=noprobe, hda=noprobe, hda=none ignored?

2007-06-11 Thread Alexander E. Patrakov
Carlo Wood wrote: I've been trying for months to get my box to boot faster by ignoring the not connected hda/hdb (ide0). ansset:~>dmesg | egrep '(noprobe|ide0|hda|hdb)' Kernel command line: root=/dev/hde3 ro ide0=noprobe ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:pio, hdb:pio

Re: ext2 on flash memory

2007-06-11 Thread Eduard-Gabriel Munteanu
*This message was transferred with a trial version of CommuniGate(r) Pro* DervishD wrote: *This message was transferred with a trial version of CommuniGate(r) Pro* *This message was transferred with a trial version of CommuniGate(r) Pro* Hi all :) I was wondering: is there any reason

Re: [PATCH 2/3] [CRYPTO] Add optimized SHA-1 implementation for i486+

2007-06-11 Thread Andi Kleen
Matt Mackall <[EMAIL PROTECTED]> writes: > > Have you benchmarked this against lib/sha1.c? Please post the results. > Until then, I'm frankly skeptical that your unrolled version is faster > because when I introduced lib/sha1.c the rolled version therein won by > a significant margin and had

Re: ext3fs: umount+sync not enough to guarantee metadata-on-disk

2007-06-11 Thread Jan Kara
> Chuck Ebbert wrote: > >On 06/07/2007 11:41 AM, Andrew Morton wrote: > >>> mount /var/lib/mythtv -oremount,ro > >>> sync > >>> umount /var/lib/mythtv > >>Did this succeed? If the application is still truncating that file, the > >>umount should have failed. > > > >Shouldn't sync should wait

Re: [PATCH 3/3] [CRYPTO] Add optimized SHA-1 implementation for x86_64

2007-06-11 Thread Andi Kleen
Benjamin Gilbert <[EMAIL PROTECTED]> writes: > +/* push/pop wrappers that update the DWARF unwind table */ > +#define PUSH(regname)\ > + push%regname; \ > + CFI_ADJUST_CFA_OFFSET 8;

[RESENT][TRIVIAL][PATCH] SELinux: Use %lu for inode->i_no when printing avcs

2007-06-11 Thread Tobias Oed
Resending this to a wider audience since the first attempt was mangled and I haven't heard anything in a week. Inode numbers are unsigned long and so need to %lu as format string of printf. I have no idea why the __attribute__((format,..)) of audit_log_format doesn't give us a warning. Compile

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

2007-06-11 Thread Pavel Machek
Hi! > ACPI should have taught everyone that sometimes putting an interpreter in > the kernel really is the best option. looking at the problems of bouncing > back out to userspace for file creation and renames it looks like a regex > in the kernel is a lot safer and more reliable. What do

Re: PROBLEM: system clock slow on Athlon AMD64 since 2.6.21

2007-06-11 Thread Gerard H. Pille
From: Robert Hancock <[EMAIL PROTECTED]> To: Mikael Pettersson <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED], linux-kernel@vger.kernel.org Subject: Re: PROBLEM: system clock slow on Athlon AMD64 since 2.6.21 Date: Sun, 10 Jun 2007 12:02:00 -0600 Mikael Pettersson wrote: On Fri, 08 Jun 2007

Re: [RFD] Documentation/HOWTO translated into Japanese

2007-06-11 Thread KAMEZAWA Hiroyuki
On Mon, 11 Jun 2007 18:21:30 +0800 "Qi Yong" <[EMAIL PROTECTED]> wrote: > On 11/06/07, KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> wrote: > > > > Hi, thank you for your work. I was impressed. > > > > BTW, how about adding following lines (both in Japanese and English) ? > > == > > This is translated

[PATCH] Fix possible leakage of blocks in UDF (try 2)

2007-06-11 Thread Jan Kara
Hi Andrew, attached is a new version of the patch fixing possible leakage of preallocated blocks. This time it has survived also testing Eric gave it without any deadlock or assertion failures so hopefully it's less wrong than the previous one.. ;) Please apply, thanks.

Re: [RFC] [Patch 4/4] lock contention tracking slimmed down

2007-06-11 Thread Martin Peschke
Peter Zijlstra wrote: On Fri, 2007-06-08 at 19:37 +0200, Martin Peschke wrote: Peter Zijlstra wrote: On Fri, 2007-06-08 at 19:18 +0200, Martin Peschke wrote: Peter Zijlstra wrote: On Fri, 2007-06-08 at 19:00 +0200, Martin Peschke wrote: Peter Zijlstra wrote: I'm confused as to where the

Re: [PATCH 1/1] UML: fix missing non-blocking I/O, now DEBUG_SHIRQ works

2007-06-11 Thread Eduard-Gabriel Munteanu
*This message was transferred with a trial version of CommuniGate(r) Pro* Eduard-Gabriel Munteanu wrote: The patch was written and tested on Linux 2.6.22-rc2-mm1. Also tested on git. I forgot to tell you the diff is done against git (it was made on that -mm, diffed, applied to git and then

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

2007-06-11 Thread Bron Gondwana
On Mon, Jun 11, 2007 at 11:03:48AM +0200, Ingo Molnar wrote: > > * Tarkan Erimer <[EMAIL PROTECTED]> wrote: > > > > (*) And I've been pushing for that since before they even released > > > it - I walked out on Bill Joy at a private event where they > > > discussed their horrible previous Java

Re: [RFD] Documentation/HOWTO translated into Japanese

2007-06-11 Thread Qi Yong
On 11/06/07, KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> wrote: Hi, thank you for your work. I was impressed. BTW, how about adding following lines (both in Japanese and English) ? == This is translated "HOWTO" documentation. Original "HOWTO" is maintaind by Greg Kroah-Hartman <[EMAIL PROTECTED]>

Re: [PATCHSET 2.6.22-rc4] sysfs: fix race conditions

2007-06-11 Thread Eduard-Gabriel Munteanu
*This message was transferred with a trial version of CommuniGate(r) Pro* Tejun Heo wrote: Dude, what are you smoking and can I get some? The attached patch is to trigger the race conditions more easily for verification. Actual fixes are in the three patches posted as reply to the head

Re: [PATCH -mm 2/2] user namespace : add unshare

2007-06-11 Thread Cedric Le Goater
Andrew Morton wrote: > On Fri, 08 Jun 2007 17:14:12 +0200 > Cedric Le Goater <[EMAIL PROTECTED]> wrote: > >> Changelog: Fix !CONFIG_USER_NS clone with CLONE_NEWUSER so it returns -EINVAL >> rather than 0, so that userspace knows they didn't get a new user >> namespace. > > This

Re: [PATCH] UDF: fix deadlock on inode being dropped

2007-06-11 Thread Jan Kara
On Sat 09-06-07 17:35:36, Cyrill Gorcunov wrote: > [Jan Kara - Thu, Jun 07, 2007 at 04:41:21PM +0200] > | On Thu 07-06-07 17:54:58, Cyrill Gorcunov wrote: > | > [Jan Kara - Thu, Jun 07, 2007 at 11:36:07AM +0200] > | > | Hi Cyrill! > | > | > | > | On Wed 06-06-07 21:53:51, Cyrill Gorcunov wrote:

Re: [PATCHSET 2.6.22-rc4] sysfs: fix race conditions

2007-06-11 Thread Tejun Heo
Eduard-Gabriel Munteanu wrote: > *This message was transferred with a trial version of CommuniGate(r) Pro* > Tejun Heo wrote: > >> This patchset contains three minimal backports of fixes in -mm. With >> all patches in the patchset and sysfs-races.patch applied, kernel >> survived ~20 hours of

Re: [PATCH] fix race in AF_UNIX

2007-06-11 Thread Miklos Szeredi
[CC'd Al Viro and Alan Cox, restored patch] > > There are races involving the garbage collector, that can throw away > > perfectly good packets with AF_UNIX sockets in them. > > > > The problems arise when a socket goes from installed to in-flight or > > vice versa during garbage collection.

Re: [PATCHSET 2.6.22-rc4] sysfs: fix race conditions

2007-06-11 Thread Eduard-Gabriel Munteanu
*This message was transferred with a trial version of CommuniGate(r) Pro* Tejun Heo wrote: This patchset contains three minimal backports of fixes in -mm. With all patches in the patchset and sysfs-races.patch applied, kernel survived ~20 hours of stress test without any problem. Seriously,

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

2007-06-11 Thread Tim Post
On Sun, 2007-06-10 at 11:49 +0300, Tarkan Erimer wrote: > > So, does it mean we can change the license of the dead people's code ? > Please realize that one doesn't need to be dead to become uncommunicative incapacitated or vanish. The only need to be somewhere other than where they were

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

2007-06-11 Thread david
On Mon, 11 Jun 2007, Sean wrote: [EMAIL PROTECTED] wrote: say that we give each file a unique label, and for simplicity we set the label == path (note that this raises the issue, what will SELinux do when there are multiple paths to the same file) So don't do that then. now say that you

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

2007-06-11 Thread Alan Cox
> Now yes, they didn't consult with the individual owners of the kernel, > who might hold different views as to if v2 covers keys like you have > stated in the past, but the FSF's position in this area does hold some > ammount of weight, especially in court if it were to come to that. The authors

Re: kconfig .po files in kernel tree? [Was: Documentation/HOWTO translated into Japanese]

2007-06-11 Thread Rene Herman
On 06/11/2007 02:14 AM, Adrian Bunk wrote: On Mon, Jun 11, 2007 at 01:59:00AM +0200, Denis Vlasenko wrote: I agree. i18n efforts won't help one iota because people just have to know English in order to participate in l-k development. They should be able to read _and_ reply_ to lkml posts,

[PATCH] pata_it821x: (partially) fix DMA in RAID mode

2007-06-11 Thread Bartlomiej Zolnierkiewicz
Code intended to check DMA status was checking DMA command register. Moreover firmware seems to "forget" to set DMA capable bit for the slave device (at least in RAID mode but without ITE RAID volumes) so check device ID for DMA capable bit when deciding whether to use DMA and remove DMA status

Re: [PATCH] pata_it821x: (partially) fix DMA in RAID mode

2007-06-11 Thread Bartlomiej Zolnierkiewicz
On Monday 11 June 2007, Jeff Garzik wrote: > Bartlomiej Zolnierkiewicz wrote: > > Code intended to check DMA status was checking DMA command register. > > > > Moreover firmware seems to "forget" to set DMA capable bit for the > > slave device (at least in RAID mode but without ITE RAID volumes)

Re: Bad behaviour after hdparm -M 128

2007-06-11 Thread Tino Keitel
On Thu, Jun 07, 2007 at 22:50:04 -0300, Henrique de Moraes Holschuh wrote: [...] > I just tracked it down to hdparm. Version 6.9 (the one in Debian stable) > doesn't work right with libata. Version 7.5 (the one in Debian unstable) > works fine. > > So, at least in my side, there are *no*

Re: [PATCH] drivers/isdn/hisax: ARRAY_SIZE instead of sizeof

2007-06-11 Thread Andi Drebes
> > > --- a/drivers/isdn/hisax/callc.c > > > +++ b/drivers/isdn/hisax/callc.c > > > @@ -834,7 +834,7 @@ static struct FsmNode fnlist[] __initdata = > > > }; > > > /* *INDENT-ON* */ > > > > > > -#define FNCOUNT (sizeof(fnlist)/sizeof(struct FsmNode)) > > > +#define FNCOUNT ARRAY_SIZE(fnlist) >

ext2 on flash memory

2007-06-11 Thread DervishD
Hi all :) I was wondering: is there any reason not to use ext2 on an USB pendrive? Really my question is not only about USB pendrives, but any device whose storage is flash based. Let's assume that the device has a good quality flash memory with wear leveling and the like... Thanks a

Re: kconfig .po files in kernel tree? [Was: Documentation/HOWTO translated into Japanese]

2007-06-11 Thread Rene Herman
On 06/11/2007 02:56 AM, Paul Mundt wrote: On Mon, Jun 11, 2007 at 01:59:00AM +0200, Denis Vlasenko wrote: I agree. i18n efforts won't help one iota because people just have to know English in order to participate in l-k development. That's a ridiculous statement. Non-native language

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

2007-06-11 Thread Ingo Molnar
* Tarkan Erimer <[EMAIL PROTECTED]> wrote: > > (*) And I've been pushing for that since before they even released > > it - I walked out on Bill Joy at a private event where they > > discussed their horrible previous Java license. > > Thanks for making things more clear :-) Some really strong

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

2007-06-11 Thread Tarkan Erimer
Ingo Molnar wrote: You might as well have said "the moon is made out of cheese" and i'd not have quoted it either. Why? Because it's irrelevant to the fundamental point that was raised and which you keep ignoring: that the only "example" you cited is a hypothetical that is currently false. In

Re: [patch-mm 19/23] x86_64: Convert to cleckevents

2007-06-11 Thread Thomas Gleixner
On Mon, 2007-06-11 at 10:47 +0200, Sébastien Dugué wrote: > Hi Thomas, > > On Sun, 10 Jun 2007 09:44:18 - Thomas Gleixner <[EMAIL PROTECTED]> wrote: > > > Convert x86_64 to the clockevents code. Share code with i386 for > > hpet and PIT. > > > > Build and whitespace fixups from: > > Venki

Re: beeping patch for debugging acpi sleep

2007-06-11 Thread Stefan Seyfried
On Sat, Jun 09, 2007 at 03:08:17PM +0200, Pavel Machek wrote: How about (WARNING! I never have written i386 assembly, my last assembly experience was 20 years ago on Z80, so this is basically just copy'n paste, but i hope you get the idea): > --- a/arch/i386/kernel/acpi/wakeup.S > +++

Re: [patch-mm 19/23] x86_64: Convert to cleckevents

2007-06-11 Thread Sébastien Dugué
Hi Thomas, On Sun, 10 Jun 2007 09:44:18 - Thomas Gleixner <[EMAIL PROTECTED]> wrote: > Convert x86_64 to the clockevents code. Share code with i386 for > hpet and PIT. > > Build and whitespace fixups from: > Venki Pallipadi <[EMAIL PROTECTED]> > and > Chris Wright <[EMAIL PROTECTED]>

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

2007-06-11 Thread Ingo Molnar
* Tarkan Erimer <[EMAIL PROTECTED]> wrote: > Ingo Molnar wrote: > >* Tarkan Erimer <[EMAIL PROTECTED]> wrote: > > > > > >>[...] Just, I asked simple question and included a simple example in > >>it. [...] > >> > > > >actually, what you said was this: > > > >" I hope we should upgrade to

Re: [RFD] Documentation/HOWTO translated into Japanese

2007-06-11 Thread Hiro Yoshioka
Hi, Shibata san's contribution was really great. I was impressed too. I think the important point is that Shibata san let the linux kernel community knows the translation work has been done and ask the feedback. I think this two way communication is very important. On 6/11/07, Greg KH <[EMAIL

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

2007-06-11 Thread Tarkan Erimer
Linus Torvalds wrote: On Sun, 10 Jun 2007, Linus Torvalds wrote: I have yet to see any actual *reasons* for licensing under the GPLv3, though. Btw, if Sun really _is_ going to release OpenSolaris under GPLv3, that _may_ be a good reason. I don't think the GPLv3 is as good a license

Re: kconfig .po files in kernel tree? [Was: Documentation/HOWTO translated into Japanese]

2007-06-11 Thread Paul Mundt
On Mon, Jun 11, 2007 at 09:46:11AM +0200, Denis Vlasenko wrote: > On Monday 11 June 2007 02:56, Paul Mundt wrote: > > That's a ridiculous statement. Non-native language abilities and > > technical competence have very little to do with each other. People have > > to understand the code and figure

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

2007-06-11 Thread Tarkan Erimer
Ingo Molnar wrote: * Tarkan Erimer <[EMAIL PROTECTED]> wrote: [...] Just, I asked simple question and included a simple example in it. [...] actually, what you said was this: " I hope we should upgrade to GPLv3 and Sun should "Dual License" the OpenSolaris via GPLv3 (or at

<    1   2   3   4   5   6   7   8   9   >