Subject: Re: Default install for NetBSD on laptops with PC-MCIA cards.
To: Gilles Gravier <Gilles@gravier.org>
From: matthew sporleder <msporleder@gmail.com>
List: netbsd-users
Date: 05/23/2005 17:24:09
My pcmcia have worked on the modern dell and ancient ibm I've installed on.

On 5/23/05, Gilles Gravier <Gilles@gravier.org> wrote:
>  Well,
> =20
>  Look at this file :
> ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0.2/i386/INSTALL.html
> =20
>  Then go to "Possible PCMCIA Issues" :
> ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0.2/i386/INSTALL.html#Possible%2=
0PCMCIA%20issues
> =20
>  Now, on each single laptop I've installed NetBSD on, I've actually had t=
o
> do exactly what's in there (if not, it didn't work)... This both for GENE=
RIC
> or for LAPTOP kernels.
> =20
>  OK... Granted, it works...
> =20
>  But, taking the example of Linux, on every one of these same machines, I=
've
> never had to do anything special to get PCMCIA to work.
> =20
>  Why not make these settings default? For those not capable of finding wh=
at
> I mean, this is what I'm talking about:
> =20
> =20
>=20
> After installation, this value can be permanently written to the kernel
> image directly with:=20
>=20
>=20
>         # cp /netbsd /netbsd.bak=20
>         # gdb --write /netbsd=20
>         (gdb) set pcic_isa_intr_alloc_mask=3D0x0a00=20
>         (gdb) set pcic_isa_alloc_iobase=3D0x330=20
>         (gdb) set pcic_isa_alloc_iosize=3D0x0bf=20
>         (gdb) quit=20
>         #=20
> =20
>=20
> or you could specify these value when configuring your kernel, e.g.:=20
>  options PCIC_ISA_INTR_ALLOC_MASK=3D0x0a00
> options PCIC_ISA_ALLOC_IOBASE=3D0x330
> options PCIC_ISA_ALLOC_IOSIZE=3D0x0bf
> =20
> =20
>  Gilles.
>=20
> =20
> =20
>  Jeff Rizzo wrote:=20
>  Care to be more specific? I've installed several laptops without
> benefit of "patches".
>=20
> If you're having trouble with the standard bootfloppys, try the 'laptop'
> ones...
>=20
> +j
>=20
> Gilles Gravier wrote:
>=20
> =20
> =20
>  OK... a warning. This message is a bit of a whine...
>=20
> How come, in the last 6 years that I've been using NetBSD, it is still
> not possible to install NetBSD on a laptop without having to patch the
> kernel in order to use PC-MCIA network cards? This must not be too
> hard to integrate in the default kernels. All Linux distributions of
> the planet that I know of do it seamlessly. Why still have to manually
> go into GDB and hack into the kernel? What's worse, it's described in
> the README.html file, so it's not like it requires thinking. The
> things in the README.html have worked on every machine I've installed
> NetBSD on. Maybe it's time to have THOSE settings as defaults, rather
> than whatever is set today, and obviously doesn't work.
>=20
> Comme on, guys... Let's make sure we do better than Linux. I'm sure
> we're up to it.
>=20
> Gilles.
> --=20
> /*Gilles Gravier*/ *=3D* *Gilles@Gravier.org*
> <mailto:Gilles@Gravier.org> *=3D* *http://www.gravier.org/*
> ICQ : *77488526*
> <http://www.icq.com/whitepages/about_me.php?Uin=3D77488526> *
> || *MSN
> Messenger : Gilles@Gravier.org
> <http://members.msn.com/?mpp=3D4263%7E5AAAZAAAACcw%210A83PFlYeq0R%21ZPO39=
GW63sr8Zaat9nB6dTdi0id9FQ$$%7E5AAAaAAAAEDTTl7j2*1w8Gd7%21LdWZmJumAmJe3E2lA9=
7s$>*
> *Skype : ggravier <callto://ggravier>* || *Y! : ggravier
> <http://profiles.yahoo.com/ggravier> || AOL : gillesgravier
> <aim:goim?screenname=3Dgillesgravier>
> PGP Key ID : *0x8DE6D026*
> <http://pgp.mit.edu:11371/pks/lookup?search=3D0x8DE6D026&op=3Dindex>
> "Chastity is its own punishment." (/Solomon Short/) [/David Gerrold/]
>=20
>=20
> =20
> =20
> =20
> =20
> --=20
> =20
> =20
> =20
> Gilles Gravier =3D Gilles@Gravier.org =3D http://www.gravier.org/
> =20
> ICQ : 77488526  || MSN Messenger : Gilles@Gravier.org
>  Skype : ggravier || Y! : ggravier || AOL : gillesgravier
>  PGP Key ID : 0x8DE6D026
> =20
> "Chastity is its own punishment." (Solomon Short) [David Gerrold]
> =20
>=20
> =20
> =20


--=20
_Matt