Subject: Re: no com ports in GENERIC* kernels??
To: Michael L. VanLoon -- Iowa State University <michaelv@iastate.edu>
From: Chris G. Demetriou <cgd@alpha.bostic.com>
List: current-users
Date: 07/20/1994 18:29:17
> I'm trying to currentize my system from the May 1 sources,
> and it's becoming a real pain in the ass, since the source tarballs
> from this past weekend won't build a kernel (lots of symbols like
> P_BACK are referenced in genassym.c, but are defined nowhere that I
> can find).
It sounds like thre's something seriously wrong with the copy
of the tarballs you got (or maybe the tarballs themselves).
genassym builds just fine for me, and has for months...
> So, can someone look at the GENERIC kernels and put a serial port or
> two back in them? And, hopefully the source tarballs this weekend
> will get made without any problems, and maybe I'll be able to build a
> kernel with them. (I already unpacked all the userland binaries.)
there are already plenty:
/sys/arch/i386/conf/GENERICAHA:
device com0 at isa? port "IO_COM1" irq 4
device com1 at isa? port "IO_COM2" irq 3
device com2 at isa? port "IO_COM3" irq 5
/sys/arch/i386/conf/GENERICBT:
device com0 at isa? port "IO_COM1" irq 4
device com1 at isa? port "IO_COM2" irq 3
device com2 at isa? port "IO_COM3" irq 5
i dunno why they don't work for you -- they definitely work for me:
NetBSD 1.0-ALPHA (GENERICAHA) #1: Tue Jul 12 18:17:26 PDT 1994
cgd@sun-lamp.cs.berkeley.edu:/usr/src/sys/arch/i386/compile/GENERICAHA
CPU: i386DX (386-class CPU)
real mem = 4194304
avail mem = 3031040
using 76 buffers containing 311296 bytes of memory
pc0 at isa0 port 0x60-0x6f irq 1: color
com0 at isa0 port 0x3f8-0x3ff irq 4: ns82450 or ns16450, no fifo
lpt0 at isa0 port 0x378-0x37f irq 7
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 drive 0: 100MB 776 cyl, 8 head, 33 sec <Conner Peripherals 100MB - CP3104>
fdc0 at isa0 port 0x3f0-0x3f7 i 6 dE 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
ed0 at isa0 port 0x280-0x29f iomem 0xd0000-0xd1fff irq 9: address 00:00:c0:21:20:14, type WD8003E (8-bit)
ie0: unknown AT&T board type code 0
ie0: can't map 3C507 RAM in high memory
npx0 at isa0 port 0xf0-0xff irq 13
biomask 4040 netmask 212 ttymask 12
it's only got one serial port, and that one's detected just fine.
chris
------------------------------------------------------------------------------