> "plus I've
> added the /dev links needed to boot without devfs"
> 
> If by "/dev links" you mean indeed "symlinks" I don't 
> understand well what you 
> did and it could be wrong. I mean, you could have either:
> 
> a) used MAKEDEV
> b) setup udev and created basic device nodes only
> and both things are correct (the 1st is simpler to get right, 
> but vanila 
> Fedora 4 expects to work with udev).
> 
> Or you have created symlinks to what?

Sloppy writing on my part.  What I did was copy the /dev from my running
RH8, and then added the ubd block devices, all as per
http://user-mode-linux.sourceforge.net/compile.html.

But I'm more paranoid now, and it does seem like the MAKEDEV files in
the FC4 distribution should know better what is needed.  So I belew away
the old /dev, and did MAKEDEV std and generic.  Anything else I should
be making?

After that, I confirmed that /dev/console exists with the major/minor
you provided.

That got me further.  I ran into the "set_thread_area failed when
setting up thread-local storage" problem, found your post on the mailing
list, and added "LD_LIBRARY_PATH=/lib/obsolete/linuxthreads" to the
command line.  Unfortunately, I'm still getting the same error:

-------------------

[EMAIL PROTECTED] linux-2.6]$ ./vmlinux mem=48M
ubd0=../root_fs.fc-4-base.pristine.20050622 ubd1=../swap LD_LIBRARY_PAT
H=/lib/obsolete/linuxthreads
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...missing
Checking PROT_EXEC mmap in /tmp...OK
Checking for the skas3 patch in the host:
  - /proc/mm...not found
  - PTRACE_FAULTINFO...not found
  - PTRACE_LDT...not found
UML running in SKAS0 mode
Linux version 2.6.15.1 ([EMAIL PROTECTED]) (gcc version 3.2 20020903 (Red Hat
Linux 8.0 3.2-7)) #1 Wed Feb 15 18:26:33 C
ST 2006
Built 1 zonelists
Kernel command line: mem=48M ubd0=../root_fs.fc-4-base.pristine.20050622
ubd1=../swap LD_LIBRARY_PATH=/lib/obsol
ete/linuxthreads root=98:0
PID hash table entries: 256 (order: 8, 4096 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 46140k 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)
/usr/include/linux/aio_abi.h not present during build
2.6 host AIO support not used - falling back to I/O thread
NET: Registered protocol family 16
mconsole (version 2) initialized on /home/jwd/.uml/o6SLAC/mconsole
ubd: Synchronous mode
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
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
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
modprobe: FATAL: Could not load /lib/modules/2.6.15.1/modules.dep: No
such file or directory

line_ioctl: tty0: ioctl KDSIGACCEPT called
INIT: version 2.85 booting
line_ioctl: tty0: ioctl TIOCLINUX called
                Welcome to Fedora Core
                Press 'I' to enter interactive startup.
Starting udev:  [FAILED]
Initializing hardware...  storage network audio done[  OK  ]
Setting clock : Thu Feb 16 14:42:58 EST 2006 [  OK  ]
Setting hostname uml-test.goober.org:  [  OK  ]
set_thread_area failed when setting up thread-local storage
/etc/rc.d/rc.sysinit: line 323:   696 Done                    echo
"raidautorun /dev/md0"
       697 Segmentation fault      | nash --quiet
set_thread_area failed when setting up thread-local storage
/etc/rc.d/rc.sysinit: line 340:   700 Done                    echo
"mkdmnod"
       701 Segmentation fault      | /sbin/nash --quiet >/dev/null 2>&1
Checking filesystems
Checking all file systems.
[/sbin/fsck.ext2 (1) -- /] fsck.ext2 -a /dev/ubd0
set_thread_area failed when setting up thread-local storage
Warning... fsck.ext2 for device /dev/ubd0 exited with signal 11.
[FAILED]

*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
Give root password for maintenance
(or type Control-D to continue):
(Repair filesystem) 1 # set
BASH=/bin/bash
BASH_ARGC=()
BASH_ARGV=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="00" [2]="16" [3]="1" [4]="release"
[5]="i386-redhat-linux-gnu")
BASH_VERSION='3.00.16(1)-release'
COLORS=/etc/DIR_COLORS
COLUMNS=112
CONSOLE=/dev/console
DIRSTACK=()
EUID=0
GROUPS=()
G_BROKEN_FILENAMES=1
HISTFILE=/root/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/root
HOSTNAME=uml-test.goober.org
HOSTTYPE=i386
IFS=$' \t\n'
INIT_VERSION=sysvinit-2.85
LD_LIBRARY_PATH=/lib/obsolete/linuxthreads
LESSOPEN='|/usr/bin/lesspipe.sh %s'
LINES=66
LOGNAME=root
LS_COLORS='no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:c
d=40;33;01:or=01;05;37;41:mi=01;05;37;41
:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.
sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=0
1;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31
:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=
01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm
=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;
35:'
MACHTYPE=i386-redhat-linux-gnu
MAILCHECK=60
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/sbin:/usr/sbin:/bin:/usr/bin:
/usr/X11R6/bin
PIPESTATUS=([0]="0")
PPID=16
PREVLEVEL=N
PS1='(Repair filesystem) \# # '
PS2='> '
PS4='+ '
PWD=/root
RUNLEVEL=S
SELINUX_INIT=YES
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comme
nts:monitor
SHLVL=1
TERM=linux
UID=0
USER=root
_=/etc/bashrc
mem=48M
(Repair filesystem) 2 # ls /lib/obsolete/linuxthreads/
i686           libc.so.6      libm.so.6           libpthread.so.0
librt.so.1           libthread_db.so.1
libc-2.3.5.so  libm-2.3.5.so  libpthread-0.10.so  librt-2.3.5.so
libthread_db-1.0.so
(Repair filesystem) 3 #

-------------------

Any ideas?  Jeff mentioned in an early post that a patchset was needed
for running FC4.  Is that still true as of 2.6.15.1?

  --  John


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to