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

R: R: performance information



>>
>> My second question was about disks status led: It could be fine to see the lighted when they
>> are working. With the original software they lights on traffic, so I think that they are not
>> broken.

>The disks leds are disabled by default and don't have a trigger to
>enable them. Look at the /sys/class/leds/ directory. If you want to
>enable them, echo '1' in the brightness file. For instance:

>echo 1 > /sys/class/leds/HD1:green/brightness

>The hardware will do the rest for the disk I/O access for the green
>leds.

As I said yesterday, I have no /sys/class/leds directory, probably because I cannot load
any led module. Actually I haven't any led-module. But If I enable leds in menuconfig,
I obtain compiled modules :
storage01:/usr/src/linux-2.6# dir /lib/modules/2.6.25.1/kernel/drivers/leds/
total 340
drwxr-xr-x 2 root root  4096 Nov 19 11:48 .
drwxr-xr-x 7 root root  4096 Nov 19 11:48 ..
-rw-r--r-- 1 root root 79140 Nov 19 11:48 led-class.ko
-rw-r--r-- 1 root root 77905 Nov 19 11:48 leds-gpio.ko
-rw-r--r-- 1 root root 74156 Nov 19 11:48 ledtrig-heartbeat.ko
-rw-r--r-- 1 root root 78594 Nov 19 11:48 ledtrig-timer.ko

If I try ro modprobe let's say led-class, I get errors:
led_class: Unknown symbol leds_list_lock
led_class: Unknown symbol led_trigger_store
led_class: Unknown symbol leds_list
led_class: Unknown symbol led_trigger_set
led_class: Unknown symbol led_trigger_show
led_class: Unknown symbol led_trigger_set_default

and the module does not load.
What I am missing ?
searching the net I find this:
http://lkml.indiana.edu/hypermail/linux/kernel/0702.1/1660.html

When I produced zImage Actually I haven't leds selected: do you think I can try to
recreate zImage ?

Andrea


Reply to: