Re: [PATCH 04/12] Consolidate of_find_property

2007-07-19 Thread David Miller
From: Stephen Rothwell [EMAIL PROTECTED] Date: Fri, 20 Jul 2007 01:11:27 +1000 The only change here is that a readlock is taken while the property list is being traversed on Sparc where it was not taken previously. Also, Sparc uses strcasecmp to compare property names while PowerPC uses

Re: [PATCH 05/12] Consolidate of_get_parent

2007-07-19 Thread David Miller
From: Stephen Rothwell [EMAIL PROTECTED] Date: Fri, 20 Jul 2007 01:12:35 +1000 This requires creating dummy of_node_{get,put} routines for sparc and sparc64. It also adds a read_lock around the parent accesses. Signed-off-by: Stephen Rothwell [EMAIL PROTECTED] Acked-by: David S. Miller

Re: [PATCH 06/12] Consolidate of_get_next_child

2007-07-19 Thread David Miller
From: Stephen Rothwell [EMAIL PROTECTED] Date: Fri, 20 Jul 2007 01:13:48 +1000 This adds a read_lock around the child/next accesses on Sparc. Signed-off-by: Stephen Rothwell [EMAIL PROTECTED] Acked-by: David S. Miller [EMAIL PROTECTED] Tested on SunBlade1500. - To unsubscribe from this

Re: [PATCH 07/12] Consolidate of_find_node_by routines

2007-07-19 Thread David Miller
From: Stephen Rothwell [EMAIL PROTECTED] Date: Fri, 20 Jul 2007 01:14:50 +1000 This consolidates the routines of_find_node_by_path, of_find_node_by_name, of_find_node_by_type and of_find_compatible_device. Again, the comparison of strings are done differently by Sparc and PowerPC and also

Re: [PATCH 09/12] Begin consolidation of of_device.h

2007-07-19 Thread David Miller
From: Stephen Rothwell [EMAIL PROTECTED] Date: Fri, 20 Jul 2007 01:17:08 +1000 This just moves the common stuff from the arch of_device.h files to linux/of_device.h. Signed-off-by: Stephen Rothwell [EMAIL PROTECTED] Acked-by: David S. Miller [EMAIL PROTECTED] Tested on SunBlade1500. - To

Re: [PATCH] Mark sparc and sparc64 as not having virt_to_bus

2007-07-18 Thread David Miller
From: Stephen Rothwell [EMAIL PROTECTED] Date: Wed, 18 Jul 2007 14:41:40 +1000 Signed-off-by: Stephen Rothwell [EMAIL PROTECTED] --- arch/sparc/Kconfig |3 +++ arch/sparc64/Kconfig |3 +++ include/asm-sparc64/io.h |5 - 3 files changed, 6 insertions(+), 5

Re: Start the consolidation of the OpenFrimware support routines

2007-07-18 Thread David Miller
From: Stephen Rothwell [EMAIL PROTECTED] Date: Wed, 18 Jul 2007 17:30:24 +1000 Hi Dave, Paul, The latest version of the changes is available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/sfr/ofcons.git master I will send patches to the lists if people want

Re: [PATCH] Mark sparc and sparc64 as not having virt_to_bus

2007-07-18 Thread David Miller
From: Mark Fortescue [EMAIL PROTECTED] Date: Wed, 18 Jul 2007 15:09:41 +0100 (BST) Currently, sun4c (and sun4m) do NOT support the FDC driver as a module. I did look at it but decided there were better issues to resolve at the time. The easiest thing to do is to make it so that the floppy

Re: [sparc64] Strange interaction between 2.6 kernel and 2.5 (and 2.6) glibc

2007-07-12 Thread David Miller
From: BERTRAND_Joël [EMAIL PROTECTED] Date: Thu, 12 Jul 2007 09:17:04 +0200 Are there significative differences between futex management on sbus and pci sparc64 ? Absolutely none. If it is some race, the timing differences of the two cpus can be enough to make it hard if not impossible to

Re: [sparc64] Strange interaction between 2.6 kernel and 2.5 (and 2.6) glibc

2007-07-12 Thread David Miller
From: BERTRAND_Joël [EMAIL PROTECTED] Date: Thu, 12 Jul 2007 11:11:32 +0200 I'm lucky ;-) First mail in clamd and clamd sleeps... You can find in attachement complete strace log (strace -ff ...). It is looping at the end servicing SIGINT over and over, are you pressing Ctrl-C at the

Re: [BUG sparc64] 2.6.22-rc broke X on Ultra5

2007-07-11 Thread David Miller
From: Mikael Pettersson [EMAIL PROTECTED] Date: Wed, 11 Jul 2007 03:11:27 +0200 (MEST) I can post the full .config if needed, but it has nothing exotic in it AFAIK. Even PREEMPT is disabled (and always has been). Not needed, thanks for the report. I'll try to beat on this myself some more. -

Re: [sparc64] Strange interaction between 2.6 kernel and 2.5 (and 2.6) glibc

2007-07-11 Thread David Miller
From: BERTRAND_Joël [EMAIL PROTECTED] Date: Wed, 11 Jul 2007 12:24:07 +0200 Root rayleigh:[/etc/mail] ps -eLf | grep clamd clamav3502 1 3502 12 10:53 ?00:01:23 /usr/sbin/clamd clamav3502 1 7226 02 12:00 ?00:00:00 /usr/sbin/clamd root 8091

Re: [sparc64] Strange interaction between 2.6 kernel and 2.5 (and 2.6) glibc

2007-07-10 Thread David Miller
From: BERTRAND_Joël [EMAIL PROTECTED] Date: Tue, 10 Jul 2007 09:53:12 +0200 When clamav-daemon (or all other daemons) remain in sleep mode, I cannot quickly restart this daemon by /etc/init.d/$(daemon) restart, I have to wait for a timeout. Use the kernel sysrq keystrokes to get a

Re: [BUG sparc64] 2.6.22-rc broke X on Ultra5

2007-07-09 Thread David Miller
From: Dmitry Artamonow [EMAIL PROTECTED] Date: Sun, 8 Jul 2007 22:05:08 +0400 On 23:02 Fri 06 Jul , David Miller wrote: Seems that your patch was not the only related change between -rc4 and -rc5. Anyway, X still doesn't work with -rc5 so probably problem is somewhere else. I

Re: [BUG sparc64] 2.6.22-rc broke X on Ultra5

2007-07-07 Thread David Miller
From: Dmitry Artamonow [EMAIL PROTECTED] Date: Fri, 6 Jul 2007 15:44:16 +0400 Seems that your patch was not the only related change between -rc4 and -rc5. Anyway, X still doesn't work with -rc5 so probably problem is somewhere else. I sent you privately strace logs for X with 2.6.22-rc5. Some

Re: [BUG sparc64] 2.6.22-rc broke X on Ultra5

2007-07-06 Thread David Miller
From: Mikael Pettersson [EMAIL PROTECTED] Date: Thu, 14 Jun 2007 10:13:46 +0200 Same failure here with xorg-6.8.1 and 2.6.22-rc4 + this patch, unfortunately. I've made an Xorg strace log for this kernel, and regular Xorg log files for 2.6.21 and this kernel, available in:

Re: [BUG sparc64] 2.6.22-rc broke X on Ultra5

2007-07-06 Thread David Miller
From: David Miller [EMAIL PROTECTED] Date: Fri, 06 Jul 2007 02:33:59 -0700 (PDT) But that works properly on my SB1500, so I'll try this test program next on my ultra5. It should print: x0:0x8e100080 x8:0x0006 and an strace of that test program shows good reads: open(/proc/bus/pci

Re: [BUG] 2.6.22-rc7 breaks nis server on sparc64

2007-07-06 Thread David Miller
From: BERTRAND_Joël [EMAIL PROTECTED] Date: Fri, 06 Jul 2007 11:39:26 +0200 Hello, I test a 2.6.22-rc7 kernel on a U60/SMP. This U60 is a NIS server for a U2 (that runs 2.6.21.3). If U60 runs a 2.6.21.5, ypserv runs fine. With 2.6.22-rc7 (and of course the same system), ypbind

Re: [PATCH] Re: Sparc32: random invalid instruction occourances on sparc32 (sun4c)

2007-07-03 Thread David Miller
From: David Woodhouse [EMAIL PROTECTED] Date: Tue, 03 Jul 2007 15:26:18 -0400 On Tue, 2007-07-03 at 19:57 +0100, Mark Fortescue wrote: Commit b46b8f19c9cd435ecac4d9d12b39d78c137ecd66 partially fixed alignment issues but does not ensure that all 64bit alignment requirements of sparc32

Linux support for Sun LDOMs

2007-06-27 Thread David Miller
Over the past few weeks I've coded up preliminary support for Linux to boot as a guest under Sun Logical Domains on Niagara systems. Details at my blog: http://vger.kernel.org/~davem/cgi-bin/blog.cgi/index.html There are test install images, and links to my GIT tree with all the

Re: [PATCH] Fix build errors with strict MM checking

2007-06-12 Thread David Miller
From: Martin Habets [EMAIL PROTECTED] Date: Wed, 13 Jun 2007 00:16:00 +0100 @@ -2137,11 +2137,11 @@ static unsigned long srmmu_pte_to_pgoff( static pgprot_t srmmu_pgprot_noncached(pgprot_t prot) { - prot = ~__pgprot(SRMMU_CACHE); + pgprot_val(prot) = ~SRMMU_CACHE;

Re: Ultra 1 hang on boot

2007-06-06 Thread David Miller
From: Meelis Roos [EMAIL PROTECTED] Date: Wed, 6 Jun 2007 15:49:38 +0300 (EEST) boot: test -p Allocated 8 Megs of memory at 0x4000 for kernel Uncompressing image... Loaded kernel version 2.6.22 PROMLIB: Sun IEEE Boot Prom 'OBP 3.25.0 1999/12/03 11:37' PROMLIB: Root node compatible:

Re: section mismatches from sun4v*_patch in trampoline.S

2007-06-05 Thread David Miller
From: Sam Ravnborg [EMAIL PROTECTED] Date: Sat, 2 Jun 2007 22:32:06 +0200 I do not know if it is OK to use .init.text?? I would assume that CONFIG_HOTPLUG_CPU had impact here. The __INIT and __INITDATA assembler macros in linux/init.h for a while would select the section properly based upon

Re: [2/2] 2.6.22-rc4: known regressions with patches

2007-06-05 Thread David Miller
From: Michal Piotrowski [EMAIL PROTECTED] Date: Tue, 05 Jun 2007 16:54:35 +0200 Sparc64 Subject: arch/sparc64/time.c doesn't compile on Ultra 1 (no PCI) References : http://bugzilla.kernel.org/show_bug.cgi?id=8540 Submitter : Horst H. von Brand [EMAIL PROTECTED] Status : patch

Re: Alignment question, sparc-centric

2007-06-03 Thread David Miller
From: Jan Engelhardt [EMAIL PROTECTED] Date: Sun, 3 Jun 2007 12:26:45 +0200 (MEST) On Jun 3 2007 12:14, Bernhard R. Link wrote: * David Miller [EMAIL PROTECTED] [070602 22:09]: Types must be aligned on their natural size, and GCC can assume this everywhere you reference such types

Re: Alignment question, sparc-centric

2007-06-02 Thread David Miller
From: Mark Fortescue [EMAIL PROTECTED] Date: Sat, 2 Jun 2007 19:46:21 +0100 (BST) Some versions of GCC may be capable of sorting out the correct code but my experience is avoid the situation to start with by using code similar to memcpy (x, un_aligned_x, sizeof x). This unfortunately doesn't

Re: section mismatches from sun4v*_patch in trampoline.S

2007-06-02 Thread David Miller
From: Sam Ravnborg [EMAIL PROTECTED] Date: Sat, 2 Jun 2007 22:32:06 +0200 The good news is that there is a nice pattern here. All sections that have the references end in _patch. So a simple solution is to teach modpost to not warn about references from a section named *_patch to .init.text

Re: section mismatches from sun4v*_patch in trampoline.S

2007-06-02 Thread David Miller
From: Sam Ravnborg [EMAIL PROTECTED] Date: Sun, 3 Jun 2007 01:00:50 +0200 Btw I cannot see why ia64 does not give warnings with their use of .data.patch.*. It could be a modpost bug... Keep in mind that if you prefix a section name with .data.foo or .text.foo this might have meaning for a

Re: [BUG sparc64] 2.6.22-rc broke X on Ultra5

2007-05-30 Thread David Miller
From: Mikael Pettersson [EMAIL PROTECTED] Date: Wed, 30 May 2007 21:33:18 +0200 (MEST) You were spot on. 2.6.21 + patches up to but not including the first one above works. Adding that one gave me a kernel that wouldn't boot (hung after uncompressing kernel). Adding the second one above gave

Re: Linker script cleanup / consolidation

2007-05-29 Thread David Miller
From: Sam Ravnborg [EMAIL PROTECTED] Date: Mon, 28 May 2007 20:53:36 +0200 First off. I tried building a sparc64 kernel from -linus using defconfig and got no section mismatch warnings. Turn on SMP. :-) - To unsubscribe from this list: send the line unsubscribe sparclinux in the body of a

Re: [PATCH] sun_esp.c build for sparc32 UP

2007-05-29 Thread David Miller
From: Martin Habets [EMAIL PROTECTED] Date: Tue, 29 May 2007 00:43:04 +0100 These are due to udelay(). The code includes asm/delay.h (indirectly), but that is not enough to make it work. Indeed, my initial suspicion was right, I have fixed this already in my sparc-2.6 GIT tree since late last

Re: [RFT] [SPARC] Emulate cmpxchg like parisc

2007-05-29 Thread David Miller
From: Martin Habets [EMAIL PROTECTED] Date: Tue, 29 May 2007 21:30:45 +0100 On Tue, May 29, 2007 at 01:12:33AM -0700, David Miller wrote: From: Martin Habets [EMAIL PROTECTED] Date: Tue, 29 May 2007 00:37:01 +0100 Good to see someone has a crystal ball handy. So a patch like like

Re: Linux turn on sun hardware LEDs?

2007-05-28 Thread David Miller
From: Richard Chan [EMAIL PROTECTED] Date: Tue, 29 May 2007 12:53:52 +0800 I'm using Ubuntu Linux on a piece of Sun hw - a SunFire v210 - I'm just curious about using Linux to turn on the LEDs on the bezel. (Something similar to /usr/sbin/locator on Solaris for the locator LED, also

Re: Linux always starts with 9600 8N1

2007-05-27 Thread David Miller
From: Jan Engelhardt [EMAIL PROTECTED] Date: Sun, 27 May 2007 16:32:27 +0200 (MEST) On May 26 2007 15:47, David Miller wrote: I have set the OBP to run at 115200, also set agetty on ttyS0 to do the same, and also added console=ttyS0,115200 to silo.conf (and also tried console

Re: [PATCH] Linux always started with 9600 8N1

2007-05-27 Thread David Miller
From: Jan Engelhardt [EMAIL PROTECTED] Date: Sun, 27 May 2007 18:44:18 +0200 (MEST) On May 26 2007 15:47, David Miller wrote: I have set the OBP to run at 115200, also set agetty on ttyS0 to do the same, and also added console=ttyS0,115200 to silo.conf (and also tried console

Re: [PATCH] Linux always started with 9600 8N1

2007-05-27 Thread David Miller
From: David Miller [EMAIL PROTECTED] Date: Sun, 27 May 2007 14:16:22 -0700 (PDT) So even writes to so-called 'read-only' sections of the kernel image will work and therefore I don't understand what the bug could be other than the compiler optimizing away the write to the constant string

Re: [RFT] [SPARC] Emulate cmpxchg like parisc

2007-05-26 Thread David Miller
From: Kyle McMartin [EMAIL PROTECTED] Date: Sat, 26 May 2007 10:45:09 -0400 On Fri, May 25, 2007 at 10:00:36PM -0700, David Miller wrote: After some minor fixes this builds, and the DRM drivers also build again. I cannot test this since I do not have a machine with PCI or these cards

Re: [RFT] [SPARC] Emulate cmpxchg like parisc

2007-05-26 Thread David Miller
From: Dave Airlie [EMAIL PROTECTED] Date: Sat, 26 May 2007 21:32:10 +0100 (IST) the DRM can use cmpxchg in userspace, to implement DRM_CAS, have a look in drm git libdrm/xf86drm.h we appear to have a sparc implementation, this gives us fast userspace locking, however if an arch doesn't

Re: [RFT] [SPARC] Emulate cmpxchg like parisc

2007-05-26 Thread David Miller
From: Kyle McMartin [EMAIL PROTECTED] Date: Sat, 26 May 2007 19:41:34 -0400 I don't see what the problem is? If we can't do it in userspace, we fall back to a heavyweight ioctl lock. This sounds sensible to me. On parisc we implement userspace CAS with a lightweight syscall on our gateway

Re: [2/3] 2.6.22-rc2: known regressions v2

2007-05-25 Thread David Miller
From: Chris Newport [EMAIL PROTECTED] Date: Fri, 25 May 2007 19:03:51 +0100 Not really a Solaris feature. This is a feature of the Openboot PROM which is also used by several other vendors. The Openboot PROM knows how to write to disk. The same should apply on Apple hardware and others

Re: [RFT] [SPARC] Emulate cmpxchg like parisc

2007-05-25 Thread David Miller
From: Martin Habets [EMAIL PROTECTED] Date: Sat, 26 May 2007 01:24:40 +0100 Hi Kyle, After some minor fixes this builds, and the DRM drivers also build again. I cannot test this since I do not have a machine with PCI or these cards. Removed your name in the comment, as that went out of

Re: Linker script cleanup / consolidation

2007-05-24 Thread David Miller
From: Sam Ravnborg [EMAIL PROTECTED] Date: Thu, 24 May 2007 22:09:34 +0200 The other archs shall have a similar clean-up over time. sparc64 was just a good place to start because David had expressed that he liked the consolidation. This looks great. In fact I'd be happy with you pushing this

Re: Linker script cleanup / consolidation

2007-05-24 Thread David Miller
From: Sam Ravnborg [EMAIL PROTECTED] Date: Thu, 24 May 2007 23:15:11 +0200 On Thu, May 24, 2007 at 01:45:12PM -0700, David Miller wrote: From: Sam Ravnborg [EMAIL PROTECTED] Date: Thu, 24 May 2007 22:09:34 +0200 The other archs shall have a similar clean-up over time. sparc64

Re: [PATCH]: Better serial console identification

2007-05-24 Thread David Miller
From: Tom \spot\ Callaway [EMAIL PROTECTED] Date: Thu, 24 May 2007 08:12:58 -0500 So, while I certainly don't disagree with your findings, this is not the resolution to the problem. Thanks for double checking everything Tom. I'm going to put this patch on the back burner for now until I come

Re: [PATCH]: Better serial console identification

2007-05-23 Thread David Miller
From: Tom \spot\ Callaway [EMAIL PROTECTED] Date: Wed, 23 May 2007 14:04:02 -0500 Just for kicks, I tried passing esp_bus_reset_settle=10, but it doesn't change the result at all. I also grabbed a log with esp_debug=2047, that log is attached. A serial driver change breaking SCSI is a new

Re: [PATCH]: Better serial console identification

2007-05-23 Thread David Miller
From: Tom \spot\ Callaway [EMAIL PROTECTED] Date: Wed, 23 May 2007 14:04:02 -0500 Just for kicks, I tried passing esp_bus_reset_settle=10, but it doesn't change the result at all. I also grabbed a log with esp_debug=2047, that log is attached. Does this fix the problem? diff --git

Re: [PATCH] pluto: use wait_for_completion_timeout

2007-05-23 Thread David Miller
From: Christoph Hellwig [EMAIL PROTECTED] Date: Sun, 13 May 2007 17:49:02 +0200 Signed-off-by: Christoph Hellwig [EMAIL PROTECTED] Applied, thanks! - To unsubscribe from this list: send the line unsubscribe sparclinux in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [PATCH] sparc64: kill unused DIE_PAGE_FAULT enum value

2007-05-23 Thread David Miller
From: Christoph Hellwig [EMAIL PROTECTED] Date: Tue, 15 May 2007 13:13:25 +0200 sparc64 got rid of the pagefault notifiers, so the enum value for them can go away aswell. Signed-off-by: Christoph Hellwig [EMAIL PROTECTED] Applied, thanks for catching this Christoph. - To unsubscribe from

Re: [PATCH]: Better serial console identification

2007-05-23 Thread David Miller
From: Tom \spot\ Callaway [EMAIL PROTECTED] Date: Wed, 23 May 2007 16:56:59 -0500 On Wed, 2007-05-23 at 14:27 -0700, David Miller wrote: From: Tom \spot\ Callaway [EMAIL PROTECTED] Date: Wed, 23 May 2007 14:04:02 -0500 Just for kicks, I tried passing esp_bus_reset_settle=10

Re: Inheriting a V215: does pci_fire.c mean this is now supported?

2007-05-19 Thread David Miller
Yes the V215 should work. - To unsubscribe from this list: send the line unsubscribe sparclinux in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] removes mismatch section warnigs in sparc time.c file

2007-05-19 Thread David Miller
From: Krzysztof Helt [EMAIL PROTECTED] Date: Sun, 20 May 2007 19:11:25 +0200 From: Krzysztof Helt [EMAIL PROTECTED] This patch removes mismatch section warnings in the sparc/kernel/time.c file. Signed-off-by: Krzysztof Helt [EMAIL PROTECTED] Why in the world do you have CONFIG HOTPLUG

Re: [PATCH] sunzilog: section mismatch fix

2007-05-19 Thread David Miller
From: Krzysztof Helt [EMAIL PROTECTED] Date: Sun, 20 May 2007 19:47:14 +0200 From: Krzysztof Helt [EMAIL PROTECTED] This patch fixes section mismatch warnings in the sunzilog driver. Signed-off-by: Krzysztof Helt [EMAIL PROTECTED] Your patch was space and tab corrupted so I had to apply

Re: How to load 2.6.22 kernel (image too large to fit ...)

2007-05-18 Thread David Miller
From: Krzysztof Helt [EMAIL PROTECTED] Date: Fri, 18 May 2007 07:50:31 +0200 I have tried to load the latest 2.6.22-rc1 and failed miserably. I got 2.6MB kernel after modularization and famous strip -R. note -R .commend trick. Nevertheless, it is still too big. I upgrades SILO to 1.4.13 and

Re: How to load 2.6.22 kernel (image too large to fit ...)

2007-05-18 Thread David Miller
From: Krzysztof Helt [EMAIL PROTECTED] Date: Sat, 19 May 2007 23:44:53 +0200 I overcame the problem with too big kernel with the attached patch, but I run into another problem. Now, the silo says: You haven't told us why you simply cannot make the kernel smaller by building more things as

Re: [PATCH]: Fix for SB100/SB150 bootup hangs

2007-05-17 Thread David Miller
From: David Miller [EMAIL PROTECTED] Date: Mon, 16 Apr 2007 15:21:07 -0700 (PDT) But the bottom line is that we must use the output-device to determine the console output framebuffer device in the absense of a console= command line specification. The status of this is that I just had an email

Re: autoloading snd_sun_cs4231?

2007-05-17 Thread David Miller
From: Meelis Roos [EMAIL PROTECTED] Date: Thu, 17 May 2007 11:25:34 +0300 (EEST) What is needed to autoload snd_sun_cs4231 on Ultra 5? It's not pci but ebus - do we have ebus modalias support, or what would I need to know to write one? of_device autoloading is what you need, powerpc

Re: slab hang on boot

2007-05-16 Thread David Miller
From: David Miller [EMAIL PROTECTED] Date: Tue, 15 May 2007 18:03:16 -0700 (PDT) From: Christoph Lameter [EMAIL PROTECTED] Date: Tue, 15 May 2007 18:00:23 -0700 (PDT) Slab allocators: Define common size limitations Thanks for doing this work Christoph, I'll test this patch out on all my

Re: parport_pc BUG in dma-mapping.h

2007-05-16 Thread David Miller
From: Meelis Roos [EMAIL PROTECTED] Date: Wed, 16 May 2007 20:32:38 +0300 (EEST) Unfortunately it does not seems to fix it. Thanks I'll look more deeply into this. BUG: at include/linux/slub_def.h:89 kmalloc_index() This problem is known and a fix is being worked on. - To unsubscribe from

Re: slab hang on boot

2007-05-15 Thread David Miller
From: Andrew Morton [EMAIL PROTECTED] Date: Tue, 15 May 2007 17:29:57 -0700 This: struct kmem_cache kmalloc_caches[KMALLOC_SHIFT_HIGH + 1] __cacheline_aligned; is still there. My bad, we tried using min_t() and that's what caused the problems, that's why we open-coded the macro like it is

Re: slab hang on boot

2007-05-15 Thread David Miller
From: Christoph Lameter [EMAIL PROTECTED] Date: Tue, 15 May 2007 18:00:23 -0700 (PDT) Slab allocators: Define common size limitations Thanks for doing this work Christoph, I'll test this patch out on all my sparc64 boxes, with both SLAB and SLUB, later this evening. - To unsubscribe from this

Re: parport_pc BUG in dma-mapping.h

2007-05-14 Thread David Miller
From: Meelis Roos [EMAIL PROTECTED] Date: Sun, 13 May 2007 13:20:49 +0300 (EEST) Tried todays git kernel on Ultra 5 (withe the pci __init change and solaris module export patch). Cups startup causes parport_pc probe and this causes the following BUG. Full dmesg is also below.

Re: [PATCH] fix sparc32 kdebug changes

2007-05-14 Thread David Miller
From: David Miller [EMAIL PROTECTED] Date: Mon, 14 May 2007 03:22:34 -0700 (PDT) I'll see if I can work out the SMP build breakage. This gets UP sparc32 building again: commit 6e46507d0178ad4b33ed3bfcc72dc6e1e8a17790 Author: David S. Miller [EMAIL PROTECTED] Date: Mon May 14 03:53:47 2007

Re: slab hang on boot

2007-05-14 Thread David Miller
From: Meelis Roos [EMAIL PROTECTED] Date: Mon, 14 May 2007 21:36:42 +0300 (EEST) Sorry, I could not test the parport patch yet - I did git upgrade as of yesterday and the kernel hangs on boot. boot -p reveals the following slab panic: Please enable SLUB to work around this for now, SLAB

Re: parport_pc BUG in dma-mapping.h

2007-05-12 Thread David Miller
From: Meelis Roos [EMAIL PROTECTED] Date: Sat, 12 May 2007 22:54:44 +0300 (EEST) Tried todays git kernel on Ultra 5 (withe the pci __init change and solaris module export patch). Cups startup causes parport_pc probe and this causes the following BUG. Full dmesg is also below. Usually you're

Re: [PATCH] add missing syscalls

2007-05-11 Thread David Miller
From: Robert Reif [EMAIL PROTECTED] Date: Fri, 11 May 2007 06:55:08 -0400 Add some missing syscalls. Signed-off-by: Robert Reif [EMAIL PROTECTED] This is not correct, the syscall checker is warning unnecessarily, I've looked into this one before. Sparc supported the full 32-bit variants of

Re: [PATCH] spelling fixes: arch/sparc/

2007-05-11 Thread David Miller
From: Simon Arlott [EMAIL PROTECTED] Date: Fri, 11 May 2007 20:43:28 +0100 Spelling fixes in arch/sparc/. Signed-off-by: Simon Arlott [EMAIL PROTECTED] Applied. - To unsubscribe from this list: send the line unsubscribe sparclinux in the body of a message to [EMAIL PROTECTED] More majordomo

Re: [PATCH] spelling fixes: arch/sparc64/

2007-05-11 Thread David Miller
From: Simon Arlott [EMAIL PROTECTED] Date: Fri, 11 May 2007 20:43:37 +0100 Spelling fixes in arch/sparc64/. Signed-off-by: Simon Arlott [EMAIL PROTECTED] Applied, thanks. - To unsubscribe from this list: send the line unsubscribe sparclinux in the body of a message to [EMAIL PROTECTED] More

Re: 2.6.21+git warnings and error

2007-05-11 Thread David Miller
From: Meelis Roos [EMAIL PROTECTED] Date: Fri, 11 May 2007 19:22:59 +0300 (EEST) WARNING: arch/sparc64/kernel/built-in.o - Section mismatch: reference to .init.text:pci_resource_adjust from .text between 'pcibios_resource_to_bus' (at offset 0xc2ac) and 'pcibios_bus_to_resource' WARNING:

Re: vm changes from linux-2.6.14 to linux-2.6.15

2007-05-10 Thread David Miller
From: Benjamin Herrenschmidt [EMAIL PROTECTED] Date: Thu, 10 May 2007 16:29:43 +1000 We never seemed to reach completion here? Well, I'm waiting for other people comments too... as I said earlier, I'm not too fan of burrying the update_mmu_cache() inside ptep_set_access_flags(), but

Re: XVR-500 support in XVR-2500 driver?

2007-05-08 Thread David Miller
From: Jan Engelhardt [EMAIL PROTECTED] Date: Tue, 8 May 2007 10:50:56 +0200 (MEST) On May 7 2007 14:03, David Miller wrote: diff --git a/drivers/video/sunxvr2500.c b/drivers/video/sunxvr2500.c index 4010492..4316c7f 100644 --- a/drivers/video/sunxvr2500.c +++ b/drivers/video/sunxvr2500.c

Re: XVR-500 support in XVR-2500 driver?

2007-05-07 Thread David Miller
From: David Miller [EMAIL PROTECTED] Date: Mon, 07 May 2007 13:54:51 -0700 (PDT) From: Meelis Roos [EMAIL PROTECTED] Date: Mon, 7 May 2007 23:21:44 +0300 (EEST) The newly merged XVR-500 and XVR-2500 drivers both seem to have PCI_DEVICE(PCI_VENDOR_ID_3DLABS, 0x7a2) (XVR-500) support in pci

Re: [PATCH]: Final ESP driver rewrite

2007-05-07 Thread David Miller
From: Martin Habets [EMAIL PROTECTED] Date: Mon, 7 May 2007 20:49:30 +0100 Hello David, Building this I got the following warnings from modpost: WARNING: vmlinux - Section mismatch: reference to .init.text:esp_bootup_reset from .text between 'esp_eh_host_reset_handler' (at offset

Re: XVR-500 support in XVR-2500 driver?

2007-05-07 Thread David Miller
From: Tom \spot\ Callaway [EMAIL PROTECTED] Date: Mon, 07 May 2007 16:23:41 -0500 Thanks for these drivers, fills a much requested void! Do you know if there is a matching xorg driver to go along with the kernel implementation? I reverse engineered the hardware by poking at these chips from

Re: [TESTING NEEDED] drivers/serial/sunzilog: Interrupt enable before ISR handler installed

2007-05-07 Thread David Miller
From: Mark Fortescue [EMAIL PROTECTED] Date: Sun, 29 Apr 2007 23:00:29 +0100 (BST) I have altered the patch as advised and I have attached it to prevent my email client from making a mess of it. The attached patch changes the interrupt enable sequence for the sunzilog driver so that

Re: [PATCH] fix sun_esp.c compile

2007-05-06 Thread David Miller
From: Robert Reif [EMAIL PROTECTED] Date: Sun, 06 May 2007 22:20:47 -0400 Fix a sparc32 compile problem in latest git. drivers/scsi/sun_esp.c: In function 'sbus_esp_reset_dma': drivers/scsi/sun_esp.c:294: error: 'loops_per_jiffy' undeclared (first use in this function)

Re: ICE with GCC 4.1

2007-05-02 Thread David Miller
From: Jan Engelhardt [EMAIL PROTECTED] Date: Wed, 2 May 2007 12:20:25 +0200 (MEST) On May 1 2007 20:48, Ludovic Courtès wrote: Hi, Does anyone get the following ICE when compiling the latest kernel (from David Miller's Git tree) on sparc32: Does it always error out at the same point?

Re: [PATCH 0/11] Consolidation of Open Firmware routines

2007-05-01 Thread David Miller
From: Jan Engelhardt [EMAIL PROTECTED] Date: Tue, 1 May 2007 13:17:42 +0200 (MEST) On May 1 2007 01:51, David Miller wrote: From: Jan Engelhardt [EMAIL PROTECTED] Date: Tue, 1 May 2007 10:30:02 +0200 (MEST) but i'd kinda want drivers/openfirmware, even if it's a bit longer. So much

Re: vm changes from linux-2.6.14 to linux-2.6.15

2007-04-30 Thread David Miller
From: Andrew Morton [EMAIL PROTECTED] Date: Mon, 30 Apr 2007 14:54:14 -0700 On Mon, 30 Apr 2007 22:36:27 +0100 (BST) Mark Fortescue [EMAIL PROTECTED] wrote: Hi all, I have tracked down a failure to successfully load/run the init task on my Sparcstation 1 clone (SS1) and Sparcstation

Re: vm changes from linux-2.6.14 to linux-2.6.15

2007-04-30 Thread David Miller
From: Mark Fortescue [EMAIL PROTECTED] Date: Mon, 30 Apr 2007 23:33:13 +0100 (BST) Is this just sun4c or does it affect other sparc32 architectures. Only sun4c. srmmu's update_mmu_cache() is basically a NOP. - To unsubscribe from this list: send the line unsubscribe sparclinux in the body of a

Re: vm changes from linux-2.6.14 to linux-2.6.15

2007-04-30 Thread David Miller
From: Benjamin Herrenschmidt [EMAIL PROTECTED] Date: Tue, 01 May 2007 10:00:19 +1000 Interesting - thanks for working that out. Let's keep linux-mm on cc please. You can't elide the update_mmu_cache() call on sun4c because that will miss some critical TLB setups which are

Re: [TESTING NEEDED] drivers/serial/sunzilog: Interrupt enable before ISR handler installed

2007-04-28 Thread David Miller
Your patch is extremely mangled, please try to email it to yourself and apply it if in doubt. Furthermore, the comment your patch adds is unnecessary. That kind of text belongs in the changelog comment, not the code. The changelog is also where you'll get credit for your change. There is no

Re: [PATCH]: Final ESP driver rewrite

2007-04-27 Thread David Miller
From: Jan Engelhardt [EMAIL PROTECTED] Date: Fri, 27 Apr 2007 09:57:34 +0200 (MEST) On Apr 27 2007 00:28, David Miller wrote: This is the patch I intend to send to Linus via my sparc-2.6 tree. Thanks to everyone for the review and testing! commit

Re: [RFC PATCH]: Rewritten ESP driver, porters needed!

2007-04-27 Thread David Miller
From: Christoph Hellwig [EMAIL PROTECTED] Date: Fri, 27 Apr 2007 16:16:58 +0100 aic7xxx might not be the best driver to look at either :) In practice a softirq has short enough latency so this doesn't matter, but you should probably benchmark it on your hardware. 53x700.c which is the most

Re: Dropping sparc32 for lenny

2007-04-25 Thread David Miller
From: Jan Engelhardt [EMAIL PROTECTED] Date: Wed, 25 Apr 2007 09:02:33 +0200 (MEST) On Apr 24 2007 17:17, BERTRAND Joël wrote: Thus dropped sparc32 arch will be a big strategic error for Debian. So use another distribution. That said, does not the existence of

Re: [TESTERS NEEDED]: Rewritten ESP driver

2007-04-24 Thread David Miller
From: BERTRAND_Joël [EMAIL PROTECTED] Date: Tue, 24 Apr 2007 10:01:20 +0200 David Miller a écrit : From: BERTRAND_Joël [EMAIL PROTECTED] Date: Mon, 23 Apr 2007 11:21:58 +0200 Is it possible to you to send your esp.c in attachment ? I use esp driver with all patches you have sent

Re: [TESTERS NEEDED]: Rewritten ESP driver

2007-04-23 Thread David Miller
From: BERTRAND_Joël [EMAIL PROTECTED] Date: Mon, 23 Apr 2007 10:42:55 +0200 esp: esp0: Aborting command [fb850200:2a] followed by a lot of insane messages ;-) I fixed that, see my other patch. - To unsubscribe from this list: send the line unsubscribe sparclinux in the body of a message to

Re: [TESTERS NEEDED]: Rewritten ESP driver

2007-04-23 Thread David Miller
From: David Miller [EMAIL PROTECTED] Date: Mon, 23 Apr 2007 02:06:08 -0700 (PDT) From: BERTRAND_Joël [EMAIL PROTECTED] Date: Mon, 23 Apr 2007 10:42:55 +0200 esp: esp0: Aborting command [fb850200:2a] followed by a lot of insane messages ;-) I fixed that, see my other patch. To clarify

Re: [TESTERS NEEDED]: Rewritten ESP driver

2007-04-22 Thread David Miller
From: Georg Chini [EMAIL PROTECTED] Date: Sun, 22 Apr 2007 11:01:23 +0200 Hi Dave, this did the trick. System boots up fine now. Thanks! Thanks for testing. - To unsubscribe from this list: send the line unsubscribe sparclinux in the body of a message to [EMAIL PROTECTED] More majordomo

Re: QuadEthernet driver broken

2007-04-21 Thread David Miller
From: Marcel van Nies [EMAIL PROTECTED] Date: Sat, 21 Apr 2007 20:43:14 +0200 The MAC address assignment at module loading is simply forgotten. The bug at module unloading is caused by an incorrect call. The bug at module unloading does not only happen for sunqe, sunlance and sunhme (sbus)

Re: [TESTERS NEEDED]: Rewritten ESP driver

2007-04-20 Thread David Miller
From: Adam Kropelin [EMAIL PROTECTED] Date: Fri, 20 Apr 2007 18:55:37 -0400 David Miller wrote: From: Adam Kropelin [EMAIL PROTECTED] Starting smartd: esp: esp0: Aborting command [f80030b05280:2a] esp: esp0: Active command [f80030b05280:2a] esp: esp0: Aborting command

Re: [TESTERS NEEDED]: Rewritten ESP driver

2007-04-19 Thread David Miller
From: Adam Kropelin [EMAIL PROTECTED] Date: Mon, 16 Apr 2007 23:35:56 -0400 David Miller wrote: From: Adam Kropelin [EMAIL PROTECTED] Date: Mon, 16 Apr 2007 18:58:39 -0400 Starting smartd: esp: esp0: Aborting command [f80030b05280:2a] esp: esp0: Active command [f80030b05280:2a

Re: [TESTERS NEEDED]: Rewritten ESP driver

2007-04-19 Thread David Miller
From: Pasi Pirhonen [EMAIL PROTECTED] Date: Sun, 15 Apr 2007 12:45:27 +0300 From dmesg the difference seems to be that when i did fail, i did have two same type disk that both did claim to be sda: Mode Sense: cf 00 10 08 SCSI device sda: write cache: disabled, read cache: enabled, supports

Re: [TESTERS NEEDED]: Rewritten ESP driver

2007-04-19 Thread David Miller
From: Pasi Pirhonen [EMAIL PROTECTED] Date: Thu, 19 Apr 2007 16:04:15 +0300 Hi, On Thu, Apr 19, 2007 at 12:41:39AM -0700, David Miller wrote: The current driver should not hit the problems you saw. I plan to post in-full the current driver as a patch in a few moments, if you could

Re: zs Interrupt during boot

2007-04-18 Thread David Miller
From: Mark Fortescue [EMAIL PROTECTED] Date: Wed, 18 Apr 2007 20:24:48 +0100 (BST) Hi David, Not me. I don't maintain the 32-bit Sparc port any longer, and there really is no active maintainer at all for that platform, so you'll have to look for someone else to help you. This is explicitly

Re: [TESTERS NEEDED]: Rewritten ESP driver

2007-04-17 Thread David Miller
From: BERTRAND_Joël [EMAIL PROTECTED] Date: Tue, 17 Apr 2007 17:28:24 +0200 Some news about this new driver on sparc32. Test configuration : SS20 with dual SM71, 448 MB, VSIMM, internal raid1, ESP100A and HME-ESP (UW). All esp patches are applied against 2.6.21-rc7 (thus with new

Re: [TESTERS NEEDED]: Rewritten ESP driver

2007-04-17 Thread David Miller
From: Tom \spot\ Callaway [EMAIL PROTECTED] Date: Tue, 17 Apr 2007 15:46:55 -0500 On Mon, 2007-04-16 at 01:29 -0700, David Miller wrote: The sense looks good, the device is just saying that it has been reset too recently. The extended sense codes are 0x29 and 0x02, but the scsi scan

Re: [TESTERS NEEDED]: Rewritten ESP driver

2007-04-17 Thread David Miller
From: Tom \spot\ Callaway [EMAIL PROTECTED] Date: Tue, 17 Apr 2007 15:52:37 -0500 Err, to reply to my own email: It only mounts correctly with -t iso9660. If I try to mount without specifying type, it throws those Buffer I/O errors and asks me to manually specify filesystem type: That

Re: [TESTERS NEEDED]: Rewritten ESP driver

2007-04-16 Thread David Miller
From: Adam Kropelin [EMAIL PROTECTED] Date: Sun, 15 Apr 2007 12:03:26 -0400 I hit a small build glitch: Wwith the new driver, the combination... CONFIG_SCSI_SPI_ATTRS=m CONFIG_SCSI_SUNESP=y Missing Kconfig bits, I'll fix this with the following patch thanks: diff --git

Re: [TESTERS NEEDED]: Rewritten ESP driver

2007-04-15 Thread David Miller
From: Adam Kropelin [EMAIL PROTECTED] Date: Sun, 15 Apr 2007 20:55:09 -0400 Adam Kropelin wrote: Adam Kropelin wrote: David Miller wrote: Thanks in advance for testing. I've given the new driver a run on my U1. A bit of history before the results: 2.6.13 (aurora 2.0) esp driver works

Re: [ANNOUNCE] Aurora SPARC Linux Build 2.98 (Beta 1 for 3.0)

2007-04-14 Thread David Miller
From: Blue Swirl [EMAIL PROTECTED] Date: Sat, 14 Apr 2007 10:59:19 +0300 I'm testing the Aurora CDROM on Qemu (current CVS version). The install seems to run fine, but at start Qemu gives the following error messages a few times: scsi-disk: Inquiry buffer too small (4) Maybe this message

<    1   2   3   4   >