[patch 21/24] psmouse: wheel mice always have middle button

2005-07-24 Thread Dmitry Torokhov
From: Vojtech Pavlik <[EMAIL PROTECTED]> Input: psmouse - wheel mice (imps, exps) always have 3rd button There are wheel mice that respond to Logitech probes and report that they have only 2 buttons (such as e-Aser mouse) and this stops the wheel from being used as a middle button. Change the dri

Re: kernel 2.6 speed

2005-07-24 Thread Ciprian
Thanks guys for your help. I should have asked you this right from the beginning. :) Ciprian __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe from this list: send the line "un

Re: CheckFS: Checkpoints and Block Level Incremental Backup (BLIB)

2005-07-24 Thread Amit S. Kale
On Sunday 24 Jul 2005 8:44 pm, Jan Engelhardt wrote: > >Maybe you want to put your development machines on ext*2* while doing > >this ;-). Or perhaps reiserfs/xfs/something. > > Or perhaps into at the VFS level, so any fs can benefit from it. We thought about that. While it's possible to do that,

[patch 01/24] uinput: formatting, cleanup

2005-07-24 Thread Dmitry Torokhov
Input: clean up uinput driver (formatting, extra braces) Signed-off-by: Dmitry Torokhov <[EMAIL PROTECTED]> --- drivers/input/misc/uinput.c | 81 +++- 1 files changed, 35 insertions(+), 46 deletions(-) Index: work/drivers/input/misc/uinput.c ===

Re: 2.6.13-rc3-mm1

2005-07-24 Thread Andrew Morton
Richard Purdie <[EMAIL PROTECTED]> wrote: > > On Fri, 2005-07-15 at 01:36 -0700, Andrew Morton wrote: > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc3/2.6.13-rc3-mm1/ > > On the Zaurus I'm seeing a couple of false "BUG: soft lockup detected on > CPU#0!" reports. T

[patch 14/24] synaptics - limit rate on Toshiba Dynabooks

2005-07-24 Thread Dmitry Torokhov
From: Simon Horman <[EMAIL PROTECTED]> Input: synaptics - limit rate to 40pps on Toshiba Dynabooks Toshiba Dynabooks require the same workaround as Satellites - Synaptics report rate should be lowered to 40pps (from 80), otherwise KBC starts losing keypresses. Signed-off-by: Simon Horman <[EMAIL

[patch 06/24] sonypi: make sure input_work is not running when unloading

2005-07-24 Thread Dmitry Torokhov
Sonypi: make sure that input_work is not running when unloading the module; submit/retrieve key release data into/from input_fifo in one shot. Signed-off-by: Dmitry Torokhov <[EMAIL PROTECTED]> --- drivers/char/sonypi.c | 122 +- 1

[patch 17/24] HID: Add a quirk for Aashima gamepad

2005-07-24 Thread Dmitry Torokhov
From: "Luca T." <[EMAIL PROTECTED]> Input: HID - add a quirk for Aashima Trust (06d6:0025) gamepad Signed-off-by: Vojtech Pavlik <[EMAIL PROTECTED]> Signed-off-by: Dmitry Torokhov <[EMAIL PROTECTED]> --- drivers/usb/input/hid-core.c |4 1 files changed, 4 insertions(+) Index: work/dri

[patch 13/24] i8042 - add Fujitsu T3010 to NOMUX blacklist

2005-07-24 Thread Dmitry Torokhov
From: Vojtech Pavlik <[EMAIL PROTECTED]> Input: i8042 - add Fujitsu T3010 to NOMUX blacklist. Signed-off-by: Vojtech Pavlik <[EMAIL PROTECTED]> Signed-off-by: Dmitry Torokhov <[EMAIL PROTECTED]> --- drivers/input/serio/i8042-x86ia64io.h |7 +++ 1 files changed, 7 insertions(+) Index: w

[patch 20/24] HID - only report events coming from interrupts to hiddev

2005-07-24 Thread Dmitry Torokhov
From: Adam Kropelin <[EMAIL PROTECTED]> Input: HID - only report events coming from interrupts to hiddev Currently hid-core follows the same code path for input reports regardless of whether they are a result of interrupt transfers or control transfers. That leads to interrupt events erroneously

Re: tx queue start entry x dirty entry y (was 8139too PCI IRQ issues)

2005-07-24 Thread Mark Burton
[I'm currently having nasty ISP problems, so I've removed myself from the list for the time-being, as e-mail is struggling to get through to me -- hence the delay in my reply to this, SORRY] Probably it's the miss config of PIC. Can you post more info? Thanks for helping! :-))) - /p

[PPC64] Remove another fixed address constraint

2005-07-24 Thread David Gibson
Presently the LparMap, one of the structures the kernel shares with the legacy iSeries hypervisor has a fixed offset address in head.S. This patch changes this so the LparMap is a normally initialized structure, without fixed address. This allows us to use macros to compute some of the values in t

[patch 12/24] i8042 - add Alienware Sentia to NOMUX blacklist

2005-07-24 Thread Dmitry Torokhov
Input: i8042 - add Alienware Sentia to NOMUX blacklist. Signed-off-by: Dmitry Torokhov <[EMAIL PROTECTED]> --- drivers/input/serio/i8042-x86ia64io.h |7 +++ 1 files changed, 7 insertions(+) Index: work/drivers/input/serio/i8042-x86ia64io.h ===

Stripping in module

2005-07-24 Thread Budde, Marco
Hi, at the moment I am packaging a Linux module as an RPM archive. Therefor I would like to remove some of the not exported/needed symbols (like e.g. static functions or constants) from the Linux module. What is the best way to do this with v2.6. I have tried e.g. to remove all symbols starting

[patch 16/24] ALPS: fix enabling tapping mode

2005-07-24 Thread Dmitry Torokhov
From: Peter Osterlund <[EMAIL PROTECTED]> Input: ALPS - unconditionally enable tapping mode The condition in alps_init() was also inverted and the driver was enabling tapping mode only if it was already enabled. Signed-off-by: Peter Osterlund <[EMAIL PROTECTED]> Signed-off-by: Vojtech Pavlik <[E

[patch 08/24] input: make name, phys and uniq const char

2005-07-24 Thread Dmitry Torokhov
Input: make name, phys and uniq be 'const char *' because once set noone should attempt to change them. Signed-off-by: Dmitry Torokhov <[EMAIL PROTECTED]> --- drivers/char/sonypi.c | 24 ++-- drivers/input/misc/uinput.c | 23 --- include/l

Netlink connector

2005-07-24 Thread James Morris
On Sun, 24 Jul 2005, David S. Miller wrote: From: Evgeniy Polyakov <[EMAIL PROTECTED]> Date: Sat, 23 Jul 2005 13:14:55 +0400 Andrew has no objection against connector and it lives in -mm A patch sitting in -mm has zero significance. The significance I think is that Andrew is trying to gentl

[patch 05/24] Add usb_to_input_id

2005-07-24 Thread Dmitry Torokhov
Input: introduce usb_to_input_id() to uniformly produce struct input_id for USB input devices. Signed-off-by: Dmitry Torokhov <[EMAIL PROTECTED]> --- drivers/usb/input/acecad.c |6 ++ drivers/usb/input/aiptek.c |6 ++ drivers/usb/input/ati_remote.c |8 +++---

[patch 15/24] ALPS: Fix resume for DualPoints

2005-07-24 Thread Dmitry Torokhov
From: David Moore <[EMAIL PROTECTED]> Input: ALPS - fix resume (for DualPoints) The driver would not reset pass-through mode when performing resume of a DualPoint touchpad causing it to stop working until next reboot. Signed-off-by: Vojtech Pavlik <[EMAIL PROTECTED]> Signed-off-by: Dmitry Torokh

[patch 02/24] uinput: use completions

2005-07-24 Thread Dmitry Torokhov
Input: uinput - use completions instead of events and manual wakeups in force feedback code. Signed-off-by: Dmitry Torokhov <[EMAIL PROTECTED]> --- drivers/input/misc/uinput.c | 81 +++- include/linux/uinput.h |5 +- 2 files changed, 45 i

[patch 03/24] serio: add modalias

2005-07-24 Thread Dmitry Torokhov
Input: serio - add modalias attribute and environment variable to simplify hotplug scripts. Signed-off-by: Dmitry Torokhov <[EMAIL PROTECTED]> --- drivers/input/serio/serio.c | 42 ++ 1 files changed, 26 insertions(+), 16 deletions(-) Index: work

Re: kernel 2.6 speed

2005-07-24 Thread Willy Tarreau
On Mon, Jul 25, 2005 at 12:10:15AM -0400, Florin Malita wrote: > On 7/24/05, Alan Cox <[EMAIL PROTECTED]> wrote: > > time() isn't a hot > > path in the real world. > > That's what you would expect but I've straced stuff calling > gettimeofday() in huge bursts every other second. Obviously braindea

Re: 2.6.11-rc5 and 2.6.12: cannot transmit anything

2005-07-24 Thread David S. Miller
Probably your link is never coming up. We won't send packets over the wire unless the device is in the link-up state. However, if ->dequeue() is returning NULL, there really aren't any packets in the device queue to be sent. If you want, add more tracing to pfifo_fast_dequeue() since that's alm

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

2005-07-24 Thread Willy Tarreau
Hi, On Mon, Jul 25, 2005 at 02:50:05AM +0200, Andreas Baer wrote: > Hi everyone, > > First I want to say sorry for this BIG post, but it seems that I have no > other chance. :) It's not big enough, you did not explain us what your database does nor how it does work, what type of resource it con

2.6.11-rc5 and 2.6.12: cannot transmit anything

2005-07-24 Thread Denis Vlasenko
[resend. Did not reach mailing lists, most probably due to KMail's unstoppable desire to use base64 encoding :)] Hi folks, I reported earlied that around linux-2.6.11-rc5 my home box sometimes does not want to send anything over ethetnet. That report is repeated below sig. I finally managed to n

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

2005-07-24 Thread Dmitry Torokhov
On Sunday 24 July 2005 23:09, Jon Smirl wrote: > I just pulled from GIT to test bind/unbind. I couldn't get it to work; > it isn't taking into account the CR on the end of the input value of > the sysfs attribute. This patch will fix it but I'm sure there is a > cleaner solution. > "echo -n" sho

Re: device_remove_file and disconnect

2005-07-24 Thread Greg KH
On Thu, Jun 30, 2005 at 10:31:44PM +0200, matthieu castet wrote: > >Then they should be fixed. Any specific examples? > > > > > I am a little lasy to list all, but some drivers in driver/usb should > have this problem : the first driver I look : ./misc/phidgetkit.c do > [1]. So sysfs read don't

Re: [PATCH 2.6] I2C: Separate non-i2c hwmon drivers from i2c-core (2/9)

2005-07-24 Thread Greg KH
On Wed, Jul 20, 2005 at 11:46:03PM +0200, Jean Delvare wrote: > > So, the approximate timeline would be 1* to 3* right now, 4* after that > as time permits, and 5* when we estimate that 3* happened long enough > ago (roughly 1st half of 2006?) > > I hope I explained it correctly this time. If not

Re: kernel 2.6 speed

2005-07-24 Thread Florin Malita
On 7/24/05, Alan Cox <[EMAIL PROTECTED]> wrote: > time() isn't a hot > path in the real world. That's what you would expect but I've straced stuff calling gettimeofday() in huge bursts every other second. Obviously braindead stuff but so is "the real world" most of the time() ... :) - To unsubscri

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

2005-07-24 Thread Jon Smirl
I just pulled from GIT to test bind/unbind. I couldn't get it to work; it isn't taking into account the CR on the end of the input value of the sysfs attribute. This patch will fix it but I'm sure there is a cleaner solution. -- Jon Smirl [EMAIL PROTECTED] diff --git a/drivers/base/bus.c b/dri

Re: [patch] fix compilation in collie.c

2005-07-24 Thread Pavel Machek
This fixes wrong number of arguments in call to write_scoop_reg and John's email. Please apply, Pavel Signed-off-by: Pavel Machek <[EMAIL PROTECTED]> diff --git a/arch/arm/mach-sa1100/collie.c b/arch/arm/mach-sa1100/collie.c --- a/arch/arm/m

Re: Re: Problem while inserting pciehp (PCI Express Hot-plug) driver

2005-07-24 Thread Rajat Jain
> On Tue, Jul 12, 2005 at 06:01:22PM +0900, Rajat Jain > wrote: > > > Hi, > > > > I'm trying to use the PCI Express Hot-Plug Controller driver > > (pciehp.ko) with Kernel 2.6 so that I can get hot-plug events > > whenever I add a card to my PCI Express slot. > > > > I built the driver as a modul

(was Re: [PATCH] 1 Wire drivers illegally overload NETLINK_NFLOG) Fw: Mail delivery failed: returning message to sender

2005-07-24 Thread David S. Miller
Well, this may be the reason why Evgeniy thinks nobody has any concrete objections to his connector layer :-( --- Begin Message --- This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is a permanen

Re: [PATCH] 1 Wire drivers illegally overload NETLINK_NFLOG

2005-07-24 Thread David S. Miller
From: Evgeniy Polyakov <[EMAIL PROTECTED]> Date: Sat, 23 Jul 2005 13:14:55 +0400 > Andrew has no objection against connector and it lives in -mm A patch sitting in -mm has zero significance. A lot of junk and useless things end up there as often Andrew incorporates just about every single patch

[no subject]

2005-07-24 Thread Matt Heler
subscribe 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] 1 Wire drivers illegally overload NETLINK_NFLOG

2005-07-24 Thread David S. Miller
From: Harald Welte <[EMAIL PROTECTED]> Date: Sat, 23 Jul 2005 09:33:53 -0400 > I strongly disrecommend increasing NPROTO. Maybe we should look into > reusing NETLINK_FIREWALL (which was an old 2.2.x kernel interface). ip_queue.c still uses NETLINK_FIREWALL so we really can't use that. So instea

[no subject]

2005-07-24 Thread Matt
subscribe 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] 1 Wire drivers illegally overload NETLINK_NFLOG

2005-07-24 Thread David S. Miller
From: Harald Welte <[EMAIL PROTECTED]> Date: Sat, 23 Jul 2005 09:33:53 -0400 > I strongly disrecommend increasing NPROTO. Maybe we should look into > reusing NETLINK_FIREWALL (which was an old 2.2.x kernel interface). That is how I will fix this 1-wire case, by reusing the NETLINK_FIREWALL thing

Incorrect driver getting loaded for Qlogic FC-HBA

2005-07-24 Thread Rajat Jain
Hi, I do not know which list to put this problem on. And hence ... 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 mo

Fault tolerance. . .

2005-07-24 Thread John Richard Moser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm playing Skies of Arcadia Legends on my GameCube and noticing that software bugs continuously produce errors (no scratch on the disk; I can have an error, reset, play through it easy). This leads me on and on, but now it's lead me into thinking abo

Re: Memory Management

2005-07-24 Thread Márcio Oliveira
Neil Horman wrote: On Sat, Jul 23, 2005 at 08:16:20PM -0300, Márcio Oliveira wrote: Neil, The best way I can think to do that is take a look at /proc/slabinfo. That will likely give you a pointer to which area of code is eating up your memory. OK. I will monitor the /proc/

Re: [PATCH] pcibios_bus_to_resource for parisc [Was: Re: [PATCH 8/8] pci and yenta: pcibios_bus_to_resource]

2005-07-24 Thread Grant Grundler
On Sat, Jul 23, 2005 at 09:54:11PM +0200, Dominik Brodowski wrote: > Oh, yes, I seem to have missed it. Sorry. Does this patch look good? Yes. Acked-by: Grant Grundler <[EMAIL PROTECTED]> I'll commit this to the cvs.parisc-linux.org tree as well. Willy can let me deal with the collision if it's

Problem with Asus P4C800-DX and P4 -Northwood-

2005-07-24 Thread Andreas Baer
Hi everyone, First I want to say sorry for this BIG post, but it seems that I have no other chance. :) I have a Asus P4C800-DX with a P4 2,4 GHz 512 KB L2 Cache "Northwood" Processor (lowest Processor that supports HyperThreading) and 1GB DDR400 RAM. I'm also running S-ATA disks with about 5

Re: Lack of Documentation about SA_RESTART...

2005-07-24 Thread Theodore Ts'o
On Sat, Jul 23, 2005 at 05:30:42PM -0700, Linus Torvalds wrote: > On Mon, 11 Jul 2005, Theodore Ts'o wrote: > > > > According to the Single Unix Specification V3, all functions that > > return EINTR are supposed to restart if a process receives a signal > > where signal handler has been installed

[-mm PATCH] v4l: hybrid dvb: rename CFLAGS from CONFIG_DVB_xxxx back to original HAVE_xxxx

2005-07-24 Thread Michael Krufky
The #define CONFIG_DVB_* are actually CFLAGS set by Makefile. CONFIG_* namespace is reserved for Kconfig. This renames them back to HAVE_* Signed-off-by: Michael Krufky <[EMAIL PROTECTED]> linux/drivers/media/video/cx88/Makefile |8 ++-- linux/drivers/media/video/cx88/cx88-dvb.c

Re: [PATCH NFS 3/3] Replace nfs_block_bits() with roundup_pow_of_two()

2005-07-24 Thread Trond Myklebust
su den 24.07.2005 Klokka 19:09 (-0400) skreiv Trond Myklebust: > su den 24.07.2005 Klokka 16:36 (+0200) skreiv Rene Scharfe: > > [PATCH NFS 3/3] Replace nfs_block_bits() with roundup_pow_of_two() > > > > Function nfs_block_bits() an open-coded version of (the non-existing) > > rounddown_pow_of_two

Re: kernel 2.6 speed

2005-07-24 Thread Alan Cox
On Sul, 2005-07-24 at 12:12 -0700, Ciprian wrote: > I'm not an OS guru, but I ran a little and very simple > test. The program bellow, as you can see, measures the > number of cycles performed in 30 seconds. No it measures the performance of the "time()" call. Windows has some funky optimisations

Re: Device supported by the OSS trident driver not supported by ALSA

2005-07-24 Thread Alan Cox
On Sad, 2005-07-23 at 22:04 +0200, Adrian Bunk wrote: > The OSS trident driver has 5 different pci_device_id entries. > > For 4 of them there seems to be similar ALSA support, but I can't find > any ALSA equivalent for the following entry: > {PCI_VENDOR_ID_INTERG, PCI_DEVICE_ID_INTERG_505

Re: [PATCH NFS 3/3] Replace nfs_block_bits() with roundup_pow_of_two()

2005-07-24 Thread Trond Myklebust
su den 24.07.2005 Klokka 16:36 (+0200) skreiv Rene Scharfe: > [PATCH NFS 3/3] Replace nfs_block_bits() with roundup_pow_of_two() > > Function nfs_block_bits() an open-coded version of (the non-existing) > rounddown_pow_of_two(). That means that for non-power-of-two target > sizes it returns half

Re: [patch] fix compilation in collie.c

2005-07-24 Thread Richard Purdie
On Sun, 2005-07-24 at 23:35 +0100, Russell King wrote: > I'd like John (or someone) to look at this. I'm particularly worred > about: > > 1. passing NULL into (read|write)_scoop_reg() - which use dev_get_drvdata() >on this. Given the choice between creating code which will definitely >oo

ping^2: [PATCH] move /proc/ppc_htab creating self-contained in arch/ppc/ code

2005-07-24 Thread Christoph Hellwig
On Mon, Jun 27, 2005 at 11:05:02PM +0200, Christoph Hellwig wrote: > On Wed, May 04, 2005 at 08:44:39PM +0200, Christoph Hellwig wrote: > > additional benefit is cleaning up the ifdef mess in ppc_htab.c > > > > > > Signed-off-by: Christoph Hellwig <[EMAIL PROTECTED]> > > ping? Index: arch/ppc/

Re: kernel 2.6 speed

2005-07-24 Thread Lee Revell
On Sun, 2005-07-24 at 17:03 -0400, Florin Malita wrote: > the x86 timer interrupt > frequency has increased from 100Hz to 1KHz (it's about to be lowered > to 250Hz) This is by no means a done deal. So far no one has posted ANY evidence that dropping HZ to 250 helps (except one result on a atypica

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

2005-07-24 Thread Christoph Hellwig
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 conjunction with the wait_on_bit changes, we need to > > define low-level

Re: [patch] fix compilation in collie.c

2005-07-24 Thread Russell King
On Thu, Jul 21, 2005 at 07:25:27AM +0200, Pavel Machek wrote: > This fixes wrong number of arguments in call to write_scoop_reg, fixes > map_name and John's email. Please apply, > > Signed-off-by: Pavel Machek <[EMAIL PROTECTED]> Nacked. I'd like John (or someone) to look at this. I'm particula

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

2005-07-24 Thread Christoph Hellwig
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 conjunction with the wait_on_bit changes, we need to > define low-level lock page routines which take an additional > argument, i.e a wait queue en

Re: xor as a lazy comparison

2005-07-24 Thread Puneet Vyas
Jan Engelhardt wrote: To confuse you, coders with assembly or hardware background throw in I doubt that. I'm good enough assembly to see this :) equivalent bit operations to succinctly describe their visualisation of solution space... Perhaps the writer _wanted_ you to pause and th

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

2005-07-24 Thread Grant Coady
On Sun, 24 Jul 2005 23:27:22 +0200, Adrian Bunk <[EMAIL PROTECTED]> wrote: >Looking at the .config, the problem is actually: > CONFIG_BROKEN=y > >You should edit init/Kconfig to disallow CONFIG_CLEAN_COMPILE=n, since >any errors you see with CONFIG_BROKEN=y aren't interesting. Very good point.

Re: kernel 2.6 speed

2005-07-24 Thread Jan Engelhardt
>I got a question for you. Apparently kernel 2.6 is >much slower then 2.4 and about 30 times slower then >the windows one. > >I'm not an OS guru, but I ran a little and very simple >test. The program bellow, as you can see, measures the >number of cycles performed in 30 seconds. I suggest that you

Re: xor as a lazy comparison

2005-07-24 Thread Jan Engelhardt
>To confuse you, coders with assembly or hardware background throw in I doubt that. I'm good enough assembly to see this :) >equivalent bit operations to succinctly describe their visualisation >of solution space... Perhaps the writer _wanted_ you to pause and >think? Maybe the compiler prod

Re: RTC Timezone

2005-07-24 Thread Bernd Eckenfels
In article <[EMAIL PROTECTED]> you wrote: > My RTC clock is set to the local timezone. However, when I boot linux using > the -b option, to stop by a shell before the bootscripts begin, the clock is > exaclty two hours ahead. The problem is that the clock is correct, but the timezone of your sys

Re: kernel page size explanation

2005-07-24 Thread Nix
On Mon, 25 Jul 2005, VASM wrote: > i had one question > does the linux kernel support only one default page size even if the > processor on which it is working supports multiple ? No. Some architectures have compile-time support for multiple different page sizes (e.g. Itanium, SPARC64); many have

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

2005-07-24 Thread Adrian Bunk
On Mon, Jul 25, 2005 at 07:13:02AM +1000, Grant Coady wrote: > On Sun, 24 Jul 2005 22:39:32 +0200, Adrian Bunk <[EMAIL PROTECTED]> wrote: > > >On Mon, Jul 25, 2005 at 05:42:58AM +1000, Grant Coady wrote: > >> On Sun, 24 Jul 2005 11:13:27 +0200, Adrian Bunk <[EMAIL PROTECTED]> wrote: > >> > > >> >i

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

2005-07-24 Thread Grant Coady
On Sun, 24 Jul 2005 22:39:32 +0200, Adrian Bunk <[EMAIL PROTECTED]> wrote: >On Mon, Jul 25, 2005 at 05:42:58AM +1000, Grant Coady wrote: >> On Sun, 24 Jul 2005 11:13:27 +0200, Adrian Bunk <[EMAIL PROTECTED]> wrote: >> > >> >it's generally useful, but the target kernel should be the latest -mm >> >

Re: IRQ routing problem in 2.6.10-rc2

2005-07-24 Thread Pierre Ossman
Jesper Juhl wrote: > >Have you tried the suggestion given "... As a temporary workaround, >the "pci=routeirq" argument..." ? >You could also try the pci=noacpi boot option to see if that changes anything. > > No, I missed that one. The machine works fine with either of those two options. I sent

Re: kernel 2.6 speed

2005-07-24 Thread Florin Malita
On 7/24/05, Ciprian <[EMAIL PROTECTED]> wrote: > test /= 10; > test *= 10; > test += 10; > test -= 10; You're not trying to benchmark the kernel with those arithmetic operations are you?! That's completely bogus, the kernel is not involved in any of that. As it has been already pointed out, the o

Re: kernel 2.6 speed

2005-07-24 Thread Puneet Vyas
Ciprian wrote: Hi guys! I got a question for you. Apparently kernel 2.6 is much slower then 2.4 and about 30 times slower then the windows one. I'm not an OS guru, but I ran a little and very simple test. The program bellow, as you can see, measures the number of cycles performed in 30 seconds

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

2005-07-24 Thread Adrian Bunk
On Mon, Jul 25, 2005 at 05:42:58AM +1000, Grant Coady wrote: > On Sun, 24 Jul 2005 11:13:27 +0200, Adrian Bunk <[EMAIL PROTECTED]> wrote: > > > >it's generally useful, but the target kernel should be the latest -mm > >kernel. > 097-error:drivers/char/drm/drm_memory.h:163: error: redefinition of >

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

2005-07-24 Thread Jesper Juhl
On 7/24/05, Grant Coady <[EMAIL PROTECTED]> wrote: > On Sun, 24 Jul 2005 11:13:27 +0200, Adrian Bunk <[EMAIL PROTECTED]> wrote: > > With > 2k (raw) errors in 97.something builds of 2.6.12.3, why go > looking for trouble in -mm? Because -mm is the development tree. The things in -mm are what's eve

Re: xor as a lazy comparison

2005-07-24 Thread Grant Coady
On Sun, 24 Jul 2005 18:40:25 +0200 (MEST), Jan Engelhardt <[EMAIL PROTECTED]> wrote: > >I have seen this in kernel/signal.c:check_kill_permission() > >&& (current->euid ^ t->suid) && (current->euid ^ t->uid) > >If current->euid and t->suid are the same, the xor returns 0, so these >st

Re: Supermount

2005-07-24 Thread zhilla
well, for a bit of OT discussion sake, here's how it imho SHOULD work, from user (noobs and non guru) desktop point of view: cd/dvds: mounted automatically on insert / first access. if a program is running from it (or a file is open from it), and user tries to eject it using button, or any eject

Re: [PATCH 2.6.13-rc3] pcmcia: pcmcia_request_irq for !IRQ_HANDLE_PRESENT

2005-07-24 Thread Dominik Brodowski
On Sun, Jul 24, 2005 at 12:40:40PM +0100, Russell King wrote: > On Sat, Jul 23, 2005 at 10:11:13PM +0200, Dominik Brodowski wrote: > > Thanks for the excellent debugging. Your patch seems to work, however it > > might be better to do just this: > > This can be racy if two drivers are simultaneousl

Re: kernel 2.6 speed

2005-07-24 Thread Dag Nygren
> In windows were performed about 300 millions cycles, > while in Linux about 10 millions. This test was run on > Fedora 4 and Suse 9.2 as Linux machines, and Windows > XP Pro with VS .Net 2003 on the MS side. My CPU is a > P4 @3GHz HT 800MHz bus. > > I published my little test on several forums

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

2005-07-24 Thread Grant Coady
On Sun, 24 Jul 2005 11:13:27 +0200, Adrian Bunk <[EMAIL PROTECTED]> wrote: > >it's generally useful, but the target kernel should be the latest -mm >kernel. 097-error:drivers/char/drm/drm_memory.h:163: error: redefinition of `drm_ioremap_nocache' 097-error:drivers/char/drm/drm_memory.h:163: error

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

2005-07-24 Thread Jesper Juhl
On 7/24/05, Grant Coady <[EMAIL PROTECTED]> wrote: > On Sun, 24 Jul 2005 15:01:22 +0200, Jesper Juhl <[EMAIL PROTECTED]> wrote: > >> context. Deliberately simplistic for traceability at the moment, truncated > >> error length for this post. > >> > >If you could put the data online somewhere I'd be

Re: kernel page size explanation

2005-07-24 Thread Fawad Lateef
On 7/25/05, VASM <[EMAIL PROTECTED]> wrote: > i had one question > does the linux kernel support only one default page size even if the > processor on which it is working supports multiple ? > The PAGE_SIZE depends on the architecture and it do supports different page_sizes depending on the archi

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

2005-07-24 Thread Grant Coady
On Sun, 24 Jul 2005 15:01:22 +0200, Jesper Juhl <[EMAIL PROTECTED]> wrote: >> context. Deliberately simplistic for traceability at the moment, truncated >> error length for this post. >> >If you could put the data online somewhere I'd be interrested in >taking a look at it. 7.4MB raw data --> low

kernel 2.6 speed

2005-07-24 Thread Ciprian
Hi guys! I got a question for you. Apparently kernel 2.6 is much slower then 2.4 and about 30 times slower then the windows one. I'm not an OS guru, but I ran a little and very simple test. The program bellow, as you can see, measures the number of cycles performed in 30 seconds. //-

Re: Giving developers clue how many testers verified certain kernel version

2005-07-24 Thread Martin MOKREJŠ
Hi Adrian, I think you don't understand me. I do report bugs and will always do. The point was that developers could be "assured" there is possibly no problem when people do NOT report bugs in that piece of code because they would know that it _was_ tested by 1000 people on 357 different HW's. An

Re: kernel page size explanation

2005-07-24 Thread VASM
i had one question does the linux kernel support only one default page size even if the processor on which it is working supports multiple ? On 7/25/05, Nix <[EMAIL PROTECTED]> wrote: > On 22 Jul 2005, Jesper Juhl suggested tentatively: > > You can > > A) look in the .config file for your curren

Re: Memory Management

2005-07-24 Thread Neil Horman
On Sat, Jul 23, 2005 at 08:16:20PM -0300, Márcio Oliveira wrote: > Neil, > > >The best way I can think to do that is take a look at /proc/slabinfo. > >That will > >likely give you a pointer to which area of code is eating up your memory. > > > > > OK. I will monitor the /proc/slabinfo file. >

Re: Giving developers clue how many testers verified certain kernel version

2005-07-24 Thread Adrian Bunk
On Sun, Jul 24, 2005 at 08:45:16PM +0200, Martin MOKREJ? wrote: > Hi Adrian, Hi Martin, > well, the idea was to give you a clue how many people did NOT complain > because it either worked or they did not realize/care. The goal > was different. For example, I have 2 computers and both need curre

Re: Giving developers clue how many testers verified certain kernel version

2005-07-24 Thread Martin MOKREJŠ
Hi Adrian, well, the idea was to give you a clue how many people did NOT complain because it either worked or they did not realize/care. The goal was different. For example, I have 2 computers and both need current acpi patch to work fine. I went to bugzilla and found nobody has filed such bugs b

Re: kernel page size explanation

2005-07-24 Thread Nix
On 22 Jul 2005, Jesper Juhl suggested tentatively: > You can > A) look in the .config file for your current kernel (if your arch > supports different page sizes at all). > B) You can use the getpagesize(2) syscall at runtime. getpagesize() > returns the nr of bytes in a page - man getpagesize -

do_gettimeofday monotony?

2005-07-24 Thread bert hubert
Is do_gettimeofday supposed to be monotonous? I'm seeing time go backward by tiny amounts, and then progressing. I'm using do_gettimeofday on a single processor, CONFIG_PREEMPT_NONE=y, and saving stuff from generic_make_request - see http://ds9a.nl/diskstat for the source. 2.6.13-rc3-mm1, HZ=250.

Re: Why build empty object files in drivers/media?

2005-07-24 Thread Johannes Stezenbach
On Sun, Jul 24, 2005 at 08:58:45AM +, Sam Ravnborg wrote: > On Sun, Jul 24, 2005 at 04:10:13PM +1000, Keith Owens wrote: > > > > > >diff --git a/drivers/media/Makefile b/drivers/media/Makefile > > >--- a/drivers/media/Makefile > > >+++ b/drivers/media/Makefile > > >@@ -2,4 +2,7 @@ > > > # Makef

Re: CIFS slowness & crashes

2005-07-24 Thread Lasse Kärkkäinen / Tronic
>>nor umount -f > What are the errors? What is the version of cifs.ko module? umount2: Device or resource busy umount: /tmpmnt: device is busy umount2: Device or resource busy umount: /tmpmnt: device is busy Without -f it doesn't print those umount2 errors, just the other two. The version is wh

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

2005-07-24 Thread randy_dunlap
On Sun, 24 Jul 2005 17:47:56 +0100 Russell King wrote: > On Fri, Jul 22, 2005 at 08:01:09PM +0200, Pavel Machek wrote: > > 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 (atta

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

2005-07-24 Thread Richard Purdie
On Sun, 2005-07-24 at 17:47 +0100, Russell King wrote: > On Fri, Jul 22, 2005 at 08:01:09PM +0200, Pavel Machek wrote: > > 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 (attac

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

2005-07-24 Thread Russell King
On Fri, Jul 22, 2005 at 08:01:09PM +0200, Pavel Machek wrote: > 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. The only reason m

xor as a lazy comparison

2005-07-24 Thread Jan Engelhardt
Hi list, I have seen this in kernel/signal.c:check_kill_permission() && (current->euid ^ t->suid) && (current->euid ^ t->uid) If current->euid and t->suid are the same, the xor returns 0, so these statements are effectively the same as a != current->euid != t->suid ... Wh

Re: 2.6.13-rc3-mm1

2005-07-24 Thread Richard Purdie
On Fri, 2005-07-15 at 01:36 -0700, Andrew Morton wrote: > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc3/2.6.13-rc3-mm1/ On the Zaurus I'm seeing a couple of false "BUG: soft lockup detected on CPU#0!" reports. These didn't show under 2.6.12-mm1 which was the last -mm ker

Re: IRQ routing problem in 2.6.10-rc2

2005-07-24 Thread Jesper Juhl
On 7/24/05, Jan Engelhardt <[EMAIL PROTECTED]> wrote: > >> PCI: Using ACPI for IRQ routing > >> ** PCI interrupts are no longer routed automatically. If this > >> ** causes a device to stop working, it is probably because the > >> ** driver failed to call pci_enable_device(). As a temporary > >>

Re: [stable] Re: [05/11] SMP fix for 6pack driver

2005-07-24 Thread Adrian Bunk
On Sun, Jul 17, 2005 at 05:09:39PM -0400, Ralf Baechle wrote: > On Fri, Jul 15, 2005 at 09:35:56PM +0200, Adrian Bunk wrote: > > > I do agree with Francois regarding this issue: > > > > AFAIR, there has been not one 2.6 kernel where this driver was available > > for SMP kernels. > > Eh... That

Re: CheckFS: Checkpoints and Block Level Incremental Backup (BLIB)

2005-07-24 Thread Jan Engelhardt
>Maybe you want to put your development machines on ext*2* while doing >this ;-). Or perhaps reiserfs/xfs/something. Or perhaps into at the VFS level, so any fs can benefit from it. Jan Engelhardt -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a me

Re: IRQ routing problem in 2.6.10-rc2

2005-07-24 Thread Jan Engelhardt
>> PCI: Using ACPI for IRQ routing >> ** PCI interrupts are no longer routed automatically. If this >> ** causes a device to stop working, it is probably because the >> ** driver failed to call pci_enable_device(). As a temporary >> ** workaround, the "pci=routeirq" argument restores the old >> *

Re: [2.6.12.3] dyntick 050610-1 breaks makes S3 suspend

2005-07-24 Thread Jan De Luyck
On Sunday 24 July 2005 16:23, Pavel Machek wrote: > Hi! > > > > I recently tried out dyntick 050610-1 against 2.6.12.3, works great, it > > > actually makes a noticeable difference on my laptop's battery life. I > > > don't have hard numbers, lets just say that instead of the usual ~3 > > > hours i

RTC Timezone

2005-07-24 Thread Jan Engelhardt
Hi, My RTC clock is set to the local timezone. However, when I boot linux using the -b option, to stop by a shell before the bootscripts begin, the clock is exaclty two hours ahead. Is the timezone stored in the RTC? If no, how can Linux know I am in UTC+0200? Jan Engelhardt -- - To unsubsc

[PATCH NFS 2/3] Lose second parameter of nfs_block_bits

2005-07-24 Thread Rene Scharfe
[PATCH NFS 2/3] Lose second parameter of nfs_block_bits Two of the three calls were passing a NULL pointer and we can simply calculate the number of bits ourselves. Signed-off-by: Rene Scharfe <[EMAIL PROTECTED]> --- fs/nfs/inode.c | 17 - 1 files changed, 8 insertions(+), 9 d

[PATCH NFS 3/3] Replace nfs_block_bits() with roundup_pow_of_two()

2005-07-24 Thread Rene Scharfe
[PATCH NFS 3/3] Replace nfs_block_bits() with roundup_pow_of_two() Function nfs_block_bits() an open-coded version of (the non-existing) rounddown_pow_of_two(). That means that for non-power-of-two target sizes it returns half the size needed for a block to fully contain the target. I guess this

[PATCH NFS 1/3] Lose second parameter of nfs_block_size().

2005-07-24 Thread Rene Scharfe
[PATCH NFS 1/3] Lose second parameter of nfs_block_size(). Most calls to nfs_block_size() were done with a NULL pointer as second parameter anyway. We can simply calculate the number of bits ourselves instead of using that ugly pointer thingy. Signed-off-by: Rene Scharfe <[EMAIL PROTECTED]> ---

  1   2   >