Subject: Re: NetBSD 1.1 on a Digital HiNote VP laptop
To: Duncan McEwan <duncan@comp.vuw.ac.nz>
From: David Brownlee <david@mono.org>
List: port-i386
Date: 05/20/1996 12:25:27
	I'm using John Kohl's pcmcia code on a Digital HiNote Ultra CT450
	(The original Ultra, not an Ultra II), which has the pcmcia on
	the isa bus rather than the pci bus of the Ultra IIs.

	Your problem is the probing of the pcmcia bus, not the cards.

	Looks like the pcmcia code needs to be updated to attack to pci
	buses as well... :(

                   David/abs             (david@mono.org)

  System Manager, Southern Studios, Box 59, London N22 1AR. +44 181 888 8949 

  http://www.mono.org   ---<Monochrome>---   (** Largest UK Internet BBS **)  
  http://www.netbsd.org  __/ Free Un*x on alpha,amiga,arm32,atari,hp300,i386
  http://www.openbsd.org   \ mac,mvme68k,pc532,pica,pmax,sparc,sun3,vax,x68k


On Mon, 20 May 1996, Duncan McEwan wrote:

> 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
>