Re: [PATCH] drop page cache of a single file

2006-12-27 Thread Fengguang Wu
On Wed, Dec 27, 2006 at 07:49:59PM -0800, Andrew Morton wrote: > On Thu, 28 Dec 2006 11:17:25 +0800 > "Zhang, Yanmin" <[EMAIL PROTECTED]> wrote: > > > Currently, by /proc/sys/vm/drop_caches, applications could drop pagecache, > > slab(dentries and inodes), or both, but applications couldn't choose

Re: [PATCH] mm: fix page_mkclean_one

2006-12-27 Thread David Miller
From: "Chen, Kenneth W" <[EMAIL PROTECTED]> Date: Wed, 27 Dec 2006 22:10:52 -0800 > Chen, Kenneth wrote on Wednesday, December 27, 2006 9:55 PM > > Linus Torvalds wrote on Wednesday, December 27, 2006 7:05 PM > > > On Wed, 27 Dec 2006, David Miller wrote: > > > > > > > > > > I still don't see _wh

RE: [PATCH] mm: fix page_mkclean_one

2006-12-27 Thread Chen, Kenneth W
Chen, Kenneth wrote on Wednesday, December 27, 2006 9:55 PM > Linus Torvalds wrote on Wednesday, December 27, 2006 7:05 PM > > On Wed, 27 Dec 2006, David Miller wrote: > > > > > > > > I still don't see _why_, though. But maybe smarter people than me can > > > > see > > > > it.. > > > > > > FWIW

Re: [PATCH] mm: fix page_mkclean_one

2006-12-27 Thread Gordon Farquharson
On 12/27/06, Linus Torvalds <[EMAIL PROTECTED]> wrote: That's just 400kB! There's no way you should see corruption with that kind of value. It should all stay solidly in the cache. 100kB and 200kB files always succeed on the ARM system. 400kB and larger always seem to fail. Does the followin

RE: [PATCH] mm: fix page_mkclean_one

2006-12-27 Thread Chen, Kenneth W
Linus Torvalds wrote on Wednesday, December 27, 2006 7:05 PM > On Wed, 27 Dec 2006, David Miller wrote: > > > > > > I still don't see _why_, though. But maybe smarter people than me can see > > > it.. > > > > FWIW this program definitely triggers the bug for me. > > Ok, now that I have somethin

Re: [PATCH] mm: fix page_mkclean_one

2006-12-27 Thread Gordon Farquharson
Hi David On 12/27/06, David Miller <[EMAIL PROTECTED]> wrote: Me too, I added "-D_POSIX_C_SOURCE=200112" to "fix" this. That works for me. Thanks for the tip. Gordon -- Gordon Farquharson - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [

Re: [PATCH] mm: fix page_mkclean_one

2006-12-27 Thread David Miller
From: "Gordon Farquharson" <[EMAIL PROTECTED]> Date: Wed, 27 Dec 2006 22:20:20 -0700 > and for some reason I get > > linus-test.c: In function 'remap': > linus-test.c:61: error: 'POSIX_FADV_DONTNEED' undeclared (first use in > this function) > > when I compile the program, so I replaced POSIX_FA

Re: [PATCH] mm: fix page_mkclean_one

2006-12-27 Thread Gordon Farquharson
On 12/27/06, Linus Torvalds <[EMAIL PROTECTED]> wrote: On Wed, 27 Dec 2006, Gordon Farquharson wrote: > > I don't think so. I did reduce the target size > > #define TARGETSIZE (100 << 12) That's just 400kB! There's no way you should see corruption with that kind of value. It should all stay so

Re: Feature request: exec self for NOMMU.

2006-12-27 Thread Rob Landley
On Wednesday 27 December 2006 9:48 pm, Denis Vlasenko wrote: > Yes Rob, I know it can be done like this. But we don't want this. > In the tar example, we want : > > 'Run my own binary again, with parameters: "zcat" "a.tar.gz", > even if there is no [/usr][/local]/bin/zcat -> busybox link anywhere'

Re: [PATCH] mm: fix page_mkclean_one

2006-12-27 Thread Gordon Farquharson
[Oops - forgot to hit "Reply to All" first time round.] Hi Linus On 12/27/06, Linus Torvalds <[EMAIL PROTECTED]> wrote: For all I know, my test-program is buggy wrt the ordering printouts, though. Did you perhaps change the logic in any way? I don't think so. I did reduce the target size #d

Re: [PATCH] mm: fix page_mkclean_one

2006-12-27 Thread Linus Torvalds
On Wed, 27 Dec 2006, Gordon Farquharson wrote: > > It is at all suprising that the second offset within a page can be > less than the first offset within a page ? e.g. > > Chunk 260 corrupted (1-1455) (2769-127) No, that just means that it went over to the next page (so you actually had two

Re: linux 2.4.32: kernel BUG in slab.c:1582

2006-12-27 Thread Willy Tarreau
Hi ! On Wed, Dec 20, 2006 at 12:21:59PM -0700, Sebastian Kuzminsky wrote: > Hi folks, I've got an old PC (Pentium 133 MHz, 64 MB RAM, no swap) > running Linux 2.4.32, and lately I've been getting kernel BUGs like this: > > kernel: kernel BUG at slab.c:1582! > kernel: invalid operand:

[patch] fix typo in i2c smbus documentation

2006-12-27 Thread Mike Frysinger
the i2c smbus documentation has a typo ... when it describes the "SMBus Write Word Data" function, it says that it is meant to "read from a device" when in reality it should obviously be writing to the device btw, the i2c/smbus docs in Documentation/i2c/ are superb, thanks all :) -mike linux-i2

Re: [PATCH] mm: fix page_mkclean_one

2006-12-27 Thread Gordon Farquharson
On 12/27/06, Linus Torvalds <[EMAIL PROTECTED]> wrote: [ Modified test-program that tells you where the corruption happens (and when the missing parts were supposed to be written out) appended, in case people care. ] For the record, this is the output from a run on our ARM machine (32 MB R

Re: 2.6.19.1, sata_sil: sata dvd writer doesn't work

2006-12-27 Thread Tejun Heo
Tejun Heo wrote: > Harald Dunkel wrote: >> Hi Tejun, >> >> Tejun Heo wrote: >>> * dmesg is truncated, please post the content of file /var/log/boot.msg. >>> >>> * Please post the result of 'lspci -nnvvv' >>> >>> * Please try the attached patch and see if it makes any difference and >>> post the res

Re: Oops in 2.6.19.1

2006-12-27 Thread Alistair John Strachan
On Thursday 28 December 2006 04:02, Alistair John Strachan wrote: > On Thursday 28 December 2006 02:41, Zhang, Yanmin wrote: > [snip] > > > > Here's a current decompilation of vmlinux/pipe_poll() from the running > > > kernel, the addresses have changed slightly. There's no xchg there > > > either:

Re: Oops in 2.6.19.1

2006-12-27 Thread Alistair John Strachan
On Thursday 28 December 2006 02:41, Zhang, Yanmin wrote: [snip] > > Here's a current decompilation of vmlinux/pipe_poll() from the running > > kernel, the addresses have changed slightly. There's no xchg there > > either: > > Could you reproduce the bug by the new kernel, so we could get the exact

Re: [RFC 2.6.19 1/1] fbdev,mm: hecuba/E-Ink fbdev driver v2

2006-12-27 Thread Jaya Kumar
On 12/22/06, Franck Bui-Huu <[EMAIL PROTECTED]> wrote: Well thinking more about it, this wouldn't work for all cache types. For example, if your cache is not a direct maped one, this workaround won't work. So this is definitely not a portable solution. From asking peterz on #mm, I think page

Re: [PATCH] drop page cache of a single file

2006-12-27 Thread Andrew Morton
On Thu, 28 Dec 2006 11:17:25 +0800 "Zhang, Yanmin" <[EMAIL PROTECTED]> wrote: > Currently, by /proc/sys/vm/drop_caches, applications could drop pagecache, > slab(dentries and inodes), or both, but applications couldn't choose to > just drop the page cache of one file. An user of VOD (Video-On-Dema

Re: Page alignment issue

2006-12-27 Thread Aubrey
On 12/27/06, Aubrey <[EMAIL PROTECTED]> wrote: As for the buddy system, much of docs mention the physical address of the first page frame of a block should be a multiple of the group size. For example, the initial address of a 16-page-frame block should be 16-page aligned. I happened to encounted

PL2303 module

2006-12-27 Thread Gene Heskett
Greetings; Rather offtopic, but: Is there available anyplace, a document that describes how to configure the PL2303 USB<->serial adaptor to match up with all the hardware and flow control variations inherent in the basic rs-232 spec? Thanks. -- Cheers, Gene "There are four boxes to be used i

Re: ata1: spurious interrupt (irq_stat 0x8 active_tag -84148995 sactive 0x0) r0xj0

2006-12-27 Thread Tejun Heo
Andrew Lyon wrote: > Hi, > > My system is gigabyte ds3 motherboard with onboard SATA JMicron > 20360/20363 AHCI Controller (rev 02), drive connected is WDC > WD740ADFD-00 20.0, I am running 2.6.18.6 32 bit, under heavy i/o I get > the following messaegs: > > ata1: spurious interrupt (irq_stat 0x8

[PATCH] drop page cache of a single file

2006-12-27 Thread Zhang, Yanmin
Currently, by /proc/sys/vm/drop_caches, applications could drop pagecache, slab(dentries and inodes), or both, but applications couldn't choose to just drop the page cache of one file. An user of VOD (Video-On-Demand) needs this capability to have more detailed control on page cache release. Below

Re: [PATCH] mm: fix page_mkclean_one

2006-12-27 Thread Linus Torvalds
On Wed, 27 Dec 2006, David Miller wrote: > > > > I still don't see _why_, though. But maybe smarter people than me can see > > it.. > > FWIW this program definitely triggers the bug for me. Ok, now that I have something simple to do repeatable stuff with, I can say what the pattern is.. It's

Re: Feature request: exec self for NOMMU.

2006-12-27 Thread Denis Vlasenko
On Wednesday 27 December 2006 22:03, Rob Landley wrote: > On Wednesday 27 December 2006 1:35 pm, Denis Vlasenko wrote: > > This solves chroot problem. How to find path-to-yourself reliably > > (for one, without using /proc/self/exe) is not obvious to me. > > Been there, done that. Both my toybox

Re: Oops in 2.6.19.1

2006-12-27 Thread Zhang, Yanmin
On Wed, 2006-12-27 at 12:35 +, Alistair John Strachan wrote: > On Wednesday 27 December 2006 02:07, Zhang, Yanmin wrote: > [snip] > > > Call Trace: > > > [] do_sys_poll+0x253/0x480 > > > [] sys_poll+0x33/0x50 > > > [] syscall_call+0x7/0xb > > > [] 0xb7f26402 > > >

kobject_add failed for card0, ALSA and USB

2006-12-27 Thread Jon Smirl
Something has stopped working between usb_audio and ALSA. When I boot my USB audio won't work, but if I remove it and plug it in again it works. I posted this on usb-dev and alsa-dev but everyone is gone. The error occurs when the device is plugged in a again. usb 2-1: new full speed USB device

Re: PATA -- pata_amd on 2.6.19 fails to IDENTIFY my DVD-ROM

2006-12-27 Thread Tejun Heo
Rene Herman wrote: > Tejun Heo wrote: > >> Rene Herman wrote: > >>> I just tried the PATA driver for my AMD756 chip. During boot, it hangs >>> for 3 minutes failing to identify my DVD-ROM (secondary slave) and does >>> not give me access to it after it timed out. >> >> Please give a shot at v2.6.

Re: BUG: scheduling while atomic, new libata code

2006-12-27 Thread Jon Smirl
Still getting the bug with patch applied. BUG: scheduling while atomic: hald-addon-stor/0x2000/5078 [] __sched_text_start+0x5f9/0xb00 [] net_rx_action+0xb3/0x180 [] __do_softirq+0x72/0xe0 [] do_IRQ+0x45/0x80 [] common_interrupt+0x23/0x28 [] __cond_resched+0x16/0x40 [] cond_resched+0x23/0x30

ata1: spurious interrupt (irq_stat 0x8 active_tag -84148995 sactive 0x0) r0xj0

2006-12-27 Thread Andrew Lyon
Hi, My system is gigabyte ds3 motherboard with onboard SATA JMicron 20360/20363 AHCI Controller (rev 02), drive connected is WDC WD740ADFD-00 20.0, I am running 2.6.18.6 32 bit, under heavy i/o I get the following messaegs: ata1: spurious interrupt (irq_stat 0x8 active_tag -84148995 sactive 0x0)

Re: [PATCH -mm 4/5][time][x86_64] Convert x86_64 to use GENERIC_TIME

2006-12-27 Thread Andrew Morton
On Wed, 20 Dec 2006 17:13:43 -0500 john stultz <[EMAIL PROTECTED]> wrote: > This patch converts x86_64 to use the GENERIC_TIME infrastructure and > adds clocksource structures for both TSC and HPET (ACPI PM is shared w/ > i386). printk timestamping shows a time of zero all the time, because not

Re: Happy Birthday to Our Fearless Leader

2006-12-27 Thread D. Hazelton
On Wednesday 27 December 2006 18:39, David R. Meyer wrote: > I hope it doesn't get me kicked off the list for unnecessary traffic, > but Happy Birthday Linus. Thanks for making computing fun again > > Dave > Oh, wow, I totally missed the initial post. Happy Birthday, Linus! DRH > Loye Young

OOPS - KVM in 2.6.20-rc2

2006-12-27 Thread Parag Warudkar
Running qemu with 512M ram out of available 480M total invoked the OOM killer (that's obvious along with other OOM-killer stupidities like killing totally irrelevant processes) followed by the below OOPS. Killed process 19271 (trashapplet)Out of memory: kill process 12475 (qemu) score 7899 or a

Re: [PATCH] mm: fix page_mkclean_one

2006-12-27 Thread David Miller
From: Linus Torvalds <[EMAIL PROTECTED]> Date: Wed, 27 Dec 2006 16:39:43 -0800 (PST) > > > On Wed, 27 Dec 2006, Linus Torvalds wrote: > > > > I think the test-case could probably be improved by having a munmap() and > > page-cache flush in between the writing and the checking, to see whether

Re: [PATCH] mm: fix page_mkclean_one

2006-12-27 Thread David Miller
From: Linus Torvalds <[EMAIL PROTECTED]> Date: Wed, 27 Dec 2006 16:42:40 -0800 (PST) > That's fine. In that situation, you shouldn't need any atomic ops at all, > I think all our sw page-table operations are already done under the pte > lock. This is true, but there is one subtlety to this I w

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-27 Thread Linus Torvalds
On Thu, 28 Dec 2006, Martin Schwidefsky wrote: > > For s390 there are two aspects to consider: > 1) the pte values are 100% software controlled. That's fine. In that situation, you shouldn't need any atomic ops at all, I think all our sw page-table operations are already done under the pte lo

Re: [PATCH] mm: fix page_mkclean_one

2006-12-27 Thread Linus Torvalds
On Wed, 27 Dec 2006, Linus Torvalds wrote: > > I think the test-case could probably be improved by having a munmap() and > page-cache flush in between the writing and the checking, to see whether > that shows the corruption easier (and possibly without having to start > paging in order to thr

Re: [PATCH] romsignature/checksum cleanup

2006-12-27 Thread Zachary Amsden
Rusty Russell wrote: On Mon, 2006-12-25 at 01:53 +0100, Rene Herman wrote: Rene Herman wrote: Use adding __init to romsignature() (it's only called from probe_roms() which is itself __init) as an excuse to submit a pedantic cleanup. Hmm, by the way, if romsignature() needs this

Re: [PATCH] Sanely size hash tables when using large base pages.

2006-12-27 Thread Paul Mundt
On Tue, Dec 26, 2006 at 03:42:57PM +0800, Fengguang Wu wrote: > On Tue, Dec 26, 2006 at 03:16:52PM +0900, Paul Mundt wrote: > > pidhash_shift = max(4, fls(megabytes * 4)); > > pidhash_shift = min(12, pidhash_shift); > > pidhash_size = 1 << pidhash_shift; > > > > + size = pidhash_siz

Re: [PATCH] mm: fix page_mkclean_one

2006-12-27 Thread Linus Torvalds
On Tue, 26 Dec 2006, David Miller wrote: > > I've seen it on sparc64, UP kernel, no preempt. Ok, I still don't have a clue, but I think I at least have a new test-case. It can probably be improved upon, but this would _seem_ to trigger the problem. Can people check? You'd want to make sure y

Re: [PATCH 2.6.20-rc1 00/10] Kernel memory leak detector 0.13

2006-12-27 Thread Catalin Marinas
On 27/12/06, Ingo Molnar <[EMAIL PROTECTED]> wrote: * Ingo Molnar <[EMAIL PROTECTED]> wrote: > The pure per-CPU design would have to embedd the CPU ID the object is > attached to into the allocated object. If that is not feasible then > only the global hash remains i think. embedding the info sh

Re: [PATCH -rt] update kmap_atomic on !HIGHMEM

2006-12-27 Thread Daniel Walker
On Wed, 2006-12-27 at 22:25 +0100, Ingo Molnar wrote: > * Daniel Walker <[EMAIL PROTECTED]> wrote: > > > I got some scheduling while atomic on x86-64 , and since x86-64 > > doesn't seem to have HIGHMEM there's no workaround for kmap_atomic() . > > > > This patch adds the same as i386 HIGHMEM for

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-27 Thread Martin Schwidefsky
On Thu, 2006-12-21 at 12:01 -0800, Linus Torvalds wrote: > What do you guys think? Does something like this work out for S/390 too? I > tried to make that "ptep_flush_dirty()" concept work for architectures > that hide the dirty bit somewhere else too, but.. For s390 there are two aspects to consi

Re: [patch 2.6.12-rc2] PNP: export pnp_bus_type

2006-12-27 Thread David Brownell
On Wednesday 27 December 2006 2:30 pm, Arjan van de Ven wrote: > On Wed, 2006-12-27 at 13:47 -0800, David Brownell wrote: > > The PNP framework doesn't export "pnp_bus_type", which is an unfortunate > > exception to the policy followed by pretty much every other bus. I noticed > > this when I had

Re: Happy Birthday to Our Fearless Leader

2006-12-27 Thread Martin Seidl
Happy Birthday to the leader of the penguins ;) Since Linus can't necessarily hear us, lets all type in harmony. "For he's a jolly good fellow..." Loye Young wrote: > Be it remembered that on the 28th day of December in the year of our Lord > 1969, there was born in the town of Helsinki, Finlan

Re: The Input Layer and the Serial Port

2006-12-27 Thread Loye Young
"Nothing is hard if you already know how." -- Unknown "Nadie nace enseñó." -- Mexican proverb. ("Nobody is born taught.") >All you need to do is write the device interface. I wish that I knew how to program in C, and that I knew how to recompile the kernel. But C is Greek to me. Besides, it i

Re: Happy Birthday to Our Fearless Leader

2006-12-27 Thread David R. Meyer
I hope it doesn't get me kicked off the list for unnecessary traffic, but Happy Birthday Linus. Thanks for making computing fun again Dave Loye Young wrote: Be it remembered that on the 28th day of December in the year of our Lord 1969, there was born in the town of Helsinki, Finland, Linu

Re: [PATCH] Remove logically superfluous comparisons from Kconfig files.

2006-12-27 Thread Robert P. J. Day
On Wed, 27 Dec 2006, Horst H. von Brand wrote: > Robert P. J. Day <[EMAIL PROTECTED]> wrote: > > Remove Kconfig comparisons of the form FUBAR || FUBAR=n, since they > > appear to be superfluous. > > > > Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> > > > > --- > > > > based on what i rea

Happy Birthday to Our Fearless Leader

2006-12-27 Thread Loye Young
Be it remembered that on the 28th day of December in the year of our Lord 1969, there was born in the town of Helsinki, Finland, Linus Benedict Torvalds. Long live the king. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] M

Re: [patch 1/4] Add

2006-12-27 Thread Vincent Legoll
Zack Weinberg wrote: This patch introduces with symbolic constants for the various sys_syslog() opcodes, and changes all in-kernel references to those opcodes to use the constants. The header is added to the set of user/kernel interface headers. [...] -/* - * Commands to do_syslog: +/** + *

OpenSolaris under KVM?

2006-12-27 Thread John Freighter
Has anybody succeded running OpenSolaris under KVM virtualization? Before I download OS install DVD in vain... Windows XP obviously runs great (http://linux.inet.hr/finally-user-friendly-virtualization-for-linux.html, but I would like to play with other Unix a little bit, without having to dual b

Re: [patch 2.6.12-rc2] PNP: export pnp_bus_type

2006-12-27 Thread Arjan van de Ven
On Wed, 2006-12-27 at 13:47 -0800, David Brownell wrote: > The PNP framework doesn't export "pnp_bus_type", which is an unfortunate > exception to the policy followed by pretty much every other bus. I noticed > this when I had to find a device in order to provide its platform_data. can you please

Re: util-linux: orphan

2006-12-27 Thread H. Peter Anvin
Karel Zak wrote: For example for my laptop is it true that "life is too short to enable SELinux", but it's probably not true for servers in the bank where I have money. (I hope so:-) You'd be surprised how many banks run Windows, and not even the most recent versions. -hpa - To

Re: [PATCH 2.6.20-rc1 00/10] TURBOchannel update to the driver model

2006-12-27 Thread James Simmons
> And last but not least, thanks to James Simmons for beginning this work a > while ago as his code was great to start with. Wow!! I thought the work was dropped along time ago. Thanks for bring it back. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: util-linux: orphan

2006-12-27 Thread Karel Zak
On Wed, Dec 27, 2006 at 03:42:13PM -0500, Theodore Tso wrote: > On Wed, Dec 27, 2006 at 08:18:24PM +0100, Karel Zak wrote: > > Frankly, it wasn't always easy to use SeLinux in previous FC > > releases, but there is huge progress and I think it's much better in > > FC6. > > I've never tried SELi

Re: [PATCH -rt] update kmap_atomic on !HIGHMEM

2006-12-27 Thread Daniel Walker
On Wed, 2006-12-27 at 22:25 +0100, Ingo Molnar wrote: > > +void pagefault_disable(void) > +{ > + current->pagefault_disabled++; > + /* > +* make sure to have issued the store before a pagefault > +* can hit. > +*/ > + barrier(); > +} > + > +void pagefault_

[patch 2.6.12-rc2] PNP: export pnp_bus_type

2006-12-27 Thread David Brownell
The PNP framework doesn't export "pnp_bus_type", which is an unfortunate exception to the policy followed by pretty much every other bus. I noticed this when I had to find a device in order to provide its platform_data. Signed-off-by: David Brownell <[EMAIL PROTECTED]> Index: g26/drivers/pnp/bas

Re: [PATCH -rt] update kmap_atomic on !HIGHMEM

2006-12-27 Thread Ingo Molnar
* Daniel Walker <[EMAIL PROTECTED]> wrote: > On Wed, 2006-12-27 at 22:31 +0100, Ingo Molnar wrote: > > plus on i386 the fix below is needed as well. > > > > We do it on most other arches .. PowerPC , and I think ARM too. I dont think they currently work with PREEMPT_RT and HIGHMEM enabled, bu

Re: [PATCH -rt] update kmap_atomic on !HIGHMEM

2006-12-27 Thread Daniel Walker
On Wed, 2006-12-27 at 22:25 +0100, Ingo Molnar wrote: > * Daniel Walker <[EMAIL PROTECTED]> wrote: > > > I got some scheduling while atomic on x86-64 , and since x86-64 > > doesn't seem to have HIGHMEM there's no workaround for kmap_atomic() . > > > > This patch adds the same as i386 HIGHMEM for

Re: [PATCH -rt] update kmap_atomic on !HIGHMEM

2006-12-27 Thread Daniel Walker
On Wed, 2006-12-27 at 22:31 +0100, Ingo Molnar wrote: > plus on i386 the fix below is needed as well. > We do it on most other arches .. PowerPC , and I think ARM too. Daniel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED]

Re: [PATCH -rt] update kmap_atomic on !HIGHMEM

2006-12-27 Thread Ingo Molnar
plus on i386 the fix below is needed as well. Ingo --- include/asm-i386/highmem.h |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: linux/include/asm-i386/highmem.h === --- linux.orig/include/asm-i386/h

[BUG 2.6.20-rc2] atkbd.c: Spurious ACK

2006-12-27 Thread Rene Herman
Good day. The bug where the kernel repetitively emits "atkbd.c: Spurious ACK on isa0060/serio0. Some program might be trying access hardware directly" (sic) on a panic, thereby scrolling away the information that would help in seeing what exactly the problem was (ie, "Unable to mount root fs"

Re: [PATCH -rt] update kmap_atomic on !HIGHMEM

2006-12-27 Thread Ingo Molnar
* Daniel Walker <[EMAIL PROTECTED]> wrote: > I got some scheduling while atomic on x86-64 , and since x86-64 > doesn't seem to have HIGHMEM there's no workaround for kmap_atomic() . > > This patch adds the same as i386 HIGHMEM for !HIGHMEM. the problem is that this does not disable pagefaultin

Re: Feature request: exec self for NOMMU.

2006-12-27 Thread Rob Landley
On Wednesday 27 December 2006 1:49 pm, Ray Lee wrote: > >>> I haven't got a man page for fexecve. Does libc have it? > >> It's implemented inside glibc, and uses /proc to execve() the file that > >> the fd points to. > > Oh, hmm. Then I think it won't work, will it? I'd assumed fexecve was > impl

Re: The Input Layer and the Serial Port

2006-12-27 Thread James Simmons
> To the King of Penguins and the Wise Architects of the Kernel: > > Greetings and Smooth Compiling to All, > > I, a humble pilgrim in the Land of Tux, have spent over a year > seeking a simple answer to what seems to me a simple question: > How do I expose my RS232 barcode scanner to the inpu

Re: [PATCH -rt] update kmap_atomic on !HIGHMEM

2006-12-27 Thread Daniel Walker
On Wed, 2006-12-27 at 21:54 +0100, Ingo Molnar wrote: > * Daniel Walker <[EMAIL PROTECTED]> wrote: > > > I got some scheduling while atomic on x86-64 , [...] > > please post those messages too. > > Ingo Ok .. This is from 2.6.20-rc2-rt0 tho . BUG: scheduling while atomic: kswapd0/0x0

Re: Feature request: exec self for NOMMU.

2006-12-27 Thread Rob Landley
On Wednesday 27 December 2006 1:35 pm, Denis Vlasenko wrote: > This solves chroot problem. How to find path-to-yourself reliably > (for one, without using /proc/self/exe) is not obvious to me. Been there, done that. Both my toybox and Firmware Linux projects do this. In FWL it's line 115 of thi

Re: [PATCH -rt] update kmap_atomic on !HIGHMEM

2006-12-27 Thread Ingo Molnar
* Daniel Walker <[EMAIL PROTECTED]> wrote: > I got some scheduling while atomic on x86-64 , [...] please post those messages too. Ingo - 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://v

Re: [take24 0/6] kevent: Generic event handling mechanism.

2006-12-27 Thread Ulrich Drepper
Evgeniy Polyakov wrote: > Why do we want to inject _ready_ event, when it is possible to mark > event as ready and wakeup thread parked in syscall? Going back to this old one: How do you want to mark an event ready if you don't want to introduce yet another layer of data structures? The event no

Re: [PATCH 1/1] 2.6.20-rc1-mm1 pktcdvd: cleanup

2006-12-27 Thread Phillip Susi
Please attach patches as inline text, not as a binary file, so that we can all read it. Thomas Maier wrote: Hello, this is a patch to cleanup some things in the pktcdvd driver for linux 2.6.20: - update documentation - use clear_bdi_congested/set_bdi_congested functions directly instead of ol

Re: util-linux: orphan

2006-12-27 Thread Theodore Tso
On Wed, Dec 27, 2006 at 08:18:24PM +0100, Karel Zak wrote: > Frankly, it wasn't always easy to use SeLinux in previous FC > releases, but there is huge progress and I think it's much better in > FC6. I've never tried SELinux, but at one point there were all sorts of horror stories that if you e

Re: 2.6.19 (current from git) on SPARC64: Can't mount /

2006-12-27 Thread Horst H. von Brand
Adrian Bunk <[EMAIL PROTECTED]> wrote: > On Wed, Dec 13, 2006 at 03:56:46PM -0300, Horst H. von Brand wrote: > > I've been running kernel du jour straight from git on my SPARC Ultra 1 for > > some time now on Aurora Corona (Fedora relative, development branch). For a > > few days now 2.6.19 panics

Re: [PATCH 4/4] Add MMC Password Protection (lock/unlock) support V8: mmc_sysfs.diff

2006-12-27 Thread Pierre Ossman
[EMAIL PROTECTED] wrote: > Did you see this patch at V9 series? This bug is fixed. > I also fixed this code according the latest Russel's comments and will send > again at V9, just this patch. > > The V9 you sent me on the 15th was before Russell pointed out the dangling lock, and doesn't cont

Re: How to detect multi-core and/or HT-enabled CPUs in 2.4.x and 2.6.x kernels

2006-12-27 Thread Siddha, Suresh B
On Wed, Dec 27, 2006 at 09:52:02AM -0800, Martin Knoblauch wrote: > For sizing purposes, doing benchmarks is the only way. For the purpose > of Ganglia the sockets/cores/threads info is purely for inventory. And > we are likely going to add the new information to our metrics. > > But - we still

The Input Layer and the Serial Port

2006-12-27 Thread Loye Young
To the King of Penguins and the Wise Architects of the Kernel: Greetings and Smooth Compiling to All, I, a humble pilgrim in the Land of Tux, have spent over a year seeking a simple answer to what seems to me a simple question: How do I expose my RS232 barcode scanner to the input layer so that

Re: idle RAID1 cpu usage

2006-12-27 Thread Alistair John Strachan
On Wednesday 27 December 2006 18:09, Paul Slootman wrote: [snip] > My question is: why is CPU being used by the RAID1 threads, even for > those devices that are otherwise unused? What are they doing? > I even started distributed-net to check that it wasn't just idle CPU > cycles that were being use

Re: idle RAID1 cpu usage

2006-12-27 Thread Paul Slootman
Jan Engelhardt <[EMAIL PROTECTED]> wrote: >On Dec 27 2006 19:09, Paul Slootman wrote: >> >>This works fine, but I noticed that quite some time was being used by >>the mdX_raid1 threads; even on a partition that's not even being used at >>this time... (it was an empty mounted filesystem, but I umou

[PATCH -rt] update kmap_atomic on !HIGHMEM

2006-12-27 Thread Daniel Walker
I got some scheduling while atomic on x86-64 , and since x86-64 doesn't seem to have HIGHMEM there's no workaround for kmap_atomic() . This patch adds the same as i386 HIGHMEM for !HIGHMEM. Signed-Off-By: Daniel Walker <[EMAIL PROTECTED]> --- include/linux/highmem.h | 14 +- 1 fil

Re: linux tcp stack behavior change

2006-12-27 Thread Jan Engelhardt
On Dec 27 2006 03:03, Jan Engelhardt wrote: > >I have been noticing that running nmap -sF on oneself does not generate >a reply from the TCP stack on 2.6.18(.5). In other words: [...] Alright same behavior on 2.6.13 and nmap 3.81, so the problem is somewhere on my side having misdocumented some

Re: util-linux: orphan

2006-12-27 Thread Karel Zak
On Wed, Dec 27, 2006 at 07:39:47PM +0100, Arnd Bergmann wrote: > On Wednesday 27 December 2006 19:15, Karel Zak wrote: > > > > On Wed, Dec 27, 2006 at 03:46:10AM +0100, Arnd Bergmann wrote: > > > On Monday 18 December 2006 08:17, Karel Zak wrote: > > > > - remove FS/device detection code >

Re: Feature request: exec self for NOMMU.

2006-12-27 Thread Ray Lee
Rob Landley wrote: > On Wednesday 27 December 2006 1:08 am, Vadim Lobanov wrote: >> On Wed, 2006-12-27 at 00:51 -0500, Rob Landley wrote: >>> On Wednesday 27 December 2006 12:13 am, Ray Lee wrote: How about openning an fd to yourself at the beginning of execution, then calling fexecve lat

Re: util-linux: orphan

2006-12-27 Thread Arnd Bergmann
On Wednesday 27 December 2006 19:15, Karel Zak wrote: > > On Wed, Dec 27, 2006 at 03:46:10AM +0100, Arnd Bergmann wrote: > > On Monday 18 December 2006 08:17, Karel Zak wrote: > > > - remove FS/device detection code > > >           (libblkid from e2fsprogs or libvolumeid is replacement) >

Re: [PATCH -rt] disconnect warp check from hrtimers

2006-12-27 Thread Daniel Walker
On Wed, 2006-12-27 at 10:04 -0800, Daniel Walker wrote: > On Wed, 2006-12-27 at 09:53 -0800, Daniel Walker wrote: > > > The system hang was resolved by changing the irq threads to all prio > > 50 .. > > Guess I was wrong about this.. The hang was resolved, but I's not sure > how yet .. Looks lik

Re: Feature request: exec self for NOMMU.

2006-12-27 Thread Denis Vlasenko
On Wednesday 27 December 2006 06:13, Ray Lee wrote: > On 12/26/06, Rob Landley <[EMAIL PROTECTED]> wrote: > > I'm trying to make some nommu-friendly busybox-like tools, which means using > > vfork() instead of fork(). This means that after I fork I have to exec in > > the child to unblock the pare

[PATCH 1/1] 2.6.20-rc1-mm1 pktcdvd: cleanup

2006-12-27 Thread Thomas Maier
Hello, this is a patch to cleanup some things in the pktcdvd driver for linux 2.6.20: - update documentation - use clear_bdi_congested/set_bdi_congested functions directly instead of old wrappers - removed DECLARE_BUF_AS_STRING macro Signed-off-by: Thomas Maier <[EMAIL PROTECTED]> pktcdvd-2.6.

Re: idle RAID1 cpu usage

2006-12-27 Thread Jan Engelhardt
On Dec 27 2006 19:09, Paul Slootman wrote: > >This works fine, but I noticed that quite some time was being used by >the mdX_raid1 threads; even on a partition that's not even being used at >this time... (it was an empty mounted filesystem, but I umounted it to >be sure the filesystem code wasn't

Re: util-linux: orphan

2006-12-27 Thread Karel Zak
On Wed, Dec 27, 2006 at 03:46:10AM +0100, Arnd Bergmann wrote: > On Monday 18 December 2006 08:17, Karel Zak wrote: > > - remove FS/device detection code > >           (libblkid from e2fsprogs or libvolumeid is replacement) > > I saw that the current Fedora already dynamically links /bin/m

idle RAID1 cpu usage

2006-12-27 Thread Paul Slootman
Summary: why are idle RAID1 devices using CPU? I have a Sun Netra X1 (ultrasparc @ 440MHz) running 2.6.19.1. There's one little modification I made to it: instead of 2 SCSI disks, it has one SCSI and one SATA disk (and a PCI SII 3512 card to connect it). Both disks are basically partitioned ident

Re: [PATCH -rt] disconnect warp check from hrtimers

2006-12-27 Thread Daniel Walker
On Wed, 2006-12-27 at 09:53 -0800, Daniel Walker wrote: > The system hang was resolved by changing the irq threads to all prio > 50 .. Guess I was wrong about this.. The hang was resolved, but I's not sure how yet .. Daniel - To unsubscribe from this list: send the line "unsubscribe linux-kerne

Re: How to detect multi-core and/or HT-enabled CPUs in 2.4.x and 2.6.x kernels

2006-12-27 Thread Martin Knoblauch
>In article <[EMAIL PROTECTED]> you wrote: >> once your program (and many others) have such a check, then the next >> step will be pressure on the kernel code to "fake" the old situation >> when there is a processor where no longer >> holds. It's basically a road to madness :-( > > I agree that fo

Re: [PATCH -rt] disconnect warp check from hrtimers

2006-12-27 Thread Daniel Walker
On Wed, 2006-12-27 at 18:39 +0100, Ingo Molnar wrote: > * Daniel Walker <[EMAIL PROTECTED]> wrote: > > > These calls were getting inconsistent wrt. the xtime_lock. The > > xtime_lock should be held when doing the warp check update, and > > interrupts should be off. > > thanks, applied. Does thi

Re: PATA -- pata_amd on 2.6.19 fails to IDENTIFY my DVD-ROM

2006-12-27 Thread Rene Herman
Tejun Heo wrote: Rene Herman wrote: I just tried the PATA driver for my AMD756 chip. During boot, it hangs for 3 minutes failing to identify my DVD-ROM (secondary slave) and does not give me access to it after it timed out. Please give a shot at v2.6.20-rc2 and report what the kernel says.

[patch] respect srctree/objtree in Documentation/DocBook/Makefile

2006-12-27 Thread Mike Frysinger
the KERNELDOC and DOCPROC variables are relative to the $(srctree)/$(objtree) and expect to be run only from there ... attached patch adds proper srctree/objtree prefixes to both variables -mike linux-docbook-trees.patch Description: Binary data

Re: [PATCH -rt] disconnect warp check from hrtimers

2006-12-27 Thread Ingo Molnar
* Daniel Walker <[EMAIL PROTECTED]> wrote: > These calls were getting inconsistent wrt. the xtime_lock. The > xtime_lock should be held when doing the warp check update, and > interrupts should be off. thanks, applied. Does this solve some warnings that you saw trigger? Ingo - To unsu

Re: [PATCH 2.6.20-rc1 00/10] Kernel memory leak detector 0.13

2006-12-27 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > > As I mentioned in a different e-mail, a way to remove the global > > hash table is to create per-cpu hashes. The only problem is that in > > these 8-10% of the cases, freeing would need to look up the other > > hashes. This would become a problem wi

[PATCH -rt] disconnect warp check from hrtimers

2006-12-27 Thread Daniel Walker
These calls were getting inconsistent wrt. the xtime_lock. The xtime_lock should be held when doing the warp check update, and interrupts should be off. In some places the warp update was getting called twice, once under the xtime_lock then again right outside the xtime_lock. Signed-Off-By: Dani

Re: [RFC] Heads up on a series of AIO patchsets

2006-12-27 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > > unified event system for Linux we need people to help out with > > straightening out these even provides as Evgeny seems to be > > unwilling/unable to do the work himself and the duplication is > > simply not acceptable. > > yeah. T

Re: 2.6.19-rc5 libata PATA ATAPI CDROM SiS 5513 NOT WORKING

2006-12-27 Thread Joel Soete
Hello Alan, Jeff, Reading a paper on this new libata, I just want to try but failled yet for what said this thread "ATAPI CDROM" ;_(. I first test the latest stable 2.6.19.1 without luck, so I also want to try latest 2.6.20-rc2 unfortunately without more success. Here it was the test of new

[PATCH 15/28] V4L/DVB (4983): Force temporal filter to 0 when scaling to prevent ghosting.

2006-12-27 Thread Mauro Carvalho Chehab
From: Hans Verkuil <[EMAIL PROTECTED]> Change the code to unconditionally turn off the temporal filter when scaling. If the window is not full screen the filter will introduce a nasty ghosting effect. Signed-off-by: Hans Verkuil <[EMAIL PROTECTED]> Signed-off-by: Mauro Carvalho Chehab <[EMAIL PR

Re: How to detect multi-core and/or HT-enabled CPUs in 2.4.x and 2.6.x kernels

2006-12-27 Thread Bernd Eckenfels
In article <[EMAIL PROTECTED]> you wrote: > once your program (and many others) have such a check, then the next > step will be pressure on the kernel code to "fake" the old situation > when there is a processor where no longer > holds. It's basically a road to madness :-( I agree that for HPC si

  1   2   >