First of all -- this stuff is really great. We are using it for journal
file system debugging and it makes kernel programming a lot easier.
I have been trying the 2.4.3 (stock kernel) with both the 2.4.3 and
"latest" patch on the UML Project WWW site.
There is a minor compilation problem but more serious is that things hang
when we start running the kernel.
The easy thing to ask is if anyone has working version of 2.4.3, we want
to develop a file system, not UML. Feel free to tell us to upgrade RH 7.0
kgcc to 7.1 compiler.
Here is the info we got from running Linux and running gdb. We did
compile everything with kgcc - and are running glibc 2.2.
Thanks for any light you can shed on this.
- Peter -
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
welcome to change it and/or distribute copies of it under certain
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
This GDB was configured as "i386-redhat-linux"...
0x10099b21 in __kill ()
Breakpoint 1 at 0x10009894: file panic.c, line 54.
Breakpoint 2 at 0x1008d9d0: file af_unix.c, line 1803.
Breakpoint 3 at 0x10001553: file init/main.c, line 532.
Breakpoint 3, start_kernel () at init/main.c:532
Program received signal SIGINT, Interrupt.
0x100aba61 in __libc_nanosleep ()
#0 0x100aba61 in __libc_nanosleep ()
#1 0x10091f72 in idle_sleep () at time_kern.c:84
#2 0x10094df2 in cpu_idle () at process_kern.c:462
#3 0x1000166f in start_kernel () at init/main.c:609
#4 0x10093483 in start_kernel_proc (unused=0x0) at um_arch.c:75
Detaching from program: /usr/src/kernel-ext3/./linux, Pid 1
[root@... kernel-ext3]# ./linux debug single
error stat'ing /dev/pts/p3: No such file or directory
tracing thread pid = 12850
Linux version 2.4.3-5um (root@...) (gcc version egcs-2.91.66
19990314/Linux (egcs-1.1.2 release)) #4 Fri Apr 20 19:05:42 PDT 2001
On node 0 totalpages: 4096
zone(0): 0 pages.
zone(1): 4096 pages.
zone(2): 0 pages.
Kernel command line: debug single root=/dev/ubd0
Calibrating delay loop... 36.70 BogoMIPS
Memory: 16100k available
Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 1024 (order: 1, 8192 bytes)
VFS: Diskquotas version dquot_6.4.0 initialized
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd v1.8
pty: 256 Unix98 ptys configured
block: queued sectors max/low 10594kB/3531kB, 64 slots per queue
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 1024)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Initializing stdio console driver
VFS: Mounted root (ext2 filesystem) readonly.
INIT: version 2.78 booting
Welcome to Red Hat Linux
Press 'I' to enter interactive startup.