All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] build errors with 2.4.24 + uml-patch-2.4.24-3
@ 2004-05-21 19:41 Joe Marzot
  2004-05-21 20:14 ` Joe Marzot
  2004-05-21 22:22 ` Henrik Nordstrom
  0 siblings, 2 replies; 5+ messages in thread
From: Joe Marzot @ 2004-05-21 19:41 UTC (permalink / raw)
  To: user-mode-linux-devel

[-- Attachment #1: Type: text/plain, Size: 317 bytes --]

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

[-- Attachment #2: build.err --]
[-- Type: text/plain, Size: 1180 bytes --]

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.c
aio.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

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

* Re: [uml-devel] build errors with 2.4.24 + uml-patch-2.4.24-3
  2004-05-21 19:41 [uml-devel] build errors with 2.4.24 + uml-patch-2.4.24-3 Joe Marzot
@ 2004-05-21 20:14 ` Joe Marzot
  2004-05-21 21:01   ` Joe Marzot
  2004-05-21 22:22 ` Henrik Nordstrom
  1 sibling, 1 reply; 5+ messages in thread
From: Joe Marzot @ 2004-05-21 20:14 UTC (permalink / raw)
  To: Joe Marzot; +Cc: user-mode-linux-devel

[-- Attachment #1: Type: text/plain, Size: 2017 bytes --]


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


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_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.c
> aio.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



[-- Attachment #2: .config --]
[-- Type: text/plain, Size: 7905 bytes --]

#
# Automatically generated make config: don't edit
#
CONFIG_USERMODE=y
# CONFIG_ISA is not set
# CONFIG_SBUS is not set
# CONFIG_PCI is not set
CONFIG_UID16=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y

#
# General Setup
#
CONFIG_MODE_SKAS=y
CONFIG_MODE_TT=y
CONFIG_NET=y
CONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
# CONFIG_BINFMT_AOUT is not set
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set
CONFIG_HOSTFS=y
# CONFIG_HUMFS is not set
CONFIG_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 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 is not set

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_KMOD=y

#
# 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_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=y
CONFIG_BLK_DEV_UBD_SYNC=y
CONFIG_COW=y
CONFIG_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=y
CONFIG_NETDEVICES=y

#
# 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_SLIRP is not set
# CONFIG_UML_NET_DAEMON is not set
# CONFIG_UML_NET_MCAST is not set
CONFIG_UML_NET_PCAP=y
CONFIG_DUMMY=y
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
CONFIG_TUN=y
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_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 set
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_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 set
CONFIG_SYN_COOKIES=y
CONFIG_IPV6=m
# CONFIG_KHTTPD is not set

#
#    SCTP Configuration (EXPERIMENTAL)
#
CONFIG_IPV6_SCTP__=m
# CONFIG_IP_SCTP is not set
# CONFIG_ATM is not set
CONFIG_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 set
CONFIG_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 set
CONFIG_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 set
CONFIG_EXT3_FS=y
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
# CONFIG_UMSDOS_FS is not set
CONFIG_VFAT_FS=y
# CONFIG_EFS_FS is not set
# CONFIG_JFFS_FS is not set
# CONFIG_JFFS2_FS is not set
CONFIG_CRAMFS=y
CONFIG_TMPFS=y
CONFIG_RAMFS=y
CONFIG_ISO9660_FS=y
# CONFIG_JOLIET is not set
# CONFIG_ZISOFS is not set
CONFIG_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 set
CONFIG_PROC_FS=y
# CONFIG_DEVFS_FS is not set
# CONFIG_DEVFS_MOUNT is not set
# CONFIG_DEVFS_DEBUG is not set
CONFIG_DEVPTS_FS=y
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX4FS_RW is not set
# CONFIG_ROMFS_FS is not set
CONFIG_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 set
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
# CONFIG_NFS_DIRECTIO is not set
# CONFIG_ROOT_NFS is not set
CONFIG_NFSD=y
# CONFIG_NFSD_V3 is not set
# CONFIG_NFSD_TCP is not set
CONFIG_SUNRPC=y
CONFIG_LOCKD=y
CONFIG_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 set
CONFIG_MSDOS_PARTITION=y
# CONFIG_SMB_NLS is not set
CONFIG_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 set
CONFIG_BLK_DEV_LVM=y

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

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

#
# Kernel hacking
#
# CONFIG_DEBUG_SLAB is not set
CONFIG_DEBUGSYM=y
CONFIG_PT_PROXY=y
# CONFIG_GCOV is not set

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

* Re: [uml-devel] build errors with 2.4.24 + uml-patch-2.4.24-3
  2004-05-21 20:14 ` Joe Marzot
@ 2004-05-21 21:01   ` Joe Marzot
  2004-05-21 22:27     ` Henrik Nordstrom
  0 siblings, 1 reply; 5+ messages in thread
From: Joe Marzot @ 2004-05-21 21:01 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: Joe Marzot

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:120

Joe Marzot wrote:
> 
> 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
> 



-------------------------------------------------------
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] 5+ messages in thread

* Re: [uml-devel] build errors with 2.4.24 + uml-patch-2.4.24-3
  2004-05-21 19:41 [uml-devel] build errors with 2.4.24 + uml-patch-2.4.24-3 Joe Marzot
  2004-05-21 20:14 ` Joe Marzot
@ 2004-05-21 22:22 ` Henrik Nordstrom
  1 sibling, 0 replies; 5+ messages in thread
From: Henrik Nordstrom @ 2004-05-21 22:22 UTC (permalink / raw)
  To: Joe Marzot; +Cc: user-mode-linux-devel

On Fri, 21 May 2004, Joe Marzot 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_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.

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

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

* Re: [uml-devel] build errors with 2.4.24 + uml-patch-2.4.24-3
  2004-05-21 21:01   ` Joe Marzot
@ 2004-05-21 22:27     ` Henrik Nordstrom
  0 siblings, 0 replies; 5+ messages in thread
From: Henrik Nordstrom @ 2004-05-21 22:27 UTC (permalink / raw)
  To: Joe Marzot; +Cc: user-mode-linux-devel

On Fri, 21 May 2004, Joe Marzot wrote:

> seems to be stuck in file_io doing a read after xterm_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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

end of thread, other threads:[~2004-05-21 22:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-21 19:41 [uml-devel] build errors with 2.4.24 + uml-patch-2.4.24-3 Joe Marzot
2004-05-21 20:14 ` Joe Marzot
2004-05-21 21:01   ` Joe Marzot
2004-05-21 22:27     ` Henrik Nordstrom
2004-05-21 22:22 ` Henrik Nordstrom

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.