Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Aug 2006 11:09:05 +0200
From:      Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
To:        freebsd-ppc@freebsd.org
Subject:   hw.model is empty?
Message-ID:  <20060829110905.5443d020.torfinn.ingolfsen@broadpark.no>

next in thread | raw e-mail | index | archive | help
Hello,

Just for fun, I installed the bsdstats (sysutils/bsdstats) port on my
G4. It worked (hardly surprising), but when I checked
http://www.bsdstats.org/ afterwards, there were no powerpc cpu's to be
found.

The bsdstats script uses 'sysctl -n hw.model' to get cpu information,
but on my machine this reports an empty string.
Here is the whole of sysctl hw:
tingo@kg-g4$ sysctl hw
hw.machine: powerpc
hw.model: 
hw.ncpu: 1
hw.byteorder: 4321
hw.physmem: 528015360
hw.usermem: 475525120
hw.pagesize: 4096
hw.machine_arch: powerpc
hw.realmem: 528015360
hw.ata.ata_dma: 1
hw.ata.atapi_dma: 1
hw.ata.wc: 1
hw.firewire.try_bmr: 1
hw.firewire.hold_count: 3
hw.firewire.fwmem.eui64_hi: 0
hw.firewire.fwmem.eui64_lo: 0
hw.firewire.fwmem.speed: 2
hw.firewire.fwe.stream_ch: 1
hw.firewire.fwe.tx_speed: 2
hw.firewire.fwe.rx_queue_len: 128
hw.firewire.sbp.auto_login: 1
hw.firewire.sbp.max_speed: 2
hw.firewire.sbp.exclusive_login: 1
hw.firewire.sbp.login_delay: 1000
hw.firewire.sbp.scan_delay: 500
hw.firewire.sbp.use_doorbell: 0
hw.firewire.sbp.tags: 0
hw.pci.enable_io_modes: 1
hw.pci.do_power_nodriver: 0
hw.pci.do_power_resume: 1
hw.intr_storm_threshold: 500
hw.availpages: 128910
hw.bus.devctl_disable: 0
hw.kbd.keymap_restrict_change: 0
hw.syscons.saver.keybonly: 1
hw.syscons.bell: 1
hw.uma_mdpages: 9035
hw.ofwfb.relax_mmap: 0

The machine is running:

tingo@kg-g4$ uname -a
FreeBSD kg-g4.kg4.no 7.0-20051105-SNAP FreeBSD 7.0-20051105-SNAP #0:
Sat Nov  5 04:33:52 UTC 2005
root@macmini.ptree32.com.au:/usr/obj/usr/src/sys/GENERIC  powerpc

-- 
Regards,
Torfinn Ingolfsen,
Norway




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060829110905.5443d020.torfinn.ingolfsen>