Re: can't boot : Spurious ACK with kernel 2.6.19

2006-12-06 Thread Alan J. Wylie
On Wed, 06 Dec 2006 00:00:13 +0100, Bernd Prager [EMAIL PROTECTED] said: I'm trying to upgrade to kernel 1.6.19. The boot process immediatly locks in a loop with the message: atkbd.c: Spurious ACK on isa0060/serio0. Some program might be trying access hardware directly. The above message

Re: PMTMR running too fast

2006-12-06 Thread Ian Campbell
On Tue, 2006-12-05 at 11:34 -0800, john stultz wrote: On Tue, 2006-12-05 at 07:41 +, Ian Campbell wrote: Should tsc be preferred to pit though? Depends on your system. If C2/C3 or cpufreq state changes are detected, we mark the tsc as unstable. I'm not using them on purpose but I'll

Re: More ARM binutils fuckage

2006-12-06 Thread Koen Kooi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Sokolovsky schreef: Hello Lennert, Wednesday, December 6, 2006, 3:08:13 AM, you wrote: [] (These days I build all kernels in EABI mode with old-ABI compat.) I have not run into any code generation issues with this compiler yet. I

vmscan.c:196: bad pmd (kernel 2.4.25)

2006-12-06 Thread Jesper Juhl
The following messages just showed up in dmesg on one of my servers. The server seems to be running fine but I would like to know if there's a real problem here or if the message is just noise. The server is running 2.4.25 vmscan.c:196: bad pmd 01e3. vmscan.c:196: bad pmd 004001e3.

Re: -mm merge plans for 2.6.20

2006-12-06 Thread Thomas Gleixner
On Tue, 2006-12-05 at 20:30 -0800, Andrew Morton wrote: I don't have a clue which review comments remain unaddressed - do you recall? I never saw an item-by-item accounting of my own (extensive) review comments, actually. And then an avalanche of new stuff got sent and I didn't have time

Re: [PATCH 32/36] driver core: Introduce device_move(): move a device to a new parent.

2006-12-06 Thread Marcel Holtmann
Hi Greg, Provide a function device_move() to move a device to a new parent device. Add auxilliary functions kobject_move() and sysfs_move_dir(). kobject_move() generates a new uevent of type KOBJ_MOVE, containing the previous path (DEVPATH_OLD) in

Re: [PATCH 0/3] New firewire stack

2006-12-06 Thread Stefan Richter
(Adding Cc: linux1394-devel) Kristian Høgsberg wrote to linux-kernel: Alexey Dobriyan wrote: On Tue, Dec 05, 2006 at 12:22:29AM -0500, Kristian Høgsberg wrote: I'm announcing an alternative firewire stack that I've been working on the last few weeks. Is mainline firewire so hopeless, that

Re: [PATCH] let WARN_ON() output the condition

2006-12-06 Thread Ingo Molnar
* Jiri Kosina [EMAIL PROTECTED] wrote: [PATCH] let WARN_ON() output the condition It is possible, in some cases, that the output of WARN_ON() is ambiguous and can't be properly used to identify the exact condition which caused the warning to trigger. This happens whenever there is a

Re: [PATCH] let WARN_ON() output the condition

2006-12-06 Thread Jiri Kosina
On Wed, 6 Dec 2006, Ingo Molnar wrote: a WARN_ON() also triggers a stack dump, which should pinpoint the exact location. (especially if combined with kallsyms) For example: Actually, I was referring to something a little bit different. For example kernel/mutex.c:__mutex_lock_common() calls

Re: [PATCH] let WARN_ON() output the condition

2006-12-06 Thread Ingo Molnar
* Jiri Kosina [EMAIL PROTECTED] wrote: On Wed, 6 Dec 2006, Ingo Molnar wrote: a WARN_ON() also triggers a stack dump, which should pinpoint the exact location. (especially if combined with kallsyms) For example: Actually, I was referring to something a little bit different. For

Re: [PATCH 0/3] New firewire stack

2006-12-06 Thread Stefan Richter
(Adding Cc: linux1394-devel) Ben Collins wrote at linux-kernel: On Tue, 2006-12-05 at 18:21 -0500, Kristian Høgsberg wrote: Alexey Dobriyan wrote: On Tue, Dec 05, 2006 at 12:22:29AM -0500, Kristian Høgsberg wrote: I'm announcing an alternative firewire stack that I've been working on the

Re: [patch] add ignore_loglevel boot option

2006-12-06 Thread Ingo Molnar
* Randy Dunlap [EMAIL PROTECTED] wrote: sometimes the kernel prints something interesting while userspace bootup keeps messages turned off via loglevel. Enable the printing of /all/ kernel messages via the ignore_loglevel boot option. Off by default. Hi, Is this equivalent to

Re: [PATCH] let WARN_ON() output the condition

2006-12-06 Thread Jiri Kosina
On Wed, 6 Dec 2006, Ingo Molnar wrote: DEBUG_LOCKS_WARN_ON(in_interrupt());\ local_irq_save(flags); \ __raw_spin_lock((lock)-raw_lock); \ DEBUG_LOCKS_WARN_ON(l-magic != l); \ When one of these

Re: [PATCH 32/36] driver core: Introduce device_move(): move a device to a new parent.

2006-12-06 Thread Martin Schwidefsky
On 12/5/06, Marcel Holtmann [EMAIL PROTECTED] wrote: And btw. I can't see any s390 patches that are using device_move() at the moment. These patches are in the git390 tree right now and will get push with the next update. Cornelia won't be available for a few weeks by the way (vacation). --

Re: [PATCH] let WARN_ON() output the condition

2006-12-06 Thread Ingo Molnar
* Jiri Kosina [EMAIL PROTECTED] wrote: but i agree with you in theory that your proposed output is better, but the side-effect issue is a killer i think. Could you try to rework it to not evaluate the condition twice and to make it dependent on CONFIG_DEBUG_BUGVERBOSE? You can avoid

Re: [PATCH] let WARN_ON() output the condition

2006-12-06 Thread Jiri Kosina
On Wed, 6 Dec 2006, Ingo Molnar wrote: i'll probably ack such a patch, it can be useful even when the line number is unique: if someone reports a WARN_ON() from an old kernel i dont have to dig up the exact source but can see it right from the condition what happened. Useful redundancy in

Re: [PATCH] let WARN_ON() output the condition

2006-12-06 Thread Jan Engelhardt
On Dec 6 2006 10:07, Ingo Molnar wrote: i'll probably ack such a patch, it can be useful even when the line number is unique: if someone reports a WARN_ON() from an old kernel i dont have to dig up the exact source but can see it right from the condition what happened. Useful redundancy in

Re: [PATCH] let WARN_ON() output the condition

2006-12-06 Thread Ingo Molnar
* Jiri Kosina [EMAIL PROTECTED] wrote: On Wed, 6 Dec 2006, Ingo Molnar wrote: i'll probably ack such a patch, it can be useful even when the line number is unique: if someone reports a WARN_ON() from an old kernel i dont have to dig up the exact source but can see it right from the

Re: [PATCH] Add __GFP_MOVABLE for callers to flag allocations that may be migrated

2006-12-06 Thread Mel Gorman
On Tue, 5 Dec 2006, Christoph Lameter wrote: On Tue, 5 Dec 2006, Mel Gorman wrote: There are times you want to reclaim just part of a zone - specifically satisfying a high-order allocations. See sitations 1 and 2 from elsewhere in this thread. On a similar vein, there will be times when you

Re: `make checkstack' and cross-compilation

2006-12-06 Thread Geert Uytterhoeven
On Tue, 5 Dec 2006, Jeff Dike wrote: On Fri, Dec 01, 2006 at 05:09:17PM +0100, Geert Uytterhoeven wrote: On Fri, 1 Dec 2006, Jeff Dike wrote: And, do you have a cross-compilation environment which tests this? Yes :-) Can you test this patch? It works for UML and native x86_64 - if

sparse errors in srcu.h

2006-12-06 Thread Brice Goglin
Hi, When running sparse checks on a file that ends up including srcu.h, we get the following warnings: include/linux/srcu.h:52:44: error: undefined identifier 'sp' include/linux/srcu.h:52:44: error: bad constant expression include/linux/srcu.h:53:56: error: undefined identifier 'sp'

[PATCH 2.6.19] m32r: Make userspace headers platform-independent

2006-12-06 Thread Hirokazu Takata
Hello, This patch is required to fix build errors of application programs in userland. Please apply. I hope this patch is to be included into the stable kernel branch. Thank you. -- The m32r kernel 2.6.18-rc1 or after cause build errors of unknown isa configuration for userspace application

[PATCH 2.6.19] m32r: Fix access error handler to pass full 32-bit address

2006-12-06 Thread Hirokazu Takata
Don't mask the lower 12-bit of the page fault address. In the current m32r kernel implementation, we use an access error handler to detect page faults. In order to check userspace address in do_page_fault, we have to pass full 32-bit address to do_page_fault. Signed-off-by: Hirokazu Takata

[PATCH 2.6.19] m32r: Fix compile error of m32r_cfc.c

2006-12-06 Thread Hirokazu Takata
Fix a compile error of m32r_cfc.c. In pcc_interrupt_wrapper, pcc_interrupt was called with wrong argument number. Signed-off-by: Hirokazu Takata [EMAIL PROTECTED] --- drivers/pcmcia/m32r_cfc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/pcmcia/m32r_cfc.c

[PATCH 2.6.19] m32r: Support a synthesizable M32700 core

2006-12-06 Thread Hirokazu Takata
This patch is for supporting a synthesizable M32700 core for the Mappi-II FPGA board. On the core, location of MFT (Multi-Function Timer) registers is slightly different from the M32700 chip. Signed-off-by: Hirokazu Takata [EMAIL PROTECTED] --- include/asm-m32r/m32102.h |7 --- 1 files

Re: [patch] speed up single bio_vec allocation

2006-12-06 Thread Jens Axboe
On Mon, Dec 04 2006, Jens Axboe wrote: On Mon, Dec 04 2006, Chen, Kenneth W wrote: [...] Another idea would be to kill SLAB_HWCACHE_ALIGN (it's pretty pointless, I bet), and always alloc sizeof(*bio) + sizeof(*bvl) in one go when a bio is allocated. It doesn't add a lot of

Re: [PATCH] VIA and SiS AGP chipsets are x86-only

2006-12-06 Thread Alan
On Tue, 5 Dec 2006 20:40:45 -0700 Matthew Wilcox [EMAIL PROTECTED] wrote: On Tue, Dec 05, 2006 at 02:56:41PM -0800, Ian Romanick wrote: I don't know about SiS, but this is certainly *not* true for Via. There are some PowerPC and, IIRC, Alpha motherboards that have Via chipsets. Yes, but

[PATCH] mm: fallback_alloc cpuset_zone_allowed irq fix

2006-12-06 Thread Paul Jackson
From: Paul Jackson [EMAIL PROTECTED] fallback_alloc() could end up calling cpuset_zone_allowed() with interrupts disabled (by code in kmem_cache_alloc_node()), but without __GFP_HARDWALL set, leading to a possible call of a sleeping function with interrupts disabled. This results in the BUG

Re: [patch] speed up single bio_vec allocation

2006-12-06 Thread Jens Axboe
On Wed, Dec 06 2006, Jens Axboe wrote: I still can't help but think we can do better than this, and that this is nothing more than optimizing for a benchmark. For high performance I/O, you will be doing 1 page bio's anyway and this patch wont help you at all. Perhaps we can just kill bio_vec

Re: [PATCH 2.6.19] m32r: Fix access error handler to pass full 32-bit address

2006-12-06 Thread Hirokazu Takata
Hi, Andrew, Sorry, I sent a patch with wrong title. On m32r, ACE is an acronym of not access error, but access exception. Please drop the previous patch entitled [PATCH 2.6.19] m32r: Fix access error handler to pass full 32-bit address. I will resend a correct patch again. Thanks, From:

[PATCH 2.6.19] m32r: Fix ace_handler to pass full 32-bit address

2006-12-06 Thread Hirokazu Takata
Don't mask the lower 12-bit of the page fault address. In the current m32r kernel implementation, we use an access exception to detect page faults. This patch fixes ace_handler (access exception handler) for m32r. In order to check userspace address in do_page_fault, we have to pass full 32-bit

Re: data corruption with nvidia chipsets and IDE/SATA drives

2006-12-06 Thread Christian
Am Sonntag, 3. Dezember 2006 02:17 schrieb Kurtis D. Rader: On Sat, 2006-12-02 01:56:06, Christoph Anton Mitterer wrote: The issue was basically the following: I found a severe bug mainly by fortune because it occurs very rarely. My test looks like the following: I have about 30GB of

Re: [RFC] timers, pointers to functions and type safety

2006-12-06 Thread David Howells
Al Viro [EMAIL PROTECTED] wrote: Guys, please, look at actual users of that stuff. I've been and looked at every single user of work_struct in the kernel (at least, I think I have), and 99% of those just expect data to be the container of the work_struct or a data structure linked to it. I had

[PATCH] usb/hid: The HID Simple Driver Patches 0.4.1 (all-in-one)

2006-12-06 Thread Li Yu
This patch set include follow patches: 1. [PATCH] usb/hid: The HID Simple Driver Interface 0.4.1 (core) 2. [PATCH] usb/hid:Microsoft Natural Ergonomic Keyboard 4000 Driver 0.4.0 3. Some related kbuild changes. The code base is 2.6.19. Is this ready to merge? or

[PATCH] usb/hid: The HID Simple Driver Interface 0.4.1 (core)

2006-12-06 Thread Li Yu
Changelogs (since 0.4.0): 1. Make hidinput_disconnect_core() be more robust, it can not break anything even failed to allocate device struct. 2. Thanks new input device driver API, we need not the extra code for support force-feed device yet, so say bye to CONFIG_HID_SIMPLE_FF.

Re: [PATCH] usb/hid: The HID Simple Driver Interface 0.4.1 (core)

2006-12-06 Thread Jiri Kosina
On Wed, 6 Dec 2006, Li Yu wrote: 1. Make hidinput_disconnect_core() be more robust, it can not break anything even failed to allocate device struct. 2. Thanks new input device driver API, we need not the extra code for support force-feed device yet, so say bye

Re: [PATCH] ata/kconfig: Re: Why SCSI module needed for PCI-IDE ATA only disks ?

2006-12-06 Thread Ed Sweetman
Randy Dunlap wrote: On Tue, 05 Dec 2006 21:46:54 -0500 Ed Sweetman wrote: -ETOOMANYWORDS -ENOPATCH, so here is one to consider. Help text can also be added. supply text This is similar to what USB storage already does. I provided a patch a couple weeks ago when I brought this topic up

Re: Re: [PATCH 0/3] New firewire stack

2006-12-06 Thread Alexander Neundorf
Hi, Von: Stefan Richter [EMAIL PROTECTED] ... bugs get fixed. Mainline's FireWire stack lost a lot of trust at end-users and application developers because of periods of sometimes very visible regressions. For us it's working well, with no major problems (there was a problem with SMP

Why is Memory split Kconfig option only for EMBEDDED?

2006-12-06 Thread Norbert Kiesel
Hi, I remember reading on LKML some time ago that using VMSPLIT_3G_OPT would be optimal for a machine with exactly 1GB memory (like my current desktop). Why is that option only prompted for after selecting EMBEDDED (which I normally don't select for desktop machines)? Best, Norbert - To

[PATCH 2.6.19] i386/io_apic: Fix a typo in an IRQ handler name

2006-12-06 Thread Maciej W. Rozycki
The fasteoi IRQ handler is named fasteio incorrectly. This is a fix. Signed-off-by: Maciej W. Rozycki [EMAIL PROTECTED] --- It should be obvious. Please apply. Maciej patch-mips-2.6.19-rc2-20061023-fasteoi-0 diff -up --recursive --new-file

Re: Why is Memory split Kconfig option only for EMBEDDED?

2006-12-06 Thread Arjan van de Ven
On Wed, 2006-12-06 at 12:42 +0100, Norbert Kiesel wrote: Hi, I remember reading on LKML some time ago that using VMSPLIT_3G_OPT would be optimal for a machine with exactly 1GB memory (like my current desktop). Why is that option only prompted for after selecting EMBEDDED (which I normally

Re: Why is Memory split Kconfig option only for EMBEDDED?

2006-12-06 Thread Norbert Kiesel
On Wed, 2006-12-06 at 12:58 +0100, Arjan van de Ven wrote: On Wed, 2006-12-06 at 12:42 +0100, Norbert Kiesel wrote: Hi, I remember reading on LKML some time ago that using VMSPLIT_3G_OPT would be optimal for a machine with exactly 1GB memory (like my current desktop). Why is that

Re: 2.6.19-rc5-mm1 progression

2006-12-06 Thread Peter Zijlstra
On Mon, 2006-12-04 at 21:32 -0600, Larry Finger wrote: Andrew Morton wrote: On Fri, 24 Nov 2006 17:36:27 +0100 Benoit Boissinot [EMAIL PROTECTED] wrote: On 11/24/06, Larry Finger [EMAIL PROTECTED] wrote: Is there the equivalent of 'git bisect' for the -mmX kernels?

Re: ownership/permissions of cpio initrd

2006-12-06 Thread Rainer Bawidamann
In article [EMAIL PROTECTED], Marty Leisner [EMAIL PROTECTED] writes: But its useful to change permissions/ownership of the initrd files at times... Since a cpio is just a userspace created string of bits, I suppose you can apply a set of ownership/permissions to files IN the archive

Re: [PATCH] Export current_is_keventd() for libphy

2006-12-06 Thread Maciej W. Rozycki
On Tue, 5 Dec 2006, Andy Fleming wrote: We need to make sure there are no more pending phy_change() invocations in the work queue, this is true, however I'm not convinced that this avoids the problem. And now that I come back to this email after Linus's response, let me add that I agree with

Re: -mm merge plans for 2.6.20

2006-12-06 Thread Roman Zippel
Hi, On Tue, 5 Dec 2006, Andrew Morton wrote: IMO it least at needs one more iteration to address the comments that were made (not just mine), in the short term the less it touches unconditionally the less I care right now. I don't have a clue which review comments remain unaddressed -

Re: [PATCH 0/3] New firewire stack

2006-12-06 Thread Stefan Richter
Alexander Neundorf wrote: Von: Stefan Richter [EMAIL PROTECTED] Mainline's FireWire stack lost a lot of trust ... For us it's working well, with no major problems (there was a problem with SMP kernels and the arm mapping, but my kernel is not recent and I didn't find the time yet to update to

Re: [PATCH] VIA and SiS AGP chipsets are x86-only

2006-12-06 Thread Ivan Kokshaysky
On Wed, Dec 06, 2006 at 10:38:48AM +, Alan wrote: VIA south gets used by a lot of the systems but the VIA North bridges I've got docs for cover only x86 variants, although one of the older ones implies it has both K7 and Alpha support (just as the AMD chipset does) VIA chips (even

Re: Why is Memory split Kconfig option only for EMBEDDED?

2006-12-06 Thread Arjan van de Ven
On Wed, 2006-12-06 at 13:19 +0100, Norbert Kiesel wrote: On Wed, 2006-12-06 at 12:58 +0100, Arjan van de Ven wrote: On Wed, 2006-12-06 at 12:42 +0100, Norbert Kiesel wrote: Hi, I remember reading on LKML some time ago that using VMSPLIT_3G_OPT would be optimal for a machine with

[PATCH]: typo in init/initramfs.c

2006-12-06 Thread Jean-Paul Saman
In populate_rootfs() the printk on line 554. It says Unpacking initramfs.., which is confusing because if that line is reached the code has already decided that the image is an initrd image. The printk is thus wrong in stating that it is unpacking an initramfs. It should says initrd instead.

Re: -mm merge plans for 2.6.20

2006-12-06 Thread Roman Zippel
Hi, On Wed, 6 Dec 2006, Thomas Gleixner wrote: If I understand it correctly, Roman wants clockevents to be usable for other things aside hrtimer/dyntick, i.e. let other code request unused timer event hardware for special purposes. I thought about that in the originally but I stayed away

Re: [PATCH] let WARN_ON() output the condition

2006-12-06 Thread Horst H. von Brand
Andrew Morton [EMAIL PROTECTED] wrote: On Wed, 6 Dec 2006 01:51:01 +0100 (CET) Jiri Kosina [EMAIL PROTECTED] wrote: [PATCH] let WARN_ON() output the condition It is possible, in some cases, that the output of WARN_ON() is ambiguous and can't be properly used to identify the exact

Re: BUG? atleast =2.6.19-rc5, x86 chroot on x86_64

2006-12-06 Thread Kasper Sandberg
On Tue, 2006-12-05 at 21:31 -0500, Chuck Ebbert wrote: In-Reply-To: [EMAIL PROTECTED] On Tue, 05 Dec 2006 22:11:11 +, David Howells wrote: I only have 32-bit userspace. When I run your program against a directory on a JFS filesystem (msdos ioctls not supported) I get this on

Re: Why is Memory split Kconfig option only for EMBEDDED?

2006-12-06 Thread Adrian Bunk
On Wed, Dec 06, 2006 at 01:19:08PM +0100, Norbert Kiesel wrote: On Wed, 2006-12-06 at 12:58 +0100, Arjan van de Ven wrote: On Wed, 2006-12-06 at 12:42 +0100, Norbert Kiesel wrote: Hi, I remember reading on LKML some time ago that using VMSPLIT_3G_OPT would be optimal for a machine

Re: BUG? atleast =2.6.19-rc5, x86 chroot on x86_64

2006-12-06 Thread David Howells
Kasper Sandberg [EMAIL PROTECTED] wrote: and i am very very sure its because of this, i can run with the kernel (atleast with rc5 i had that long) for 10 days, and then chroot in, run the 32bit apps, and within hours of using, hardlock. What do you mean by hardlock? Do you mean the

[BUG][PATCH] pcieport-driver: remove invalid warning message

2006-12-06 Thread Kenji Kaneshige
Hi, I got the following warning messages on some PCI Express ports. pcie_portdrv_probe-Dev[1263:10cf] has invalid IRQ. Check vendor BIOS I think this message is improper because those PCI Express ports don't use an interrupt pin. This message should not be displayed for devices which don't

Re: -mm merge plans for 2.6.20

2006-12-06 Thread Ingo Molnar
* Roman Zippel [EMAIL PROTECTED] wrote: On Wed, 6 Dec 2006, Thomas Gleixner wrote: If I understand it correctly, Roman wants clockevents to be usable for other things aside hrtimer/dyntick, i.e. let other code request unused timer event hardware for special purposes. I thought about

Subtleties of __attribute__((packed))

2006-12-06 Thread Phil Endecott
Dear All, I used to think that this: struct foo { int a __attribute__((packed)); char b __attribute__((packed)); ... more fields, all packed ... }; was exactly the same as this: struct foo { int a; char b; ... more fields ... } __attribute__((packed)); but it is not, in a subtle

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

2006-12-06 Thread Anderson Briglia
Hi all, As discussed with Pierre, I changed this patch and now I'm sending a new version. You can track the discussion here: http://linux.omap.com/pipermail/linux-omap-open-source/2006-November/008466.html Another patches weren't modified. Fixed in this patch: - Definition of

[PATCH 2.6.19] m32r: bootloader support for OPSPUT platform

2006-12-06 Thread Hirokazu Takata
This patch supports m32r-g00ff bootloader for an OPSPUT platform. Applying this patch, it is possible to do ATA-boot from an IDE drive or HTTP-boot from network by m32r-g00ff. * arch/m32r/boot/compressed/m32r_sio.c: Fix hangup on OPSPUT at boot. * arch/m32r/kernel/io_opsput.c: IDE

Re: Why is Memory split Kconfig option only for EMBEDDED?

2006-12-06 Thread Norbert Kiesel
On Wed, 2006-12-06 at 13:45 +0100, Arjan van de Ven wrote: On Wed, 2006-12-06 at 13:19 +0100, Norbert Kiesel wrote: On Wed, 2006-12-06 at 12:58 +0100, Arjan van de Ven wrote: On Wed, 2006-12-06 at 12:42 +0100, Norbert Kiesel wrote: Hi, I remember reading on LKML some time ago

[PATCH] PCI legacy resource fix

2006-12-06 Thread Ralf Baechle
Since commit 368c73d4f689dae0807d0a2aa74c61fd2b9b075f the kernel will try to update the non-writeable BAR registers 0..3 of PIIX4 IDE adapters if pci_assign_unassigned_resources() is used to do full resource assignment of the bus. This fails because in the PIIX4 these BAR registers have

Linux should define ENOTSUP

2006-12-06 Thread Samuel Thibault
Hi, ENOTSUP is not used at all by linux (though it is defined for parisc), while as susv3 specifies, ENOTSUP shall be different than EOPNOTSUPP. Is there a reason for doing so? (except history) Currently, code like switch(errno) { ENOTSUP: foo(); break;

Re: [PATCH] PCI legacy resource fix

2006-12-06 Thread Alan
On Wed, 6 Dec 2006 13:41:43 + Ralf Baechle [EMAIL PROTECTED] wrote: Since commit 368c73d4f689dae0807d0a2aa74c61fd2b9b075f the kernel will try to update the non-writeable BAR registers 0..3 of PIIX4 IDE adapters if pci_assign_unassigned_resources() is used to do full resource assignment of

Re: [PATCH] let WARN_ON() output the condition

2006-12-06 Thread Ingo Molnar
* Horst H. von Brand [EMAIL PROTECTED] wrote: Why not just: WARN_ON(debug_locks_off()) here? Would give a more readable message too, IMHO. debug_locks_off() has a side-effect, and in general we dont like to put stuff with side-effects witin WARN_ON(). Ingo - To unsubscribe

Re: Subtleties of __attribute__((packed))

2006-12-06 Thread Frederik Deweerdt
On Wed, Dec 06, 2006 at 01:20:41PM +, Phil Endecott wrote: Dear All, I used to think that this: struct foo { int a __attribute__((packed)); char b __attribute__((packed)); ... more fields, all packed ... }; was exactly the same as this: struct foo { int a; char b;

Suggestion for kevent

2006-12-06 Thread Lukas Jelinek
Hello, I'm interested in kevents and related things. I think it isn't a bad idea to incorporate more event kinds into the kevent implementation. Namely: - processes (exitting/stopping/tracing) - threads (ditto) - futexes (for mutexes, semaphores and conditional variables) - special

Re: [PATCH] Add __GFP_MOVABLE for callers to flag allocations that may be migrated

2006-12-06 Thread Andy Whitcroft
Peter Zijlstra wrote: On Mon, 2006-12-04 at 11:30 -0800, Andrew Morton wrote: I'd also like to pin down the situation with lumpy-reclaim versus anti-fragmentation. No offence, but I would of course prefer to avoid merging the anti-frag patches simply based on their stupendous size. It seems

[PATCH 1/1] Char: isicom, fix card locking

2006-12-06 Thread Jiri Slaby
Eric Fox wrote: Here is what i was able to capture from a terminal logged in to the machine with the ISI board: strace setserial -g /dev/ttyM0 execve(/bin/setserial, [setserial, -g, /dev/ttyM0], [/* 17 vars */]) = 0 uname({sys=Linux, node=dialin-0.vab.com, ...}) = 0 brk(0)

Re: Linux should define ENOTSUP

2006-12-06 Thread Arjan van de Ven
Is there any way to fix this? Glibc people don't seem to want to fix it on their part, see http://sources.redhat.com/bugzilla/show_bug.cgi?id=2363 Hi, Ulrich asked you to go to us once your time travel machine was finished.. is it finished yet ? ;=) this is part of the ABI, so we can't

Re: Subtleties of __attribute__((packed))

2006-12-06 Thread Phil Endecott
Frederik Deweerdt wrote: On Wed, Dec 06, 2006 at 01:20:41PM +, Phil Endecott wrote: I used to think that this: struct foo { int a __attribute__((packed)); char b __attribute__((packed)); ... more fields, all packed ... }; was exactly the same as this: struct foo { int a; char

Re: Linux should define ENOTSUP

2006-12-06 Thread Samuel Thibault
Hi, Arjan van de Ven, le Wed 06 Dec 2006 15:25:14 +0100, a écrit : Is there any way to fix this? Glibc people don't seem to want to fix it on their part, see http://sources.redhat.com/bugzilla/show_bug.cgi?id=2363 Ulrich asked you to go to us once your time travel machine was

Re: -mm merge plans for 2.6.20

2006-12-06 Thread Roman Zippel
Hi, On Wed, 6 Dec 2006, Ingo Molnar wrote: * Roman Zippel [EMAIL PROTECTED] wrote: On Wed, 6 Dec 2006, Thomas Gleixner wrote: If I understand it correctly, Roman wants clockevents to be usable for other things aside hrtimer/dyntick, i.e. let other code request unused timer

Re: [PATCH] let WARN_ON() output the condition

2006-12-06 Thread Jaswinder Singh
Hi, I am playing with linux kernel but kernel dumps on WARN_ON , when I commented WARN_ON in my code my kernel starts working but I get two sideeffects :- 1. During Boot kernel Hangs sometimes in :- Updating /etc/motd...done. INIT: Entering runlevel: 3 hangs 2. Always Hangs in :- cat

Re: 2.6.19-rc5-mm1 progression

2006-12-06 Thread Larry Finger
Peter Zijlstra wrote: On Mon, 2006-12-04 at 21:32 -0600, Larry Finger wrote: Andrew Morton wrote: On Fri, 24 Nov 2006 17:36:27 +0100 Benoit Boissinot [EMAIL PROTECTED] wrote: On 11/24/06, Larry Finger [EMAIL PROTECTED] wrote: Is there the equivalent of 'git bisect' for the -mmX kernels?

Re: Re[2]: More ARM binutils fuckage

2006-12-06 Thread Bruce Ashfield
On 12/6/06, Paul Sokolovsky [EMAIL PROTECTED] wrote: Hello Lennert, Wednesday, December 6, 2006, 3:08:13 AM, you wrote: [] (These days I build all kernels in EABI mode with old-ABI compat.) I have not run into any code generation issues with this compiler yet. I wonder, if OABI-compat

[PATCH][RFC] Restructure Device Driver menu entries

2006-12-06 Thread Robert P. J. Day
This is a *proposed* restructuring of the DD menu so that one can see and select/de-select entire submenus without having to enter each submenu.It's also immediately obvious visually which submenus are currently active. Based on Randy Dunlap's earlier suggestion, it uses the kbuild

Re: -mm merge plans for 2.6.20

2006-12-06 Thread James Simmons
Right back from exams and with lots of spare time :) I got your patch, so I'm going to try your patch and exchange all the platform_device_* stuff with your display class and move ks0108, cfag12864b and cfag12864bfb to drivers/video/display/ Thanks. I will post a new patch soon. - To

Re: [PATCH 0/3] New firewire stack

2006-12-06 Thread Ben Collins
On Wed, 2006-12-06 at 09:56 +0100, Stefan Richter wrote: (Adding Cc: linux1394-devel) Ben Collins wrote at linux-kernel: On Tue, 2006-12-05 at 18:21 -0500, Kristian Høgsberg wrote: Alexey Dobriyan wrote: On Tue, Dec 05, 2006 at 12:22:29AM -0500, Kristian Høgsberg wrote: I'm announcing

Re: Display class

2006-12-06 Thread Miguel Ojeda
On 12/5/06, James Simmons [EMAIL PROTECTED] wrote: This is the pass at a display class to meet the needs of the output class of Mr. Yu for acpi. Also this class could in time replace the lcd class located in the backlight directory since a lcd is a type of display. The final hope is that the

Re: Infinite retries reading the partition table

2006-12-06 Thread Etienne . Vogt
On Thu, 30 Nov 2006, Andrew Morton wrote: That looks like it prevents the IO error. But why was an IO error causing an infinite loop? What piece of code was initiating the retries? Maybe it's related to the infinite domain validation retry loop problem I reported on linux-scsi a few

Re: [PATCH 2.6.19 2/3] sata_promise: new EH conversion

2006-12-06 Thread Mikael Pettersson
On Sun, 03 Dec 2006 22:19:35 +0900, Tejun Heo wrote: Jeff Garzik wrote: Tejun Heo wrote: Hello, Mikael. Thanks for doing this. Mikael Pettersson wrote: [--snip--] +static void pdc_freeze(struct ata_port *ap) +{ +void __iomem *mmio = (void __iomem *) ap-ioaddr.cmd_addr; +u32 tmp;

Re: [PATCH 2.6.19 3/3] sata_promise: cleanups

2006-12-06 Thread Mikael Pettersson
On Sun, 03 Dec 2006 22:05:51 +0900, Tejun Heo wrote: Mikael Pettersson wrote: This patch performs two simple cleanups of sata_promise. * Remove board_20771 and map device id 0x3577 to board_2057x. After the recent corrections for SATAII chips, board_20771 and board_2057x were equivalent

Re: [PATCH 2.6.19 2/3] sata_promise: new EH conversion

2006-12-06 Thread Mikael Pettersson
On Sun, 03 Dec 2006 22:00:42 +0900, Tejun Heo wrote: Mikael Pettersson wrote: +} + +static void pdc_error_handler(struct ata_port *ap) +{ +struct ata_eh_context *ehc = ap-eh_context; +ata_reset_fn_t hardreset; + +/* stop DMA, mask IRQ, don't clobber anything else */ +

[PATCH 2.6.19] sata_promise: cleanups, take 2

2006-12-06 Thread Mikael Pettersson
This patch performs two simple cleanups of sata_promise. * Remove board_20771 and map device id 0x3577 to board_2057x. After the recent corrections for SATAII chips, board_20771 and board_2057x were equivalent in the driver. * Remove hp-hotplug_offset and use hp-flags PDC_FLAG_GEN_II to

Re: [PATCH 2.6.19 2/3] sata_promise: new EH conversion

2006-12-06 Thread Jeff Garzik
Mikael Pettersson wrote: On Sun, 03 Dec 2006 22:00:42 +0900, Tejun Heo wrote: Mikael Pettersson wrote: +} + +static void pdc_error_handler(struct ata_port *ap) +{ + struct ata_eh_context *ehc = ap-eh_context; + ata_reset_fn_t hardreset; + + /* stop DMA, mask IRQ, don't

Re: [PATCH 2.6.19 2/3] sata_promise: new EH conversion

2006-12-06 Thread Tejun Heo
Mikael Pettersson wrote: Don't freeze port unconditionally. You'll end up hardresetting on every error. Just make sure DMA engine is stopped and the controller is in a sane state. If that fails, then, the port should be frozen. Sorry, s/hardresetting/resetting/ I'm looking into this now,

Re: [PATCH 2.6.19 2/3] sata_promise: new EH conversion

2006-12-06 Thread Tejun Heo
Arjan van de Ven wrote: But, having those flushes won't hurt either. What was the conclusion of mmio - spinlock sync discussion? I always feel kind of uncomfortable about readl() flushes. I think they're too subtle. those are orthogonal! The posting flushes have nothing to do with

Re: [PATCH 2.6.19 2/3] sata_promise: new EH conversion

2006-12-06 Thread Tejun Heo
Mikael Pettersson wrote: 3. we don't have them in ahci nor sata_sil24. But you do in sata_sil.c:sil_freeze(). Two versus one. It's democracy. :-) But, having those flushes won't hurt either. libata doesn't specify in its documentation that these driver operations may have delayed

Re: can't boot : Spurious ACK with kernel 2.6.19

2006-12-06 Thread Dmitry Torokhov
On 12/6/06, Alan J. Wylie [EMAIL PROTECTED] wrote: On Wed, 06 Dec 2006 00:00:13 +0100, Bernd Prager [EMAIL PROTECTED] said: I'm trying to upgrade to kernel 1.6.19. The boot process immediatly locks in a loop with the message: atkbd.c: Spurious ACK on isa0060/serio0. Some program might be

GIT pull on work_struct reduction tree

2006-12-06 Thread David Howells
Hi Linus, I've brought the work_struct reduction patches up to date once again. David --- The following changes since commit ec0bf39a471bf6fcd01def2bd677128cea940b73: Linus Torvalds: Merge master.kernel.org:/.../jejb/scsi-misc-2.6 are found in the git repository at:

Re: Subtleties of __attribute__((packed))

2006-12-06 Thread Jan Blunck
On 12/6/06, Phil Endecott [EMAIL PROTECTED] wrote: Dear All, I used to think that this: struct foo { int a __attribute__((packed)); char b __attribute__((packed)); ... more fields, all packed ... }; was exactly the same as this: struct foo { int a; char b; ... more fields

[PATCH -rt 1/3] Make trace_freerunning work; Take 2: Off by 1 tweaks

2006-12-06 Thread Karsten Wiese
Needed to make last trace entry appear when trace_freerunning is 1. Signed-off-by: Karsten Wiese [EMAIL PROTECTED] --- rt6/kernel/latency_trace.c 2006-12-06 00:36:49.0 +0100 +++ rt6-kw/kernel/latency_trace.c 2006-12-06 14:43:52.0 +0100 @@ -181,7 +181,7 @@ static int

[PATCH -rt 0/3] Make trace_freerunning work; Take 2

2006-12-06 Thread Karsten Wiese
Am Dienstag, 5. Dezember 2006 23:10 schrieb Ingo Molnar: freerunning should behave the same way with regard to latency measurement. I.e. report_latency() is still needed, and the kernel will thus do a maximum search over all traces triggered via start/stop. the difference is in the

Re: [PATCH] let WARN_ON() output the condition

2006-12-06 Thread Jiri Kosina
On Wed, 6 Dec 2006, Jaswinder Singh wrote: I am playing with linux kernel but kernel dumps on WARN_ON , when I commented WARN_ON in my code my kernel starts working but I get two sideeffects :- Hi, please, submit a proper bugreport, including all the needed data (see REPORTING-BUGS

Re: -mm merge plans for 2.6.20

2006-12-06 Thread Ingo Molnar
* Roman Zippel [EMAIL PROTECTED] wrote: If I understand it correctly, Roman wants clockevents to be usable for other things aside hrtimer/dyntick, i.e. let other code request unused timer event hardware for special purposes. I thought about that in the originally but I stayed

Re: 2.6.16.32 stuck in generic_file_aio_write()

2006-12-06 Thread Igmar Palsenberg
It's rather large, but for those who want to look at it : http://www.jdi-ict.nl/plain/serial-28112006.txt The same problem, this time with 2.6.19. I've done a show tasks, a show locks, a show regs, and after that, a sync + reboot :) Log is at

Re: Subtleties of __attribute__((packed))

2006-12-06 Thread Phil Endecott
Jan Blunck wrote: On 12/6/06, Phil Endecott [EMAIL PROTECTED] wrote: I used to think that this: struct foo { int a __attribute__((packed)); char b __attribute__((packed)); ... more fields, all packed ... }; was exactly the same as this: struct foo { int a; char b; ... more

Re: Linux should define ENOTSUP

2006-12-06 Thread H. Peter Anvin
Samuel Thibault wrote: this is part of the ABI, so we can't change this in 2006... Ok, so Linux will never be fully posix compliant. That's largely already the case, mostly because there is unfortunately still a fair bit of rubber-stamping Solaris going on. -hpa - To

[PATCH -rt 2/3] Make trace_freerunning work; Take 2: Add atomic_t underrun

2006-12-06 Thread Karsten Wiese
Add atomic_t underrun to struct cpu_trace. Increment it only when trace_freerunning is set and an older trace entry is overwritten. Modify copy_trace() to reorder entries, if underrun != 0. Signed-off-by: Karsten Wiese [EMAIL PROTECTED] --- rt6-kw/kernel/latency_trace-tk2.1.c 2006-12-06

  1   2   3   4   5   6   7   8   >