[SATA] libata-dev queue updated

2005-03-08 Thread Jeff Garzik
Rediffing against latest kernel. See attached. BK users: bk pull bk://gkernel.bkbits.net/libata-dev-2.6 Patch: http://www.kernel.org/pub/linux/kernel/people/jgarzik/libata/2.6.11-bk4-libata-dev1.patch.bz2 This will update the following files: drivers/scsi/Kconfig | 18

[patch] dvb: add or51132 driver (atsc demodulator)

2005-03-08 Thread Gerd Knorr
Hi, This patch adds a new ATSC frontend driver, needed by the cx88-based pcHDTV 3000 card. Also includes a tiny chunk to activate the or51132 support in the cx88-dvb driver. This patch depends on the cx88 dvb driver update. Gerd Signed-off-by: Gerd Knorr [EMAIL PROTECTED] ---

Kbuild files and backwards compatibility.

2005-03-08 Thread Ian Campbell
Hi, Documentation/kbuild/modules.txt suggests using include Kbuild in external modules Makefile to retain backward compatibility with older (pre separate Kbuild) kernels. This doesn't appear to be quite correct: http://www.gossamer-threads.com/lists/ivtv/devel/18285 Using $(src)/Kbuild seems to

Re: Atheros wi-fi card drivers (?)

2005-03-08 Thread Rene Rebe
Hi, Raphael Jacquot wrote: as your name appears european, there are no software patents (yet ?) so you should be able to release that code as required for interoperability The release of that source does not depend on software patents (which seem to be acked yesterday for europe ... ;-()

Re: [PATCH] 2/2 Prezeroing large blocks of pages during allocation Version 4

2005-03-08 Thread KAMEZAWA Hiroyuki
Mel Gorman wrote: Now, 5bits per MAX_ORDER pages. I think it is simpler to use char[] for representing type of memory alloc type than bitmap. Possibly, but it would also use up that bit more space. That map could be condensed to 3 bits but would make it that bit (no pun) more complex

Re: [PATCH] resync ATI PCI idents into base kernel

2005-03-08 Thread Alan Cox
On Maw, 2005-03-08 at 10:42, Bartlomiej Zolnierkiewicz wrote: Really - so does it go to the PCI maintainer, the IDE maintainer or the DRI maintainer or someone else, or all of them, or in bits to different ones remembering there are dependancies and I don't use bitcreeper ? it should go

2.6.11-mm2

2005-03-08 Thread Andrew Morton
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.11/2.6.11-mm2/ - UML updates - fbdev updates - nfs4 server updates - new megaraid driver, new iscsi driver, fatfs update, fbdev updates, kitchen sink. - The below description of what has been added and what has been merged

[patch] v4l: MAINTAINERS file update.

2005-03-08 Thread Gerd Knorr
Hi folks, Goodbye, and that thanks for all the fish ;) After several years of v4l maintainance I'm going to switch to a new work field and will not be able to spend much time on maintaining video4linux and the drivers, so someone else will have to step in. I will not suddenly disappear from

PATCH: Allow ATI SATA to use siimage if serial ATA layer is not in use

2005-03-08 Thread Alan Cox
The ATI chipset serial ATA is an SI3112 cell. While this is supported by the sata layer (you'll need to grep by id because naughty Mr Garzik doesn't use the PCI ID defines) the sata layer driver still gives some users real problems. Alan diff -u --new-file --recursive --exclude-from

Re: [2.6 patch] mm/swap_state.c: unexport swapper_space

2005-03-08 Thread Hugh Dickins
On Tue, 8 Mar 2005, Russell King wrote: On Sun, Mar 06, 2005 at 10:49:12PM +, Christoph Hellwig wrote: I disagree. swapper_state is far too much of an internal detail to be exported. I argued that way when page_mapping was changed to use it and that's why the architectures moved their

Re: [PATCH][3/3] swsusp: use non-contiguous memory

2005-03-08 Thread Rafael J. Wysocki
Hi, On Tuesday, 8 of March 2005 11:38, Pavel Machek wrote: On Po 07-03-05 13:13:07, Rafael J. Wysocki wrote: On Monday, 7 of March 2005 12:39, Andrew Morton wrote: Rafael J. Wysocki [EMAIL PROTECTED] wrote: Yes, the Signed-off-by line was missing from the original patch.

Re: [Alsa-devel] Re: intel 8x0 went silent in 2.6.11

2005-03-08 Thread Takashi Iwai
At Tue, 08 Mar 2005 02:10:06 +0100, Pierre Ossman wrote: Takashi Iwai wrote: Look at /etc/asound.state whether it contains the value of Headphone Jack Sense control true or false. It saves the setting once I've been in 2.6.11. From an earlier kernel there is no such entry.

Re: [patch] v4l: MAINTAINERS file update.

2005-03-08 Thread Alan Cox
On Tue, Mar 08, 2005 at 12:25:25PM +0100, Gerd Knorr wrote: Goodbye, and that thanks for all the fish ;) After several years of v4l maintainance I'm going to switch to a new work field and will not be able to spend much time on maintaining video4linux and the drivers, so someone else will

Re: [PATCH][3/3] swsusp: use non-contiguous memory

2005-03-08 Thread Rafael J. Wysocki
Hi, On Tuesday, 8 of March 2005 12:47, Rafael J. Wysocki wrote: Hi, [-- snip --] Just bad timing, I guess. I sent wrong patches, and andrew reacted by simply waiting for me to catch up with right tree (which is okay, it was big and not critical). Now, akpm sent all (?) swsusp

Re: PROBLEM: Radeon card displays incorrectly under the 2.6.11 version unless compiled with SMP support

2005-03-08 Thread Lobiuc Andrei
--- Dave Airlie [EMAIL PROTECTED] wrote: On Sun, 6 Mar 2005 09:49:32 -0800 (PST), Lobiuc Andrei [EMAIL PROTECTED] wrote: 1.Radeon card displays incorrectly under the 2.6.11 version unless compiled with SMP support. 2.After compiling and installing the 2.6.11 kernel version, my ASUS

Re: Linux 2.6.11-ac1

2005-03-08 Thread Andre Tomt
Alan Cox wrote: snip Functionality o PWC USB camera driver o Working ULI526X support (added to base in .11 but broken) o ATP88x support o Intelligent misrouted IRQ handlers o Fix PCI boxes that take minutes IDE probing o Remove bogus confusing XFree86 keyboard

Re: [0/many] Acrypto - asynchronous crypto layer for linux kernel 2.6

2005-03-08 Thread Kyle Moffett
On Mar 08, 2005, at 04:37, Evgeniy Polyakov wrote: Did you include support for the new key/keyring infrastructure introduced a couple versions ago by David Howells? It allows user-space to create and manage various sorts of keys in kernel-space. If you create and register a few keytypes for

Re: [CHECKER] crash after fsync causing serious FS corruptions (ext2, 2.6.11)

2005-03-08 Thread Theodore Ts'o
On Mon, Mar 07, 2005 at 01:57:10AM -0800, Junfeng Yang wrote: FiSC (our FS checker) issues a warning on ext2, complaining that crash after fsync causes file system to corrupt. FS corrupts in two different ways: 1. file contains illegal blocks (such as block # -2) 2. one block owned by two

Re: [patch] v4l: MAINTAINERS file update.

2005-03-08 Thread Catalin(ux aka Dino) BOIE
On Tue, 8 Mar 2005, Gerd Knorr wrote: Hi folks, Goodbye, and that thanks for all the fish ;) After several years of v4l maintainance I'm going to switch to a new work field and will not be able to spend much time on maintaining video4linux and the drivers, so someone else will have to step in. I

Strange memory leak in 2.6.x

2005-03-08 Thread Tobias Hennerich
Hi, we kindly ask for some suggestions about how to trace a memory leak which we suspect in the linux kernel version 2.6: The machine in question is a Dell PowerEdge 2500 (4GB RAM, Dual-PIII, AAC-raid and several e1000) running SUSE Pro 9.2 with different kernels (2.6.8-24.11-SMP from SUSE and

[PATCH] invalidate/o_direct livelock {was Re: [RFC] ext3/jbd race: releasing in-use journal_heads}

2005-03-08 Thread Stephen C. Tweedie
Hi, On Tue, 2005-03-08 at 09:28, Stephen C. Tweedie wrote: I think it should be OK just to move the page-mapping != mapping test above the pageindex end test. Sure, if all the pages have been stolen by the time we see them, then we'll repeat without advancing next; but we're still making

Re: [0/many] Acrypto - asynchronous crypto layer for linux kernel 2.6

2005-03-08 Thread Evgeniy Polyakov
On Tue, 8 Mar 2005 07:22:01 -0500 Kyle Moffett [EMAIL PROTECTED] wrote: On Mar 08, 2005, at 04:37, Evgeniy Polyakov wrote: Did you include support for the new key/keyring infrastructure introduced a couple versions ago by David Howells? It allows user-space to create and manage various

Re: [Alsa-devel] Re: intel 8x0 went silent in 2.6.11

2005-03-08 Thread Pierre Ossman
Takashi Iwai wrote: At Tue, 08 Mar 2005 02:10:06 +0100, Pierre Ossman wrote: Takashi Iwai wrote: Look at /etc/asound.state whether it contains the value of Headphone Jack Sense control true or false. It saves the setting once I've been in 2.6.11. From an earlier kernel

Query: Kdump: Core Image ELF Format

2005-03-08 Thread vivek goyal
Hi, Kdump (A kexec based crash dumping mechanism) is going to export the kernel core image in ELF format. ELF was chosen as a format, keeping in mind that gdb can be used for limited debugging and Crash can be used for advanced debugging. Core image ELF headers are prepared before crash and

Re: Linux 2.6.11-ac1

2005-03-08 Thread Stephen C. Tweedie
Hi, On Tue, 2005-03-08 at 06:49, Chris Wright wrote: Yes, we are intending to pick up bits from -ac (you might have missed that in another thread). There's actually a successor patch to that which I'm just about to get feedback on here and on ext2-devel. It's higher-risk than the one Alan

Re: RFD: Kernel release numbering

2005-03-08 Thread szonyi calin
--- Randy.Dunlap [EMAIL PROTECTED] a écrit : Maybe I don't understand? Is someone expecting distro quality/stability from kernel.org kernels? I don't, but maybe I'm one of those minorities. yes. Some people (like me) would like to use from time to time some _new_ stable kernel. It's

Re: [RFC] ext3/jbd race: releasing in-use journal_heads

2005-03-08 Thread Stephen C. Tweedie
Hi, On Mon, 2005-03-07 at 21:08, Stephen C. Tweedie wrote: Right, that was what I was thinking might be possible. But for now I've just done the simple patch --- make sure we don't clear jh-b_transaction when we're just refiling buffers from one list to another. That should have the

Re: Random number generator in Linux kernel

2005-03-08 Thread Darío Mariani
As far as I understand the kernel generates random numbers gathering data from several entropy sources, you will never get repetability from there. Two options I know of: 1) The standard C library has the functions rand and random, wich seems to have a decent distribution of the random numbers.

PATCH: Ressurrect the esp serial driver

2005-03-08 Thread Alan Cox
Another first pass rescue run. Fix up for modern locking, make it build and check over. It could still do with other fixes (sleep_on etc) but it's a start Alan Signed-off-by: Alan Cox [EMAIL PROTECTED] --- linux.vanilla-2.6.11/drivers/char/esp.c 2005-03-05 15:17:01.0 + +++

Re: sizeof(ptr) or sizeof(*ptr)?

2005-03-08 Thread Paulo Marques
Andrew Morton wrote: [EMAIL PROTECTED] wrote: Anyway, after improving the tool and checking for false positives, there is only one more suspicious piece of code in drivers/acpi/video.c:561 status = acpi_video_device_lcd_query_levels(device, obj); if (obj obj-type ==

Re: [0/many] Acrypto - asynchronous crypto layer for linux kernel 2.6

2005-03-08 Thread Joshua Jackson
On Monday 07 March 2005 4:49 pm, Evgeniy Polyakov wrote: Unfortunately acrypto patch is more than 200kb, so neither mail list will accept it, so I've sent it in such form :) As per the FAQ, very large patches are often best submitted as a URL. In case you don't have a place to host it, you

Re: Random number generator in Linux kernel

2005-03-08 Thread Erik Mouw
On Mon, Mar 07, 2005 at 06:18:53PM -0500, Vineet Joglekar wrote: I want a function where I will be supplying a seed to that function as an input, and will get a random number back. If same seed is used, same number should be generated again. Google for Numerical recipes in C, it has a complete

Fusion-MPT much faster as module

2005-03-08 Thread Holger Kiehl
Hello On a four CPU Opteron compiling the Fusion-MPT as module gives much better performance when compiling it in, here some bonnie++ results: Version 1.03 --Sequential Output-- --Sequential Input- --Random- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block--

Re: [PATCH][LSM/SELINUX] Pass requested protection to security_file_mmap/mprotect hooks

2005-03-08 Thread Stephen Smalley
On Mon, 2005-03-07 at 16:14 -0800, Andrew Morton wrote: Stephen Smalley [EMAIL PROTECTED] wrote: +__setup(checkreqprot=, checkreqprot_setup); Can we have an update to Documentation/kernel-parameters.txt, please? Ok, how does the patch below look? Includes descriptions of the other two

2.6.11 bug: unbacked private shared memory segments missing in core dump

2005-03-08 Thread Jochen Suckfuell
Hello! Since 2.6.10, unbacked private shared memory allocated via shmget is not included in core dumps. This is a simple example code demonstrating the bug: #include sys/shm.h int main(int argc, char ** argv) { int size = 1000; int id = shmget(IPC_PRIVATE, size, (IPC_CREAT |

Reading large /proc entry from kernel module

2005-03-08 Thread Kristian Sørensen
Hi all! I have some trouble reading a 2346 byte /proc entry from our Umbrella kernel module. Proc file is created write-only and I am able to write text to the file, and read it from kernel space. The function reading the entry is in short this: static int umb_proc_write(struct file *file,

Re: [PATCH 23/29] FAT: Remove the multiple MSDOS_SB() call

2005-03-08 Thread OGAWA Hirofumi
Adrian Bunk [EMAIL PROTECTED] writes: On Sun, Mar 06, 2005 at 03:56:51AM +0900, OGAWA Hirofumi wrote: Since MSDOS_SB() is inline function, it increases text size at each calls. I don't know whether there is __attribute__ for avoiding this. This removes the multiple call. ... [...]

Adaptec 29160 + Promise Ultratrak100 TX8 problems

2005-03-08 Thread Maarten de Boer
Hello, I am having nasty problems with an Adaptec 29160 and Promise Ultratrak100 TX8 external RAID. (kernel 2.6.11) Initially, I can access the RAID normally. I create a (small, for testing) partition on it, and an ext3 filesystem. But when I start writing, in no-time the RAID and the SCSI

Re: 2.6.11-mm2

2005-03-08 Thread Paul Mundt
With the BUG_ON() use in linux/list.h I get this: CC init/initramfs.o In file included from include/linux/wait.h:23, from include/linux/fs.h:205, from init/initramfs.c:2: include/linux/list.h: In function `list_del': include/linux/list.h:164: warning:

[BK PATCHES] ide-dev-2.6 update

2005-03-08 Thread Bartlomiej Zolnierkiewicz
Hi, ChangeLog: * sync with linux-2.6 tree * ide_init_disk() fix (Andrew Morton) * ide_dma_intr() OOPS fix (Tejun Heo) * sanitize usage of LBA bit in Device register * remove REQ_DRIVE_TASK (Tejun Heo) * some cleanups (Tejun Heo and me) * convert device drivers to driver model Bartlomiej BK

[PATCH 1/2] BDI: Provide backing device capability information [try #3]

2005-03-08 Thread David Howells
The attached patch replaces backing_dev_info::memory_backed with capabilitied bitmap. The capabilities available include: (*) BDI_CAP_NO_ACCT_DIRTY Set if the pages associated with this backing device should not be tracked by the dirty page accounting. (*) BDI_CAP_NO_WRITEBACK

Re: [PATCH] Restore PWC driver

2005-03-08 Thread Martin Hicks
On Tue, Mar 08, 2005 at 04:59:38AM -0500, Alan Cox wrote: On Mon, Mar 07, 2005 at 09:26:43PM -0800, Greg KH wrote: So, who's going to fix up: - the MAINTAINERS entry - the coding style - drop that unneeded changelog file - fix the module help text to point to the

[PATCH][SELINUX] Fix selinux_setprocattr

2005-03-08 Thread Stephen Smalley
This patch against 2.6.11-mm2 changes the selinux_setprocattr hook function (which handles writes to nodes in the /proc/pid/attr directory) to ignore an optional terminating newline at the end of the value, and to handle a value beginning with a newline or a null in the same manner as a zero

Re: [1/5] bd: Asynchronous block device

2005-03-08 Thread Evgeniy Polyakov
Small morning patch for bd_fd filter which closes major security vulnerability described at http://off.net/~jme/loopdev_vul.html Author's quite: about 3 years ago i published a paper describing how an attacker would be able to modify the content of the encrypted device without being detected.

Re: [0/many] Acrypto - asynchronous crypto layer for linux kernel 2.6

2005-03-08 Thread Evgeniy Polyakov
On Tue, 8 Mar 2005 09:46:30 -0500 Kyle Moffett [EMAIL PROTECTED] wrote: On Mar 08, 2005, at 08:07, Evgeniy Polyakov wrote: On Tue, 8 Mar 2005 07:22:01 -0500 Kyle Moffett [EMAIL PROTECTED] wrote: I'm not exactly familiar with asynchronous block device, but I'm guessing that it would need

RFC: Harmonised parameter passing

2005-03-08 Thread Henk Vergonet
Hi, The current method of parameter passing to drivers build as a module is extremely usefull. Modules don't have to write there own parsing code, there's a nice macro that can be used to document specifics of the parameter and so on. Could we extend this method where we use the same

Re: [PATCH] 2/2 Prezeroing large blocks of pages during allocation Version 4

2005-03-08 Thread Mel Gorman
On Tue, 8 Mar 2005, KAMEZAWA Hiroyuki wrote: Mel Gorman wrote: Now, 5bits per MAX_ORDER pages. I think it is simpler to use char[] for representing type of memory alloc type than bitmap. Possibly, but it would also use up that bit more space. That map could be

Re: RFD: Kernel release numbering

2005-03-08 Thread Ralf Baechle
On Fri, Mar 04, 2005 at 03:26:32AM -0800, Andrew Morton wrote: Looking at the http://l4x.org/k/ site, it appears that all -mm versions have broken ARM support with the defconfig, while Linus kernels at least build fine. It's very much in an arch maintainer's interest to make sure that

Re: [RFC] ext3/jbd race: releasing in-use journal_heads

2005-03-08 Thread Jan Kara
Hello, On Mon, 2005-03-07 at 21:08, Stephen C. Tweedie wrote: Right, that was what I was thinking might be possible. But for now I've just done the simple patch --- make sure we don't clear jh-b_transaction when we're just refiling buffers from one list to another. That should have

Re: RFC: Harmonised parameter passing

2005-03-08 Thread Dmitry Torokhov
On Tue, 8 Mar 2005 15:59:23 +0100, Henk Vergonet [EMAIL PROTECTED] wrote: Hi, The current method of parameter passing to drivers build as a module is extremely usefull. Modules don't have to write there own parsing code, there's a nice macro that can be used to document specifics of the

Re: Query: Kdump: Core Image ELF Format

2005-03-08 Thread Dave Anderson
vivek goyal wrote: Hi, Kdump (A kexec based crash dumping mechanism) is going to export the kernel core image in ELF format. ELF was chosen as a format, keeping in mind that gdb can be used for limited debugging and Crash can be used for advanced debugging. Core image ELF headers are

oom with 2.6.11

2005-03-08 Thread Christian Kujau
hallo list, today my machine went out out memory and noticing it several hours after the first OOM message in the log, i wonder 1) why this happened at all and 2) why almost every service was killed despite the clever algorithms documented in mm/oom_kill.c. the first oom message went

Re: RFC: Harmonised parameter passing

2005-03-08 Thread Henk Vergonet
On Tue, Mar 08, 2005 at 10:14:32AM -0500, Dmitry Torokhov wrote: On Tue, 8 Mar 2005 15:59:23 +0100, Henk Vergonet Could we extend this method where we use the same methodology for inbound drivers? (Currently a lot of drivers use their own parameter parsing code when it comes to passing

Re: 2.6.11-mm2 (compile stats)

2005-03-08 Thread John Cherry
Compile Statistics -- Build Tree: mm Compiler: gcc 3.4.1 Detailed results: http://developer.osdl.org/cherry/compile/ Summary of changes from 2.6.11-mm1 -- Defconfig (bzImage): no change Allnoconfig (bzImage): no change Allyesconfig (bzImage): +1

Re: RFC: Harmonised parameter passing

2005-03-08 Thread Dmitry Torokhov
On Tue, 8 Mar 2005 16:47:47 +0100, Henk Vergonet [EMAIL PROTECTED] wrote: One question remains though, how do you handle the initialization of multiple instances of an inbound driver? mcd0.io=0x340 mcd1.io=0x350 I think the most common practice is to specify a list of addresses:

Re: [PATCH] new driver for ITM Touch touchscreen

2005-03-08 Thread Hans-Christian Egtvedt
On Fri, 2005-03-04 at 11:54 -0500, Dmitry Torokhov wrote: On Fri, 04 Mar 2005 17:20:24 +0100, Hans-Christian Egtvedt [EMAIL PROTECTED] wrote: On Fri, 2005-03-04 at 09:52 -0500, Dmitry Torokhov wrote: On Fri, 4 Mar 2005 14:03:37 +0200, Alexey Dobriyan [EMAIL PROTECTED] wrote: On

Re: Strange memory leak in 2.6.x

2005-03-08 Thread Alexander Nyberg
[Sorry, I somehow didn't do reply-to-all in the first mail, lkml back] Out of Memory: Killed process 29603 (cleanup). This looks to me like someone is leaking pages. Could you please try 2.6.11 and the patch I'm putting at the bottom of this mail, there'll be a CONFIG_PAGE_OWNER

select(2), usbserial, tty's and disconnect

2005-03-08 Thread Joerg Pommnitz
Hello all, currently it seems that select keeps blocking when the USB device behind ttyUSBx gets unplugged. My understanding is, that select should return when the next call to one of the operations (read/write) will not block. This is certainly true for failing with ENODEV. So, is this an issue

Re: select(2), usbserial, tty's and disconnect

2005-03-08 Thread linux-os
On Tue, 8 Mar 2005, Joerg Pommnitz wrote: Hello all, currently it seems that select keeps blocking when the USB device behind ttyUSBx gets unplugged. My understanding is, that select should return when the next call to one of the operations (read/write) will not block. This is certainly true for

[no subject]

2005-03-08 Thread Peter W. Morreale
In a driver I am reviewing I found the following locking constructs. Notice how 'foo is being called while we have suspended interrupts. This seems wrong since we've mixed locking primitives. Is it? Thanks in advance. -PWM -snip--

STACK TCP/IP and ethernet headers.....?

2005-03-08 Thread BZ Benny
Hi all, is there some fonctions for displaying ethernet headers, the protocol used... and the payload. I'm using an ethertap device. And I want to see what data I'm receiving from my TAP device. regards benny Découvrez le nouveau Yahoo! Mail : 250 Mo

Re: BUG: Slowdown on 3000 socket-machines tracked down

2005-03-08 Thread Christian Schmid
Initial test setup: two machines, running connections between them. Mostly asymetric (about 50Mbps in one direction, GigE in the other). Each connection is trying some random rate between 128kbps and 3Mbps in one direction, and 1kbps in the other direction. Sending machine is dual 3.0Ghz

[patch] mnt_init() cleanup

2005-03-08 Thread Coywolf Qi Hunt
Hello akpm, At the very beginning in 2.4 days, in mnt_init(), mount_hashtable allocation page order was determined at runtime. Later the page order got fixed to 0. This patch cleanups it. Signed-off-by: Coywolf Qi Hunt [EMAIL PROTECTED] diff -Nrup 2.6.11/fs/namespace.c 2.6.11-cy/fs/namespace.c

Re: a problem with linux 2.6.11 and sa

2005-03-08 Thread George Georgalis
On Tue, Mar 08, 2005 at 01:37:03PM +, Nix wrote: On Thu, 3 Mar 2005, George Georgalis uttered the following: I recall a problem a while back with a pipe from /proc/kmsg that was sent by root to a program with a user uid. The fix was to run the logging program as root. Has that protected

Question regarding thread_struct

2005-03-08 Thread Imanpreet Arora
Hello I am wondering if someone could provide information as to how thread_struct is kept in memory. Robert Love mentions that it is kept at the lowest kernel address in case of x86 based platform. Could anyone answer these questions. a) When a stack is resized, is the thread_struct

Re: [patch] inotify for 2.6.11-mm1, updated

2005-03-08 Thread Robert Love
On Mon, 2005-03-07 at 23:50 -0500, Robert Love wrote: Yah, I just missed it. It is fixed in my tree. Following patch, against 2.6.11-mm1, fixes the hooks in fs/compat.c. Otherwise unchanged from the previous patch. Robert Love inotify! inotify is intended to correct the

Re: Question regarding thread_struct

2005-03-08 Thread Robert Love
On Tue, 2005-03-08 at 22:34 +0530, Imanpreet Arora wrote: I am wondering if someone could provide information as to how thread_struct is kept in memory. Robert Love mentions that it is kept at the lowest kernel address in case of x86 based platform. Could anyone answer these questions.

Re: a problem with linux 2.6.11 and sa

2005-03-08 Thread George Georgalis
On Tue, Mar 08, 2005 at 11:58:14AM -0500, George Georgalis wrote: On Tue, Mar 08, 2005 at 01:37:03PM +, Nix wrote: On Thu, 3 Mar 2005, George Georgalis uttered the following: I recall a problem a while back with a pipe from /proc/kmsg that was sent by root to a program with a user uid. The

Re: [PATCH] new driver for ITM Touch touchscreen

2005-03-08 Thread Dmitry Torokhov
On Tue, 08 Mar 2005 17:01:00 +0100, Hans-Christian Egtvedt [EMAIL PROTECTED] wrote: On Fri, 2005-03-04 at 11:54 -0500, Dmitry Torokhov wrote: On Fri, 04 Mar 2005 17:20:24 +0100, Hans-Christian Egtvedt [EMAIL PROTECTED] wrote: On Fri, 2005-03-04 at 09:52 -0500, Dmitry Torokhov wrote:

Re: [PATCH] 2.6.10 - direct-io async short read bug

2005-03-08 Thread Badari Pulavarty
On Tue, 2005-03-08 at 01:09, Suparna Bhattacharya wrote: Hmm, shouldn't dio-result ideally have been adjusted to be within i_size at the time of io submission, so we don't have to deal with this during completion ? We are creating bios with the right size after all. We have this:

Re: Question regarding thread_struct

2005-03-08 Thread Imanpreet Arora
On Tue, 08 Mar 2005 12:13:20 -0500, Robert Love [EMAIL PROTECTED] wrote: On Tue, 2005-03-08 at 22:34 +0530, Imanpreet Arora wrote: I am wondering if someone could provide information as to how thread_struct is kept in memory. Robert Love mentions that it is kept at the lowest

Re: Question regarding thread_struct

2005-03-08 Thread Robert Love
On Tue, 2005-03-08 at 22:57 +0530, Imanpreet Arora wrote: This has been a doubt for a couple of days, and I am wondering if this one could also be cleared. When you say kernel stack, can't be resized a) Does it mean that the _whole_ of the kernel is restricted to that 8K or 16K of

Re: [announce 7/7] fbsplash - documentation

2005-03-08 Thread Jesse Barnes
On Monday, March 7, 2005 9:00 pm, Matan Peled wrote: Arnd Bergmann wrote: Nothing about the init command seems really necessary. Why not just do that stuff from an /sbin/init script? I'm not a kernel hacker by any definition, but I'm pretty sure its neccasery because we want it to be done

Re: [PATCH] new driver for ITM Touch touchscreen

2005-03-08 Thread Vojtech Pavlik
On Tue, Mar 08, 2005 at 12:25:09PM -0500, Dmitry Torokhov wrote: I am not sure... that BTN_TOUCH - look slike it works off a single flag reported by hardware. You porobably do not need to change it. Indeed, if the hardware reports a touch flag it's best to use that. Try loading mousedev

Re: Question regarding thread_struct

2005-03-08 Thread Imanpreet Arora
On Tue, 08 Mar 2005 12:28:42 -0500, Robert Love [EMAIL PROTECTED] wrote: On Tue, 2005-03-08 at 22:57 +0530, Imanpreet Arora wrote: This has been a doubt for a couple of days, and I am wondering if this one could also be cleared. When you say kernel stack, can't be resized a)

[patch] remove barrier() in software_resume()

2005-03-08 Thread Coywolf Qi Hunt
Hello, This patch removes the redundant compiler barrier. As Linus ever said The mb() should make sure that gcc cannot move things around --coywolf Signed-off-by: Coywolf Qi Hunt [EMAIL PROTECTED] diff -Nrup 2.6.11/kernel/power/disk.c 2.6.11-cy/kernel/power/disk.c ---

Re: kexec and IRQ sharing

2005-03-08 Thread Eric W. Biederman
Alan Stern [EMAIL PROTECTED] writes: I can implement either a shutdown method or a reboot notifier for uhci-hcd. Note however that the upcoming changes to the PM core include a suspend call (PMSG_FREEZE) that does exactly what you want: quiesce the device, disable IRQ and DMA, but don't

2.6.11 on AMD64 traps

2005-03-08 Thread Michal Vanco
Hello, I see this problem running 2.6.11 on dual AMD64: Running quagga routing daemon (ospf+bgp) and issuing netstat -rn |wc -l command while quagga tries to load more than 154000 routes from its bgp neighbours causes this trap: Unable to handle kernel paging request at 007f5c60 RIP:

Re: Question regarding thread_struct

2005-03-08 Thread linux-os
On Tue, 8 Mar 2005, Imanpreet Arora wrote: On Tue, 08 Mar 2005 12:13:20 -0500, Robert Love [EMAIL PROTECTED] wrote: On Tue, 2005-03-08 at 22:34 +0530, Imanpreet Arora wrote: I am wondering if someone could provide information as to how thread_struct is kept in memory. Robert Love mentions

[UPDATE PATCH 9/many] acrypto: crypto_lb.c

2005-03-08 Thread Nishanth Aravamudan
On Mon, Mar 07, 2005 at 11:37:34PM +0300, Evgeniy Polyakov wrote: --- /tmp/empty/crypto_lb.c1970-01-01 03:00:00.0 +0300 +++ ./acrypto/crypto_lb.c 2005-03-07 20:35:36.0 +0300 @@ -0,0 +1,634 @@ +/* + * crypto_lb.c + * + * Copyright (c) 2004 Evgeniy Polyakov [EMAIL

Re: Query: Kdump: Core Image ELF Format

2005-03-08 Thread Eric W. Biederman
vivek goyal [EMAIL PROTECTED] writes: Hi, Kdump (A kexec based crash dumping mechanism) is going to export the kernel core image in ELF format. ELF was chosen as a format, keeping in mind that gdb can be used for limited debugging and Crash can be used for advanced debugging. When I

Re: Question regarding thread_struct

2005-03-08 Thread Robert Love
On Tue, 2005-03-08 at 23:25 +0530, Imanpreet Arora wrote: Thanks again, but if the whole of the kernel is restricted to couple of pages. NO. I did not say this. EACH PROCESS'S KERNEL STACK IS A PAGE OR TWO. That is all I said. The kernel can consume hundreds of megabytes of data if it wants.

Re: [UPDATE PATCH 9/many] acrypto: crypto_lb.c

2005-03-08 Thread Evgeniy Polyakov
On Tue, 8 Mar 2005 10:02:50 -0800 Nishanth Aravamudan [EMAIL PROTECTED] wrote: On Mon, Mar 07, 2005 at 11:37:34PM +0300, Evgeniy Polyakov wrote: --- /tmp/empty/crypto_lb.c 1970-01-01 03:00:00.0 +0300 +++ ./acrypto/crypto_lb.c 2005-03-07 20:35:36.0 +0300 @@ -0,0 +1,634 @@

Re: Question regarding thread_struct

2005-03-08 Thread Coywolf Qi Hunt
On Tue, 08 Mar 2005 12:28:42 -0500, Robert Love [EMAIL PROTECTED] wrote: On Tue, 2005-03-08 at 22:57 +0530, Imanpreet Arora wrote: This has been a doubt for a couple of days, and I am wondering if this one could also be cleared. When you say kernel stack, can't be resized a)

Re: Query: Kdump: Core Image ELF Format

2005-03-08 Thread Eric W. Biederman
Dave Anderson [EMAIL PROTECTED] writes: vivek goyal wrote: Hi, Kdump (A kexec based crash dumping mechanism) is going to export the kernel core image in ELF format. ELF was chosen as a format, keeping in mind that gdb can be used for limited debugging and Crash can be used for

Re: Question regarding thread_struct

2005-03-08 Thread Robert Love
On Wed, 2005-03-09 at 02:14 +0800, Coywolf Qi Hunt wrote: CONFIG_IRQSTACKS seems only on ppc64. Is it good to add for other archs too? Some architectures (x86) control per-IRQ stacks via CONFIG_4KSTACKS, so enabling that directive turns on 4K stacks and gives interrupts their own stack.

Re: Fix suspend/resume problems with b44

2005-03-08 Thread David S. Miller
On Tue, 8 Mar 2005 10:46:55 +0100 Pavel Machek [EMAIL PROTECTED] wrote: @@ -1934,6 +1936,9 @@ if (!netif_running(dev)) return 0; + if (request_irq(dev-irq, b44_interrupt, SA_SHIRQ, dev-name, dev)) + printk(KERN_ERR PFX %s: request_irq failed\n,

Re: [PATCH] new driver for ITM Touch touchscreen

2005-03-08 Thread Paulo Marques
Hans-Christian Egtvedt wrote: [...] Any tips are welcome. Is this done before with a touchscreen? Just a minor nitpick, not really related to the mouse problem. More of coding style problem. IMHO the UCP and UCOM macros just obfuscate the code. If you do not want to write ((unsigned char *)

Re: Question regarding thread_struct

2005-03-08 Thread Zwane Mwaikambo
On Wed, 9 Mar 2005, Coywolf Qi Hunt wrote: On Tue, 08 Mar 2005 12:28:42 -0500, Robert Love [EMAIL PROTECTED] wrote: On Tue, 2005-03-08 at 22:57 +0530, Imanpreet Arora wrote: This has been a doubt for a couple of days, and I am wondering if this one could also be cleared. When you say

Re: 2.6.11 on AMD64 traps

2005-03-08 Thread Andre Tomt
[just adding netdev to CC, from LKML] Michal Vanco wrote: Hello, I see this problem running 2.6.11 on dual AMD64: Running quagga routing daemon (ospf+bgp) and issuing netstat -rn |wc -l command while quagga tries to load more than 154000 routes from its bgp neighbours causes this trap: Unable to

about interrupt latency

2005-03-08 Thread Francesco Oppedisano
Hi, i'm trying to estimate the interrupt latency (time between hardware interrrupt and the start of the ISR) of a linux kernel 2.4.29 and i used a simple tecnique: inside the do_timer_interrupt i read the 8259 counter to obtain the elapsed time. By this mean i found a latency of about 6/7

Re: [ patch 6/7] drivers/serial/jsm: new serial device driver

2005-03-08 Thread Wen Xiong
Greg KH wrote: On Mon, Mar 07, 2005 at 05:48:56PM -0500, Wen Xiong wrote: Since some tools in Digi company need these new ioctls to access device driver. I still keep these new ioctls. What tools? What are they used for? Why do they need them? Why can't they just use the sysfs files?

2.6.11-mm2 fremap.c compile error

2005-03-08 Thread Jurriaan
mm/fremap.c:33:48: macro flush_cache_page passed 3 arguments, but takes just 2 mm/fremap.c: In function `zap_pte': mm/fremap.c:33: error: `flush_cache_page' undeclared (first use in this function) mm/fremap.c:33: error: (Each undeclared identifier is reported only once mm/fremap.c:33: error: for

Re: [PATCH] [request for inclusion] Realtime LSM

2005-03-08 Thread Lee Revell
On Tue, 2005-03-08 at 04:32 +, Christoph Hellwig wrote: and as I mentioned a few times if we really want to go for a magic uid/gid-based approach we should at least have one that's useable for all capabilities so it can replace the oracle hack aswell. But the proponents of the patch

Re: [ patch 4/7] drivers/serial/jsm: new serial device driver

2005-03-08 Thread Wen Xiong
Greg KH wrote: On Mon, Mar 07, 2005 at 05:46:51PM -0500, Wen Xiong wrote: +static ssize_t jsm_driver_version_show(struct device_driver *ddp, char *buf) +{ + return snprintf(buf, PAGE_SIZE, jsm_version: %s\n, JSM_VERSION); Again, drop the prefix: from every sysfs file, it should not be

Writing data PAGESIZE into kernel with proc fs

2005-03-08 Thread Weber Matthias
Hi, is there any chance to signal an EOF when writing data to kernel via proc fs? Actually if the length of data is N*PAGE_SIZE it seems not to be detectable. I followed up the struct file but haven't found anything that helped... Any help would be appreciated! Bye Matthias - To unsubscribe

Re: about interrupt latency

2005-03-08 Thread linux-os
On Tue, 8 Mar 2005, Francesco Oppedisano wrote: Hi, i'm trying to estimate the interrupt latency (time between hardware interrrupt and the start of the ISR) of a linux kernel 2.4.29 and i used a simple tecnique: inside the do_timer_interrupt i read the 8259 counter to obtain the elapsed time. By

kernel mmap() and friends.

2005-03-08 Thread linux-os
Hello mem-map gurus, If one uses x = __get_dma_pages(GFP_KERNEL, nr), finds the physical address with b = virt_to_bus(x), then attempts to mmap(,,b,,,) the result _does_not_fail_, yet the user ends up with memory ...somewhere that is R/W able and WRONG. Yet, if the code executes

Re: about interrupt latency

2005-03-08 Thread Zwane Mwaikambo
Hi Francesco, On Tue, 8 Mar 2005, Francesco Oppedisano wrote: i'm trying to estimate the interrupt latency (time between hardware interrrupt and the start of the ISR) of a linux kernel 2.4.29 and i used a simple tecnique: inside the do_timer_interrupt i read the 8259 counter to obtain the

PCMCIA product id strings - hashes generation at compilation time? [Was: Re: [patch 14/38] pcmcia: id_table for wavelan_cs]

2005-03-08 Thread Dominik Brodowski
Andrew, Linus, all, [note: for detailed code please take a look at 2.6.11-mm2] Most pcmcia devices are matched to drivers using product ID strings embedded in the devices' Card Information Structures, as manufactor ID / card ID matches are much less reliable. Unfortunately, these strings cannot

<    1   2   3   4   5   6   7   >