Serial port (2Big 2)

From NAS-Central Lacie Wiki
Jump to: navigation, search

SerialPort2Big2.jpg
The serial port is a 3.3 TTL level port, so you can't just connect it to a standard RS232 port. A level converter is needed. I used a FTDI TTL-232R-3V3. The portsettings are 115200-N-8-1

Serial bootlog:

À
           _           ____ _ 
          | |    __ _ / ___(_) ___
          | |   / _` | |   | |/ _ \
          | |___ (_| | |___| |  __/
          |_____\__,_|\____|_|\___|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** MARVELL BOARD: L2BIG_2BIG LE 
Hold front button - long :  FAIL


U-Boot 1.1.4 (Dec 21 2009 - 16:55:45) Marvell version: 3.4.16  LaCie 1.3.9

U-Boot code: 00600000 -> 006701D0  BSS: -> 006BDE80

Soc: MV88F6281 Rev 3 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 166Mhz 

DRAM CAS Latency = 6 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB 
DRAM Total size 256MB  16bit width
[512kB@f8000000] Flash: 512 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
*** Warning - bad CRC, using default environment


CPU : Marvell Feroceon (Rev 1)

Streaming disabled 
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME]
Waiting for LUMP (3)
no lump receive; continuing
Hit any key to stop autoboot:  4 ��� 3 ��� 2 ��� 1 ��� 0 

Reset IDE: 
Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode
  Device 0 @ 0 0:
Model: Hitachi HDT725050VLA360                  Firm: V56OA7EA Ser#:       VFK401R42KESKK
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
Port Multiplier found @ 0 1. Vendor: 197b ports: 2
[0 1 0]: Enable DMA mode
  Device 1 @ 0 1 0:
Model: Hitachi HDT721010SLA360                  Firm: ST6OA31B Ser#:       STF604MH11M6DB
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)

## Valid DOS partition found ##

Loading from IDE device 0, partition 10: Name: hda10
  Type: U-Boot

** Bad Magic Number **
## Valid DOS partition found ##

Loading from IDE device 1, partition 10: Name: hdb10
  Type: U-Boot

** Bad Magic Number **
## Valid DOS partition found ##

Loading from IDE device 0, partition 6: Name: hda6
  Type: U-Boot
   Image Name:   Linux-2.6.22.18
   Created:      2010-11-03   9:58:13 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1937476 Bytes =  1.8 MB
   Load Address: 00008000
   Entry Point:  00008000
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.22.18
   Created:      2010-11-03   9:58:13 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1937476 Bytes =  1.8 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux.............................................................................................................. done, booting the kernel.
Linux version 2.6.22.18 (sbs@node3.lacie.com) (gcc version 4.2.1) #1 Wed Nov 3 09:58:06 UTC 2010
CPU: ARM926EJ-S [56251311] revision 1 (ARMv5TE), cr=00053177
Machine: net2big_v2
Using UBoot passing parameters structure
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists.  Total pages: 65024
Kernel command line: console=ttyS0,115200 root=/dev/sda7 ro reset=0 productType=PRO_KW
PID hash table entries: 1024 (order: 10, 4096 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB 0MB 0MB 0MB = 256MB total
Memory: 256256KB available (2808K code, 204K data, 484K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16

CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size 256MB 
SDRAM_CS1 ....disable
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
PEX0_MEM ....base e8000000, size 128MB 
PEX0_IO ....base f2000000, size   1MB 
INTER_REGS ....base f1000000, size   1MB 
NFLASH_CS ....base fa000000, size   2MB 
SPI_CS ....base f4000000, size  16MB 
BOOT_ROM_CS ....no such
DEV_BOOTCS ....no such
CRYPT_ENG ....base f0000000, size   2MB 

  Marvell Development Board (LSP Version KW_LSP_4.2.7_patch2)-- net2big_v2  Soc: MV88F6281 Rev 3 LE

 Detected Tclk 166666667 and SysClk 400000000 
MV Buttons Device Load
Register Marvell USB EHCI Host controller #0
PEX0 interface detected no Link.
PCI: bus0: Fast back to back transfers enabled
SCSI subsystem initialized
NET: Registered protocol family 2
Time: kw_clocksource clocksource has been installed.
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
Use the XOR engines (acceleration) for enhancing the following functions:
  o RAID 5 Xor calculation
  o kernel memcpy
  o kenrel memzero
Number of XOR engines to use: 4
cesadev_init(c000ef80)
MV Buttons Driver Load
mv_rtc mv_rtc: rtc core: registered mv_rtc as rtc0
mv_rtc mv_rtc: Kirkwood SoC RTC added
Init kirkwood cpufreq driver
Registered led device: net2big:blue:front
Registered led device: net2big:red:front
Registered led device: net2big:blue:hd1
Registered led device: net2big:red:hd1
Registered led device: net2big:blue:hd2
Registered led device: net2big:red:hd2
gpio-fan gpio-fan: No fan power resource available
gpio-fan gpio-fan: GPIO fan initialized
gpio-hd-power gpio-hd-power: GPIO Hard Disk power device initialized
gpio-usb gpio-usb: USB GPIO's initialized
g762 0-003e: device successfully initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Registering unionfs 2.5.3 (for 2.6.22.19)
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
serial8250.0: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
INIT Marvell Ethernet Driver: mv_netdev
Loading Marvell Ethernet Driver:
  o Cached descriptors in DRAM
  o DRAM SW cache-coherency
  o Multi RX Queue support - 4 RX queues
  o Multi TX Queue support - 2 TX Queues
  o TCP segmentation offload enabled
  o Receive checksum offload enabled
  o Transmit checksum offload enabled
  o Network Fast Processing (Routing) supported
  o Driver ERROR statistics enabled
  o Driver INFO statistics enabled
  o Proc tool API enabled
  o Rx descripors: q0=128 q1=128 q2=128 q3=128
  o Tx descripors: q0=532 q1=532
  o Loading network interface(s):
    o eth0, ifindex = 1, GbE port = 0

Warning: Giga 1 is Powered Off

mvFpRuleDb (c07b0000): 2048 entries, 8192 bytes
Integrated Sata device found
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
scsi 0:0:0:0: Direct-Access     Hitachi  HDT725050VLA360  V56O PQ: 0 ANSI: 5
scsi 1:0:0:0: Direct-Access     Hitachi  HDT721010SLA360  ST6O PQ: 0 ANSI: 5
Disk topology: host_no=0 channel=0 id=0
sd 0:0:0:0: [sda] 976773168 512-byte hardware sectors (500108 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
sd 0:0:0:0: [sda] 976773168 512-byte hardware sectors (500108 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
 sda: sda1 < sda5 sda6 sda7 sda8 sda9 sda10 > sda2
sd 0:0:0:0: [sda] Attached SCSI disk
Disk topology: host_no=1 channel=0 id=0
sd 1:0:0:0: [sdb] 1953525168 512-byte hardware sectors (1000205 MB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 1:0:0:0: [sdb] 1953525168 512-byte hardware sectors (1000205 MB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdb: sdb1 < sdb5 sdb6 sdb7 sdb8 sdb9 sdb10 > sdb2
sd 1:0:0:0: [sdb] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 1:0:0:0: Attached scsi generic sg1 type 0
SPI Serial flash detected @ 0xf4000000, 512KB (128sec x 4KB)
mice: PS/2 mouse device common for all mice
input: gpio-keys as /class/input/input0
i2c /dev entries driver
at24 0-0050: 512 byte 24c04 EEPROM (writable)
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
raid6: int32x1     98 MB/s
raid6: int32x2    114 MB/s
raid6: int32x4    123 MB/s
raid6: int32x8    111 MB/s
raid6: using algorithm int32x4 (123 MB/s)
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
raid5: measuring checksumming speed
   arm4regs  :  1089.600 MB/sec
   8regs     :   758.800 MB/sec
   32regs    :   904.400 MB/sec
raid5: using function: arm4regs (1089.600 MB/sec)
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Freeing init memory: 484K
===INITRAMFS: =======================================INITRAMFS================================
===INITRAMFS: Initializing filesystem
===INITRAMFS: Mounting /proc
===INITRAMFS: Mounting /sys
===INITRAMFS: Populating /dev
===INITRAMFS: Mounting /dev/pts
===INITRAMFS: Product ID = 'net2big_v2'
===INITRAMFS: minRaidDevices=2
===INITRAMFS: maxRaidDevices=2
===INITRAMFS: Waiting for the master disk to spin up
===INITRAMFS: Waiting for 1 to 1 disks to spin up
===INITRAMFS: We finally have 2 disks, updating /dev
eth0: link down
eth0: started
Sleep mode disabled
Powering off leds
Find and update brightness
Powering on leds : resume
Find and update trigger
Find and update delay_on
Find and update delay_off
Find and update hd_blink
===INITRAMFS: Waiting for 1 to 1 disks to spin up
===INITRAMFS: We finally have 2 disks, updating /dev
===INITRAMFS: Found available BootFS partition: /dev/sda7
===INITRAMFS: Normal boot, starting bootfs system array
===INITRAMFS: Stmd: md0 stopped.
arting bootfs RAID array (/dev/md0) with /dev/sdmd: bind<sda7>
a7
raid1: raid set md0 active with 1 out of 2 mirrors
===INITRAMFS: Mouting /dev/md0 on /root read only
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
===INITRAMFS: Switching to bootfs, leaving initramfs
===BOOTFS: =======================================BOOTFS=================================
===BOOTFS: Initializing filesystem
===BOOTFS: Mounting /proc
mount: /etc/mtab: Read-only file system
===BOOTFS: Mounting /sys
mount: /etc/mtab: Read-only file system
===BOOTFS: Populating /dev
===BOOTFS: Mounting /dev/pts
mount: /etc/mtab: Read-only file system
eth0: link up, full duplex, speed 100 Mbps
===BOOTFS: Mounting /dev/shm
mount: /etc/mtab: Read-only file system
===BOOTFS: Warning: addBootfsComponents() /dev/sda7 is already part of /dev/md0, won't add it
===BOOTFS: addBootfsComponents() Adding /dev/sdb7 to /dev/md0
md: bind<sdb7>
RAID1 conf printout:
 --- wd:1 rd:2
 disk 0, wo:0, o:1, dev:sda7
 disk 1, wo:1, o:1, dev:sdb7
===BOOTFS: Starting md1 (RootFS)
md: recovery of RAID array md0
md: minimum _guaranteed_  speed: 1000 KB/sec/disk.
md: using maximum available idle IO bandwidth (but not more than 200000 KB/sec) for recovery.
md: using 128k window, over a total of 7936 blocks.
md: md0: recovery done.
RAID1 conf printout:
 --- wd:2 rd:2
 disk 0, wo:0, o:1, dev:sda7
 disk 1, wo:0, o:1, dev:sdb7
md: md1 stopped.
md: bind<sdb8>
md: bind<sda8>
md: md1: raid array is not clean -- starting background reconstruction
raid1: raid set md1 active with 2 out of 2 mirrors
md: resync of RAID array md1
md: minimum _guaranteed_  speed: 1000 KB/sec/disk.
md: using maximum available idle IO bandwidth (but not more than 200000 KB/sec) for resync.
md: using 128k window, over a total of 851328 blocks.
===BOOTFS: Starting md2 (Snapshots)
md: md2 stopped.
md: bind<sdb9>
md: bind<sda9>
raid1: raid set md2 active with 2 out of 2 mirrors
===BOOTFS: Starting md3 (Swap)
md: md3 stopped.
md: bind<sdb5>
md: bind<sda5>
raid1: raid set md3 active with 2 out of 2 mirrors
===BOOTFS: #### Running File System Check on Snapshot Partition (/dev/md2) ###
e2fsck 1.37 (21-Mar-2005)
/dev/md2: recovering journal
/dev/md2 has gone 15094 days without being checked, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

/dev/md2: ***** FILE SYSTEM WAS MODIFIED *****
/dev/md2: 853/109536 files (1.4% non-contiguous), 9012/218848 blocks
#### Starting PatchManager using /dev/md1 and /dev/md2  ####
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on md2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
===BOOTFS: Creating base union /var/base from /var/original
===BOOTFS: Loading snapshots from /snapshots/snaps
unionfs: unionfs: new generation number 2
mount: /etc/mtab: Read-only file system
unionfs: unionfs: new generation number 3
mount: /etc/mtab: Read-only file system

	Next Generation Init version ( 0.6.10.2 Die bugs die! )
	http://www.initng.org
	Author: Jimmy Wennlund <jimmy.wennlund@gmail.com>
	If you find initng useful, please consider a small donation.

	System is starting up!

      runlevel/default	[starting]
      initial/loglevel	[starting]
      initial/mountvirtfs	[starting]
      initial/sysctl	[starting]
      initial/snapshots	[starting]
      initial/memlog	[starting]
      dbus	[starting]
      bootmisc	[starting]
      mountfs	[starting]
      udev/filldev	[starting]
      udev/udevd	[starting]
      udev/mountdev	[starting]
      udev/set_hotplug	[starting]
      modules	[starting]
      dbus/uuidgen	[starting]
      hald	[starting]
      clock	[starting]
      dhcdbd	[starting]
      logrotate	[starting]
      syslogd	[starting]
      klogd	[starting]
      swap	[starting]
      mountuserfs	[starting]
      raid	[starting]
      usb	[starting]
      hostname	[starting]
      NetworkManager	[starting]
      bonding	[starting]
      NetworkManager/prepare	[starting]
      http	[starting]
      getty/1	[starting]
      sshd	[starting]
      sshd/generate_keys	[starting]
      cron	[starting]
      unicorn	[starting]
      thumbd	[starting]
   2% initial/loglevel	[done]  	( done in 22ms )
   5% initial/mountvirtfs	[done]  	( done in 147ms )
   7% initial/sysctl	[done]  	( done in 18ms )

 initial/snapshots start:
  Mounting /oldroot/snapshots/EDMINI
  
  10% initial/memlog	[done]  	( done in 56ms )
  12% initial/snapshots	[done]  	( done in 159ms )
  17% NetworkManager/prepare	[done]  	( done in 73ms )
  20% udev/mountdev	[done]  	( done in 301ms )
  22% hostname	[done]  	( done in 158ms )
  25% dbus/uuidgen	[done]  	( done in 264ms )
  27% udev/udevd	[started]	( pid: 973 )
  30% logrotate	[done]  	( done in 579ms )
  32% udev/set_hotplug	[done]  	( done in 112ms )
  35% modules	[done]  	( done in 1478ms )
  37% udev/filldev	[done]  	( done in 2257ms )
  42% getty/1	[started]	( pid: 1257 )
  45% clock	[done]  	( done in 97ms )
  47% usb	[done]  	( done in 133ms )
  50% swap	[  52% sshd/generate_keys	[done]  	( done in 194ms )
  55% mountfs	[done]  	( done in 198ms )
  57% cron	[started]	( pid: 1276 )
  60% bonding	[done]  	( done in 119ms )
  62% mountuserfs	[done]  	( done in 149ms )
  65% bootmisc	[done]  	( done in 416ms )
  67% syslogd	[started]	( pid: 1319 )
  72% klogd	[started]	( pid: 1320 )
  75% dbus	[started]	( pid: 1323 )
  77% hald	[started]	( pid: 1324 )

 LaCix Linux release 1.3.6
 Kernel 2.6.22.18 on an armv5tejl / ttyS0
 LaCie-2big login:   80% dhcdbd	[started]	( pid: 1329 )
  82% NetworkManager	[started]	( pid: 1343 )
  92% http	[started]	( pid: 1344 )
  92% unicorn	[started]	( pid: 1346 )
  92% thumbd	[started]	( pid: 1347 )
  95% raid	[done]  	( done in 2745ms )
  97% sshd	[started]	( pid: 1357 )
 100% runlevel/default	[done]  	( done in 7019ms )


	runlevel "runlevel/default" up in, 7260ms.