Re: revert yenta free_irq on suspend

2005-08-01 Thread Sanjoy Mahajan
> slow and steady progress The oscillations are indeed discouraging. For S3 sleep/wake on my TP 600X: 2.6.11.4: works well (the console was hosed with jittering text, but X restores fine), which hugely improved using my laptop. 2.6.12.3: ditto But: 2.6.13-rc3

Re: 2.6.13-rc4-mm1

2005-08-01 Thread David S. Miller
From: Alexandre Buisse <[EMAIL PROTECTED]> Date: Mon, 01 Aug 2005 07:52:29 +0200 > I have this when I enable nfnetlink as a module : > > net/built-in.o: In function `ip_ct_port_tuple_to_nfattr': > : undefined reference to `__nfa_fill' This got fixed in -mm2 and later methinks. - To unsubscribe f

Re: [ACPI] S3 and sigwait (was Re: 2.6.13-rc3: swsusp works (TP 600X))

2005-08-01 Thread Pavel Machek
Hi! > > If you think it is a linux bug, can you produce small test case doing > > just the sigwait, and post it on l-k with big title "sigwait() breaks > > when straced, and on suspend"? > > > > That way it is going to get some attetion, and you'll get either > > documentation or kernel fixed.

Re: Fw: sigwait() breaks when straced

2005-08-01 Thread Ulrich Drepper
On 7/31/05, Roland McGrath <[EMAIL PROTECTED]> wrote: > However, there is in fact no bug here. The test program is just wrong. > sigwait returns zero or an error number, as POSIX specifies. No question, no error is detected incorrectly. But sigwait is not a function specified with an EINTR error

Re: [PPC64] Remove another fixed address constraint

2005-08-01 Thread David Gibson
On Mon, Aug 01, 2005 at 08:45:02AM +0200, Olaf Hering wrote: > On Mon, Aug 01, David Gibson wrote: > > > Hrm.. definitely works here. Is this with any other patches? Can you > > send the .s file? That might help be debug it. > > It works with SLES9 gcc3, only gcc4 (or recent binutils) do not

Re: revert yenta free_irq on suspend

2005-08-01 Thread Pavel Machek
Hi! > > You said earlier we only should fix drivers that need fixing, but they > > all need fixing > > I think you're still talking from a theoretical standpoing, while all my > arguments are practical. > > In _practice_, I hope that > > (a) we don't see that very much (ie the people for whom

Re: revert yenta free_irq on suspend

2005-08-01 Thread Pavel Machek
Hi! > > > In general, I think that calling free_irq is the right behavior. > > > Although irqs changing after suspend is rare, there are also some > > > more serious issues. This has been discussed in the past, and a > > > summary is as follows: > > > > irqs actually isn't changed after suspend c

Re: 2.6.14-rc4: dma_timer_expiry [was 2.6.13-rc2 hangs at boot]

2005-08-01 Thread Ivan Kokshaysky
On Fri, Jul 29, 2005 at 02:39:21AM -0700, Andrew Morton wrote: > Tero Roponen <[EMAIL PROTECTED]> wrote: > > My original report is here: http://lkml.org/lkml/2005/7/6/174 > > I see. Ivan, do we know what's going on here? Sort of. The 4K cardbus windows are working fine for non-x86 architectures

[PATCH] Update Documentation/DocBook/kernel-hacking.tmpl

2005-08-01 Thread Rusty Russell
This has been sitting around for at least two years. Ran through it briefly again and submitting now. More work welcome. Cheers, Rusty. Name: Update Hacking Guide For 2.6 Signed-off-by: Rusty Russell <[EMAIL PROTECTED]> (authored) Update the hacking guide, before CONFIG_PREEMPT_RT goes in and

Re: Power consumption HZ100, HZ250, HZ1000: new numbers

2005-08-01 Thread Stefan Seyfried
Lee Revell wrote: > On Mon, 2005-08-01 at 00:47 +0200, Pavel Machek wrote: >> I'm pretty sure at least one distro will go with HZ<300 real soon now >> ;-). >> > > Any idea what their official recommendation for people running apps that > require the 1ms sleep resolution is? Something along the l

Re: revert yenta free_irq on suspend

2005-08-01 Thread Pavel Machek
Hi! > > > Why do it _ever_? There is _zero_ upside to doing it, I don't see why you > > > want to. > > > > Being able to turn off your soundcard at runtime when you are not > > using it was one of examples... > > I meant the "ACPI restores irq controller state" thing. > > Just leave it in. The

Re: Power consumption HZ100, HZ250, HZ1000: new numbers

2005-08-01 Thread Pavel Machek
Hi! > > > If the kernel defaults are irrelevant, then it would make more sense to > > > leave the default HZ as 1000 and not to enable the cpufreq and ACPI in > > > order to keep with the principle of least surprise for people who do use > > > kernel.org kernels. > > > > Well, I'd say you want AC

Re: Power consumption HZ100, HZ250, HZ1000: new numbers

2005-08-01 Thread Pavel Machek
Hi! > > > > I'm pretty sure at least one distro will go with HZ<300 real soon now > > > > ;-). > > > > > > > > > > Any idea what their official recommendation for people running apps that > > > require the 1ms sleep resolution is? Something along the lines of "Get > > > bent"? > > > > So you b

Re: Average instruction length in x86-built kernel?

2005-08-01 Thread David Weinehall
On Sat, Jul 30, 2005 at 03:57:25PM -0400, Karim Yaghmour wrote: [snip] > # Remove non-instruction lines: > sed /^[^c].*/d $2-dissassembled-kernel > $2-stage-1 > > # Remove empty lines: > sed /^'\t'*$/d $2-stage-1 > $2-stage-2 > > # Remove function names: > sed /^c[0-9,a-f]*' '\<.*\>:$/d $2-stage-

Re: 2.6.14-rc4: dma_timer_expiry [was 2.6.13-rc2 hangs at boot]

2005-08-01 Thread Tero Roponen
On Mon, 1 Aug 2005, Ivan Kokshaysky wrote: > On Fri, Jul 29, 2005 at 02:39:21AM -0700, Andrew Morton wrote: > > Tero Roponen <[EMAIL PROTECTED]> wrote: > > > My original report is here: http://lkml.org/lkml/2005/7/6/174 > > > > I see. Ivan, do we know what's going on here? > > Sort of. The 4K car

Re: Power consumption HZ100, HZ250, HZ1000: new numbers

2005-08-01 Thread David Weinehall
On Sun, Jul 31, 2005 at 07:23:54PM -0400, Lee Revell wrote: > On Mon, 2005-08-01 at 00:47 +0200, Pavel Machek wrote: > > I'm pretty sure at least one distro will go with HZ<300 real soon now > > ;-). > > > > Any idea what their official recommendation for people running apps that > require the 1m

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

2005-08-01 Thread Milind Dumbare
Hi, The diff file generated by comparing ext3/ and kernel/fs/checkfs/ can also be accessed from the link http://checkfs.linsyssoft.com/temp/ I cleaned it, but still it has some unnecessary differences. I am working on that to make it more clean and will send it to u as soon as I fi

[patch] s390: kexec fixes and improvements.

2005-08-01 Thread Martin Schwidefsky
From: Heiko Carstens <[EMAIL PROTECTED]> Disable pseudo page fault handling before starting the new kernel and try to use diag308 to reset the machine. Signed-off-by: Heiko Carstens <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> diffstat: arch/s390/kernel/machine_kexe

Re: Fw: sigwait() breaks when straced

2005-08-01 Thread Roland McGrath
> But sigwait is not a function specified with an EINTR error number. > As I said before, this does not mean that EINTR cannot be returned. > But it will create havoc among programs and it causes undefined > behavior wrt to SA_RESTART. I think it is best to not have any > function for which EINT

How do we handle multi-function devices? [was Re: [patch] ucb1x00: touchscreen cleanups]

2005-08-01 Thread Mark Underwood
--- Richard Purdie <[EMAIL PROTECTED]> wrote: > On Sun, 2005-07-31 at 23:11 +0100, Mark Underwood > wrote: > > As this isn't the only chip of this sort (i.e. a > > multi-function chip not on the CPU bus) maybe we > > should store the bus driver in a common place. If > > needed we could have a ver

Re: IBM HDAPS, I need a tip.

2005-08-01 Thread Yani Ioannou
Well don't forget there is a bios 'calibration' routine that you will see on start up (especially if you are on a moving vehicle/train). What is this calibration used for, and does it provide calibration information to the windows driver? Could we use it somehow to help solve this problem? Yani O

[PATCH 2.6.13-rc4] m32r: Fix local-timer event handling

2005-08-01 Thread Hirokazu Takata
Hello, There was a scheduling problem of the m32r SMP kernel; A process rarely stopped and gave no responding but the other process have been handled by the other CPU still lives, then if we did something in the other terminal or something like that, the stopped process came back to life and conti

Re: topology api confusion

2005-08-01 Thread Paul Mackerras
Anton Blanchard writes: > Dont include asm-generic/topology.h unconditionally, we end up > overriding all the ppc64 specific functions when NUMA is on. > > Signed-off-by: Anton Blanchard <[EMAIL PROTECTED]> Acked-by: Paul Mackerras <[EMAIL PROTECTED]> It looks like this should go into 2.6.13. -

[patch 2.6.13-rc4] fix get_user_pages bug

2005-08-01 Thread Nick Piggin
Hi, Not sure if this should be fixed for 2.6.13. It can result in pagecache corruption: so I guess that answers my own question. This was tested by Robin and appears to solve the problem. Roland had a quick look and thought the basic idea was sound. I'd like to get a couple more acks before goin

Re: [patch 2.6.13-rc3] pci: restore BAR values after D3hot->D0 for devices that need it

2005-08-01 Thread Ralf Baechle
On Wed, Jul 27, 2005 at 10:19:44AM -0400, John W. Linville wrote: > Some PCI devices (e.g. 3c905B, 3c556B) lose all configuration > (including BARs) when transitioning from D3hot->D0. This leaves such > a device in an inaccessible state. The patch below causes the BARs > to be restored when enab

Re: [PATCH] sonypi, kernel 2.6.12.3

2005-08-01 Thread Stelian Pop
Le lundi 01 août 2005 à 02:59 +0200, Erik Waling a écrit : > Newer Sony VAIO models (VGN-S480, VGN-S460, VGN-S3XP etc) use a new method to > initialize the SPIC device. The new way to initialize (and disable) the device > comes directly from the AML code in the _CRS, _SRS and _DIS methods from the

Re: [patch 3/5] Driver core: Documentation: use snprintf and strnlen

2005-08-01 Thread Jan Veldeman
Hi Ingo, Ingo Oeser wrote: > On Sunday 31 July 2005 13:12, [EMAIL PROTECTED] wrote: > > From: Jan Veldeman <[EMAIL PROTECTED]> > > Documentation should give the good example of using snprintf and > > strnlen in stead of sprintf and strlen. > > > > PAGE_SIZE is used as the maximal length to refle

Re: revert yenta free_irq on suspend

2005-08-01 Thread Matthew Garrett
Brown, Len <[EMAIL PROTECTED]> wrote: > But that believe would be total fantasy -- supsend/resume is not > working on a large number of machines, and no distro is currently > able to support it. (I'm talking about S3 suspend to RAM primarily, > suspend to disk is less interesting -- though Red Ha

Re: revert yenta free_irq on suspend

2005-08-01 Thread Benjamin Herrenschmidt
On Sun, 2005-07-31 at 23:03 -0400, [EMAIL PROTECTED] wrote: > Also, as I said earlier, the better we support OSPM initiated power > management, the more likely APM will break. This may be technically > unavoidable on some isolated boxes without quirks. I agree with > Pavel that "do nothing" may

Re: IO scheduling & filesystem v a few processes writing a lot

2005-08-01 Thread Dr. David Alan Gilbert
* Sander ([EMAIL PROTECTED]) wrote: > Dr. David Alan Gilbert wrote (ao): > > I was using rsync, but the problem with rsync is that I have > > a back up server then filled with lots and lots of small files > > - I want larger files for spooling to tape. > > (Other suggestions welcome) > > Can't yo

Re: [ALSA PATCH] 1.0.9b+

2005-08-01 Thread Takashi Iwai
At Sat, 30 Jul 2005 15:42:33 +0200, Daniel Egger wrote: > > On 29.07.2005, at 09:39, Jaroslav Kysela wrote: > > > Note that most of lines are from new Sparc and ARM drivers. Other > > changes > > are mostly small bugfixes, cleanups and new hardware ID additions. > > The all > > changes goes t

Re: revert yenta free_irq on suspend

2005-08-01 Thread Benjamin Herrenschmidt
On Sun, 2005-07-31 at 23:20 +0200, Pavel Machek wrote: > Hi! > > > Also I'd like to point out that this patch broke APM suspend-to-ram, > > not ACPI S3. IMO, it may not be possible to support both APM and ACPI > > on every system, as their specs are not intended to be compatible. > > Progress tow

amd74xx (nforce) driver problem ?

2005-08-01 Thread Sonny Rao
Hi, I have a system based on the Nforce2 chipset which uses the amd7xx driver for it's IDE support, and I noticed that one of the drives was performing very slowly. I looked into it a bit more and it seems the drive was operating as UDMA33 instead of UDMA100 for some reason. The affected drive w

Re: revert yenta free_irq on suspend

2005-08-01 Thread Benjamin Herrenschmidt
On Sat, 2005-07-30 at 14:10 -0700, Linus Torvalds wrote: > > On Sat, 30 Jul 2005, Russell King wrote: > > > > I don't think so - I believe one of the problem cases is where you > > have a screaming interrupt caused by an improperly setup device. > > Not a problem. > > The thing is, this is triv

Re: 2 errors in 2.6.12

2005-08-01 Thread CIJOML
Hi, my card is impossible to be autodetected. Valid sections for it's identification are missing. I asked for this some time ago. I need to use insmod option. Michal On Sun, 31 Jul 2005, Michael Krufky wrote: > Andrew Morton wrote: > > >Michal Semler <[EMAIL PROTECTED]> wrote: > > > > > >> Th

Re: [patch 2.6.13-rc4] fix get_user_pages bug

2005-08-01 Thread Ingo Molnar
* Nick Piggin <[EMAIL PROTECTED]> wrote: > Hi, > > Not sure if this should be fixed for 2.6.13. It can result in > pagecache corruption: so I guess that answers my own question. > > This was tested by Robin and appears to solve the problem. Roland had > a quick look and thought the basic idea

Re: [patch 2.6.13-rc4] fix get_user_pages bug

2005-08-01 Thread Nick Piggin
Ingo Molnar wrote: * Nick Piggin <[EMAIL PROTECTED]> wrote: Feedback please, anyone. it looks good to me, but wouldnt it be simpler (in terms of patch and architecture impact) to always retry the follow_page() in get_user_pages(), in case of a minor fault? The sequence of minor faults

Re: 2.6.12 hangs on boot

2005-08-01 Thread Alexander Y. Fomichev
On Friday 29 July 2005 09:09, Andrew Morton wrote: > "Alexander Y. Fomichev" <[EMAIL PROTECTED]> wrote: > > G' day > > > > I've been trying to switch from 2.6.12-rc3 to 2.6.12 on Dual EM64T 2.8 > > GHz [ MoBo: Intel E7520, intel 82801 ] > > but kernel hangs on boot right after records: > > > > Boot

Re: 2.6.13-rc4: no hyperthreading and idr_remove() stack traces

2005-08-01 Thread Frank van Maarseveen
On Sat, Jul 30, 2005 at 08:27:24PM +0100, Hugh Dickins wrote: > On Fri, 29 Jul 2005, Frank van Maarseveen wrote: > > 2.6.13-rc4 does not recognize the second CPU of a 3GHz HT P4: > > I think your problem is this: HT has depended on CONFIG_ACPI for > some while, and now in 2.6.13-rc CONFIG_ACPI dep

Re: 2.6.13-rc4: no hyperthreading and idr_remove() stack traces

2005-08-01 Thread Frank van Maarseveen
On Fri, Jul 29, 2005 at 05:03:19PM -0700, Andrew Morton wrote: > > (The IDR problem is fixed in Linus's current tree) yep, enabled PM and running rc4-git3, everything seems normal now. -- Frank - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH 0/3] Add disk hotswap support to libata RESEND #2

2005-08-01 Thread Lukasz Kosewski
Hey Jeff, all, The following is my latest attempt at re-doing the hotswap patches for libata hotswapping. This has some positive upsides: - The patches seem cleaner - The patches seem more multi-purpose and adaptable for use across all controllers, not just the Promise ones. - Jeff is more likel

[PATCH 1/3] Add disk hotswap support to libata RESEND #2

2005-08-01 Thread Lukasz Kosewski
Patch 01: add promise SATAII150 support to the sata_promise driver. As described in the archives, this patch adds support for those notorious SATAII150 controllers with their weird hotplug offset and prepares us for hotplug goodness. Jeff: The reason that ATA_FLAG_SATA is commented out on pdc_2

[PATCH 2/3] Add disk hotswap support to libata RESEND #2

2005-08-01 Thread Lukasz Kosewski
Patch 02: Add a hotswap infrastructure to libata As described in the archives, this patch adds a framework and API to libata to allow for hotswapping. This version comes with a debounce timer... exciting! Luke Kosewski 01.08.05 Luke Kosewski <[EMAIL PROTECTED]> * A patch to add a general-pu

[PATCH 3/3] Add disk hotswap support to libata RESEND #2

2005-08-01 Thread Lukasz Kosewski
Patch 03: Have sata_promise use the perfect, flawless API from the previous patch As described in the archives, this patch build on patch 02 in the series to actually allow the sata_promise controller to hotswap. Be careful, untested! This version comes with all of Jeff's suggestions (documente

Re: Obsolete files in 2.6 tree

2005-08-01 Thread Jiri Slaby
Alan Cox napsal(a): On Mer, 2005-07-27 at 17:43 -0400, Lee Revell wrote: On Wed, 2005-07-27 at 00:40 +0100, Alan Cox wrote: sound/oss/skeleton.c Reference for writing drivers But we're not taking new OSS drivers, right? Fair comment Removed by Adrian Bunk

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

2005-08-01 Thread Theodore Ts'o
On Mon, Aug 01, 2005 at 01:20:39PM +0530, Milind Dumbare wrote: > Hi, > > The diff file generated by comparing ext3/ and > kernel/fs/checkfs/ can also be accessed from the link > http://checkfs.linsyssoft.com/temp/ > I cleaned it, but still it has some unnecessary differences. I >

Re: [patch 2.6.13-rc4] fix get_user_pages bug

2005-08-01 Thread Ingo Molnar
* Nick Piggin <[EMAIL PROTECTED]> wrote: > Ingo Molnar wrote: > >* Nick Piggin <[EMAIL PROTECTED]> wrote: > > >>Feedback please, anyone. > > > > > >it looks good to me, but wouldnt it be simpler (in terms of patch and > >architecture impact) to always retry the follow_page() in > >get_user_pag

RFE: console_blank_hook that calls userspace helper

2005-08-01 Thread Eugene Pavlovsky
http://bugzilla.kernel.org/show_bug.cgi?id=4767: Bugzilla Bug 4767 RFE: console_blank_hook that can call userspace program Submitter: [EMAIL PROTECTED] (Eugene Pavlovsky) I think it'd be very good to have a console_blank_hook handler that would call a userspace program/script/generate

Re: As of 2.6.13-rc1 Fusion-MPT very slow

2005-08-01 Thread Holger Kiehl
On Fri, 29 Jul 2005, Andrew Morton wrote: "Moore, Eric Dean" <[EMAIL PROTECTED]> wrote: Regarding the 1st issue, can you try this patch out. It maybe in the -mm branch. Andrew cc'd on this email can confirm. ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc3/2.6 .13

Re: Kernel cached memory

2005-08-01 Thread Gábor Lénárt
On Mon, Jul 25, 2005 at 12:47:50PM -0400, Bill Davidsen wrote: > Gábor Lénárt wrote: > >On Fri, Jul 22, 2005 at 05:46:58PM +0800, Ashley wrote: > > > >> I've a server with 2 Operton 64bit CPU and 12G memory, and this server > >>is used to run applications which will comsume huge memory, > >>the

Re: [patch 2.6.13-rc4] fix get_user_pages bug

2005-08-01 Thread Nick Piggin
Ingo Molnar wrote: Hugh's posting said: "it's trying to avoid an endless loop of finding the pte not writable when ptrace is modifying a page which the user is currently protected against writing to (setting a breakpoint in readonly text, perhaps?)" i'm wondering, why should that case

Re: 2.6.11.3 2.6.11.6 2.6.12 2.6.13rc3 +rc4 Badness in blk_remove_plug at drivers/block/ll_rw_blk.c:1424

2005-08-01 Thread Tobias
HI I updated to rc4 It still happens i atached my bootlog . and config.gz the output of /scripts/ver_linux: ## If some fields are empty or look unusual you may have an old version. Compare to the current minimal requirements in Documentation/Changes.

Re: Mouse Freezes in Xorg on ASUS P4C800 Deluxe

2005-08-01 Thread cengizkirli
On 7/28/05, cengizkirli <[EMAIL PROTECTED]> wrote: > On 7/28/05, cengizkirli <[EMAIL PROTECTED]> wrote: > > It seems to work after comparing my .config with Andreas Baer's and also > > setting USB Support to "built-in" and not "module". Somehow the modules > > are unloaded or whatever. It seems to

Re: 2.6.11.3 2.6.11.6 2.6.12 2.6.13rc3 +rc4 Badness in blk_remove_plug at drivers/block/ll_rw_blk.c:1424

2005-08-01 Thread Jens Axboe
On Mon, Aug 01 2005, Tobias wrote: > >Badness in blk_remove_plug at drivers/block/ll_rw_blk.c:1424 > >[] blk_remove_plug+0x69/0x70 > >[] __generic_unplug_device+0x1a/0x30 > >[] __make_request+0x248/0x5a0 This looks very very strange. Please detail your storage setup. Your attached files appear to

[patch] remove sys_set_zone_reclaim()

2005-08-01 Thread Ingo Molnar
the patch below removes sys_set_zone_reclaim() for now. While i'm sure Martin is trying to solve a real problem, we must not hard-code an incomplete and insufficient approach into a syscall, because syscalls are pretty much for eternity. I am quite strongly convinced that this syscall must not

RE: AACRAID failure with 2.6.13-rc1

2005-08-01 Thread Salyzyn, Mark
Yes, please put the workaround into 2.6.13! Sincerely -- Mark Salyzyn -Original Message- From: Andrew Morton [mailto:[EMAIL PROTECTED] Sent: Friday, July 29, 2005 3:59 PM To: Salyzyn, Mark Cc: [EMAIL PROTECTED]; linux-kernel@vger.kernel.org; [EMAIL PROTECTED] Subject: Re: AACRAID failur

RE: Unable to mount the SD card formatted using the DIGITAL CAMREA on Linux box

2005-08-01 Thread linux-os \(Dick Johnson\)
So where is the driver? There is obviously something wrong there, yet you send copies of mount source. Mount works, it's your driver that doesn't. You need to fix your driver. There are some very common errors. For instance sectors start at 1, not 0, while cylinders and heads start at 0. You need

Re: 2.6.13-rc4 use after free in class_device_attr_show

2005-08-01 Thread Keith Owens
On Sat, 30 Jul 2005 02:29:55 -0700, Andrew Morton <[EMAIL PROTECTED]> wrote: >Keith Owens <[EMAIL PROTECTED]> wrote: >> >> 2.6.13-rc4 + kdb, with lots of CONFIG_DEBUG options. There is an >> intermittent use after free in class_device_attr_show. Reboot with no >> changes and the problem does no

Re: [PATCH] 2.6.13-rc4-git3: snd_intel8x0: handle irq_request failure on resume

2005-08-01 Thread Takashi Iwai
Hi Rafael, At Sun, 31 Jul 2005 12:43:21 +0200, Rafael J. Wysocki wrote: > > Hi, > > This patch adds the handling of irq_request() failures during resume to > the snd_intel8x0 driver. > > Please consider for applying, > Rafael Not directly with the patch but I have a question about your first p

[PATCH] pcmcia: defer ide-cs initialization after other IDE drivers started up [Was: Re: Heads up for distro folks: PCMCIA hotplug differences (Re: -rc4: arm broken?)]

2005-08-01 Thread Dominik Brodowski
On Mon, Aug 01, 2005 at 07:48:31AM +0100, Russell King wrote: > On Mon, Aug 01, 2005 at 02:01:07AM +0100, Alan Cox wrote: > > On Sad, 2005-07-30 at 22:36 +0100, Russell King wrote: > > > Since PCMCIA cards are detected and drivers bound at boot time, we no > > > longer get hotplug events to setup n

Re: IBM HDAPS, I need a tip.

2005-08-01 Thread Paulo Marques
Jan Engelhardt wrote: So in order to calibrate it you need a readily available source of constant acceleration, preferably with a known value. Hint: -9.8 m/sec^2. Drop it out of the window? :) No, no. Constant gravity (like having the laptop sitting on the desk) "feels like" constant accele

Re: 2.6.13-rc3: cache flush missing from somewhere

2005-08-01 Thread Catalin Marinas
"David S. Miller" <[EMAIL PROTECTED]> wrote: > From: Russell King <[EMAIL PROTECTED]> > Date: Fri, 29 Jul 2005 16:13:43 +0100 > >> My current patch to get this working is below. The only thing which >> really seems to fix the issue is the __flush_dcache_page call in >> read_pages() - if I remove t

Re: Where is place of arch independed companion chips?

2005-08-01 Thread Jamey Hicks
Andrey Volkov wrote: Hi Greg, While I write driver for SM501 CC (which have graphics controller, USB MASTER/SLAVE, AC97, UART, SPI and VIDEO CAPTURE onboard), I bumped with next ambiguity: Where is a place of this chip's Kconfig/drivers in kernel config/drivers tree? May be create new node in

RE: [ACPI] S3 and sigwait (was Re: 2.6.13-rc3: swsusp works (TP 600X))

2005-08-01 Thread Li, Shaohua
Hi, >> > If you think it is a linux bug, can you produce small test case doing >> > just the sigwait, and post it on l-k with big title "sigwait() breaks >> > when straced, and on suspend"? >> > >> > That way it is going to get some attetion, and you'll get either >> > documentation or kernel fixed

Re: IBM HDAPS, I need a tip.

2005-08-01 Thread linux-os \(Dick Johnson\)
On Mon, 1 Aug 2005, Paulo Marques wrote: > Jan Engelhardt wrote: >>> So in order to calibrate it you need a readily available source of >>> constant acceleration, preferably with a known value. >>> >>> Hint: -9.8 m/sec^2. >> >> Drop it out of the window? :) > > No, no. Constant gravity (like havi

System freeze on USB plugin BKi810 Kernel 2.6

2005-08-01 Thread Joseph M. Hinkle
CC responses to [EMAIL PROTECTED] As far back as I can remember with Kernel 2.6 on a BookPC (BKi810) the kernel will lock up solid when a USB device is inserted. The curious thing is if the device is already plugged in when booted up, it will work normally. The only recovery is by turning power

Re: IBM HDAPS, I need a tip.

2005-08-01 Thread Vojtech Pavlik
On Mon, Aug 01, 2005 at 08:55:53AM -0400, linux-os (Dick Johnson) wrote: > > Jan Engelhardt wrote: > >>> So in order to calibrate it you need a readily available source of > >>> constant acceleration, preferably with a known value. > >>> > >>> Hint: -9.8 m/sec^2. > >> > >> Drop it out of the windo

2.6.13rc4 hang

2005-08-01 Thread Stephen Clark
Hello List, I am having a problem 2.6.13rc4 described below on a HP Pavilion N5430 laptop. 1) If I cold boot with only 'lacpi' to run level 3 - shortly after I get the login prompt the laptop freezes. 2) If I cold boot with 'lacpi acpi=off pci=noacpi,usepirqmask' the system boots and does

Re: [PATCH linux-2.6-block:master] block: fix try_module_get race in elevator_find

2005-08-01 Thread Jens Axboe
On Tue, Jul 26 2005, Tejun Heo wrote: > Hello, Jens. > > This patch removes try_module_get race in elevator_find. > try_module_get should always be called with the spinlock protecting > what the module init/cleanup routines register/unregister to held. In > the case of elevators, we should be h

Re: [PATCH linux-2.6-block:master] block: fix cfq_find_next_crq

2005-08-01 Thread Jens Axboe
On Tue, Jul 26 2005, Tejun Heo wrote: > Hi, > > In cfq_find_next_crq(), when determining rbnext, if > rb_next(&last->rb_node) is NULL, rb_first() is used without checking > if it equals last. If it equals last, rbnext should be NULL not last. > This bug is masked by duplicate calls to cfq_find_

2.6VMM, uClinux, & Comedi

2005-08-01 Thread NZG
I managed to successfully cross-compile Comedi for the Coldfire uClinux 2.6, however it has several unresolved symbols when I try to load it. comedi: Unknown symbol pgd_offset_k comedi: Unknown symbol pmd_none comedi: Unknown symbol remap_page_range comedi: Unknown symbol pte_present comedi: Unkn

Re: 2.6.12 stalls Andrew M. req this extended dmesg dump

2005-08-01 Thread jt
Greg KH wrote: On Sat, Jul 30, 2005 at 12:52:38PM -0700, Andrew Morton wrote: udev is doing stuff. [ 40.691350] c16b1f40 0082 c0115ff9 c1601530 bfd67d94 c1601530 [ 40.691544]c1384e80 c1384520 122d 8cc9bc6a 0008 c1601530 c1601020 [

Re: IBM HDAPS, I need a tip.

2005-08-01 Thread Dave Hansen
On Mon, 2005-08-01 at 04:07 -0400, Yani Ioannou wrote: > Well don't forget there is a bios 'calibration' routine that you will > see on start up (especially if you are on a moving vehicle/train). I've never seen that. Could you please elaborate on what you see, and when? -- Dave - To unsubscrib

[ANNOUNCE] mtkdiff-20050801 (with patchkdiff, quiltkdiff, gitkdiff and modified gitk)

2005-08-01 Thread Tejun Heo
^OLD_HEAD | gitkdiff -c -r * modified gitk-1.2. For more information... http://home-tj.org/mtkdiff Tarball is available at http://home-tj.org/mtkdiff/files/mtkdiff-20050801.tar.gz Thanks. -- tejun - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: 2.6.13-rc4 use after free in class_device_attr_show

2005-08-01 Thread Keith Owens
Another (different) manifestation of use after free in sysfs. It broke on module_put(owner) in sysfs_release(). FWIW this ia64 build is uni-processor, so there is a lot more context switching than normally occurs on udev. fill_kobj_path: path = '/class/vc/vcs2' kobject_hotplug: /sbin/hotplug vc

BUG: atomic counter underflow at ip_conntrack_event_cache_init+0x91/0xb0 (with patch)

2005-08-01 Thread Mattia Dongili
Hello, got this one while trying out 2.6.13-rc4-mm1 (not there in -r2-mm1), from a quick look it seems to me that ip_conntrack_{get,put} are not simmetric in updating the use count, thus simply adding this line might help (it does actually, but I'm not aware if there could be any drawback): --- i

Re: IBM HDAPS, I need a tip.

2005-08-01 Thread linux-os \(Dick Johnson\)
On Mon, 1 Aug 2005, Vojtech Pavlik wrote: > On Mon, Aug 01, 2005 at 08:55:53AM -0400, linux-os (Dick Johnson) wrote: > >>> Jan Engelhardt wrote: > So in order to calibrate it you need a readily available source of > constant acceleration, preferably with a known value. > > Hint: -

Re: [Alsa-devel] Re: [2.6 patch] schedule obsolete OSS drivers for removal

2005-08-01 Thread Andrew Haninger
On 7/31/05, Adrian Bunk <[EMAIL PROTECTED]> wrote: > Can you send me the bug numbers in the ALSA bug tracking system if you > have to send bug reports, so that I can track when these issues will be > resolved? Thorsten: Please remember to include the list(s) when emailing those links/numbers. I'd l

Re: BUG: atomic counter underflow at ip_conntrack_event_cache_init+0x91/0xb0 (with patch)

2005-08-01 Thread Patrick McHardy
Mattia Dongili wrote: > Hello, > > got this one while trying out 2.6.13-rc4-mm1 (not there in -r2-mm1), > from a quick look it seems to me that ip_conntrack_{get,put} are not > simmetric in updating the use count, thus simply adding this line might > help (it does actually, but I'm not aware if th

Re: PROBLEM: "drive appears confused" and "irq 18: nobody cared!"

2005-08-01 Thread Alexander Fieroch
Alexey Dobriyan wrote: --- 2.6.12-r4.txt [1] +++ 2.6.12-r6.txt [2] +1003_linux-2.6.12.3.patch <---+ +1370_sparc-modpost_stt_reg.patch | -1900_acpi-irq-0.patch included in + no change

RE: AACRAID failure with 2.6.13-rc1

2005-08-01 Thread Mark Haverkamp
On Mon, 2005-08-01 at 07:44 -0400, Salyzyn, Mark wrote: > Yes, please put the workaround into 2.6.13! I have re-submitted the patch that I sent a couple weeks ago to James and the linus-scsi mailing list. Mark. > > Sincerely -- Mark Salyzyn > > -Original Message- > From: Andrew Morton [

Re: IO scheduling & filesystem v a few processes writing a lot

2005-08-01 Thread Sander
Dr. David Alan Gilbert wrote (ao): > * Sander ([EMAIL PROTECTED]) wrote: > > Dr. David Alan Gilbert wrote (ao): > > > I was using rsync, but the problem with rsync is that I have > > > a back up server then filled with lots and lots of small files > > > - I want larger files for spooling to tape. >

Re: IBM HDAPS, I need a tip.

2005-08-01 Thread Vojtech Pavlik
On Mon, Aug 01, 2005 at 10:22:57AM -0400, linux-os (Dick Johnson) wrote: > Huh? A laptop on the table is subjected to 1G on earth. If turned over, > is still subjected to 1G, although the sensor may show -1G. Unless > the correct k (calibration factor) is known, for each load direction, > it cann

Re: PROBLEM: "drive appears confused" and "irq 18: nobody cared!"

2005-08-01 Thread Alexander Fieroch
args, I forgot the syslog. Attached.. Aug 1 15:27:17 orclex syslog-ng[3483]: syslog-ng version 1.6.8 starting Aug 1 15:27:17 orclex syslog-ng[3483]: Changing permissions on special file /dev/xconsole Aug 1 15:27:17 orclex kernel: Bootdata ok (command line is root=/dev/sda3 ro vga=792 pci=rou

Re: 2.6.13-rc3-mm3

2005-08-01 Thread Stelian Pop
[Sorry all for the duplicate, LKML slipped somehow from the CC: line so I'm sending this again] Le dimanche 31 juillet 2005 à 16:22 -0700, Linus Torvalds a écrit : > Also, it looks like sonypi really is pretty nasty to probe for, so it's > not enough to just say "oh, it's a sony VAIO, let's res

Calling suspend() in halt/restart/shutdown -> not a good idea

2005-08-01 Thread Benjamin Herrenschmidt
Hi ! Why are we calling driver suspend routines in these ? This is _not_ a good idea ! On various machines, the mecanisms for shutting down are quite different from suspend/resume, and current drivers have too many bugs to make that safe. I keep getting all sort of reports of machines not shutting

2.6.12.3 Oops

2005-08-01 Thread Andrew Burgess
Stock 2.6.12.3 #2 Sun Jul 31 16:55:16 PDT 2005 i686 i686 i386 GNU/Linux Seems to be triggered by mplayer but not right away (30 minutes sometimes), sometimes no mplayer is necessary. This is a busy machine. There is continuous usb soundcard (3 soundcards) and usb ethernet activity (news server

Re: 2.6VMM, uClinux, & Comedi

2005-08-01 Thread Bernd Porr
Looks quite promising. I would like to run comedi on a blackfin stamp. Please keep me in the loop. /Bernd www:http://www.berndporr.me.uk/ http://www.linux-usb-daq.co.uk/ Mobile: +44 (0)7840 340069 Work: +44 (0)141 330 5237 University of Glasgow Department of Electr

Re: [PATCH] properly stop devices before poweroff

2005-08-01 Thread Olaf Hering
On Sun, Jun 26, Linux Kernel Mailing List wrote: > tree e2de713c76ddb42b091305b88aa7ca4938081789 > parent 5ce47e59c9688d8480ae41100117d8188c191401 > author Pavel Machek <[EMAIL PROTECTED]> Sun, 26 Jun 2005 04:55:11 -0700 > committer Linus Torvalds <[EMAIL PROTECTED]> Sun, 26 Jun 2005 06:24:33 -07

Re: Driver for sata adapter promise sata300 tx4

2005-08-01 Thread Daniel Drake
Otto Meier wrote: This card use the sata chip pdc 40718 (as of my card) the lastest sata_promise kernel with sata promise patch driver doesn't recognise this card. I added the following line to static struct pci_device_id pdc_ata_pci_tbl[] in sata_promise.c: { PCI_VENDOR_ID_PROMISE,

Re: Driver for sata adapter promise sata300 tx4

2005-08-01 Thread Otto Meier
Daniel Drake wrote: Otto Meier wrote: This card use the sata chip pdc 40718 (as of my card) the lastest sata_promise kernel with sata promise patch driver doesn't recognise this card. I added the following line to static struct pci_device_id pdc_ata_pci_tbl[] in sata_promise.c: { PCI_VENDO

Re: Driver for sata adapter promise sata300 tx4

2005-08-01 Thread Otto Meier
Daniel Drake wrote: Otto Meier wrote: This card use the sata chip pdc 40718 (as of my card) the lastest sata_promise kernel with sata promise patch driver doesn't recognise this card. I added the following line to static struct pci_device_id pdc_ata_pci_tbl[] in sata_promise.c: { PCI_VENDO

Re: powerbook power-off and 2.6.13-rc[3,4]

2005-08-01 Thread Stelian Pop
Le lundi 01 août 2005 à 16:07 +0200, Johannes Berg a écrit : > On Mon, 2005-08-01 at 15:54 +0200, Antonio-M. Corbi Bellot wrote: > > > Has anyone observed this behaviour (O.S. halt ok but _no_ power-off at > > the end) with these new '-rc' kernels? > > Yes. I haven't looked for the cause yet thou

[patch] s390: ioprio & inotify system calls.

2005-08-01 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> Add system calls for io priorities and inotify. Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> diffstat: arch/s390/kernel/compat_wrapper.S | 26 ++ arch/s390/kernel/syscalls.S |5 + include/asm-s390/unis

Re: 2.6.13-rc3: cache flush missing from somewhere

2005-08-01 Thread David S. Miller
From: Catalin Marinas <[EMAIL PROTECTED]> Date: Mon, 01 Aug 2005 13:24:04 +0100 > "David S. Miller" <[EMAIL PROTECTED]> wrote: > > If not, you cannot use the lazy dcache flushing method, and in fact > > you must broadcast the flush on all processors. > > Why wouldn't the lazy dcache flushing meth

Re: 2.6.12.3 Oops

2005-08-01 Thread Daniel Walker
On Mon, 2005-08-01 at 08:17 -0700, Andrew Burgess wrote: > Stock 2.6.12.3 #2 Sun Jul 31 16:55:16 PDT 2005 i686 i686 i386 GNU/Linux > > Seems to be triggered by mplayer but not right away (30 minutes sometimes), > sometimes > no mplayer is necessary. > > This is a busy machine. There is continuou

[PATCH] mips: remove obsolete GIU function call for vr41xx

2005-08-01 Thread Yoichi Yuasa
Hi, This patch has removed obsolete GIU function call for vr41xx. This patch already has been applied to mips tree. Please apply. Yoichi Signed-off-by: Yoichi Yuasa <[EMAIL PROTECTED]> diff -urN -X dontdiff rc4-orig/arch/mips/pci/fixup-tb0219.c rc4/arch/mips/pci/fixup-tb0219.c --- rc4-orig/arc

Re: [patch 2.6.13-rc4] fix get_user_pages bug

2005-08-01 Thread Linus Torvalds
On Mon, 1 Aug 2005, Nick Piggin wrote: > > Not sure if this should be fixed for 2.6.13. It can result in > pagecache corruption: so I guess that answers my own question. Hell no. This patch is clearly untested and must _not_ be applied: + case VM_FAULT_RACE: +

[PATCH] mips: change system type name in proc for vr41xx

2005-08-01 Thread Yoichi Yuasa
Hi, This patch has changed system type name in proc for vr41xx. This patch already has been applied to mips tree. Please apply. Yoichi Signed-off-by: Yoichi Yuasa <[EMAIL PROTECTED]> diff -urN -X dontdiff git2-orig/arch/mips/Makefile git2/arch/mips/Makefile --- git2-orig/arch/mips/Makefile

reed-solomon lib

2005-08-01 Thread Simon Sudler
Hi folks, I'm working with the reed-solomon lib. Since i use a RS(255,191,64) code, i found a strange limitation in the reed_solomon.c: 194:/* Sanity checks */ if (symsize < 1) return NULL; if (fcr < 0 || fcr >= (1<= (1<= (1< 8) return NULL; i

  1   2   3   4   >