build errors with 2.4.24 + uml-patch-2.4.24-3
tried compiling this combination on a host that does not have any AIO support and the attached build errs.
I tried expanding the scope of the ifdefs on HAVE_AIO_ABI but then humfs
was unhappy...not sure if this source plays well when aio is not
around...or I am doing something just wrong.
regards, Giovanni
make[2]: Entering directory `/usr/local/builds/linux-2.4.24/arch/um/os-Linux'
gcc -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -U__i386__ -Ui386 -g -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -I/usr/local/builds/linux-2.4.24/arch/um/include -I/usr/local/builds/linux-2.4.24/arch/um/kernel/tt/include -I/usr/local/builds/linux-2.4.24/arch/um/kernel/skas/include -D_GNU_SOURCE -c -o aio.o aio.caio.c: In function `init_aio_26':
aio.c:254: warning: implicit declaration of function io_setup' aio.c:254: ctx' undeclared (first use in this function) aio.c:254: (Each undeclared identifier is reported only once aio.c:254: for each function it appears in.)
aio.c:261: aio_thread' undeclared (first use in this function) aio.c: In function submit_aio_26':
aio.c:354: warning: implicit declaration of function do_aio' aio.c:354: ctx' undeclared (first use in this function)
make[2]: *** [aio.o] Error 1
make[2]: Leaving directory `/usr/local/builds/linux-2.4.24/arch/um/os-Linux' make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/local/builds/linux-2.4.24/arch/um/os-Linux'
make: *** [_dir_arch/um/os-Linux] Error 2
I got around this by moving the endif in aio.c to the end and turning off CONFIG_HUMFS (not sure if other parts of HOSTFS or EXTERNFS) depedn on it....
But now the UML guest will not boot beyond the point where it pops up the xterm...then the xterm remains blank.
Has anyone else had success with this combo?
I have attached my .config
-GSM
Quoted 11 lines · Marzot, Joe [BL60:NP72:EXCH] wrote:
tried compiling this combination on a host that does not have any AIO support and the attached build errs.
I tried expanding the scope of the ifdefs on
HAVE_AIO_ABIbut then humfs
was unhappy...not sure if this source plays well when aio is not
around...or I am doing something just wrong.regards, Giovanni
------------------------------------------------------------------------
Quoted 16 lines
make[2]: Entering directory `/usr/local/builds/linux-2.4.24/arch/um/os-Linux'
gcc -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -U__i386__ -Ui386 -g -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -I/usr/local/builds/linux-2.4.24/arch/um/include -I/usr/local/builds/linux-2.4.24/arch/um/kernel/tt/include -I/usr/local/builds/linux-2.4.24/arch/um/kernel/skas/include -D_GNU_SOURCE -c -o aio.oaio.caio.c: In function `init_aio_26':
aio.c:254: warning: implicit declaration of functionio_setup' aio.c:254:ctx' undeclared (first use in this function) aio.c:254: (Each undeclared identifier is reported only once aio.c:254: for each function it appears in.)
aio.c:261:aio_thread' undeclared (first use in this function) aio.c: In functionsubmit_aio_26':
aio.c:354: warning: implicit declaration of functiondo_aio' aio.c:354:ctx' undeclared (first use in this function)
make[2]: *** [aio.o] Error 1
make[2]: Leaving directory `/usr/local/builds/linux-2.4.24/arch/um/os-Linux' make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/local/builds/linux-2.4.24/arch/um/os-Linux'
make: *** [_dir_arch/um/os-Linux] Error 2
#
# Automatically generated make config: don't edit
#CONFIG_USERMODE=y
# CONFIG_ISA is not set
# CONFIG_SBUS is not set
# CONFIG_PCI is not setCONFIG_UID16=yCONFIG_RWSEM_XCHGADD_ALGORITHM=y
#
# Code maturity level options
#CONFIG_EXPERIMENTAL=y
#
# General Setup
#CONFIG_MODE_SKAS=yCONFIG_MODE_TT=yCONFIG_NET=yCONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not setCONFIG_SYSCTL=y
# CONFIG_BINFMT_AOUT is not setCONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not setCONFIG_HOSTFS=y
# CONFIG_HUMFS is not setCONFIG_EXTERNFS=y
# CONFIG_HPPFS is not set
# CONFIG_MCONSOLE is not set
# CONFIG_MAGIC_SYSRQ is not set
# CONFIG_HOST_2G_2G is not set
# CONFIG_UML_SMP is not set
# CONFIG_SMP is not setCONFIG_NEST_LEVEL=0CONFIG_KERNEL_HALF_GIGS=1
# CONFIG_HIGHMEM is not setCONFIG_PROC_MM=yCONFIG_KERNEL_STACK_ORDER=2
# CONFIG_UML_REAL_TIME_CLOCK is not set
#
# Loadable module support
#CONFIG_MODULES=yCONFIG_KMOD=y
#
# Character Devices
#CONFIG_STDIO_CONSOLE=yCONFIG_SSL=yCONFIG_FD_CHAN=yCONFIG_NULL_CHAN=yCONFIG_PORT_CHAN=yCONFIG_PTY_CHAN=yCONFIG_TTY_CHAN=yCONFIG_XTERM_CHAN=yCONFIG_CON_ZERO_CHAN="fd:0,fd:1"CONFIG_CON_CHAN="xterm"CONFIG_SSL_CHAN="pty"CONFIG_UNIX98_PTYS=yCONFIG_UNIX98_PTY_COUNT=256
# CONFIG_WATCHDOG is not set
# CONFIG_WATCHDOG_NOWAYOUT is not set
# CONFIG_SOFT_WATCHDOG is not set
# CONFIG_UML_WATCHDOG is not set
# CONFIG_UML_SOUND is not set
# CONFIG_SOUND is not set
# CONFIG_HOSTAUDIO is not set
# CONFIG_TTY_LOG is not set
#
# Block Devices
#CONFIG_BLK_DEV_UBD=yCONFIG_BLK_DEV_UBD_SYNC=yCONFIG_COW=yCONFIG_COW_COMMON=yCONFIG_BLK_DEV_LOOP=yCONFIG_BLK_DEV_NBD=yCONFIG_BLK_DEV_RAM=yCONFIG_BLK_DEV_RAM_SIZE=4096CONFIG_BLK_DEV_INITRD=yCONFIG_MMAPPER=yCONFIG_NETDEVICES=y
#
# Network Devices
#CONFIG_UML_NET=y
# CONFIG_UML_NET_ETHERTAP is not setCONFIG_UML_NET_TUNTAP=y
# CONFIG_UML_NET_SLIP is not set
# CONFIG_UML_NET_SLIRP is not set
# CONFIG_UML_NET_DAEMON is not set
# CONFIG_UML_NET_MCAST is not setCONFIG_UML_NET_PCAP=yCONFIG_DUMMY=y
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not setCONFIG_TUN=yCONFIG_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_PPP_MPPE is not set
# CONFIG_SLIP is not set
# CONFIG_SLIP_COMPRESSED is not set
# CONFIG_SLIP_SMART is not set
# CONFIG_SLIP_MODE_SLIP6 is not set
#
# Networking options
#CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
# CONFIG_NETLINK_DEV is not set
# CONFIG_NETFILTER is not set
# CONFIG_FILTER is not setCONFIG_UNIX=yCONFIG_INET=yCONFIG_IP_MULTICAST=yCONFIG_IP_ADVANCED_ROUTER=yCONFIG_IP_MULTIPLE_TABLES=y
# CONFIG_IP_ROUTE_NAT is not set
# CONFIG_IP_ROUTE_MULTIPATH is not set
# CONFIG_IP_ROUTE_TOS 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_IP_MROUTE is not set
# CONFIG_ARPD is not set
# CONFIG_INET_ECN is not setCONFIG_SYN_COOKIES=yCONFIG_IPV6=m
# CONFIG_KHTTPD is not set
#
# SCTP Configuration (EXPERIMENTAL)
#CONFIG_IPV6_SCTP__=m
# CONFIG_IP_SCTP is not set
# CONFIG_ATM is not setCONFIG_VLAN_8021Q=y
#
#
#
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
#
# Appletalk devices
#
# CONFIG_DEV_APPLETALK is not set
# CONFIG_DECNET is not setCONFIG_BRIDGE=y
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_LLC is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set
#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set
#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
#
# File systems
#
# CONFIG_QUOTA is not set
# CONFIG_QFMT_V2 is not set
# CONFIG_AUTOFS_FS is not setCONFIG_AUTOFS4_FS=y
# CONFIG_REISERFS_FS is not set
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
# CONFIG_ADFS_FS is not set
# CONFIG_ADFS_FS_RW 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_BEFS_DEBUG is not set
# CONFIG_BFS_FS is not setCONFIG_EXT3_FS=yCONFIG_JBD=y
# CONFIG_JBD_DEBUG is not setCONFIG_FAT_FS=yCONFIG_MSDOS_FS=y
# CONFIG_UMSDOS_FS is not setCONFIG_VFAT_FS=y
# CONFIG_EFS_FS is not set
# CONFIG_JFFS_FS is not set
# CONFIG_JFFS2_FS is not setCONFIG_CRAMFS=yCONFIG_TMPFS=yCONFIG_RAMFS=yCONFIG_ISO9660_FS=y
# CONFIG_JOLIET is not set
# CONFIG_ZISOFS is not setCONFIG_JFS_FS=y
# CONFIG_JFS_DEBUG is not set
# CONFIG_JFS_STATISTICS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_NTFS_FS is not set
# CONFIG_NTFS_RW is not set
# CONFIG_HPFS_FS is not setCONFIG_PROC_FS=y
# CONFIG_DEVFS_FS is not set
# CONFIG_DEVFS_MOUNT is not set
# CONFIG_DEVFS_DEBUG is not setCONFIG_DEVPTS_FS=y
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX4FS_RW is not set
# CONFIG_ROMFS_FS is not setCONFIG_EXT2_FS=y
# CONFIG_SYSV_FS is not set
# CONFIG_UDF_FS is not set
# CONFIG_UDF_RW is not set
# CONFIG_UFS_FS is not set
# CONFIG_UFS_FS_WRITE is not set
#
# Network File Systems
#
# CONFIG_CODA_FS is not set
# CONFIG_INTERMEZZO_FS is not setCONFIG_NFS_FS=yCONFIG_NFS_V3=y
# CONFIG_NFS_DIRECTIO is not set
# CONFIG_ROOT_NFS is not setCONFIG_NFSD=y
# CONFIG_NFSD_V3 is not set
# CONFIG_NFSD_TCP is not setCONFIG_SUNRPC=yCONFIG_LOCKD=yCONFIG_LOCKD_V4=y
# CONFIG_SMB_FS is not set
# CONFIG_NCP_FS is not set
# CONFIG_NCPFS_PACKET_SIGNING is not set
# CONFIG_NCPFS_IOCTL_LOCKING is not set
# CONFIG_NCPFS_STRONG is not set
# CONFIG_NCPFS_NFS_NS is not set
# CONFIG_NCPFS_OS2_NS is not set
# CONFIG_NCPFS_SMALLDOS is not set
# CONFIG_NCPFS_NLS is not set
# CONFIG_NCPFS_EXTRAS is not set
# CONFIG_ZISOFS_FS is not set
#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not setCONFIG_MSDOS_PARTITION=y
# CONFIG_SMB_NLS is not setCONFIG_NLS=y
#
# Native Language Support
#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_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
#
# SCSI support
#
# CONFIG_SCSI is not set
#
# Multi-device support (RAID and LVM)
#CONFIG_MD=y
# CONFIG_BLK_DEV_MD is not set
# CONFIG_MD_LINEAR is not set
# CONFIG_MD_RAID0 is not set
# CONFIG_MD_RAID1 is not set
# CONFIG_MD_RAID5 is not set
# CONFIG_MD_MULTIPATH is not setCONFIG_BLK_DEV_LVM=y
#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set
#
# Library routines
#
# CONFIG_CRC32 is not setCONFIG_ZLIB_INFLATE=yCONFIG_ZLIB_DEFLATE=y
#
# Kernel hacking
#
# CONFIG_DEBUG_SLAB is not setCONFIG_DEBUGSYM=yCONFIG_PT_PROXY=y
# CONFIG_GCOV is not set
seems to be stuck in file_io doing a read after xterm_open
Program received signal SIGINT, Interrupt.0xa017ff74 in read ()
at /usr/local/builds/linux-2.4.24/include/linux/if_vlan.h:122
122 }
(gdb) where
#0 0xa017ff74 in read ()
at /usr/local/builds/linux-2.4.24/include/linux/if_vlan.h:122
#1 0xa125f970 in ?? ()
#2 0xa00d455a in os_read_file (fd=9, buf=0xa125f908, len=4) at file.c:503
#3 0xa00c3ec8 in run_helper (pre_exec=0xfffffe00, pre_data=0xfffffe00,
argv=0xfffffe00, stack_out=0xa125f970) at helper.c:91
#4 0xa0107b3a in xterm_open (input=1, output=1, primary=1, d=0xa03337e0,
dev_out=0xfffffe00) at xterm.c:120Quoted 11 lines · Joe Marzot
I got around this by moving the endif in
aio.cto the end and turning offCONFIG_HUMFS(not sure if other parts of HOSTFS or EXTERNFS) depedn on it....But now the UML guest will not boot beyond the point where it pops up the xterm...then the xterm remains blank.
Has anyone else had success with this combo?
I have attached my .config
-GSM
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 1 line · Joe Marzot
seems to be stuck in
file_iodoing a read afterxterm_open
I have not tried the xterms consoles in a very long time, but the last UML I have found reasonably stable is 2.4.24-1. It may be worth a try.
There is quite significant changes taking place in 2.4.24-2 and later in how UML performs I/O on the host, and I have also experienced several different kinds of segfaults, panics and hangs in 2.4.24-2 and 2.4.26-1.
Regards
Henrik
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 6 lines · Joe Marzot
tried compiling this combination on a host that does not have any AIO support and the attached build errs.
I tried expanding the scope of the ifdefs on
HAVE_AIO_ABIbut then humfs
was unhappy...not sure if this source plays well when aio is not
around...or I am doing something just wrong.
See http://marasystems.com/download/uml/
Or upgrade to 2.4.26-1um.
Regards
Henrik
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel