Support for PLX-NAS7820 Systems?

This forum is for all other ARMv5 devices

Support for PLX-NAS7820 Systems?

Postby jedie2 » Wed Dec 14, 2011 3:16 pm

Will be PLX-NAS7820 based system supported in the future?

Similar boxes are:
MEDION LIFE P89626 NAS -> http://www.mikrocontroller.net/articles/P89626 (de)
Pogoplug Pro/Video/v3 -> http://archlinuxarm.org/platforms/armv6 ... provideov3
Iomega Home Media Network Hard Drive, Cloud Edition -> http://iomega.nas-central.org/wiki/Cate ... e_Media_CE

I have the MEDION LIFE P89626 NAS and tried http://archlinuxarm.org/os/ArchLinuxARM ... est.tar.gz

It worked via chroot, see: http://www.mikrocontroller.net/articles ... chLinuxARM (de), but starting the kernel doesn't work:
$this->bbcode_second_pass_code('', '...
Filename 'uImage.pci'.
Load address: 0x61000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###########################
done
Bytes transferred = 2132324 (208964 hex)
$ bootm 0x61000000
## Booting image at 61000000 ...
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: console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 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... 299.00 BogoMIPS (lpj=1495040)
[ 0.240000] Security Framework initialized
[ 0.240000] Mount-cache hash table entries: 512
[ 0.250000] CPU: Testing write buffer coherency: ok
[ 0.250000] Calibrating local timer... 374.49MHz.
[ 0.320000] CPU1: Booted secondary processor
[ 0.420000] Calibrating delay loop... 299.82 BogoMIPS (lpj=1499136)
[ 0.630000] Brought up 2 CPUs
[ 0.640000] SMP: Total of 2 processors activated (598.83 BogoMIPS).
[ 0.650000] NET: Registered protocol family 16
[ 0.650000] Number of DMA channels = 4, version = 4
[ 0.660000] Reserving a DMA channel for DirectRAID
[ 0.660000] Allocating 389 SRAM generic DMA descriptors')
After the last line, the box hangs and I get some beeps...
jedie2
 
Posts: 18
Joined: Wed Dec 14, 2011 3:09 pm

Re: Support for PLX-NAS7820 Systems?

Postby WarheadsSE » Wed Dec 14, 2011 5:40 pm

Did the Medion have the PCIe bus logic on the board? That might be the problem, as that is very similar to what happens on the Pogoplug P21/B0X
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Support for PLX-NAS7820 Systems?

Postby WarheadsSE » Wed Dec 14, 2011 6:25 pm

Oh, and you might want to point it at a rootfs.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Support for PLX-NAS7820 Systems?

Postby jedie2 » Wed Dec 14, 2011 7:42 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'D')id the Medion have the PCIe bus logic on the board? That might be the problem, as that is very similar to what happens on the Pogoplug P21/B0X

Don't known. How can i check this?

I have archlinux and a debian rootfs on HDD and they works via chroot. In the long run, i would like to boot into them. But the existing kernel ignores the most bootargs like rootfs= :(
jedie2
 
Posts: 18
Joined: Wed Dec 14, 2011 3:09 pm

Re: Support for PLX-NAS7820 Systems?

Postby WarheadsSE » Wed Dec 14, 2011 8:21 pm

You'd need to append/prepend that to the bootargs line. I would also attempt to boot the uImage.nopci as well.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Support for PLX-NAS7820 Systems?

Postby jedie2 » Thu Dec 15, 2011 11:25 am

$this->bbcode_second_pass_quote('WarheadsSE', 'I') would also attempt to boot the uImage.nopci as well.

Yes, i can start this Kernel:
$this->bbcode_second_pass_code('', '$ setenv bootargs console=ttyS0,115200 root=/dev/sdb1 rw rootfstype=ext4 mem=128M; tftp 61000000 uImage.nopci; bootm 61000000
Wait GMAC to reset
Wait for PHY reset.
PHY is Realtek RTL8211E
Wait for link to come up..............Link up
Wait for auto-negotiation to complete
Link is 1000M
TFTP from server 192.168.7.2; our IP address is 192.168.7.178
Filename 'uImage.nopci'.
Load address: 0x61000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
################################
done
Bytes transferred = 2159948 (20f54c hex)
## Booting image at 61000000 ...
Image Name: Linux-2.6.31.6_SMP_820
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2159884 Bytes = 2.1 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) ) #100 SMP Sun May 29 04:53:45 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: console=ttyS0,115200 root=/dev/sdb1 rw rootfstype=ext4 mem=128M
[ 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: 125496KB available (3692K code, 291K data, 124K 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... 299.00 BogoMIPS (lpj=1495040)
[ 0.240000] Security Framework initialized
[ 0.240000] Mount-cache hash table entries: 512
[ 0.250000] CPU: Testing write buffer coherency: ok
[ 0.250000] Calibrating local timer... 375.50MHz.
[ 0.320000] CPU1: Booted secondary processor
[ 0.420000] Calibrating delay loop... 299.82 BogoMIPS (lpj=1499136)
[ 0.630000] Brought up 2 CPUs
[ 0.640000] SMP: Total of 2 processors activated (598.83 BogoMIPS).
[ 0.650000] NET: Registered protocol family 16
[ 0.650000] Number of DMA channels = 4, version = 4
[ 0.660000] Reserving a DMA channel for DirectRAID
[ 0.660000] Allocating 389 SRAM generic DMA descriptors
[ 0.680000] bio: create slab <bio-0> at 0
[ 0.690000] SCSI subsystem initialized
[ 0.690000] usbcore: registered new interface driver usbfs
[ 0.700000] usbcore: registered new interface driver hub
[ 0.700000] usbcore: registered new device driver usb
[ 0.730000] NET: Registered protocol family 2
[ 0.730000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.740000] Switched to NOHz mode on CPU #0
[ 0.740000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.740000] Switched to NOHz mode on CPU #1
[ 0.750000] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.760000] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.760000] TCP reno registered
[ 0.770000] NET: Registered protocol family 1
[ 0.770000] Create fragment cache
[ 0.780000] fuse init (API version 7.12)
[ 0.780000] msgmni has been set to 245
[ 0.790000] alg: No test for stdrng (krng)
[ 0.800000] io scheduler noop registered
[ 0.800000] io scheduler anticipatory registered (default)
[ 0.800000] io scheduler deadline registered
[ 0.810000] io scheduler cfq registered
[ 0.830000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.840000] serial8250: ttyS0 at MMIO 0x44200000 (irq = 55) is a 16550A
[ 0.850000] brd: module loaded
[ 0.860000] loop: module loaded
[ 0.870000] ox820sata: OX820 sata core.
[ 0.870000] scsi0 : oxnassata
[ 0.870000] scsi1 : oxnassata
[ 0.880000] ata1: SATA max UDMA/133 irq 50
[ 0.880000] ata2: SATA max UDMA/133 irq 50
[ 0.890000] ox820sata: reseting SATA core
[ 1.410000] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 1.410000] ata1.00: ATA-8: ST1500DL003-9VT16L, CC4A, max UDMA/133
[ 1.420000] ata1.00: 2930277168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[ 1.430000] ata1.00: configured for UDMA/133
[ 1.430000] ox820sata: reseting SATA core
[ 2.140000] ata2: SATA link down (SStatus 0 SControl 300)
[ 2.140000] scsi 0:0:0:0: Direct-Access ATA ST1500DL003-9VT1 CC4A PQ: 0 ANSI: 5
[ 2.150000] sd 0:0:0:0: [sda] 2930277168 512-byte logical blocks: (1.50 TB/1.36 TiB)
[ 2.160000] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 2.160000] sd 0:0:0:0: [sda] Write Protect is off
[ 2.160000] tun: Universal TUN/TAP device driver, 1.6
[ 2.160000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 2.160000] NAND: Page read time 40ms
[ 2.160000] NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit)
[ 2.160000] Scanning device for bad blocks
[ 2.200000] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 2.240000] sda:
[ 2.240000] Creating 2 MTD partitions on "NAND 128MiB 3,3V 8-bit":
[ 2.240000] 0x000000000000-0x000000e00000 : "boot"
[ 2.250000] sda1 sda2
[ 2.250000] 0x000000e00000-0x000008000000 : "rootfs"
[ 2.260000] sd 0:0:0:0: [sda] Attached SCSI disk
[ 2.260000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.270000] oxnas-ehci oxnas-ehci.0: OXNAS EHCI Host Controller
[ 2.280000] oxnas-ehci oxnas-ehci.0: new USB bus registered, assigned bus number 1
[ 2.320000] oxnas-ehci oxnas-ehci.0: irq 39, io mem 0x00000000
[ 2.340000] oxnas-ehci oxnas-ehci.0: USB 0.0 started, EHCI 1.00
[ 2.340000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.350000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.350000] usb usb1: Product: OXNAS EHCI Host Controller
[ 2.360000] usb usb1: Manufacturer: Linux 2.6.31.6_SMP_820 ehci_hcd
[ 2.370000] usb usb1: SerialNumber: usb
[ 2.370000] usb usb1: configuration #1 chosen from 1 choice
[ 2.380000] hub 1-0:1.0: USB hub found
[ 2.380000] hub 1-0:1.0: 2 ports detected
[ 2.390000] Initializing USB Mass Storage driver...
[ 2.390000] usbcore: registered new interface driver usb-storage
[ 2.400000] USB Mass Storage support registered.
[ 2.400000] mice: PS/2 mouse device common for all mice
[ 2.410000] TCP cubic registered
[ 2.410000] NET: Registered protocol family 10
[ 2.420000] NET: Registered protocol family 17
[ 2.420000] RPC: Registered udp transport module.
[ 2.430000] RPC: Registered tcp transport module.
[ 2.430000] VFS: Cannot open root device "sdb1" or unknown-block(0,0)
[ 2.440000] Please append a correct "root=" boot option; here are the available partitions:
[ 2.450000] 0800 1465138584 sda driver: sd
[ 2.450000] 0801 514048 sda1
[ 2.460000] 0802 1464621952 sda2
[ 2.460000] 1f00 131072 mtdblock0 (driver?)
[ 2.460000] 1f01 14336 mtdblock1 (driver?)
[ 2.470000] 1f02 116736 mtdblock2 (driver?)
[ 2.470000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
')

But i can't add a working rootfs...

I put ArchLinux on a ext4 USB Stick. But the Kernel seems not to see the USB-Stick :(
jedie2
 
Posts: 18
Joined: Wed Dec 14, 2011 3:09 pm

Re: Support for PLX-NAS7820 Systems?

Postby pepedog » Thu Dec 15, 2011 12:15 pm

I think it's telling you
$this->bbcode_second_pass_code('', '[ 2.430000] VFS: Cannot open root device "sdb1" or unknown-block(0,0)
[ 2.440000] Please append a correct "root=" boot option; here are the available partitions:
[ 2.450000] 0800 1465138584 sda driver: sd
[ 2.450000] 0801 514048 sda1
[ 2.460000] 0802 1464621952 sda2
')
Tried sda1 or 2? I don't know if ext4 works
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Support for PLX-NAS7820 Systems?

Postby jedie2 » Thu Dec 15, 2011 12:17 pm

sda ist the HDD. At this used XFS with RAID.

We disscuss to resize the XFS Partitions and append a ext2/3 for the rootfs.
jedie2
 
Posts: 18
Joined: Wed Dec 14, 2011 3:09 pm

Re: Support for PLX-NAS7820 Systems?

Postby xenoxaos » Thu Dec 15, 2011 4:15 pm

The kernel for the 7820 does not support xfs worth a damn. PLX/Cloud Engines really did a hack job on the kernel to get the oxnas chip to work and properly messed up xfs support. The oxnas lines that we support are currently set up to boot from the first partition, sda1, that is formatted as ext3.
Arch Linux ARM exists and continues to grow through community support, please donate today!
xenoxaos
Developer
 
Posts: 323
Joined: Thu Jan 06, 2011 1:45 am

Re: Support for PLX-NAS7820 Systems?

Postby jedie2 » Thu Dec 15, 2011 4:44 pm

I would like to know why RAID and XFS are used?
RAID made no sense IMHO, because my box has only one HDD...

Some say XFS is faster. Others say ext4 is faster. IMHO the performance difference vary more than that you could make a clear decision, isn't it? ext4 is more common and therefore to be preferred.
jedie2
 
Posts: 18
Joined: Wed Dec 14, 2011 3:09 pm

Next

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 14 guests