bbc, envctrl and sun blade 2000
Hello,
I recently install a debian on a SunBlade 2000, using etch netinstall because sarge one do not handle USB keyboard.
After finding that I need to load qlogiqfc on tty2 to see my disk in the partition tool, and to /etc/yaird/Default.cfg, my debian is running.
CPUFreq works but there is no control on the fans and CPU temperature.
I try to modprobe bbc and envctrl but the answer is "no such device".
dmesg show me this:
ebus0: [flashprom] [bbc] [ppm] [i2c -> (dimm-fru) (dimm-fru)
(dimm-fru) (dimm-fru) (nvram) (idprom)] [i2c -> (cpu-fru) (temperature) (cpu-fru) (temperature) (fan-control) (card-reader) (motherboard-fru) (i2c-bridge)] [beep] [audio] [rtc] [gpio] [pmc] [floppy] [para llel] [serial]
So the bbc device is listed, recognised on ebus0 but the module can not load.
Do you have some hints ?
I try 2.6.15 from debian, 2.6.15.6 from kernel.org and 2.6.16-rc6 from kernel.org.
Regards.
Signature · 3 lines
Daniel 'NebuchadnezzaR' Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x2A408F69
Hello,
I recently install a debian on a SunBlade 2000, using etch netinstall because sarge one do not handle USB keyboard.
After finding that I need to load qlogiqfc on tty2 to see my disk in the partition tool, and to /etc/yaird/Default.cfg, my debian is running.
CPUFreq works but there is no control on the fans and CPU temperature.
I try to modprobe bbc and envctrl but the answer is "no such device".
dmesg show me this:
ebus0: [flashprom] [bbc] [ppm] [i2c -> (dimm-fru) (dimm-fru)
(dimm-fru) (dimm-fru) (nvram) (idprom)] [i2c -> (cpu-fru) (temperature) (cpu-fru) (temperature) (fan-control) (card-reader) (motherboard-fru) (i2c-bridge)] [beep] [audio] [rtc] [gpio] [pmc] [floppy] [para llel] [serial]
So the bbc device is listed, recognised on ebus0 but the module can not load.
Do you have some hints ?
I try 2.6.15 from debian, 2.6.15.6 from kernel.org and 2.6.16-rc6 from kernel.org.
Regards.
Signature · 3 lines
Daniel 'NebuchadnezzaR' Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x2A408F69
From: Daniel 'NebuchadnezzaR' Dehennin <[email protected]>
Date: Thu, 16 Mar 2006 19:28:15 +0100
Quoted 10 lines
ebus0: [flashprom] [bbc] [ppm] [i2c -> (dimm-fru) (dimm-fru)
(dimm-fru) (dimm-fru) (nvram) (idprom)] [i2c -> (cpu-fru) (temperature) (cpu-fru) (temperature) (fan-control) (card-reader) (motherboard-fru) (i2c-bridge)] [beep] [audio] [rtc] [gpio] [pmc] [floppy] [para llel] [serial]So the bbc device is listed, recognised on ebus0 but the module can not load.
Do you have some hints ?
The kernel only allows the module to be loaded on platforms where we know the driver will work instead of erasing your hard disk. And currently the list of known and tested cases is SunBlade 1000.
Le 4579 Septembre 1993, David S. Miller a tapoté:
Quoted 3 lines
The kernel only allows the module to be loaded on platforms where we know the driver will work instead of erasing your hard disk. And currently the list of known and tested cases is SunBlade 1000.
Ok, can I help to add SunBlade 2000 ?
The machine is not in production, I can give shell access if necessary.
Regards.
Signature · 3 lines
Daniel 'NebuchadnezzaR' Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x2A408F69
From: Daniel 'NebuchadnezzaR' Dehennin <[email protected]>
Date: Fri, 17 Mar 2006 07:38:17 +0100
Quoted 6 lines
Le 4579 Septembre 1993, David S. Miller a tapoté:
Quoted 3 lines
The kernel only allows the module to be loaded on platforms where we know the driver will work instead of erasing your hard disk. And currently the list of known and tested cases is SunBlade 1000.
Ok, can I help to add SunBlade 2000 ?
Only if you can do the heavy lifting of building new kernels, modifying the conditional, testing the result and sending a working patch after the testing.
I simply don't have the time right now to do the hand holding, sorry.
Quoted 6 lines · David S. Miller
Quoted 6 lines
Le 4579 Septembre 1993, David S. Miller a tapoté:
Quoted 3 lines
The kernel only allows the module to be loaded on platforms where we know the driver will work instead of erasing your hard disk. And currently the list of known and tested cases is SunBlade 1000.
Ok, can I help to add SunBlade 2000 ?
The sb1k is identical to the sb2k except for the faster Procs (I event hink the mobos are identical). 'uname -a' on an sb2k even reports it as a sb1k so I'm surprised that something would work on an sb1k and not on an sb2k...
Just my 2c,
Vincent
From: [email protected]
Date: Fri, 17 Mar 2006 09:53:49 +0100 (CET)
Quoted 4 lines
The sb1k is identical to the sb2k except for the faster Procs (I event hink the mobos are identical). 'uname -a' on an sb2k even reports it as a sb1k so I'm surprised that something would work on an sb1k and not on an sb2k...
It checks for cheetah processors. If he has cheetah+ or later chips in there, the driver will not load.
Le 4580 Septembre 1993, David S. Miller a tapoté:
Quoted 3 lines
Only if you can do the heavy lifting of building new kernels, modifying the conditional, testing the result and sending a working patch after the testing.
I'll try, building kernels is ok, modifying the conditional may be the most difficult for me ;-)
Quoted 1 line
I simply don't have the time right now to do the hand holding, sorry.
I understand, thanks a lot.
Signature · 3 lines
Daniel 'NebuchadnezzaR' Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x2A408F69
Le 4580 Septembre 1993, David S. Miller a tapoté:
Quoted 3 lines
Only if you can do the heavy lifting of building new kernels, modifying the conditional, testing the result and sending a working patch after the testing.
I'll try, building kernels is ok, modifying the conditional may be the most difficult for me ;-)
Quoted 1 line
I simply don't have the time right now to do the hand holding, sorry.
I understand, thanks a lot.
Signature · 3 lines
Daniel 'NebuchadnezzaR' Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x2A408F69
Le 4579 Septembre 1993, Daniel Dehennin a tapoté:
Quoted 3 lines
Hello,
I recently install a debian on a SunBlade 2000, using etch netinstall
[...]
Quoted 1 line
Regards.
I see that there is no licence stuff in bbc and envctrl, they taint my kernel :-/
Regards.
Signature · 3 lines
Daniel 'NebuchadnezzaR' Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x2A408F69
Le 4580 Septembre 1993, David S. Miller a tapoté:
Quoted 3 lines
Only if you can do the heavy lifting of building new kernels, modifying the conditional, testing the result and sending a working patch after the testing.
Ok, I modify the test in bbc_i2c_init to include cheetah_plus:
From dmesg:
bbc: module license 'unspecified' taints kernel.
EBUS i2c-0: Regs at 000007fe7e00002e, 6 devices, own a0, clock 10.
i2c-1: Regs at 000007fe7e000030, 8 devices, own a0, clock 10.bbc_envctrl: kenvctrld starting...
So it works, fan follow the cpu usage, is there a place to look at temperature and fans speed ?
The module envctrl do not load: "no such device".
Follwing, the inlined patch.
Regards.
Signature · 3 lines
Daniel 'NebuchadnezzaR' Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x2A408F69
sbus/char/bbc_i2c.c renamed from sbus/char/bbc_i2c.c.orig +1 -1
@@ -440,7 +440,7 @@struct linux_ebus_device *edev =NULL ;int err, index =0 ; -if (tlb_type != cheetah || !bbc_present ()) +if ((tlb_type != cheetah && tlb_type != cheetah_plus) || !bbc_present ())return -ENODEV ;for_each_ebus (ebus) {
On 3/17/06, Daniel 'NebuchadnezzaR' Dehennin <[email protected]> wrote:
[ ... ]
Quoted 1 line
The module envctrl do not load: "no such device".
The envctrl module is not suitable for your SB2000 system-- the version currently in 2.6.x supports only the CP1400/CP1500/Netra-T1/105 plaform. I -think- you want bbc only.
--
E
Le 4580 Septembre 1993, Eric Brower a tapoté:
Quoted 3 lines
The envctrl module is not suitable for your SB2000 system-- the version currently in 2.6.x supports only the CP1400/CP1500/Netra-T1/105 plaform. I -think- you want bbc only.
Ok, thanks a lot. is there a way to get infos about temperature and fans speed ?
Regards.
Signature · 3 lines
Daniel 'NebuchadnezzaR' Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x2A408F69
Quoted 7 lines · Daniel 'NebuchadnezzaR' Dehennin
Le 4580 Septembre 1993, Eric Brower a tapoté:
Quoted 3 lines
The envctrl module is not suitable for your SB2000 system-- the version currently in 2.6.x supports only the CP1400/CP1500/Netra-T1/105 plaform. I -think- you want bbc only.
Ok, thanks a lot. is there a way to get infos about temperature and fans speed ?
The current bbc driver does not export this information to userspace. It should be straightforward to implement, though.
E
Quoted 11 lines
Regards.
--
Daniel 'NebuchadnezzaR' Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys0x2A408F69
-
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
--
E
From: Daniel 'NebuchadnezzaR' Dehennin <[email protected]>
Date: Fri, 17 Mar 2006 17:12:38 +0100
Quoted 2 lines
I see that there is no licence stuff in bbc and envctrl, they taint my kernel :-/
I'll fix that, thanks for the report.
From: Daniel 'NebuchadnezzaR' Dehennin <[email protected]>
Date: Fri, 17 Mar 2006 19:28:15 +0100
Quoted 13 lines
Le 4580 Septembre 1993, David S. Miller a tapoté:
Quoted 3 lines
Only if you can do the heavy lifting of building new kernels, modifying the conditional, testing the result and sending a working patch after the testing.
Ok, I modify the test in
bbc_i2c_initto includecheetah_plus:
From dmesg:bbc: module license 'unspecified' taints kernel.
EBUS i2c-0: Regs at000007fe7e00002e, 6 devices, own a0, clock 10.
i2c-1: Regs at000007fe7e000030, 8 devices, own a0, clock 10.bbc_envctrl: kenvctrld starting...
Quoted 4 lines
So it works, fan follow the cpu usage, is there a place to look at temperature and fans speed ?
The module envctrl do not load: "no such device".
envctrl is for SME compact-pci CP1500 systems and similar.
bbc_envctrl just monitors the temperature and changes the fan speeds automatically, it does not export the temp and fan speed values in any way outside of the kernel
From: Daniel 'NebuchadnezzaR' Dehennin <[email protected]>
Date: Fri, 17 Mar 2006 20:27:07 +0100
Quoted 7 lines
Le 4580 Septembre 1993, Eric Brower a tapoté:
Quoted 3 lines
The envctrl module is not suitable for your SB2000 system-- the version currently in 2.6.x supports only the CP1400/CP1500/Netra-T1/105 plaform. I -think- you want bbc only.
Ok, thanks a lot. is there a way to get infos about temperature and fans speed ?
No.