All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] Still can't get an 2.6.6-rcX UML
@ 2004-04-25 18:34 gboutwel
  2004-04-26  1:50 ` Jeff Chua
  2004-04-30 14:07 ` BlaisorBlade
  0 siblings, 2 replies; 10+ messages in thread
From: gboutwel @ 2004-04-25 18:34 UTC (permalink / raw)
  To: user-mode-linux-devel

[-- Attachment #1: Type: Text/Plain, Size: 1845 bytes --]

Hello,



  On Debian Unstable/SID.  I do the following, I've done it several

different ways for rc2 and rc1 and always I get hung up at the

same point on the UML, I can compile patch and compile the host

without problem.  This will be the first time since toying with

UMl and 2.6 kernels that I haven't beenable to get an UML compiled.

:(



tar jxf linux-2.6.5.tar.bz2

mv linux-2.6.5 linux-2.6.6-rc2-um

cd linux-2.6.6-rc2-um

bzcat patch-2.6.6-rc2 | patch -p1

bzcat uml-patch-2.6.6-0.bz2 | patch -p1  

// I've, also, tried uml-patch-2.6.4-1.bz2

cat uml-fix-2.6.5 | patch -p1 // this is Jeff C's 2.6.5 fix patch

// Note:  Jeff C, the first part of this patch, the one

//  for Makefile dealing with the lines dealing with QUOTE

//  I have to remove it or I get that this patch is malformed.

//  it applies fine without this.  I, also, got an 2.6.5 UML
without

//  this part in there.

cat host+Uml-skas3-2.6.6-rc1-v1.patch | patch -p1

cat uml-fix-2.6.6 | patch -p1 // this is Jeff C's 2.6.6-rc1/2
fix patch

make mrproper ARCH=um

cp config-2.6.6-uml .config

make oldconfig ARCH=um

make linux ARCH=um

// this is where it fails.  I fails on the

// arch/um/util/mk_task_kern.o, #include "linux/sched.h" line

// which then includes "userspace" includes, which I don't feel

// comfortable modifying since they are part of my distro and

// not sure how that would break other applications.



Again, I've tried various variations, combinations, orders, etc,

always I error out at this point and hit a wall that I can't

seem to get around.



Attached is the output of the make linux ARCH=um

Attached is my config-2.6.6-um file



Please, someone let me know what's to be done to fix this?



Thanks,

George



--------------------------------------

Want to download some Christian Stuff?

http://www.praize.com/downloads/

[-- Attachment #2: uml-2.6.6-rc2.log --]
[-- Type: , Size: 2450 bytes --]

make[1]: `arch/um/sys-i386/util/mk_sc' is up to date.
  HOSTCC  arch/um/util/mk_task_kern.o
In file included from /usr/include/asm/smp.h:18,
                 from /usr/include/linux/smp.h:17,
                 from /usr/include/linux/sched.h:23,
                 from arch/um/util/mk_task_kern.c:2:
/usr/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory
In file included from /usr/include/asm/smp.h:18,
                 from /usr/include/linux/smp.h:17,
                 from /usr/include/linux/sched.h:23,
                 from arch/um/util/mk_task_kern.c:2:
/usr/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared here (not in a function)
/usr/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:20: error: conflicting types for `mp_bus_id_to_type'
/usr/include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type'
/usr/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:24: error: conflicting types for `mp_bus_id_to_pci_bus'
/usr/include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_bus'
/usr/include/asm/mpspec.h:54: error: `MAX_APICS' undeclared here (not in a function)
In file included from /usr/include/asm/smp.h:20,
                 from /usr/include/linux/smp.h:17,
                 from /usr/include/linux/sched.h:23,
                 from arch/um/util/mk_task_kern.c:2:
/usr/include/asm/io_apic.h:120: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/include/asm/io_apic.h:120: error: conflicting types for `mp_irqs'
/usr/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'
In file included from /usr/include/linux/smp.h:17,
                 from /usr/include/linux/sched.h:23,
                 from arch/um/util/mk_task_kern.c:2:
/usr/include/asm/smp.h:73:26: mach_apicdef.h: No such file or directory
make[1]: *** [arch/um/util/mk_task_kern.o] Error 1
make: *** [arch/um/util] Error 2
\r

[-- Attachment #3: config-2.6.6-uml --]
[-- Type: , Size: 10749 bytes --]

#
# Automatically generated make config: don't edit
#
CONFIG_USERMODE=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y

#
# UML-specific options
#
CONFIG_MODE_TT=y
CONFIG_MODE_SKAS=y
CONFIG_NET=y
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=y
CONFIG_HOSTFS=y
# CONFIG_HPPFS is not set
CONFIG_MCONSOLE=y
CONFIG_MAGIC_SYSRQ=y
# CONFIG_HOST_2G_2G is not set
# CONFIG_UML_SMP is not set
# CONFIG_SMP is not set
CONFIG_NEST_LEVEL=0
CONFIG_KERNEL_HALF_GIGS=1
# CONFIG_HIGHMEM is not set
CONFIG_PROC_MM=y
CONFIG_KERNEL_STACK_ORDER=2
CONFIG_UML_REAL_TIME_CLOCK=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_CLEAN_COMPILE=y
CONFIG_STANDALONE=y
CONFIG_BROKEN_ON_SMP=y

#
# General setup
#
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_POSIX_MQUEUE=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_SYSCTL=y
CONFIG_AUDIT=y
CONFIG_LOG_BUF_SHIFT=14
# CONFIG_HOTPLUG is not set
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set

#
# Loadable module support
#
# CONFIG_MODULES is not set

#
# Generic Driver Options
#

#
# Character Devices
#
CONFIG_STDIO_CONSOLE=y
CONFIG_SSL=y
CONFIG_FD_CHAN=y
CONFIG_NULL_CHAN=y
CONFIG_PORT_CHAN=y
CONFIG_PTY_CHAN=y
CONFIG_TTY_CHAN=y
CONFIG_XTERM_CHAN=y
CONFIG_CON_ZERO_CHAN="fd:0,fd:1"
CONFIG_CON_CHAN="xterm"
CONFIG_SSL_CHAN="pty"
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
# CONFIG_WATCHDOG is not set
CONFIG_UML_SOUND=y
CONFIG_SOUND=y
CONFIG_HOSTAUDIO=y

#
# Block Devices
#
CONFIG_BLK_DEV_UBD=y
CONFIG_BLK_DEV_UBD_SYNC=y
CONFIG_BLK_DEV_COW_COMMON=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_NBD=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=4096
CONFIG_BLK_DEV_INITRD=y
# CONFIG_MMAPPER is not set
CONFIG_NETDEVICES=y

#
# UML Network Devices
#
CONFIG_UML_NET=y
# CONFIG_UML_NET_ETHERTAP is not set
CONFIG_UML_NET_TUNTAP=y
# CONFIG_UML_NET_SLIP is not set
CONFIG_UML_NET_DAEMON=y
CONFIG_UML_NET_MCAST=y
# CONFIG_UML_NET_PCAP is not set
# CONFIG_UML_NET_SLIRP is not set

#
# Networking support
#

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
CONFIG_NETLINK_DEV=y
CONFIG_UNIX=y
CONFIG_NET_KEY=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_FWMARK=y
CONFIG_IP_ROUTE_NAT=y
# 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=y
CONFIG_NET_IPGRE=y
# CONFIG_NET_IPGRE_BROADCAST is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
CONFIG_SYN_COOKIES=y
CONFIG_INET_AH=y
CONFIG_INET_ESP=y
CONFIG_INET_IPCOMP=y

#
# IP: Virtual Server Configuration
#
# CONFIG_IP_VS is not set
CONFIG_IPV6=y
CONFIG_IPV6_PRIVACY=y
CONFIG_INET6_AH=y
CONFIG_INET6_ESP=y
CONFIG_INET6_IPCOMP=y
CONFIG_IPV6_TUNNEL=y
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set

#
# IP: Netfilter Configuration
#
CONFIG_IP_NF_CONNTRACK=y
CONFIG_IP_NF_FTP=y
CONFIG_IP_NF_IRC=y
# 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=y
CONFIG_IP_NF_MATCH_IPRANGE=y
CONFIG_IP_NF_MATCH_MAC=y
CONFIG_IP_NF_MATCH_PKTTYPE=y
CONFIG_IP_NF_MATCH_MARK=y
CONFIG_IP_NF_MATCH_MULTIPORT=y
CONFIG_IP_NF_MATCH_TOS=y
CONFIG_IP_NF_MATCH_RECENT=y
CONFIG_IP_NF_MATCH_ECN=y
CONFIG_IP_NF_MATCH_DSCP=y
CONFIG_IP_NF_MATCH_AH_ESP=y
CONFIG_IP_NF_MATCH_LENGTH=y
CONFIG_IP_NF_MATCH_TTL=y
CONFIG_IP_NF_MATCH_TCPMSS=y
CONFIG_IP_NF_MATCH_HELPER=y
CONFIG_IP_NF_MATCH_STATE=y
CONFIG_IP_NF_MATCH_CONNTRACK=y
CONFIG_IP_NF_MATCH_OWNER=y
CONFIG_IP_NF_FILTER=y
CONFIG_IP_NF_TARGET_REJECT=y
CONFIG_IP_NF_NAT=y
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=y
CONFIG_IP_NF_TARGET_REDIRECT=y
# CONFIG_IP_NF_TARGET_NETMAP is not set
# CONFIG_IP_NF_TARGET_SAME is not set
# CONFIG_IP_NF_NAT_LOCAL is not set
# CONFIG_IP_NF_NAT_SNMP_BASIC is not set
CONFIG_IP_NF_NAT_IRC=y
CONFIG_IP_NF_NAT_FTP=y
CONFIG_IP_NF_MANGLE=y
CONFIG_IP_NF_TARGET_TOS=y
CONFIG_IP_NF_TARGET_ECN=y
CONFIG_IP_NF_TARGET_DSCP=y
CONFIG_IP_NF_TARGET_MARK=y
# CONFIG_IP_NF_TARGET_CLASSIFY is not set
CONFIG_IP_NF_TARGET_LOG=y
# CONFIG_IP_NF_TARGET_ULOG is not set
CONFIG_IP_NF_TARGET_TCPMSS=y
CONFIG_IP_NF_ARPTABLES=y
CONFIG_IP_NF_ARPFILTER=y
CONFIG_IP_NF_ARP_MANGLE=y
CONFIG_IP_NF_TARGET_NOTRACK=y
CONFIG_IP_NF_RAW=y

#
# IPv6: Netfilter Configuration
#
# CONFIG_IP6_NF_QUEUE is not set
CONFIG_IP6_NF_IPTABLES=y
CONFIG_IP6_NF_MATCH_LIMIT=y
CONFIG_IP6_NF_MATCH_MAC=y
CONFIG_IP6_NF_MATCH_RT=y
CONFIG_IP6_NF_MATCH_OPTS=y
CONFIG_IP6_NF_MATCH_FRAG=y
CONFIG_IP6_NF_MATCH_HL=y
CONFIG_IP6_NF_MATCH_MULTIPORT=y
CONFIG_IP6_NF_MATCH_OWNER=y
CONFIG_IP6_NF_MATCH_MARK=y
CONFIG_IP6_NF_MATCH_IPV6HEADER=y
CONFIG_IP6_NF_MATCH_AHESP=y
CONFIG_IP6_NF_MATCH_LENGTH=y
CONFIG_IP6_NF_MATCH_EUI64=y
CONFIG_IP6_NF_FILTER=y
CONFIG_IP6_NF_TARGET_LOG=y
CONFIG_IP6_NF_MANGLE=y
CONFIG_IP6_NF_TARGET_MARK=y
CONFIG_IP6_NF_RAW=y
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
# 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
# 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
# CONFIG_ETHERTAP is not set

#
# Ethernet (10 or 100Mbit)
#
# CONFIG_NET_ETHERNET is not set

#
# Ethernet (1000 Mbit)
#

#
# Ethernet (10000 Mbit)
#

#
# Token Ring devices
#

#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
# CONFIG_SHAPER is not set
# CONFIG_NETCONSOLE is not set

#
# File systems
#
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
CONFIG_EXT2_FS_SECURITY=y
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
CONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not set
CONFIG_REISERFS_PROC_INFO=y
# CONFIG_JFS_FS is not set
CONFIG_FS_POSIX_ACL=y
# CONFIG_XFS_FS is not set
CONFIG_MINIX_FS=y
CONFIG_ROMFS_FS=y
CONFIG_QUOTA=y
# CONFIG_QFMT_V1 is not set
CONFIG_QFMT_V2=y
CONFIG_QUOTACTL=y
# CONFIG_AUTOFS_FS is not set
CONFIG_AUTOFS4_FS=y

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_ZISOFS_FS=y
CONFIG_UDF_FS=y

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
# 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=y
# CONFIG_DEVFS_DEBUG is not set
# CONFIG_DEVPTS_FS_XATTR is not set
CONFIG_TMPFS=y
# 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=y
CONFIG_NFS_V3=y
CONFIG_NFS_V4=y
# CONFIG_NFS_DIRECTIO is not set
CONFIG_NFSD=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_V4=y
CONFIG_NFSD_TCP=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=y
CONFIG_SUNRPC=y
CONFIG_SUNRPC_GSS=y
CONFIG_RPCSEC_GSS_KRB5=y
CONFIG_SMB_FS=y
CONFIG_SMB_NLS_DEFAULT=y
CONFIG_SMB_NLS_REMOTE="cp437"
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_INTERMEZZO_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=y
# 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=y
# 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=y
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_UTF8 is not set

#
# Security options
#
# CONFIG_SECURITY is not set

#
# Cryptographic options
#
CONFIG_CRYPTO=y
CONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_NULL is not set
# CONFIG_CRYPTO_MD4 is not set
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_SHA1=y
# CONFIG_CRYPTO_SHA256 is not set
# CONFIG_CRYPTO_SHA512 is not set
CONFIG_CRYPTO_DES=y
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_TWOFISH is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_AES is not set
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
# CONFIG_CRYPTO_ARC4 is not set
CONFIG_CRYPTO_DEFLATE=y
# CONFIG_CRYPTO_MICHAEL_MIC is not set
# CONFIG_CRYPTO_TEST is not set

#
# Library routines
#
# CONFIG_CRC32 is not set
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y

#
# 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=y
# CONFIG_DEBUG_SPINLOCK is not set
CONFIG_DEBUG_INFO=y
CONFIG_FRAME_POINTER=y
CONFIG_PT_PROXY=y
# CONFIG_GPROF is not set
# CONFIG_GCOV is not set
\r

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [uml-devel] Still can't get an 2.6.6-rcX UML
  2004-04-25 18:34 gboutwel
@ 2004-04-26  1:50 ` Jeff Chua
  2004-04-30 14:07 ` BlaisorBlade
  1 sibling, 0 replies; 10+ messages in thread
From: Jeff Chua @ 2004-04-26  1:50 UTC (permalink / raw)
  To: gboutwel; +Cc: UserModeLinux

[-- Attachment #1: Type: TEXT/PLAIN, Size: 510 bytes --]


can you disable smp and high mem. Try my .config (uml) attached.


Thanks,
Jeff
[ jchua@fedex.com ]

On Mon, 25 Apr 2004, gboutwel wrote:

> Hello,
>
>
>
>   On Debian Unstable/SID.  I do the following, I've done it several
>
> different ways for rc2 and rc1 and always I get hung up at the
>
> same point on the UML, I can compile patch and compile the host
>
> without problem.  This will be the first time since toying with
>
> UMl and 2.6 kernels that I haven't beenable to get an UML compiled.
>
> :(
>
>

[-- Attachment #2: Type: TEXT/PLAIN, Size: 10702 bytes --]

#
# Automatically generated make config: don't edit
#
CONFIG_USERMODE=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y

#
# UML-specific options
#
# CONFIG_MODE_TT is not set
# CONFIG_STATIC_LINK is not set
CONFIG_MODE_SKAS=y
CONFIG_NET=y
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=m
CONFIG_HOSTFS=y
# CONFIG_HPPFS is not set
CONFIG_MCONSOLE=y
# CONFIG_MAGIC_SYSRQ is not set
# CONFIG_HOST_2G_2G is not set
# CONFIG_UML_SMP is not set
# CONFIG_SMP is not set
CONFIG_NEST_LEVEL=0
CONFIG_KERNEL_HALF_GIGS=1
# CONFIG_HIGHMEM is not set
# CONFIG_PROC_MM is not set
CONFIG_KERNEL_STACK_ORDER=2
# CONFIG_UML_REAL_TIME_CLOCK is not set

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_CLEAN_COMPILE=y
CONFIG_STANDALONE=y
CONFIG_BROKEN_ON_SMP=y

#
# General setup
#
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
# CONFIG_POSIX_MQUEUE is not set
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
# CONFIG_AUDIT is not set
CONFIG_LOG_BUF_SHIFT=14
# CONFIG_HOTPLUG is not set
# CONFIG_IKCONFIG is not set
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_OBSOLETE_MODPARM=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y

#
# Generic Driver Options
#

#
# Character Devices
#
CONFIG_STDIO_CONSOLE=y
CONFIG_SSL=y
CONFIG_FD_CHAN=y
CONFIG_NULL_CHAN=y
CONFIG_PORT_CHAN=y
CONFIG_PTY_CHAN=y
CONFIG_TTY_CHAN=y
CONFIG_XTERM_CHAN=y
CONFIG_CON_ZERO_CHAN="fd:0,fd:1"
CONFIG_CON_CHAN="xterm"
CONFIG_SSL_CHAN="pty"
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
# CONFIG_WATCHDOG is not set
CONFIG_UML_SOUND=y
CONFIG_SOUND=y
CONFIG_HOSTAUDIO=y

#
# 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=m
# CONFIG_BLK_DEV_NBD is not set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=32768
CONFIG_BLK_DEV_INITRD=y
# CONFIG_MMAPPER 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 is not set
CONFIG_UML_NET_DAEMON=y
CONFIG_UML_NET_MCAST=y
# CONFIG_UML_NET_PCAP is not set
# CONFIG_UML_NET_SLIRP is not set

#
# Networking support
#

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
# CONFIG_NETLINK_DEV is not set
CONFIG_UNIX=y
# CONFIG_NET_KEY is not set
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_FWMARK=y
CONFIG_IP_ROUTE_NAT=y
# CONFIG_IP_ROUTE_MULTIPATH is not set
# CONFIG_IP_ROUTE_TOS is not set
CONFIG_IP_ROUTE_VERBOSE=y
# CONFIG_IP_PNP is not set
CONFIG_NET_IPIP=m
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
CONFIG_SYN_COOKIES=y
# 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_IPV6 is not set
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set

#
# IP: Netfilter Configuration
#
CONFIG_IP_NF_CONNTRACK=m
CONFIG_IP_NF_FTP=m
CONFIG_IP_NF_IRC=m
CONFIG_IP_NF_TFTP=m
# CONFIG_IP_NF_AMANDA is not set
# CONFIG_IP_NF_QUEUE is not set
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_LIMIT=m
# CONFIG_IP_NF_MATCH_IPRANGE is not set
CONFIG_IP_NF_MATCH_MAC=m
CONFIG_IP_NF_MATCH_PKTTYPE=m
CONFIG_IP_NF_MATCH_MARK=m
CONFIG_IP_NF_MATCH_MULTIPORT=m
CONFIG_IP_NF_MATCH_TOS=m
CONFIG_IP_NF_MATCH_RECENT=m
CONFIG_IP_NF_MATCH_ECN=m
CONFIG_IP_NF_MATCH_DSCP=m
CONFIG_IP_NF_MATCH_AH_ESP=m
CONFIG_IP_NF_MATCH_LENGTH=m
CONFIG_IP_NF_MATCH_TTL=m
CONFIG_IP_NF_MATCH_TCPMSS=m
CONFIG_IP_NF_MATCH_HELPER=m
CONFIG_IP_NF_MATCH_STATE=m
CONFIG_IP_NF_MATCH_CONNTRACK=m
CONFIG_IP_NF_MATCH_OWNER=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
CONFIG_IP_NF_NAT=m
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_IP_NF_TARGET_REDIRECT=m
# CONFIG_IP_NF_TARGET_NETMAP is not set
# CONFIG_IP_NF_TARGET_SAME is not set
CONFIG_IP_NF_NAT_LOCAL=y
# CONFIG_IP_NF_NAT_SNMP_BASIC is not set
CONFIG_IP_NF_NAT_IRC=m
CONFIG_IP_NF_NAT_FTP=m
CONFIG_IP_NF_NAT_TFTP=m
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_TARGET_TOS=m
CONFIG_IP_NF_TARGET_ECN=m
CONFIG_IP_NF_TARGET_DSCP=m
CONFIG_IP_NF_TARGET_MARK=m
# CONFIG_IP_NF_TARGET_CLASSIFY is not set
CONFIG_IP_NF_TARGET_LOG=m
CONFIG_IP_NF_TARGET_ULOG=m
CONFIG_IP_NF_TARGET_TCPMSS=m
# CONFIG_IP_NF_ARPTABLES is not set
# CONFIG_IP_NF_COMPAT_IPCHAINS is not set
# CONFIG_IP_NF_COMPAT_IPFWADM is not set
# CONFIG_IP_NF_RAW is not set
CONFIG_XFRM=y
# CONFIG_XFRM_USER is not set

#
# 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
# 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
# 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=m
CONFIG_BONDING=m
CONFIG_EQUALIZER=m
CONFIG_TUN=m

#
# Ethernet (10 or 100Mbit)
#
# CONFIG_NET_ETHERNET is not set

#
# Ethernet (1000 Mbit)
#

#
# Ethernet (10000 Mbit)
#

#
# Token Ring devices
#

#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set
# CONFIG_PPP is not set
# CONFIG_SLIP 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=m
CONFIG_EXT3_FS_XATTR=y
# CONFIG_EXT3_FS_POSIX_ACL is not set
# CONFIG_EXT3_FS_SECURITY is not set
CONFIG_JBD=m
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
CONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO 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=m
CONFIG_JOLIET=y
# CONFIG_ZISOFS is not set
CONFIG_UDF_FS=m

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
CONFIG_NTFS_FS=m
# CONFIG_NTFS_DEBUG is not set
CONFIG_NTFS_RW=y

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_SYSFS=y
# CONFIG_DEVFS_FS is not set
# CONFIG_DEVPTS_FS_XATTR is not set
CONFIG_TMPFS=y
# 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=m
CONFIG_NFS_V3=y
# CONFIG_NFS_V4 is not set
# CONFIG_NFS_DIRECTIO is not set
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V4 is not set
CONFIG_NFSD_TCP=y
CONFIG_LOCKD=m
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=m
CONFIG_SUNRPC=m
# CONFIG_RPCSEC_GSS_KRB5 is not set
CONFIG_SMB_FS=m
CONFIG_SMB_NLS_DEFAULT=y
CONFIG_SMB_NLS_REMOTE="cp437"
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
CONFIG_CODA_FS=m
# CONFIG_CODA_FS_OLD_API is not set
# CONFIG_INTERMEZZO_FS is not set
# CONFIG_AFS_FS is not set

#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not set
CONFIG_MSDOS_PARTITION=y
# CONFIG_BSD_DISKLABEL is not set
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
# CONFIG_UNIXWARE_DISKLABEL is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_NEC98_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_EFI_PARTITION is not set

#
# Native Language Support
#
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=m
# 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=m
# 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_SECURITY is not set

#
# Cryptographic options
#
# CONFIG_CRYPTO is not set

#
# Library routines
#
CONFIG_CRC32=m

#
# SCSI support
#
# CONFIG_SCSI is not set

#
# Multi-device support (RAID and LVM)
#
CONFIG_MD=y
# CONFIG_BLK_DEV_MD is not set
CONFIG_BLK_DEV_DM=y
# CONFIG_DM_CRYPT 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 set
# CONFIG_DEBUG_INFO is not set

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [uml-devel] Still can't get an 2.6.6-rcX UML
@ 2004-04-26 13:46 gboutwel
  0 siblings, 0 replies; 10+ messages in thread
From: gboutwel @ 2004-04-26 13:46 UTC (permalink / raw)
  To: jeff98; +Cc: user-mode-linux-devel

jeff98@silk.corp.fedex.com wrote:

> 

> can you disable smp and high mem. Try my .config (uml) attached.

> 



Ummm... Did you look at the .config I attached to that e-mail?



#

# UML-specific options

#

...

# CONFIG_UML_SMP is not set

# CONFIG_SMP is not set

...

# CONFIG_HIGHMEM is not set



Note that SMP & High Mem are disabled.



I'll try your .config and let you know.



George



-----------------------------------------------

Get your FREE Christian Email Account at Praize

http://www.praize.com/email/ 



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
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] 10+ messages in thread

* Re: [uml-devel] Still can't get an 2.6.6-rcX UML
@ 2004-04-26 18:58 gboutwel
  0 siblings, 0 replies; 10+ messages in thread
From: gboutwel @ 2004-04-26 18:58 UTC (permalink / raw)
  To: user-mode-linux-devel

Jeff,



> can you disable smp and high mem. Try my .config (uml) attached.



Tried your .config same thing.



George



----------------------------------------------------

Need to store your files online? 

Upload them for free in Praize Briefcase

http://www.praize.com/cgi-bin/members/mybriefcase.cgi



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
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] 10+ messages in thread

* Re: [uml-devel] Still can't get an 2.6.6-rcX UML
  2004-04-25 18:34 gboutwel
  2004-04-26  1:50 ` Jeff Chua
@ 2004-04-30 14:07 ` BlaisorBlade
  1 sibling, 0 replies; 10+ messages in thread
From: BlaisorBlade @ 2004-04-30 14:07 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: gboutwel

Alle 20:34, domenica 25 aprile 2004, gboutwel ha scritto:
> Hello,
>
>   On Debian Unstable/SID.  I do the following, I've done it several
> different ways for rc2 and rc1 and always I get hung up at the
> same point on the UML, I can compile patch and compile the host
> without problem.  This will be the first time since toying with
> UMl and 2.6 kernels that I haven't beenable to get an UML compiled.

>
> make linux ARCH=um
> // this is where it fails.  I fails on the
> // arch/um/util/mk_task_kern.o, #include "linux/sched.h" line
> // which then includes "userspace" includes, which I don't feel
> // comfortable modifying since they are part of my distro and
> // not sure how that would break other applications.

Well, something has been *really* been messed up. If I understand things 
properly, you are able to compile fine a 2.6.5 UML, right?

The problem is that:
a) I think that file should include the "kernelspace" headers... however the 
kludges needed to do it are very fragile when Kbuild changes a bit (this 
problem has repeatedly showed up against Linux 2.6).

However, things should succeed anyway, BUT

b) your distro headers are messed up...; the first thing I see is that it uses 
the 2.6 headers. Now, the missing header should be located in 
/usr/include/asm/mach-default/. Probably it is there; however the kernel uses 
normally a -Iasm/mach-default, so that #include <mach_mpspec.h> works.
Since one cannot require user programs to add -I to compile, Debian should 
symlink everything from /usr/include/asm/mach-default/ into /usr/include; 
i.e.:
ln -s  /usr/include/asm/mach-default/* /usr/include.

Then retry the build, and also watch this thread:

"[uml-devel] patch for 2.6.6-rc1".

Bye and HTH!
-- 
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729




-------------------------------------------------------
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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [uml-devel] Still can't get an 2.6.6-rcX UML
@ 2004-04-30 18:31 gboutwel
  2004-04-30 18:58 ` BlaisorBlade
  0 siblings, 1 reply; 10+ messages in thread
From: gboutwel @ 2004-04-30 18:31 UTC (permalink / raw)
  To: user-mode-linux-devel





Blaisorblade wrote:



> Well, something has been *really* been messed up. If I understand

> things  properly, you are able to compile fine a 2.6.5 UML,
right?



You're telling me..  Yes I can compile an 2.6.5 host, an 2.6.5
UML, and an 2.6.6-rc1/2/3 HOST, but not an 2.6.6-rc1/2/3 guest.



> The problem is that:

> a) I think that file should include the "kernelspace" headers...

> however the kludges needed to do it are very fragile when Kbuild
changes a

> bit (this problem has repeatedly showed up against Linux 2.6).



Ok.  If it where including kernelspace headers I don't think
this would be a problem.



> However, things should succeed anyway, BUT

> 

> b) your distro headers are messed up...; the first thing I
see

> is that it uses the 2.6 headers. Now, the missing header should
be located in 

> /usr/include/asm/mach-default/. Probably it is there; however
the

> kernel uses normally a -Iasm/mach-default, so that #include
 works.

> Since one cannot require user programs to add -I to compile,
Debian

> should  symlink everything from /usr/include/asm/mach-default/
into 

> /usr/include;



As I understand it SID installs as it's 'de facto' headers not
2.6, but 2.5.999-test7. See: http://packages.debian.org/unstable/devel/linux-kernel-headers



And it would seem that this area (in kernel headers) has recently
changed (when compared to 2.5) or up to this point UML builds
have been going against kernel provided headers instead of the
2.5 headers debian's shipping.



> i.e.:

> ln -s  /usr/include/asm/mach-default/* /usr/include.

> 



I'll try it, but I had really hoped not to mess with those headers
as it's my understanding that important pieces of code (ie glibc,
etc) are compiled against those headers.



I'll write back to the list whatever I find out.



Thanks,



George



----------------------------

Love to laugh?

Good Clean Jokes at Praize

http://www.praize.com/jokes/



-------------------------------------------------------
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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [uml-devel] Still can't get an 2.6.6-rcX UML
  2004-04-30 18:31 [uml-devel] Still can't get an 2.6.6-rcX UML gboutwel
@ 2004-04-30 18:58 ` BlaisorBlade
  0 siblings, 0 replies; 10+ messages in thread
From: BlaisorBlade @ 2004-04-30 18:58 UTC (permalink / raw)
  To: user-mode-linux-devel

Alle 20:31, venerdì 30 aprile 2004, gboutwel ha scritto:
> Blaisorblade wrote:

> > The problem is that:
> >
> > a) I think that file should include the "kernelspace" headers...
> >
> > however the kludges needed to do it are very fragile when Kbuild
>
> changes a
>
> > bit (this problem has repeatedly showed up against Linux 2.6).
>
> Ok.  If it where including kernelspace headers I don't think
> this would be a problem.

Yes, what I mean is that the proper fix is probably to make it use the kernel 
headers as it did before. Would you post the output of the failing make 
command with the V=1 option added, to see the actual build command?

> As I understand it SID installs as it's 'de facto' headers not
> 2.6, but 2.5.999-test7. See:
> http://packages.debian.org/unstable/devel/linux-kernel-headers

> And it would seem that this area (in kernel headers) has recently
> changed (when compared to 2.5) or up to this point UML builds
> have been going against kernel provided headers instead of the
> 2.5 headers debian's shipping.

I think the 2nd thing holds, and that my suggestions is a workaround that 
should work (I hope)...

Bye
-- 
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729



-------------------------------------------------------
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_id149&alloc_id66&opÌk
_______________________________________________
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] 10+ messages in thread

* Re: [uml-devel] Still can't get an 2.6.6-rcX UML
@ 2004-05-04 20:05 gboutwel
  2004-05-11 17:35 ` BlaisorBlade
  0 siblings, 1 reply; 10+ messages in thread
From: gboutwel @ 2004-05-04 20:05 UTC (permalink / raw)
  To: user-mode-linux-devel

[-- Attachment #1: Type: Text/Plain, Size: 731 bytes --]

> Blaisorblade wrote:



> Yes, what I mean is that the proper fix is probably to make
it use the kernel 

> headers as it did before. Would you post the output of the
failing make 

> command with the V=1 option added, to see the actual build
command?



Attached is the orgianl fail (before trying the symlink in /usr/include)
with V=1 as uml-2.6.6-rc3-V.log



Also, attached is the new fail (after trying the symlink in /usr/include)
with an V=1 as uml-2.6.6-rc3.log



> I think the 2nd thing holds, and that my suggestions is a workaround
that 

> should work (I hope)...



Don't look like it.



George



----------------------------------------

Single? Find Christian Singles like you!

http://www.praize.com/singles/



[-- Attachment #2: uml-2.6.6-rc3-V.log --]
[-- Type: , Size: 5288 bytes --]

  CHK     include/linux/version.h
  UPD     include/linux/version.h
  SYMLINK include/asm -> include/asm-um
if [ ! -d include ]; then mkdir -p include; fi;
  SPLIT   include/linux/autoconf.h -> include/config/*
make -f scripts/Makefile.build obj=arch/um/sys-i386/util arch/um/sys-i386/util/mk_sc
  gcc -Wp,-MD,arch/um/sys-i386/util/.mk_sc.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer        -o arch/um/sys-i386/util/mk_sc arch/um/sys-i386/util/mk_sc.c
make -f scripts/Makefile.build obj=arch/um/kernel/skas /usr/src/linux-2.6.6-rc3-um/arch/um/include/skas_ptregs.h
  gcc -Wp,-MD,arch/um/kernel/skas/util/.mk_ptregs.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer        -o arch/um/kernel/skas/util/mk_ptregs arch/um/kernel/skas/util/mk_ptregs.c
  Generating /usr/src/linux-2.6.6-rc3-um/arch/um/include/skas_ptregs.h (updated)
  CHK     arch/um/include/sysdep-i386/sc.h
  UPD     arch/um/include/sysdep-i386/sc.h
cd /usr/src/linux-2.6.6-rc3-um/include/asm-um && ln -sf ../asm-i386 arch
cd arch/um/include && ln -sf sysdep-i386 sysdep
cd arch/um && ln -sf os-Linux os
cd /usr/src/linux-2.6.6-rc3-um/include/asm-um/ ; \
ln -sf archparam-i386.h archparam.h
cd /usr/src/linux-2.6.6-rc3-um/include/asm-um/ ; \
ln -sf system-i386.h system.h
cd /usr/src/linux-2.6.6-rc3-um/include/asm-um/ ; \
ln -sf sigcontext-i386.h sigcontext.h
cd /usr/src/linux-2.6.6-rc3-um/include/asm-um/ ; \
ln -sf processor-i386.h processor.h
cd /usr/src/linux-2.6.6-rc3-um/include/asm-um/ ; \
ln -sf ptrace-i386.h ptrace.h
cd /usr/src/linux-2.6.6-rc3-um/include/asm-um/ ; \
ln -sf arch-signal-i386.h arch-signal.h
cd /usr/src/linux-2.6.6-rc3-um/include/asm-um/ ; \
ln -sf module-i386.h module.h
  CHK     arch/um/include/uml-config.h
  UPD     arch/um/include/uml-config.h
make -f scripts/Makefile.build obj=arch/um/util
  gcc -Wp,-MD,arch/um/util/.mk_constants_kern.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer      -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -U__i386__ -Ui386  -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -Iarch/um/include -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask -I/usr/src/linux-2.6.6-rc3-um/arch/um/kernel/skas/include -O2 -fomit-frame-pointer  -c -o arch/um/util/mk_constants_kern.o arch/um/util/mk_constants_kern.c
  gcc -Wp,-MD,arch/um/util/.mk_constants_user.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer       -c -o arch/um/util/mk_constants_user.o arch/um/util/mk_constants_user.c
  gcc -Wp,-MD,arch/um/util/.mk_task_kern.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer      -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -U__i386__ -Ui386  -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -Iarch/um/include -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask -I/usr/src/linux-2.6.6-rc3-um/arch/um/kernel/skas/include -O2 -fomit-frame-pointer  -c -o arch/um/util/mk_task_kern.o arch/um/util/mk_task_kern.c
In file included from /usr/include/asm/smp.h:18,
                 from /usr/include/linux/smp.h:17,
                 from /usr/include/linux/sched.h:23,
                 from arch/um/util/mk_task_kern.c:2:
/usr/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory
In file included from /usr/include/asm/smp.h:18,
                 from /usr/include/linux/smp.h:17,
                 from /usr/include/linux/sched.h:23,
                 from arch/um/util/mk_task_kern.c:2:
/usr/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared here (not in a function)
/usr/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:20: error: conflicting types for `mp_bus_id_to_type'
/usr/include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type'
/usr/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:24: error: conflicting types for `mp_bus_id_to_pci_bus'
/usr/include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_bus'
/usr/include/asm/mpspec.h:54: error: `MAX_APICS' undeclared here (not in a function)
In file included from /usr/include/asm/smp.h:20,
                 from /usr/include/linux/smp.h:17,
                 from /usr/include/linux/sched.h:23,
                 from arch/um/util/mk_task_kern.c:2:
/usr/include/asm/io_apic.h:120: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/include/asm/io_apic.h:120: error: conflicting types for `mp_irqs'
/usr/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'
In file included from /usr/include/linux/smp.h:17,
                 from /usr/include/linux/sched.h:23,
                 from arch/um/util/mk_task_kern.c:2:
/usr/include/asm/smp.h:73:26: mach_apicdef.h: No such file or directory
make[1]: *** [arch/um/util/mk_task_kern.o] Error 1
make: *** [arch/um/util] Error 2
\r

[-- Attachment #3: uml-2.6.6-rc3.log --]
[-- Type: , Size: 16318 bytes --]

make -f scripts/Makefile.build obj=arch/um/sys-i386/util arch/um/sys-i386/util/mk_sc
make[1]: `arch/um/sys-i386/util/mk_sc' is up to date.
make -f scripts/Makefile.build obj=arch/um/util
  gcc -Wp,-MD,arch/um/util/.mk_task_kern.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer      -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -U__i386__ -Ui386  -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -Iarch/um/include -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask -I/usr/src/linux-2.6.6-rc3-um/arch/um/kernel/skas/include -O2 -fomit-frame-pointer  -c -o arch/um/util/mk_task_kern.o arch/um/util/mk_task_kern.c
  gcc -Wp,-MD,arch/um/util/.mk_task_user.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer       -c -o arch/um/util/mk_task_user.o arch/um/util/mk_task_user.c
  gcc  -o arch/um/util/mk_task arch/um/util/mk_task_user.o arch/um/util/mk_task_kern.o  
  gcc  -o arch/um/util/mk_constants arch/um/util/mk_constants_user.o arch/um/util/mk_constants_kern.o  
  CHK     arch/um/include/task.h
  UPD     arch/um/include/task.h
  CHK     arch/um/include/kern_constants.h
  UPD     arch/um/include/kern_constants.h
make -f scripts/Makefile.build obj=arch/um/sys-i386/util arch/um/sys-i386/util/mk_thread
  gcc -Wp,-MD,arch/um/sys-i386/util/.mk_thread_kern.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer      -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -U__i386__ -Ui386  -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -Iarch/um/include -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask -I/usr/src/linux-2.6.6-rc3-um/arch/um/kernel/skas/include -O2 -fomit-frame-pointer  -c -o arch/um/sys-i386/util/mk_thread_kern.o arch/um/sys-i386/util/mk_thread_kern.c
  gcc -Wp,-MD,arch/um/sys-i386/util/.mk_thread_user.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer      -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -U__i386__ -Ui386 -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE   -Iarch/um/include -I/usr/src/linux-2.6.6-rc3-um/arch/um/kernel/skas/include -D_GNU_SOURCE -O2 -fomit-frame-pointer -c -o arch/um/sys-i386/util/mk_thread_user.o arch/um/sys-i386/util/mk_thread_user.c
  gcc  -o arch/um/sys-i386/util/mk_thread arch/um/sys-i386/util/mk_thread_kern.o arch/um/sys-i386/util/mk_thread_user.o  
  CHK     arch/um/include/sysdep-i386/thread.h
  UPD     arch/um/include/sysdep-i386/thread.h
make -f scripts/Makefile.build obj=scripts/basic
make -f scripts/Makefile.build obj=scripts
make -f scripts/Makefile.build obj=scripts/genksyms
  gcc -Wp,-MD,scripts/genksyms/.genksyms.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer       -c -o scripts/genksyms/genksyms.o scripts/genksyms/genksyms.c
  cat scripts/genksyms/lex.c_shipped > scripts/genksyms/lex.c
  cat scripts/genksyms/parse.h_shipped > scripts/genksyms/parse.h
  cat scripts/genksyms/keywords.c_shipped > scripts/genksyms/keywords.c
  gcc -Wp,-MD,scripts/genksyms/.lex.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer      -Iscripts/genksyms -c -o scripts/genksyms/lex.o scripts/genksyms/lex.c
  cat scripts/genksyms/parse.c_shipped > scripts/genksyms/parse.c
  gcc -Wp,-MD,scripts/genksyms/.parse.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer      -Wno-uninitialized -Iscripts/genksyms -c -o scripts/genksyms/parse.o scripts/genksyms/parse.c
  gcc  -o scripts/genksyms/genksyms scripts/genksyms/genksyms.o scripts/genksyms/parse.o scripts/genksyms/lex.o  
  gcc -Wp,-MD,scripts/.conmakehash.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer        -o scripts/conmakehash scripts/conmakehash.c
  gcc -Wp,-MD,scripts/.kallsyms.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer        -o scripts/kallsyms scripts/kallsyms.c
  gcc -Wp,-MD,scripts/.empty.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -U__i386__ -Ui386  -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -Iarch/um/include -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask -I/usr/src/linux-2.6.6-rc3-um/arch/um/kernel/skas/include -O2 -fomit-frame-pointer     -DKBUILD_BASENAME=empty -DKBUILD_MODNAME=empty -c -o scripts/.tmp_empty.o scripts/empty.c
  gcc -Wp,-MD,scripts/.mk_elfconfig.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer        -o scripts/mk_elfconfig scripts/mk_elfconfig.c
  scripts/mk_elfconfig um < scripts/empty.o > scripts/elfconfig.h
  gcc -Wp,-MD,scripts/.file2alias.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer       -c -o scripts/file2alias.o scripts/file2alias.c
  gcc -Wp,-MD,scripts/.modpost.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer       -c -o scripts/modpost.o scripts/modpost.c
  gcc -Wp,-MD,scripts/.sumversion.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer       -c -o scripts/sumversion.o scripts/sumversion.c
  gcc  -o scripts/modpost scripts/modpost.o scripts/file2alias.o scripts/sumversion.o  
  gcc -Wp,-MD,scripts/.pnmtologo.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer        -o scripts/pnmtologo scripts/pnmtologo.c
  gcc -Wp,-MD,scripts/.bin2c.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer        -o scripts/bin2c scripts/bin2c.c
make -f scripts/Makefile.build obj=init
  gcc -Wp,-MD,init/.main.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -U__i386__ -Ui386  -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -Iarch/um/include -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask -I/usr/src/linux-2.6.6-rc3-um/arch/um/kernel/skas/include -O2 -fomit-frame-pointer     -DKBUILD_BASENAME=main -DKBUILD_MODNAME=main -c -o init/.tmp_main.o init/main.c
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  gcc -Wp,-MD,init/.version.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -U__i386__ -Ui386  -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -Iarch/um/include -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask -I/usr/src/linux-2.6.6-rc3-um/arch/um/kernel/skas/include -O2 -fomit-frame-pointer     -DKBUILD_BASENAME=version -DKBUILD_MODNAME=version -c -o init/.tmp_version.o init/version.c
  gcc -Wp,-MD,init/.do_mounts.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -U__i386__ -Ui386  -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -Iarch/um/include -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask -I/usr/src/linux-2.6.6-rc3-um/arch/um/kernel/skas/include -O2 -fomit-frame-pointer     -DKBUILD_BASENAME=do_mounts -DKBUILD_MODNAME=mounts -c -o init/.tmp_do_mounts.o init/do_mounts.c
  gcc -Wp,-MD,init/.do_mounts_rd.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -U__i386__ -Ui386  -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -Iarch/um/include -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask -I/usr/src/linux-2.6.6-rc3-um/arch/um/kernel/skas/include -O2 -fomit-frame-pointer     -DKBUILD_BASENAME=do_mounts_rd -DKBUILD_MODNAME=mounts -c -o init/.tmp_do_mounts_rd.o init/do_mounts_rd.c
  gcc -Wp,-MD,init/.do_mounts_initrd.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -U__i386__ -Ui386  -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -Iarch/um/include -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask -I/usr/src/linux-2.6.6-rc3-um/arch/um/kernel/skas/include -O2 -fomit-frame-pointer     -DKBUILD_BASENAME=do_mounts_initrd -DKBUILD_MODNAME=mounts -c -o init/.tmp_do_mounts_initrd.o init/do_mounts_initrd.c
  ld   -r -o init/mounts.o init/do_mounts.o init/do_mounts_rd.o init/do_mounts_initrd.o
  gcc -Wp,-MD,init/.initramfs.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -U__i386__ -Ui386  -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -Iarch/um/include -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask -I/usr/src/linux-2.6.6-rc3-um/arch/um/kernel/skas/include -O2 -fomit-frame-pointer     -DKBUILD_BASENAME=initramfs -DKBUILD_MODNAME=initramfs -c -o init/.tmp_initramfs.o init/initramfs.c
   ld   -r -o init/built-in.o init/main.o init/version.o init/mounts.o init/initramfs.o
make -f scripts/Makefile.build obj=usr
  gcc -Wp,-MD,usr/.gen_init_cpio.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer        -o usr/gen_init_cpio usr/gen_init_cpio.c
  ./usr/gen_init_cpio > usr/initramfs_data.cpio
  gzip -f -9 < usr/initramfs_data.cpio > usr/initramfs_data.cpio.gz
  gcc -Wp,-MD,usr/.initramfs_data.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -D__ASSEMBLY__    -c -o usr/initramfs_data.o usr/initramfs_data.S
   ld   -r -o usr/built-in.o usr/initramfs_data.o
make -f scripts/Makefile.build obj=arch/um/kernel
  gcc -Wp,-MD,arch/um/kernel/.checksum.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -U__i386__ -Ui386  -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -Iarch/um/include -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask -I/usr/src/linux-2.6.6-rc3-um/arch/um/kernel/skas/include -O2 -fomit-frame-pointer     -DKBUILD_BASENAME=checksum -DKBUILD_MODNAME=checksum -c -o arch/um/kernel/.tmp_checksum.o arch/um/kernel/checksum.c
  perl -e 'my $config=`cat /usr/src/linux-2.6.6-rc3-um/.config`; $config =~ s/"/\\"/g ; $config =~ s/\n/\\n"\n"/g ; while(<STDIN>) { $_ =~ s/CONFIG/$config/; print $_ }' < arch/um/kernel/config.c.in > arch/um/kernel/config.c
gcc  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -U__i386__ -Ui386 -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE   -Iarch/um/include -I/usr/src/linux-2.6.6-rc3-um/arch/um/kernel/skas/include -D_GNU_SOURCE -O2 -fomit-frame-pointer -c -o arch/um/kernel/config.o arch/um/kernel/config.c
  gcc -Wp,-MD,arch/um/kernel/.exec_kern.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -U__i386__ -Ui386  -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -Iarch/um/include -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask -I/usr/src/linux-2.6.6-rc3-um/arch/um/kernel/skas/include -O2 -fomit-frame-pointer     -DKBUILD_BASENAME=exec_kern -DKBUILD_MODNAME=exec_kern -c -o arch/um/kernel/.tmp_exec_kern.o arch/um/kernel/exec_kern.c
  gcc -Wp,-MD,arch/um/kernel/.exitcode.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -U__i386__ -Ui386  -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -Iarch/um/include -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask -I/usr/src/linux-2.6.6-rc3-um/arch/um/kernel/skas/include -O2 -fomit-frame-pointer     -DKBUILD_BASENAME=exitcode -DKBUILD_MODNAME=exitcode -c -o arch/um/kernel/.tmp_exitcode.o arch/um/kernel/exitcode.c
  gcc -Wp,-MD,arch/um/kernel/.frame_kern.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -U__i386__ -Ui386  -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -Iarch/um/include -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask -I/usr/src/linux-2.6.6-rc3-um/arch/um/kernel/skas/include -O2 -fomit-frame-pointer     -DKBUILD_BASENAME=frame_kern -DKBUILD_MODNAME=frame_kern -c -o arch/um/kernel/.tmp_frame_kern.o arch/um/kernel/frame_kern.c
gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -U__i386__ -Ui386 -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE   -Iarch/um/include -I/usr/src/linux-2.6.6-rc3-um/arch/um/kernel/skas/include -D_GNU_SOURCE -O2  -c -o arch/um/kernel/frame.o arch/um/kernel/frame.c
gcc  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -U__i386__ -Ui386 -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE   -Iarch/um/include -I/usr/src/linux-2.6.6-rc3-um/arch/um/kernel/skas/include -D_GNU_SOURCE -O2 -fomit-frame-pointer -c -o arch/um/kernel/helper.o arch/um/kernel/helper.c
  gcc -Wp,-MD,arch/um/kernel/.init_task.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -U__i386__ -Ui386  -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -Iarch/um/include -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask -I/usr/src/linux-2.6.6-rc3-um/arch/um/kernel/skas/include -O2 -fomit-frame-pointer     -DKBUILD_BASENAME=init_task -DKBUILD_MODNAME=init_task -c -o arch/um/kernel/.tmp_init_task.o arch/um/kernel/init_task.c
  gcc -Wp,-MD,arch/um/kernel/.irq.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -U__i386__ -Ui386  -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -Iarch/um/include -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask -I/usr/src/linux-2.6.6-rc3-um/arch/um/kernel/skas/include -O2 -fomit-frame-pointer     -DKBUILD_BASENAME=irq -DKBUILD_MODNAME=irq -c -o arch/um/kernel/.tmp_irq.o arch/um/kernel/irq.c
gcc  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -U__i386__ -Ui386 -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE   -Iarch/um/include -I/usr/src/linux-2.6.6-rc3-um/arch/um/kernel/skas/include -D_GNU_SOURCE -O2 -fomit-frame-pointer -c -o arch/um/kernel/irq_user.o arch/um/kernel/irq_user.c
  gcc -Wp,-MD,arch/um/kernel/.ksyms.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -U__i386__ -Ui386  -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -Iarch/um/include -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask -I/usr/src/linux-2.6.6-rc3-um/arch/um/kernel/skas/include -O2 -fomit-frame-pointer     -DKBUILD_BASENAME=ksyms -DKBUILD_MODNAME=ksyms -c -o arch/um/kernel/.tmp_ksyms.o arch/um/kernel/ksyms.c
  gcc -Wp,-MD,arch/um/kernel/.mem.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -U__i386__ -Ui386  -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -Iarch/um/include -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask -I/usr/src/linux-2.6.6-rc3-um/arch/um/kernel/skas/include -O2 -fomit-frame-pointer     -DKBUILD_BASENAME=mem -DKBUILD_MODNAME=mem -c -o arch/um/kernel/.tmp_mem.o arch/um/kernel/mem.c
gcc  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -U__i386__ -Ui386 -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE   -Iarch/um/include -I/usr/src/linux-2.6.6-rc3-um/arch/um/kernel/skas/include -D_GNU_SOURCE -O2 -fomit-frame-pointer -c -o arch/um/kernel/mem_user.o arch/um/kernel/mem_user.c
  gcc -Wp,-MD,arch/um/kernel/.physmem.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -U__i386__ -Ui386  -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -Iarch/um/include -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask -I/usr/src/linux-2.6.6-rc3-um/arch/um/kernel/skas/include -O2 -fomit-frame-pointer     -DKBUILD_BASENAME=physmem -DKBUILD_MODNAME=physmem -c -o arch/um/kernel/.tmp_physmem.o arch/um/kernel/physmem.c
gcc  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -U__i386__ -Ui386 -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE   -Iarch/um/include -I/usr/src/linux-2.6.6-rc3-um/arch/um/kernel/skas/include -D_GNU_SOURCE -O2 -fomit-frame-pointer -c -o arch/um/kernel/process.o arch/um/kernel/process.c
arch/um/kernel/process.c: In function `can_do_skas':
arch/um/kernel/process.c:259: error: storage size of `fi' isn't known
arch/um/kernel/process.c:266: error: `PTRACE_FAULTINFO' undeclared (first use in this function)
arch/um/kernel/process.c:266: error: (Each undeclared identifier is reported only once
arch/um/kernel/process.c:266: error: for each function it appears in.)
arch/um/kernel/process.c:259: warning: unused variable `fi'
make[1]: *** [arch/um/kernel/process.o] Error 1
make: *** [arch/um/kernel] Error 2
\r

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [uml-devel] Still can't get an 2.6.6-rcX UML
  2004-05-04 20:05 gboutwel
@ 2004-05-11 17:35 ` BlaisorBlade
  0 siblings, 0 replies; 10+ messages in thread
From: BlaisorBlade @ 2004-05-11 17:35 UTC (permalink / raw)
  To: gboutwel, user-mode-linux-devel

Alle 22:05, martedì 4 maggio 2004, gboutwel ha scritto:
> > Blaisorblade wrote:
> > Yes, what I mean is that the proper fix is probably to make
> it use the kernel
> > headers as it did before. Would you post the output of the
> failing make
> > command with the V=1 option added, to see the actual build
> command?
>
>
>
> Attached is the orgianl fail (before trying the symlink in /usr/include)
> with V=1 as uml-2.6.6-rc3-V.log
>
>
>
> Also, attached is the new fail (after trying the symlink in /usr/include)
> with an V=1 as uml-2.6.6-rc3.log
>
> > I think the 2nd thing holds, and that my suggestions is a workaround
>
> that
>
> > should work (I hope)...
>
> Don't look like it.

Well, it is an improvement; try disabling the SKAS mode in the UML .config and 
post the new output, with V=1. However now I'm trying to solve the problem 
myself with 2.6.6 - restart again with the patches I'm posting today (see the 
"Patch for 2.6.6" thread).

Bye
-- 
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729




-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From_______________________________________________
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] 10+ messages in thread

* Re: [uml-devel] Still can't get an 2.6.6-rcX UML
@ 2004-05-12 15:35 gboutwel
  0 siblings, 0 replies; 10+ messages in thread
From: gboutwel @ 2004-05-12 15:35 UTC (permalink / raw)
  To: blaisorblade_spam; +Cc: user-mode-linux-devel





blaisorblade_spam@yahoo.it wrote:

> Well, it is an improvement; try disabling the SKAS mode in
the

> UML .config and 

> post the new output, with V=1. However now I'm trying to solve

> the problem 

> myself with 2.6.6 - restart again with the patches I'm posting

> today (see the 

> "Patch for 2.6.6" thread).



That failed, but see my post to the Patch for 2.6.6 thread



----------------------------

Love to laugh?

Good Clean Jokes at Praize

http://www.praize.com/jokes/



-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
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] 10+ messages in thread

end of thread, other threads:[~2004-05-12 15:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-30 18:31 [uml-devel] Still can't get an 2.6.6-rcX UML gboutwel
2004-04-30 18:58 ` BlaisorBlade
  -- strict thread matches above, loose matches on Subject: below --
2004-05-12 15:35 gboutwel
2004-05-04 20:05 gboutwel
2004-05-11 17:35 ` BlaisorBlade
2004-04-26 18:58 gboutwel
2004-04-26 13:46 gboutwel
2004-04-25 18:34 gboutwel
2004-04-26  1:50 ` Jeff Chua
2004-04-30 14:07 ` BlaisorBlade

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.