Newbie Help: Samba configuration on Goflex Home

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Re: Newbie Help: Samba configuration on Goflex Home

Postby JackDanielZ » Sat Mar 10, 2012 6:50 pm

Hi guys,

Sorry for the late response, I didn't receive some notification by mail on update of the post so didn't pay attention a long time.

Today, I tried to partition my disk through my computer with gdisk:

GPT fdisk (gdisk) version 0.8.2

Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): p
Disk /dev/sdc: 5860533168 sectors, 2.7 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): D5D45090-F889-4650-9706-4496DF1021D3
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 5860533134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)

Number Start (sector) End (sector) Size Code Name
1 2048 41945087 20.0 GiB 8300 Linux filesystem
2 41945088 5860533134 2.7 TiB 8300 Linux filesystem

Command (? for help): r

Recovery/transformation command (? for help): o

Disk size is 5860533168 sectors (2.7 TiB)
MBR disk identifier: 0x00000000
MBR partitions:

Number Boot Start Sector End Sector Status Code
1 1 4294967295 primary 0xEE

Is there something wrong with this partitioning?

I formatted only /dev/sdc1, extracted the alarm archive there and made the famous tune2fs -L "rootfs" /dev/sdc1. I connected the disk back to the dock but yet dead and always blinking.

For the moment, the only solution that I have is to use my disk as 2TB/MBR.

Are you using the uboot of Doozan or another one?

Thank you for you help
Daniel
JackDanielZ
 
Posts: 9
Joined: Sun Jan 22, 2012 12:29 pm

Re: Newbie Help: Samba configuration on Goflex Home

Postby moonman » Tue Mar 13, 2012 11:37 am

Setup u-boot netconsole and see what it tells you.
http://archlinuxarm.org/platforms/armv5 ... oflex-home under advanced.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Newbie Help: Samba configuration on Goflex Home

Postby JackDanielZ » Wed Mar 14, 2012 6:23 am

Hi,

Following the netconsole log.
In parallel, I tried to boot from a usb stick but didn't succeed. Which filesystem must be on the stick? Is there some topic on how to do it?

Thank you
Daniel
$this->bbcode_second_pass_code('', '
~$ nc -l -u -p 6666


** Unable to read "/uInitrd" from usb 0:1 **
** Block device usb 1 not supported
** Block device usb 1 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 2 not supported
** Block device usb 2 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 3 not supported
** Block device usb 3 not supported

** Invalid boot device **

** Invalid boot device **

Reset IDE: Bus 0: OK Bus 1: not available
Device 0: Model: ST33000651AS Firm: CC43 Ser#: 9XK05L15
Type: Hard Disk
Supports 48-bit addressing
Capacity: 764436.4 MB = 746.5 GB (1565565872 x 512)
Loading file "/boot/uImage" from ide device 0:1 (hda1)
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - ide 0:1 **
Loading file "/uInitrd" from ide device 0:1 (hda1)
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - ide 0:1 **
reading /boot/uImage

** Unable to read "/boot/uImage" from ide 0:1 **
reading /uInitrd

** Unable to read "/uInitrd" from ide 0:1 **
** Bad partition 1 **
** Bad partition 1 **
No Powersaving mode 7F
Error (no IRQ) dev 1 blk 0: status 0x7f
** Can't read from device 1 **

** Unable to use ide 1:1 for fatload **
No Powersaving mode 7F
Error (no IRQ) dev 1 blk 0: status 0x7f
** Can't read from device 1 **

** Unable to use ide 1:1 for fatload **
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:ramdisk", error -19
Error reading superblock on volume 'ubi:ramdisk'!
UBIFS not mounted, use ubifs mount to mount volume first!
Marvell>>
Marvell>> ^C
daniel@debian:~$ nc -l -u -p 6666
daniel@debian:~$ nc -l -u -p 6666

U-Boot 2010.09 (Feb 16 2011 - 18:44:23)
UBIT v0.6 by Jeff Doozan and Peter Carmichael
(Re)start USB...
USB: Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 1 USB Device(s) found
scanning bus for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:fast", error -19
Error reading superblock on volume 'ubi:fast'!
UBIFS not mounted, use ubifs mount to mount volume first!
** Block device usb 0 not supported
** Block device usb 0 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 1 not supported
** Block device usb 1 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 2 not supported
** Block device usb 2 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 3 not supported
** Block device usb 3 not supported

** Invalid boot device **

** Invalid boot device **

Reset IDE: Bus 0: ...OK Bus 1: not available
Device 0: Model: ST33000651AS Firm: CC43 Ser#: 9XK05L15
Type: Hard Disk
Supports 48-bit addressing
Capacity: 764436.4 MB = 746.5 GB (1565565872 x 512)
Loading file "/boot/uImage" from ide device 0:1 (hda1)
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - ide 0:1 **
Loading file "/uInitrd" from ide device 0:1 (hda1)
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - ide 0:1 **
reading /boot/uImage

** Unable to read "/boot/uImage" from ide 0:1 **
reading /uInitrd

** Unable to read "/uInitrd" from ide 0:1 **
** Bad partition 1 **
** Bad partition 1 **
No Powersaving mode 7F
Error (no IRQ) dev 1 blk 0: status 0x7f
** Can't read from device 1 **

** Unable to use ide 1:1 for fatload **
No Powersaving mode 7F
Error (no IRQ) dev 1 blk 0: status 0x7f
** Can't read from device 1 **

** Unable to use ide 1:1 for fatload **
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:ramdisk", error -19
Error reading superblock on volume 'ubi:ramdisk'!
UBIFS not mounted, use ubifs mount to mount volume first!
Marvell>>
')
Last edited by WarheadsSE on Wed Mar 14, 2012 12:49 pm, edited 1 time in total.
Reason: adding code tags
JackDanielZ
 
Posts: 9
Joined: Sun Jan 22, 2012 12:29 pm

Re: Newbie Help: Samba configuration on Goflex Home

Postby moonman » Wed Mar 14, 2012 9:57 am

The filesystem can be ext3 or ext2. Try to reformat that first partition on your PC,extract alarm tarball to it and try to boot up your goflex again.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Newbie Help: Samba configuration on Goflex Home

Postby JackDanielZ » Fri Mar 16, 2012 7:57 am

Hi,

The format as ext2 didn't help. I saw that two other topics are opened for the same kind of issue. let's can continue there.

Daniel
JackDanielZ
 
Posts: 9
Joined: Sun Jan 22, 2012 12:29 pm

Re: Newbie Help: Samba configuration on Goflex Home

Postby moonman » Fri Mar 16, 2012 9:11 am

Ok, I did this a while ago so I almost forgot 2 important points:

1. Make sure the first partition (where you install OS) is labeled "rootfs"
2. Make sure you are root on the linux machine that you are using to extract tar.gz with archlinux to that partition
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Newbie Help: Samba configuration on Goflex Home

Postby Bencori » Mon Apr 23, 2012 5:21 pm

Gosh. I followed the same guide, worked flawlessly. Until I noticed I was experiencing the same issue as you: the partition where everything is is the small 20Gb one. I decided to restart and see what I could do during installation. And when I unmounted the drive everything screwed up, I was getting error messages over and over until it rebooted itself.
Now the LED will just be blinking indefinitely since it can't reboot. So, of course, I have lost access to the device and I have no idea how to gain access to it again. I don't know what I did wrong either.

It's a 250€ hardware, I don't really want it to be wasted because of the software, I hope there's a solution and I also hope you can tell me it.

I'm so mad after myself, I spent all day on it, I was getting it working, the Samba settings were getting better and better, everything was fine and now I feel like I'll never get to use it again.

Of course, the reset button is no longer useful without the original software ...

Thank you for your help.
Bencori
 
Posts: 2
Joined: Mon Apr 23, 2012 5:15 pm

Re: Newbie Help: Samba configuration on Goflex Home

Postby WarheadsSE » Mon Apr 23, 2012 5:45 pm

If you can try using the net console, you'll see if it is dead or not. You don't have a brick, and truth be told that drive was most of that cost, so you paid 250 euro for a device and a drive, not just the device ;)

Try the netconsole, and we'll work from there.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Newbie Help: Samba configuration on Goflex Home

Postby JackDanielZ » Tue Apr 24, 2012 6:21 am

Hi Bencori,

It was blinking for me too but now it is working well. Don't forget you can connect the disk to your computer and create the 20G and ~3TB partitions there. Just check the instructions of dannyp into this topic (viewtopic.php?f=18&t=2611&p=15837#p15837) on how to configure the Hybrid MBRs and it will work.

Daniel
JackDanielZ
 
Posts: 9
Joined: Sun Jan 22, 2012 12:29 pm

Re: Newbie Help: Samba configuration on Goflex Home

Postby Bencori » Wed Apr 25, 2012 10:34 am

Thank you for your replies. To connect the disk to my computer I'd need a double female usb cable, which I don't have. I could go and get one, but I was wondering if I could do it with an ethernet cable instead using NC? If so, how do I see if I can connect to it using Net Console?

Thank you for your help, it's really appreciated!
Bencori
 
Posts: 2
Joined: Mon Apr 23, 2012 5:15 pm

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 7 guests