Re: 2.6.21-git10/11: files getting truncated on xfs? or maybe an nlink problem?

2007-05-14 Thread Jan Engelhardt
On May 12 2007 07:46, Matt Mackall wrote: >> >> You should not assume alphabetical order. Filesystems may be free to >> reorder things and return them (1) randomly like in a hash (2) by >> creation time during readdir(). > >There is no assumption. Mercurial explicitly visits files in >alphabetica

Re: [patch] ip_local_port_range sysctl has annoying default

2007-05-14 Thread Jan Engelhardt
On May 11 2007 19:14, H. Peter Anvin wrote: >David Miller wrote: >> >> All ports above and including 1024 are non-privileged and available to >> anyone. >> >> Applications which have some requirements in this area need to work >> those things out themselves. > >However, there are a large number

Re: [announce] Intel announces the PowerTOP utility for Linux

2007-05-14 Thread Jan Engelhardt
On May 12 2007 22:12, Alistair John Strachan wrote: >On Saturday 12 May 2007 00:07:18 Arjan van de Ven wrote: >> What's eating the battery life of my laptop? Why isn't it many more >> hours? Which software component causes the most power to be burned? >> These are important questions without a goo

Re: Linux 2.6.22-rc1

2007-05-14 Thread Jan Engelhardt
On May 14 2007 19:32, Stefan Richter wrote: >> >> As for NETDEV_1000 and _1, I really wonder if we need anymore >> help text than the option. I do not know what the minimum level >> of user knowledge is that kconfig help texts need to support, >> but maybe you can tell? > >The text "Ethernet

Re: Linux 2.6.22-rc1

2007-05-14 Thread Jan Engelhardt
On May 14 2007 20:01, Tilman Schmidt wrote: >> >> "Patches welcome" ;-) > >Sure. Just tell me exactly what those options are intended to do >and I'll happily write up a patch adding help texts trying to >express that in bad English. :-) They are just a menu that can be switched on or off. It is

Re: [PATCH] Convert files to UTF-8 and some cleanups

2007-05-14 Thread Jan Engelhardt
On May 14 2007 22:25, Adrian Bunk wrote: >> > >> >http://marc.info/?l=linux-kernel&m=116828781409931 >> >> I checked. >> Now that kinda sucks, everyone does the same job over and over, >> I did a ton of utf8 fixes and they did not get applied. (Granted, >> I did not cc Andrew, Linus or trivial).

Re: [RFC][PATCH 3/14] Add the whiteout file type

2007-05-14 Thread Jan Engelhardt
On May 14 2007 15:09, Bharata B Rao wrote: > >A white-out stops the VFS from further lookups of the white-outs name and >returns -ENOENT. This is the same behaviour as if the filename isn't >found. This can be used in combination with union mounts to virtually >delete (white-out) files by creating

Re: [RFC][PATCH 2/14] Add a new mount flag (MNT_UNION) for union mount

2007-05-14 Thread Jan Engelhardt
On May 14 2007 15:09, Bharata B Rao wrote: > >Introduce MNT_UNION, MS_UNION and FS_WHT flags. There are the necessary flags >for doing > >mount /dev/hda3 /mnt -o union > >You need additional patches for util-linux for that to work. > >Signed-off-by: Jan Blunck <[EMAIL PROTECTED]> >Signed-off-b

Re: [RFC][PATCH 5/14] Introduce union stack

2007-05-14 Thread Jan Engelhardt
On May 14 2007 15:10, Bharata B Rao wrote: >+struct union_info * union_alloc(void) Ultimate nitpick: try s/\* /*/; (also elsewhere) >+static inline void union_lock(struct dentry *dentry) >+{ >+ if (unlikely(dentry && dentry->d_union)) { >+ struct union_info *ui = dentry->d_unio

Re: [RFC][PATCH 5/14] Introduce union stack

2007-05-14 Thread Jan Engelhardt
On May 14 2007 13:23, Badari Pulavarty wrote: >> +static inline void union_lock_fs(struct fs_struct *fs) >> +{ >> +int locked; >> + >> +while (fs) { >> +locked = union_trylock(fs->root); >> +if (!locked) >> +goto loop1; >> +locked = u

Re: [RFC][PATCH 6/14] Union-mount dentry reference counting

2007-05-14 Thread Jan Engelhardt
On May 14 2007 15:11, Bharata B Rao wrote: >+void __union_check(struct dentry *dentry) >+{ >+ if (likely(!(dentry->d_topmost || dentry->d_overlaid))) { This could be simplified to if (likely(!dentry->d_topmost && !dentry->d_overlaid)) (I prefer x==NULL over !x for pointers, though) And

Re: tracking down disk spinups.

2007-05-14 Thread Jan Engelhardt
On May 14 2007 16:46, Dave Jones wrote: > >*has sudden brainwave* > >Ahh, it's doing atime updates. Duh. FYI+, noatime,nodiratime :) Jan -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at ht

[PATCH] Convert files to UTF-8 and some cleanups

2007-05-14 Thread Jan Engelhardt
On May 14 2007 22:41, Adrian Bunk wrote: >> >> > >> >> >http://marc.info/?l=linux-kernel&m=116828781409931 >> >> >> >> I did a ton of utf8 fixes and they did not get applied. (Granted, >> >> I did not cc Andrew, Linus or trivial). >> > >> >If you had Cc'ed trivial they would now be in Linus' tree

Re: [RFC][PATCH 7/14] Union-mount mounting

2007-05-15 Thread Jan Engelhardt
On May 14 2007 15:11, Bharata B Rao wrote: > >TODO: bind and move mounts aren't yet supported with union mounts. Are the semantics already set? >@@ -294,6 +294,10 @@ static struct vfsmount *clone_mnt(struct > if (!mnt) > goto alloc_failed; > >+ /* >+ * As of now,

Re: [RFC][PATCH 8/14] Union-mount lookup

2007-05-15 Thread Jan Engelhardt
On May 14 2007 15:12, Bharata B Rao wrote: > >+struct dentry * d_lookup_single(struct dentry *parent, struct qstr *name) >+{ >+ struct dentry *dentry; >+ unsigned long seq; >+ >+do { >+seq = read_seqbegin(&rename_lock); >+dentry = __d_lookup_singl

Re: [PATCH] Convert files to UTF-8 and some cleanups

2007-05-15 Thread Jan Engelhardt
On May 15 2007 00:20, Stefan Richter wrote: > >You forgot this in the plain-text part of your mail: Well thanks for pasting :) > >[quote] > > * Convert files to UTF-8. > > * Also correct some people's names >(one example is Eißfeldt, which was found in a source file. >Given that the au

Re: Linux 2.6.22-rc1

2007-05-15 Thread Jan Engelhardt
On May 15 2007 08:32, Satyam Sharma wrote: > On 5/15/07, Stefan Richter <[EMAIL PROTECTED]> wrote: >> Tilman Schmidt wrote: >> > Am 14.05.2007 22:33 schrieb Jan Engelhardt: >> > > * Disabling this menu disables all the fluff inside it, >> >> except

Re: Linux 2.6.22-rc1

2007-05-15 Thread Jan Engelhardt
On May 15 2007 08:04, Satyam Sharma wrote: > On 5/15/07, Jan Engelhardt <[EMAIL PROTECTED]> wrote: >> that can be switched on or off. >> It is for those people that start with an arbitrary .config and >> work their way through menuconfig to disable all the parts they &

Re: How to access correctly serial port inside module?

2007-05-15 Thread Jan Engelhardt
On May 15 2007 01:00, Tilman Schmidt wrote: >Am 14.05.2007 22:00 schrieb Jan Engelhardt: >> On May 14 2007 19:40, Lars K.W. Gohlke wrote: >>>> >>>> after searching the mailing list and searching the web, I still don't >>>> know how to access

Re: Linux 2.6.22-rc1, 'nother randconfig

2007-05-15 Thread Jan Engelhardt
On May 15 2007 10:26, David Howells wrote: >Jan Engelhardt <[EMAIL PROTECTED]> wrote: > >> Are you going to fix it? > >You should've got a copy of the patch. Yes, right. So much for asynchronous mail transferral :) Jan -- - To unsubscribe from this lis

Re: [PATCH] Pekka Pietikainen goes UTF-8

2007-05-16 Thread Jan Engelhardt
On May 15 2007 23:05, H. Peter Anvin wrote: >Pekka Pietikainen wrote: >> Since everyone else is doing it, why not me as well. Looks like I had >> a nice retro 7-bit a-umlaut in the tree from ten years ago too! >> (That was back when ISO 8859-1 didn't work universally...). >> I hope my mailer is s

Re: [BUG] (regression) AMD k6-III/450 won't boot w/2.6.22-rc1

2007-05-16 Thread Jan Engelhardt
On May 15 2007 21:27, Randy Dunlap wrote: >On Tue, 15 May 2007 22:13:14 -0500 (CDT) Bob Tracy wrote: > >> The 2.6.22-rc1 boot panics early in amd_mcheck_init() with my k6-III/450. >> It panics early enough that some of what I'm sure would be useful has >> already scrolled off the screen, and there

Re: [RFC][PATCH 10/14] In-kernel file copy between union mounted filesystems

2007-05-16 Thread Jan Engelhardt
On May 14 2007 15:13, Bharata B Rao wrote: >+ >+ if (flag & 0x2) { >+ error = union_copyup(nd, flag); >+ if (error) >+ goto exit; >+ } What I dislike (and that also goes for fs/namei.c and such) that they use numeral constants, i.e. 0x2. Th

Re: [RFC][PATCH 11/14] VFS whiteout handling

2007-05-16 Thread Jan Engelhardt
On May 14 2007 15:13, Bharata B Rao wrote: > >+/* >+ * Dummy default file-operations: >+ * Never open a whiteout. This is always a bug. >+ */ >+static int whiteout_no_open(struct inode *irrelevant, struct file *dontcare) >+{ >+ printk("Attemp to open a whiteout!\n"); >+ WARN_ON(1); >+

Re: [RFC][PATCH 12/14] ext2 whiteout support

2007-05-16 Thread Jan Engelhardt
On May 14 2007 15:14, Bharata B Rao wrote: > >--- a/fs/ext2/dir.c >+++ b/fs/ext2/dir.c >@@ -218,6 +218,7 @@ static unsigned char ext2_filetype_table > [EXT2_FT_FIFO] = DT_FIFO, > [EXT2_FT_SOCK] = DT_SOCK, > [EXT2_FT_SYMLINK] = DT_LNK, >+ [EXT2_FT_WHT]

Re: BUG in kcryptd?

2007-05-16 Thread Jan Engelhardt
On May 16 2007 17:11, Udo van den Heuvel wrote: > >While opening an encrypted partition and trying to fsck it: Yeah, somewhere is a bug in it, I also get an oops with kcryptd in 2.6.20 on sparc64 after a few minutes (though, it's a NULL dereference there). >May 16 17:05:53 epia kernel: BUG: unab

ark3116: receive returns negative

2007-05-16 Thread Jan Engelhardt
Hello, I seem to have problems with the ark3116 driver from 2.6.18.8. This is a USB-RS232 cable. Just opening the /dev/ttyUSB0 device gives (this is the debug output enabled by `modprobe ark3116 debug=1`). The lines that look suspicious are /serial/ark3116.c: 124 < 1 bytes [0xFFB0] and /s

Re: filesystem benchmarking fun

2007-05-16 Thread Jan Engelhardt
On May 16 2007 10:42, Chris Mason wrote: > >For example, I'll pick on xfs for a minute. compilebench shows the >default FS you get from mkfs.xfs is pretty slow for untarring a bunch of >kernel trees. I suppose you used 'nobarrier'? [ http://lkml.org/lkml/2006/5/19/33 ] >Dave Chinner gave me som

Re: Software raid0 will crash the file-system, when each disk is 5TB

2007-05-16 Thread Jan Engelhardt
On May 16 2007 11:04, [EMAIL PROTECTED] wrote: > > I'm getting ready to setup a similar machine that will have 3x10TB (3 15 disk > arrays with 750G drives), but won't be ready to try this for a few more days. You could emulate it with VMware. Big disks are quite "cheap" when they are not allocate

Re: filesystem benchmarking fun

2007-05-16 Thread Jan Engelhardt
On May 16 2007 14:16, Jeffrey Hundstad wrote: > Jeff Garzik wrote: >> Jan Engelhardt wrote: >> > On May 16 2007 10:42, Chris Mason wrote: >> > > For example, I'll pick on xfs for a minute. compilebench shows >> > > the >> > > defa

Re: [RFC][PATCH 8/14] Union-mount lookup

2007-05-16 Thread Jan Engelhardt
On May 16 2007 10:38, Bharata B Rao wrote: >> >> >+lookup_union: >> >+ do { >> >+ struct vfsmount *mnt = find_mnt(topmost); >> >+ UM_DEBUG_DCACHE("name=\"%s\", inode=%p, device=%s\n", >> >+ topmost->d_name.name, topmost->d_inode, >> >+

RE: Software raid0 will crash the file-system, when each disk is 5TB

2007-05-17 Thread Jan Engelhardt
On May 17 2007 09:42, Jeff Zheng wrote: > >Problem is that is only happens when you actually write data to the >raid. You need the actual space to reproduce the problem. That should not be a big problem. Create like 4x950G virtual sparse drives (takes roughly or so 4x100 MB on the host after mkfs

Re: [linux-usb-devel] ark3116: receive returns negative

2007-05-17 Thread Jan Engelhardt
Hi Greg, On May 17 2007 05:45, Greg KH wrote: >> >> I seem to have problems with the ark3116 driver from 2.6.18.8. This >> is a USB-RS232 cable. Just opening the /dev/ttyUSB0 device gives >> (this is the debug output enabled by `modprobe ark3116 debug=1`). >> >> The lines that look suspicious

Re: [linux-usb-devel] ark3116: receive returns negative

2007-05-17 Thread Jan Engelhardt
On May 17 2007 16:10, Jan Engelhardt wrote: >Hi Greg, > >>But does the driver seem to work properly? >>Do you get data through the device properly? I have taken a voltmeter and an appropriate testcase program - and yes, at least transmit works. >USB-RS232-GenderChanger

[PATCH] Re: [linux-usb-devel] ark3116: receive returns negative

2007-05-17 Thread Jan Engelhardt
On May 17 2007 07:58, Greg KH wrote: >On Thu, May 17, 2007 at 04:51:09PM +0200, Jan Engelhardt wrote: >> On May 17 2007 16:10, Jan Engelhardt wrote: >> >Hi Greg, >> > >> >>But does the driver seem to work properly? >> >>Do you get data through t

RE: Software raid0 will crash the file-system, when each disk is 5TB

2007-05-17 Thread Jan Engelhardt
On May 17 2007 21:11, Neil Brown wrote: >On Thursday May 17, [EMAIL PROTECTED] wrote: >> XOR it (0^0=1), and hence fills up the host disk. > >Uhmm... you need to check your maths. > >$ perl -e 'printf "%d\n", 0^0;' >0 > >:-) (ouch) You know just as I that ^ is the power operator! I just... wrongl

Re: [PATCH] LogFS take three

2007-05-17 Thread Jan Engelhardt
On May 16 2007 13:09, Jörn Engel wrote: >On Wed, 16 May 2007 12:54:14 +0800, David Woodhouse wrote: >> >> Personally I'd just go for 'JFFS3'. After all, it has a better claim to >> the name than either of its predecessors :) > >Did you ever see akpm's facial expression when he tried to pronounce

Re: [PATCH] LogFS take three

2007-05-17 Thread Jan Engelhardt
On May 16 2007 14:55, Jörn Engel wrote: >On Wed, 16 May 2007 16:29:22 +0400, Evgeniy Polyakov wrote: >> On Wed, May 16, 2007 at 01:50:03PM +0200, Jörn Engel ([EMAIL PROTECTED]) >> wrote: >> > On Wed, 16 May 2007 12:34:34 +0100, Jamie Lokier wrote: >> > > >> > > But if akpm can't pronounce it, ho

Re: [PATCH] LogFS take three

2007-05-17 Thread Jan Engelhardt
On May 16 2007 22:06, CaT wrote: >On Wed, May 16, 2007 at 01:50:03PM +0200, J??rn Engel wrote: >> On Wed, 16 May 2007 12:34:34 +0100, Jamie Lokier wrote: >> > >> > But if akpm can't pronounce it, how about FFFS for faster flash >> > filesystem ;-) >> >> How many of you have worked for IBM be

Re: [PATCH] LogFS take three

2007-05-17 Thread Jan Engelhardt
On May 16 2007 15:53, Jörn Engel wrote: > >My experience is that no matter which name I pick, people will complain >anyway. Previous suggestions included: [...] > >Plus today: >FFFS >flashfs >fredfs >bob >shizzle > >Imo they all suck. LogFS also sucks, but it allows me to make a stupid >joke and

Re: [PATCH] LogFS take three

2007-05-17 Thread Jan Engelhardt
On May 16 2007 02:06, Jörn Engel wrote: > >> > +/* memtree.c */ >> > +void btree_init(struct btree_head *head); >> > +void *btree_lookup(struct btree_head *head, long val); >> > +int btree_insert(struct btree_head *head, long val, void *ptr); >> > +int btree_remove(struct btree_head *head, long va

Re: [PATCH] drivers/ata: Add the SW NCQ support to sata_nv for MCP51/MCP55/MCP61

2007-05-17 Thread Jan Engelhardt
On May 17 2007 13:17, Andrew Morton wrote: >> @@ -2115,7 +2115,7 @@ static void nv_fill_sg(struct ata_queued >> WARN_ON(qc->__sg == NULL); >> WARN_ON(qc->n_elem == 0 && qc->pad_len == 0); >> >> -prd = (struct ata_prd*)((u64)pp->prd + ATA_PRD_TBL_SZ*qc->tag); >> +prd = pp->prd +

Re: [PATCH 0/2] xt_u32 - match arbitrary bits and bytes of a packet

2007-06-03 Thread Jan Engelhardt
On Jun 3 2007 01:07, [EMAIL PROTECTED] wrote: >On Sat, 02 Jun 2007 23:46:46 +0200, Jan Engelhardt said: > >> along comes xt_u32, a revamped ipt_u32, > >+1 for doing this - I've been dragging along a local ipt_u32 patch for a while, >and been wishing it had ipv6 support.

[PATCH 0/2] xt_connlimit - connection limiting

2007-06-03 Thread Jan Engelhardt
Hello! as with xt_u32, I would like to get xt_connlimit merged. Find patches as a reply to this mail. Runtime tested. Jan -- - 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.kerne

[PATCH 1/2] xt_connlimit (kernel) - connection limiting

2007-06-03 Thread Jan Engelhardt
002: Martin Bene <[EMAIL PROTECTED]>: + * only ignore TIME_WAIT or gone connections + * © Jan Engelhardt <[EMAIL PROTECTED]>, 2007 + * + * based on ... + * + * Kernel module to match connection tracking information. + * GPL (C) 1999 Rusty Russell ([EMAIL PROTECTED]). + */

[PATCH 2/2] xt_connlimit (iptables) - connection limiting

2007-06-03 Thread Jan Engelhardt
Adds connlimit to iptables. Signed-off-by: Jan Engelhardt <[EMAIL PROTECTED]> --- extensions/.connlimit-test |2 extensions/libipt_connlimit.c | 129 extensions/libipt_connlimit.man | 21 ++ 3 files changed, 152 insertions(+)

Re: [PATCH 2/2] xt_connlimit (iptables) - connection limiting

2007-06-03 Thread Jan Engelhardt
Previous patch had a wrong #include line, this one seems better :) Adds connlimit to iptables. Signed-off-by: Jan Engelhardt <[EMAIL PROTECTED]> --- extensions/.connlimit-test |2 extensions/libipt_connlimit.c

Re: [PATCH 1/2] xt_connlimit (kernel) - connection limiting

2007-06-03 Thread Jan Engelhardt
Hello, >From: Jan Engelhardt <[EMAIL PROTECTED]> >Date: Sun, 3 Jun 2007 13:12:55 +0200 (MEST) > >> +static int __init xt_connlimit_init(void) >> +{ >> +need_conntrack_ipv4(); >> +return xt_register_match(&xt_connlimit_reg); >> +} > &g

Re: [PATCH 23/36] drivers edac Lindent amd76x driver

2007-06-03 Thread Jan Engelhardt
On Jun 3 2007 16:17, Simon Arlott wrote: >On 03/06/07 16:11, Doug Thompson wrote: >> Run this driver through Lindent for cleanup purposes >> amd76x_edac.c | 54 >> 1 file changed, 25 insertions(+), 29 deletions(-) >> --- linux-2.6.22-rc1.orig/drivers/edac/amd76x_edac.c >> +++ linux-2.6.22-rc1/d

Re: [PATCH 1/2] xt_connlimit (kernel) - connection limiting

2007-06-03 Thread Jan Engelhardt
On Jun 3 2007 18:00, Andrew Beverley wrote: >On Sun, 2007-06-03 at 13:12 +0200, Jan Engelhardt wrote: >> Adds the connlimit match that has been in POM-NG for a long time. >> >> *works with 2.6.22, xtables'ified and all that >> >> *wi

Re: [Patch 05/18] fs/logfs/logfs.h

2007-06-04 Thread Jan Engelhardt
>On Sunday 03 June 2007, Jörn Engel wrote: >> +/** >> + * struct logfs_device_ops - device access operations >> + * >> + * @read:  read from the device >> + * @write: write to the device >> + * @erase: erase part of the device >> + */ >>

Re: [PATCH 08/19] scripts: Make cleanfile/cleanpatch warn about long lines

2007-06-04 Thread Jan Engelhardt
On Jun 3 2007 22:47, Sam Ravnborg wrote: > >Make the "cleanfile" and "cleanpatch" script warn about long lines, >by default lines whose visual width exceeds 79 characters. Nice, nice. But, am I asking too much if tabs and kernel codestyle could be used? (/me hides..., but see scripts/checkpatch.p

Re: [PATCH] update checkpatch.pl to version 0.03

2007-06-04 Thread Jan Engelhardt
On Jun 4 2007 10:46, Andy Whitcroft wrote: > > - catch use of volatile Speaking of volatile, "register" is probably just as unwanted. Then, "extern inline" is one thing to catch (does not happen that often, but it does not cost too much either). > - warn about #ifdef's in c files Really? Ther

Re: [RFC] Documentation/CodingStyle: Add rules for goto labels

2007-06-04 Thread Jan Engelhardt
On Jun 4 2007 10:27, H. Peter Anvin wrote: >Jeff Garzik wrote: >> >> Seconded. All my code contains the goto label in the first column. >> >> IMO any other goto label indentation is silly, because it obscures the >> goto label within the code block. > >I would have to disagree with this. IMNSH

Re: To swap or not to swap?

2007-06-05 Thread Jan Engelhardt
On Jun 5 2007 00:35, Mike Richards wrote: > > In my research on this matter I've come across various comments by > people saying that getting rid of swap entirely will hurt performance > somehow, but on these servers I'm seeing very little swap used in the > first place, so I'm not seeing how tha

Re: BUG in 2.6.22-rc2-mm1: Parts of Alsa sound architecture broken

2007-06-05 Thread Jan Engelhardt
>> > >Well, I find the change of CONFIG_SND to menuconfig is fine, too. >> > >But CONFIG_SND_PCI_DRIVERS and others don't make much sense to me. >> > >How is it useful at all? >> > >> > Hah, I just tell you some of my own experience. >> > In summer 2003, I bought the last new machine, and it got

Re: BUG in 2.6.22-rc2-mm1: Parts of Alsa sound architecture broken

2007-06-05 Thread Jan Engelhardt
On Jun 5 2007 16:17, Takashi Iwai wrote: > >Hm, I guess Jens didn't know about this side-effect. > >When I don't set "default y", I'll be asked for each belonging item >even though I chose "y" manually for the top config >(CONFIG_*_DRIVERS). > >Strangely, setting "default y" has no this effect...

Re: Size of kernel modules

2007-06-06 Thread Jan Engelhardt
On Jun 6 2007 17:51, Jesper Juhl wrote: > On 06/06/07, Christoph Pleger <[EMAIL PROTECTED]> wrote: >> Hello, >> >> I have a machine here which I installed with Ubuntu 7.04. Immediately >> after the installation had been finished, I installed the Ubuntu package >> which contains the Ubuntu-modifie

Re: 2.6.22-rc4-mm1

2007-06-06 Thread Jan Engelhardt
ing went in >all over the tree. /me points at Herbert Andrew would not add options between the "menuconfig CRYPTO" and the "if CRYPTO" line... :) Jan === Unbreak the crypto menu breakage. Signed-off-by: Jan Engelhardt <[EMAIL PROTECTED]> --- crypto/Kconfi

Re: 4Gb ram not showing up

2007-06-07 Thread Jan Engelhardt
On Jun 7 2007 02:48, Satyam Sharma wrote: > On 6/6/07, Lennart Sorensen <[EMAIL PROTECTED]> wrote: >> [...] >> A better description would be: >> >> "Select this if you have a 32-bit processor and memory mapped in the 1GB >> to 4GB address range." >> [...] >> That one would be better as: >> >> "S

Re: [PATCH] Audit: Add TTY input auditing

2007-06-07 Thread Jan Engelhardt
On Jun 6 2007 11:49, Miloslav Trmac wrote: >From: Miloslav Trmac <[EMAIL PROTECTED]> > >Add TTY input auditing, used to audit system administrator's actions. _What_ exactly does it audit? And why does it only audit sysadmin actions? Is this supposed to be a keylogger? >TTY input auditing works o

Re: no more git snapshots?

2007-06-07 Thread Jan Engelhardt
On Jun 7 2007 12:57, Christian Kujau wrote: > > Just wondering: the last git snapshot is -rc3-git7 from 04.06.2007, have they > been discontinued or is some magic script just on vacation for a few days? After that came -rc4. Next one will be -rc4-git1. Jan -- - To unsubscribe from this

Re: [PATCH] update checkpatch.pl to version 0.03

2007-06-07 Thread Jan Engelhardt
On Jun 6 2007 11:05, Jesper Juhl wrote: > > - Source files should be 7bit ASCII Nah. Think of MODULE_AUTHOR("J. Ørsted <[EMAIL PROTECTED]>"); > - Maybe warn about usage of float/double in source files? Generally yes, maybe, but see arch/i386/kernel/cpu/bugs.c, arch/i386/math-emu/. Generall

Re: Another version of cleanfile/cleanpatch

2007-06-07 Thread Jan Engelhardt
On Jun 6 2007 21:14, Oleg Verych wrote: >[] >> > Many things in XXI century still can be done by tools founded 20-30 >> > years ago. Why not try to? >> >> Because your shell script is unreadable by normal human beings[*] >> while the perl script for people with a bit of perl fu can read it >> and

Re: [PATCH] update checkpatch.pl to version 0.03

2007-06-07 Thread Jan Engelhardt
On Jun 7 2007 12:46, Andy Whitcroft wrote: > >Jesper Juhl wrote: >> On 04/06/07, Andy Whitcroft <[EMAIL PROTECTED]> wrote: >>> >>> This version brings a host of changes to cure false positives and >>> bugs detected on patches submitted to lkml and -mm. It also brings >>> a number of new tests in

Re: Linux 2.6.22-rc4

2007-06-07 Thread Jan Engelhardt
On Jun 5 2007 12:26, Linus Torvalds wrote: >On Tue, 5 Jun 2007, Michal Piotrowski wrote: >> >> It is too stable for me. > >I wish all our testers were you ;) It [2.6.22-rc4] did not die on me so far, unlike that stock FC7 kernel (same config but without fc patches). Jan -- - To unsu

Re: Linux 2.6.22-rc4

2007-06-07 Thread Jan Engelhardt
On Jun 7 2007 11:24, Gene Heskett wrote: It is too stable for me. >>> >>>I wish all our testers were you ;) >> >>It [2.6.22-rc4] did not die on me so far, unlike that stock FC7 kernel >>(same config but without fc patches). >> >Oh its stable allright, but why do I have to turn the monitor off

Re: Linux 2.6.22-rc4

2007-06-07 Thread Jan Engelhardt
On Jun 7 2007 12:06, Gene Heskett wrote: > >On Thursday 07 June 2007, Jan Engelhardt wrote: >>On Jun 7 2007 11:24, Gene Heskett wrote: >>>>>> It is too stable for me. >>>>> >>>>>I wish all our testers were you ;) >>>> &g

Re: [PATCH] Protection for exploiting null dereference using mmap

2007-06-07 Thread Jan Engelhardt
On Jun 6 2007 08:47, Stephen Smalley wrote: > >I'd be ok with having a different default for SELinux vs. non-SELinux, >i.e. no restrictions by default under dummy/capability, but restrict it >by default to 64k if selinux is enabled. Then we can use policy to >grant it as needed to the specific pr

Re: [PATCH] Audit: Add TTY input auditing

2007-06-07 Thread Jan Engelhardt
On Jun 7 2007 21:28, Miloslav Trmac wrote: >Casey Schaufler napsal(a): >>> If we do not get commands typed at a prompt, we have to audit by execve. >> I would suggest that you'll have to do that as well so that you can tell >> the difference between typed actions like these: >> >> # cat > /dev/n

Re: Another version of cleanfile/cleanpatch

2007-06-07 Thread Jan Engelhardt
On Jun 8 2007 01:06, Oleg Verych wrote: >- empty lines in the end of file (patches can't be handled, or can? :). Yes it can. >Body -- is a commented sed script with shell variables for source/patch >handling switch and compatibility with other versions of sed, not only GNU. >If you like more t

Re: [PATCH] update checkpatch.pl to version 0.03

2007-06-08 Thread Jan Engelhardt
On Jun 8 2007 16:42, Adrian Bunk wrote: >On Fri, Jun 08, 2007 at 04:34:01PM +0200, Jesper Juhl wrote: >> On 08/06/07, Adrian Bunk <[EMAIL PROTECTED]> wrote: >> [snip] >>> >>> It's not only about MODULE_AUTHOR, if you consider it rude to limit >>> people's names to ASCII, then don't forget that we

Re: [PATCH] Include from .

2007-06-08 Thread Jan Engelhardt
On Jun 8 2007 16:30, Alan Cox wrote: > >> >> The header file should include >> to pick up the definition of "struct ktermios"; otherwise, you run the >> risk of seeing: > >Risk - which compile combinations does it actually show up with and is it >not better to fix the C file in question not gro

Re: [PATCH] Include from .

2007-06-08 Thread Jan Engelhardt
On Jun 8 2007 11:42, Robert P. J. Day wrote: >> > >> > um ... what does that mean? consider this snippet from >> > : That's right. Each .h file should be "compilable" on their own. >> >> Which compile combination shows the sequence you are reporting ? > >sorry, i don't understand the question.

Re: Should "cleanpatch" clean up stretches of space?

2007-06-08 Thread Jan Engelhardt
On Jun 8 2007 09:12, H. Peter Anvin wrote: >Hi all, > >Right now I have "cleanspace" and "cleanpatch" clean up spaces before >tabs, but it does not compress runs of spaces that aren't followed by a tab. > >I could make it do that; I was being conservative when I wrote it and >opted for it not to d

Re: [PATCH] update checkpatch.pl to version 0.03

2007-06-08 Thread Jan Engelhardt
On Jun 8 2007 18:39, Adrian Bunk wrote: >> > >>> Does the console handle it correctly during boot? >> >> Yes That's most likely because printk() handles neither special chars nor special fun (like ANSI color and movement codes). Hence, we should be safe should there be spurious utf8 output on th

Re: man-pages-2.54 is released

2007-06-08 Thread Jan Engelhardt
On Jun 8 2007 18:03, Michael Kerrisk wrote: >Release Philosophy >== > >If you make sweeping *formatting* changes on a large number of >pages, separate them out into their own release that contains >minimal *content* changes. This makes it easier for the people

Re: [PATCH 2/3] [CRYPTO] Add optimized SHA-1 implementation for i486+

2007-06-09 Thread Jan Engelhardt
On Jun 8 2007 17:42, Benjamin Gilbert wrote: >@@ -0,0 +1,299 @@ >+/* >+ * x86-optimized SHA1 hash algorithm (i486 and above) >+ * >+ * Originally from Nettle >+ * Ported from M4 to cpp by Benjamin Gilbert <[EMAIL PROTECTED]> >+ * >+ * Copyright (C) 2004, Niels M?ller >+ * Copyright (C) 2006-2007

Re: Rules on how to use sysfs in userspace programs

2007-06-09 Thread Jan Engelhardt
On Jun 8 2007 13:36, Greg KH wrote: > >Any comments or critique of this is greatly appreciated. > > > >Rules to access device-information in the Linux kernel sysfs > >The kernel exported sysfs exports internal kernel implementation-details >and depends on intern

Re: RE : Building kernel 2.6.21.3 for arm on cygwin

2007-06-09 Thread Jan Engelhardt
On Jun 9 2007 00:10, Sam Ravnborg wrote: >Hi Matthieu. > >Can you please try to tell what your patch actually does. > >As for the part added in the MAkefile you pass -lintl for Cygwin - >but I fail to see _why_ -lintl is needed. It is because I think .DLLs do not have something like ELF's DT_NEED

Re: missing elfconfig.h

2007-06-09 Thread Jan Engelhardt
On Jun 8 2007 22:19, Sam Ravnborg wrote: >On Fri, Jun 08, 2007 at 09:08:36AM -0400, Rich Chase wrote: >> An Apparent bug: >> version 2.6.21.3 >> missing the file ./scripts/mod/elfconfig.h > >To build an external module you need to point to a directory >where a fully build kernel is placed. > >You

Re: Size of kernel modules

2007-06-09 Thread Jan Engelhardt
On Jun 8 2007 08:40, Robert P. J. Day wrote: >> >> If you disable CONFIG_DEBUG_KERNEL, things should go back to normal >> sizes for you. > >grow so much compared to *which other modules*? the ones that came >with your distro? if that's the case, try installing your new modules >with > > # make

Re: Size of kernel modules

2007-06-09 Thread Jan Engelhardt
On Jun 9 2007 08:08, Jon Masters wrote: > >So I missed half of this conversation - you're saying that on a >CONFIG_DEBUG_KERNEL, you have such large .ko module files that depmod >segfaults? Can I get a core dump or any further information? :-) Just make sure your /lib/modules/ is like 300 megabyt

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-10 Thread Jan Engelhardt
On Jun 10 2007 11:37, Tarkan Erimer wrote: > > Thanks for the corrections ;-) The whole picture is more clear now for me :-) > BTW,I found a really interesting blog entry about which code in Linux Kernel > is > using which version of GPL : > > http://6thsenseless.blogspot.com/2007/02/how-much-lin

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-10 Thread Jan Engelhardt
On Jun 10 2007 10:17, Simon Arlott wrote: >On 10/06/07 09:37, Tarkan Erimer wrote: >> BTW,I found a really interesting blog entry about which code in Linux >> Kernel is using which version of GPL : >> >> http://6thsenseless.blogspot.com/2007/02/how-much-linux-kernel-code-is-gpl-2.html >> >> You'

Re: [RFD] Documentation/stable_api_nonsense.txt translated into Japanese

2007-06-10 Thread Jan Engelhardt
On Jun 10 2007 21:03, IKEDA Munehiro wrote: > >This is Japanese translation of "stable_api_nonsense.txt", >which is based on the same motivation of Tsugikazu Shibata. Sweet! But could we have it in UTF-8? Jan -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel

Re: [RFD] Documentation/HOWTO translated into Japanese

2007-06-10 Thread Jan Engelhardt
On Jun 10 2007 14:24, Jesper Juhl wrote: > > If we start adding translated versions of documentation to the kernel > source how should we organize the documents? Should each language get > a sepperate directory in Documentation/ - like Documentation/JP/, > Documentation/EN/, Documentation/DA/ etc?

Re: [RFD] Documentation/HOWTO translated into Japanese

2007-06-10 Thread Jan Engelhardt
On Jun 11 2007 01:34, Tsugikazu Shibata wrote: > >We are usually using ISO-2022-JP for email exchange and if anyone >would comment on my document, well I can't! Not sure if this is a flaw in pine, but all I get is [hexcode][hexcode][hexcode] and a bit of 7bit throughout. EUC-JP and UTF-8 are no p

Re: checkpatch: need space before that '*' (ctx:BxB)

2007-06-27 Thread Jan Engelhardt
On Jun 27 2007 17:24, Trilok Soni wrote: > > In the following case we may not need space before that "(*)". It > looks like false positive. Please check. > > need space before that '*' (ctx:BxB) > #1034: FILE: drivers/video/omap/omapfb.c:968: > + omapfb_nb->nb.notifier_call = (int (*)(struct

Oops on rmmod asus_acpi

2007-06-27 Thread Jan Engelhardt
Hi, modprobe asus_acpi rmmod asus_acpi is all that is needed to trigger an Oops in 2.6.22-rc6 (x86). If you need more info, please let me know, thanks. Note that the machine is not ASUS at all (vmware). (But suse_factory loads asus_acpi anyway -wtf?!) Jun 27 21:11:33 su1 kern

Re: Oops on rmmod asus_acpi

2007-06-27 Thread Jan Engelhardt
On Jun 27 2007 16:15, Chuck Ebbert wrote: >The device's klist_node is not on any list (n->n_klist == NULL) >in klist_del: > >void klist_del(struct klist_node * n) >{ >struct klist * k = n->n_klist; >===>void (*put)(struct klist_node *) = k->put; > >So the driver gets totally screwed up

Re: [PATCH] CodingStyle: Add information about trailing whitespace.

2007-06-27 Thread Jan Engelhardt
On Jun 27 2007 12:31, Andrew Morton wrote: > >quilt has ways of detecting and/or correcting newly-added trailing >whitespace, but I don't know the details. Upon `quilt ref`, it usually barfs about every line you touched where you added or kept whitespace at EOL. >One could share the various scri

Re: [PATCH] CodingStyle: Add information about trailing whitespace.

2007-06-27 Thread Jan Engelhardt
On Jun 27 2007 14:05, Chris Shoemaker wrote: > >What I'd really like to see is, _why_ is trailing whitespace >considered harmful? Consumes bytes you'll never see :) >Something about MUAs not preserving it or something? Well, there is format=flowed. text/plain mails with a trailing blank at the

Re: Userspace compiler support of "long long"

2007-06-27 Thread Jan Engelhardt
On Jun 28 2007 04:12, Geert Uytterhoeven wrote: >On Wed, 27 Jun 2007, Randy Dunlap wrote: >> On Wed, 27 Jun 2007 15:57:15 -0700 Randy Dunlap wrote: >> > LDD3 ch. 11 says that long on Sparc64 is 32 bits. >> > Same for "ppc" (don't know which power* arch. they mean by that). >> >> Hm, I suppose tha

Re: [PATCH] CodingStyle: Add information about trailing whitespace.

2007-06-27 Thread Jan Engelhardt
On Jun 28 2007 06:29, dave young wrote: > > IMHO, another cause of trailing whitespace is human error, for > example long lines breaking will easy to cause the first line with one > traling whitespace (original space between the last two words). Most common errors (to me) are: - hit return+tab

Re: Linux Kernel include files

2007-06-28 Thread Jan Engelhardt
On Jun 27 2007 19:18, Sam Ravnborg wrote: > >For my test I used latest -git of the Linux kernel. >In this version the include of ext2_fs_bh.h is guarded >by __KERNEL__ like this: > >#ifdef __KERNEL__ >#include >static inline struct ext2_sb_info *EXT2_SB(struct super_block *sb) >{ >return

Re: Linux Kernel include files

2007-06-28 Thread Jan Engelhardt
On Jun 28 2007 12:57, Jan-Benedict Glaw wrote: >> > >> > It's not an accusation -- it's merely an observation. You may not have >> > noticed that your mailer was misbehaving; now you _do_ know, and if you >> > care about RFC compliance you might want to fix it. You're not _obliged_ >> > to fix it,

Re: [OT] Vim highlighting for trailing spaces

2007-06-29 Thread Jan Engelhardt
On Jun 28 2007 23:11, Kyle Moffett wrote: > I actually prefer this (in .vimrc): > > " Show trailing whitespace and spaces before tabs > hi link localWhitespaceError Error > au Syntax * syn match localWhitespaceError /\(\zs\%#\|\s\)\+$/ display > au Syntax * syn match localWhitespaceError / \+\ze\t

Re: [OT] Vim highlighting for trailing spaces

2007-06-29 Thread Jan Engelhardt
On Jun 29 2007 00:53, Josh Triplett wrote: >>> I actually prefer this (in .vimrc): >>> >>> " Show trailing whitespace and spaces before tabs >>> hi link localWhitespaceError Error >>> au Syntax * syn match localWhitespaceError /\(\zs\%#\|\s\)\+$/ display >>> au Syntax * syn match localWhitespaceEr

Re: mss to pmtu clamping partially broken?

2007-06-30 Thread Jan Engelhardt
On Jun 29 2007 13:09, Andreas Steinmetz wrote: > >There seems to be a problem with mss to pmtu clamping for incoming syn >packets on reply to an outgoing connection on a ppp interface. The mss >of the outgoing syn packets is always always clamped to the pmtu, I did >check this with a target host I

<    11   12   13   14   15   16   17   18   19   20   >