Port-sparc64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: U45/V245 device updates



On Tue, Jul 07, 2026 at 08:28:11PM +0200, Julian Coleman wrote:
> Hi,
> 
> I've committed my remaining changes for the U45, so that we now have
> envstat output for more sensors and sysctl to control a few things.
> Compared to Solaris, we now have all the sensors apart from the front
> panel (ambient) temperature.  I can't see which i2c device reports
> this.

Just tried netbsd-GENERIC from 
https://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/20260711035340Z/sparc64/binary/kernel/ 

on my Ultra-45, results follow:

-------------------- dmesg begin ----------------------------------

[     1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[     1.000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[     1.000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[     1.000000]     2024, 2025, 2026
[     1.000000]     The NetBSD Foundation, Inc.  All rights reserved.
[     1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[     1.000000]     The Regents of the University of California.  All rights reserved.

[     1.000000] NetBSD 11.99.6 (GENERIC) #0: Sat Jul 11 03:53:40 UTC 2026
[     1.000000] 	mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/sparc64/compile/GENERIC
[     1.000000] total memory = 16384 MB
[     1.000000] avail memory = 16070 MB
[     1.000000] timecounter: Timecounters tick every 10.000 msec
[     1.000000] Kernelized RAIDframe activated
[     1.000000] mainbus0 (root): SUNW,A70 (Sun Ultra 45 Workstation): hostid 84229776
[     1.000000] cpu0 at mainbus0: SUNW,UltraSPARC-IIIi @ 1600 MHz, CPU id 0
[     1.000000] cpu0: manuf 3e, impl 16, mask 34
[     1.000000] cpu0: system tick frequency 20 MHz
[     1.000000] cpu0: 32K instruction (32 b/l), 64K data (32 b/l), 1024K external (64 b/l)
[     1.000000] cpu1 at mainbus0: SUNW,UltraSPARC-IIIi @ 1600 MHz, CPU id 1
[     1.000000] cpu1: manuf 3e, impl 16, mask 34
[     1.000000] cpu1: system tick frequency 20 MHz
[     1.000000] cpu1: 32K instruction (32 b/l), 64K data (32 b/l), 1024K external (64 b/l)
[     1.000000] memory-controller at mainbus0 not configured
[     1.000000] memory-controller at mainbus0 not configured
[     1.000000] pyro0 at mainbus0: "Fire", rev 3, ign 780, bus A 2 to 12
[     1.000000] pyro0: pci0 at pyro0
[     1.000000] pci0: i/o space, memory space enabled
[     1.000000] ppb0 at pci0 dev 0 function 0: PLX Technology product 8532 (rev. 0xaa)
[     1.000000] ppb0: PCI Express capability version 1 <Upstream Port of PCI-E Switch>
[     1.000000] pci1 at ppb0 bus 3
[     1.000000] pci1: i/o space, memory space enabled
[     1.000000] ppb1 at pci1 dev 1 function 0: PLX Technology product 8532 (rev. 0xaa)
[     1.000000] ppb1: PCI Express capability version 1 <Downstream Port of PCI-E Switch> x2 @ 2.5GT/s
[     1.000000] pci2 at ppb1 bus 4
[     1.000000] pci2: i/o space, memory space enabled
[     1.000000] ppb2 at pci2 dev 0 function 0: Acer Labs M5249 Hypertransport to PCI Bridge (rev. 0x00)
[     1.000000] ppb2: PCI Express capability version 1 <PCI-E to PCI/PCI-X Bridge>
[     1.000000] pci3 at ppb2 bus 5
[     1.000000] pci3: i/o space, memory space enabled
[     1.000000] ohci0 at pci3 dev 28 function 0: Acer Labs M5237 USB 1.1 Host Controller (rev. 0x03)
[     1.000000] ohci0: interrupting at ivec 780
[     1.000000] ohci0: OHCI version 1.0, legacy support
[     1.000000] usb0 at ohci0: USB revision 1.0
[     1.000000] ohci1 at pci3 dev 28 function 1: Acer Labs M5237 USB 1.1 Host Controller (rev. 0x03)
[     1.000000] ohci1: interrupting at ivec 780
[     1.000000] ohci1: OHCI version 1.0, legacy support
[     1.000000] usb1 at ohci1: USB revision 1.0
[     1.000000] ohci2 at pci3 dev 28 function 2: Acer Labs M5237 USB 1.1 Host Controller (rev. 0x03)
[     1.000000] ohci2: interrupting at ivec 780
[     1.000000] ohci2: OHCI version 1.0, legacy support
[     1.000000] usb2 at ohci2: USB revision 1.0
[     1.000000] ehci0 at pci3 dev 28 function 3: Acer Labs M5239 USB 2.0 Host Controller (rev. 0x01)
[     1.000000] ehci0: 32-bit DMA
[     1.000000] ehci0: interrupting at ivec 781
[     1.000000] ehci0: EHCI version 1.0
[     1.000000] ehci0: 3 companion controllers, 3 ports each: ohci0 ohci1 ohci2
[     1.000000] usb3 at ehci0: USB revision 2.0
[     1.000000] auacer0 at pci3 dev 29 function 0: Acer Labs M5455 Audio controller
[     1.000000] auacer0: interrupting at ivec 785
[     1.000000] auacer0: ac97: Analog Devices AD1981B codec; headphone, 20 bit DAC, no 3D stereo
[     1.000000] auacer0: ac97: ext id 0x601<AC97_22,AMAP,VRA>
[     1.000000] audio0 at auacer0: playback, capture, full duplex, independent
[     1.000000] audio0: slinear_be:16 -> slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback
[     1.000000] audio0: slinear_be:16 <- slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for recording
[     1.000000] spkr0 at audio0: PC Speaker (synthesized)
[     1.000000] wsbell at spkr0 not configured
[     1.000000] alipm0 at pci3 dev 30 function 1alipm0: autoconfiguration error: I/O base not set
[     1.000000] aceride0 at pci3 dev 31 function 0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc8)
[     1.000000] aceride0: bus-master DMA support present
[     1.000000] aceride0: primary channel configured to native-PCI mode
[     1.000000] aceride0: using ivec 2f84 for native-PCI interrupt
[     1.000000] atabus0 at aceride0 channel 0
[     1.000000] aceride0: secondary channel configured to native-PCI mode
[     1.000000] atabus1 at aceride0 channel 1
[     1.000000] ppb3 at pci1 dev 2 function 0: PLX Technology product 8532 (rev. 0xaa)
[     1.000000] ppb3: PCI Express capability version 1 <Downstream Port of PCI-E Switch> x2 @ 2.5GT/s
[     1.000000] pci4 at ppb3 bus 6
[     1.000000] pci4: i/o space, memory space enabled
[     1.000000] ppb4 at pci4 dev 0 function 0: ServerWorks BCM5714/BCM5715 Integral PCI-E to PCI-X Bridge (rev. 0xb3)
[     1.000000] ppb4: PCI Express capability version 1 <PCI-E to PCI/PCI-X Bridge>
[     1.000000] pci5 at ppb4 bus 7
[     1.000000] pci5: i/o space, memory space enabled
[     1.000000] bge0 at pci5 dev 4 function 0: Broadcom BCM5715 Gigabit Ethernet
[     1.000000] bge0: interrupting at ivec 3796
[     1.000000] bge0: HW config 00000015, 00000015, 00000000, 00000000 00000000
[     1.000000] bge0: ASIC BCM5715 A1 (0x9001), Ethernet address 00:14:4f:22:97:76
[     1.000000] bge0: autoconfiguration error: WARNING: failed to restrict dma range, falling back to parent bus dma range
[     1.000000] bge0: setting short Tx thresholds
[     1.000000] brgphy0 at bge0 phy 1: BCM5714 1000BASE-T/X media interface, rev. 0
[     1.000000] brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
[     1.000000] bge1 at pci5 dev 4 function 1: Broadcom BCM5715 Gigabit Ethernet
[     1.000000] bge1: interrupting at ivec 3797
[     1.000000] bge1: HW config 00010014, 00000014, 00000000, 00000000 00000000
[     1.000000] bge1: ASIC BCM5715 A1 (0x9001), Ethernet address 00:14:4f:22:97:77
[     1.000000] bge1: autoconfiguration error: WARNING: failed to restrict dma range, falling back to parent bus dma range
[     1.000000] bge1: setting short Tx thresholds
[     1.000000] brgphy1 at bge1 phy 1: BCM5714 1000BASE-T/X media interface, rev. 0
[     1.000000] brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
[     1.000000] ppb5 at pci1 dev 3 function 0: PLX Technology product 8532 (rev. 0xaa)
[     1.000000] ppb5: PCI Express capability version 1 <Downstream Port of PCI-E Switch> x4 @ 2.5GT/s
[     1.000000] pci6 at ppb5 bus 8
[     1.000000] pci6: i/o space, memory space enabled
[     1.000000] ppb6 at pci1 dev 8 function 0: PLX Technology product 8532 (rev. 0xaa)
[     1.000000] ppb6: PCI Express capability version 1 <Downstream Port of PCI-E Switch> x8 @ 2.5GT/s
[     1.000000] pci7 at ppb6 bus 9
[     1.000000] pci7: i/o space, memory space enabled
[     1.000000] ppb7 at pci1 dev 9 function 0: PLX Technology product 8532 (rev. 0xaa)
[     1.000000] ppb7: PCI Express capability version 1 <Downstream Port of PCI-E Switch> x8 @ 2.5GT/s
[     1.000000] pci8 at ppb7 bus 10
[     1.000000] pci8: i/o space, memory space enabled
[     1.000000] ppb8 at pci8 dev 0 function 0: Intel Serial to Parallel PCI Bridge A (rev. 0x09)
[     1.000000] ppb8: PCI Express capability version 1 <PCI-E to PCI/PCI-X Bridge>
[     1.000000] pci9 at ppb8 bus 11
[     1.000000] pci9: i/o space, memory space enabled
[     1.000000] mpt0 at pci9 dev 1 function 0: Symbios Logic SAS1064 (rev. 0x02)
[     1.000000] mpt0: interrupting at ivec 2f8f
[     1.000000] mpt0: Phy 0: Link Status Unknown
[     1.000000] scsibus0 at mpt0: 63 targets, 8 luns per target
[     1.000000] ppb9 at pci8 dev 0 function 2: Intel Serial to Parallel PCI Bridge B (rev. 0x09)
[     1.000000] ppb9: PCI Express capability version 1 <PCI-E to PCI/PCI-X Bridge>
[     1.000000] pci10 at ppb9 bus 12
[     1.000000] pci10: i/o space, memory space enabled
[     1.000000] radeonfb0 at pci10 dev 1 function 0: ATI Technologies Radeon 7000/VE QY (rev. 0x00)
[     1.000000] trying to read disabled BIOS...
[     1.000000] radeonfb0: No video BIOS, using default clocks
[     1.000000] radeonfb0: refclk = 27.000 MHz, refdiv = 12 minpll = 125000, maxpll = 400000
[     1.000000] radeonfb0: 64 MB aperture at 0x08000000, 64 KB registers at 0x00c00000
[     1.000000] radeonfb0: display 0: initial virtual resolution 640x480 at 8 bpp
[     1.000000] radeonfb0: using 32 MB per display
[     1.000000] radeonfb0: port 0: physical 1024x768 60Hz
[     1.000000] radeonfb0: port 1: physical 1024x768 60Hz
[     1.000000] wsdisplay1 at radeonfb0 kbdmux 1
[     1.000000] wsmux1: connecting to wsdisplay1
[     1.000000] wsdisplay1: screen 0-3 added (fb, vt100 emulation)
[     1.000000] drm at radeonfb0 not configured
[     1.000000] pyro1 at mainbus0: "Fire", rev 3, ign 7c0, bus B 2 to 255
[     1.000000] pyro1: pci11 at pyro1
[     1.000000] pci11: i/o space, memory space enabled
[     1.000000] ebus0 at mainbus0
[     1.000000] flashprom at ebus0 addr 0-1fffff not configured
[     1.000000] bq4802rtc0 at ebus0 addr 100000-10000f: real time clock
[     1.000000] bq4802rtc0: autoconfiguration error: WARNING: oscillator is stopped (0x02)
[     1.000000] com0 at ebus0 addr 80-87 ipl 7c8: ns16550a, 16-byte FIFO
[     1.000000] com0: console
[     1.000000] com1 at ebus0 addr 0-7 ipl 7c8: ns16550a, 16-byte FIFO
[     1.000000] env-monitor at ebus0 addr 0-41 not configured
[     1.000000] pcfiic0 at ebus0 addr 80-81 ipl 7c1
[     1.000000] iic0 at pcfiic0: I2C bus
[     1.000000] pcagpio0 at iic0 addr 0x18: PCA9556
[     1.000000] seeprom0 at iic0 addr 0x52: front-io-fru-prom: size 8192
[     1.000000] seeprom1 at iic0 addr 0x53: sas-backplane-fru-prom: size 8192
[     1.000000] seeprom2 at iic0 addr 0x57: psu-fru-prom: size 256
[     1.000000] adt7462sm0 at iic0 addr 0x58: ADT7462 system monitor: rev. 0x4
[     1.000000] adt7462sm0: 5 fans, 4 temperatures, 6 voltages
[     1.000000] lm95221ts0 at iic0 addr 0x2b: LM95221 temperature sensor
[     1.000000] nxp75a0 at iic0 addr 0x4f: NXP LM75A temperature sensor
[     1.000000] power at ebus0 addr e0-e1 ipl 7c3 not configured
[     1.000000] firei2c0 at mainbus0: addr 4000fd20000: Fire/MI2C i2c controller
[     1.000000] iic1 at firei2c0: I2C bus
[     1.000000] spdmem0 at iic1 addr 0x50
[     1.000000] spdmem0: DDR SDRAM (registered), data ECC, 2GB, 333MHz (PC-2700)
[     1.000000] spdmem0: 13 rows, 12 cols, 2 ranks, 4 banks/chip, 6.0ns cycle time
[     1.000000] spdmem0: tAA-tRCD-tRP-tRAS: 1-3-3-7
[     1.000000] spdmem0: voltage SSTL 2.5V, refresh time 7.8us (self-refreshing)
[     1.000000] spdmem1 at iic1 addr 0x51
[     1.000000] spdmem1: DDR SDRAM (registered), data ECC, 2GB, 333MHz (PC-2700)
[     1.000000] spdmem1: 13 rows, 12 cols, 2 ranks, 4 banks/chip, 6.0ns cycle time
[     1.000000] spdmem1: tAA-tRCD-tRP-tRAS: 1-3-3-7
[     1.000000] spdmem1: voltage SSTL 2.5V, refresh time 7.8us (self-refreshing)
[     1.000000] spdmem2 at iic1 addr 0x52
[     1.000000] spdmem2: DDR SDRAM (registered), data ECC, 2GB, 333MHz (PC-2700)
[     1.000000] spdmem2: 13 rows, 12 cols, 2 ranks, 4 banks/chip, 6.0ns cycle time
[     1.000000] spdmem2: tAA-tRCD-tRP-tRAS: 1-3-3-7
[     1.000000] spdmem2: voltage SSTL 2.5V, refresh time 7.8us (self-refreshing)
[     1.000000] spdmem3 at iic1 addr 0x53
[     1.000000] spdmem3: DDR SDRAM (registered), data ECC, 2GB, 333MHz (PC-2700)
[     1.000000] spdmem3: 13 rows, 12 cols, 2 ranks, 4 banks/chip, 6.0ns cycle time
[     1.000000] spdmem3: tAA-tRCD-tRP-tRAS: 1-3-3-7
[     1.000000] spdmem3: voltage SSTL 2.5V, refresh time 7.8us (self-refreshing)
[     1.000000] spdmem4 at iic1 addr 0x54
[     1.000000] spdmem4: DDR SDRAM (registered), data ECC, 2GB, 333MHz (PC-2700)
[     1.000000] spdmem4: 13 rows, 12 cols, 2 ranks, 4 banks/chip, 6.0ns cycle time
[     1.000000] spdmem4: tAA-tRCD-tRP-tRAS: 1-3-3-7
[     1.000000] spdmem4: voltage SSTL 2.5V, refresh time 7.8us (self-refreshing)
[     1.000000] spdmem5 at iic1 addr 0x55
[     1.000000] spdmem5: DDR SDRAM (registered), data ECC, 2GB, 333MHz (PC-2700)
[     1.000000] spdmem5: 13 rows, 12 cols, 2 ranks, 4 banks/chip, 6.0ns cycle time
[     1.000000] spdmem5: tAA-tRCD-tRP-tRAS: 1-3-3-7
[     1.000000] spdmem5: voltage SSTL 2.5V, refresh time 7.8us (self-refreshing)
[     1.000000] spdmem6 at iic1 addr 0x56
[     1.000000] spdmem6: DDR SDRAM (registered), data ECC, 2GB, 333MHz (PC-2700)
[     1.000000] spdmem6: 13 rows, 12 cols, 2 ranks, 4 banks/chip, 6.0ns cycle time
[     1.000000] spdmem6: tAA-tRCD-tRP-tRAS: 1-3-3-7
[     1.000000] spdmem6: voltage SSTL 2.5V, refresh time 7.8us (self-refreshing)
[     1.000000] spdmem7 at iic1 addr 0x57
[     1.000000] spdmem7: DDR SDRAM (registered), data ECC, 2GB, 333MHz (PC-2700)
[     1.000000] spdmem7: 13 rows, 12 cols, 2 ranks, 4 banks/chip, 6.0ns cycle time
[     1.000000] spdmem7: tAA-tRCD-tRP-tRAS: 1-3-3-7
[     1.000000] spdmem7: voltage SSTL 2.5V, refresh time 7.8us (self-refreshing)
[     1.000000] firei2c1 at mainbus0: addr 4000fd30000: Fire/MI2C i2c controller
[     1.000000] iic2 at firei2c1: I2C bus
[     1.000000] seeprom3 at iic2 addr 0x51: motherboard-fru-prom: size 8192
[     1.000000] pcagpio1 at iic2 addr 0x18: PCA9556
[     1.000000] clock-generator (i2c-ics9fg108) at iic2 addr 0x6e not configured
[     1.000000] jbusi2c0 at mainbus0: addr 4000fc62020
[     1.000000] iic3 at jbusi2c0: I2C bus
[     1.000000] seeprom4 at iic3 addr 0x57: nvram: size 8192
[     1.000000] ppm at mainbus0 not configured
[     1.000000] pcons at mainbus0 not configured
[     1.000000] WARNING: system needs entropy for security; see entropy(7)
[     1.000000] timecounter: Timecounter "tick-counter" frequency 1600000000 Hz quality 100
[     1.000003] timecounter: Timecounter "stick-counter" frequency 20000000 Hz quality 200
[     1.000016] No counter-timer -- using %stick at 20MHz as system clock.
[     1.000016] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
[     2.748378] uhub0 at usb0: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
[     2.748378] uhub0: 3 ports with 3 removable, self powered
[     2.748378] uhub1 at usb1: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
[     2.748378] uhub1: 3 ports with 3 removable, self powered
[     2.748378] uhub2 at usb2: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
[     2.748378] uhub2: 3 ports with 3 removable, self powered
[     2.748378] uhub3 at usb3: NetBSD (0x0000) EHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[     2.748378] uhub3: 8 ports with 8 removable, self powered
[     2.748378] scsibus0: waiting 2 seconds for devices to settle...
[     3.264753] uhub4 at uhub3 port 7: vendor 0424 (0x0424) product 2504 (0x2504), class 9/0, rev 2.00/0.01, addr 2
[     3.384753] uhub4: multiple transaction translators
[     3.444753] uhub4: 4 ports with 4 removable, self powered
[     4.784754] sd0 at scsibus0 target 0 lun 0: <ATA, SAMSUNG HD502IJ, 1112> disk fixed
[     4.874754] sd0: 465 GB, 476941 cyl, 16 head, 127 sec, 512 bytes/sect x 976773168 sectors
[     5.004753] sd0: tagged queueing
[     5.054754] swwdog0: software watchdog initialized
[     5.114753] WARNING: 4 errors while detecting hardware; check system log.
[     5.194753] root on sd0a dumps on sd0b
[     5.244753] root file system type: ffs
[     5.294753] kern.module.path=/stand/sparc64/11.99.6/modules
[     5.994756] entropy: best effort
[     6.864754] entropy: ready
[    32.314840] adt7462sm0: fan fault status change: 00000000 -> 00011100
[    32.974856] adt7462sm0: warning under limit on 'fan 2'
[    33.044860] adt7462sm0: warning under limit on 'fan 3'
[    33.114862] adt7462sm0: warning under limit on 'fan 4'
[    33.234864] adt7462sm0: warning under limit on 'Vbatt'
[    33.304866] adt7462sm0: critical limit on 'fan fault'

-------------------- dmesg end ----------------------------------

There is quite a bit more hardware info showing up in dmesg, e.g. the
SPD memory info is new (and appreciated). The adt7462sm0 fan complaints
at the end are expected (and nice to see), as on this machine the 3x fan
module is currently not correctly plugged in (on my TODO list). As for
the battery: I guess I need to locate and replace it ... also nice to
see that.

------------------------- envstat begin ------------------------------

                 Current  CritMax  WarnMax  WarnMin  CritMin  Unit
[adt7462sm0]
        fan 0:      8737                         88            RPM
        fan 1:      8695                         88            RPM
        fan 2:         0                         88            RPM
        fan 3:         0                         88            RPM
        fan 4:         0                         88            RPM
        local:    57.750   80.000   75.000    0.000           degC
     remote 1:    65.500   95.000   70.000   50.000           degC
     remote 2:    63.000   95.000   70.000   50.000           degC
     remote 3:    48.750   70.000   65.000    0.000           degC
       V1.5 1:     1.490             1.989    0.250              V
       V1.5 2:     1.490             1.989                       V
       V3.3 1:     1.238             4.386                       V
        Vbatt:     1.248             3.978    1.997              V
        V12 3:    12.000            15.938                       V
         V5 1:     5.096             6.630                       V
    fan fault:     11100        0        0        0        0 none
[lm95221ts0]
        local:    47.000                                      degC
     remote 1:    66.875                                      degC
     remote 2:    75.000                                      degC
[nxp75a0]
  temperature:    36.000   80.000                             degC

------------------------- envstat end ------------------------------

> On the V245, I've added support for some of the sensors, but we're still
> missing others that the ALOM shows.  It looks like there is a proprietry
> sensor chip at i2c address 0x5a which probably reports fan speeds (and
> does control the front lights via GPIO) and also pcf8574's at 0x3e and
> 0x3f, which I think are indicators for the PSU's.

Thank you for your work, it is very much appreciated.

> If anyone tries out a -current kernel on a U45/U25 or V245/V215, I'd be
> interested in dmesg and envstat output.

Provided above.

Kind regards,
            Alex.
-- 
"Opportunity is missed by most people because it is dressed in overalls and
 looks like work."                                      -- Thomas A. Edison


Home | Main Index | Thread Index | Old Index