Hi, > > arch/um/kernel/sysrq.c: In function 'show_stack': > > arch/um/kernel/sysrq.c:65: warning: implicit declaration of function > > 'SC_DS' arch/um/kernel/sysrq.c:65: error: invalid lvalue in unary '&' > > arch/um/kernel/sysrq.c:65: warning: implicit declaration of function > > 'SC_ES' arch/um/kernel/sysrq.c:65: error: invalid lvalue in unary '&' > > > regards, > > junichi > Yes, I see the problem - verify if the attached fix works (it should > reasonably, but I've not tested the compilation)... Jeff, it's the sysrq-t > patch at fault.
Verified that the patch enables compilation. Booting seems to somewhat work; despite a stacktrace. [21:48:33]dancer64:linux-2.6-uml> linux-2.6.14-rc4 root=/dev/root rootflags=/ rootfstype=hostfs init=/bin/sh con=pty con0=fd:0,fd:1 Checking PROT_EXEC mmap in /tmp...OK Checking for /proc/mm...not found Checking for the skas3 patch in the host...not found UML running in SKAS0 mode Checking that ptrace can change system call numbers...OK Checking syscall emulation patch for ptrace...missing Linux version 2.6.14-rc4-ga386da96 ([EMAIL PROTECTED]) (gcc version 4.0.2 (Debian 4.0.2-2)) #1 Wed Oct 12 21:30:24 JST 2005 Built 1 zonelists Kernel command line: root=/dev/root rootflags=/ rootfstype=hostfs init=/bin/sh con=pty con0=fd:0,fd:1 PID hash table entries: 256 (order: 8, 8192 bytes) Dentry cache hash table entries: 8192 (order: 4, 65536 bytes) Inode-cache hash table entries: 4096 (order: 3, 32768 bytes) Memory: 27240k available Mount-cache hash table entries: 256 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) softlockup thread 0 started up. Using 2.6 host AIO NET: Registered protocol family 16 mconsole (version 2) initialized on /home/dancer/.uml/3Be6wc/mconsole UML Audio Relay (host dsp = /dev/sound/dsp, host mixer = /dev/sound/mixer) VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 512 (order 0, 4096 bytes) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered loop: loaded (max 8 devices) nbd: registered device at major 43 PPP generic driver version 2.4.2 SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256). tun: Universal TUN/TAP device driver, 1.6 tun: (C) 1999-2004 Max Krasnyansky <[EMAIL PROTECTED]> NET: Registered protocol family 2 IP route cache hash table entries: 512 (order: 0, 4096 bytes) TCP established hash table entries: 2048 (order: 2, 16384 bytes) TCP bind hash table entries: 2048 (order: 2, 16384 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 Failed to open 'root_fs', errno = 2 VFS: Mounted root (hostfs filesystem) readonly. idr_remove called for id=6 which is not allocated. Call Trace: 60d23a08: [<60120c07>] idr_remove_warning+0x17/0x20 60d23a18: [<60120c92>] sub_remove+0x82/0x100 60d23a68: [<60120d39>] idr_remove+0x29/0xa0 60d23a88: [<6012e1cd>] release_dev+0x48d/0x790 60d23ad8: [<6012c332>] tty_ldisc_enable+0x22/0x30 60d23ae8: [<6012d7a7>] init_dev+0x297/0x620 60d23b58: [<6012e627>] tty_open+0x157/0x360 60d23bb8: [<6008abea>] chrdev_open+0x7a/0x160 60d23c08: [<600800b1>] __dentry_open+0xf1/0x1c0 60d23c48: [<6008022f>] filp_open+0xaf/0xd0 60d23c88: [<6001cce1>] strncpy_from_user_skas+0xa1/0xb0 60d23ca8: [<60080325>] get_unused_fd+0x75/0x110 60d23cb8: [<6008f2e3>] getname+0x103/0x130 60d23cf8: [<600804bd>] do_sys_open+0x4d/0xe0 60d23d38: [<6008055f>] sys_open+0xf/0x20 60d23d48: [<6001c1ac>] handle_syscall+0xcc/0xf0 60d23d78: [<6001b9f6>] userspace+0x206/0x300 60d23dd8: [<6000e1a0>] init+0x0/0x140 60d23df8: [<6001bc2d>] new_thread_handler+0xbd/0xd0 60d23e38: [<601b2df0>] __restore_rt+0x0/0x10 60d23ee8: [<601b30d9>] __kill+0x9/0x20 sh-3.00# uname -a Linux (none) 2.6.14-rc4-ga386da96 #1 Wed Oct 12 21:30:24 JST 2005 x86_64 GNU/Linux regards, junichi ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user