Kaufman, Adam wrote:
Well, I had to do a bit of messing around, but I got both pciutils and flashrom to compile on my Solaris 10 box. My biggest concern was the /dev/mem wouldn't allow the same access we get on linux... here's what I get:
bash-3.00# ./flashrom Calibrating delay loop... ok Can not mmap /dev/mem at 00000000 errno(6):No such device or address
Ideas?
It looks /dev/mem only contains ram on solaris, not the complete address space.
There's a workaround, try using /dev/xsvc instead. It is part of X (or XFree?) as it seems.
http://blogs.sun.com/dmick/entry/patch_for_dmidecode_2_6