Re: [patch] sched: remove __resched_legal() and fix cond_resched_softirq()

2006-12-26 Thread OGAWA Hirofumi
Ingo Molnar <[EMAIL PROTECTED]> writes: > * OGAWA Hirofumi <[EMAIL PROTECTED]> wrote: > >> "Fabio Comolli" <[EMAIL PROTECTED]> writes: >> >> > Just found this in syslog. It was during normal activity, about 6 >> > minutes after resume-from-ram. I never saw this before. >> >> It seems someone

Re: PATA -- pata_amd on 2.6.19 fails to IDENTIFY my DVD-ROM

2006-12-26 Thread Tejun Heo
Rene Herman wrote: > Good day. > > I just tried the PATA driver for my AMD756 chip. During boot, it hangs > for 3 minutes failing to identify my DVD-ROM (secondary slave) and does > not give me access to it after it timed out. Please give a shot at v2.6.20-rc2 and report what the kernel says.

Re: [PATCH] mm: fix page_mkclean_one

2006-12-26 Thread Linus Torvalds
On Tue, 26 Dec 2006, David Miller wrote: > > I've seen it on sparc64, UP kernel, no preempt. Btw, having tried to debug the writeback code, there's one very special case that just makes me go "hmm". If we have a buffer that is "busy" when we try to write back a page, we have this magic

Re: PATA_SIS and SIS 5513

2006-12-26 Thread Tejun Heo
Ioan Ionita wrote: > pata_sis will not work with my CD-ROM > > dmesg output when trying to mount a cd-rom: Please post full dmesg including all boot messages. -- tejun - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

problem with starting an application daemon from rcS script in case of lnux-2.6.18 kernel version.

2006-12-26 Thread veerasena reddy
Hi, I wrote a small appication "test_shell" and started the same as a background process ("test_shell&") from "rcS" script to print a message "This is to test the shell for daemon processes" on console for every ten seconds. For this, the rcS script contains the below command: "test_shell &" I

ip_recv_error (ip_sockglue.c) - why zero the port on ICMP errors?

2006-12-26 Thread Z
Hello all, I am developing a UDP application and wish to receive the ICMP unreachable messages that some hosts send in response to a UDP datagram that hits a closed port. I use the IP_RECVERR on my socket, recvmsg (fd, , MSG_ERRQUEUE) and all that, however the returned port in the

Re: Feature request: exec self for NOMMU.

2006-12-26 Thread Vadim Lobanov
On Wed, 2006-12-27 at 00:51 -0500, Rob Landley wrote: > On Wednesday 27 December 2006 12:13 am, Ray Lee wrote: > > How about openning an fd to yourself at the beginning of execution, then > > calling fexecve later? > > I haven't got a man page for fexecve. Does libc have it? It's implemented

Re: System / libata IDE controller woes (long)

2006-12-26 Thread Gene Heskett
On Wednesday 27 December 2006 00:50, Erik Ohrnberger wrote: >Hi There! > Yea, I thought that it might be power related as well, so I moved >1/2 of the drives from the 500 Watt power supply onto a separate one, > and it did not change any of the symptoms. So I think that it's been > ruled

Re: Feature request: exec self for NOMMU.

2006-12-26 Thread Rob Landley
On Wednesday 27 December 2006 12:13 am, Ray Lee wrote: > How about openning an fd to yourself at the beginning of execution, then > calling fexecve later? I haven't got a man page for fexecve. Does libc have it? In the 2.6.19 kernel: "find . | xargs grep fexecve" produces no hits. Are you sure

RE: System / libata IDE controller woes (long)

2006-12-26 Thread Erik Ohrnberger
Hi There! Yea, I thought that it might be power related as well, so I moved 1/2 of the drives from the 500 Watt power supply onto a separate one, and it did not change any of the symptoms. So I think that it's been ruled out. Thanks, Erik. > > Hello, > > Erik

Re: Feature request: exec self for NOMMU.

2006-12-26 Thread Rob Landley
On Tuesday 26 December 2006 11:24 pm, Denis Vlasenko wrote: > busybox needs it in order to spawn, for example, gzip/bzip2 helper > for tar. We know that our own executable has this function. > How to execute _our own executable_? exec("/proc/self/exe") > works only if /proc is mounted. I can

Re: sata_mv and Marvell 88SE6121

2006-12-26 Thread Tejun Heo
Jose Alberto Reguero wrote: > Can this sata controler Marvell 88SE6121 work with this driver? > Is anything I can try to make it work? > Any hints are welcome. > Thanks. Combination of sata_mv and pata_marvell should do it. Beware that sata_mv is still experimental. -- tejun - To unsubscribe

Re: Feature request: exec self for NOMMU.

2006-12-26 Thread Ray Lee
On 12/26/06, Rob Landley <[EMAIL PROTECTED]> wrote: I'm trying to make some nommu-friendly busybox-like tools, which means using vfork() instead of fork(). This means that after I fork I have to exec in the child to unblock the parent, and if I want to exec my current executable I have to find

Re: 2.6.19.1, sata_sil: sata dvd writer doesn't work

2006-12-26 Thread Tejun Heo
Harald Dunkel wrote: > Hi Tejun, > > Tejun Heo wrote: >> * dmesg is truncated, please post the content of file /var/log/boot.msg. >> >> * Please post the result of 'lspci -nnvvv' >> >> * Please try the attached patch and see if it makes any difference and >> post the result of 'dmesg' after

Re: [PATCH] mm: fix page_mkclean_one

2006-12-26 Thread David Miller
From: Tobias Diedrich <[EMAIL PROTECTED]> Date: Tue, 26 Dec 2006 17:17:00 +0100 > Linus Torvalds wrote: > > I don't think it's a page table issue any more, it just doesn't look > > likely with the ARM UP corruption. It's also not apparently even on a > > cacheline boundary, so it probably is

Re: util-linux: orphan

2006-12-26 Thread Theodore Tso
On Tue, Dec 26, 2006 at 07:08:43PM -0800, H. Peter Anvin wrote: > >I saw that the current Fedora already dynamically links /bin/mount > >against /usr/lib/libblkid.so. This obviously does not work if > >/usr is a separate partition that needs to be mounted with /bin/mount. > >I also had problems

Re: BUG: scheduling while atomic, new libata code

2006-12-26 Thread Jon Smirl
On 12/26/06, Randy Dunlap <[EMAIL PROTECTED]> wrote: Can you apply and test the patch here: http://lkml.org/lkml/2006/12/26/62 and let us know if that fixes the BUG, please. I am running with the patch and haven't hit the BUG. But I wasn't hitting it very often without the patch so it may

Re: Patch "i386: Relocatable kernel support" causes instant reboot

2006-12-26 Thread Segher Boessenkool
.text.head is not type AX so it will be left out from the linked output. No, it does get added, but the section is not added to any segment, so a) it ends up near the end of the address map instead of being first thing, and b) it won't be loaded at run time. This reminds me that I have put

Re: util-linux: orphan

2006-12-26 Thread Chris Adams
Once upon a time, Arnd Bergmann <[EMAIL PROTECTED]> said: >I saw that the current Fedora already dynamically links /bin/mount >against /usr/lib/libblkid.so. What do you mean by "current" Fedora? I think the first Fedora version that linked /bin/mount against libblkid.so was FC4, and FC4, FC5,

Re: Feature request: exec self for NOMMU.

2006-12-26 Thread Denis Vlasenko
On Wednesday 27 December 2006 00:55, David Lang wrote: > On Tue, 26 Dec 2006, Rob Landley wrote: > > > I'm trying to make some nommu-friendly busybox-like tools, which means using > > vfork() instead of fork(). This means that after I fork I have to exec in > > the child to unblock the parent,

Re: Patch "i386: Relocatable kernel support" causes instant reboot

2006-12-26 Thread Vivek Goyal
On Tue, Dec 26, 2006 at 01:43:31PM +0100, Segher Boessenkool wrote: > >Thanks Jean. Your compressed/head.o looks fine. > > No it doesn't -- the .text.head section doesn't have > the ALLOC attribute set. The section then ends up not > being assigned to an output segment (during the linking > of

Re: util-linux: orphan

2006-12-26 Thread Arnd Bergmann
On Wednesday 27 December 2006 04:08, H. Peter Anvin wrote: > > > I'd suggest that you make sure that mount always gets statically linked > > against libblkid to avoid these problems. > > > > That's a pretty silly statement.  The real issue is that any library > needed by binaries in /bin or

Re: System / libata IDE controller woes (long)

2006-12-26 Thread Tejun Heo
Hello, Erik Ohrnberger wrote: > Earlier this year, when I started putting it together, I gathered my > hardware. A decent 2 GHz Athlon system with 512 MB RAM, DVD drive, a 40 GB > system drive, and a 500 Watt power supply. Then I started adding hard > disks. To date, I've got 5 80 GB PATA, 2

Re: [PATCH 2.6.16.29 1/1] memory: enhance Linux swap subsystem

2006-12-26 Thread yunfeng zhang
The job listed in Documentation/vm_pps.txt of my patch is too heavy to me, so I'm appreciate that Linux kernel group can arrange a schedule to help me. - 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: [PATCH 2.6.16.29 1/1] memory: enhance Linux swap subsystem

2006-12-26 Thread yunfeng zhang
To multiple address space, multiple memory inode architecture, we can introduce a new core object -- section which has several features 1) Section is used as the atomic unit to contain the pages of a VMA residing in the memory inode of the section. 2) When page migration occurs among different

Re: util-linux: orphan

2006-12-26 Thread H. Peter Anvin
Arnd Bergmann wrote: On Monday 18 December 2006 08:17, Karel Zak wrote: - remove FS/device detection code (libblkid from e2fsprogs or libvolumeid is replacement) I saw that the current Fedora already dynamically links /bin/mount against /usr/lib/libblkid.so. This obviously

Re: util-linux: orphan

2006-12-26 Thread Arnd Bergmann
On Monday 18 December 2006 08:17, Karel Zak wrote: > - remove FS/device detection code >           (libblkid from e2fsprogs or libvolumeid is replacement) I saw that the current Fedora already dynamically links /bin/mount against /usr/lib/libblkid.so. This obviously does not work if /usr

[PATCH] Buglet in vmscan.c

2006-12-26 Thread Shantanu Goel
The attached patch fixes a rather obvious buglet. Noticed while instrumenting the VM using /proc/vmstat. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --- .orig/mm/vmscan.c 2006-12-26

RE: linux tcp stack behavior change

2006-12-26 Thread Askadar
> However, I know that plain -sF worked with previous kernels. Using > nmap-4.00 on 2.6.18.5 yields the same result, so I do not think it is > caused by a change in nmap code. Could someone with 2.6.13-2.6.17 verify > that the TCP stack returned a RST? Works for me on 2.6.18.3: [EMAIL PROTECTED]

[patch] mm: Set HASHDIST_DEFAULT to 1 for x86_64 NUMA

2006-12-26 Thread Ravikiran G Thirumalai
Enable system hashtable memory to be distributed among nodes on x86_64 NUMA Forcing the kernel to use node interleaved vmalloc instead of bootmem for the system hashtable memory (alloc_large_system_hash) reduces the memory imbalance on node 0 by around 40MB on a 8 node x86_64 NUMA box: Before

Re: Oops in 2.6.19.1

2006-12-26 Thread Zhang, Yanmin
On Sat, 2006-12-23 at 15:40 +, Alistair John Strachan wrote: > On Wednesday 20 December 2006 14:21, Alistair John Strachan wrote: > > Hi, > > > > Any ideas? > > Pretty much like clockwork, it happened again. I think it's time to take this > seriously as a software bug, and not some hardware

linux tcp stack behavior change

2006-12-26 Thread Jan Engelhardt
Hello list, I have been noticing that running nmap -sF on oneself does not generate a reply from the TCP stack on 2.6.18(.5). In other words: # tcpdump -ni lo & [1] 32376 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on lo, link-type EN10MB (Ethernet),

Re: BUG: scheduling while atomic, new libata code

2006-12-26 Thread Randy Dunlap
On Tue, 26 Dec 2006 20:47:31 -0500 Jon Smirl wrote: > Got this is my logs, no idea what triggered it. Using 2.6.20-rc2 > I have one PATA and one SATA HD on ICH5 and two PATA CDROM > All using the new libata drivers > > BUG: scheduling while atomic: hald-addon-stor/0x2000/5170 >

BUG: scheduling while atomic, new libata code

2006-12-26 Thread Jon Smirl
Got this is my logs, no idea what triggered it. Using 2.6.20-rc2 I have one PATA and one SATA HD on ICH5 and two PATA CDROM All using the new libata drivers BUG: scheduling while atomic: hald-addon-stor/0x2000/5170 [schedule+1529/2816] __sched_text_start+0x5f9/0xb00

Re: Linux 2.6.20-rc2

2006-12-26 Thread Florin Iucha
On Wed, Dec 27, 2006 at 12:42:53AM +0100, Ingo Molnar wrote: > * Florin Iucha <[EMAIL PROTECTED]> wrote: > > I saw your subsequent message and will apply the patch, retest and > > report. > > yeah. Just to make sure i've attached the latest and greatest version of > the patch - please make sure

Re: Binary Drivers

2006-12-26 Thread Scott Preece
On 12/26/06, David Schwartz <[EMAIL PROTECTED]> wrote: You buy a phone for $200. The manufacturer only represents that it works with CarrierCo. ... You have the right to do what you like with the phone, of course. It's a great doorstop and a reasonable paper weight. The manufacturer didn't

Re: [PATCH] romsignature/checksum cleanup

2006-12-26 Thread Rusty Russell
On Mon, 2006-12-25 at 01:53 +0100, Rene Herman wrote: > Rene Herman wrote: > > > Use adding __init to romsignature() (it's only called from probe_roms() > > which is itself __init) as an excuse to submit a pedantic cleanup. > > Hmm, by the way, if romsignature() needs this

RE: 2.6.19-rt14 slowdown compared to 2.6.19

2006-12-26 Thread Chen, Tim C
Ingo Molnar wrote: > > cool - thanks for the feedback! Running the 64-bit kernel, right? > Yes, 64-bit kernel was used. > > while some slowdown is to be expected, did in each case idle time > increase significantly? Volanomark and Re-Aim7 ran close to 0% idle time for 2.6.19 kernel. Idle

Re: [PATCH] romsignature/checksum cleanup

2006-12-26 Thread Rene Herman
Rusty Russell wrote: On Mon, 2006-12-25 at 01:53 +0100, Rene Herman wrote: Hmm, by the way, if romsignature() needs this probe_kernel_address() thing, why doesn't romchecksum()? I assume it's all in the same page, but CC'ing Zach is easier than reading the code 8) If we're talking

Re: Feature request: exec self for NOMMU.

2006-12-26 Thread Rob Landley
On Tuesday 26 December 2006 6:55 pm, David Lang wrote: > > Worse, it's not always possible. If chroot() has happened since the program > > started, there may not _be_ a path to my current executable available from > > this process's current or root directories. > > does this even make sense (as

Re: Feature request: exec self for NOMMU.

2006-12-26 Thread David Lang
On Tue, 26 Dec 2006, Rob Landley wrote: I'm trying to make some nommu-friendly busybox-like tools, which means using vfork() instead of fork(). This means that after I fork I have to exec in the child to unblock the parent, and if I want to exec my current executable I have to find out where

Re: [linux-pm] USB power usage

2006-12-26 Thread David Brownell
> > > Couple of watts is not that bad, considering usb still eats 4W more > > > than it should. > > > > The USB autosuspend mechanism has been present for a while in -mm and is > > included in 2.6.20-rc (although you have to turn on CONFIG_USB_SUSPEND, > > which is off by default -- it would be

Re: 2.6.19.1-rt15: BUG in __tasklet_action at kernel/softirq.c:568

2006-12-26 Thread Ingo Molnar
* Steven Rostedt <[EMAIL PROTECTED]> wrote: > On Wed, 2006-12-20 at 20:50 +0100, Ingo Molnar wrote: > > * Robert Crocombe <[EMAIL PROTECTED]> wrote: > > > > > On 12/19/06, Ingo Molnar <[EMAIL PROTECTED]> wrote: > > > >yeah. This is something that triggers very rarely on certain boxes. Not > > >

Re: [PATCH] Consolidate default sched_clock()

2006-12-26 Thread Ingo Molnar
* Alexey Dobriyan <[EMAIL PROTECTED]> wrote: > Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> looks good to me. Acked-by: Ingo Molnar <[EMAIL PROTECTED]> Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED]

Re: Binary Drivers

2006-12-26 Thread Horst H. von Brand
David Schwartz <[EMAIL PROTECTED]> wrote: [..] . > The point is that any rights the manufacturer may have had to the car should > have been sold along with the car, otherwise it's not a normal free and > clear sale. A normal free and clear sale includes all rights to the item > sold, except those

Feature request: exec self for NOMMU.

2006-12-26 Thread Rob Landley
I'm trying to make some nommu-friendly busybox-like tools, which means using vfork() instead of fork(). This means that after I fork I have to exec in the child to unblock the parent, and if I want to exec my current executable I have to find out where it lives so I can feed the path to

2.6.20-rc2: oops with broken usb cable, fault handler locks up?

2006-12-26 Thread Pavel Machek
Hi! I have cable between sx1 <-> pc, that is of _very_ low quality. Well, today sx1 communication stopped working, and this time it was not sx1's fault. ...wait a moment, what is that? did oops handler lock up for long enough for softlockup to trigger?

[git patch] Remove NetXen private ioctl

2006-12-26 Thread Jeff Garzik
IMO this should not make it out into general release, and most kernel hackers seemed to agree. Please pull from 'netxen-ioctl' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git netxen-ioctl to receive the following updates: drivers/net/netxen/netxen_nic.h |

Re: Binary Drivers

2006-12-26 Thread Horst H. von Brand
James C Georgas <[EMAIL PROTECTED]> wrote: [...] > Let's summarize the current situation: > 1) Hardware vendors don't have to tell us how to program their products, > as long as they provide some way to use it (i.e. binary blob driver). No. They have absolutely no obligation to tell you

Re: [PATCH 1/10] cxgb3 - main header files

2006-12-26 Thread Jeff Garzik
Divy Le Ray wrote: From: Divy Le Ray <[EMAIL PROTECTED]> This patch implements the main header files of the Chelsio T3 network driver. Signed-off-by: Divy Le Ray <[EMAIL PROTECTED]> Once you think it's ready, email me a URL to a single patch that adds the driver to the latest linux-2.6.git

[patch 2.6.20-rc2] ARM: AT91: clocksource for at91rm9200

2006-12-26 Thread David Brownell
Define a clocksource for the at91rm9200, switching it to use GENERIC_TIME. (No clockevent support; this is against 2.6.20-rc code.) Also, slightly streamline reads of the 32KHz counter; if we hit the update window, we can now use 3 reads not 4. Signed-off-by: David Brownell <[EMAIL PROTECTED]>

RE: Binary Drivers

2006-12-26 Thread David Schwartz
> Again, while some of the car/house analogies may describe situations > where the seller has not conveyed all the rights, the video card > situation is completely different. You have the right to do what you > like with it and the seller retains no rights. Lack of documentation > is not an

Re: System / libata IDE controller woes (long)

2006-12-26 Thread Justin Piszcz
I had the same problem you did when I put 3 identical controllers together. To get around that problem I used 2 TX133s and 1 TX100x2. I believe this is the root cause of your problems. Justin. On Tue, 26 Dec 2006, Erik Ohrnberger wrote: > First off, Merry Christmas, Seasons Greetings and

[PATCH] Immediately update integer and string values in xconfig display

2006-12-26 Thread Karsten Wiese
In xconfig's display integer and string values are also shown as part of the config item's descriptive text. This patch updates the descriptive text, when the corresponding value has been changed. Fix for http://bugzilla.kernel.org/show_bug.cgi?id=7744 Signed-off-by: Karsten Wiese <[EMAIL

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-26 Thread Linus Torvalds
On Tue, 26 Dec 2006, Nick Piggin wrote: > Linus Torvalds wrote: > > > > Ok, so how about this diff. > > > > I'm actually feeling good about this one. It really looks like > > "do_no_page()" was simply buggy, and that this explains everything. > > Still trying to catch up here, so I'm not

Re: Binary Drivers

2006-12-26 Thread Scott Preece
On 12/26/06, David Schwartz <[EMAIL PROTECTED]> wrote: It's really common sense. Imagine if you buy the right to use my car, but I don't give you the key. Can I say, "yes, you have the right to use my car, you bought that, but that doesn't mean I have to tell you how to use my car." --- I

Re: [PATCH 0/3] ensure unique i_ino in filesystems without permanent inode numbers (introduction)

2006-12-26 Thread Jeff Layton
Jeff Layton wrote: > > > > I'm still unsure whether idr has a sufficient advantage over simply > > hashing the inodes. Hch has suggested that keeping the hashtable > > smaller is good for performance. But idr adds new complexity, which > > should be avoided on its own right. So is the

RE: Binary Drivers

2006-12-26 Thread David Schwartz
Combined responses: > > If I bought the car from the manufacturer, it also must > > include any rights the manufacturer might have to the car's use. > > That includes using the car to violate emission control measures. > > If I didn't buy the right to use the car that way (insofar as > > that

Re: [patch] net/xfrm: fix crash in ipsec audit logging

2006-12-26 Thread jamal
On Tue, 2006-26-12 at 18:56 +0100, Ingo Molnar wrote: > + xfrm_audit_log(NETLINK_CB(skb).loginuid, NETLINK_CB(skb).sid, > +AUDIT_MAC_IPSEC_DELSPD, delete, xp, NULL); > + > if (!delete) { > struct sk_buff *resp_skb; You could move the call into the

[patch] net/xfrm: fix crash in ipsec audit logging

2006-12-26 Thread Ingo Molnar
Subject: [patch] net/xfrm: fix crash in ipsec audit logging From: Ingo Molnar <[EMAIL PROTECTED]> i got the following crash when restarting a (timed out) ipsec session on 2.6.20-rc1-rt4: BUG: unable to handle kernel NULL pointer dereference at virtual address 00a2 printing eip: c0320f67

[patch] ebtables: don't compute gap before checking struct type

2006-12-26 Thread Chuck Ebbert
We cannot compute the gap until we know we have a 'struct ebt_entry' and not 'struct ebt_entries'. Failure to check can cause crash. Tested by Santiago Garcia Mantinan <[EMAIL PROTECTED]> Signed-off-by: Chuck Ebbert <[EMAIL PROTECTED]> --- Can we get this upstream quickly? The bug's also in

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-26 Thread Al Viro
On Tue, Dec 26, 2006 at 05:51:55PM +, Al Viro wrote: > On Sun, Dec 24, 2006 at 12:24:46PM -0800, Linus Torvalds wrote: > > > > > > On Sun, 24 Dec 2006, Andrei Popa wrote: > > > > > > Hash check on download completion found bad chunks, consider using > > > "safe_sync". > > > > Dang. Did you

Re: ebtables problems on 2.6.19.1 *and* 2.6.16.36

2006-12-26 Thread Al Viro
On Mon, Dec 25, 2006 at 11:42:32PM -0500, Chuck Ebbert wrote: > ebtables: don't compute gap until we know we have an ebt_entry > > We must check the bitmap field to make sure we have an ebt_entry and > not an ebt_entries struct before using fields from ebt_entry. > > Signed-off-by: Chuck Ebbert

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-26 Thread Al Viro
On Sun, Dec 24, 2006 at 12:24:46PM -0800, Linus Torvalds wrote: > > > On Sun, 24 Dec 2006, Andrei Popa wrote: > > > > Hash check on download completion found bad chunks, consider using > > "safe_sync". > > Dang. Did you get any warning messages from the kernel? > > Linus BTW,

Re: Linux 2.6.20-rc2

2006-12-26 Thread Fabio Comolli
Hi. Can you confirm that the problem I mentioned in http://lkml.org/lkml/2006/12/24/32 is the same? Best regards, Fabio On 12/26/06, Ingo Molnar <[EMAIL PROTECTED]> wrote: * Ingo Molnar <[EMAIL PROTECTED]> wrote: > > I've had at least one more occurrence of it: > > > > [ 78.804940] BUG:

Re: BUG: scheduling while atomic - Linux 2.6.20-rc2-ga3d89517

2006-12-26 Thread Randy Dunlap
On Tue, 26 Dec 2006 18:15:31 +0100 Pavel Machek wrote: > Hi! > > > some days and will let you know if the problem represents. Please note > > that it happened only twice and I don't have any clue on how to > > reproduce it. > > > > I added Pavel and Rafael to CC-list because for the first time

Re: BUG: scheduling while atomic - Linux 2.6.20-rc2-ga3d89517

2006-12-26 Thread Fabio Comolli
Hi On 12/26/06, Pavel Machek <[EMAIL PROTECTED]> wrote: Hi! > some days and will let you know if the problem represents. Please note > that it happened only twice and I don't have any clue on how to > reproduce it. > > I added Pavel and Rafael to CC-list because for the first time in at >

[PATCH 1/1 2.6.20-rc2] MM: SLOB is broken by recent cleanup of slab.h

2006-12-26 Thread dimitri . gorokhovik
From: Dimitri Gorokhovik <[EMAIL PROTECTED]> Recent cleanup of slab.h broke SLOB allocator: the routine kmem_cache_init has now the __init attribute for both slab.c and slob.c. This routine cannot be removed after init in the case of slob.c -- it serves as a timer callback. Provide a separate

Re: BUG: scheduling while atomic - Linux 2.6.20-rc2-ga3d89517

2006-12-26 Thread Pavel Machek
Hi! > some days and will let you know if the problem represents. Please note > that it happened only twice and I don't have any clue on how to > reproduce it. > > I added Pavel and Rafael to CC-list because for the first time in at > least six months my laptop failed to resume after

[ANNOUNCE] new home for atl1 driver

2006-12-26 Thread Chris Snook
Happy Boxing Day! If you just turned on your shiny new box and discovered that it's got an Attansic L1 gigabit ethernet chip in it, and can't get Linux to recognize it, fear not. Jay and I are still working on getting the driver ready for merging. A lot of the fancy stuff is un(der)tested,

[PATCH 1/1 2.6.20-rc2] MM: ramfs breaks without CONFIG_BLOCK

2006-12-26 Thread dimitri . gorokhovik
From: Dimitri Gorokhovik <[EMAIL PROTECTED]> ramfs doesn't provide the .set_dirty_page a_op, and when the BLOCK layer is not configured in, 'set_page_dirty' makes a call via a NULL pointer. Signed-off-by: Dimitri Gorokhovik <[EMAIL PROTECTED]> --- --- linux-2.6.20-rc2-orig/mm/page-writeback.c

Re: [KORG] Re: kernel.org lies about latest -mm kernel

2006-12-26 Thread H. Peter Anvin
Willy Tarreau wrote: Just evil suggestion, but if you contact someone else than HP, they might be _very_ interested in taking HP's place and providing whatever you need to get their name on www.kernel.org. Sun and IBM do such monter machines too. That would not be very kind to HP, but it might

Re: [KORG] Re: kernel.org lies about latest -mm kernel

2006-12-26 Thread H. Peter Anvin
Nigel Cunningham wrote: Hi. I've have git trees against a few versions besides Linus', and have just moved all but Linus' to staging to help until you can get your new hardware. If others were encouraged to do the same, it might help a lot? Not really. In fact, it would hardly help at all.

Re: [KORG] Re: kernel.org lies about latest -mm kernel

2006-12-26 Thread H. Peter Anvin
Russell King wrote: Ergo, downloads via http from ftp.uk.kernel.org are at best unreliable for multiple requests. I agree that it's not directly your problem, and isn't something you have direct control over. However, if you want to round-robin the .kernel.org IP addresses between different

[PATCH] 8250: make probing for TXEN bug a config option

2006-12-26 Thread Vitaly Wool
Hello Andrew, probing for UART_BUG_TXEN in 8250 driver leads to weird effects on some ARM boards (pnx4008 for instance). That is, the driver detects UART_BUG_TXEN (though it apparently shouldn't) and it leads to symbol loss in console on input (i. e. you input 'a' and you get nothing, then

Re: Linux 2.6.20-rc2

2006-12-26 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > > I've had at least one more occurrence of it: > > > > [ 78.804940] BUG: scheduling while atomic: kbd/0x2000/3444 > > [ 78.804944] > > [ 78.804945] Call Trace: > > ok, i can think of a simpler scenario: > add_preempt_count(PREEMPT_ACTIVE)

Re: bcm43xx-softmac broken on 2.6.20-rc2

2006-12-26 Thread Andreas Schwab
Larry Finger <[EMAIL PROTECTED]> writes: > The patch does not apply because your mailer is breaking the white space and > substituting spaces for > tabs. No, it does not apply because it was space-stuffed. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH,

Re: Linux 2.6.20-rc2

2006-12-26 Thread Ingo Molnar
* Randy Dunlap <[EMAIL PROTECTED]> wrote: > I've had at least one more occurrence of it: > > [ 78.804940] BUG: scheduling while atomic: kbd/0x2000/3444 > [ 78.804944] > [ 78.804945] Call Trace: ok, i can think of a simpler scenario: add_preempt_count(PREEMPT_ACTIVE) /twice/, nested

Re: bcm43xx-softmac broken on 2.6.20-rc2

2006-12-26 Thread Larry Finger
bert hubert wrote: On Sun, Dec 24, 2006 at 09:51:50AM -0600, Larry Finger wrote: This is a heads-up for anyone wishing to use bcm43xx-softmac on Linus's git tree, which is now at v2.6.20-rc2. There are two serious bugs in that code. Fixes are found below. For some reason your patch does not

Re: [KORG] Re: kernel.org lies about latest -mm kernel

2006-12-26 Thread H. Peter Anvin
Dave Jones wrote: A wild idea just occured to me. You guys are running Fedora/RHEL kernels on the kernel.org boxes iirc, which have Ingo's 'tux' httpd accelerator. It might not make the problem go away, but it could make it more bearable under high load. Or it might do absolutely squat

Re: bcm43xx-softmac broken on 2.6.20-rc2

2006-12-26 Thread bert hubert
On Sun, Dec 24, 2006 at 09:51:50AM -0600, Larry Finger wrote: > This is a heads-up for anyone wishing to use bcm43xx-softmac on Linus's git > tree, which is now at > v2.6.20-rc2. There are two serious bugs in that code. Fixes are found below. For some reason your patch does not apply to stock

Re: Linux 2.6.20-rc2

2006-12-26 Thread Randy Dunlap
On Tue, 26 Dec 2006 13:40:19 +0100 Ingo Molnar wrote: > > * Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > [ 2844.871895] BUG: scheduling while atomic: cp/0x2000/2965 > > > This is the second report we've had where bit 29 of ->preempt_count is > > getting set. I don't think there's any

Re: Linux 2.6.20-rc2

2006-12-26 Thread Ingo Molnar
* Florin Iucha <[EMAIL PROTECTED]> wrote: > This is my year-old workstation that I've build from good parts (Asus > A8N-SLI premium, OCZ memory), not overclocked, not overheated (it is > in a Antec P180 case with 12 cm fans -> CPU max is 43'C when not used > for my hour-long simulations). I

[PATCH 5/12] devres: implement managed PCI interface

2006-12-26 Thread Tejun Heo
Implement managed PCI interface - pcim_enable_device(), pcim_pin_device() and pci_is_managed(). pcim_enable_device() is equivalent to pci_enable_device() except that it makes the PCI device managed. After pcim_enable_device(), PCI resources such as enabledness, msi/msix/intx status and BAR

[PATCH 8/12] libata: update libata core layer to use devres

2006-12-26 Thread Tejun Heo
Update libata core layer to use devres. * ata_device_add() acquires all resources in managed mode. * ata_host is allocated as devres associated with ata_host_release. * Port attached status is handled as devres associated with ata_host_attach_release(). * Initialization failure and host

[PATCH 10/12] libata: remove unused functions

2006-12-26 Thread Tejun Heo
Now that all LLDs are converted to use devres, default stop callbacks are unused. Remove them. Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> --- drivers/ata/libata-core.c | 91 - include/linux/libata.h|4 -- 2 files changed, 8 insertions(+),

[PATCH 11/12] devres: implement pcim_iomap_regions()

2006-12-26 Thread Tejun Heo
Implement pcim_iomap_regions(). This function takes mask of BARs to request and iomap. No BAR should have length of zero. BARs are iomapped using pcim_iomap_table(). Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> --- include/linux/io.h |2 + lib/iomap.c| 53

[PATCH 7/12] libata: handle pci_enable_device() failure while resuming

2006-12-26 Thread Tejun Heo
Handle pci_enable_device() failure while resuming. This patch kills the "ignoring return value of 'pci_enable_device'" warning message and propagates __must_check through ata_pci_device_do_resume(). Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> --- drivers/ata/ahci.c|4 +++-

[PATCH 6/12] devres: implement managed iomap interface

2006-12-26 Thread Tejun Heo
Implement managed iomap interface - pcim_iomap_table(), pcim_iomap() and pcim_iounmap(). Except for being managed, pcim_iomap() and pcim_iounmap() take the same arguments and have the same effect as non-managed coutnerparts. pcim_iomap_table() returns pointer to constant array of void __iomem *

[PATCH 2/12] devres: implement managed IO region interface

2006-12-26 Thread Tejun Heo
Implement managed IO region interface - devm_request_region() and devm_release_region(). Except for the first @dev argument and being managed, these take the same arguments and have the same effect as non-managed coutnerparts. Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> ---

[RFC,PATCHSET] Managed device resources

2006-12-26 Thread Tejun Heo
Hello, all. This patchset implements managed device resources, in short, devres. ## Intro devres came up while trying to convert libata to use iomap. Each iomapped address should be kept and unmapped on driver detach. For example, a plain SFF ATA controller (that is, good old PCI IDE) in

[PATCH 3/12] devres: implement managed IRQ interface

2006-12-26 Thread Tejun Heo
Implement managed IRQ interface - devm_request_irq() and devm_free_irq(). Except for the first @dev argument and being managed, these take the same arguments and have the same effect as non-managed coutnerparts. Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> --- include/linux/interrupt.h |6

[PATCH 4/12] devres: implement managed DMA interface

2006-12-26 Thread Tejun Heo
Implement managed DMA interface - dmam_alloc_coherent(), dmam_free_coherent(), dmam_declare_coherent_memory(), dmam_pool_create() and dmam_pool_destroy(). Except for being managed, these take the same arguments and have the same effect as non-managed counterparts. Signed-off-by: Tejun Heo

Re: two architectures,same source tree

2006-12-26 Thread Geert Uytterhoeven
On Fri, 22 Dec 2006, Randy Dunlap wrote: > On Fri, 22 Dec 2006 21:45:26 +0100 Bodo Eggert wrote: > > J�rn Engel <[EMAIL PROTECTED]> wrote: > > > On Wed, 20 December 2006 20:32:20 +0200, Yakov Lerner wrote: > > > > >> Is it easily possible to build two architectures in > > >> the same source tree

[PATCH 1/12] devres: device resource management core

2006-12-26 Thread Tejun Heo
Implement device resource management core, in short, devres. A device driver can allocate arbirary size of devres data which is associated with a release function. On driver detach, release function is invoked on the devres data, then, devres data is freed. devreses are typed by associated

Re: Putting the sdhci to sleep safely [with attachments]

2006-12-26 Thread Pavel Machek
Hi! > > Okay, so trying 2.6.20-rc2 is good first step. > > OK. > > > And then description what the problem is. My machine sleeps okay with > > sdhci loaded... If I can reproduce, chance to do something about it > > gets bigger. > > Would it be easier/better if I managed to get to you a Lenovo

Re: Putting the sdhci to sleep safely [with attachments]

2006-12-26 Thread Tony Mobily
Hi, > Okay, so trying 2.6.20-rc2 is good first step. OK. > And then description what the problem is. My machine sleeps okay with > sdhci loaded... If I can reproduce, chance to do something about it > gets bigger. Would it be easier/better if I managed to get to you a Lenovo 3000 V100 (which

Re: Putting the sdhci to sleep safely [with attachments]

2006-12-26 Thread Pavel Machek
Hi! > >> So, here I am... please find attache my lspci and the log of what > >> happens when the computer is put to sleep. > >> > >> I would also be happy to organise a bounty for this bug to be fixed. > > > > :-). Just hunt it yourself. It is probably easier than organizing a bounty. > > OK. I

Re: USB power usage

2006-12-26 Thread Pavel Machek
Hi! > > Couple of watts is not that bad, considering usb still eats 4W more > > than it should. > > The USB autosuspend mechanism has been present for a while in -mm and is > included in 2.6.20-rc (although you have to turn on CONFIG_USB_SUSPEND, > which is off by default -- it would be nice to

Re: omap compilation fixes

2006-12-26 Thread Pavel Machek
On Sat 2006-12-23 11:48:29, Tony Lindgren wrote: > Hi, > > * Pavel Machek <[EMAIL PROTECTED]> [061222 13:49]: > > Hi! > > > > > > This is not yet complete set. set_map() is missing in latest kernels. > > > > > > > > Fix DECLARE_WORK()-change-related compilation problems. Please apply, > > > > >

  1   2   3   >