Subject: Re: Laptop Install Problem
To: Adam Pendleton <APendleton@vgsinc.com>
From: John Hawkinson <jhawk@MIT.EDU>
List: netbsd-users
Date: 05/08/2000 23:50:10
[ re-added netbsd-users for closure. ]

In message <E02EEE2BB9E8D311A54B0000D18957B109E5FE@PROXY>, Adam Pendleton write
s:
>That did it.

Cool.


>Thanks for the help.  Incidentally, what was the problem.  What did
>setting those variables take care of?

Two problems, both of which should be addressed in 1.4.3 (and 1.5)
when they come out. 

1) Many laptops have video devices in the 0x300-0x3ff range of iospace
where pcmcia by default tries to allocate space for cards. A conflict
can cause the behavior you saw. Frobbing iobase and iosize move that
to start at 0x400.

2) Many laptops have devices using the default interrupts that NetBSD
may try to allocate for pcmcia devices. alloc_mask is the mask
of what interrupts are acceptable to use.

You may or may not need to make these changes in your
running kernel after installation, depending on whether it is a device
conflict or what-have-you.

You can make them in the on-disk kernel with:

    gdb --write /netbsd
    set pcic_isa_alloc_iobase=0x400
...
    quit


You can also make them in your kernel config with

    options PCIC_ISA_ALLOC_IOBASE=0x400
etc.

If you need more specifics on how to do either of those things,
please inquire.

--jhawk