how to use "usb flaskdisk" in os6400?

benny

Re: how to use "usb flaskdisk" in os6400?

Post by benny »

Does the USB stick have a FAT filesystem?
Please make sure you only use USB sticks with capacity less than 2 GB ...
Please make sure you create an empty file called "aossignature" on the USB stick ...

Benny
OmniSwitch

Re: how to use "usb flaskdisk" in os6400?

Post by OmniSwitch »

Now I created that aossignature -file and it seems that the switch no longer complains: unsupported bulk device
Still the stick I mentioned earlier that gives hope says the same even if I formatted it 1024 Mbytes and fat16:

/uflash Bulk device is created
Node ID 0x2
LUN #0
Vendor Info :
Product ID :
Product Revision :
Number of Blocks : 0
Bytes per Block : 2
Total Capacity : 0

+++ USB Bulk Device mounted at 12 Mbps.

any ideas?
dangkita

Re: how to use "usb flaskdisk" in os6400?

Post by dangkita »

Hi Benny,

Does the USB need to be bootable?
USB stick has FAT filesystem, means FAT16 or FAT32?

Thanks and best regards,
Dangkita
benny

Re: how to use "usb flaskdisk" in os6400?

Post by benny »

@OmniSwitch:
Where is the issue, the USB stick was properly mounted?!

@Dangkita:
No, it doesn't have to be bootable. I have never selected anything special and asked Windows to format it with FAT (I assume that is FAT32 today ...).

Benny
devnull

Re: how to use "usb flaskdisk" in os6400?

Post by devnull »

I tried different sticks and found a 256MB Fujitsu Siemens USB Stick that worked on my 6850 (would automount when USB Enable)
It gives some strange errors, works otherwise..

tested upgrade using
usb auto-copy enable

and desaster recovery (removed all images from /certified)

Code: Select all

AOS miniboot version: 6.4.4.213.R01
VxWorks (for Alcatel CMM Motorola MPC8248) version VxWorks5.5.1
KERNEL: WIND version 2.6
Made on Jan 27 2011, 05:49:51.
Copyright Wind River Systems, Inc., 1984-2006

CPU: Motorola MPC8248.  Processor #0.
Memory Size: 0x10000000 (256 MB).  BSP version 1.2/1.

Attempting to load from the CERTIFIED directory...
Loading kernel from '/flash/certified/K2os.img'...
Cannot find component(alcatelNetworking_kernel.lnk) in package(/flash/certified/K2os.img)!
Cannot find component(kernel.lnk) in package(/flash/certified/K2os.img)!
Unable to load kernel image from file '/flash/certified/K2os.img'.
Unable to boot from the CERTIFIED software release.
[Miniboot]->USB Disaster Recovery Activated
usrFdiskPartLib: warning: invalid partition entry encountered block 0, entry 0, sys type 6e, Skipped
usrFdiskPartLib: warning: invalid partition entry encountered block 0, entry 1, sys type ff, Skipped
usrFdiskPartLib: warning: invalid partition entry encountered block 0, entry 2, sys type 74, Skipped
 /uflash Bulk device is created
Bulk Device mounted at 12 Mbps. With 1 Logical Units at node 2
Initiate reformat of /flash
Destroy all data in /flash file system
Reinitializing flash file system.  Please wait...
Disk with 125152 sectors of 512 bytes will be formatted with:
Volume Parameters: FAT type: FAT16, sectors per cluster 2
  2 FAT copies, 62298 clusters, 245 sectors per FAT
  Sectors reserved 1, hidden 32, FAT sectors 490
  Root dir entries 512, sysId VXDOS16 , serial number b4379482
  Label:"NO NAME    " ...
.copying file /uflash/6850/certified/Kadvrout.img -> /flash/certified/Kadvrout.img
Copy OK: 2878967 bytes copied
copying file /uflash/6850/certified/Kbase.img -> /flash/certified/Kbase.img
Copy OK: 18580029 bytes copied
copying file /uflash/6850/certified/Kencrypt.img -> /flash/certified/Kencrypt.img
Copy OK: 3437 bytes copied
copying file /uflash/6850/certified/Keni.img -> /flash/certified/Keni.img
Copy OK: 5753015 bytes copied
copying file /uflash/6850/certified/Ksecu.img -> /flash/certified/Ksecu.img
Copy OK: 648379 bytes copied
copying file /uflash/6850/certified/K2os.img -> /flash/certified/K2os.img
Copy OK: 1957710 bytes copied
copying file /uflash/6850/certified/boot.cfg -> /flash/certified/boot.cfg
Copy OK: 3085 bytes copied

i have no 6400 to test with, but it should work.. takes some time to find a supported USB (just go through all the old marketing giveaways)
lsls

Re: how to use "usb flaskdisk" in os6400?

Post by lsls »

Hello,

Could you please confirm the following requirements to use any USB on current OS6400:

- FAT format (therefore USB should be under 2Go)
- Having the empty file aossignature on the USB

That's all?

All the USB with those characteristics should work with the OS 6400?

Lsls
silvio
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 2110
Joined: 01 Jul 2008 10:51
Location: Germany

Re: how to use "usb flaskdisk" in os6400?

Post by silvio »

aossignature is only necessary for usb-autorecovery.
For casual updates or filetransfer you have to activate
> usb enable

if your stick is working you can use the known commands like:
> ls /uflash
> mkdir /uflash/6400
> cp /flash/working/boot.cfg /uflash/6400/

try it.
regards
Silvio
lsls

Re: how to use "usb flaskdisk" in os6400?

Post by lsls »

Hello,

I think I was not very clear, so I'll try again:

The main issue is that the stick is not recognized by the 6400. Therefore the usb enable command is useless.

When I check with ls after putting the USB and usb enable I don't have any /uflash

What are the requirements for any USB to be compliant with 6400?

lsls
devnull

Re: how to use "usb flaskdisk" in os6400?

Post by devnull »

In General have a Certified USB Stick, e.g. Buy One from ALU.
As probably nobody does this:
Just check all your USB sticks (less 2gb work more often in my experience)

I think mine are fat32. Just plug them in use USB enable. If it is recognized ( you'll see from the output or check if ls /uflash shows you the content of the stick)

Once you have a compatible USB stick you may need aossignature files or special directory structures for auto-copy and disaster recovery
Post Reply

Return to “OmniSwitch 6400”