Re: NCQ support NVidia NForce4 (CK804) SATAII

2005-08-11 Thread Gábor Lénárt
Hello, Hmm, I can't understand this. I want to buy a new system including motherboard with some Athlon64 CPU. I was told that nforce4 chipset is the "right" choice. However I'm using *only* Linux (well, sometimes BSDs, Solaris and such) and I have *never* had windows installed on any of my compute

Re: GFS

2005-08-11 Thread Pekka J Enberg
Hi Mark, On Thu, 11 Aug 2005, Pekka J Enberg wrote: > Reading and writing from other filesystems to a GFS2 mmap'd file > does not walk the vmas. Therefore, data consistency guarantees > are different: What I meant was that, if a filesystem requires vma walks, we need to do it VFS level with some

Is it possible to control C.O.P

2005-08-11 Thread Luigi Genoni
HI, there is a way that the kernel could cope with CPU Overheating Protection? I am usng a Tyan MPX with Dual AthlonMP, but COP is configured to shutdown the system toot early, when the temparature is still low. lm_sensors 2.9.0 didn't help Thanx in advance Luigi Genoni - To unsubscribe from th

Re: Problem with usb-storage and /dev/sd?

2005-08-11 Thread DervishD
Hi Pete :) * Pete Zaitcev <[EMAIL PROTECTED]> dixit: > On Wed, 10 Aug 2005 21:22:43 +0200, DervishD <[EMAIL PROTECTED]> wrote: > > I'm not using hotplug currently so... how can I make the USB > > subsystem to assign always the same /dev/sd? entry to my USB Mass > > storage devices? [...]

Re: Problem with usb-storage and /dev/sd?

2005-08-11 Thread DervishD
Hi Greg :) * Greg KH <[EMAIL PROTECTED]> dixit: > On Thu, Aug 11, 2005 at 12:06:16AM +0200, DervishD wrote: > > * Tomasz Torcz <[EMAIL PROTECTED]> dixit: > > > That's what udev is for. > > I know, but I use a 2.4.x kernel (which I didn't mention in my > > original message, sorry O:)), a

Re: Soft lockup in e100 driver ?

2005-08-11 Thread Matti Aarnio
On Wed, Aug 10, 2005 at 08:32:45PM -0400, Stephen D. Williams wrote: > I just noticed that the Ubuntu setup says "GSI 20(level,low) -> IRQ 20" > whereas I remember my built kernels saying "No GSI.. IRQ 11". I'll > investigate what that means and how to enable it. Pointers appreciated. Tha

Re: [PATCH] Stacker - single-use static slots

2005-08-11 Thread James Morris
On Wed, 10 Aug 2005, [EMAIL PROTECTED] wrote: > those annoying cache effects, I assume - 3 slots (the default) > outperforms two slots, even though only one slot is being used. These > tests were run on a 16-way power4+ system. I may try to re-run on some > x86 hardware, though each run will pro

GFS - updated patches

2005-08-11 Thread David Teigland
Thanks for all the review and comments. This is a new set of patches that incorporates the suggestions we've received. http://redhat.com/~teigland/gfs2/20050811/gfs2-full.patch http://redhat.com/~teigland/gfs2/20050811/broken-out/ Dave - To unsubscribe from this list: send the

[no subject]

2005-08-11 Thread Hiroki Kaminaga
Hi, I don't know if this is a bug, but on kernel src code, `-' and `,' is substituted to `_' in scripts/Makefile.lib but, in latest module-init-tools-3.2-pre9, only `-' is handled, but not ','. Attached is the patch for this problem against module-init-tools. Regards, HK. --diff -uNrp module-in

Re: fcntl(F GETLEASE) semantics??

2005-08-11 Thread Michael Kerrisk
> Von: Peter Chubb <[EMAIL PROTECTED]> > > > "Trond" == Trond Myklebust <[EMAIL PROTECTED]> writes: > > Trond> to den 11.08.2005 Klokka 09:48 (+1000) skreiv Peter Chubb: > >> Hi, The LTP test fcntl23 is failing. It does, in essence, fd = > >> open(xxx, O_RDWR|O_CREAT, 0777); if (fcntl(fd, F_

Re: [Linux-cluster] GFS - updated patches

2005-08-11 Thread Michael
> incorporates the suggestions we've received. > > http://redhat.com/~teigland/gfs2/20050811/gfs2-full.patch > http://redhat.com/~teigland/gfs2/20050811/broken-out/ > > Dave > > -- > Linux-cluster mailing list > [EMAIL PROTECTED] > http://www.redhat.com/ma

Re: GFS - updated patches

2005-08-11 Thread Arjan van de Ven
On Thu, 2005-08-11 at 16:17 +0800, David Teigland wrote: > Thanks for all the review and comments. This is a new set of patches that > incorporates the suggestions we've received. all of them or only a subset? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: GFS - updated patches

2005-08-11 Thread David Teigland
On Thu, Aug 11, 2005 at 04:21:04PM +0800, Michael wrote: > I have the same question as I asked before, how can I see GFS in "make > menuconfig", after I patch gfs2-full.patch into a 2.6.12.2 kernel? You need to select the dlm under drivers. It's in -mm, or apply http://redhat.com/~teigland/dlm.

Re: GFS - updated patches

2005-08-11 Thread David Teigland
On Thu, Aug 11, 2005 at 10:32:38AM +0200, Arjan van de Ven wrote: > On Thu, 2005-08-11 at 16:17 +0800, David Teigland wrote: > > Thanks for all the review and comments. This is a new set of patches that > > incorporates the suggestions we've received. > > all of them or only a subset? All patche

Re: GFS - updated patches

2005-08-11 Thread Michael
yes, after apply dlm.patch, I saw it! although I don't know what's "-mm". Thanks, Michael On 8/11/05, David Teigland <[EMAIL PROTECTED]> wrote: > On Thu, Aug 11, 2005 at 04:21:04PM +0800, Michael wrote: > > I have the same question as I asked before, how can I see GFS in "make > > menuconfig", a

Re: GFS - updated patches

2005-08-11 Thread Arjan van de Ven
On Thu, 2005-08-11 at 16:50 +0800, David Teigland wrote: > On Thu, Aug 11, 2005 at 10:32:38AM +0200, Arjan van de Ven wrote: > > On Thu, 2005-08-11 at 16:17 +0800, David Teigland wrote: > > > Thanks for all the review and comments. This is a new set of patches that > > > incorporates the suggestio

Re: why the interrupt handler should be marked "static" for it is never called directly from another file.

2005-08-11 Thread Giuliano Pochini
On Thu, 11 Aug 2005, n l wrote: > could you explain its reason for using static ? Anything which is never referenced from another file should be static in order to keep namespace pollution low. -- Giuliano. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: why the interrupt handler should be marked "static" for it is never called directly from another file.

2005-08-11 Thread n l
I see, if a function in a module is not marked by static ,it can be accessed by any other function in kernel, while , using a static can avoid it . thanks a lot !! 2005/8/11, Giuliano Pochini <[EMAIL PROTECTED]>: > > > On Thu, 11 Aug 2005, n l wrote: > > > could you explain its reason for usi

Re: [RFC][patch 0/2] mm: remove PageReserved

2005-08-11 Thread Nick Piggin
Benjamin Herrenschmidt wrote: On Tue, 2005-08-09 at 20:41 +0100, Russell King wrote: On Tue, Aug 09, 2005 at 07:38:52AM -0700, Martin J. Bligh wrote: pfn_valid() doesn't tell you it's RAM or not - it tells you whether you have a backing struct page for that address. Could be an IO mapped devi

Re: How to reclaim inode pages on demand

2005-08-11 Thread Coywolf Qi Hunt
On 8/11/05, Andrew Morton <[EMAIL PROTECTED]> wrote: > Magnus Damm <[EMAIL PROTECTED]> wrote: > > > > On 8/11/05, Andrew Morton <[EMAIL PROTECTED]> wrote: > > > Mel Gorman <[EMAIL PROTECTED]> wrote: > > > > The majority of pages I am seeing no longer have page->mapping set. Does > > > > this mean t

Re: GFS - updated patches

2005-08-11 Thread David Teigland
On Thu, Aug 11, 2005 at 10:50:32AM +0200, Arjan van de Ven wrote: > > > > Thanks for all the review and comments. This is a new set of > > > > patches that incorporates the suggestions we've received. > > > > > > all of them or only a subset? > > with them I meant the suggestions not the patche

Re: [RFC][PATCH] Rename PageChecked as PageMiscFS

2005-08-11 Thread David Howells
Daniel Phillips <[EMAIL PROTECTED]> wrote: > > This filesystem-specific flag needs to be prevented from escaping into other > subsystems that might interact, such as VM. The current usage is mainly > for directories, except for Reiser4, which uses it for journalling > .. > + SetPageMiscFS(pa

Re: [RFC][PATCH] Rename PageChecked as PageMiscFS

2005-08-11 Thread David Howells
Daniel Phillips <[EMAIL PROTECTED]> wrote: > Note: I have not fully audited the NFS-related colliding use of page flags > bit 8, Nor will you be able to until the NFS caching patches are released. > to verify that it really does not escape into VFS or MM from NFS, in fact I > have misgivings abo

Re: [RFC][PATCH] Rename PageChecked as PageMiscFS

2005-08-11 Thread David Howells
Trond Myklebust <[EMAIL PROTECTED]> wrote: > > http://marc.theaimsgroup.com/?l=linux-kernel&m=112368417412580&w=2 > > Oh. You are talking about CacheFS? That hasn't been declared "ready to > merge" yet. I can probably put out FS-Cache now, and the patches for kAFS and NFS to use it. CacheFS is t

Re: [RFC][PATCH] Rename PageChecked as PageMiscFS

2005-08-11 Thread David Howells
Adrian Bunk <[EMAIL PROTECTED]> wrote: > Since this was done only for CacheFS, and Andrew dropped CacheFS from > -mm he could drop this patch as well. I asked him not to. Somewhat at his instigation, I requested that he drop the filesystem caching patches for the moment. I'm updating them and th

Re: Linux-2.6.13-rc6: aic7xxx testers please..

2005-08-11 Thread Johannes Stezenbach
On Thu, Aug 11, 2005 Philipp Matthias Hahn wrote: > PS: MAINTAINTER lists http://linuxtv.org/developer/dvb.xml which is > dead. Thanks for reporting. --- Fix DVB URL. Signed-off-by: Johannes Stezenbach <[EMAIL PROTECTED]> Index: linux-2.6.13-rc6/MAINTAINERS =

Re: [Linux-cluster] GFS - updated patches

2005-08-11 Thread Michael
f patches that > incorporates the suggestions we've received. > > http://redhat.com/~teigland/gfs2/20050811/gfs2-full.patch > http://redhat.com/~teigland/gfs2/20050811/broken-out/ > > Dave > > -- > Linux-cluster mailing list > [EMAIL PROTECTED] > http:

Re: [RFC,PATCH] Use RCU to protect tasklist for unicast signals

2005-08-11 Thread Ingo Molnar
* Paul E. McKenney <[EMAIL PROTECTED]> wrote: > Hello! > > This patch is an experiment in use of RCU for individual code paths > that read-acquire the tasklist lock, in this case, unicast signal > delivery. It passes five kernbenches on 4-CPU x86, but obviously needs > much more testing befor

Re: [Linux-cluster] GFS - updated patches

2005-08-11 Thread Pekka Enberg
On 8/11/05, Michael <[EMAIL PROTECTED]> wrote: > Hi, Dave, > > I quickly applied gfs2 and dlm patches in kernel 2.6.12.2, it passed > compiling but has some warning log, see attachment. maybe helpful to > you. kzalloc is not in Linus' tree yet. Try with 2.6.13-rc5-mm1.

Re: GFS - updated patches

2005-08-11 Thread Pekka Enberg
Hi, On 8/11/05, David Teigland <[EMAIL PROTECTED]> wrote: > The large majority, and I think all that people care about. If we ignored > something that someone thinks is important, a reminder would be useful. The only remaining issue for me is the vma walk. Thanks, David!

Re: [RFC][patch 0/2] mm: remove PageReserved

2005-08-11 Thread Rafael J. Wysocki
Hi, On Wednesday, 10 of August 2005 23:50, Pavel Machek wrote: > Hi! > > > > Swsusp is the main "is valid ram" user I have in mind here. It > > > wants to know whether or not it should save and restore the > > > memory of a given `struct page`. > > > > Why can't it follow the rmap chain? > > It

Re: [RFC][patch 0/2] mm: remove PageReserved

2005-08-11 Thread Rafael J. Wysocki
Hi, On Wednesday, 10 of August 2005 23:56, Martin J. Bligh wrote: > --On Wednesday, August 10, 2005 23:50:22 +0200 Pavel Machek <[EMAIL > PROTECTED]> wrote: > > > Hi! > > > >> > Swsusp is the main "is valid ram" user I have in mind here. It > >> > wants to know whether or not it should save and

Re: cifs kernel module and MS DFS shares [2.6.12-1.1411_FC4]

2005-08-11 Thread Thomas Chiverton
On Monday 08 August 2005 16:09, Thomas Chiverton wrote: > On Monday 08 August 2005 15:56, Mathieu Chouquet-Stringer wrote: > > I've got the same issue but if I go down 2 or 3 levels, it works (ie > > Well, *something* changes after 3 levels: Anyone else ? Should I be logging a bug at redhat instea

Re: VIA Rhine ethernet driver bug (reprise)

2005-08-11 Thread Denis Vlasenko
On Sunday 07 August 2005 21:02, Udo van den Heuvel wrote: > Hello, > > In january of this year I mentioned a problem with the Linux kernel > driver for VIA Rhine ethernet chips. (see http://lkml.org/lkml/2005/1/15/47) > In the mean time this bug was reproduced quite a number of times on my > Fedor

Re: [RFC][patch 0/2] mm: remove PageReserved

2005-08-11 Thread David Howells
Daniel Phillips <[EMAIL PROTECTED]> wrote: > To be honest I'm having some trouble following this through logically. I'll > read through a few more times and see if that fixes the problem. This seems > cluster-related, so I have an interest. Well, perhaps I can explain the function for which I'm

Re: [PATCH] i386 boottime for_each_cpu broken

2005-08-11 Thread Andi Kleen
On Wed, Aug 10, 2005 at 10:59:28PM -0600, Zwane Mwaikambo wrote: > for_each_cpu walks through all processors in cpu_possible_map, which is > defined as cpu_callout_map on i386 and isn't initialised until all > processors have been booted. This breaks things which do for_each_cpu > iterations ear

[patch] Real-Time Preemption, -RT-2.6.13-rc4-V0.7.53-01, High Resolution Timers & RCU-tasklist features

2005-08-11 Thread Ingo Molnar
i have released the -53-01 Real-Time Preemption patch, which can be downloaded from: http://redhat.com/~mingo/realtime-preempt/ there are two new features in this release, which justified the jump from .52 to .53: - the inclusion of the High Resolution Timers patch, written by George An

Re: captive-ntfs FUSE support?

2005-08-11 Thread Daniel Drake
Joseph Fannin wrote: I haven't seen any real changes in NTFS support in the kernel since the mid-2.5 series. Is there somewhere else I should be looking? The development tree is here: http://www.kernel.org/git/gitweb.cgi?p=linux/kernel/git/aia21/ntfs-2.6-devel.git;a=summary Right now, I

[PATCH] do not save thousands of useless symbols in KALLSYMS kernels

2005-08-11 Thread Denis Vlasenko
Sample of my kernel's mostly useless symbols (starting_with:# of symbols): __func__: 624 __vendorstr_: 1760 __pci_fixup_PCI_: 116 __ksymtab_: 2597 __kstrtab_: 2597 __kcrctab_: 2597 __initcall_: 236 __devicestr_: 4686 __devices_: 1760 Total: 16973 Lines in System.map: 39735 Excluding them from in-

[PATCH] 2.4.31: fix isofs mount options parser

2005-08-11 Thread Andrey J. Melnikoff (TEMHOTA)
Hello Marcelo, LKML. Previos patch incomplete and fix only gcc warnings. New patch attached. Description: This patch pix gcc-3.4 warnings, andfix broken logic in mount options parser. --- cut --- inode.c: In function `parse_options': inode.c:341: warning: comparison of unsigned expression < 0 is

IBM HDAPS - how to freeze i/o?

2005-08-11 Thread Jon Escombe
The HDAPS (IBM ThinkPad Hard Disk Active Protection System) project currently has working code to read the accelerometer data, and to park the hard disk. However, we're going to need a way to keep the disk idle following the park command, as any subsequent command reaching the disk may reactiv

Re: [PATCH] do not save thousands of useless symbols in KALLSYMS kernels

2005-08-11 Thread Paulo Marques
Denis Vlasenko wrote: Sample of my kernel's mostly useless symbols (starting_with:# of symbols): __func__: 624 __vendorstr_: 1760 __pci_fixup_PCI_: 116 __ksymtab_: 2597 __kstrtab_: 2597 __kcrctab_: 2597 __initcall_: 236 __devicestr_: 4686 __devices_: 1760 Total: 16973 Lines in System.map: 39735

Re: [Patch]: latency histogram patch cleanup

2005-08-11 Thread Ingo Molnar
* yangyi <[EMAIL PROTECTED]> wrote: > Hi, Ingo > > According to your suggestion, I check your cleanup and correct some > errors and modify latency type decision. > > This patch corrects some latency histogram configration options name, > adds a field to cpu_trace struct, removes that ugly lat

Re: [PATCH] latency logger for realtime-preempt-2.6.12-final-V0.7.51-30

2005-08-11 Thread Ingo Molnar
* Daniel Walker <[EMAIL PROTECTED]> wrote: > On Thu, 2005-08-04 at 15:52 +0200, Ingo Molnar wrote: > > > would be nice to clean up the impact of the latency-histogram code some > > more though: e.g. the #ifdef jungle check_critical_timing() is > > disgusting. Could be cleaned up by always reco

Re: [PATCH] do not save thousands of useless symbols in KALLSYMS kernels

2005-08-11 Thread Denis Vlasenko
On Thursday 11 August 2005 14:16, Paulo Marques wrote: > Denis Vlasenko wrote: > > Sample of my kernel's mostly useless symbols > > (starting_with:# of symbols): > > > > __func__: 624 > > __vendorstr_: 1760 > > __pci_fixup_PCI_: 116 > > __ksymtab_: 2597 > > __kstrtab_: 2597 > > __kcrctab_: 2597 >

Re: fcntl(F GETLEASE) semantics??

2005-08-11 Thread Trond Myklebust
to den 11.08.2005 Klokka 10:14 (+0200) skreiv Michael Kerrisk: > No. The behavior in Linux recently, and arbitrarily (IMO) changed: The change was NOT arbitrary. It was deliberate and for the reasons stated. The whole point of leases is to support CIFS oplocks for Samba and NFSv4 delegations in

Re: [RFC,PATCH] Use RCU to protect tasklist for unicast signals

2005-08-11 Thread Oleg Nesterov
Paul E. McKenney wrote: > > --- linux-2.6.13-rc6/kernel/signal.c 2005-08-08 19:59:24.0 -0700 > +++ linux-2.6.13-rc6-tasklistRCU/kernel/signal.c 2005-08-10 > 08:20:25.0 -0700 > @@ -1151,9 +1151,13 @@ int group_send_sig_info(int sig, struct > > ret = check_kill_permissio

Re: Standardize shutdown of the system from enviroment control modules

2005-08-11 Thread Pavel Machek
Hi! > Currently snsc_event for Altix systems sends SIGPWR to init (and abuses > tasklist_lock..) while the sbus drivers call execve for /sbin/shutdown > (which is also ugly, it should at least use call_usermodehelper) > With normal sysvinit both will end up the same, but I suspect the > shutdown v

Re: CCITT-CRC16 in kernel

2005-08-11 Thread linux-os \(Dick Johnson\)
On Wed, 10 Aug 2005 [EMAIL PROTECTED] wrote: >> Does anybody know what the CRC of a known string is supposed >> to be? I have documentation that states that the CCITT CRC-16 >> of "123456789" is supposed to be 0xe5cc and "A" is supposed >> to be 0x9479. The kernel one doesn't do this. In fact, I

[patch 0/7] lockless pagecache 2

2005-08-11 Thread Nick Piggin
This is my second attempt at a lockless pagecache. Patches are against 2.6.13-rc6, and have had reasonable stressing (albeit on small SMPs). Main changes since last seen: * Code clarity and commenting improvement. * Fix race where multiple concurrent failed speculative reference takers could

[patch 1/7] mm: remove PageReserved rollup

2005-08-11 Thread Nick Piggin
1/7 This rollup is a patchset all on its own. There is a recent thread on linux-kernel if it interests you. Required by lockless pagecache for consistent page refcounting -- SUSE Labs, Novell Inc. Index: linux-2.6/mm/rmap.c === --

[patch 3/7] mm: speculative get_page

2005-08-11 Thread Nick Piggin
3/7 -- SUSE Labs, Novell Inc. If we can be sure that elevating the page_count on a pagecache page will pin it, we can speculatively run this operation, and subsequently check to see if we hit the right page rather than relying on holding a lock or otherwise pinning a reference to the page. This

[patch 2/7] mm: PG_free flag

2005-08-11 Thread Nick Piggin
2/7 -- SUSE Labs, Novell Inc. In a future patch we can no longer rely on page_count being stable at any time, so we can no longer overload PagePrivate && page_count == 0 to mean the page is free and on the buddy lists. Index: linux-2.6/include/linux/page-flags.h

[patch 4/7] radix-tree: lookup_slot

2005-08-11 Thread Nick Piggin
4/7 Required by lockless pagecache in order to get a pointer to a pagecache struct page. -- SUSE Labs, Novell Inc. From: Hans Reiser <[EMAIL PROTECTED]> Reiser4 uses radix trees to solve a trouble reiser4_readdir has serving nfs requests. Unfortunately, radix tree api lacks an operation suita

[patch 5/7] radix-tree: lockless readside

2005-08-11 Thread Nick Piggin
5/7 -- SUSE Labs, Novell Inc. Make radix tree lookups safe to be performed without locks. Readers are protected against nodes being deleted by using RCU based freeing. Readers are protected against new node insertion by using memory barriers to ensure the node itself will be properly written bef

Re: fcntl(F GETLEASE) semantics??

2005-08-11 Thread Michael Kerrisk
> Von: Trond Myklebust <[EMAIL PROTECTED]> > to den 11.08.2005 Klokka 10:14 (+0200) skreiv Michael Kerrisk: > > > No. The behavior in Linux recently, and arbitrarily (IMO) changed: > > The change was NOT arbitrary. Okay -- I'm puzzled. Two of the people that I understand to have had a strong

[patch 6/7] mm: lockless pagecache

2005-08-11 Thread Nick Piggin
6/7 -- SUSE Labs, Novell Inc. Use the speculative get_page and the lockless radix tree lookups to introduce lockless page cache lookups (ie. no mapping->tree_lock). The only atomicity changes this should introduce is the use of a non atomic pagevec lookup for truncate, however what atomicity gu

[patch 7/7] mm: spinlock tree_lock

2005-08-11 Thread Nick Piggin
7/7 -- SUSE Labs, Novell Inc. With practially all the read locks gone from mapping->tree_lock, convert the lock from an rwlock back to a spinlock. The remaining locks including the read locks mainly deal with IO submission and not the lookup fastpaths. Index: linux-2.6/fs/buffer.c

[AES] Add module alias to x86_64 implementation

2005-08-11 Thread Herbert Xu
On Tue, Aug 09, 2005 at 12:16:18AM -0400, James Morris wrote: > > > > I cant test it due to lack of hardware. Will find someone who does. > > > modprobe aes is done by openswan, works on ppc, i386, but not on x86_64. > > > > This works, tested it. modprobe -v aes > > insmod > > /lib/modules/2.6.1

Re: Linux-2.6.13-rc6: aic7xxx testers please..

2005-08-11 Thread hunold
Hello Philipp, I got the following OOPS from running "alevtd -F -d -v /dev/vbi0" with my Siemens-DVB-C on a Dual-i686-600. I'm able to reproduce this even running a 2.6.12-rc6 without the nvidia module tainting the kernel. So you're using the analog tuner of the card to watch analog cable tv a

Re: fcntl(F GETLEASE) semantics??

2005-08-11 Thread Trond Myklebust
to den 11.08.2005 Klokka 14:27 (+0200) skreiv Michael Kerrisk: > And I pointed out that the existing behaviour (which is > still current in 2.6.13-rc4) is inconsistent: > > http://marc.theaimsgroup.com/?l=linux-kernel&m=111511455406623&w=2 > > Some further testing showed the following (both

i386: 2.6.13-rc4 and -rc6 spontaneously reboot

2005-08-11 Thread Chuck Ebbert
Both -rc4 and -rc6 just silently reboot after two or three days. This never happened with -rc3 and earlier kernels. The serial console shows nothing. The only config change I made from -rc3 was to add schedstats -- could that be causing this? Hardware: Dell Workstation 610 (i440GX) 2 Pentiu

Re: [PATCH 1/14] i386 / Make write ldt return error code

2005-08-11 Thread Chris Wright
* [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: > Xen requires error returns from the hypercall to update LDT entries, > and this generates completely equivalent code on native. The whole lot looks quite nice. I've sucked them into a git tree with the full set until Andrew's back. If it's useful

[patch] Make sharp zaurus sl-5500 use ucb1x00 generic infrastructure

2005-08-11 Thread Pavel Machek
Make collie use ucb1x00 core. Signed-off-by: Pavel Machek <[EMAIL PROTECTED]> --- commit 4a7a0c6b2c3845ba652b7a27c6e65099aea53b27 tree 1e15e85e6fce3adaca5720f06544555fcb31f0f6 parent 5f1a0d9f2bef25e7620b37d02ad2c94875ea9908 author <[EMAIL PROTECTED](none)> Thu, 11 Aug 2005 14:53:29 +0200 committe

Re: NCQ support NVidia NForce4 (CK804) SATAII

2005-08-11 Thread Lee Revell
On Thu, 2005-08-11 at 09:09 +0200, Gábor Lénárt wrote: > I want to buy a new system including > motherboard with some Athlon64 CPU. I was told that nforce4 chipset is > the "right" choice. However I'm using *only* Linux Who told you that? Some Windows user? It's common knowledge that Nvidia is

RE: [RFC][2.6.12.3] IRQ compression/sharing patch

2005-08-11 Thread Protasevich, Natalie
> > The only problem is here: > > > > + if (i < NR_IRQS) { > > + gsi_2_irq[gsi] = i; > > + printk(KERN_INFO "GSI %d sharing vector 0x%02X and IRQ > > %d\n", > > + gsi, vector, i); > > + return i; > > + } > > + > > + i = next_irq++; > > >

Re: fcntl(F GETLEASE) semantics??

2005-08-11 Thread Michael Kerrisk
Trond, > Von: Trond Myklebust <[EMAIL PROTECTED]> > > to den 11.08.2005 Klokka 14:27 (+0200) skreiv Michael Kerrisk: > > And I pointed out that the existing behaviour (which is > > still current in 2.6.13-rc4) is inconsistent: > > > > http://marc.theaimsgroup.com/?l=linux-kernel&m=11151145540662

Re: [PATCH] consolidate sys_ptrace

2005-08-11 Thread Roman Zippel
Hi, On Wed, 10 Aug 2005, Christoph Hellwig wrote: > The sys_ptrace boilerplate code (everything outside the big switch > statement for the arch-specific requests) is shared by most > architectures. This patch moves it to kernel/ptrace.c and leaves the > arch-specific code as arch_ptrace. No obj

via-rhine + link loss + autoneg off == trouble

2005-08-11 Thread Denis Vlasenko
I think I finally know what's going on. Again, the recipe: * have via-rhine NIC * unplug network cable * reboot box * force HDX (I do in with ethtool -s if autoneg off duplex half) * plug cable back * kernel still thinks that carrier is off despite "ethtool if" saying that link is detected. Why

[PATCH] deinline netif_carrier_on/off

2005-08-11 Thread Denis Vlasenko
These functions are not called frequently, let's save some space. # grep -r 'netif_carrier_o[nf]' linux-2.6.12 | wc -l 246 # size vmlinux.org vmlinux.carrier textdata bss dec hex filename 4339634 1054414 259296 5653344 564360 vmlinux.org 4337710 1054414 259296 5651420 563bdc v

Occasional IDE lost interrupts

2005-08-11 Thread Benjamin Herrenschmidt
Hi Bart ! That seem to be a new problem though I can't tell for sure when it started. I've had reports from users for some time now of "occasional" (once in a while, maybe once a day) lost interrupts on the mac hard disk. I have about 30 days uptime and just saw a similar one in my log. It happen

[PATCH 2.6.12.4] sata_sis.c: Introducing device ID 0x182

2005-08-11 Thread Rainer Koenig
Our new SIS based AMD desktop systems come with a very new SIS chipset that has a Serial ATA controller that has the device ID 0x182. Without this patch the system won't be able to use the hard disk in native mode. As a proof of concept we patched the kernel on a system with an older SIS chipset an

__init()

2005-08-11 Thread raja
Hi, Is there any way to execute my own __init() instead of default __init() while running an executable. - 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

Re: __init()

2005-08-11 Thread linux-os \(Dick Johnson\)
On Thu, 11 Aug 2005, raja wrote: > Hi, > Is there any way to execute my own __init() instead of default > __init() while running an executable. > - Sure you link your object file with your own instead of using the default gcc -c -o myprog.o myprog.c as -o start.o start.S

Re: 2.6.13-rc5 panic with tg3, e1000, vlan, tso

2005-08-11 Thread Herbert Xu
Vladimir B. Savkin <[EMAIL PROTECTED]> wrote: > > Today my gateway crashed. > I wrote down crash info on a paper. > It's not complete since only last 25 lines were shown, > but complete stackdump is here (I omitted hexadecimal values). > > Call Trace: >tcp_write_xmit+318 This should be fixe

Re: [openib-general] Re: [PATCH repost] PROT_DONTCOPY: ifiniband uverbs fork support

2005-08-11 Thread Gleb Natapov
On Wed, Aug 10, 2005 at 04:27:31PM +0100, Hugh Dickins wrote: > On Wed, 10 Aug 2005, Gleb Natapov wrote: > > On Wed, Aug 10, 2005 at 02:22:40PM +0100, Hugh Dickins wrote: > > > > > > Your stack example is a good one: if we end up setting VM_DONTCOPY on > > > the user stack, then I don't think fork

Re: Need help in understanding x86 syscall

2005-08-11 Thread Bodo Eggert
Ukil a <[EMAIL PROTECTED]> wrote: > Now I had the doubt that if the the syscall > implementation is very large will the scheduling and > other interrupts be blocked for the whole time till > the process returns from the ISR (because in an ISR by > default the interrupts are disabled unless “sti” i

Pls help me understand this MCE

2005-08-11 Thread David King
I'm new at this so I'm learning my way through it and I'd appreciate any guidance. My system freezes solid intermittently for no apparent reason. The serial console shows a kernal panic caused by a machine check exception. mcelog decodes the MCE as follows: CPU 0 4 northbridge TSC f03d1e587b No

Re: Need help in understanding x86 syscall

2005-08-11 Thread Steven Rostedt
On Wed, 2005-08-10 at 22:39 -0700, Ukil a wrote: > I had this question. As per my understanding, in the > Linux system call implementation on x86 architecture > the call flows like this int 0x80 -> syscall -> > sys_call_vector(taken from the table)-> return from > interrupt service routine. > > N

Re: [patch 6/7] mm: lockless pagecache

2005-08-11 Thread Pekka Enberg
Hi Nick, On 8/11/05, Nick Piggin <[EMAIL PROTECTED]> wrote: > +unsigned find_get_pages_nonatomic(struct address_space *mapping, pgoff_t > start, > + unsigned int nr_pages, struct page **pages) > +{ > + unsigned int i; > + unsigned int ret; Rename to nr_pages

[PATCH] Fix panic in the IPMI driver

2005-08-11 Thread Corey Minyard
This panic would only occur in saving panic information to the system log in another panic, and only when sending the panic information to a remote management controller, so it's not a huge deal, but needs to be fixed. Hopefully pasting the message inline will work ok (testing showed it to be fin

Re: fcntl(F GETLEASE) semantics??

2005-08-11 Thread Trond Myklebust
to den 11.08.2005 Klokka 15:22 (+0200) skreiv Michael Kerrisk: > As noted already, I don't know much of CIFS and SAMBA. > But are you saying that it is sensible and consistent that > "a process can open a file read-write, and can't place a > read lease, but can place a write lease"? It is just

Re: Need help in understanding x86 syscall

2005-08-11 Thread linux-os \(Dick Johnson\)
On Thu, 11 Aug 2005, Bodo Eggert wrote: > Ukil a <[EMAIL PROTECTED]> wrote: > >> Now I had the doubt that if the the syscall >> implementation is very large will the scheduling and >> other interrupts be blocked for the whole time till >> the process returns from the ISR (because in an ISR by >>

Re: Need help in understanding x86 syscall

2005-08-11 Thread Steven Rostedt
On Thu, 2005-08-11 at 15:41 +0200, Bodo Eggert wrote: > According to my documentation it isn't. A software interrupt is a far call > with an extra pushf, and a hardware interrupt is protected against recursion > by the PIC, not by an interrupt flag. I disagree with your definition of a system call

Re: Pls help me understand this MCE

2005-08-11 Thread Petr Vandrovec
David King wrote: CPU 0 4 northbridge TSC f03d1e587b Northbridge Watchdog error bit57 = processor context corrupt bit61 = error uncorrected bus error 'generic participation, request timed out generic error mem transaction generic access, level generic' STATUS b2070f0f MCGSTATUS 4 That's

Re: [patch 6/7] mm: lockless pagecache

2005-08-11 Thread Nick Piggin
Hi Pekka, Pekka Enberg wrote: Hi Nick, On 8/11/05, Nick Piggin <[EMAIL PROTECTED]> wrote: +unsigned find_get_pages_nonatomic(struct address_space *mapping, pgoff_t start, + unsigned int nr_pages, struct page **pages) +{ + unsigned int i; + unsigned int re

Re: Linux-2.6.13-rc6: aic7xxx testers please..

2005-08-11 Thread Gene Heskett
On Thursday 11 August 2005 08:37, [EMAIL PROTECTED] wrote: >Hello Philipp, > >> I got the following OOPS from running "alevtd -F -d -v /dev/vbi0" >> with my Siemens-DVB-C on a Dual-i686-600. I'm able to reproduce >> this even running a 2.6.12-rc6 without the nvidia module tainting >> the kernel. >

Re: fcntl(F GETLEASE) semantics??

2005-08-11 Thread Stephen Rothwell
On Thu, 11 Aug 2005 15:22:39 +0200 (MEST) "Michael Kerrisk" <[EMAIL PROTECTED]> wrote: > > > A shared (i.e. read) lease means that there are currently no processes > > that can change the data or metadata (including your own). > ^ > > This

Re: How to reclaim inode pages on demand

2005-08-11 Thread Hugh Dickins
On Thu, 11 Aug 2005, Coywolf Qi Hunt wrote: > > at http://sosdg.org/~coywolf/lxr/source/include/linux/mm.h#L561 > Should the comment be s/page_mapped/page->mapping/ ? No. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More m

Re: fcntl(F GETLEASE) semantics??

2005-08-11 Thread Trond Myklebust
to den 11.08.2005 Klokka 10:06 (-0400) skreiv Trond Myklebust: > The NFSv4 spec explicitly states that > > When a client has a read open delegation, it may not make any changes > to the contents or attributes of the file but it is assured that no > other client may do so. When a client has

Re: [RFC,PATCH] Use RCU to protect tasklist for unicast signals

2005-08-11 Thread Paul E. McKenney
On Thu, Aug 11, 2005 at 11:56:34AM +0200, Ingo Molnar wrote: > > * Paul E. McKenney <[EMAIL PROTECTED]> wrote: > > > Hello! > > > > This patch is an experiment in use of RCU for individual code paths > > that read-acquire the tasklist lock, in this case, unicast signal > > delivery. It passes

Re: fcntl(F GETLEASE) semantics??

2005-08-11 Thread J. Bruce Fields
On Thu, Aug 11, 2005 at 10:06:31AM -0400, Trond Myklebust wrote: > The NFSv4 spec explicitly states that > > When a client has a read open delegation, it may not make any changes > to the contents or attributes of the file but it is assured that no > other client may do so. I don't understa

Re: Need help in understanding x86 syscall

2005-08-11 Thread Steven Rostedt
On Thu, 2005-08-11 at 10:04 -0400, linux-os (Dick Johnson) wrote: > Every interrupt software, or hardware, results in the branched > procedure being executed with the interrupts OFF. That's why > one of the first instructions in the kernel entry for a syscall > is 'sti' to turn them back on. Look a

[PATCH] largefile support for accounting

2005-08-11 Thread Peter Staubach
Hi. There is a problem in the accounting subsystem in the kernel can not correctly handle files larger than 2GB. The output file containing the process accounting data can grow very large if the system is large enough and active enough. If the 2GB limit is reached, then the system simply stops

Re: fcntl(F GETLEASE) semantics??

2005-08-11 Thread Michael Kerrisk
Trond, > to den 11.08.2005 Klokka 15:22 (+0200) skreiv Michael Kerrisk: > > > As noted already, I don't know much of CIFS and SAMBA. > > But are you saying that it is sensible and consistent that > > "a process can open a file read-write, and can't place a > > read lease, but can place a write l

Re: CCITT-CRC16 in kernel

2005-08-11 Thread linux
>> Using this bit-ordering, and omitting the x^16 term as is >> conventional (it's implicit in the implementation), the polynomials >> come out as: >> CRC-16: 0xa001 >> CRC-CCITT: 0x8408 > > Huh? That's the problem. > > X^16 + X^12 + X^5 + X^0 = 0x1021, not 0xa001 > > Also, > > X^16 + X^15 + X^

Re: [PATCH] consolidate sys_ptrace

2005-08-11 Thread Christoph Hellwig
On Thu, Aug 11, 2005 at 12:44:34PM +0200, Roman Zippel wrote: > No objection really, but I recently reformatted the m68k sys_ptrace() so > it would be easier to regenerate your changes on top of this. I can do > this for you if we can agree on to merge at least the m68k ptrace changes > before t

Re: [openib-general] Re: [PATCH repost] PROT_DONTCOPY: ifiniband uverbs fork support

2005-08-11 Thread Hugh Dickins
On Thu, 11 Aug 2005, Gleb Natapov wrote: > What about the idea that was floating around about new VM flag that will > instruct kernel to copy pages belonging to the vma on fork instead of mark > them as cow? It's a pretty good idea, and thanks for reminding us of it. It suffers from the general d

Re: [openib-general] Re: [PATCH repost] PROT_DONTCOPY: ifiniband uverbs fork support

2005-08-11 Thread Gleb Natapov
On Thu, Aug 11, 2005 at 03:04:29PM +0100, Hugh Dickins wrote: > On Thu, 11 Aug 2005, Gleb Natapov wrote: > > What about the idea that was floating around about new VM flag that will > > instruct kernel to copy pages belonging to the vma on fork instead of mark > > them as cow? > > It's a pretty go

Re: [openib-general] Re: [PATCH repost] PROT_DONTCOPY: ifiniband uverbs fork support

2005-08-11 Thread Michael S. Tsirkin
Quoting r. Hugh Dickins <[EMAIL PROTECTED]>: > Subject: Re: [openib-general] Re: [PATCH repost] PROT_DONTCOPY: ifiniband > uverbs fork support > > On Thu, 11 Aug 2005, Gleb Natapov wrote: > > What about the idea that was floating around about new VM flag that will > > instruct kernel to copy page

  1   2   3   4   >