ip_tables init broken

2006-12-30 Thread Jan Engelhardt
Hello, when the ip_tables module is loaded automatically when inserting the first rule, something gets screwed up, as -L -v -n shows: 17:39 ichi:~ # lsmod | grep ip_tables 17:39 ichi:~ # iptables -t mangle -A FORWARD -i eth1 -j MARK --set-mark 161 17:39 ichi:~ # iptables -t mangle -A FORWARD

Re: ip_tables init broken [fixd]

2006-12-30 Thread Jan Engelhardt
On Dec 30 2006 21:30, Sergey Vlasov wrote: On Sat, 30 Dec 2006 18:14:35 +0100 (MET) Jan Engelhardt wrote: when the ip_tables module is loaded automatically when inserting the first rule, something gets screwed up, as -L -v -n shows: 17:39 ichi:~ # lsmod | grep ip_tables 17:39 ichi

Re: openpromfs issue

2006-12-31 Thread Jan Engelhardt
Hi list, in http://lkml.org/lkml/2006/5/15/128 I reported a problem with openpromfs showing both CPUs under the same node name. As I looked today into /proc/openpromfs - running 2.6.18-1.2798.al3.1smp now - this issue is fixed. Any details about this - can you point me to a linux-sparc

Re: [PATCH] Open Firmware device tree virtual filesystem

2006-12-31 Thread Jan Engelhardt
On Dec 30 2006 15:38, Mitch Bradley wrote: Request for comments. It is similar in some respect to fs/proc/proc_devtree.c , but does not use procfs, nor does it require an intermediate layer of code to create a flattened representation of the device tree. NB: openpromfs does not use procfs

Re: [PATCH] Open Firmware device tree virtual filesystem

2006-12-31 Thread Jan Engelhardt
On Dec 31 2006 12:45, David Miller wrote: From: Jan Engelhardt [EMAIL PROTECTED] BUT, the eeprom utility may be used to modify values, and if used, I would like to see ofwfs show the updated value. openpromfs does it today: 15:09 ares:/proc/openprom/options # cat oem-banner? false 15:09

chaostables 0.2

2006-12-31 Thread Jan Engelhardt
Hi list(s), chaostables is a small package containing some nice netfilter magic: a module xt_portscan which matches the nmap scan types (including -sS) and more, and a xt_CHAOS module which slows down network scanners by triggering their codepaths for handling slow-working/'broken' operating

Re: chaostables-0.2 2.6.19.1

2007-01-01 Thread Jan Engelhardt
On Jan 1 2007 15:38, Folkert van Heusden wrote: Hi, I'm trying to compile chaostables v0.2 on a system with kernel 2.6.19.1 and c-compiler 3.4.6: [EMAIL PROTECTED]:/usr/src/chaostables-0.2/kernel# make all make -C /lib/modules/2.6.19.1/build M=$PWD modules; make[1]: Entering directory

Re: chaostables-0.2 2.6.19.1

2007-01-01 Thread Jan Engelhardt
On Jan 1 2007 16:15, Folkert van Heusden wrote: I'm trying to compile chaostables v0.2 on a system with kernel 2.6.19.1 and c-compiler 3.4.6: /usr/src/chaostables-0.2/kernel/xt_CHAOS.c: In function `xt_chaos_target': /usr/src/chaostables-0.2/kernel/xt_CHAOS.c:53: error: too many arguments to

Re: [PATCH] Documentation: Explain a second alternative for multi-line macros.

2007-01-01 Thread Jan Engelhardt
On Dec 31 2006 19:23, Randy Dunlap wrote: #define setcc(cc) ({ \ partial_status = ~(SW_C0|SW_C1|SW_C2|SW_C3); \ partial_status |= (cc) (SW_C0|SW_C1|SW_C2|SW_C3); }) This _does_ return a value though, bad example. Where does it return a value? I don't see any uses of it in

Re: [PATCH] Documentation: Explain a second alternative for multi-line macros.

2007-01-01 Thread Jan Engelhardt
On Jan 1 2007 18:51, Segher Boessenkool wrote: If people want to return something from a ({ }) construct, they should do it explicitly, e.g. #define setcc(cc) ({ \ partial_status = ~(SW_C0|SW_C1|SW_C2|SW_C3); \ partial_status |= (cc) (SW_C0|SW_C1|SW_C2|SW_C3); \ partial_status; \ })

Re: [PATCH] Open Firmware device tree virtual filesystem

2007-01-01 Thread Jan Engelhardt
On Jan 1 2007 08:10, Mitch Bradley wrote: We don't generally export binary representation files out of /proc or /sys, in fact this rule I believe is layed our precisely somewhere at least in the sysfs case. pci-sysfs exports PCI config space in binary. cat

Re: [PATCH] [DISCUSS] Make the variable NULL after freeing it.

2007-01-01 Thread Jan Engelhardt
On Jan 1 2007 22:40, Ingo Oeser wrote: On Monday, 1. January 2007 17:25, Andreas Schwab wrote: Ingo Oeser [EMAIL PROTECTED] writes: Then this works, because the side effect (+20) is evaluated only once. It's not a side effect, it's a non-lvalue, and you can't take the address of a

Re: 2.6.20-rc2+: CFQ halving disk throughput.

2007-01-02 Thread Jan Engelhardt
On Jan 2 2007 10:01, Mark Lord wrote: Jens Axboe wrote: But surely one of (not sure which) sync+async or async+sync may also be okay? Or would it? Async merge to sync request should be ok. But I wonder what happens with hdparm, since it seems to trigger one of these tests. Very

Re: Open letter to Linux kernel developers (was Re: Binary Drivers)

2007-01-02 Thread Jan Engelhardt
On Jan 2 2007 16:15, David Weinehall wrote: On Tue, Jan 02, 2007 at 08:22:21AM -0500, Robert P. J. Day wrote: On Tue, 2 Jan 2007, Theodore Tso wrote: 1) mcdonald's was not merely serving their coffee hot, but *scalding* hot (180 to 190 degrees Fahrenheit), a temperature that will produce

Re: [PATCH] Open Firmware device tree virtual filesystem

2007-01-02 Thread Jan Engelhardt
On Jan 3 2007 01:52, Segher Boessenkool wrote: Leaving aside the issue of in-memory or not, I don't think it is realistic to think any completely common implementation will work for this -- it might for current SPARC+PowerPC+OLPC, but more stuff will be added over time... I see nothing

Re: [PATCH] Add const for time{spec,val}_compare arguments

2007-01-04 Thread Jan Engelhardt
On Jan 4 2007 16:59, Rolf Eike Beer wrote: From: Rolf Eike Beer [EMAIL PROTECTED] To: linux-kernel@vger.kernel.org Cc: Andrew Morton [EMAIL PROTECTED] Subject: [PATCH] Add const for time{spec,val}_compare arguments The arguments are really const. Mark them const to allow these functions being

Re: sonypc with Sony Vaio VGN-SZ1VP

2007-01-04 Thread Jan Engelhardt
On Jan 5 2007 00:36, Stelian Pop wrote: @@ -61,6 +61,7 @@ static struct acpi_driver sony_acpi_driv static acpi_handle sony_acpi_handle; static struct proc_dir_entry *sony_acpi_dir; +static struct acpi_device *sony_acpi_acpi_device = NULL; acpi_acpi? @@ -310,7 +315,7 @@ static int

Re: [PATCH] All Transmeta CPUs have constant TSCs

2007-01-05 Thread Jan Engelhardt
On Jan 4 2007 17:48, H. Peter Anvin wrote: [i386] All Transmeta CPUs have constant TSCs All Transmeta CPUs ever produced have constant-rate TSCs. A TSC is ticking according to the CPU frequency, is not it? -`J' -- - To unsubscribe from this list: send the line unsubscribe

Re: sonypc with Sony Vaio VGN-SZ1VP

2007-01-05 Thread Jan Engelhardt
On Jan 5 2007 13:13, Mattia Dongili wrote: If you are interested by the job, it is all yours. :) Let's see if I can come up with something, I have also an ux50 that is not very happy with current sonypi Feel free to contact me for testing on U3. FnKey is done through sonypi here, if I unload

Re: [PATCH 2.6.20-rc3] TTY_IO code cleanups

2007-01-06 Thread Jan Engelhardt
On Jan 5 2007 16:00, David Rientjes wrote: @@ -791,17 +790,15 @@ static int tty_ldisc_try(struct tty_struct *tty) { unsigned long flags; struct tty_ldisc *ld; -int ret = 0; spin_lock_irqsave(tty_ldisc_lock, flags); ld = tty-ldisc; -

Re: [patch 43/50] SOUND: Sparc CS4231: Fix IRQ return value and initialization.

2007-01-06 Thread Jan Engelhardt
Subject: [patch 43/50] SOUND: Sparc CS4231: Fix IRQ return value and initialization. --- linux-2.6.19.1.orig/sound/sparc/cs4231.c +++ linux-2.6.19.1/sound/sparc/cs4231.c @@ -1268,7 +1268,7 @@ static struct snd_pcm_hardware snd_cs423 .channels_min = 1, .channels_max

Re: kernel-doc: what is the purpose of struct?

2007-01-06 Thread Jan Engelhardt
On Jan 6 2007 10:00, Randy Dunlap wrote: On Sat, 6 Jan 2007 09:44:39 -0500 (EST) Robert P. J. Day wrote: according to the kernel-doc HOWTO, the following should be highlighted in some way if found in the extractable documentation of your source file: 'struct_name' - name of a structure

Re: [ANNOUNCE] Guilt 0.16

2007-01-06 Thread Jan Engelhardt
On Jan 6 2007 13:46, Josef Sipek wrote: Guilt (Git Quilt) is a series of bash scripts which add a Mercurial I feel so guilty when using guilt! Oh well I should point out that people should give tools a better naming. :-) Prime examples are Squid, Icecream, and to a lesser extent Apache.

sonypi not for 64bit?

2007-01-06 Thread Jan Engelhardt
Hi sonypi (ex-)maintainers ;-) drivers/char/Kconfig lists SONYPI as being !64BIT, however, there seem to be sony users with x86_64 [1] around. Is it just caution (it's also marked EXPERIMENTAL) or is it definitely known to break on 64bit? -`J' [1] (a german forum)

Re: Linux 2.6.20-rc4

2007-01-07 Thread Jan Engelhardt
On Jan 6 2007 22:19, Linus Torvalds wrote: Leonard NorrgÃ¥rd (1): sound: hda: detect ALC883 on MSI K9A Platinum motherboards (MS-7280) Something seems to have mangled the name, that should have been an å not A¥. (Something reencoded it). A gitlog problem? -`J' --

Re: [DISCUSS] Making system calls more portable.

2007-01-07 Thread Jan Engelhardt
On Jan 7 2007 01:07, Amit Choudhary wrote: I will come to the main issue later but I just wanted to point out that we maintain information at two separate places - mapping between the name and the number in user space and kernel space. Shouldn't this duplication be removed. For example? Do you

Re: How git affects kernel.org performance

2007-01-07 Thread Jan Engelhardt
On Jan 7 2007 10:03, Willy Tarreau wrote: On Sun, Jan 07, 2007 at 12:58:38AM -0800, H. Peter Anvin wrote: [..] entries in directories with millions of files on disk. I'm not certain it would be that easy to try other filesystems on kernel.org though :-/ Changing filesystems would mean

Re: OT: character encodings (was: Linux 2.6.20-rc4)

2007-01-07 Thread Jan Engelhardt
On Jan 7 2007 17:06, Russell King wrote: On Mon, Jan 08, 2007 at 12:29:05AM +0800, David Woodhouse wrote: $ git log | head -n 1000 | tail -n 200 o $ file -i o o: text/plain; charset=us-ascii $ git log | head -n 1000 | tail -n 300 o $ file -i o o: text/plain; charset=us-ascii $ git log | head

Re: OT: character encodings (was: Linux 2.6.20-rc4)

2007-01-07 Thread Jan Engelhardt
On Jan 7 2007 18:21, Alan wrote: So, in short, UTF-8 is all fine and dandy if your _entire_ universe is UTF-8 enabled. If you're operating in a mixed charset environment it's one bloody big pain in the butt. Net ASCII is 7bit and is 1:1 mapped with UTF-8 unicode. It's just old broken 8bit

[announce] chaostables 0.4

2007-01-07 Thread Jan Engelhardt
[Not sure if netfilter/nmap-dev bounce when you are not subscribed, remove if in doubt.] Hello lists, chaostables 0.4 has been released. This is a package containing some netfilter modules to work against nmap and port scans. 'portscan' can match on stealth, syn, connect scans, also finds

Re: How git affects kernel.org performance

2007-01-07 Thread Jan Engelhardt
On Jan 7 2007 10:49, Randy Dunlap wrote: On Sun, 7 Jan 2007 11:50:57 +0100 (MET) Jan Engelhardt wrote: On Jan 7 2007 10:03, Willy Tarreau wrote: On Sun, Jan 07, 2007 at 12:58:38AM -0800, H. Peter Anvin wrote: [..] entries in directories with millions of files on disk. I'm not certain

Re: OT: character encodings (was: Linux 2.6.20-rc4)

2007-01-07 Thread Jan Engelhardt
On Sun, 7 Jan 2007 15:05:53 -0500 Dave Jones [EMAIL PROTECTED] wrote: If there's something I should be doing when I commit that I'm not, I'll be happy to change my scripts. My $LANG is set to en_US.UTF-8 which should DTRT to the best of my knowledge, but clearly, that isn't the case. No,

Re: OT: character encodings (was: Linux 2.6.20-rc4)

2007-01-07 Thread Jan Engelhardt
On Jan 7 2007 22:30, Alan wrote: The kernel maintainers/help/config pretty consistently use UTF8 I've seen a lot of places that don't do so. Want a patch? I think that would be a good idea - and add it to the coding/docs specs that documentation is UTF-8. Code should IMHO say 7bit though.

Re: OT: character encodings (was: Linux 2.6.20-rc4)

2007-01-07 Thread Jan Engelhardt
On Jan 8 2007 02:03, Adrian Bunk wrote: The only major MUA not supporting UTF-8 is Eudora. And if you are talking about buggy old pine, in the latest development version [1] it does not only become open source, it also got some working Unicode support. Uhm, just for the record, I run pine

Re: [PATCH] All Transmeta CPUs have constant TSCs

2007-01-08 Thread Jan Engelhardt
On Jan 8 2007 00:02, dean gaudet wrote: On Fri, 5 Jan 2007, Jan Engelhardt wrote: On Jan 4 2007 17:48, H. Peter Anvin wrote: [i386] All Transmeta CPUs have constant TSCs All Transmeta CPUs ever produced have constant-rate TSCs. A TSC is ticking according to the CPU frequency

Re: Gaming Interface

2007-01-08 Thread Jan Engelhardt
On Jan 8 2007 12:17, Jay Vaughan wrote: At 13:13 +0100 8/1/07, Dirk wrote: Trent Waddington wrote: Call me crazy, but game manufacturers want directx right? You aint running that in the kernel. They want something like DirectX that changes it's API less frequent than DirectX and that

Re: kernel compilation - errors

2007-01-08 Thread Jan Engelhardt
On Jan 8 2007 18:48, Ram wrote: Actually, the some of the case values are defined as - case (u32)CM_ICLKEN_WKUP: case (u32)CM_FCLKEN_WKUP: This looks like really broken code, if CM_* happen to be constants. -`J' -- - To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 01/24] Unionfs: Documentation

2007-01-08 Thread Jan Engelhardt
On Jan 8 2007 14:43, Shaya Potter wrote: On Mon, 8 Jan 2007, Andrew Morton wrote: On Sun, 7 Jan 2007 23:12:53 -0500 Josef 'Jeff' Sipek [EMAIL PROTECTED] wrote: +Modifying a Unionfs branch directly, while the union is +mounted, is currently unsupported. Does this mean that if I have

Re: [PATCH 01/24] Unionfs: Documentation

2007-01-08 Thread Jan Engelhardt
On Jan 8 2007 15:51, Erez Zadok wrote: BTW, this is a problem with all stackable file systems, including ecryptfs. To be fair, our Unionfs users have come up against this problem, usually for the first time they use Unionfs :-). Then we tell not to do that, but that if they have to, to run

Re: OT: character encodings (was: Linux 2.6.20-rc4)

2007-01-08 Thread Jan Engelhardt
On Jan 8 2007 22:00, Ken Moffat wrote: Looks nicely done, but I query the postal address changes in Documentation/cdrom/sbpcd - that seems to be a change of address (without anything to explain it). Eberhard [cc], please attach an Acked-by: YourName emailaddress keep Ccs, thanks ;-)

Re: OT: character encodings (was: Linux 2.6.20-rc4)

2007-01-08 Thread Jan Engelhardt
On Jan 8 2007 14:17, Tim Pepper wrote: On 1/8/07, Pavel Machek [EMAIL PROTECTED] wrote: On Sun 2007-01-07 22:30:55, Alan wrote: I think that would be a good idea - and add it to the coding/docs specs that documentation is UTF-8. Code should IMHO say 7bit though. Yes, yes, please. I

Re: [PATCH 01/24] Unionfs: Documentation

2007-01-08 Thread Jan Engelhardt
On Jan 8 2007 14:02, Andrew Morton wrote: Shaya Potter [EMAIL PROTECTED] wrote: the difference is bind mounts are a vfs construct, while unionfs is a file system. Well yes. So the top-level question is is this the correct way of doing unionisation?. I suspect not, in which case unionfs is

Re: [PATCH 01/24] Unionfs: Documentation

2007-01-08 Thread Jan Engelhardt
On Jan 8 2007 19:33, Josef Sipek wrote: On Tue, Jan 09, 2007 at 01:19:48AM +0100, Giuseppe Bilotta wrote: As a simple user without much knowledge of kernel internals, much less so filesystems, couldn't something based on the same principle of lsof+fam be used to handle these situations? Using

Re: [PATCH] support O_DIRECT in tmpfs/ramfs

2007-01-08 Thread Jan Engelhardt
On Jan 8 2007 17:43, Hua Zhong wrote: 1. A new fs flag FS_RAM_BASED is added and the O_DIRECT flag is ignored if this flag is set (suggestions on a better name?) FS_IGNORE_DIRECT. Somehow I think this flag is not only useful for RAM-based filesystems, but also possibly virtual filesystems

Re: [PATCH 01/24] Unionfs: Documentation

2007-01-09 Thread Jan Engelhardt
On Jan 9 2007 11:41, Shaya Potter wrote: Again, what about fibre channel support? Imagine I have multiple blades connected to a SAN. For whatever reason I format the san w/ ext3 (I've actually done this when we didn't need sharing, just needed a huge disk, for instance for doing benchmarks

Re: .version keeps being updated

2007-01-10 Thread Jan Engelhardt
On Jan 9 2007 15:21, Linus Torvalds wrote: Actually, how about just removing the incrementing version count entirely? I realize that it's really really old, and has been there basically since day one, but on the other hand, it's old not because it's fundamentally important, but because it's

Re: .version keeps being updated

2007-01-10 Thread Jan Engelhardt
On Jan 10 2007 21:02, Olaf Hering wrote: On Wed, Jan 10, Olaf Hering wrote: with such a change, it will always be first. Tested on powerpc. I could even add an ELF parser and look for the first bytes in the .rodata section. With such a change, you would not need to grep for it. You could use

Re: kernel guide to space (updated)

2005-07-29 Thread Jan Engelhardt
, that's a lot of violations). Too bad that (e)grep does not support \s for space. * Number might vary. Jan Engelhardt -- | Alphagate Systems, http://alphagate.hopto.org/ - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

Re: kernel guide to space (updated)

2005-07-29 Thread Jan Engelhardt
; } switch(foo) { default: { int somevar = dosomething; break; } } What now? You've got two }} after another. Jan Engelhardt -- - 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

Re: routing/shaping vs smp

2005-07-29 Thread Jan Engelhardt
. cpu0 for eth0, cpu1 for eth1. Jan Engelhardt -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: Syncing single filesystem (slow USB writing)

2005-07-29 Thread Jan Engelhardt
, they complete the sync. (Though btw, the drive's led still flashes after umount has returned.) For USB 1.1 devices, it takes a little longer since the buffer cache or something like that is so big. Jan Engelhardt -- | Alphagate Systems, http://alphagate.hopto.org/ - To unsubscribe from this list

Re: Kernel BUG at mm/rmap.c:493 OR corrupt swap partition

2005-07-29 Thread Jan Engelhardt
Date: Fri, 29 Jul 2005 09:47:52 +0100 From: antoine [EMAIL PROTECTED] To: linux-kernel@vger.kernel.org Subject: Kernel BUG at mm/rmap.c:493 OR corrupt swap partition If the swap partition is corrupt, rerunning mkswap on it (while being turned off, of course) should at best fix it. Jan

Re: iptables redirect is broken on bridged setup

2005-07-29 Thread Jan Engelhardt
:4092145578(0) win 65535 mss 1460,nop,nop,sackOK (DF) looks like redirect was done before bridging - dst addr is already changed redirect, and in fact, the whole iptables-nat table, _is_ done before bridging, see http://ebtables.sourceforge.net/br_fw_ia/PacketFlow.png Jan Engelhardt

Re: kernel guide to space (updated)

2005-07-29 Thread Jan Engelhardt
is the default indent for that particular piece of code. Jan Engelhardt -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: kernel guide to space (updated)

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

Re: Average instruction length in x86-built kernel?

2005-08-01 Thread Jan Engelhardt
?)/){ $b+=split( ,$1);if($2){$h{$b}++;$b=0}}' objdump -j .text -d $@ | perl -ne ' END{$h{$b}++if$b;print map$_: $h{$_}\n,sort keys%h}; if(/\tnop\s*$/){$h{nop}++} elsif(/^.*?:\t([^\t]+) (\t?)/){ $b+=split/ /,$1;if($2){$h{$b}++;$b=0}}' Jan Engelhardt -- | Alphagate Systems, http

Re: IBM HDAPS, I need a tip.

2005-08-01 Thread Jan Engelhardt
So in order to calibrate it you need a readily available source of constant acceleration, preferably with a known value. Hint: -9.8 m/sec^2. Drop it out of the window? :) Jan Engelhardt -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: [PATCH 00/14] GFS

2005-08-02 Thread Jan Engelhardt
* Why use your own journalling layer and not say ... jbd ? Why does reiser use its own journalling layer and not say ... jbd ? Jan Engelhardt -- - 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

squashfs seems nfs-incompatible

2005-08-02 Thread Jan Engelhardt
Hi, I found out that you cannot mount an exported squash fs. The exports(5) fsid= parameter does not help it [like it did with unionfs]. Jan Engelhardt -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info

Idle after panic

2005-08-02 Thread Jan Engelhardt
Hi, currently, the linux kernel does an endless for(;;) loop when a panic has occurred. Could not it be changed so that it does some idling `a la HLT instruction again? Jan Engelhardt -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: kernel options for cd project with processor family

2005-08-02 Thread Jan Engelhardt
. The standard 586. That's what most distro [have to] use. Jan Engelhardt -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

Re: i387 floating-point test program/benchmark

2005-08-03 Thread Jan Engelhardt
. i387_bench.c:34: unknown field `sa_handler' specified in initializer Maybe a missing #include signal.h? Jan Engelhardt -- - 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

Re: [PATCH 2.6.12.3] Deny chmod in /proc/pid/

2005-08-03 Thread Jan Engelhardt
and suggestions. Jan Engelhardt -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: Linux, Get the facts?

2005-08-03 Thread Jan Engelhardt
. :-) But it remains unethical [to use WMV]. Jan Engelhardt -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 00/14] GFS

2005-08-03 Thread Jan Engelhardt
to software forks, in any area.) Jan Engelhardt -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] IDE disks show invalid geometries in /proc/ide/hd*/geometry

2005-08-04 Thread Jan Engelhardt
are virtual, since CHS is not really used anymore, as we know. But, which of these fake CHS values (16383/16/63 | 65535/16/63 | 1023/255/63) is the right one? 255/63/4982 is another matter, since it [almost] matches the actual size of the disk while the other three are just for the bios. Jan

Re: [PATCH 2.6.12.3] Deny chmod in /proc/pid/

2005-08-04 Thread Jan Engelhardt
Did you mean chmod? No, I really meant chown - which just turned up another should-not-be: no warning is generated when trying to chown; chmod is even _persistent_ - for the moment. And I don't even have smaps. Just take any file. Jan Engelhardt -- - To unsubscribe from this list: send

Re: ReiserFS crashing

2005-08-04 Thread Jan Engelhardt
Acessing the (software-)raid1 results in crash of shell raid worked ok for some days before error message appeared upon first hangup: Linux version 2.6.11.10BERNHADINERMBO.DE ([EMAIL PROTECTED]) (gcc version 3.3.4) #3 Fri Jul 15 11:53:00 CEST 2005 ReiserFS: warning: is_leaf: item

Re: ReiserFS crashing

2005-08-04 Thread Jan Engelhardt
by reiserfsck, and moving reiserfsck into kernel space would be ... uh ... well, probably not the best. (Though, ever seen an auto repairing online filesystem? ;-) Especially when fsck comes to interactive questions about what to repair/discard. Jan Engelhardt -- - To unsubscribe from

Re: squashfs seems nfs-incompatible

2005-08-05 Thread Jan Engelhardt
/squash` to get the export working. Jan Engelhardt -- | Alphagate Systems, http://alphagate.hopto.org/ - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

Re: [PATCH] Speedup FAT filesystem directory reads

2005-08-05 Thread Jan Engelhardt
We like a plain text, not attachment, see Documentation/SubmittingPatches. Anyway, thanks for nice work. |Exception: If your mailer is mangling patches then someone may ask |you to re-send them using MIME. from the doc ;) - To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: Old api files, rewrite or delete?

2005-08-05 Thread Jan Engelhardt
Nothing, I don't only want to rewrite driver, which others do not use. Why rewrite? (unless it's an important api change) If it's some optimization patch that requires an almost-rewrite, well, do it and see if it gets accepted. Jan Engelhardt -- - To unsubscribe from this list: send

re: make modules Segfault

2005-08-05 Thread Jan Engelhardt
Gnu C 2.96 Seriously, it seems like your machine is flaky. And even if it were a kernel source problem, gcc should never have an internal error. But gcc-2.96 is so old that it's not supported anymore. Wasnot 2.96 the bugged one? Jan Engelhardt -- - To unsubscribe from

Re: /proc question

2005-08-05 Thread Jan Engelhardt
it. Jan Engelhardt -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 00/14] GFS

2005-08-05 Thread Jan Engelhardt
number of the spec to e.g. GFS 2.1. That way, things transform smoothly and could go out eventually at some later date. Jan Engelhardt -- - 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

Re: initrd load from any block device

2005-08-05 Thread Jan Engelhardt
wonders. Jan Engelhardt -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] kernel: use kcalloc instead kmalloc/memset

2005-08-08 Thread Jan Engelhardt
What prevents a rogue user to call this function a number of times to waste resources? Sorry to jump in, but wasting resources is a different matter than overwriting kernel memory. Jan Engelhardt -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: Is it a process?

2005-08-08 Thread Jan Engelhardt
this is not a What is the name of this tasklet? ksoftirqd shows up in ps, but no childs for it. Jan Engelhardt -- - 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

Re: local DDOS? Kernel panic when accessing /proc/ioports

2005-08-08 Thread Jan Engelhardt
. ksymoops not needed for 2.6. Been there, done that. ...[and] threw it out Jan Engelhardt -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

Re: x86_64 frame pointer via thread context

2005-08-08 Thread Jan Engelhardt
user space includes or your compiler. Note that there is -fomit-frame-pointer which might give different results than without the option (or explicitly -fno-omit-frame-pointer). Jan Engelhardt -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: Inclusion order patch

2005-08-08 Thread Jan Engelhardt
linux/list.h +#include linux/types.h + +struct inode; + struct module; + struct cdev { struct kobject kobj; struct module *owner; Jan Engelhardt -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo

Re: Any access control mechanism that allow exceptions?

2005-08-08 Thread Jan Engelhardt
under /etc. read-only-by-root is not enough? *mumble* unionfs could help you in part. Jan Engelhardt -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: [PATCH] cpuset release ABBA deadlock fix

2005-08-09 Thread Jan Engelhardt
+(void) call_usermodehelper(argv[0], argv, envp, 0); ick. Why the cast? Because KR (also the 2nd ed) does it. Unfortunately, KR is always recommended as a book, and apparently many readers therefore get addicted to casts. Hell, you even see it [unnecessary casts] in today's books. Jan

Re: [HELP] How to get address of module

2005-08-09 Thread Jan Engelhardt
If you have the EIP, you can look at /proc/modules to find the module, and then use nm to find the function. Note that inlining makes nm and objdumpers less effective. Jan Engelhardt -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: Incorrect permissions on parport sysctls.

2005-08-09 Thread Jan Engelhardt
We have a bunch of 'probe' sysctl's in parport, which are readable. (world readable even). Make them write-only. Without this, sysctl -a will try to read these files. Why write-only? Donot you want to read back what you've written there sometime? IMO 0600. Jan Engelhardt -- - To unsubscribe

Re: understanding Linux capabilities brokenness

2005-08-09 Thread Jan Engelhardt
; With regard to _this_, I think it would be best to kill the cap checks, and let a security_* function handle it, in the style of security/traditional.c. Jan Engelhardt -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

Re: VGER news

2005-08-09 Thread Jan Engelhardt
did system switchover last weekend, and nobody reacted trulu adversely.Probably nobody noticed it either. :-) /Matti Aarnio Or were you missing a 'k' suffix in the bogo number grin + ;-) Jan Engelhardt -- | Alphagate Systems, http://alphagate.hopto.org/ - To unsubscribe from this list

Re: lots of code could be simplified by using ARRAY_SIZE()

2006-12-15 Thread Jan Engelhardt
Indeed, there seems to be lots of potential clean-up there. Including duplicate macros like: ./drivers/ide/ide-cd.h:#define ARY_LEN(a) ((sizeof(a) / sizeof(a[0]))) not surprisingly, i have a script arraysize.sh: ... This could also come in the flavor sizeof(a) / sizeof(*a). I haven't

Re: [PATCH/v2] CodingStyle updates

2006-12-15 Thread Jan Engelhardt
On Dec 15 2006 15:28, Stefan Richter wrote: Pavel Machek wrote: Pavel Machek wrote: From: Randy Dunlap [EMAIL PROTECTED] +Use one space around (on each side of) most binary and ternary operators, +such as any of these: += + - * / % |^ = = == != ? :

Re: [PATCH/v2] CodingStyle updates

2006-12-15 Thread Jan Engelhardt
On Dec 15 2006 15:56, Dmitry Torokhov wrote: On 12/15/06, Jörn Engel [EMAIL PROTECTED] wrote: On Fri, 15 December 2006 09:00:37 -0800, Randy Dunlap wrote: On Fri, 15 Dec 2006 16:07:17 +0100 Pavel Machek wrote: Not in simple cases. 3*i + 2*j should be writen like that. Not like

Re: Binary Drivers

2006-12-15 Thread Jan Engelhardt
On Dec 15 2006 21:59, Alan wrote: I personally like nvidia's products, they have spent a lot of money in RD. One example is SLI, if their spec was open what would stop ATI from stealing their 3DFx invented SLI many years ago. The SLI programming information for the 3DFx cards is public.

Re: [PATCH/v2] CodingStyle updates

2006-12-15 Thread Jan Engelhardt
On Dec 15 2006 21:27, Jörn Engel wrote: On Fri, 15 December 2006 22:01:10 +0100, Jan Engelhardt wrote: On Dec 15 2006 15:56, Dmitry Torokhov wrote: outside the loop? If not then it is better to keep style consistent and not use condensed form in loops either. Don't you all even think

[PATCH] xt_request_find_match

2006-12-16 Thread Jan Engelhardt
Hi, Reusing code is a good idea, and I would like to do so from my match modules. netfilter already provides a xt_request_find_target() but an xt_request_find_match() does not yet exist. This patch adds it. Objections welcome :) --- Signed-off-by: Jan Engelhardt [EMAIL PROTECTED] Index

Re: [RFC][PATCH] Make entries in the Device drivers menu individually selectable

2006-12-16 Thread Jan Engelhardt
On Dec 16 2006 11:52, Stefan Richter wrote: Robert P. J. Day wrote on 2006-12-14: i've posted on this before so here's a slightly-updated patch that uses the kbuild menuconfig feature to make numerous entries under the Device drivers menu selectable on the spot. Works for me, but I don't

Re: Binary Drivers

2006-12-16 Thread Jan Engelhardt
On Dec 16 2006 01:57, Tomas Carnecky wrote: Alexey Dobriyan wrote: On Fri, Dec 15, 2006 at 09:20:58PM +, James Porter wrote: For what it's worth, I don't see any problem with binary drivers from hardware manufacturers. Binary drivers from hardware manufacturers are crap. Learn it

Re: Horses and donkeys [Re: Binary Drivers]

2006-12-16 Thread Jan Engelhardt
On Dec 16 2006 08:12, Pavel Machek wrote: If you are going to mount a sanctimonious high horse it is a wise idea to mount a horse instead of a donkey. High horses are common and easy to ride. But a donkey... :-). The next thing that happens is that nvidia and ati undermine us a Trojan

Re: lots of code could be simplified by using ARRAY_SIZE()

2006-12-16 Thread Jan Engelhardt
On Dec 16 2006 08:09, Robert P. J. Day wrote: On Sat, 16 Dec 2006, Pavel Machek wrote: but we already have, from include/linux/kernel.h: #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) Hmmm. quite misleading name :-(. ARRAY_LEN would be better. i suspect it's *way* too late to make

Re: [Fwd: escape key]

2006-12-16 Thread Jan Engelhardt
On Dec 16 2006 08:45, Pavel Machek wrote: Two escapes works now. :-) Actually could we fix our consoles, somehow, to make esc usable? Having important key like esc unusable on consoles is quite ugly. It's something between a misdesign and a misconfiguration of the ESC key. In other words,

Re: [GIT PATCH] more Driver core patches for 2.6.19

2006-12-16 Thread Jan Engelhardt
On Dec 16 2006 15:13, Lee Revell wrote: On Thu, 2006-12-14 at 18:02 +0100, Jan Engelhardt wrote: They use floating point in (Windows) kernelspace? Oh my. Yes, definitely. Explains why Windows is so slow ;-) [FPU restore and stuff...] On that matter, when does the Linux kernel do proper FPU

Re: cxgb3 and 2.6.20-rc1

2006-12-16 Thread Jan Engelhardt
On Dec 16 2006 13:55, Divy Le Ray wrote: A corresponding monolithic patch is posted at the following URL: http://service.chelsio.com/kernel.org/cxgb3.patch.bz2 I was unable to compile this on 2.6.20-rc1, because: CC [M] drivers/net/cxgb3/cxgb3_offload.o

<    8   9   10   11   12   13   14   15   16   17   >