[prev in list] [next in list] [prev in thread] [next in thread] 

List:       user-mode-linux-user
Subject:    [uml-user] UML on Dell PowerEdge 2850
From:       "Frank Eyermann" <Frank.Eyermann () unibw ! de>
Date:       2005-08-23 8:22:24
Message-ID: 000901c5a7bb$ca5d9220$423fc189 () informatik ! unibwmuenchen ! de
[Download RAW message or body]

Dear List,

Does anybody successfully start an UML on a Dell PowerEdge 2850? The
maschine has an Intel Xeon CPU 3.0 GHz (this meas x86_64 architecture) with
hyperthreading, therefore prozessor shows twice.

I tried different setups and patches, but wasn't successful. If I succeed to
compile, the UML always crashes after mouting the rootfs with a Kernel panic
(dump at the end of the mail)

As host I used a stock 2.6.12.5 kernel from Kernel.org and in another try
the same kernel patched with skas-2.6.12-v9-pre7.patch

As guest I used the stock kernel patched with either uml-2.6.12-bs11.patch
and uml-2.6.12-bs9.patch with mostly default config file. I had to disable
"Symmetric multi-processing support" because the guest kernel (make linux
ARCH=um) does not compile with this setting enabled:

In file included from include/linux/dcache.h:10,
                 from include/linux/fs.h:208,
                 from include/linux/proc_fs.h:6,
                 from init/main.c:17:
include/linux/rcupdate.h: In function `rcu_qsctr_inc':
include/linux/rcupdate.h:117: error: `cpu_pda' undeclared (first use in this
function)
include/linux/rcupdate.h:117: error: (Each undeclared identifier is reported
only once
include/linux/rcupdate.h:117: error: for each function it appears in.)
include/linux/rcupdate.h:117: error: invalid type argument of `unary *'
include/linux/rcupdate.h: In function `rcu_bh_qsctr_inc':
include/linux/rcupdate.h:122: error: `cpu_pda' undeclared (first use in this
function)
include/linux/rcupdate.h:122: error: invalid type argument of `unary *'
include/linux/rcupdate.h: In function `rcu_pending':
include/linux/rcupdate.h:153: error: `cpu_pda' undeclared (first use in this
function)
include/linux/rcupdate.h:153: error: invalid type argument of `unary *'
include/linux/rcupdate.h:154: error: invalid type argument of `unary *'
In file included from init/main.c:35:
include/linux/kernel_stat.h: In function `kstat_irqs':
include/linux/kernel_stat.h:50: error: `cpu_pda' undeclared (first use in
this function)
include/linux/kernel_stat.h:50: error: invalid type argument of `unary *'
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2

Best regards,

Frank

PS: And now here's the dump when starting the uml:

pluto:/home/uml0 # ./linux-2.6.12-uml-bs11 ubd0=disk0
Checking for /proc/mm...not found
Checking PROT_EXEC mmap in /tmp...OK
tracing thread pid = 25552
Linux version 2.6.12.5 (root@pluto) (gcc version 3.3.5 20050117 (prerelease)
(SUSE Linux)) #1 Fri Aug 19 14:36:52 CEST 2005
Built 1 zonelists
Kernel command line: ubd0=disk0 root=98:0
PID hash table entries: 256 (order: 8, 8192 bytes)
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
Memory: 26252k available
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Mount-cache hash table entries: 256
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...missing
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)
NET: Registered protocol family 16
TC classifier action (bugs to netdev@vger.kernel.org cc hadi@cyberus.ca)
mconsole (version 2) initialized on /root/.uml/JwTHLE/mconsole
audit: initializing netlink socket (disabled)
audit(0.200:0): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 128000K size 1024 blocksize
loop: loaded (max 8 devices)
md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
NET: Registered protocol family 1
Initialized stdio console driver
Console initialized on /dev/tty0
Initializing software serial port version 1
 ubda: unknown partition table
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
ReiserFS: ubda: found reiserfs format "3.6" with standard journal
ReiserFS: ubda: using ordered data mode
ReiserFS: ubda: journal params: device ubda, size 8192, journal first block
18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: ubda: checking transaction log (ubda)
ReiserFS: ubda: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Kernel panic - not syncing: Kernel mode fault at addr 0x0, ip 0x0

Modules linked in:
Pid: 1, comm: init Not tainted 2.6.12.5
RIP: 7ba0:[<0000000000000000>]
RSP: 0000000060d27c30  EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000000 RCX: 000000006022bb01
RDX: 00000000600189c1 RSI: 0000000000000001 RDI: 0000000060d27aa0
RBP: 0000000000000000 R08: 00000000ffffffff R09: 0000000060020a10
R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 000000000000000a R15: 0000000000000000
Call Trace:
60d276e8:  [<6001eb8f>] panic_exit+0x2f/0x50
60d27708:  [<60048bfb>] notifier_call_chain+0x2b/0x50
60d27738:  [<60035824>] panic+0xe4/0x180
60d27778:  [<6022bb01>] __sigprocmask+0x11/0x40
60d27788:  [<60020a10>] do_ops+0x0/0xe0
60d277a8:  [<6001dbdf>] handle_page_fault+0x1ff/0x2b0
60d27828:  [<6001df36>] segv+0x2a6/0x2c0
60d27838:  [<6022bbb5>] sigemptyset+0x15/0x30
60d27848:  [<6001b701>] change_sig+0x61/0x80
60d278b0:  [<600151b0>] init+0x0/0x100
60d278c8:  [<6022bbb5>] sigemptyset+0x15/0x30
60d278d8:  [<6001b771>] change_signals+0x51/0x80
60d27938:  [<6001e2c9>] segv_handler+0x149/0x1a0
60d27978:  [<60021a15>] sig_handler_common_tt+0xf5/0x1c0
60d279e8:  [<6022b880>] __restore_rt+0x0/0x10
60d27a20:  [<60020a10>] do_ops+0x0/0xe0
60d27a78:  [<600189c1>] run_kernel_thread+0x41/0x90
60d27a88:  [<6022bb01>] __sigprocmask+0x11/0x40
60d27ad8:  [<600189c1>] run_kernel_thread+0x41/0x90
60d27af8:  [<6022bbb5>] sigemptyset+0x15/0x30
60d27b08:  [<6001b771>] change_signals+0x51/0x80
60d27b80:  [<600151b0>] init+0x0/0x100
60d27ba8:  [<6001fef6>] new_thread_handler+0x166/0x1a0
60d27cd8:  [<6022bb01>] __sigprocmask+0x11/0x40

--
Dipl.-Inform. Frank Eyermann
Department of Computer Science
Information Systems Laboratory
University of the Federal Armed Forces, Germany



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic