Am 26.09.2013 12:20, schrieb Ramkumar Ramachandra:
> Richard Weinberger wrote:
>> This patch is based on: https://lkml.org/lkml/2013/7/4/396
>>
>> Cc: Ramkumar Ramachandra
>> Signed-off-by: Richard Weinberger
>> ---
>> arch/um/configs/i386_defconfig | 954
>> ++
Am 26.09.2013 13:57, schrieb Ramkumar Ramachandra:
> Richard Weinberger wrote:
>>> $ file linux
>>> linux: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
>>> dynamically linked (uses shared libs), for GNU/Linux 2.6.32, not
>>> stripped
>>> $ ./linux ubd0=busybox-rootfs
>>> [...]
>>> Ker
Richard Weinberger wrote:
> So, what exactly is broken in upstream?
> make defconfig works as it always did.
Auto-detection of SUBARCH, which can be done with a simple call to
uname -m (the 90% case). The second patch I submitted prevented
spawning xterms unnecessarily, which we discussed was a go
Am 26.09.2013 13:43, schrieb Ramkumar Ramachandra:
> Richard Weinberger wrote:
>>> Auto-detection of SUBARCH, which can be done with a simple call to
>>> uname -m (the 90% case). The second patch I submitted prevented
>>> spawning xterms unnecessarily, which we discussed was a good move.
>>
>> Cove
Am 26.09.2013 12:40, schrieb Ramkumar Ramachandra:
> Richard Weinberger wrote:
> Forget all that. What matters is that upstream is still broken, and
> users are suffering. Despite a reasonable fix being submitted in July.
So, what exactly is broken in upstream?
make defconfig works as it always di
Richard Weinberger wrote:
> I told you already that "make defconfig ARCH=um SUBARCH=x86" will spuriously
> create a x86_64 config on x86_64.
> This breaks existing setups.
I'll fix this and resubmit soon.
Thanks.
--
Octo
Richard Weinberger wrote:
>> $ file linux
>> linux: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
>> dynamically linked (uses shared libs), for GNU/Linux 2.6.32, not
>> stripped
>> $ ./linux ubd0=busybox-rootfs
>> [...]
>> Kernel panic - not syncing: No init found. Try passing init= o
Richard Weinberger wrote:
>> Auto-detection of SUBARCH, which can be done with a simple call to
>> uname -m (the 90% case). The second patch I submitted prevented
>> spawning xterms unnecessarily, which we discussed was a good move.
>
> Covering only 90% of all cases is not enough.
> We must not br
Ramkumar Ramachandra wrote:
> Richard Weinberger wrote:
>> I told you already that "make defconfig ARCH=um SUBARCH=x86" will spuriously
>> create a x86_64 config on x86_64.
>> This breaks existing setups.
>
> I'll fix this and resubmit soon.
Wait a minute. You're now arguing about whether the gene
Correct. Users expect Form SUBARCH=x86 a 32bit kernel.
Geert Uytterhoeven schrieb:
>On Thu, Sep 26, 2013 at 3:13 PM, Ramkumar Ramachandra
> wrote:
>> Ramkumar Ramachandra wrote:
>>> Richard Weinberger wrote:
I told you already that "make defconfig ARCH=um SUBARCH=x86" will
>spuriously
>>>
On Thu, Sep 26, 2013 at 3:13 PM, Ramkumar Ramachandra
wrote:
> Ramkumar Ramachandra wrote:
>> Richard Weinberger wrote:
>>> I told you already that "make defconfig ARCH=um SUBARCH=x86" will spuriously
>>> create a x86_64 config on x86_64.
>>> This breaks existing setups.
>>
>> I'll fix this and re
Richard Weinberger wrote:
> This patch is based on: https://lkml.org/lkml/2013/7/4/396
>
> Cc: Ramkumar Ramachandra
> Signed-off-by: Richard Weinberger
> ---
> arch/um/configs/i386_defconfig | 954
> +++
> arch/um/configs/x86_64_defconfig | 943
Am 26.09.2013 12:53, schrieb Ramkumar Ramachandra:
> Richard Weinberger wrote:
>> So, what exactly is broken in upstream?
>> make defconfig works as it always did.
>
> Auto-detection of SUBARCH, which can be done with a simple call to
> uname -m (the 90% case). The second patch I submitted prevent
Geert Uytterhoeven wrote:
> Sorry for chiming in, but... what about cross compiling?
> SUBARCH=x86 should give you a 32-bit ia32 kernel, right?
User-Mode Linux only supports two host architectures (called $SUBARCH)
at the moment: i386 and x86_64. If you leave out the $SUBARCH on
either an i386 or
Richard Weinberger wrote:
> This patch is based on: https://lkml.org/lkml/2013/7/4/396
This is the original patch I sent across in July.
> diff --git a/arch/um/Makefile b/arch/um/Makefile
> index 133f7de..5bc7892 100644
> --- a/arch/um/Makefile
> +++ b/arch/um/Makefile
> @@ -8,6 +8,8 @@
>
> ARCH
Am 26.09.2013 15:26, schrieb Geert Uytterhoeven:
> On Thu, Sep 26, 2013 at 3:13 PM, Ramkumar Ramachandra
> wrote:
>> Ramkumar Ramachandra wrote:
>>> Richard Weinberger wrote:
I told you already that "make defconfig ARCH=um SUBARCH=x86" will
spuriously
create a x86_64 config on x86_
Am 26.09.2013 16:36, schrieb Ramkumar Ramachandra:
> Richard Weinberger wrote:
>>> Sorry for chiming in, but... what about cross compiling?
>>> SUBARCH=x86 should give you a 32-bit ia32 kernel, right?
>>
>> Correct.
>> Users expect from SUBARCH=x86 a i386 32bit UML kernel.
>
> This is an insane ex
Richard Weinberger wrote:
>> Sorry for chiming in, but... what about cross compiling?
>> SUBARCH=x86 should give you a 32-bit ia32 kernel, right?
>
> Correct.
> Users expect from SUBARCH=x86 a i386 32bit UML kernel.
This is an insane expectation. This is kernel convention (it has
nothing to do wit
Hi,
The first patch does the meat of the work of getting rid of the
bloated i386-specific defconfig and replacing it with two tiny ones,
and updating the Makefile/ Kconfig. SUBARCH is now auto-detected
correctly, and can be overridden on the command-line. I've tested both
the x86_64 kernel with an
Cc: Richard Weinberger
Signed-off-by: Ramkumar Ramachandra
---
arch/x86/um/vdso/.gitignore | 2 ++
1 file changed, 2 insertions(+)
create mode 100644 arch/x86/um/vdso/.gitignore
diff --git a/arch/x86/um/vdso/.gitignore b/arch/x86/um/vdso/.gitignore
new file mode 100644
index 000..9cac6d0
-
arch/um/defconfig only lists one default configuration, and that applies
only to the i386 architecture. Replace it with two minimal
configuration files generated using `make savedefconfig`:
i386_defconfig and x86_64_defconfig
The build scripts now require two updates:
1. um's Kconfig (arch/x8
Am 27.09.2013 06:14, schrieb Ramkumar Ramachandra:
> arch/um/defconfig only lists one default configuration, and that applies
> only to the i386 architecture. Replace it with two minimal
> configuration files generated using `make savedefconfig`:
>
> i386_defconfig and x86_64_defconfig
>
> The
Am 27.09.2013 06:14, schrieb Ramkumar Ramachandra:
> Cc: Richard Weinberger
> Signed-off-by: Ramkumar Ramachandra
> ---
> arch/x86/um/vdso/.gitignore | 2 ++
> 1 file changed, 2 insertions(+)
> create mode 100644 arch/x86/um/vdso/.gitignore
>
> diff --git a/arch/x86/um/vdso/.gitignore b/arch/x
23 matches
Mail list logo