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 2009-04-16 18:21:50

ipsographic
Member
Registered: 2009-04-16
Posts: 12

installed Debian, installing svn, No space left on device!

I have the pink lights/ No space left on device problem that I've found in a few posts, but my problem differs as it followed an, attempted, installation of subversion.

I've installed the latest
fun_plug
Debian
firmware 1.06

Then a few packages required by svn from fonz, gcc, binutils, kernel-headers.

But when installing svn:
./configure ran OK
make failed with error 'No space left on device'

I still have web access, but I cannot map the drive anymore, and obviously svn is not installed.

Help!

Last edited by ipsographic (2009-04-16 23:47:48)

Offline

 

#2 2009-04-16 23:18:45

talkingRock
Member
Registered: 2009-03-26
Posts: 100

Re: installed Debian, installing svn, No space left on device!

Two questions:
How much free space was on the disk before the install?

Are you sure make install is not trying to install onto the (tiny ram based) root partition?

Offline

 

#3 2009-04-16 23:25:00

ipsographic
Member
Registered: 2009-04-16
Posts: 12

Re: installed Debian, installing svn, No space left on device!

output of df:

Filesystem           1k-blocks      Used Available Use% Mounted on
rootfs                    9911      9865         0 100% /
/dev/root                 9911      9865         0 100% /
/dev/loop0                5760      5760         0 100% /sys/crfs
/dev/md0             958846504  44510788 914335716   5% /mnt/HD_a2
/dev/sda4               497861        18    497843   0% /mnt/HD_a4
/dev/sdb4               497861        17    497844   0% /mnt/HD_b4

I was following these instructions:
http://dns323.kood.org/howto:subversion
which tries to install on HD_a2.

------ making all in apr
make[1]: Entering directory `/mnt/HD_a2/tmp/subversion-1.4.2/apr'
Making all in strings
make[2]: Entering directory `/mnt/HD_a2/tmp/subversion-1.4.2/apr/strings'
make[3]: Entering directory `/mnt/HD_a2/tmp/subversion-1.4.2/apr/strings'
/ffp/bin/bash /mnt/HD_a2/tmp/subversion-1.4.2/apr/libtool --silent --mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE   -I../include -I../include/arch/unix  -c apr_cpystrn.c && touch apr_cpystrn.lo
/ffp/bin/bash /mnt/HD_a2/tmp/subversion-1.4.2/apr/libtool --silent --mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE   -I../include -I../include/arch/unix  -c apr_snprintf.c && touch apr_snprintf.lo
apr_snprintf.c:1310: fatal error: error writing to /tmp/cca8d7Hi.s: No space left on device
compilation terminated.
make[3]: *** [apr_snprintf.lo] Error 1
make[3]: Leaving directory `/mnt/HD_a2/tmp/subversion-1.4.2/apr/strings'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/HD_a2/tmp/subversion-1.4.2/apr/strings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/HD_a2/tmp/subversion-1.4.2/apr'
make: *** [external-all] Error 1

Last edited by ipsographic (2009-04-16 23:49:21)

Offline

 

#4 2009-04-16 23:58:08

talkingRock
Member
Registered: 2009-03-26
Posts: 100

Re: installed Debian, installing svn, No space left on device!

I'm guessing that /dev/md0 is some sort or raid volume.   My machine shows /dev/sda2 and /dev/sdb2.      It is far from empty, but your root file system is full.    My best guess is that something writing to the root file system when you want it to go to your drive.   

I'm not sure how experienced you are with linux, filesystems, installs, ... so forgive me if this is too much or too little detail.   

The install you are doing probably assumes that you are in a debian environment and that it can install onto / .       We can verify both of those things.

Are you sure that the reboot into the debian chroot succeeded?   
       If it did not, then root is still pointing at the file system in memory.   
       When you cd into / or /etc, what does "df ." say?
       does it look like the firmware directory or a debian installation?

You may want to "make -n install" and then look at where it is trying to install things. 
       Take a look at what it's planning to do ("make -n"  means tell me what you are going to do, but don't do it.)
       Where do those directories live?
       If you cd into those directories and say "df ." it will tell you where they live.

Offline

 

#5 2009-04-17 00:16:38

ipsographic
Member
Registered: 2009-04-16
Posts: 12

Re: installed Debian, installing svn, No space left on device!

Hi, the machine did reboot after installing Debian, but 'm not sure about chroot, this may be the problem, what do I do if it didn't work correctly?

running 'df' from either / or /etc produces this:

Filesystem           1k-blocks      Used Available Use% Mounted on
rootfs                    9911      9876         0 100% /
/dev/root                 9911      9876         0 100% /
/dev/loop0                5760      5760         0 100% /sys/crfs
/dev/md0             958846504  44575892 914270612   5% /mnt/HD_a2
/dev/sda4               497861        18    497843   0% /mnt/HD_a4
/dev/sdb4               497861        17    497844   0% /mnt/HD_b4

Offline

 

#6 2009-04-17 03:05:30

talkingRock
Member
Registered: 2009-03-26
Posts: 100

Re: installed Debian, installing svn, No space left on device!

Does your fun_plug automatically chroot into debian, or do you do it manually?
If you do it manually, you'll have to get into the debian environment before running your make install.

In "df .", the . is important.   It is the argument to df   It asks df to only tell you about the current directory.       From what I can see, you are not in the chroot environment, so "make install" is trying to install to the 9mb root fs, which won't work.     Either the debian install did not work, or you are not doing the required chroot, either manually or in the fun_plug.     If I remember correctly, the howto talks about how to set that up.

Offline

 

#7 2009-04-17 12:22:41

ipsographic
Member
Registered: 2009-04-16
Posts: 12

Re: installed Debian, installing svn, No space left on device!

hi, thanks for your reply, I have reset the machine and reinstalled debian, it seems that it was not installed correctly before and was not booting into Debian correctly.

Offline

 

#8 2009-04-19 02:52:52

talkingRock
Member
Registered: 2009-03-26
Posts: 100

Re: installed Debian, installing svn, No space left on device!

great.   Keep us informed.   I may install a debian chroot once I get my basic backup machine configuration going.

Offline

 

#9 2009-04-19 09:01:15

peterhr
New member
Registered: 2007-10-11
Posts: 2

Re: installed Debian, installing svn, No space left on device!

I got pink lights after upgrading to 1.06 ... I think it was to do with national characters in the filenames not mapping correctly into Unicode or a different partitioning system being used on the drives (i could be up the gum tree on this).

My fix...

Pull one drive from the DNS-323 - set aside
re-install 1.0.5
Copy all the stuff from the DNS-323 off to another disk - some file names will have been zapped - not the files, just the names (see below)

install ext2 driver from http://www.fs-driver.org/ on my windows box (read only mode)
connect the drive set aside, mount it with a drive letter

Search the copied drive - find all files named XXXXXX~X (X=any alpha or numeric) - use the info from the windows mounted drive to find the proper name for the file, then correct it.

Finally upgrade the DNS-323 to 1.07 reset the box to manufacturers condition (option in tools menu), reformat drives
copy everything back on

Next time - I will back everything up before upgrading.

(note the original reason I bought the box was because my PC BIOS wouldn't handle drives of over 137Gb, I was only able to use the DNS-323 drives on the PC because i've had a motherboard replacement, and now have one that can handle the bigger drives)

Last edited by peterhr (2009-04-19 09:39:42)

Offline

 

#10 2009-04-22 22:59:28

ipsographic
Member
Registered: 2009-04-16
Posts: 12

Re: installed Debian, installing svn, No space left on device!

talkingRock wrote:

great.   Keep us informed.   I may install a debian chroot once I get my basic backup machine configuration going.

I think the reason I had problems was that I installed Debian over an existing ffp installation, it didn't boot into CHROOT correctly. Anyway, now that I understand that ffp is not fun_plug I'm really happy with my machine, I have a standalone web server, svn server, and a media server, all for the price of RAID backup machine, and I nearly bought the linksys nas.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB