From: Clifford T. <cli...@ya...> - 2005-08-26 13:05:28
|
I continued to receive "Program received signal SIGTRAP, Trace/breakpoint trap". How can I fix it? My host system is 2.6.12-skas3-v9-pre7, fedora 4. Host/Guest Kernel http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.12.5.tar.bz2 Uml Patch http://www.user-mode-linux.org/~blaisorblade/patches/skas3-2.6/skas-2.6.12-v 9-pre7/skas-2.6.12-v9-pre7.patch.bz2 Guest config file is in the following after the gdb message. [root@localhost linux-2.6.12.5]# gdb linux GNU gdb Red Hat Linux (6.3.0.0-1.21rh) Copyright 2004 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-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) r Starting program: /opt2/test/linux-2.6.12.5/linux Reading symbols from shared object read from target memory...done. Loaded system supplied DSO at 0xffffe000 Program received signal SIGTRAP, Trace/breakpoint trap. 0xa0013003 in _start () at include/asm/arch/string.h:373 373 __asm__ __volatile__( (gdb) c Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. 0xa0013005 in _start () at include/asm/arch/string.h:373 373 __asm__ __volatile__( (gdb) c Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. 0xa0013008 in _start () at include/asm/arch/string.h:373 373 __asm__ __volatile__( (gdb) c Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. 0xa0013009 in _start () at include/asm/arch/string.h:373 373 __asm__ __volatile__( (gdb) bt #0 0xa0013009 in _start () at include/asm/arch/string.h:373 (gdb) c Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. 0xa001300a in _start () at include/asm/arch/string.h:373 373 __asm__ __volatile__( (gdb) c Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. 0xa001300b in _start () at include/asm/arch/string.h:373 373 __asm__ __volatile__( (gdb) c Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. 0xa0013010 in _start () at include/asm/arch/string.h:373 373 __asm__ __volatile__( (gdb) c Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. 0xa0013015 in _start () at include/asm/arch/string.h:373 373 __asm__ __volatile__( (gdb) c Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. 0xa0013016 in _start () at include/asm/arch/string.h:373 373 __asm__ __volatile__( (gdb) # # Automatically generated make config: don't edit # Linux kernel version: 2.6.12.5 # Wed Aug 24 19:24:36 2005 # CONFIG_GENERIC_HARDIRQS=y CONFIG_UML=y CONFIG_MMU=y CONFIG_UID16=y CONFIG_RWSEM_GENERIC_SPINLOCK=y CONFIG_GENERIC_CALIBRATE_DELAY=y # # UML-specific options # CONFIG_MODE_TT=y CONFIG_MODE_SKAS=y CONFIG_UML_X86=y # CONFIG_64BIT is not set CONFIG_TOP_ADDR=0xc0000000 # CONFIG_3_LEVEL_PGTABLES is not set CONFIG_ARCH_HAS_SC_SIGNALS=y CONFIG_ARCH_REUSE_HOST_VSYSCALL_AREA=y CONFIG_LD_SCRIPT_STATIC=y CONFIG_NET=y CONFIG_BINFMT_ELF=y CONFIG_BINFMT_MISC=y # CONFIG_HOSTFS is not set CONFIG_MCONSOLE=y # CONFIG_MAGIC_SYSRQ is not set # CONFIG_HOST_2G_2G is not set # CONFIG_SMP is not set CONFIG_NEST_LEVEL=0 CONFIG_KERNEL_HALF_GIGS=1 # CONFIG_HIGHMEM is not set CONFIG_KERNEL_STACK_ORDER=2 CONFIG_UML_REAL_TIME_CLOCK=y # # Code maturity level options # CONFIG_EXPERIMENTAL=y CONFIG_CLEAN_COMPILE=y CONFIG_BROKEN_ON_SMP=y CONFIG_INIT_ENV_ARG_LIMIT=32 # # General setup # CONFIG_LOCALVERSION="" CONFIG_SWAP=y CONFIG_SYSVIPC=y # CONFIG_POSIX_MQUEUE is not set CONFIG_BSD_PROCESS_ACCT=y # CONFIG_BSD_PROCESS_ACCT_V3 is not set CONFIG_SYSCTL=y # CONFIG_AUDIT is not set # CONFIG_HOTPLUG is not set CONFIG_KOBJECT_UEVENT=y # CONFIG_IKCONFIG is not set # CONFIG_EMBEDDED is not set CONFIG_KALLSYMS=y # CONFIG_KALLSYMS_ALL is not set # CONFIG_KALLSYMS_EXTRA_PASS is not set CONFIG_PRINTK=y CONFIG_BUG=y CONFIG_BASE_FULL=y CONFIG_FUTEX=y CONFIG_EPOLL=y CONFIG_SHMEM=y CONFIG_CC_ALIGN_FUNCTIONS=0 CONFIG_CC_ALIGN_LABELS=0 CONFIG_CC_ALIGN_LOOPS=0 CONFIG_CC_ALIGN_JUMPS=0 # CONFIG_TINY_SHMEM is not set CONFIG_BASE_SMALL=0 # # Loadable module support # # CONFIG_MODULES is not set # # Generic Driver Options # CONFIG_STANDALONE=y CONFIG_PREVENT_FIRMWARE_BUILD=y # CONFIG_FW_LOADER is not set # CONFIG_DEBUG_DRIVER is not set # # Character Devices # CONFIG_STDERR_CONSOLE=y CONFIG_STDIO_CONSOLE=y CONFIG_SSL=y CONFIG_NULL_CHAN=y CONFIG_PORT_CHAN=y CONFIG_PTY_CHAN=y CONFIG_TTY_CHAN=y CONFIG_XTERM_CHAN=y # CONFIG_NOCONFIG_CHAN is not set CONFIG_CON_ZERO_CHAN="fd:0,fd:1" CONFIG_CON_CHAN="xterm" CONFIG_SSL_CHAN="pty" CONFIG_UNIX98_PTYS=y CONFIG_LEGACY_PTYS=y CONFIG_LEGACY_PTY_COUNT=256 # CONFIG_WATCHDOG is not set CONFIG_UML_SOUND=y CONFIG_SOUND=y CONFIG_HOSTAUDIO=y CONFIG_UML_RANDOM=y # CONFIG_MMAPPER is not set # # Block devices # CONFIG_BLK_DEV_UBD=y # CONFIG_BLK_DEV_UBD_SYNC is not set CONFIG_BLK_DEV_COW_COMMON=y CONFIG_BLK_DEV_LOOP=y # CONFIG_BLK_DEV_CRYPTOLOOP is not set CONFIG_BLK_DEV_NBD=y CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_COUNT=16 CONFIG_BLK_DEV_RAM_SIZE=4096 CONFIG_BLK_DEV_INITRD=y CONFIG_INITRAMFS_SOURCE="" # CONFIG_LBD is not set # # IO Schedulers # CONFIG_IOSCHED_NOOP=y CONFIG_IOSCHED_AS=y CONFIG_IOSCHED_DEADLINE=y CONFIG_IOSCHED_CFQ=y # CONFIG_ATA_OVER_ETH is not set CONFIG_NETDEVICES=y # # UML Network Devices # CONFIG_UML_NET=y CONFIG_UML_NET_ETHERTAP=y CONFIG_UML_NET_TUNTAP=y CONFIG_UML_NET_SLIP=y CONFIG_UML_NET_DAEMON=y CONFIG_UML_NET_MCAST=y CONFIG_UML_NET_SLIRP=y # # Networking support # # # Networking options # CONFIG_PACKET=y CONFIG_PACKET_MMAP=y CONFIG_UNIX=y CONFIG_NET_KEY=y CONFIG_INET=y # CONFIG_IP_MULTICAST is not set CONFIG_IP_ADVANCED_ROUTER=y # CONFIG_IP_MULTIPLE_TABLES is not set # CONFIG_IP_ROUTE_MULTIPATH is not set # CONFIG_IP_ROUTE_VERBOSE is not set # CONFIG_IP_PNP is not set # CONFIG_NET_IPIP is not set # CONFIG_NET_IPGRE is not set # CONFIG_ARPD is not set # CONFIG_SYN_COOKIES is not set CONFIG_INET_AH=y CONFIG_INET_ESP=y CONFIG_INET_IPCOMP=y CONFIG_INET_TUNNEL=y CONFIG_IP_TCPDIAG=y # CONFIG_IP_TCPDIAG_IPV6 is not set # # IP: Virtual Server Configuration # # CONFIG_IP_VS is not set # CONFIG_IPV6 is not set CONFIG_NETFILTER=y # CONFIG_NETFILTER_DEBUG is not set # # IP: Netfilter Configuration # CONFIG_IP_NF_CONNTRACK=y # CONFIG_IP_NF_CT_ACCT is not set CONFIG_IP_NF_CONNTRACK_MARK=y # CONFIG_IP_NF_CT_PROTO_SCTP is not set # CONFIG_IP_NF_FTP is not set # CONFIG_IP_NF_IRC is not set # CONFIG_IP_NF_TFTP is not set # CONFIG_IP_NF_AMANDA is not set # CONFIG_IP_NF_QUEUE is not set CONFIG_IP_NF_IPTABLES=y # CONFIG_IP_NF_MATCH_LIMIT is not set # CONFIG_IP_NF_MATCH_IPRANGE is not set # CONFIG_IP_NF_MATCH_MAC is not set CONFIG_IP_NF_MATCH_PKTTYPE=y CONFIG_IP_NF_MATCH_MARK=y CONFIG_IP_NF_MATCH_MULTIPORT=y # CONFIG_IP_NF_MATCH_TOS is not set # CONFIG_IP_NF_MATCH_RECENT is not set # CONFIG_IP_NF_MATCH_ECN is not set # CONFIG_IP_NF_MATCH_DSCP is not set CONFIG_IP_NF_MATCH_AH_ESP=y # CONFIG_IP_NF_MATCH_LENGTH is not set CONFIG_IP_NF_MATCH_TTL=y # CONFIG_IP_NF_MATCH_TCPMSS is not set # CONFIG_IP_NF_MATCH_HELPER is not set CONFIG_IP_NF_MATCH_STATE=y # CONFIG_IP_NF_MATCH_CONNTRACK is not set # CONFIG_IP_NF_MATCH_OWNER is not set # CONFIG_IP_NF_MATCH_ADDRTYPE is not set # CONFIG_IP_NF_MATCH_REALM is not set # CONFIG_IP_NF_MATCH_SCTP is not set # CONFIG_IP_NF_MATCH_COMMENT is not set CONFIG_IP_NF_MATCH_CONNMARK=y # CONFIG_IP_NF_MATCH_HASHLIMIT is not set CONFIG_IP_NF_FILTER=y # CONFIG_IP_NF_TARGET_REJECT is not set CONFIG_IP_NF_TARGET_LOG=y # CONFIG_IP_NF_TARGET_ULOG is not set # CONFIG_IP_NF_TARGET_TCPMSS is not set CONFIG_IP_NF_NAT=y CONFIG_IP_NF_NAT_NEEDED=y CONFIG_IP_NF_TARGET_MASQUERADE=y # CONFIG_IP_NF_TARGET_REDIRECT is not set # CONFIG_IP_NF_TARGET_NETMAP is not set # CONFIG_IP_NF_TARGET_SAME is not set # CONFIG_IP_NF_NAT_SNMP_BASIC is not set CONFIG_IP_NF_MANGLE=y # CONFIG_IP_NF_TARGET_TOS is not set # CONFIG_IP_NF_TARGET_ECN is not set # CONFIG_IP_NF_TARGET_DSCP is not set CONFIG_IP_NF_TARGET_MARK=y # CONFIG_IP_NF_TARGET_CLASSIFY is not set CONFIG_IP_NF_TARGET_CONNMARK=y # CONFIG_IP_NF_TARGET_CLUSTERIP is not set # CONFIG_IP_NF_RAW is not set # CONFIG_IP_NF_ARPTABLES is not set CONFIG_XFRM=y CONFIG_XFRM_USER=y # # SCTP Configuration (EXPERIMENTAL) # # CONFIG_IP_SCTP is not set # CONFIG_ATM is not set # CONFIG_BRIDGE is not set # CONFIG_VLAN_8021Q is not set # CONFIG_DECNET is not set # CONFIG_LLC2 is not set # CONFIG_IPX is not set # CONFIG_ATALK is not set # CONFIG_X25 is not set # CONFIG_LAPB is not set # CONFIG_NET_DIVERT is not set # CONFIG_ECONET is not set # CONFIG_WAN_ROUTER is not set # # QoS and/or fair queueing # # CONFIG_NET_SCHED is not set # CONFIG_NET_CLS_ROUTE is not set # # Network testing # # CONFIG_NET_PKTGEN is not set # CONFIG_NETPOLL is not set # CONFIG_NET_POLL_CONTROLLER is not set # CONFIG_HAMRADIO is not set # CONFIG_IRDA is not set # CONFIG_BT is not set CONFIG_DUMMY=y # CONFIG_BONDING is not set # CONFIG_EQUALIZER is not set CONFIG_TUN=y # # Wan interfaces # # CONFIG_WAN is not set CONFIG_PPP=y # CONFIG_PPP_MULTILINK is not set # CONFIG_PPP_FILTER is not set # CONFIG_PPP_ASYNC is not set # CONFIG_PPP_SYNC_TTY is not set # CONFIG_PPP_DEFLATE is not set # CONFIG_PPP_BSDCOMP is not set # CONFIG_PPPOE is not set CONFIG_SLIP=y # CONFIG_SLIP_COMPRESSED is not set # CONFIG_SLIP_SMART is not set # CONFIG_SLIP_MODE_SLIP6 is not set # CONFIG_SHAPER is not set # CONFIG_NETCONSOLE is not set # # File systems # CONFIG_EXT2_FS=y # CONFIG_EXT2_FS_XATTR is not set # CONFIG_EXT3_FS is not set # CONFIG_JBD is not set CONFIG_REISERFS_FS=y # CONFIG_REISERFS_CHECK is not set # CONFIG_REISERFS_PROC_INFO is not set # CONFIG_REISERFS_FS_XATTR is not set # CONFIG_JFS_FS is not set # # XFS support # # CONFIG_XFS_FS is not set CONFIG_MINIX_FS=y # CONFIG_ROMFS_FS is not set CONFIG_QUOTA=y # CONFIG_QFMT_V1 is not set # CONFIG_QFMT_V2 is not set CONFIG_QUOTACTL=y CONFIG_DNOTIFY=y CONFIG_AUTOFS_FS=y CONFIG_AUTOFS4_FS=y # # CD-ROM/DVD Filesystems # CONFIG_ISO9660_FS=y # CONFIG_JOLIET is not set # CONFIG_ZISOFS is not set # CONFIG_UDF_FS is not set # # DOS/FAT/NT Filesystems # CONFIG_FAT_FS=y CONFIG_MSDOS_FS=y CONFIG_VFAT_FS=y CONFIG_FAT_DEFAULT_CODEPAGE=437 CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" # CONFIG_NTFS_FS is not set # # Pseudo filesystems # CONFIG_PROC_FS=y CONFIG_PROC_KCORE=y CONFIG_SYSFS=y CONFIG_DEVFS_FS=y # CONFIG_DEVFS_MOUNT is not set # CONFIG_DEVFS_DEBUG is not set # CONFIG_DEVPTS_FS_XATTR is not set CONFIG_TMPFS=y # CONFIG_TMPFS_XATTR is not set # CONFIG_HUGETLB_PAGE is not set CONFIG_RAMFS=y # # Miscellaneous filesystems # # CONFIG_ADFS_FS is not set # CONFIG_AFFS_FS is not set # CONFIG_HFS_FS is not set # CONFIG_HFSPLUS_FS is not set # CONFIG_BEFS_FS is not set # CONFIG_BFS_FS is not set # CONFIG_EFS_FS is not set # CONFIG_CRAMFS is not set # CONFIG_VXFS_FS is not set # CONFIG_HPFS_FS is not set # CONFIG_QNX4FS_FS is not set # CONFIG_SYSV_FS is not set # CONFIG_UFS_FS is not set # # Network File Systems # # CONFIG_NFS_FS is not set # CONFIG_NFSD is not set # CONFIG_SMB_FS is not set # CONFIG_CIFS is not set # CONFIG_NCP_FS is not set # CONFIG_CODA_FS is not set # CONFIG_AFS_FS is not set # # Partition Types # # CONFIG_PARTITION_ADVANCED is not set CONFIG_MSDOS_PARTITION=y # # Native Language Support # CONFIG_NLS=y CONFIG_NLS_DEFAULT="iso8859-1" # CONFIG_NLS_CODEPAGE_437 is not set # CONFIG_NLS_CODEPAGE_737 is not set # CONFIG_NLS_CODEPAGE_775 is not set # CONFIG_NLS_CODEPAGE_850 is not set # CONFIG_NLS_CODEPAGE_852 is not set # CONFIG_NLS_CODEPAGE_855 is not set # CONFIG_NLS_CODEPAGE_857 is not set # CONFIG_NLS_CODEPAGE_860 is not set # CONFIG_NLS_CODEPAGE_861 is not set # CONFIG_NLS_CODEPAGE_862 is not set # CONFIG_NLS_CODEPAGE_863 is not set # CONFIG_NLS_CODEPAGE_864 is not set # CONFIG_NLS_CODEPAGE_865 is not set # CONFIG_NLS_CODEPAGE_866 is not set # CONFIG_NLS_CODEPAGE_869 is not set # CONFIG_NLS_CODEPAGE_936 is not set # CONFIG_NLS_CODEPAGE_950 is not set # CONFIG_NLS_CODEPAGE_932 is not set # CONFIG_NLS_CODEPAGE_949 is not set # CONFIG_NLS_CODEPAGE_874 is not set # CONFIG_NLS_ISO8859_8 is not set # CONFIG_NLS_CODEPAGE_1250 is not set # CONFIG_NLS_CODEPAGE_1251 is not set # CONFIG_NLS_ASCII is not set # CONFIG_NLS_ISO8859_1 is not set # CONFIG_NLS_ISO8859_2 is not set # CONFIG_NLS_ISO8859_3 is not set # CONFIG_NLS_ISO8859_4 is not set # CONFIG_NLS_ISO8859_5 is not set # CONFIG_NLS_ISO8859_6 is not set # CONFIG_NLS_ISO8859_7 is not set # CONFIG_NLS_ISO8859_9 is not set # CONFIG_NLS_ISO8859_13 is not set # CONFIG_NLS_ISO8859_14 is not set # CONFIG_NLS_ISO8859_15 is not set # CONFIG_NLS_KOI8_R is not set # CONFIG_NLS_KOI8_U is not set # CONFIG_NLS_UTF8 is not set # # Security options # # CONFIG_KEYS is not set # CONFIG_SECURITY is not set # # Cryptographic options # CONFIG_CRYPTO=y CONFIG_CRYPTO_HMAC=y CONFIG_CRYPTO_NULL=y # CONFIG_CRYPTO_MD4 is not set CONFIG_CRYPTO_MD5=y CONFIG_CRYPTO_SHA1=y CONFIG_CRYPTO_SHA256=y CONFIG_CRYPTO_SHA512=y # CONFIG_CRYPTO_WP512 is not set # CONFIG_CRYPTO_TGR192 is not set CONFIG_CRYPTO_DES=y CONFIG_CRYPTO_BLOWFISH=y CONFIG_CRYPTO_TWOFISH=y CONFIG_CRYPTO_SERPENT=y CONFIG_CRYPTO_AES_586=y # CONFIG_CRYPTO_CAST5 is not set # CONFIG_CRYPTO_CAST6 is not set # CONFIG_CRYPTO_TEA is not set # CONFIG_CRYPTO_ARC4 is not set # CONFIG_CRYPTO_KHAZAD is not set # CONFIG_CRYPTO_ANUBIS is not set CONFIG_CRYPTO_DEFLATE=y # CONFIG_CRYPTO_MICHAEL_MIC is not set # CONFIG_CRYPTO_CRC32C is not set # CONFIG_CRYPTO_TEST is not set # # Hardware crypto devices # # # Library routines # # CONFIG_CRC_CCITT is not set CONFIG_CRC32=y # CONFIG_LIBCRC32C is not set CONFIG_ZLIB_INFLATE=y CONFIG_ZLIB_DEFLATE=y # # Multi-device support (RAID and LVM) # # CONFIG_MD is not set # CONFIG_INPUT is not set # # Kernel hacking # # CONFIG_PRINTK_TIME is not set CONFIG_DEBUG_KERNEL=y CONFIG_LOG_BUF_SHIFT=14 # CONFIG_SCHEDSTATS is not set CONFIG_DEBUG_SLAB=y # CONFIG_DEBUG_SPINLOCK is not set # CONFIG_DEBUG_SPINLOCK_SLEEP is not set # CONFIG_DEBUG_KOBJECT is not set CONFIG_DEBUG_INFO=y # CONFIG_DEBUG_FS is not set CONFIG_FRAME_POINTER=y # CONFIG_PT_PROXY is not set # CONFIG_GCOV is not set CONFIG_SYSCALL_DEBUG=y -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 266.11.11 - Release Date: 5/16/2005 |
From: Blaisorblade <bla...@ya...> - 2005-08-26 15:43:33
|
On Friday 26 August 2005 15:07, Clifford Ton wrote: > I continued to receive "Program received signal SIGTRAP, Trace/breakpoint > trap". How can I fix it? Disable TT mode in the guest kernel config and things should work again. If that doesn't work, I'll post some patches I'm using for that which work very well (I'm attaching them too but they're against 2.6.13-rc, so you might get some fuzz against 2.6.12). Also, please, next time don't post an HTML message (you can see why in the following quoting:). > My host system is 2.6.12-skas3-v9-pre7, fedora 4. > Host/Guest Kernel > > http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.12.5.tar.bz2 > > Uml Patch > > http://www.user-mode-linux.org/~blaisorblade/patches/skas3-2.6/skas-2.6.12- >v 9-pre7/skas-2.6.12-v9-pre7.patch.bz2 > > > > > > Guest config file is in the following after the gdb message. > > > > [root@localhost linux-2.6.12.5]# gdb linux > > GNU gdb Red Hat Linux (6.3.0.0-1.21rh) > > Copyright 2004 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-gnu"...Using host > libthread_db library "/lib/libthread_db.so.1". -- Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894) http://www.user-mode-linux.org/~blaisorblade |
From: Clifford T. <cli...@ya...> - 2005-08-26 19:36:26
|
If I changed to the following configuration. Host System 2.6.12-skas3-v9-pre7, fedora 4. Host/Guest Kernel http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.12.5.tar.bz2 Uml Patch http://www.user-mode-linux.org/~blaisorblade/patches/skas3-2.6/skas-2.6.12-v 9-pre7/skas-2.6.12-v9-pre7.patch.bz2 With Disable TT mode Will get the following message [root@localhost linux-2.6.12.5]# gdb linux GNU gdb Red Hat Linux (6.3.0.0-1.21rh) Copyright 2004 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-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) r Starting program: /opt2/test/linux-2.6.12.5/linux Reading symbols from shared object read from target memory...done. Loaded system supplied DSO at 0xffffe000 Checking for /proc/mm...found Detaching after fork from child process 22165. Checking for the skas3 patch in the host...found Checking PROT_EXEC mmap in /tmp...OK Detaching after fork from child process 22166. Program received signal SIGUSR1, User defined signal 1. 0xffffe410 in __kernel_vsyscall () (gdb) c Continuing. Detaching after fork from child process 22173. Detaching after fork from child process 22174. Detaching after fork from child process 22175. Program received signal SIGUSR1, User defined signal 1. 0xffffe410 in __kernel_vsyscall () (gdb) c Continuing. Program received signal SIGUSR1, User defined signal 1. 0xffffe410 in __kernel_vsyscall () (gdb) c Continuing. Program received signal SIGUSR1, User defined signal 1. 0xffffe410 in __kernel_vsyscall () (gdb) c Continuing. Program received signal SIGUSR1, User defined signal 1. 0xffffe410 in __kernel_vsyscall () (gdb) c Continuing. Program received signal SIGUSR1, User defined signal 1. 0xffffe410 in __kernel_vsyscall () (gdb) c Continuing. Program received signal SIGUSR1, User defined signal 1. 0xffffe410 in __kernel_vsyscall () (gdb) c Continuing. Detaching after fork from child process 22177. Program received signal SIGUSR1, User defined signal 1. 0xffffe410 in __kernel_vsyscall () (gdb) c Continuing. Program received signal SIGUSR1, User defined signal 1. 0xffffe410 in __kernel_vsyscall () (gdb) c Continuing. Program received signal SIGUSR1, User defined signal 1. 0xffffe410 in __kernel_vsyscall () (gdb) c Continuing. Program received signal SIGUSR1, User defined signal 1. 0xffffe410 in __kernel_vsyscall () (gdb) c Continuing. c Program received signal SIGSEGV, Segmentation fault. 0x081c7aca in ipt_register_table (table=0x8229500, repl=0x820cc60) at include/asm/arch/string.h:207 207 __asm__ __volatile__( (gdb) c Continuing. Program received signal SIGSEGV, Segmentation fault. 0x081c7aca in ipt_register_table (table=0x82295c0, repl=0x820cf40) at include/asm/arch/string.h:207 207 __asm__ __volatile__( (gdb) c Continuing. Program received signal SIGSEGV, Segmentation fault. 0x081c7aca in ipt_register_table (table=0x8229760, repl=0x820d340) at include/asm/arch/string.h:207 207 __asm__ __volatile__( (gdb) c Continuing. Program received signal SIGSEGV, Segmentation fault. 0x08058869 in ip_nat_init () at net/ipv4/netfilter/ip_nat_core.c:521 521 INIT_LIST_HEAD(&bysource[i]); (gdb) c Continuing. Linux version 2.6.12.5 (root@localhost.localdomain) (gcc version 4.0.0 20050519 (Red Hat 4.0.0-8)) #3 Fri Aug 26 12:09:17 PDT 2005 Built 1 zonelists Kernel command line: 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: 29488k available Mount-cache hash table entries: 512 Checking for host processor cmov support...Yes Checking for host processor xmm support...No Checking that ptrace can change system call numbers...OK Checking syscall emulation patch for ptrace...OK Checking advanced syscall emulation patch for ptrace...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) NET: Registered protocol family 16 mconsole (version 2) initialized on /root/.uml/yOrYVG/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: 1024 (order 0, 4096 bytes) devfs: 2004-01-31 Richard Gooch (rg...@at...) devfs: boot_options: 0x0 Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize 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 <ma...@qu...> NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP established hash table entries: 2048 (order: 2, 16384 bytes) TCP bind hash table entries: 2048 (order: 1, 8192 bytes) TCP: Hash tables configured (established 2048 bind 2048) ip_conntrack version 2.1 (230 buckets, 1840 max) - 216 bytes per conntrack ip_tables: (C) 2000-2002 Netfilter core team Initializing IPsec netlink socket NET: Registered protocol family 1 NET: Registered protocol family 17 NET: Registered protocol family 15 Initialized stdio console driver Console initialized on /dev/tty0 Initializing software serial port version 1 Failed to open 'root_fs', errno = 2 VFS: Cannot open root device "98:0" or unknown-block(98,0) Please append a correct "root=" boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98,0) EIP: 0073:[<ffffe410>] CPU: 0 Not tainted ESP: 007b:b7e35f8c EFLAGS: 00000246 Not tainted EAX: 00000000 EBX: 00005695 ECX: 00000013 EDX: 00005695 ESI: 00005687 EDI: 00000011 EBP: b7e35fb8 DS: 007b ES: 007b 088a3ad0: [<08072d5d>] show_regs+0xd1/0xd8 088a3af0: [<08061dbf>] panic_exit+0x27/0x48 088a3b20: [<08086112>] notifier_call_chain+0x1e/0x40 088a3b50: [<08079225>] panic+0x59/0x110 088a3b80: [<080499ea>] mount_block_root+0x9a/0x104 088a3bd0: [<08049b5a>] mount_root+0x2e/0x34 088a3bf0: [<08049ba0>] prepare_namespace+0x40/0x144 088a3c00: [<0805ae09>] init+0xe5/0x104 088a3c20: [<0805dc1b>] run_kernel_thread+0x2f/0x3c 088a3ce0: [<08063338>] new_thread_handler+0x8c/0xbc 088a3d20: [<ffffe420>] 0xffffe420 Program exited with code 01. (gdb) c The program is not being run. (gdb) -----Original Message----- From: Blaisorblade [mailto:bla...@ya...] Sent: Friday, August 26, 2005 8:38 AM To: use...@li...; cli...@ya... Subject: Re: [uml-user] "Program received signal SIGTRAP, Trace/breakpoint trap" On Friday 26 August 2005 15:07, Clifford Ton wrote: > I continued to receive "Program received signal SIGTRAP, Trace/breakpoint > trap". How can I fix it? Disable TT mode in the guest kernel config and things should work again. If that doesn't work, I'll post some patches I'm using for that which work very well (I'm attaching them too but they're against 2.6.13-rc, so you might get some fuzz against 2.6.12). Also, please, next time don't post an HTML message (you can see why in the following quoting:). > My host system is 2.6.12-skas3-v9-pre7, fedora 4. > Host/Guest Kernel > > http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.12.5.tar.bz2 > > Uml Patch > > http://www.user-mode-linux.org/~blaisorblade/patches/skas3-2.6/skas-2.6.12- >v 9-pre7/skas-2.6.12-v9-pre7.patch.bz2 > > > > > > Guest config file is in the following after the gdb message. > > > > [root@localhost linux-2.6.12.5]# gdb linux > > GNU gdb Red Hat Linux (6.3.0.0-1.21rh) > > Copyright 2004 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-gnu"...Using host > libthread_db library "/lib/libthread_db.so.1". -- Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894) http://www.user-mode-linux.org/~blaisorblade |
From: Jeff D. <jd...@ad...> - 2005-08-28 14:13:42
|
On Fri, Aug 26, 2005 at 12:35:11PM -0700, Clifford Ton wrote: > Program received signal SIGUSR1, User defined signal 1. > 0xffffe410 in __kernel_vsyscall () > (gdb) c > Continuing. > c > > Program received signal SIGSEGV, Segmentation fault. > 0x081c7aca in ipt_register_table (table=0x8229500, repl=0x820cc60) > at include/asm/arch/string.h:207 > 207 __asm__ __volatile__( handle SIGUSR1 pass nostop noprint handle SIGSTOP pass nostop noprint > Failed to open 'root_fs', errno = 2 > VFS: Cannot open root device "98:0" or unknown-block(98,0) This is self-explanatory. Jeff M |
From: Clifford T. <cli...@ya...> - 2005-08-29 14:40:44
|
I got " Kernel panic - not syncing: No init found. Try passing init= option to kernel.", Where can I find information to fix it? Host/Guest system are 2.6.13-rc6, fedora 4 [root@localhost umlbuild]# gdb linux-uml-2.6.13-rc6 GNU gdb Red Hat Linux (6.3.0.0-1.21rh) Copyright 2004 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-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) handle SIGUSR1 nostop noprint Signal Stop Print Pass to program Description SIGUSR1 No No Yes User defined signal 1 (gdb) handle SIGSEGV nostop noprint Signal Stop Print Pass to program Description SIGSEGV No No Yes Segmentation fault (gdb) set args ubd0=./root-fs/gentoo-fs (gdb) r Starting program: /home/cliffton/strongswan-testing/umlbuild/linux-uml-2.6.13-rc6 ubd0=./root-fs/gentoo-fs Reading symbols from shared object read from target memory...done. Loaded system supplied DSO at 0xffffe000 Checking for /proc/mm...not found Detaching after fork from child process 8790. Checking for the skas3 patch in the host...not found UML running in SKAS0 mode Checking PROT_EXEC mmap in /tmp...OK Detaching after fork from child process 8791. Detaching after fork from child process 8792. Detaching after fork from child process 8793. Linux version 2.6.13-rc6 (root@localhost.localdomain) (gcc version 4.0.0 20050519 (Red Hat 4.0.0-8)) #2 Sun Aug 28 13:57:26 PDT 2005 Built 1 zonelists Kernel command line: ubd0=./root-fs/gentoo-fs 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: 29824k available Mount-cache hash table entries: 512 Checking for host processor cmov support...Yes Checking for host processor xmm support...No Checking that ptrace can change system call numbers...OK Checking syscall emulation patch for ptrace...missing 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) NET: Registered protocol family 16 mconsole (version 2) initialized on /root/.uml/XUvFiO/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 loop: loaded (max 8 devices) NET: Registered protocol family 2 IP route cache hash table entries: 512 (order: -1, 2048 bytes) TCP established hash table entries: 2048 (order: 2, 16384 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 ReiserFS: ubda: found reiserfs format "3.6" with standard journal ReiserFS: ubda: using ordered data mode ReiserFS: ubda: journal params: device ubda, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 ReiserFS: ubda: checking transaction log (ubda) ReiserFS: ubda: Using r5 hash to sort names VFS: Mounted root (reiserfs filesystem) readonly. Warning: unable to open an initial console. Kernel panic - not syncing: No init found. Try passing init= option to kernel. EIP: 0073:[<ffffe410>] CPU: 0 Not tainted ESP: 007b:b7eaaf8c EFLAGS: 00000246 Not tainted EAX: 00000000 EBX: 00002256 ECX: 00000013 EDX: 00002256 ESI: 00002248 EDI: 00000011 EBP: b7eaafb8 DS: 007b ES: 007b 088b3b40: [<0806f7bd>] show_regs+0xd1/0xd8 088b3b60: [<0805e4bf>] panic_exit+0x27/0x48 088b3b90: [<0808036a>] notifier_call_chain+0x1e/0x40 088b3bc0: [<08073329>] panic+0x59/0x108 088b3bf0: [<08057390>] init+0xe0/0x104 088b3c20: [<0805a18f>] run_kernel_thread+0x2f/0x3c 088b3ce0: [<08060078>] new_thread_handler+0x8c/0xbc 088b3d20: [<ffffe420>] _etext+0xf7e59406/0x0 Program exited with code 01. (gdb) -----Original Message----- From: Jeff Dike [mailto:jd...@ad...] Sent: Sunday, August 28, 2005 6:46 AM To: Clifford Ton Cc: 'Blaisorblade'; use...@li... Subject: Re: [uml-user] "Program received signal SIGTRAP, Trace/breakpoint trap" On Fri, Aug 26, 2005 at 12:35:11PM -0700, Clifford Ton wrote: > Program received signal SIGUSR1, User defined signal 1. > 0xffffe410 in __kernel_vsyscall () > (gdb) c > Continuing. > c > > Program received signal SIGSEGV, Segmentation fault. > 0x081c7aca in ipt_register_table (table=0x8229500, repl=0x820cc60) > at include/asm/arch/string.h:207 > 207 __asm__ __volatile__( handle SIGUSR1 pass nostop noprint handle SIGSTOP pass nostop noprint > Failed to open 'root_fs', errno = 2 > VFS: Cannot open root device "98:0" or unknown-block(98,0) This is self-explanatory. Jeff M -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 8/26/2005 |