Re: Linux i386 clone(): %ebx 'frobbing' ?

2008-02-15 Thread Andreas Schwab
what does that mean ? See "popl %ebx" after "int $0x80". Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something com

Re: Linux i386 clone(): %ebx 'frobbing' ?

2008-02-15 Thread Andreas Schwab
"Ahmed S. Darwish" <[EMAIL PROTECTED]> writes: > Hi Andreas, > > On Fri, Feb 15, 2008, Andreas Schwab wrote: >> "Ahmed S. Darwish" <[EMAIL PROTECTED]> writes: >> >> > I don't understand how the `fn' argument reached the c

Re: [patch 1/6] hardirq: Make hardirq bits generic

2013-09-19 Thread Andreas Schwab
Thomas Gleixner writes: > + /* > + * Only the last interrupt leaving the kernel goes through the > + * various exception return checks. > + */ > + cmpl#0, %d0 tstl%d0 Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint =

Re: [PATCH] cpufreq: Fix wrong time unit conversion

2013-09-07 Thread Andreas Schwab
See also <http://permalink.gmane.org/gmane.linux.kernel.cpufreq/11672>. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -- To unsubscribe from this lis

Re: [QUERY] Building and testing Aarch64

2013-09-28 Thread Andreas Schwab
ilesystem.cpio.gz, and where is it going to > be used? It is the optional initrd. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -- To unsubscribe from this lis

Re: [QUERY] Building and testing Aarch64

2013-09-28 Thread Andreas Schwab
Ramkumar Ramachandra writes: > Is there a bug in the Kconfig dependency tree? Sounds like VIRTIO_MMIO > requires some vga (?) drivers to be compiled in as well. I don't have any VGA option enabled. You should use a serial console with CONFIG_SERIAL_AMBA_PL011_CONSOLE. Andreas.

Re: [QUERY] Building and testing Aarch64

2013-09-28 Thread Andreas Schwab
can extract the config from /proc/config.gz. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -- To unsubscribe from this list: send the line "unsubscribe lin

Re: [kbuild bug] /bin/sh: -c: line 0: syntax error near unexpected token `;'

2012-09-08 Thread Andreas Schwab
s only defined in Makefile.build. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" i

Re: Missing tags in my local stable git repo

2012-12-10 Thread Andreas Schwab
/linux/kernel/git/stable/linux-stable.git > fetch = +refs/heads/*:refs/heads/* This is your problem. When fetching from origin all references (including tags) not part of origin are removed. When you mirror a repo you cannot have another remote in the same repo. Andreas. -- Andreas Schwa

[PATCH] scripts/tags.sh: Fix regex syntax for etags

2012-12-28 Thread Andreas Schwab
Signed-off-by: Andreas Schwab --- scripts/tags.sh | 50 +- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/scripts/tags.sh b/scripts/tags.sh index 08f06c0..4c53b7d 100755 --- a/scripts/tags.sh +++ b/scripts/tags.sh @@ -201,34

Re: [PATCH] m68k/uaccess: Fix asm constraints for userspace access

2013-06-13 Thread Andreas Schwab
e in __constant_copy_from_user and __constant_copy_to_user. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH] doc: avoid strncpy in accounting tool

2013-06-06 Thread Andreas Schwab
Kees Cook writes: > Avoid strncpy anti-pattern. Use strdup() instead, as already done for > the logfile optarg. There should be no need to copy the string, option arguments are stable. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D

Re: [PATCH] arch: m68k: math-emu: unsigned issue, 'unsigned long' will never be less than zero.

2013-05-30 Thread Andreas Schwab
p_roundint(struct fp_ext *dest, int mode) > return; > break; > case 0x401e: > - if (!(oldmant.m32[1] >= 0)) > + if (!((long)oldmant.m32[1] >= 0)) if (oldmant.m32[1] & 0

Re: [PATCH] dtc: Ensure #line directives don't consume data from the next line

2013-05-31 Thread Andreas Schwab
Stephen Warren writes: > Fix this by replacing {WS} with [ \t] so that it can't match line-breaks. I think the other uses of {WS} shouldn't span lines either. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276

Re: btrfs zero divide

2013-08-09 Thread Andreas Schwab
Josef Bacik writes: > So stripe_len shouldn't be 0, if it is you have bigger problems :). The bigger problem is that stripe_nr is u64, this is completely bogus. The first operand of do_div must be u32. This goes through the whole file. Andreas. -- Andreas Schwab, sch...@linux-m68k

Re: btrfs zero divide

2013-08-09 Thread Andreas Schwab
Andreas Schwab writes: > Josef Bacik writes: > >> So stripe_len shouldn't be 0, if it is you have bigger problems :). > > The bigger problem is that stripe_nr is u64, this is completely bogus. > The first operand of do_div must be u32. This goes through the whole

Re: [ANNOUNCE] Git v1.8.1.6

2013-04-08 Thread Andreas Schwab
JUKuxUn3sDEGkuvbqJ1EZj7r bkuFF7S8JTsRxJ92hdctDVAjCA9fW23t8smBmmQ1PQka+wzawNeV/wAmMJ9Um51h 8ut8jnfWbZNsJfwYnpo3AB6iqT/gRZ5fTjhAwXcr9da/FG05OWk9RpkwI3vbTvw+ 7YDSrBDgS59rnhXKjJrVQ6vMsKttvt3LPl7Cr2uMjxAtZuvUCnjLxfSbF8axE5SU KtGfnAbYvCQYBfIKKSwS =kNrb -END PGP SIGNATURE- Note the missing newline before "-BEGIN PGP SIGNATURE-

[PATCH] kbuild: generate generic headers before recursing into scripts

2013-04-09 Thread Andreas Schwab
The headers are now needed inside scripts/mod since 6543bec ("mod/file2alias: make modalias generation safe for cross compiling"). Signed-off-by: Andreas Schwab --- Prabhakar Lad writes: > Whats the status of it ? I think it has sufficiently been tested by now. Andreas. ---

[PATCH] Fix cleaning in scripts/mod

2013-05-04 Thread Andreas Schwab
Make sure devicetable-offsets.h is cleaned in the scripts/mod directory Signed-off-by: Andreas Schwab --- scripts/mod/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/mod/Makefile b/scripts/mod/Makefile index 9415b56..75d59fc 100644 --- a/scripts/mod/Makefile +++ b/scripts

Re: Build errors caused by modalias generation patch

2013-05-06 Thread Andreas Schwab
Please try the patch in <http://marc.info/?l=linux-kbuild&m=136767800809256&w=2>. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -- To unsubscribe

Re: Build errors caused by modalias generation patch

2013-05-07 Thread Andreas Schwab
definition of struct usb_device_id in mod_devicetable.h What are the contents of devicetable-offsets.[sh]? Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -- To unsub

Re: [BUG] mod/file2alias: build error in devicetable-offsets.c [was: asm/types.h Header file wont get generated while building uImage ?]

2013-03-30 Thread Andreas Schwab
l PHONY += scripts -scripts: scripts_basic include/config/auto.conf include/config/tristate.conf +scripts: scripts_basic include/config/auto.conf include/config/tristate.conf \ +asm-generic $(Q)$(MAKE) $(build)=$(@) # Objects we will link into vmlinux / subdirs we need to visit A

Re: [PATCH] powerpc: fix personality handling in ppc64_personality()

2012-08-01 Thread Andreas Schwab
PER_LINUX; That only "works" because PER_LINUX is 0. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -- To unsubscribe from this list: send the line &qu

Re: Is iommu_num_pages() broken ?

2012-08-04 Thread Andreas Schwab
gt; The above code will align the start before adding the len which is wrong addr & (io_page_size - 1) computes the offset into the page pointed to by addr. Looks right to me. addr & ~(io_page_size - 1) would round addr down to the start of the page. Andreas. -- Andreas Schwab, sch

Re: [PATCH] ACPI: replace strlen("string") with sizeof("string") -1

2012-08-06 Thread Andreas Schwab
that builtin strlen isn't disabled. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -- To unsubscribe from this list: send the line "unsubscribe linux-ker

2.6.25-rc1/2 CD/DVD burning broken

2008-02-16 Thread Andreas Schwab
Bytes: 70 00 05 00 00 00 00 0E 00 00 00 00 21 02 00 00 Sense Key: 0x5 Illegal Request, Segment 0 Sense Code: 0x21 Qual 0x02 (invalid address for write) Fru 0x0 Sense flags: Blk 0 (not valid) resid: 63488 Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH

Re: 2.6.25-rc1/2 CD/DVD burning broken

2008-02-16 Thread Andreas Schwab
Jeff Garzik <[EMAIL PROTECTED]> writes: > Andreas Schwab wrote: >> Since commit aaa04c28cb9a1efd42541fdb7ab648231c2a2263 [blk_end_request: >> changing ide-cd (take 4)] I cannot burn any CD/DVD any more, getting the >> following error from wodim: >> >> Errno:

Re: 2.6.25-rc1/2 CD/DVD burning broken

2008-02-17 Thread Andreas Schwab
Mark Lord <[EMAIL PROTECTED]> writes: > Andreas Schwab wrote: >> Jeff Garzik <[EMAIL PROTECTED]> writes: >> >>> Andreas Schwab wrote: >>>> Since commit aaa04c28cb9a1efd42541fdb7ab648231c2a2263 [blk_end_request: >>>> changing ide

Re: [RFC][PATCH 7/7] CGroup API: Update cpusets to use cgroup structured file API

2008-02-18 Thread Andreas Schwab
type > +echo > memory.control_type Looks like you stripped too much here. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for somet

Re: [PATCH] next-20080218 build failure at pmac_ide_macio_attach ()

2008-02-18 Thread Andreas Schwab
cio_dev * > int irq, rc; > hw_regs_t hw; > > - pmif = (struct pmac_ide_hwif)kzalloc(sizeof(*pmif), GFP_KERNEL); > + pmif = (struct pmac_ide_hwif*)kzalloc(sizeof(*pmif), GFP_KERNEL); Just remove the cast. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL

Re: 2.6.25-rc1/2 CD/DVD burning broken

2008-02-18 Thread Andreas Schwab
> > This patch brings back the rq->data_len = 0. Looks good, I was successfully able to burn a CD-RW. Thanks, Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01

Re: [PATCH] Make the kernel NTP code hand 64-bit *unsigned* values to do_div()

2008-02-21 Thread Andreas Schwab
do_div(utemp64, mtemp); > freq_adj += temp64; Same. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 &

Re: Regression: Spurious "^A" in UML output

2012-08-16 Thread Andreas Schwab
Joe Perches writes: > Perhaps it's better to change the um STR macro instead The STR macro is only used to turn the expansion into a C string to be parsed by the compiler. The real problem is that the expansion now contains spaces, which makes the output ambigous. Andreas. -- Andrea

Re: [RFT 1/1] single_chip test

2008-02-06 Thread Andreas Schwab
t; - (srev >= AR5K_SREV_VER_AR2424)) { > - ah->ah_single_chip = true; > - } else { > - ah->ah_single_chip = false; > - } > + ah->ah_single_chip = !!(srev >= AR5K_SREV_VER_AR2424 && ^^ This is useless. Andreas

Re: [PATCH] Add explanation of I_DIRTY_DATASYNC bit

2008-02-06 Thread Andreas Schwab
RTY_DATASYNC Data-related inode changes pending. We keep track of > + * ` these changes separately from I_DIRTY_SYNC so that we ^ Looks like a typo. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürn

Re: Elf loader crash while zero-filling .bss

2008-02-08 Thread Andreas Schwab
nce the .bss section does not occupy any file space the other sections can be put directly behind it in the file. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 4

Re: [Patch] Elf loader crash while zero-filling .bss

2008-02-11 Thread Andreas Schwab
It would, however, be valid to the kernel to round it up >> to the next boundary. > > I wasn't immediately sure if there is nothing in ELF specification that > would forbid that. The only requirement for a loadable segment is that its address is congruent modulo alignmen

Re: [PATCH v2] posix_types.h: make __NFDBITS compatible with glibc definition

2012-07-24 Thread Andreas Schwab
some kind of implies or header chain, the second is used. Look at the end of misc/sys/select.h. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -- To unsubscribe

Re: [PATCH] posix_types.h: make __NFDBITS match glibc definition

2012-07-24 Thread Andreas Schwab
Linus Torvalds writes: > But even before they were removed, they were inside #ifdef __KERNEL__ > protection, so it wasn't available to user code. They used to be exported for __GLIBC__ < 2, but that was removed in 2008. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG K

[PATCH] time: Fix casting issue in timekeeping_forward_now

2012-08-19 Thread Andreas Schwab
arch_gettimeoffset returns a u32 value which when shifted by tk->shift can overflow. Cast it to u64 first. Signed-off-by: Andreas Schwab --- Found this by inspection, I don't know if any existing users of ARCH_USES_GETTIMEOFFSET are affected. In other words, this is untested, but look

Re: [PATCH 4/8] time: Condense timekeeper.xtime into xtime_sec

2012-08-19 Thread Andreas Schwab
k (PowerBook6,7). The fact that the add-on commit is needed to uncover the bug might give a hint, but I'm unable to decipher it. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something complete

Re: [PATCH 4/8] time: Condense timekeeper.xtime into xtime_sec

2012-08-20 Thread Andreas Schwab
pend_time: 1345491706:0 resume_time: 1345491737:0 JDB: Trying to add: 31:0 (Looks reasonable.) Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -- To unsubscribe from this

Re: [PATCH 4/8] time: Condense timekeeper.xtime into xtime_sec

2012-08-20 Thread Andreas Schwab
John Stultz writes: > Huh. Yea, that looks fine. And without the > __timekeeping_inject_sleeptime() call, the system resumed ok? Yes, it does. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now fo

Re: [PATCH 4/8] time: Condense timekeeper.xtime into xtime_sec

2012-08-21 Thread Andreas Schwab
); > } Yes, that does it. Failure to normalize is always bad. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -- To unsubscribe from this list: send the line "uns

Re: [PATCH] binfmt_script: do not leave interp on stack

2012-10-13 Thread Andreas Schwab
Kees Cook writes: > + /* > + * Since bprm is already modified, we cannot continue if the the s/the the/the/ Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely differ

Re: 2.6.25-rc1/2 CD/DVD burning broken

2008-02-23 Thread Andreas Schwab
that resid always equals dxfer_len even when the transfer was successful, although growisofs does not seem to care. With 2.6.24.2 resid is only non-zero when a sense error occurred. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnber

Re: 2.6.25-rc1/2 CD/DVD burning broken

2008-02-24 Thread Andreas Schwab
Borislav Petkov <[EMAIL PROTECTED]> writes: > burning a dvd here with growisofs works just fine. You probably don't have a Pioneer. > However, my strace -v won't dereference the struct pointer passed to > the ioctl: I use strace 4.5.16. Andreas. -- Andreas

Re: 2.6.25-rc1/2 CD/DVD burning broken

2008-02-25 Thread Andreas Schwab
from kernel like "DMA error" when > the problem happens? Never. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something

Re: 2.6.25-rc1/2 CD/DVD burning broken

2008-02-25 Thread Andreas Schwab
"Kiyoshi Ueda" <[EMAIL PROTECTED]> writes: > I'm looking at this problem, but currently no idea why the conversion > to blk_end_request causes it. cdrom_newpc_intr apparently never sets rq->sense_len. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTE

Re: 2.6.25-rc1/2 CD/DVD burning broken

2008-02-25 Thread Andreas Schwab
Borislav Petkov <[EMAIL PROTECTED]> writes: > On Mon, Feb 25, 2008 at 08:38:22PM +0100, Andreas Schwab wrote: >> "Kiyoshi Ueda" <[EMAIL PROTECTED]> writes: >> >> > I'm looking at this problem, but currently no idea why the conversion >>

Re: 2.6.25-rc1/2 CD/DVD burning broken

2008-02-26 Thread Andreas Schwab
Borislav Petkov <[EMAIL PROTECTED]> writes: > On Mon, Feb 25, 2008 at 11:08:55PM +0100, Andreas Schwab wrote: >> Borislav Petkov <[EMAIL PROTECTED]> writes: >> >> > On Mon, Feb 25, 2008 at 08:38:22PM +0100, Andreas Schwab wrote: >> >> "Kiyoshi

Re: asm/unistd.h

2001-04-05 Thread Andreas Schwab
watch your compiler complaining: #define foo() { } #define bar() do { } while (0) void mumble () { if (1) foo(); else bar(); if (2) bar(); else foo(); } Andreas. -- Andreas Schwab "And now for something SuSE Labs

Re: patch for PLIP and slow, interrupt-less computers

2001-04-14 Thread Andreas Schwab
|> MODULE_PARM(timid, "1i"); |> +MODULE_PARM(trigger_wait, "i"); |> +MODULE_PARM(nibble_wait, "i"); ^^^ The types don't match. Andreas. -- Andreas Schwab "And now for something SuSE Labs

Re: "uname -p" prints unknown for Athlon K7 optimized kernel?

2001-04-15 Thread Andreas Schwab
|> I get the same on my Sun Ultra 1, and various x86 boxes. I'm sure this is |> normal, I'm just not sure how you would change that label. I know gcc |> compiles everything with a target of gcc-linux-unkown on my machines, so |> the uknown may be coming from

Re: [CHECKER] copy_*_user length bugs?

2001-04-18 Thread Andreas Schwab
s not a problem, since kernel and user address space are strictly distinct, even in the kernel. The luser will get an EFAULT eventually. Andreas. -- Andreas Schwab "And now for something SuSE Labscompletely different.&q

Re: [ANNONCE] Kernel Autoconfiguration utility v.0.9.1.2

2001-02-15 Thread Andreas Schwab
-if [ "${!conf}" != "y" ]; then |> +if [ "${conf}" != "y" ]; then |> define $1 y |> else |> debug "$1=y" This is plain wrong. ${!conf} and ${conf} are completely different things. Andreas. -- Andreas Schwa

Re: binfmt_script and ^M

2001-03-05 Thread Andreas Schwab
^ |> + char buf[80]; |> + char *interpreter = extract_hash_bang_interpreter (pathname, buf); |> + |> + internal_error ("%s: command not found: `%s'", pathname, |> + interpreter); |> +

Re: binfmt_script and ^M

2001-03-05 Thread Andreas Schwab
/bin/sh. |> |> POSIX disagrees with you (accd to the manual page) |> |> $ man isspace This has no significance here. The right thing to look at is $IFS, which does not contain \r by default. The shell only splits words by "IFS whitespace", and the kernel should be consisten

Re: binfmt_script and ^M

2001-03-06 Thread Andreas Schwab
Paul Flinders <[EMAIL PROTECTED]> writes: |> Andreas Schwab wrote: |> |> > This [isspace('\r') == 1] has no significance here. The right thing to |> |> > look at is $IFS, which does not contain \r by default. The shell only splits |> |> > words

Re: binfmt_script and ^M

2001-03-06 Thread Andreas Schwab
Jesse Pollard <[EMAIL PROTECTED]> writes: |> Andreas Schwab <[EMAIL PROTECTED]>:Andreas Schwab <[EMAIL PROTECTED]>Andreas Schwab |<[EMAIL PROTECTED]> |> > Paul Flinders <[EMAIL PROTECTED]> writes: |> > |> > |> Andreas Schwab wrot

Re: Documenting stat(2)

2001-01-19 Thread Andreas Schwab
e details of the symlink |> whereas lstat should return the details of the symlink target. Nope, check the facts. Andreas. -- Andreas Schwab "And now for something SuSE Labscompletely different." [EMAIL PRO

Re: linux-2.2.18-pre19 asm/delay.h problem?

2000-11-22 Thread Andreas Schwab
Igmar Palsenberg <[EMAIL PROTECTED]> writes: |> > > #define __bad_udelay() panic("Udelay called with too large a constant") |> |> Can't we change that to : |> #error "Udelay..." No. Andreas. -- Andreas Schwab

Re: [PATCH] no RLIMIT_NPROC for root, please

2000-11-28 Thread Andreas Schwab
g patch is the right thing. AFAICS, _all_ resource limits are equally applied to root processes. Why should NPROC be different? Andreas. -- Andreas Schwab "And now for something SuSE Labscompletely differen

Re: [PATCH] removal of "static foo = 0"

2000-11-28 Thread Andreas Schwab
> > > test2.c: |> > > int a,c; |> > > |> > > Which is _stronger_? |> > |> > Those won't link together as they aren't declared static. |> |> Try it. They _will_ link together. Not if you compile with -fno-common, which should actuall

Re: [PATCH] removal of "static foo = 0"

2000-11-28 Thread Andreas Schwab
Andrea Arcangeli <[EMAIL PROTECTED]> writes: |> On Tue, Nov 28, 2000 at 10:55:06AM +0100, Andreas Schwab wrote: |> > Alexander Viro <[EMAIL PROTECTED]> writes: |> > |> > |> On Tue, 28 Nov 2000, Andrea Arcangeli wrote: |> > |> |> > |> > O

Re: [PATCH] 2.2: /proc/config.gz

2000-09-06 Thread Andreas Schwab
return get_proc_config(page, start, offset, length); +#endif + } return -EBADF; } Andreas. -- Andreas Schwab "And now for something SuSE Labscompletely different." [EMAIL PROTECTED] Su

Re: __ucmpdi2

2000-09-19 Thread Andreas Schwab
since it already does it in all other places. Perhaps some problem with the patterns in the machine description. Andreas. -- Andreas Schwab "And now for something SuSE Labscompletely different." [EMAIL PR

Re: [OT] Re: Possible C++ safe header project - Re:[Criticism] On the discussion about C++ modules

2000-10-24 Thread Andreas Schwab
ace not not_eq or or_eq private protected public reinterpret_cast static_cast template this throw true try typeid typename using wchar_t xor xor_eq Andreas. -- Andreas Schwab "And now for something SuSE Labscompletel

Re: makefile bash2 typo (Re: We interrupt you regularly scheduled catfight for.. Linux 2.2.18pre13)

2000-10-02 Thread Andreas Schwab
"$$BASH" ]; then echo $$BASH; \ elif [ -x /bin/bash ]; then echo /bin/bash; \ else echo sh; fi) Andreas. -- Andreas Schwab "And now for something SuSE Labscompletely different." [

Re: __bad_udelay in 2.2.18pre15

2000-10-11 Thread Andreas Schwab
trap |> |> Wouldn't it be better to use an #error directive? There is no way to test the condition in the preprocessor. Andreas. -- Andreas Schwab "And now for something SuSE Labscompletely different."

Re: binfmt_script and ^M

2001-03-06 Thread Andreas Schwab
ernel should treat \r |> as just another whitespace character: it's what most shells do Do they? Bourne shells don't, tcsh doesn't, zsh doesn't. Andreas. -- Andreas Schwab "And now for something SuSE Labs

Re: unistd.h and 'extern's and 'syscall' "standard(?)"

2001-04-01 Thread Andreas Schwab
call. |> This implies that you can't do system calls directly w/o some |> support library. Don't use kernel headers in user programs. Just use syscall(3). Andreas. -- Andreas Schwab "And now for something SuSE Labs

Re: rlim_t and DNS?

2001-02-02 Thread Andreas Schwab
Peter Samuelson <[EMAIL PROTECTED]> writes: |> [Admin Mailing Lists] |> > i have no bits directory |> |> Really? What version of libc, and on what Linux distro? I thought all |> versions of glibc2 had /usr/include/bits/. No, it was introduced in glibc 2.0.5. Andr

Re: [PATCH] radeonfb: (#2) Implement proper workarounds for PLL accesses

2005-04-05 Thread Andreas Schwab
(iBook G3). It makes mode switching to take an extraordinary amount of time, ie. when switching away from X it takes about 2-3 seconds until the console is restored. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fi

Re: [PATCH] radeonfb: (#2) Implement proper workarounds for PLL accesses

2005-04-06 Thread Andreas Schwab
does. Without the sleep, switching is as fast as before. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely diffe

Re: [PATCH] radeonfb: (#2) Implement proper workarounds for PLL accesses

2005-04-07 Thread Andreas Schwab
he other way. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." - To unsubscribe from th

Re: [PATCH] radeonfb: (#2) Implement proper workarounds for PLL accesses

2005-04-07 Thread Andreas Schwab
.0 into 1x mode kernel: agpgart: Putting AGP V2 device at :00:10.0 into 1x mode kernel: radeon_pll_errata_after_data last message repeated 191 times Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58

Re: [PATCH] radeonfb: (#2) Implement proper workarounds for PLL accesses

2005-04-07 Thread Andreas Schwab
adeonfb_setcolreg: radeon_pll_errata_after_data last message repeated 191 times Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different.&

Re: [PATCH] radeonfb: (#2) Implement proper workarounds for PLL accesses

2005-04-08 Thread Andreas Schwab
Benjamin Herrenschmidt <[EMAIL PROTECTED]> writes: > On Fri, 2005-04-08 at 01:58 +0200, Andreas Schwab wrote: >> Benjamin Herrenschmidt <[EMAIL PROTECTED]> writes: >> >> > Yes, that's very extreme, I suspect somebody is banging on set_par or >> &

Re: [PATCH] radeonfb: (#2) Implement proper workarounds for PLL accesses

2005-04-09 Thread Andreas Schwab
0 into 1x mode agpgart: Putting AGP V2 device at :00:10.0 into 1x mode radeonfb_setcolreg: INPLL radeonfb_setcolreg: OUTPLL radeonfb_setcolreg: OUTPLL ... last three lines repeated 63 times Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409

Re: [PATCH] ppc64: very basic desktop g5 sound support (#2)

2005-04-12 Thread Andreas Schwab
und a bit longer until you are ready with the rewrite. Keep up the good work! Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for so

Re: [PATCH] ppc64: very basic desktop g5 sound support (#2)

2005-04-12 Thread Andreas Schwab
send me a tarball of your device-tree ? Will do. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different.&q

Re: [PATCH] ppc64: very basic desktop g5 sound support (#2)

2005-04-12 Thread Andreas Schwab
rking, but unfortunately on the line-out I get nearly no output. I have pushed both the master and pcm control to the maximum and still barely hear anything. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerpr

Re: [PATCH] ppc64: improve g5 sound headphone mute

2005-04-16 Thread Andreas Schwab
. There's still a minor problem: when booting with line-out plugged (didn't try headphone yet) the initial volume settings are still not right. Unplugging and plugging again fixes this. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5,

Re: Linus's git tree broken?

2005-07-17 Thread Andreas Schwab
You need to use the rsync method, http does not work with Linus' tree. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something

Re: Multiple virtual address mapping for the same code on IA-64 linux kernel.

2005-08-16 Thread Andreas Schwab
vamsi krishna <[EMAIL PROTECTED]> writes: > example /lib/libc-2.2.4.so size 6094859got mapped 3 times with > permissions 'r-xp' , '---p' and 'rw-p' from the bottom. Note the file offset. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]

Re: Undefined behaviour with get_cpu_vendor

2005-08-17 Thread Andreas Schwab
u32 h, l, features; > - extern void get_cpu_vendor(struct cpuinfo_x86*); > + extern void get_cpu_vendor(struct cpuinfo_x86*, int); Move the declaration to a header and include that here. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstr

Re: [PATCH] PPC64: Fix UP kernel build

2005-08-04 Thread Andreas Schwab
2.6/arch/ppc64/kernel/machine_kexec.c 2005-08-03 20:39:49.0 > -0500 > @@ -243,13 +243,17 @@ static void kexec_prepare_cpus(void) > > static void kexec_prepare_cpus(void) > { > + extern void smp_release_cpus(void); Please put this in a header. Andreas. -- Andreas Schwab,

Re: 2.6.13-rc7 compile failures (was: Re: Fix up mmap of /dev/kmem)

2005-08-24 Thread Andreas Schwab
integer of different size > | linux-m68k-2.6.13-rc7/drivers/char/mem.c:267: invalid operands to binary << Try this: Add parens around macro parameters. Signed-off-by: Andreas Schwab <[EMAIL PROTECTED]> --- include/asm-m68k/page.h.~1.14.~ 2004-05-26 20:10:15.0 +0200 +++ inc

2.6.13-rc7-git2 crashes on iBook

2005-08-28 Thread Andreas Schwab
. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." - To unsubscribe from this list: send the line "unsubscribe l

Re: [PATCH] quiet non-x86 option ROM warnings

2005-09-04 Thread Andreas Schwab
quot;, pci_name(rinfo->pdev), BIOS_IN16(0)); While you are at it you could also add the missing space. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4

Re: [PATCH] bogus cast in bio.c

2005-09-09 Thread Andreas Schwab
[EMAIL PROTECTED] writes: > void * is not the same as void *... IMHO it should. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And

Re: strace, accept(), ERESTARTSYS and EINTR

2008-01-05 Thread Andreas Schwab
up > (corrupts its stack, runs out of FDs/VM/threads etc), I don't think that I > should see in the strace output that accept() has returned > ERESTARTSYS. strace always sees the raw return value, before the signal handler is executed and before the check for syscall restart is do

Re: strace, accept(), ERESTARTSYS and EINTR

2008-01-05 Thread Andreas Schwab
"Phil Endecott" <[EMAIL PROTECTED]> writes: > Andreas Schwab wrote: >> "Phil Endecott" <[EMAIL PROTECTED]> writes: >> >>> However, there's a lot of code and I know that there are bugs in it. I >>> just want to focus on the ker

Re: strace, accept(), ERESTARTSYS and EINTR

2008-01-05 Thread Andreas Schwab
that to > user-space, and that this modified return value is not reported by strace? Yes, assuming there was a signal handler and it wasn't registered with SA_RESTART. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, G

Re: umount -l , getcwd and /proc//cwd inconsistent

2008-01-07 Thread Andreas Schwab
ected string > but "/proc//cwd" returns an empty string. Builtin pwd just prints $PWD. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "

Re: [PATCH] Use separate sections for __dev/__cpu/__mem code/data

2008-01-21 Thread Andreas Schwab
t work with -traditional. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -- To unsubsc

Re: __LITTLE_ENDIAN vs. __LITTLE_ENDIAN_BITFIELD

2007-10-05 Thread Andreas Schwab
ianness > doesn't match bit-endianness when it writes the the word to a > memory-mapped device. The bit mapping on your device is strictly internal to the device and has nothing to do with bit order on the C level. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Pro

Re: __LITTLE_ENDIAN vs. __LITTLE_ENDIAN_BITFIELD

2007-10-05 Thread Andreas Schwab
pts. A cpu can have insns using both little and big endian bit addressing (btst vs. bftst on m68k). The bitfield ordering is a property of the ABI and may even be different from how the cpu numbers the bits in its ISA. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products

Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1

2007-10-05 Thread Andreas Schwab
antage of the macros in kernel.h and write that > as: > > +#define DMA_BIT_MASK(n) (((n) == 64) ? ULLONG_MAX : ((1ULL<<(n))-1)) #define DMA_BIT_MASK(n) ((u64)-1 >> (64 - (n))) Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldst

  1   2   3   4   5   6   >