Subject: NetBSD 1.1 on a Digital HiNote VP laptop
To: None <port-i386@NetBSD.ORG>
From: Duncan McEwan <duncan@Comp.VUW.AC.NZ>
List: port-i386
Date: 05/20/1996 18:10:03
I'm experimenting with installing NetBSD on a Digital HiNote laptop.

I've generated a 1.1 kernel install floppy that includes a kernel built with
John Kohl's updated for 1.1 version of Stefan Grefen's pcmcia patches
(pcmcia-1.1-diffs-95-12-03.gz).

When I boot from this floppy, the system seems to come up OK, but the kernel
doesn't recognise a xircom ps-cem-28 ethernet+28.8 modem pcmcia card.  I'm
not sure whether this is simply because this card is not supported by the
pcmcia patches, or because I have config'ed my kernel incorrectly.

By "not recognise", I mean that it doesn't find either the ethernet or com
devices.  For the ethernet, I tried configuring an ed type device.  If the
xircom isn't an ne2000 type clone this is obviously wrong, but then I don't
know what type of ethernet device I should specify (I checked the card's
manual, and the xircom web site for any indication as to what type of ethernet
it was, but didn't find anything).  The relevent lines from my config file are:
	
	isa0    at root
	pci0    at root

	pcmciabus0 at isa? iomem 0xd4000 iosiz 4096
	ed0        at pcmciabus? port 0x320 irq 5
	com0       at pcmciabus? port 0x3f8 irq 4

The boot messages that get printed are:

NetBSD 1.1 (INSTLAPTOP) #2: Mon May 20 13:55:42 NZST 1996
    duncan@grass.pc.comp.vuw.ac.nz:/usr/src/sys.pcmcia/arch/i386/compile/INSTLAPTOP
CPU: Pentium (GenuineIntel 586-class CPU)
real mem  = 41549824
avail mem = 37797888
using 532 buffers containing 2179072 bytes of memory
isa0 (root)
npx0 at isa0 port 0xf0-0xff: using exception 16
pc0 at isa0 port 0x60-0x6f irq 1: color
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 drive 0: 775MB, 1575 cyl, 16 head, 63 sec, 512 bytes/sec <IBM-DSOA-2
0810>
wd0: using 16-sector 16-bit pio transfers, lba addressing
pms0 at isa0 port 0x60-0x67 irq 12
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
root device eisa not configured
pci0 (root): configuration mode 1
pci0 bus 0 device 0: unknown vendor/product: 0x8086/0x1235 (class: bridge, subclass: host, revision: 0x01) not configured
pci0 bus 0 device 1: unknown vendor/product: 0x8086/0x1234 (class: bridge, subclass: miscellaneous, revision: 0x02) not configured
pci0 bus 0 device 2: unknown vendor/product: 0x102c/0x00dc (class: display, subclass: VGA, revision: 0x00) not configured
pci0 bus 0 device 4: unknown vendor/product: 0x1013/0x1100 (class: bridge, subclass: PCMCIA, revision: 0xe2) not configured
biomask 4040 netmask 0 ttymask 1002
changing root device to fd0a
WARNING: no swap space found

I've never tried netbsd on a machine with a pci bus before, so I don't know
whether the above probe looks reasonable or not.  I am curious about the
line above indicating that the PCMCIA card might be on the pci bus rather than
the isa bus.  If I try saying:

	 pcmciabus0 at pci? iomem 0xd4000 iosiz 4096

instead, config complains with

	config INSTLAPTOP
	INSTLAPTOP:54: pcmciabus's cannot attach to pci's

Can this be fixed by an appropriate addition to files.i386?

Any help will be appreciated.

Duncan