On 9/25/05, Blaisorblade <blaisorblade@yahoo.it> wrote:
> dnsdomainname: Unknown host
This error is not related to Uml at all and shouldn't give problems in itself,
but why dnsdomainname doesn't work on your machine? You should probably fix

Etay: looks like name resolving is not working ok on my machine. I'm getting 'host not
found' when running host on my machine name. The name is configured in /etc/hosts
and 'files' is set first in nsswitch.conf. Looks like the resolver is bypassing the hosts file
and goes directly to the DNS server of my ISP.

Read my previous answer, however if you want the fix it's in 2.6.13-bs2 - and
it was already in 2.6.14 current Linus tree.

Etay: I updated my kernel tree using:

git pull rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

(is that the correct way to pull Linus tree?)

and got the following errors on compilation:

[cl@amber linux-2.6]$ ARCH=um make
make[1]: `arch/um/sys-i386/util/mk_sc' is up to date.
  CHK     arch/um/include/uml-config.h
  UPD     arch/um/include/uml-config.h
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  SPLIT   include/linux/autoconf.h -> include/config/*
gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2     -fomit-frame-pointer -g -fprofile-arcs -ftest-coverage -D__arch_um__ -DSUBARCH=\"i386\" -Iarch/um/include  -I/home/cl/kernel/linux-2.6/arch/um/kernel/tt/include  -I/home/cl/kernel/linux-2.6/arch/um/kernel/skas/include -Dvmap=kernel_vmap -Din6addr_loopback=kernel_in6addr_loopback -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask -fno-unit-at-a-time -U__i386__ -Ui386 -D_LARGEFILE64_SOURCE -Wdeclaration-after-statement -Wno-pointer-sign  -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.0.1/include -D__KERNEL__ -Iinclude  -S -o arch/um/kernel-offsets.s arch/um/sys-i386/kernel-offsets.c
In file included from include/asm/thread_info.h:17,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:53,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from arch/um/sys-i386/kernel-offsets.c:3:
include/asm/processor.h:69: error: 'CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
include/asm/processor.h:69: error: requested alignment is not a constant
In file included from include/linux/sched.h:12,
                 from arch/um/sys-i386/kernel-offsets.c:3:
include/linux/jiffies.h:27:5: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:29:7: warning: "CONFIG_HZ" is not defined

Thanks a lot for your help,


Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)

Yahoo! Messenger: chiamate gratuite in tutto il mondo

Etay Meiri