Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

UML starting problem

1 réponse
Avatar
romain.daumont
Hello,

I want to install UML for linux with kernel 2.6.4.

I've compiled my own kernel "make menuconfig ARCH=um" and "make linux
ARCH=um" command. I've downloaded "Debian-3.0r0.ext2"

My first question is, why "ubd" and how to create this device (on the
Linux system or the filesystem "Debian-3.0r0.ext2")?
Secondly, when i try to start my kernel UML with a filestem, the
kernel quits at
"kernel: Initializing stdio console driver" with no error... :

-----------
# ./linux ubd0=/tmp/Debian-3.0r0.ext2 devfs=mount
Checking for the skas3 patch in the host...not found
Checking for /proc/mm...not found
tracing thread pid = 2369
Linux version 2.6.4-1um (root@blackbird) (version gcc 3.3.5 (Debian
1:3.3.5-5)) #1 Mon Jan 17 09:20:46 CET 2005
On node 0 totalpages: 8192
DMA zone: 8192 pages, LIFO batch:2
Normal zone: 0 pages, LIFO batch:1
HighMem zone: 0 pages, LIFO batch:1
Built 1 zonelists
Kernel command line: umid=debian root=/dev/ubd/ubd0
ubd0=/tmp/Debian-3.0r0.ext2 devfs=mount
PID hash table entries: 16 (order 4: 128 bytes)
Memory: 29432k available
Calibrating delay loop... 1012.53 BogoMIPS
Security Scaffold v1.0.0 initialized
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Checking for host processor cmov support...Yes
Checking for host processor xmm support...No
Checking that ptrace can change system call numbers...OK
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)
POSIX conformance testing by UNIFIX
NET: Registered protocol family 16
VFS: Disk quotas dquot_6.5.1
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
Initializing Cryptographic API
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
NET: Registered protocol family 8
NET: Registered protocol family 20
Initializing stdio console driver
------------

I don't understand this problem???


MaXX

1 réponse

Avatar
Soon
Hello,

I want to install UML for linux with kernel 2.6.4.

I've compiled my own kernel "make menuconfig ARCH=um" and "make linux
ARCH=um" command. I've downloaded "Debian-3.0r0.ext2"

My first question is, why "ubd" and how to create this device (on the
Linux system or the filesystem "Debian-3.0r0.ext2")?
Secondly, when i try to start my kernel UML with a filestem, the
kernel quits at
"kernel: Initializing stdio console driver" with no error... :

-----------
# ./linux ubd0=/tmp/Debian-3.0r0.ext2 devfs=mount


Personally, I use this command line to launch my UML Kernel

./linux root=/dev/ubd/0 ubd0Þbian-3.0r0.ext2 devfs=mount

Does it work like that ?