abituguru probe failure
Subsystems (2)
Alistair John Strachan
maintainerHi,
I have an IP35 Pro mainboard with the uGuru feature. Until recently I was using the abituguru hwmon driver without issue. Recently (possibly since upgrading the BIOS to 16) the driver no longer loads, citing:
abituguru3: no Abit uGuru3 found, data = 0x00, cmd = 0x55
After looking at the code in the driver, I found the force module parameter and tried it. Sure enough, the module loaded fine:
abituguru3-isa-00e0
Adapter: ISA adapter CPU Core: +1.28 V (min = +0.00 V, max = +1.70 V) DDR2: +2.10 V (min = +1.70 V, max = +2.54 V) DDR2 VTT: +1.04 V (min = +0.85 V, max = +1.27 V) CPU VTT 1.2V: +1.25 V (min = +1.05 V, max = +1.55 V) MCH 1.25V: +1.25 V (min = +1.00 V, max = +1.50 V) ICHIO 1.5V: +1.53 V (min = +1.20 V, max = +1.80 V) ICH 1.05V: +1.07 V (min = +0.85 V, max = +1.25 V) ATX +12V (24-Pin):+12.36 V (min = +9.60 V, max = +14.40 V) ATX +12V (8-pin): +12.36 V (min = +9.60 V, max = +14.40 V) ATX +5V: +5.04 V (min = +3.99 V, max = +6.00 V) +3.3V: +3.32 V (min = +2.64 V, max = +3.94 V) 5VSB: +5.19 V (min = +3.99 V, max = +6.00 V) CPU Fan: 0 RPM (min = 300 RPM) SYS Fan: 0 RPM (min = 300 RPM) AUX1 Fan: 1380 RPM (min = 300 RPM) AUX2 Fan: 1620 RPM (min = 300 RPM) AUX3 Fan: 0 RPM (min = 300 RPM) AUX4 Fan: 0 RPM (min = 300 RPM) CPU: +34.0°C (high = +75.0°C, crit = +85.0°C) System : +28.0°C (high = +55.0°C, crit = +65.0°C) PWM : +40.0°C (high = +80.0°C, crit = +90.0°C) PWM Phase2: +0.0°C (high = +0.0°C, crit = +255.0°C) PWM Phase3: +0.0°C (high = +0.0°C, crit = +255.0°C) PWM Phase4: +0.0°C (high = +0.0°C, crit = +255.0°C) PWM Phase5: +0.0°C (high = +0.0°C, crit = +255.0°C)
A fix that works here is to add 0x55 as an additional cmd_val check in abituguru3_detect(), but I think we all know this function is starting to look a bit suspicious. I've attached a patch which does this (tested as working), but I won't be surprised if you guys don't want to apply it.
---
drivers/hwmon/abituguru3.c +1 -1
@@ -1115,7 +1115,7 @@ static int __init abituguru3_detect(void)u8 data_val =inb_p (ABIT_UGURU3_BASE +ABIT_UGURU3_DATA );u8 cmd_val =inb_p (ABIT_UGURU3_BASE +ABIT_UGURU3_CMD );if (((data_val =0x00 ) || (data_val =0x08 )) && - ((cmd_val =0xAC ) || (cmd_val =0x05 ))) + ((cmd_val =0xAC ) || (cmd_val =0x05 ) || (cmd_val =0x55 )))return ABIT_UGURU3_BASE ; ABIT_UGURU3_DEBUG("no Abit uGuru3 found, data = 0x%02X, cmd = "
Signature · 9 lines
Cheers, Alistair. 137/1 Warrender Park Road, Edinburgh, UK. _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Alistair John Strachan
maintainerQuoted 7 lines · On Friday 16 May 2008 23:07:28 Alistair John Strachan wrote:
Hi,
I have an IP35 Pro mainboard with the uGuru feature. Until recently I was using the abituguru hwmon driver without issue. Recently (possibly since upgrading the BIOS to 16) the driver no longer loads, citing:
abituguru3: no Abit uGuru3 found, data =
0x00, cmd =0x55
^^^^
Obviously the report should have been wrt the abituguru_3_ driver.
Sorry about that, I didn't even notice the other driver.
Signature · 9 lines
Cheers, Alistair. 137/1 Warrender Park Road, Edinburgh, UK. _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 11 lines · Alistair John Strachan
Hi,
I have an IP35 Pro mainboard with the uGuru feature. Until recently I was using the abituguru hwmon driver without issue. Recently (possibly since upgrading the BIOS to 16) the driver no longer loads, citing:
abituguru3: no Abit uGuru3 found, data =
0x00, cmd =0x55After looking at the code in the driver, I found the force module parameter and tried it. Sure enough, the module loaded fine:
<snip>
Quoted 5 lines
A fix that works here is to add
0x55as an additionalcmd_valcheck inabituguru3_detect(), but I think we all know this function is starting to look a bit suspicious. I've attached a patch which does this (tested as working), but I won't be surprised if you guys don't want to apply it.
Well I'm afraid that even though that makes the detection rather weak it is still the best thing todo, having to use force with a newer BIOS is no good.
I guess that to limit any potential issues we can best first do a DMI based check to see if this is an Abit motherboard at all before doing any IO based probing, just like we are already doing for the abituguru (note no 3) driver.
Alistair, can you send me the output of the dmidecode command on your motherboard, I need that to make sure Abit hasn't changed their DMi manufacturer string on newer motherboards.
Regards,
Hans
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Alistair John Strachan
maintainerOn Friday 16 May 2008 23:20:36 Hans de Goede wrote:
[snip]
Quoted 3 lines
Well I'm afraid that even though that makes the detection rather weak it is still the best thing todo, having to use force with a newer BIOS is no good.
I suppose the more liberal the check is, the more likely a false positive is.
Quoted 4 lines
I guess that to limit any potential issues we can best first do a DMI based check to see if this is an Abit motherboard at all before doing any IO based probing, just like we are already doing for the abituguru (note no 3) driver.
This does seem like a better solution.
Quoted 3 lines
Alistair, can you send me the output of the dmidecode command on your motherboard, I need that to make sure Abit hasn't changed their DMi manufacturer string on newer motherboards.
Sure, I've inlined it here. Thanks Hans.
# dmidecode 2.9 SMBIOS 2.5 present. 35 structures occupying 1152 bytes. Table at 0x000F0000.
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: Phoenix Technologies, LTD
Version: 6.00 PG
Release Date: 03/18/2008
Address: 0xE0000
Runtime Size: 128 kB
ROM Size: 1024 kB
Characteristics:
ISA is supported
PCI is supported
PNP is supported
APM is supported
BIOS is upgradeable
BIOS shadowing is allowed
Boot from CD is supported
Selectable boot is supported
BIOS ROM is socketed
EDD is supported
5.25"/360 KB floppy services are supported (int 13h) 5.25"/1.2 MB floppy services are supported (int 13h) 3.5"/720 KB floppy services are supported (int 13h) 3.5"/2.88 MB floppy services are supported (int 13h) Print screen service is supported (int 5h) 8042 keyboard services are supported (int 9h) Serial services are supported (int 14h) Printer services are supported (int 17h) CGA/mono video services are supported (int 10h) ACPI is supported
USB legacy is supported
LS-120 boot is supported
ATAPI Zip drive boot is supported
BIOS boot specification is supported Targeted content distribution is supported
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: .
Product Name: .
Version: System Version
Serial Number: System Serial Number
UUID: 00000000-0000-0000-0000-00508DB35FDE Wake-up Type: Power Switch
SKU Number:
Family:
Handle 0x0002, DMI type 2, 10 bytes Base Board Information
Manufacturer: http://www.abit.com.tw/ Product Name: IP35 PRO(P35+ICH9R) Version: 1.0 Serial Number:
Handle 0x0003, DMI type 3, 17 bytes Chassis Information
Manufacturer: System Enclosure Manufacter
Type: Desktop
Lock: Not Present
Version: OEM
Serial Number:
Asset Tag:
Boot-up State: Unknown
Power Supply State: Unknown Thermal State: Unknown
Security Status: Unknown
OEM Information: 0x00000000
Handle 0x0004, DMI type 4, 40 bytes
Processor Information
Socket Designation: Socket 775
Type: Central Processor
Family: Pentium D
Manufacturer: Intel
ID: FD 06 00 00 FF FB EB BF
Signature: Type 0, Family 6, Model 15, Stepping 13 Flags:
FPU (Floating-point unit on-chip) VME (Virtual mode extension)
DE (Debugging extension)
PSE (Page size extension)
TSC (Time stamp counter)
MSR (Model specific registers)
PAE (Physical address extension) MCE (Machine check exception)
CX8 (CMPXCHG8 instruction supported) APIC (On-chip APIC hardware supported) SEP (Fast system call)
MTRR (Memory type range registers) PGE (Page global enable)
MCA (Machine check architecture) CMOV (Conditional move instruction supported) PAT (Page attribute table)
PSE-36 (36-bit page size extension) CLFSH (CLFLUSH instruction supported) DS (Debug store)
ACPI (ACPI supported)
MMX (MMX technology supported)
FXSR (Fast floating-point save and restore) SSE (Streaming SIMD extensions) SSE2 (Streaming SIMD extensions 2) SS (Self-snoop)
HTT (Hyper-threading technology)
TM (Thermal monitor supported)
PBE (Pending break enabled)
Version: Intel(R) Pentium(R) Dual
Voltage: 0.0 V
External Clock: 333 MHz
Max Speed: 4000 MHz
Current Speed: 2997 MHz
Status: Populated, Enabled
Upgrade: ZIF Socket
L1 Cache Handle: 0x000A
L2 Cache Handle: 0x000B
L3 Cache Handle: Not Provided
Serial Number:
Asset Tag:
Part Number:
Characteristics: None
Handle 0x0005, DMI type 5, 24 bytes Memory Controller Information
Error Detecting Method: 8-bit Parity Error Correcting Capabilities:
None
Supported Interleave: One-way Interleave Current Interleave: One-way Interleave Maximum Memory Module Size: 2048 MB Maximum Total Memory Size: 8192 MB Supported Speeds:
Other
Supported Memory Types:
DIMM
Memory Module Voltage: 5.0 V Associated Memory Slots: 4
0x0006
0x0007
0x0008
0x0009
Enabled Error Correcting Capabilities:
None
Handle 0x0006, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: A0
Bank Connections: 0 1
Current Speed: Unknown
Type: DIMM
Installed Size: 2048 MB (Double-bank Connection) Enabled Size: 2048 MB (Double-bank Connection) Error Status: OK
Handle 0x0007, DMI type 6, 12 bytes Memory Module Information
Socket Designation: A1 Bank Connections: None Current Speed: Unknown
Type: Unknown
Installed Size: Not Installed Enabled Size: Not Installed Error Status: OK
Handle 0x0008, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: A2
Bank Connections: 4 5
Current Speed: Unknown
Type: DIMM
Installed Size: 2048 MB (Double-bank Connection) Enabled Size: 2048 MB (Double-bank Connection) Error Status: OK
Handle 0x0009, DMI type 6, 12 bytes Memory Module Information
Socket Designation: A3 Bank Connections: None Current Speed: Unknown
Type: Unknown
Installed Size: Not Installed Enabled Size: Not Installed Error Status: OK
Handle 0x000A, DMI type 7, 19 bytes
Cache Information
Socket Designation: Internal Cache
Configuration: Enabled, Not Socketed, Level 1 Operational Mode: Write Back
Location: Internal
Installed Size: 32 KB
Maximum Size: 32 KB
Supported SRAM Types:
Synchronous
Installed SRAM Type: Synchronous
Speed: Unknown
Error Correction Type: Unknown
System Type: Unknown
Associativity: Unknown
Handle 0x000B, DMI type 7, 19 bytes
Cache Information
Socket Designation: External Cache
Configuration: Enabled, Not Socketed, Level 2 Operational Mode: Write Back
Location: External
Installed Size: 1024 KB
Maximum Size: 1024 KB
Supported SRAM Types:
Synchronous
Installed SRAM Type: Synchronous
Speed: Unknown
Error Correction Type: Unknown
System Type: Unknown
Associativity: Unknown
Handle 0x000C, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: PRIMARY IDE Internal Connector Type: On Board IDE External Reference Designator: Not Specified External Connector Type: None
Port Type: Other
Handle 0x000D, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: SECONDARY IDE Internal Connector Type: On Board IDE External Reference Designator: Not Specified External Connector Type: None
Port Type: Other
Handle 0x000E, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: FDD Internal Connector Type: On Board Floppy External Reference Designator: Not Specified External Connector Type: None
Port Type: 8251 FIFO Compatible
Handle 0x000F, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: COM1
Internal Connector Type: 9 Pin Dual Inline (pin 10 cut) External Reference Designator:
External Connector Type: DB-9 male
Port Type: Serial Port 16450 Compatible
Handle 0x0010, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: COM2
Internal Connector Type: 9 Pin Dual Inline (pin 10 cut) External Reference Designator:
External Connector Type: DB-9 male
Port Type: Serial Port 16450 Compatible
Handle 0x0011, DMI type 8, 9 bytes Port Connector Information
Internal Reference Designator: LPT1 Internal Connector Type: DB-25 female External Reference Designator:
External Connector Type: DB-25 female Port Type: Parallel Port ECP/EPP
Handle 0x0012, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: Keyboard Internal Connector Type: PS/2 External Reference Designator:
External Connector Type: PS/2 Port Type: Keyboard Port
Handle 0x0013, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: PS/2 Mouse Internal Connector Type: PS/2 External Reference Designator:
External Connector Type: PS/2 Port Type: Mouse Port
Handle 0x0014, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: Not Specified Internal Connector Type: None External Reference Designator: USB0 External Connector Type: Other
Port Type: USB
Handle 0x0015, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: Not Specified Internal Connector Type: None External Reference Designator: USB1 External Connector Type: Other
Port Type: USB
Handle 0x0016, DMI type 13, 22 bytes BIOS Language Information
Installable Languages: 3 n|US|iso8859-1 n|US|iso8859-1 r|CA|iso8859-1 Currently Installed Language: n|US|iso8859-1
Handle 0x0017, DMI type 16, 15 bytes Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None Maximum Capacity: 4 GB
Error Information Handle: Not Provided Number Of Devices: 4
Handle 0x0018, DMI type 17, 27 bytes Memory Device
Array Handle: 0x0017
Error Information Handle: Not Provided Total Width: 64 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: DIMM
Set: None
Locator: A0
Bank Locator: Bank0/1
Type: Unknown
Type Detail: Synchronous
Speed: 800 MHz (1.2 ns)
Manufacturer: Not Specified Serial Number: Not Specified Asset Tag: Not Specified
Part Number: Not Specified
Handle 0x0019, DMI type 17, 27 bytes Memory Device
Array Handle: 0x0017
Error Information Handle: Not Provided Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: A1
Bank Locator: Bank2/3
Type: Unknown
Type Detail: Unknown
Speed: Unknown
Manufacturer: Not Specified Serial Number: Not Specified Asset Tag: Not Specified
Part Number: Not Specified
Handle 0x001A, DMI type 17, 27 bytes Memory Device
Array Handle: 0x0017
Error Information Handle: Not Provided Total Width: 64 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: DIMM
Set: None
Locator: A2
Bank Locator: Bank4/5
Type: Unknown
Type Detail: Synchronous
Speed: 800 MHz (1.2 ns)
Manufacturer: Not Specified Serial Number: Not Specified Asset Tag: Not Specified
Part Number: Not Specified
Handle 0x001B, DMI type 17, 27 bytes Memory Device
Array Handle: 0x0017
Error Information Handle: Not Provided Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: A3
Bank Locator: Bank6/7
Type: Unknown
Type Detail: Unknown
Speed: Unknown
Manufacturer: Not Specified Serial Number: Not Specified Asset Tag: Not Specified
Part Number: Not Specified
Handle 0x001C, DMI type 19, 15 bytes Memory Array Mapped Address
Starting Address: 0x00000000000 Ending Address: 0x000FFFFFFFF Range Size: 4 GB Physical Array Handle: 0x0017 Partition Width: 0
Handle 0x001D, DMI type 20, 19 bytes Memory Device Mapped Address
Starting Address: 0x00000000000 Ending Address: 0x0007FFFFFFF Range Size: 2 GB Physical Device Handle: 0x0018 Memory Array Mapped Address Handle: 0x001C Partition Row Position: 1
Handle 0x001E, DMI type 20, 19 bytes Memory Device Mapped Address
Starting Address: 0x00000000000 Ending Address: 0x000000003FF Range Size: 1 kB Physical Device Handle: 0x0019 Memory Array Mapped Address Handle: 0x001C Partition Row Position: 1
Handle 0x001F, DMI type 20, 19 bytes Memory Device Mapped Address
Starting Address: 0x00080000000 Ending Address: 0x000FFFFFFFF Range Size: 2 GB Physical Device Handle: 0x001A Memory Array Mapped Address Handle: 0x001C Partition Row Position: 1
Handle 0x0020, DMI type 20, 19 bytes Memory Device Mapped Address
Starting Address: 0x00000000000 Ending Address: 0x000000003FF Range Size: 1 kB Physical Device Handle: 0x001B Memory Array Mapped Address Handle: 0x001C Partition Row Position: 1
Handle 0x0021, DMI type 32, 11 bytes System Boot Information
Status: No errors detected
Handle 0x0022, DMI type 127, 4 bytes End Of Table
Signature · 9 lines
Cheers, Alistair. 137/1 Warrender Park Road, Edinburgh, UK. _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors