Re: [PATCH] relayfs crash

2005-02-06 Thread Tom Zanussi
Kingsley Cheung writes: > > To solve the problem I applied a patch similar to the one you posted > back in July and it fixed the problem. Could we consider putting this > patch into relayfs? Its similar to the one posted in July 2004, except > it also moves clear_readers() before INIT_WORK i

Re: [rfc][patch] ide: fix unneeded LBA48 taskfile registers access

2005-02-06 Thread Tejun Heo
Hello, Bartlomiej. Bartlomiej Zolnierkiewicz wrote: [ against ide-dev-2.6 tree, boot tested on LBA48 drive ] This small patch fixes unneeded writes/reads to LBA48 taskfile registers on LBA48 capable disks for following cases: * Power Management requests (WIN_FLUSH_CACHE[_EXT], WIN_STANDBYNOW1, WI

Re: [PATCH] relayfs crash

2005-02-06 Thread Kingsley Cheung
On Sun, Feb 06, 2005 at 10:42:27PM -0600, Tom Zanussi wrote: > Kingsley Cheung writes: > > > > To solve the problem I applied a patch similar to the one you posted > > back in July and it fixed the problem. Could we consider putting this > > patch into relayfs? Its similar to the one posted i

Re: [PATCH] module-init-tools: generate modules.seriomap

2005-02-06 Thread Dmitry Torokhov
On Sunday 06 February 2005 22:41, Rusty Russell wrote: > On Sun, 2005-02-06 at 02:55 -0500, Dmitry Torokhov wrote: > > Hi Rusty, > > > > I have converted serio bus to use ID matching and changed serio drivers > > to use MODULE_DEVICE_TABLE. Now that Vojtech pulled the changes into his > > tree it

Re: [RFC/RFT] Better handling of bad xfers/interrupt delays in psmouse

2005-02-06 Thread Ryan Anderson
On Sun, Feb 06, 2005 at 12:55:00PM -0500, Dmitry Torokhov wrote: > > Hmm, wouldn't it be nice if they put spell checker in GCC? ;) Isn't the resulting beast called "emacs"? -- Ryan Anderson sometimes Pug Majere - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

How to read file in kernel module?

2005-02-06 Thread linux lover
Hello, I have written one /proc file creation kernel module. This module creates /proc/file and defied operations on it. Also i have written user program that will read & write to /proc files from user space. Now what i want is to use same bufproc_read & bufproc_write functions defined in

out-of-line x86 "put_user()" implementation

2005-02-06 Thread Linus Torvalds
I was looking at some of the code we generate, and happened to notice that we have this strange situation where the x86 "get_user()" macros generate out-of-line code to do all the address verification etc, but the "put_user()" ones do not, and do everything inline. I also noticed that (probabl

Re: How to read file in kernel module?

2005-02-06 Thread Arjan van de Ven
On Sun, 2005-02-06 at 22:17 -0800, linux lover wrote: > Hello, > I have written one /proc file creation kernel > module. This module creates /proc/file and defied > operations on it. Also i have written user program > that will read & write to /proc files from user space. > Now what i want

Re: [PATCH] Re: msdos/vfat defaults are annoying

2005-02-06 Thread Clemens Schwaighofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/07/2005 09:36 AM, Al Viro wrote: > On Mon, Feb 07, 2005 at 12:21:08AM +0100, Pozsar Balazs wrote: > >>On Sun, Feb 06, 2005 at 07:06:59AM +, Christoph Hellwig wrote: >> >>>On Sun, Feb 06, 2005 at 12:33:43AM -0500, John Richard Moser wrote: >>

Re: [PATCH] Linux joydev joystick disconnect patch 2.6.11-rc2

2005-02-06 Thread Vojtech Pavlik
On Sun, Feb 06, 2005 at 08:21:13PM -0500, Dmitry Torokhov wrote: > On Sunday 06 February 2005 08:12, Vojtech Pavlik wrote: > > On Tue, Feb 01, 2005 at 10:24:39AM -0500, Dmitry Torokhov wrote: > > > On Tue, 1 Feb 2005 08:52:15 -0600, David Fries <[EMAIL PROTECTED]> wrote: > > > > Currently a blockin

Re: COMMAND_LINE_SIZE increasing in 2.6.11-rc1-bk6

2005-02-06 Thread Werner Almesberger
Andi Kleen wrote: > It's dependent on the architecture already. I would like to enable > it on i386/x86-64 because the kernel command line is often used > to pass parameters to installers, and having a small limit there > can be awkward. Something to keep in mind when extending the command line is

2.6.11-rc3-mm1 bad scheduling while atomic + lockup

2005-02-06 Thread Maciej Soltysiak
Hello, I just want to report a lockup on my 2.6.11-rc3-mm1 machine. I was working on it via ssh and suddenly the machine stopped responding. When, the next day I came up to the console it was printing over and over this oops. In the logs I could find the oops. I am posting it inline here along w

Re: [Fastboot] Re: kdump on non-boot cpu

2005-02-06 Thread Eric W. Biederman
Itsuro Oda <[EMAIL PROTECTED]> writes: > > So I believe the fix needs to be to enable apics before we calibrate > > the delay timer. I'm not certain off the top of my head what that > > patch will look like but it should not be fundamentally hard. > > With that code in place we also don't need

[rfc][patch] ide: fix unneeded LBA48 taskfile registers access

2005-02-06 Thread Bartlomiej Zolnierkiewicz
[ against ide-dev-2.6 tree, boot tested on LBA48 drive ] This small patch fixes unneeded writes/reads to LBA48 taskfile registers on LBA48 capable disks for following cases: * Power Management requests (WIN_FLUSH_CACHE[_EXT], WIN_STANDBYNOW1, WIN_IDLEIMMEDIATE commands) * special commands (WIN

Re: [PATCH 2.6.11-rc2 08/09] ide: map ide_cmd_ioctl() to ide_taskfile_ioctl()

2005-02-06 Thread Tejun Heo
Bartlomiej Zolnierkiewicz wrote: I have not fully reviewed it yet but I've noticed two things... @@ -648,11 +648,11 @@ u8 eighty_ninty_three (ide_drive_t *driv EXPORT_SYMBOL(eighty_ninty_three); -int ide_ata66_check (ide_drive_t *drive, ide_task_t *args) +int ide_ata66_check(ide_drive_t *drive, ta

Re: [PATCH 2.6.11-rc2 05/09] ide: map ide_task_ioctl() to ide_taskfile_ioctl()

2005-02-06 Thread Tejun Heo
Bartlomiej Zolnierkiewicz wrote: On Sat, 5 Feb 2005 11:15:56 +0900 (KST), Tejun Heo <[EMAIL PROTECTED]> wrote: - int err = 0; - u8 args[7], *argbuf = args; - int argsize = 7; + u8 args[7]; + ide_task_t task; + task_ioreg_t *regs = task.tfRegister; u8 *regs ple

Re: [PATCH 2.6.11-rc2 04/09] ide: convert REQ_DRIVE_TASK to REQ_DRIVE_TASKFILE

2005-02-06 Thread Tejun Heo
Bartlomiej Zolnierkiewicz wrote: I put some more thought into this change... details below... On Sat, 5 Feb 2005 11:15:56 +0900 (KST), Tejun Heo <[EMAIL PROTECTED]> wrote: @@ -705,24 +705,17 @@ static int idedisk_issue_flush(request_q { ide_drive_t *drive = q->queuedata; struct requ

[2.6 patch] SCSI sym53c416.c: make a function static

2005-02-06 Thread Adrian Bunk
This patch makes a needlessly global function static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch was already sent on: - 15 Nov 2004 --- linux-2.6.10-rc1-mm5-full/drivers/scsi/sym53c416.c.old 2004-11-14 01:30:23.0 +0100 +++ linux-2.6.10-rc1-mm5-full/drivers/scsi/

[2.6 patch] SCSI ultrastor.c: make a variable static

2005-02-06 Thread Adrian Bunk
This patch makes a needlessly global variable static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch was already sent on: - 15 Nov 2004 --- linux-2.6.10-rc1-mm5-full/drivers/scsi/ultrastor.c.old 2004-11-14 01:31:07.0 +0100 +++ linux-2.6.10-rc1-mm5-full/drivers/scsi/

<    1   2   3