DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-12-06 16:11:01

rcblackwell
Member
From: Pickering, ON
Registered: 2008-05-19
Posts: 204
Website

e2fsck Script - Unable to Control Fan

I'm having a little problem using fsck utilities provided by FONZ. When attempting to set speed of the DNS323 fan with the command "echo 150 >/sys/class/i2c-adapter/i2c-0/0-003e/pwm1" an error is generated. The error message follows;

-sh: cannot create /sys/class/i2c-adapter/i2c-0/0-003e/pwm1: nonexistent directory

Also; Running the ./no-bash-reload.sh generates a mount error

/mnt/HD_a2/ffp/fsck # ./no-bash-reload.sh
kernel:   /mnt/HD_a2/ffp/fsck/zImage-2.6.12.6
cmdline:  console=ttyS0,115200 ip=192.168.1.50::192.168.1.1:255.255.255.0:DNS323
_NAS:egiga0:none
machtype: 526
+ sync
+ mount -o remount -r /mnt/HD_a2
+ mount -o remount -r /mnt/HD_a4
+ mount -o remount -r /mnt/HD_b2
+ mount -o remount -r /mnt/HD_b4
+ mount -o remount -r -a
mount: mounting rootfs on / failed: Invalid argument
mount: mounting /dev/root on / failed: No such file or directory
+ mount
rootfs on / type rootfs (rw)
/dev/root on / type ext2 (rw)
proc on /proc type proc (rw,nodiratime)
/dev/loop0 on /sys/crfs type cramfs (ro)
/dev/sda2 on /mnt/HD_a2 type ext2 (ro)
/dev/sdb2 on /mnt/HD_b2 type ext2 (ro)
/dev/sda4 on /mnt/HD_a4 type ext2 (ro)
/dev/sdb4 on /mnt/HD_b4 type ext2 (ro)
none on /proc/bus/usb type usbfs (rw)
/dev/sdc1 on /mnt/USB type ext2 (rw)
devpts on /dev/pts type devpts (rw)
+ sync
+ sleep 1
+ insmod /mnt/HD_a2/ffp/fsck/reloaded-2.6.12.6-arm1.ko machtype=526 kernel=/mnt/HD_a2/ffp/fsck/zImage-2.6.12.6 initrd=/mnt/HD_a2/ffp/fsck/fsck-initramfs.gz cmdline=console=ttyS0,115200 ip=XXX.XXX.XXX.XXX::XXX.XXX.XXX.XXX:XXX.XXX.XXX.XXX:XXXXXXXXXXXXX:egiga0:none

Any insight on these issues would be appreciated.

Last edited by rcblackwell (2008-12-06 16:14:29)


Bob Blackwell
Pickering, ON

Offline

 

#2 2008-12-06 20:26:39

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: e2fsck Script - Unable to Control Fan

rcblackwell wrote:

-sh: cannot create /sys/class/i2c-adapter/i2c-0/0-003e/pwm1: nonexistent directory
...
kernel:   /mnt/HD_a2/ffp/fsck/zImage-2.6.12.6

/sys/class/... exists on recent kernels only, but you're booting 2.6.12.6 (which is the firmware kernel version). on 2.6.12.6 you can use dns323-fan (not sure if that's part of the fsck filesystem).

Offline

 

#3 2008-12-06 20:27:44

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: e2fsck Script - Unable to Control Fan

rcblackwell wrote:

mount: mounting /dev/root on / failed: No such file or directory

nothing to worry about.

Offline

 

#4 2010-12-21 18:12:47

jamieburchell
Member
Registered: 2010-03-25
Posts: 37

Re: e2fsck Script - Unable to Control Fan

Sorry to bring up an old thread, but I have the same problem as the OP. I can't issue these commands, they don't work:

echo 150 >/sys/class/i2c-adapter/i2c-0/0-003e/pwm1
cat /sys/class/i2c-adapter/i2c-0/0-003e/fan1_input
cat /sys/class/i2c-adapter/i2c-0/0-0048/temp1_input

There is nothing under i2c-adapter. I don't know how else to set the fan speed in this environment.

I tried the newer image file zImage-2.6.25.1 but got some message about a missing ko file?

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB