GithubHelp home page GithubHelp logo

roadlabs / alt-f Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 14.05 MB

Automatically exported from code.google.com/p/alt-f

Makefile 33.45% Shell 21.87% ApacheConf 0.01% HTML 5.18% Perl 0.72% CSS 0.17% JavaScript 0.13% C 15.95% C++ 21.12% Bison 0.37% Awk 0.24% Python 0.59% Groff 0.20%

alt-f's People

Watchers

 avatar  avatar

Forkers

kameleonic

alt-f's Issues

ntp server not change

What steps will reproduce the problem?
1. setting ntp server from web (setup > time)
2. change from default to another time server

What is the expected output? What do you see instead?
ntp server change from default. instead server always pool.ntp.org
on terminal also not changing

What version of the product are you using? On what operating system?
Alt-F build trunk on 13 jan, ubuntu 10.10

Please provide any additional information below

# uname -a
Linux DNS-323 2.6.36.3 #1 Thu Jan 13 09:41:25 WIT 2011 armv5tel GNU/Linux
# cat /etc/ntp.conf
fudge 127.127.1.0  stratum 10
driftfile /etc/ntp.drift
pidfile /var/run/ntpd.pid
server 127.127.1.0
server pool.ntp.org
#

zero13th

Original issue reported on code.google.com by [email protected] on 26 Mar 2011 at 12:53

Cannot change host name

What steps will reproduce the problem?
1. IP is dynamic through IP reservation (always the same)
2. Go to Setup -> Host
3. Under host details it currently has the defaults. IP settings are DHCP. When 
I change the hostname/workgroup and hit submit, the box crashes (cannot access 
web GUI/telnet/ping - router also shows it is no longer connected/connecting). 
I have to hard boot the NAS. Of course, because I did not have the opportunity 
to save settings, it resets to default.

What version of the product are you using? On what operating system?
Alt-F-0.1B7.bin on the DNS-323.


Original issue reported on code.google.com by [email protected] on 12 Sep 2011 at 2:19

Transmission is outdated

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
-

What version of the product are you using? On what operating system?
-

Please provide any additional information below.
From version 2.4 Transmission has "Torrent queuing"

Original issue reported on code.google.com by [email protected] on 9 Oct 2011 at 2:21

The fun_plug script is in error

nogi has reported that the fun_plug script is in error.
For now, try to use the one supplied in
https://sites.google.com/site/altfirmware/home/misc
but it is untested (currently I have no access to my DNS-323)

Original issue reported on code.google.com by [email protected] on 6 Apr 2010 at 10:02

dhcp renew wakes up sda

What steps will reproduce the problem?
1. setup external dhcp server with a short lease time
2. standby all hdds
3. sda will wakeup when the lease is renewd, saying:
   .... user.notice udhcpc: udhcpc environment:
   .............
   .... Updating /etc/hosts
   .....

Why sda wakes up when ip address is renewd ?

Original issue reported on code.google.com by [email protected] on 15 Oct 2011 at 12:30

Alt-F only works with Gbit switches or network cards

Link speed/duplex auto-negotiation does not works.

When connected to 100Mbps routers/switches or network cards, "ping" doesn't 
work either from or to the box.

Sometimes ethertool reports a correct link setup, other times falls back to 
10Mbps half-duplex, other times the link is not even detected.

When connected to a Gbps switch or network card it works OK. However, if one 
then advertises only 100Mbps/half/full, and renegotiate the link, it stops 
working.

Relevant diagnostics:

# ethtool -S eth0
...
     bad_octets_received: 1572672
     bad_frames_received: 96
     fragments_received: 96
...

Original issue reported on code.google.com by [email protected] on 8 Jun 2010 at 3:35

nobody user id and group id different from the dlink one

What steps will reproduce the problem?
1. mount an hdd formatted with the dlink firmare
2. ls -al
3. files previously owned by nobody are owned y id 501
4. uid of nobody in Alt-F is 99
5. Same issue with gid, in dlink was 501 too

What is the expected output? What do you see instead?
nobody uid should be the same as the dlink one. At least provide a 
"copmatibility" option to change the uid.

What version of the product are you using? On what operating system?
0.1B7

Original issue reported on code.google.com by [email protected] on 15 Sep 2011 at 11:00

avahi support

The distributed untested avahi package is missing an init script and a services 
description file.

After the 0.1B6 release, packages will be rebuilt and examined and this issue 
will disappear. Meanwhile you can use the attached files.

*After* installing avahi using Packages->Alt-F

1-remove all /etc/avahi/services/*.service files
2-drop the attached S50avahi-daemon in /etc/init.d/
3-drop Alt-F.service in /etc/avahi/services/

You can now start and stop avahi in Services->Network

Modifications or additions to /etc/avahi/services/ are handled by avahi-daemon, 
there is no need to restart it.

Only avahi-daemon is handled this way, neither avahi-autoip nor avahi-dnsconfd 
are.

Original issue reported on code.google.com by [email protected] on 1 Dec 2010 at 7:14

Attachments:

Can't connect to web interface or via SSH

What steps will reproduce the problem?
1. open web browser
2. type IP of NAS box into browser address bar

or

1. open terminal
2. ssh to IP of NAS box

What is the expected output? What do you see instead?
connect to ssh server or web interface(depending on method)

What version of the product are you using? On what operating system?
Beta 4

Please provide any additional information below.

Samba/CIFS shares are fine and can be browsed to via discovery or 
smb://192.168.1.64/ in nautilus

**
Starting Nmap 5.21 ( http://nmap.org ) at 2010-09-23 22:29 BST
Nmap scan report for Dlink-DNS-323.config (192.168.1.64)
Host is up (0.00087s latency).
Not shown: 998 closed ports
PORT    STATE SERVICE
139/tcp open  netbios-ssn
445/tcp open  microsoft-ds
MAC Address: 00:22:B0:EC:67:32 (D-Link)

looks like the ports(22/80) aren't open after a flash to B4.

Any ideas on how to fix this?(or am I having a blonde moment)


Original issue reported on code.google.com by [email protected] on 23 Sep 2010 at 9:36

NTFS-3G outdated version doesn't allow access to compressed files/folders on USB disk

What steps will reproduce the problem?
1.  Use a USB disk in the NAS-323 with NTFS that is using attribute 'compressed 
files or folders to save space'or with the whole disk formatted to allow 
'compression to save space'(i.e where the files/folders appear blue in windows 
explorer)
2.  The files/folders are browseable but unusable 
3.  Trying to access these compressed files to play, copy or move them via SMB 
or Telnet will fail.


What is the expected output? What do you see instead?

Non compressed files will read, copy and move fine and no output is seen in the 
system.log however with compressed files you will see something similar to;

"Jan 10 11:49:14 dlink-EE1DC9 daemon.notice ntfs-3g[3124]: Failed to decompress 
file: Value too large for defined data type
Jan 10 11:49:14 dlink-EE1DC9 daemon.notice ntfs-3g[3124]: ntfs_attr_pread error 
reading '/games/15. Garry Schyman & Palbasha Siddique - Praan.mp3' at offset 
4259840: 31015 <> -1: Value too large for defined data type"


What version of the product are you using? On what operating system?
DNS-323 Harware version A1, firmware=stock Dlink 1.09, Fun-plug = Alt-F 
experimental B6 (the one with B5 kernel.  Attempted reading files via WinXP, 
Win7, Ubuntu 10.10, XBMC on XBOX on SMB shares and also via Telnet


Please provide any additional information below.
http://www.tuxera.com/community/ntfs-3g-advanced/data-compression/ infers that 
incorporating ntfs-3g-2010.8.8 or newer into FUSE/Kernel should fix problem as 
from that version onwards it had the ability to modify compressed files.

Original issue reported on code.google.com by [email protected] on 13 Jan 2011 at 8:21

MTU settings not persistant across reboots

What steps will reproduce the problem?
1. Install Alt-F using basic ffplug method. i.e. not flashing over vendor 
firmware.
2. login into web interface and change mtu in 'host setup' to any value other 
than 1500 i.e. 6000/8000/9000(jumboframes).
(tried saving and reloading settings as well)
3. reboot

What is the expected output? What do you see instead?
The MTU should remain at the new value on reboot

What version of the product are you using? On what operating system?
Alt-F:  0.1B2 on v1.09 firmware rev B1 board

Please provide any additional information below.

Before:

eth0      Link encap:Ethernet  HWaddr 00:22:B0:EC:67:32  
          inet addr:192.168.1.64  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2108 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1407 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:234454 (228.9 KiB)  TX bytes:408637 (399.0 KiB)
          Interrupt:21 

After:

eth0      Link encap:Ethernet  HWaddr 00:22:B0:EC:67:32  
          inet addr:192.168.1.64  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:9000  Metric:1
          RX packets:2149 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1443 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:239653 (234.0 KiB)  TX bytes:417389 (407.6 KiB)
          Interrupt:21 


Original issue reported on code.google.com by [email protected] on 7 Jul 2010 at 10:03

miniDLNA init script

minidlna seems to only run with the "-d" option flag, and also can't 
create its pid file. 

As an interim solution, after installing minidlna, replace /etc/init.d/ 
S80minidlna with the file bellow.
minidlna will run as root. 

Maximize this windows, otherwise copy/paste will break wide lines

The good news is that minidlna has a new stable source code release 
(the package will only be available after 0.1B6 is released) 

-----8<--------------- 
#!/bin/sh -e

NAME=minidlna 
DESC="MiniDLNA is a DLNA/UPnP-AV server." 
TYPE=user 

CONFF=/etc/$NAME.conf 
MINIDLNA_USER=$NAME 
MINIDLNA_GROUP=multimedia 
MINIDLNA_ARGS="-d" 

. $(dirname $0)/common 

check_shares() { 
    if test -r "$CONFF"; then 
        MDLNA_DIR="$(awk -F= '/^media_dir/{printf "%s;", $2}' $CONFF)" 
        OIFS="$IFS"; IFS=";" 
        for i in $MDLNA_DIR; do 
            if test ! -d "$i"; then 
                echo "Share $i does not exist." 
                exit 1 
            else 
                conf_ok=1 
            fi 
        done 
        IFS="$OIFS" 
        if test -z "$conf_ok"; then 
            echo "No shares configured." 
            exit 1 
        fi 
        return 0 
    fi 
    echo "Configuration file does not exist." 
    exit 1 
} 

case "$1" in 
    start) 
        echo -n "Starting $NAME: " 
        check_shares 
        minidlna -d > /var/lib/minidlna/minidlna.log 2>&1 & 
        omsg $? 
        ;; 
    stop) stop $NAME 2 ;; 
    status) status $NAME ;; 
    restart) restart $NAME ;; 
    *) 
        echo "Usage: $0 {start|stop|status|restart}" 
        exit 1 
        ;; 
esac

Original issue reported on code.google.com by [email protected] on 29 Nov 2010 at 11:00

Jumbo frames make linux start swaping

Jumbo frames greater that 3700 bytes can make linux start swaping, effectively 
reducing network performance.

Low level memory allocation in linux happens in blocks of 4096 contiguos bytes, 
and in powers of two.

A frame size greater than 3700 bytes, plus some memory management overheads, 
exceeds the 4KB page, thus asking linux to allocate a new pool of 130 blocks of 
8196 continuous bytes (that is what the network driver asks for, after a 
"ifconfig eth0 mtu xxx" , xxx >3700 happens, cat /proc/slabinfo)

If this happens when memory is fragmented, some pages have to be swaped to disk.

Filesystems also use block of 4096 bytes, and contention between pages 
requested by the filesystem and the network subsystems arise.

This is more likely to happen on Gbit networks, where frames show-up at a fast 
pace, and after the system has been running for a while.

This needs more research.

Original issue reported on code.google.com by [email protected] on 29 Nov 2010 at 10:40

Can't access some unicode characters file(Japanese/Chinese) by samba

What steps will reproduce the problem?
1. Share file from DNS-323
2. Mount HDD in PC
3. Open file explorer can see all file name but can not access the file.

What is the expected output? What do you see instead?
Access file from samba

What version of the product are you using? On what operating system?
Alt-F-0.1B7
Windows 7/Vista/Ubuntu

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 31 May 2011 at 3:38

Cannot save settings

Using firmware 0.1B5 on revB1 hardware, everything works fine except i cannot 
save settings. It fails with message "Error saving settings! No flash space 
available".

any ideas? it would be nice not to have to reconfigure everything on reboot :)

oh, this happens if the firmware is flashed or not (i currently have it flashed)

Original issue reported on code.google.com by [email protected] on 25 Nov 2010 at 4:57

dns323-fw.c, the firmware packager/unpackager from Alt-F-utils, is not 32/64 bit aware

Subject says it all.
Thanks nogi: 

Have you ever tried to use the host system compiled tools on a 64bit system 
like OpenSuse 64 ;-)

The header definitions use long as variable size. But on a 64bit system 
these are 64 bit not 32 bit.
So dns323-fw did scribble all over the uboot magic numbers of the kernel
No wonder that it complained afterwards that this appeared to.be NO uboot 
kernel ;-)

I had to install 32bit libs and compiler in order to build a 32 bit 
version.

Original issue reported on code.google.com by [email protected] on 9 Apr 2010 at 9:46

Hard disk does not work in rev-A1 hardware

Reported by KRH:

The kernel log, as seen on the serial console, shows several failed
attempts to access the disk; after a while the kernel giveup and normal
operation resumes. After that USB disk can be mounted and the network is
available.

Original issue reported on code.google.com by [email protected] on 1 Apr 2010 at 10:50

With JBD created directories not getting full disk capacity

When i create with the wizard a jbd with 2x1,5TB seagte harddisks and share the 
created md0 mounting point via samba i see only 701 gb. 
Alt-F displays the correct 2,7TB in "Filesystems". 
When i make one big partition on each disk and share it via samba then i see 
the 2x1,3TB. In "Disk Partitioner" i get this message "cat: can't open 
'/sys/block//dev/sdb/size': No such file or directory".
There is also under free disk space this number "-1100.048".
I can also not loggin via telent and ssh (tried on windows and linux) because i 
get this "# COLUMNS=80;LINES=24;export COLUMNS LINES;".

I use an DNS-323 rev A1. It is the Alt-F 0.1B6+ from experimental flashed on 
the box.




Original issue reported on code.google.com by [email protected] on 30 Jan 2011 at 5:19

Attachments:

netatalk ("AppleTalk Filing Protocol daemon." ) package

The untested netatalk package seems not to work due to an yet to be discovered 
interaction with db, the Berkeley Database:

Using Alt-F netatalk:

Although I don't have a Mac, I tried using afpfs-ng in another linux 
host to simulate a Mac cmd line client. 
I can connect, login and select a afp share, but I can't get a 
directory listing. It seems to be a db (Berkeley Database) problem. 

So I uninstalled Alt-F db and netatalk and installed ffp db48-4.8.30-1 
and netatalk-2.1.3-1, and they worked; I could login, select an afp 
share, get a directory listing and download a file. 

So, until I fix Alt-F db, you can resort to ffp. Remember to uninstall 
first Alt-F db and netatalk, as Alt-F binaries have priority over ffp 
ones. 

If you have a Mac and some expertise, you can try to debug the problem, but 
remember that netatalk seems to be sensitive to the db version in use -- there 
are documented procedures in the netalk web page on how to upgrade from one to 
another version of db.

You can use the attached file, that you must drop in /etc/init.d/, in order to 
start or stop the afpd service under Services->Network, or through "rcafpd 
start" or "rcafpd stop" in the command line.

Original issue reported on code.google.com by [email protected] on 1 Dec 2010 at 7:35

Attachments:

Can't create a 3 disks JBOD array

What steps will reproduce the problem?
1.Have 3 hdds in the DNS-323 (2sata + 1USB)
2.Partition the drives with a 500mb SWAP and the rest as RAID.
3.Go to the Raid menu, select JBD.

What is the expected output? What do you see instead?
Should be able to select 3 disks, only 2 possible in the menu.

What version of the product are you using? On what operating system?
RC1 on Win7

Please provide any additional information below.
The wizard will be able to select all 3 disks and create a JBOD array.

Original issue reported on code.google.com by [email protected] on 19 Oct 2011 at 2:29

Hard drive spindown does not seem to work

There seems to be some process keeping the hard drive active. if i manually 
force the drive to spindown from the web interface, it just spins up again. log 
snippet below:

Nov 26 14:01:24 toaster daemon.info sysctrl: right disk (sda) standby
Nov 26 14:01:44 toaster daemon.info sysctrl: right disk (sda) wakeup

there are no other log messages until 14:18. running services are:

smb
ntp
inetd
cron
sysctl
syslog

is it likely to be samba or something else? here is a process list when logged 
in:

PID   USER     COMMAND
    1 root     init      
    2 root     [kthreadd]
    3 root     [ksoftirqd/0]
    4 root     [events/0]
    5 root     [khelper]
    6 root     [async/mgr]
    7 root     [sync_supers]
    8 root     [bdi-default]
    9 root     [kblockd/0]
   10 root     [ata_aux]
   11 root     [ata_sff/0]
   12 root     [khubd]
   13 root     [kswapd0]
   14 root     [aufsd/0]
   15 root     [aufsd_pre/0]
   16 root     [crypto/0]
   19 root     [scsi_eh_0]
   20 root     [scsi_eh_1]
   27 root     [mtdblock0]
   28 root     [mtdblock1]
   29 root     [mtdblock2]
   30 root     [mtdblock3]
   31 root     [mtdblock4]
   34 root     [usbhid_resumer]
   52 root     [loop0]
  145 root     [kjournald]
  498 root     syslogd -C -D -m 0 
  500 root     klogd 
  512 root     sysctrl 
  533 root     inetd 
  553 root     /bin/sh -- 
 1308 root     smbd -D 
 1380 root     crond 
 1452 root     dropbear -i 
 1453 dikkie   -sh 
 1837 root     sh 
 1961 root     [flush-8:0]
 2050 root     nmbd -D 
 2052 root     smbd -D 
 2123 root     ps 
 2125 root     smbd -D 


Original issue reported on code.google.com by [email protected] on 26 Nov 2010 at 4:29

Reboot commands on rev-C1

What steps will reproduce the problem?
1. log in via telnet to the box and enter 'reboot' on the command line OR
2. log in via web interface on Alt-F, go to the System Utilities page, press 
'reboot' and confirm

What is the expected output? What do you see instead?
After issuing the 'reboot' command, one would expect the box to shutdown 
cleanly and power-cycle/restart. Instead, after the services on the box 
(namely: telnet, networking, et al) are shutdown, the box seems to just 
'freeze' until the power-cord is removed and reattached (and then, it does 
restart and after a while, becomes accessible again).

What version of the product are you using? On what operating system?
- DNS-323 HW rev. C1 with stock D-Link FW v1.09
- one 360G disk on the right-side bay formatted as ext3
- tests conducted while running Alt-F v0.1B5, reloaded via fun_plug script 
(ONCE=no, but not exactly relevant)
- the unit is connected to a GigE switch, with static IP set

Please provide any additional information below.

After issuing 'reboot' via telnet and/or via web interface:
- checked my DHCP server for any new leases: none found.
- did a ping scan on my network: the box can't be found.
- changed the IP address on my network interface to the 192.168.1.x range, did 
a ping scan on the whole subnet: the box can't be found.

NOTE 1: the log files (alt-f.log and alt-f-reloaded.log) seem to be 'stale', 
which seems to indicate the machine gets 'stuck' after right after shutdown, 
just before actually rebooting.

NOTE 2: 'poweroff' commands seems working just fine (both via cmdline/telnet 
and via web interface).

Original issue reported on code.google.com by [email protected] on 28 Nov 2010 at 9:07

Fan speed on HW rev-C1

What steps will reproduce the problem?
1. the fan speed on HW rev-C1 changes between only two states: 'low speed' and 
'off'
2. the fan never switches to 'high speed' regardless of any combination of 
temperature thresholds we might have set on /etc/sysctrl.conf and/or even with 
the hard-coded/builtin/defaults on sysctrl.c
3. this seems to affect both flashed and reloaded versions of Alt-F v0.1B6 on 
HW rev-C1

What is the expected output? What do you see instead?
Fan speed is checked/set on lines 592~597 of sysctrl.c but the code currently 
checks different things along the way and since C1 units seem to respond 
slightly differently to the same queries, sysctrl.c never gets to line 597 (pwm 
= FAN_FAST).

What version of the product are you using? On what operating system?
DNS-323 HW rev-C1 running Alt-F v0.1B6 (both flashed and reloaded versions) 

Please provide any additional information below.

Here's a fragment of the syslog when sysctrl starts with default/built-in 
settings. Notice 3 things:
a) lo_fan=2000 (default value)
b) hi_fan=5000 (default value)
c) sysctrl reports fan=400 (read from /sys/class/hwmon/hwmon1/device/fan1_input)

Dec 22 12:31:12 fido.baia sysctrl: Starting
Dec 22 12:31:12 fido.baia sysctrl: reading /etc/sysctrl.conf
Dec 22 12:31:12 fido.baia sysctrl: cant open /etc/sysctrl.conf: No such file or 
directory#012Using defaults
Dec 22 12:31:12 fido.baia sysctrl: args.lo_fan=2000
Dec 22 12:31:12 fido.baia sysctrl: args.hi_fan=5000
Dec 22 12:31:12 fido.baia sysctrl: args.lo_temp=45
Dec 22 12:31:12 fido.baia sysctrl: args.hi_temp=50
Dec 22 12:31:12 fido.baia sysctrl: args.mail=1
Dec 22 12:31:12 fido.baia sysctrl: args.recovery=1
Dec 22 12:31:12 fido.baia sysctrl: args.fan_off_temp=38
Dec 22 12:31:12 fido.baia sysctrl: args.max_fan_speed=5500
Dec 22 12:31:12 fido.baia sysctrl: args.crit_temp=54
Dec 22 12:31:12 fido.baia sysctrl: args.warn_temp=52
Dec 22 12:31:12 fido.baia sysctrl: args.crit_temp_command="/sbin/poweroff"
Dec 22 12:31:12 fido.baia sysctrl: args.warn_temp_command="(null)"
Dec 22 12:31:12 fido.baia sysctrl: args.front_button_command1="(null)"
Dec 22 12:31:12 fido.baia sysctrl: args.front_button_command2="(null)"
Dec 22 12:31:12 fido.baia sysctrl: args.back_button_command="(null)"
Dec 22 12:31:12 fido.baia sysctrl: temp=46.0#011 fan=400
Dec 22 12:31:12 fido.baia sysctrl: md1: state=clean level=raid5 degraded=1 
action=idle
Dec 22 12:31:12 fido.baia sysctrl: right_dev disk (sda) wakeup
Dec 22 12:31:12 fido.baia sysctrl: left_dev disk (sdb) wakeup

On line 83 of sysctrl.c, we have:
enum FanSpeed { FAN_OFF = 0, FAN_LOW =  127, FAN_FAST = 255 };

When we check values on /sys, we find:
root@FIDO:~# cat /sys/class/hwmon/hwmon1/device/pwm1
63
root@FIDO:~# cat /sys/class/hwmon/hwmon1/device/fan1_input
400
root@FIDO:~# 

A few tests on rev-C1 reveal the following:
root@FIDO:~# echo 0 > /sys/class/hwmon/hwmon1/device/pwm1
root@FIDO:~# cat /sys/class/hwmon/hwmon1/device/fan1_input
0
root@FIDO:~# echo 127 > /sys/class/hwmon/hwmon1/device/pwm1
root@FIDO:~# cat /sys/class/hwmon/hwmon1/device/fan1_input
400
root@FIDO:~# echo 255 > /sys/class/hwmon/hwmon1/device/pwm1
root@FIDO:~# cat /sys/class/hwmon/hwmon1/device/fan1_input
2000
root@FIDO:~# 

Since 'args.lo_fan' is set to 2000 by default and 'fan' will never be larger 
than 2000 on rev-C1, line 597 of sysctrl.c will never be executed (thus, the 
fan speed is never set to 'fast').

I came up with a couple of solutions:

Alternative #1 (workaround) - add the following lines to /etc/sysctrl.conf

lo_fan="400"         # default = 2000
hi_fan="2000"        # default = 5000
max_fan_speed="2000" # not quite sure if this one is really necessary 

Alternative #1b - set/update the built-in/default values for rev-C1 boards on 
check_board() to include:
------- sysctrl_c1_fan_defaults.diff -------
535a536,538
>       args.lo_fan = 400;
>       args.hi_fan = 2000;
>       args.max_fan_speed = 2000;
------- sysctrl_c1_fan_defaults.diff -------

Alternative #2 - 
The current code tests temperature (line 592), then fan speed (line 594). 
Instead, I'd suggest changing line 594 of sysctrl.c so the same kind of thing 
is tested as in line 592 (i.e. stick with temperature checks):
------- sysctrl_c1_fan_control.diff -------
594c594
<       else if (fan < args.lo_fan)

---
>       else if (temp < args.lo_temp)
------- sysctrl_c1_fan_control.diff -------

Original issue reported on code.google.com by [email protected] on 22 Dec 2010 at 6:30

Attachments:

Dropped packets

What steps will reproduce the problem?
1.Start Samba on NAS
2.Start Intel NAS performance test
3.run ifconfig

What is the expected output? What do you see instead?
There are some dropped packets.
eth0      Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:XX
          inet addr:192.168.7.14  Bcast:192.168.7.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6203605 errors:258 dropped:258 overruns:0 frame:0
          TX packets:8345210 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1426737278 (1.3 GiB)  TX bytes:447621543 (426.8 MiB)
          Interrupt:21

There are no dropped packets on vendor (1.09) firmware in the same conditions.

What version of the product are you using? On what operating system?
Alt-f 0.1B6 on top of vendor firmware.

Please provide any additional information below.
Samba performance of Alt-f is about 75% of vendor's firmware.
Still analyzing results...

Your work is great! Easy-to-use, with a lot of function firmware.

Original issue reported on code.google.com by [email protected] on 2 Jan 2011 at 2:52

Wasted space when formating WD15EARS

What steps will reproduce the problem?
1.Formating WD15EARS (4k, 1.5TB) with wizard in 0.1B6
2.Using non-raid EXT3 format

What is the expected output? What do you see instead?
Disk will be 1.24TB instead of 1.36TB

What version of the product are you using? On what operating system?
DNS-323 B1 OF1.08 with tar Alt-F-0.1B6, Windows 7 64bit 

Please provide any additional information below.
Formating with dns-323 vendor firmware will give 1.36TB, then realigning 
partitions 1 and 2 manually will still give 1.36TB (minus around 150mb of used 
space)
Was done with only 1 drive in right bay
Manual realign: 
https://docs.google.com/document/pub?id=1ZnfQ8kvkBAHSa4EsT9kRPzPVxLz1zU2MLQKLmMR
OF7A&pli=1

Original issue reported on code.google.com by [email protected] on 3 Jan 2011 at 3:46

empty TZ

What steps will reproduce the problem?

For some reason setting Timezone didn't get stored.

What is the expected output? What do you see instead?

I expect to use webinterface, but will only allow the status webpage, and an 
error when accessing others, first asking for password for login and then 
complain about NONE-0.

What version of the product are you using? On what operating system?

0.1B7 0.1RC1 on a C1 box

Please provide any additional information below.

I found the culprit to be /usr/www/cgi-bin/login_proc.cgi, and a workaround to 
get pass it I added a check for the TZF parameter, wheter it is empty or not, 
before the if comparing it with NONE-0. New addition:

        if test -e $TZF; then
                expl=""
        elif test $(cat $TZF) = "NONE-0"; then
                expl=""
        else # expire cookie (login) one hour after login
                eval $(TZ=GMT awk 'END{printf "exp=%s", \
                        strftime("\"%a, %d-%b-%Y %T GMT\"", systime()+3600)}' /dev/null)
                expl="expires=$exp"
        fi

No shell scripter so not sure if it is a good way to implement it. But now it 
works better.

Original issue reported on code.google.com by [email protected] on 28 Aug 2011 at 11:41

aufs+sqfs4lzma-2.6.33.patch is missing from SVN

The file aufs+sqfs4lzma-2.6.33.patch, which  is needed to build Alt-F, is 
missing from SVN.
For now download it from http://sites.google.com/site/altfirmware/home/misc
an put it in the "dl" directory created by the mkprepare.sh script.

Original issue reported on code.google.com by [email protected] on 6 Apr 2010 at 11:34

Firmware Upload Error!

What steps will reproduce the problem?
1.Installation of Alt -F Firmware


What is the expected output? What do you see instead?
Alt F Installed instead i get error
Firmware Upload Error! 

The uploaded file was not accepted by the DNS-323. Please return to the 
previous page and select a valid upgrade file. 

What version of the product are you using? On what operating system?

version C1 firmware 1.08

Original issue reported on code.google.com by [email protected] on 7 Apr 2011 at 8:49

Mail: storing passord with symbols

What steps will reproduce the problem?
1. enter a password with "!" in the auth password for smtp
2. Test mail delivery
3. You get an error, even if the password was correct
4. in /etc/msmtprc the "!" is encoded as %21


What is the expected output? What do you see instead?
msmtp doc does not say anything about encoding characters in password.
Fixing the typo in /etc/msmtprc and sending mail with
 echo test | msmtp recipient@domain 
ends succesfully.

What version of the product are you using? On what operating system?
0.1B7

Cheers

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 15 Sep 2011 at 11:19

Installation hangs when running alt-f

I am having trouble with alt-f installation.  The directions are very skimpy 
and my problem are not covered.

Environment:
1)DNS-323 v1.09 firmware, 1x 2TB HD
2) ffp installed.  ffp and several packages seem to be running fine.  e.g. ssh, 
mediatomb working.
3) in the root folder /mnt/HD_a2/ there is an ffp folder and fun_plug file.

Since it seems I have satisfied the criteria for Method 3 above, I tried 
following those directions.  I put the alt-f fun_plug in the root folder and 
renamed it alt-f.sh and made it executable.  I put the alt-f tarball in the 
same folder.  I executed alt-f.sh.

The problem is the ssh or telnet session where I execute alt-f.sh just hangs.  
Even if I 'sh alt-f.sh&' it gives me another prompt but hangs.  I later check 
and the alt-f directory is created, but I cannot run any of the web pages and 
when I go to the DNS-323 address, I get the original web page.

Alt-f.log (checked after breaking hung session) reads:
110920 13:15:46 mysqld_safe Logging to '/srv/mysql DNS-323.err'.                
                                                                      touch: 
/srv/mysql/DNS-323.err: No such file or directory                               
                                                            chown: 
/srv/mysql/DNS-323.err: No such file or directory                               
                                                            110920 13:15:47 
mysqld_safe Starting mysqld daemon with databases from /srv/mysql               

/ffp/bin/mysqld_safe: cannot create /srv/mysql/DNS-323.err: No such file or 
directory                                                                       
                    eval: cannot create /srv/mysql/DNS-323.err: No such file or 
directory                                                                       
                    110920 13:15:47 mysqld_safe mysqld from pid file 
/srv/mysql/DNS-323.pid ended                                                    
                                           /ffp/bin/mysqld_safe: cannot create 
/srv/mysql/DNS-323.err: No such file or directory                               
                                                            110920 13:15:47 
mysqld_safe mysqld from pid file /srv/mysql/DNS-323.pid ended                   

/ffp/bin/mysqld_safe: cannot create /srv/mysql/DNS-323.err: No such file or 
directory                                                                       



I have let the session run for hours to see if it is just processing a long 
task.
I have killed the session, reloaded both ffp and alt-f multiple times.
I have renamed the ffp fun_plug file and replaced it with the alt-f.sh.
I have manually created a folder /srv/mysql and created a file called 
DNS-323.err with full rights.
I have confirmed mysql is installed (and since Mediaportal uses it, I'm pretty 
sure it's working).

Since all other options like flashing the binary require you to get step 3 
working and I cant, I can't try alternate execution options.

Can someone please provide some useful diagnostics or some corrective steps 
indicated by the log file.

Thanks 1,000,000

Original issue reported on code.google.com by [email protected] on 20 Sep 2011 at 9:32

rev-C1 Buttons

What steps will reproduce the problem?
1. Make sure sysctrl is running:
# ps | grep sysc
  351 root     sysctrl 
 1018 root     grep sysc 
# rcsysctrl status
sysctrl running
# 

2. press the reset button on the back

3. press the button on the front

What is the expected output? What do you see instead?

- pressing the reset button on the back for a few seconds seems to be working - 
leds flash yellow/amber on the front while the button is pressed and every time 
the reset button is pushed, got the following messages on the system log:

Nov 28 04:20:37 FIDO daemon.info sysctrl: Backup
Nov 28 04:20:42 FIDO daemon.info sysctrl: right disk (sda) wakeup

- when the big button on the front is pressed, nothing happens (no matter for 
how long): no leds flash, no messages on the logs

What version of the product are you using? On what operating system?

- DNS-323 HW rev. C1 with stock D-Link FW v1.09
- one 360G disk on the right-side bay formatted as ext3
- tests conducted while running Alt-F v0.1B5, reloaded via fun_plug script 
(ONCE=no, but not exactly relevant)
- the unit is connected to a GigE switch, with static IP

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 28 Nov 2010 at 8:34

The ipkg distributed over the optware dns323 seed does not work.

After compiling and installing ipkg from source:

# ipkg --version
ipkg version 0.99.163
# ipkg install cal
#gcal
gcal: can't resolve symbol '__register_frame_info'
# tic
tic: can't resolve symbol '__stdout'
# ldd /opt/bin/gcal
        libm.so.0 => /lib/libm.so.0 (0x4000d000)
        libncurses.so.5 => /opt/lib/libncurses.so.5 (0x40027000)
        libc.so.0 => /lib/libc.so.0 (0x4006e000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x400cc000)
        ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x40000000)

http://www.nslu2-linux.org/wiki/Optware/Dns323
http://wiki.dns323.info/howto:optware

Original issue reported on code.google.com by [email protected] on 30 Mar 2010 at 8:57

Password with special characters and Samba

What steps will reproduce the problem?
1. Go to Alt-F in the setup >ย users section 
2. Create/change the password of a user and include special characters in the 
password
3. Try to connect to an authentication needed Samba share


What is the expected output?

Connect to the share when entering a valid user and password.


What do you see instead?

Can't connect.


What version of the product are you using? On what operating system?

B7


Please provide any additional information below.

I also tested setting the password with SWAT and it worked
even if I choose a password with the exclamation character.

Original issue reported on code.google.com by [email protected] on 18 Apr 2011 at 12:03

No warning issued if not saving settings

What steps will reproduce the problem?
1. Change a setting
2. Select another menu entry. No warning is given
3. Leave Web gui without saving settings
4. Reboot
5. Your change is lost

What is the expected output? What do you see instead?
A warning should be issued when leaving a page wothout saving settings.
In particular, if you create a user, changes will belost if not saved.
It should be good to have a "save settings button" on evry page, and test 
exiting the page without saving.

What version of the product are you using? On what operating system?
0.1B7

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 15 Sep 2011 at 9:36

Printing with hplip on some printers print a black page.

-ghostscrip/hplip can fail with an "Unable to get scanline 0/1" error,
     and cups does not noticies it, sending the print job to the printer,
     which prints a black page, wasting all your cartridge ink.
     After configure the printer in cups, DISCONECT THE PRINTER and print
     a test page. If in the State column of cups jobs web page, or using
     "lpstat -p" you see a  "Unable to get scanline 0/1" message,
     CANCEL THE PRINT JOB AND DON'T USE THAT PRINT CONFIGURATION.

Original issue reported on code.google.com by [email protected] on 29 Nov 2010 at 10:21

After flashing the device I get: "403 Forbidden" on the homepage

What steps will reproduce the problem?
1.The flash process was made normally
2.Everything was occurred as expected
3.Reboot was done

What is the expected output? What do you see instead?
The web interface should be running. Instead I get the error "403 Forbidden" 
from the homepage of the device.
I am able to telnet with root (no password) to the equipment and everything 
looks as it should.

What version of the product are you using? On what operating system?
HW revision C1 and the upgrade was done from original D-link firmware 1.09.

Please provide any additional information below.
I can see the disks and the info on them.
The D-link is not connected to the Internet, it is running on an internal 
network

Original issue reported on code.google.com by [email protected] on 2 Dec 2010 at 2:09

Attachments:

Feature request: give fsck progress feedback

What steps will reproduce the problem?
1.Boot with all filesystem to be fchecked
2.fsck start, and no info to the user is given
3.No progress bar, gauge, precentage is shown, neither in the webpage, neither 
in a log file

What is the expected output? What do you see instead?
Should be a fine thing to have a progress feedback. Fschecking two 1Tb ext2 
disk formatted in the stock firmware tales hours ,.,,

What version of the product are you using? On what operating system?
Alt-F-0.1B7

Please provide any additional information below.
Felle free to contact me :)

Original issue reported on code.google.com by [email protected] on 13 Sep 2011 at 9:51

2TB Disk incompatibility (2x2TB disks in JBD, mke2fs for ext3 fails with a memory allocation error)

DNS-323 hardware revision B1
2X2TB HDD (WD Caviar Green - WD20EARS).

Alt-F-0.1B4 firmware:
Incorrect display disk info: โ€œ-20xx TBโ€ (โ€œminus two thousandโ€ฆโ€)
When reformat with Wizard โ€“ unsuccessful in any mod 
(separate/RAID0/RAID1/JBOD) with any FS (ext2/ext3/ext4) - error writing master 
block to mda0.

Original issue reported on code.google.com by [email protected] on 11 Oct 2010 at 7:37

50 cycle fsck fails

What steps will reproduce the problem?
1. boot the system (probably from unclean shutdown)
2.
3.

What is the expected output? What do you see instead?
in dmesg:


ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: ATA-8: WDC WD10TPVT-00HT5T0, 01.01A01, max UDMA/133
ata1.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata1.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access     ATA      WDC WD10TPVT-00H 01.0 PQ: 0 ANSI: 5
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support 
DPO or FUA
 sda: sda1
sd 0:0:0:0: [sda] Attached SCSI disk
ata2: SATA link down (SStatus 0 SControl 300)
ata3: SATA link down (SStatus 0 SControl 300)
ata4: SATA link down (SStatus 0 SControl 300)
Freeing init memory: 116K
aufs test_add:253:mount[56]: uid/gid/perm /tmproot/rootsq 0/0/0777, 0/0/0755
eth0: link up, 1000 Mb/s, full duplex, flow control disabled
usbcore: registered new interface driver usblp
fsck.ext4 invoked oom-killer: gfp_mask=0x200da, order=0, oom_adj=0
Function entered at [<c002bb54>] from [<c00662ac>]
Function entered at [<c00662ac>] from [<c00663b4>]
Function entered at [<c00663b4>] from [<c00668b8>]
Function entered at [<c00668b8>] from [<c0066968>]
Function entered at [<c0066968>] from [<c00697bc>]
Function entered at [<c00697bc>] from [<c0076f80>]
Function entered at [<c0076f80>] from [<c002c714>]
Function entered at [<c002c714>] from [<c0025278>]
Function entered at [<c0025278>] from [<c0025da0>]
Exception stack(0xc321bfb0 to 0xc321bff8)
bfa0:                                     416d4008 00000000 0053400b 42ebd000
bfc0: 0003bb50 416d4008 01d1d004 beb7aaa4 0e8e0b2f 00000400 00028970 00000001
bfe0: 4003a608 beb7aaa0 4001dc00 400b475c 20000010 ffffffff
Mem-info:
Normal per-cpu:
CPU    0: hi:   18, btch:   3 usd:   2
active_anon:10113 inactive_anon:3780 isolated_anon:0
 active_file:41 inactive_file:77 isolated_file:0
 unevictable:0 dirty:0 writeback:0 unstable:0
 free:255 slab_reclaimable:149 slab_unreclaimable:627
 mapped:212 shmem:1892 pagetables:62 bounce:0
Normal free:1020kB min:1016kB low:1268kB high:1524kB active_anon:40452kB 
inactive_anon:15120kB active_file:164kB inactive_file:308kB unevictable:0kB 
isolated(anon):0kB isolated(file):0kB present:65024kB mlocked:0kB dirty:0kB 
writeback:0kB mapped:848kB shmem:7568kB slab_reclaimable:596kB 
slab_unreclaimable:2508kB kernel_stack:312kB pagetables:248kB unstable:0kB 
bounce:0kB writeback_tmp:0kB pages_scanned:896 all_unreclaimable? yes
lowmem_reserve[]: 0 0
Normal: 77*4kB 1*8kB 2*16kB 1*32kB 2*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 
0*2048kB 0*4096kB = 1020kB
2010 total pagecache pages
0 pages in swap cache
Swap cache stats: add 0, delete 0, find 0/0
Free swap  = 0kB
Total swap = 0kB
16384 pages of RAM
338 free pages
844 reserved pages
776 slab pages
882 pages shared
0 pages swap cached
Out of memory: kill process 346 (fsck.ext4) score 841 or a child
Killed process 346 (fsck.ext4) vsz:53856kB, anon-rss:47316kB, file-rss:484kB
EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
aufs test_br:164:mount[484]: write permission for readonly mount or inode, 
/mnt/sda1/Alt-F


and

# fsck /dev/sda1 
fsck 1.41.14 (22-Dec-2010)
e2fsck 1.41.14 (22-Dec-2010)
/dev/sda1 has been mounted 20 times without being checked, check forced.
Pass 1: Checking inodes, blocks, and sizes
Warning... fsck.ext4 for device /dev/sda1 exited with signal 9.



What version of the product are you using? On what operating system?
dns-323 b1

Please provide any additional information below.
Alt-F 0.1RC1

Original issue reported on code.google.com by [email protected] on 8 Aug 2011 at 11:00

Malformed HTML on the web interface

What steps will reproduce the problem?
1. Point your browser to the administrative web interface, right-click on the 
right-handed side of the page (frame on the right), then select "This Frame" -> 
"View Frame Source" and take a look at the code of affected pages (Firefox 
3.6.x marks/highlights malformed HTML tags in red)
2. This doesn't seem to be a major issue (or cause any problems with most 
browsers), but /could/ lead to unexpected/strange behaviour on some of the CGI 
scripts
3. While some of the patches/suggestions handle missing endings on a few tags, 
others just add enclosing quotes on the generated HTML to ensure any empty 
values are interpreted properly (as empty values/tags/whatever).

What is the expected output? What do you see instead?
A brief sanity check on customroot/usr/www/cgi-bin revealed the following files 
could/should be patched/updated in order to help/improve 
determinism/reliability of the web interface (interpretation of tags by the 
browser and/or any javascript code that might behave slightly different on 
different browsers/platforms):
common.sh
raid.cgi
proxy.cgi
diskmaint.cgi
diskwiz.cgi
dnsmasq.cgi
ddns.cgi
nfs.cgi
smb.cgi

What version of the product are you using? On what operating system?
Alt-F v0.1B6

Original issue reported on code.google.com by [email protected] on 28 Dec 2010 at 7:34

Attachments:

can't see /

What steps will reproduce the problem?
1.
insert 2x2Tbyte new HD on a new DNS-323 (Rev C1, updated 1.09 firmware,)
first format with vendor (separate discs, ext 2) and put alt-f
2.first start on 0.5B6
try to create a Raid 1 of 750G with sda2 and sdb2 and a raid 0 of ..anyting 
else on sda3 and sdb3, other partions not touched
3.after a lot of time resync raid 1 (2 times)
4.near 70% of 2d resync go to setettings and clic on save setting
5. later  75% go to settings and clic on save settings

What is the expected output? What do you see instead?

save settin ok 
but

mkdir: cannot create directory '/': Stale NFS file handle mount: mounting 
/dev/mtdblock0 on /tmp/mtd failed: No such file or directory 
/usr/sbin/loadsave_settings: cd: line 327: can't cd to /tmp/mtd umount: can't 
umount /tmp/mtd: No such file or directory rmdir: '/tmp/mtd': No such file or 
directory 

on ssh:

# cd /
-sh: cd: can't cd to /
# ls / 
ls: /: Stale NFS file handle

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 15 Jan 2011 at 10:36

Settings won't safe.

Hello,

i have some small issues and i cant find a solution.
I create settings and i safed them but i cant find a way to restore them 
automaticly after a reboot.

so maybe there is a way to restore them.

kind regards.

Pierre

Original issue reported on code.google.com by [email protected] on 16 Jan 2011 at 8:28

Filesystems check

What steps will reproduce the problem?
1. boot
2.
3.

What is the expected output? What do you see instead?

nothing

What version of the product are you using? On what operating system?

B1 / 0.1B7

Please provide any additional information below.

md0 raid 1 and md1 linear are check every boot.
At Home Page / Status / Mounted filesystems:

sda4 486.2MB 440.5MB ext3 RW 28 mounts or 179 days
md0 274.6GB 135.1GB ext3 RW 0 mounts or 179 days
md1 824.1GB 342.0GB ext3 RW -16 mounts or 59 days

dmesg

Linux version 2.6.35.11 (jcard@silver) (gcc version 4.3.3 (GCC) ) #1 Fri Mar 25 
15:22:48 WET 2011
CPU: Feroceon [41069260] revision 0 (ARMv5TEJ), cr=a0053177
CPU: VIVT data cache, VIVT instruction cache
Machine: D-Link DNS-323
Clearing invalid memory bank 0KB@0xffffffff
Clearing invalid memory bank 0KB@0xffffffff
Clearing invalid memory bank 0KB@0xffffffff
Ignoring unrecognised tag 0x00000000
Ignoring unrecognised tag 0x00000000
Ignoring unrecognised tag 0x00000000
Ignoring unrecognised tag 0x41000403
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 16384
free_area_init_node: node 0, pgdat c02c6b30, node_mem_map c02d8000
  Normal zone: 128 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 16256 pages, LIFO batch:3
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: root=/dev/ram console=ttyS0,115200 :::DB88FXX81:egiga0:none
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 55824k/55824k available, 9712k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xc4800000 - 0xfd800000   ( 912 MB)
    lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc0025000   ( 116 kB)
      .text : 0xc0025000 - 0xc029c000   (2524 kB)
      .data : 0xc02b2000 - 0xc02c7140   (  85 kB)
NR_IRQS:64
Calibrating delay loop... 332.59 BogoMIPS (lpj=1662976)
pid_max: default: 4096 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Orion ID: MV88F5182-A2. TCLK=166666667.
DNS-323: Identified HW revision B1
DNS-323: Found ethernet MAC address: 00:21:91:1c:91:a8.
bio: create slab <bio-0> at 0
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource orion_clocksource
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
PCI: CLS 0 bytes, default 32
Unpacking initramfs...
Freeing initrd memory: 6236K
squashfs: version 4.0 (2009/01/31) Phillip Lougher
aufs 2-standalone.tree-35-20100809
msgmni has been set to 121
io scheduler noop registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 3) is a 16550A
console [ttyS0] enabled
loop: module loaded
sata_mv sata_mv.0: version 1.28
sata_mv sata_mv.0: slots 32 ports 2
scsi0 : sata_mv
scsi1 : sata_mv
ata1: SATA max UDMA/133 irq 29
ata2: SATA max UDMA/133 irq 29
physmap platform flash device: 00800000 at f4000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cmdlinepart partition parsing not available
RedBoot partition parsing not available
Using physmap partition information
Creating 5 MTD partitions on "physmap-flash.0":
0x000000000000-0x000000010000 : "MTD1"
0x000000010000-0x000000020000 : "MTD2"
0x000000020000-0x0000001a0000 : "Linux Kernel"
0x0000001a0000-0x0000007d0000 : "File System"
0x0000007d0000-0x000000800000 : "u-boot"
MV-643xx 10/100/1000 ethernet driver version 1.4
mv643xx_eth smi: probed
net eth0: port 0 with MAC address 00:21:91:1c:91:a8
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
orion-ehci orion-ehci.0: Marvell Orion EHCI
orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
orion-ehci orion-ehci.0: irq 17, io mem 0xf1050000
orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
input: gpio-keys as /class/input/input0
i2c /dev entries driver
rtc-m41t80 0-0068: chip found, driver version 0.05
rtc-m41t80 0-0068: rtc core: registered m41t80 as rtc0
lm75 0-0048: hwmon1: sensor 'lm75'
Registered led device: power:blue
Registered led device: right:amber
Registered led device: left:amber
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP cubic registered
NET: Registered protocol family 17
rtc-m41t80 0-0068: setting system clock to 2011-08-23 14:48:02 UTC (1314110882)
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: ATA-8: SAMSUNG HD501LJ, CR100-11, max UDMA7
ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata1.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access     ATA      SAMSUNG HD501LJ  CR10 PQ: 0 ANSI: 5
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support 
DPO or FUA
 sda: sda1 sda2 sda3 sda4
sd 0:0:0:0: [sda] Attached SCSI disk
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata2.00: ATA-8: MAXTOR STM31000340AS, MX1A, max UDMA/133
ata2.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata2.00: configured for UDMA/133
scsi 1:0:0:0: Direct-Access     ATA      MAXTOR STM310003 MX1A PQ: 0 ANSI: 5
sd 1:0:0:0: Attached scsi generic sg1 type 0
sd 1:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support 
DPO or FUA
 sdb: sdb1 sdb2 sdb3 sdb4
sd 1:0:0:0: [sdb] Attached SCSI disk
Freeing init memory: 116K
aufs test_add:253:mount[52]: uid/gid/perm /tmproot/rootsq 0/0/0777, 0/0/0755
Adding 530108k swap on /dev/sda1.  Priority:1 extents:1 across:530108k 
md: bind<sda2>
md: bind<sda3>
EXT3-fs: barriers not enabled
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sda4): using internal journal
EXT3-fs (sda4): mounted filesystem with writeback data mode
Adding 530108k swap on /dev/sdb1.  Priority:1 extents:1 across:530108k 
md: bind<sdb2>
md: raid1 personality registered for level 1
md/raid1:md0: active with 2 out of 2 mirrors
md0: detected capacity change from 0 to 299581046784
 md0: unknown partition table
md: bind<sdb3>
md: linear personality registered for level -1
md1: detected capacity change from 0 to 899006398464
 md1: unknown partition table
eth0: link up, 1000 Mb/s, full duplex, flow control disabled
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Installing knfsd (copyright (C) 1996 [email protected]).
EXT3-fs: barriers not enabled
kjournald starting.  Commit interval 5 seconds
EXT3-fs (md0): using internal journal
EXT3-fs (md0): mounted filesystem with writeback data mode
md1: detected capacity change from 0 to 899006398464
 md1: unknown partition table
EXT3-fs: barriers not enabled
kjournald starting.  Commit interval 5 seconds
EXT3-fs (md1): using internal journal
EXT3-fs (md1): mounted filesystem with writeback data mode
$ dmesg 
Linux version 2.6.35.11 (jcard@silver) (gcc version 4.3.3 (GCC) ) #1 Fri Mar 25 
15:22:48 WET 2011
CPU: Feroceon [41069260] revision 0 (ARMv5TEJ), cr=a0053177
CPU: VIVT data cache, VIVT instruction cache
Machine: D-Link DNS-323
Clearing invalid memory bank 0KB@0xffffffff
Clearing invalid memory bank 0KB@0xffffffff
Clearing invalid memory bank 0KB@0xffffffff
Ignoring unrecognised tag 0x00000000
Ignoring unrecognised tag 0x00000000
Ignoring unrecognised tag 0x00000000
Ignoring unrecognised tag 0x41000403
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 16384
free_area_init_node: node 0, pgdat c02c6b30, node_mem_map c02d8000
  Normal zone: 128 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 16256 pages, LIFO batch:3
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: root=/dev/ram console=ttyS0,115200 :::DB88FXX81:egiga0:none
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 55824k/55824k available, 9712k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xc4800000 - 0xfd800000   ( 912 MB)
    lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc0025000   ( 116 kB)
      .text : 0xc0025000 - 0xc029c000   (2524 kB)
      .data : 0xc02b2000 - 0xc02c7140   (  85 kB)
NR_IRQS:64
Calibrating delay loop... 332.59 BogoMIPS (lpj=1662976)
pid_max: default: 4096 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Orion ID: MV88F5182-A2. TCLK=166666667.
DNS-323: Identified HW revision B1
DNS-323: Found ethernet MAC address: 00:21:91:1c:91:a8.
bio: create slab <bio-0> at 0
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource orion_clocksource
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
PCI: CLS 0 bytes, default 32
Unpacking initramfs...
Freeing initrd memory: 6236K
squashfs: version 4.0 (2009/01/31) Phillip Lougher
aufs 2-standalone.tree-35-20100809
msgmni has been set to 121
io scheduler noop registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 3) is a 16550A
console [ttyS0] enabled
loop: module loaded
sata_mv sata_mv.0: version 1.28
sata_mv sata_mv.0: slots 32 ports 2
scsi0 : sata_mv
scsi1 : sata_mv
ata1: SATA max UDMA/133 irq 29
ata2: SATA max UDMA/133 irq 29
physmap platform flash device: 00800000 at f4000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cmdlinepart partition parsing not available
RedBoot partition parsing not available
Using physmap partition information
Creating 5 MTD partitions on "physmap-flash.0":
0x000000000000-0x000000010000 : "MTD1"
0x000000010000-0x000000020000 : "MTD2"
0x000000020000-0x0000001a0000 : "Linux Kernel"
0x0000001a0000-0x0000007d0000 : "File System"
0x0000007d0000-0x000000800000 : "u-boot"
MV-643xx 10/100/1000 ethernet driver version 1.4
mv643xx_eth smi: probed
net eth0: port 0 with MAC address 00:21:91:1c:91:a8
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
orion-ehci orion-ehci.0: Marvell Orion EHCI
orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
orion-ehci orion-ehci.0: irq 17, io mem 0xf1050000
orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
input: gpio-keys as /class/input/input0
i2c /dev entries driver
rtc-m41t80 0-0068: chip found, driver version 0.05
rtc-m41t80 0-0068: rtc core: registered m41t80 as rtc0
lm75 0-0048: hwmon1: sensor 'lm75'
Registered led device: power:blue
Registered led device: right:amber
Registered led device: left:amber
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP cubic registered
NET: Registered protocol family 17
rtc-m41t80 0-0068: setting system clock to 2011-08-23 14:48:02 UTC (1314110882)
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: ATA-8: SAMSUNG HD501LJ, CR100-11, max UDMA7
ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata1.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access     ATA      SAMSUNG HD501LJ  CR10 PQ: 0 ANSI: 5
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support 
DPO or FUA
 sda: sda1 sda2 sda3 sda4
sd 0:0:0:0: [sda] Attached SCSI disk
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata2.00: ATA-8: MAXTOR STM31000340AS, MX1A, max UDMA/133
ata2.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata2.00: configured for UDMA/133
scsi 1:0:0:0: Direct-Access     ATA      MAXTOR STM310003 MX1A PQ: 0 ANSI: 5
sd 1:0:0:0: Attached scsi generic sg1 type 0
sd 1:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support 
DPO or FUA
 sdb: sdb1 sdb2 sdb3 sdb4
sd 1:0:0:0: [sdb] Attached SCSI disk
Freeing init memory: 116K
aufs test_add:253:mount[52]: uid/gid/perm /tmproot/rootsq 0/0/0777, 0/0/0755
Adding 530108k swap on /dev/sda1.  Priority:1 extents:1 across:530108k 
md: bind<sda2>
md: bind<sda3>
EXT3-fs: barriers not enabled
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sda4): using internal journal
EXT3-fs (sda4): mounted filesystem with writeback data mode
Adding 530108k swap on /dev/sdb1.  Priority:1 extents:1 across:530108k 
md: bind<sdb2>
md: raid1 personality registered for level 1
md/raid1:md0: active with 2 out of 2 mirrors
md0: detected capacity change from 0 to 299581046784
 md0: unknown partition table
md: bind<sdb3>
md: linear personality registered for level -1
md1: detected capacity change from 0 to 899006398464
 md1: unknown partition table
eth0: link up, 1000 Mb/s, full duplex, flow control disabled
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Installing knfsd (copyright (C) 1996 [email protected]).
EXT3-fs: barriers not enabled
kjournald starting.  Commit interval 5 seconds
EXT3-fs (md0): using internal journal
EXT3-fs (md0): mounted filesystem with writeback data mode
md1: detected capacity change from 0 to 899006398464
 md1: unknown partition table
EXT3-fs: barriers not enabled
kjournald starting.  Commit interval 5 seconds
EXT3-fs (md1): using internal journal
EXT3-fs (md1): mounted filesystem with writeback data mode

Original issue reported on code.google.com by [email protected] on 23 Aug 2011 at 2:19

/etc/minidlna.conf format for media_dir directive

What steps will reproduce the problem?
1. Edit manually /etc/minidlna.conf
2. Add media directories in format: "media_dir=V,/mnt/md0/Videos" where "V" is 
to specify this folder contains videos.
3. Save the file and try to restart MiniDLNA

What is the expected output? What do you see instead?

Even thought the ALT-F Web ui does not let specify which media type each 
directory is, I would expect the init.d script to recognize the format is 
conform and to still be able to start the daemon.

Instead, I get error message:

minidlna: Share V,/mnt/md0/Videos does not exists, disabling it.
minidlna: can't be started, no shares are configured.


What version of the product are you using? On what operating system?

ALT-F B7 with minidlna 1.0.19 

Please provide any additional information below.

It is just in my view an incorrect parsing and verification of the media_dir 
value. It takes the "V," as part of the path which it should not.

Original issue reported on code.google.com by [email protected] on 27 Apr 2011 at 10:33

Can't Reboot After Flashing

What steps will reproduce the problem?
1.after few weeks back to vendor's firmware from Alt-F-0.1B5, decided to try 
Alt-F-0.1B6
2.load Alt-F-0.1B6 from vendor's firmware 1.08
3.flashing Alt-F-0.1B6 with option erase all vendor's config 
4.clicking the "reboot" command from web after flashing complete 
5.press and hold power button didn't work. the right/left led never blinks

What is the expected output? What do you see instead?
device should be rebooted, instead device is not responding

What version of the product are you using? On what operating system?
Alt-F-0.1B6 on DNS-323 Rev.C1 ubuntu 10.10

Please provide any additional information below.
ping device 100% packet loss, network led blinking
can't access to device (http/telnet not responding)
turning off device by unplug the power cord.
after turn-on device, the reboot command via web didn't works. press and hold 
power button until right led blinks also didn't works. device always hang
shutdown command (via web / press and hold power button until left led blinks) 
works
try to flashing experimental firmware (Alt-F-0.1B6+ or Alt-F-IPv6) make no 
difference.

Original issue reported on code.google.com by [email protected] on 25 Mar 2011 at 3:26

Blue LED blinks all the time, looks bricked

Hi Int,

Sorry to ask you about that but it seems I bricked my DNS-323 rev.C1 and now 
need help.
Against all precautions, Ive tried to update the Alt-F firmware via Wi-Fi and 
upon the next reboot the blue LED started blinking all the time, and not 
responding to anything I've tried: holding down power button (front) for any 
number of seconds, the same for the back 'reset' button (even after 20-sec 
interval); it doesn't get dhcp address via router anymore either. When I power 
it on, the blue light starts flashing immediately (as normal), then hard drives 
kick in with some rustle, but after a second they calm down and the light just 
continues flashing forever, and nothing else happens nor it responds.

Please provide any advice on how to revive it!..
Thank you very much.

Original issue reported on code.google.com by [email protected] on 29 Aug 2011 at 5:55

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.