View Single Post
  #9   (View Single Post)  
Old 22nd September 2010
AnilG AnilG is offline
Real Name: Anil Gee
Port Guard
 
Join Date: Sep 2010
Location: Sydney Australia
Posts: 20
Default

Ah, but now after reboot kldload gives a nice informative message about upgtfw:
> kldload if_upgt
KLD if_upgt.ko: depends on upgtfw_fw - not available or version mismatch
kldload: can't load if_upgt: No such file or directory

And upgt(4) seems to match:
This driver requires the upgtfw firmware to be installed before it will
work. The firmware files are not publicly available. A package of the
firmware which can be installed via pkg_add(1) is available:
http://weongyo.org/project/upgt/upgt....13.1.0.tar.gz

However, after fetching that, and another version from somewhere else, pkg_add doesn't seem very interested. upgt(4) does say that the tgz is useable with pkg_add, but
> pkg_add upgt-firmware-2.13.1.0.tar.gz
tar: +CONTENTS: Not found in archive
tar: Error exit delayed from previous errors.
pkg_add: tar extract of /usr/home/anil/upgt-firmware-2.13.1.0.tar.gz failed!
pkg_add: unable to extract table of contents file from '/usr/home/anil/upgt-firmware-2.13.1.0.tar.gz' - not a package?

I even re-packaged with bzip2 instead of gzip since the handbook seemed to suggest that was more normal but it still doesn't work:
> pkg_add upgt-firmware-2.13.1.0.tbz
tar: +CONTENTS: Not found in archive
tar: Error exit delayed from previous errors.
pkg_add: tar extract of /usr/home/anil/upgt-firmware-2.13.1.0.tbz failed!
pkg_add: unable to extract table of contents file from '/usr/home/anil/upgt-firmware-2.13.1.0.tbz' - not a package?

Looking at the files they seem extremely sparse, how am I going to get any firmware built from four files?:
> tar -tf upgt-firmware-2.13.1.0.tbz
upgt-firmware-2.13.1.0/
upgt-firmware-2.13.1.0/pkg-plist
upgt-firmware-2.13.1.0/pkg-descr
upgt-firmware-2.13.1.0/distinfo
upgt-firmware-2.13.1.0/Makefile

I think I'm stuck again. It seems very clear that I really do need to install this firmware, my driver rebuild even worked and is ready, but it looks like an empty set of files (just descriptors, no code).

I'm going to read up on pkg_add some more, although there doesn't seem to be anything there in either man page, handbook, or google, and I'll also remove my package redirection (to a mirror) in case that's involved if pkg_add is trying to download other files as well. Do I need to run pkg_add from a particular directory perhaps?
Reply With Quote