Re: [PATCH 1/2] Colored kernel output (run3)

2007-10-08 Thread Jan Engelhardt
On Oct 9 2007 07:12, Antonino A. Daplas wrote: References: http://lkml.org/lkml/2007/4/1/162 http://lkml.org/lkml/2007/10/5/199 This is quite a long thread :-) It was a patch series after all. But as Greg puts it, be persistent. +config VT_PRINTK_COLOR +hex Colored kernel

Re: irq0 stops working

2007-10-08 Thread Jan Engelhardt
On Oct 9 2007 09:26, Vasily Averin wrote: On one of our servers timer interrupts (i.e irq0) are stops working. As result any kernel timers do not triggers and tasks waiting some signals from timers hangs forever. What kernel.. and tried CONFIG_NO_HZ=n? - To unsubscribe from this list: send the

Re: [PATCH][RFC] Starting point for deprecating ether= boot time option.

2007-08-31 Thread Jan Engelhardt
On Aug 31 2007 11:47, Robert P. J. Day wrote: diff --git a/net/ethernet/eth.c b/net/ethernet/eth.c index 12c7657..e4c3b26 100644 --- a/net/ethernet/eth.c +++ b/net/ethernet/eth.c @@ -31,6 +31,8 @@ * older network drivers and IFF_ALLMULTI. *Christer Weinigel

Re: [PATCH] net/, drivers/net/ , missing EXPERIMENTAL in menus

2007-08-31 Thread Jan Engelhardt
On Aug 31 2007 14:06, Jeff Garzik wrote: something like BROKEN, though, has *nothing* to do with maturity. a feature can be any of those maturity levels, and simultaneously be BROKEN. i consider BROKEN to be what i call a status, and different status levels might be the default of normal,

Re: possible build system oddity

2007-08-31 Thread Jan Engelhardt
On Aug 31 2007 11:00, [EMAIL PROTECTED] wrote: It seems you are confused by the fact that this recompilation results in several relinks (LD)? Or something else changed that he didn't realize. Just the other day, I applied a one-line patch that hit one .c file, and *the entire kernel*

Re: Copy large memory regions from to userspace

2007-09-01 Thread Jan Engelhardt
On Aug 31 2007 19:48, Robert Hancock wrote: I'm not aware of any code in the kernel that does userspace-to-userspace copies directly. Likely because there's rarely a need for it? splice(), sort of. Jan -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: maturity and status and attributes, oh my!

2007-09-01 Thread Jan Engelhardt
On Aug 31 2007 18:02, Jeff Garzik wrote: Robert P. J. Day wrote: it may be that some people had a different understanding of what was meant by maturity than i did. what *i* meant by that attribute is a feature's current position in the normal software life cycle, and that would be one of:

Re: maturity and status and attributes, oh my!

2007-09-01 Thread Jan Engelhardt
On Aug 31 2007 21:33, Robert P. J. Day wrote: perhaps. all i'm begging for is that these attributes be defined cleanly and clearly, and following those two conditions i suggested earlier: 1) all attributes are orthogonal to one another, and This orthogonal argument is reserved for the

Re: maturity and status and attributes, oh my!

2007-09-01 Thread Jan Engelhardt
On Sep 1 2007 11:47, Stefan Richter wrote: Robert P. J. Day wrote: given the possible interpretations of EXPERIMENTAL that i hadn't considered until now, maybe it really *does* make sense to tag something as both EXPERIMENTAL and, say, DEPRECATED (does it?). In theory maybe, for

Re: Fwd: That whole Linux stealing our code thing

2007-09-02 Thread Jan Engelhardt
On Sep 1 2007 18:36, Theo de Raadt wrote: When companies have taken our wireless device drivers, many many of them have given changes and fixes back. Some maybe didn't, but that is OK. For companies it's ok, but for linux people it is not? (1) You do not know how much of the modifications

Re: [PATCH 08/32] Unionfs: cache-coherency - update inode times

2007-09-03 Thread Jan Engelhardt
On Sep 2 2007 22:20, Josef 'Jeff' Sipek wrote: -static ssize_t unionfs_write(struct file * file, const char __user * buf, + +static ssize_t unionfs_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) { int err = 0;

Re: [PATCH 09/32] Unionfs: cache-coherency - dentries

2007-09-03 Thread Jan Engelhardt
On Sep 2 2007 22:20, Josef 'Jeff' Sipek wrote: @@ -184,10 +183,92 @@ out: } /* + * Determine if the lower inode objects have changed from below the unionfs + * inode. Return 1 if changed, 0 otherwise. + */ +int is_newer_lower(const struct dentry *dentry) Could use bool and true/false as

Re: Fwd: That whole Linux stealing our code thing

2007-09-03 Thread Jan Engelhardt
On Sep 3 2007 04:58, Jeff Garzik wrote: Relicensing and transfer of rights happens all the time. How do you think most music gets into consumer hands? uh, p2p? :) - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

Re: [PATCH 09/32] Unionfs: cache-coherency - dentries

2007-09-03 Thread Jan Engelhardt
On Sep 3 2007 10:08, Josef 'Jeff' Sipek wrote: +int is_newer_lower(const struct dentry *dentry) Could use bool and true/false as return value. I remember that way back when there was a discussion about the bool type. What how did that end? Is bool preferred? Well if there were objections,

Mounts and namespaces

2007-09-03 Thread Jan Engelhardt
Hi, what happens to mounts when the namespace they exist in, exits? In my concrete case: ./newns /bin/bash # clone(CLONE_NEWNS | CLONE_THREAD | CLONE_SIGHAND | CLONE_VM) # and exec to given program mount /dev/loop0 /mnt exit Still mounted and unreachable

Re: libata not working for sis5533

2007-09-03 Thread Jan Engelhardt
On Sep 2 2007 11:40, Alan Cox wrote: i've been out for a week, but found no notice, did i lost any email or no activity on this issue? I tagged it onto the obscure IDE report pile. It doesn't contain any really useful information and its probably not an IDE layer bug as of itself. But its on

Rescanning SCSI/SATA bus

2007-09-05 Thread Jan Engelhardt
Hi, when trying to do a rescan on (1) sata_nv/2.6.18 (2) sym53c83xx/2.6.21, I get: 11:40 sun:~ # cd /sys/class/scsi_host/host0/ 11:40 sun:../scsi_host/host0 # ls can_queuedevice proc_name sg_tablesize subsystem unchecked_isa_dma cmd_per_lun host_busy scan state

Re: building a specific in-tree module is currently a bit broken

2007-09-05 Thread Jan Engelhardt
On Sep 5 2007 05:42, Robert P. J. Day wrote: that doesn't solve the problem. i should have mentioned that i already (unnecessarily, i suggest) ran make modules_prepare, but the problem persists. the issue seems to be that running that last make command to build the module visor.ko doesn't

Re: Rescanning SCSI/SATA bus

2007-09-05 Thread Jan Engelhardt
On Sep 5 2007 17:15, Björn Steinbrink wrote: Jan 11:40 sun:../scsi_host/host0 # echo 1 scan Jan -bash: echo: write error: Invalid argument echo - - - scan Note the spaces between the dashes. Thanks. Unfortunately it produced the same error. Is rescanning even supported

Re: [sata_nv] timeout waiting for ADMA IDLE, stat=0x440

2007-09-06 Thread Jan Engelhardt
On Sep 5 2007 09:48, Andrew Morton wrote: On 8/28/07, Jan Engelhardt [EMAIL PROTECTED] wrote: On Aug 25 2007 15:37, Maarten Maathuis wrote: A broken cable seems like a realistic possibility, so i swapped it for another cable. I will try if that solves the problem. Hi, did you have

Re: modinfo modulename question

2007-09-06 Thread Jan Engelhardt
On Sep 5 2007 13:31, Justin Piszcz wrote: Is there anyway to get/see what parameters were passed to a kernel module? Not really. Even if a module has parameters exported, they may carry default values (and hence, don't fulfill the word passed, as would be the case with `modprobe foo`

Re: [PATCH] add CONFIG_VT_UNICODE

2007-09-06 Thread Jan Engelhardt
On Sep 1 2007 22:11, H. Peter Anvin wrote: Bill Nottingham wrote: As of now, the kernel defaults to non-unicode and XLATE for the keyboard. We've been changing this in Fedora, but that requires patching the defaults in the kernel. The attached introduces CONFIG_VT_UNICODE, which sets the

Re: 4096 byte limit to /proc/PID/environ ?

2007-09-06 Thread Jan Engelhardt
On Sep 5 2007 18:00, James Pearson wrote: OK, here is the patch (without the long line) against 2.6.23-rc5 - what else needs to be done to get it committed? Someone has to point out CodingStyle, so I'll ruin everyone's day now :) +static ssize_t environ_read(struct file * file, char __user

Re: Problem to recognize that the file system is full

2007-09-06 Thread Jan Engelhardt
On Sep 4 2007 13:53, Guilherme Vilela wrote: Hi, I'm tryng to mount a nfs file system with the option async and run a program that writes to the file system. The problem is that the program keep writing even when the file system is full. man 5 exports async This option allows the NFS server

sym53c8xx rescan

2007-09-06 Thread Jan Engelhardt
Hi list, issuing `echo - - - /sys/class/scsi_host/host0/scan` where host0 is a 0001:00:03.0 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 14) sym0: 875 rev 0x14 at pci 0001:00:03.0 irq 13 does not produce any dmesg messages (2.6.21), so I suspect it did not rescan the bus;

Re: AUTO LOGIN BUG

2007-09-07 Thread Jan Engelhardt
On Sep 6 2007 23:53, [EMAIL PROTECTED] wrote: On Wed, 05 Sep 2007 04:48:05 MDT, Sean Robert McGuffee said: machine. For those who make the argument that someone logged in as root might break the machine by doing something they shouldn't, I would say it's already broken without being root.

Re: Stray nulls when reading from AF_UNIX sockets

2007-09-07 Thread Jan Engelhardt
On Sep 6 2007 12:23, David Miller wrote: return copied ? : err; } Shouldn't this read: return copied ? copied : err; Or am I missing something? These two statements are equivalent, the first version is a shorthand allowed by gcc. Not only that. With x?x:z, x is evaluated

Re: [PATCH] add CONFIG_VT_UNICODE

2007-09-07 Thread Jan Engelhardt
On Sep 6 2007 15:06, H. Peter Anvin wrote: sysfs, and you were on the discussion (your idea won, basically) And the way I see it, it got merged. Commit 042f10ec6533e53181284c96d22ae051e49ac707 As I further see it, this CONFIG_VT_UNICODE patch defines the starting value for the default.

Re: [PATCH] add CONFIG_VT_UNICODE

2007-09-07 Thread Jan Engelhardt
On Aug 31 2007 16:18, Bill Nottingham wrote: As of now, the kernel defaults to non-unicode and XLATE for the keyboard. We've been changing this in Fedora, but that requires patching the defaults in the kernel. The attached introduces CONFIG_VT_UNICODE, which sets the console in unicode mode by

Re: [RFC] Union Mount: Readdir approaches

2007-09-07 Thread Jan Engelhardt
On Sep 7 2007 11:16, Bharata B Rao wrote: Questions - The main problem in getting a sane readdir() implementation in Union Mount is the fact that a single vfs object (file structure) is used to represent more than one (underlying) directory. Because of this, it is unclear as to how

Re: sata scsi suggestion for make menuconfig

2007-09-07 Thread Jan Engelhardt
On Sep 7 2007 14:48, Folkert van Heusden wrote: Maybe it is a nice enhancement for make menuconfig to more explicitly give a pop-up or so when someone selects for example a sata controller while no 'scsi-disk' support was selected? Having no sd support is perfectly valid. Imagine a diskless

Re: sata scsi suggestion for make menuconfig

2007-09-07 Thread Jan Engelhardt
On Sep 7 2007 21:38, Krzysztof Halasa wrote: Ok, but that's not the most common situaties. What I'm suggesting is a warning or a please note popup. Not neccessarily an error or refusing to continue thing. What IMHO makes sense is changing all references to SCSI CDROM, SCSI DISK etc. to just

Re: [patch] Fix BIOS-e820 end address

2007-09-08 Thread Jan Engelhardt
On Sep 8 2007 13:50, Keshavamurthy, Anil S wrote: --snip of boot message-- BIOS-provided physical RAM map: BIOS-e820: - 000a (usable) BIOS-e820: 000f - 0010 (reserved) BIOS-e820: 0010 - 7fe8cc00 (usable) end snip---

Re: origin of __tmp1930643048 network device name: kernel-space or user-space

2007-09-08 Thread Jan Engelhardt
On Sep 7 2007 18:44, davide rossetti wrote: I'm assuming you're running some sort of Fedora/RHEL/ derivative; this is what you get when you have a device that starts out named ethX, but which needed to be renamed so that an already configured ethX could be changed to that name. yes,

Re: sata scsi suggestion for make menuconfig

2007-09-08 Thread Jan Engelhardt
On Sep 8 2007 01:02, Jan Engelhardt wrote: On Sep 7 2007 21:38, Krzysztof Halasa wrote: Ok, but that's not the most common situaties. What I'm suggesting is a warning or a please note popup. Not neccessarily an error or refusing to continue thing. What IMHO makes sense is changing all

Re: sata scsi suggestion for make menuconfig

2007-09-08 Thread Jan Engelhardt
On Sep 8 2007 09:05, Stefan Richter wrote: config ATA [...] comment Controller drivers [...low-level drivers go here...] comment Storage device drivers config ATA_SD tristate SATA/PATA HDD support (via SCSI disk support) depends on ATA select BLK_DEV_SD help

Re: libata not working for sis5533

2007-09-08 Thread Jan Engelhardt
On Sep 2 2007 11:40, Alan Cox wrote: i've been out for a week, but found no notice, did i lost any email or no activity on this issue? I tagged it onto the obscure IDE report pile. It doesn't contain any really useful information and its probably not an IDE layer bug as of itself. But its on

Re: libata not working for sis5533

2007-09-08 Thread Jan Engelhardt
On Sep 8 2007 11:38, Patrizio Bassi wrote: Jan Engelhardt wrote: I shall give this a spin too, since I happen to have sis5513. Just booted this fresh ata-enabled system (a matter of mkinitrd). It has not exploded yet. don't you have the irq 14 issue? No, does not seem so. can you post

Re: sata scsi suggestion for make menuconfig

2007-09-08 Thread Jan Engelhardt
On Sep 8 2007 17:03, Al Boldi wrote: Alan Cox wrote: I once sent a patch to make libata a submenu of scsi. Which is wrong Nakked-by: Alan Cox [EMAIL PROTECTED] The general comments about moving this stuff around and making it clearer what sd/sr etc are nowdays are good but hiding libata

Re: USB and MMC device problems on Kernel 2.6.22

2007-09-08 Thread Jan Engelhardt
On Sep 9 2007 08:28, [EMAIL PROTECTED] wrote: I have an ARM hardware board works fine with USB and MMC on kernel 2.6.11. Now, I've just upgraded it to kernel 2.6.22. The modules seem loaded fine, please see following list, but neither USB nor MMC could detect devices when a USB stick or SD

Re: tsc timer related problems/questions

2007-09-09 Thread Jan Engelhardt
On Sep 9 2007 17:49, Arjan van de Ven wrote: Question: Why are only Intel CPUs considered as stable? Could there be implemented a more sophisticated heuristic, that actually does some tests for tsc stability? on AMD multi-socket systems, afaik the tsc is not synchronized between packages.

Re: [Q]Adding src files to 2.6.18 kernel and build failure query

2007-09-10 Thread Jan Engelhardt
On Sep 10 2007 21:35, pradeep singh rautela wrote: So , here is the question in short... What do i need to change and where to make sure this thing vanishes away and kernel compiles as usual like it always did earlier? Perhaps post a patch that demonstrates the problem in short. Any pointers?

Re: [PATCH] Hookup group-scheduler with task container infrastructure

2007-09-10 Thread Jan Engelhardt
On Sep 10 2007 22:40, Srivatsa Vaddagiri wrote: +#ifdef CONFIG_FAIR_GROUP_SCHED +SUBSYS(cpuctlr) +#endif cpuctl, cpuctrl, cpu_controller? - 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: [PATCH] Hookup group-scheduler with task container infrastructure

2007-09-10 Thread Jan Engelhardt
On Sep 10 2007 10:22, Andrew Morton wrote: Unless folks have strong objection to it, I prefer cptctlr, the way it is. Kernel code is write-rarely, read-often. I think you mean __read_mostly. :-) Jan -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [PATCH] Hookup group-scheduler with task container infrastructure

2007-09-10 Thread Jan Engelhardt
On Sep 10 2007 22:58, Srivatsa Vaddagiri wrote: On Mon, Sep 10, 2007 at 10:53:34PM +0530, Srivatsa Vaddagiri wrote: cpuctl, cpuctrl, cpu_controller? *shrug* .. I used cpuctlr to mean CPU Controller. Any other short names would do. From your list, cpuctl or cpuctrl both qualifies IMO!

Re: [PATCH] ipconfig.c: De-clutter IP configuration report

2007-09-10 Thread Jan Engelhardt
On Sep 10 2007 13:09, Maciej W. Rozycki wrote: The new code builds fine; no semantic changes. Please apply, Maciej patch-mips-2.6.23-rc5-20070904-ipconfig-printk-2 diff -up --recursive --new-file linux-mips-2.6.23-rc5-20070904.macro/net/ipv4/ipconfig.c

Re: MACH BOOT

2007-09-11 Thread Jan Engelhardt
On Sep 11 2007 21:57, Jun OKAJIMA wrote: We introduce here that MACH BOOT, which is an experimental CD booting technology with the goal of achieving fast booting with x48 CD-ROM drive. I am sure it will go through the roof with my x56. Jan -- - To unsubscribe from this list:

Re: [PATCH] Hookup group-scheduler with task container infrastructure

2007-09-11 Thread Jan Engelhardt
On Sep 11 2007 08:22, Randy Dunlap wrote: cfs control group subsystem. That looks odd, like it's a filesystem. What does cfs really mean? http://en.wikipedia.org/wiki/CFS (scnr) It misses the C...something Filesystem tho. Jan -- - To unsubscribe from this list: send the line

Re: MACH BOOT

2007-09-11 Thread Jan Engelhardt
On Sep 12 2007 00:07, Jun OKAJIMA wrote: We introduce here that MACH BOOT, which is an experimental CD booting technology with the goal of achieving fast booting with x48 CD-ROM drive. I am sure it will go through the roof with my x56. I dont think such difference of CD drive affects to boot

Re: Socket-related problem in x86_64 Kernel (2.6.16.53-0.8-smp)?

2007-09-11 Thread Jan Engelhardt
On Sep 11 2007 17:54, Ulrich Windl wrote: Aug 31 15:04:40 kgate1 kernel: powersaved[10102]: segfault at 0008 rip 0042c17a rsp 7fffea55de00 error 4 [...] segfaulting are sysloged only on 64bits kernel. Maybe your slapd/hscan processes are doing bad things, that

Re: [PATCH/RFC] doc: about email clients for Linux kernel patches

2007-09-11 Thread Jan Engelhardt
On Sep 11 2007 14:03, Nicolas Pitre wrote: +Alpine (TUI) + +I don't know. Maybe Adrian or Linus can comment. + +Are any special config options needed? Alpine is the successor of Pine. Issues that were found in some earlier Pine versions wrt patch sending are now fixed. Here's the

Re: [PATCH/RFC] doc: about email clients for Linux kernel patches

2007-09-11 Thread Jan Engelhardt
On Sep 11 2007 20:17, Adrian Bunk wrote: There were no problems with sending patches in pine. Pine had problems with UTF-8, and that's where alpine is fixed, but that's a more tangential problem. Pine [4.64] has problems with ISO-2022-JP, but not UTF-8 AFAICT. Jan -- - To

Re: kobject link failure

2007-07-20 Thread Jan Engelhardt
, this is much nicer and smaller, thanks. I'll throw away my patch and use this one instead. Can someone verify that it works properly for them please? Works-For-Me™: Jan Engelhardt [EMAIL PROTECTED] Jan --

Re: [PATCH 25/33] kbuild: use POSIX BRE in headers install target

2007-07-21 Thread Jan Engelhardt
On Jul 21 2007 10:23, Andreas Schwab wrote: Oleg Verych [EMAIL PROTECTED] writes: + -e s/[[:space:]]__user[[:space:]]\{1,\} substitute one or more ' __user ' Substitute ' __user' followed by one or more ' '. \{\} applies only to the last RE atom. Uhm, would not it be easier to

Re: where is the code for read system call?

2007-07-21 Thread Jan Engelhardt
On Jul 21 2007 07:05, Folkert van Heusden wrote: My application reads from socket. I need to change the behavior of read system call for an experiment. Can someone point me to code? Wouldn't it be easier to create a preload-library-wrapper around glibc? Does not work with statically compiled

Re: try_module_get question

2007-07-21 Thread Jan Engelhardt
On Jul 16 2007 14:22, Robert Beckett wrote: Hi all, Im a newcomer to kernel development, and have my first question : I want to create a small module that simply powers on an FPGA, and powers it off when it is released. Two other modules will then depend on this module and control

Re: pata_platform: Fix NULL pointer dereference

2007-07-21 Thread Jan Engelhardt
On Jul 20 2007 09:12, Linus Torvalds wrote: Ok, the *fix* looks real enough, but it seems that you have done your line splitting with a word processor rather than with a source code editor: +return ata_host_activate(host, platform_get_irq(pdev, 0), +

Re: [PATCH] Move KVM, paravirt, lguest, VMI and Xen under arch-level Virtualization option

2007-07-21 Thread Jan Engelhardt
On Jul 20 2007 14:22, Rusty Russell wrote: Subject: [PATCH] Move KVM, paravirt, lguest, VMI and Xen under arch-level Virtualization option Any objections? Well btw, would it make sense to also rearrange the directory structure along with it, i.e. drivers/kvm= drivers/virt/kvm

Re: [PATCH] Use descriptor's functions instead of inline assembly

2007-07-21 Thread Jan Engelhardt
On Jul 20 2007 10:56, Glauber de Oliveira Costa wrote: diff --git a/arch/x86_64/kernel/head64.c b/arch/x86_64/kernel/head64.c index 6c34bdd..dde41d7 100644 --- a/arch/x86_64/kernel/head64.c +++ b/arch/x86_64/kernel/head64.c @@ -70,7 +70,7 @@ void __init x86_64_start_kernel(char * real_mode_data)

Re: [PATCH 1/2] run scripts/Lindent on it to match Documentation/CodingStyle

2007-07-21 Thread Jan Engelhardt
On Jul 20 2007 11:07, Matthew Wilcox wrote: sed -i -e 's/^\t* \(\w*:\)/ \1/' $@ Any regexp ninjas want to have a go at something better? You want \w+. [ perl -i -pe 's/^\t* {6}(\w+:)/ $1/' $@ Whether that is better depends on the user who uses it :) ] Jan -- - To unsubscribe

[PATCH] CONFIG_NET=n - lots of link time errors

2007-07-21 Thread Jan Engelhardt
CONFIG_NETDEVICES depend on CONFIG_NET. Signed-off-by: Jan Engelhardt [EMAIL PROTECTED] --- drivers/net/Kconfig |1 + 1 file changed, 1 insertion(+) Index: linux-2.6.23/drivers/net/Kconfig === --- linux-2.6.23.orig/drivers/net

[PATCH] Use menuconfig objects - Fusion

2007-07-21 Thread Jan Engelhardt
=== Change Kconfig objects from menu, config into menuconfig so that the user can disable the whole feature without having to enter the menu first. Signed-off-by: Jan Engelhardt [EMAIL PROTECTED] --- drivers/message/fusion/Kconfig | 19 ++- 1 file changed, 10 insertions(+), 9

[PATCH] Use menuconfig objects - RTC

2007-07-21 Thread Jan Engelhardt
, Jan === Change Kconfig objects from menu, config into menuconfig so that the user can disable the whole feature without having to enter the menu first. Signed-off-by: Jan Engelhardt [EMAIL PROTECTED] --- drivers/rtc/Kconfig | 79 +--- 1 file

Re: [PATCH] Use menuconfig objects - Fusion

2007-07-21 Thread Jan Engelhardt
On Jul 21 2007 15:05, Robert P. J. Day wrote: +menuconfig FUSION ... +if FUSION config FUSION_SPI ... +endif # FUSION i just *know* i'm going to regret asking this, but is there a compelling reason why the internal contents of a menuconfig FUBAR needs to still be surrounded by a if FUBAR

Re: from where comes __moddi3?

2007-07-21 Thread Jan Engelhardt
On Jul 21 2007 23:33, Alexander Shishkin wrote: On 7/21/07, Robert P. J. Day [EMAIL PROTECTED] wrote: again, probably displaying my abject ignorance, but i wrote a trivial module that tries to var % 15, and i get: WARNING: __moddi3 undefined! ...which comes from libgcc1 which you

Re: [PATCH] Use menuconfig objects - Fusion

2007-07-21 Thread Jan Engelhardt
On Jul 21 2007 15:15, Robert P. J. Day wrote: wouldn't it be philosophically cleaner if the internals of a menuconfig structure *automatically* depended on selection of the menuconfig and the if part was implicit? menuconfig is not a start marker like menu was. Hence it has no stop marker

Re: [DRIVER SUBMISSION] DRBD wants to go mainline

2007-07-21 Thread Jan Engelhardt
On Jul 21 2007 22:38, Lars Ellenberg wrote: We implement shared-disk semantics in a shared-nothing cluster. If nothing is shared, the disk is not shared, but got shared-disk semantics? A little confusing. Jan -- - To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [DRIVER SUBMISSION] DRBD wants to go mainline

2007-07-22 Thread Jan Engelhardt
On Jul 22 2007 00:43, Lars Ellenberg wrote: On Sat, Jul 21, 2007 at 11:17:43PM +0200, Jan Engelhardt wrote: On Jul 21 2007 22:38, Lars Ellenberg wrote: We implement shared-disk semantics in a shared-nothing cluster. If nothing is shared, the disk is not shared, but got shared-disk

Re: [PATCH] CONFIG_NET=n - lots of link time errors

2007-07-22 Thread Jan Engelhardt
On Jul 21 2007 19:12, David Miller wrote: Enabling drivers from Devices Networking (in menuconfig), for example SLIP and/or PLIP, throws link time errors when CONFIG_NET itself is =n. Have CONFIG_NETDEVICES depend on CONFIG_NET. Signed-off-by: Jan Engelhardt [EMAIL PROTECTED

Re: 2.4 Q: list of open files per inode?

2007-07-22 Thread Jan Engelhardt
On Jul 22 2007 04:39, Jacob A wrote: I'm using the open/close call as a way for processes to register/unregister with a watchdog driver that I'm writing. I thought that I can save the housekeeping within the driver, but it looks like It would be easier just to maintain my own list and be done

Re: 2.4 Q: list of open files per inode?

2007-07-22 Thread Jan Engelhardt
On Jul 22 2007 05:26, Jacob A wrote: I want to keep an internal state per each registration instance, and I opted to use open() as the registration mechanism. So why not just store it in filp-private_data? Jan -- Jan -- - To unsubscribe from this list: send the line

Re: 2.4 Q: list of open files per inode?

2007-07-22 Thread Jan Engelhardt
On Jul 22 2007 05:45, Jacob A wrote: Ah, yes, this was my intention, to keep the state in filp-private_data. But then at a timer routine I wanted to go over all the filps associated with the device and check/modify the state. That's why I needed the open files list. No. For each private_data

Re: Git help for kernel archeology, suppress diffs caused by CVS keyword expansion

2007-07-22 Thread Jan Engelhardt
On Jul 22 2007 14:48, Jon Smirl wrote: It would really be useful if git diff had an option for suppressing diffs caused by CVS keyword expansion. I run into this problem over and over when trying to recover stuff out of old kernel sources that people checked into CVS and then posted CVS

Re: [PATCH] Documentation: Fix a mispelt probably in SubmittingPatches.

2007-07-22 Thread Jan Engelhardt
Subject: Re: [PATCH] Documentation: Fix a mispelt probably in SubmittingPatches. irony Can you fix the one in your subject too? /irony Jan -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info

Re: Fwd: [ANNOUNCE][GIT PATCH] Kconfig.cpu cosmetics

2007-07-22 Thread Jan Engelhardt
On Jul 22 2007 22:16, Oliver Pinter wrote: Hi all! Here is one patch, Kconfig.cpu, this patch add the Pentium D processor for help, because number of person has the question: I have Pentium D, and which CPU chose I. arch/i386/Kconfig.cpu | 18 +- 1 files changed, 9

Re: Git tree for old kernels from before the current tree

2007-07-22 Thread Jan Engelhardt
On Jul 22 2007 16:49, Jon Smirl wrote: Continuing on with kernel archeology for embedded systems, any interest in making a git tree with all of the kernel versions from the beginning up to the start of the current git tree? Well, it would be cool if history was somehow available (I recognize

Re: Fwd: [ANNOUNCE][GIT PATCH] Kconfig.cpu cosmetics

2007-07-22 Thread Jan Engelhardt
On Jul 22 2007 22:45, Oliver Pinter wrote: But why move the config entry? I thinked, sorted the items by time-line: the old sort im Kconfig is i386..Pentium{I,II,III}..Core2..Pentium4 and the time line is93 .. 95-99 .. 2006 .. 2001 and the new sort is: ... Pentium4 .. Core2 as the

Re: Git tree for old kernels from before the current tree

2007-07-22 Thread Jan Engelhardt
On Jul 23 2007 06:13, Paul Mundt wrote: Err, that's crap. Have you even looked at gitweb? There's at least: git://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git This has trees all the way back to 2.5.0. and Linus also has:

Re: Git tree for old kernels from before the current tree

2007-07-22 Thread Jan Engelhardt
On Jul 22 2007 23:46, Jan Engelhardt wrote: On Jul 23 2007 06:13, Paul Mundt wrote: Err, that's crap. Have you even looked at gitweb? There's at least: git://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git This has trees all the way back to 2.5.0. Actually back to 2.4.0, including

Re: copy: Problems with kernel 2.6.22-git15, 2.6.23-rc1

2007-07-23 Thread Jan Engelhardt
On Jul 23 2007 09:40, werner wrote: The kernel need to stay compatible to old versions of the file system and other fundamental programs. Please correct this Please read Documentation/stable_api_nonsense.txt first. Jan -- - To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] dev-priv to netdev_priv(dev), drivers/net/tokenring/

2007-07-23 Thread Jan Engelhardt
On Jul 23 2007 15:18, Yoann Padioleau wrote: Here is an excerpt of the semantic patch that performs the transformation @@ - (T*) dev-priv + netdev_priv(dev) Note that dev-priv is a void*, and hence does not need casting. So dev-priv may also appear without one. { - struct xl_private

Re: Fwd: [RFC, Announce] Unified x86 architecture, arch/x86

2007-07-24 Thread Jan Engelhardt
On Jul 21 2007 23:17, . . wrote: -- Forwarded message -- From: . . [EMAIL PROTECTED] Date: Jul 21, 2007 11:08 PM Subject: [RFC, Announce] Unified x86 architecture, arch/x86 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL

Re: [PATCH] 0 - NULL, drivers/usb/gadget/

2007-07-24 Thread Jan Engelhardt
On Jul 23 2007 18:34, Yoann Padioleau wrote: PS: I have performed the same transformation on the whole kernel and it affects around 300 files. I will send the remaining patches if you are interested in. Don't hold off :) Jan -- - To unsubscribe from this list: send the line

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

2007-07-24 Thread Jan Engelhardt
On Jul 24 2007 12:19, Andy Whitcroft wrote: if (err) { do_something(); return -ERR; } else { do_somthing_else(); } if (err) { do_something(); return -ERR; } else do_something_else(); The kool kids on linux-usb-devel largely

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

2007-07-24 Thread Jan Engelhardt
On Jul 23 2007 16:36, Kok, Auke wrote: this somehow seems to match something completely non-related (a function pointer declaration case): ERROR: no space between function name and open parenthesis '(' #7278: FILE: drivers/net/e1000e/hw.h:434: + bool (*check_mng_mode)(struct e1000_hw

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

2007-07-24 Thread Jan Engelhardt
On Jul 24 2007 12:33, Andy Whitcroft wrote: Warning on multiple declarations on a line is nice, but IMO really too verbose (why is int i, j; bad? Did C somehow change syntax today?). No the normal response is two fold: 1) what the heck are i and j those are meaningless names Can we at least

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

2007-07-24 Thread Jan Engelhardt
On Jul 24 2007 10:20, Randy Dunlap wrote: As per Ingo Molnar [ http://lkml.org/lkml/2006/9/5/68 ], all blocks in an if-else 'tree' should be {} if there is at least one with more than two statements. (And I do not disagree.) You are actually referring to this commit:

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

2007-07-24 Thread Jan Engelhardt
On Jul 25 2007 02:22, Paul Mundt wrote: Perhaps CodingStyle can start being versioned, so people can opt out of certain 'improvements' whenever someone has a vision, much like some nameless licenses. I'd say Codingstyle is versioned by means of git commit IDs. Personally I prefer the second

Re: console UTF-8 fixes

2007-07-25 Thread Jan Engelhardt
On Jul 25 2007 21:20, Jan Engelhardt wrote: (full mail at http://www.ussg.iu.edu/hypermail/linux/kernel/0405.3/1387.html) That got merged AFAICS... 759448f459234bfcf34b82471f0dba77a9aca498 Hm that seems to be a different one.. there have been quite a lot of utf-8 related discussions and patches

Re: console UTF-8 fixes

2007-07-25 Thread Jan Engelhardt
On Jul 24 2007 23:47, Samuel Thibault wrote: Egmont got some UTF-8 fixes in mainline, Andrew Morton suggested it might be a good time to remember about bug 7746 Support for unicode dead keys: http://bugzilla.kernel.org/show_bug.cgi?id=7746 : « Quoting a mail from Vojtech Pavlik: Several

Re: sk98lin for 2.6.23-rc1

2007-07-26 Thread Jan Engelhardt
On Jul 26 2007 12:30, Kyle Rose wrote: Sorry for the nitpick, it can be done easier :) I'm sure it can. I didn't want to have to figure out the kernel build system just to get this one driver working. Hence my desire for it to remain in the kernel proper until sky2 utterly works. ;-) Oh it's

Re: sk98lin for 2.6.23-rc1

2007-07-26 Thread Jan Engelhardt
On Jul 26 2007 11:16, Kyle Rose wrote: 1. Make sure you have the headers for your kernel properly installed and linked to /usr/src/linux-$KVER. Why is this a requirement? Makefile not properly done? 4. Look in /tmp for a directory called Sk98something. Go to Why

Re: [RFC, PATCH 1/3] introduce SYS_CLONE_MASK

2007-07-26 Thread Jan Engelhardt
Hi, sorry for the really delayed mail.. On May 28 2007 22:53, Eric W. Biederman wrote: Jan Engelhardt writes: On Apr 10 2007 17:47, Jan Engelhardt wrote: Done that and the result is that `ps afwx` now looks like: PID TTY STAT TIME COMMAND 2722 ?S 0:00 [lockd

Re: [PATCH 02/68] 0 - NULL, for arch/arm

2007-07-27 Thread Jan Engelhardt
On Jul 27 2007 10:59, Al Viro wrote: On Fri, Jul 27, 2007 at 11:44:07AM +0200, Yoann Padioleau wrote: buf = alloc_safe_buffer(device_info, ptr, size, dir); -if (buf == 0) { +if (buf == NULL) { if (!buf) surely... Makes it look like it's

Re: [PATCH 02/68] 0 - NULL, for arch/arm

2007-07-27 Thread Jan Engelhardt
On Jul 27 2007 16:07, Alexey Dobriyan wrote: On 7/27/07, Jan Engelhardt [EMAIL PROTECTED] wrote: On Jul 27 2007 10:59, Al Viro wrote: On Fri, Jul 27, 2007 at 11:44:07AM +0200, Yoann Padioleau wrote: buf = alloc_safe_buffer(device_info, ptr, size, dir); - if (buf == 0

Re: Source organization for two drivers sharing coomon code

2007-07-27 Thread Jan Engelhardt
On Jul 27 2007 10:17, Subbu Seetharaman wrote: What is the recommended way for two drivers to share common code ? Our device has two PCI functions and hence two drivers - NIC and SCSI driver. The source code for these dirvers will fit under drivers/net and drivers/scsi. But both drivers

Re: Source organization for two drivers sharing coomon code

2007-07-27 Thread Jan Engelhardt
On Jul 27 2007 13:12, Chris Friesen wrote: Jan Engelhardt wrote: On Jul 27 2007 10:17, Subbu Seetharaman wrote: What is the recommended way for two drivers to share common code ? snip...The source code for these dirvers will fit under drivers/net and drivers/scsi. But both drivers share

Re: RFC: drop support for gcc 4.0

2007-08-22 Thread Jan Engelhardt
On Aug 21 2007 23:41, Oliver Pinter wrote: I think it's bad idea, when removing support for gcc3.x, while some people using debian 3.1 at now and under debian 3.1 the default comiler is 3.3.5, when I good know or not!? They always lag behind. Jan -- - To unsubscribe from this list:

Re: RFC: drop support for gcc 4.0

2007-08-22 Thread Jan Engelhardt
On Aug 22 2007 10:08, Jarek Poplawski wrote: On Wed, Aug 22, 2007 at 09:57:04AM +0200, Jan Engelhardt wrote: On Aug 21 2007 23:41, Oliver Pinter wrote: I think it's bad idea, when removing support for gcc3.x, while some people using debian 3.1 at now and under debian 3.1 the default comiler

Re: [PATCH] Make checkpatch rant about trailing ; at the end of if expr

2007-08-22 Thread Jan Engelhardt
On Aug 22 2007 11:21, Bodo Eggert wrote: But. The above regex does not seem to handle if ((a = b)); oops; I have tried to come up with a superduper regex that handles multiple (), but my regex fu seems to stop above two pairs of (). This is because you can't do that using

<    2   3   4   5   6   7   8   9   10   11   >