[uml-user] [Fwd: Re: Problems compiling user mode linux kernel]

2006-10-09 Thread Lee Cartwright
Hi all,

I was dragged away from this problem for a couple of weeks and have only 
just got back to it. I'm still having the same problem. I have even 
tried building 2.6.17.13 and get exactly the same error, which suggests 
to me it is definitely something in my setup. I'm running Fedora Core 4, 
with a full install. Does anyone have any ideas?

Thanks,
Lee

Jeff Dike wrote:
> You should have added the /usr/lib part, not modified /lib to /usr/lib.
>
> But in any case, that's not the problem, so put that back the way it was
> and add "V=1" to the UML build command and post the failing link command
> line.
>
>   Jeff
>
>   

Ah, sorry about that. The tail end of the verbose output is:

UPD include/linux/compile.h
  gcc -Wp,-MD,init/.version.o.d  -nostdinc -isystem 
/home/tools/local/gcc/i686/lib/gcc/i686-pc-linux-gnu/4.0.3/include 
-D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef 
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os  
-D__arch_um__ -DSUBARCH=\"i386\" -Iarch/um/include  
-I/tmp/uml_test/linux-2.6.18/arch/um/include/skas -Dvmap=kernel_vmap 
-Din6addr_loopback=kernel_in6addr_loopback -Derrno=kernel_errno 
-Dsigprocmask=kernel_sigprocmask -Dmktime=kernel_mktime 
-fno-unit-at-a-time -U__i386__ -Ui386 -march=i686 
-mpreferred-stack-boundary=2 -ffreestanding -D_LARGEFILE64_SOURCE 
-fno-omit-frame-pointer -fno-optimize-sibling-calls -g  
-Wdeclaration-after-statement -Wno-pointer-sign-D"KBUILD_STR(s)=#s" 
-D"KBUILD_BASENAME=KBUILD_STR(version)"  
-D"KBUILD_MODNAME=KBUILD_STR(version)" -c -o init/version.o init/version.c
   ld  -m elf_i386  -r -o init/built-in.o init/main.o init/version.o 
init/mounts.o init/initramfs.o init/calibrate.o
gcc -Wl,-rpath,/lib -Wl,--wrap,malloc -Wl,--wrap,free 
-Wl,--wrap,calloc -o .tmp_vmlinux1 -Wl,-T,arch/um/kernel/vmlinux.lds   
init/built-in.o -Wl,--start-group  usr/built-in.o  
arch/um/kernel/built-in.o  arch/um/drivers/built-in.o  
arch/um/os-Linux/built-in.o  arch/um/sys-i386/built-in.o  
arch/i386/crypto/built-in.o  kernel/built-in.o  mm/built-in.o  
fs/built-in.o  ipc/built-in.o  security/built-in.o  crypto/built-in.o  
block/built-in.o  lib/lib.a  lib/built-in.o  drivers/built-in.o  
sound/built-in.o  net/built-in.o -Wl,--end-group -lutil  ; rm -f linux
/usr/bin/ld: cannot find -lutil
collect2: ld returned 1 exit status
echo 'cmd_.tmp_vmlinux1 :=  gcc -Wl,-rpath,/lib -Wl,--wrap,malloc 
-Wl,--wrap,free -Wl,--wrap,calloc -o .tmp_vmlinux1 
-Wl,-T,arch/um/kernel/vmlinux.lds   init/built-in.o -Wl,--start-group  
usr/built-in.o  arch/um/kernel/built-in.o  arch/um/drivers/built-in.o  
arch/um/os-Linux/built-in.o  arch/um/sys-i386/built-in.o  
arch/i386/crypto/built-in.o  kernel/built-in.o  mm/built-in.o  
fs/built-in.o  ipc/built-in.o  security/built-in.o  crypto/built-in.o  
block/built-in.o  lib/lib.a  lib/built-in.o  drivers/built-in.o  
sound/built-in.o  net/built-in.o -Wl,--end-group -lutil  ; rm -f linux' 
 > ./..tmp_vmlinux1.cmd
  nm -n .tmp_vmlinux1 | scripts/kallsyms  > .tmp_kallsyms1.S
nm: '.tmp_vmlinux1': No such file
No valid symbol.
make: *** [.tmp_kallsyms1.S] Error 1


Thanks,
Lee



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user





-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user


[uml-user] network setup

2006-10-09 Thread Fei Liu
Hi, I visited your website http://uml.nagafix.co.uk/ about UML, it's 
excellent. Everything worked perfectly until the network setup part. UML 
just couldn't seem to pick up an IP for eth0. I followed exactly the 
same commands you put on your website. I am using Fedora core 5 Linux 
release. Here is some relevant information about my host:

dhcpd -cf /etc/dhcpd.conf tap1
Internet Systems Consortium DHCP Server V3.0.3-RedHat
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Wrote 0 leases to leases file.
Listening on LPF/tap1/92:06:b0:ab:dc:62/192.168.0/24
Sending on   LPF/tap1/92:06:b0:ab:dc:62/192.168.0/24
Sending on   Socket/fallback/fallback-net
[EMAIL PROTECTED] uml]# ifconfig eth0
eth0  Link encap:Ethernet  HWaddr 00:17:A4:F1:AF:C1
  inet addr:192.168.1.31  Bcast:255.255.255.255  Mask:255.248.0.0
  inet6 addr: fe80::217:a4ff:fef1:afc1/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:16870456 errors:0 dropped:0 overruns:0 frame:24
  TX packets:7379967 errors:0 dropped:0 overruns:0 carrier:0
  collisions:1085459 txqueuelen:1000
  RX bytes:1923957762 (1.7 GiB)  TX bytes:607936674 (579.7 MiB)
  Interrupt:16

[EMAIL PROTECTED] uml]# ifconfig tap1
tap1  Link encap:Ethernet  HWaddr 92:06:B0:AB:DC:62
  inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
  inet6 addr: fe80::9006:b0ff:feab:dc62/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:8 overruns:0 carrier:0
  collisions:0 txqueuelen:500
  RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

I've also enabled ipv4_forward and arp_forward:
echo 1 > /proc/sys/net/ipv4/ip_forward
echo 1 > /proc/sys/net/ipv4/conf/tap1/proxy_arp

I made a small change to dhcpd.conf (I suppose you have a typo in your 
example):
default-lease-time 6000;
max-lease-time 72000;
option domain-name-servers 192.168.0.1;
ddns-update-style none;
subnet  192.168.0.0  netmask  255.255.255.0{
 range 192.168.0.100 192.168.0.254;
}
Note it's subnet 192.168.0.0 not 192.168.0.1 (dhcpd will complain/stop 
when it's 192.168.0.1)

This is the error message I get: (I am also using fedora core 5 root 
file system in client uml linux)

|./kernel32-2.6 ubd0=./root_fs eth0=tuntap,tap1,fe:f0:00:00:00:01,192.168.1.254 
con0=fd:0,fd:1 root=/dev/ubda|

.
[42949373.32] Netdevice 0 (fe:f0:00:00:00:01) : TUN/TAP backend - IP 
= 192.168.1.254
.
Determining IP information for eth0...SIOCSIFFLAGS: Operation not permitted
SIOCSIFFLAGS: Operation not permitted
#ifconfig
loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

[EMAIL PROTECTED] ~]# ifup eth0

Determining IP information for eth0...[42949541.28] TUNSETIFF 
failed, errno = 1
[42949542.32] TUNSETIFF failed, errno = 1
SIOCSIFFLAGS: Operation not permitted
[42949542.32] TUNSETIFF failed, errno = 1
SIOCSIFFLAGS: Operation not permitted


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user


[uml-user] AD:1度喰ったら止めら れない!

2006-10-09 Thread fehu
俺の場合、月月火水木金金って感じで
出会い系やってます。止まらないんですぅ〜。
http://biz-station.org/osy/



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user


Re: [uml-user] network setup

2006-10-09 Thread Antoine Martin
Hi,

On Mon, 2006-10-09 at 11:06 -0400, Fei Liu wrote:
> Hi, I visited your website http://uml.nagafix.co.uk/ about UML, it's 
> excellent.
Thanks very much!

> Note it's subnet 192.168.0.0 not 192.168.0.1 (dhcpd will complain/stop 
> when it's 192.168.0.1)
Oops sorry about that, I've updated the website.
Thanks for the fix!

> [42949373.32] Netdevice 0 (fe:f0:00:00:00:01) : TUN/TAP backend - IP 
> = 192.168.1.254
> 
> Determining IP information for eth0...SIOCSIFFLAGS: Operation not permitted
> SIOCSIFFLAGS: Operation not permitted
That usually means that the user that runs the guest does not have write
access to /dev/net/tun.

Antoine


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user


Re: [uml-user] network setup

2006-10-09 Thread Fei Liu
After going back and forth with Mr. Martin from uml.nagafix.co.uk. I was 
finally able to set up everything correctly. However, the kernel-2.6.18 
binary provided crashed during a yum install session. Here is the 
output. Let me know if further information is required.

[EMAIL PROTECTED] ~]# yum install gcc
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core [1/3]
core  100% |=| 1.1 kB00:00
updates  [2/3]
updates   100% |=| 1.2 kB00:00
extras   [3/3]
extras100% |=| 1.1 kB00:00
Reading repository metadata in from local files
primary.xml.gz100% |=| 378 kB00:03
updates   : ## 1028/1028
Added 120 new packages, deleted 36 old in 3.67 seconds
primary.xml.gz100% |=| 1.6 MB00:14
extras: ## 5343/5343
Added 440 new packages, deleted 308 old in 14.06 seconds
[42950509.72] oom-killer: gfp_mask=0x201d2, order=0
[42950509.72] 092e3a88:  [<080a5d91>] out_of_memory+0x2b/0x96
[42950509.72] 092e3aa0:  [<080a6b4e>] __alloc_pages+0x1ef/0x26e
[42950509.72] 092e3adc:  [<080a83a7>] 
__do_page_cache_readahead+0xa4/0x131
[42950509.72] 092e3b00:  [<080a3cb5>] filemap_nopage+0x129/0x2d8
[42950509.72] 092e3b3c:  [<080adad1>] do_no_page+0x9a/0x24b
[42950509.72] 092e3b6c:  [<080add8f>] __handle_mm_fault+0xb8/0x15c
[42950509.72] 092e3b9c:  [<0805a901>] handle_page_fault+0xe1/0x1dc
[42950509.72] 092e3bcc:  [<0805aafc>] segv+0xaa/0x297
[42950509.72] 092e3bec:  [<08059f5f>] um_timer+0x75/0xa8
[42950509.72] 092e3bf8:  [<08059f85>] um_timer+0x9b/0xa8
[42950509.72] 092e3bfc:  [<0823f48f>] ptrace+0x2f/0x80
[42950509.72] 092e3c10:  [<0823b552>] __waitpid_nocancel+0x18/0x66
[42950509.72] 092e3c18:  [<0807cbba>] wait_stub_done+0x5b/0xf6
[42950509.72] 092e3c3c:  [<080a1822>] __do_IRQ+0x6d/0x9f
[42950509.72] 092e3c48:  [<080a1848>] __do_IRQ+0x93/0x9f
[42950509.72] 092e3c60:  [<08057e2d>] do_IRQ+0x26/0x2d
[42950509.72] 092e3c7c:  [<0805aa4e>] segv_handler+0x52/0x56
[42950509.72] 092e3c98:  [<0807d44f>] user_signal+0x3f/0x4c
[42950509.72] 092e3cb0:  [<0807cff2>] userspace+0x214/0x240
[42950509.72] 092e3d00:  [<0805b867>] fork_handler+0x9a/0x9f
[42950509.72] 092e3d7c:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3d80:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3d84:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3d88:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3d8c:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3d90:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3d94:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3d98:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3d9c:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3da0:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3da4:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3da8:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3dac:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3db0:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3db4:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3db8:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3dbc:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3dc0:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3dc4:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3dc8:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3dcc:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3dd0:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3dd4:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3dd8:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3ddc:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3de0:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3de4:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3de8:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3dec:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3df0:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3df4:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950509.72] 092e3df8:  [<0804df24>] zone_wait_table_init+0x35/0xb0
[42950

Re: [uml-user] network setup

2006-10-09 Thread Antoine Martin
try adding mem=256 to the kernel command line, your guest is out of
memory.

> [42950509.72] Out of Memory: Kill process 2175 (yum) score 564 and 
> children.
> [42950509.72] Out of memory: Killed process 2175 (yum).
> Killed

Antoine


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user


[uml-user] New tutorial [in portuguese only for while]

2006-10-09 Thread Rodrigo Baroni
 Hi all.

   I've put steps to build an uml enviroment in :

   http://www.ime.usp.br/~baroni/docs/uml.html

   For while, it is in portuguese, but as soon as someone translate it (or I
find time to that) it will be available in english too.

   It is fresh - in the meaning that there is a lot of old docs around there
just misundertooding people. Any errors/suggestions? - please point them.
   
   Hope be useful.

Rodrigo
--
Do what you should do right now. Why wait for later?

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user


[uml-user] [newbie] guest compiled with SUBARCH=i386 in deadloop

2006-10-09 Thread Frank Marien
Hi folks,

I'm playing around with the following config:

processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 15
model   : 5
model name  : AMD Opteron(tm) Processor 246
stepping: 10
cpu MHz : 2009.294
cache size  : 1024 KB
fpu : yes
fpu_exception   : yes
cpuid level : 1
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow
bogomips: 4020.87
TLB size: 1024 4K pages
clflush size: 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

processor   : 1
...same as 0 above

This Host runs
Linux ur 2.6.17-gentoo-r7-skas3-v9-pre9-apsu-host #5 SMP Sat Oct 7 00:01:31 
CEST 2006 x86_64 AMD Opteron(tm) Processor 246 GNU/Linux

I've been playing around with various host and uml versions and patches 
attempting to run both a 64-bit and a 32-bit uml on that box.

(I know IA32_EMULATION is not supported in UML, so instead of trying to run 
32-bit apps inside a 64-bit UML, I'm now trying to run
32-bit apps inside a 32-bit UML on a 64-bit host.)

I've tried various kernels and patchsets in X86_64 and apart from some small 
weirdness, they run quite well (even though I need noprocmm and skas3 won't 
engage..skas0 will)

but once I go SUBARCH=i386, things stop working..

I've had the init "Usage" problem, but even when I worked around that, I end up 
with an UML booting up to a point and then going into an eternal loop:

I've tried 2.6.18 with and without gentoo patchset, with and without 2.6.18-bb1 
same for 2.6.17-r7 and r8 from Gentoo, and Usermode-sources from Gentoo..
I'v had various problems but never got a 32-bit system to run, and just about 
all 64-bit ones.

I've just tried linux-2.6.16.24-uml-2.6.16-bb1, linux-2.6.16.24-uml-2.6.16-bs2 
and the binary uml-release-2.6.16.9-bs2 from Blaisorblade. Have needed to add 
the register constants just
above the last function in registers.c manually for the first 2.


arch/um/os-Linux/sys-i386/registers.c:

#ifndef JB_PC
#define JB_PC 5
#define JB_SP 4
#define JB_BP 3
#endif


arch/um/os-Linux/sys-x86_64/registers.c:

#ifndef JB_PC
#define JB_PC 7
#define JB_RSP 6
#define JB_RBP 1
#endif


But when I start up the 32-bit version: all the same result (this one from 
uml-release-2.6.16.9-bs2)

ur kernels # /vm_conf/ekur/run
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...missing
Checking for tmpfs mount on /dev/shm...OK
Checking PROT_EXEC mmap in /vm_mem/...OK
Checking for the skas3 patch in the host:
   - /proc/mm...found
   - PTRACE_FAULTINFO...found
   - PTRACE_LDT...found
UML running in SKAS3 mode
Linux version 2.6.16.9-bs2 ([EMAIL PROTECTED]) (gcc version 3.4.5 (Gentoo 
Hardened 3.4.5, ssp-3.4.5-1.0, pie-8.7.9)) #8 Mon Apr 24 17:48:59 CEST 2006
Built 1 zonelists
Kernel command line: ubda=root ubdb=swap ubdc=var ubdd=usr ubde=opt ubdf=db 
ubdg=qmail ubdh=home ssl=pts con=pts con0=null,fd:1 eth0=daemon mem=500M 
root=98:0
PID hash table entries: 2048 (order: 11, 32768 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 500096k available
Mount-cache hash table entries: 512
Checking for host processor cmov support...Yes
Checking for host processor xmm support...No
Checking that host ptys support output SIGIO...Yes
Checking that host ptys support SIGIO on close...No, enabling workaround
Checking for /dev/anon on the host...Not available (open failed with errno 2)
Using 2.6 host AIO
NET: Registered protocol family 16
Netdevice 0 : daemon backend (uml_switch version 3) - unix:/tmp/uml.ctl
mconsole (version 2) initialized on /vm_conf/ekur/.uml/ekur/mconsole
ubd: Synchronous mode
Host TLS support detected
Detected host type: x86_64
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
loop: loaded (max 8 devices)
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 4, 65536 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Initialized stdio console driver
Console initialized on /dev/tty0
Initializing software serial port version 1
  ubda: unknown partition table
  ubdb: unknown partition table
  ubdc: unknown partition table
  ubdd: unknown partition table
  ubde: unknown partition table
  ubdf: unknown partition table
  ubdg: unknown partition table
  ubdh: unknown partition table
ReiserFS: ubda: found reiserfs 

[uml-user] User-Mode-Linux & kernel debugging : new tutorial [in portuguese only for while]

2006-10-09 Thread Rodrigo Baroni
 Hi all.

   I've put steps to build an uml enviroment in :

   http://www.ime.usp.br/~baroni/docs/uml.html

   For while, it is in portuguese, but as soon as someone (you?) translate it
   (or I find time to that) it will be available in english too.

   It is fresh - in the meaning that there is a lot of old docs around there
   just misundertooding people. Any errors/suggestions? - please point them.
   
   Hope be useful.

Rodrigo
--
Do what you should do right now. Why wait for later?

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user


Re: [uml-user] proc fs and ip address

2006-10-09 Thread Jeff Dike
On Sun, Oct 08, 2006 at 09:09:00PM +0200, Blaisorblade wrote:
> Mconsole exec would also be useful for this, if it could return output - maybe
> redirecting to dev/console would do that (to test) or it could maybe be added
> easily, now.

We do have a way of returning console output to an mconsole client now
- look at with_console() in mconsole_kern.c and its users.  It's not
perfect - it will send you all console output, including random stuff
that happens to be printed while the sysrq/stack/exec is running, but
it's pretty good.

Jeff

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user


Re: [uml-user] Boot problem

2006-10-09 Thread Jeff Dike
On Fri, Oct 06, 2006 at 09:09:24PM +0200, Flavio wrote:
> This is my command line:
> linux ubd0=rootfs.debian.etch ubd1=swapfs.debian
> eth0=tuntap,,,192.168.1.101noprocmm

Is there really no space between the "eth0=tuntap,,,192.168.1.101" and
"noprocmm"?  If so, that would cetainly break something.

Jeff

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user


Re: [uml-user] network setup

2006-10-09 Thread Jeff Dike
On Mon, Oct 09, 2006 at 11:06:39AM -0400, Fei Liu wrote:
> Determining IP information for eth0...[42949541.28] TUNSETIFF 
> failed, errno = 1
> [42949542.32] TUNSETIFF failed, errno = 1
> SIOCSIFFLAGS: Operation not permitted
> [42949542.32] TUNSETIFF failed, errno = 1
> SIOCSIFFLAGS: Operation not permitted

What does dmesg say at this point?  It looks like you have the uml
utilities, specifically uml_net, installed, but uml_net may not have
the privileges it needs to set up the host side of the network.

Jeff

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user


Re: [uml-user] [Fwd: Re: Problems compiling user mode linux kernel]

2006-10-09 Thread Jeff Dike
On Mon, Oct 09, 2006 at 02:57:19PM +0100, Lee Cartwright wrote:
> /usr/bin/ld: cannot find -lutil
> collect2: ld returned 1 exit status

Can you link anything against libutil?  Try some stupid little hello
world program.  This smells like some sort of problem on the host.

Jeff

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user


Re: [uml-user] network setup

2006-10-09 Thread Jeff Dike
On Mon, Oct 09, 2006 at 01:54:37PM -0400, Fei Liu wrote:
> After going back and forth with Mr. Martin from uml.nagafix.co.uk. I was 
> finally able to set up everything correctly. However, the kernel-2.6.18 
> binary provided crashed during a yum install session. Here is the 
> output. Let me know if further information is required.

I don't see a UML crash here.  I see an OOM.

Give the thing more memory, or some swap.

Jeff

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user


Re: [uml-user] [newbie] guest compiled with SUBARCH=i386 in deadloop

2006-10-09 Thread Jeff Dike
On Mon, Oct 09, 2006 at 09:42:13PM +0159, Frank Marien wrote:
> but once I go SUBARCH=i386, things stop working..

What does this mean?  You built a 32-bit UML on a 64-bit host?

If so, you need more than just SUBARCH=i386.  That will pull in the i386
kernel headers and some other i386 stuff, but it won't tell gcc to make a
32-bit binary.  For that, you need to specifically tell gcc to produce 32-bit
code or use an i386 build environment.

Dunno if this is causing the problem, but building a half-23-bit UML seems
like asking for trouble.

Jeff

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user


Re: [uml-user] [Fwd: Re: Problems compiling user mode linux kernel]

2006-10-09 Thread Samuel Korpi
Hi,

Just a thought. Check that you have package glibc-devel installed in
addition to the normal glibc (i.e. run 'rpm -q glibc-devel' and it
should return you the package version - 2.4-11 on my FC5). If it
isn't, install it. Otherwise, you could try reinstalling it.

Hope this helps,

/Samuel

On 10/9/06, Lee Cartwright <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I was dragged away from this problem for a couple of weeks and have only
> just got back to it. I'm still having the same problem. I have even
> tried building 2.6.17.13 and get exactly the same error, which suggests
> to me it is definitely something in my setup. I'm running Fedora Core 4,
> with a full install. Does anyone have any ideas?
>

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user