NetBSD-Bugs archive

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

Re: kern/37972: problems with envstat on Asus PSCH-SR motherboard (with Winbond W83627THF)



The following reply was made to PR kern/37972; it has been noted by GNATS.

From: "Greg A. Woods" <woods%planix.ca@localhost>
To: NetBSD GNATS <gnats-bugs%NetBSD.org@localhost>
Cc: 
Subject: Re: kern/37972: problems with envstat on Asus PSCH-SR motherboard 
(with Winbond W83627THF)
Date: Fri, 22 Feb 2008 16:35:27 -0500

 At Wed,  6 Feb 2008 23:35:00 +0000 (UTC), I wrote:
 Subject: kern/37972: problems with envstat on Asus PSCH-SR motherboard
 > 
 
 A -current kernel shows the same problems (once the lm(4) device is
 added to the config, that is):
 
 (note all values, including the fans, show up fine in the BIOS screens)
 
 16:30 [3] $ /usr/sbin/envstat -r
 acpitz0 temperature:     57.500 degC
               VCore:      4.080 V
                +12V:      6.688 V
               +3.3V:      0.912 V
                 +5V:      4.986 V
                -12V:      0.638 V
                5VSB:      5.040 V
                VBAT:      0.000 V
               Temp0:    -48.000 degC
               Temp1:          *
               Temp2:          *
                Fan0:          *
                Fan1:          *
                Fan2:          *
 16:30 [4] $ what /netbsd
 /netbsd
          Copyright (c) Cyclades Corporation, 1996, 1999
          ZFIRM Cyclades-Z/PCI Firmware V_3.3.1 09/24/99
          Copyright (c) Cyclades Corporation, 1996, 1999
          ZFIRM Cyclades-Z/PCI Firmware V_3.3.1 09/24/99
         NetBSD 4.99.54 (GENERIC) #2: Fri Feb 22 15:58:25 EST 2008
 
 NetBSD 4.99.54 (GENERIC) #2: Fri Feb 22 15:58:25 EST 2008
         
woods@once:/rest/build/woods/once/current-i386-i386-ppro-obj/rest/work/woods/m-NetBSD-current/sys/arch/i386/compile/GENERIC
 total memory = 2046 MB
 avail memory = 1995 MB
 timecounter: Timecounters tick every 10.000 msec
 timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
 ASUSTeK COMPUTER INC. PSCHSR-A (1.XX)
 mainbus0 (root)
 cpu0 at mainbus0 apid 0: (boot processor)
 cpu0: Intel (686-class), 2992.63 MHz, id 0xf34
 cpu0: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
 cpu0: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
 cpu0: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
 cpu0: features2 441d<SSE3,DTES64,MONITOR,DS-CPL,CID,xTPR>
 cpu0: "Intel(R) Pentium(R) 4 CPU 3.00GHz"
 cpu0: I-cache 12K uOp cache 8-way
 cpu0: L2 cache 1 MB 64B/line 8-way
 cpu0: ITLB 4K/4M: 64 entries
 cpu0: DTLB 4K/4M: 64 entries
 cpu0: using thermal monitor 1
 cpu0: Initial APIC ID 0
 cpu0: Cluster/Package ID 0
 cpu0: SMT ID 0
 cpu0: calibrating local timer
 cpu0: apic clock running at 199 MHz
 cpu0: 32 page colors
 cpu1 at mainbus0 apid 1: (application processor)
 cpu1: Intel (686-class), 2992.61 MHz, id 0xf34
 cpu1: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
 cpu1: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
 cpu1: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
 cpu1: features2 441d<SSE3,DTES64,MONITOR,DS-CPL,CID,xTPR>
 cpu1: "Intel(R) Pentium(R) 4 CPU 3.00GHz"
 cpu1: I-cache 12K uOp cache 8-way
 cpu1: L2 cache 1 MB 64B/line 8-way
 cpu1: ITLB 4K/4M: 64 entries
 cpu1: DTLB 4K/4M: 64 entries
 cpu1: using thermal monitor 1
 cpu1: Initial APIC ID 1
 cpu1: Cluster/Package ID 0
 cpu1: SMT ID 1
 ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 20, 24 pins
 ioapic1 at mainbus0 apid 3: pa 0xfec10000, version 20, 24 pins
 acpi0 at mainbus0: Advanced Configuration and Power Interface
 acpi0: using Intel ACPI CA subsystem version 20070320
 acpi0: X/RSDT: OemId <IntelR,AWRDACPI,42302e31>, AslId <AWRD,00000000>
 acpi0: SCI interrupting at int 9
 acpi0: fixed-feature power button present
 timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
 ACPI-Fast 24-bit timer
 CPU0 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
 CPU1 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
 acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
 PCI0 (PNP0A03) [PCI/PCI-X Host Bridge] at acpi0 not configured
 SYSR (PNP0C02) [Plug and Play motherboard register resources] at acpi0 not 
configured
 PIC (PNP0000) [AT Interrupt Controller] at acpi0 not configured
 attimer1 at acpi0 (TMR, PNP0100): AT Timer
 attimer1: io 0x40-0x43 irq 0
 RTC (PNP0B00) [AT Real-Time Clock] at acpi0 not configured
 pcppi1 at acpi0 (SPKR, PNP0800)
 pcppi1: io 0x61
 midi0 at pcppi1: PC speaker (CPU-intensive output)
 sysbeep0 at pcppi1
 npx1 at acpi0 (COPR, PNP0C04)
 npx1: io 0xf0-0xff irq 13
 npx1: reported by CPUID; using exception 16
 FDC0 (PNP0700) [PC standard floppy disk controller] at acpi0 not configured
 UAR1 (PNP0501) [16550A-compatible COM port] at acpi0 not configured
 UAR2 (PNP0501) [16550A-compatible COM port] at acpi0 not configured
 ECP1 (PNP0401) [ECP printer port] at acpi0 not configured
 pckbc1 at acpi0 (PS2K, PNP0303): kbd port
 pckbc1: io 0x60,0x64 irq 1
 PMIO (PNP0C02) [Plug and Play motherboard register resources] at acpi0 not 
configured
 FWH (INT0800) [Intel FWH Random Number Generator] at acpi0 not configured
 LNKA (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
 LNKB (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
 LNKC (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
 LNKD (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
 LNK1 (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
 DMA1 (PNP0200) [AT DMA Controller] at acpi0 not configured
 MEM (PNP0C01) [System Board] at acpi0 not configured
 FAN (PNP0C0B) [ACPI Fan] at acpi0 not configured
 acpitz0 at acpi0 (THRM): active cooling level 0: 99.0C critical 99.0C passive 
64.5C
 apm1 at acpi0: Power Management spec V1.2
 pcppi1: attached to attimer1
 pckbd: error setting scanset 2
 pckbd0 at pckbc1 (kbd slot)
 pckbc1: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard
 pms0 at pckbc1 (aux slot)
 pckbc1: unable to establish interrupt for aux slot
 wsmouse0 at pms0 mux 0
 pci0 at mainbus0 bus 0: configuration mode 1
 pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
 pchb0 at pci0 dev 0 function 0
 pchb0: Intel 82875P Host (rev. 0x02)
 ppb0 at pci0 dev 3 function 0: Intel 82875P PCI-CSA Bridge (rev. 0x02)
 pci1 at ppb0 bus 1
 pci1: i/o space, memory space enabled
 wm0 at pci1 dev 1 function 0: Intel i82547GI 1000BASE-T Ethernet, rev. 0
 wm0: interrupting at ioapic0 pin 18 (irq 10)
 wm0: Communication Streaming Architecture
 wm0: 65536 word (16 address bits) SPI EEPROM
 wm0: Ethernet address 00:11:2f:0c:bb:08
 igphy0 at wm0 phy 1: Intel IGP01E1000 Gigabit PHY, rev. 0
 igphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
 ppb1 at pci0 dev 28 function 0: Intel 6300ESB PCI-X Bridge (rev. 0x02)
 pci2 at ppb1 bus 2
 pci2: i/o space, memory space enabled, rd/line, wr/inv ok
 Marvell 88SX5041 SATA (SCSI mass storage, revision 0x03) at pci2 dev 8 
function 0 not configured
 uhci0 at pci0 dev 29 function 0: Intel 6300ESB USB UHCI Controller (rev. 0x02)
 uhci0: interrupting at ioapic0 pin 16 (irq 11)
 usb0 at uhci0: USB revision 1.0
 uhub0 at usb0
 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 uhci1 at pci0 dev 29 function 1: Intel 6300ESB USB UHCI Controller (rev. 0x02)
 uhci1: interrupting at ioapic0 pin 19 (irq 9)
 usb1 at uhci1: USB revision 1.0
 uhub1 at usb1
 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub1: 2 ports with 2 removable, self powered
 Intel 6300ESB Watchdog Timer (miscellaneous system, revision 0x02) at pci0 dev 
29 function 4 not configured
 Intel 6300ESB Advanced Interrupt Controller (interrupt system, interface 0x20, 
revision 0x02) at pci0 dev 29 function 5 not configured
 ehci0 at pci0 dev 29 function 7: Intel 6300ESB USB EHCI Controller (rev. 0x02)
 ehci0: interrupting at ioapic0 pin 23 (irq 5)
 ehci0: EHCI version 1.0
 ehci0: companion controllers, 2 ports each: uhci0 uhci1
 usb2 at ehci0: USB revision 2.0
 uhub2 at usb2
 uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
 uhub2: 4 ports with 4 removable, self powered
 ppb2 at pci0 dev 30 function 0: Intel 82801BA Hub-PCI Bridge (rev. 0x0a)
 pci3 at ppb2 bus 3
 pci3: i/o space, memory space enabled
 wm1 at pci3 dev 8 function 0: Intel i82541GI 1000BASE-T Ethernet, rev. 0
 wm1: interrupting at ioapic0 pin 18 (irq 10)
 wm1: 32-bit 33MHz PCI bus
 wm1: 64 word (6 address bits) MicroWire EEPROM
 wm1: Ethernet address 00:11:2f:0c:bb:09
 igphy1 at wm1 phy 1: Intel IGP01E1000 Gigabit PHY, rev. 0
 igphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
 vga1 at pci3 dev 9 function 0: ATI Technologies Rage XL (rev. 0x27)
 wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
 wsmux1: connecting to wsdisplay0
 direct rendering for vga1 unsupported
 pcib0 at pci0 dev 31 function 0
 pcib0: Intel 6300ESB LPC Interface Bridge (rev. 0x02)
 piixide0 at pci0 dev 31 function 1
 piixide0: Intel 6300ESB IDE Controller (ICH5) (rev. 0x02)
 piixide0: bus-master DMA support present
 piixide0: primary channel configured to compatibility mode
 piixide0: primary channel interrupting at ioapic0 pin 14 (irq 14)
 atabus0 at piixide0 channel 0
 piixide0: secondary channel configured to compatibility mode
 piixide0: secondary channel interrupting at ioapic0 pin 15 (irq 15)
 atabus1 at piixide0 channel 1
 piixide1 at pci0 dev 31 function 2
 piixide1: Intel 6300ESB Serial ATA/RAID Controller (rev. 0x02)
 piixide1: bus-master DMA support present
 piixide1: primary channel configured to native-PCI mode
 piixide1: using ioapic0 pin 18 (irq 10) for native-PCI interrupt
 atabus2 at piixide1 channel 0
 piixide1: secondary channel configured to native-PCI mode
 atabus3 at piixide1 channel 1
 ichsmb0 at pci0 dev 31 function 3: Intel 6300ESB SMBus Controller (rev. 0x02)
 ichsmb0: interrupting at ioapic0 pin 17 (irq 11)
 iic0 at ichsmb0: I2C bus
 spdmem0 at iic0 addr 0x50
 spdmem0: DDR SDRAM memory, data ECC, 1024MB, 400MHz, PC-3200
 spdmem0: 13 rows, 11 cols, 2 ranks, 4 banks/chip, 5.0ns cycle time
 spdmem0: voltage SSTL 2.5V, refresh time 7.8us (self-refreshing)
 isa0 at pcib0
 lpt0 at isa0 port 0x378-0x37b irq 7
 com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
 com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
 lm0 at isa0 port 0x290-0x297
 lm0: Winbond W83627THF Hardware monitor
 isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
 fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
 isapnp0: no ISA Plug 'n Play devices found
 timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
 atapibus0 at atabus0: 2 targets
 cd0 at atapibus0 drive 0: <GCR-8523B, , 1.03> cdrom removable
 cd0: 32-bit data port
 cd0: drive supports PIO mode 4, DMA mode 2
 cd0(piixide0:0:0): using PIO mode 4, DMA mode 2 (using DMA)
 wd0 at atabus1 drive 0: <IBM-DTLA-307030>
 wd0: drive supports 16-sector PIO transfers, LBA addressing
 wd0: 29314 MB, 59560 cyl, 16 head, 63 sec, 512 bytes/sect x 60036480 sectors
 wd0: 32-bit data port
 wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
 wd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
 wd1 at atabus2 drive 0: <WDC WD2000JD-00HBB0>
 wd1: drive supports 16-sector PIO transfers, LBA48 addressing
 wd1: 186 GB, 387621 cyl, 16 head, 63 sec, 512 bytes/sect x 390721968 sectors
 wd1: 32-bit data port
 wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
 wd1(piixide1:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
 wd2 at atabus3 drive 0: <WDC WD2000JD-00HBB0>
 wd2: drive supports 16-sector PIO transfers, LBA48 addressing
 wd2: 186 GB, 387621 cyl, 16 head, 63 sec, 512 bytes/sect x 390721968 sectors
 wd2: 32-bit data port
 wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
 wd2(piixide1:1:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
 raidattach: Asked for 8 units
 Kernelized RAIDframe activated
 Too many symbols for tree, skipping 2220 symbols
 pad: requested 1 units
 pad0: outputs: 44100Hz, 16-bit, stereo
 audio0 at pad0: half duplex
 ataraid0: found 1 RAID volume
 ld0 at ataraid0 vendtype 1 unit 0: Adaptec ATA RAID-1 array
 ld0: 186 GB, 24321 cyl, 255 head, 63 sec, 512 bytes/sect x 390721536 sectors
 RAIDframe: Searching for RAID components...
 RAIDframe: wd1d: failed to open raw device: 16
 RAIDframe: wd2d: failed to open raw device: 16
 RAIDframe: NOTICE: no RAID sets found, no root RAID possible...
 opendisk: can't open dev wd1 (16)
 opendisk: can't open dev wd2 (16)
 opendisk: can't open dev wd1 (16)
 opendisk: can't open dev wd2 (16)
 opendisk: can't open dev wd1 (16)
 opendisk: can't open dev wd2 (16)
 boot device: wd0
 root on wd0a dumps on wd0b
 dump_misc_init: max_paddr = 0x7fee0000
 mountroot: trying lfs...
 mountroot: trying ffs...
 root file system type: ffs
 init: copying out path `/sbin/init' 11
 wsdisplay0: screen 1 added (80x50, vt100 emulation)
 wsdisplay0: screen 2 added (80x50, vt100 emulation)
 wsdisplay0: screen 3 added (80x50, vt100 emulation)
 wsdisplay0: screen 4 added (80x50, vt100 emulation)
 wsdisplay0: screen 5 added (80x50, vt100 emulation)
 wsdisplay0: screen 6 added (80x25, vt100 emulation)
 wsdisplay0: screen 7 added (80x25, vt100 emulation)
 
 
 Index: sys/arch/i386/conf/GENERIC
 ===================================================================
 RCS file: /cvs/master/m-NetBSD/main/src/sys/arch/i386/conf/GENERIC,v
 retrieving revision 1.881
 diff -u -r1.881 GENERIC
 --- sys/arch/i386/conf/GENERIC 30 Jan 2008 19:58:19 -0000      1.881
 +++ sys/arch/i386/conf/GENERIC 20 Feb 2008 03:35:56 -0000
 @@ -1,3 +1,5 @@
 +# -*-sh-*-
 +#
  # $NetBSD: GENERIC,v 1.881 2008/01/30 19:58:19 ad Exp $
  #
  # GENERIC machine description file
 @@ -120,13 +122,13 @@
  #options      BUFQ_PRIOCSCAN
  
  # Diagnostic/debugging support options
 -#options      DIAGNOSTIC      # expensive kernel consistency checks
 -#options      DEBUG           # expensive debugging checks/support
 -#options      KMEMSTATS       # kernel memory statistics (vmstat -m)
 +options       DIAGNOSTIC      # expensive kernel consistency checks
 +options       DEBUG           # expensive debugging checks/support
 +options       KMEMSTATS       # kernel memory statistics (vmstat -m)
  options       DDB             # in-kernel debugger
 -#options      DDB_ONPANIC=1   # see also sysctl(8): `ddb.onpanic'
 +options       DDB_ONPANIC=1   # see also sysctl(8): `ddb.onpanic'
  options       DDB_HISTORY_SIZE=512    # enable history editing in DDB
 -#options      DDB_VERBOSE_HELP
 +options       DDB_VERBOSE_HELP
  #options      KGDB            # remote debugger
  #options      KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
  #makeoptions  DEBUG="-g"      # compile full symbol table
 @@ -321,7 +323,7 @@
  # Doesn't do anything yet.
  #p64h2apic* at pci? dev? function?    # P64H2 IOxAPIC
  
 -#apm0 at mainbus0                     # Advanced power management
 +apm0  at mainbus0                     # Advanced power management
  
  # Tuning for power management, see apm(4) for more details.
  #options      APM_NO_IDLE             # Don't call BIOS CPU idle function
 @@ -334,7 +336,7 @@
  # Basic Bus Support
  
  #IPMI support
 -#ipmi0                at mainbus?
 +ipmi0         at mainbus?
  
  # Advanced Configuration and Power Interface
  
 @@ -642,29 +644,29 @@
  #aps0         at isa? port 0x1600
  
  # iTE IT87xxF Super I/O with watchdog and sensors support
 -#itesio0      at isa? port 0x2e
 +itesio0       at isa? port 0x2e
  
  # LM7[89] and compatible hardware monitors
 -#lm0  at isa? port 0x290              # other common: 0x280, 0x310
 +lm0   at isa? port 0x290              # other common: 0x280, 0x310
  
  # SMSC LPC47B397 hardware monitor functions
 -#smsc0        at isa? port 0x02e
 +smsc0 at isa? port 0x02e
  
  # PC87366 hardware monitor
 -#nsclpcsio*   at isa?
 -#gpio*                at nsclpcsio?
 +nsclpcsio*    at isa?
 +gpio*         at nsclpcsio?
  
  # Abit uGuru Hardware system monitor
 -#ug0    at isa? port 0xe0
 +ug0    at isa? port 0xe0
  
  # VIA VT82C686A/VT8231 Hardware Monitor and Power Management Timer
 -#viaenv*      at pci? dev ? function ?
 +viaenv*       at pci? dev ? function ?
  
  # Serial Presence Detect capable memory modules
 -#spdmem* at iic? addr 0x50
 -#spdmem* at iic? addr 0x51
 -#spdmem* at iic? addr 0x52
 -#spdmem* at iic? addr 0x53
 +spdmem* at iic? addr 0x50
 +spdmem* at iic? addr 0x51
 +spdmem* at iic? addr 0x52
 +spdmem* at iic? addr 0x53
  
  # I2O devices
  iop*  at pci? dev ? function ?        # I/O processor
 @@ -676,11 +678,11 @@
  #gpio*        at gscpcib?
  
  # 1-Wire support
 -#gpioow*      at gpio? offset 6 mask 0x1      # 1-wire bitbanging via gpio
 -#onewire*     at gpioow?
 +gpioow*       at gpio? offset 6 mask 0x1      # 1-wire bitbanging via gpio
 +onewire*      at gpioow?
  
  # 1-Wire devices
 -#owtemp*      at onewire?                     # Temperature sensors
 +owtemp*       at onewire?                     # Temperature sensors
  
  # SCSI Controllers and Devices
  
 
 
 -- 
                                                Greg A. Woods
                                                Planix, Inc.
 
 <woods%planix.com@localhost>     +1 416 489-5852 x122     
http://www.planix.com/
 


Home | Main Index | Thread Index | Old Index