[uPATCH] cross-compile scripts/lxdialog/ on AIX

2005-02-26 Thread Peter Samuelson
AIX curses.h defines macros 'clear_screen' and 'color_names' but does not define 'scroll()'. Signed-Off-By: Peter Samuelson <[EMAIL PROTECTED]> diff -urN 2.6.11-rc5/scripts/lxdialog/checklist.c.old 2.6.11-rc5/scripts/lxdialog/checklist.c --- 2.6.11-rc5/scripts/lxdialog/checklist.c.old 2005-02-2

Re: ALPS tapping disabled. WHY?

2005-02-26 Thread Vojtech Pavlik
On Thu, Feb 24, 2005 at 10:08:15PM -0500, Dmitry Torokhov wrote: > > So now, can anyone explain what bit 3 of param[0] does, and why you would > > want to disable hardware tapping support when it's set? My pad (ALPS > > 56AAA1760C on a Sager NP8560V) has always worked with hardware tapping as a >

Re: [PATCH 2.6.11-rc3 10/11] ide: make ide_cmd_ioctl() use TASKFILE

2005-02-26 Thread Jeff Garzik
For what it's worth... Some vendor-specific commands on PATA devices require -exact- specification of registers in, and registers out. You never want to read more registers than are flagged. Ditto for write. Jeff - To unsubscribe from this list: send the line "unsubscribe linux-kernel

Re: Invalid module format in Fedora core2

2005-02-26 Thread Robert Hancock
linux-os wrote: I attached a typical makefile so you can see how complicated this new crap is. In the meantime, you can just take this and link it with your "module.o" to make a "module.ko". What is all this stuff for? Unless you are doing some pretty bizarre things in your module this is far more

Re: [patch ide-dev 8/9] make ide_task_ioctl() use REQ_DRIVE_TASKFILE

2005-02-26 Thread Tejun Heo
Hello, Bartlomiej. This patch should be modified to use flagged taskfile if the task_end_request_fix patch isn't applied. As non-flagged taskfile won't return valid result registers, TASK ioctl users won't get the correct register output. IMHO, this flag-to-get-result-registers thing is way t

ext3 bug

2005-02-26 Thread Jean-Marc Valin
Hi, Looks like I ran into an ext3 bug (or at least the log says so). I got a bunch of messages like: ext3_free_blocks_sb: aborting transaction: Journal has aborted in __ext3_journal_get_undo_access<2>EXT3-fs error (device sda2) in ext3_free_blocks_sb: Journal has aborted EXT3-fs error (device sda2

Re: [PATCH 2.6.11-rc3 10/11] ide: make ide_cmd_ioctl() use TASKFILE

2005-02-26 Thread Tejun Heo
Hello, Bartlomiej. On Thu, Feb 24, 2005 at 04:50:39PM +0100, Bartlomiej Zolnierkiewicz wrote: > > + in_valid->b.status_command = 1; > > + in_valid->b.error_feature = 1; > > + in_valid->b.nsector = 1; > > ide_end_drive_cmd() must be fixed first to respect

Re: [PATCH 2.6.11-rc3 01/11] ide: task_end_request() fix

2005-02-26 Thread Tejun Heo
On Thu, Feb 24, 2005 at 04:58:03PM +0100, Bartlomiej Zolnierkiewicz wrote: > On Thu, 10 Feb 2005 17:38:14 +0900 (KST), Tejun Heo <[EMAIL PROTECTED]> wrote: > > > > 01_ide_task_end_request_fix.patch > > > > task_end_request() modified to always call ide_end_drive_cmd() > > for task

Re: ALPS touchpad not seen by 2.6.11 kernels

2005-02-26 Thread Dmitry Torokhov
On Saturday 26 February 2005 17:55, Frank Victor Fischer wrote: > 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. Thanks for DSDT! Could you please try the follwing patch? And

BUG_* broken since 2.6.11-rc1 ...

2005-02-26 Thread Herbert Poetzl
Hi Folks! couldn't believe it when I discovered that BUG_ON() and friends is broken (at least on x86) ... (while it was definitely working with 2.6.10 ;) the following 'patch': --- ./init/main.c.orig Thu Feb 17 19:25:21 2005 +++ ./init/main.c Sun Feb 27 05:13:45 2005 @@ -684,6 +684,8 @@

SELinux and sysfs

2005-02-26 Thread Shawn Starr
Perhaps in future, maybe SELinux could take advantage of sysfs to modify some policies? Is this doable? Sure, we still need some flat files for static configurations, but what about dynamic ones? Shawn. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a m

Re: [patch ide-dev 4/9] add ide_task_init_flush() helper

2005-02-26 Thread Tejun Heo
Hello, Just one minor thing. Doesn't moving ide_task_s upward belong to patch #7? On Thu, Feb 24, 2005 at 03:41:06PM +0100, Bartlomiej Zolnierkiewicz wrote: > > * add ide_task_init_flush() helper > * use it in do_idedisk_cacheflush() and ide_start_power_step() > * inline do_idedisk_cacheflush

Re: [patch ide-dev 1/9] use struct ata_taskfile in ide_task_t

2005-02-26 Thread Tejun Heo
Hello, Bartlomiej. Neat patch. Codes look much better now. :-) On Thu, Feb 24, 2005 at 03:36:44PM +0100, Bartlomiej Zolnierkiewicz wrote: > > * use struct ata_taskfile instead of .flags, > .tfRegister[] and .hobRegister[] in ide_task_t > * add #ifndef __KERNEL__ around definitions of {task,

Re: [patch ide-dev 7/9] convert disk flush functions to use REQ_DRIVE_TASKFILE

2005-02-26 Thread Tejun Heo
Hello, Bartlomiej, On Thu, Feb 24, 2005 at 03:45:39PM +0100, Bartlomiej Zolnierkiewicz wrote: > > Original patch from Tejun Heo <[EMAIL PROTECTED]>, > ported over recent IDE changes by me. > > * teach ide_tf_get_address() about CHS IMHO, as patch #4 moves LBA/CHS selection into taskfile, I th

[PATCH] possible bug in i2c-algo-bit's inb function

2005-02-26 Thread Andreas Oberritter
Hi, while writing a driver for a cardbus card which is supposed to use the bit-banging algorithm I noticed that communication with the I2C slave (Philips TDA10046) would fail without this patch. It forces SDA to high for every bit in i2c_inb() instead of once per byte. Can this patch go into the m

Re: [PATCH] orinoco rfmon

2005-02-26 Thread David Gibson
On Sat, Feb 26, 2005 at 10:10:15AM -0800, Eric Gaumer wrote: > 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 defic

Re: EBDA Question

2005-02-26 Thread H. Peter Anvin
Bukie Mabayoje wrote: In general, dropping the EBDA below 0x9a000 is probably a bad idea. Recent Linux kernels and boot loaders should handle it, though. Keep in mind that you might find yourself in serious trouble if you then have, for example, a PXE stack layered on top of your SCSI BIOS. There

Re: ALPS touchpad not seen by 2.6.11 kernels

2005-02-26 Thread Dmitry Torokhov
On Saturday 26 February 2005 17:55, Frank Victor Fischer wrote: > I have had the same problem and the solution worked for me as well. > > Where should I put the DSDT? > Just e-mail it to me - I suspect your PS/2 port has a wierd ID assigned to it, one that i8042 driver does not expect. -- Dmit

Re: Invalid module format in Fedora core2

2005-02-26 Thread Payasam Manohar
hai sam, thanks for ur valuable info reg. 2.6 module insertion. Thanks&Regards, P.Manohar, n Fri, 25 Feb 2005, it was written: There are new books that you are supposed to buy which will tell you how to re-write all your modules to interface with the new crap. Whats wrong with the free art

Re: via 6420 pata/sata controller

2005-02-26 Thread [EMAIL PROTECTED]
>>Bartlomiej Zolnierkiewicz wrote: >>> On Tuesday 30 of March 2004 15:24, Zdenek Tlusty wrote: >>> Hello, I have problem with via 6420 controller under linux (I have mandrake 9.1 with kernel 2.4.25 with libata patch version 16). This controller has two sata and one pata channe

Re: userspace app needing signal on parport input change

2005-02-26 Thread Bodo Eggert
Melkor Ainur <[EMAIL PROTECTED]> wrote: > 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? The easiest hack I can think of is: Change the db9-driver to be freely configurable and make

Re: [PATCH] config option for default loglevel

2005-02-26 Thread Matthias Kunze
Am Sat, 26 Feb 2005 18:15:52 -0800 schrieb Andrew Morton <[EMAIL PROTECTED]>: > I don't see a need for the compile-time option now.. > Well i would prefer to also have a compile-time option, but only a boot paramter will also do the job. diff -Naur linux-2.6.10/Documentation/kernel-parameters.

System stops because /var/log not found after moving to new partition

2005-02-26 Thread bj
Hi ! I have a Red Hat 8.0 on a intel 2.4 machine with 512 MB . I have kernel 2.4.20-30.8-legacy & 2.4.20-30.8-legacy bigmem. I used to have all my directories /var , /tmp , /usr , /home under one partition / . Thanks to everybody , now I was able to re-partition my drive into extended drives (d

Re: [PATCH] config option for default loglevel

2005-02-26 Thread Andries Brouwer
On Sun, Feb 27, 2005 at 03:04:31AM +0100, Matthias Kunze wrote: +config DEFAULT_CONSOLE_LOGLEVEL You do not want to add yet another config option. Config options are used to select or deselect major subsystems, or support for specific hardware. Not to tweak variables. Adding more config variable

Re: [PATCH] config option for default loglevel

2005-02-26 Thread Andrew Morton
Matthias Kunze <[EMAIL PROTECTED]> wrote: > > I've added the boot option, it will override the compile-time option. I don't see a need for the compile-time option now.. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majo

Re: [PATCH] config option for default loglevel

2005-02-26 Thread Matthias Kunze
Am Sat, 26 Feb 2005 15:45:05 -0800 schrieb Andrew Morton <[EMAIL PROTECTED]>: > 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

Re: [PATCH] more apic.c

2005-02-26 Thread Randy.Dunlap
Andries Brouwer wrote: 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.

Re: [PATCH] partitions/msdos.c

2005-02-26 Thread Andries Brouwer
On Sun, Feb 27, 2005 at 01:47:43AM +0100, Uwe Bonnes wrote: > on a Suse 9.2 System with Suse Hotplug, the phantom partition was somehow > recognized as Reiserfs, and then the Hotplug mechanism trying to mount the > bogus partition as a Reiser Filesystem ended in an Oops... Always report the oops

Re: [PATCH] partitions/msdos.c

2005-02-26 Thread Linus Torvalds
On Sun, 27 Feb 2005, Uwe Bonnes wrote: > > on a Suse 9.2 System with Suse Hotplug, the phantom partition was somehow > recognized as Reiserfs, and then the Hotplug mechanism trying to mount the > bogus partition as a Reiser Filesystem ended in an Oops... Heh. That oops would be interesting in

[2.6 patch] SCSI NCR_D700.c: make some code static

2005-02-26 Thread Adrian Bunk
This patch makes some needlessly global code static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- linux-2.6.11-rc4-mm1-full/drivers/scsi/NCR_D700.c.old 2005-02-27 01:03:50.0 +0100 +++ linux-2.6.11-rc4-mm1-full/drivers/scsi/NCR_D700.c 2005-02-27 01:04:25.0 +0100 @@

[2.6 patch] drivers/scsi/aacraid/: cleanups

2005-02-26 Thread Adrian Bunk
This patch contains the following cleanups: - make needlessly global functions static - commsup.c: remove the unused global function aac_consumer_avail Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/scsi/aacraid/aachba.c | 10 +- drivers/scsi/aacraid/aacraid.h |2 --

[2.6 patch] drivers/pnp/: possible cleanups

2005-02-26 Thread Adrian Bunk
This patch contains the following possible cleanups: - make needlessly global code static - #if 0 the following unused global function: - core.c: pnp_remove_device - remove the following unneeded EXPORT_SYMBOL's: - card.c: pnp_add_card - card.c: pnp_remove_card - card.c: pnp_add_card_device

Re: [PATCH] partitions/msdos.c

2005-02-26 Thread Uwe Bonnes
> "Linus" == Linus Torvalds <[EMAIL PROTECTED]> writes: Linus> 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. O

[2.6 patch] drivers/pcmcia/: possible cleanups

2005-02-26 Thread Adrian Bunk
This patch contains the following possible cleanups: - make needlessly global code static - remove the following unneeded EXPORT_SYMBOL's: - ds.c: pcmcia_report_error - ds.c: pcmcia_bus_type Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/pcmcia/ds.c | 10 +-

Re: [2.6 patch] deprecate EXPORT_SYMBOL(do_settimeofday)

2005-02-26 Thread Adrian Bunk
On Sat, Feb 26, 2005 at 05:29:22PM +, Russell King wrote: > 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

Re: [2.6 patch] deprecate EXPORT_SYMBOL(do_settimeofday)

2005-02-26 Thread Adrian Bunk
On Sat, Feb 26, 2005 at 05:20:18PM +, Russell King wrote: > 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

2.4.29-lck1

2005-02-26 Thread Eric Hustvedt
Updated the lck patchset. This is the patchset formerly known as the 2.4-ck patchset. http://www.plumlocosoft.com/kernel/ Includes: O(1) scheduler with batch scheduling, interactivity Preemptible kernel Low Latency Read Latency2 Variable Hz 64-bit jiffies Supermount-NG v1.2.11a Bootsplash v3.0.7

[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

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

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.

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

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

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

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

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

[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

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

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

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

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

[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

[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

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

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

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

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

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

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:

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

[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

  1   2   >