uml-patch-2.6.0-test8
Hi Jeff,
Your last UML patch for 2.6.0-test8 looks fine for me, except when enabling loadable module support (CONFIG_MODULES). .config is attached.
CC arch/um/sys-i386/module.oarch/um/sys-i386/module.c: In function apply_relocate':arch/um/sys-i386/module.c:79: R_386_32' undeclared (first use in this function) arch/um/sys-i386/module.c:79: (Each undeclared identifier is reported only once arch/um/sys-i386/module.c:79: for each function it appears in.) arch/um/sys-i386/module.c:83: R_386_PC32' undeclared (first use in this function) arch/um/sys-i386/module.c:81: warning: unreachable code at beginning of switch statement make[1]: *** [arch/um/sys-i386/module.o] Error 1
make: *** [arch/um/sys-i386] Error 2
Regards,
--
Brice Goglin
================================================
Ph.D Student
Laboratoire de l'Informatique et du Parallélisme
CNRS-INRIA-ENS Lyon
France
#
# Automatically generated make config: don't edit
#CONFIG_USERMODE=yCONFIG_MMU=yCONFIG_UID16=yCONFIG_RWSEM_GENERIC_SPINLOCK=y
#
# UML-specific options
#CONFIG_MODE_TT=yCONFIG_MODE_SKAS=yCONFIG_NET=yCONFIG_BINFMT_ELF=yCONFIG_BINFMT_MISC=yCONFIG_HOSTFS=y
# CONFIG_MCONSOLE 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=1CONFIG_HIGHMEM=yCONFIG_PROC_MM=yCONFIG_KERNEL_STACK_ORDER=2
#
# Code maturity level options
#
# CONFIG_EXPERIMENTAL is not setCONFIG_CLEAN_COMPILE=yCONFIG_STANDALONE=yCONFIG_BROKEN_ON_SMP=y
#
# General setup
#CONFIG_SWAP=yCONFIG_SYSVIPC=yCONFIG_BSD_PROCESS_ACCT=yCONFIG_SYSCTL=yCONFIG_LOG_BUF_SHIFT=14CONFIG_IKCONFIG=yCONFIG_IKCONFIG_PROC=y
# CONFIG_EMBEDDED is not setCONFIG_KALLSYMS=yCONFIG_FUTEX=yCONFIG_EPOLL=yCONFIG_IOSCHED_NOOP=yCONFIG_IOSCHED_AS=yCONFIG_IOSCHED_DEADLINE=y
#
# Loadable module support
#CONFIG_MODULES=y
# CONFIG_MODULE_UNLOAD is not setCONFIG_OBSOLETE_MODPARM=y
# CONFIG_KMOD is not set
#
# Generic Driver Options
#
#
# 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_UML_SOUND is not set
# CONFIG_SOUND is not set
# CONFIG_HOSTAUDIO is not set
#
# Block Devices
#CONFIG_BLK_DEV_UBD=y
# CONFIG_BLK_DEV_UBD_SYNC is not setCONFIG_BLK_DEV_COW_COMMON=y
# CONFIG_BLK_DEV_LOOP is not set
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_MMAPPER is not setCONFIG_NETDEVICES=y
#
# UML Network Devices
#
# CONFIG_UML_NET is not set
#
# Networking support
#
#
# Networking options
#CONFIG_PACKET=yCONFIG_PACKET_MMAP=y
# CONFIG_NETLINK_DEV is not setCONFIG_UNIX=y
# CONFIG_NET_KEY is not setCONFIG_INET=yCONFIG_IP_MULTICAST=yCONFIG_IP_ADVANCED_ROUTER=y
# CONFIG_IP_MULTIPLE_TABLES is not set
# CONFIG_IP_ROUTE_MULTIPATH is not set
# CONFIG_IP_ROUTE_TOS is not set
# CONFIG_IP_ROUTE_VERBOSE is not setCONFIG_IP_PNP=yCONFIG_IP_PNP_DHCP=y
# CONFIG_IP_PNP_BOOTP is not set
# CONFIG_IP_PNP_RARP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_INET_ECN is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
#
# IP: Virtual Server Configuration
#
# CONFIG_IP_VS is not set
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not setCONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
#
# IP: Netfilter Configuration
#CONFIG_IP_NF_CONNTRACK=yCONFIG_IP_NF_FTP=y
# 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 setCONFIG_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 is not set
# CONFIG_IP_NF_MATCH_MARK is not setCONFIG_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 is not set
# CONFIG_IP_NF_MATCH_LENGTH is not set
# CONFIG_IP_NF_MATCH_TTL is not set
# CONFIG_IP_NF_MATCH_TCPMSS is not set
# CONFIG_IP_NF_MATCH_HELPER is not setCONFIG_IP_NF_MATCH_STATE=y
# CONFIG_IP_NF_MATCH_CONNTRACK is not set
# CONFIG_IP_NF_MATCH_OWNER is not setCONFIG_IP_NF_FILTER=yCONFIG_IP_NF_TARGET_REJECT=yCONFIG_IP_NF_NAT=yCONFIG_IP_NF_NAT_NEEDED=yCONFIG_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 setCONFIG_IP_NF_NAT_LOCAL=yCONFIG_IP_NF_NAT_FTP=y
# CONFIG_IP_NF_MANGLE is not setCONFIG_IP_NF_TARGET_LOG=y
# CONFIG_IP_NF_TARGET_ULOG is not set
# CONFIG_IP_NF_TARGET_TCPMSS is not set
# CONFIG_IP_NF_ARPTABLES is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set
#
# Network testing
#
# CONFIG_NET_PKTGEN is not setCONFIG_DUMMY=y
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
#
# Ethernet (10 or 100Mbit)
#
# CONFIG_NET_ETHERNET is not set
#
# Ethernet (1000 Mbit)
#
#
# Ethernet (10000 Mbit)
#
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set
#
# Token Ring devices
#
#
# Wan interfaces
#
# CONFIG_WAN is not set
#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set
#
# IrDA (infrared) support
#
# CONFIG_IRDA is not set
#
# Bluetooth support
#
# CONFIG_BT is not set
#
# File systems
#CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not setCONFIG_EXT3_FS=y
# CONFIG_EXT3_FS_XATTR is not setCONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set
#
# CD-ROM/DVD Filesystems
#
# CONFIG_ISO9660_FS is not set
# CONFIG_UDF_FS is not set
#
# DOS/FAT/NT Filesystems
#
# CONFIG_FAT_FS is not set
# CONFIG_NTFS_FS is not set
#
# Pseudo filesystems
#CONFIG_PROC_FS=yCONFIG_PROC_KCORE=yCONFIG_DEVPTS_FS=y
# CONFIG_DEVPTS_FS_XATTR is not setCONFIG_TMPFS=y
# CONFIG_HUGETLB_PAGE is not setCONFIG_RAMFS=y
#
# Miscellaneous filesystems
#
# 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_EXPORTFS 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
#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not setCONFIG_MSDOS_PARTITION=y
#
# Security options
#
# CONFIG_SECURITY is not set
#
# Cryptographic options
#
# CONFIG_CRYPTO is not set
#
# Library routines
#
# CONFIG_CRC32 is not set
#
# SCSI support
#
# CONFIG_SCSI is not set
#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set
#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set
#
# Kernel hacking
#
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_SPINLOCK is not setCONFIG_DEBUG_INFO=yCONFIG_FRAME_POINTER=y
# CONFIG_PT_PROXY is not set
# CONFIG_GPROF is not set
# CONFIG_GCOV is not set
Quoted 3 lines · [email protected] said:
Hi Jeff,
Your last UML patch for 2.6.0-test8 looks fine for me, except when enabling loadable module support (CONFIG_MODULES).
Known problem, I haven't got around to implementing the changes needed for modules in 2.6.
Jeff
Your 2.6.0-test8 patch from:
http://jdike.stearns.org/mirror/uml-patch-2.6.0-test8.bz2
worked for me as well. It built and booted at least, when applied to a clean, current as of a few hours ago:
bk://linux.bkbits.net/linux-2.5
But your bkbits tree, at:
http://jdike.stearns.org:5000/uml-2.5
seems to have something quite different in it than what I got from the above linux-2.5 + uml-patch-2.6.0-test8.bz2.
Just one UML relevant example of what I see different:
================ arch/um/kernel/Makefile ================
48c50
< QUOTE = 'my $$config=cat $(TOPDIR)/.config; $$config =~ s/"/\\"/g ; while(<STDIN>) { $$_ =~ s/CONFIG/$$config/; print $$_ }'
---
Quoted 1 line
QUOTE = 'my $$config=
cat $(TOPDIR)/.config; $$config =~ s/"/\\"/g ; $$config =~ s/\n/\\n"\n"/g ; while(<STDIN>) { $$_ =~ s/CONFIG/$$config/; print $$_ }'
The '<' is from your bkbits tree, and didn't compile. The '>' is from applying your patch, and works.
I see many other differences as well, most seemgingly unrelated to UML.
Signature · 3 lines
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <[email protected]> 1.650.933.1373Quoted 5 lines
But your bkbits tree, at:
http://jdike.stearns.org:5000/uml-2.5
seems to have something quite different in it ...
Sorry. My confusion. I had the wrong tree.
The above also builds and boots UML for me now.
Thanks for this good work, Jeff.
Signature · 3 lines
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <[email protected]> 1.650.933.1373