Re: 2.6.13-rc6-rt6

2005-08-16 Thread Ingo Molnar
* Steven Rostedt <[EMAIL PROTECTED]> wrote: > Since the change made raw_local_save_flags the same for both > PREEMPT_RT and !PREEMPT_RT, I moved it out of the #ifdef altogether. > The __raw_local_save_flags already does the type checking (at least > for intel). ok, i've applied this one.

Re: [UPDATE PATCH] push rounding up of relative request to schedule_timeout()

2005-08-16 Thread Nishanth Aravamudan
On 16.08.2005 [17:39:11 -0700], George Anzinger wrote: > Nishanth Aravamudan wrote: > >On 04.08.2005 [09:45:55 -0700], George Anzinger wrote: > > > >>Uh... PLEASE tell me you are NOT changing timespec_to_jiffies() (and > >>timeval_to_jiffies() to add 1. This is NOT the right thing to do. For >

Re: compiling only one module in kernel version 2.6?

2005-08-16 Thread Steven Rostedt
On Wed, 2005-08-17 at 01:48 -0400, Steven Rostedt wrote: > On Tue, 2005-08-16 at 22:41 -0700, Randy.Dunlap wrote: > > > > Sam only added make .ko build support very recently, > > so it could easily depend on what kernel verison Fong is using. > > That could very well explain it. I'm doing this

Re: [2.6.13-rc6-latest] SCSI disk registration msgs repeat themselves

2005-08-16 Thread Pete Zaitcev
On Tue, 16 Aug 2005 21:39:33 -0700, Patrick Mansfield <[EMAIL PROTECTED]> wrote: > On Tue, Aug 16, 2005 at 11:01:30PM -0400, Chuck Ebbert wrote: > > I just added some usb-storage devices to my system and got the below. > > Why do the first four lines repeat for each device? (Not sure if > >

Re: HDAPS, Need to park the head for real

2005-08-16 Thread Jens Axboe
On Tue, Aug 16 2005, Alejandro Bonilla Beeche wrote: > On Tue, 2005-08-16 at 22:07 +0200, Jens Axboe wrote: > > On Tue, Aug 16 2005, Alejandro Bonilla Beeche wrote: > > If I were in your position, I would just implement this for ide (pata, > > not sata) right now, since that is what you need to

Re: compiling only one module in kernel version 2.6?

2005-08-16 Thread Steven Rostedt
On Tue, 2005-08-16 at 22:41 -0700, Randy.Dunlap wrote: > > Sam only added make .ko build support very recently, > so it could easily depend on what kernel verison Fong is using. That could very well explain it. I'm doing this on 2.6.13-rc6-rt6 (2.6.13-rc6 with Ingo's rt6 patch applied). So I

Re: 2.6.13-rc6-rt6

2005-08-16 Thread Steven Rostedt
On Wed, 2005-08-17 at 00:20 -0400, Steven Rostedt wrote: > Ingo, > > FYI, I ran this on my laptop (Pentium4 HT) and it locked up shortly > after it started INIT. I rebooted, and now it's up and running > with no problems!?! I'll reboot it a few more times to see if it will > lock up again.

Re: [PATCH] ppc32: removed usage of

2005-08-16 Thread Kumar Gala
On Aug 16, 2005, at 10:33 PM, David S. Miller wrote: From: Paul Mackerras <[EMAIL PROTECTED]> Date: Wed, 17 Aug 2005 11:38:20 +1000 Kumar Gala writes: Made a dummy include like it is in ppc64 and removed any users if it in arch/ppc. Why can't we just delete asm-ppc/segment.h (and

[RFC][PATCH] Mobil Pentium 4 HT and the NMI

2005-08-16 Thread Steven Rostedt
I'm trying to get the nmi working with my laptop (IBM ThinkPad G41) and after debugging it a while, I found that the nmi code doesn't want to set it up for this particular CPU. Here I have: $ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model

Re: compiling only one module in kernel version 2.6?

2005-08-16 Thread Randy.Dunlap
On Tue, 16 Aug 2005 23:18:49 -0400 Steven Rostedt wrote: > On Tue, 2005-08-16 at 19:09 -0700, Fong Vang wrote: > > What's the easiest way to compile just one module in the Linux 2.6 kernel > > tree? > > > > This no longer seem to work: > > > > $ cd /usr/src/linux > > $ make

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

2005-08-16 Thread Matt Domsch
On Tue, Aug 16, 2005 at 06:47:45PM -0500, [EMAIL PROTECTED] wrote: > > From: Greg KH [mailto:[EMAIL PROTECTED] > > > And just to re-iterate one more time, we can already directly hook > > > into > > > hardware from userspace without any kernel auditing. We are > > just trying > > > to set this

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

2005-08-16 Thread Hiro Yoshioka
Akira, Thanks for your suggestions. 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 > surrounding with kernel_fpu_begin()/kernel_fpu_end()

powernow-k8 cpufreq driver problems (fails to load on MSI k8n neo2 w/3500+)

2005-08-16 Thread Jon Schindler
Hi, I have two machines with similar specs (same motherboard and bios version), and one works fine with the cpufreq driver while the other machine is giving me the following messages below. powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.40.4) cpufreq-core: trying to

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

2005-08-16 Thread Hiro Yoshioka
From: Hiro Yoshioka <[EMAIL PROTECTED]> Subject: Re: [RFC] [PATCH] cache pollution aware __copy_from_user_ll() Date: Wed, 17 Aug 2005 08:21:53 +0900 (JST) Message-ID: <[EMAIL PROTECTED]> > Chuck, > > From: Chuck Ebbert <[EMAIL PROTECTED]> > > On Tue, 16 Aug 2005 at 19:16:17 +0900 (JST), Hiro

Re: [2.6.13-rc6-latest] SCSI disk registration msgs repeat themselves

2005-08-16 Thread Patrick Mansfield
On Tue, Aug 16, 2005 at 11:01:30PM -0400, Chuck Ebbert wrote: > I just added some usb-storage devices to my system and got the below. > Why do the first four lines repeat for each device? (Not sure if > this is a SCSI or USB problem.) It is in the partition code. I posted twice before about

Re: 2.6.13-rc6-rt6

2005-08-16 Thread Steven Rostedt
Ingo, FYI, I ran this on my laptop (Pentium4 HT) and it locked up shortly after it started INIT. I rebooted, and now it's up and running with no problems!?! I'll reboot it a few more times to see if it will lock up again. Unfortunately, my laptop doesn't have any serial so I don't have much

Re: [PATCH] [Fwd: Console locking and blanking]

2005-08-16 Thread Steven Rostedt
On Tue, 2005-08-16 at 21:55 -0600, Alejandro Bonilla Beeche wrote: > On Tue, 2005-08-16 at 23:44 -0400, Steven Rostedt wrote: > > On Wed, 2005-08-17 at 13:29 +1000, Benjamin Herrenschmidt wrote: > > > On Wed, 2005-08-17 at 11:41 +1000, Benjamin Herrenschmidt wrote: > > > > > > > (I'm blind and I

Re: [PATCH] [Fwd: Console locking and blanking]

2005-08-16 Thread Alejandro Bonilla Beeche
On Tue, 2005-08-16 at 23:44 -0400, Steven Rostedt wrote: > On Wed, 2005-08-17 at 13:29 +1000, Benjamin Herrenschmidt wrote: > > On Wed, 2005-08-17 at 11:41 +1000, Benjamin Herrenschmidt wrote: > > > > > (I'm blind and I use a braille display. I use those functions to blank > > > my laptop's

Re: [PATCH] [Fwd: Console locking and blanking]

2005-08-16 Thread Benjamin Herrenschmidt
On Tue, 2005-08-16 at 23:44 -0400, Steven Rostedt wrote: > On Wed, 2005-08-17 at 13:29 +1000, Benjamin Herrenschmidt wrote: > > On Wed, 2005-08-17 at 11:41 +1000, Benjamin Herrenschmidt wrote: > > > > > (I'm blind and I use a braille display. I use those functions to blank > > > my laptop's

Re: [PATCH] [Fwd: Console locking and blanking]

2005-08-16 Thread Jon Smirl
As an alternative to using VT IOCTLs you should be able to echo these values to /sys/class/graphics/fb0/blank and blank the screen. The attribute is pretty new so it hasn't had a lot of testing on the various fbdev drivers. #define VESA_NO_BLANKING0 #define VESA_VSYNC_SUSPEND 1

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

2005-08-16 Thread David S. Miller
I've put this into the net-2.6.14 tree. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] [Fwd: Console locking and blanking]

2005-08-16 Thread Steven Rostedt
On Wed, 2005-08-17 at 13:29 +1000, Benjamin Herrenschmidt wrote: > On Wed, 2005-08-17 at 11:41 +1000, Benjamin Herrenschmidt wrote: > > > (I'm blind and I use a braille display. I use those functions to blank > > my laptop's screen so people don't read it, and hopefully to conserve > > power.)

Re: [PATCH] ppc32: removed usage of

2005-08-16 Thread David S. Miller
From: Paul Mackerras <[EMAIL PROTECTED]> Date: Wed, 17 Aug 2005 11:38:20 +1000 > Kumar Gala writes: > > > Made a dummy include like it is in ppc64 and removed any > > users if it in arch/ppc. > > Why can't we just delete asm-ppc/segment.h (and asm-ppc64/segment.h > too, for that matter)

Re: [PATCH] [Fwd: Console locking and blanking]

2005-08-16 Thread Benjamin Herrenschmidt
On Wed, 2005-08-17 at 11:41 +1000, Benjamin Herrenschmidt wrote: > (I'm blind and I use a braille display. I use those functions to blank > my laptop's screen so people don't read it, and hopefully to conserve > power.) Oops ! I _am_not_ the one who is blind, though thanks a lot for some of

Re: [ANNOUNCE] iproute2 util update

2005-08-16 Thread Eric Dumazet
Stephen Hemminger a écrit : http://developer.osdl.org/dev/iproute2/download/iproute2-050816.tar.gz Update to iproute2 to include: * Limit ip neigh flush to 10 rounds * tc ematch support (thomas) * build cleanups (thomas, et al) * Fix for options process with ipt

Re: compiling only one module in kernel version 2.6?

2005-08-16 Thread Steven Rostedt
On Tue, 2005-08-16 at 19:09 -0700, Fong Vang wrote: > What's the easiest way to compile just one module in the Linux 2.6 kernel > tree? > > This no longer seem to work: > > $ cd /usr/src/linux > $ make SUBDIRS=fs/reiserfs modules >Building modules, stage 2. >MODPOST

[2.6.13-rc6-latest] SCSI disk registration msgs repeat themselves

2005-08-16 Thread Chuck Ebbert
I just added some usb-storage devices to my system and got the below. Why do the first four lines repeat for each device? (Not sure if this is a SCSI or USB problem.) [ 23.433725] SCSI device sda: 63424 512-byte hdwr sectors (32 MB) [ 23.560564] sda: Write Protect is off [ 23.560581]

[PATCH for 2.6.13] iSeries build with newer assemblers and compilers

2005-08-16 Thread Paul Mackerras
From: Stephen Rothwell <[EMAIL PROTECTED]> Paulus suggested that we put xLparMap in its own .c file so that we can generate a .s file to be included into head.S. This doesn't get around the problem of having it at a fixed address, but it makes it more palatable. It would be good if this could

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

2005-08-16 Thread David Brownell
> > > 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 sort of have to remember who's calling this routine.

Re: 2.4 and 2.6 kernel module

2005-08-16 Thread Fong Vang
Found the answer by googling further. It's been renamed to vermagic. strings reiserfs.ko|grep vermagic vermagic=2.6.9-11.EL 586 REGPARM 4KSTACKS gcc-3.4 On 8/16/05, Fong Vang <[EMAIL PROTECTED]> wrote: > In the 2.4 kernel, modules contain the "kernel_version" identification > in the

compiling only one module in kernel version 2.6?

2005-08-16 Thread Fong Vang
What's the easiest way to compile just one module in the Linux 2.6 kernel tree? This no longer seem to work: $ cd /usr/src/linux $ make SUBDIRS=fs/reiserfs modules Building modules, stage 2. MODPOST I don't see any .ko generated. - To unsubscribe from this list: send

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

2005-08-16 Thread Lee Revell
On Wed, 2005-08-17 at 00:21 +0400, Stas Sergeev wrote: > 1. It needs the higher interrupt frequency. > Since there seem to be no API to change > the timer frequency at runtime, the driver > does this itself. Now I have googled out > the thread Wow, your driver implements bass and treble controls

2.4 and 2.6 kernel module

2005-08-16 Thread Fong Vang
In the 2.4 kernel, modules contain the "kernel_version" identification in the module itself. This is an example from the 2.4.18 reiserfs kernel module: kernel_version=2.4.18-27.7.xbigmem using_checksums=1 description=ReiserFS journaled filesystem author=Hans Reiser <[EMAIL PROTECTED]>

Re: rcu read-side protection

2005-08-16 Thread Paul E. McKenney
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. (struct > net_device is defined in /linux/netdevice.h and its dn_ptr in >

Re: PowerOP 0/3: System power operating point management API

2005-08-16 Thread Todd Poynor
Dominik Brodowski wrote: A small add-on: We need to make sure that we're capable of handling smart CPUs like Transmeta Crusoe processors in a sane way. This means b) Setting of "values" is optional if the hardware itself can be set to a min/max value (step a above in previous mail).

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

2005-08-16 Thread Paul E. McKenney
On Tue, Aug 16, 2005 at 10:07:14AM -0700, Paul E. McKenney wrote: > On Tue, Aug 16, 2005 at 03:56:05PM +0400, Oleg Nesterov wrote: > > Paul E. McKenney wrote: > > > > > > OK, the attached instead revalidates that the task struct still references > > > the sighand_struct after obtaining the lock >

[PATCH] [Fwd: Console locking and blanking]

2005-08-16 Thread Benjamin Herrenschmidt
I've had WARN_CONSOLE_UNLOCKED warnings when calling TIOCLINUX TIOCL_BLANKSCREEN and TIOCL_UNBLANKSCREEN. (I'm blind and I use a braille display. I use those functions to blank my laptop's screen so people don't read it, and hopefully to conserve power.) The warnings are from these places:

Re: PowerOP 0/3: System power operating point management API

2005-08-16 Thread Todd Poynor
Dominik Brodowski wrote: First, the table interface you suggest is ugly. If there's indeed the need for such an abstraction, I'd favour something like I'm planning to adopt the previous suggestions of an opaque data structure and stop trying to have any generic structure to it. I'll try to

Re: [PATCH] ppc32: removed usage of

2005-08-16 Thread Paul Mackerras
Kumar Gala writes: > Made a dummy include like it is in ppc64 and removed any > users if it in arch/ppc. Why can't we just delete asm-ppc/segment.h (and asm-ppc64/segment.h too, for that matter) entirely? Paul. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

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

2005-08-16 Thread john stultz
On Wed, 2005-08-17 at 02:28 +0200, Roman Zippel wrote: > Let's look at the example patch below. I played a little with some code > and this just demonstrates an accurate conversion of the tick/freq values > into the internal values in ns resolution. It does a little more work > ahead, but the

routes disappear

2005-08-16 Thread David Lang
I've been having an intermittent problem over the last couple of years where the addition of a network interface will cause all routes on the box to vanish. the systems are a stripped down Debian 3.0 build with a 2.6.7 kernel and the vast majority of the time they work just fine. however

[patch] KGDB for Real-Time Preemption systems

2005-08-16 Thread George Anzinger
I have put a version of KGDB for x86 RT kernels here: http://source.mvista.com/~ganzinger/ The common_kgdb_cfi_ stuff creates debug records for entry.S and friends so that you can "bt" through them. Apply in this order: Ingo's patch kgdb-ga-rt.patch common_kgdb_cfi_annotations.patch This

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

2005-08-16 Thread Michael E Brown
On Wed, 2005-08-17 at 02:23 +0200, Andi Kleen wrote: > <[EMAIL PROTECTED]> writes: > > 2) Dell OpenManage > > The main use of this driver by openmanage will be to read the System > > Event Log that BIOS keeps. Here are some other random relevant points: > > Are there machine check events

Re: [UPDATE PATCH] push rounding up of relative request to schedule_timeout()

2005-08-16 Thread George Anzinger
Nishanth Aravamudan wrote: On 04.08.2005 [09:45:55 -0700], George Anzinger wrote: Uh... PLEASE tell me you are NOT changing timespec_to_jiffies() (and timeval_to_jiffies() to add 1. This is NOT the right thing to do. For repeating times (see setitimer code) we need the actual time as we

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

2005-08-16 Thread Roman Zippel
Hi, On Mon, 15 Aug 2005, john stultz wrote: > > Please provide the right abstractions, e.g. leave the gettimeofday > > implementation to the timesource and use some helper (template) functions > > to do the actual work. Basically as long as you have a cycle_t in the > > common code something

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

2005-08-16 Thread Andrew Morton
Greg Kroah-Hartman <[EMAIL PROTECTED]> wrote: > > From: Andrew Morton <[EMAIL PROTECTED]> > > drivers/built-in.o(.text+0x32c3): In function `quirk_pcie_pxh': > /usr/src/25/drivers/pci/quirks.c:1312: undefined reference to > `disable_msi_mode' > > Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>

Re: [PATCH 8/14] i386 / Add a per cpu gdt accessor

2005-08-16 Thread Chris Wright
* Andi Kleen ([EMAIL PROTECTED]) wrote: > On Tue, Aug 16, 2005 at 05:07:36PM -0700, Chris Wright wrote: > > * Andi Kleen ([EMAIL PROTECTED]) wrote: > > > On Wed, Aug 10, 2005 at 09:56:40PM -0700, [EMAIL PROTECTED] wrote: > > > > Add an accessor function for getting the per-CPU gdt. Callee must >

Re: [PATCH 1/14] i386 / Make write ldt return error code

2005-08-16 Thread Chris Wright
* Andi Kleen ([EMAIL PROTECTED]) wrote: > On Tue, Aug 16, 2005 at 05:06:18PM -0700, Chris Wright wrote: > > In this case the callers do propagate the error (unless you mean > > userspace doesn't check return value from syscall, which is same problem > > if copy_from_user failed, for example). Xen

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

2005-08-16 Thread Andi Kleen
<[EMAIL PROTECTED]> writes: > 2) Dell OpenManage > The main use of this driver by openmanage will be to read the System > Event Log that BIOS keeps. Here are some other random relevant points: Are there machine check events from the last boot in that event log? If yes it would be extremly

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

2005-08-16 Thread Christoph Lameter
On Tue, 16 Aug 2005, john stultz wrote: > That is why I'm suggesting time_interpolator users to move to my code > (when they're ready, of course :). Both are basically timesources. That is why I would suggest you upgrade the interpolators to timesources. Doing that would enable a gradual

Re: [PATCH 8/14] i386 / Add a per cpu gdt accessor

2005-08-16 Thread Andi Kleen
On Tue, Aug 16, 2005 at 05:07:36PM -0700, Chris Wright wrote: > * Andi Kleen ([EMAIL PROTECTED]) wrote: > > On Wed, Aug 10, 2005 at 09:56:40PM -0700, [EMAIL PROTECTED] wrote: > > > Add an accessor function for getting the per-CPU gdt. Callee must already > > > have the CPU. > > > > What is the

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

2005-08-16 Thread john stultz
On Tue, 2005-08-16 at 17:14 -0700, Christoph Lameter wrote: > On Tue, 16 Aug 2005, john stultz wrote: > > > This is basically what I do in my patch. I directly apply the NTP > > adjustment to the timesource interval, and periodically increment the > > NTP state machine by the timesource interval

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

2005-08-16 Thread Christoph Lameter
On Tue, 16 Aug 2005, john stultz wrote: > This is basically what I do in my patch. I directly apply the NTP > adjustment to the timesource interval, and periodically increment the > NTP state machine by the timesource interval when we accumulate it. Is there some way to tell the NTP code how

Re: [PATCH 1/14] i386 / Make write ldt return error code

2005-08-16 Thread Andi Kleen
On Tue, Aug 16, 2005 at 05:06:18PM -0700, Chris Wright wrote: > * Andi Kleen ([EMAIL PROTECTED]) wrote: > > On Wed, Aug 10, 2005 at 09:52:51PM -0700, [EMAIL PROTECTED] wrote: > > > Xen requires error returns from the hypercall to update LDT entries, > > > and this generates completely equivalent

Re: [RFC - 0/13] NTP cleanup work (v. B5)

2005-08-16 Thread Roman Zippel
Hi, On Mon, 15 Aug 2005, john stultz wrote: > > I think most of this is premature cleanup. As it also changes the logic in > > small ways, I'm not even sure it qualifies as a cleanup. > > Please, Roman, I'm spending quite a bit of time breaking this up into > small chunks specifically to help

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

2005-08-16 Thread H. Peter Anvin
Zachary Amsden wrote: This one in particular is non-optimal looking from C because the compiler misses the potential for rotation. But, composing into temporaries and then issuing two writes to memory instead of multiple writes within the same word could actually get you a better cycle

Re: [PATCH 8/14] i386 / Add a per cpu gdt accessor

2005-08-16 Thread Chris Wright
* Andi Kleen ([EMAIL PROTECTED]) wrote: > On Wed, Aug 10, 2005 at 09:56:40PM -0700, [EMAIL PROTECTED] wrote: > > Add an accessor function for getting the per-CPU gdt. Callee must already > > have the CPU. > > What is the accessor good for? > > It looks just like code obfuscation to me. Xen

Re: [PATCH 1/14] i386 / Make write ldt return error code

2005-08-16 Thread Chris Wright
* Andi Kleen ([EMAIL PROTECTED]) wrote: > On Wed, Aug 10, 2005 at 09:52:51PM -0700, [EMAIL PROTECTED] wrote: > > Xen requires error returns from the hypercall to update LDT entries, > > and this generates completely equivalent code on native. > > I don't think that is something we want. Nothing

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

2005-08-16 Thread Zachary Amsden
Andi Kleen wrote: On Wed, Aug 10, 2005 at 09:54:11PM -0700, [EMAIL PROTECTED] wrote: Use an early clobber on addr to avoid the extra rorl instruction at the end of _set_tssldt_desc. I would suggest to just use C for this. I do this on x86-64 and I don't think there is any reason to

Re: rc6 keeps hanging and blanking displays

2005-08-16 Thread Dave Airlie
> ... > > 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.. the fact that disabling the DRM stops things from working is really bad, maybe the pci_enable_device in the DRM is setting

Re: [PATCH 4/14] i386 / Clean up asm and volatile keywords in desc

2005-08-16 Thread H. Peter Anvin
Andi Kleen wrote: On Wed, Aug 10, 2005 at 09:53:51PM -0700, [EMAIL PROTECTED] wrote: Stop using extra underscores on asm and volatiles, that is just silly. Actually the volatiles might be still useful. Or if you drop them at least add memory clobbers. I had sometimes bugs on x86-64 with the

Re: [PATCH 4/14] i386 / Clean up asm and volatile keywords in desc

2005-08-16 Thread Chris Wright
* Andi Kleen ([EMAIL PROTECTED]) wrote: > On Wed, Aug 10, 2005 at 09:53:51PM -0700, [EMAIL PROTECTED] wrote: > > Stop using extra underscores on asm and volatiles, that is just silly. > > Actually the volatiles might be still useful. Or if you drop them > at least add memory clobbers. They are

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

2005-08-16 Thread Michael_E_Brown
> -Original Message- > From: Greg KH [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 16, 2005 6:24 PM > To: Brown, Michael E > Cc: [EMAIL PROTECTED]; linux-kernel@vger.kernel.org; > Warzecha, Douglas; Domsch, Matt > Subject: Re: [RFC][PATCH 2.6.13-rc6] add Dell Systems > Management

Re: [PATCH 8/14] i386 / Add a per cpu gdt accessor

2005-08-16 Thread H. Peter Anvin
Andi Kleen wrote: On Wed, Aug 10, 2005 at 09:56:40PM -0700, [EMAIL PROTECTED] wrote: Add an accessor function for getting the per-CPU gdt. Callee must already have the CPU. What is the accessor good for? It looks just like code obfuscation to me. He wants accessors so he can override

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

2005-08-16 Thread john stultz
On Tue, 2005-08-16 at 11:25 -0700, Christoph Lameter wrote: > You mentioned that the NTP code has some issues with time interpolation > at the KS. This is due to the NTP layer not being aware of actual time > differences between timer interrupts that the interpolator knows about. My

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

2005-08-16 Thread Steven Rostedt
On Wed, 2005-08-17 at 00:33 +0100, Alan Cox wrote: > > If you use /dev/mem you should know what you are doing. Even with > "checks" dd if=/dev/zero of=/dev/mem will do bad things. Trapping > obviously bad cases is fine, but complete sanity checking may actually > be counter productive. >

Re: [PATCH 8/14] i386 / Add a per cpu gdt accessor

2005-08-16 Thread Andi Kleen
On Wed, Aug 10, 2005 at 09:56:40PM -0700, [EMAIL PROTECTED] wrote: > Add an accessor function for getting the per-CPU gdt. Callee must already > have the CPU. What is the accessor good for? It looks just like code obfuscation to me. -Andi - To unsubscribe from this list: send the line

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

2005-08-16 Thread Doug Warzecha
On Mon, Aug 15, 2005 at 10:52:48PM -0700, Greg KH wrote: > On Mon, Aug 15, 2005 at 03:05:22PM -0500, Doug Warzecha wrote: > > + > > +1) Lock smi_data. > > +2) Determine buffer size needed for system management command. > > +3) Write buffer size needed to smi_data_buf_size. > > + (Driver will

Re: [PATCH 6/14] i386 / Add some segment convenience functions

2005-08-16 Thread Andi Kleen
On Wed, Aug 10, 2005 at 09:54:31PM -0700, [EMAIL PROTECTED] wrote: > Add some convenient segment macros to the kernel. This makes the > rather obfuscated 'seg & 4' go away. segment_from_ldt is a weird name for this. I wouldn't guess it to be a test for something. How about is_ldt_segment()

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

2005-08-16 Thread Andi Kleen
On Wed, Aug 10, 2005 at 09:54:11PM -0700, [EMAIL PROTECTED] wrote: > Use an early clobber on addr to avoid the extra rorl instruction at the > end of _set_tssldt_desc. I would suggest to just use C for this. I do this on x86-64 and I don't think there is any reason to use this hard to maintain

Re: [PATCH 1/14] i386 / Make write ldt return error code

2005-08-16 Thread Andi Kleen
On Wed, Aug 10, 2005 at 09:52:51PM -0700, [EMAIL PROTECTED] wrote: > Xen requires error returns from the hypercall to update LDT entries, > and this generates completely equivalent code on native. I don't think that is something we want. Nothing in the callers will check the errors anyways. If

Re: [PATCH 4/14] i386 / Clean up asm and volatile keywords in desc

2005-08-16 Thread Andi Kleen
On Wed, Aug 10, 2005 at 09:53:51PM -0700, [EMAIL PROTECTED] wrote: > Stop using extra underscores on asm and volatiles, that is just silly. Actually the volatiles might be still useful. Or if you drop them at least add memory clobbers. I had sometimes bugs on x86-64 with the compiler moving such

Re: udev-067 and 2.6.12?

2005-08-16 Thread Alistair John Strachan
On Wednesday 17 August 2005 00:09, Kay Sievers wrote: [snip] > > Do you provide hooks for handling /etc/hotplug.d/? We are on the way of > getting rid of that directory and recent udev versions don't handle > that by default anymore. If you don't know, read the udev RELEASE-NOTES. > > Kay I read

Re: [Hdaps-devel] Re: HDAPS, Need to park the head for real

2005-08-16 Thread Yani Ioannou
On 8/16/05, Alejandro Bonilla Beeche <[EMAIL PROTECTED]> wrote: > On Tue, 2005-08-16 at 22:07 +0200, Jens Axboe wrote: > > On Tue, Aug 16 2005, Alejandro Bonilla Beeche wrote: > > If I were in your position, I would just implement this for ide (pata, > > not sata) right now, since that is what you

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

2005-08-16 Thread Hiro Yoshioka
Chuck, From: Chuck Ebbert <[EMAIL PROTECTED]> > On Tue, 16 Aug 2005 at 19:16:17 +0900 (JST), Hiro Yoshioka wrote: > > oh, really? Does the linux kernel take care of > > SSE save/restore on a task switch? > > Check out XMMS_SAVE and XMMS_RESTORE in include/asm-i386/xor.h Thanks for your

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

2005-08-16 Thread Greg KH
On Tue, Aug 16, 2005 at 06:11:13PM -0500, [EMAIL PROTECTED] wrote: > > The main use of this driver by libsmbios will be to set BIOS F2 > options. Based on your feedback, I will _NOT_ be implementing any > fan/sensor functionality in libsmbios, but will work with the lmsensors > guys to do

Re: 2.6.12.3 clock drifting twice too fast (amd64)

2005-08-16 Thread Jeff Mahoney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christoph Lameter wrote: > On Tue, 16 Aug 2005, jerome lacoste wrote: > >>Installed stock 2.6.12.3 on a brand new amd64 box with an Asus extreme >>AX 300 SE/t mainboard. >> >>I remember seeing a message in the boot saying something along: >> >>

Re: HDAPS, Need to park the head for real

2005-08-16 Thread Alejandro Bonilla Beeche
On Tue, 2005-08-16 at 22:07 +0200, Jens Axboe wrote: > On Tue, Aug 16 2005, Alejandro Bonilla Beeche wrote: > If I were in your position, I would just implement this for ide (pata, > not sata) right now, since that is what you need to support (or do some > of these notebooks come with sata?). So

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

2005-08-16 Thread Michael_E_Brown
Greg KH wrote: >On Tue, Aug 16, 2005 at 08:34:24AM -0500, Michael E Brown wrote: > > >>On Tue, 2005-08-16 at 01:16 -0700, Greg KH wrote: >> >> >>>No, export this data properly through sysfs like all other temperature >>>and sensor data is. Don't create a new one, no matter how much you

Re: 2.6.12.3 clock drifting twice too fast (amd64)

2005-08-16 Thread jerome lacoste
On 8/16/05, john stultz <[EMAIL PROTECTED]> wrote: > On Tue, 2005-08-16 at 12:10 +0200, jerome lacoste wrote: > > Installed stock 2.6.12.3 on a brand new amd64 box with an Asus extreme > > AX 300 SE/t mainboard. > > > > I remember seeing a message in the boot saying something along: > > > >

Re: udev-067 and 2.6.12?

2005-08-16 Thread Kay Sievers
On Tue, Aug 16, 2005 at 03:14:50PM -0700, Greg KH wrote: > On Tue, Aug 16, 2005 at 11:12:26PM +0100, Alistair John Strachan wrote: > > On Tuesday 16 August 2005 23:05, Greg KH wrote: > > > On Tue, Aug 16, 2005 at 11:02:00PM +0100, Alistair John Strachan wrote: > > > > Hi, > > > > > > > > I just

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

2005-08-16 Thread Alan Cox
On Maw, 2005-08-16 at 17:12 -0500, Greg Edwards wrote: > mmap_mem suffers from a lack of proper checks as well. For example, on > Altix page 0 of each node is reserved for prom and a read or write to it > will cause an MCA. mmaping /dev/mem with offset 0 will nicely explode. > Would adding a

Re: [UPDATE PATCH] push rounding up of relative request to schedule_timeout()

2005-08-16 Thread Nishanth Aravamudan
On 04.08.2005 [09:45:55 -0700], George Anzinger wrote: > Uh... PLEASE tell me you are NOT changing timespec_to_jiffies() (and > timeval_to_jiffies() to add 1. This is NOT the right thing to do. For > repeating times (see setitimer code) we need the actual time as we KNOW > where the jiffies

Re: [Pcihpd-discuss] [PATCH] use bus_slot number for name

2005-08-16 Thread Kristen Accardi
On Wed, 2005-08-10 at 16:01 +0100, Matthew Wilcox wrote: > On Fri, Aug 05, 2005 at 12:16:06PM -0700, Kristen Accardi wrote: > > For systems with multiple hotplug controllers, you need to use more than > > just the slot number to uniquely name the slot. Without a unique slot > > name, the

Re: IT8212/ITE RAID

2005-08-16 Thread CaT
On Sun, Aug 14, 2005 at 02:33:05PM +0100, Alan Cox wrote: > On Sul, 2005-08-14 at 13:44 +0100, Daniel Drake wrote: > > > [227523.229557] hda: 390721968 sectors (200049 MB) w/8192KiB Cache, > > > CHS=24321/255/63, BUG > > Thats probably the fact other patches from -ac are missing in base. It >

Representatives needed urgently

2005-08-16 Thread kim lee
Dear Sir/Madam, I am Mr.kim Lee ,we are a company that deal on importing and exporting raw materials into Canada,America and England. We are searching for representatives who can help us establish a medium of getting to our costumers in the Canada,America and England as well as making

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

2005-08-16 Thread Dmitry Torokhov
On 8/15/05, Alan Stern <[EMAIL PROTECTED]> wrote: > On the face of it, neither is particularly more attractive than the other. > However, reading through the various places that call these routines (for > example, drivers/input/serio/serio.c or drivers/pnp/card.c) revealed a > pattern. In most

Representatives needed urgently

2005-08-16 Thread kim lee
Dear Sir/Madam, I am Mr.kim Lee ,we are a company that deal on importing and exporting raw materials into Canada,America and England. We are searching for representatives who can help us establish a medium of getting to our costumers in the Canada,America and England as well as making

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

2005-08-16 Thread Nish Aravamudan
On 8/16/05, Stas Sergeev <[EMAIL PROTECTED]> wrote: > Hello. > > john stultz wrote: > > Interesting. Could you explain why the soft-timer interface doesn't<> > > suffice? > I'll try to explain why *I think* > it doesn't suffice, please correct > me if my assumptions are wrong. > > There are two

[patch 5/7] PCI: update documentation

2005-08-16 Thread Greg Kroah-Hartman
From: Jiri Slaby <[EMAIL PROTECTED]> This removes very old functions from pci docs, which aren't no longer in the kernel. Signed-off-by: Jiri Slaby <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- Documentation/pci.txt | 14 -- 1 files changed, 14

[patch 1/7] Driver core: potentially fix use after free in class_device_attr_show

2005-08-16 Thread Greg Kroah-Hartman
From: Maneesh Soni <[EMAIL PROTECTED]> o moves the code to free devt_attr from class_device_del() to class_dev_release() which is called after the last reference to the corresponding kobject() is gone. This allows to keep the devt_attr alive while the corresponding sysfs file is open.

[patch 0/7] fixes for 2.6.13-rc6

2005-08-16 Thread Greg Kroah-Hartman
Here are a series of patches against 2.6.13-rc6 that fix a few minor bugs in the driver core, USB, and PCI subsystems. thanks, greg k-h - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

[patch 6/7] USB: fix usb wacom tablet driver bug

2005-08-16 Thread Greg Kroah-Hartman
From: Ping Cheng <[EMAIL PROTECTED]> This patch fixes bug 4905 and a Cintiq 21UX bug. Signed-off-by: Ping Cheng <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/input/wacom.c | 21 ++--- 1 files changed, 10 insertions(+), 11

[patch 2/7] PCI: 6700/6702PXH quirk

2005-08-16 Thread Greg Kroah-Hartman
From: Kristen Accardi <[EMAIL PROTECTED]> On the 6700/6702 PXH part, a MSI may get corrupted if an ACPI hotplug driver and SHPC driver in MSI mode are used together. This patch will prevent MSI from being enabled for the SHPC as part of an early pci quirk, as well as on any pci device which sets

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

2005-08-16 Thread Greg Kroah-Hartman
From: Andrew Morton <[EMAIL PROTECTED]> drivers/built-in.o(.text+0x32c3): In function `quirk_pcie_pxh': /usr/src/25/drivers/pci/quirks.c:1312: undefined reference to `disable_msi_mode' Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> ---

[patch 7/7] USB: usbmon: Copyrights and a typo

2005-08-16 Thread Greg Kroah-Hartman
From: Pete Zaitcev <[EMAIL PROTECTED]> Add copyright statements and fix a typo. Signed-off-by: Pete Zaitcev <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/mon/mon_main.c |4 +++- drivers/usb/mon/usb_mon.h |2 ++ 2 files changed, 5

[patch 4/7] PCI Hotplug: new contact info

2005-08-16 Thread Greg Kroah-Hartman
From: Kristen Accardi <[EMAIL PROTECTED]> Signed-off-by: Kristen Carlson Accardi <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- MAINTAINERS| 12 drivers/pci/hotplug/pciehp.h |2 +-

Re: udev-067 and 2.6.12?

2005-08-16 Thread Greg KH
On Tue, Aug 16, 2005 at 11:12:26PM +0100, Alistair John Strachan wrote: > On Tuesday 16 August 2005 23:05, Greg KH wrote: > > On Tue, Aug 16, 2005 at 11:02:00PM +0100, Alistair John Strachan wrote: > > > Hi, > > > > > > I just tried upgrading udev 053 to 067 on a 2.6.12 system and although > > >

Re: udev-067 and 2.6.12?

2005-08-16 Thread Alistair John Strachan
On Tuesday 16 August 2005 23:05, Greg KH wrote: > On Tue, Aug 16, 2005 at 11:02:00PM +0100, Alistair John Strachan wrote: > > Hi, > > > > I just tried upgrading udev 053 to 067 on a 2.6.12 system and although > > the system booted, firmware_class failed to upload the firmware for my > > wireless

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

2005-08-16 Thread Greg Edwards
On Sat, Aug 13, 2005 at 08:18:07PM +0200, Arjan van de Ven wrote: | On Sat, 2005-08-13 at 10:37 -0700, Linus Torvalds wrote: | > 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

  1   2   3   4   5   6   7   >