• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1]
1  General Category / General Discussion / Starting Again from Scratch with my Sheevaplug on: August 25, 2013, 12:22:09 PM
Hi,
After a couple of years or 4 of faithful service, my Sheevaplug stopped booting on its own. If there was some kind of power loss, then it would boot to
Marvell>>
and I would have to type boot, via the serial console, to get it to reboot fully.

Eventually I decided to try to resolve this and to update the Sheevaplug linux at the same time. So, I used dd on my macbook to write Wheezy to my 4GB SD Card but now I cann't get past Marvell>>  at all. I followed some instructions to set the environment variables to boot into the SD Card, but now I get the error

** Unable to read "/boot/uImage" from mmc 0:1 **
## Booting Image at 00800000 ...
Bad Magic NUmber
Marvell>>

and that's as far as I can get. If I try to follow the instructions on plugcomputer.org wiki, I quickly get to a page that is no longer available and so I am stuck. Can someone please point me at some start to finish instructions as to how to configure u-boot upwards, or alternatively help me to understand what I need to set the variables to to allow me to auto boot from SD Card once again?

Many thanksm

Madmike.
2  Linux Stuff / General Linux questions / Re: GPT-Capable Debian on Sheevaplug on: April 04, 2013, 06:36:57 AM
The version I was using had the required
Quote
CONFIG_EFI_PARTITION=y
as does the Debian Squeeze image I'm now using. NewIT confirm that the image I'm using is GPT compliant but gdisk and parted still see it as a 800GB disk. :-(
3  Linux Stuff / General Linux questions / Re: 3TB Disk Woes on: April 04, 2013, 06:26:13 AM
So I am now booting into Debian Squeeze from an image kindly given to me by NewIT as being fully GPT aware. I have downloaded ported and GPT disk tools and they still see the disk as 800GB. Help! Please! Someone!
4  Linux Stuff / General Linux questions / GPT-Capable Debian on Sheevaplug on: March 27, 2013, 03:19:06 PM
How can I tell if my Sheevaplug Debian installation (Linux hardy 2.6.30.2 #11 PREEMPT Wed Jul 22 19:53:31 MDT 2009 armv5tel GNU/Linux) is fullt GPT aware/capable (Im'm the guy with 3TB disk woes)?

Ta,

Madmike.
5  Linux Stuff / General Linux questions / Re: 3TB Disk Woes on: March 27, 2013, 09:41:40 AM
OK, so I fully read the included README file  Wink and was able to compile gdisk,
but even gdisk reports the disk as 800GB (where MacOS and Windows see it
correctly as a 3TB disk): can someone please help me to get my Sheevaplug
to recognise this correctly?

6  Linux Stuff / General Linux questions / 3TB Disk Woes on: March 26, 2013, 09:56:36 AM
I am having a nightmare with a new, external, USB 3TB disk getting to work under linux

Sheevaplug (Linux hardy 2.6.30.2 #11 PREEMPT Wed Jul 22 19:53:31 MDT 2009 armv5tel GNU/Linux)


. When I bought it, it arrived with one 3TB partition with NTFS on and I successfully tested it under Windows
without a problem. When I tried to reformat it into two partitions under linux using fdisk or cfdisk, it only
showed up as a 800 GB disk. After some reading I learned the difference between MBR and GPT partition
tables and that these two utils do not support the required GPT. So I tried to use parted but ran into the following

Warning: /dev/sda contains GPT signatures, indicating that it has a GPT table.  However, it does not
have a valid fake msdos partition table, as it should.  Perhaps it was corrupted -- possibly by a
program that doesn't understand GPT partition tables.  Or perhaps you deleted the GPT table, and are
now using an msdos partition table.  Is this a GPT partition table?
Yes/No? Yes                                                               
Error: Invalid argument during seek for read on /dev/sda                 
Retry/Ignore/Cancel? I                                                   
Error: The backup GPT table is corrupt, but the primary appears OK, so that will be used.
OK/Cancel? O                                                             
Backtrace has 0 calls on stack:
                                                                         

You found a bug in GNU Parted! Here's what you have to do:
...   


Then someone recommended that I use gdisk but I cannot work out how to install it - can someone please help! Is there a way to install it with apt-get?
I have downloaded the source and tried to compile it but get several errors which I have put at the end.

Could someone please help get this disk up and working on my Sheevaplug?

Many thanks in advance,

Madmike.


Make error messages:

hardy:~/gptfdisk-0.8.1# make
g++ -Wall -D_FILE_OFFSET_BITS=64 -D USE_UTF16   -c -o gptpart.o gptpart.cc
gptpart.cc:19:28: error: unicode/ustdio.h: No such file or directory
In file included from gptpart.h:22,
                 from gptpart.cc:27:
parttypes.h:7:29: error: unicode/ustream.h: No such file or directory
In file included from gptpart.h:22,
                 from gptpart.cc:27:
parttypes.h:59: error: ‘UnicodeString’ does not name a type
In file included from gptpart.cc:27:
gptpart.h:57: error: ‘UnicodeString’ does not name a type
gptpart.h:64: error: ‘UnicodeString’ does not name a type
gptpart.h:78: error: ISO C++ forbids declaration of ‘UnicodeString’ with no type
gptpart.h:78: error: expected ‘,’ or ‘...’ before ‘&’ token
gptpart.cc:57: error: ‘UnicodeString’ does not name a type
gptpart.cc:73: error: ‘UnicodeString’ does not name a type
gptpart.cc: In member function ‘void GPTPart::SetType(PartType)’:
gptpart.cc:100: error: ‘GetDescription’ was not declared in this scope
gptpart.cc:100: error: ‘class PartType’ has no member named ‘UTypeName’
gptpart.cc: In member function ‘void GPTPart::SetName(const std::string&)’:
gptpart.cc:110: error: ‘UnicodeString’ was not declared in this scope
gptpart.cc: At global scope:
gptpart.cc:115: error: ISO C++ forbids declaration of ‘UnicodeString’ with no type
gptpart.cc:115: error: expected ‘,’ or ‘...’ before ‘&’ token
gptpart.cc: In member function ‘void GPTPart::SetName(int)’:
gptpart.cc:116: error: ‘theName’ was not declared in this scope
gptpart.cc:120: error: ‘UChar’ was not declared in this scope
gptpart.cc:120: error: expected primary-expression before ‘)’ token
gptpart.cc: In member function ‘void GPTPart::ShowSummary(int, uint32_t)’:
gptpart.cc:174: error: ‘UnicodeString’ was not declared in this scope
gptpart.cc:174: error: expected ‘;’ before ‘description’
gptpart.cc:196: error: ‘GetDescription’ was not declared in this scope
gptpart.cc:196: error: ‘description’ was not declared in this scope
gptpart.cc: In member function ‘void GPTPart::ShowDetails(uint32_t)’:
gptpart.cc:228: error: ‘GetDescription’ was not declared in this scope
gptpart.cc: In member function ‘void GPTPart::ChangeType()’:
gptpart.cc:274: error: ‘GetDescription’ was not declared in this scope
gptpart.cc:274: error: ‘GetUTypeName’ was not declared in this scope
make: *** [gptpart.o] Error 1

 
7  Linux Stuff / Linux distributions / Re: Twonkymedia Problems on: January 08, 2010, 10:13:59 AM
After struggling with this for days, I've sorted the problem. It was a combination of a bad APPDATA variable value (I think this could be better explained on the wiki page) mistimings of rebooted servers so that mounted drives had no contents and also the mediaserver not autstarting after a reboot.

This was compounded by the fact that it seems to take a while before the webpages are available after a the server starts.

I still don't know what the error message means, but it doesn't seem to be breaking the server unduly.
8  Linux Stuff / Linux distributions / Re: Twonkymedia Problems on: January 08, 2010, 09:12:00 AM
Update:

I tried uploading an image to the server and this was seen in the browse media section and I added a local test directory with an image in and that worked to; it looks like it is objecting to me sharing a mounted directory, but I don't know why.

:-(
9  Linux Stuff / Linux distributions / Twonkymedia Problems on: January 08, 2010, 08:59:50 AM
Hi, can someone please help. I have installed TwonkyMedia as per the Wiki instructions and can get the web interface up and running. However, when I then configure a share (mnt/films in this case which is a samba mounted share) it doesn't show up when I go to the MediaBrowser/Videos section of the web interface. I am running linux on an SD card and have tried setting APPDATA to both / and /dev/mmcblk0p2 is either correct or should it be set to /var/twonkymedia. At the moment it is set to /var/twonkmedia and the database related files are in there with some files with a current datestamp on and so I guess this must be correct (the wiki instructions are a little confusing here, it seems to imply that APPDATA should point to the root of the filesystem that is to house the database files). Anyway, the only error I am getting is in the logfile repeated over and over

16:39:27:419 views_add_or_update_object(*ppObject,pOldObject) failed
File: ../../../server/common/upnp_database_items.c
Function: upnp_database_item_add_or_update_impl1
Line: 209

Can anyone please help?

Many thanks,

Michael.
10  Linux Stuff / Linux distributions / Re: SMBFS and module.dep on: November 01, 2009, 11:22:03 AM
I started to Google around to find a solution and came across some instructions to install Debian onto a Sheevaplug at

http://www.cyrius.com/debian/kirkwood/sheevaplug/index.html

Apart from 1 minor mistake right at the very end, it was much more straight forward and simplke even for me to follow!
11  Linux Stuff / Linux distributions / Re: SMBFS and module.dep on: November 01, 2009, 06:00:08 AM
Fair enough, so I tried to use the 1.0 installer: ARRGHHH!!

- Firstly in the instructions it told me to edit a file installer\uboot-custom.txt with my real MAC address
  (evenually I worked out that it meant the file uboot\uboot-env\uboot-mmc-custom.txt       -                is this correct (for an MMC install)?
- Next problem is the bit where it says to move some files to the root of the work area: I couldn't find uImage.initrd only initrd:
  is initrd in the installer directory (3258KB) the file that is meant?
- Finally when I run "runme mmc" the output ends with

Error: JTAG communication failure: check connection, JTAG interface, target power etc.
Error: trying to validate configured JTAG chain anyway...
Error: Could not validate JTAG scan chain, IR mismatch, scan returned 0x00. tap=feroceon.cpu pos=0 expected 0x1 got 0
Warn : Could not validate JTAG chain, continuing anyway...
Error: unexpected Feroceon EICE version signature
Error: unexpected Feroceon EICE version signature

regardless of which set of values (old or new plug)  I put in the uboot\openocd\config\interface\sheevaplug.cfg directory.

I have looked around the forum and seen people with similar problems but cannot deduce a solution from there information. Could someone please help a ver lost linus NUbe? SOme extra info:

- When I connect to the SHeevaplug using putty on COM4, I can get to the console successfully and login, so I know the serial connection is working.
- TestLibUsb gives the info on the Sheevaplug as

bus/device  idVendor/idProduct
bus-0/\\.\libusb0-0001--0x9e88-0x9e8f     9E88/9E8F
- Manufacturer : FTDI
- Product      : SheevaPlug JTAGKey FT2232D B

Could someone please help?Huh!?

Ta.
12  Linux Stuff / Linux distributions / Re: SMBFS and module.dep on: October 31, 2009, 02:21:12 AM
When i run "depmod -a" I get the following

 WARNING: Couldn't open directory /lib/modules/2.6.22.18: No such file or directory
 FATAL: Could not open /lib/modules/2.6.22.18/modules.dep.temp for writing: No such file or directory

:-(
13  Linux Stuff / Linux distributions / SMBFS and module.dep on: October 30, 2009, 09:24:31 AM
Hi,
I have a problem that I'm hoping someone can help me with. I am a relative novice with Linux but I sucessfully moved my Sheevaplug's linux installation to an SD card and ran updates according to the WIki's how-to. All was well, and I have installed packages, configured TCPwrappers etc until I tried to install SMBFS. Following instructions on how to do this, I used apt-get to get  the package and then got as far as running

modprobe smbfs

when I get the following message
FATAL: Could not load /lib/modules/2.6.22.18/modules.dep: No such file or directory

Looking in /lib/modules I see that there are no files or directories and mounting the original nand fs shows the same there to. Searching within the forums here and elsewhere, I have seen people with similar problems, but I haven't really understood the threads enough to be able to fix it. Could someone explain to me in nube terms what I need to fix this please?

Many thanks.
Pages: [1]