POGO-VIDEO manual install ARM-oxnas

This forum is for all other ARMv5 devices

POGO-VIDEO manual install ARM-oxnas

Postby BrandonC » Wed Jul 20, 2011 1:47 am

I am hoping I can get a little help with a recomendaton of where to go from here.
First the story. :)
I have a Pogo-Video and went through the install shown here http://archlinuxarm.org/platforms/armv6 ... provideov3
I used a hard drive that had a swap partition on it along with the regular partion.
I ran the complete install setup but I didn't delete the swap file first and it wuld not boot afterwards.
I since then had to use the HD for something else and never got around to trying to fix it.

Later I decided to get another HD and get it up and running on the Pogo Video.
Before trying I wanted to look at the boot sequence to see if there was anything weird going on there (that I might notice anyway) so I hooked up a serial cable and took a look at the ouput.
Here is the complete output in case anyone is wondering what all happens.

U-Boot 1.1.2 (Jul 29 2010 - 19:36:07)

U-Boot code: 60D00000 -> 60D1C030 BSS: -> 60D21800
RAM Configuration:
Bank #0: 60000000 128 MB
SRAM Configuration:
64KB at 0x50000000
NAND:128 MiB
In: serial
Out: serial
Err: serial
Setting Linux mem= boot arg value
Hit any key to stop autoboot: 2

Loading from device 0: 128MiB 3,3V 8-bit (offset 0x500000)
-- Using 1bit ECC style encoding
Image Name: Linux-2.6.31.6_SMP_820
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2132260 Bytes = 2 MB
Load Address: 60008000
Entry Point: 60008000
## Booting image at 60500000 ...
Image Name: Linux-2.6.31.6_SMP_820
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2132260 Bytes = 2 MB
Load Address: 60008000
Entry Point: 60008000
Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux................................................................................................................................. done, booting the kernel.
[ 0.000000] Linux version 2.6.31.6_SMP_820 (root@ProDev) (gcc version 4.6.0 20110429 (prerelease) (GCC) ) #99 SMP Sun May 29 03:04:43 EDT 2011
[ 0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5387f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine: Oxsemi NAS
[ 0.000000] 1 memory region
[ 0.000000] Ignoring unrecognised tag 0x00000000
[ 0.000000] Memory policy: ECC disabled, Data cache writealloc
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: root=/dev/sda1 ubi.mtd=2,2048 rootfstype=ext2 console=ttyS0,115200 elevator=cfq rootdelay=15 mem=128M poweroutage=yes
[ 0.000000] PID hash table entries: 512 (order: 9, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Memory: 128MB = 128MB total
[ 0.000000] Memory: 125524KB available (3636K code, 296K data, 128K init, 0K highmem)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:96
[ 0.000000] OX820_RPS_init_irq: interrupts 64 to 96
[ 0.010000] Console: colour dummy device 80x30
[ 0.010000] console [ttyS0] enabled
[ 0.020000] Calibrating delay loop... 279.34 BogoMIPS (lpj=1396736)
[ 0.250000] Security Framework initialized
[ 0.250000] Mount-cache hash table entries: 512
[ 0.260000] CPU: Testing write buffer coherency: ok
[ 0.260000] Calibrating local timer... 350.00MHz.
[ 0.330000] CPU1: Booted secondary processor
[ 0.430000] Calibrating delay loop... 279.34 BogoMIPS (lpj=1396736)
[ 0.660000] Brought up 2 CPUs
[ 0.670000] SMP: Total of 2 processors activated (558.69 BogoMIPS).
[ 0.680000] NET: Registered protocol family 16
[ 0.680000] Number of DMA channels = 4, version = 4
[ 0.690000] Reserving a DMA channel for DirectRAID
[ 0.690000] Allocating 389 SRAM generic DMA descriptors
[ 1.200000] PCIeA version/deviceID 082510b5
[ 1.200000] PCIeB version/deviceID 082510b5
[ 4.220000] ox820_pci_preinit() PCIEB link up timeout (00001814)
[ 4.220000] ox820_pcie_setup_resources() Enabling PCIe Pre-Emphasis
[ 4.230000] ox820_pciea_setup_resources() resource c781b2c0
[ 4.230000] ox820_pciea_setup_resources() io: 0x4be00000 - 0x4befffff
[ 4.240000] ox820_pciea_setup_resources() non-pre: 0x48000000 - 0x49ffffff
[ 4.250000] ox820_pciea_setup_resources() pre: 0x4a000000 - 0x4bdfffff
[ 4.250000] pci 0000:00:00.0: PME# supported from D0 D3hot
[ 4.260000] pci 0000:00:00.0: PME# disabled
[ 4.260000] PCI: bus0: Fast back to back transfers disabled
[ 4.270000] PCI: bus1: Fast back to back transfers enabled
[ 4.290000] bio: create slab <bio-0> at 0
[ 4.300000] SCSI subsystem initialized
[ 4.300000] usbcore: registered new interface driver usbfs
[ 4.310000] usbcore: registered new interface driver hub
[ 4.310000] usbcore: registered new device driver usb
[ 4.350000] NET: Registered protocol family 2
[ 4.350000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 4.360000] Switched to NOHz mode on CPU #0
[ 4.360000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 4.360000] Switched to NOHz mode on CPU #1
[ 4.370000] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 4.380000] TCP: Hash tables configured (established 4096 bind 4096)
[ 4.380000] TCP reno registered
[ 4.390000] NET: Registered protocol family 1
[ 4.390000] Create fragment cache
[ 4.400000] fuse init (API version 7.12)
[ 4.400000] msgmni has been set to 245
[ 4.410000] alg: comp: Compression test 2 failed for lzo-generic: output len = 131
[ 4.420000] alg: No test for stdrng (krng)
[ 4.420000] io scheduler noop registered
[ 4.430000] io scheduler anticipatory registered
[ 4.430000] io scheduler deadline registered
[ 4.440000] io scheduler cfq registered (default)
[ 4.460000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 4.460000] serial8250: ttyS0 at MMIO 0x44200000 (irq = 55) is a 16550A
[ 4.480000] brd: module loaded
[ 4.490000] loop: module loaded
[ 4.490000] ox820sata: OX820 sata core.
[ 4.500000] scsi0 : oxnassata
[ 4.500000] scsi1 : oxnassata
[ 4.510000] ata1: SATA max UDMA/133 irq 50
[ 4.510000] ata2: SATA max UDMA/133 irq 50
[ 4.510000] ox820sata: reseting SATA core
[ 4.880000] ata1: SATA link down (SStatus 0 SControl 300)
[ 4.880000] ox820sata: reseting SATA core
[ 5.240000] ata2: SATA link down (SStatus 0 SControl 300)
[ 5.240000] tun: Universal TUN/TAP device driver, 1.6
[ 5.250000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 5.250000] NAND: Page read time 40ms
[ 5.260000] NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit)
[ 5.270000] Scanning device for bad blocks
[ 5.290000] Bad eraseblock 354 at 0x000002c40000
[ 5.320000] Bad eraseblock 653 at 0x0000051a0000
[ 5.340000] Bad eraseblock 954 at 0x000007740000
[ 5.350000] Creating 2 MTD partitions on "NAND 128MiB 3,3V 8-bit":
[ 5.360000] 0x000000000000-0x000000e00000 : "boot"
[ 5.370000] 0x000000e00000-0x000008000000 : "rootfs"
[ 5.370000] UBI: attaching mtd2 to ubi0
[ 5.380000] UBI: physical eraseblock size: 131072 bytes (128 KiB)
[ 5.380000] UBI: logical eraseblock size: 126976 bytes
[ 5.390000] UBI: smallest flash I/O unit: 2048
[ 5.390000] UBI: sub-page size: 512
[ 5.400000] UBI: VID header offset: 2048 (aligned 2048)
[ 5.400000] UBI: data offset: 4096
[ 5.810000] UBI: attached mtd2 to ubi0
[ 5.820000] UBI: MTD device name: "rootfs"
[ 5.820000] UBI: MTD device size: 114 MiB
[ 5.830000] UBI: number of good PEBs: 909
[ 5.830000] UBI: number of bad PEBs: 3
[ 5.840000] UBI: max. allowed volumes: 128
[ 5.840000] UBI: wear-leveling threshold: 4096
[ 5.850000] UBI: number of internal volumes: 1
[ 5.850000] UBI: number of user volumes: 1
[ 5.860000] UBI: available PEBs: 0
[ 5.860000] UBI: total number of reserved PEBs: 909
[ 5.870000] UBI: number of PEBs reserved for bad PEB handling: 9
[ 5.870000] UBI: max/mean erase counter: 1/0
[ 5.880000] UBI: image sequence number: 245517202
[ 5.880000] UBI: background thread "ubi_bgt0d" started, PID 297
[ 5.880000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 5.880000] oxnas-ehci oxnas-ehci.0: OXNAS EHCI Host Controller
[ 5.880000] oxnas-ehci oxnas-ehci.0: new USB bus registered, assigned bus number 1
[ 5.910000] oxnas-ehci oxnas-ehci.0: irq 39, io mem 0x00000000
[ 5.930000] oxnas-ehci oxnas-ehci.0: USB 0.0 started, EHCI 1.00
[ 5.930000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 5.940000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.940000] usb usb1: Product: OXNAS EHCI Host Controller
[ 5.950000] usb usb1: Manufacturer: Linux 2.6.31.6_SMP_820 ehci_hcd
[ 5.960000] usb usb1: SerialNumber: usb
[ 5.960000] usb usb1: configuration #1 chosen from 1 choice
[ 5.970000] hub 1-0:1.0: USB hub found
[ 5.970000] hub 1-0:1.0: 2 ports detected
[ 5.980000] Initializing USB Mass Storage driver...
[ 5.980000] usbcore: registered new interface driver usb-storage
[ 5.990000] USB Mass Storage support registered.
[ 5.990000] mice: PS/2 mouse device common for all mice
[ 6.000000] TCP cubic registered
[ 6.000000] NET: Registered protocol family 10
[ 6.010000] NET: Registered protocol family 17
[ 6.010000] RPC: Registered udp transport module.
[ 6.020000] RPC: Registered tcp transport module.
[ 6.020000] UBIFS error (pid 1): compr_init: cannot initialize compressor lzo, error -2
[ 6.030000] Waiting 15sec before mounting root device...
[ 6.290000] usb 1-1: new high speed USB device using oxnas-ehci and address 2
[ 6.440000] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[ 6.440000] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 6.450000] usb 1-1: Product: USB2.0 Hub
[ 6.450000] usb 1-1: configuration #1 chosen from 1 choice
[ 6.460000] hub 1-1:1.0: USB hub found
[ 6.470000] hub 1-1:1.0: 4 ports detected
[ 6.750000] usb 1-1.4: new high speed USB device using oxnas-ehci and address 3
[ 6.860000] usb 1-1.4: New USB device found, idVendor=14cd, idProduct=6600
[ 6.860000] usb 1-1.4: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ 6.870000] usb 1-1.4: Product: USB 2.0 IDE DEVICE
[ 6.880000] usb 1-1.4: Manufacturer: Super Top
[ 6.880000] usb 1-1.4: SerialNumber: ㅔ㉈䡇䌰††††††
[ 6.890000] usb 1-1.4: configuration #1 chosen from 1 choice
[ 6.890000] scsi2 : SCSI emulation for USB Mass Storage devices
[ 11.900000] scsi 2:0:0:0: Direct-Access Maxtor 5 T010H1 PQ: 0 ANSI: 0
[ 11.910000] sd 2:0:0:0: [sda] 19531250 512-byte logical blocks: (10.0 GB/9.31 GiB)
[ 11.920000] sd 2:0:0:0: [sda] Write Protect is off
[ 11.920000] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 11.930000] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 11.930000] sda: sda1
[ 11.950000] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 11.950000] sd 2:0:0:0: [sda] Attached SCSI disk
[ 21.040000] EXT2-fs: sda1: couldn't mount because of unsupported optional features (4).
[ 21.040000] List of all partitions:
[ 21.050000] 1f00 131072 mtdblock0 (driver?)
[ 21.050000] 1f01 14336 mtdblock1 (driver?)
[ 21.060000] 1f02 116736 mtdblock2 (driver?)
[ 21.060000] 0800 9765625 sda driver: sd
[ 21.070000] 0801 9751423 sda1
[ 21.070000] No filesystem could mount root, tried: ext2
[ 21.080000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1)
[ 21.080000] [<c002e1fc>] (unwind_backtrace+0x0/0xe0) from [<c02e628c>] (panic+0x44/0x108)
[ 21.090000] [<c02e628c>] (panic+0x44/0x108) from [<c0008fac>] (mount_block_root+0x244/0x294)
[ 21.100000] [<c0008fac>] (mount_block_root+0x244/0x294) from [<c00092c0>] (prepare_namespace+0x164/0x1bc)
[ 21.110000] [<c00092c0>] (prepare_namespace+0x164/0x1bc) from [<c0008c20>] (kernel_init+0x1a8/0x1e8)
[ 21.120000] [<c0008c20>] (kernel_init+0x1a8/0x1e8) from [<c00299c4>] (kernel_thread_exit+0x0/0x8)
[ 21.130000] CPU1: stopping
[ 21.130000] [<c002e1fc>] (unwind_backtrace+0x0/0xe0) from [<c0028398>] (do_IPI+0xec/0x160)
[ 21.140000] [<c0028398>] (do_IPI+0xec/0x160) from [<c0028af8>] (__irq_svc+0x38/0xc0)
[ 21.150000] Exception stack(0xc7843f90 to 0xc7843fd8)
[ 21.150000] 3f80: 00000000 00000000 c7843fd8 00000000
[ 21.160000] 3fa0: c7842000 c03f5664 c03d40c4 c7842000 00000000 410fb025 60020e34 00000000
[ 21.170000] 3fc0: c7843fa8 c7843fd8 c0029a1c c0029a20 60000013 ffffffff
[ 21.180000] [<c0028af8>] (__irq_svc+0x38/0xc0) from [<c0029a20>] (default_idle+0x24/0x28)
[ 21.190000] [<c0029a20>] (default_idle+0x24/0x28) from [<c0029be8>] (cpu_idle+0x6c/0xa4)
[ 21.190000] [<c0029be8>] (cpu_idle+0x6c/0xa4) from [<60008084>] (0x60008084)

As you can see it appears to boot fine and found the newly attached HD but of course it can't mount anything.

I don't have a linux machine but I have another Pogoplug.
I took the HD, attached it to my other Pogoplug. Ran killall hbwd, then Fdisk and then mke2fs so now it is formwatted correctly.
I then downloaded http://archlinuxarm.org/os/ArchLinuxARM ... est.tar.gz

I am thinking that I should copy it over to my /tmp/.cemnt/mnt_sda1 folder, uncompress it there, create the mac address file and then connecting it back into my Pogo Video.
Anyone see an issue with doing it that way though my other Pogoplug?

This is where I am at right now.
Does anyone see an issue with me going through the other Pogoplug to install the files?
Also am I missing any steps other than installing the ArchLinuxARM-oxnas-latest files and the Mac address files?
BrandonC
 
Posts: 5
Joined: Wed Feb 23, 2011 2:23 am

Re: POGO-VIDEO manual install ARM-oxnas

Postby WarheadsSE » Wed Jul 20, 2011 2:45 am

That pretty much covers it.

Surprised you're doing this on a Video tbh.

Be sure to 'pacman -Sy udev-oxnas' immediately. Other than that, it is just getting xce.ko into the right place. Search this forum for that.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: POGO-VIDEO manual install ARM-oxnas

Postby BrandonC » Wed Jul 20, 2011 3:21 am

Thanks for the reply.
Why I am doing it on a Video unit is basically for me to learn a few things and try out some of the available apps.
I don't plan on it being something that I would use on a daily basis. I have other Pogoplugs and routers that I can use if I want to hookup external drives for serious daily usage. :)

Kinda like how I learned to connect a serial cable to the video unit. I didn't know how when I got up this morning but now I do. ;)
I will take it through the next steps and let you know how I do.
BrandonC
 
Posts: 5
Joined: Wed Feb 23, 2011 2:23 am

Re: POGO-VIDEO manual install ARM-oxnas

Postby pepedog » Wed Jul 20, 2011 9:01 am

I thought all pogo-video were recalled as some caught fire?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: POGO-VIDEO manual install ARM-oxnas

Postby WarheadsSE » Wed Jul 20, 2011 11:29 am

They were. I actually got my RMA / label/box ready last night.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: POGO-VIDEO manual install ARM-oxnas

Postby BrandonC » Sun Aug 07, 2011 6:02 am

$this->bbcode_second_pass_quote('WarheadsSE', 'T')hat pretty much covers it.

Be sure to 'pacman -Sy udev-oxnas' immediately. Other than that, it is just getting xce.ko into the right place. Search this forum for that.


I finally got around to messing with this again. Apparently it did not like the old hard drive I was trying to use. I grabbed a newer HD, downloaded and extracted the root filesystem tarball onto it and then setup the xce.ko file and it worked fine.

Thanks for your help.
BrandonC
 
Posts: 5
Joined: Wed Feb 23, 2011 2:23 am


Return to Community Supported

Who is online

Users browsing this forum: No registered users and 12 guests