Calling call_usermodehelper from keyboard driver of linux

2005-02-26 Thread Payasam Manohar
hai all, Can we able to call call_usermodehelper from keyboard driver. Is there any other mechanism to do that task. Any small help is appreciated. Thanks&Regards, P.Manohar, - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECT

Calling user program(hello worldprogarm) from keboard driver.

2005-02-26 Thread Payasam Manohar
hai all, I am newbie to linux module programming. Can you please tell me that, is it possible to call a user program(let it be hello world program ) from keyboard driver using call_usermodehelper? If not please tell me how can we do that task. Any small help is welcome. Thanks&Regards,

Re: calling call_usermodehelper from interrupt context

2005-02-26 Thread Andrew Morton
Payasam Manohar <[EMAIL PROTECTED]> wrote: > > Is it possible to call call_usermodehelper from interrupt context. No. You'll need to run schedule_work() and then run call_usermodehelper() from within the work function. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: calling call_usermodehelper from interrupt context

2005-02-26 Thread Payasam Manohar
hai Mr.Andrew, Thanks for ur help. If u find some more info regarding this please send me. I want to call user program (let it be hello world program ) from keyboard driver, You'll need to run schedule_work() and then run call_usermodehelper() Is it the right way to do it. Thanks&Regards,

2.6.10-as6

2005-02-26 Thread Andres Salomon
Hi, 2.6.10-as6 includes a few more fixes, including a bug introduced by me in earlier -as kernels; if -as didn't work on your x86_64 SMP machine, this kernel should fix it. Thanks to Frederik Schüler for pointing out the problem. There is also some potential security related stuff in there, as w

Calling user program(hello worldprogarm) from keboard driver.

2005-02-26 Thread Payasam Manohar
hai all, I am newbie to linux module programming. Can you please tell me that, is it possible to call a user program(let it be hello world program ) from keyboard driver using call_usermodehelper? If not please tell me how can we do that task. Any small help is welcome. Please cc your reply t

Calling call_usermodehelper from keyboard driver of linux

2005-02-26 Thread Payasam Manohar
Subject: Calling call_usermodehelper from keyboard driver of linux hai all, Can we able to call call_usermodehelper from keyboard driver. Is there any other mechanism to do that task. Any small help is appreciated. Please cc your reply to my mail id. Thanks&Regards, P.Manohar, - To unsubscr

Re: Re: 2.6.11-rc5

2005-02-26 Thread Giuseppe Bilotta
Benjamin Herrenschmidt wrote: > I'm still curious what makes a difference between module and > built-in. There seems to be quite some difference between module and built-in for framebuffer drivers. Quite some time ago I reported a problem with nVidia framebuffer driver making the screen go nuts

Re: [2.6 patch] unexport do_settimeofday

2005-02-26 Thread Arjan van de Ven
On Fri, 2005-02-25 at 15:20 -0800, Andrew Morton wrote: > Adrian Bunk <[EMAIL PROTECTED]> wrote: > > > > > +#ifdef MODULE > > > +#define __deprecated_in_modules __deprecated > > > +#else > > > +#define __deprecated_in_modules /* OK in non-modular code */ > > > +#endif > > > + > > >... > > > > Look

PROBLEM: Ignoring blocked signals in 2.6 / 2.4 not possible

2005-02-26 Thread lk
Hi, I have a question regarding blocked signals: Is the current implementation to ignore attempts to set SIG_IGN on blocked signals correct? The following code will go into an endless loop on kernels 2.6.10 and 2.4.25, which is IMHO not the behaviour one would expect. #in

2.6.11-rc5: Doesn't compile with gcc-3.4 on ppc

2005-02-26 Thread Elimar Riesebieter
Hi all, tried to build 2.6.11-rc5 on my powerbook, stops as follows: CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o CHK usr/initramfs_list GEN .version CHK include/linux/compile.h UPD include/linux/com

Re: 2.6.11-rc5: Doesn't compile with gcc-3.4 on ppc

2005-02-26 Thread Olaf Hering
On Sat, Feb 26, Elimar Riesebieter wrote: > mm/built-in.o(.rodata.cst4+0x0): relocation truncated to fit: R_PPC_ADDR32 > empty_zero_page+4000 > make[1]: *** [.tmp_vmlinux1] Error 1 > > gcc (GCC) 3.4.4 20050203 (prerelease) (Debian 3.4.3-9) > GNU ld version 2.15 > > Using gcc-3.3 (GCC) 3.3.

Re: Inconsistent kallsyms data (since 2.6.11-rc3 or so)

2005-02-26 Thread Keith Owens
On Fri, 25 Feb 2005 11:33:48 +0100 (CET), Geert Uytterhoeven <[EMAIL PROTECTED]> wrote: > >One of my m68k configs has been giving > >| Inconsistent kallsyms data >| Try setting CONFIG_KALLSYMS_EXTRA_PASS > >since 2.6.11-rc3 or so. Setting CONFIG_KALLSYMS_EXTRA_PASS, or applying Keith >Owen's patch

[patch 2.6.11-rc5] Add target debug_kallsyms

2005-02-26 Thread Keith Owens
Make it easier to generate maps for debugging kallsyms problems. debug_kallsyms is only a debugging target so no help or silent mode. Signed-off-by: Keith Owens Index: linux/Makefile === --- linux.orig/Makefile 2005-02-25 16:21:44.

Re: ARM undefined symbols. Again.

2005-02-26 Thread Russell King
On Fri, Feb 25, 2005 at 02:49:05PM -0800, Linus Torvalds wrote: > On Fri, 25 Feb 2005, Russell King wrote: > > That's fine until you consider the wide number of machines for ARM, > > any of which could have this problem. > > Fair enough. "ARM" doesn't end up being just one architecture, and that's

Re: ARM undefined symbols. Again.

2005-02-26 Thread Russell King
On Sat, Feb 26, 2005 at 11:17:48AM +, Russell King wrote: > So, I have to do _something_ to ensure that we have a reasonable status > quo in place. Correction: _I_ don't have to do anything at all if I > don't care about Linux kernels standing a chance of being built correctly > by less experi

[2.6.11-rc4-mm1 patch] fix buggy IEEE80211_CRYPT_* selects

2005-02-26 Thread Adrian Bunk
On Wed, Feb 23, 2005 at 01:42:33AM -0800, Andrew Morton wrote: >... > Changes since 2.6.11-rc3-mm1: >... > bk-netdev.patch >... Some of the options that needlessly wrote in their help text which options they do selct (patch already sent) didn't obey the most important rule of select If you

FEB comms statement - Best so far

2005-02-26 Thread FEB_2005_Commission
To contact us, please do_not_replyto. See the bottom of this email to contact us by telephone or email. It's absolutely true. You will get emails like this very soon Quickly, send me an email or call me and you will get real com.miss.ion emails with this subject line and big, big comm_issio

Re: BKCVS still updated?

2005-02-26 Thread Stelian Pop
On Fri, Feb 25, 2005 at 10:02:18AM -0800, Larry McVoy wrote: > > He should be back now, maybe he can tell us more about what happened ? > > We had a nameserver problem and the machine dedicated to this didn't get > updated with a new resolve.conf. It's fixed now and updating, probably > be there

Re: Xterm Hangs - Possible scheduler defect?

2005-02-26 Thread Helge Hafting
On Fri, Feb 25, 2005 at 04:02:26PM -0500, Chad N. Tindel wrote: > > What's so special about a 64-way box? > > They're expensive and customers don't expect a single userspace thread to > tie up the other 63 CPUs no matter how buggy it is. It is intuitively obvious > that a buggy kernel can bring a

Re: [PATCH] Fix panic in 2.6 with bounced bio and dm

2005-02-26 Thread Jens Axboe
On Fri, Feb 25 2005, Linus Torvalds wrote: > > > On Fri, 25 Feb 2005, Andrew Morton wrote: > > > > It seems very weird for dm to be shoving NULL page*'s into the middle of a > > bio's bvec array, so your fix might end up being a workaround pending a > > closer look at what's going on in there. >

[PATCH] __devinitdata in parport_pc

2005-02-26 Thread Andries Brouwer
parport_init_mode is referred to in int __devinit sio_via_probe(). Andries diff -uprN -X /linux/dontdiff a/drivers/parport/parport_pc.c b/drivers/parport/parport_pc.c --- a/drivers/parport/parport_pc.c 2005-02-26 12:13:30.0 +0100 +++ b/drivers/parport/parport_pc.c 2005-02-26 14

[PATCH] __init in cfq-iosched.c

2005-02-26 Thread Andries Brouwer
cfq_init() calls __init cfq_slab_setup and hence must be __init itself also made it static Andries diff -uprN -X /linux/dontdiff a/drivers/block/cfq-iosched.c b/drivers/block/cfq-iosched.c --- a/drivers/block/cfq-iosched.c 2005-02-26 12:13:29.0 +0100 +++ b/drivers/block/cfq-iosche

Re: [PATCH] Properly share process and session keyrings with CLONE_THREAD

2005-02-26 Thread David Howells
Linus Torvalds wrote: > I do not see the point of associating keys with signal state. > > And it _is_ signal state, even if some people mistakenly think that it's > about "processes". Linux still hasn't fallen into the trap of believing > that POSIX threads are somehow magical and the only way

[PATCH] remove __initdata in scsi_devinfo.c

2005-02-26 Thread Andries Brouwer
scsi_dev_flags is referred to in module_param_string(dev_flags, scsi_dev_flags, sizeof(scsi_dev_flags), 0); Andries diff -uprN -X /linux/dontdiff a/drivers/scsi/scsi_devinfo.c b/drivers/scsi/scsi_devinfo.c --- a/drivers/scsi/scsi_devinfo.c 2004-12-29 03:39:47.0 +0100 +++ b/drivers/

[2.6 patch] deprecate EXPORT_SYMBOL(do_settimeofday)

2005-02-26 Thread Adrian Bunk
Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- linux-2.6.11-rc4-mm1-full/Documentation/feature-removal-schedule.txt.old 2005-02-26 12:24:43.0 +0100 +++ linux-2.6.11-rc4-mm1-full/Documentation/feature-removal-schedule.txt 2005-02-26 12:27:18.0 +0100 @@ -32,3 +32,10 @

Re: [2.6 patch] deprecate EXPORT_SYMBOL(do_settimeofday)

2005-02-26 Thread YOSHIFUJI Hideaki / $B5HF#1QL@(B
In article <[EMAIL PROTECTED]> (at Sat, 26 Feb 2005 22:37:42 +0900 (JST)), (BYOSHIFUJI Hideaki / [EMAIL PROTECTED](B <[EMAIL PROTECTED]> says: (B (B> In article <[EMAIL PROTECTED]> (at Sat, 26 Feb 2005 14:33:37 +0100), Adrian (B> Bunk <[EMAIL PROTECTED]> says: (B> (B> (B> > + (B> > +Wha

Re: [2.6 patch] deprecate EXPORT_SYMBOL(do_settimeofday)

2005-02-26 Thread YOSHIFUJI Hideaki / $B5HF#1QL@(B
In article <[EMAIL PROTECTED]> (at Sat, 26 Feb 2005 14:33:37 +0100), Adrian Bunk <[EMAIL PROTECTED]> says: > + > +What:EXPORT_SYMBOL(do_settimeofday) > +When:26 Aug 2005 ~~~ Feb? > +Files: arch/*/kernel/time.c > +Why: not used in the kernel > +Who: Adrian

Help Regarding Squid

2005-02-26 Thread Pankaj Agarwal
Hi, I am facing a very strange problem with squid. Users in my LAN are not able to connect to some of the HTTPS sites. On that particular sites it keeps on asking for username and password but if I configure the client to direct access ..then I gives the webpage and asks for user name and pa

System call problem

2005-02-26 Thread Josef E. Galea
Hi, I am implemeting a new system call for a project I'm working on. I added the system call to the file arch/i386/kernel/process.c and added the relevant entries in the files arch/i386/entry.S and include/asm-i386/unistd.h. My system call is made up of only two lines, a printk statement, and a

pc104 ISA bus-mastering & custom hardware

2005-02-26 Thread Paul Miller
I've been thinking about fabricating my own hardware for a pc104 board that uses a 16-bit ISA bus. Basically, I want to interface a DSP such that it has access to the pc104's shared memory. I'm fairly confident that I can work out the circuit design, but I need to know more about Linux's ISA

Re: System call problem

2005-02-26 Thread Steven Rostedt
On Sat, 2005-02-26 at 15:17 +0100, Josef E. Galea wrote: > I compiled and booted the kernel and am trying to build a user space > application that uses my system call, however gcc is returning this error: > /tmp/cc4zgzUr.o(.text+0x4e): In functiono `get_rmt_paging': > : undefined reference to `er

Re: [2.6 patch] deprecate EXPORT_SYMBOL(do_settimeofday)

2005-02-26 Thread Russell King
On Sat, Feb 26, 2005 at 02:33:37PM +0100, Adrian Bunk wrote: > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Please don't deprecate this symbol. ARM has a large variety of RTC implementations, some of which reside in I2C modules which are yet to be merged. Firstly, these aren't accessible until

[PATCH] __initdata in apic.c

2005-02-26 Thread Andries Brouwer
wait_timer_tick refers to the __init functions wait_8254_wraparound or wait_hpet_tick, hence must be __initdata. Andries diff -uprN -X /linux/dontdiff a/arch/i386/kernel/apic.c b/arch/i386/kernel/apic.c --- a/arch/i386/kernel/apic.c 2005-02-26 12:13:28.0 +0100 +++ b/arch/i386/kernel/ap

[PATCH] more apic.c

2005-02-26 Thread Andries Brouwer
setup_APIC_timer is only called in __init context and uses __initdata Andries diff -uprN -X /linux/dontdiff a/arch/i386/kernel/apic.c b/arch/i386/kernel/apic.c --- a/arch/i386/kernel/apic.c 2005-02-26 12:13:28.0 +0100 +++ b/arch/i386/kernel/apic.c 2005-02-26 16:13:21.0 +0100

Re: [2.6 patch] unexport do_settimeofday

2005-02-26 Thread Adrian Bunk
On Fri, Feb 25, 2005 at 03:20:09PM -0800, Andrew Morton wrote: > Adrian Bunk <[EMAIL PROTECTED]> wrote: > > > > > +#ifdef MODULE > > > +#define __deprecated_in_modules __deprecated > > > +#else > > > +#define __deprecated_in_modules /* OK in non-modular code */ > > > +#endif > > > + > > >... > > >

Re: [2.6 patch] unexport do_settimeofday

2005-02-26 Thread Adrian Bunk
On Sat, Feb 26, 2005 at 11:01:24AM +0100, Arjan van de Ven wrote: > On Fri, 2005-02-25 at 15:20 -0800, Andrew Morton wrote: > > Adrian Bunk <[EMAIL PROTECTED]> wrote: > > > > > > You get a false positive if the file containing the symbol is itself a > > > module. > > > > I don't understand what

[PATCH] New operation for kref to help avoid locks

2005-02-26 Thread Corey Minyard
Greg, This is the patch for krefs that we talked about. If you don't like it but like the docs, feel free just to take the documentation and cut out the stuff at the end about the new operation. Thanks, -Corey Add a routine to kref that allows the kref_put() routine to be unserialized even when

NVRM: rm_init_adapter failed (2.6.11-rc4-RT-V0.7.39-02)

2005-02-26 Thread Norberto Bensa
Hello list, /* please, CC me since I'm on dialup and not subscribed to LKML anymore :( */ It seems nvidia is broken with latest kernels; in fact, the last kernel I could use is 2.6.9-rc4-mm1-RT-U4. With 2.6.11-rc4-RT-V0.7.39-02 modprobing nvidia goes without error but X doesn't start, screen goe

2.4.29-hf3

2005-02-26 Thread Willy Tarreau
Hi, I've just uploaded 2.4.29 hotfix 3 here : http://linux.exosec.net/kernel/2.4-hf/2.4.29-hf3/ Just merged some small fixes to stay up to date with -bk, nothing critical. Changelog below. Cheers, Willy -- Changelog From 2.4.29-hf2 to 2.4.29-hf3 (semi-automated) -

how to use schedule_work()

2005-02-26 Thread Payasam Manohar
hai all, I want to call call_usermodehelper() from schedule_work() to run the user program in the process context. Can u please tell me how to call schedule_work(), plz give any reference manual for that. Any help appreciated. Thanks&Regards, KernelNewbie. - To unsubscribe from this list:

Re: [2.6 patch] deprecate EXPORT_SYMBOL(do_settimeofday)

2005-02-26 Thread Adrian Bunk
On Sat, Feb 26, 2005 at 02:46:35PM +, Russell King wrote: > On Sat, Feb 26, 2005 at 02:33:37PM +0100, Adrian Bunk wrote: > > Please don't deprecate this symbol. ARM has a large variety of RTC > implementations, some of which reside in I2C modules which are yet > to be merged. > > Firstly, th

Re: [2.6 patch] deprecate EXPORT_SYMBOL(do_settimeofday)

2005-02-26 Thread Russell King
On Sat, Feb 26, 2005 at 05:23:41PM +0100, Adrian Bunk wrote: > On Sat, Feb 26, 2005 at 02:46:35PM +, Russell King wrote: > > On Sat, Feb 26, 2005 at 02:33:37PM +0100, Adrian Bunk wrote: > > > > Please don't deprecate this symbol. ARM has a large variety of RTC > > implementations, some of whi

Re: BKCVS still updated?

2005-02-26 Thread Larry McVoy
On Sat, Feb 26, 2005 at 12:49:53PM +0100, Stelian Pop wrote: > On Fri, Feb 25, 2005 at 10:02:18AM -0800, Larry McVoy wrote: > > > > He should be back now, maybe he can tell us more about what happened ? > > > > We had a nameserver problem and the machine dedicated to this didn't get > > updated w

Bad page state at prep_new_page

2005-02-26 Thread Jay Roplekar
I have been getting this error off and on with vendor kernel 2.6.8, I have posted about it on lkml 3/4 times before. Actually I had offered to provide a summary of similar reports from the web with no takers, I can still provide that to somebody if it is useful. I had run memtest overnight wi

Re: how to use schedule_work()

2005-02-26 Thread Parag Warudkar
> > hai all, > I want to call call_usermodehelper() from schedule_work() to run the > user program in the process context. Can u please tell me how to call > schedule_work(), plz give any reference manual for that. > Download cscope from cscope.sourceforge.net - The site has a good tutorial

Re: how to use schedule_work()

2005-02-26 Thread Payasam Manohar
hai, Thanks for the information. Thanks&Regards, KernelNewbie. eb 2005, Parag Warudkar wrote: hai all, I want to call call_usermodehelper() from schedule_work() to run the user program in the process context. Can u please tell me how to call schedule_work(), plz give any reference m

Re: [2.6 patch] deprecate EXPORT_SYMBOL(do_settimeofday)

2005-02-26 Thread Adrian Bunk
On Sat, Feb 26, 2005 at 04:46:13PM +, Russell King wrote: >... > There are a number of ARM platforms which use a Ricoh RTC chip, and > the driver for this will live in drivers/i2c/chips/ricoh-rtc.c. This > is a stand alone driver in its own sense, handling the power management > issues (saving

Re: how to use schedule_work()

2005-02-26 Thread Vicente Feito
This is for workqueues, it includes schedule_work() and how to call it http://lwn.net/Articles/23634/ Vicente - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html P

Re: [2.6 patch] deprecate EXPORT_SYMBOL(do_settimeofday)

2005-02-26 Thread Russell King
On Sat, Feb 26, 2005 at 06:13:25PM +0100, Adrian Bunk wrote: > You call it "breakage" because you have a relatively dogmatic view > regarding the selection of user visible symbols. > Other people care more about the usability of the kernel config system, > and therefore a select of one of the I2C

Re: [PATCH] allow vma merging with mlock et. al.

2005-02-26 Thread Hugh Dickins
On Fri, 25 Feb 2005, Chris Wright wrote: > > Actually I think it winds up being fine since we don't do merging with > mlock. But why not? Patch below remedies that. I shared Darren's assumption, that mlock merging had been found too expensive. But Andrea says it's just that nobody asked for it

Re: how to use schedule_work()

2005-02-26 Thread Payasam Manohar
hai, Thanks for information, I have already seen that material. If you find any more info regarding that plz send it to me. Thanks&Regards, KernelNewbie. On Sat, 26 Feb 2005, Vicente Feito wrote: This is for workqueues, it includes schedule_work() and how to call it http://lwn.net/Article

Re: [2.6 patch] deprecate EXPORT_SYMBOL(do_settimeofday)

2005-02-26 Thread Russell King
On Sat, Feb 26, 2005 at 06:13:25PM +0100, Adrian Bunk wrote: > You call it "breakage" because you have a relatively dogmatic view > regarding the selection of user visible symbols. > Other people care more about the usability of the kernel config system, > and therefore a select of one of the I2C

Re: Bad page state at prep_new_page

2005-02-26 Thread Hugh Dickins
On Sat, 26 Feb 2005, Jay Roplekar wrote: > I have been getting this error off and on with vendor kernel 2.6.8, I have > posted about it on lkml 3/4 times before. Actually I had offered to provide a > summary of similar reports from the web with no takers, I can still provide > that to somebody

Re: [PATCH] Properly share process and session keyrings with CLONE_THREAD

2005-02-26 Thread Linus Torvalds
On Sat, 26 Feb 2005, David Howells wrote: > > There's a per-thread keyring available too; and that is strictly per thread. Ahh, I'd forgotten about that. Yeah, as long as the per-thread thing is still there, I guess I'm ok with it (what I _really_ don't want to lose is the ability to have indep

[PATCH] config option for default loglevel

2005-02-26 Thread Matthias Kunze
Hi, I've created a little patch to make the default loglevel a configurable option. Is there a chance that this patch will be included in a future release? diff -Naur linux-2.6.10/drivers/video/console/Kconfig linux-2.6.10-new/drivers/video/console/Kconfig --- linux-2.6.10/drivers/video/console/

Re: [PATCH] fix units/partition count in sd.c (2.4.x)

2005-02-26 Thread Marcelo Tosatti
On Wed, Feb 16, 2005 at 11:23:53AM -0500, Luben Tuikov wrote: > Hi, > > This patch fixes the nr_real count in sd.c, which is also used > in genhd.c to print out the partitions/units. The problem is that > nr_real is decremented on detach, the genhd's nr_sects is > cleared but the entry is still t

[RFT] Preliminary w83627ehf hardware monitoring driver

2005-02-26 Thread Jean Delvare
Hi all, I have been working on a w83627ehf hardware monitoring driver. The W83627EHF is a Super-I/O chip made by Winbond. Like other chips of the family (W83627HF, W83697HF, W83627THF...), it integrates hardware monitoring functions. Of these, my preliminary driver only handles temperature and fan

[PATCH] orinoco rfmon

2005-02-26 Thread Eric Gaumer
Could anyone elaborate on the status of this patch? I've had 344 days of uptime on a PPC powerbook using it on 2.4.22 and about 3 months of solid use on 2.6. If the code looks problematic could someone point out possible deficiencies so we can work toward a satisfactory resolution? I didn't write

Re: [PATCH] config option for default loglevel

2005-02-26 Thread Matthias-Christian Ott
Matthias Kunze wrote: Hi, I've created a little patch to make the default loglevel a configurable option. Is there a chance that this patch will be included in a future release? diff -Naur linux-2.6.10/drivers/video/console/Kconfig linux-2.6.10-new/drivers/video/console/Kconfig --- linux-2.6.10/dr

Re: [Patch 4/6] Bind Mount Extensions 0.06

2005-02-26 Thread Herbert Poetzl
On Tue, Feb 22, 2005 at 09:45:37AM -0500, Trond Myklebust wrote: > ty den 22.02.2005 Klokka 13:12 (+0100) skreiv Herbert Poetzl: > > > * Special case: O_CREAT|O_EXCL implies O_NOFOLLOW for security > > * reasons. > > @@ -1518,23 +1536,28 @@ do_link: > > struct dentry *lookup_create(struct nam

Re: System call problem

2005-02-26 Thread Josef E. Galea
Steven Rostedt wrote: On Sat, 2005-02-26 at 15:17 +0100, Josef E. Galea wrote: I compiled and booted the kernel and am trying to build a user space application that uses my system call, however gcc is returning this error: /tmp/cc4zgzUr.o(.text+0x4e): In functiono `get_rmt_paging': : undefined

Re: EBDA Question

2005-02-26 Thread Bukie Mabayoje
"H. Peter Anvin" wrote: > Followup to: <[EMAIL PROTECTED]> > By author:"Moore, Eric Dean" <[EMAIL PROTECTED]> > In newsgroup: linux.dev.kernel > > > > EBDA - Extended Bios Data Area > > > > Does Linux and various boot loaders(lilo/grub/etc) > > having any restrictions on where and how big >

Re: USB IDE Connector

2005-02-26 Thread Sumit Narayan
Well, basically I would like to test the file system. And since I travel I lot, I carry laptop and this external disk with me. So, was just wondering if I could somehow conduct a disk-level test. Thanks. On Fri, 25 Feb 2005 14:36:49 -0800, Greg KH <[EMAIL PROTECTED]> wrote: > On Fri, Feb 25, 200

Re: [PATCH] fix units/partition count in sd.c (2.4.x)

2005-02-26 Thread Soo Lee
Thanks for your attention. I think It only matters when there're many scsi controllers but less disks like one disk per controller. Even in such case The main user of nr_real does genhd.c:part_show() /* show the full disk and all non-0 size partitions of it */ for (n = 0; n < (gp

Re: [PATCH] Re: 2.6.11-rc4 libata-core (irq 30: nobody cared!)

2005-02-26 Thread Rogério Brito
On Feb 23 2005, Jeff Garzik wrote: > Does this patch do anything useful? > Jeff (...) The patch you posted seems to only affect people using SATA, right? BTW, just for clarity I'm seeing the message in a PATA environment (on i386) and Brian is seeing his problem with a SATA device on ppc.

Re: [PATCH] orinoco rfmon

2005-02-26 Thread Alexey Dobriyan
On Saturday 26 February 2005 20:10, Eric Gaumer wrote: > If the code looks problematic could someone point out possible > deficiencies so we can work toward a satisfactory resolution? I didn't > write the code but I'm willing do what I have to in order to get this > (wireless scanning) into the of

[PATCH] Removes unused label from /drivers/isdn/hisax/hisax_fcpcipnp.c

2005-02-26 Thread Telemaque Ndizihiwe
This Patch removes (in kernel 2.6.10) an unused label (fixes compiler WARNING) and a function (inside a preprocessor directive) that is never called. Signed-off- by: Telemaque Ndizihiwe <[EMAIL PROTECTED]> --- linux-2.6.10/drivers/isdn/hisax/hisax_fcpcipnp.c.orig 2005-02-26 19:16:06.030150400 +

Re: [PATCH] Re: 2.6.11-rc4 libata-core (irq 30: nobody cared!)

2005-02-26 Thread Jeff Garzik
Rogério Brito wrote: On Feb 23 2005, Jeff Garzik wrote: Does this patch do anything useful? Jeff (...) The patch you posted seems to only affect people using SATA, right? BTW, just for clarity I'm seeing the message in a PATA environment (on i386) and Brian is seeing his problem with a SATA

Re: [PATCH] New operation for kref to help avoid locks

2005-02-26 Thread Sergey Vlasov
On Sat, 26 Feb 2005 09:55:41 -0600 Corey Minyard wrote: > Greg, > > This is the patch for krefs that we talked about. If you don't like it > but like the docs, feel free just to take the documentation and cut out > the stuff at the end about the new operation. See below for comments to the pa

RE: arch/xen is a bad idea

2005-02-26 Thread Ian Pratt
> > I think there's an interim compromise position that > everyone might go > > for: > > > > Phase 1 is for us to submit a load of patches that squeeze > out the low > > hanging fruit in unifying xen/i386 and i386. Most of these will be > > strict cleanups to i386, and the result will be to alm

[PATCH] partitions/msdos.c

2005-02-26 Thread Andries Brouwer
A well-known kernel bug is that it guesses at the partition type and the partitions on any disk it encounters. This is bad because needless I/O is done, slowing down the boot, sometimes quite a lot, especially when I/O errors occur. And it is bad because sometimes we guess wrong. In other words, w

userspace app needing signal on parport input change

2005-02-26 Thread Melkor Ainur
Hello, Is there a way for a user space app to get a signal or maybe woken up from select/read when there is a change on a particular input pin on the parallel port? Thanks. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection

cyrix_arr_init and centaur_mcr_init unused?

2005-02-26 Thread Andries.Brouwer
arch/i386/kernel/cpu/mtrr/cyrix.c has a routine cyrix_arr_init(), and arch/i386/kernel/cpu/mtrr/centaur.c has a routine centaur_mcr_init(). At first sight it looks like these are unused. Do I overlook something? (They occur as the .init fields of some struct, and I did not find any calls of ->init

Re: [PATCH] partitions/msdos.c

2005-02-26 Thread Uwe Bonnes
> "Andries" == Andries Brouwer <[EMAIL PROTECTED]> writes: Andrew, Andries> I think nobody uses such partitions seriously, but nevertheless Andries> this should probably live in -mm for a while to see if anybody Andries> complains. the partition table of the USB stick in question

Re: [PATCH] New operation for kref to help avoid locks

2005-02-26 Thread Corey Minyard
Sergey Vlasov wrote: On Sat, 26 Feb 2005 09:55:41 -0600 Corey Minyard wrote: Greg, This is the patch for krefs that we talked about. If you don't like it but like the docs, feel free just to take the documentation and cut out the stuff at the end about the new operation. See below for co

Re: [PATCH] partitions/msdos.c

2005-02-26 Thread Linus Torvalds
On Sat, 26 Feb 2005, Uwe Bonnes wrote: > > Andrew, > > Andries> I think nobody uses such partitions seriously, but nevertheless > Andries> this should probably live in -mm for a while to see if anybody > Andries> complains. > > the partition table of the USB stick in question is va

Re: [PATCH] partitions/msdos.c

2005-02-26 Thread Linus Torvalds
On Sat, 26 Feb 2005, Linus Torvalds wrote: > > Would it not make more sense to just sanity-check the size itself, and > throw it out if the partition size (plus start) is bigger than the disk > size? Something like this (TOTALLY UNTESTED AS USUAL!)? What does fdisk and other tools do on that d

Re: [PATCH] orinoco rfmon

2005-02-26 Thread Eric Gaumer
Alexey Dobriyan wrote: On Saturday 26 February 2005 20:10, Eric Gaumer wrote: If the code looks problematic could someone point out possible deficiencies so we can work toward a satisfactory resolution? I didn't write the code but I'm willing do what I have to in order to get this (wireless scanni

Re: [PATCH] partitions/msdos.c

2005-02-26 Thread Andries Brouwer
On Sat, Feb 26, 2005 at 02:28:45PM -0800, Linus Torvalds wrote: > Would it not make more sense to just sanity-check the size itself, and > throw it out if the partition size (plus start) is bigger than the disk > size? I don't mind. > There might well be people use use partition type 0, just bec

Re: ALPS touchpad not seen by 2.6.11 kernels

2005-02-26 Thread Frank Victor Fischer
I have had the same problem and the solution worked for me as well. Where should I put the DSDT? Please reply to my e-mail, as I am no linux-kernel subscriber. Victor Fischer - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] M

Re: [PATCH] partitions/msdos.c

2005-02-26 Thread Linus Torvalds
On Sat, 26 Feb 2005, Andries Brouwer wrote: > > The default fdisk will assign type 83 to a newly created partition. Ok. Is that a "it has done so for the last 5 years" thing? > (About type 0: DOS has used type 0 as definition of unused. It is not > bad if Linux uses DOS-conventions for a DOS-

Re: [PATCH] Re: 2.6.11-rc4 libata-core (irq 30: nobody cared!)

2005-02-26 Thread Rogério Brito
First of all, thank you very much for your reply, Jeff. On Feb 26 2005, Jeff Garzik wrote: > "irq XX: nobody cared" is a screaming interrupt situation, which could > have 1001 causes. Ok, I didn't know that. > Normally it's something that "pci=biosirq" or "acpi=off" will fix, but > on occasion

Re: [PATCH] partitions/msdos.c

2005-02-26 Thread Uwe Bonnes
> "Linus" == Linus Torvalds <[EMAIL PROTECTED]> writes: Linus> On Sat, 26 Feb 2005, Linus Torvalds wrote: >> Would it not make more sense to just sanity-check the size itself, >> and throw it out if the partition size (plus start) is bigger than >> the disk size? Linus> S

[PATCH] Dump partition list on inability to mount /

2005-02-26 Thread Dr. David Alan Gilbert
Hi, The attached patch dumps a list of partitions (in a similar format to /proc/partitions) to the console just before the kernel panics complaining that it can't mount /, the aim being to allow the victim to see quickly if all his devices have been found and to understand if they have the names

Re: [PATCH] partitions/msdos.c

2005-02-26 Thread Andries Brouwer
On Sat, Feb 26, 2005 at 03:12:28PM -0800, Linus Torvalds wrote: > > The default fdisk will assign type 83 to a newly created partition. > > Ok. Is that a "it has done so for the last 5 years" thing? The last twelve years. > > (About type 0: DOS has used type 0 as definition of unused. It is no

Re: [PATCH] partitions/msdos.c

2005-02-26 Thread Linus Torvalds
On Sun, 27 Feb 2005, Uwe Bonnes wrote: > > /dev/sda4 3512348 6003585 698791990+ 0 Empty > Partition 4 has different physical/logical beginnings (non-Linux?): > phys=(0, 0, 0) logical=(3512347, 6, 16) > Partition 4 has different physical/logical endings: > phys=(0, 0, 0)

Re: [PATCH] config option for default loglevel

2005-02-26 Thread Andrew Morton
Matthias Kunze <[EMAIL PROTECTED]> wrote: > > I've created a little patch to make the default loglevel a configurable > option. It'd be better to make it a kernel boot option, IMO. We already have `debug' and `quiet' (init/main.c), which are rather silly things. An option to set the initial log

Re: [PATCH] partitions/msdos.c

2005-02-26 Thread Linus Torvalds
On Sun, 27 Feb 2005, Andries Brouwer wrote: > > (Concerning the "size" version: it occurred to me that there is one > very minor objection: For extended partitions so far the size did > not normally play a role. Only the starting sector was significant. > If, at some moment we decide also to che

Re: [PATCH] partitions/msdos.c

2005-02-26 Thread Andries Brouwer
On Sat, Feb 26, 2005 at 03:46:03PM -0800, Linus Torvalds wrote: > We should probably do the same for the > extended partition case, just to be consistent. True. diff -uprN -X /linux/dontdiff a/fs/partitions/msdos.c b/fs/partitions/msdos.c --- a/fs/partitions/msdos.c 2004-12-29 03:39:55.

[PATCH 1/10] PPC: C99 initializers for hw_interrupt_type structures

2005-02-26 Thread tglx
Convert the initializers of hw_interrupt_type structures to C99 initializers. Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]> --- platforms/adir_pic.c | 12 syslib/cpc700_pic.c | 12 syslib/cpm2_pic.c| 13 + syslib/i8259.c | 13 +---

[PATCH 2/10] M32R: C99 initializers for hw_interrupt_type structures

2005-02-26 Thread tglx
Convert the initializers of hw_interrupt_type structures to C99 initializers. Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]> --- setup_m32700ut.c | 56 +++ setup_mappi.c| 14 ++--- setup_mappi2.c | 14 ++--- setu

[PATCH 4/10] PPC64: C99 initializers for hw_interrupt_type structures

2005-02-26 Thread tglx
Convert the initializers of hw_interrupt_type structures to C99 initializers. Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]> --- i8259.c | 13 + 1 files changed, 5 insertions(+), 8 deletions(-) --- diff -urN 2.6.11-rc5.orig/arch/ppc64/kernel/i8259.c 2.6.11-rc5/arch/ppc64/kerne

[PATCH 5/10] MIPS: C99 initializers for hw_interrupt_type structures

2005-02-26 Thread tglx
Convert the initializers of hw_interrupt_type structures to C99 initializers. Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]> --- au1000/common/irq.c | 60 +++-- ddb5xxx/ddb5074/nile4_pic.c | 15 +++- ddb5xxx/ddb5476/vrc5476_irq.c | 15 +++

[PATCH 3/10] SH: C99 initializers for hw_interrupt_type structures

2005-02-26 Thread tglx
Convert the initializers of hw_interrupt_type structures to C99 initializers. Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]> --- boards/adx/irq_maskreg.c | 14 +++--- boards/bigsur/irq.c | 28 ++-- boards/cqreek/irq.c |

[PATCH 8/10] SH64: C99 initializers for hw_interrupt_type structures

2005-02-26 Thread tglx
Convert the initializers of hw_interrupt_type structures to C99 initializers. Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]> --- irq.c | 14 +++--- irq_intc.c | 14 +++--- 2 files changed, 14 insertions(+), 14 deletions(-) --- diff -urN 2.6.11-rc5.orig/arch/sh64/kern

[PATCH 6/10] V850: C99 initializers for hw_interrupt_type structures

2005-02-26 Thread tglx
Convert the initializers of hw_interrupt_type structures to C99 initializers. Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]> --- irq.c | 14 +++--- setup.c | 14 +++--- sim.c | 14 +++--- 3 files changed, 21 insertions(+), 21 deletions(-) --- diff -urN 2.6.1

[PATCH 9/10] X86_64: C99 initializers for hw_interrupt_type structures

2005-02-26 Thread tglx
Convert the initializers of hw_interrupt_type structures to C99 initializers. Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]> --- i8259.c | 15 +++ 1 files changed, 7 insertions(+), 8 deletions(-) --- diff -urN 2.6.11-rc5.orig/arch/x86_64/kernel/i8259.c 2.6.11-rc5/arch/x86_64/k

[PATCH 10/10] IA64: C99 initializers for hw_interrupt_type structures

2005-02-26 Thread tglx
Convert the initializers of hw_interrupt_type structures to C99 initializers. Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]> --- irq.c | 16 1 files changed, 8 insertions(+), 8 deletions(-) --- diff -urN 2.6.11-rc5.orig/arch/ia64/sn/kernel/irq.c 2.6.11-rc5/arch/ia64/sn/ke

[PATCH 7/10] I386: C99 initializers for hw_interrupt_type structures

2005-02-26 Thread tglx
Convert the initializers of hw_interrupt_type structures to C99 initializers. Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]> --- kernel/i8259.c | 15 +++ mach-voyager/voyager_smp.c | 16 2 files changed, 15 insertions(+), 16 deletions(-) --- diff

  1   2   >