Skip to contentSkip to conversation

temperature & fan-control

DISCUSSION Frans van Berckel 3 participants 8 messages Oct 23, 2009 – Nov 1, 2009

lore
Share & tools
lore
#0 lore raw

Hi,

Is speeding the fans on a Blade 1000/2000 and Fire 280R well supported by the kernel? What sensor modules & tools are needed to compile?

Thanks,

Frans van Berckel

uname -a: Linux sunbladesrv249 2.6.32-rc5-kernelbuilder #1 SMP Tue Oct 20 23:34:41 CEST 2009 sparc GNU/Linux

prtconf:     pci (driver probably installed)
prtconf:         ebus (driver probably installed)
prtconf:             flashprom (driver probably installed)
prtconf:             bbc (driver probably installed)
prtconf:             ppm (driver probably installed)
prtconf:             i2c (driver probably installed)
prtconf:                 dimm-fru (driver probably installed)
prtconf:                 dimm-fru (driver probably installed)
prtconf:                 dimm-fru (driver probably installed)
prtconf:                 dimm-fru (driver probably installed)
prtconf:                 dimm-fru (driver probably installed)
prtconf:                 dimm-fru (driver probably installed)
prtconf:                 dimm-fru (driver probably installed)
prtconf:                 dimm-fru (driver probably installed)
prtconf:                 nvram (driver probably installed)
prtconf:                 idprom (driver probably installed)
prtconf:             i2c (driver probably installed)
prtconf:                 cpu-fru (driver probably installed)
prtconf:                 temperature (driver probably installed)
prtconf:                 cpu-fru (driver probably installed)
prtconf:                 temperature (driver probably installed)
prtconf:                 fan-control (driver probably installed)
prtconf:                 card-reader (driver probably installed)
prtconf:                 motherboard-fru (driver probably installed)
prtconf:                 i2c-bridge (driver probably installed)

lsmod: Module Size Used by
lsmod: openpromfs 4731 1
lsmod: evdev 8479 0
lsmod: sd_mod 32227 4
lsmod: crc_t10dif 1507 1 sd_mod
lsmod: sg 27580 0
lsmod: sr_mod 14561 0
lsmod: cdrom 36852 1 sr_mod
lsmod: qla2xxx 231393 3
lsmod: scsi_transport_fc 43776 1 qla2xxx
lsmod: ohci_hcd 19010 0
lsmod: sym53c8xx 73756 0
lsmod: ohci1394 27982 0
lsmod: scsi_tgt 10531 1 scsi_transport_fc
lsmod: ehci_hcd 33847 0
lsmod: scsi_transport_spi 23476 1 sym53c8xx
lsmod: scsi_mod 163367 8 sd_mod,sg, sr_mod,qla2xxx,
scsi_transport_fc, sym53c8xx, scsi_tgt, scsi_transport_spi
lsmod: ieee1394 84208 1 ohci1394

#1 lore raw
Quoted 59 lines · Frans van Berckel

Hi,

Is speeding the fans on a Blade 1000/2000 and Fire 280R well supported by the kernel? What sensor modules & tools are needed to compile?

Thanks,

Frans van Berckel

uname -a: Linux sunbladesrv249 2.6.32-rc5-kernelbuilder #1 SMP Tue Oct 20 23:34:41 CEST 2009 sparc GNU/Linux

prtconf:     pci (driver probably installed)
prtconf:         ebus (driver probably installed)
prtconf:             flashprom (driver probably installed)
prtconf:             bbc (driver probably installed)
prtconf:             ppm (driver probably installed)
prtconf:             i2c (driver probably installed)
prtconf:                 dimm-fru (driver probably installed)
prtconf:                 dimm-fru (driver probably installed)
prtconf:                 dimm-fru (driver probably installed)
prtconf:                 dimm-fru (driver probably installed)
prtconf:                 dimm-fru (driver probably installed)
prtconf:                 dimm-fru (driver probably installed)
prtconf:                 dimm-fru (driver probably installed)
prtconf:                 dimm-fru (driver probably installed)
prtconf:                 nvram (driver probably installed)
prtconf:                 idprom (driver probably installed)
prtconf:             i2c (driver probably installed)
prtconf:                 cpu-fru (driver probably installed)
prtconf:                 temperature (driver probably installed)
prtconf:                 cpu-fru (driver probably installed)
prtconf:                 temperature (driver probably installed)
prtconf:                 fan-control (driver probably installed)
prtconf:                 card-reader (driver probably installed)
prtconf:                 motherboard-fru (driver probably installed)
prtconf:                 i2c-bridge (driver probably installed)

lsmod: Module Size Used by
lsmod: openpromfs 4731 1
lsmod: evdev 8479 0
lsmod: sd_mod 32227 4
lsmod: crc_t10dif 1507 1 sd_mod
lsmod: sg 27580 0
lsmod: sr_mod 14561 0
lsmod: cdrom 36852 1 sr_mod
lsmod: qla2xxx 231393 3
lsmod: scsi_transport_fc 43776 1 qla2xxx
lsmod: ohci_hcd 19010 0
lsmod: sym53c8xx 73756 0
lsmod: ohci1394 27982 0
lsmod: scsi_tgt 10531 1 scsi_transport_fc
lsmod: ehci_hcd 33847 0
lsmod: scsi_transport_spi 23476 1 sym53c8xx
lsmod: scsi_mod 163367 8 sd_mod,sg, sr_mod,qla2xxx,
scsi_transport_fc, sym53c8xx, scsi_tgt, scsi_transport_spi
lsmod: ieee1394 84208 1 ohci1394

Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Frans,

can't say about the 280R, but the fan control on the Blade 1000/2000 worked until kernel 2.6.29, when it stopped working and hasn't worked since then. If you downgrade to a 2.6.28 kernel for example, you don't need any tool for it to work, you just need the CONFIG_ENVCTRL option enabled in your kernel either as built-in or as a module.

@all: feel free to correct me if i'm wrong :)

#2 lore raw
In reply to Frans van Berckel
Quoted 12 lines · Raúl Porcel
Quoted 8 lines · Frans van Berckel

Hi,

Is speeding the fans on a Blade 1000/2000 and Fire 280R well supported by the kernel? What sensor modules & tools are needed to compile?

Thanks,

Frans van Berckel

Frans,

Quoted 7 lines

can't say about the 280R, but the fan control on the Blade 1000/2000 worked until kernel 2.6.29, when it stopped working and hasn't worked since then. If you downgrade to a 2.6.28 kernel for example, you don't need any tool for it to work, you just need the CONFIG_ENVCTRL option enabled in your kernel either as built-in or as a module.

@all: feel free to correct me if i'm wrong :)

Hi Raúl,

Thanks for guiding. Did some testing & checking the envctrl sources, I found out it got to be the bbc parts for the SunBLADE-1000.

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=tree;f=drivers/sbus/char;hb=HEAD

Next I did boot into 2.6.28-6-sparc64-smp but modprobe show's the -22 error while loading the bbc module and does not slow down the fans.

Oct 24 16:35:20 sunbladesrv249 kernel: [  994.142927] i2c-0: Regs at
000007fe7e00002e, 8 devices, own a0, clock 10.
Oct 24 16:35:20 sunbladesrv249 kernel: [  994.145987] bbc_i2c: probe of

f007f00c failed with error -22

So that's faling. I just did upgrade to Sun IEEE Boot Prom 'OBP 4.16.4 2004/12/18 05:18', to be sure but isn't solving my problem.

Did you start a bug ticket yet?

Thanks,

Frans van Berckel

#3 lore raw
In reply to Frans van Berckel
Quoted 38 lines · Frans van Berckel
Quoted 11 lines · Raúl Porcel
Quoted 8 lines · Frans van Berckel

Hi,

Is speeding the fans on a Blade 1000/2000 and Fire 280R well supported by the kernel? What sensor modules & tools are needed to compile?

Thanks,

Frans van Berckel

Frans,

Quoted 7 lines

can't say about the 280R, but the fan control on the Blade 1000/2000 worked until kernel 2.6.29, when it stopped working and hasn't worked since then. If you downgrade to a 2.6.28 kernel for example, you don't need any tool for it to work, you just need the CONFIG_ENVCTRL option enabled in your kernel either as built-in or as a module.

@all: feel free to correct me if i'm wrong :)

Hi Raúl,

Thanks for guiding. Did some testing & checking the envctrl sources, I found out it got to be the bbc parts for the SunBLADE-1000.

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=tree;f=drivers/sbus/char;hb=HEAD

Next I did boot into 2.6.28-6-sparc64-smp but modprobe show's the -22 error while loading the bbc module and does not slow down the fans.

Oct 24 16:35:20 sunbladesrv249 kernel: [  994.142927] i2c-0: Regs at
000007fe7e00002e, 8 devices, own a0, clock 10.
Oct 24 16:35:20 sunbladesrv249 kernel: [  994.145987] bbc_i2c: probe of

f007f00c failed with error -22

So that's faling. I just did upgrade to Sun IEEE Boot Prom 'OBP 4.16.4 2004/12/18 05:18', to be sure but isn't solving my problem.

Quoted 10 lines

Did you start a bug ticket yet?

Thanks,

Frans van Berckel

Hi,

maybe it was 2.6.27 the latest working? And no, i didn't file a bug, feel free to do it yourself.

#4 lore raw
In reply to Frans van Berckel
Quoted 4 lines · Raúl Porcel

Hi,

maybe it was 2.6.27 the latest working? And no, i didn't file a bug, feel free to do it yourself.

Building kernels and found out so far, this does the bbc module well ...

linux-image-2.6.27.38-kernelbuilder_2.6.27.38-kernelbuilder

Nov  1 00:12:09 sunbladesrv249 kernel: [  119.998414] i2c-0: Regs at
000007fe7e00002e, 8 devices, own a0, clock 10.
Nov  1 00:12:09 sunbladesrv249 kernel: [  120.001615] i2c-1: Regs at
000007fe7e000030, 8 devices, own a0, clock 10.
Nov  1 00:12:09 sunbladesrv249 kernel: [  120.044808] bbc_envctrl:

kenvctrld starting...

but this one ... does not.

linux-image-2.6.28.10-kernelbuilder_2.6.28.10-kernelbuilder

A the strange thing is, .27 got newer patches then .28. Next is one of the first .29.

Thanks,

Frans van Berckel

#5 lore raw
In reply to Frans van Berckel
Quoted 49 lines · Raúl Porcel
Quoted 37 lines · Frans van Berckel
Quoted 11 lines · Raúl Porcel
Quoted 8 lines · Frans van Berckel

Hi,

Is speeding the fans on a Blade 1000/2000 and Fire 280R well supported by the kernel? What sensor modules & tools are needed to compile?

Thanks,

Frans van Berckel

Frans,

Quoted 7 lines

can't say about the 280R, but the fan control on the Blade 1000/2000 worked until kernel 2.6.29, when it stopped working and hasn't worked since then. If you downgrade to a 2.6.28 kernel for example, you don't need any tool for it to work, you just need the CONFIG_ENVCTRL option enabled in your kernel either as built-in or as a module.

@all: feel free to correct me if i'm wrong :)

Hi Raúl,

Thanks for guiding. Did some testing & checking the envctrl sources, I found out it got to be the bbc parts for the SunBLADE-1000.

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=tree;f=drivers/sbus/char;hb=HEAD

Next I did boot into 2.6.28-6-sparc64-smp but modprobe show's the -22 error while loading the bbc module and does not slow down the fans.

Oct 24 16:35:20 sunbladesrv249 kernel: [  994.142927] i2c-0: Regs at
000007fe7e00002e, 8 devices, own a0, clock 10.
Oct 24 16:35:20 sunbladesrv249 kernel: [  994.145987] bbc_i2c: probe of

f007f00c failed with error -22

So that's faling. I just did upgrade to Sun IEEE Boot Prom 'OBP 4.16.4 2004/12/18 05:18', to be sure but isn't solving my problem.

Quoted 10 lines

Did you start a bug ticket yet?

Thanks,

Frans van Berckel

Quoted 4 lines

Hi,

maybe it was 2.6.27 the latest working? And no, i didn't file a bug, feel free to do it yourself.

	Hello,

	2.6.27 is the last usable kernel on Blade 2000. I run a 2.6.28.10 with 

some patches and env_bbc is initialized. Module can be unloaded without Oops, but no information is read.

I have disabled bbc on all my Blades because bbc module (2.6.27)
randomly returns very strange values (more than 85 °C) and workstation switches off. It can happen when these workstations do not run anything. These workstations are clean and run without any trouble with Solaris.

When bbc returns an overheating event, fan speed is not set to its
maximum value. I have try to debug without any success because I cannot reproduce it.

Regards,

JKB

#6 lore raw
In reply to Frans van Berckel
Quoted 11 lines
	Hello,

	2.6.27 is the last usable kernel on Blade 2000. I run a 2.6.28.10 with 

some patches and env_bbc is initialized. Module can be unloaded without Oops, but no information is read.

I have disabled bbc on all my Blades because bbc module (2.6.27)
randomly returns very strange values (more than 85 °C) and workstation switches off. It can happen when these workstations do not run anything. These workstations are clean and run without any trouble with Solaris.

Quoted 7 lines

When bbc returns an overheating event, fan speed is not set to its
maximum value. I have try to debug without any success because I cannot reproduce it.

Regards,

JKB

Talking about env_bbc the Have you seen how the max1617 i2c devices are supported in Open Solaris?

max1617.c & envctrl_targets.c
http://tinyurl.com/ykmufdv
http://tinyurl.com/yfn8y2z

Thanks,

Frans van Berckel

#7 lore raw
In reply to Frans van Berckel
Quoted 15 lines · Frans van Berckel
Quoted 15 lines
	Hello,

	2.6.27 is the last usable kernel on Blade 2000. I run a 2.6.28.10 with 

some patches and env_bbc is initialized. Module can be unloaded without Oops, but no information is read.

I have disabled bbc on all my Blades because bbc module (2.6.27)
randomly returns very strange values (more than 85 °C) and workstation switches off. It can happen when these workstations do not run anything. These workstations are clean and run without any trouble with Solaris.

When bbc returns an overheating event, fan speed is not set to its
maximum value. I have try to debug without any success because I cannot reproduce it.

Quoted 6 lines
Quoted 3 lines

Regards,

JKB

Talking about env_bbc the Have you seen how the max1617 i2c devices are supported in Open Solaris?

I have never installed OpenSolaris on these workstations, only Solaris 10.

JKB