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 jbhelfrich » Sat Aug 04, 2012 5:07 pm

Hmm. I skipped the pacman update and then everything ran fine until:

$this->bbcode_second_pass_code('', 'Flashing Kernel to slot A...
flash_erase: error!: /dev/mtd1
error 2 (No such file or directory)
nandwrite: error!: /dev/mtd1
error 2 (No such file or directory)
')

Looking in /dev, I see two disks; sdb and sdb1. So I edit the script to change mtd1 to sdb1 in the last section and rerun, right?
jbhelfrich
 
Posts: 8
Joined: Wed Jan 04, 2012 5:57 am

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

Postby WarheadsSE » Sat Aug 04, 2012 10:57 pm

Are you running sata? Or maybe, a not-Cloud Engines??
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 jbhelfrich » Sun Aug 05, 2012 12:26 am

It's one of the pink Pogoplugs, a B-01. There's a 16 gig flash drive that has the file system on it, and a old 5 gig Seagate Hockey puck drive that has a RAM disk partition on it.

Ugh, and I just unplugged it verifying the version, and now I can't SSH into it, and the front light isn't coming on. Can't ping it either. Nothing in the DHCP table on the router. (Edit: and apparently if I leave it plugged in, the router panics; after a few minutes, Every other computer on the network loses DNS until I unplug it. I'm using Google's DNS servers)

*sigh* Am I going to have to buy a soldering iron?
jbhelfrich
 
Posts: 8
Joined: Wed Jan 04, 2012 5:57 am

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

Postby WarheadsSE » Sun Aug 05, 2012 5:07 pm

Only if you need a soldering iron to wire the serial cable. The headers shouldn't need soldered to. The fact that you had no mtd devices is.. not good.
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 kwave » Sun Aug 05, 2012 11:29 pm

Hi. I upgraded by running the script mentioned in the second post of this thread. After the script completed, I rebooted my plug. It doesn't come up anymore. Serial Console says:
$this->bbcode_second_pass_code('', '
[ 2.730000] usb 1-1: new high speed USB device using oxnas-ehci and address 2
[ 2.880000] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[ 2.880000] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 2.890000] usb 1-1: Product: USB2.0 Hub
[ 2.900000] usb 1-1: configuration #1 chosen from 1 choice
[ 2.900000] hub 1-1:1.0: USB hub found
[ 2.910000] hub 1-1:1.0: 4 ports detected
[ 3.190000] usb 1-1.3: new high speed USB device using oxnas-ehci and address 3
[ 3.300000] usb 1-1.3: New USB device found, idVendor=04b4, idProduct=6830
[ 3.300000] usb 1-1.3: New USB device strings: Mfr=56, Product=78, SerialNumber=100
[ 3.310000] usb 1-1.3: Product: USB2.0 Storage Device
[ 3.320000] usb 1-1.3: Manufacturer: Cypress Semiconductor
[ 3.320000] usb 1-1.3: SerialNumber: DEF107679C83
[ 3.330000] usb 1-1.3: configuration #1 chosen from 1 choice
[ 17.500000] Root-NFS: No NFS server available, giving up.
[ 17.500000] VFS: Unable to mount root fs via NFS, trying floppy.
[ 17.510000] VFS: Cannot open root device "sda1" or unknown-block(2,0)
[ 17.510000] Please append a correct "root=" boot option; here are the available partitions:
[ 17.520000] 1f00 131072 mtdblock0 (driver?)
[ 17.530000] 1f01 14336 mtdblock1 (driver?)
[ 17.530000] 1f02 116736 mtdblock2 (driver?)
[ 17.540000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
[ 17.550000] CPU1: stopping
')
So it seems like the Kernel doesn't recognize my USB HDD anymore. How to fix this?
kwave
 
Posts: 13
Joined: Fri Jul 01, 2011 10:13 pm

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

Postby WarheadsSE » Mon Aug 06, 2012 2:20 am

Sure thing: What does your rootfs= bit of the kernel command line say? It should read /dev/sda1
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 kwave » Mon Aug 06, 2012 4:27 pm

$this->bbcode_second_pass_code('', '[ 0.000000] Kernel command line: root=/dev/sda1 ubi.mtd=2,512 rootfstype=ext3 console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 rootdelay=15 mem=128M poweroutage=yes')
No problem here. I copied over the new rootfs tarball to a fresh USB stick. The system boots off the stick. While running the naked system from this stick I plugged in the hard drive which the system wasn't able to boot of. According to dmesg the device gets recognized but no dev-node was generated. As soon as I load the ums-cypress module, the disk is recognized as sdb1. So after all it seems like the new kernel dropped the module (ums-cypress) which is necessary at boot stage to boot off my disk.
kwave
 
Posts: 13
Joined: Fri Jul 01, 2011 10:13 pm

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

Postby WarheadsSE » Mon Aug 06, 2012 4:33 pm

Ah, since it apparently needs that (ums-cypress usb-ata) to be built in. Looks like we'll have to look at the config.
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 kwave » Mon Aug 06, 2012 4:49 pm

So as I am having a blocked plug right now - which means no DNS resolution for the whole network :cry: - how can I build an image which can be flashed via
$this->bbcode_second_pass_code('', '
flash_erase /dev/mtd1 0x500000 20
nandwrite -p -s 0x500000 /dev/mtd1 boot/uImage.nopci
')
to fix this as soon as possible?
kwave
 
Posts: 13
Joined: Fri Jul 01, 2011 10:13 pm

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

Postby WarheadsSE » Mon Aug 06, 2012 6:26 pm

Build the kernel without PCI as a uImage .. and flash it?

I am going to look into/build it now..
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 9 guests