Problem with USB Station 2 after DSM 3.1 and Bootstrap

Questions about IPKG can go here!
Forum rules
Please note the disclaimer before modifying your Synology Product.

Problem with USB Station 2 after DSM 3.1 and Bootstrap

Postby ygorc » Thu Jun 09, 2011 3:32 am

Hi there, I was using the itolosa firmware and after the upgrade to DSM 3.1 (synology firmware DSM_USB_Station_2_1742.pat) I've noticed that ipkg was no longer working. So I tried to install it again following the guidelines to install the bootstrap first. But something went really bad and after the reboot, the usb station screen is without any icons. If I try to access the file station directly by port 7001, it opens ok, but the main screen show no more icons. Any ideas? Can I reinstall the firmware again? How, because the dsm update icon is no longer available? Thank you.
ygorc
Trainee
Trainee
 
Posts: 10
Joined: Thu Jun 09, 2011 3:23 am

Re: Problem with USB Station 2 after DSM 3.1 and Bootstrap

Postby ygorc » Fri Jun 10, 2011 12:10 am

I also manage to access the ssh interface. Please any help? I saw that the mount and df information is a little strange:



YgorUSBStation2> mount
/dev/root on / type squashfs (ro,relatime)
/tmp on /tmp type tmpfs (0)
none on /dev/pts type devpts (gid=4,mode=620)
/sys on /sys type sysfs (0)
/proc/bus/usb on /proc/bus/usb type usbfs (0)
YgorUSBStation2> df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/synoboot1 83456 83456 0 100% /
/tmp 59308 552 58756 1% /tmp
ygorc
Trainee
Trainee
 
Posts: 10
Joined: Thu Jun 09, 2011 3:23 am

Re: Problem with USB Station 2 after DSM 3.1 and Bootstrap

Postby ygorc » Fri Jun 10, 2011 3:38 pm

I've managed to recover it by plugging off the synology and plugging in while holding the reset button at the same time. Everything went back to normal. Thanks.
ygorc
Trainee
Trainee
 
Posts: 10
Joined: Thu Jun 09, 2011 3:23 am

Re: Problem with USB Station 2 after DSM 3.1 and Bootstrap

Postby nico-tlse » Thu Jun 16, 2011 1:50 pm

We've updated our alternative firmware to version 3.1-1742.
This new release still included IPKG auto-installer and precompiled drivers.

Download page for your information : http://synology.itolosa.com
nico-tlse
Student
Student
 
Posts: 69
Joined: Thu Oct 28, 2010 10:25 am

Re: Problem with USB Station 2 after DSM 3.1 and Bootstrap

Postby ygorc » Sun Jun 26, 2011 2:18 am

nico-tlse wrote:We've updated our alternative firmware to version 3.1-1742.
This new release still included IPKG auto-installer and precompiled drivers.

Download page for your information : http://synology.itolosa.com


Hi there, i've installed your new firmware, but when I try to run ./install-ipkg, it keeps giving me this error:

Code: Select all
./install-ipkg
Optware Bootstrap for syno-mvkw.
Extracting archive... please wait
bootstrap/
bootstrap/bootstrap.sh
bootstrap/ipkg-opt.ipk
bootstrap/ipkg.sh
bootstrap/optware-bootstrap.ipk
bootstrap/wget.ipk
1232+1 records in
1232+1 records out
Creating temporary ipkg repository...
Installing optware-bootstrap package...
Unpacking optware-bootstrap.ipk...Done.
Configuring optware-bootstrap.ipk...Modifying /etc/rc.local
Done.
Installing ipkg...
Unpacking ipkg-opt.ipk...Done.
Configuring ipkg-opt.ipk...WARNING: can't open config file: /usr/syno/ssl/openssl.cnf
tar: write error: No space left on device
Done.
Removing temporary ipkg repository...
Installing wget...
Installing wget (1.12-2) to root...
ipkg: write: No space left on device
file_md5sum_alloc: Failed to open file /opt/etc/wgetrc: No such file or directory
Configuring wget
Successfully terminated.
Creating /opt/etc/ipkg/cross-feed.conf...
Setup complete.


Any ideas of what i'm doing wrong?
Thanks!
ygorc
Trainee
Trainee
 
Posts: 10
Joined: Thu Jun 09, 2011 3:23 am

Re: Problem with USB Station 2 after DSM 3.1 and Bootstrap

Postby maxxfi » Sun Jun 26, 2011 6:33 am

ygorc wrote:Hi there, i've installed your new firmware, but when I try to run ./install-ipkg, it keeps giving me this error:

Code: Select all
...
Installing ipkg...
Unpacking ipkg-opt.ipk...Done.
Configuring ipkg-opt.ipk...WARNING: can't open config file: /usr/syno/ssl/openssl.cnf
tar: write error: No space left on device
...
Installing wget...
Installing wget (1.12-2) to root...
ipkg: write: No space left on device



It looks like you have probably the system volume full.
Can you show the output of "df -k" command?
DS-411 (DSM 4.2-3202) w/ 2x WD10EFRX + 1x HD154UI
DS-106j (DSM 3.0-1357), PATA-to-SATA adapter, 2.5" HM250HI
User avatar
maxxfi
Architect
Architect
 
Posts: 4339
Joined: Sun Dec 27, 2009 12:13 pm
Location: Espoo, Finland

Re: Problem with USB Station 2 after DSM 3.1 and Bootstrap

Postby ygorc » Sun Jun 26, 2011 3:28 pm

maxxfi wrote:
It looks like you have probably the system volume full.
Can you show the output of "df -k" command?


Sure!

Code: Select all
login as: root
root@192.168.1.112's password:


BusyBox v1.16.1 (2011-06-07 14:03:52 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

YgorUSBStation2> df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/synoboot1           83840     83840         0 100% /
/tmp                     59308       708     58600   1% /tmp
/dev/sdq1             15377724    693512  14581812   5% /volumeUSB1/usbshare
/dev/sdr1            1465269372 1338909620 126359752  91% /volumeUSB2/usbshare2-           1
/dev/sdr2            1464993788  90036600 1374957188   6% /volumeUSB2/usbshare2-           2
/volume1/@optware        15235     14624       611  96% /opt
YgorUSBStation2>


Is there anything that I can remove to make space? Maybe a full reset?
Thanks!
ygorc
Trainee
Trainee
 
Posts: 10
Joined: Thu Jun 09, 2011 3:23 am

Re: Problem with USB Station 2 after DSM 3.1 and Bootstrap

Postby maxxfi » Sun Jun 26, 2011 6:39 pm

ygorc wrote:YgorUSBStation2> df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/synoboot1 83840 83840 0 100% /
/tmp 59308 708 58600 1% /tmp
/dev/sdq1 15377724 693512 14581812 5% /volumeUSB1/usbshare
/dev/sdr1 1465269372 1338909620 126359752 91% /volumeUSB2/usbshare2- 1
/dev/sdr2 1464993788 90036600 1374957188 6% /volumeUSB2/usbshare2- 2
/volume1/@optware 15235 14624 611 96% /opt
YgorUSBStation2>

I guess the first red-marked 100%-in-use filesystem is in flash memory.
I don't own a USB2 so I may be wrong, but probably it should not matter.

The second red-marked filesystem, /opt, has only 611 kB free... and that one
is probably causing problems.
What else do you have under /opt? Can you check?
DS-411 (DSM 4.2-3202) w/ 2x WD10EFRX + 1x HD154UI
DS-106j (DSM 3.0-1357), PATA-to-SATA adapter, 2.5" HM250HI
User avatar
maxxfi
Architect
Architect
 
Posts: 4339
Joined: Sun Dec 27, 2009 12:13 pm
Location: Espoo, Finland

Re: Problem with USB Station 2 after DSM 3.1 and Bootstrap

Postby haef67 » Sun Jun 26, 2011 7:51 pm

On the USBS2 device the free space on internal Flash memory is relatively small 16MB, so most probalbly there are already some files present (from a previous IPKG installation) and the free room does not allow to install IPKG.
Two solutions

1. Delete some files in /opt directory
2. Install IPKG on external flash memory (USB stick)

Patrick
DS-107+ (128Mo) | Firmware Version: 2.2-0959 | HDD: Samsung 500GB HD501LJ
DS-110j (128Mo) | Firmware Version: 2.3-1157 | HDD: Samsung 1TB HD103SJ
USBStation 2 (128Mo) | Alternative Firmware Version: 3.0-1417 (with IPKG)| 16Go Compact Flash card & 2.5" HDD 350GB
haef67
Sharp
Sharp
 
Posts: 182
Joined: Sat Jan 19, 2008 12:58 pm
Location: France

Re: Problem with USB Station 2 after DSM 3.1 and Bootstrap

Postby ygorc » Mon Jun 27, 2011 12:37 am

haef67 wrote:On the USBS2 device the free space on internal Flash memory is relatively small 16MB, so most probalbly there are already some files present (from a previous IPKG installation) and the free room does not allow to install IPKG.
Two solutions

1. Delete some files in /opt directory
2. Install IPKG on external flash memory (USB stick)

Patrick


I prefer option 2, because I don't know what files I can delete without messing everything.
Can you please tell me how to install IPKG on a USB stick, which is already mounted on /volumeUSB1/usbshare?
Thanks!
ygorc
Trainee
Trainee
 
Posts: 10
Joined: Thu Jun 09, 2011 3:23 am

Re: Problem with USB Station 2 after DSM 3.1 and Bootstrap

Postby haef67 » Mon Jun 27, 2011 7:23 am

Hi,

I have described how to install IPKG on an external memory stick on my website, but it is in "French". Nevertheless I guess it could help you, please have a look to : http://syno.haeflinger.com/index.php/US ... ation_IPKG

Hope it helps

Patrick
DS-107+ (128Mo) | Firmware Version: 2.2-0959 | HDD: Samsung 500GB HD501LJ
DS-110j (128Mo) | Firmware Version: 2.3-1157 | HDD: Samsung 1TB HD103SJ
USBStation 2 (128Mo) | Alternative Firmware Version: 3.0-1417 (with IPKG)| 16Go Compact Flash card & 2.5" HDD 350GB
haef67
Sharp
Sharp
 
Posts: 182
Joined: Sat Jan 19, 2008 12:58 pm
Location: France

Re: Problem with USB Station 2 after DSM 3.1 and Bootstrap

Postby nico-tlse » Mon Jun 27, 2011 1:48 pm

For most usages, it is hardly recommended to follow haef67 tip and to move optware on an external device. You have to remember that US2 internal flash memory is very limited, and won't allow you to install many third-party tools.
nico-tlse
Student
Student
 
Posts: 69
Joined: Thu Oct 28, 2010 10:25 am

Re: Problem with USB Station 2 after DSM 3.1 and Bootstrap

Postby haef67 » Mon Jun 27, 2011 2:52 pm

Hi all,

If you have problems with the French version of my tutorial (of IPKG installation on an external memory device) please let me know if I have enough requests I will take some of my time to create an English version of it

Regards

Patrick
DS-107+ (128Mo) | Firmware Version: 2.2-0959 | HDD: Samsung 500GB HD501LJ
DS-110j (128Mo) | Firmware Version: 2.3-1157 | HDD: Samsung 1TB HD103SJ
USBStation 2 (128Mo) | Alternative Firmware Version: 3.0-1417 (with IPKG)| 16Go Compact Flash card & 2.5" HDD 350GB
haef67
Sharp
Sharp
 
Posts: 182
Joined: Sat Jan 19, 2008 12:58 pm
Location: France

Re: Problem with USB Station 2 after DSM 3.1 and Bootstrap

Postby ygorc » Mon Jun 27, 2011 9:54 pm

nico-tlse wrote:For most usages, it is hardly recommended to follow haef67 tip and to move optware on an external device. You have to remember that US2 internal flash memory is very limited, and won't allow you to install many third-party tools.

I just want transmission and lighttpd...
Thanks
ygorc
Trainee
Trainee
 
Posts: 10
Joined: Thu Jun 09, 2011 3:23 am

Re: Problem with USB Station 2 after DSM 3.1 and Bootstrap

Postby nico-tlse » Mon Jun 27, 2011 9:59 pm

ygorc wrote:I just want transmission and lighttpd...


Just install the alternative firmware then use ipkg :

> ipkg list transmission
transmission - 2.31-1 - Lightweight BitTorrent client and daemon, with web interface bundled.

> ipkg list lighttpd
lighttpd - 1.4.28-1 - A fast webserver with minimal memory footprint.
nico-tlse
Student
Student
 
Posts: 69
Joined: Thu Oct 28, 2010 10:25 am

Next

Return to IPKG

Who is online

Users browsing this forum: No registered users and 2 guests