You are here: Home » Topic » So now I have gone and made soup of it all…

So now I have gone and made soup of it all…

This topic contains 22 replies, has 6 voices, and was last updated by  richdunlop 10 years, 10 months ago.

Viewing 15 posts - 1 through 15 (of 23 total)
  • Author
    Posts
  • #1512

    davesanti
    Participant

    12 hours ago FF was up and running perfectly on my newly unlsung Slug…and HDD NAS setup. But I couldn’t leave well enough alone.. and unfortunately my Linux/skills and understanding are nonexistent.

    Install was HDD only on port 2.. I wanted to a flash/HDD with Slug unlunsg to flash on port 2.. I made a huge mess of it and the Slug went to hell on me. I seem to have more or less recovered after a bunch or hair pulling and now it seems I am unslung to the flash on drive 2 and the HDD is recognized in drive 1. Both drives are mapped to my PC and come up and I can put file in them.. Here is a shot of my Slug GUI page.

    I tried to install FF (nightly) and regular with no success (as an aside, I tried Twonky and got it installed no problem and it is working, but I don’t want Twonky I love FF).

    When I do # ipkg install mt-daapd I get a bunch of errors:

    Here is what it looked like with a nightly attempt:

    First off this what I get when I telnet in:

    LKG7BFC4D login: root
    Password:
    No directory, logging in with HOME=/

    Welcome to Unslung V2.3R63-uNSLUng-6.8-beta


    NOTE: THIS SYSTEM IS CURRENTLY UNSLUNG


    BusyBox v0.60.4 (2005.03.22-06:52+0000) Built-in shell (ash)
    Enter ‘help’ for a list of built-in commands.

    I notice the no directory thing, in the first few lines and don’t think I have ever seen that before..

    Then:

    # echo “src firefly http://ipkg.fireflymediaserver.org/armeb” > /etc/ipkg/firefl
    y.conf
    # ipkg update
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/Package
    s.gz
    Inflating http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/Packages.
    gz
    Updated list of available packages in /usr/lib/ipkg/lists/cross
    Downloading http://ipkg.fireflymediaserver.org/armeb/Packages
    Updated list of available packages in /usr/lib/ipkg/lists/firefly
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/nslu2/native/stable/Packag
    es.gz
    Inflating http://ipkg.nslu2-linux.org/feeds/optware/nslu2/native/stable/Packages
    .gz
    Updated list of available packages in /usr/lib/ipkg/lists/native
    Downloading http://ipkg.nslu2-linux.org/feeds/unslung/modules/cross/6.8-beta/Pac
    kages.gz
    Inflating http://ipkg.nslu2-linux.org/feeds/unslung/modules/cross/6.8-beta/Packa
    ges.gz
    Updated list of available packages in /usr/lib/ipkg/lists/oe

    So far so good, I think, but:

    I try

    # ipkg install mt-daapd

    And get

    Installing mt-daapd (svn-1586-1) to root…
    Downloading http://ipkg.fireflymediaserver.org/armeb/mt-daapd_svn-1586-1_armeb.i
    pk
    Installing libid3tag (0.15.1b-1) to root…
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/libid3t
    ag_0.15.1b-1_armeb.ipk
    Installing zlib (1.2.3-2) to root…
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/zlib_1.
    2.3-2_armeb.ipk
    Installing libogg (1.1.3-3) to root…
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/libogg_
    1.1.3-3_armeb.ipk
    Installing libvorbis (1.1.2-5) to root…
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/libvorb
    is_1.1.2-5_armeb.ipk

    After a bit more then I start getting a ton of these:

    ipkg: /opt/share/terminfo/n/ncr260intpp: No such file or directory
    ipkg: /opt/share/terminfo/n/nsterm-m-s: No such file or directory
    ipkg: Cannot create symlink from ./opt/share/terminfo/n/nwe501 to ‘../n/nwp513’:
    No such file or directory
    ipkg: /opt/share/terminfo/n/ncr260wy60wpp: No such file or directory
    ipkg: Cannot create symlink from ./opt/share/terminfo/n/nsterm-7-m to ‘../n/nste
    rm-m-7′: No such file or directory
    ipkg: /opt/share/terminfo/n/nsterm-s-7: No such file or directory
    ipkg: /opt/share/terminfo/n/nsterm-acs: No such file or directory

    And it concludes with :

    Collected errors:
    Unable to open the control file in set_flags_from_control
    Could not open //usr/lib/ipkg/info/ivorbis-tools.list for writing: Input/output
    error
    Could not open //usr/lib/ipkg/info/libao.list for writing: Input/output error
    Could not open //usr/lib/ipkg/info/libcurl.list for writing: Input/output error
    Could not open //usr/lib/ipkg/info/libogg.list for writing: Input/output error
    Could not open //usr/lib/ipkg/info/libvorbis.list for writing: Input/output erro
    r
    Could not open //usr/lib/ipkg/info/zlib.list for writing: Input/output error
    WARNING: Unable to remove temporary directory: /tmp/ipkg-tUF42M: No such file or
    directory
    #

    Have I made a mess or is this something that can be cleaned up.

    Ouch.. I am such an idiot some times… I need to stick to doing nothing but following directions.

    Dave

    #11429

    rpedde
    Participant

    @davesanti wrote:

    12 hours ago FF was up and running perfectly on my newly unlsung Slug…and HDD NAS setup. But I couldn’t leave well enough alone.. and unfortunately my Linux/skills and understanding are nonexistent.

    Install was HDD only on port 2.. I wanted to a flash/HDD with Slug unlunsg to flash on port 2.. I made a huge mess of it and the Slug went to hell on me. I seem to have more or less recovered after a bunch or hair pulling and now it seems I am unslung to the flash on drive 2 and the HDD is recognized in drive 1. Both drives are mapped to my PC and come up and I can put file in them.. Here is a shot of my Slug GUI page.

    I tried to install FF (nightly) and regular with no success (as an aside, I tried Twonky and got it installed no problem and it is working, but I don’t want Twonky I love FF).

    When I do # ipkg install mt-daapd I get a bunch of errors:

    Here is what it looked like with a nightly attempt:

    First off this what I get when I telnet in:

    LKG7BFC4D login: root
    Password:
    No directory, logging in with HOME=/

    Welcome to Unslung V2.3R63-uNSLUng-6.8-beta


    NOTE: THIS SYSTEM IS CURRENTLY UNSLUNG


    BusyBox v0.60.4 (2005.03.22-06:52+0000) Built-in shell (ash)
    Enter ‘help’ for a list of built-in commands.

    I notice the no directory thing, in the first few lines and don’t think I have ever seen that before..

    Then:

    # echo “src firefly http://ipkg.fireflymediaserver.org/armeb” > /etc/ipkg/firefl
    y.conf
    # ipkg update
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/Package
    s.gz
    Inflating http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/Packages.
    gz
    Updated list of available packages in /usr/lib/ipkg/lists/cross
    Downloading http://ipkg.fireflymediaserver.org/armeb/Packages
    Updated list of available packages in /usr/lib/ipkg/lists/firefly
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/nslu2/native/stable/Packag
    es.gz
    Inflating http://ipkg.nslu2-linux.org/feeds/optware/nslu2/native/stable/Packages
    .gz
    Updated list of available packages in /usr/lib/ipkg/lists/native
    Downloading http://ipkg.nslu2-linux.org/feeds/unslung/modules/cross/6.8-beta/Pac
    kages.gz
    Inflating http://ipkg.nslu2-linux.org/feeds/unslung/modules/cross/6.8-beta/Packa
    ges.gz
    Updated list of available packages in /usr/lib/ipkg/lists/oe

    So far so good, I think, but:

    I try

    # ipkg install mt-daapd

    And get

    Installing mt-daapd (svn-1586-1) to root…
    Downloading http://ipkg.fireflymediaserver.org/armeb/mt-daapd_svn-1586-1_armeb.i
    pk
    Installing libid3tag (0.15.1b-1) to root…
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/libid3t
    ag_0.15.1b-1_armeb.ipk
    Installing zlib (1.2.3-2) to root…
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/zlib_1.
    2.3-2_armeb.ipk
    Installing libogg (1.1.3-3) to root…
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/libogg_
    1.1.3-3_armeb.ipk
    Installing libvorbis (1.1.2-5) to root…
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/libvorb
    is_1.1.2-5_armeb.ipk

    After a bit more then I start getting a ton of these:

    ipkg: /opt/share/terminfo/n/ncr260intpp: No such file or directory
    ipkg: /opt/share/terminfo/n/nsterm-m-s: No such file or directory
    ipkg: Cannot create symlink from ./opt/share/terminfo/n/nwe501 to ‘../n/nwp513’:
    No such file or directory
    ipkg: /opt/share/terminfo/n/ncr260wy60wpp: No such file or directory
    ipkg: Cannot create symlink from ./opt/share/terminfo/n/nsterm-7-m to ‘../n/nste
    rm-m-7′: No such file or directory
    ipkg: /opt/share/terminfo/n/nsterm-s-7: No such file or directory
    ipkg: /opt/share/terminfo/n/nsterm-acs: No such file or directory

    And it concludes with :

    Collected errors:
    Unable to open the control file in set_flags_from_control
    Could not open //usr/lib/ipkg/info/ivorbis-tools.list for writing: Input/output
    error
    Could not open //usr/lib/ipkg/info/libao.list for writing: Input/output error
    Could not open //usr/lib/ipkg/info/libcurl.list for writing: Input/output error
    Could not open //usr/lib/ipkg/info/libogg.list for writing: Input/output error
    Could not open //usr/lib/ipkg/info/libvorbis.list for writing: Input/output erro
    r
    Could not open //usr/lib/ipkg/info/zlib.list for writing: Input/output error
    WARNING: Unable to remove temporary directory: /tmp/ipkg-tUF42M: No such file or
    directory
    #

    Have I made a mess or is this something that can be cleaned up.

    Ouch.. I am such an idiot some times… I need to stick to doing nothing but following directions.

    Dave

    Sounds like your opt directory is in the wrong place and it thinks you have packages installed that you don’t. Or something.

    If that’s the case, you can move the /opt directory out of the way (/opt.old?) and symlink opt to the /opt directory on the hard drive.

    That might work.

    Or, look at “Upgrade challenge #2” on this page:

    http://www.nslu2-linux.org/wiki/Unslung/UpgradingToUnslung6

    That may be what’s tripping you up, too — it’s trying to boot off your old drive.

    See if the instructions there help.

    — Ron

    #11430

    davesanti
    Participant

    Thanks, Ron.

    I have no objection to a “clean start” either… I will do it all over again if is solves my issues. Does that seem like a good approach, also.

    I am not certain I wont make a mess out of moving the directory. Also, I want the Flash drive to have all the operating stuff on it. Would putting the /opt directory on the hard drive be consistent with this idea.

    All of this is a result of my desrire to get the HDD to spin down. It appears that to do this I should be unslung to the flash so the Slug doesnt have to access the HDD when not in use. BTW, the HDD spins down fine when on, but no attached to the Slug.

    Dave

    #11431

    davesanti
    Participant

    Rob, I performed a clean install and have reflashed/reslung to the 2gb stick on port 2.

    All of that looks great..

    But, still no go

    Here is what I got:

    LKG7BFC4D login: root
    Password:
    No directory, logging in with HOME=/

    Welcome to Unslung V2.3R63-uNSLUng-6.8-beta


    NOTE: THIS SYSTEM IS CURRENTLY UNSLUNG


    BusyBox v0.60.4 (2005.03.22-06:52+0000) Built-in shell (ash)
    Enter ‘help’ for a list of built-in commands.

    # echo “src firefly http://ipkg.fireflymediaserver.org/armeb” > /etc/ipkg/firefl
    y.conf
    # ipkg update
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/Package
    s.gz
    Inflating http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/Packages.
    gz
    Updated list of available packages in /usr/lib/ipkg/lists/cross
    Downloading http://ipkg.fireflymediaserver.org/armeb/Packages
    Updated list of available packages in /usr/lib/ipkg/lists/firefly
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/nslu2/native/stable/Packag
    es.gz
    Inflating http://ipkg.nslu2-linux.org/feeds/optware/nslu2/native/stable/Packages
    .gz
    Updated list of available packages in /usr/lib/ipkg/lists/native
    Downloading http://ipkg.nslu2-linux.org/feeds/unslung/modules/cross/6.8-beta/Pac
    kages.gz
    Inflating http://ipkg.nslu2-linux.org/feeds/unslung/modules/cross/6.8-beta/Packa
    ges.gz
    Updated list of available packages in /usr/lib/ipkg/lists/oe
    # ipkg install mt-daapd
    Installing mt-daapd (svn-1586-1) to root…
    Downloading http://ipkg.fireflymediaserver.org/armeb/mt-daapd_svn-1586-1_armeb.i
    pk
    Installing libid3tag (0.15.1b-1) to root…
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/libid3t
    ag_0.15.1b-1_armeb.ipk
    Installing zlib (1.2.3-2) to root…
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/zlib_1.
    2.3-2_armeb.ipk
    Installing libogg (1.1.3-3) to root…
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/libogg_
    1.1.3-3_armeb.ipk
    Installing libvorbis (1.1.2-5) to root…
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/libvorb
    is_1.1.2-5_armeb.ipk
    Installing ivorbis-tools (1.0-6) to root…
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/ivorbis
    -tools_1.0-6_armeb.ipk
    ipkg: extract_archive: /opt/man/: Input/output error
    ipkg: extract_archive: /opt/man/man1/: No such file or directory
    ipkg: /opt/man/man1/vcut.1: No such file or directory
    ipkg: /opt/man/man1/ogg123.1: No such file or directory
    ipkg: /opt/man/man1/oggdec.1: No such file or directory
    ipkg: /opt/man/man1/ogginfo.1: No such file or directory
    ipkg: /opt/man/man1/vorbiscomment.1: No such file or directory
    ipkg: /opt/man/man1/oggenc.1: No such file or directory
    ipkg: extract_archive: /opt/bin/: Input/output error
    ipkg: /opt/bin/vcut: No such file or directory
    ipkg: /opt/bin/vorbiscomment: No such file or directory
    ipkg: /opt/bin/ogg123: No such file or directory
    ipkg: /opt/bin/oggenc: No such file or directory
    ipkg: /opt/bin/oggdec: No such file or directory
    ipkg: /opt/bin/ogginfo: No such file or directory
    ipkg: extract_archive: /opt/share/doc/vorbis-tools-1.0/: Input/output error
    ipkg: /opt/share/doc/vorbis-tools-1.0/ogg123rc-example: No such file or director
    y
    Installing libao (0.8.6-2) to root…
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/libao_0
    .8.6-2_armeb.ipk
    pkg_run_script: ERROR: uninstalled package libao has a NULL tmp_unpack_dir
    Configuring ivorbis-tools
    Configuring libid3tag
    Configuring libogg
    Configuring libvorbis
    Configuring update-modules
    Configuring zlib
    An error ocurred, return value: 1.
    Collected errors:
    unpack_pkg_control_files: Failed to create temporary directory ‘(null)’: Input/o
    utput error
    Aborting installation of libao
    #

    If i try to run the install or download scripts I get:

    # ipkg update
    ipkg_conf_init: Failed to create temporary directory `(null)’: Read-only file sy
    stem
    # ipkg install mt-daapd
    ipkg_conf_init: Failed to create temporary directory `(null)’: Read-only file sy
    stem
    #

    (as an aside twonky wont install anymore either – “cant open NAS installer, read only file system”

    Crap.. I thought I had it when the reflash and sling went well. Before I slung to the mem stick, I formatted it to Fat, and then reformatted it by the Slug (everything Ok, EXt2 and mounted).

    Any more thoughts. I apologize for being such a Noob..

    Dave

    #11432

    S80_UK
    Participant

    @davesanti wrote:

    Rob, I performed a clean install and have reflashed/reslung to the 2gb stick on port 2.

    Hi,

    Just wondering why you have the stick in port 2? From what I have read, port 1 seems to be the preferred port when unslinging to stick. I have done this a couple of times (following Rich Dunlop’s write up) and found no major problems.

    One thing I noticed in your other thread(s) on the Roku forum – I think you reformatted the stick between attempts. This is good, but you may need to do more than that. The unslinging creates 3 partitions on the stick, and I found it best to remove all partitions on the stick using the Windows Disk Manager and create a single formatted partion before letting the slug see it, just in case it saw something left over from the previous attempts.

    #11433

    davesanti
    Participant

    Thank you, S80, I am planning on using the disk manager this time as I think you are right about the partitions.

    As to the ports, I debated that. It seems that conventional wisdom (from the read me on the unsling 6.8 beta.. advised by Rich Dunlop to be followed) is Port 2 for single drive formatted by slug and all other drives will be Fat/NTFS

    Port 2 for single drive formatted by slug only

    Port 1 if you have 2 drives and both to be formatted by Slug.

    My goal is to have mem stick on port 2 and HDD as Fat/NTFS on port 1.

    I want the system to be able to ignore the HDD when I am not using it so it will spin down. Perhaps though it will do this anyway if I unsling to mem stick on port 1 and put HDD on port 2 after.

    Dave

    #11434

    rpedde
    Participant

    @s80_uk wrote:

    @davesanti wrote:

    Rob, I performed a clean install and have reflashed/reslung to the 2gb stick on port 2.

    Hi,

    Just wondering why you have the stick in port 2? From what I have read, port 1 seems to be the preferred port when unslinging to stick. I have done this a couple of times (following Rich Dunlop’s write up) and found no major problems.

    One thing I noticed in your other thread(s) on the Roku forum – I think you reformatted the stick between attempts. This is good, but you may need to do more than that. The unslinging creates 3 partitions on the stick, and I found it best to remove all partitions on the stick using the Windows Disk Manager and create a single formatted partion before letting the slug see it, just in case it saw something left over from the previous attempts.

    I’ve got an install as well using Rich’s guide (http://wiki.fireflymediaserver.org/NSLU2_Installation) with stick on 1 and drive on 2.

    #11435

    davesanti
    Participant

    Epilogue:

    Well, things went from bad to worse and I finally gave up on that Slug…

    Out of sheer mania to get things right, (and maybe lack of sleep) I went down to the local Comp Usa, dropped a C Note on another slug and tried again… very carefully…

    Would you believe…..

    Less then one hour start to finish.. running like a charm.

    I unslung to port 1 (memory stick) and then when everything looked good I formatted the HDD on port 2.

    FF latest nightly running great.. transferring a bunch of music to the HDD.

    Thank you all for your help…You actually gave me a lot of good tips and advice.

    If anyone wants a new de-underclocked Slug…which has problems, but may not yet be a total brick, I am willing to give it up for a very reasonable price 😀

    Dave

    #11436

    fizze
    Participant

    Hehe Dave, info about your whereabouts would come in handy for the interested. 😉

    #11437

    S80_UK
    Participant

    @davesanti wrote:

    Less then one hour start to finish.. running like a charm.

    Well done!

    Less than one hour…? That makes you an expert! It still takes me longer than that.

    Glad you got there in the end.

    I am sure the other slug is probably OK – just needs reflashing, etc. Where are you based?

    #11438

    davesanti
    Participant

    Thanks, guys.. I am in Northern California, just North of San Francisco.

    I think I was able to do it so quickly because I have spent so much time thinking about this stuf, tryign and re trying various things that all the screens, menus, choices became easy.

    I formatted the HDD with a different XP machine while I did the other work.

    Let me clarify everything was up and running in less then an hour. It took another 20 minutes or so the format the HDD with the Slug to ext3. The biggest time eater wre the 1) flash of the firmware, reboots of the Slug which seem to take 3 – 4 minutes each and the format of the mem stick to ext3 which took 5 – 10 minutes.

    I finally got some sleep last night… and the Slug seems happy..

    And the kicker…the drive was spun down and silent when I got up this morning. As soon as I turned the Rolu on and cliked on FF, it spun up and found my stuff in seconds. I noticed no delay difference from turning things on when the drive is running.

    I dont need to access the Music everyday or more then a few hours at a time so I wanted a solution that will allow the drive to spin down. The reason for all this runaround is the first time I did this, I used the HDD only and it would never spin down.

    Thanks everyone,

    Dave

    #11439

    rpedde
    Participant

    @davesanti wrote:

    Thanks, guys.. I am in Northern California, just North of San Francisco.

    I think I was able to do it so quickly because I have spent so much time thinking about this stuf, tryign and re trying various things that all the screens, menus, choices became easy.

    I formatted the HDD with a different XP machine while I did the other work.

    Let me clarify everything was up and running in less then an hour. It took another 20 minutes or so the format the HDD with the Slug to ext3. The biggest time eater wre the 1) flash of the firmware, reboots of the Slug which seem to take 3 – 4 minutes each and the format of the mem stick to ext3 which took 5 – 10 minutes.

    I finally got some sleep last night… and the Slug seems happy..

    And the kicker…the drive was spun down and silent when I got up this morning. As soon as I turned the Rolu on and cliked on FF, it spun up and found my stuff in seconds. I noticed no delay difference from turning things on when the drive is running.

    I dont need to access the Music everyday or more then a few hours at a time so I wanted a solution that will allow the drive to spin down. The reason for all this runaround is the first time I did this, I used the HDD only and it would never spin down.

    Thanks everyone,

    Dave

    Now you can install debian on the other one. 🙂

    — Ron

    #11440

    davesanti
    Participant

    Well I can try anyway, Ron..

    Dave

    #11441

    davesanti
    Participant

    Ron, the problem with the old slug (and why I gave up on it) is that it doesnt appear on the network anymore. I can boot it up without a drive and it seems to do OK. but I cant find it, I cant telnet to it and I cant get the gui up… if I could get back into it I might be able to do something with it.

    Dave

    #11442

    sonichouse
    Participant

    The slug has a default IP address of 192.168.1.77.

    If your new (working)slug is already running on that IP address, your old one will not be seenon the network.

    If that is the case, change the IP of the one that you can get to, and see if that works.

Viewing 15 posts - 1 through 15 (of 23 total)

You must be logged in to reply to this topic.