> > and extracted the > > initrd image from /boot (see below). > > In short - this is your error. a) it's not needed, b) it > couldn't work, c) it > should fail more gracefully but it hangs.
When I boot without the initrd, it hangs after "unable to open an initial console". I figured that, at this point in boot, it hasn't mounted my root, it doesn't have devfs, so it needs a /dev in a initrd. At least this way I got further in the boot. I just verified again that without the RAM fs it can't find an initial console. > If that's a initrd image built for a generic kernel (as it seems) it won't > work - initrd images contains kernel modules, which are kernel version > specific. Per above, I was just trying to get init/main.c a /dev that it could use to open the console. I was going to fix the modules once I got that far. > > checking if image is initramfs... it is > > Ok, this is known not to work in UML. <sigh> OK, now I know. I obviously didn't hit on the right mailing list search terms. > > kAFS: Red Hat AFS client v0.1 registering. > > kAFS: Started kafstimod 718 > > kAFS: Started kafsasyncd 719 > > <== afs_fs_init() = 0 > > Aren't you enabling a bit too much stuff or you need that? I agree, the kitchen sink is probably in there somewhere. But I'd spent several days trying to get a kernel with what I considered a reasonable config to boot, so in desperation I decided to duplicate what someone else had posted as working. > It's in SKAS0 mode, so you debug it like SKAS3: > > gdb ./vmlinux > (gdb) run ubd0=......... Didn't get too far: [EMAIL PROTECTED] newLinux_2_6]$ gdb vmlinux GNU gdb Red Hat Linux (5.2.1-4) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux"... (gdb) run ./linux-2.6.15-um20060107-notls-2 mem=160M ubd0=../root_fs.fc-4-base.pristine.20050622 ubd1=../swap Starting program: /home/jwd/uml/newLinux_2_6/vmlinux ./linux-2.6.15-um20060107-notls-2 mem=160M ubd0=../root_fs.fc-4-base.pristine.20050622 ubd1=../swap 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 Program received signal SIGUSR1, User defined signal 1. 0xa02aa311 in kill () at /home/jwd/kernels/linux-2.6.15.1/net/sctp/protocol.c:809 809 } Thanks for the help so far. If you understand the "unable to open an initial console" problem that I get without the initrd, I'd appreciate help on that. -- 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