Re: Netlink connector

2005-07-25 Thread Evgeniy Polyakov
On Tue, Jul 26, 2005 at 08:14:47AM +0200, Thomas Graf ([EMAIL PROTECTED]) wrote: > * Evgeniy Polyakov <[EMAIL PROTECTED]> 2005-07-26 08:45 > > On Tue, Jul 26, 2005 at 01:46:04AM +0200, Patrick McHardy ([EMAIL > > PROTECTED]) wrote: > > > Usually netlink is easily extendable by using nested TLVs. B

Re: BUG: Yamaha OPL3SA2 does not work with ALSA on 2.6 kernels.

2005-07-25 Thread Jaroslav Kysela
On Mon, 25 Jul 2005, Andrew Haninger wrote: > Hello. > > I have a 5 year old Gateway Solo 2500 that is currently running Linux > 2.6.12.2. If I install ALSA and try to have alsaconf bruteforce-detect > the OPL3SA2 sound card, it will say that it has detected it, but > loading the modules will fai

Re: 2.6.13-rc3 Battery times at 100/250/1000 Hz = Zero difference

2005-07-25 Thread Voluspa
On 2005-07-26 5:23:08 Len Brown wrote: >than C1 and the generic ACPI code doesn't support it, >then it is either a Linux/ACPI bug or a BIOS bug -- file away:-) The issue has made me fume enough to contemplating installing windos for the first time in some 10 years. But I'll persevere. Will learn

[patch] Fix compilation in locomo.c

2005-07-25 Thread Pavel Machek
Do not access children in struct device directly, use device_for_each_child helper instead. It fixes compilation. Signed-off-by: Pavel Machek <[EMAIL PROTECTED]> --- commit 3d7f15c66bc66c480d468e2c4d623949bba0d41f tree 9734f5a58c31dade74b1b35c1ce0b0d6d44da589 parent 6cd7322dce56000157071326963039

Re: [patch 1/2] Touchscreen support for sharp sl-5500

2005-07-25 Thread Pavel Machek
Hi! > > > So, if the collie folk would like to clean their changes up and send > > > them to me as the driver author, I'll see about integrating them into > > > my version and we'll take it from there. > > > > Okay, will do. [Is there chance to pull your tree using git? It would > > help a bit...

problem while executing insmod

2005-07-25 Thread deepak jose
sir/madam, i written a module function similar to hello, world in C .i compiled it.but when i ,m loading the module i'm getting the error that "the kernel compiled is kernel 2.4.20 whereas i'm having 2.4.20-8". wat i have to do to load it properly without forcing it to load. did i have to change m

[no subject]

2005-07-25 Thread msmulders
unsubscribe linux-kernel - 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] Re: itimer oddness in 2.6.12

2005-07-25 Thread Andrew Morton
George Anzinger wrote: > > + while (time_before_eq(p->signal->real_timer.expires, jiffies)) > + p->signal->real_timer.expires += inc; It gives me the creeps when I see timer code doing this, and it seems to be done relatively frequently. Surely it can be calculated arithmetically

Re: Netlink connector

2005-07-25 Thread Thomas Graf
* Evgeniy Polyakov <[EMAIL PROTECTED]> 2005-07-26 08:45 > On Tue, Jul 26, 2005 at 01:46:04AM +0200, Patrick McHardy ([EMAIL PROTECTED]) > wrote: > > Usually netlink is easily extendable by using nested TLVs. By hiding > > this you basically remove this extensibility. > > Current netlink is not ex

Re: xor as a lazy comparison

2005-07-25 Thread Jan Engelhardt
>> > Where do we draw the line with this? Is x *= 2 preferable to x <<= 2 as >> > well? >> >> Depends if you want to multiply by 2 or 4 :-) > >I guess I just answered my own question ;-) To answer for x *= 2 vs x <<= 1: Use * when you would logically want to do a multiplication, << if you're wo

Re: kernel 2.6 speed

2005-07-25 Thread cutaway
- Original Message - From: "Florin Malita" <[EMAIL PROTECTED]> To: "Linux Kernel Mailing List" Sent: Monday, July 25, 2005 12:10 AM Subject: Re: kernel 2.6 speed > On 7/24/05, Alan Cox <[EMAIL PROTECTED]> wrote: > > time() isn't a hot > > path in the real world. > > That's what you woul

RE: fix suspend/resume irq request free for yenta..

2005-07-25 Thread Brown, Len
>On Sat, Jul 23, 2005 at 02:29:24AM +0200, Pavel Machek wrote: >> > Is it necessary to do free_irq for suspend? Shouldn't disable_irq >> > be enough? >> >> Due to recent changes in ACPI, yes, it is neccessary. > >What if some other driver is sharing the IRQ, and requires IRQs to be >enabled for th

Re: ZyXEL Kernel /BusyBox GPL violation?

2005-07-25 Thread Stephen Pollei
On 7/25/05, Lee Revell <[EMAIL PROTECTED]> wrote: > On Mon, 2005-07-25 at 23:21 -0400, Mace Moneta wrote: > > The response seems meaningless; does this constitute a violation of > > GPL? > > If so what, if any, action needs to be taken? http://gpl-violations.org/ http://www.fsf.org/licensing/licen

Re: BUG: Yamaha OPL3SA2 does not work with ALSA on 2.6 kernels.

2005-07-25 Thread Andrew Haninger
On 7/25/05, Adrian Bunk <[EMAIL PROTECTED]> wrote: > Does the OSS driver work in 2.6? I was able to get the OSS module (opl3sa2) installed in 2.6 and I was able to get some nice hiss when doing 'cat /dev/urandom > /dev/dsp'. I used the following modprobe line: modprobe opl3sa2 io=0x370 irq=11 dma=

RE: Kernel doesn't free Cached Memory

2005-07-25 Thread Al Boldi
Bill Davidsen wrote: { Al Boldi wrote: > Dick Johnson wrote: { > >>On Fri, 2005-07-22 at 08:27 -0300, Vinicius wrote: >>[...] >> >>> I have a server with 2 Pentium 4 HT processors and 32 GB of RAM, >>>this server runs lots of applications that consume lots of memory to. >>>When I stop this appl

RE: kernel optimization

2005-07-25 Thread Al Boldi
Dr. Horst H. von Brand wrote: { Al Boldi <[EMAIL PROTECTED]> wrote: > Adrian Bunk wrote: { > On Fri, Jul 22, 2005 at 07:55:48PM +0100, christos gentsis wrote: > > i would like to ask if it possible to change the optimization of the > > kernel from -O2 to -O3 :D, how can i do that? if i change it

RE: 2.6.13-rc3 Battery times at 100/250/1000 Hz = Zero difference

2005-07-25 Thread Brown, Len
>>>Digging up this patch from last month regarding C2 >>>on a AMD K7 implies >>>that the whole blame can be put on kernel acpi: >>> >>>http://marc.theaimsgroup.com/?l=linux-kernel&m=111933745131301&w=2 The current Linus tree includes generic ACPI support for deep C-states on SMP machines. (deep

[PATCH] ppc32: Fix building of radstone_ppc7d

2005-07-25 Thread Kumar Gala
Updated radstone_ppc7d_defconfig to include the ds1337 driver which is used by the platform code. This fixes the link error when building. Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- commit dc5a25603c1f8984f10f9e93d91b4d95b2ce6d9d tree 84b86f1b54b4d703a447aa6650ffe4a3e398ed13 parent b95403

[PATCH] ppc32: Fix building of prpmc750

2005-07-25 Thread Kumar Gala
Updated prpmc750 platform code to include serial_reg.h to fix building. Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- commit c6d47b85a4f5743a0328ab6388a085744e00ac48 tree 41a83749e10e4dc70feefcd75396c8c5385b8fb1 parent dc5a25603c1f8984f10f9e93d91b4d95b2ce6d9d author Kumar K. Gala <[EMAIL PROT

Re: [PATCH] Re: relayfs documentation sucks?

2005-07-25 Thread bert hubert
On Mon, Jul 25, 2005 at 07:47:45PM -0400, Karim Yaghmour wrote: > Now if only I could remember what I talked about after I left the Black > Thorn at 2h45am and the guy in the elevator at Les Suites pressed on a > button and said "'M' for more beer" ... I bet in involved 'M' for more markers, Kari

Re: PROBLEM:Machine hangs on pulling out USB cd writer on laptop.

2005-07-25 Thread tabris
On Monday 25 July 2005 9:31 pm, Puneet Vyas wrote: > Alejandro Bonilla wrote: > > Puneet Vyas wrote: > >> PS : I am not even sure if I am "allowed" to pull out the writer > >> like this. Am I supposed to "stop" the device first or something? > > > > You are supoused to unmount the volume. Try it. u

RE: Power consumption HZ250 vs. HZ1000

2005-07-25 Thread Brown, Len
yes, this approach is valid. I've done the exact same measurements for 100HZ vs 1000HZ. For currently shipping laptops, I didn't see a significant difference., Note that the quality of the instrumentation on the battery can vary widely, and so if you really want the best numbers you need to start

Re: Netlink connector

2005-07-25 Thread Evgeniy Polyakov
On Mon, Jul 25, 2005 at 09:56:56PM -0700, Stephen Hemminger ([EMAIL PROTECTED]) wrote: > Evgeniy Polyakov wrote: > > >On Tue, Jul 26, 2005 at 01:46:04AM +0200, Patrick McHardy > >([EMAIL PROTECTED]) wrote: > > > > > >>Evgeniy Polyakov wrote: > >> > >> > >>>On Mon, Jul 25, 2005 at 04:32:32PM

Re: Kernel cached memory

2005-07-25 Thread Robert Hancock
John Pearson wrote: Wouldn't having (practically) all your memory used for cache slow down starting a new program? First it would have to free up that space, and then put stuff in that space, taking potentially twice as long. If the cache pages are clean (not been modified since they were read

RE: ACPI oddity

2005-07-25 Thread Brown, Len
>On a HT system, why does ACPI recognize CPU0 and CPU1, refer >to them as such in dmesg This is the Linux CPU number. ie the namespace where 0 is the boot processor and the others are numbered in the order that they were started. > and then call them CPU1 and CPU2 in >/proc/acpi/processor? The

Re: Netlink connector

2005-07-25 Thread Stephen Hemminger
Evgeniy Polyakov wrote: On Tue, Jul 26, 2005 at 01:46:04AM +0200, Patrick McHardy ([EMAIL PROTECTED]) wrote: Evgeniy Polyakov wrote: On Mon, Jul 25, 2005 at 04:32:32PM +0200, Patrick McHardy ([EMAIL PROTECTED]) wrote: If I understand correctly it tries to workaround some net

PCI: fix up errors after dma bursting patch and CONFIG_PCI=n -- bug?

2005-07-25 Thread Kumar Gala
Andrew, In the patch from: http://www.uwsg.iu.edu/hypermail/linux/kernel/0506.3/0985.html Is the the following line suppose inside the if CONFIG_PCI=n #define pci_dma_burst_advice(pdev, strat, strategy_parameter) do { } while (0) Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- diff --git

Re: Netlink connector

2005-07-25 Thread Evgeniy Polyakov
On Tue, Jul 26, 2005 at 01:46:04AM +0200, Patrick McHardy ([EMAIL PROTECTED]) wrote: > Evgeniy Polyakov wrote: > >On Mon, Jul 25, 2005 at 04:32:32PM +0200, Patrick McHardy > >([EMAIL PROTECTED]) wrote: > > > >>If I understand correctly it tries to workaround some netlink > >>limitations (limited

setting task->ioprio from a kernel thread

2005-07-25 Thread Zach Brown
In OCFS2 there is currently an in-kernel heartbeat thread that really wants to communicate liveness to other nodes as quickly as possible by writing to a block device. Setting aside the specific wisdom of a kernel heartbeat thread for a bit, has it been considered that kernel threads might w

Re: [PATCH] Add missing tvaudio try_to_freeze.

2005-07-25 Thread Michael Krufky
Nigel Cunningham wrote: On Tue, 2005-07-26 at 03:34, Mauro Carvalho Chehab wrote: Nigel Cunningham wrote: The .c gives Gerd Knorr as the maintainer of this file, but no email address. The MAINTAINERS file doesn't have his name or make it clear who owns the file. I haven't therefore bee

Re: [PATCH] Add missing tvaudio try_to_freeze.

2005-07-25 Thread Nigel Cunningham
Hi. On Tue, 2005-07-26 at 03:34, Mauro Carvalho Chehab wrote: > Nigel, > > Nigel Cunningham wrote: > > Hi. > > > > The .c gives Gerd Knorr as the maintainer of this file, but no email > > address. The MAINTAINERS file doesn't have his name or make it clear who > > owns the file. I haven't theref

Re: Incorrect driver getting loaded for Qlogic FC-HBA

2005-07-25 Thread Rajat Jain
On 7/26/05, Greg KH <[EMAIL PROTECTED]> wrote: > On Mon, Jul 25, 2005 at 11:02:39AM +0900, Rajat Jain wrote: > > I'm using Kernel 2.6.9 and am having a Qlogic QLE2362 FC-HBA in my > > system. I selected all the Qlogic SCSI drivers while buiding the > > kernel. Now the problem is that every time I r

Re: Fw: Oops in hidinput_hid_event

2005-07-25 Thread Pete Zaitcev
On Mon, 25 Jul 2005 20:52:26 -0700, Andrew Morton <[EMAIL PROTECTED]> wrote: > Do you expect this patch: > > > --- linux-2.6.12/drivers/usb/input/hid-input.c 2005-06-21 > > 12:58:47.0 -0700 > > - struct input_dev *input = &field->hidinput->input; > > + struct input_dev *input; >

Re: Fw: Oops in hidinput_hid_event

2005-07-25 Thread Andrew Morton
Pete Zaitcev <[EMAIL PROTECTED]> wrote: > > I think this patch is rather obvious, so maybe I should ask Andrew to > apply it to -mm for now, to get some testing. Would that help to verify > it for acceptance? > > -- Pete > > Begin forwarded message: > > Date: Tue, 28 Jun 2005 15:00:23 -0700 > Fr

Fw: [PATCH] x86_64: fix SMP boot lockup on some machines

2005-07-25 Thread Andrew Morton
People who are experiencing early-boot lockups on x86_64 might find this useful.. Don't compare linux processor index with APICID Fixes boot up lockups on some machines where CPU apic ids don't start with 0 Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> Index: linux/arch/x86_64/kernel/smpboot.

Re: [PATCH] driver core: Add the ability to unbind drivers to devices from userspace

2005-07-25 Thread Dmitry Torokhov
On Monday 25 July 2005 22:15, Jon Smirl wrote: > + while( isspace(*x) && (x - buffer->page < count)) > + x++; > + > + /* locate trailng white space */ > + z = y = x; > + while (y - buffer->page < count) { > + y++; > + z = y; > + while(

Re: ZyXEL Kernel /BusyBox GPL violation?

2005-07-25 Thread Lee Revell
On Mon, 2005-07-25 at 23:21 -0400, Mace Moneta wrote: > The response seems meaningless; does this constitute a violation of > GPL? > If so what, if any, action needs to be taken? It sounds like they think you are asking for their userspace source code, or that support rep does not know the differe

ZyXEL Kernel /BusyBox GPL violation?

2005-07-25 Thread Mace Moneta
I purchased a ZyXEL router, and noted in its log: 0day 00:00:16 klogd started: BusyBox v1.00-pre8 (2005.06.02-02:19+) 0day 00:00:16 Linux version 2.4.18-MIPS-01.00 ([EMAIL PROTECTED]) (gcc version 3.3.3) #53 Fri Jun 10 16:13:48 CST 2005 ... I contacted the vendor to request source, since no m

Re: [PATCH] driver core: Add the ability to unbind drivers to devices from userspace

2005-07-25 Thread Jon Smirl
On 7/25/05, Greg KH <[EMAIL PROTECTED]> wrote: > > I'll put one together to trim leading/trailing white space from the > > buffer before it is passed into the attribute functions. Now that I > > think about this I believe the attributes should have always had the > > leading/trailing white space re

Re: [swsusp] encrypt suspend data for easy wiping

2005-07-25 Thread Andrew Morton
Andreas Steinmetz <[EMAIL PROTECTED]> wrote: > > the attached patches are acked by Pavel and signed off by me OK, well I queued this up, without a changelog. Because you didn't send one. Please do so. As it adds a new feature, quite a bit of info is relevant. It should include a description of

Re: PROBLEM:Machine hangs on pulling out USB cd writer on laptop.

2005-07-25 Thread Alejandro Bonilla
Puneet Vyas wrote: Alejandro Bonilla wrote: Puneet Vyas wrote: PS : I am not even sure if I am "allowed" to pull out the writer like this. Am I supposed to "stop" the device first or something? You are supoused to unmount the volume. Try it. umount /dev/cdrom ? Make sure that is it not

Re: mlock oops

2005-07-25 Thread Lee Revell
On Tue, 2005-07-26 at 04:43 +0200, Benoit Dejean wrote: > Hi, > i'm using Debian SID kernel-image-2.6.11-powerpc [1] (which is not > tainted). I've unfortunately started sysutils [2] memtest as user (no caps, no > sticky bit). > > /usr/sbin/memtest all > As expected, a few minutes later, my

Re: supposed to be shared subtree patches.

2005-07-25 Thread Ram Pai
On Mon, 2005-07-25 at 15:44, Ram Pai wrote: > , [EMAIL PROTECTED], Janak Desai <[EMAIL PROTECTED]>, > linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org > Subject: [PATCH 0/7] shared subtree > > Hi Andrew/Al Viro, > > Enclosing a final set of well tested patches that implement ..

Re: [patch 2.6.13-rc3] i386: clean up user_mode macros

2005-07-25 Thread Lee Revell
On Mon, 2005-07-25 at 20:20 -0400, Steven Rostedt wrote: > And I > would also assume that you prefer x *= 2 over x <<= 1 (also since the > first person to show this example used x <<= 2. Right Lee? :-) Let us never speak of that again. These aren't the droids you're looking for. Lee - To unsubs

mlock oops

2005-07-25 Thread Benoit Dejean
Hi, i'm using Debian SID kernel-image-2.6.11-powerpc [1] (which is not tainted). I've unfortunately started sysutils [2] memtest as user (no caps, no sticky bit). /usr/sbin/memtest all I was expecting the OOMK to rescue my system by killing memtest. As expected, a few minutes later, my sy

Re: Merging relayfs?

2005-07-25 Thread Karim Yaghmour
Tom Zanussi wrote: > In userspace, the sub-buffer reading loop looks at the commit value in > the sub-buffer, and if it matches (sub-buffer size - padding), the > buffer has been completely written and can be saved, otherwise it's > not yet complete and is checked again the next time around. This

Re: [patch 2.6.13-rc3] i386: clean up user_mode macros

2005-07-25 Thread randy_dunlap
On Mon, 25 Jul 2005 18:34:13 -0700 Andrew Morton wrote: > Miles Bader <[EMAIL PROTECTED]> wrote: > > > > Linus Torvalds <[EMAIL PROTECTED]> writes: > > > Ask a hundred random C programmers what "!!x" means, versus what "x != 0" > > > means, and time their replies. > > > > I've always thought o

Re: Weird USB errors on HD

2005-07-25 Thread Karim Yaghmour
Alistair John Strachan wrote: > You can get special USB cables that link two USB ports' 5Vs together in > parallel, which seems to help supply the necessary current; after the HD has > spun up you can remove the second "dummy" USB connector (my laptop only has > two USB ports and I require the

RE: VIA KT400 + Kernel 2.6.12 + IO-APIC + uhci_hcd = IRQ trouble

2005-07-25 Thread Protasevich, Natalie
> > Le Lundi 25 Juillet 2005 22:44, Alan Stern a écrit : > > > > > > Now that's strange.  When you plug the high-speed device into the > > > integrated ports, which IRQ counter changes?  Since > nothing is using > > > IRQ 21, it should be disabled and its counter should remain > > > constant.

Re: VIA KT400 + Kernel 2.6.12 + IO-APIC + uhci_hcd = IRQ trouble

2005-07-25 Thread Alan Stern
On Tue, 26 Jul 2005, Michel Bouissou wrote: > Le Lundi 25 Juillet 2005 22:44, Alan Stern a écrit : > > > > Now that's strange.  When you plug the high-speed device into the > > integrated ports, which IRQ counter changes?  Since nothing is using IRQ > > 21, it should be disabled and its counter sh

Re: [PATCH] driver core: Add the ability to unbind drivers to devices from userspace

2005-07-25 Thread Greg KH
On Mon, Jul 25, 2005 at 08:56:17PM -0400, Jon Smirl wrote: > On 7/25/05, Greg KH <[EMAIL PROTECTED]> wrote: > > On Mon, Jul 25, 2005 at 08:28:10PM -0400, Jon Smirl wrote: > > > I didn't realize that echo was adding the CR, I thought that it always > > > appeared on the end of a sysfs attribute set.

Re: "seeing minute plus hangs during boot" - 2.6.12 and 2.6.13

2005-07-25 Thread Francisco Figueiredo Jr.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew Haninger wrote: > On 7/22/05, Francisco Figueiredo Jr. <[EMAIL PROTECTED]> wrote: > >>Hangs appears just before mounting filesystems message and before configuring >>system to use udev. > > I don't know if this will help, but there were issues

Re: [patch 2.6.13-rc3] i386: clean up user_mode macros

2005-07-25 Thread Andrew Morton
Miles Bader <[EMAIL PROTECTED]> wrote: > > Linus Torvalds <[EMAIL PROTECTED]> writes: > > Ask a hundred random C programmers what "!!x" means, versus what "x != 0" > > means, and time their replies. > > I've always thought of "!!" as the "canonicalize boolean" operator... Me too. Once you get

Re: PROBLEM:Machine hangs on pulling out USB cd writer on laptop.

2005-07-25 Thread Puneet Vyas
Alejandro Bonilla wrote: Puneet Vyas wrote: PS : I am not even sure if I am "allowed" to pull out the writer like this. Am I supposed to "stop" the device first or something? You are supoused to unmount the volume. Try it. umount /dev/cdrom ? Make sure that is it not in use, then unload i

Re: [patch 2.6.13-rc3] i386: clean up user_mode macros

2005-07-25 Thread Miles Bader
Linus Torvalds <[EMAIL PROTECTED]> writes: > Ask a hundred random C programmers what "!!x" means, versus what "x != 0" > means, and time their replies. I've always thought of "!!" as the "canonicalize boolean" operator... Vaguely ugly, but I think it's actually _more clear_ than != 0 in contexts

Re: 2.6.13-rc3 test: finding compile errors with make randconfig

2005-07-25 Thread Grant Coady
On Sun, 24 Jul 2005 23:27:22 +0200, Adrian Bunk <[EMAIL PROTECTED]> wrote: > >You should edit init/Kconfig to disallow CONFIG_CLEAN_COMPILE=n, since >any errors you see with CONFIG_BROKEN=y aren't interesting. Straight over the top of my head yesterday :) Is the following what you had in mind?

Re: PROBLEM:Machine hangs on pulling out USB cd writer on laptop.

2005-07-25 Thread Puneet Vyas
Alejandro Bonilla wrote: Also, go to a tty (ctrl+alt+f1), login and then unplug the device, If it gives a kernel panic, show the output here. .Alejandro Thanks for looking into this. I tried the tty and got the following messages in continuous loop (they were scrolling past real fast bu

Re: [RFC - 0/12] NTP cleanup work (v. B4)

2005-07-25 Thread john stultz
On Thu, 2005-07-21 at 12:39 +0200, Roman Zippel wrote: > Hi, > > On Wed, 20 Jul 2005, john stultz wrote: > > > I really don't think the NTP changes I've mailed is very complex. > > Please, be specific and point to something you think is an issue and > > I'll do my best to fix it. > > Maybe I sho

Re: [PATCH 2/6] Rename __lock_page to lock_page_slow

2005-07-25 Thread Suparna Bhattacharya
On Sun, Jul 24, 2005 at 11:36:34PM +0100, Christoph Hellwig wrote: > On Sun, Jul 24, 2005 at 11:17:02PM +0100, Christoph Hellwig wrote: > > On Mon, Jun 20, 2005 at 09:54:04PM +0530, Suparna Bhattacharya wrote: > > > In order to allow for interruptible and asynchronous versions of > > > lock_page in

Re: [PATCH] driver core: Add the ability to unbind drivers to devices from userspace

2005-07-25 Thread Jon Smirl
On 7/25/05, Greg KH <[EMAIL PROTECTED]> wrote: > On Mon, Jul 25, 2005 at 08:28:10PM -0400, Jon Smirl wrote: > > I didn't realize that echo was adding the CR, I thought that it always > > appeared on the end of a sysfs attribute set. So now I have to go add > > white space stripping to a dozen fbdev

Re: PROBLEM:Machine hangs on pulling out USB cd writer on laptop.

2005-07-25 Thread Alejandro Bonilla
Alejandro Bonilla wrote: Puneet Vyas wrote: Hi, My Dell 600m has a CD writer attached as a USB device. I need to use the same slot to connect my floppy drive. After pulling out the CD writer , the machine completely hangs and only hard boot works. I am new to reporting bugs so I attached a

Re: PROBLEM:Machine hangs on pulling out USB cd writer on laptop.

2005-07-25 Thread Alejandro Bonilla
Puneet Vyas wrote: Hi, My Dell 600m has a CD writer attached as a USB device. I need to use the same slot to connect my floppy drive. After pulling out the CD writer , the machine completely hangs and only hard boot works. I am new to reporting bugs so I attached all info as according to RE

Re: Kernel cached memory

2005-07-25 Thread Chuck Ebbert
On Mon, 25 Jul 2005 at 12:47:50 -0400, Bill Davidsen wrote: > > It's a very - very - very old and bad logic (at least nowdays) from the > > stone age to free up memory. > > It's very Microsoft to claim that the OS always knows best, and not let > the user tune the system the way they want it tune

Re: [PATCH] driver core: Add the ability to unbind drivers to devices from userspace

2005-07-25 Thread Greg KH
On Mon, Jul 25, 2005 at 08:28:10PM -0400, Jon Smirl wrote: > On 7/25/05, Greg KH <[EMAIL PROTECTED]> wrote: > > On Mon, Jul 25, 2005 at 12:30:43PM -0400, Jon Smirl wrote: > > > On 7/25/05, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > > > > On 7/25/05, Jon Smirl <[EMAIL PROTECTED]> wrote: > > > > >

Re: Netlink connector

2005-07-25 Thread Thomas Graf
* Patrick McHardy <[EMAIL PROTECTED]> 2005-07-26 02:16 > Thomas Graf wrote: > >* Patrick McHardy <[EMAIL PROTECTED]> 2005-07-26 01:46 > > > >>You still have to take care of mixed 64/32 bit environments, u64 fields > >>for example are differently alligned. > > > >My solution to this (in the same pat

Re: [PATCH] driver core: Add the ability to unbind drivers to devices from userspace

2005-07-25 Thread Jon Smirl
On 7/25/05, Greg KH <[EMAIL PROTECTED]> wrote: > On Mon, Jul 25, 2005 at 12:30:43PM -0400, Jon Smirl wrote: > > On 7/25/05, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > > > On 7/25/05, Jon Smirl <[EMAIL PROTECTED]> wrote: > > > > On 7/25/05, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > > > > > On S

[patch] make kmalloc() fail for swapped size / GFP flags

2005-07-25 Thread Benjamin LaHaise
The patch below makes kmalloc() fail for swapped flags and size arguments as mention in Dave Jones keynote at OLS. This is done by adding a new flag, __GFP_VALID, which is checked for in kmalloc(), that results in the size being too large. Please apply. -ben diff --git a/incl

Re: [patch 2.6.13-rc3] i386: clean up user_mode macros

2005-07-25 Thread Steven Rostedt
On Mon, 2005-07-25 at 16:13 -0700, Linus Torvalds wrote: > I _really_ prefer > > x != 0 > > over > > !!x Good to hear. This means that you should have no problem accepting my previous patch for signal.c that changed the x ^ y to x != y. And I would also assume that you prefer x

Re: Netlink connector

2005-07-25 Thread Patrick McHardy
Thomas Graf wrote: * Patrick McHardy <[EMAIL PROTECTED]> 2005-07-26 01:46 You still have to take care of mixed 64/32 bit environments, u64 fields for example are differently alligned. My solution to this (in the same patchset) is that we never derference u64s but instead copy them. I don't

Re: Incorrect driver getting loaded for Qlogic FC-HBA

2005-07-25 Thread Greg KH
On Mon, Jul 25, 2005 at 11:02:39AM +0900, Rajat Jain wrote: > I'm using Kernel 2.6.9 and am having a Qlogic QLE2362 FC-HBA in my > system. I selected all the Qlogic SCSI drivers while buiding the > kernel. Now the problem is that every time I reboot, I have to > MANUALLY modprobe the qla2322.ko mod

Re: [PATCH] driver core: Add the ability to unbind drivers to devices from userspace

2005-07-25 Thread Greg KH
On Mon, Jul 25, 2005 at 12:30:43PM -0400, Jon Smirl wrote: > On 7/25/05, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > > On 7/25/05, Jon Smirl <[EMAIL PROTECTED]> wrote: > > > On 7/25/05, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > > > > On Sunday 24 July 2005 23:09, Jon Smirl wrote: > > > > > I ju

Re: [PATCH] kill bio->bi_set

2005-07-25 Thread Peter Osterlund
Jens Axboe <[EMAIL PROTECTED]> writes: > On Sat, Jul 23 2005, Peter Osterlund wrote: > > Jens Axboe <[EMAIL PROTECTED]> writes: > > > > > Dunno why I didn't notice before, but ->bi_set is totally unnecessary > > > bloat of struct bio. Just define a proper destructor for the bio and it > > > alrea

Re: Netlink connector

2005-07-25 Thread Thomas Graf
* Patrick McHardy <[EMAIL PROTECTED]> 2005-07-26 01:46 > Netlink users don't have to care about shared or cloned skbs. I don't > think its a big issue to use alloc_skb and then the usual netlink > macros. Thomas added a number of macros that simplfiy use a lot. Once I've finished the generic netli

Re: [PATCH] Re: relayfs documentation sucks?

2005-07-25 Thread Karim Yaghmour
Christoph Hellwig wrote: > That beein said I wish LTT folks would make a little more progress so > we could actually include it. We're working on it. On the topic of revamping LTT, 3 different people came up with 3 different implementations. Following your feedback on the patch I sent a few week

Re: Netlink connector

2005-07-25 Thread Patrick McHardy
Evgeniy Polyakov wrote: On Mon, Jul 25, 2005 at 04:32:32PM +0200, Patrick McHardy ([EMAIL PROTECTED]) wrote: If I understand correctly it tries to workaround some netlink limitations (limited number of netlink families and multicast groups) by sending everything to userspace and demultiplexing

Re: BUG: Yamaha OPL3SA2 does not work with ALSA on 2.6 kernels.

2005-07-25 Thread Adrian Bunk
On Mon, Jul 25, 2005 at 10:31:37AM -0400, Andrew Haninger wrote: > Hello. Hi Andrew, > I have a 5 year old Gateway Solo 2500 that is currently running Linux > 2.6.12.2. If I install ALSA and try to have alsaconf bruteforce-detect > the OPL3SA2 sound card, it will say that it has detected it, but

Re: topology api confusion

2005-07-25 Thread Nathan Lynch
Matthew Dobson wrote: > Nathan Lynch wrote: > > We need some clarity on how asm-generic/topology.h is intended to be > > used. I suspect that it's supposed to be unconditionally included at > > the end of the architecture's topology.h so that any elements which > > are undefined by the arch have s

[no subject]

2005-07-25 Thread Ram Pai
, [EMAIL PROTECTED], Janak Desai <[EMAIL PROTECTED]>, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/7] shared subtree Hi Andrew/Al Viro, Enclosing a final set of well tested patches that implement Al Viro's shared subtree proposal. These p

[no subject]

2005-07-25 Thread Ram Pai
, [EMAIL PROTECTED], Janak Desai <[EMAIL PROTECTED]>, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/7] shared subtree Content-Type: text/x-patch; name=unclone.patch Content-Disposition: inline; filename=unclone.patch Adds the ability to unclone a vfs tree. A unclo

[no subject]

2005-07-25 Thread Ram Pai
, [EMAIL PROTECTED], Janak Desai <[EMAIL PROTECTED]>, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 6/7] shared subtree Content-Type: text/x-patch; name=namespace.patch Content-Disposition: inline; filename=namespace.patch Adds ability to clone a namespace that has s

[no subject]

2005-07-25 Thread Ram Pai
, [EMAIL PROTECTED], Janak Desai <[EMAIL PROTECTED]>, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/7] shared subtree Content-Type: text/x-patch; name=shared_private_slave.patch Content-Disposition: inline; filename=shared_private_slave.patch This patch adds the sh

Re: [patch 2.6.13-rc3] i386: clean up user_mode macros

2005-07-25 Thread Linus Torvalds
On Mon, 25 Jul 2005, Chuck Ebbert wrote: > > Recent patches from the Xen group changed the X86 user_mode macros. > > This patch does the following: > > 1. Makes the new user_mode() return 0 or 1 (same as x86_64) I _really_ prefer x != 0 over !!x since double negat

[no subject]

2005-07-25 Thread Ram Pai
, [EMAIL PROTECTED], Janak Desai <[EMAIL PROTECTED]>, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 7/7] shared subtree Content-Type: text/x-patch; name=automount.patch Content-Disposition: inline; filename=automount.patch adds support for mount/umount propogation fo

[no subject]

2005-07-25 Thread Ram Pai
, [EMAIL PROTECTED], Janak Desai <[EMAIL PROTECTED]>, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/7] shared subtree Content-Type: text/x-patch; name=umount.patch Content-Disposition: inline; filename=umount.patch Adds ability to unmount a shared/slave/unclone/pri

Re: [patch 1/2] Touchscreen support for sharp sl-5500

2005-07-25 Thread Russell King
On Tue, Jul 26, 2005 at 12:06:59AM +0200, Pavel Machek wrote: > > > Also it looks to me like mcp.h should go into asm/arch-sa1100, so > > > that other drivers can use it... > > > > That doesn't make sense when you have other non-SA1100 devices using > > mcp-core.c. Whether that happens or not I'v

[patch 2.6.13-rc3] i386: clean up user_mode macros

2005-07-25 Thread Chuck Ebbert
Recent patches from the Xen group changed the X86 user_mode macros. This patch does the following: 1. Makes the new user_mode() return 0 or 1 (same as x86_64) 2. Removes conditional jump from user_mode_vm() (it's called every timer tick on each CPU on SMP) I've been

[no subject]

2005-07-25 Thread Ram Pai
, [EMAIL PROTECTED], Janak Desai <[EMAIL PROTECTED]>, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/7] shared subtree Content-Type: text/x-patch; name=rbind.patch Content-Disposition: inline; filename=rbind.patch Adds the ability to bind/rbind a shared/private/slav

[no subject]

2005-07-25 Thread Ram Pai
, [EMAIL PROTECTED], Janak Desai <[EMAIL PROTECTED]>, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/7] shared subtree Content-Type: text/x-patch; name=move.patch Content-Disposition: inline; filename=move.patch Adds ability to move a shared/private/slave/unclone tr

Re: VIA KT400 + Kernel 2.6.12 + IO-APIC + uhci_hcd = IRQ trouble

2005-07-25 Thread Michel Bouissou
Le Lundi 25 Juillet 2005 22:44, Alan Stern a écrit : > > Now that's strange.  When you plug the high-speed device into the > integrated ports, which IRQ counter changes?  Since nothing is using IRQ > 21, it should be disabled and its counter should remain constant.  Does > this mean the interrupts

Re: oz6812, yenta_socket and madwifi

2005-07-25 Thread Daniel Ritz
On Monday 25 July 2005 21.38, Peter Staubach wrote: > Daniel Ritz wrote: [...] > > Shouldn't the two pairs of calls to config_writeb() be using > "O2_RES_READ_PREFETCH | O2_RES_WRITE_BURST" instead of > "O2_RES_READ_PREFETCH | O2_RES_READ_PREFETCH"? > yes, of course. thanks for noticing. updated

Re: [IBM] RE: [BUG] Fusion MPT Base Driver initialization failure wit h kdum p

2005-07-25 Thread Andrew Morton
Vivek Goyal <[EMAIL PROTECTED]> wrote: > > > If you don't stop the DMA engines before you boot the new kernel, the > > addresses they have to send data to will now be random points in that > > kernel's memory, leading to potential corruption of the new kernel > > image. > > [Copying it to fast

Re: [patch 1/2] Touchscreen support for sharp sl-5500

2005-07-25 Thread Pavel Machek
Hi! > > > The problem is that the parent doesn't actually know how many > > > devices to create nor what to call them, and they're logically > > > indistinguishable from each other so there's no logical naming > > > system. > > > > Then we should probably not try to force them into driver model.

Re: [patch 1/2] Touchscreen support for sharp sl-5500

2005-07-25 Thread Pavel Machek
Hi! > > > > This adds support for reading ADCs (etc), neccessary to operate touch > > > > screen on Sharp Zaurus sl-5500. > > > > > > I would like to know what the diffs are between my version (attached) > > > and this version before they get applied. > > > > Hmm, diff looks quite big (attached)

Re: 2.6.13-rc3 udev/hotplug use memory after free

2005-07-25 Thread Andrew Morton
Keith Owens <[EMAIL PROTECTED]> wrote: > > 2.6.13-rc3 + kdb (which does not touch udev/hotplug) on IA64 (Altix). > gcc version 3.3.3 (SuSE Linux). Compiled with DEBUG_SLAB, > DEBUG_PREEMPT, DEBUG_SPINLOCK, DEBUG_SPINLOCK_SLEEP, DEBUG_KOBJECT. > > There is a use after free somewhere above class

Re: Question re the dot releases such as 2.6.12.3

2005-07-25 Thread Gene Heskett
On Monday 25 July 2005 12:38, Brian Gerst wrote: >Gene Heskett wrote: >> Greetings; >> >> I just built what I thought was 2.6.12.3, but my script got a >> tummy ache because I didn't check the Makefile's EXTRA_VERSION, >> which was set to .2 in the .2 patch. Now my 2.6.12 modules will >> need a re

Re: Problem with Asus P4C800-DX and P4 -Northwood-

2005-07-25 Thread Andreas Baer
Bill Davidsen wrote: One other oddment about this motherboard, Forgive if I have over-snipped this trying to make it relevant... Andreas Baer wrote: Willy Tarreau wrote: On Mon, Jul 25, 2005 at 03:10:08PM +0200, Andreas Baer wrote: There clearly is a problem on the system installed

Re: Kernel 2.6.12 and 2.6.13 hangs for a while on boot

2005-07-25 Thread Andrew Morton
"Francisco Figueiredo Jr." <[EMAIL PROTECTED]> wrote: > > I'm having little hangs while booting with kernels 2.6.12 and 2.6.13-rc1, rc2 > and rc3. > > It is strange that 2.6.12-rc1 booted ok without hangs. > > I saw a post of Alan Cox on rc-1 release notes: > > "Old ISA/VESA systems sometime

Re: topology api confusion

2005-07-25 Thread Matthew Dobson
Nathan Lynch wrote: > We need some clarity on how asm-generic/topology.h is intended to be > used. I suspect that it's supposed to be unconditionally included at > the end of the architecture's topology.h so that any elements which > are undefined by the arch have sensible default definitions. Lo

Re: [patch 1/2] Touchscreen support for sharp sl-5500

2005-07-25 Thread Pavel Machek
Hi! > > Can we change this to "while (!kthread_should_stop())" to make me > > completely happy? > > I still ask, and I'll keep repeating this. What is the difference > between this and the reference implementation which is known to > work on other hardware. I think I posted diffs already, but t

Re: [patch 1/2] Touchscreen support for sharp sl-5500

2005-07-25 Thread Pavel Machek
Hi! > > I have made quite a lot of cleanups to touchscreen part, and it seems > > to be acceptable by input people. I think it should go into > > drivers/input/touchscreen/collie_ts.c... Also it looks to me like > > mcp.h should go into asm/arch-sa1100, so that other drivers can use it... > > I h

  1   2   3   >