Crash V4L + SATA ?

2005-03-13 Thread Neil Whelchel
Hello, I have ran into a crash that seems to occur when I use my BT848 card along with a Promise TX4 SATA card. (I have not been able to reproduce the crash when I don't use the drives that are attached to the TX4 card.) The BT848 and the TX4 are the only add-on cards attached to the system which

Re: [patch] Real-Time Preemption, -RT-2.6.11-rc3-V0.7.38-01

2005-03-13 Thread Steven Rostedt
On Fri, 11 Mar 2005, Lee Revell wrote: > On Fri, 2005-03-11 at 15:46 -0500, Lee Revell wrote: > > On Fri, 2005-03-11 at 15:39 -0500, Steven Rostedt wrote: > > > I'm leaving now for the weekend, so I won't be able to respond to anyone > > > till Monday. I'll also run this patch over the weekend

cpufreq on-demand governor up_treshold?

2005-03-13 Thread Jan De Luyck
Hello lists, (please cc me from cpufreq list) I've since yesterday started using the ondemand governor. Seems to work fine, tho I can't seem to find a reason why it keeps scaling my processor speed upwards tho the processor use never exceeds 30% (been watching top -d 1). I've been using the

Re: Fw: [CIFS] Add support for updating Windows NT times/dates (part 1)

2005-03-13 Thread Steve French
> > ChangeSet 1.1966.1.22, 2005/01/26 17:30:51-06:00, > > > +/* The following three structures are needed only for > > + setting time to NT4 and some older servers via > > + the primitive DOS time format */ > > typedef struct { > > - __u16 CreationDate; > > - __u16 CreationTime; > > -

Re: [PATCH] break_lock forever broken

2005-03-13 Thread Ingo Molnar
* Hugh Dickins <[EMAIL PROTECTED]> wrote: > @@ -187,6 +187,8 @@ void __lockfunc _##op##_lock(locktype##_ > cpu_relax();\ > preempt_disable(); \ > }

Repeatable IDE Oops for 2.6.11 (ide-scsi vs ide-cdrom)

2005-03-13 Thread Paul
Hi; Here is what I did: # modprobe ide-scsi # cd /proc/ide/hdd (this is a dvdrw drive) # cat driver > ide-cdrom version 4.61 # echo ide-scsi > driver # cat driver > ide-scsi (something--- didnt note exactly, except it was ide-scsi) # echo ide-cdrom > driver The shell is

Re: [CIFS] Add support for updating Windows NT times/dates (part 1)

2005-03-13 Thread Arjan van de Ven
On Wed, 2005-01-26 at 23:30 +, Linux Kernel Mailing List wrote: > ChangeSet 1.1966.1.22, 2005/01/26 17:30:51-06:00, [EMAIL PROTECTED] > > [CIFS] Add support for updating Windows NT times/dates (part 1) > > Signed-off-by: Steve French ([EMAIL PROTECTED]) > > > >

Re: nvidia fb licensing issue.

2005-03-13 Thread Arjan van de Ven
On Sun, 2005-03-13 at 21:03 -0500, Jon Smirl wrote: > All of the files in drivers/char/drm really should have an explicit > dual MIT/GPL license on them too. The DRM project has been taking > patches back into DRM from LKML without making it clear that DRM is > MIT licensed. It might be construed

Re: OSS Audio borked between 2.6.6 and 2.6.10

2005-03-13 Thread Andrew Morton
Greg Stark <[EMAIL PROTECTED]> wrote: > > Andrew Morton <[EMAIL PROTECTED]> writes: > > > The 2.6.6 i810_audio.c compiles OK in current kernels with the below patch > > applied. > > This would be a good time to learn the right way to do this: how do I build a > driver from a kernel tree

Re: OSS Audio borked between 2.6.6 and 2.6.10

2005-03-13 Thread Greg Stark
Andrew Morton <[EMAIL PROTECTED]> writes: > The 2.6.6 i810_audio.c compiles OK in current kernels with the below patch > applied. This would be a good time to learn the right way to do this: how do I build a driver from a kernel tree without building the whole tree? Like, if I copy the 2.6.6

Re: Call for help: list of machines with working S3

2005-03-13 Thread Jan De Luyck
On Monday 14 February 2005 22:11, Pavel Machek wrote: > Hi! > > Stefan provided me initial list of machines where S3 works (including > video). If you have machine that is not on the list, please send me a > diff. If you have eMachines... I'd like you to try playing with > vbetool (it worked for

LUN size limit

2005-03-13 Thread regatta
Hi What is the maximum size of a LUN in 2.4 and in 2.6? Also, is there a limit of the number of LUN's we can mount in a filesystem? -- Best Regards, -*- If Linux doesn't have the solution, you have the wrong problem -*- - To unsubscribe from this list: send the line

Re: OSS Audio borked between 2.6.6 and 2.6.10

2005-03-13 Thread Andrew Morton
Greg Stark <[EMAIL PROTECTED]> wrote: > > Greg Stark <[EMAIL PROTECTED]> writes: > > > Andrew Morton <[EMAIL PROTECTED]> writes: > > > > > Are you able to narrow it down to something more fine grained than > "between > > > 2.6.6 and 2.6.9-rc1"? > > > > Er, I suppose I would have to

Re: User mode drivers: part 1, interrupt handling (patch for 2.6.11)

2005-03-13 Thread Jon Smirl
On Mon, 14 Mar 2005 12:42:27 +1100, Peter Chubb <[EMAIL PROTECTED]> wrote: > > "Jon" == Jon Smirl <[EMAIL PROTECTED]> writes: > > >> The scenario I'm thinking about with these patches are things like > >> low-latency user-level networking between nodes in a cluster, where > >> for good

[PATCH]: linux-2.6.11-uc0 (MMU-less fixups)

2005-03-13 Thread Greg Ungerer
Hi All, An update of the uClinux (MMU-less) fixups against 2.6.11. Most new changes center around the recent nommu changes to keep the mm list as a vma list. Still a bunch of old changes I need to push up stream in this patch too.

Re: OSS Audio borked between 2.6.6 and 2.6.10

2005-03-13 Thread Greg Stark
Greg Stark <[EMAIL PROTECTED]> writes: > Andrew Morton <[EMAIL PROTECTED]> writes: > > > Are you able to narrow it down to something more fine grained than "between > > 2.6.6 and 2.6.9-rc1"? > > Er, I suppose I would have to build some more kernels. Ugh. Is there a good > place to start or do I

Re: [PATCH 2.6.11] IBM TrackPoint support

2005-03-13 Thread Dmitry Torokhov
On Monday 14 March 2005 00:02, Stephen Evanchik wrote: > Here's the latest patch for TracKPoint devices. I have changed the > sysfs filenames to be more descriptive for commonly used attributes. I > also implemented the set_properties flag for initialization. > > It patches against 2.6.11 and

Re: inode_lock heavily contended in 2.6.11

2005-03-13 Thread Andrew Morton
Peter Chubb <[EMAIL PROTECTED]> wrote: > > > When running reaim7 on a 12-way IA64 on an ext2 filesystem on a ram > disc, I see very heavy contention on inode_lock. Yes, that's a big global lock, protecting global resources. I always expected it to hit someone's fan, but it never did. >

Re: More trouble with i386 EFLAGS and ptrace

2005-03-13 Thread Jesse Allen
Roland, Daniel, I was the one that reported the ptrace problems which caused all that hoopla in Nov and Dec. I have tested your new patches and find that there are no new regressions. Jesse - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: BUG: Slowdown on 3000 socket-machines tracked down

2005-03-13 Thread Nick Piggin
On Mon, 2005-03-14 at 05:53 +0100, Christian Schmid wrote: > > The other thing that worries me is your need for lower_zone_protection. > > I think this may be due to unbalanced highmem vs lowmem reclaim. It > > would be interesting to know if those patches I sent you improve this. > > They

[PATCH 2.6.11] IBM TrackPoint support

2005-03-13 Thread Stephen Evanchik
Here's the latest patch for TracKPoint devices. I have changed the sysfs filenames to be more descriptive for commonly used attributes. I also implemented the set_properties flag for initialization. It patches against 2.6.11 and 2.6.11.3 however I have not tested it with 2.6.11.3 . Any comments

Re: [PATCH] break_lock forever broken

2005-03-13 Thread Nick Piggin
On Sat, 2005-03-12 at 23:20 +, Hugh Dickins wrote: > Since cond_resched_lock's spin_lock clears break_lock, no need to clear it > itself; and use need_lockbreak there too, preferring optimizer to #ifdefs. > FWIW, this patch solves the problems I had in mind (and so should solve our

Re: OSS Audio borked between 2.6.6 and 2.6.10

2005-03-13 Thread Andrew Morton
Greg Stark <[EMAIL PROTECTED]> wrote: > > Andrew Morton <[EMAIL PROTECTED]> writes: > > > I would agree with that. If it's in the tree and the config system offers > > it, it should work. And if it _used_ to work, and no longer does so then > > double bad. > > Er, yeah, it's not like this is a

Re: [ACPI] IDE failure on ACPI resume

2005-03-13 Thread Nate Lawson
Matthew Garrett wrote: On resume, an HP nc6220 fails during resuming of the IDE devices. In this section of code from ide-iops.c: stat = hwif->INB(hwif->io_ports[IDE_STATUS_OFFSET]); if ((stat & BUSY_STAT) == 0) return 0; /*

Re: BUG: Slowdown on 3000 socket-machines tracked down

2005-03-13 Thread Christian Schmid
This effect appeared on 1 task and on 200 tasks. I dont know what it is, but with HT off it doesnt appear anymore. The slow-down still appears when lower_zone_protection is set to 0 but the peak at 80 MB disappeared when set to 1024. I am now running at 95 MB/Sec smoothly. OK well that is a

Re: [patch] x86: fix ESP corruption CPU bug

2005-03-13 Thread Stas Sergeev
Hi, Linus Torvalds wrote: Btw, Stas, one thing I'd really like to see is even a partial list of anything that actually cares about this. Ie, if there is some known Windows app where Wine works better or something like that, just adding I am not using Wine too much, but I've found this:

[PATCH] PPC64 Fix kprobes calling smp_processor_id when preemptible

2005-03-13 Thread Paul Mackerras
When booting with kprobes and preemption both enabled and CONFIG_DEBUG_PREEMPT=y, I get lots of warnings about smp_processor_id being called in preemptible code, from kprobe_exceptions_notify. On ppc64, interrupts and preemption are not disabled in the handlers for most synchronous exceptions

Re: OSS Audio borked between 2.6.6 and 2.6.10

2005-03-13 Thread Greg Stark
Andrew Morton <[EMAIL PROTECTED]> writes: > I would agree with that. If it's in the tree and the config system offers > it, it should work. And if it _used_ to work, and no longer does so then > double bad. Er, yeah, it's not like this is a new card that some crufty old driver never supported

Re: More trouble with i386 EFLAGS and ptrace

2005-03-13 Thread Jesse Allen
Andi Kleen wrote: > > Once we're sure about the i386 state, we should update the x86_64 code to > > match. > > I have it fixed in my tree, but not pushed out yet because of lack of testing. Andi, I have someone who thinks they might be experiencing the same problem that I reported but now on

Re: BUG: Slowdown on 3000 socket-machines tracked down

2005-03-13 Thread Nick Piggin
On Fri, 2005-03-11 at 20:27 +0100, Christian Schmid wrote: > Ben Greear wrote: > > > > For what it's worth, I was running dual-xeon systems with HT turned on. > > > > But, I have a single process, single-threaded application, so there is > > not much > > scheduling to be done. If you have a

inode_lock heavily contended in 2.6.11

2005-03-13 Thread Peter Chubb
When running reaim7 on a 12-way IA64 on an ext2 filesystem on a ram disc, I see very heavy contention on inode_lock. lockstat output shows: SPINLOCKS HOLDWAIT UTIL CONMEAN( MAX ) MEAN( MAX )(% CPU) TOTAL NOWAIT SPIN RJECT NAME 46.8% 52.4% 1.9us( 130us)

Re: OSS Audio borked between 2.6.6 and 2.6.10

2005-03-13 Thread Andrew Morton
Greg Stark <[EMAIL PROTECTED]> wrote: > > In any case "X code is broken" "why not use Y code instead" isn't really > productive. It's a good thing I was using the OSS drivers; if everyone used > the alsa drivers and nobody was testing the OSS drivers nobody would know > they > were broken. I

[PATCH][-mm][2/2] cifs: rework cifs_open, helper functions, kfree cleanups, whitespace changes

2005-03-13 Thread Jesper Juhl
Hi Steven, Here's the second of two patches with cleanups for fs/cifs/file.c This patch attempts to shorten the very long cifs_open function by moving some of the code into helper functions and also reduce nesting so the function easier fits in 80 columns. The patch also removes redundant

[PATCH][-mm][1/2] cifs: whitespace cleanups for file.c

2005-03-13 Thread Jesper Juhl
Hi Steven, Here's the first of two patches with cleanups for fs/cifs/file.c This one contains more or less the changes in the whitespace patch I've send you previously. There shouldn't be any major controversial changes in this one, and I've cut it against current -mm as requested. It changes

Re: OSS Audio borked between 2.6.6 and 2.6.10

2005-03-13 Thread Greg Stark
Alistair John Strachan <[EMAIL PROTECTED]> writes: > The intel8x0 driver is probably one of the most widely used ALSA drivers, so > I'd hope it wasn't broken! I would have hoped so too at the time. Reporting it to the list didn't get any response since it was already fixed upstream, but it

Re: [PATCH][RFC] Make /proc/ chmod'able

2005-03-13 Thread Albert Cahalan
> OK, folks, another try to enhance privacy by hiding > process details from other users. Why not simply use > chmod to set the permissions of /proc/ directories? > This patch implements it. > > Children processes inherit their parents' proc > permissions on fork. You can only set (and remove) >

Re: User mode drivers: part 1, interrupt handling (patch for 2.6.11)

2005-03-13 Thread Jon Smirl
On Sat, 12 Mar 2005 10:11:18 -0700 (MST), Zwane Mwaikambo <[EMAIL PROTECTED]> wrote: > Alan's proposal sounds very plausible and additionally if we find that > we have an irq line screaming we could use the same supplied information > to disable userspace interrupt handled devices first. I like

Re: Serious problems with HFS+

2005-03-13 Thread Rogério Brito
On Mar 13 2005, Matt Mackall wrote: > I've noticed a few problems with HFS+ support in recent kernels on > another user's machine running Ubuntu (Warty) running 2.6.8.1-3-powerpc. I also saw some of the things that you reported with Debian proper (sarge). Unfortunately, I haven't been able to use

[PATCH] PPC64 rtasd shouldn't hold cpucontrol while sleeping

2005-03-13 Thread Paul Mackerras
This patch is from Nathan Lynch <[EMAIL PROTECTED]>. The rtasd thread should not hold the cpucontrol semaphore while sleeping between event scans in its first pass; it needlessly delays boot by one second per cpu when CONFIG_HOTPLUG_CPU=y. Signed-off-by: Nathan Lynch <[EMAIL PROTECTED]>

[PATCH] PPC64 debugging symbols for boot wrapper

2005-03-13 Thread Paul Mackerras
This patch is from Amos Waterland <[EMAIL PROTECTED]>. It is really useful when debugging early boot on simulator to have debug symbols in the 32-bit code that uncompresses the kernel proper. Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]> diff -urN linux-2.5/arch/ppc64/boot/Makefile

Re: nvidia fb licensing issue.

2005-03-13 Thread Jon Smirl
All of the files in drivers/char/drm really should have an explicit dual MIT/GPL license on them too. The DRM project has been taking patches back into DRM from LKML without making it clear that DRM is MIT licensed. It might be construed that doing this has made DRM GPL without that being the

Re: User mode drivers: part 1, interrupt handling (patch for 2.6.11)

2005-03-13 Thread Peter Chubb
> "Jon" == Jon Smirl <[EMAIL PROTECTED]> writes: Jon> On Mon, 14 Mar 2005 12:42:27 +1100, Peter Chubb Jon> <[EMAIL PROTECTED]> wrote: >> > "Jon" == Jon Smirl <[EMAIL PROTECTED]> writes: >> >> >> The scenario I'm thinking about with these patches are things >> like >> low-latency

Re: User mode drivers: part 1, interrupt handling (patch for 2.6.11)

2005-03-13 Thread Peter Chubb
> "Jon" == Jon Smirl <[EMAIL PROTECTED]> writes: Jon> On Sat, 12 Mar 2005 10:11:18 -0700 (MST), Zwane Mwaikambo Jon> <[EMAIL PROTECTED]> wrote: >> Alan's proposal sounds very plausible and additionally if we find >> that we have an irq line screaming we could use the same supplied >>

Oops: 2.6.11-mm3 -- NULL pointer -- EIP is at i2c_add_driver+0xa2/0xd0

2005-03-13 Thread Miles Lane
I2c /dev/ entries driver Unable to handle kernel NULL pointer dereference at virtual address Printing eip: C028bbc2 *pde = Oops: [#1] PREEMPT Modules linked in: CPU: 0 EIP: 0060:[] Not tainted VLI EFLAGS: 00010282 (2.6.11-mm3) EIP is at i2c_add_driver+0xa2/0xd0

Re: [BUG?] Signedness of __kernel_nlink_t on Sparc?

2005-03-13 Thread David S. Miller
On Sun, 13 Mar 2005 19:21:09 -0500 Kyle Moffett <[EMAIL PROTECTED]> wrote: > In include/asm-sparc/types.h, __kernel_nlink_t is signed, whereas on > all the > other architectures it is unsigned. Is this intentional, or a bug? Intentional, in order to match SunOS. Unfortunately this is pretty

Re: User mode drivers: part 1, interrupt handling (patch for 2.6.11)

2005-03-13 Thread Jon Smirl
On Mon, 14 Mar 2005 11:39:00 +1100, Peter Chubb <[EMAIL PROTECTED]> wrote: > > "Jon" == Jon Smirl <[EMAIL PROTECTED]> writes: > > Jon> On Fri, 11 Mar 2005 11:29:20 +0100, Pavel Machek <[EMAIL PROTECTED]> > Jon> wrote: > >> Hi! > >> > >> > As many of you will be aware, we've been working on >

Re: User mode drivers: part 1, interrupt handling (patch for 2.6.11)

2005-03-13 Thread Peter Chubb
> "Jon" == Jon Smirl <[EMAIL PROTECTED]> writes: >> The scenario I'm thinking about with these patches are things like >> low-latency user-level networking between nodes in a cluster, where >> for good performance even with a kernel driver you don't want to >> share your interrupt line with

[PATCH] Enable gcc warnings for vsprintf/vsnprintf with "format" attribute

2005-03-13 Thread Marcelo Tosatti
Applied to v2.4 - v2.6 wants the same change. Against v2.6-BK. From: Solar Designer <[EMAIL PROTECTED]> Enables gcc warnings for the case when arguments to vsprintf/vsnprintf function don't match the format string. This helps catch programming errors. --- a/include/linux/kernel.h.orig

Re: OSS Audio borked between 2.6.6 and 2.6.10

2005-03-13 Thread Alistair John Strachan
On Sunday 13 March 2005 22:26, you wrote: > Patrick McFarland <[EMAIL PROTECTED]> writes: > > On Saturday 12 March 2005 01:31 pm, Greg Stark wrote: > > > OSS Audio doesn't work properly for Quake3 in 2.6.10 but it worked in > > > 2.6.6. In fact I have the same problems in 2.6.9-rc1 so I assume

Re: [CHECKER] inconsistent NFS stat cache (NFS on ext3, 2.6.11)

2005-03-13 Thread Neil Brown
On Sunday March 13, [EMAIL PROTECTED] wrote: > > You'll rather want to ask Neil Brown about why subtree_check is still > the default for knfsd. He is the NFS server maintainer. Apathy? No-one has complained loudly enough or long enough or sent me a patch, and it simply isn't a priority for me.

Re: [CHECKER] inconsistent NFS stat cache (NFS on ext3, 2.6.11)

2005-03-13 Thread Daniel Jacobowitz
On Sun, Mar 13, 2005 at 07:50:09PM -0500, Trond Myklebust wrote: > Sorry, but you should _never_ have gotten an ESTALE error if the file > was not in use when you deleted the old copy of glibc. A fresh call to > open() will always result in a new lookup of the filehandle. > What may have happened

Re: [CHECKER] inconsistent NFS stat cache (NFS on ext3, 2.6.11)

2005-03-13 Thread Trond Myklebust
su den 13.03.2005 Klokka 19:35 (-0500) skreiv Daniel Jacobowitz: > On Sun, Mar 13, 2005 at 03:42:29PM -0500, Trond Myklebust wrote: > > su den 13.03.2005 Klokka 15:04 (-0500) skreiv Daniel Jacobowitz: > > > > > I can't find any documentation about this, but it seems like the same > > > problem

Re: OSS Audio borked between 2.6.6 and 2.6.10

2005-03-13 Thread Martin Schlemmer
On Sun, 2005-03-13 at 17:26 -0500, Greg Stark wrote: > Patrick McFarland <[EMAIL PROTECTED]> writes: > > > On Saturday 12 March 2005 01:31 pm, Greg Stark wrote: > > > OSS Audio doesn't work properly for Quake3 in 2.6.10 but it worked in > > > 2.6.6. In fact I have the same problems in 2.6.9-rc1

Re: User mode drivers: part 1, interrupt handling (patch for 2.6.11)

2005-03-13 Thread Peter Chubb
> "Jon" == Jon Smirl <[EMAIL PROTECTED]> writes: Jon> On Fri, 11 Mar 2005 11:29:20 +0100, Pavel Machek <[EMAIL PROTECTED]> Jon> wrote: >> Hi! >> >> > As many of you will be aware, we've been working on >> infrastructure for > user-mode PCI and other drivers. The first >> step is to be able

Re: User mode drivers: part 1, interrupt handling (patch for 2.6.11)

2005-03-13 Thread Peter Chubb
> "Jon" == Jon Smirl <[EMAIL PROTECTED]> writes: Jon> On Fri, 11 Mar 2005 14:36:10 +1100, Peter Chubb Jon> <[EMAIL PROTECTED]> wrote: >> As many of you will be aware, we've been working on infrastructure >> for user-mode PCI and other drivers. The first step is to be able >> to handle

Re: [CHECKER] inconsistent NFS stat cache (NFS on ext3, 2.6.11)

2005-03-13 Thread Daniel Jacobowitz
On Sun, Mar 13, 2005 at 03:42:29PM -0500, Trond Myklebust wrote: > su den 13.03.2005 Klokka 15:04 (-0500) skreiv Daniel Jacobowitz: > > > I can't find any documentation about this, but it seems like the same > > problem that has been causing me headaches lately; when I replace glibc > > from the

[patch] hfc_sx eliminate bad section references

2005-03-13 Thread maximilian attems
Fix hfc_sx section references: convert __initdata to __devinitdata. Error: ./drivers/isdn/hisax/hfc_sx.o .text refers to 204d R_386_32 .init.data Error: ./drivers/isdn/hisax/hfc_sx.o .text refers to 205c R_386_32 .init.data Error: ./drivers/isdn/hisax/hfc_sx.o .text refers to 2082

[patch] sedlbauer eliminate bad section references

2005-03-13 Thread maximilian attems
Fix sedlbauer section references: convert __initdata to __devinitdata. Error: ./drivers/isdn/hisax/sedlbauer.o .text refers to 235f R_386_32 .init.data Error: ./drivers/isdn/hisax/sedlbauer.o .text refers to 236e R_386_32 .init.data Error: ./drivers/isdn/hisax/sedlbauer.o .text refers

[patch] elsa eliminate bad section references

2005-03-13 Thread maximilian attems
Fix elsa section references: convert __initdata to __devinitdata. Error: ./drivers/isdn/hisax/elsa.o .text refers to 3d28 R_386_32 .init.data Error: ./drivers/isdn/hisax/elsa.o .text refers to 3d37 R_386_32 .init.data Error: ./drivers/isdn/hisax/elsa.o .text refers to 3d56 R_386_32

[BUG?] Signedness of __kernel_nlink_t on Sparc?

2005-03-13 Thread Kyle Moffett
In include/asm-sparc/types.h, __kernel_nlink_t is signed, whereas on all the other architectures it is unsigned. Is this intentional, or a bug? Cheers, Kyle Moffett -BEGIN GEEK CODE BLOCK- Version: 3.12 GCM/CS/IT/U d- s++: a18 C>$ UB/L/X/*(+)>$ P+++()>$ L(+++) E W++(+)

Re: [patch] x86: fix ESP corruption CPU bug

2005-03-13 Thread Linus Torvalds
On Sun, 13 Mar 2005, Linus Torvalds wrote: > > That said, the "ldt_ss" case should be moved _after_ the conditional > tests, since most CPU's out there will do static prediction based on > forward/backwards direction Btw, Stas, one thing I'd really like to see is even a partial list of

Re: User mode drivers: part 2: PCI device handling (patch 1/2 for 2.6.11)

2005-03-13 Thread Peter Chubb
> "Greg" == Greg KH <[EMAIL PROTECTED]> writes: Greg> On Fri, Mar 11, 2005 at 07:34:46PM +1100, Peter Chubb wrote: >> > "Greg" == Greg KH <[EMAIL PROTECTED]> writes: >> Greg> On Fri, Mar 11, 2005 at 02:37:17PM +1100, Peter Chubb wrote: >> >> +/* + * The PCI subsystem is implemented as

[patch] teles3 eliminate bad section references

2005-03-13 Thread maximilian attems
Fix teles3 section references: convert __initdata to __devinitdata. Error: ./drivers/isdn/hisax/teles3.o .text refers to 11ab R_386_32 .init.data Error: ./drivers/isdn/hisax/teles3.o .text refers to 11ba R_386_32 .init.data Error: ./drivers/isdn/hisax/teles3.o .text refers to 11e0

Re: User mode drivers: part 1, interrupt handling (patch for 2.6.11)

2005-03-13 Thread Peter Chubb
On Gwe, 2005-03-11 at 03:36, Peter Chubb wrote: > +static irqreturn_t irq_proc_irq_handler(int irq, void *vidp, struct pt_regs > *regs) > +{ > + struct irq_proc *idp = (struct irq_proc *)vidp; > + > + BUG_ON(idp->irq != irq); > + disable_irq_nosync(irq); > + atomic_inc(>count);

Re: [patch] x86: fix ESP corruption CPU bug

2005-03-13 Thread Linus Torvalds
On Mon, 14 Mar 2005, Pavel Machek wrote: > > What about flag similar to _TIF_SYSCALL_TRACE (call it > _TIF_THIS_BEAST_USES_V86 or something), and only do the tests in the > slowpath if it is set? As normal applications do not use v86, we could > make this 0 instructions in syscall fast path...

Re: 2.6.11: keyboard stopped working after memory upgrade

2005-03-13 Thread Rafael J. Wysocki
On Sunday, 13 of March 2005 20:20, Rafael J. Wysocki wrote: > On Sunday, 13 of March 2005 19:36, Pavel Machek wrote: > > Hi! > > > > > I'm just having a weird problem with 2.6.11. Namely, the keyboard stopped > > > working after I'd added more RAM to the box (Asus L5D notebok, x86-64 > > >

[PATCH][RFC] Make /proc/ chmod'able

2005-03-13 Thread Rene Scharfe
OK, folks, another try to enhance privacy by hiding process details from other users. Why not simply use chmod to set the permissions of /proc/ directories? This patch implements it. Children processes inherit their parents' proc permissions on fork. You can only set (and remove) read and

Re: [patch] x86: fix ESP corruption CPU bug

2005-03-13 Thread Pavel Machek
On Ne 13-03-05 13:13:16, Linus Torvalds wrote: > > > On Sun, 13 Mar 2005, Stas Sergeev wrote: > > > > Such an optimization will cost three more > > instructions, one of which is a "taken" > > jump. > > I think Pavel missed the fact that you have to check the VM86 bit in > eflags before you

[patch] w6692 eliminate bad section references

2005-03-13 Thread maximilian attems
Fix w6692 section references: convert __initdata to __devinitdata. Error: ./drivers/isdn/hisax/w6692.o .text refers to 002f R_386_32 .init.data Signed-off-by: maximilian attems <[EMAIL PROTECTED]> diff -pruN -X dontdiff linux-2.6.11-bk8/drivers/isdn/hisax/w6692.c

Re: [PATCH] Add sysfs support to the IPMI driver

2005-03-13 Thread Corey Minyard
Greg KH wrote: On Sat, Mar 12, 2005 at 10:57:24PM -0600, Corey Minyard wrote: The IPMI driver has long needed to tie into the device model (and I've long been hoping someone else would do it). I finally gave up and spent the time to learn how to do it. I think this is right, it seems to

[PATCH]: Fix compiler warning in drivers/scsi/dpt_i2o.c

2005-03-13 Thread Stefan Roas
Hi there! The attachted patch fixes a compiler warning in drivers/scsi/dpt_i2o.c. If you reply to this post, please CC me as I'm not suscribed to the list. Best Regards -- Stefan Roas [EMAIL PROTECTED] diff -rNu a/drivers/scsi/dpt_i2o.c b/drivers/scsi/dpt_i2o.c --- a/drivers/scsi/dpt_i2o.c

[ANNOUNCE] linux-libc-headers 2.6.11.0

2005-03-13 Thread Mariusz Mazur
Available at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/ Changes: - updated to 2.6.11 (added asm-frv) - some minor fixes The server hosting my page was down for a week or so. I don't provide any official mirrors, but you can get llh from anywhere (gazillions of LinuxFromScrach mirrors

Re: OSS Audio borked between 2.6.6 and 2.6.10

2005-03-13 Thread Greg Stark
Patrick McFarland <[EMAIL PROTECTED]> writes: > On Saturday 12 March 2005 01:31 pm, Greg Stark wrote: > > OSS Audio doesn't work properly for Quake3 in 2.6.10 but it worked in > > 2.6.6. In fact I have the same problems in 2.6.9-rc1 so I assume 2.6.9 is > > affected as well. This is with the

Re: 2.6.11-mm3: machine check on sleep, PowerBook5.4

2005-03-13 Thread Benjamin Herrenschmidt
> Oh, fiddlesticks, that didn't occur to me. I can redo with overnight > sleeps on a full charge, if you like. In the meantime, Andrew, please submit this one to Linus, I'll update the stuff if it happens the other one gives better power consumptions: -- This patch fixes a logic error in the

Re: 2.6.11-mm3: machine check on sleep, PowerBook5.4

2005-03-13 Thread Benjamin Herrenschmidt
On Sun, 2005-03-13 at 22:08 +, Sean Neakums wrote: > Benjamin Herrenschmidt <[EMAIL PROTECTED]> writes: > > > On Sun, 2005-03-13 at 19:07 +, Sean Neakums wrote: > >> Sean Neakums <[EMAIL PROTECTED]> writes: > >> > >> > Both patches give me a successful sleep, although I had to alter the

Re: 2.6.11-mm3: machine check on sleep, PowerBook5.4

2005-03-13 Thread Sean Neakums
Benjamin Herrenschmidt <[EMAIL PROTECTED]> writes: > On Sun, 2005-03-13 at 19:07 +, Sean Neakums wrote: >> Sean Neakums <[EMAIL PROTECTED]> writes: >> >> > Both patches give me a successful sleep, although I had to alter the >> > second to not #if 0 core99_ata100_enable -- there's another

[patch] x86: fix ESP corruption CPU bug (take 2)

2005-03-13 Thread Stas Sergeev
Hello. Linus Torvalds wrote: I think Pavel missed the fact that you have to check the VM86 bit in Ah, thanks, I must have forgotten the essentials of the own patch :( That said, the "ldt_ss" case should be moved _after_ the conditional tests, since most CPU's out there will do static prediction

Re: [PATCH][0/10] verify_area cleanup

2005-03-13 Thread Jesper Juhl
On Sun, 13 Mar 2005, William Lee Irwin III wrote: > On Fri, Mar 04, 2005 at 03:47:07AM +0100, Jesper Juhl wrote: > > Now that 2.6.11 is out the door it's time to try and submit this again. > > The following patches convert all users of verify_area to access_ok and > > the final patch then

Re: 2.6.11-mm3: machine check on sleep, PowerBook5.4

2005-03-13 Thread Benjamin Herrenschmidt
On Sun, 2005-03-13 at 19:07 +, Sean Neakums wrote: > Sean Neakums <[EMAIL PROTECTED]> writes: > > > Both patches give me a successful sleep, although I had to alter the > > second to not #if 0 core99_ata100_enable -- there's another call to > > that function in pmac_feature.c's

Re: [PATCH] x86-64 kprobes: handle %RIP-relative addressing mode

2005-03-13 Thread Andrew Morton
Roland McGrath <[EMAIL PROTECTED]> wrote: > > + area = __get_vm_area(0, VM_ALLOC, MODULES_END, 0ULL - PAGE_SIZE); The longlong here seems wrong? If this is to mean "the top of the address space minus a page" then unsigned long is the appropriate type. - To unsubscribe from this list: send

Re: 2.6.11-mm3: machine check on sleep, PowerBook5.4

2005-03-13 Thread Benjamin Herrenschmidt
On Sun, 2005-03-13 at 16:19 +, Sean Neakums wrote: > Both patches give me a successful sleep, although I had to alter the > second to not #if 0 core99_ata100_enable -- there's another call to > that function in pmac_feature.c's set_initial_features(). > > I will try to gather some power

Re: [2.6.11.3] gcc4 / psmouse.h - compilation fix.

2005-03-13 Thread Paul Jackson
Dmitry, responding to Pawe__: > > IMHO each header (e.g. psmouse.h) should include headers for types it uses. > > > > Hmm, I thought it was other way around I tend to agree with Pawe__ here. There are two extremes here that I would avoid. Do not try to include in source files every header

Re: 2.6.11: USB broken on nforce4, ipv6 still broken, centrino speedstep even more broken than in 2.6.10

2005-03-13 Thread Felix von Leitner
Thus spake Andrew Morton ([EMAIL PROTECTED]): > > Finally Centrino SpeedStep. > > I have a "Intel(R) Pentium(R) M processor 1.80GHz" in my notebook. > > Linux does not support it. This architecture has been out there for > > months now, and there even was a patch to support it posted here a in >

Re: 2.6.11: USB broken on nforce4, ipv6 still broken, centrino speedstep even more broken than in 2.6.10

2005-03-13 Thread Felix von Leitner
Thus spake Andrew Morton ([EMAIL PROTECTED]): > > My new nForce 4 mainboard has 10 or so USB 2.0 outlets. In Windows, > > they all work. In Linux, two of them work. Putting my USB stick or > > anything else in one of the others produces nothing in Linux. > > Apparently no IRQ getting through or

Re: [2.6 patch] unexport hugetlb_total_pages

2005-03-13 Thread William Lee Irwin III
On Sun, Mar 06, 2005 at 03:39:08PM +0100, Adrian Bunk wrote: > I didn't find any possible modular usage in the kernel. > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Acked-by: William Irwin <[EMAIL PROTECTED]> -- wli - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [patch] x86: fix ESP corruption CPU bug

2005-03-13 Thread Linus Torvalds
On Sun, 13 Mar 2005, Stas Sergeev wrote: > > Such an optimization will cost three more > instructions, one of which is a "taken" > jump. I think Pavel missed the fact that you have to check the VM86 bit in eflags before you check SS, since otherwise SS doesn't mean anything special at all (ie

Re: [Linux-fbdev-devel] [announce 0/7] fbsplash - The Framebuffer Splash

2005-03-13 Thread Jon Smirl
On Sun, 13 Mar 2005 19:53:55 +0100 (CET), Geert Uytterhoeven <[EMAIL PROTECTED]> wrote: > On Sun, 13 Mar 2005, Pavel Machek wrote: > > > > > > Thats why moving the eye candy console into user space is such a > > > > > > good > > > > > > idea. You don't have to run it 8) It also means that the

[OOPS] kHTTPd oops + patch

2005-03-13 Thread Hmamouche, Youssef
hi, khttpd oopses after a browser request is sent to the admin port on 8080. The decoded oops follows with a patch that fixes it: ksymoops 2.4.9 on i686 2.4.28. Options used -V (default) -k /proc/ksyms (default) -l /proc/modules (default) -o /lib/modules/2.4.28/ (default)

Re: [PATCH][0/10] verify_area cleanup

2005-03-13 Thread William Lee Irwin III
On Fri, Mar 04, 2005 at 03:47:07AM +0100, Jesper Juhl wrote: > Now that 2.6.11 is out the door it's time to try and submit this again. > The following patches convert all users of verify_area to access_ok and > the final patch then deprecates verify_area acros all archs with the > intention of

Re: [patch] x86: fix ESP corruption CPU bug

2005-03-13 Thread Stas Sergeev
Hi. Pavel Machek wrote: + andl $(VM_MASK | (4 << 8) | 3), %eax + cmpl $((4 << 8) | 3), %eax + je ldt_ss # returning to user-space with LDT SS All common linux apps use same %ss, no? Perhaps it would be more efficient to just check if %ss == 0x7b, and proceed

Re: [CHECKER] inconsistent NFS stat cache (NFS on ext3, 2.6.11)

2005-03-13 Thread Trond Myklebust
su den 13.03.2005 Klokka 15:42 (-0500) skreiv Trond Myklebust: > No, that's a very different issue: you are violating the NFS cache > consistency rules if you are changing a file that is being held open by > other machines. > The correct way to do the above is to use GNU install with the '-b' >

Re: [CHECKER] inconsistent NFS stat cache (NFS on ext3, 2.6.11)

2005-03-13 Thread Trond Myklebust
su den 13.03.2005 Klokka 15:04 (-0500) skreiv Daniel Jacobowitz: > I can't find any documentation about this, but it seems like the same > problem that has been causing me headaches lately; when I replace glibc > from the server side of an nfsroot, the client has a couple of > variously wrong

Serious problems with HFS+

2005-03-13 Thread Matt Mackall
I've noticed a few problems with HFS+ support in recent kernels on another user's machine running Ubuntu (Warty) running 2.6.8.1-3-powerpc. I'm not in a position to extensively test or fix either of these problem because of the fs tools situation so I'm just passing this on. First, it reports

Re: [BUG] 2.6.11- sym53c8xx Broken on pp64

2005-03-13 Thread Omkhar Arasaratnam
Benjamin Herrenschmidt wrote: On Thu, 2005-03-10 at 11:05 -0600, Omkhar Arasaratnam wrote: 2.6.10 seems to have a different kernel panic which I'm investigating (could be a problem with my ramdisk as it happens in my linuxrc). So long story short the 2.6.10 sym driver looks ok. Can you

Re: [2.6 patch] unexport hugetlb_total_pages

2005-03-13 Thread William Lee Irwin III
On Sun, Mar 06, 2005 at 03:39:08PM +0100, Adrian Bunk wrote: > I didn't find any possible modular usage in the kernel. > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Acked-by: William Irwin <[EMAIL PROTECTED]> -- wli - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [patch] x86: fix ESP corruption CPU bug

2005-03-13 Thread Pavel Machek
Hi! > @@ -257,8 +265,31 @@ > movl TI_flags(%ebp), %ecx > testw $_TIF_ALLWORK_MASK, %cx # current->work > jne syscall_exit_work > + > restore_all: > - RESTORE_ALL > + movl EFLAGS(%esp), %eax # mix EFLAGS, SS and CS > + movb OLDSS(%esp), %ah > + movb

Re: More trouble with i386 EFLAGS and ptrace

2005-03-13 Thread Daniel Jacobowitz
On Sun, Mar 13, 2005 at 12:27:58AM -0800, Roland McGrath wrote: > This patch further cleans up the appearance of TF in eflags when ptrace is > involved. With this, PTRACE_SINGLESTEP will not cause TF to appear in > eflags as seen by PTRACE_GETREGS and the like, when the instruction faulted > for

Re: [CHECKER] inconsistent NFS stat cache (NFS on ext3, 2.6.11)

2005-03-13 Thread Daniel Jacobowitz
On Sun, Mar 13, 2005 at 12:04:27AM -0500, Trond Myklebust wrote: > lau den 12.03.2005 Klokka 03:56 (-0800) skreiv Junfeng Yang: > > Hi, > > > > We checked NFS on top of ext3 using FiSC (our file system model checker) > > and found a case where NFS stat cache can contain inconsistent entries. > >

Re: [patch] x86: fix ESP corruption CPU bug

2005-03-13 Thread Pavel Machek
Hi! > >Attached patch works around the corruption > >of the high word of the ESP register, which > >is the official bug of x86 CPUs. The bug > >triggers only when the one is using the > >16bit stack segment, and is described here: > >http://www.intel.com/design/intarch/specupdt/27287402.PDF > >

Re: [patch] x86: fix ESP corruption CPU bug

2005-03-13 Thread Stas Sergeev
Hello. Ondrej Zary wrote: I've just ran that on my Cyrix MII PR300 and the bug is present:<> UMC U5SX/33 in my router - also present: Thanks, now I know for sure that it exist everywhere. Now you can apply the patch and make sure the bug goes away:) - To unsubscribe from this list: send the line

  1   2   3   4   >