Re: insmod error: Invalid module format.

2005-08-17 Thread Arjan van de Ven
On Wed, 2005-08-17 at 12:27 +0530, Nikhil Dharashivkar wrote: > Hi all, > I have RH9 installed with 2.6.7-1 kernel. I am able to compile > the module but , when i load this module using insmod i get an error > "insmod: error inserting './simple.o': -1 Invalid module format" > > Please, any o

Re: [RFC][PATCH 2.6.13-rc6] add Dell Systems Management Base Driver (dcdbas) with sysfs support

2005-08-17 Thread Kyle Moffett
On Aug 17, 2005, at 01:33:00, Matt Domsch wrote: This is conceptually similar to how SCSI Generic (either /dev/sg or ioctl(SG_IO)) works (userspace passes in preformated SCSI CDBs and gets back the resultant CDBs and extended sense data). The sg driver doesn't look at the data being passed down

Re: [RFC - 0/9] Generic timekeeping subsystem (v. B5)

2005-08-17 Thread Ulrich Windl
On 16 Aug 2005 at 18:17, john stultz wrote: [...] > Maybe to focus this productively, I'll try to step back and outline the > goals at a high level and you can address those. > > My Assumptions: > 1. adjtimex() sets/gets NTP state values One of the greatest mistakes in the past which still affe

Re: HDAPS, Need to park the head for real

2005-08-17 Thread Avi Kivity
Jens Axboe wrote: Ok, I'll give you some hints to get you started... What you really want to do, is: - Insert a park request at the front of the queue - On completion callback on that request, freeze the block queue and schedule it for unfreeze after a given time how will this interact wit

Re: HDAPS, Need to park the head for real

2005-08-17 Thread Jens Axboe
On Wed, Aug 17 2005, Avi Kivity wrote: > Jens Axboe wrote: > > >Ok, I'll give you some hints to get you started... What you really want > >to do, is: > > > >- Insert a park request at the front of the queue > >- On completion callback on that request, freeze the block queue and > > schedule it for

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

2005-08-17 Thread Tony Lindgren
* Con Kolivas <[EMAIL PROTECTED]> [050816 06:23]: > On Tue, 16 Aug 2005 23:19, Srivatsa Vaddagiri wrote: > > On Tue, Aug 16, 2005 at 02:30:51AM +1000, Con Kolivas wrote: > > > Time definitely was lost the longer the machine was running. > > > > I think I found the reason for time drift. Basically c

math_state_restore() question

2005-08-17 Thread Hiro Yoshioka
Hi, I have a quick question. The math_state_restore() restores the FPU/MMX/XMM states. However where do we save the previous task's states if it is necessary? asmlinkage void math_state_restore(struct pt_regs regs) { struct thread_info *thread = current_thread_info(); struct task

Re: [ANNOUNCE][RFC] PlugSched-5.2.4 for 2.6.12 and 2.6.13-rc6

2005-08-17 Thread Con Kolivas
On Mon, 15 Aug 2005 22:29, Michal Piotrowski wrote: > Hi, > here are my benchmarks (part1): Want to try the staircase cpu scheduler in "compute" mode for the compute intensive workloads? Thanks, Con - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messa

Re: Schedulers benchmark - Was: [ANNOUNCE][RFC] PlugSched-5.2.4 for 2.6.12 and 2.6.13-rc6

2005-08-17 Thread Peter Williams
Michal Piotrowski wrote: Hi, here are schedulers benchmark (part2): [bits deleted] Here's a summary of your output generated using the attached Python script. | Build Statistics | Overall Statistics ---

Re: math_state_restore() question

2005-08-17 Thread Hirokazu Takahashi
Hi, Just take a look at __switch_to(), where __unlazy_fpu() is called. > Hi, > > I have a quick question. > > The math_state_restore() restores the FPU/MMX/XMM states. > However where do we save the previous task's states if it is necessary? > > asmlinkage void math_state_restore(struct pt_reg

Re: rcu read-side protection

2005-08-17 Thread Steven Whitehouse
Hi, On Tue, Aug 16, 2005 at 07:01:57PM -0700, Paul E. McKenney wrote: > On Tue, Aug 16, 2005 at 05:09:29PM -0700, Suzanne Wood wrote: > [ . . . ] > > A read-side critical section is marked to protect the dereference of the > > dn_ptr and assignment to dn_db which is a pointer to a dn_dev. (struc

Re: [PATCH] ppc32: removed usage of

2005-08-17 Thread Geert Uytterhoeven
On Wed, 17 Aug 2005, Kumar Gala wrote: > I'm all for killing it off entirely but got some feedback that on i386 > segment.h can be included by userspace programs. > > Here is the in kernel consumers that are outside of arch specific directories: > ./drivers/video/q40fb.c:#include M68k-only, so

can we power off PCI device?

2005-08-17 Thread first last
Greetings: We did a search on the net and found several related topics like PCI device power management but we are 100% sure if this is what we are looking for. Then, we would like to get some inputs from gurus like you We are working a PCI device driver on kernel 2.4 (Redhat 9) and kernel 2

Re: [PATCH] ppc32: removed usage of

2005-08-17 Thread Christoph Hellwig
On Wed, Aug 17, 2005 at 12:43:37AM -0500, Kumar Gala wrote: > >I concur, in fact we should really kill that thing off entirely. > > I'm all for killing it off entirely but got some feedback that on > i386 segment.h can be included by userspace programs. No kernel headers can be included by user

Re: math_state_restore() question

2005-08-17 Thread Hiro Yoshioka
> Just take a look at __switch_to(), where __unlazy_fpu() is called. Thanks. Does an exception handler (like page_fault, etc) come from __switch_to()? Regards, Hiro - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majo

Re: [PATCH] ppc32: removed usage of

2005-08-17 Thread Miklos Szeredi
> On Wed, Aug 17, 2005 at 12:43:37AM -0500, Kumar Gala wrote: > > >I concur, in fact we should really kill that thing off entirely. > > > > I'm all for killing it off entirely but got some feedback that on > > i386 segment.h can be included by userspace programs. > > No kernel headers can be in

[Fwd: help with PCI hotplug and a PCI device enabled after boot]

2005-08-17 Thread Mauro Carvalho Chehab
I need some help with PCI hotplug for allowing a new driver at Video4Linux. I'm trying to develop a kernel module to handle audio support for a video chipset (cx2388x from conexant). This chipset does provide several PCI ID according with its function: 14f1:8800 function 0: for video stuf

Re: Schedulers benchmark - Was: [ANNOUNCE][RFC] PlugSched-5.2.4 for 2.6.12 and 2.6.13-rc6

2005-08-17 Thread Con Kolivas
On Wed, 17 Aug 2005 18:10, Peter Williams wrote: > Michal Piotrowski wrote: > > Hi, > > here are schedulers benchmark (part2): > > [bits deleted] > > Here's a summary of your output generated using the attached Python script. > > | Build Statistics | Overall Statistics > > ---

Re: [PATCH] ppc32: removed usage of

2005-08-17 Thread Christoph Hellwig
On Wed, Aug 17, 2005 at 10:56:24AM +0200, Miklos Szeredi wrote: > > On Wed, Aug 17, 2005 at 12:43:37AM -0500, Kumar Gala wrote: > > > >I concur, in fact we should really kill that thing off entirely. > > > > > > I'm all for killing it off entirely but got some feedback that on > > > i386 segment

Re: [PATCH] ppc32: removed usage of

2005-08-17 Thread Miklos Szeredi
> > There are perfectly valid uses of kernel headers from userspace. For > > example if a program uses the netlink interface, it should include > > . It's the interface definition after all. > > > > Glibc headers also include and in quite few places. > > But these files in /usr/include/ aren'

Re: [PATCH] ppc32: removed usage of

2005-08-17 Thread Christoph Hellwig
On Wed, Aug 17, 2005 at 11:15:39AM +0200, Miklos Szeredi wrote: > They are provided by _one_ kernel, not necessarily the running kernel. No, they're provided by packages like glibc-kernheaders or similar that are maintained separately. They're split from the kernel headers and we don't need to ke

Re: Re: Protected Mail System

2005-08-17 Thread BulletProof Software
Dear linux-kernel@vger.kernel.org, This is an automated e-mail. All sales and support queries for BulletProof products should be sent through our ticket based support system to ensure quick response, this is located at: http://support.bppresence.com/support/users/tickets.php And found on the

Re: [Fwd: help with PCI hotplug and a PCI device enabled after boot]

2005-08-17 Thread Rolf Eike Beer
Mauro Carvalho Chehab wrote: >I need some help with PCI hotplug for allowing a new driver at >Video4Linux. > >I need memory to set its internal registers. Is there a way to make >PCI drivers to allocate a memory region for the board? Use dummyphp instead of fakephp. It should handle this c

Undefined behaviour with get_cpu_vendor

2005-08-17 Thread Christian Ehrhardt
Hi, Your Patch at (URL wrapped) http://www.kernel.org/git/?p=linux/kernel/git/torvalds/old-2.6-bkcvs.git; \ a=commit;h=99c6e60afff8a7bc6121aeb847dab27c556cf0c9 introduced an additional Parameter (int early) to get_cpu_vendor. However, the same function is called in arch/i386/ker

Re: [PATCH] ppc32: removed usage of

2005-08-17 Thread Miklos Szeredi
> > They are provided by _one_ kernel, not necessarily the running kernel. > > No, they're provided by packages like glibc-kernheaders or similar > that are maintained separately. Yes. And "maintenance" I presume means "copy" the kernel headers and do some cleanup to be compliant to the relevant

Re: Undefined behaviour with get_cpu_vendor

2005-08-17 Thread Andreas Schwab
Christian Ehrhardt <[EMAIL PROTECTED]> writes: > --- arch/i386/kernel/apic.c 2005-03-26 04:28:38.0 +0100 > +++ arch/i386/kernel/apic.c.new 2005-08-17 11:54:48.070499352 +0200 > @@ -703,14 +703,14 @@ > static int __init detect_init_APIC (void) > { > u32 h, l, features; > -

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

2005-08-17 Thread Chris Boot
Tejun Heo wrote: 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

Re: [Fwd: help with PCI hotplug and a PCI device enabled after boot]

2005-08-17 Thread Mauro Carvalho Chehab
Rolf, Em Qua, 2005-08-17 às 11:47 +0200, Rolf Eike Beer escreveu: > Mauro Carvalho Chehab wrote: > >I need some help with PCI hotplug for allowing a new driver at > >Video4Linux. > > > >I need memory to set its internal registers. Is there a way to make > >PCI drivers to allocate a memory

Re: rc6 keeps hanging and blanking displays

2005-08-17 Thread Helge Hafting
Dave Airlie wrote: ... Seems like it died trying to perform int10 initialization? I'm still pointing towards that assign pci resources patch from Gregs tree that I mentioned earlier.. git is completely new to me - is there a git-specific way to get this patch, or should I download it

Re: rc6 keeps hanging and blanking displays

2005-08-17 Thread Dave Airlie
> > > >I'm still pointing towards that assign pci resources patch from Gregs > >tree that I mentioned earlier.. > > > > > git is completely new to me - is there a git-specific way to get this > patch, or should I download it the usual way from somewhere? Just grab it from the link to comment #16 o

Re: [Fwd: help with PCI hotplug and a PCI device enabled after boot]

2005-08-17 Thread Rolf Eike Beer
Am Mittwoch, 17. August 2005 12:54 schrieb Mauro Carvalho Chehab: >Rolf, > >Em Qua, 2005-08-17 às 11:47 +0200, Rolf Eike Beer escreveu: >> Mauro Carvalho Chehab wrote: >> >I need some help with PCI hotplug for allowing a new driver at >> >Video4Linux. >> > >> >I need memory to set its inter

pmac_nvram problems

2005-08-17 Thread Johannes Berg
Hi, Please CC me on answers, I'm not subscribed. I wasn't too sure where to send this, so CC'ing to Benjamin Herrenschmidt as the author of the relevant driver. Note that this might apply to the copy in ppc64 as well, not sure. Currently, the pmac_nvram driver can be built as a module, but doesn

Re: [ANNOUNCE][RFC] PlugSched-5.2.4 for 2.6.12 and 2.6.13-rc6

2005-08-17 Thread Michal Piotrowski
Hi, On 8/17/05, Con Kolivas <[EMAIL PROTECTED]> wrote: > On Mon, 15 Aug 2005 22:29, Michal Piotrowski wrote: > > Hi, > > here are my benchmarks (part1): > > Want to try the staircase cpu scheduler in "compute" mode for the compute > intensive workloads? > > Thanks, > Con > > Yes, I'll try int

Re: rc5 seemed to kill a disk that rc4-mm1 likes. Also some X trouble.

2005-08-17 Thread Rolf Eike Beer
Helge Hafting wrote: >Dave Airlie wrote: >> I switched back to 2.6.13-rc4-mm1 at this point for another reason, >> my X display aquired a nasty tendency to go blank for no reason >> during work, >> something I could fix by changing resolution baqck and forth. X >> also tended t

get_start_sect() NOTE HOW?...

2005-08-17 Thread Mukund JB`.
Dear all, Sorry for the MOST silly question in this list. I am mailing it here as this related to kernel. I am writing a block driver for MMC interface. In the HDIO_GETGEO ioctl, the hd_geometry structure is filled. I have doubt updating the 'start' field of the hd_geometry structure. I am doin

Re: Flash erase groups and filesystems

2005-08-17 Thread Pierre Ossman
Jörn Engel wrote: >On Tue, 16 August 2005 20:13:36 +0200, Jörn Engel wrote: > > >>Yes. Most filesystems expect to find either 1) old data or 2) new >>data. Blocks full of 0xff are non-expected. >> >> > >Maybe this isn't obvious. Because of this expectation, it is >absolutely not safe to p

Re: Flash erase groups and filesystems

2005-08-17 Thread Jörn Engel
On Wed, 17 August 2005 13:35:11 +0200, Pierre Ossman wrote: > > Whilst we're on the subject, do the filesystems assume that the device > can tell them exactly where the write failed? I.e. if the driver knows > that 5 sectors were written correctly, but that it failed somewhere > beyond that. It mi

Re: Undefined behaviour with get_cpu_vendor

2005-08-17 Thread Andi Kleen
On Wed, Aug 17, 2005 at 11:54:23AM +0200, Christian Ehrhardt wrote: > > Hi, > > Your Patch at (URL wrapped) > > http://www.kernel.org/git/?p=linux/kernel/git/torvalds/old-2.6-bkcvs.git; \ > a=commit;h=99c6e60afff8a7bc6121aeb847dab27c556cf0c9 > > introduced an additional Parameter

Re: [Fwd: help with PCI hotplug and a PCI device enabled after boot]

2005-08-17 Thread Mauro Carvalho Chehab
Em Qua, 2005-08-17 às 13:15 +0200, Rolf Eike Beer escreveu: > Am Mittwoch, 17. August 2005 12:54 schrieb Mauro Carvalho Chehab: > >Rolf, > > > >Em Qua, 2005-08-17 às 11:47 +0200, Rolf Eike Beer escreveu: > >> Mauro Carvalho Chehab wrote: > >> >I need some help with PCI hotplug for allowing a ne

Re: Schedulers benchmark - Was: [ANNOUNCE][RFC] PlugSched-5.2.4 for 2.6.12 and 2.6.13-rc6

2005-08-17 Thread Michal Piotrowski
Hi, On 8/17/05, Peter Williams <[EMAIL PROTECTED]> wrote: > I was intrigued by the fact that zaphod(d,d) and zaphod(d,0) take longer > in real time but use less cpu. I was assuming that this meant that some > other job was getting some cpu but the schedstats data doesn't support > that. Also it

Re: [Fwd: help with PCI hotplug and a PCI device enabled after boot]

2005-08-17 Thread Rolf Eike Beer
Mauro Carvalho Chehab wrote: >Em Qua, 2005-08-17 às 13:15 +0200, Rolf Eike Beer escreveu: >> Damn, I should stop editing diffs by hand. > > I'm also have this old habbit ;-) That doesn't make it any better :) >> Change this to >> pci_bus_assign_resources and it should work. Sorry. > >

Re: [Fwd: help with PCI hotplug and a PCI device enabled after boot]

2005-08-17 Thread Mauro Carvalho Chehab
Eike, Em Qua, 2005-08-17 às 14:11 +0200, Rolf Eike Beer escreveu: > Mauro Carvalho Chehab wrote: > >Em Qua, 2005-08-17 às 13:15 +0200, Rolf Eike Beer escreveu: > > >> Damn, I should stop editing diffs by hand. > > > > I'm also have this old habbit ;-) > > That doesn't make it any better :) >

Re: [ANNOUNCE][RFC] PlugSched-5.2.4 for 2.6.12 and 2.6.13-rc6

2005-08-17 Thread Con Kolivas
On Wed, 17 Aug 2005 21:23, Michal Piotrowski wrote: > Hi, > > On 8/17/05, Con Kolivas <[EMAIL PROTECTED]> wrote: > > On Mon, 15 Aug 2005 22:29, Michal Piotrowski wrote: > > > Hi, > > > here are my benchmarks (part1): > > > > Want to try the staircase cpu scheduler in "compute" mode for the compute

Re: 2.6.13-rc3-mm2/mm1 breaks DRI

2005-08-17 Thread Dave Airlie
> The most important question is if mainline 2.6.13-rc3 or -rc4 is okay? > > If so then it is the -mm only that breaks it, if -mm only can you > > modprobe drm debug=1 > modprobe radeon > Okay I've had time to think about this a bit... It looks like the 32/64-bit changes might be affecting pu

Re: VIA VT6410 IDE support for 2.6.11-rc3/via82cxxx

2005-08-17 Thread Sergey Vlasov
(sending this again, because did not see the message in linux-kernel for 2 days and suspect that it has been lost; sorry if someone receives a duplicate) On Fri, Feb 11, 2005 at 07:33:59PM +0100, Bartlomiej Zolnierkiewicz wrote: > On Mon, 07 Feb 2005 12:27:47 -0500, Jeff Garzik <[EMAIL PROTECTED]>

Re: 2.6.12.3 clock drifting twice too fast (amd64)

2005-08-17 Thread Jeff Mahoney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 fyhlu wrote: > Me too. If use latest kernel mouse is dead. > > By the way, did you solve the battery problem in Linux. "Can not read > battery status" Yes. It's a problem with the DSDT. Install pmtools (for iasl - the acpi compiler) and grab ftp://ft

NAPI poll routine happens in interrupt context?

2005-08-17 Thread Joshua Wise
Hello LKML, I have recently been working on a network driver for an emulated ultra-simple network card, and I've run into a few snags with the NAPI. My current issue is that it seems to me that my poll routine is being called from an atomic context, so when poll calls rx, and rx calls netif_rec

Re: [PATCH] Don't use a klist for drivers' set-of-devices

2005-08-17 Thread Alan Stern
On Tue, 16 Aug 2005, Dmitry Torokhov wrote: > Alan, > > I am sorry I don't have time to properly review the patch at > themoment, just a couple of comments about serio - I would not look at > serio for examples of typical use as it was trying very hard to work > around the original driver model l

Re: [PATCH 5/14] i386 / Use early clobber to eliminate rotate in desc

2005-08-17 Thread Alan Cox
On Maw, 2005-08-16 at 17:06 -0700, H. Peter Anvin wrote: > At least i386 and x86-64 gcc should recognize > > ((foo << x) + (foo >> (32-x))) > > ... as a 32-bit rotate Only for 1 <= x <= 31. For the x = 0 case the code posted is undefined and at least in some cases gcc will do "interesting

Re: 2.6.13-rc6-rt6

2005-08-17 Thread Steven Rostedt
On Wed, 2005-08-17 at 08:47 +0200, Ingo Molnar wrote: > > unfortunately the space of "patches that break the kernel" is infinitely > larger (and infinitely easier to generate) than the space of "patches > that improve the kernel" - so i'll skip your patch for now ;-) Yeah, I took out my "bad"

Re: [patch] Real-Time Preemption, -RT-2.6.13-rc6-V0.7.53-11

2005-08-17 Thread Alan Stern
On Tue, 16 Aug 2005, David Brownell wrote: > > > > Interrupts are disabled during usb_hcd_giveback_urb because that's how > > > > it was done originally and nobody has made an effort to remove this > > > > assumption from the USB device drivers. > > Also Host Controller Drivers (HCDs). You do

Re: rcu read-side protection

2005-08-17 Thread Paul E. McKenney
On Wed, Aug 17, 2005 at 09:25:52AM +0100, Steven Whitehouse wrote: > Hi, > > On Tue, Aug 16, 2005 at 07:01:57PM -0700, Paul E. McKenney wrote: > > On Tue, Aug 16, 2005 at 05:09:29PM -0700, Suzanne Wood wrote: > > [ . . . ] > > > A read-side critical section is marked to protect the dereference of

Re: NAPI poll routine happens in interrupt context?

2005-08-17 Thread Joshua Wise
It has come to my attention that the link that I posted previously was nonfunctional. It has been fixed. As well, here are some other pertinent details: This is kernel 2.6.13-rc2, the latest that works with MIPS SMP. Here is a trace: Debug: sleeping function called from invalid context at arch

Re: [RFC - 0/9] Generic timekeeping subsystem (v. B5)

2005-08-17 Thread Christoph Lameter
On Wed, 17 Aug 2005, Ulrich Windl wrote: > whatever the implementation is, at some point there must exist an interface > go get > and set "normal time", free of any jumps and jitter. That "frontend time" > will be > used a a base of correction. Basically that means time should be as monotonic

Re: [RFC] [PATCH] cache pollution aware __copy_from_user_ll()

2005-08-17 Thread Akira Tsukamoto
On Wed, 17 Aug 2005 14:10:34 +0900 Hiro Yoshioka <[EMAIL PROTECTED]> mentioned: > On 8/17/05, Akira Tsukamoto <[EMAIL PROTECTED]> wrote: > > Anyway, going back to copy_user topic, > > big remaining issues are > > 1)store/restore floating point register (80/64bytes) twice every time by > > su

Re: 2.6.13-rc6-rt6

2005-08-17 Thread Steven Rostedt
On Wed, 2005-08-17 at 10:05 -0400, Steven Rostedt wrote: > On Wed, 2005-08-17 at 08:47 +0200, Ingo Molnar wrote: > > > > > unfortunately the space of "patches that break the kernel" is infinitely > > larger (and infinitely easier to generate) than the space of "patches > > that improve the kern

Re: [RFC,PATCH] Use RCU to protect tasklist for unicast signals

2005-08-17 Thread Oleg Nesterov
Paul E. McKenney wrote: > > > The other thing that jumped out at me is that signals are very different > > animals from a locking viewpoint depending on whether they are: > > > > 1. ignored, > > > > 2. caught by a single thread, > > > > 3. fatal to multiple threads/processes (though I don't know

Re: [PATCH] Don't use a klist for drivers' set-of-devices

2005-08-17 Thread Bartlomiej Zolnierkiewicz
Hi, On 8/17/05, Alan Stern <[EMAIL PROTECTED]> wrote: > On Tue, 16 Aug 2005, Dmitry Torokhov wrote: > > > Alan, > > > > I am sorry I don't have time to properly review the patch at > > themoment, just a couple of comments about serio - I would not look at > > serio for examples of typical use as

Re: rcu read-side protection

2005-08-17 Thread Steven Whitehouse
Hi, On Wed, Aug 17, 2005 at 07:14:38AM -0700, Paul E. McKenney wrote: [snip] > How about the following patch? Untested, but seems pretty straightforward. > > Thanx, Paul > That would be my preferred fix. If Patrick is happy with that, then

watchdog-mm git tree

2005-08-17 Thread Wim Van Sebroeck
Hi Andrew, I (finaly) converted the watchdog-mm bitkeeper tree to a git repository: rsync://rsync.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog-mm.git The tree contains the following patches at this moment (in reverse order): Author: Wim Van Sebroeck <[EMAIL PROTECTED]> Date: Tue

Re: 2.6.12.3 clock drifting twice too fast (amd64)

2005-08-17 Thread yhlu
thanks YH On 8/17/05, Jeff Mahoney <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > fyhlu wrote: > > Me too. If use latest kernel mouse is dead. > > > > By the way, did you solve the battery problem in Linux. "Can not read > > battery status" > > Yes. It's a prob

Re: math_state_restore() question

2005-08-17 Thread Akira Tsukamoto
On Wed, 17 Aug 2005 17:42:22 +0900 (JST) Hiro Yoshioka <[EMAIL PROTECTED]> mentioned: > > Just take a look at __switch_to(), where __unlazy_fpu() is called. > > Thanks. Does an exception handler (like page_fault, etc) come > from __switch_to()? No, page_fault is generated when the location of m

Re: [RFC] [PATCH] cache pollution aware __copy_from_user_ll()

2005-08-17 Thread Akira Tsukamoto
I am resubmitting this because it seems to be lost when I posted the before yesterday. Arjan van de Ven mentioned: > The only comment/question I have is about the use of prefetchnta; that > might have cache-evicting properties as well (eg evict the cache of t

Re: rc6 keeps hanging and blanking displays

2005-08-17 Thread Linus Torvalds
On Wed, 17 Aug 2005, Dave Airlie wrote: > > > git is completely new to me - is there a git-specific way to get this > > patch, or should I download it the usual way from somewhere? > > Just grab it from the link to comment #16 on > http://bugzilla.kernel.org/show_bug.cgi?id=4965 That's a good

Re: rcu read-side protection

2005-08-17 Thread Patrick Caulfield
Paul E. McKenney wrote: > On Wed, Aug 17, 2005 at 09:25:52AM +0100, Steven Whitehouse wrote: > >>Hi, >> >>On Tue, Aug 16, 2005 at 07:01:57PM -0700, Paul E. McKenney wrote: >> >>>On Tue, Aug 16, 2005 at 05:09:29PM -0700, Suzanne Wood wrote: >>>[ . . . ] >>> A read-side critical section is marke

Re: [RFC] [PATCH] cache pollution aware __copy_from_user_ll()

2005-08-17 Thread Chuck Ebbert
On Wed, 17 Aug 2005 at 13:50:22 +0900 (JST), Hiro Yoshioka wrote: > 3) page faults/exceptions/... > 3-1 TS flag is set by the CPU (Am I right?) TS will _not_ be set if a trap/fault or interrupt occurs. The only way that could happen automatically would be to use a separate hardware task with

Re: [PATCH 5/14] i386 / Use early clobber to eliminate rotate in desc

2005-08-17 Thread H. Peter Anvin
Alan Cox wrote: On Maw, 2005-08-16 at 17:06 -0700, H. Peter Anvin wrote: At least i386 and x86-64 gcc should recognize ((foo << x) + (foo >> (32-x))) ... as a 32-bit rotate Only for 1 <= x <= 31. For the x = 0 case the code posted is undefined and at least in some cases gcc will d

Re: [rfc][patch] API for timer hooks

2005-08-17 Thread Stas Sergeev
Hello. Nish Aravamudan wrote: [PATCH] i386: Selectable Frequency of the Timer Interrupt but it doesn't look like it ended up with some patch applied, or where is it? This thread resulted in CONFIG_HZ. You get to choose between 100, 250 or 1000. It was not meant to allow runtime HZ modifications

FPU-intensive programs crashing with floating point exception on Cyrix MII

2005-08-17 Thread Ondrej Zary
My machine (Cyrix MII PR300 CPU, PCPartner TXB820DS board with i430TX chipset) exhibits a really weird problem: When I run a program that uses FPU, it sometimes crashes with "flaoting point exception" - for example, when playing MP3 files using any player. Or with Prime95 - http://www.mersenne.o

Re: 2.6.13-rc6-rt6

2005-08-17 Thread Steven Rostedt
On Wed, 2005-08-17 at 10:24 -0400, Steven Rostedt wrote: > OK the output from netconsole still seems like netconsole itself is > causing some problems. But I think it is also showing this lockup. I'll > recompile my kernel as UP and see if netconsole works fine. Well, the UP kernel boots on my l

Re: [rfc][patch] API for timer hooks

2005-08-17 Thread Stas Sergeev
Hello. Lee Revell wrote: Wow, your driver implements bass and treble controls by varying the frequency of the timer interrupt. That's a neat hack, but I'd expect it to raise a few eyebrows if it's submitted for mainline... I realized that some time ago, and now, even though the code it still t

Re: 2.6.13-rc6-rt6

2005-08-17 Thread Ingo Molnar
* Steven Rostedt <[EMAIL PROTECTED]> wrote: > On Wed, 2005-08-17 at 10:24 -0400, Steven Rostedt wrote: > > > OK the output from netconsole still seems like netconsole itself is > > causing some problems. But I think it is also showing this lockup. I'll > > recompile my kernel as UP and see if n

Re: [PATCH 2.6.12.5 1/2] lib: allow idr to be used in irq context

2005-08-17 Thread Jim Houston
On Tue, 2005-08-16 at 18:03, Luben Tuikov wrote: > If idr_get_new() or idr_remove() is used in IRQ context, > then we may get a lockup when idr_pre_get was called > in process context and an IRQ interrupted while it held > the idp lock. Hi Everyone, Luben's changes make sense please merge them.

Re: net-irda-possible-cleanups.patch added to -mm tree

2005-08-17 Thread Jean Tourrilhes
On Tue, Aug 16, 2005 at 08:46:34PM -0700, David S. Miller wrote: > > I've put this into the net-2.6.14 tree. Great. Thanks ! Jean - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http:/

Re: [rfc][patch] API for timer hooks

2005-08-17 Thread Lee Revell
On Wed, 2005-08-17 at 20:21 +0400, Stas Sergeev wrote: > perhaps allowing a single higher frequency, or allowing just any > frequency, is pretty much the same task, and doesn't > look achievable within the currently existing > timer API anyway Lots of things aren't doable with the current timer AP

RE: The Linux FAT issue on SD Cards.. maintainer support please

2005-08-17 Thread Mukund JB`.
Dear Lennart, A have a new fining here. fdisk -l -u /dev/tfa0: debdev1:~# fdisk -l -u /dev/tfa0 Disk /dev/tfa0: 14 MB, 14680064 bytes 2 heads, 32 sectors/track, 448 cylinders, total 28672 sectors Units = sectors of 1 * 512 = 512 bytes Device Boot Start End Blocks Id Sys

Re: FPU-intensive programs crashing with floating point exception on Cyrix MII

2005-08-17 Thread linux-os \(Dick Johnson\)
On Wed, 17 Aug 2005, Ondrej Zary wrote: > My machine (Cyrix MII PR300 CPU, PCPartner TXB820DS board with i430TX > chipset) exhibits a really weird problem: > When I run a program that uses FPU, it sometimes crashes with "flaoting > point exception" - for example, when playing MP3 files using any

Re: 2.6.13-rc6-rt6

2005-08-17 Thread K.R. Foley
Ingo Molnar wrote: * Steven Rostedt <[EMAIL PROTECTED]> wrote: On Wed, 2005-08-17 at 10:24 -0400, Steven Rostedt wrote: OK the output from netconsole still seems like netconsole itself is causing some problems. But I think it is also showing this lockup. I'll recompile my kernel as UP and

Re: [RFC] [PATCH] Split host arch headers for UML's benefit

2005-08-17 Thread Jeff Dike
On Tue, Aug 16, 2005 at 10:46:56AM -0700, Zachary Amsden wrote: > I like this approach. In general, it seems beneficial to split these > into ABI and kernel implementation. Also, this stuff eventually works > its way into userspace headers. It is not really clear which asm-xxx > kernel header

Re: NAPI poll routine happens in interrupt context?

2005-08-17 Thread Stephen Hemminger
On Wed, 17 Aug 2005 09:32:10 -0400 Joshua Wise <[EMAIL PROTECTED]> wrote: > Hello LKML, You will get more response to network issues on netdev@vger.kernel.org > I have recently been working on a network driver for an emulated ultra-simple > network card, and I've run into a few snags with the

Re: NAPI poll routine happens in interrupt context?

2005-08-17 Thread Joshua Wise
On Wednesday 17 August 2005 12:43, Stephen Hemminger wrote: > You will get more response to network issues on netdev@vger.kernel.org Okay. Thanks. > NAPI poll is usually called from softirq context. This means that > hardware interrupts are enabled, but it is not in a thread context that > can sl

Re: 2.6.13-rc6-rt6

2005-08-17 Thread Steven Rostedt
On Wed, 2005-08-17 at 08:47 +0200, Ingo Molnar wrote: > but stop_machine() looks quite preempt-unsafe to begin with. The > local_irq_disable() would not be needed at all if prior the > for_each_online_cpu() loop we'd use set_cpus_allowed. The current method > of achieving 'no preemption' is sim

Re: [rfc][patch] API for timer hooks

2005-08-17 Thread Stas Sergeev
Hello. Lee Revell wrote: Lots of things aren't doable with the current timer API, hence all the recent work on dynamic tick. I've found only this about the dynamic tick: http://lwn.net/Articles/138969/ and it seems that it is intended only to slow down the interrupts when there is no work to d

Re: Atheros and rt2x00 driver

2005-08-17 Thread joebob
On Wed, 17 Aug 2005, Jon Jahren wrote: > Hello, I'm new to the mailling list, and couldn't find any traces of > discussing this anywhere. I was wondering why neither the atheros driver > http://madwifi.sourceforge.net, or the rt2x00 driver > http://rt2x00.serialmonkey.com/wiki/index.php/Main_Page i

[RFC] Cleanup line-wrapping in pgtable.h

2005-08-17 Thread Adam Litke
The line-wrapping in most of the include/asm/pgtable.h pte test/set macros looks horrible in my 80 column terminal. The following "test the waters" patch is how I would like to see them laid out. I realize that the braces don't adhere to CodingStyle but the advantage is (when taking wrapping into

Re: [RFC] Cleanup line-wrapping in pgtable.h

2005-08-17 Thread Christoph Hellwig
> +static inline int pte_user(pte_t pte) > + { return (pte).pte_low & _PAGE_USER; } Once you start reformatting things please make sure the result version matches the documented codingstyle. That would be: static inline int pte_user(pte_t pte) { return (pte).pte_low & _PAGE_USER; }

Re: [RFC] Cleanup line-wrapping in pgtable.h

2005-08-17 Thread Tommy Reynolds
Uttered Adam Litke <[EMAIL PROTECTED]>, spake thus: > The line-wrapping in most of the include/asm/pgtable.h pte test/set > macros looks horrible in my 80 column terminal. The following "test the > waters" patch is how I would like to see them laid out. I realize that > the braces don't adhere t

Re: Schedulers benchmark - Was: [ANNOUNCE][RFC] PlugSched-5.2.4 for 2.6.12 and 2.6.13-rc6

2005-08-17 Thread Michal Piotrowski
Hi, here are additional staircase scheduler benchmarks. (make all -j8) scheduler: staircase sched_compute=1 schedstat: version 12 timestamp 4294712019 cpu0 1 0 0 31 0 18994 4568 7407 5903 10267 6976 14426 domain0 3 18574 18398 6 3938 193 4 0 18398 335 285 0 1191 175 0 0 285 4753 4508 75 6843 33

Re: Atheros and rt2x00 driver

2005-08-17 Thread Daniel J Blueman
On Wed, 17 Aug 2005, Jon Jahren wrote: > Hello, I'm new to the mailling list, and couldn't find any traces of > discussing this anywhere. I was wondering why neither the atheros driver > http://madwifi.sourceforge.net, or the rt2x00 driver > http://rt2x00.serialmonkey.com /wiki/index.php/Main_Page

Re: [RFC] Cleanup line-wrapping in pgtable.h

2005-08-17 Thread Dave Hansen
On Wed, 2005-08-17 at 12:45 -0500, Adam Litke wrote: > The line-wrapping in most of the include/asm/pgtable.h pte test/set > macros looks horrible in my 80 column terminal. The following "test the > waters" patch is how I would like to see them laid out. I realize that > the braces don't adhere t

[PATCH] nfsd to unlock kernel before exiting

2005-08-17 Thread Steven Rostedt
The nfsd holds the big kernel lock upon exit, when it really shouldn't. Not to mention that this breaks Ingo's RT patch. This is a trivial fix to release the lock. Ingo, this patch also works with your kernel, and stops the problem with nfsd. Note, there's a "goto out;" where "out:" is right abov

[PATCH 2.6.12.5] NPTL signal delivery deadlock fix

2005-08-17 Thread Bhavesh P. Davda
This bug is quite subtle and only happens in a very interesting situation where a real-time threaded process is in the middle of a coredump when someone whacks it with a SIGKILL. However, this deadlock leaves the system pretty hosed and you have to reboot to recover. Not good for real-time priorit

Re: 2.6.13-rc6-rt6

2005-08-17 Thread Steven Rostedt
On Wed, 2005-08-17 at 12:10 -0500, K.R. Foley wrote: > This one has been biting me in the shorts since going to the 2.6.13-rc? > RT series on my older SMP system at home. In every case the system hangs > on shutdown and requires a hard reset. I just hadn't had the time to > check into it. I was

Re: NAPI poll routine happens in interrupt context?

2005-08-17 Thread David S. Miller
From: Joshua Wise <[EMAIL PROTECTED]> Date: Wed, 17 Aug 2005 09:32:10 -0400 > I have recently been working on a network driver for an emulated ultra-simple > network card, and I've run into a few snags with the NAPI. My current issue > is that it seems to me that my poll routine is being called

Re: Atheros and rt2x00 driver

2005-08-17 Thread David S. Miller
From: Jon Jahren <[EMAIL PROTECTED]> Date: Wed, 17 Aug 2005 19:15:43 +0200 > Hello, I'm new to the mailling list, and couldn't find any traces of > discussing this anywhere. I was wondering why neither the atheros driver > http://madwifi.sourceforge.net, or the rt2x00 driver > http://rt2x00.serial

Re: [patch 3/7] PCI: fix quirk-6700-fix.patch

2005-08-17 Thread Greg KH
On Tue, Aug 16, 2005 at 05:27:11PM -0700, Andrew Morton wrote: > > hm. I normally fold crappy little patches like this into the main patch > before sending it Linuswards. The submitter gets a mention in the s-o-b > record and perhaps a one-line description if the fix was less than utterly > triv

Re: The Linux FAT issue on SD Cards.. maintainer support please

2005-08-17 Thread Lennart Sorensen
On Wed, Aug 17, 2005 at 10:32:03PM +0530, Mukund JB`. wrote: > A have a new fining here. > > fdisk -l -u /dev/tfa0: > debdev1:~# fdisk -l -u /dev/tfa0 > > Disk /dev/tfa0: 14 MB, 14680064 bytes > 2 heads, 32 sectors/track, 448 cylinders, total 28672 sectors Units = > sectors of 1 * 512 = 512 bytes

Re: NAPI poll routine happens in interrupt context?

2005-08-17 Thread Ralf Baechle
On Wed, Aug 17, 2005 at 01:21:18PM -0400, Joshua Wise wrote: > > The bug is that ipv6 is doing an operation to handle MIB statistics and > > the MIPS architecture math routines seem to need to sleep. Except nothing in the network stack is using fp - the use of FP inside the MIPS kernel is not sup

Re: FPU-intensive programs crashing with floating point exception on Cyrix MII

2005-08-17 Thread Chuck Ebbert
On Wed, 17 Aug 2005 at 18:13:55 +0200, Ondrej Zary wrote: > When I run a program that uses FPU, it sometimes crashes with "flaoting > point exception" > + printk("MATH ERROR %d\n",((~cwd) & swd & 0x3f) | (swd & 0x240)); Could you modify this to print the full values of cwd and swd like t

Re: [PATCH 2.6.12.5] NPTL signal delivery deadlock fix

2005-08-17 Thread Chris Wright
* Bhavesh P. Davda ([EMAIL PROTECTED]) wrote: > This bug is quite subtle and only happens in a very interesting > situation where a real-time threaded process is in the middle of a > coredump when someone whacks it with a SIGKILL. However, this deadlock > leaves the system pretty hosed and you have

  1   2   3   >