Re: [PATCH] String conversions for memory policy

2005-07-30 Thread Paul Jackson
Oh - I should have mentioned this before - if you are displaying and parsing node lists (nodemask_t) then there are wrappers for these bitmap routines in linux/nodemask.h: * int nodemask_scnprintf(buf, len, mask) Format nodemask for printing * int nodemask_parse(ubuf, ulen, mask) Parse ascii

i387 floating point benchmark/test v0.11

2005-07-30 Thread Chuck Ebbert
/* fptst.c: i387 benchmark/test program for Linux * Build this program with optimization (-O2 may be faster than -O3) * * v0.11 should work on a wider variety of glibc versions (tested: 2.3.2, 2.3.3) * (See below...) * * Comments welcome. * Author: Chuck Ebbert [EMAIL PROTECTED] */

Re: [PATCH linux-2.6.13-rc3] SATA: rewritten sil24 driver

2005-07-30 Thread Tejun Heo
Hello, Jeff. I'll answer to your comments in this mail (and several questions, too) and will soon post patches fixing things in separate mails. On Thu, Jul 28, 2005 at 04:27:37PM -0400, Jeff Garzik wrote: Tejun Heo wrote: Hello, Jeff. This is rewritten sil24 driver against v2.6.13-rc3.

file kernel/signal.c, 2 * array subscript out of range

2005-07-30 Thread d binderman
Hello there, I just tried to compile Redhat Fedora package kernel-2.6.12-1.1435_FC5 with the Intel C compiler version 8.1 The compiler said kernel/signal.c(196): warning #175: subscript out of range The source code is case 4: ready = signal-sig[3] ~ blocked-sig[3]; Clearly broken

Re: isa0060/serio0 problems -WAS- Re: Asus MB and 2.6.12 Problems

2005-07-30 Thread Andrey Borzenkov
After downloading and compiling the latest version 2.6.12, my keyboard becomes unresponsive and dead following the boot process. FWIW I have similar problem with Toshiba Portege 4000. Every second reboot keyboard is not there. It is really not there - i.e. I cannot even enter BIOS setup or

[PATCH 2.6-mm] tms380tr: remove prototypes in Space.c

2005-07-30 Thread Jochen Friedrich
Signed-off-by: Jochen Friedrich [EMAIL PROTECTED] Cleanup: remove two prototypes. --- commit 12dd61e649920ddc5164971e36ed2a6aeb300708 tree 2558f9767b0fa94b31bd6fe8de67cb17cab7e8df parent 6407300cd8c7368f6bfcaa476e4dd50ce7421ab2 author Jochen Friedrich [EMAIL PROTECTED] Fri, 29 Jul 2005 20:39:49

Re: 2.6.13-rc3-mm3 question

2005-07-30 Thread Chuck Ebbert
Adrian Bunk [EMAIL PROTECTED] wrote: If a -mm kernel doesn't compile for you, you can: - apply a patch if it is already available But the only place I see to get patches is from the mailing list. A 'hotfixes' directory for the -mm patches on kernel.org would be nice. __ Chuck - To

Re: [patch] ucb1x00: touchscreen cleanups

2005-07-30 Thread Russell King
On Tue, Jul 26, 2005 at 09:04:12AM +0100, Mark Underwood wrote: I am in the process of porting Linux 2.6.11.5 to the Helio PDA (MIPS R3912 based) and if I remember correctly it is using a UCB1x00 (or Toshiba clone). Please could you make sure your patches will work across arch. Which UCB1x00

Re: 2.6.13-rc4 use after free in class_device_attr_show

2005-07-30 Thread Andrew Morton
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 not always recur. ... ip is at class_device_attr_show+0x50/0xa0 ... Call Trace:

Re: [PATCH 2.6.13-rc4 1/1] pci_ids: patch for Intel ICH7R

2005-07-30 Thread Grant Coady
On Fri, 29 Jul 2005 18:21:05 -0400, Jeff Garzik [EMAIL PROTECTED] wrote: [speaking to the audience] I wouldn't mind if someone did a pass through pci_ids.h and removed all the constants that are not being used. If constants are not being used, it's IMHO more appropriate to store that info

Re: [patch 2.6.13-rc3] sis190 driver

2005-07-30 Thread Francois Romieu
://www.zoreil.com/~romieu/sis190/20050730-2.6.13-rc4-sis190-test.patch Patch-kit: http://www.zoreil.com/~romieu/sis190/20050730-2.6.13-rc4/patches Tarball: http://www.zoreil.com/~romieu/sis190/20050730-2.6.13-rc4.tar.bz2 If it does not pass the network init, can you issue - ifconfig eth0 blah, blah

Re: 2.6.13-rc3-mm3

2005-07-30 Thread Richard Purdie
On Thu, 2005-07-28 at 02:58 -0700, Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc3/2.6.13-rc3-mm3/ - There's a pretty large x86_64 update here which naughty maintainer wants in 2.6.13. Extra testing, please.

local_irq_enable() in __do_softirq()?

2005-07-30 Thread Peter Osterlund
Hi, The change x86_64: Switch to the interrupt stack when running a softirq in local_bh ... (ed6b676ca8b50e0b538e61c283d52fd04f007abf) contains this: --- a/kernel/softirq.c +++ b/kernel/softirq.c @@ -86,7 +86,7 @@ restart: /* Reset the pending bitmask before enabling irqs */

Re: [PATCH 2/4] Task notifier against mm: Implement todo list in task_struct

2005-07-30 Thread Pavel Machek
Hi! Introduce a todo notifier in the task_struct so that a task can be told to do certain things. Abuse the suspend hooks try_to_freeze, freezing and refrigerator to establish checkpoints where the todo list is processed. This will break software suspend (next patch fixes and cleans up

i387 floating point benchmark/test v0.12

2005-07-30 Thread Chuck Ebbert
/* fptst.c: i387 benchmark/test program for Linux * Build this program with optimization (-O2 may be faster than -O3) * * v0.11 should work on a wider variety of glibc versions (tested: 2.3.2, 2.3.3) * (See below...) * v0.12 fixed bug in setaffinity: CPU set was empty * * Comments

Re: [PATCH 2/4] Task notifier against mm: Implement todo list in task_struct

2005-07-30 Thread Pavel Machek
Hi! Introduce a todo notifier in the task_struct so that a task can be told to do certain things. Abuse the suspend hooks try_to_freeze, freezing and refrigerator to establish checkpoints where the todo list is processed. This will break software suspend (next patch fixes and

Re: [patch] ucb1x00: touchscreen cleanups

2005-07-30 Thread Mark Underwood
--- Russell King [EMAIL PROTECTED] wrote: On Tue, Jul 26, 2005 at 09:04:12AM +0100, Mark Underwood wrote: I am in the process of porting Linux 2.6.11.5 to the Helio PDA (MIPS R3912 based) and if I remember correctly it is using a UCB1x00 (or Toshiba clone). Please could you make sure

Re: Why dump_stack results different so much?

2005-07-30 Thread bert hubert
On Fri, Jul 29, 2005 at 08:10:32PM -0400, Xin Zhao wrote: Thanks. I will try. The only problem I have right now is I am using Xenolinux instead of standard Linux kernel, I cannot see the option to enable the frame pointer. But I will figure out how to enable that. If you ever report something

Re: Slowdown with randomize_va_space in 2.6.12.2

2005-07-30 Thread Arjan van de Ven
It has the virtue of simplicity. Arjan, were you planning on anything fancier? not for 2.6.13; this was the plan for later I was going to turn it into a bitmask for the individual randomisations signature.asc Description: This is a digitally signed message part

Re: [PATCH 2.4] Fix incorrect Asus k7m irq router detection

2005-07-30 Thread Giancarlo Formicuccia
Aleksey Gorelov wrote: Hi Marcello, Here is 2.4 version of a patch submitted earlier for 2.6 by Giancarlo Formicuccia. yep...thanks Compiled tested on 2.4.32-rc2. Giancarlo - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED]

Re: Making it easier to find which change introduced a bug

2005-07-30 Thread Alexander Nyberg
We need a super-easy way for people to do bisection searching. First step would be to make interdiffs available as quilt patchsets. If we had this for e.g. 2.6.13-rc3 - rc4 it would make tracking down those new bugs much easier. (Yes I know git does bisection but Andrew said it

-rc4: arm broken?

2005-07-30 Thread Pavel Machek
Hi! I merged -rc4 into my zaurus tree, and now zaurus will not boot. I see oops-like display, and it seems to be __call_usermodehelper / do_execve / load_script related. Anyone seen it before? Pavel -- teflon -- maybe it is a

Re: [patch] Support powering sharp zaurus sl-5500 LCD up and down

2005-07-30 Thread Pavel Machek
Hi! + /* read comadj */ +#ifdef CONFIG_MACH_POODLE + comadj = 118; +#else + comadj = 128; +#endif Can you go back to the Sharp source and confirm that these values should be hardcoded in both the poodle and collie cases please? I know the sharpsl_param code can provide them

Re: [linux-pm] [PATCH] swsusp: simpler calculation of number of pages in PBE list

2005-07-30 Thread Rafael J. Wysocki
On Saturday, 30 of July 2005 03:35, Alan Stern wrote: On Fri, 29 Jul 2005, Michal Schmidt wrote: Rafael J. Wysocki wrote: On Friday, 29 of July 2005 21:46, Michal Schmidt wrote: The function calc_nr uses an iterative algorithm to calculate the number of pages needed for the image

Re: [PATCH] swsusp: simpler calculation of number of pages in PBE list

2005-07-30 Thread Pavel Machek
On Pá 29-07-05 21:46:40, Michal Schmidt wrote: The function calc_nr uses an iterative algorithm to calculate the number of pages needed for the image and the pagedir. Exactly the same result can be obtained with a one-line expression. Signed-off-by: Michal Schmidt [EMAIL PROTECTED]

Re: [linux-pm] [PATCH] swsusp: simpler calculation of number of pages in PBE list

2005-07-30 Thread Rafael J. Wysocki
Hi, On Saturday, 30 of July 2005 15:13, Pavel Machek wrote: Hi! px = n + x or (p-1)x = n or x = n / (p-1). The obvious solution is x = ceiling(n / (p-1)), so calc_nr should return n + ceiling(n / (p-1)), which is exactly what

[PATCH] swsusp: simpler calculation of number of pages in PBE list

2005-07-30 Thread Pavel Machek
From: Michal Schmidt [EMAIL PROTECTED] The function calc_nr uses an iterative algorithm to calculate the number of pages needed for the image and the pagedir. Exactly the same result can be obtained with a one-line expression. Note that this was even proved correct ;-). Signed-off-by: Michal

Re: kernel guide to space (updated)

2005-07-30 Thread David Weinehall
On Sat, Jul 30, 2005 at 01:41:55PM +0200, Jan Engelhardt wrote: Ehrm, yes, I'm perfectly aware of that. Note the for consistency in that sentence. If we add an extra space in front of the labels that have an indentation level of 0, we'd better do it with the labels that have an indentation

Re: [ALSA PATCH] 1.0.9b+

2005-07-30 Thread Daniel Egger
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 through all ALSA developers (our CVS server sends us whole diffs back), so all

Re: Average instruction length in x86-built kernel?

2005-07-30 Thread Ingo Oeser
Hi Karim, On Friday 29 July 2005 23:32, Karim Yaghmour wrote: Googling around, I can find references claiming that the average instruction length on x86 is anywhere from 2.7 to 3.5 bytes, but I can't find anything studying Linux specifically. This is not that hard to find out yourself: Just

Re: [PATCH] Fix NUMA node sizing in nr_free_zone_pages

2005-07-30 Thread Martin J. Bligh
We are iterating over all nodes in nr_free_zone_pages(). Because the fallback zonelists contain all nodes in the system, and we walk all the zonelists, we're counting memory multiple times (once for each node). This caused us to make a size estimate of 32GB for an 8GB AMD64 box, which

dpm_runtime_suspend and _resume()

2005-07-30 Thread Dominik Brodowski
dpm_runtime_suspend and _resume() would be quite useful for some PCMCIA tasks. However, they are only exported in drivers/base/power/power.h. Any objection to moving it to include/linux/pm.h ? Any plans to break the functionality these functions provide? Thanks, Dominik - To unsubscribe

time-zone problem with kernel 2.6.13-rc4-git1..2

2005-07-30 Thread art
looks like new kernel move me into UTC -0hr zone from my UTC -5hr zone any clue why ? [EMAIL PROTECTED] - 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

[PATCH] Wireless Security Lock driver.

2005-07-30 Thread Brian Schau
Hello, I've attached a gzipped version of my Wireless Security Lock patch for v2.6.13-rc4. A Wireless Security Lock (WSL or weasel :-) is made up of two parts. One part is a receiver which you plug into any available USB port. The other part is a transmitter which at fixed intervals sends ping

Re: [PATCH] Wireless Security Lock driver.

2005-07-30 Thread Brian Schau
Hi Michael (and others), Thanks for the info. Well, the reason why I didn't inline the patch was due to the size of it - in terms of lines. However, here it is: diff -urN linux-2.6.13-rc4.orig/drivers/usb/Makefile linux-2.6.13-rc4/drivers/usb/Makefile ---

Re: 2.6.13-rc3-mm3

2005-07-30 Thread Khalid Aziz
On Fri, 2005-07-29 at 16:17 -0700, Andrew Morton wrote: Khalid Aziz [EMAIL PROTECTED] wrote: Serial console is broken on ia64 on an HP rx2600 machine on 2.6.13-rc3-mm3. When kernel is booted up with console=ttyS,..., no output ever appears on the console and system is hung. So I booted

[FYI, ugly] first version of working frontlight

2005-07-30 Thread Pavel Machek
Hi! I got frontlight to work, wow. Patch is extremely ugly, and I have a small problem? How do I do this properly? I need locomo_writel() to manipulate frontlight settings, but that only seems available in locomo.c. Putting frontlight support there is certainly possible, but looks ugly to me...

Re: [PATCH 2/4] Task notifier against mm: Implement todo list in task_struct

2005-07-30 Thread Christoph Lameter
On Sat, 30 Jul 2005, Pavel Machek wrote: No wonder when -mm already contains: /* * Check if there is a request to freeze a process */ static inline int freezing(struct task_struct *p) { return test_ti_thread_flag(p-thread_info, TIF_FREEZE); } Yes I told you to remove the

Re: [PATCH] String conversions for memory policy

2005-07-30 Thread Christoph Lameter
On Fri, 29 Jul 2005, Paul Jackson wrote: Once we have a clear description of this syntax in the record, I anticipate raising as an issue that this syntax does not have a single integer or string token value per file (or at most, an array or list of comparable integer values). The current

Re: [PATCH] Wireless Security Lock driver.

2005-07-30 Thread Zwane Mwaikambo
On Sat, 30 Jul 2005, Brian Schau wrote: Hi Michael (and others), Thanks for the info. Well, the reason why I didn't inline the patch was due to the size of it - in terms of lines. However, here it is: +static void wsl_irq_in(struct urb *urb, struct pt_regs *regs) +{ + struct

Re: 2.6.12 sound problem

2005-07-30 Thread Stephen Clark
Stephen Clark wrote: Andrew Morton wrote: (Please do reply-to-all when dealing with kernel stuff) Stephen Clark [EMAIL PROTECTED] wrote: Takashi Iwai wrote: At Tue, 26 Jul 2005 19:35:55 -0400, Stephen Clark wrote: Hello List, I recently upgraded my

about SIGRT_0 (Unknown signal 32)

2005-07-30 Thread gan_xiao_jun
Hi, I am trace the reason of a segment fault. I found it is created by a readdir loop by add fprintf beforeafter it. I use strace and get following information: write(3, \3\0\0\0\0\0\0\0\275\4\0\0\0\0\0\0\f\0\0\0\0\0\0\0\275..., 196) = 196

Re: [PATCH] Wireless Security Lock driver.

2005-07-30 Thread Brian Schau
*Grrr* - it's the mailer (I'm using Mozilla Thunderbird). I don't know why it has chosen to fold those two lines. The section looks like: + struct usb_wsl *wsl=urb-context; + int id=0, retval; + + switch (urb-status) { + case -ECONNRESET: /brian Zwane Mwaikambo

[patch] Real-Time Preemption, -RT-2.6.13-rc4-V0.7.52-01

2005-07-30 Thread Ingo Molnar
i have released the -V0.7.52-01 Real-Time Preemption patch, which can be downloaded from the usual place: http://redhat.com/~mingo/realtime-preempt/ this release is mainly a merge to 2.6.13-rc4. (That merge slashed ~30K off the patch, due to the continuing merge of various bits of the -RT

Re: [PATCH 2/4] Task notifier against mm: Implement todo list in task_struct

2005-07-30 Thread Pavel Machek
Hi! /* * Check if there is a request to freeze a process */ static inline int freezing(struct task_struct *p) { return test_ti_thread_flag(p-thread_info, TIF_FREEZE); } Yes I told you to remove the TIF_FREEZE patch. Okay, I took 2.6.13-rc3-mm3, removed TIF_FREEZE

Re: -rc4: arm broken?

2005-07-30 Thread Russell King
On Sat, Jul 30, 2005 at 03:04:06PM +0200, Pavel Machek wrote: I merged -rc4 into my zaurus tree, and now zaurus will not boot. I see oops-like display, and it seems to be __call_usermodehelper / do_execve / load_script related. Anyone seen it before? I've run -rc4 on an ARM SMP system (with

Re: [PATCH 2/4] Task notifier against mm: Implement todo list in task_struct

2005-07-30 Thread Christoph Lameter
On Sat, 30 Jul 2005, Pavel Machek wrote: Yes I told you to remove the TIF_FREEZE patch. Okay, I took 2.6.13-rc3-mm3, removed TIF_FREEZE patch, and applied your series. (This time it applied cleanly). After first suspend machine locked hard at time it should switch back to original

Re: [PATCH 2/4] Task notifier against mm: Implement todo list in task_struct

2005-07-30 Thread Pavel Machek
Hi! Yes I told you to remove the TIF_FREEZE patch. Okay, I took 2.6.13-rc3-mm3, removed TIF_FREEZE patch, and applied your series. (This time it applied cleanly). After first suspend machine locked hard at time it should switch back to original console. On the next try, it appeared

Re: file kernel/signal.c, 2 * array subscript out of range

2005-07-30 Thread Randy.Dunlap
On Sat, 30 Jul 2005 08:17:48 + d binderman wrote: Hello there, I just tried to compile Redhat Fedora package kernel-2.6.12-1.1435_FC5 with the Intel C compiler version 8.1 The compiler said kernel/signal.c(196): warning #175: subscript out of range The source code is

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

2005-07-30 Thread kylin
n the latest update of the Intel's E7520 MCH,the very NOTFIX entry caught my eye: // PCI Express Hot-Plug MSI interrupt issue Problem: During a link down state, the MCH will not send MSI interrupts to the front side bus. In general MSI messages need not be

Re: -rc4: arm broken?

2005-07-30 Thread Richard Purdie
On Sat, 2005-07-30 at 15:04 +0200, Pavel Machek wrote: I merged -rc4 into my zaurus tree, and now zaurus will not boot. I see oops-like display, and it seems to be __call_usermodehelper / do_execve / load_script related. Anyone seen it before? For the record -rc4 works fine on my Zaurus c760

Re: long delays (possibly infinite) in time_interpolator_get_counter

2005-07-30 Thread Alex Williamson
On Fri, 2005-07-29 at 16:31 -0700, Christoph Lameter wrote: What you are dealing with is a machine that is using ITC as a time bases. That is a special case. The default time source for ia64 systems is a special case? 4 socket and smaller boxes typically do not have any other time source.

[2.6 patch] add -Werror-implicit-function-declaration to CFLAGS

2005-07-30 Thread Adrian Bunk
Currently, using an undeclared function gives a compile warning, but it can lead to a link or even a runtime error. With -Werror-implicit-function-declaration, we are getting an immediate compile error instead. This patch also removes some unneeded spaces between two tabs in the following

[PATCH] swsusp with dm-crypt mini howto

2005-07-30 Thread Andreas Steinmetz
Pavel Machek wrote: It looks good. Perhaps it should go into Documentation/power/swsusp-dmcrypt.txt? Could you write you copyright and GPL in there, sign it off, and cc: it to linux-kernel? Pavel The attached patch contains a mini

Re: Making it easier to find which change introduced a bug

2005-07-30 Thread Linus Torvalds
On Sat, 30 Jul 2005, Alexander Nyberg wrote: Linus, do you think we could have something like patch-2.6.13-rc4-incremental-broken-out.tar.bz2 that could like Andrew's be placed into patches/ in a tree? Not really. The thing is, since the git patches really _aren't_ serial, and merging

2.6.12 stalls Andrew M. req this extended dmesg dump

2005-07-30 Thread jt
Andrew M. Here is the dmesg extended dump for the stall you mailed me about earlier sequence is boot params initcall_debug log_buf_len=512k at stall ALT + Sys Req + P small amout of output (8-9 lines) then ALT + Sys Req +T about 500+ lines of trace wait about 100 Seconds boot

Re: [PATCH] 2/6 i386 serialize-msr

2005-07-30 Thread Zachary Amsden
Pavel Machek wrote: Hi! i386 arch cleanup. Introduce the serialize macro to serialize processor state. Why the microcode update needs it I am not quite sure, since wrmsr() is already a serializing instruction, but it is a microcode update, so I will keep the semantic the same, since this

Re: [ANNOUNCE 0/7] Open-iSCSI/Linux-iSCSI-5 High-Performance Initiator

2005-07-30 Thread James Bottomley
On Wed, 2005-06-01 at 13:08 -0700, Alex Aizman wrote: This is open-iscsi/linux-iscsi-5 Initiator. This submission is ready for inclusion into mainline kernel. OK, I tried to put this into scsi-misc. FIB has taken your netlink number, so I changed it to 32 __nlm_put() has had an updated

Re: [git patches] 2.4.x SATA update

2005-07-30 Thread Sergey Vlasov
On Thu, 28 Jul 2005 15:46:32 -0400 Jeff Garzik wrote: +/** + * ata_sg_init_one - Associate command with memory buffer + * @qc: Command to be associated + * @buf: Memory buffer + * @buflen: Length of memory buffer, in bytes. + * + * Initialize the data-related elements of

Re: [patch 1/3] uml: share page bits handling between 2 and 3 level pagetables

2005-07-30 Thread Jeff Dike
On Thu, Jul 28, 2005 at 08:56:53PM +0200, [EMAIL PROTECTED] wrote: As obvious, a core code nice cleanup is not a stability-friendly patch so usual care applies. These look reasonable, as they are what we discussed in Ottawa. I'll put them in my tree and see if I see any problems. I would

Re: [PATCH] 2/6 i386 serialize-msr

2005-07-30 Thread Zwane Mwaikambo
wrmsr(MSR_IA32_UCODE_REV, 0, 0); - __asm__ __volatile__ (cpuid : : : ax, bx, cx, dx); + /* see 1.07. Apprent chip bug */ + serialize_cpu(); 1.07 in which document? Also, please just spell 'apparent' correctly, saving 1 byte really just looks lazy. - To unsubscribe

Re: [2.6.13-rc4] Bug in the wireless code?

2005-07-30 Thread Brian Schau
Hi Denis/All, I see the error in 2.6.12 as well (I just tried it). My setup ... Zyxel ZyAir B-100 pcmcia wireless card. D-Link AccessPoint. /brian Denis Vlasenko wrote: On Saturday 30 July 2005 17:54, Brian Schau wrote: Hello, I am sorry to annoy you all. I have problem in getting

Re: [PATCH] String conversions for memory policy

2005-07-30 Thread Christoph Lameter
On Fri, 29 Jul 2005, Paul Jackson wrote: Oh - I should have mentioned this before - if you are displaying and parsing node lists (nodemask_t) then there are wrappers for these bitmap routines in linux/nodemask.h: * int nodemask_scnprintf(buf, len, mask) Format nodemask for printing * int

Re: [PATCH] 2/6 i386 serialize-msr

2005-07-30 Thread Zachary Amsden
'Apparently' I need to make some coffee :) Zwane Mwaikambo wrote: wrmsr(MSR_IA32_UCODE_REV, 0, 0); - __asm__ __volatile__ (cpuid : : : ax, bx, cx, dx); + /* see 1.07. Apprent chip bug */ + serialize_cpu(); 1.07 in which document? Also, please just spell 'apparent'

Re: long delays (possibly infinite) in time_interpolator_get_counter

2005-07-30 Thread Christoph Lameter
On Sat, 30 Jul 2005, Alex Williamson wrote: On Fri, 2005-07-29 at 16:31 -0700, Christoph Lameter wrote: What you are dealing with is a machine that is using ITC as a time bases. That is a special case. The default time source for ia64 systems is a special case? 4 socket and smaller

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

2005-07-30 Thread Zwane Mwaikambo
On Sat, 30 Jul 2005, Lee Revell wrote: So it looks like artsd wastes way more power DMAing a bunch of silent pages to the sound card than HZ=1000. There's nothing the ALSA layer can do about this, it's a KDE bug. I think this is a good argument for leaving HZ at 1000 until some of these

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

2005-07-30 Thread Lee Revell
On Sat, 2005-07-30 at 12:18 -0600, Zwane Mwaikambo wrote: On Sat, 30 Jul 2005, Lee Revell wrote: So it looks like artsd wastes way more power DMAing a bunch of silent pages to the sound card than HZ=1000. There's nothing the ALSA layer can do about this, it's a KDE bug. I think

[PATCH] switch fd1772.c from sleep_on to wait_event

2005-07-30 Thread Christoph Hellwig
doesn't make the local irq disabling around it less buggy, but at least we replace the offender with the right kind of primitive. Signed-off-by: Christoph Hellwig [EMAIL PROTECTED] Index: linux-2.6/drivers/acorn/block/fd1772.c ===

Re: kernel guide to space (updated)

2005-07-30 Thread Jan Engelhardt
Ehrm, yes, I'm perfectly aware of that. Note the for consistency in that sentence. If we add an extra space in front of the labels that have an indentation level of 0, we'd better do it with the labels that have an indentation level 0 too. Labels at level 0??? A case in a switch

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

2005-07-30 Thread Lee Revell
On Sat, 2005-07-30 at 12:18 -0600, Zwane Mwaikambo wrote: On Sat, 30 Jul 2005, Lee Revell wrote: So it looks like artsd wastes way more power DMAing a bunch of silent pages to the sound card than HZ=1000. There's nothing the ALSA layer can do about this, it's a KDE bug. I think

[PATCH] move 68360serial.c over use initcalls

2005-07-30 Thread Christoph Hellwig
this is the last serial driver not using initcalls. Signed-off-by: Christoph Hellwig [EMAIL PROTECTED] Index: linux-2.6/drivers/char/tty_io.c === --- linux-2.6.orig/drivers/char/tty_io.c2005-06-26 13:26:22.0 +0200

Re: [2.6 patch] add -Werror-implicit-function-declaration to CFLAGS

2005-07-30 Thread Sam Ravnborg
On Sat, Jul 30, 2005 at 06:52:02PM +0200, Adrian Bunk wrote: Currently, using an undeclared function gives a compile warning, but it can lead to a link or even a runtime error. With -Werror-implicit-function-declaration, we are getting an immediate compile error instead. For i386 this is

Re: [2.6 patch] add -Werror-implicit-function-declaration to CFLAGS

2005-07-30 Thread Christoph Hellwig
On Sat, Jul 30, 2005 at 08:52:26PM +0200, Sam Ravnborg wrote: Please - use tabs for indention, not for alignment. The below would look rather messy with tabs=4. Almost everywhere tabs are used in Makefiles it is plina wrong. Tabs are brillient for indention but you cannot just assume 8 spaces

Re: [ANNOUNCE 0/7] Open-iSCSI/Linux-iSCSI-5 High-Performance Initiator

2005-07-30 Thread Alex Aizman
James Bottomley wrote: On Wed, 2005-06-01 at 13:08 -0700, Alex Aizman wrote: This is open-iscsi/linux-iscsi-5 Initiator. This submission is ready for inclusion into mainline kernel. OK, I tried to put this into scsi-misc. FIB has taken your netlink number, so I changed it to 32 OK.

Re: [ANNOUNCE 0/7] Open-iSCSI/Linux-iSCSI-5 High-Performance Initiator

2005-07-30 Thread Christoph Hellwig
On Sat, Jul 30, 2005 at 11:36:22AM -0700, Alex Aizman wrote: OK. Hopefully that'll remain. Please ask davem for a netlink number allocation. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: -rc4: arm broken?

2005-07-30 Thread Pavel Machek
Hi! I merged -rc4 into my zaurus tree, and now zaurus will not boot. I see oops-like display, and it seems to be __call_usermodehelper / do_execve / load_script related. Anyone seen it before? For the record -rc4 works fine on my Zaurus c760 (which is pxa255 based rather than sa1100).

Re: [patch 0/15] lsm stacking v0.3: intro

2005-07-30 Thread serge
Quoting Tony Jones ([EMAIL PROTECTED]): Thanks, Tony. I'll address each of these in the next patchset. Just two things I wanted to actually converse about: 5) /* * Workarounds for the fact that get and setprocattr are used only by * selinux. (Maybe) */ No complaints on selinux

[patch] swsusup with dm-crypt mini howto

2005-07-30 Thread Pavel Machek
From: Andreas Steinmetz [EMAIL PROTECTED] The attached patch contains a mini howto for using dm-crypt together with swsusp. Signed-off-by: Andreas Steinmetz [EMAIL PROTECTED] Signed-off-by: Pavel Machek [EMAIL PROTECTED] diff --git a/Documentation/power/swsusp-dmcrypt.txt

Re: -rc4: arm broken?

2005-07-30 Thread Russell King
On Sat, Jul 30, 2005 at 05:45:37PM +0100, Richard Purdie wrote: On Sat, 2005-07-30 at 15:04 +0200, Pavel Machek wrote: I merged -rc4 into my zaurus tree, and now zaurus will not boot. I see oops-like display, and it seems to be __call_usermodehelper / do_execve / load_script related. Anyone

revert yenta free_irq on suspend

2005-07-30 Thread Hugh Dickins
Please revert the yenta free_irq on suspend patch (below) which went into 2.6.13-rc4 after 2.6.13-rc3-git9. Sorry Daniel, you may have a box on which resume doesn't work without it, but on my laptop APM resume from RAM now fails to work because of it - locks up solid. The patch sounded rather

Fwd: Re: [patch 1/4] UML Support - Ptrace: adds the host SYSEMU support, for UML and general usage

2005-07-30 Thread Blaisorblade
-- Forwarded Message -- Subject: Re: [patch 1/4] UML Support - Ptrace: adds the host SYSEMU support, for UML and general usage Date: Wednesday 27 July 2005 20:40 From: Blaisorblade [EMAIL PROTECTED] To: Charles P. Wright [EMAIL PROTECTED] Cc: Bodo Stroesser [EMAIL PROTECTED],

[patch 2/3] uml: workaround GDB problems on debugging

2005-07-30 Thread blaisorblade
From: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] Apparently, GDB gets confused when we do an execvp() on ourselves. Since it's simply done to allocate further space for command line arguments (which we'll use to allow gathering the startup command line for guest processes through the

[patch 3/3] uml: fix SIGWINCH handler race while waiting for signals.

2005-07-30 Thread blaisorblade
From: Bodo Stroesser [EMAIL PROTECTED] If a SIGWINCH comes in, while winch_thread() isn't waiting in wait(), winch_thread could miss signals. It isn't very probable, that anyone will see this causing trouble, as it would need a very special timing, that a missed SIGWINCH results in a wrong

[patch 1/3] uml: add dwarf sections to static link script

2005-07-30 Thread blaisorblade
From: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] Inside the linker script, insert the code for DWARF debug info sections. This may help GDB'ing a Uml binary. Actually, it seems that ld is able to guess what I added correctly, but normal linker scripts include this section so it should be

Re: [patch 1/3] uml: share page bits handling between 2 and 3 level pagetables

2005-07-30 Thread Blaisorblade
On Saturday 30 July 2005 18:02, Jeff Dike wrote: On Thu, Jul 28, 2005 at 08:56:53PM +0200, [EMAIL PROTECTED] wrote: As obvious, a core code nice cleanup is not a stability-friendly patch so usual care applies. These look reasonable, as they are what we discussed in Ottawa. I'll put them

[patch 1/1] uml: avoid fixing faults while atomic

2005-07-30 Thread blaisorblade
From: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] Following i386, we should maybe refuse trying to fault in pages when we're doing atomic operations, because to handle the fault we could need to take already taken spinlocks. Also, if we're doing an atomic operation (in the sense of

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

2005-07-30 Thread Hugh Dickins
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 depends on CONFIG_PM. You don't have CONFIG_PM set in your .config (nor had

Re: [PATCH] mm/slab.c : prefetchw the start of new allocated objects

2005-07-30 Thread David S. Miller
From: Eric Dumazet [EMAIL PROTECTED] Date: Fri, 29 Jul 2005 11:05:09 +0200 Some CPU lacks a prefetchw() and currently do nothing, so I ask this question : Should'nt make prefetchw() do at least a prefetch() ? A read hint is better than nothing. This is not true, especially on SMP. If the

Re: 2.6.13-rc3: cache flush missing from somewhere

2005-07-30 Thread David S. Miller
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 this, I get spurious segfaults and illegal instruction

Re: [PATCH] Wireless Security Lock driver.

2005-07-30 Thread Pavel Machek
Hi! I've attached a gzipped version of my Wireless Security Lock patch for v2.6.13-rc4. A Wireless Security Lock (WSL or weasel :-) is made up of two parts. One part is a receiver which you plug into any available USB port. The other part is a transmitter which at fixed intervals sends ping

Re: [2.6 patch] add -Werror-implicit-function-declaration to CFLAGS

2005-07-30 Thread Adrian Bunk
On Sat, Jul 30, 2005 at 11:08:00AM -0700, Andrew Morton wrote: Adrian Bunk [EMAIL PROTECTED] wrote: Currently, using an undeclared function gives a compile warning, but it can lead to a link or even a runtime error. With -Werror-implicit-function-declaration, we are getting an

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

2005-07-30 Thread Pavel Machek
Hi! What kind of results do you get with a more realistic setup, like running KDE or Gnome OOTB? Here are results with KDE running. - no peripherals attached, i.e. truly mobile setup. - all modules loaded - klaptopdaemon disabled in order to eliminate competition in

Re: [ANNOUNCE 0/7] Open-iSCSI/Linux-iSCSI-5 High-Performance Initiator

2005-07-30 Thread David S. Miller
From: James Bottomley [EMAIL PROTECTED] Date: Sat, 30 Jul 2005 12:32:42 -0500 FIB has taken your netlink number, so I changed it to 32 MAX_LINKS is 32, so there is no way this reassignment would work. You have to pick something in the range 0 -- 32, and as is no surprise, there are no numbers

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

2005-07-30 Thread Andrew Morton
Here is the dmesg extended dump for the stall you mailed me about earlier sequence is boot params initcall_debug log_buf_len=512k at stall ALT + Sys Req + P small amout of output (8-9 lines) then ALT + Sys Req +T about 500+ lines of trace wait about 100 Seconds boot

Re: Average instruction length in x86-built kernel?

2005-07-30 Thread Karim Yaghmour
Hello Ingo, Ingo Oeser wrote: Just study the output od objdump -d and average the differences of the first hex number in a line printed, which are followed by a : Here's a script that does what I was looking for: #!/bin/bash # Dissassemble objdump -d $1 -j .text $2-dissassembled-kernel #

Re: revert yenta free_irq on suspend

2005-07-30 Thread Russell King
On Sat, Jul 30, 2005 at 08:10:33PM +0100, Hugh Dickins wrote: Please revert the yenta free_irq on suspend patch (below) which went into 2.6.13-rc4 after 2.6.13-rc3-git9. Sorry Daniel, you may have a box on which resume doesn't work without it, but on my laptop APM resume from RAM now fails

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

2005-07-30 Thread Lee Revell
On Sat, 2005-07-30 at 21:51 +0200, Pavel Machek wrote: I think this is a good argument for leaving HZ at 1000 until some of these userspace bugs are fixed. WTF? HZ=1000 eats energy like crazy. artsd eats energy like crazy. And you advocate breaking kernel because artsd is broken?! Maybe I

[PATCH mm] page fault patches: fix highpte in do_anon_page

2005-07-30 Thread Hugh Dickins
Fix scheduling while atomic messages below do_anonymous_page when CONFIG_HIGHPTE=y: must unmap and remap the page_table around page allocation. And let's shift the usual pte_unmap to the minor_fault exit. Signed-off-by: Hugh Dickins [EMAIL PROTECTED] --- Please don't interpret this fix as my

2.6.12 Stalls this is CC copy I forgot when mailing Andrew

2005-07-30 Thread jt
Here is the dmesg extended dump for the stall you mailed me about earlier sequence is boot params initcall_debug log_buf_len=512k at stall ALT + Sys Req + P small amout of output (8-9 lines) then ALT + Sys Req +T about 500+ lines of trace wait about 100 Seconds boot continues

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

2005-07-30 Thread Lee Revell
On Sat, 2005-07-30 at 21:51 +0200, Pavel Machek wrote: I think this is a good argument for leaving HZ at 1000 until some of these userspace bugs are fixed. WTF? HZ=1000 eats energy like crazy. artsd eats energy like crazy. And you advocate breaking kernel because artsd is broken?! Also as

  1   2   3   4   5   >