*BSD News Article 16691


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!paladin.american.edu!news.univie.ac.at!hp4at!sk2eu!liska!alexis
From: alexis@liska.ext.uniba.sk (Alexis Huxley)
Newsgroups: comp.os.386bsd.questions
Subject: [NetBSD] Printing, UUCP, Kernel rebuild problems again :-(
Date: Mon, 31 May 93 10:35:11 GMT
Organization: None
Lines: 70
Distribution: world
Message-ID: <738844511snx@liska.ext.uniba.sk>
NNTP-Posting-Host: sk2eu.eunet.sk

Hi,

I posted last week saying that I was having problems with UUCP installation,
and with printing. Well thanks to those people who answered by mail and
through news, particularly Andreas Klemm for his patches to Taylor UUCP 1.04.
Unfortunately, I can't get far enough to make use of the information given. The
problems now are printing and accessing com[12].

Printing: I added the line

    device lpa0 at isa? port "IO_LPT1" tty

to the file /sys/i386/conf/GENERICISA, did a 'config GENERICISA' in that
directory, switched to /sys/compile/GENERICISA, did the 'make depend' and
got:

    /usr/libexec/cpp: ../../i386/isa/lpa.c: No such file or directory

What am I missing? I installed from with the kernel and kernel sources that 
appeared on sun-lamp on 20th May.

I proceeded to then try the non-interruptless driver, by changing the lpa0
to lpt0, 'make clean' in /sys/compile/GENERICISA and did the config and
make depend again. This time I got:

    ../../sys/lpt.c:49: syntax error before '/'

On examining the source I saw a double '*/' so I removed the second one, cleaned
depended, and got

    ../../sys/kinfo_proc.h:50: field 'kp_proc' has incomplete type
    ../../sys/kinfo_proc.h:54: field 'e_pcred' has incomplete type

So, beginning to feel a bit down, I tried the 'out-of-the-box' GENERICISA
with no printer drivers. This compiled but gave:

    couldn't find db_symtab symbols

So as cgd advised someone else, I looked at BOAT_ANCHOR and added

    options DDB

to GENERICISA, this ran out of space so I removed 'options SCSI' and the
'controller bt' and 'controller aha' lines (I have no SCSI hardware). This
failed to 'make depend' saying 

    ../../conf/files:185: requirement expression failed: scsi

Well, at that point a gave up on printing. The UUCP problem is that I can't
even get the bog-standard 'cu' to work:

    liska# cu 1234 -l /dev/com1
    /dev/com1: permission denied
    link down

The same for com2. The modem is actually on DOS's COM2 which I presume is
also NetBSD's com2 (though with the parallel lines NetBSD index == DOS index - 1
(I think)).

If anybody knows what I'm doing wrong (I must be doing something wrong I figure
- nobody else has reported such problems) then please let me know.

Thanks for reading this far and for any advice

Alexis

PS Despite these (my) teething problems, I am really very pleased with what
   I've got my hands on. Sincere thanks to all those who were/are involved.
-------------------------------------------------------------------------------
Alexis Huxley (alexis@liska.ext.uniba.sk)