Re: [PATCH 20/30] Use menuconfig objects - ARCNET

2007-04-11 Thread Jan Engelhardt
On Apr 11 2007 10:30, Esben Nielsen wrote: > On Tue, 10 Apr 2007, Jan Engelhardt wrote: >> >> (Wow, not a single MODULE_AUTHOR line in drivers/net/arcnet/ ...) > > ArcNet is old. Almost nobody is using it anymore. I used it at my > former job, since we used it a

Re: "menu" versus "menuconfig" -- they're *both* a bad idea

2007-04-11 Thread Jan Engelhardt
On Apr 11 2007 03:58, Robert P. J. Day wrote: > > General setup >[ ] Configure standard kernel features (for small systems) ---> > >note how, even if you don't choose to configure features for small >systems, if you go under that menu entry, you're still presented with >a couple config

Re: "menu" versus "menuconfig" -- they're *both* a bad idea

2007-04-11 Thread Jan Engelhardt
On Apr 11 2007 05:25, Robert P. J. Day wrote: >On Wed, 11 Apr 2007, Jan Engelhardt wrote: >> On Apr 11 2007 03:58, Robert P. J. Day wrote: >> >> A CONFIG_EMBEDDED bug. This should perhaps be changed. >> Or at best, deactivate the ---> part when it's N. > >

Re: [PATCH 10/30 #2] Use menuconfig objects - I2C

2007-04-11 Thread Jan Engelhardt
>On Apr 11 2007 10:14, Jean Delvare wrote: >>On Tue, 10 Apr 2007 23:11:41 +0200 (MEST), Jan Engelhardt wrote: >>> >>> Use menuconfigs instead of menus, so the whole menu can be disabled at >>> >>> once instead of going through all o

Re: [PATCH] console UTF-8 fixes

2007-04-11 Thread Jan Engelhardt
On Apr 10 2007 20:51, Egmont Koblinger wrote: >On Tue, Apr 10, 2007 at 10:30:07AM -0700, H. Peter Anvin wrote: > >> Really? Why is CJK so much more fundamental than, say, Arabic? > >Not more fundamental at all. It's just perhaps easier to "support" (I mean >keep track of the cursor, not to

Re: If not readdir() then what?

2007-04-11 Thread Jan Engelhardt
On Apr 11 2007 07:15, Neil Brown wrote: >On Sunday April 8, [EMAIL PROTECTED] wrote: >> On Sun, 8 April 2007 11:11:20 -0700, H. Peter Anvin wrote: >> > >> > Well, the question is if you can keep the seekdir/telldir cookie around >> > as a pointer -- preferrably in userspace, of course. You

Re: "menu" versus "menuconfig" -- they're *both* a bad idea

2007-04-11 Thread Jan Engelhardt
On Apr 11 2007 05:47, Robert P. J. Day wrote: >> On Apr 11 2007 05:25, Robert P. J. Day wrote: >> >On Wed, 11 Apr 2007, Jan Engelhardt wrote: >> >> On Apr 11 2007 03:58, Robert P. J. Day wrote: >> >> >> >> A CONFIG_EMBEDDED bug. This shou

Re: I give up

2007-04-11 Thread Jan Engelhardt
On Apr 10 2007 23:54, Gene Heskett wrote: So fix tar to not do silly things. Kernel major:minor numbers are not stable. >>> >>>YOU Tell that to the tar/star people, they are flabbergasted that its >>> not stable. It apparently is for every other OS tar can be run on. >> >>FreeBSD

Re: kernel space to user space /bin/sh startup

2007-04-11 Thread Jan Engelhardt
On Apr 10 2007 11:22, Tom Strader wrote: >console::sysinit:/etc/init.d/rcS >console::respawn:/sbin/getty -L 115200 /dev/ttyS0 vt100 >Now I can type on the console and characters are echoed back, pressing >ctrl-c echoes: "uart_flush_buffer(0) called" so the code is still >running, but I am not

Re: [KJ][PATCH] SPIN_LOCK_UNLOCKED cleanup in drivers/ata/pata_winbond.c

2007-04-11 Thread Jan Engelhardt
On Apr 11 2007 20:58, Milind Arun Choudhary wrote: > >remove SPIN_LOCK_UNLOCKED, use DEFINE_SPINLOCK instead Don't we have some more places where spinlocks could be janitorified? Otherwise, ok! Jan -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

RE: kernel space to user space /bin/sh startup

2007-04-11 Thread Jan Engelhardt
rcS finished. Thanks for NOT top posting. > Would the echoes in rcS >still appear? I feel like it may be related to the getty and userspace >prints due to the fact the kernel is still printing and responding to >commands. >Tom > >-----Original Message- >From: Jan Engelha

Re: [PATCH 0/30] Use menuconfig objects

2007-04-11 Thread Jan Engelhardt
On Apr 11 2007 18:53, Stefan Richter wrote: >Jan Engelhardt wrote: >> On Apr 11 2007 07:42, Al Boldi wrote: >>>Also, I don't think it's necessary to touch any of the "depends on"; keep >>>them as is, as they don't hurt staying that way, and may ac

Re: I give up

2007-04-11 Thread Jan Engelhardt
On Apr 11 2007 18:43, Krzysztof Halasa wrote: >"John Anthony Kazos Jr." <[EMAIL PROTECTED]> writes: > >> I think that's especially true. If a user begins with a single full disk >> for their entire filesystem, uses tar to backup, and then later adds a >> second disk, copies everything from /usr

Re: [PATCH] console UTF-8 fixes

2007-04-11 Thread Jan Engelhardt
On Apr 11 2007 20:28, Egmont Koblinger wrote: >I send a reworked version of the patch. > >Removed from the first version: > - any sign of '.' as substitute glyph > - don't ignore zero-width characters (except for a few zero-width spaces >that are ignored in the current kernel too).

Re: Loud "pop" coming from hard drive on reboot

2007-04-11 Thread Jan Engelhardt
On Apr 11 2007 17:07, Chuck Ebbert wrote: > >When I reboot my notebook, it powers off and powers back on. >On poweroff a loud snapping noise seems to be coming from the >hard drive. Today I noticed there is no "shutdown: hda" on >the console when I reboot. Whne I do a normal poweroff the >message

Re: Loud "pop" coming from hard drive on reboot

2007-04-11 Thread Jan Engelhardt
On Apr 11 2007 17:35, Chuck Ebbert wrote: >Jan Engelhardt wrote: >> On Apr 11 2007 17:07, Chuck Ebbert wrote: >>> When I reboot my notebook, it powers off and powers back on. >>> On poweroff a loud snapping noise seems to be coming from the >>> hard drive. T

Re: tmpfs and the OOM killer

2007-04-12 Thread Jan Engelhardt
On Apr 11 2007 21:48, Willy Tarreau wrote: >On Wed, Apr 11, 2007 at 02:23:31AM -0300, Pedro wrote: >> After suffering some days from a not|mis configured tmpfs, >> >> As the OOM killer is not Posix, >> >> Better than to kill processes would be to resize tmpfs, to use tmpfs empty >>

Re: [PATCH] console UTF-8 fixes

2007-04-12 Thread Jan Engelhardt
On Apr 11 2007 19:36, Pavel Machek wrote: > >> + while (max >= min) { >> +mid = (min + max) / 2; >> +if (ucs > table[mid].last) >> + min = mid + 1; >> +else if (ucs < table[mid].first) >> + max = mid - 1; >> +else >> + return 1; >> + } >> + >> + return 0; >> +} >

Re: [PATCH] console UTF-8 fixes

2007-04-12 Thread Jan Engelhardt
On Apr 12 2007 08:36, H. Peter Anvin wrote: > Egmont Koblinger wrote: > >> > Besides, would it not make more sense to have a single table with the >> > width information, if you insist on having one, instead of multiple >> > ones? >> >> I've been thinking on it and I'm not sure which one the

Re: [PATCH] console UTF-8 fixes

2007-04-12 Thread Jan Engelhardt
On Apr 12 2007 18:55, Egmont Koblinger wrote: > >> >> I've been thinking on it and I'm not sure which one the right >> >> way is. The reason for choosing this was probably that this way >> >> information that is not used by the code can be omitted by the >> >> compiler. >> > >> > Then let's leave

Re: [PATCH 0/30] Use menuconfig objects

2007-04-12 Thread Jan Engelhardt
Hi, On Apr 12 2007 15:50, Andrew Morton wrote: >On Tue, 10 Apr 2007 21:17:40 +0200 (MEST) >Jan Engelhardt <[EMAIL PROTECTED]> wrote: > >> the following patch series turns some menus into menuconfigs, so they >> can be disabled whilst "walking" thorugh

Re: [PATCH 0/30] Use menuconfig objects

2007-04-12 Thread Jan Engelhardt
Hi, On Apr 12 2007 16:07, Randy Dunlap wrote: >On Thu, 12 Apr 2007 15:50:12 -0700 Andrew Morton wrote: >> >> So I merged the 23 of these which survived review and which do not >> intersect with other outstanding work. >> >> I don't think I have an opinion on whether the change is actually an >>

Re: [PATCH UPDATE] deflate stack usage in lib/inflate.c

2007-04-12 Thread Jan Engelhardt
On Apr 12 2007 15:39, Jeremy Fitzhardinge wrote: >Andi Kleen wrote: >> Hmm, does Xen perhaps not use interrupt stacks? Normally 2.7k should be still >> green as long as there are not too many functions above/below it. > >That's a good point, I'll need to check that. Still, nearly 3k of stack! I

Re: [PATCH 0/30] Use menuconfig objects

2007-04-13 Thread Jan Engelhardt
On Apr 13 2007 11:50, Jean Delvare wrote: > >As far as I can see, the hwmon subsystem would benefit from that too. yeah next series... 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

Re: ZFS with Linux: An Open Plea

2007-04-14 Thread Jan Engelhardt
On Apr 14 2007 10:04, Mike Snitzer wrote: > > ZFS does have some powerful features but much of it depends on their > broken layering of volume management. Embedding the equivalent of LVM > into a filesystem _feels_ quite wrong. > >[...] > > Unfortunately in order for Linux to incorporate such a

Re: [PATCH 10/28] i386: map enough initial memory to create lowmem mappings

2007-04-15 Thread Jan Engelhardt
On Apr 14 2007 15:04, H. Peter Anvin wrote: > > Jeremy Fitzhardinge wrote: >> - >> +LOW_PAGES = 1<<(32-PAGE_SHIFT_asm) >> + > > Again, for debugging... it would be interesting to replace this with: > > LOW_PAGES = (0x1-__PAGE_OFFSET) >> PAGE_SHIFT_asm LOW_PAGES = (0x1ULL -

Re: Loud "pop" coming from hard drive on reboot

2007-04-15 Thread Jan Engelhardt
On Apr 15 2007 12:53, Henrique de Moraes Holschuh wrote: >On Sat, 14 Apr 2007, Pavel Machek wrote: >> How common are notebooks that cut power to disks during reboot? > >Assuming it also does this when running Windows, I'd report it as a grave >bug to the vendor and demand it to be fixed, or the

Re: [PATCH 13/16] show-pipesize-in-stat.diff

2007-04-17 Thread Jan Engelhardt
Hi, On Wed, 04 Apr 2007 07:03:55 +0200, Eric Dumazet wrote: >find net | xargs grep -n SIOCINQ >I suspect you will find unix_ioctl() in net/unix/af_unix.c ? >BTW, my patch only worked for pipes, not fifos. Ie pipe(), not >open("/some/fifo.p", ...) Thanks for your patch. There is a question

Re: Loud "pop" coming from hard drive on reboot

2007-04-19 Thread Jan Engelhardt
On Apr 18 2007 09:39, Stephen Clark wrote: >> > So this is the pop I hear on my new laptop that is using > libata=combined_mode when I shut my system down. I didn't get the > pop with the same disk drive in an older laptop that was only ide. > It sounds like a relay closing or opening, but is

Re: built 2.6.20.7 on suse 10.0, boots fine, no mouse, network or keyboard

2007-04-19 Thread Jan Engelhardt
On Apr 18 2007 10:45, david rankin wrote: > > Mates, > > First post and I am having heck building the vanilla 2.6.20.7 kernel on > Suse 10.0. Basically I put 2.6.20.7 in /usr/src, then I did >[...] > All current minimal requierments are met *except* udev which is version > 068. Everything

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

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?

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.

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

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

Re: 2.6.22-rc4-mm1

2007-06-07 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: >> >>

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

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

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/.

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 >>

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

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

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

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 >

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

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

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

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

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

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

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

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 : > >

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 >> >>

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

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/

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

Re: kconfig .po files in kernel tree? [Was: Documentation/HOWTO translated into Japanese]

2007-06-10 Thread Jan Engelhardt
On Jun 10 2007 19:52, Sam Ravnborg wrote: >> > Since the common language of most kernel contributors is english I >> > personally feel that we should stick to just that one language in the >> > tree and then perhaps keep translations on a website somewhere. So the >> > authoritative docs stay

Re: signals logged / [RFC] log out-of-virtual-memory events

2007-06-10 Thread Jan Engelhardt
On Jun 10 2007 22:06, Jiri Kosina wrote: >On Sun, 10 Jun 2007, Folkert van Heusden wrote: > >> Signed-of by: Folkert van Heusden <[EMAIL PROTECTED] > >This looks broken BTW. > >> +printk(KERN_INFO "Sig %d sent to %d owned by %d.%d >> (%s), sent by pid %d, uid %d\n", >> +

Re: [PATCH] move the kernel to 16MB for NUMA-Q

2007-06-11 Thread Jan Engelhardt
On Jun 11 2007 10:36, H. Peter Anvin wrote: > >Picking the 16 MB base is a bit obnoxious on small-memory machines, 4 MB >would probably be a more reasonable base. Of course, 16 MB would avoid > the issue of the handful of machines with memory holes at 15-16 MB. How will this work at all with a

Re: [PATCH] move the kernel to 16MB for NUMA-Q

2007-06-11 Thread Jan Engelhardt
On Jun 11 2007 12:01, H. Peter Anvin wrote: >Jan Engelhardt wrote: >> On Jun 11 2007 10:36, H. Peter Anvin wrote: >>> Picking the 16 MB base is a bit obnoxious on small-memory machines, 4 MB >>> would probably be a more reasonable base. Of course, 16 MB would avoid &g

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

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

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: This kernel requires the following features not present on the CPU... (on a VIA C7 CPU)

2007-05-18 Thread Jan Engelhardt
Hi, since VIA seems to be one of the quirkier CPUs... On May 17 2007 21:12, Simon Arlott wrote: > On 17/05/07 13:27, Claas Langbehn wrote: >>> Claas Langbehn wrote: Would it be possible to override the BIOS settings of cx8 and nx and activate it with linux anyway? The CPU

Re: signals logged / [RFC] log out-of-virtual-memory events

2007-05-18 Thread Jan Engelhardt
On May 17 2007 14:22, Rik van Riel wrote: > Andrea Righi wrote: >> I'm looking for a way to keep track of the processes that fail to allocate >> new >> virtual memory. What do you think about the following approach (untested)? > > Looks like an easy way for users to spam syslogd over and > over

Re: [PATCH] LogFS take three

2007-05-18 Thread Jan Engelhardt
On May 17 2007 21:00, Kyle Moffett wrote: >> > > Opinions? >> > >> > Why would we need another btree, when there is lib/rbtree.c? Or does >> > yours do something fundamentally different? >> >> It is not red-black tree, it is b+ tree. > > It might be better to use the prefix "bptree" to help

Re: usb-storage nice value

2007-05-18 Thread Jan Engelhardt
On May 18 2007 08:15, DervishD wrote: >Date: Fri, 18 May 2007 08:15:12 +0200 >From: DervishD <[EMAIL PROTECTED]> >To: Stefan Richter <[EMAIL PROTECTED]> >Cc: linux-kernel@vger.kernel.org >Subject: Re: usb-storage nice value Try ionice. >> DervishD wrote: >> > I'm having problems when

Re: [PATCH] LogFS take three

2007-05-18 Thread Jan Engelhardt
On May 18 2007 09:01, Dongjun Shin wrote: > On 5/18/07, Pavel Machek <[EMAIL PROTECTED]> wrote: >> >> Hmm.. so operating your camera on batteries should be against the >> warranty, since batteries commonly run empty while storing pictures? > > AFAIK, the camera stops writing to the flash card

Re: [PATCH 01/14] kbuild: make modpost section warnings clearer

2007-05-18 Thread Jan Engelhardt
On May 18 2007 08:49, Sam Ravnborg wrote: >index 113dc77..acd28ab 100644 >--- a/scripts/mod/modpost.c >+++ b/scripts/mod/modpost.c >@@ -885,29 +885,28 @@ static void warn_sec_mismatch(const char *modname, const >char *fromsec, > return; > > if (before && after) { >-

Re: usb-storage nice value

2007-05-18 Thread Jan Engelhardt
On May 18 2007 10:21, DervishD wrote: > >> Or try echo 10 >/proc/sys/kernel/dirty_ratio > >Not in my proc :?? Perhaps /proc/sys/vm/dirty_ratio? Mine is 40, >which I think is too high. Linus also thinks it is too high; I do not really care what it is set at, as it depends on the use case.

Re: Dumping the checksums in a module

2007-05-18 Thread Jan Engelhardt
On May 18 2007 17:02, John Sigler wrote: > > I'm getting "disagrees about version of symbol struct_module" messages, > and I'm trying to understand why. > > As far as I understand (which is not very far), if I define > CONFIG_MODVERSIONS, then checksums for various functions (all exported >

Re: [patch 10/10] ext2 ext3 ext4: support inode slab defragmentation

2007-05-18 Thread Jan Engelhardt
On May 18 2007 11:10, [EMAIL PROTECTED] wrote: >+ >+static struct kmem_cache_ops ext2_kmem_cache_ops = { >+ ext2_get_inodes, >+ kick_inodes >+}; >+ We love C99 names: static struct kmem_cache_ops ext2_kmem_cache_ops = { .get = ext2_get_inodes, .kick = kick_inodes, };

Re: [patch 08/10] shmem: inode defragmentation support

2007-05-18 Thread Jan Engelhardt
On May 18 2007 11:10, [EMAIL PROTECTED] wrote: > >Index: slub/mm/shmem.c >=== >--- slub.orig/mm/shmem.c 2007-05-18 00:54:30.0 -0700 >+++ slub/mm/shmem.c2007-05-18 01:02:26.0 -0700 Do we need *this*?

Re: signals logged / [RFC] log out-of-virtual-memory events

2007-05-19 Thread Jan Engelhardt
On May 18 2007 13:47, Andi Kleen wrote: > >> I do not see such on i386, so why for x86_64? > >So that you know that one of your programs crashed. That's a feature. This feature could be handy for i386 too. Jan -- - To unsubscribe from this list: send the line "unsubscribe

Re: IPv6: 6to4 tunnel randomly cutting out on 2.6.8.1 - any patches?

2007-05-19 Thread Jan Engelhardt
On May 17 2007 22:46, Philip Pemberton wrote: >> > I'm currently trying to set IPv6 up on a Linux-based router. The >> > aforementioned router runs kernel 2.6.8.1, and just about all the >> > hardware driver modules are binary modules. For the record, I'd love >> > to upgrade the router to one

Re: [PATCH] LogFS take three

2007-05-19 Thread Jan Engelhardt
On May 19 2007 02:15, Rob Landley wrote: >> > + >> > +static inline struct logfs_inode *LOGFS_INODE(struct inode *inode) >> > +{ >> > + return container_of(inode, struct logfs_inode, vfs_inode); >> > +} >> >> Do these need to be uppercase? > >I'm trying to keep it clear in my head... > >When do

Re: signals logged / [RFC] log out-of-virtual-memory events

2007-05-19 Thread Jan Engelhardt
On May 19 2007 11:35, Andrea Righi wrote: >Jan Engelhardt wrote: >> On May 18 2007 13:47, Andi Kleen wrote: >>>> I do not see such on i386, so why for x86_64? >>> So that you know that one of your programs crashed. That's a feature. >> >> This featur

Re: it seems at XFS bug?!

2007-05-20 Thread Jan Engelhardt
On May 19 2007 22:24, Willy Tarreau wrote: >On Sat, May 19, 2007 at 09:50:43PM +0200, oliver pinter wrote: >> yeah, but how produziert? > >I *think* it is the unbreakable space. \xa0 is 160, aka the NBSP. But __only__ in ISO-8859. It is an invalid UTF-8 sequence (which is why you may not even

Re: it seems at XFS bug?!

2007-05-20 Thread Jan Engelhardt
On May 20 2007 11:14, Andreas Schwab wrote: >Jan Engelhardt <[EMAIL PROTECTED]> writes: >> On May 19 2007 22:24, Willy Tarreau wrote: >>>On Sat, May 19, 2007 at 09:50:43PM +0200, oliver pinter wrote: >>>> yeah, but how produziert? >>> >>>I

Re: signals logged / [RFC] log out-of-virtual-memory events

2007-05-20 Thread Jan Engelhardt
On May 20 2007 18:12, Folkert van Heusden wrote: >> > >> > + if (unlikely(sig == SIGQUIT || sig == SIGILL || sig == SIGTRAP || >> > + sig == SIGABRT || sig == SIGBUS || sig == SIGFPE || >> > + sig == SIGSEGV || sig == SIGXCPU || sig == SIGXFSZ || >> > + sig == SIGSYS || sig

Re: signals logged / [RFC] log out-of-virtual-memory events

2007-05-21 Thread Jan Engelhardt
On May 21 2007 13:04, Folkert van Heusden wrote: > >What about the following enhancement: I check with sig_fatal if it would >kill the process and only then emit a message. So when an application >takes care itself of handling it nothing is printed. >+ /* emit some logging for unhandled

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

2007-05-22 Thread Jan Engelhardt
On May 22 2007 08:43, Bharata B Rao wrote: >On Fri, May 18, 2007 at 09:47:31AM -0400, Shaya Potter wrote: >> Bharata B Rao wrote: >> >> > >> >Not really. This is called during copyup of a file residing in a lower >> >layer. And that is done only for regular files. >> >> That is broken. > >But

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

2007-05-22 Thread Jan Engelhardt
On May 19 2007 03:18, Paul Dickson wrote: > >How about getting rid of the gotos: > > while (fs) { > locked = union_trylock(fs->root); > if (locked) { > locked = union_trylock(fs->altroot); > if (locked) { >

Re: [RFC] LZO1X de/compression support

2007-05-22 Thread Jan Engelhardt
On May 18 2007 15:28, Nitin Gupta wrote: > +/* lzo1x.h -- public interface of the LZO1X compression algorithm > + > + This file is part of the LZO real-time data compression library. > + > + Copyright (C) 2005 Markus Franz Xaver Johannes Oberhumer > + Copyright (C) 2004 Markus Franz Xaver

Re: [RFC] LZO1X de/compression support

2007-05-22 Thread Jan Engelhardt
On May 22 2007 14:38, Nitin Gupta wrote: > On 5/18/07, Andrey Panin <[EMAIL PROTECTED]> wrote: >> On 138, 05 18, 2007 at 03:28:31PM +0530, Nitin Gupta wrote: >> > + register const unsigned char *ip; >> >> register keyword is meaningless for today's compiler. > > But can we assume that gcc is

Re: Dumping the checksums in a module

2007-05-22 Thread Jan Engelhardt
On May 22 2007 10:13, John Sigler wrote: >> > How do I list the checksums within a module? >> > Is there a simpler way to list all the checksums? >> >> 22:25 ichi:~ > modinfo aes >> srcversion: 8CB82B3A254D5A950FD0D14 >> >> I think this one checksum is computed out of all functions that >>

Re: bug in 2.6.22-rc2: loop mount limited to one single iso image

2007-05-22 Thread Jan Engelhardt
On May 20 2007 07:28, Al Viro wrote: >On Sat, May 19, 2007 at 11:16:59PM -0700, Ray Lee wrote: >> Ken? Ball's in your court. As the patch isn't providing a killer >> feature for 2.6.22, I'd suggest just reverting it for now until the >> issues are ironed out. > >Hold it. The real question here

Re: [RFC PATCH] file as directory

2007-05-23 Thread Jan Engelhardt
On May 22 2007 20:48, Miklos Szeredi wrote: >Why do we want this? > > >That depends on who you ask. My answer is this: > > 'foo.tar.gz/foo/bar' or > 'foo.tar.gz/contents/foo/bar' > >or something similar. Stole reiser4 an idea. These semantics are quite fragile. Until now,

<    4   5   6   7   8   9   10   11   12   13   >