From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,ffd11645ccdf19ad X-Google-Attributes: gid111c93,public From: henke@rocza.krall.org (Douglas G. Henke) Subject: Re: compiling 2.1.10[late] Date: 1998/07/20 Message-ID: #1/1 X-Deja-AN: 373149920 References: <6oe43e$3c5$1@news.alaska.edu> <6ols38$oo1$1@nnrp1.dejanews.com> NNTP-Posting-Date: Mon, 20 Jul 1998 08:01:27 CDT Newsgroups: comp.os.linux.alpha henke@rocza.krall.org (Douglas G. Henke) writes: > [ a tale of 2.1.110, "unknown insn", undefined "memsetw" and other > assorted annoyances, full of sound and fury, signifying nothing ] Success. I am now running 2.1.110pre2 (with modules) on my Noname. Here are the "gotchas" I found (config included at the end): 1) When compiling with egcs 1.0.3a with HAIFA scheduling enabled, the compiler bombs with "unknown insn" at the end of any function whose body contains a call to __builtin_return_address(). Since the offending pseudo-function appears in only a few places, all of which are arguments to printk(), I snipped it: printk("Bombed at %p\n", __builtin_return_address()); becomes printk("Bombed someplace.\n"); This is obviously not the Right Thing (but does work). I think the real fix lies in the compiler. If that's long in coming, maybe a CONFIG_HAIFA would be a reasonable interim workaround. 2) Compiles OK but link fails with unknown symbols memsetw and memsetw_io. Solution: say yes to the framebuffer stuff at config time. (See attached config.) 3) Compiles OK but link fails with unknown symbol scroll_ok. Solution: snip the two references to the offending symbol. 4) Compiles and links, but can't build coda module support because of redundant definition of "proc_sys_root". Solution: change redundant definition to external reference. 5) Can't build nvram module on alpha platform. Solution: configure it out. (SFX: Duh.) Once I got everything built, it booted on the first try and seems to be running fine. One caveat is that it is a headless box (has an ISA VGA card but no monitor attached) so I have no idea if the console is reasonable. Another is that many folks have been reporting breakage of PPP under 2.1.109; this would be a show-stopper if true, but I have no way to test it right now. Config follows; snip .sig from end before use. _See_ .sig at end if you wish to send me mail. CONFIG_EXPERIMENTAL=y CONFIG_MODULES=y CONFIG_KMOD=y CONFIG_NATIVE=y CONFIG_ALPHA_NONAME=y CONFIG_PCI=y CONFIG_ALPHA_EV4=y CONFIG_ALPHA_LCA=y CONFIG_ALPHA_NEED_ROUNDING_EMULATION=y CONFIG_PCI_QUIRKS=y CONFIG_PCI_OPTIMIZE=y CONFIG_PCI_OLD_PROC=y CONFIG_NET=y CONFIG_SYSVIPC=y CONFIG_SYSCTL=y CONFIG_BINFMT_ELF=y CONFIG_PARPORT=m CONFIG_PARPORT_PC=m CONFIG_BLK_DEV_FD=m CONFIG_PARIDE_PARPORT=m CONFIG_PACKET=m CONFIG_NETLINK=y CONFIG_RTNETLINK=y CONFIG_NETLINK_DEV=y CONFIG_FIREWALL=y CONFIG_UNIX=y CONFIG_INET=y CONFIG_IP_ADVANCED_ROUTER=y CONFIG_RTNETLINK=y CONFIG_NETLINK=y CONFIG_IP_ROUTE_VERBOSE=y CONFIG_IP_FIREWALL=y CONFIG_IP_FIREWALL_NETLINK=y CONFIG_NETLINK_DEV=y CONFIG_IP_TRANSPARENT_PROXY=y CONFIG_IP_ALWAYS_DEFRAG=y CONFIG_IP_MASQUERADE=y CONFIG_IP_MASQUERADE_ICMP=y CONFIG_IP_MASQUERADE_IPAUTOFW=y CONFIG_IP_MASQUERADE_IPPORTFW=y CONFIG_IP_ROUTER=y CONFIG_SYN_COOKIES=y CONFIG_IP_NOSR=y CONFIG_SKB_LARGE=y CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y CONFIG_BLK_DEV_SR=m CONFIG_SCSI_CONSTANTS=y CONFIG_SCSI_NCR53C8XX=y CONFIG_SCSI_NCR53C8XX_DEFAULT_TAGS=8 CONFIG_SCSI_NCR53C8XX_MAX_TAGS=32 CONFIG_SCSI_NCR53C8XX_SYNC=40 CONFIG_SCSI_PPA=m CONFIG_SCSI_PPA_HAVE_PEDANTIC=2 CONFIG_NETDEVICES=y CONFIG_ETHERTAP=m CONFIG_NET_ETHERNET=y CONFIG_NET_EISA=y CONFIG_NE2K_PCI=y CONFIG_PPP=y CONFIG_SLIP=y CONFIG_EXT2_FS=y CONFIG_ISO9660_FS=m CONFIG_JOLIET=y CONFIG_FAT_FS=m CONFIG_MSDOS_FS=m CONFIG_VFAT_FS=m CONFIG_PROC_FS=y CONFIG_NFSD=y CONFIG_SUNRPC=y CONFIG_LOCKD=y CONFIG_CODA_FS=y CONFIG_NLS=y CONFIG_NLS_CODEPAGE_437=m CONFIG_NLS_CODEPAGE_737=m CONFIG_NLS_CODEPAGE_775=m CONFIG_NLS_CODEPAGE_850=m CONFIG_NLS_CODEPAGE_852=m CONFIG_NLS_CODEPAGE_855=m CONFIG_NLS_CODEPAGE_857=m CONFIG_NLS_CODEPAGE_860=m CONFIG_NLS_CODEPAGE_861=m CONFIG_NLS_CODEPAGE_862=m CONFIG_NLS_CODEPAGE_863=m CONFIG_NLS_CODEPAGE_864=m CONFIG_NLS_CODEPAGE_865=m CONFIG_NLS_CODEPAGE_866=m CONFIG_NLS_CODEPAGE_869=m CONFIG_NLS_CODEPAGE_874=m CONFIG_NLS_ISO8859_1=m CONFIG_NLS_ISO8859_2=m CONFIG_NLS_ISO8859_3=m CONFIG_NLS_ISO8859_4=m CONFIG_NLS_ISO8859_5=m CONFIG_NLS_ISO8859_6=m CONFIG_NLS_ISO8859_7=m CONFIG_NLS_ISO8859_8=m CONFIG_NLS_ISO8859_9=m CONFIG_NLS_KOI8_R=m CONFIG_VT=y CONFIG_VT_CONSOLE=y CONFIG_SERIAL=y CONFIG_PRINTER=m CONFIG_WATCHDOG=y CONFIG_WATCHDOG_NOWAYOUT=y CONFIG_SOFT_WATCHDOG=y CONFIG_RTC=y CONFIG_FB=y CONFIG_PCI_CONSOLE=y CONFIG_DUMMY_CONSOLE=y CONFIG_FB_VGA=y CONFIG_FBCON_VGA=y CONFIG_MATHEMU=y -- Headers munged to avoid email spam. Mail to henke at phoenix dot net.