Subject: Re: storing nvaliases in NVRAM ('NVRAMRC not valid')
To: zeta.orionis <zeta.orionis@gmail.com>
From: Michael <macallan18@earthlink.net>
List: port-macppc
Date: 04/18/2005 12:00:04
--Signature_Mon__18_Apr_2005_12_00_04_-0400_m/vQSF=UuL4VegK4
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> I'm still confused about
> * why nvalias stores as a devalias
because that's what nvalias is for: http://www.firmworks.com/QuickRef.html

> * why nvstore STILL tells me nvramrc is invalid. I was following the=20
> INSTALL doc, which gives this as the storing aliases sequence:
>=20
> 0 > nvalias bsd /pci@f2000000/mac-io@17/ata-4@1f000/@0:9,ofwboot.xcf
> 0 > nvstore
> 0 > setenv use-nvramrc? true
> 0 > reset-all
I think nvstore is only needed after nvedit but I may be wrong here. If I'm=
 right then it's probably complaining about lack of anything done by nvedit=
 - wouldn't be the only ambiguous and misleading OF error message.

> Um, having been helpful with this problem, could anyone tell me how to=20
> get past the other one that's really annoying me at the moment, which=20
> is that using pkg_add fails on any package:
>=20
> tar: invalid header, starting valid header search.
> gzip: (stdin): unexpected end of file
> tar: end of archive volume1 reached
> tar: unexpected EOF on archive file
> pkg_add: [...failed...]
Looks like an invalid tar archive. Are you sure whatever you try to install=
 downloaded properly?
What /exactly/ did you try to do?

> Redownloading doesn't help, and they open on OS X, so I don't think=20
> it's a problem with the package files. I have the same error trying=20
> with the packages located on a flashdisk or other partition as locally.=20
Hmm, can you look at the package contents from NetBSD ( tar tzf ... ) ?
If the package is valid then your pkg_add command is faulty.

> Another thing: who am I meant to address messages to on this list? I've=20
> been sending them always to port-macppc@netbsd.org, but other people's=20
> (at least replies) seem to be addressed to individuals with a Cc to the=20
> list address.
Good question. Lots of mail programs reply to both, the list and whoever se=
nt the original message. Since the original sender is most likely intereste=
d in an answer there's no real harm in this ( at least in my opinion )

have fun
Michael

--Signature_Mon__18_Apr_2005_12_00_04_-0400_m/vQSF=UuL4VegK4
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQmPZhcpnzkX8Yg2nAQJcXwgAp7qBFlUXfP10GdlsXYJSCZg/G583bt7f
wEzw7cc+IRgL64FNzstntL/I1bily009kcDmO6VNx9kbGt2xE8EBY0bMXZEku7u4
ziDWXzDY247+ukwEczqqAfgopz7ekZWkpseIOo9kTGlAntofIOigmewgBMSoJoGz
8q4u90wlnRGy0Ae3ywhA9mlzf6VcECQdVlh1m+Vy+6hJMnn7XUzerEQGgg4q8jjm
Sijw9mI0RIgkRTKM3/8MGQZzfec+HBvnDV+EGEMtm/mHyyM5OdUnP7ruj9H0rHzL
JxzR2jzdT8hCylnTcawX3W5Eephx2SZbXh823jTg9tmNJ9BaH5p+Gg==
=yA89
-----END PGP SIGNATURE-----

--Signature_Mon__18_Apr_2005_12_00_04_-0400_m/vQSF=UuL4VegK4--