Re: [3/3,v3] tools/power turbostat: Enable accumulate RAPL display

2021-03-25 Thread Kurt Garloff
gt;>> idx = IDX_PKG_ENERGY; >>> break; >>> case MSR_DRAM_ENERGY_STATUS: >>> @@ -353,7 +357,7 @@ int idx_valid(int idx) >>> { >>> switch (idx) { >>> case IDX_PKG_ENERGY: >>> - return do_rapl & RAPL_PKG; >>> + return do_rapl & (RAPL_PKG | RAPL_AMD_F17H); >>> case IDX_DRAM_ENERGY: >>> return do_rapl & RAPL_DRAM; >>> case IDX_PP0_ENERGY: >>> -- >>> 2.25.1 Unsurprisingly, the patch from Bas works for me as well. (Tested on a Zen 3 and an embedded Zen.) Tested-by: Kurt Garloff Signed-off-by: Kurt Garloff Thanks, -- Kurt Garloff , Cologne, Germany

Re: [GIT PULL] Floppy patch for 5.12

2021-02-04 Thread Kurt Garloff
gain, despite current libblkid. (Fortunately, most use cdrom these days.) Best, -- Kurt Garloff , Cologne, Germany

[PATCH 1/1]: turbostat: Fix Pkg Power on Zen

2021-02-01 Thread Kurt Garloff
commit 5d399d05df42ffcaa2b3836b580631c4024487a0 Author: Kurt Garloff Date:   Mon Feb 1 09:01:47 2021 +     turbostat: Fix Pkg Power tracking on Zen         AMD Zen processors use a different MSR (MSR_PKG_ENERGY_STAT) than intel     (MSR_PKG_ENERGY_STATUS) to track package power; however we

Re: turbostat: Fix Pkg Power on Zen

2021-02-01 Thread Kurt Garloff
    98.80   0.06 1   17  9   0.40    2329    3400    308 0   38  282 0.00    0.35    99.29   [...] -- Kurt Garloff Cologne, Germany On 26/12/2020 13:13, Kurt Garloff wrote: > Hi Len, > > find attached fix to avoid exiting with -13 on Zen. Patch is against &g

Re: [PATCH] floppy: reintroduce O_NDELAY fix

2021-01-26 Thread Kurt Garloff
MODE) to fail. It turns out that >> this is being used setfdprm userspace for ioctl-only open(). >> >> Reintroduce back the original behavior wrt !(FMODE_READ|FMODE_WRITE) >> modes, while still keeping the original O_NDELAY bug fixed. >> >> Cc: sta...@vger.kernel.o

Re: NFS 4.2 client support broken on 5.10.5

2021-01-08 Thread Kurt Garloff
Hi Trond, Am 08.01.21 um 15:39 schrieb Kurt Garloff: > Hi Trond, > > On 08/01/2021 12:58, Trond Myklebust wrote: >> On Fri, 2021-01-08 at 12:41 +0100, Kurt Garloff wrote: >>> [...] >>> The kernel tree is on an NFS share, and I run 5.10.5 client kernel >&g

Re: NFS 4.2 client support broken on 5.10.5

2021-01-08 Thread Kurt Garloff
Hi Trond, On 08/01/2021 12:58, Trond Myklebust wrote: > On Fri, 2021-01-08 at 12:41 +0100, Kurt Garloff wrote: >> Hi Neil, Anna, Trond, >> >> compiling a kernel, I suddenly started getting errors from objtool >> orc. >> (This first occurs on init/main.o.) >

NFS 4.2 client support broken on 5.10.5

2021-01-08 Thread Kurt Garloff
be able to see right away what's wrong. Best, -- Kurt Garloff Cologne, Germany /* testpwrite.c * reproduces issue on NFS 4.2 client on Linux 5.10.5 * (c) Kurt Garloff , 1/2021 * License: GNU GPL 2 or later */ #include #include #include #include #include #include #include #define MAXBUF

turbostat: Fix Pkg Power on Zen

2020-12-26 Thread Kurt Garloff
Hi Len, find attached fix to avoid exiting with -13 on Zen. Patch is against turbostat as included in Linux-5.10.2. Please merge. PS: This is probably material for -stable, as it used to work before on Zen (Zen2 aka Ryzen 3000 in my case). -- Kurt Garloff Cologne, Germany commit

IOMMU vs Ryzen embedded EMMC controller

2019-09-21 Thread Kurt Garloff
mode] (rev 61) Looks like we'd need some quirks to actually create a pci_device handle for the embedded AMD eMMC controller? Thoughts? PS: Please copy me on responses, I'm off LKML for half a decade now :-O -- Kurt Garloff Cologne, Germany

[PATCH] usb/core/devio.c: Don't reject control message to endpoint with wrong direction bit

2013-09-24 Thread Kurt Garloff
Hi, this has been discussed on linux-usb and Alan Stern provided very helpful feedback. Please merge this patch ... From: Kurt Garloff Date: Mon, 23 Sep 2013 14:19:02 +0200 Subject: Tolerate wrong direction bit in endpoint address for control messages Trying to read data from the Pegasus

[PATCH] usb/core/devio.c: Don't reject control message to endpoint with wrong direction bit

2013-09-24 Thread Kurt Garloff
Hi, this has been discussed on linux-usb and Alan Stern provided very helpful feedback. Please merge this patch ... From: Kurt Garloff k...@garloff.de Date: Mon, 23 Sep 2013 14:19:02 +0200 Subject: Tolerate wrong direction bit in endpoint address for control messages Trying to read data

Re: [PATCH] usb/core/devio.c:tolerate wrong direction flag in control endpoints

2013-09-23 Thread Kurt Garloff
Hi Alan, Alan Stern schrieb: > On Mon, 23 Sep 2013, Kurt Garloff wrote: > > > >> that qualifies as a bug or not. Maybe it should not claim to be a > > >> HID device then? > > > Maybe not. This particular combination of bRequestType and > bRequest

Re: [PATCH] usb/core/devio.c:tolerate wrong direction flag in control endpoints

2013-09-23 Thread Kurt Garloff
Hi Alan, On 09/23/2013 04:28 AM, Alan Stern wrote: > On Sun, 22 Sep 2013, Kurt Garloff wrote: > >> Well, this seems to be a question of terminology, no? >> I saw the endpoint byte as consisting of endpoint index plus the direction >> bit. > See the entry for &quo

Re: [PATCH] usb/core/devio.c:tolerate wrong direction flag in control endpoints

2013-09-23 Thread Kurt Garloff
Hi Alan, On 09/23/2013 04:28 AM, Alan Stern wrote: On Sun, 22 Sep 2013, Kurt Garloff wrote: Well, this seems to be a question of terminology, no? I saw the endpoint byte as consisting of endpoint index plus the direction bit. See the entry for Endpoint Address in Chapter 2 (Terms

Re: [PATCH] usb/core/devio.c:tolerate wrong direction flag in control endpoints

2013-09-23 Thread Kurt Garloff
Hi Alan, Alan Stern st...@rowland.harvard.edu schrieb: On Mon, 23 Sep 2013, Kurt Garloff wrote: that qualifies as a bug or not. Maybe it should not claim to be a HID device then? Maybe not. This particular combination of bRequestType and bRequest values (0x22, 0x09

Re: [PATCH] usb/core/devio.c:tolerate wrong direction flag in control endpoints

2013-09-22 Thread Kurt Garloff
Hi Alan, thanks for your review and your constructive comments! Alan Stern schrieb: >On Sun, 22 Sep 2013, Kurt Garloff wrote: > >> Hi, >> >> USB devio rejects control messages when the index does not have the >> direction bit set correctly. > >I woul

[PATCH] usb/core/devio.c:tolerate wrong direction flag in control endpoints

2013-09-22 Thread Kurt Garloff
keep me in copy for the discussion, my participation on LKML is mostly reading summaries from Jonathan and Thorsten these days, unfortunately. -- Kurt Garloff Cologne, Germany commit bc1e4e1ae1d5a4f9b2d263f22c651dd5ba4f8ff9 Author: Kurt Garloff Date: Sun Sep 22 11:54:59 2013 +0200 From

[PATCH] usb/core/devio.c:tolerate wrong direction flag in control endpoints

2013-09-22 Thread Kurt Garloff
keep me in copy for the discussion, my participation on LKML is mostly reading summaries from Jonathan and Thorsten these days, unfortunately. -- Kurt Garloff k...@garloff.de Cologne, Germany commit bc1e4e1ae1d5a4f9b2d263f22c651dd5ba4f8ff9 Author: Kurt Garloff k...@garloff.de Date: Sun Sep 22

Re: [PATCH] usb/core/devio.c:tolerate wrong direction flag in control endpoints

2013-09-22 Thread Kurt Garloff
Hi Alan, thanks for your review and your constructive comments! Alan Stern st...@rowland.harvard.edu schrieb: On Sun, 22 Sep 2013, Kurt Garloff wrote: Hi, USB devio rejects control messages when the index does not have the direction bit set correctly. I wouldn't describe it that way

[PATCH] scsi_scan message cosmetic error

2007-01-08 Thread Kurt Garloff
overkill for something that does not tend to change. Please merge. (Patch applied against latest 2.6.20rc version that I tested.) From: Kurt Garloff <[EMAIL PROTECTED]> Subject: [SCSI SCAN] Fix logging message for PQ3 devices The blacklist flags BLIST_ATTACH_PQ3 has value 0x100, not 0x

[PATCH] scsi_scan message cosmetic error

2007-01-08 Thread Kurt Garloff
overkill for something that does not tend to change. Please merge. (Patch applied against latest 2.6.20rc version that I tested.) From: Kurt Garloff [EMAIL PROTECTED] Subject: [SCSI SCAN] Fix logging message for PQ3 devices The blacklist flags BLIST_ATTACH_PQ3 has value 0x100, not 0x80

Re: [PATCH 3/5] Call security hooks conditionally if the security_op is filled out.

2005-08-25 Thread Kurt Garloff
On Wed, Aug 24, 2005 at 06:20:31PM -0700, Chris Wright wrote: > Call security hooks conditionally if the security_op is filled out. > Branches can be more efficient than the unconditional indirect function > call. Inspired by patch from Kurt Garloff <[EMAIL PROTECTED]>. > >

Re: [PATCH 3/5] Call security hooks conditionally if the security_op is filled out.

2005-08-25 Thread Kurt Garloff
On Wed, Aug 24, 2005 at 06:20:31PM -0700, Chris Wright wrote: Call security hooks conditionally if the security_op is filled out. Branches can be more efficient than the unconditional indirect function call. Inspired by patch from Kurt Garloff [EMAIL PROTECTED]. Signed-off-by: Chris Wright

Re: [PATCH 1/3] Make cap default

2005-07-05 Thread Kurt Garloff
Hi James, On Tue, Jul 05, 2005 at 11:40:40AM -0400, James Morris wrote: > On Tue, 5 Jul 2005, Kurt Garloff wrote: > > > # define COND_SECURITY(seop, def) \ > > (security_opt->seop == NULL) || \ > > security_ops == _securi

Re: [PATCH 1/3] Make cap default

2005-07-05 Thread Kurt Garloff
Hi Tony, On Sun, Jul 03, 2005 at 03:51:52PM -0700, Tony Jones wrote: > On Sun, Jul 03, 2005 at 05:43:33PM +0200, Kurt Garloff wrote: > > > Note that we could think of getting rid of dummy; however, it's > > still used as fallback for stubs that are not implemented by an >

Re: [PATCH 1/3] Make cap default

2005-07-05 Thread Kurt Garloff
Hi Tony, On Sun, Jul 03, 2005 at 03:51:52PM -0700, Tony Jones wrote: On Sun, Jul 03, 2005 at 05:43:33PM +0200, Kurt Garloff wrote: Note that we could think of getting rid of dummy; however, it's still used as fallback for stubs that are not implemented by an LSM. I did not want to change

Re: [PATCH 1/3] Make cap default

2005-07-05 Thread Kurt Garloff
Hi James, On Tue, Jul 05, 2005 at 11:40:40AM -0400, James Morris wrote: On Tue, 5 Jul 2005, Kurt Garloff wrote: # define COND_SECURITY(seop, def) \ (security_opt-seop == NULL) || \ security_ops == capability_security_ops)? \ def

Re: [PATCH 3/3] Use conditional

2005-07-04 Thread Kurt Garloff
Hi Serge, On Mon, Jul 04, 2005 at 07:37:21AM -0500, [EMAIL PROTECTED] wrote: > Quoting Kurt Garloff ([EMAIL PROTECTED]): > > Getting rid of dummy entirely would be better, I agree, but someone > > needs to review that this won't break anything. > > Unfortunately I th

Re: [PATCH 3/3] Use conditional

2005-07-04 Thread Kurt Garloff
Hi Serge, On Mon, Jul 04, 2005 at 07:01:05AM -0500, [EMAIL PROTECTED] wrote: > Quoting Tony Jones ([EMAIL PROTECTED]): > > On Mon, Jul 04, 2005 at 08:59:02AM +0200, Kurt Garloff wrote: > > > > > > The topic of replacing dummy (with capability) was discus

Re: [PATCH 3/3] Use conditional

2005-07-04 Thread Kurt Garloff
Hi Serge, On Mon, Jul 04, 2005 at 07:01:05AM -0500, [EMAIL PROTECTED] wrote: Quoting Tony Jones ([EMAIL PROTECTED]): On Mon, Jul 04, 2005 at 08:59:02AM +0200, Kurt Garloff wrote: The topic of replacing dummy (with capability) was discussed there last week, in the context of stacker

Re: [PATCH 3/3] Use conditional

2005-07-04 Thread Kurt Garloff
Hi Serge, On Mon, Jul 04, 2005 at 07:37:21AM -0500, [EMAIL PROTECTED] wrote: Quoting Kurt Garloff ([EMAIL PROTECTED]): Getting rid of dummy entirely would be better, I agree, but someone needs to review that this won't break anything. Unfortunately I think it's way too soon

Re: 2.6.11 vs 2.6.10 slowdown on i686

2005-03-18 Thread Kurt Garloff
6.10. > If not, complain again :) Is there a clean patchset that we should look at to test? Regards, -- Kurt Garloff, Director SUSE Labs, Novell Inc. pgp77K575xjBf.pgp Description: PGP signature

Re: 2.6.11 vs 2.6.10 slowdown on i686

2005-03-18 Thread Kurt Garloff
at to test? Regards, -- Kurt Garloff, Director SUSE Labs, Novell Inc. pgp77K575xjBf.pgp Description: PGP signature

Re: [rsbac] Thoughts on the "No Linux Security Modules framework" old claims

2005-02-25 Thread Kurt Garloff
Hi Amon, On Thu, Feb 24, 2005 at 09:28:38AM +0100, Amon Ott wrote: > On Donnerstag 24 Februar 2005 01:55, Kurt Garloff wrote: > > If you apply them (and I hope Linus will), capabilities is default > > and you can replace that by loading an LSM. You can stack capability > >

Re: [rsbac] Thoughts on the No Linux Security Modules framework old claims

2005-02-25 Thread Kurt Garloff
Hi Amon, On Thu, Feb 24, 2005 at 09:28:38AM +0100, Amon Ott wrote: On Donnerstag 24 Februar 2005 01:55, Kurt Garloff wrote: If you apply them (and I hope Linus will), capabilities is default and you can replace that by loading an LSM. You can stack capability on top of the primary LSM

Re: [rsbac] Thoughts on the "No Linux Security Modules framework" old claims

2005-02-23 Thread Kurt Garloff
default and you can replace that by loading an LSM. You can stack capability on top of the primary LSM again, if the latter supports this. Best regards, -- Kurt Garloff, Director SUSE Labs, Novell Inc. pgpoRQjzM1H0i.pgp Description: PGP signature

Re: [rsbac] Thoughts on the No Linux Security Modules framework old claims

2005-02-23 Thread Kurt Garloff
supports this. Best regards, -- Kurt Garloff, Director SUSE Labs, Novell Inc. pgpoRQjzM1H0i.pgp Description: PGP signature

[PATCH] New 2/5: LSM hooks rework

2005-02-14 Thread Kurt Garloff
Hi, On Sun, Feb 13, 2005 at 04:11:09PM -0500, Kurt Garloff wrote: > From: Kurt Garloff <[EMAIL PROTECTED]> > Subject: Clean LSM stub file [...] So, for convenience, I merged Andreas' fix on top of this patch into a new patch 2, which is attached. So CONFIG_SECURITY_NETWORK disabled

Re: [PATCH] 4/5: LSM hooks rework

2005-02-14 Thread Kurt Garloff
Hi Rik, On Mon, Feb 14, 2005 at 11:54:07AM -0500, Rik van Riel wrote: > On Sun, 13 Feb 2005, Kurt Garloff wrote: > > >The case that security_ops points to the default capability_ > >security_ops is the fast path and arguably the more likely one > >on most systems. >

Re: [PATCH] 5/5: LSM hooks rework

2005-02-14 Thread Kurt Garloff
Hi James, On Mon, Feb 14, 2005 at 11:50:01AM -0500, James Morris wrote: > On Sun, 13 Feb 2005, Kurt Garloff wrote: > > > /* Condition for invocation of non-default security_op */ > > #define COND_SECURITY(seop, def) \ > > - (likely(security_ops == _security_ops))

Re: [PATCH] 2/5: LSM hooks rework

2005-02-14 Thread Kurt Garloff
Hi Andreas, On Mon, Feb 14, 2005 at 03:30:33PM +0100, Andreas Gruenbacher wrote: > On Sun, 2005-02-13 at 22:11, Kurt Garloff wrote: > > Rather than having every LSM hook twice, once for the case with > > CONFIG_SECURITY enabled and once for the disabled case, put > > eve

Re: [PATCH] 2/5: LSM hooks rework

2005-02-14 Thread Kurt Garloff
Hi Andreas, On Mon, Feb 14, 2005 at 03:30:33PM +0100, Andreas Gruenbacher wrote: On Sun, 2005-02-13 at 22:11, Kurt Garloff wrote: Rather than having every LSM hook twice, once for the case with CONFIG_SECURITY enabled and once for the disabled case, put everything in one inline function

Re: [PATCH] 5/5: LSM hooks rework

2005-02-14 Thread Kurt Garloff
Hi James, On Mon, Feb 14, 2005 at 11:50:01AM -0500, James Morris wrote: On Sun, 13 Feb 2005, Kurt Garloff wrote: /* Condition for invocation of non-default security_op */ #define COND_SECURITY(seop, def) \ - (likely(security_ops == capability_security_ops))? def: security_ops

Re: [PATCH] 4/5: LSM hooks rework

2005-02-14 Thread Kurt Garloff
Hi Rik, On Mon, Feb 14, 2005 at 11:54:07AM -0500, Rik van Riel wrote: On Sun, 13 Feb 2005, Kurt Garloff wrote: The case that security_ops points to the default capability_ security_ops is the fast path and arguably the more likely one on most systems. Quite a few distributions ship

[PATCH] New 2/5: LSM hooks rework

2005-02-14 Thread Kurt Garloff
Hi, On Sun, Feb 13, 2005 at 04:11:09PM -0500, Kurt Garloff wrote: From: Kurt Garloff [EMAIL PROTECTED] Subject: Clean LSM stub file [...] So, for convenience, I merged Andreas' fix on top of this patch into a new patch 2, which is attached. So CONFIG_SECURITY_NETWORK disabled should work again

Re: Bogus REPORT_LUNS responses breaks SCSI LUN detection

2005-02-13 Thread Kurt Garloff
1 channel 0 id 8 lun 0x0200080c0400 has a LUN larger than > currently supported. LUN flattening issue? > I noticed that these LUN hex values decode to text fragments: > Easy RAID decodes to: 'e.syRAID' > Vendor=Transtec, lun decodes to 't.anstec'. Ask them to fix it. Regards, -- Kurt Garloff, Director SUSE Labs, Novell Inc. pgpgtc8QYpG6h.pgp Description: PGP signature

[PATCH] 5/5: LSM hooks rework

2005-02-13 Thread Kurt Garloff
From: Kurt Garloff <[EMAIL PROTECTED]> Subject: Test security_enabled var rather than security_ops pointer References: 40217, 39439 Rather than doing a pointer comparison, test an integer var for being null. Should be slightly faster. I consider this patch as optional. Note that i

[PATCH] 4/5: LSM hooks rework

2005-02-13 Thread Kurt Garloff
From: Kurt Garloff <[EMAIL PROTECTED]> Subject: Consider the capability case the likely one References: 40217, 39439 The case that security_ops points to the default capability_ security_ops is the fast path and arguably the more likely one on most systems. So mark it likely to tell the co

[PATCH] 2/5: LSM hooks rework

2005-02-13 Thread Kurt Garloff
From: Kurt Garloff <[EMAIL PROTECTED]> Subject: Clean LSM stub file References: 40217, 39439 Rather than having every LSM hook twice, once for the case with CONFIG_SECURITY enabled and once for the disabled case, put everything in one inline function. This reduces the chance of the two to

[PATCH] 3/5: LSM hooks rework

2005-02-13 Thread Kurt Garloff
From: Kurt Garloff <[EMAIL PROTECTED]> Subject: Replace indirect calls by a branch References: 40217, 39439 In the LSM stub collection, rather do a branch than an indirect call. Many of the functions called do only return 0 or do nothing for the default (capability) case. This is a fas

[PATCH] 1/5: LSM hooks rework

2005-02-13 Thread Kurt Garloff
From: Kurt Garloff <[EMAIL PROTECTED]> Subject: Default to capability rather than dummy if no LSM is loaded References: 40217, 39439 If a kernel is compiled with CONFIG_SECURITY to enable LSM, the default behaviour changes unless a user load capability. This is undesirable. This patch

[PATCH] 0/5: LSM hooks rework

2005-02-13 Thread Kurt Garloff
hes are against 2.6.11-rc4 and follow in subsequent mails. -- Kurt Garloff, Director SUSE Labs, Novell Inc. pgpmSdj323S6S.pgp Description: PGP signature

[PATCH] 0/5: LSM hooks rework

2005-02-13 Thread Kurt Garloff
are against 2.6.11-rc4 and follow in subsequent mails. -- Kurt Garloff, Director SUSE Labs, Novell Inc. pgpmSdj323S6S.pgp Description: PGP signature

[PATCH] 1/5: LSM hooks rework

2005-02-13 Thread Kurt Garloff
From: Kurt Garloff [EMAIL PROTECTED] Subject: Default to capability rather than dummy if no LSM is loaded References: 40217, 39439 If a kernel is compiled with CONFIG_SECURITY to enable LSM, the default behaviour changes unless a user load capability. This is undesirable. This patch makes

[PATCH] 3/5: LSM hooks rework

2005-02-13 Thread Kurt Garloff
From: Kurt Garloff [EMAIL PROTECTED] Subject: Replace indirect calls by a branch References: 40217, 39439 In the LSM stub collection, rather do a branch than an indirect call. Many of the functions called do only return 0 or do nothing for the default (capability) case. This is a fast-path

[PATCH] 2/5: LSM hooks rework

2005-02-13 Thread Kurt Garloff
From: Kurt Garloff [EMAIL PROTECTED] Subject: Clean LSM stub file References: 40217, 39439 Rather than having every LSM hook twice, once for the case with CONFIG_SECURITY enabled and once for the disabled case, put everything in one inline function. This reduces the chance of the two to go out

[PATCH] 4/5: LSM hooks rework

2005-02-13 Thread Kurt Garloff
From: Kurt Garloff [EMAIL PROTECTED] Subject: Consider the capability case the likely one References: 40217, 39439 The case that security_ops points to the default capability_ security_ops is the fast path and arguably the more likely one on most systems. So mark it likely to tell the compiler

[PATCH] 5/5: LSM hooks rework

2005-02-13 Thread Kurt Garloff
From: Kurt Garloff [EMAIL PROTECTED] Subject: Test security_enabled var rather than security_ops pointer References: 40217, 39439 Rather than doing a pointer comparison, test an integer var for being null. Should be slightly faster. I consider this patch as optional. Note that it does

Re: Bogus REPORT_LUNS responses breaks SCSI LUN detection

2005-02-13 Thread Kurt Garloff
that these LUN hex values decode to text fragments: Easy RAID decodes to: 'e.syRAID' Vendor=Transtec, lun decodes to 't.anstec'. Ask them to fix it. Regards, -- Kurt Garloff, Director SUSE Labs, Novell Inc. pgpgtc8QYpG6h.pgp Description: PGP signature

Re: SMP spin-locks

2001-06-14 Thread Kurt Garloff
On Thu, Jun 14, 2001 at 01:26:05PM -0400, Richard B. Johnson wrote: > Question 2: What is the purpose of the code sequence, "repz nop" Puts iP4 into low power mode. Regards, -- Kurt Garloff <[EMAIL PROTECTED]> Eindhoven, NL GPG key: See mail

Re: SMP spin-locks

2001-06-14 Thread Kurt Garloff
On Thu, Jun 14, 2001 at 01:26:05PM -0400, Richard B. Johnson wrote: Question 2: What is the purpose of the code sequence, repz nop Puts iP4 into low power mode. Regards, -- Kurt Garloff [EMAIL PROTECTED] Eindhoven, NL GPG key: See mail header, key servers

Re: threading question

2001-06-13 Thread Kurt Garloff
ch faster than thread creation. Regards, -- Kurt Garloff <[EMAIL PROTECTED]> Eindhoven, NL GPG key: See mail header, key servers Linux kernel development SuSE GmbH, Nuernberg, FRG SCSI, Security PGP signature

Re: threading question

2001-06-13 Thread Kurt Garloff
. Regards, -- Kurt Garloff [EMAIL PROTECTED] Eindhoven, NL GPG key: See mail header, key servers Linux kernel development SuSE GmbH, Nuernberg, FRG SCSI, Security PGP signature

[PATCH] ide oops in 2.2.19/2.4.4

2001-06-11 Thread Kurt Garloff
D3130AT, 12417MB w/512kB Cache, CHS=1583/255/63, (U)DMA hdc: st3144AT, 124MB w/32kB Cache, CHS=1001/15/17 Regards, -- Kurt Garloff <[EMAIL PROTECTED]> [Eindhoven, NL] Physics: Plasma simulations <[EMAIL PROTECTED]> [TU Eindhoven, NL] Linux: SCSI, Sec

[PATCH] ide oops in 2.2.19/2.4.4

2001-06-11 Thread Kurt Garloff
, -- Kurt Garloff [EMAIL PROTECTED] [Eindhoven, NL] Physics: Plasma simulations [EMAIL PROTECTED] [TU Eindhoven, NL] Linux: SCSI, Security [EMAIL PROTECTED] [SuSE Nuernberg, FRG] (See mail header or public key servers for PGP2 and GPG public keys.) --- linux

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Kurt Garloff
red applying this policy change right now within 2.4, Linus. Well, ignore my posting then, if you like. Best regards, -- Kurt Garloff <[EMAIL PROTECTED]> [Eindhoven, NL] Physics: Plasma simulations <[EMAIL PROTECTED]> [TU Eindhoven, NL] Linux: SCSI, Se

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Kurt Garloff
within 2.4, Linus. Well, ignore my posting then, if you like. Best regards, -- Kurt Garloff [EMAIL PROTECTED] [Eindhoven, NL] Physics: Plasma simulations [EMAIL PROTECTED] [TU Eindhoven, NL] Linux: SCSI, Security [EMAIL PROTECTED] [SuSE Nuernberg, FRG] (See

Re: nfs MAP_SHARED corruption fix

2001-05-09 Thread Kurt Garloff
, Trond. Regards, -- Kurt Garloff <[EMAIL PROTECTED]> Eindhoven, NL GPG key: See mail header, key servers Linux kernel development SuSE GmbH, Nuernberg, FRG SCSI, Security /** test_nfs_shared_map.c * * Creates a file, e

Re: nfs MAP_SHARED corruption fix

2001-05-09 Thread Kurt Garloff
, Trond. Regards, -- Kurt Garloff [EMAIL PROTECTED] Eindhoven, NL GPG key: See mail header, key servers Linux kernel development SuSE GmbH, Nuernberg, FRG SCSI, Security /** test_nfs_shared_map.c * * Creates a file, expands

Re: nfs MAP_SHARED corruption fix

2001-05-08 Thread Kurt Garloff
+len-1) */ /* Try adding here: msync (adr, len, MS_SYNC); */ munmap (adr, len); close (fd); The code works on files on local harddisks and on NFS volumes on a 2.2 kernel, but breaks on NFS drives on a 2.4.4 kernel. msync() works around the bug. Andrea's patch did help as well. Regards, -- Kurt G

Re: nfs MAP_SHARED corruption fix

2001-05-08 Thread Kurt Garloff
) */ /* Try adding here: msync (adr, len, MS_SYNC); */ munmap (adr, len); close (fd); The code works on files on local harddisks and on NFS volumes on a 2.2 kernel, but breaks on NFS drives on a 2.4.4 kernel. msync() works around the bug. Andrea's patch did help as well. Regards, -- Kurt Garloff

vt.c: unimap changes to (fg_?)console

2001-05-07 Thread Kurt Garloff
rminal you want to. I already sent it to Andries. Regards, -- Kurt Garloff <[EMAIL PROTECTED]> Eindhoven, NL GPG key: See mail header, key servers Linux kernel development SuSE GmbH, Nuernberg, FRG SCSI, Security --- linux

vt.c: unimap changes to (fg_?)console

2001-05-07 Thread Kurt Garloff
you want to. I already sent it to Andries. Regards, -- Kurt Garloff [EMAIL PROTECTED] Eindhoven, NL GPG key: See mail header, key servers Linux kernel development SuSE GmbH, Nuernberg, FRG SCSI, Security --- linux-244.compile/drivers

Re: NFS-performance drop with 2.4.4 and 8139too

2001-05-02 Thread Kurt Garloff
knfsd, linux-2.4.4, 8139too-0.9.16 > linux-2.4.4, 8139too-0.9.16 > > transfers seem to start with about 2 MB/s but drop > immediatly to about 20 K/s. PS: If you send your .config, pipe it via grep -v "^#" Regards, -- Kurt Garloff <[EMAIL PROTECTED]>

Re: NFS-performance drop with 2.4.4 and 8139too

2001-05-02 Thread Kurt Garloff
, 8139too-0.9.16 linux-2.4.4, 8139too-0.9.16 transfers seem to start with about 2 MB/s but drop immediatly to about 20 K/s. PS: If you send your .config, pipe it via grep -v ^# Regards, -- Kurt Garloff [EMAIL PROTECTED] Eindhoven, NL GPG key: See mail header, key servers

Re: OnStream USB

2001-05-01 Thread Kurt Garloff
64, see README.) Newer versions of osst overcome this block size limitation, but those have not yet been merged to the mainstream kernel. If you find trouble, please also report to [EMAIL PROTECTED] Enjoy! -- Kurt Garloff <[EMAIL PROTECTED]> Eindhoven, NL GPG key:

Re: OnStream USB

2001-05-01 Thread Kurt Garloff
versions of osst overcome this block size limitation, but those have not yet been merged to the mainstream kernel. If you find trouble, please also report to [EMAIL PROTECTED] Enjoy! -- Kurt Garloff [EMAIL PROTECTED] Eindhoven, NL GPG key: See mail header, key servers

Re: read perf improved by mounting ext2?

2001-04-24 Thread Kurt Garloff
On Tue, Apr 24, 2001 at 10:58:58AM +0200, Jens Axboe wrote: > On Tue, Apr 24 2001, Kurt Garloff wrote: > > There are enough partitions to see a clear pattern: Those with mounted ext2 > > filesystems perform better. Umounting them does not harm, they just need to > > have been

Re: read perf improved by mounting ext2?

2001-04-24 Thread Kurt Garloff
On Tue, Apr 24, 2001 at 10:58:58AM +0200, Jens Axboe wrote: On Tue, Apr 24 2001, Kurt Garloff wrote: There are enough partitions to see a clear pattern: Those with mounted ext2 filesystems perform better. Umounting them does not harm, they just need to have been mounted once. reiser or (v

read perf improved by mounting ext2?

2001-04-23 Thread Kurt Garloff
, they just need to have been mounted once. reiser or (v)fat however don't improve anything. swap does, as does a ext2 over raid5. Kernel 2.4.3pre7; Dual iPIII-700 system; i440BX MoBo. Is this to be expected? Blocksize issues? Readahead behaviour? What's changed on ext2 mounting ... ? Regards, -- Kurt

read perf improved by mounting ext2?

2001-04-23 Thread Kurt Garloff
, they just need to have been mounted once. reiser or (v)fat however don't improve anything. swap does, as does a ext2 over raid5. Kernel 2.4.3pre7; Dual iPIII-700 system; i440BX MoBo. Is this to be expected? Blocksize issues? Readahead behaviour? What's changed on ext2 mounting ... ? Regards, -- Kurt

Re: [linux-lvm] Re: [repost] Announce: Linux-OpenLVM mailing list

2001-04-19 Thread Kurt Garloff
design stuff and have to wait for stabilization ... Good luck! -- Kurt Garloff <[EMAIL PROTECTED]> Eindhoven, NL GPG key: See mail header, key servers Linux kernel development SuSE GmbH, Nuernberg, FRG SCSI, Security PGP signature

Re: [linux-lvm] Re: [repost] Announce: Linux-OpenLVM mailing list

2001-04-19 Thread Kurt Garloff
stuff and have to wait for stabilization ... Good luck! -- Kurt Garloff [EMAIL PROTECTED] Eindhoven, NL GPG key: See mail header, key servers Linux kernel development SuSE GmbH, Nuernberg, FRG SCSI, Security PGP signature

Re: APIC errors ...

2001-04-18 Thread Kurt Garloff
me timing stuff at the local APICs ... Regards, -- Kurt Garloff <[EMAIL PROTECTED]> Eindhoven, NL GPG key: See mail header, key servers Linux kernel development SuSE GmbH, Nuernberg, FRG SCSI, Security PGP signature

Re: APIC errors ...

2001-04-18 Thread Kurt Garloff
at the local APICs ... Regards, -- Kurt Garloff [EMAIL PROTECTED] Eindhoven, NL GPG key: See mail header, key servers Linux kernel development SuSE GmbH, Nuernberg, FRG SCSI, Security PGP signature

Re: 2.4.3: still experiencing APIC-related hangs

2001-04-09 Thread Kurt Garloff
his patch found? I am not seeing it so far on kernel.org. Attached, as I assume more people are interested in it ... Regards, -- Kurt Garloff <[EMAIL PROTECTED]> Eindhoven, NL GPG key: See mail header, key servers Linux kernel development SuSE GmbH, Nuernberg, FRG

Re: 2.4.3: still experiencing APIC-related hangs

2001-04-09 Thread Kurt Garloff
;BROKEN_IO_APIC")? Same for me. Maciej, did you submit the patch to Linus? It really seems to solve the (occurence of the) problems with these boards... Where is this patch found? I am not seeing it so far on kernel.org. Attached, as I assume more people are interested in it ... Regar

Re: gcc oopses with 2.4.3

2001-04-06 Thread Kurt Garloff
truction. Your CPU was reading some machine insn from memory it never heard about. => exception 6 => signal 4 (SIGILL) If your main memory is not faulty, it's your cache or your CPU. Or your compiler. Regards, -- Kurt Garloff <[EMAIL PROTECTED]> Eindhoven, NL

Re: gcc oopses with 2.4.3

2001-04-06 Thread Kurt Garloff
was reading some machine insn from memory it never heard about. = exception 6 = signal 4 (SIGILL) If your main memory is not faulty, it's your cache or your CPU. Or your compiler. Regards, -- Kurt Garloff [EMAIL PROTECTED] Eindhoven, NL GPG key: See mail header, key servers

APIC errors ...

2001-04-05 Thread Kurt Garloff
a summary to LKML.) Regards, -- Kurt Garloff <[EMAIL PROTECTED]> [Eindhoven, NL] Physics: Plasma simulations <[EMAIL PROTECTED]> [TU Eindhoven, NL] Linux: SCSI, Security <[EMAIL PROTECTED]> [SuSE Nuernberg, FRG] (See mail header or public ke

APIC errors ...

2001-04-05 Thread Kurt Garloff
a summary to LKML.) Regards, -- Kurt Garloff [EMAIL PROTECTED] [Eindhoven, NL] Physics: Plasma simulations [EMAIL PROTECTED] [TU Eindhoven, NL] Linux: SCSI, Security [EMAIL PROTECTED] [SuSE Nuernberg, FRG] (See mail header or public key servers for PGP2 and GPG

Re: [PATCH] Prevent OOM from killing init

2001-03-24 Thread Kurt Garloff
killer choose the right processes? Regards, -- Kurt Garloff <[EMAIL PROTECTED]> Eindhoven, NL GPG key: See mail header, key servers Linux kernel development SuSE GmbH, Nuernberg, FRG SCSI, Security PGP signature

Re: [PATCH] Prevent OOM from killing init

2001-03-24 Thread Kurt Garloff
choose the right processes? Regards, -- Kurt Garloff [EMAIL PROTECTED] Eindhoven, NL GPG key: See mail header, key servers Linux kernel development SuSE GmbH, Nuernberg, FRG SCSI, Security PGP signature

Re: [CHECKER] blocking w/ spinlock or interrupt's disabled

2001-03-23 Thread Kurt Garloff
Very nice work! Keep on going! Regards, -- Kurt Garloff <[EMAIL PROTECTED]> Eindhoven, NL GPG key: See mail header, key servers Linux kernel development SuSE GmbH, Nuernberg, FRG SCSI, Security PGP signature

Re: SMP on assym. x86

2001-03-23 Thread Kurt Garloff
On Thu, Mar 22, 2001 at 01:20:40PM +, Pavel Machek wrote: > > Kurt Garloff <[EMAIL PROTECTED]> wrote: > Notice, that one of your CPUs is twice as fast as second one. You'll > need some heavy updates in scheduler. I know that making sure to have a fair schedulin

Re: Some strange patch to drivers/input/keybdev.c

2001-03-23 Thread Kurt Garloff
ed. Regards, -- Kurt Garloff <[EMAIL PROTECTED]> Eindhoven, NL GPG key: See mail header, key servers Linux kernel development SuSE GmbH, Nuernberg, FRG SCSI, Security --- linux.compile.old/drivers/char/pc_keyb.cTue Ju

Re: Some strange patch to drivers/input/keybdev.c

2001-03-23 Thread Kurt Garloff
if it's related, but new keyboards tend to have those annoying APM keys. On my keyboard, they generate the scan sequences e0 5e (Power OFF), e0 5f (Sleep) and e0 63 (Wake Up). I guess the USB kbd also has those toy keys. Patch to support those keys on a normal PS/2 kbd attached. Regards, -- Kurt

Re: SMP on assym. x86

2001-03-23 Thread Kurt Garloff
On Thu, Mar 22, 2001 at 01:20:40PM +, Pavel Machek wrote: Kurt Garloff [EMAIL PROTECTED] wrote: Notice, that one of your CPUs is twice as fast as second one. You'll need some heavy updates in scheduler. I know that making sure to have a fair scheduling on non-symmetric multiprocessor

Re: [CHECKER] blocking w/ spinlock or interrupt's disabled

2001-03-23 Thread Kurt Garloff
, -- Kurt Garloff [EMAIL PROTECTED] Eindhoven, NL GPG key: See mail header, key servers Linux kernel development SuSE GmbH, Nuernberg, FRG SCSI, Security PGP signature

  1   2   3   >