* [uml-devel] Re: Bug#224431: user-mode-linux: Hangs [not found] <1071789754.763978.973.nullmailer@nietzsche.wgtn.cat-it.co.nz> @ 2003-12-19 0:29 ` Matt Zimmerman 2003-12-19 1:31 ` Srdjan 2003-12-19 1:47 ` Jeff Dike 0 siblings, 2 replies; 8+ messages in thread From: Matt Zimmerman @ 2003-12-19 0:29 UTC (permalink / raw) To: user-mode-linux-devel; +Cc: Srdjan, 224431-forwarded retitle 224431 Fails to start init in tt mode thanks On Fri, Dec 19, 2003 at 12:22:34PM +1300, Srdjan wrote: > srdjan@nietzsche:/plato-home/srdjan/local/user-mode-linux$ linux eth0=tuntap,,,192.168.2.98 > Checking for the skas3 patch in the host...not found > Checking for /proc/mm...not found > tracing thread pid = 927 > Linux version 2.4.22-7um (mdz@mizar) (gcc version 2.95.4 20011002 > (Debian prerelease)) #1 Tue Dec 16 14:55:39 PST 2003 > On node 0 totalpages: 8192 > zone(0): 8192 pages. > zone(1): 0 pages. > zone(2): 0 pages. > Kernel command line: eth0=tuntap,,,192.168.2.98 root=/dev/ubd0 > Calibrating delay loop... 1513.52 BogoMIPS > Memory: 28848k available > Dentry cache hash table entries: 4096 (order: 3, 32768 bytes) > Inode cache hash table entries: 2048 (order: 2, 16384 bytes) > Mount cache hash table entries: 512 (order: 0, 4096 bytes) > Buffer cache hash table entries: 1024 (order: 0, 4096 bytes) > Page-cache hash table entries: 8192 (order: 3, 32768 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 > Linux NET4.0 for Linux 2.4 > Based upon Swansea University Computer Society NET3.039 > Initializing RT netlink socket > Starting kswapd > VFS: Disk quotas vdquot_6.5.1 > Journalled Block Device driver loaded > devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au) > devfs: boot_options: 0x0 > pty: 256 Unix98 ptys configured > RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize > loop: loaded (max 8 devices) > Initializing Cryptographic API > Initializing software serial port version 1 > mconsole (version 2) initialized on /home/srdjan/.uml/gIRhMa/mconsole Are you able to connect to it with mconsole? > Partition check: > ubda: unknown partition table > Initializing stdio console driver > Netdevice 0 : TUN/TAP backend - IP = 192.168.2.98 > NET4: Linux TCP/IP 1.0 for NET4.0 > IP: routing cache hash table of 512 buckets, 4Kbytes > TCP: Hash tables configured (established 2048 bind 2048) > Linux IP multicast router 0.06 plus PIM-SM > NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. > VFS: Mounted root (ext2 filesystem) readonly. > > And stops... Apparently, tt mode is broken. I use skas, which is working fine in 2.4.22-7um-1, but I can reproduce your failure with mode=tt. What was the last version which worked for you? The only difference in the kernel configuration since 2.4.22-5um-1 is CONFIG_UML_REAL_TIME_CLOCK=y. -- - mdz ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel ^ permalink raw reply [flat|nested] 8+ messages in thread
* [uml-devel] Re: Bug#224431: user-mode-linux: Hangs 2003-12-19 0:29 ` [uml-devel] Re: Bug#224431: user-mode-linux: Hangs Matt Zimmerman @ 2003-12-19 1:31 ` Srdjan 2003-12-19 1:58 ` Matt Zimmerman 2003-12-19 1:47 ` Jeff Dike 1 sibling, 1 reply; 8+ messages in thread From: Srdjan @ 2003-12-19 1:31 UTC (permalink / raw) To: Matt Zimmerman; +Cc: user-mode-linux-devel, 224431-forwarded -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I seem to be able to connect to it: srdjan@nietzsche:/plato-home/srdjan$ uml_mconsole wWko45 (wWko45) config eth0 ERR No get_config routine defined (wWko45) cad OK although cad didn't do anything. It worked yesterday with 2.4.22-5um-1, I only could not make network go, which I hoped to resolve today (but then I upgraded...:) I've installed kernel-patch-skas, but it refused to patch my 2.4.22 kernel. Any suggestions? Thanks, srdjan Matt Zimmerman wrote: | retitle 224431 Fails to start init in tt mode | thanks | | On Fri, Dec 19, 2003 at 12:22:34PM +1300, Srdjan wrote: | | |>srdjan@nietzsche:/plato-home/srdjan/local/user-mode-linux$ linux eth0=tuntap,,,192.168.2.98 |>Checking for the skas3 patch in the host...not found |>Checking for /proc/mm...not found |>tracing thread pid = 927 |>Linux version 2.4.22-7um (mdz@mizar) (gcc version 2.95.4 20011002 |>(Debian prerelease)) #1 Tue Dec 16 14:55:39 PST 2003 |>On node 0 totalpages: 8192 |>zone(0): 8192 pages. |>zone(1): 0 pages. |>zone(2): 0 pages. |>Kernel command line: eth0=tuntap,,,192.168.2.98 root=/dev/ubd0 |>Calibrating delay loop... 1513.52 BogoMIPS |>Memory: 28848k available |>Dentry cache hash table entries: 4096 (order: 3, 32768 bytes) |>Inode cache hash table entries: 2048 (order: 2, 16384 bytes) |>Mount cache hash table entries: 512 (order: 0, 4096 bytes) |>Buffer cache hash table entries: 1024 (order: 0, 4096 bytes) |>Page-cache hash table entries: 8192 (order: 3, 32768 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 |>Linux NET4.0 for Linux 2.4 |>Based upon Swansea University Computer Society NET3.039 |>Initializing RT netlink socket |>Starting kswapd |>VFS: Disk quotas vdquot_6.5.1 |>Journalled Block Device driver loaded |>devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au) |>devfs: boot_options: 0x0 |>pty: 256 Unix98 ptys configured |>RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize |>loop: loaded (max 8 devices) |>Initializing Cryptographic API |>Initializing software serial port version 1 |>mconsole (version 2) initialized on /home/srdjan/.uml/gIRhMa/mconsole | | | Are you able to connect to it with mconsole? | | |>Partition check: |> ubda: unknown partition table |> Initializing stdio console driver |> Netdevice 0 : TUN/TAP backend - IP = 192.168.2.98 |> NET4: Linux TCP/IP 1.0 for NET4.0 |> IP: routing cache hash table of 512 buckets, 4Kbytes |> TCP: Hash tables configured (established 2048 bind 2048) |> Linux IP multicast router 0.06 plus PIM-SM |> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. |> VFS: Mounted root (ext2 filesystem) readonly. |> |>And stops... | | | Apparently, tt mode is broken. I use skas, which is working fine in | 2.4.22-7um-1, but I can reproduce your failure with mode=tt. | | What was the last version which worked for you? The only difference in the | kernel configuration since 2.4.22-5um-1 is CONFIG_UML_REAL_TIME_CLOCK=y. | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQE/4lUCX4ZD19jq88YRAg/6AJ0Scfj0VxpUKx7lSN15KF7qn1WsMACfQLln oajMror5jebrxdgMCK/wVxU= =2M2q -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel ^ permalink raw reply [flat|nested] 8+ messages in thread
* [uml-devel] Re: Bug#224431: user-mode-linux: Hangs 2003-12-19 1:31 ` Srdjan @ 2003-12-19 1:58 ` Matt Zimmerman 2003-12-19 3:09 ` Srdjan 2003-12-19 3:15 ` Srdjan 0 siblings, 2 replies; 8+ messages in thread From: Matt Zimmerman @ 2003-12-19 1:58 UTC (permalink / raw) To: Srdjan; +Cc: user-mode-linux-devel, 224431-forwarded On Fri, Dec 19, 2003 at 02:31:46PM +1300, Srdjan wrote: > I seem to be able to connect to it: > > srdjan@nietzsche:/plato-home/srdjan$ uml_mconsole wWko45 > (wWko45) config eth0 > ERR No get_config routine defined > (wWko45) cad > OK > > although cad didn't do anything. What does "config con1" say? > It worked yesterday with 2.4.22-5um-1, I only could not make network go, > which I hoped to resolve today (but then I upgraded...:) I've installed > kernel-patch-skas, but it refused to patch my 2.4.22 kernel. Any > suggestions? Make sure you have the latest version of kernel-patch-skas; that version works fine with 2.4.22. -- - mdz ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel ^ permalink raw reply [flat|nested] 8+ messages in thread
* [uml-devel] Re: Bug#224431: user-mode-linux: Hangs 2003-12-19 1:58 ` Matt Zimmerman @ 2003-12-19 3:09 ` Srdjan 2003-12-19 3:15 ` Srdjan 1 sibling, 0 replies; 8+ messages in thread From: Srdjan @ 2003-12-19 3:09 UTC (permalink / raw) To: Matt Zimmerman; +Cc: user-mode-linux-devel, 224431-forwarded -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Matt Zimmerman wrote: | On Fri, Dec 19, 2003 at 02:31:46PM +1300, Srdjan wrote: | | |>I seem to be able to connect to it: |> |>srdjan@nietzsche:/plato-home/srdjan$ uml_mconsole wWko45 |>(wWko45) config eth0 |>ERR No get_config routine defined |>(wWko45) cad |>OK |> |>although cad didn't do anything. | | | What does "config con1" say? (ZMuPmc) config con1 OK xterm (ZMuPmc) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQE/4mvYX4ZD19jq88YRAuQRAJ4piK24o5BcA0FC/3OUn/yjV9NsQACfaR3N ZkHPSPOaODaySYVQt2TwP/U= =/Wg3 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel ^ permalink raw reply [flat|nested] 8+ messages in thread
* [uml-devel] Re: Bug#224431: user-mode-linux: Hangs 2003-12-19 1:58 ` Matt Zimmerman 2003-12-19 3:09 ` Srdjan @ 2003-12-19 3:15 ` Srdjan 1 sibling, 0 replies; 8+ messages in thread From: Srdjan @ 2003-12-19 3:15 UTC (permalink / raw) To: Matt Zimmerman; +Cc: user-mode-linux-devel, 224431-forwarded -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 To add: - - although config con1 returns OK xterm I don't get an xterm opened - - cad doesn't work, but halt does Matt Zimmerman wrote: | On Fri, Dec 19, 2003 at 02:31:46PM +1300, Srdjan wrote: | | |>I seem to be able to connect to it: |> |>srdjan@nietzsche:/plato-home/srdjan$ uml_mconsole wWko45 |>(wWko45) config eth0 |>ERR No get_config routine defined |>(wWko45) cad |>OK |> |>although cad didn't do anything. | | | What does "config con1" say? | | |>It worked yesterday with 2.4.22-5um-1, I only could not make network go, |>which I hoped to resolve today (but then I upgraded...:) I've installed |>kernel-patch-skas, but it refused to patch my 2.4.22 kernel. Any |>suggestions? | | | Make sure you have the latest version of kernel-patch-skas; that version | works fine with 2.4.22. | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQE/4m1fX4ZD19jq88YRAsMfAJ92zjs+smpmC9Y1rbRv8rkC7Nvk5QCgucdK WXSgRJH/QpC8w3LFnD9aAL8= =MTm7 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [uml-devel] Re: Bug#224431: user-mode-linux: Hangs 2003-12-19 0:29 ` [uml-devel] Re: Bug#224431: user-mode-linux: Hangs Matt Zimmerman 2003-12-19 1:31 ` Srdjan @ 2003-12-19 1:47 ` Jeff Dike 2003-12-19 1:47 ` Srdjan 2003-12-19 2:28 ` Matt Zimmerman 1 sibling, 2 replies; 8+ messages in thread From: Jeff Dike @ 2003-12-19 1:47 UTC (permalink / raw) To: user-mode-linux-devel, Srdjan, 224431-forwarded On Thu, Dec 18, 2003 at 04:29:49PM -0800, Matt Zimmerman wrote: > Apparently, tt mode is broken. I use skas, which is working fine in > 2.4.22-7um-1, but I can reproduce your failure with mode=tt. Hmmm, I can't. It seems fine here. Can you run it with 'debug' and get a stack trace from the hang? Jeff ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [uml-devel] Re: Bug#224431: user-mode-linux: Hangs 2003-12-19 1:47 ` Jeff Dike @ 2003-12-19 1:47 ` Srdjan 2003-12-19 2:28 ` Matt Zimmerman 1 sibling, 0 replies; 8+ messages in thread From: Srdjan @ 2003-12-19 1:47 UTC (permalink / raw) To: Jeff Dike; +Cc: user-mode-linux-devel, 224431-forwarded -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Well I'm not an expert in the field, so this is what I can come up with without further help: GNU gdb 6.0-debian Copyright 2003 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-linux"...(no debugging symbols found)... 0xa01502b1 in ?? () /tmp/gdb_init-WPLjKv:2: Error in sourced command file: No symbol table is loaded. Use the "file" command. (gdb) Quit (gdb) bt #0 0xa01502b1 in ?? () Error accessing memory address 0xa01f3f50: No such process. Jeff Dike wrote: | On Thu, Dec 18, 2003 at 04:29:49PM -0800, Matt Zimmerman wrote: | |>Apparently, tt mode is broken. I use skas, which is working fine in |>2.4.22-7um-1, but I can reproduce your failure with mode=tt. | | | Hmmm, I can't. It seems fine here. | | Can you run it with 'debug' and get a stack trace from the hang? | | Jeff | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQE/4lilX4ZD19jq88YRAgdkAJ97f65d3PLQJyerVx4NulzLeMAcoACfaq4T B8otHB0tb+Zazhwnugw6s+o= =3Fu7 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [uml-devel] Re: Bug#224431: user-mode-linux: Hangs 2003-12-19 1:47 ` Jeff Dike 2003-12-19 1:47 ` Srdjan @ 2003-12-19 2:28 ` Matt Zimmerman 1 sibling, 0 replies; 8+ messages in thread From: Matt Zimmerman @ 2003-12-19 2:28 UTC (permalink / raw) To: Jeff Dike; +Cc: user-mode-linux-devel, Srdjan, 224431-forwarded On Thu, Dec 18, 2003 at 08:47:56PM -0500, Jeff Dike wrote: > On Thu, Dec 18, 2003 at 04:29:49PM -0800, Matt Zimmerman wrote: > > Apparently, tt mode is broken. I use skas, which is working fine in > > 2.4.22-7um-1, but I can reproduce your failure with mode=tt. > > Hmmm, I can't. It seems fine here. > > Can you run it with 'debug' and get a stack trace from the hang? Unfortunately, unstable recently received gdb 6.0, and 'debug' no longer works. GNU gdb 6.0-debian Copyright 2003 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-linux"...(no debugging symbols found)... [hangs here indefinitely; gdb is suspended] mdz 15970 0.0 0.4 5956 2576 pts/12 S 18:19 0:00 gdb --command /tm mdz 15971 0.0 0.4 5956 2576 pts/12 T 18:19 0:00 gdb --command /tm sending a SIGCONT to the suspended gdb process results in: 0xa01502b1 in ?? () /tmp/gdb_init-cJnGax:2: Error in sourced command file: No symbol table is loaded. Use the "file" command. (gdb) (line 2 of the sourced command file is 'b panic') It still seems to work to run UML inside gdb manually, though. Here's the backtrace: (gdb) bt #0 0xa016619d in waitpid () at /space/tmp/mdz/debian/work/user-mode-linux/user-mode-linux-2.4.22-7um/kernel-source-2.4.22/include/linux/proc_fs.h:158 #1 0x00005261 in ?? () #2 0xa00c17b0 in tracer (init_proc=0xa00c03b0 <start_kernel_proc>, sp=0xa01f3ffc) at tracer.c:236 #3 0xa00c04de in start_uml_tt () at process_kern.c:500 #4 0xa00bebc5 in linux_main (argc=7, argv=0xbffff684) at um_arch.c:387 #5 0xa000d3c1 in main (argc=7, argv=0xbffff684, envp=0xbffff6a4) at arch/um/main.c:146 In my case, the host kernel is 2.4.21 with skas3. -- - mdz ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2003-12-19 3:15 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1071789754.763978.973.nullmailer@nietzsche.wgtn.cat-it.co.nz>
2003-12-19 0:29 ` [uml-devel] Re: Bug#224431: user-mode-linux: Hangs Matt Zimmerman
2003-12-19 1:31 ` Srdjan
2003-12-19 1:58 ` Matt Zimmerman
2003-12-19 3:09 ` Srdjan
2003-12-19 3:15 ` Srdjan
2003-12-19 1:47 ` Jeff Dike
2003-12-19 1:47 ` Srdjan
2003-12-19 2:28 ` Matt Zimmerman
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.