IT8212/ITE RAID

2005-08-13 Thread CaT
Having an IDE card with one of these chipsets has left me with a bit of a quandry. I've seen 2 different patch, both seemingly not going anywhere. 1. Alan Cox's IDE driver that was included in his ac patchset, which seems to have died at 2.6.11ac7. 2. A brief visit from a SCSI IDE driver in

Re: [ck] [PATCH] dynamic-tick patch modified for SMP

2005-08-13 Thread Kyle Moffett
On Aug 13, 2005, at 20:18:28, Con Kolivas wrote: It does seems there are some timing issues with this patch, although it is also quite stable (up for 10 hours now). I've had a few interesting messages in my syslog suggesting problems: Hangcheck: hangcheck value past margin! and then later on

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread James Cloos
> "Alan" == Alan Cox <[EMAIL PROTECTED]> writes: Alan> The command line console mappings may not include them by Alan> default (you can obviously add them if your keyboard lacks Alan> them). The X keyboard however does include compose functionality Alan> for » and « and many other symbols

lockmeter: fix lock counter roll over issue

2005-08-13 Thread Xuekun Hu
When I collected lockmeter data for a longer duration, sometimes the locks counter could roll over. I'm sure someone else maybe meet the same situation. So I wrote the below patch, could you have a look? diff -Nraup linux/include/linux/lockmeter.h linux.lockmeter/include/linux/lockmeter.h ---

SELinux policies, memory protections

2005-08-13 Thread John Richard Moser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I was writing a section of my paper ("Designing a Secure and Friendly Operating System") and basically describing and explaining why the memory protection policy ("mprotect() restrictions") supplied by PaX is a powerful security tool; and I had a

Re: Problem with usb-storage and /dev/sd?

2005-08-13 Thread Pete Zaitcev
On Sat, 13 Aug 2005 12:06:16 +0200 (CEST), Bodo Eggert <[EMAIL PROTECTED]> wrote: > On Fri, 12 Aug 2005, Pete Zaitcev wrote: > > On Fri, 12 Aug 2005 12:49:28 +0200, Bodo Eggert <[EMAIL PROTECTED]> wrote: > > > > > Which label will a random USB stick have? > > > > GUID, I presume. > > A global

Re: [PATCH] Watchdog device node name unification

2005-08-13 Thread Chris Wedgwood
On Sun, Aug 14, 2005 at 01:43:22AM +0200, Olaf Hering wrote: > It is used for /class/misc/$name/dev Ick. I would almost suggest we change that were it not too late. I think keeping the decription is useful and desirable. - To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: 2.6.13-rc6-git5 : PCI mem resource alloc failure == PCMCIA Busted

2005-08-13 Thread Parag Warudkar
On Sat, 2005-08-13 at 21:27 -0400, Parag Warudkar wrote: > With 2.6.13-rc6-git5 I started getting the below errors. Despite of the > errors everything works fine. (only problem is that I have to > disconnect /reconnect the usb mouse for it to get detected..) Another problem is that PCMCIA is

[RFT][PATCH 2.6.13-rc] EDD: edd=skipmbr necessity fix

2005-08-13 Thread Matt Domsch
This is a request for testers, specifically people whose i386 or x86_64 systems won't boot properly if CONFIG_EDD=[ym] without the use of edd=skipmbr. If you're currently using edd=skipmbr, I'd really appreciate knowing about it, and your results of booting with this patch. This patch uses an

Re: IDE CD problems in 2.6.13rc6

2005-08-13 Thread Con Kolivas
On Sun, 14 Aug 2005 10:26, Con Kolivas wrote: > On Sun, 14 Aug 2005 09:29, Dave Jones wrote: > > I've noticed this week whilst trying to encode a bunch > > of audio CDs to oggs that my boxes running the latest > > kernels are having serious issues, whereas 2.6.12 seems > > to cope just fine. > > >

Re: IDE CD problems in 2.6.13rc6

2005-08-13 Thread Con Kolivas
On Sun, 14 Aug 2005 09:29, Dave Jones wrote: > I've noticed this week whilst trying to encode a bunch > of audio CDs to oggs that my boxes running the latest > kernels are having serious issues, whereas 2.6.12 seems > to cope just fine. > > The symptoms vary. On some of my machines just inserting

Re: [patch] Real-Time Preemption, -RT-2.6.13-rc4-V0.7.53-01, High Resolution Timers & RCU-tasklist features

2005-08-13 Thread Ingo Molnar
* George Anzinger wrote: > Ingo, all > > I, silly person that I am, configured an RT, SMP, PREEMPT_DEBUG system. > Someone put code in the NMI path to modify the preempt count which, > often as not will generate a PREEMPT_DEBUG message as there is no tell > what state the preempt count is

Re: [ck] [PATCH] dynamic-tick patch modified for SMP

2005-08-13 Thread Con Kolivas
On Sun, 14 Aug 2005 02:46, Srivatsa Vaddagiri wrote: > On Sun, Aug 14, 2005 at 12:53:20AM +1000, Con Kolivas wrote: > > Indeed this fixes it on my P4 so that it does skip ticks. However > > presumably due to the code change I am having the reverse behaviour from > > previously - it pauses for ages

Re: [uml-devel] Re: [RFC] [patch 0/39] remap_file_pages protection support, try 2

2005-08-13 Thread Ingo Molnar
* David S. Miller <[EMAIL PROTECTED]> wrote: > From: Blaisorblade <[EMAIL PROTECTED]> > Date: Fri, 12 Aug 2005 20:56:11 +0200 > > > However, I sent the initial tarball containing all them, so I hope > > that will be useful. > > So not only did you spam the list with 40 patch postings, you sent

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread Lee Revell
On Sat, 2005-08-13 at 21:19 -0400, Kyle Moffett wrote: > And those of us who are Mac OS X oriented have patched our console and > X keycodes to match the mac way of generating symbols: > > Alt-\= « > Alt-Shift-\ = » > Alt-Shift-+ = ± > My point exactly, it's idiotic for Perl6 to use

Re: [RFC] [patch 0/39] remap_file_pages protection support, try 2

2005-08-13 Thread Ingo Molnar
* Blaisorblade <[EMAIL PROTECTED]> wrote: > Ok, I've been working for the past two weeks learning well the Linux > VM, understanding the Ingo's remap_file_pages protection support and > its various weakness (due to lack of time on his part), and splitting > and finishing it. > > Here follow

2.6.13-rc6-git5 : PCI mem resource alloc failure

2005-08-13 Thread Parag Warudkar
With 2.6.13-rc6-git5 I started getting the below errors. Despite of the errors everything works fine. (only problem is that I have to disconnect /reconnect the usb mouse for it to get detected..) [0.00] Allocating PCI resources starting at 6000 (gap: 6000:9ff8) . . . [

Problems with ABNT2 USB keyboards

2005-08-13 Thread Piter PUNK
Hi, I got problems trying to use ABNT2 USB keyboards with the "." key in numeric keypad. The problem only appears in USB keyboards (not in PS/2) and in 2.4 series (not in 2.6). The solution is very simple, and only need to change one line and add other in pc_keyb.c. And, in my

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread Kyle Moffett
On Aug 13, 2005, at 20:57:45, Alan Cox wrote: I have "setxkbmap -symbols 'en_US(pc102)+gb'" in my ~/.xsession, and « and » are available as AltGr-z and AltGr-x respectively. Most keyboards don't have an AltGr key. You must be an American. Most old the worlds keyboards have an AltGr key.

Re: 2.6.12.3 and 2.6.13-rc6 Kernel Oops using ISDN capi (c2faxsend)

2005-08-13 Thread Carsten Menke
Carsten Menke wrote: The same applies using 2.6.13-rc6 but the trace looks a little bit different (the last line). The fax transfer starts but then breaks with this trace in the middle. //Carsten capilib_new_ncci: kcapi: appl 3 ncci 0x10101 up kcapi: appl 3 ncci 0x10101 forced down kcapi:

Re: Slow sync in Interbench: anticipatory starves writes?

2005-08-13 Thread Con Kolivas
On Sun, 14 Aug 2005 09:06, Indan Zupancic wrote: > Hello, Hi. Interesting find. I'm forwarding this on to lkml and Nick so they can peruse your findings and see what needs to be done. Thanks, Con > Short version: > With the anticipatory IO scheduler it's possible to cause extreme long >

Re: [BUG] PLIP: Badness in enable_irq and Oops

2005-08-13 Thread Alan Cox
On Sul, 2005-08-14 at 02:18 +0200, Jiri Slaby wrote: > I founded out, that in plip_error (drivers/plip.c) > ENABLE(dev->irq); > is called by before not calling > DISABLE(dev->irq); > in plip_bh_timeout_error in It used to be valid to call enable/disable

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread Alan Cox
> >I have "setxkbmap -symbols 'en_US(pc102)+gb'" in my ~/.xsession, > > and « and » are available as AltGr-z and AltGr-x respectively. > > Most keyboards don't have an AltGr key. You must be an American. Most old the worlds keyboards have an AltGr key. You'll find that US keyboards have two

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread Alan Cox
On Sad, 2005-08-13 at 14:42 -0400, Lee Revell wrote: > Is Larry smoking crack? That's one of the worst ideas I've heard in a > long time. There's no easy way to enter those at the keyboard! The command line console mappings may not include them by default (you can obviously add them if your

Re: Opening of blocking FIFOs not reliable?

2005-08-13 Thread Alan Cox
On Gwe, 2005-08-12 at 20:18 -0700, Teemu Koponen wrote: > the reader gets scheduled. Shouldn't the writer's open() block until > the reader's open() is done? Not neccessarily - but you are correct that it should lead to the readers open completing and then EOFs being returned. Do you have a

Re: [PATCH] Watchdog device node name unification

2005-08-13 Thread Henrik Brix Andersen
On Sun, 2005-08-14 at 01:43 +0200, Olaf Hering wrote: > On Sun, Aug 14, Christoph Hellwig wrote: > > Please don't. misdevice.name is a description of the device, and doesn't > > have any relation with the name of the device node. > > It is used for /class/misc/$name/dev ... and for

Re: Question about SO_LINGER

2005-08-13 Thread dean gaudet
On Wed, 10 Aug 2005, steve roussey wrote: > socket to shut down. Apache has a workaround called lingering_close() > that tries to address broken SO_LINGER implementations, but it also blocks." apache 1.x is single threaded / forked, so yeah it blocks. the implementation is there because very

[BUG] PLIP: Badness in enable_irq and Oops

2005-08-13 Thread Jiri Slaby
Hello. While I have been using plip (without that, it is ok), this badness appeared several times: Badness in enable_irq at /l/latest/xxx/kernel/irq/manage.c:113 [] dump_stack+0x1e/0x20 [] enable_irq+0x6f/0xce [] plip_error+0xae/0x10c [plip] [] plip_bh+0x4a/0x97 [plip] []

Re: Bug#322487: linux-doc-2.6.12: 00-INDEX: missing items

2005-08-13 Thread Dan Jacobson
Fellows, please note http://bugs.debian.org/322487 . I am not the right person to write content, as I wouldn't know what to write, as I am not a computer pro. Never tampered with kernels, etc. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] Watchdog device node name unification

2005-08-13 Thread Olaf Hering
On Sun, Aug 14, Christoph Hellwig wrote: > On Sat, Aug 13, 2005 at 11:36:55PM +0200, Henrik Brix Andersen wrote: > > Here's a patch for unifying the watchdog device node name > > to /dev/watchdog as expected by most user-space applications. > > > > Please CC: me on replies as I am not

IDE CD problems in 2.6.13rc6

2005-08-13 Thread Dave Jones
I've noticed this week whilst trying to encode a bunch of audio CDs to oggs that my boxes running the latest kernels are having serious issues, whereas 2.6.12 seems to cope just fine. The symptoms vary. On some of my machines just inserting an audio CD makes the box instantly lock up. If I boot

Re: [PATCH] Watchdog device node name unification

2005-08-13 Thread Christoph Hellwig
On Sat, Aug 13, 2005 at 11:36:55PM +0200, Henrik Brix Andersen wrote: > Here's a patch for unifying the watchdog device node name > to /dev/watchdog as expected by most user-space applications. > > Please CC: me on replies as I am not subscribed to LKML. Please don't. misdevice.name is a

Re: [PATCH] Watchdog device node name unification

2005-08-13 Thread Olaf Hering
On Sat, Aug 13, Henrik Brix Andersen wrote: > On Sat, 2005-08-13 at 23:36 +0200, Henrik Brix Andersen wrote: > > Here's a patch for unifying the watchdog device node name > > to /dev/watchdog as expected by most user-space applications. > > > > Please CC: me on replies as I am not subscribed to

Aw: 2.6.13-rc5 -> 2.6.13-rc6: ACPI patches seems break the kernel

2005-08-13 Thread thomas . mey3r
Hello. 2.6.13-rc6-git5 resolves my kernel hang problem. seems to be the undo of the pci.c patch (or the pci quirk patch?) wiht kind regards thomas - Original Nachricht Von: [EMAIL PROTECTED] An: linux-kernel@vger.kernel.org Datum: 10.08.2005 22:34 Betreff: 2.6.13-rc5 ->

Re: Is it possible to control C.O.P

2005-08-13 Thread Guennadi Liakhovetski
On Thu, 11 Aug 2005, Robert Hancock wrote: > Luigi Genoni wrote: > > HI, > > there is a way that the kernel could cope with CPU Overheating Protection? > > > > I am usng a Tyan MPX with Dual AthlonMP, but COP is configured to shutdown > > the system toot early, when the temparature is still low.

Re: Bug in pcmcia-core

2005-08-13 Thread James Courtier-Dutton
Adam Belay wrote: On Thu, Jun 16, 2005 at 11:37:30PM +0100, James Courtier-Dutton wrote: Hi, I have tried conacting the mailing list for the PCMCIA subsystem in Linux, but no-one seems to respond. PCMCIA SUBSYSTEM L: http://lists.infradead.org/mailman/listinfo/linux-pcmcia S:

Re: [PATCH] Watchdog device node name unification

2005-08-13 Thread Henrik Brix Andersen
On Sat, 2005-08-13 at 15:21 -0700, Linus Torvalds wrote: > On Sat, 13 Aug 2005, Henrik Brix Andersen wrote: > > > > The last patch was accidentally against 2.6.12 - this one is against > > 2.6.13-rc6. > > Doesn't seem to be serious enough to be worth it at this late stage in the > 2.6.13 game.

[PATCH] configurable debug info from radeonfb old driver

2005-08-13 Thread Michael Iatrou
Hi, Currently, radeonfb old driver always prints debugging informations. This patch makes debug info reporting configurable. diff -urN linux-2.6.13-rc6/drivers/video/Kconfig linux-2.6.13-rc6.new/drivers/video/Kconfig --- linux-2.6.13-rc6/drivers/video/Kconfig 2005-08-14

Re: [PATCH] Watchdog device node name unification

2005-08-13 Thread Linus Torvalds
On Sat, 13 Aug 2005, Henrik Brix Andersen wrote: > > The last patch was accidentally against 2.6.12 - this one is against > 2.6.13-rc6. Doesn't seem to be serious enough to be worth it at this late stage in the 2.6.13 game. Can you re-send after I do a release? Linus - To

Re: [PATCH 2.6.13-rc6 1/2] New Syscall: get rlimits of any process

2005-08-13 Thread Greg KH
On Fri, Aug 12, 2005 at 07:48:22PM +0200, Wieland Gmeiner wrote: > @@ -294,3 +294,4 @@ ENTRY(sys_call_table) > .long sys_inotify_init > .long sys_inotify_add_watch > .long sys_inotify_rm_watch > +.long sys_getprlimit Please follow the proper kernel coding style when

Re: [PATCH] Watchdog device node name unification

2005-08-13 Thread Henrik Brix Andersen
On Sat, 2005-08-13 at 23:36 +0200, Henrik Brix Andersen wrote: > Here's a patch for unifying the watchdog device node name > to /dev/watchdog as expected by most user-space applications. > > Please CC: me on replies as I am not subscribed to LKML. > > > Signed-off-by: Henrik Brix Andersen

[PATCH] Watchdog device node name unification

2005-08-13 Thread Henrik Brix Andersen
Here's a patch for unifying the watchdog device node name to /dev/watchdog as expected by most user-space applications. Please CC: me on replies as I am not subscribed to LKML. Signed-off-by: Henrik Brix Andersen <[EMAIL PROTECTED]> diff -urp

Re: [PATCH] Convert sigaction to act like other unices

2005-08-13 Thread Andi Kleen
On Sat, Aug 13, 2005 at 10:00:14AM -0400, Steven Rostedt wrote: > On Sat, 2005-08-13 at 14:39 +0200, Andi Kleen wrote: > > On Fri, Aug 12, 2005 at 10:40:02PM -0400, Steven Rostedt wroqte: > > > Here's a patch that converts all architectures to behave like other unix > > > boxes signal handling.

Re: [BUG][2.6.7+(or eariler)] Switching from LCD to external video w/ no external video connected causes deadlock - Regression

2005-08-13 Thread Shawn Starr
We're back to square one, in VT mode the system deadlocks once again when switching between LCD, External video modes. Kernel: 2.6.13-rc5 (merucurial build August 2nd snapshot). Looks like this bug needs to be reopened again :/ Shawn. On November 10, 2004 19:14, Shawn Starr wrote: > As of

Re: [PATCH,RFC] quirks for VIA VT8237 southbridge

2005-08-13 Thread Grant Coady
On Sat, 13 Aug 2005 12:41:33 -0400, Jeff Garzik <[EMAIL PROTECTED]> wrote: >Grant Coady wrote: >> I'm tracking a dataloss on box with this chip, finding it difficult >> to nail a configuration that reliably produces dataloss, sometimes >> only one bit (e.g. 'c' --> 'C') of unpacking kernel

Re: Documenting the VFS

2005-08-13 Thread Steve French
Where can I found an up to date documentation about the VFS interface? There is an ok chapter on filesystems in the O'Reilly Linux Kernel book, and the Linux Device Drivers book (also from O'Reilly) is essential reading. Pay careful attention to fs/libfs.c and the nice small fs fs/ramfs which

Re: Documenting the VFS

2005-08-13 Thread Stephane Wirtel
I believe ( but I am not sure ), there is a recent article (or book) on this subject. > Where can I found an up to date documentation about the VFS interface? Perhaps in Documentation/VFS, > If there is no such document, which is the correct mailing list to > submit my questions at? Is there

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread Lee Revell
On Sat, 2005-08-13 at 19:49 +0100, Hugo Mills wrote: > On Sat, Aug 13, 2005 at 02:42:52PM -0400, Lee Revell wrote: > > On Sat, 2005-08-13 at 09:35 -0700, Stephen Pollei wrote: > > > Thats great for the perl6 people. > > > http://dev.perl.org/perl6/doc/design/syn/S03.html says they are going > > >

Re: [PATCH] cpm_uart: Fix spinlock initialization

2005-08-13 Thread Russell King
On Fri, Aug 12, 2005 at 08:46:17PM +0100, Russell King wrote: > On Fri, Aug 12, 2005 at 11:32:57AM -0500, Kumar Gala wrote: > > The lack of spin_lock_init causes badness in the preempt configuration. > > Please don't - I have a patch in the wings which fixes this properly. > Unfortunately, its

Documenting the VFS

2005-08-13 Thread Guillermo López Alejos
Hi, I'm writing documentation about the VFS. More concretely, I want to document the following information about the methods defined in the VFS interface (i.e. the struct *_operations): - Prototype. - Description (brief description of what the method has to do). - Description of the

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread Lee Revell
On Sat, 2005-08-13 at 19:49 +0100, Hugo Mills wrote: > On Sat, Aug 13, 2005 at 02:42:52PM -0400, Lee Revell wrote: > > On Sat, 2005-08-13 at 09:35 -0700, Stephen Pollei wrote: > > > Thats great for the perl6 people. > > > http://dev.perl.org/perl6/doc/design/syn/S03.html says they are going > > >

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread Hugo Mills
On Sat, Aug 13, 2005 at 02:42:52PM -0400, Lee Revell wrote: > On Sat, 2005-08-13 at 09:35 -0700, Stephen Pollei wrote: > > Thats great for the perl6 people. > > http://dev.perl.org/perl6/doc/design/syn/S03.html says they are going > > to be using « and » as operators... > > Is Larry smoking

Re: [PATCH] Fix PPC signal handling of NODEFER, should not affect sa_mask

2005-08-13 Thread Marc Ballarin
On Fri, 12 Aug 2005 14:59:49 -0400 (EDT) Steven Rostedt <[EMAIL PROTECTED]> wrote: > On Fri, 12 Aug 2005, Chris Wright wrote: > > * Jan Engelhardt ([EMAIL PROTECTED]) wrote: > > > So, if in doubt what is really meant - check which of the two/three/+ > > > different behaviors the users out there

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread Lee Revell
On Sat, 2005-08-13 at 09:35 -0700, Stephen Pollei wrote: > Thats great for the perl6 people. > http://dev.perl.org/perl6/doc/design/syn/S03.html says they are going > to be using « and » as operators... Is Larry smoking crack? That's one of the worst ideas I've heard in a long time. There's no

Re: via-rhine + link loss + autoneg off == trouble

2005-08-13 Thread Roger Luethi
Jeff, can you tune in for a moment? First of all, many thanks to vda for tracking this down, and to everyone else who helped with it. I had a look at my code and at 8139cp (which is one of only a handful of drivers that have been converted to use the generic MII stuff). Turns out 8139cp doesn't

Re: obsolete modparam change busted.

2005-08-13 Thread Dave Jones
On Tue, Aug 09, 2005 at 02:01:16PM +1000, Rusty Russell wrote: > On Mon, 2005-08-08 at 14:49 -0400, Dave Jones wrote: > > However this change was broken, and if the modprobe.conf > > has trailing whitespace, modules fail to load with the > > following helpful message.. > > Hi Dave, > >

Re: [PATCH] Fix mmap_kmem (was: [question] What's the difference between /dev/kmem and /dev/mem)

2005-08-13 Thread Arjan van de Ven
On Sat, 2005-08-13 at 10:37 -0700, Linus Torvalds wrote: > > On Sat, 13 Aug 2005, Arjan van de Ven wrote: > > > > attached is the same patch but now with Steven's change made as well > > Actually, the more I looked at that mmap_kmem() function, the less I liked > it. Let's get that sucker

[patch] libata passthrough - return register data from HDIO_* commands

2005-08-13 Thread Jon Escombe
Here is a first attempt at a patch to return register data from the libata passthrough HDIO ioctl handlers, I needed this as the ATA 'unload immediate' command returns the success in the lbal register. This patch applies on top of 2.6.12 and Jeffs 2.6.12-git4-passthru1.patch. (Apologies, but

Re: [PATCH] Fix mmap_kmem (was: [question] What's the difference between /dev/kmem and /dev/mem)

2005-08-13 Thread Linus Torvalds
On Sat, 13 Aug 2005, Arjan van de Ven wrote: > > attached is the same patch but now with Steven's change made as well Actually, the more I looked at that mmap_kmem() function, the less I liked it. Let's get that sucker fixed better first. It's still not wonderful, but at least now it tries

Re: [PATCH] Fix mmap_kmem (was: [question] What's the difference between /dev/kmem and /dev/mem)

2005-08-13 Thread Arjan van de Ven
> I believe rootkit detectors, as well as some versions of ps (wchan > field) use kmem. ps doesn't use kmem, and besides, in 2.6 we export that directly in proc. poking in /dev/mem or /dev/kmem is NOT something you "just do". THere are lots of pitfalls, things like PCI space, memory sizes/holes,

Re: [PATCH] Fix mmap_kmem (was: [question] What's the difference between /dev/kmem and /dev/mem)

2005-08-13 Thread Arjan van de Ven
On Sat, 2005-08-13 at 09:56 -0700, Linus Torvalds wrote: > > On Sat, 13 Aug 2005, Arjan van de Ven wrote: > > > > > > So I'd be perfectly happy to fix this, but I'd be even happier if we made > > > the whole kmem thing a config variable (maybe even default it to "off"). > > > > attached is a

sending selected git changesets from middle of set of cloned tree

2005-08-13 Thread Steve French
Is there a way to send to mainline requests to pick up selected changesets from the middle of a git tree (another git tree on kernel.org in this case)? I have two changsets (both one line fixes, but reasonably important ones)

Re: [PATCH] eliminte NMI entry/ exit code

2005-08-13 Thread George Anzinger
Zachary Amsden wrote: George Anzinger wrote: Nick Piggin wrote: George Anzinger wrote: The NMI entry and exit code fiddles with bits in the preempt count. If an NMI happens while some other code is doing the same, bits will be lost. This patch removes this modify code from the NMI path

Re: [PATCH] Fix mmap_kmem (was: [question] What's the difference between /dev/kmem and /dev/mem)

2005-08-13 Thread Joshua Hudson
On 8/13/05, Arjan van de Ven <[EMAIL PROTECTED]> wrote: > On Fri, 2005-08-12 at 09:35 -0700, Linus Torvalds wrote: > > > > On Thu, 11 Aug 2005, Steven Rostedt wrote: > > > > > > Found the problem. It is a bug with mmap_kmem. The order of checks is > > > wrong, so here's the patch. Attached is a

Re: [PATCH] Fix mmap_kmem (was: [question] What's the difference between /dev/kmem and /dev/mem)

2005-08-13 Thread Linus Torvalds
On Sat, 13 Aug 2005, Arjan van de Ven wrote: > > > > So I'd be perfectly happy to fix this, but I'd be even happier if we made > > the whole kmem thing a config variable (maybe even default it to "off"). > > attached is a simple patch that does exactly this... Well, you should have fixed the

Re: [PATCH] Fix mmap_kmem (was: [question] What's the difference between /dev/kmem and /dev/mem)

2005-08-13 Thread Arjan van de Ven
On Fri, 2005-08-12 at 09:35 -0700, Linus Torvalds wrote: > > On Thu, 11 Aug 2005, Steven Rostedt wrote: > > > > Found the problem. It is a bug with mmap_kmem. The order of checks is > > wrong, so here's the patch. Attached is a little program that reads the > > System map looking for the

Re: [ck] [PATCH] dynamic-tick patch modified for SMP

2005-08-13 Thread Srivatsa Vaddagiri
On Sun, Aug 14, 2005 at 12:53:20AM +1000, Con Kolivas wrote: > Indeed this fixes it on my P4 so that it does skip ticks. However presumably > due to the code change I am having the reverse behaviour from previously - it > pauses for ages when using PIT - worse so than previously in that if I

Re: [PATCH,RFC] quirks for VIA VT8237 southbridge

2005-08-13 Thread Jeff Garzik
Grant Coady wrote: I'm tracking a dataloss on box with this chip, finding it difficult to nail a configuration that reliably produces dataloss, sometimes only one bit (e.g. 'c' --> 'C') of unpacking kernel source tree gets changed. I've been watching this thread in the background. Just to

Re: [Patch] Support UTF-8 scripts

2005-08-13 Thread Stephen Pollei
On 8/13/05, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > This patch adds support for UTF-8 signatures (aka BOM, byte order > mark) to binfmt_script. > With such support, creating scripts that reliably carry non-ASCII > characters is simplified. > the approach would naturally extend to Perl to

Re: BSD jail

2005-08-13 Thread Joshua Hudson
On 8/13/05, Serge E. Hallyn <[EMAIL PROTECTED]> wrote: > The latest version (which is still quite old) is at > http://www.sf.net/projects/linuxjail and does have ipv6 support. The last > time I submitted it, Christoph had objected to the way the networking was > done in general. I've tried twice

Re: [PATCH,RFC] quirks for VIA VT8237 southbridge

2005-08-13 Thread Karsten Wiese
Am Samstag, 13. August 2005 18:04 schrieb Grant Coady: > > I'm tracking a dataloss on box with this chip, finding it difficult > to nail a configuration that reliably produces dataloss, sometimes > only one bit (e.g. 'c' --> 'C') of unpacking kernel source tree gets > changed. > > Relevant?

Re: Reusing the slab allocator

2005-08-13 Thread Pekka Enberg
On 8/10/05, Jon Smirl <[EMAIL PROTECTED]> wrote: > We need a memory manager for the VRAM on video cards. The most common > video cards have been 2MB and 512MB memory. Is it possible to reuse > the kernel slab allocator for managing this memory? > > There are a couple of other odd constraints. >

Re: [PATCH,RFC] quirks for VIA VT8237 southbridge

2005-08-13 Thread Grant Coady
On Sat, 13 Aug 2005 17:10:38 +0200, Karsten Wiese <[EMAIL PROTECTED]> wrote: >Hi, > >this fixes the 'doubled ioapic level interrupt rate' issue I've been >seeing on a K8T800/AMD64 mainboard. >It also switches off quirk_via_irq() for the VT8237 southbridge. I'm tracking a dataloss on box with

[PATCH,RFC] quirks for VIA VT8237 southbridge

2005-08-13 Thread Karsten Wiese
Hi, this fixes the 'doubled ioapic level interrupt rate' issue I've been seeing on a K8T800/AMD64 mainboard. It also switches off quirk_via_irq() for the VT8237 southbridge. As both changes are uncritical fixes, I'll post a real patch to -mm in a week or so. Karsten ---

Re: [Alsa-devel] Re: [linux-audio-dev] Re: any update on the pcmcia bug blocking Audigy2 notebook sound card driver development

2005-08-13 Thread James Courtier-Dutton
Anyone wishing to help fix this, please see: http://bugzilla.kernel.org/show_bug.cgi?id=5057 Takashi Iwai wrote: At Tue, 09 Aug 2005 02:54:49 -0400, Lee Revell wrote: [added James to cc:] On Mon, 2005-08-08 at 09:40 -0700, Fernando Lopez-Lezcano wrote: On Sun, 2005-08-07 at 10:43, Andrew

Re: [ck] [PATCH] dynamic-tick patch modified for SMP

2005-08-13 Thread Con Kolivas
On Sat, 13 Aug 2005 21:37, Srivatsa Vaddagiri wrote: > On Sat, Aug 13, 2005 at 04:51:07PM +1000, Con Kolivas wrote: > > I'm sorry to say this doesn't appear to skip any ticks on my single P4 > > with SMP/SMT enabled. > > Con, > I had enabled skipping ticks only in default_idle routine. So if

Re: SiI 3112A + Seagate HDs = still no go?

2005-08-13 Thread Tejun Heo
Chris Boot wrote: Some interesting developments! I installed a fresh copy of Windows, and all the VIA and nVidia and so on drivers. At some point during all this (a period of relatively heavy disk IO), the computer seemed to crash and I rebooted it. It then worked fine for a while, but

Re: BSD jail

2005-08-13 Thread Serge E. Hallyn
Quoting Joshua Hudson ([EMAIL PROTECTED]): > I had been wanting this functionality myself, but for some reason it never > found > its way into the stock kernel. I looked around, started coding, > looked some more, > coded some more, looked some more until I found this: > >

Re: [PATCH] Convert sigaction to act like other unices

2005-08-13 Thread Steven Rostedt
On Sat, 2005-08-13 at 14:39 +0200, Andi Kleen wrote: > Also, what you snipped was another issue, not addressed by the patch. Some architectures test if the setting up of the signal handler stack frame succeeded, and others don't. I believe that this may be a problem, since it was recently

Re: [PATCH] Convert sigaction to act like other unices

2005-08-13 Thread Steven Rostedt
On Sat, 2005-08-13 at 14:39 +0200, Andi Kleen wrote: > On Fri, Aug 12, 2005 at 10:40:02PM -0400, Steven Rostedt wroqte: > > Here's a patch that converts all architectures to behave like other unix > > boxes signal handling. It's funny that I didn't need to change the m68k > > architecture, since

Re: [PATCH] Fix mmap kmem (was: [question] What's the difference between /dev/kmem and /dev/mem)

2005-08-13 Thread Nicolas George
Le quintidi 25 thermidor, an CCXIII, Linus Torvalds a écrit : > We do need to support /dev/mem for X, but even that might go away some > day. If I may interfere, I would like to point another use of /dev/mem: long-running memory tests that do not alter the service much. I have written a small

[rfc][patch] API for timer hooks

2005-08-13 Thread Stas Sergeev
Hello. Right now it seems like the only interface for registering the timer hooks is that one of kernel/profile.c, and it is very limited. The arch-specific timer hooks are provided in an arch-specific headers as a static functions. Since my driver needs the timer hook, I thought it might be a

Redirect kernel console

2005-08-13 Thread Jan Engelhardt
Hi, there is a klogconsole utiltity that allows to change the console to which kernel messages are printed. However, is it possible to redirect to ttyS0 without a reboot? Jan Engelhardt -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] Fix mmap_kmem (was: [question] What's the difference between /dev/kmem and /dev/mem)

2005-08-13 Thread Andi Kleen
> Perfect! So it should be under CONFIG_DEBUG_KERNEL and default to off. > > So you can still debug and we raise the bar higher for rootkits, > if they are the only other user. > > Too simple? If you wanted to recompile your kernel to debug you could as well add printks. But the whole point of

Re: [PATCH] Convert sigaction to act like other unices

2005-08-13 Thread Andi Kleen
On Fri, Aug 12, 2005 at 10:40:02PM -0400, Steven Rostedt wroqte: > Here's a patch that converts all architectures to behave like other unix > boxes signal handling. It's funny that I didn't need to change the m68k > architecture, since it was the only one that already behaves this way! > (the

Re: SiI 3112A + Seagate HDs = still no go?

2005-08-13 Thread Chris Boot
On 13 Aug 2005, at 2:13, Tejun Heo wrote: Hello, Chris. Chris Boot wrote: On 12 Aug 2005, at 15:08, Tejun Heo wrote: [adding cc to Jeff Garzik. (Hi!)] Hi again, Chris. Unfortunately, I'm as lost as you are. Can you please do the followings? * Verify if read is free from the

[Patch] Support UTF-8 scripts

2005-08-13 Thread Martin v. Löwis
This patch adds support for UTF-8 signatures (aka BOM, byte order mark) to binfmt_script. Files that start with EF BF FF # ! are now recognized as scripts (in addition to files starting with # !). With such support, creating scripts that reliably carry non-ASCII characters is simplified. Editors

Re: [ck] [PATCH] dynamic-tick patch modified for SMP

2005-08-13 Thread Srivatsa Vaddagiri
On Sat, Aug 13, 2005 at 04:51:07PM +1000, Con Kolivas wrote: > I'm sorry to say this doesn't appear to skip any ticks on my single P4 with > SMP/SMT enabled. Con, I had enabled skipping ticks only in default_idle routine. So if you have a different idle route (which I suspect is the

Re: BUG: reiserfs+acl+quota deadlock

2005-08-13 Thread Jan Kara
> Tried the attached patch but it changed nothing, I trying to create > a new file as a user whose quota grace time has ran out will still > cause everything accessing the users homedir (the one with the quota) > to hang in D state. > > Also note that the bug I reported only exists when acl is

Re: [PATCH] cpm_uart: Fix spinlock initialization

2005-08-13 Thread Alan Cox
On Gwe, 2005-08-12 at 14:58 -0700, David S. Miller wrote: > I like this a lot, and the count return based error handling > is nice as well. Should a driver sink any bytes that the > TTY flip interface couldn't eat or should it just wait for > the overrun event? Its really driver dependant. A lot

[PATCH] Fix error handling in reiserfs

2005-08-13 Thread Jan Kara
Hi, the patch below fixes oops triggered when user exceeded his inode quota on reiserfs (reiserfs incorrectly thought the inode has been already allocated and tried to free it). Please apply. Honza -- Jan Kara <[EMAIL

Re: Edge triggered epoll with pts devices acts as level triggered

2005-08-13 Thread Heikki Orsila
Adam Langley wrote: >epoll_wait(epoll_fd, events, 4, -1); >write(1, ".", 1); The test case is faulty. write will trigger the event again infinitely. fds 0 and 1 are the same in many cases. Try this: $ ./epolltest > foo Now you will only get 1 trigger for each

Re: starting a user defined daemon at linux startup.

2005-08-13 Thread Jan-Benedict Glaw
On Sat, 2005-08-13 15:42:37 +0530, P.Manohar <[EMAIL PROTECTED]> wrote: > Hai > I want to start a daemon at startup in linux. > I came to know that we need to put a script into /etc/rc.d/init.d/ > similar to sshd or atd. Do we need to write a script to run my daemon? This isn't exactly a Linux

Re: opening linux char device file in user thread.

2005-08-13 Thread P.Manohar
thanks for help, it is working now, I opened the char file before the thread starts. On Thu, 4 Aug 2005, Bhanu Kalyan Chetlapalli wrote: On 8/4/05, P.Manohar <[EMAIL PROTECTED]> wrote: hai, I have written a daemon which is running in user space, will send some data periodically to

Re: Problem with usb-storage and /dev/sd?

2005-08-13 Thread Bodo Eggert
On Fri, 12 Aug 2005, Pete Zaitcev wrote: > On Fri, 12 Aug 2005 12:49:28 +0200, Bodo Eggert <[EMAIL PROTECTED]> wrote: > > > Which label will a random USB stick have? > > GUID, I presume. A global unique ID won't work out to make all USB mass storage devices appear under a common mountpoint,

Re: [PATCH] Fix mmap_kmem (was: [question] What's the difference between /dev/kmem and /dev/mem)

2005-08-13 Thread Ingo Oeser
Hi Andi, On Friday 12 August 2005 18:54, Andi Kleen wrote: > Acessing vmalloc in /dev/mem would be pretty awkward. Yes it doesn't > also work in mmap of /dev/kmem, but at least in read/write. > There are quite a lot of scripts that use it for kernel debugging > like dumping variables. And for

Re: [2.6 patch] remove support for gcc < 3.2

2005-08-13 Thread Jan-Benedict Glaw
On Thu, 2005-08-04 22:38:31 +0200, Adrian Bunk <[EMAIL PROTECTED]> wrote: > On Thu, Aug 04, 2005 at 08:54:47AM +0200, Jan-Benedict Glaw wrote: > > I guess that if you remove -fno-unit-at-a-time from i386 and use a > > current GCC, you'll run into that fun, too. > > What bug exactly?

Re: SATA status report updated

2005-08-13 Thread Erik Slagter
On Fri, 2005-08-12 at 17:30 -0400, Jeff Garzik wrote: > Matthew Garrett wrote: > > Jeff Garzik <[EMAIL PROTECTED]> wrote: > > > >>Things in SATA-land have been moving along recently, so I updated the > >>software status report: > >> > >>http://linux.yyz.us/sata/software-status.html > > > >

Re: [RFC][patch 0/2] mm: remove PageReserved

2005-08-13 Thread Rafael J. Wysocki
On Saturday, 13 of August 2005 01:04, Daniel Phillips wrote: > On Saturday 13 August 2005 08:20, Rafael J. Wysocki wrote: > > On Friday, 12 of August 2005 21:56, Daniel Phillips wrote: > > > I still don't see why you can't lift your flags up into the VMA. The > > > rmap mechanism is there

Re: [ck] [PATCH] dynamic-tick patch modified for SMP

2005-08-13 Thread Con Kolivas
On Sat, 13 Aug 2005 11:35, Con Kolivas wrote: > On Sat, 13 Aug 2005 06:19, Srivatsa Vaddagiri wrote: > > Hi, > > Here's finally the SMP changes that I had promised. The patch > > breaks the earlier restriction that all CPUs have to be idle before > > cutting of timers and now allows each idle

  1   2   3   >