Date: Fri, 18 Aug 95 19:26:54 EST From: Dwight McKay (The Moderator) Reply-To: Suns-at-Home@net-kitchen.com Subject: Suns-at-Home Digest V8 #21 To: Suns-at-Home-List Suns-at-Home Digest Fri, 18 Aug 95 Volume 8 : Issue 21 Today's Topics: We've moved... Building X11R6 using gcc on Sun-3 succeeds at last! Help needed: uucp and uucico now dump core How to have DNS without YP (sorry NIS) monitors for a P4 CG6 PC-NFS , Answerbook, Monitor & Tapes for Sale sending control-d to printer SUN 2/120 Exception 10 Error sun 3 question Sun4/370 server for sales - Australia Suns-at-Home Digest V8 #20 (2 msgs) +--------------------------------------------------------------------+ | Submissions: suns-at-home \ | | Requests: suns-at-home-request > @net-kitchen.com | | Archives: suns-at-home-archives / | +--------------------------------------------------------------------+ ---------------------------------------------------------------------- Date: Fri, 18 Aug 1995 19:21:35 -0500 From: dwight (Dwight D. McKay) Subject: We've moved... To: sah I've finally gotten my home system in shape to begin running Suns-at-Home from home. The new addresses you should be using are at the top of the digest. I appologize for the lengthy delay in getting this digest out. But it should be more regular now that I can do it here. I hope to have ftp and www access to the past digests available sometime this fall once my lawn stops growing and I have time to get things set up. :-) --Dwight D. McKay, Moderator of Suns-at-Home - ------------------------------ Date: Sat, 15 Jul 1995 09:08:21 +1000 (EST) From: Craig Dewick Subject: Building X11R6 using gcc on Sun-3 succeeds at last! To: suns-at-home@ecn.purdue.edu Hello fellow Suns-At-Home readers, It's been quite a while since I last posted to this list about the problems of building X11R6 using gcc on a Sun-3 machine, but I have finally managed to get all of the X11R6 distribution to build correctly on my 3/60 using gcc, so I thought I'd fill you in on what needs to be done for a successful Sun-3 build using gcc. The trick is basically in the assembler you use, and really has nothing to do with gcc at all. Various people have said to me that the GNU assembler (gas) is broken when it comes to pic generation, and that I should banish all copies of it to /dev/null! I thought I had removed it from this machine, but it turns out there was an older version installed in /usr/local/m68k-sun-sunos4.1.1 which is looked for by gcc's linker front end program. This explains why no matter what else I did, trying to build shared libs failed even after installing Sun's jumbo /bin/ld patch, etc. Now that I've removed this errant copy of gas and changed the config files to use gcc for everything it's building away just fine as I type (actually, I started it off around 4 pm before I left for work - it's now around 1:40 am and the log file is showing no errors). I've also taken the opportunity to modify the default CFLAGS setting (in Project.tmp I think? - it's a few weeks since I made that change) so that the '-m68881' flag is passed to the code generator. I don't know whether this will bring any benefits, but it's worth trying to squeeze every last drop of performance out of the machine. So, here's a summary of what I've had to do: - most importantly, get rid of all copies of the GNU assembler (gas) binary from both /usr/local/bin and /usr/local/m68k-sun-sunos4.1.1 (if this second directory exists - this was the default installation directory for version 2.3 of gas). This will leave just the default Sun assembler (as) which works properly. - get, build and install version 2.6.3 of the GNU C compiler (gcc). I'm told that 2.6.3 is the most stable version of the compiler at present. Note that you'll have to get, build and install the 'bison' utility *before* trying to build gcc if your system doesn't already have bison installed. - install Sun's Jumbo /bin/ld patch number 100170-10 to fix up the linker. There's a compile-time flag in 'sun.cf' called 'SunPost411FCSLd' which must be #defined to tell 'make' about this. Here's the section from my 'sun.cf' file: #if OSMajorVersion == 4 #if OSMinorVersion == 1 #define HasPoll YES #define StandardDefines -Dsun -DX_WCHAR -DX_LOCALE #endif #if OSMinorVersion > 1 || (OSMinorVersion == 1 && OSTeenyVersion > 1) /* You ALSO need this if you have Sun ld patch 100170-06 or later to 4.1.1 */ #define SunPost411FCSLd YES #endif #define SunPost411FCSLd YES /* this line added to force the */ #endif /* #definition regardless */ - it's probably advisable to install the jumbo ld.so patch as well. This one should be 100257-0x (I'm not sure what the most recent revision of this patch is). - if you're feeling really keen, install the jumbo libc patch (# 100267-09) also. People in the US should use 100266-0x instead. That's about all that I think needs to be done. Thanks to everyone who has offered advice in the past about solving the problems. Hopefully others can build X11R6 on their Sun-3's without any hickups after doing the things I've done. Regards, Craig. - ------------------------------ Date: Wed, 2 Aug 1995 11:04:44 -0400 (EDT) From: "R. D. Davis" Subject: Help needed: uucp and uucico now dump core To: suns-at-home@ecn.purdue.edu Greetings, A very strange thing has just happened. For months, I've been using uucp on my 3/60, SunOS 4.1.1, with no problems; news and mail transfers had been working flawlessly. Last night, I went to use uucico manually to send some e-mail that I wanted to go out before the normal polling time (I've done this before.... no problems), and something strange happened: a core dump occured. When I checked the uucp logs, I discovered that the last successful uucp transfer occured the night before last. It turns out that there's no corruption problem with the uucico file itself (I tried a known good copy of it) and the /dev/ttyb file that uucp uses is ok. Also, uucp dumps core as well. I've checked all the files such as Devices, Systems, etc., and they all look normal. If it makes any difference, I was playing around with adb (I'm not too familiar with it) to try to examine the core file from uucico, and got the message: "SIGIOT 6: abort". What is SIGIOT? This is a signal that I'm not familiar with. Thanks very much in advance for any information that anyone can provide about this. I need to get this problem solved as soon as possible so that I don't loose any files that are waiting at my newsfeed or have to switch over to another system. -- R. D. Davis Eccentrics have more fun! :-) http://www.access.digex.net/~rdd rdd@digex.net, rdd@mystica.uucp Vintage computer preservationinst. Home telephone: 1-410-744-7964 Unwanted computer systems disassembled Work (play!) telephone: 1-410-744-4900 and removed for free. - ------------------------------ Date: Tue, 18 Jul 1995 13:18:33 -0400 From: budd@cs.bu.edu (Phil Budne) Subject: How to have DNS without YP (sorry NIS) To: vp@ics.forth.gr I use resolv+ (v2.1.1). It's as easy as pie to install on SunOS 4.1.*; It comes with a makefile to build a replacement shared libc (so long as you have /usr/lib/shlib.etc selected via the Shlib_custom category in the SunOS install). resolv+ also has a host.conf file that allows you to specify the search order (DNS, hosts file, NIS), like the Solaris 2 nsswitch file! Phil Budne Consultant ----- clip here for digest? P.S. here are a few archie hits for your side of the pond; Host ftp.cisi.unige.it (130.251.21.8) Last updated 08:28 21 Dec 1994 Location: /Net FILE -rw-r--r-- 67515 bytes 18:00 4 Jun 1994 resolv+2.1.1.tar.Z FILE -rw-r--r-- 5044 bytes 18:00 4 Jun 1994 resolv+2.1.1-README Host softserv.zdv.uni-tuebingen.de (134.2.2.60) Last updated 08:50 15 Nov 1994 Location: /pub/sources/network/dns FILE -rw-r--r-- 40428 bytes 01:25 20 May 1994 resolv+-2.1.1.tar.gz Host mcsun.eu.net (192.16.202.2) Last updated 19:40 8 Jan 1995 Location: /network FILE -rw-r--r-- 67515 bytes 19:00 4 Apr 1994 resolv+2.1.1.tar.Z Host ftp.inria.fr (192.93.2.54) Last updated 20:52 25 Dec 1994 Location: /network/dns FILE -rw-rw-r-- 67515 bytes 19:00 4 Apr 1994 resolv+2.1.1.tar.Z Host sun0.urz.uni-heidelberg.de (129.206.100.126) Last updated 18:27 15 Nov 1994 Location: /pub/net/unix FILE -rw-r--r-- 40428 bytes 19:00 4 Nov 1993 resolv+-2.1.1.tgz Location: /pub/unix/network FILE -rw-r--r-- 40428 bytes 19:00 4 Nov 1993 resolv+-2.1.1.tgz Host ftp.cs.uni-sb.de (134.96.7.254) Last updated 00:15 16 Jan 1995 Location: /pub/systems/sun FILE -rw-r--r-- 40428 bytes 19:00 8 Oct 1993 resolv+-2.1.1.tgz Host ftp.ibp.fr (132.227.60.2) Last updated 07:02 21 Dec 1994 Location: /pub/networking/dns FILE -r--r--r-- 40301 bytes 19:00 12 May 1993 resolv+2.1.1.tar.gz Host ftp.jussieu.fr (134.157.0.130) Last updated 06:16 21 Dec 1994 Location: /pub/networking/dns FILE -r--r--r-- 40301 bytes 19:00 12 May 1993 resolv+2.1.1.tar.gz Host unix.hensa.ac.uk (129.12.43.16) Last updated 22:09 15 Jan 1995 Location: /pub/uunet/networking/ip/dns FILE -rw-r--r-- 67515 bytes 19:00 12 May 1993 resolv+2.1.1.tar.Z Host ftp.crihan.fr (192.93.199.1) Last updated 05:01 21 Dec 1994 Location: /pub/Mirror/ftp.uu.net/Ip/dns FILE -r-xr-xr-x 67515 bytes 19:00 12 May 1993 resolv+2.1.1.tar.Z - ------------------------------ Date: Fri, 14 Jul 1995 10:01:57 +0200 (MET DST) From: Toerless Eckert Subject: monitors for a P4 CG6 To: suns-at-home@ecn.purdue.edu > Subject: monitors for a P4 CG6? > To: Suns-at-Home@ecn.purdue.edu > > >From: kykim@access.digex.net (kevin kim) > >Subject: monitors for a P4 CG6? > >To: suns-at-home@ecn.purdue.edu > > > >Hi, > > > >can anyone out there name some PC (i.e. cheap) monitors that will work with > >a CG6? > > You should be able to find 19" Hitachi Color monitors for about $200-$250. > With some adjustment these monitors work well. There is a good description on how to fix old 19" Hitachi monitors with bleak colors up to a level where they look nearly as new. I've applied this to 2 monitors here and it worked very well. The description is somewhere in the sun faq or info section on sunsite. (sorry, it's already a year ago i last retrieved it) - ------------------------------ Date: Wed, 26 Jul 1995 20:29:33 -0700 From: killion@primenet.com Subject: PC-NFS , Answerbook, Monitor & Tapes for Sale To: Suns-at-Home@ecn.purdue.edu I have for sale: 2 copies of PC-NFS 4.0 $50 - $60 AnswerBook CD for Sun-4c, Sun-4 Sunbin $150 17" Grayscale Monitor Sun Part # 365-1055-01 $550 Lots of QIC 45MB Tapes $1 each For details finger my account or email me at: killion@primenet.com - ------------------------------ Date: Mon, 17 Jul 95 12:39:44 EDT From: gary@sabot.com (Gary Sabot) Subject: sending control-d to printer To: Suns-at-Home@ecn.purdue.edu I have a postscript HP printer that expects to receive a control-d to mark the end of each print job that it receives. Without it, it thinks the job times out, which is an error, and it prints an error page. I know I can change the timeout to infinity, or turn off error pages, but I'd like to do this the right way. If I do a "cat file-containing-control-d > printer.port" by hand right after a print job completes, everything works fine. My problems come when I tried to get the printer daemon to send a control-d for me. I assed an :if=/usr/local/lib/hp.filter in the printcap, and then wrote a filter that basically did a "cat" to pass the file along to stdout, and then did a "cat" of the file that contained the control-d to stdout, which should eventually make it to the printer. But this somehow makes the printer daemon think there has been an error, so it tries to print the job again and again and again... Can someone tell me how to automatically send a control-D to the printer after each job? Thanks. --gary - ------------------------------ Date: Sun, 13 Aug 1995 15:50:20 -0600 From: Jason Erickson Subject: SUN 2/120 Exception 10 Error To: suns-at-home@ecn.purdue.edu I've recently aquired a SUN 2 system and I have been having some problems installing the OS from TAPE. The computer goes through the power-up test sequence successfully and then I break the boot sequence to get into the ROM Monitor. When I try to format a drive by loading MUNIX from the SCSI Tape Drive (595-1025-01) with the 'b st(0,0,4) -asw' command, the tape drive spins for a few seconds and then displays an EXCEPTION 10 Error at an address. It is always around the same address. I have tried swapping memory boards and CPU boards, and tried different versions of the OS to install with no luck at eliminating the error. The computer is a SUN 2/120 with ROM Rev N, manufactured in Late '85. Any ideas???? Thanks, Jason Erickson - ------------------------------ Date: Wed, 2 Aug 1995 00:51:56 -0400 From: kykim@access.digex.net (kevin kim) Subject: sun 3 question To: Suns-at-Home@ecn.purdue.edu hi folks, I was wondering if anyone out there could answer a question. I've got an old sun3/60. I'm planning to get one of those console switches that let you use one keyboard, mouse and monitor for a series of computers. Most of these switches only accept inputs for sun sparc (type 4? type 5?) keyboards. Does anyone know if I can create a cable to convert this type 3 keyboard to a type 4? (5?)? thanks, -kevin kykim@access.digex.net - ------------------------------ Date: Wed, 19 Jul 1995 10:54:12 +1000 (EST) From: Wai Yat Wong Subject: Sun4/370 server for sales - Australia To: Suns-at-Home@ecn.purdue.edu Sun4/370 with 32 Mb, SCSI controller, 2 700Mb disks, ethernet card, 1/4" tape drive with SunOS 4.1.1 Price negotiable. Perfect working condition. Wai - ------------------------------ Date: Fri, 14 Jul 95 10:10:50 PDT From: jeff@snv.mea.com (Jeffrey Boly) Subject: Suns-at-Home Digest V8 #20 To: Suns-at-Home@ecn.purdue.edu Jim, Setting up /dev/term/b for the correct serial setting is quite easy. Just use this command: lpadmin -p -o "stty='19200 cs8 -parity'" This example would set the printer for 19200 bps 8,N,1 One thing to be aware of, if you had previously tried to print before changing baud rates, you need to let lpsched flush out you last printout at the old baud rate before you change to the new one. Otherwise, on your printer you will continuously get error message because the printer is expecting the new baud rate and the sun is sending the old one. lpstat -tl will verify the current settings. If you get anywhere with ghostscript and your 410e, please post the results to this list. I has been my experience that if you have a printer that looks PostScript, you should set only that type using admintool. Lpsched is smart enough to take you ASCII files and filter them into PostScript. - ------------------------------ Date: Mon, 17 Jul 95 15:31:23 -0400 (EDT) From: woods@most.weird.com (Greg A. Woods) Subject: Suns-at-Home Digest V8 #20 To: Suns-at-Home@ecn.purdue.edu [ On Thu, July 13, 1995 at 14:36:50 (EST), Dwight McKay wrote: ] > Subject: Suns-at-Home Digest V8 #20 > > Date: Mon, 10 Jul 1995 20:12:10 +0300 > From: Vassilis Prevelakis > Subject: How to have DNS without YP (sorry NIS) > To: suns-at-home@ecn.purdue.edu > > Hello, > I am running SUNOS 4.3.1 and would like to ne able to run DNS > without having to run the yellow pages as well (I only have one machine > and I would like to turn off all non essential services). (You mean 4.1.3?) I've successfully replaced the NIS routines in the SunOS shared libraries using the shres version of the resolver(3) routines shipped with BIND-4.9.3-BETA17 (and presumably the latest beta would work equally well). As root, just 'cd shres; ./makeshlib' and wait! You might want to kick all the users off while you do this, and test things afterwards.... Note that /usr/ucb/rsh is statically linked (and should be (have been) moved to /sbin and replaced with a dynamically linked version). Then make sure you don't have a /var/yp directory and away you go -- no more NIS junk in your way (at least from the name resolution P.O.V.)! -- Greg A. Woods +1 416 443-1734 VE3TCP robohack!woods Planix, Inc. ; Secrets of the Weird - ------------------------------ End of Suns-at-Home Digest ******************************