All PLX based chips - Important Upgrade Note [updated]

This forum is for all other ARMv5 devices

Re: All PLX based chips - Important Upgrade Note [updated]

Postby WarheadsSE » Fri Jun 15, 2012 3:00 am

updater is updated w/ kernel that automounts devtmpfs to /dev. I have also uploaded an up-to-date as of 30 minutes ago rootfs, that I have *not yet* moved to "latest" staus.

I am going to bed!
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: All PLX based chips - Important Upgrade Note [updated]

Postby pogoman » Fri Jun 15, 2012 4:17 am

$this->bbcode_second_pass_quote('WarheadsSE', 'u')pdater is updated w/ kernel that automounts devtmpfs to /dev. I have also uploaded an up-to-date as of 30 minutes ago rootfs, that I have *not yet* moved to "latest" staus.

I am going to bed!


thanks for the great effort.
Can I rerun the new updater given that I already updated a couple of days ago.
pogoman
 
Posts: 8
Joined: Fri Feb 03, 2012 3:13 am

Re: All PLX based chips - Important Upgrade Note [updated]

Postby Geoff » Fri Jun 15, 2012 5:26 am

$this->bbcode_second_pass_quote('pogoman', 'A')fter upgrade, make sure check you /dev/ and see if random/tty*/mtd*/sdb* are there.
if not, mknod of them, otherwise you will not be able to boot up.

I tried this, and it worked. Thank you! Of course, after I re-reflash the kernel, this will become moot.
Geoff
 
Posts: 231
Joined: Wed Mar 09, 2011 5:14 pm

Re: All PLX based chips - Important Upgrade Note [updated]

Postby Onnline » Sat Jun 16, 2012 6:46 am

I updated my kernel via the script and took the latest rootfs (06-2012). When trying to run transmissiond the configs were not created, will looking in the logs I stumbled upon the fact the /dev/null is created as 600 instead 666. The post on https://bbs.archlinux.org/viewtopic.php?id=142816 hints this to be something with udev, only rules I see in udev are automount and automount SD. How do I set /dev/null to 666 at boot?
Onnline
 
Posts: 2
Joined: Sat Jun 16, 2012 6:39 am

Re: All PLX based chips - Important Upgrade Note [updated]

Postby azraleus » Sat Jun 16, 2012 5:32 pm

Hey, I found a workaround. I added those lines to my /etc/rc.local and I can run my transmissiond without problems.

$this->bbcode_second_pass_code('', 'chmod 777 /dev/null
rm /dev/random
rm /dev/urandom
mknod -m 666 /dev/random c 1 8
mknod -m 666 /dev/urandom c 1 9
')
azraleus
 
Posts: 4
Joined: Mon May 30, 2011 2:57 pm

Re: All PLX based chips - Important Upgrade Note [updated]

Postby slycat » Mon Jun 18, 2012 2:08 am

Bit of a bind:
System reboot failed, used a spare flashdrive with latest rootfs to get a chroot environment for my drive and ran the update script (w/ uImage.pci since PPPro) with no errors returned. Umounted chroot folders after exiting, reboot into original drive, but no luck. So I tried to boot again from the spare flashdrive, but that didn't work either. Decided to reinstall the latest rootfs on spare flashdrive, again with mac_addr added, and still nothing.

Front led is blinking but then goes solid green. There are no other drives connected when booting ensuring the flashdrive is the first to boot from. However I am getting no connectivity (does not show up on router list) and, therefore, cannot access the plug at all at this point.

I am positive the drives are intact and free of hardware-related errors and that the spare flashdrive is with the latest rootfs for oxnas along with a properly formatted mac_addr. Any ideas what might've gone wrong?
Pogoplug Pro w/ Wireless User -> decomm.
Cubox-i4pro User
4TB eSATA HDD (8g/3700+ Sw/Storage)
Kodi / Transmission / Minidlna / Samba / Batch-audio-conversions / Lighttpd
------------------------------
Rollback Machine - Thanks to impatt
slycat
 
Posts: 169
Joined: Wed Feb 09, 2011 3:07 am
Location: Miami, FL

Re: All PLX based chips - Important Upgrade Note [updated]

Postby WarheadsSE » Mon Jun 18, 2012 12:24 pm

Try http://archlinuxarm.org/os/oxnas/ArchLi ... nas.tar.gz I just haven't made it an official latest yet.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: All PLX based chips - Important Upgrade Note [updated]

Postby slycat » Mon Jun 18, 2012 5:00 pm

That was able to get my spare flashdrive to boot, thanks.
However, after formatting my harddrive to a back up I made, chroot, and running the update-oxnas (w/ PCI), it still won't boot off the harddrive. The usual constant blinking and no connection to router (I have it scripted to go orange after initialization and then green once rc.local is complete). Just to note: when chrooting the HDD is on usb, but when trying to operate it is by eSata.

Could there be another package that is in conflict, like a list of baddies I've mistakenly upgraded to? Would it be necessary to upgrade/downgrade (pacman -Syu) before leaving the chroot?
Pogoplug Pro w/ Wireless User -> decomm.
Cubox-i4pro User
4TB eSATA HDD (8g/3700+ Sw/Storage)
Kodi / Transmission / Minidlna / Samba / Batch-audio-conversions / Lighttpd
------------------------------
Rollback Machine - Thanks to impatt
slycat
 
Posts: 169
Joined: Wed Feb 09, 2011 3:07 am
Location: Miami, FL

Re: All PLX based chips - Important Upgrade Note [updated]

Postby Geoff » Mon Jun 18, 2012 5:19 pm

Just a thought for those who re-run update-oxnas: try to avoid erasing and re-flashing the same kernel over again to NAND. That might wear out the NAND, and there's no need to do that.

$this->bbcode_second_pass_quote('slycat', 'J')ust to note: when chrooting the HDD is on usb, but when trying to operate it is by eSata.


If you are booting up using SATA with the kernel on the HDD, instead of booting up with the kernel in NAND, then you will need to adapt the update-oxnas script to write the new kernel to /dev/sdX1 (substituting X for where the HDD is mounted) instead of to NAND. I don't know if it makes any difference to zero out the contents of /dev/sdX1 first (easily done), but I rather doubt it.
Last edited by Geoff on Mon Jun 18, 2012 7:14 pm, edited 1 time in total.
Geoff
 
Posts: 231
Joined: Wed Mar 09, 2011 5:14 pm
Top

Re: All PLX based chips - Important Upgrade Note [updated]

Postby WarheadsSE » Mon Jun 18, 2012 5:22 pm

I've never had to Zero them, but yes Geoff is right on the dd to /dev/sdX1.

The re-flashing the update, true, but a couple of times at most shouldn't be breaking things.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

PreviousNext

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 37 guests