up_read/up_write redefinitions in asm/semaphore.h and linux/usbdevice_fs.h

2001-01-15 Thread Olaf Hering
to avoid this conflict? Gruss Olaf - Forwarded message from Olaf Hering [EMAIL PROTECTED] - Date: Tue, 16 Jan 2001 04:17:43 +0100 From: Olaf Hering [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: up_read/up_write redefinitions in asm/semaphore.h and linux/usbdevice_fs.h Hi, I have

Re: [PATCH] 2.4.3-pre3 add PBG4 native LCD mode to modedb.c

2001-03-13 Thread Olaf Hering
On Tue, Mar 13, Jeffrey W. Baker wrote: The attached patch adds the a new mode to the modedb, used by the ATI, 3Dfx, and Amiga frame buffer devices. The new mode is the native, slightly wide resolution of the new Apple laptops. It isn't obvious how popular a mode has to be before it goes

2.4.2 freezes with bad ISOs in IDE cdroms

2001-03-20 Thread Olaf Hering
Hi, this is a bogus bugreport. The 2.4.2 kernel freezes on some machines here when I try to access (or mount) a bad self burned ISO image, in this case the boot CD with the install system. There are different case: I have an iBook and a bluewhite G3. The G3 has a cmd646 controller. It freezes

Re: RE: 2.4.2 freezes with bad ISOs in IDE cdroms

2001-03-21 Thread Olaf Hering
On Wed, Mar 21, Giuliano Pochini wrote: This happens on my blue G3 with 2.2.x too. I think it's a bug in the IDE driver. My old 7300 (mesh) with a SCSI cd just reported a read error on the same disk. Yes, I got that also with 2.2.18 on the G4 with cmd646. Gruss Olaf -- $ man clone BUGS

2.4.5-ac9 console NULL pointer pointer dereference

2001-06-07 Thread Olaf Hering
Hi, this happend with 2.4.5-ac9 with serial console on i386. Full boot log and config can be found here: http://www.penguinppc.org/~olaf/bugs/245-ac9/ ksymoops 2.4.1 on i686 2.4.6-pre1. Options used -v /usr/src/OLAF/linux-2.4.5-ac9/vmlinux (specified) -K (specified) -L

Re: Cosmetic JFFS patch.

2001-06-28 Thread Olaf Hering
On Thu, Jun 28, Jeff Garzik wrote: John R Lenton wrote: On Thu, Jun 28, 2001 at 05:25:33PM +0100, David Woodhouse wrote: KERN_BANNER cool, what about kbannerd ? I'm still pushing for a Perl interpreter in the kernel, let's not forget that too. kde.o. 2.5? Gruss Olaf --

changed proc permissions in 2.4

2001-02-07 Thread Olaf Hering
Hi, there seems to be a bug in the /proc permissions handling. What I need is a proc mount in a build chroot. This build chroot should not change the settings on the build host, therefore its mounted read only. This was ok with 2.2 kernels. The 2.4 kernel has appearently only one "handler" for

Re: changed proc permissions in 2.4

2001-02-07 Thread Olaf Hering
On Wed, Feb 07, Olaf Hering wrote: Is this the way it should be? The real problem is X, it tries to open /proc/bus/pci/*/* rw, that fails, no devices detected. Its all on ppc, just in case that matters. oh yeah ... allen:~/olh # mount -oro -n -tproc none proc allen:~/olh # grep proc /proc

race in autofs / nfs

2001-02-11 Thread Olaf Hering
Hi, there is a race in 2.4.1 and 2.4.2-pre3 in autofs/nfs. When the cwd is on the nfs mounted server (== busy) and you try to reboot the shutdown hangs in "rcautofs stop". I can reproduce it everytime. I attach a screen log and a decoded sysrq output. It is not related to that killproc, it

Re: race in autofs / nfs

2001-02-12 Thread Olaf Hering
On Mon, Feb 12, Trond Myklebust wrote: " " == H Peter Anvin [EMAIL PROTECTED] writes: Olaf Hering wrote: Hi, there is a race in 2.4.1 and 2.4.2-pre3 in autofs/nfs. When the cwd is on the nfs mounted server (== busy) and you try to

Re: race in autofs / nfs

2001-02-12 Thread Olaf Hering
On Mon, Feb 12, Trond Myklebust wrote: " " == H Peter Anvin [EMAIL PROTECTED] writes: Olaf Hering wrote: Hi, there is a race in 2.4.1 and 2.4.2-pre3 in autofs/nfs. When the cwd is on the nfs mounted server (== busy) and you try to

Re: race in autofs / nfs

2001-02-12 Thread Olaf Hering
On Mon, Feb 12, Olaf Hering wrote: On Mon, Feb 12, Trond Myklebust wrote: " " == H Peter Anvin [EMAIL PROTECTED] writes: Olaf Hering wrote: Hi, there is a race in 2.4.1 and 2.4.2-pre3 in autofs/nfs. When the cwd is on the nfs moun

Re: race in autofs / nfs

2001-02-12 Thread Olaf Hering
On Mon, Feb 12, H. Peter Anvin wrote: Olaf Hering wrote: The autofs4.o is the culprit, it works perfect with autofs.o. What would happen if I stick with autofs.o now? The docu recommends autofs4 in modules.conf. I don't know who came up with that idea. You should use

Re: race in autofs / nfs

2001-02-13 Thread Olaf Hering
On Mon, Feb 12, Olaf Hering wrote: On Mon, Feb 12, H. Peter Anvin wrote: Olaf Hering wrote: The autofs4.o is the culprit, it works perfect with autofs.o. What would happen if I stick with autofs.o now? The docu recommends autofs4 in modules.conf. I don't know who

Re: [ANNOUNCE] Boot log for Linux PPC64 on POWER3 hardware

2001-02-23 Thread Olaf Hering
On Fri, Feb 23, Peter Samuelson wrote: [Peter Bergner] The following is a boot log for a 64 bit port of Linux for IBM's 64 bit PowerPC processors. This log was made on a pSeries model 270 which uses a POWER3 microprocessor. Impressive. One question, though -- starting cpu

2.4.2 pcnet32 routing trouble

2001-03-28 Thread Olaf Hering
Hi, there is a strange "routing" bug in the pcnet32 driver. I have a 4port Ethernet card and 2 onboard connectors on an IBM B80 (pSeries 640). The machine is usualy connected via the onboard eth0 (10.10.3.21). I can bring up the interfaces on the 4port card, in this case eth5 (10.10.11.145).

2.4.2 cs4232 is not SMP safe

2001-03-28 Thread Olaf Hering
Hi, the current cs4232 driver is not smp safe, I get this in dmesg when I try to load it: ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996 Crystal audio controller (CS4236) at 0x534 irq 5 dma 1,0 do_IRQ waiting for irq lock (holder=0) wait_on_irq, CPU 0: irq: 1 [0 1] bh:

Re: 2.4.2 cs4232 is not SMP safe

2001-03-28 Thread Olaf Hering
On Wed, Mar 28, Alan Cox wrote: But it still jumps into xmon. How can we make that driver SMP safe? There is no maintainer address in the files. CS4232 has no maintainer. I've had no SMP x86 problems reported with it for a long time but that may be chance Well, the alsa driver loads but

[PATCH] do not truncate irq number for icom adapter

2007-04-22 Thread Olaf Hering
irq values are u32, not u8. Large irq numbers will be truncated, free_irq may free a different irq. Remove incorrectly sized struct member and use the one from pci_dev. Signed-off-by: Olaf Hering [EMAIL PROTECTED] --- drivers/serial/icom.c |5 ++--- drivers/serial/icom.h |1 - 2 files

[PATCH] keep track of network interface renaming

2007-02-11 Thread Olaf Hering
of the boot process, I can find eth1 and eth2, Unfortunately, this patch was not applied to mainline last year. Maybe this year. Keep track about which network interface names were renamed after the network device driver printed its banner. Signed-off-by: Olaf Hering [EMAIL PROTECTED] --- linux

Re: [PATCH] Fix d_path for lazy unmounts

2007-02-14 Thread Olaf Hering
On Wed, Feb 14, Andreas Gruenbacher wrote: What's the point in reporting the rootfs at all -- it's never reachable to an ordinary process? /init and its childs has it as root, until it passes control over to /sbin/init - To unsubscribe from this list: send the line unsubscribe linux-kernel in

[PATCH] override build timestamp

2007-02-16 Thread Olaf Hering
Pass a timestamp to kbuild via an enviroment variable. TZ=UTC BUILD_TIMESTAMP=2007-01-01 make -kj O=../O vmlinux This can be used when the kernel source is in a SCM and uname -v is supposed to give the commit date and not the package build time. Signed-off-by: Olaf Hering [EMAIL PROTECTED

[PATCH] Remove stack hard limit on ia64

2007-02-16 Thread Olaf Hering
From: [EMAIL PROTECTED] Un-Breaks pthreads, since Oct 2003. Signed-off-by: Olaf Hering [EMAIL PROTECTED] --- include/asm-ia64/resource.h |1 - 1 file changed, 1 deletion(-) Index: linux-2.6/include/asm-ia64/resource.h

[PATCH] fix SAA7146_CLIPPING_MEM size

2007-02-16 Thread Olaf Hering
btcx_screen_clips() may add 4 more clips. So a max array size of 131329 is enough. Right now only 56K get allocated. Signed-off-by: Olaf Hering [EMAIL PROTECTED] --- include/media/saa7146_vv.h |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: linux-2.6/include/media/saa7146_vv.h

Re: [PATCH] fix SAA7146_CLIPPING_MEM size

2007-02-17 Thread Olaf Hering
On Sat, Feb 17, Olaf Hering wrote: So a max array size of 131329 is enough. Since the referenced array is u32, should it be 4 * 131329? - 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

Re: exporting LANG=C (Re: [PATCH] override build timestamp)

2007-02-17 Thread Olaf Hering
On Sat, Feb 17, Oleg Verych wrote: While adding this functionality must be decided by kbuild developers, could you make separate patch with exporting 'LANG=C' on the very beginning and delete all other occurrences of it? It's a C header file generation and afaik, it must be ASCII. That makes

Re: [PATCH] override build timestamp

2007-02-18 Thread Olaf Hering
On Sun, Feb 18, Roman Zippel wrote: Hi, On Fri, 16 Feb 2007, Olaf Hering wrote: Pass a timestamp to kbuild via an enviroment variable. TZ=UTC BUILD_TIMESTAMP=2007-01-01 make -kj O=../O vmlinux This can be used when the kernel source is in a SCM and uname -v is supposed

compat_agp_ioctl [drivers/char/agp/agpgart.ko] undefined!

2007-02-19 Thread Olaf Hering
2.6.20-git14 cp arch/powerpc/configs/g5_defconfig ../O-linus/.config time env LC_ALL=C make -k O=../O-linus ... Building modules, stage 2. MODPOST 127 modules WARNING: compat_agp_ioctl [drivers/char/agp/agpgart.ko] undefined! make[2]: *** [__modpost] Error 1 - To unsubscribe from this list:

Re: [PATCH] override build timestamp

2007-02-19 Thread Olaf Hering
On Sun, Feb 18, Roman Zippel wrote: This information could also be added to the version string like CONFIG_LOCALVERSION_AUTO does. OTOH rather than abusing the build date (which may not mean much, but it nevertheless has a meaning), I'd rather add the possibility to add extra information.

[PATCH] reject taskset for kernel threads

2007-03-21 Thread Olaf Hering
e=/proc/*/task/$i/exe if test -e $e then taskset -pc 2-9 $i fi done Signed-off-by: Olaf Hering [EMAIL PROTECTED] --- kernel/sched.c |2 ++ 1 file changed, 2 insertions(+) Index: linux-2.6.20/kernel/sched.c

Re: [PATCH] reject taskset for kernel threads

2007-03-22 Thread Olaf Hering
On Wed, Mar 21, Andrew Morton wrote: On Wed, 21 Mar 2007 21:53:53 +0100 Olaf Hering [EMAIL PROTECTED] wrote: Do not allow taskset for kernel threads. These commands will cause oopses due to stack corruption: ls /proc/*/task | grep -v ^/ | xargs echo | xargs -n1 taskset -pc 2-9

Re: [PATCH] reject taskset for kernel threads

2007-03-22 Thread Olaf Hering
On Wed, Mar 21, Andrew Morton wrote: Why does the kernel oops? Attached is a .config and helper scripts for a minimal pseries netboot zImage. Crashes in the second iteration. Does it work on other archs? init.sh referenced in initramfs.txt below #!/bin/bash mount -nv -t proc proc

request_queue_t depends on CONFIG_BLOCK

2007-03-22 Thread Olaf Hering
How can this compile error be fixed properly? request_queue_t is inside CONFIG_BLOCK, ide_drive_s (and likely others) use it unconditionally. CC arch/powerpc/kernel/setup_64.o In file included from linux-2.6.21-rc4/arch/powerpc/kernel/setup_64.c:23:

Re: request_queue_t depends on CONFIG_BLOCK

2007-03-22 Thread Olaf Hering
On Thu, Mar 22, Christoph Hellwig wrote: On Thu, Mar 22, 2007 at 10:52:34PM +0100, Olaf Hering wrote: How can this compile error be fixed properly? request_queue_t is inside CONFIG_BLOCK, ide_drive_s (and likely others) use it unconditionally. CC arch/powerpc/kernel/setup_64

Re: request_queue_t depends on CONFIG_BLOCK

2007-03-23 Thread Olaf Hering
On Fri, Mar 23, Bartlomiej Zolnierkiewicz wrote: Because it is needed in a few places. Is there really any PPC64 specific code which needs linux/ide.h (ppc_ide_md is used only by PPC32)? This is about CONFIG_BLOCK=n, not about arch/... Is all non-driver code which has to poke into ide code

Re: I give up

2007-04-10 Thread Olaf Hering
On Mon, Apr 09, Dave Dillow wrote: It's not /dev he's backing up -- its /home, /usr, and others. GNU tar saves the device and inode numbers from the {,l}stat() call on each file and decides it is a new file if either number changes from run to run. So fix tar to not do silly things. Kernel

Re: I give up

2007-04-10 Thread Olaf Hering
On Tue, Apr 10, Gene Heskett wrote: On Tuesday 10 April 2007, Olaf Hering wrote: On Mon, Apr 09, Dave Dillow wrote: It's not /dev he's backing up -- its /home, /usr, and others. GNU tar saves the device and inode numbers from the {,l}stat() call on each file and decides it is a new file

[PATCH] do not print error on systems without apple motion sensor

2007-04-13 Thread Olaf Hering
It is not an error if a system has no ams hardware. Do not clutter dmesg in this case. Signed-off-by: Olaf Hering [EMAIL PROTECTED] --- drivers/hwmon/ams/ams-core.c |3 --- 1 file changed, 3 deletions(-) Index: b/drivers/hwmon/ams/ams-core.c

Re: [PATCH 12/15] ide: make ide_hwif_t.ide_dma_host_on void

2007-02-19 Thread Olaf Hering
On Sat, Feb 03, Bartlomiej Zolnierkiewicz wrote: [PATCH] ide: make ide_hwif_t.ide_dma_host_on void +++ b/drivers/ide/ppc/pmac.c @@ -1984,10 +1984,8 @@ static void pmac_ide_dma_host_off(ide_dr { } -static int -pmac_ide_dma_host_on (ide_drive_t *drive) +static int

Re: cpufreq build regression added today

2007-02-27 Thread Olaf Hering
On Mon, Feb 26, Dave Jones wrote: On Mon, Feb 26, 2007 at 02:41:34PM -0800, David Miller wrote: Dave, please test your const'ification changes, else you'll leave some of us const'ipated :-) drivers/cpufreq/cpufreq.c: In function 'cpufreq_register_driver'

Re: ENOENT creating /dev/root on MTD RAM partition

2007-04-02 Thread Olaf Hering
On Mon, Apr 02, John Williams wrote: Any comments or suggestions on a possible cause or approach to track it down would be greatly appreciated. Just a guess: Check if '/dev' exists. I think it is now possible to not add the built-in cpio archive with the mandatory /dev, /dev/console and /root

increase AT_VECTOR_SIZE to terminate saved_auxv properly

2007-09-14 Thread Olaf Hering
include/asm-powerpc/elf.h has 6 entries in ARCH_DLINFO. fs/binfmt_elf.c has 14 unconditional NEW_AUX_ENT entries and 2 conditional NEW_AUX_ENT entries. So in the worst case, saved_auxv does not get an AT_NULL entry at the end. Is an AT_NULL entry required or must userspace use the AT_VECTOR_SIZE

Re: increase AT_VECTOR_SIZE to terminate saved_auxv properly

2007-09-17 Thread Olaf Hering
On Sat, Sep 15, Jakub Jelinek wrote: If AT_NULL is required, AT_VECTOR_SIZE should be changed from 44 to 46. No, it should be computed instead from the number of target independent aux vector pairs and then from an per-arch macro which says how many arch specific aux vector pairs are

[PATCH] increase AT_VECTOR_SIZE to terminate saved_auxv properly

2007-09-18 Thread Olaf Hering
the size of mm_struct-saved_auxv arch dependend, based on the number of ARCH_DLINFO entries. Signed-off-by: Olaf Hering [EMAIL PROTECTED] --- include/asm-alpha/system.h |1 + include/asm-i386/system.h|1 + include/asm-ia64/system.h|2 ++ include/asm-powerpc/system.h |1

Re: [PATCH] increase AT_VECTOR_SIZE to terminate saved_auxv properly

2007-09-20 Thread Olaf Hering
On Wed, Sep 19, Andrew Morton wrote: I'm not very confident that this will work well with the already-queued move-mm_struct-and-vm_area_struct.patch. You want me to redo my patch agains the current -mm kernel? - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: apm system does not power off anymore

2007-10-19 Thread Olaf Hering
On Sun, Oct 14, Andrew Morton wrote: On Fri, 12 Oct 2007 14:54:26 +0200 Olaf Hering [EMAIL PROTECTED] wrote: Does anyone know what is required to power off an old PIII 400mhz system? At some point (2.6.18 I think), apm=power-off was required with an SMP kernel. Now with 2.6.22 and 2.6.23

Re: [PATCH] Bugfix to commit 4f9a58d75bfe82ab2b8ba5b8506dfb190a267834

2007-10-23 Thread Olaf Hering
On Mon, Oct 22, Grant Likely wrote: Olaf, do I have the correct solution here? Sure. - 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://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: [PATCH] unifdef linux/vt.h

2008-02-10 Thread Olaf Hering
On Fri, Feb 08, Andrew Morton wrote: On Fri, 8 Feb 2008 18:38:10 +0100 Olaf Hering [EMAIL PROTECTED] wrote: On Fri, Jan 25, Olaf Hering wrote: remove the newly added __KERNEL__ block from linux/vt.h Can you pick this up? The patch cant get any better. spose so. Coud you send

Re: KVM: Export include/linux/kvm.h only if $ARCH actually supports KVM

2008-02-10 Thread Olaf Hering
Currently, make headers_check barfs due to asm/kvm.h, which linux/kvm.h includes, not existing. Rather than add a zillion asm/kvm.hs, export kvm.h only if the arch actually supports it. This makes headers_install_all unreliable. linux/kvm.h will not be exported, depending on what system the

[PATCH v4] xen PVonHVM: move shared_info to reserved memory area

2012-10-30 Thread Olaf Hering
for guest use. Older toolstacks will usually not allocate areas up to FE70, so FE70 is expected to work also with older toolstacks. Signed-off-by: Olaf Hering o...@aepfle.de --- v4: rebase to 3.7-rc3 v3

[PATCH] xen PVonHVM: require at least Xen 3.4 as dom0

2012-10-30 Thread Olaf Hering
hardware. Signed-off-by: Olaf Hering o...@aepfle.de --- arch/x86/xen/enlighten.c | 27 ++- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 0cc41f8..8566fa8 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86

Re: [Xen-devel] [PATCH v4] xen PVonHVM: move shared_info to reserved memory area

2012-10-30 Thread Olaf Hering
On Tue, Oct 30, Jan Beulich wrote: On 30.10.12 at 16:47, Olaf Hering o...@aepfle.de wrote: This is a respin of 00e37bdb0113a98408de42db85be002f21dbffd3 (xen PVonHVM: move shared_info to MMIO before kexec). Currently kexec in a PVonHVM guest fails with a triple fault because the new

Re: [Xen-devel] [PATCH v4] xen PVonHVM: move shared_info to reserved memory area

2012-10-30 Thread Olaf Hering
On Tue, Oct 30, Jan Beulich wrote: And iirc you're doing this relocation because otherwise the newly booting kernel image may get overwritten at an (from its perspective) arbitrary location. What I'm trying to point out is that the shared info structure is not the only thing (potentially)

Re: [Xen-devel] [PATCH] xen PVonHVM: require at least Xen 3.4 as dom0

2012-10-30 Thread Olaf Hering
On Tue, Oct 30, Pasi Kärkkäinen wrote: On Tue, Oct 30, 2012 at 05:05:05PM +0100, Olaf Hering wrote: The XenPVHVM extensions have not been tested much on very old hypervisors. At least Xen 3.4 gets some testing with the pvops kernel. Require at least Xen 3.4 for the PVonHVM extensions

Re: [Xen-devel] [PATCH] xen PVonHVM: require at least Xen 3.4 as dom0

2012-10-31 Thread Olaf Hering
On Wed, Oct 31, Ian Campbell wrote: If I understand correctly this requirements comes from the need to support moving the shared info page in order to support kexec? So could we do something more fine grained and limit only the kexec support (and therefore the movement of the SI into that

Re: [Xen-devel] [PATCH] xen PVonHVM: require at least Xen 3.4 as dom0

2012-10-31 Thread Olaf Hering
On Tue, Oct 30, Pasi Kärkkäinen wrote: On Tue, Oct 30, 2012 at 05:05:05PM +0100, Olaf Hering wrote: The XenPVHVM extensions have not been tested much on very old hypervisors. At least Xen 3.4 gets some testing with the pvops kernel. IIRC upstream Linux PVonHVM drivers do work OK today

[PATCH v5] xen PVonHVM: use E820_Reserved area for shared_info

2012-11-01 Thread Olaf Hering
kexec can not be used. Signed-off-by: Olaf Hering o...@aepfle.de --- v5: reword subject handle Xen3, continue to use extend_brk on old hosts v4: rebase to 3.7-rc3 v3: make xen_hvm_init_shared_info static v2: add __init to xen_hvm_set_shared_info arch/x86/xen/enlighten.c | 75

Re: [PATCH] Tools: hv: Fix for long file names from readdir

2012-11-08 Thread Olaf Hering
On Thu, Nov 08, Tomas Hozza wrote: kvp_get_if_name and kvp_mac_to_if_name copy strings into statically sized buffers which could be too small to store really long names. - char dev_id[256]; + char dev_id[512]; Shouldnt that be PATH_MAX or similar? Olaf -- To unsubscribe from this

when to switch from early_ioremap to ioremap

2012-10-23 Thread Olaf Hering
To obtain an address to a PFN in init_hypervisor_platform (called from arch/x86/kernel/setup.c:setup_arch) I use early_ioremap. Later the address to that PFN needs to be obtained with ioremap, and early_iounmap needs to be called on the first address. When is the time to obtain and use the new

Re: when to switch from early_ioremap to ioremap

2012-10-23 Thread Olaf Hering
On Tue, Oct 23, Yinghai Lu wrote: Also early_ioremap has slot limitation: 4. and you should not hold one slot too long, otherwise other users could have problem to reach the limit. Thanks. After which init call is ioremap available anymway? Olaf -- To unsubscribe from this list: send the

Re: [PATCH 1/3] xen/pv-on-hvm kexec: add quirk for Xen 3.4 and shutdown watches.

2012-10-10 Thread Olaf Hering
3.4+sles11 (or recent openSuSE) HVM guests, or because it happens to work with that combination. If the patch solves the issue: Acked-by: Olaf Hering o...@aepfle.de Olaf -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

[PATCH] x86: remove obsolete comment from asm/xen/hypervisor.h

2012-10-25 Thread Olaf Hering
Signed-off-by: Olaf Hering o...@aepfle.de --- arch/x86/include/asm/xen/hypervisor.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/include/asm/xen/hypervisor.h b/arch/x86/include/asm/xen/hypervisor.h index 66d0fff..125f344 100644 --- a/arch/x86/include/asm/xen/hypervisor.h +++ b

[PATCH] xen PVonHVM: move shared_info to reserved memory area

2012-10-25 Thread Olaf Hering
for guest use. Older toolstacks will usually not allocate areas up to FE70, so FE70 is expected to work also with older toolstacks. Signed-off-by: Olaf Hering o...@aepfle.de --- arch/x86/xen/enlighten.c | 46 ++ arch/x86/xen/suspend.c | 2 +- arch

Re: [Xen-devel] [PATCH] xen PVonHVM: move shared_info to reserved memory area

2012-10-25 Thread Olaf Hering
On Thu, Oct 25, Jan Beulich wrote: On 25.10.12 at 11:04, Olaf Hering o...@aepfle.de wrote: @@ -1495,38 +1494,53 @@ asmlinkage void __init xen_start_kernel(void) #endif } -void __ref xen_hvm_init_shared_info(void) Was the __ref here in fact unnecessary (i.e. did you check

Re: libata broken on Pegasos PPC platform (was: Re: IDE broken on Pegasos PPC platform)

2007-09-25 Thread Olaf Hering
On Mon, Sep 24, Alan Cox wrote: hopefully that means the hack in the old VIA driver can also be killed off. Not that I know. But I did not browse the IDE core long enough to figure out how to assign both irqs in a generic way. - To unsubscribe from this list: send the line unsubscribe

Re: 2.6.22-git17 boot failure

2007-07-24 Thread Olaf Hering
On Tue, Jul 24, Andi Kleen wrote: Andi, any thoughts about how to debug the suse boot sequence? The SuSE boot sequence is rather long. Which part (and which version) are we talking about? As Andi said, putting a 'set -x' into /init script generated by /sbin/mkinitrd is one thing. You can

Re: 2.6.22-git17 boot failure

2007-07-24 Thread Olaf Hering
On Tue, Jul 24, Tilman Schmidt wrote: Netconsole logs with initcall_debug=1 of a successful and a failing startup and corresponding .config-s are available at http://www.phnxsoft.com/~ts/linux/ It seems the modules are not loaded at all in initrd, I dont see the 'SCSI subsystem initialized'

[PATCH] fix undefined reference to device_power_up/resume

2007-08-24 Thread Olaf Hering
to `pmu_sys_suspended' drivers/built-in.o: In function `adb_init': (.init.text+0x4c5c): undefined reference to `pmu_register_sleep_notifier' make[1]: *** [.tmp_vmlinux1] Error 1 So change even more places from PM to PM_SLEEP to allow linking. Signed-off-by: Olaf Hering [EMAIL PROTECTED] --- drivers/macintosh

Re: [PATCH] fix undefined reference to device_power_up/resume

2007-08-25 Thread Olaf Hering
On Sat, Aug 25, Paul Mackerras wrote: Olaf Hering writes: So change even more places from PM to PM_SLEEP to allow linking. What config shows these errors? I presume you need to have CONFIG_PM but not CONFIG_PM_SLEEP in order to see them? The .config below boots on a wallstreet. atyfb

[PATCH] atyfb: force 29MHz xtal on G3 PowerBooks

2007-08-25 Thread Olaf Hering
need the higher value. Signed-off-by: Olaf Hering [EMAIL PROTECTED] --- a/drivers/video/aty/atyfb_base.c +++ b/drivers/video/aty/atyfb_base.c @@ -2411,7 +2411,7 @@ static int __devinit aty_init(struct fb_ diff1 = -diff1; if (diff2 0

[PATCH] atyfb: remove dead code

2007-08-26 Thread Olaf Hering
Remove dead code. Signed-off-by: Olaf Hering [EMAIL PROTECTED] --- drivers/video/aty/atyfb_base.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) --- a/drivers/video/aty/atyfb_base.c +++ b/drivers/video/aty/atyfb_base.c @@ -2767,8 +2767,7 @@ static int atyfb_blank(int blank

Re: [PATCH] Stop pmac_zilog from abusing 8250's device numbers.

2007-08-14 Thread Olaf Hering
On Wed, Apr 04, Paul Mackerras wrote: David Woodhouse writes: There are proper device numbers registered for pmac_zilog now. Use them. Which numbers? Sigh. I guess this is inevitable, but IMNSHO this exposes a weakness in our serial subsystem. So, when will the name of pmac_zilog get

Re: [PATCH] Stop pmac_zilog from abusing 8250's device numbers.

2007-08-14 Thread Olaf Hering
On Tue, Aug 14, David Woodhouse wrote: On Tue, 2007-08-14 at 13:49 +0200, Olaf Hering wrote: On Wed, Apr 04, Paul Mackerras wrote: David Woodhouse writes: There are proper device numbers registered for pmac_zilog now. Use them. Which numbers? shinybook /shiny/git/mtd

sysfs_remove_bin_file: bad dentry or inode or no such file: descriptors

2007-08-16 Thread Olaf Hering
This sysfs_remove_bin_file message appears sometimes on my dualcore G5. I think only during cold boot. ... sysfs_remove_bin_file: bad dentry or inode or no such file: descriptors Call Trace: [c15eb750] [c000e414] .show_stack+0x68/0x1b0 (unreliable) [c15eb7f0]

Re: [PATCH 2.6.22.y] ieee1394: revert sbp2: enforce 32bit DMA mapping

2007-08-06 Thread Olaf Hering
On Sun, Aug 05, Stefan Richter wrote: Benjamin Herrenschmidt wrote: If setting 32-bit DMA mask fails on ppc64, that sounds like a problem with the DMA implementation on that architecture. There are enough cards out there that only support 32-bit DMA that this really needs to work.. Yes,

[PATCH] fix crash in sbp2_remove_device() when dma_set_mask() fails

2007-08-06 Thread Olaf Hering
Fix crash in sbp2_remove_device() when dma_set_mask() fails. Signed-off-by: Olaf Hering [EMAIL PROTECTED] --- drivers/ieee1394/sbp2.c |8 1 file changed, 4 insertions(+), 4 deletions(-) --- a/drivers/ieee1394/sbp2.c +++ b/drivers/ieee1394/sbp2.c @@ -929,13 +929,14 @@ static void

glibc and make headers_install_all provide /usr/include/scsi

2007-08-06 Thread Olaf Hering
glibc and make headers_install_all provide /usr/include/scsi One of them has to go. A quick diff shows no differences, expect: scsi.h: glibc #define STATUS_MASK 0x3e Linux #define STATUS_MASK 0xfe glibc #define ABORT 0x06 Linux #define

[PATCH] do not export /usr/include/scsi in make headers_install

2007-08-06 Thread Olaf Hering
On Mon, Aug 06, Christoph Hellwig wrote: On Mon, Aug 06, 2007 at 02:45:46PM +0200, Olaf Hering wrote: glibc and make headers_install_all provide /usr/include/scsi One of them has to go. A quick diff shows no differences, expect: .. Which copy should be provided

Re: [PATCH 2.6.22.y] ieee1394: revert sbp2: enforce 32bit DMA mapping

2007-08-06 Thread Olaf Hering
On Mon, Aug 06, Benjamin Herrenschmidt wrote: BTW. Any reason why you don't set the DMA mask in the ohci driver rather than the sbp2 one ? I used this patch, and the attached CD was found. What dma mask should be used in ohci_probe()? --- drivers/ieee1394/ohci1394.c |2 ++

[PATCH] remove strict ansi check from __u64 in asm/types.h

2007-08-06 Thread Olaf Hering
. Signed-off-by: Olaf Hering [EMAIL PROTECTED] --- include/asm-arm/types.h |6 +++--- include/asm-avr32/types.h|6 +++--- include/asm-blackfin/types.h |6 +++--- include/asm-cris/types.h |6 +++--- include/asm-frv/types.h |6 +++--- include/asm-h8300/types.h

Re: [PATCH] powerpc: Fix initialization and usage of dma_mask

2007-08-06 Thread Olaf Hering
On Tue, Aug 07, Benjamin Herrenschmidt wrote: powerpc has a couple of bugs in the usage of dma_masks that tend to break when drivers explicitely try to set a 32 bits mask for example. First the code that generates the pci devices from the OF device-tree doesn't initialize the mask properly,

CONFIG_SWAP=n failes to compile due to linux/pagemap.h issues

2007-08-07 Thread Olaf Hering
-Werror-implicit-function-declaration made it finally into mainline, thats ok. But now CONFIG_SWAP=n fails to compile, at least on powerpc: include/asm-generic/tlb.h: In function 'tlb_flush_mmu': include/asm-generic/tlb.h:76: error: implicit declaration of function 'release_pages'

[PATCH] remove genhd.h from header exports

2007-08-07 Thread Olaf Hering
unused inclusion of linux/major.h compile tested with ppc64_defconfig Signed-off-by: Olaf Hering [EMAIL PROTECTED] --- include/linux/Kbuild |1 - include/linux/genhd.h | 37 ++--- 2 files changed, 6 insertions(+), 32 deletions(-) --- a/include/linux/Kbuild

Re: [patch 3/3] mm: variable length argument support

2007-08-07 Thread Olaf Hering
On Wed, Jun 13, Peter Zijlstra wrote: From: Ollie Wild [EMAIL PROTECTED] Remove the arg+env limit of MAX_ARG_PAGES by copying the strings directly from the old mm into the new mm. +++ linux-2.6-2/include/linux/binfmts.h 2007-06-13 11:52:46.0 +0200 @@ -6,11 +6,13 @@

Re: [PATCH] remove genhd.h from header exports

2007-08-07 Thread Olaf Hering
On Tue, Aug 07, Jeff Garzik wrote: AFAICS the proper fix is to undo the CONFIG_BLOCK breakage, not make the header unusable. No package uses linux/genhd.h, it is safe to remove it. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: [patch 3/3] mm: variable length argument support

2007-08-07 Thread Olaf Hering
On Tue, Aug 07, Andrew Morton wrote: +++ linux-2.6-2/include/linux/binfmts.h 2007-06-13 11:52:46.0 +0200 -#define MAX_ARG_PAGES 32 +#define MAX_ARG_STRLEN (PAGE_SIZE * 32) +#define MAX_ARG_STRINGS 0x7FFF This adds a new usage of PAGE_SIZE to an exported header.

[PATCH] remove binfmts.h from header exports

2007-08-07 Thread Olaf Hering
remove linux/binfmts.h from make headers_install A recent patch added PAGE_SIZE to the part outside of __KERNEL__. qemu and ia32el have their own define of MAX_ARG_PAGES. No package uses linux/binfmts.h, so it is safe to not provide it. Signed-off-by: Olaf Hering [EMAIL PROTECTED] --- include

Re: [PATCH] remove binfmts.h from header exports

2007-08-08 Thread Olaf Hering
On Wed, Aug 08, Rene Herman wrote: No package uses linux/binfmts.h, so it is safe to not provide it. How is all packages defined? 3052 openSuSE 10.3 packages. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo

Re: [PATCH] remove binfmts.h from header exports

2007-08-08 Thread Olaf Hering
On Wed, Aug 08, Alexey Dobriyan wrote: On Tue, Aug 07, 2007 at 10:16:03PM +0200, Olaf Hering wrote: remove linux/binfmts.h from make headers_install A recent patch added PAGE_SIZE to the part outside of __KERNEL__. qemu and ia32el have their own define of MAX_ARG_PAGES. Should

Re: [PATCH] remove binfmts.h from header exports

2007-08-08 Thread Olaf Hering
On Wed, Aug 08, Alexey Dobriyan wrote: And? Does it contain stuff which is userspace visible? binfmts.h has at least CORENAME_MAX_SIZE and SUID_DUMP_* Yes, its inside __KERNEL__. Can't you accept for a second that some stuff under __KERNEL__ was put there by mistake? I wonder why

[PATCH] remove consolemap.h from header exports

2007-08-08 Thread Olaf Hering
Remove linux/consolemap.h from make headers_install It contains no userinterfaces. The defines in this file are used only for kernel internal state. Signed-off-by: Olaf Hering [EMAIL PROTECTED] --- include/linux/Kbuild |1 - 1 file changed, 1 deletion(-) --- a/include/linux/Kbuild +++ b

[PATCH] include linux/types.h in if_fddi.h

2007-08-09 Thread Olaf Hering
include/linux/if_fddi.h is an exported header. It uses __be16. Include linux/types.h to get this prototype. Signed-off-by: Olaf Hering [EMAIL PROTECTED] --- include/linux/if_fddi.h |2 ++ 1 file changed, 2 insertions(+) --- a/include/linux/if_fddi.h +++ b/include/linux/if_fddi.h @@ -24,6

Re: [PATCH] include linux/types.h in if_fddi.h

2007-08-09 Thread Olaf Hering
On Thu, Aug 09, Maciej W. Rozycki wrote: On Thu, 9 Aug 2007, Olaf Hering wrote: include/linux/if_fddi.h is an exported header. It uses __be16. Include linux/types.h to get this prototype. Please note that for userland it does not matter. With glibc you should include netinet

Re: [PATCH] include linux/types.h in if_fddi.h

2007-08-09 Thread Olaf Hering
On Thu, Aug 09, Olaf Hering wrote: Please drop the patch. glibc includes asm/types.h, not linux/types.h. So changing the package to netinet/if_fddi.h does not fix anything. Please dont drop it. Or should all glibc includes be changed from asm/types.h to linux/types.h? - To unsubscribe from

Re: [PATCH] remove strict ansi check from __u64 in asm/types.h

2007-08-10 Thread Olaf Hering
On Mon, Aug 06, Olaf Hering wrote: Remove the __STRICT_ANSI__ check from the __u64/__s64 declaration on 32bit targets. (Currently) untested patch below. We tested this now, and it did not cause failures. Andrew, will you pick this up? - To unsubscribe from this list: send the line

Re: apm system does not power off anymore

2007-10-17 Thread Olaf Hering
On Sun, Oct 14, Andrew Morton wrote: On Fri, 12 Oct 2007 14:54:26 +0200 Olaf Hering [EMAIL PROTECTED] wrote: Does anyone know what is required to power off an old PIII 400mhz system? At some point (2.6.18 I think), apm=power-off was required with an SMP kernel. Now with 2.6.22 and 2.6.23

2.6.22: oops in sbp2_remove_device

2007-08-01 Thread Olaf Hering
This happens when attaching a firewire disk (momobay) to a single cpu G5. I suspect there are two bugs, one is the error handling and one is the DMA mask setting. ieee1394: Node added: ID:BUS[0-00:1023] GUID[00010410100036e0] ieee1394: Host added: ID:BUS[0-01:1023] GUID[000a95fffea65d66]

Re: 2.6.22: oops in sbp2_remove_device

2007-08-01 Thread Olaf Hering
On Wed, Aug 01, Stefan Richter wrote: Revert commit 0555659d63c285ceb7ead3115532e1b71b0f27a7 from 2.6.22-rc1. The dma_set_mask call somehow failed on a PowerMac G5, PPC64: http://lkml.org/lkml/2007/8/1/344 This change fixes the oops, and I can access the drive again. - To unsubscribe from

Re: 2.6.22: oops in sbp2_remove_device

2007-08-02 Thread Olaf Hering
On Thu, Aug 02, Stefan Richter wrote: Olaf Hering wrote: On Wed, Aug 01, Stefan Richter wrote: Revert commit 0555659d63c285ceb7ead3115532e1b71b0f27a7 from 2.6.22-rc1. This change fixes the oops, and I can access the drive again. Did it oops always or only sometimes? It happens every

Re: [PATCH] remove PAGE_SIZE from headers_install

2007-08-04 Thread Olaf Hering
On Sun, Jul 15, Mike Frysinger wrote: On 7/15/07, Olaf Hering [EMAIL PROTECTED] wrote: On Sat, Jul 14, Mike Frysinger wrote: imo, asm/page.h should just go away for userspace. the attached patch is what i've been using in Gentoo ... but somethings (like an arch or two in glibc) still

  1   2   3   4   5   6   7   8   9   10   >