Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Fri Nov 24, 2017 5:43 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sat Jul 05, 2008 3:47 pm 
Offline
Newbie
User avatar

Joined: Fri Nov 30, 2007 5:07 pm
Posts: 58
Location: BE
Hi everyone !

I've had a serious data corruption on both my /dev/sda1 & /dev/sda2 after a storm... Fortunately, my data partition /dev/sda4 is intact.

I tried to repair the boot & system partitions the using fschk, but it didn't work...
I pulled the HD out of the Kuro to make a new try on my computer :
I shredded both inconsistent partitions, then I rebuild a file system using mkfs.ext3.

I then unpacked the hddrootfs.tar from the freelink (FreeLink_arm9-1.0rev2.zip) on the 2nd partition, and placed the boot files on the 1st partition. The boot files are those coming form the microevtd from lb_worm.

here's the result :
Code:
sh-2.05b# mkdir boot
sh-2.05b# mkdir system
sh-2.05b# mount /dev/sda1 boot
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
sh-2.05b# mount /dev/sda2 system/
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda2, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
sh-2.05b# ls -l boot/
-rwxr-xr-x    1 root     root           39 Jul  5 14:35 boot.log
-rwxr-xr-x    1 root     root          817 Jul  5 14:35 boot_options
-rwxr-xr-x    1 root     root            2 Jul  5  2008 hddrootmode
-rwxr-xr-x    1 root     root      5412974 Jul  5  2008 initrd.buffalo
drwxr-xr-x    2 root     root        12288 Jul  5  2008 lost+found
-rwxr-xr-x    1 root     root           10 Jul  5 14:35 rootfs_booting
-rwxr-xr-x    1 root     root      1736436 Jul  5  2008 uImage.buffalo
-rwxr-xr-x    1 root     root      1736436 Jul  5  2008 uImage.buffalo.old
sh-2.05b# ls -l system/
drwxr-xr-x    2 root     root         4096 Dec 28  2007 bin
drwxr-xr-x    2 root     root         4096 Dec 28  2007 boot
drwxr-xr-x   10 root     root         4096 Dec 28  2007 buffalo
drwxr-xr-x    8 root     root         4096 Dec 28  2007 dev
drwxr-xr-x   51 root     root         4096 Dec 28  2007 etc
drwxr-xr-x    3 root     root         4096 Dec 28  2007 home
drwxr-xr-x    2 root     root         4096 Dec 28  2007 initrd
drwxr-xr-x   11 root     root         4096 Dec 28  2007 lib
drwx------    2 root     root        16384 Jul  5  2008 lost+found
drwxr-xr-x    3 root     root         4096 Dec 28  2007 mnt
drwxr-xr-x    2 root     root         4096 Dec 28  2007 proc
drwxr-xr-x    3 root     root         4096 Dec 28  2007 root
drwxr-xr-x    2 root     root         4096 Dec 28  2007 sbin
drwxr-xr-x    2 root     root         4096 Dec 28  2007 sys
drwxr-xr-x    2 root     root         4096 Dec 28  2007 tmp
drwxr-xr-x   11 root     root         4096 Dec 28  2007 usr
drwxr-xr-x   16 root     root         4096 Dec 28  2007 var
sh-2.05b#


The standby mode (microevtd) boots justs fine, but I can't get the kurobox to boot normally.

Code:
Orion1   CPU =  Low

=== KURO U-Boot. ===
 ** LOADER **
 ** KUROBOX BOARD: KURO_BOX  LE (CFG_ENV_ADDR=fffff000)


U-Boot 1.1.1 (Apr 10 2007 - 18:10:08) Marvell version: 1.12.1 - TINY

DRAM CS[0] base 0x00000000   size 128MB
DRAM Total size 128MB
[256kB@fffc0000] Flash: 256 kB
Addresses 20M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (20M - 16M): Done
NAND: 256 MB

Soc: 88F5182 A2
CPU: ARM926 (Rev 0) running @ 500Mhz
Orion 1 streaming disabled
SysClock = 250Mhz , TClock = 166Mhz


USB 0: host mode
USB 1: host mode
PCI 0: PCI Express Root Complex Interface
PCI 1: Conventional PCI, speed = 33000000
Net:   egiga0 [PRIME]
Using 88E1118 phy
hit any key to switch tftp boot.
Hit any key to stop autoboot:  0
<<system_bootend>>
Hit any key to stop autoboot:  0

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
  Device 0: OK
Model: SAMSUNG HD753LJ                          Firm: 1AA01104 Ser#: S13UJ1KPB02567
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 715404.8 MB = 698.6 GB (1465149168 x 512)

Using device ide0, partition 1

Loading from block device ide device 0, partition 1: Name: hda1
  Type: U-Boot  File:/uImage.buffalo

1736436 bytes read
Using device ide0, partition 1

Loading from block device ide device 0, partition 1: Name: hda1
  Type: U-Boot  File:/initrd.buffalo

5412974 bytes read
<<stop_sound>>
## Booting image at 00100000 ...
   Image Name:   Linux-2.6.12.6-arm1
   Created:      2007-02-08   6:00:09 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1736372 Bytes =  1.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02000000 ...
   Image Name:   initrd
   Created:      2008-03-05  19:36:59 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5412910 Bytes =  5.2 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

arg:console=ttyS0,115200 root=/dev/sda2 rw panic=5 BOOTVER=1.09
CONFIG_BUFFALO_PLATFORM CONFIG_BUFFALO_KUROBOX ---
Uncompressing Linux................................................................................................................. done, booting the kernel.
Linux version 2.6.12.6-arm1 (root@dev-hara) (gcc version 3.4.4 (release) (CodeSourcery ARM 2005q3-2)) #2 Thu Feb 8 15:00:20 JST 2007
CPU: ARM926EJ-Sid(wb) [41069260] revision 0 (ARMv5TEJ)
CPU0: D VIVT write-back cache
CPU0: I cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
CPU0: D cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
Machine: MV-88fxx81
Using UBoot passing parameters structure
Sys Clk = 250000000, Tclk = 166664740
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists
Kernel command line: console=ttyS0,115200 root=/dev/sda2 rw panic=5 BOOTVER=1.09
PID hash table entries: 1024 (order: 10, 16384 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: 128MB 0MB 0MB 0MB = 128MB total
Memory: 120832KB available (3037K code, 425K data, 112K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 5286K
NET: Registered protocol family 16
serial_initialize_ttyS1 (Debug): ttyS1 is initialized.
 config_device_cs Error : Unknown board

CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size 128MB
SDRAM_CS1 ....disable
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
PEX0_MEM ....base e0000000, size 128MB
PEX0_IO ....base f2000000, size   1MB
PCI0_MEM ....base e8000000, size 128MB
PCI0_IO ....base f2100000, size   1MB
INTER_REGS ....base f1000000, size   1MB
DEVICE_CS0 ....base fa000000, size   2MB
DEVICE_CS1 ....base f4000000, size  32MB
DEVICE_CS2 ....base fa800000, size   1MB
DEV_BOOCS ....base ff800000, size   8MB
CRYPTO ENG ....no such
Flash bankwidth 1, base ff800000, size 400000
BUFFALO KUROBOX FLASH size 4096[KB]

  Marvell Development Board (LSP Version 1.10.3.patch5_DB_NAS)-- BUFFALO_BOARD_KUROBOX  Soc: 88F5182 A2

 Detected Tclk 166664740 and SysClk 250000000
Marvell USB EHCI Host controller #0: c2545a40
Marvell USB EHCI Host controller #1: c2545b00
pexBarOverlapDetect: winNum 2 overlap current 0
mvPexInit:Warning :Bar 2 size is illigal
it will be disabled
please check Pex and CPU windows configuration
PCI: bus0: Fast back to back transfers enabled
PCI: bus1: Fast back to back transfers enabled
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
Use the XOR engines (offloading) for enhancing the following functions:
  o RAID 5 Xor calculation
  o kernel memcpy
  o kenrel memzero
  o copy user to/from kernel buffers
Number of XOR engines to use: 2
cesadev_init(c00122e0)
Fast Floating Point Emulator V0.9 (c) Peter Teichmann.
inotify device minor=63
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
SGI XFS with no debug enabled
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
ttyS0 at MMIO 0x0 (irq = 3) is a 16550A
ttyS1 at MMIO 0x0 (irq = 4) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 3 RAM disks of 32768K size 1024 blocksize
loop: loaded (max 8 devices)
Marvell Gigabit Ethernet Driver 'egiga':
  o Ethernet descriptors in DRAM
  o DRAM SW cache-coherency
  o Checksum offload enabled
  o Loading network interface ** egiga_init_module (10)
'eth0'
Intergrated Sata device found
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
  Vendor: SAMSUNG   Model: HD753LJ           Rev: 1AA0
  Type:   Direct-Access                      ANSI SCSI revision: 03
SCSI device sda: 1465149168 512-byte hdwr sectors (750156 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 1465149168 512-byte hdwr sectors (750156 MB)
SCSI device sda: drive cache: write back
 sda: sda1 sda2 sda3 sda4
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
physmap flash device: 400000 at ff800000
Found: SST 39LF020
phys_mapped_flash: Found 1 x8 devices at 0x0 in 8-bit bank
number of JEDEC chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
RedBoot partition parsing not available
NAND device: Manufacturer ID: 0x20, Chip ID: 0xda (ST Micro NAND 256MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 1327 at 0x0a5e0000
Using static partition definition
Creating 3 MTD partitions on "nand_mtd":
0x00000000-0x00400000 : "uImage"
0x00400000-0x04400000 : "rootfs"
0x04400000-0x10000000 : "extra"
usbmon: debugs is not available
ehci_platform ehci_platform.4523: EHCI Host Controller
ehci_platform ehci_platform.4523: new USB bus registered, assigned bus number 1
ehci_platform ehci_platform.4523: irq 17, io mem 0x00000000
ehci_platform ehci_platform.4523: park 0
ehci_platform ehci_platform.4523: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ehci_platform ehci_platform.16781: EHCI Host Controller
ehci_platform ehci_platform.16781: new USB bus registered, assigned bus number 2
ehci_platform ehci_platform.16781: irq 12, io mem 0x00000000
ehci_platform ehci_platform.16781: park 0
ehci_platform ehci_platform.16781: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
USB Universal Host Controller Interface driver v2.2
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
mice: PS/2 mouse device common for all mice
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
   arm4regs  :   288.800 MB/sec
   8regs     :   210.000 MB/sec
   32regs    :   238.800 MB/sec
raid5: using function: arm4regs (288.800 MB/sec)
md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
Buffalo Platform Linux Driver(Light) 0.01 installed.
MICON ctrl (C) BUFFALO INC. V.1.00 installed.
Kernel event proc (C) BUFFALO INC. V.1.00 installed.
MICON V2 (C) BUFFALO INC. V.1.00 installed.
NET: Registered protocol family 2
IP: routing cache hash table of 1024 buckets, 8Kbytes
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)
NET: Registered protocol family 1
NET: Registered protocol family 17
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
RAMDISK: Compressed image found at block 0
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
---- in Modified linuxrc ---
Sat Jul  5 14:32:12 JST 2008
mkdir: Cannot create directory `/boot': File exists
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
++ WOL=7
++ OTHER_DISTRIBUTION=YES
++ ROOTPATH=/boot
++ SYSTEM_FORMAT=mkfs.xfs -d agcount=4 -l size=32m
++ SDA2=909MB
++ MENU_TIMEOUT=4
++ REMOVE_HDDROOTFS=NO
++ micro_evtd -q -s 013501,013300
++ grep SYSTEM_FORMAT /boot/boot_options
+ EXPORT=SYSTEM_FORMAT="mkfs.xfs -d agcount=4 -l size=32m"
+ '[' '!' S = '#' ']'
+ echo 'SYSTEM_FORMAT="mkfs.xfs -d agcount=4 -l size=32m"'
+ chmod +x /boot/system_format
+ '[' -f /boot/standby ']'
+ ROOTFS_OK=/boot/rootfs_ok
+ HDDROOTMODE=/boot/hddrootmode
+ ROOTFS_BOOTING=/boot/rootfs_booting
+ '[' -z 4 ']'
+ '[' '!' 4 = OFF ']'
+ '[' 4 = EM ']'
+ '[' 4 -gt 0 ']'
+ echo 'linuxrc:choose operation (timeout 4[s])'
linuxrc:choose operation (timeout 4[s])
+ echo -n ' 1:RamRoot other:HddRoot  ? '
 1:RamRoot other:HddRoot  ? ++ /usr/local/bin/keyinput -t 4
+ ANSWER=
+ HddRoot
+ echo -HddRoot-
-HddRoot-
+ HasUpdatedFile
+ '[' -f /boot/uImage.buffalo.updated ']'
+ '[' -f /boot/u-boot.buffalo.updated ']'
+ '[' -f /boot/initrd.buffalo.updated ']'
+ '[' -f /boot/hddrootfs.buffalo.updated ']'
+ '[' NO = YES ']'
+ rm -f /boot/system_format
+ return 0
+ '[' 0 '!=' 0 ']'
+ TestRootfs
+ STATUS=0
+ '[' YES = YES ']'
+ touch /boot/boot_options
+ '[' 0 -eq 0 ']'
++ grep PRODUCTID /proc/buffalo/firmware
+ PRDI1=PRODUCTID=0x00001003
++ grep PRODUCTID /boot/linkstation_release
grep: /boot/linkstation_release: No such file or directory
+ PRDI2=
+ '[' '!' -f /boot/hddrootmode ']'
+ '[' '!' -f /boot/rootfs_ok ']'
+ echo '*** not found /boot/rootfs_ok file in rootfs. ***'
*** not found /boot/rootfs_ok file in rootfs. ***
+ echo -n '*'
++ cat /boot/rootfs_booting
++ wc -c
+ chars=      8
+ echo 'chars=      8'
chars=      8
+ '[' '      8' = 0 ']'
+ '[' '      8' -ge 3 ']'
+ echo '** over max retry. use initrd mode. **'
+ return 1
+ '[' 1 '!=' 0 ']'
+ echo 0x100
+ umount /boot
+ fsck_disks
+ fsck_localdisks
+ echo 'checking local disk....'
checking local disk....
+ fsck -py /dev/ls_disk1_1
fsck 1.27 (8-Mar-2002)
e2fsck 1.27 (8-Mar-2002)
fsck.ext2: Filesystem has unsupported feature(s) (/dev/ls_disk1_1)
e2fsck: Get a newer version of e2fsck!
+ echo done
done
+ umount /proc
+ umount -a
+ exit 0
Freeing init memory: 112K
init started:  BusyBox v1.1.1 (2006.06.11-04:13+0000) multi-call binary
Starting pid 247, console /dev/ttyS0: '/etc/init.d/rcS'
--- rcStart (initrd) ---
=====  exec:checkroot.sh  =====
chmod: /home: No such file or directory
mkdir: Cannot create directory `/var/lock': File exists
rm: /var/lock/perfmon: is a directory
rm: /var/lock/printing: is a directory
rm: /var/lock/subsys: is a directory
swapon: /dev/ls_disk1_5: No such device or address
create dir : /home
create dir : /var/www
=====  exec:create_devlink.sh  =====
=====  exec:fwupdate.sh  =====
umount: /boot: not mounted
mkdir: Cannot create directory `/boot': File exists
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
fwupdate.sh:FW not updated
=====  exec:sethostname.sh  =====
configure files from Buffalo parameters.
=====  exec:restore_config.sh  =====
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Restore previous configuration files
tar: /boot/conf_save.tgz: No such file or directory
unzip  fail.
=====  exec:networking.sh  =====
create network files..
IP=[dhcp], netmask=[], dgw=[], dns1=[], dns2=[]
killall: dhcpcd: no process killed
route: SIOC[ADD|DEL]RT: No such process
Configuration network interface: lo eth0
requesting DHCP  tout=30[s]
/etc/dhcpc/dhcpcd.exe :::  down
/etc/dhcpc/dhcpcd.exe: line 28: .: filename argument required
.: usage: . filename
** dhcp fail
** setting default ip
route: SIOC[ADD|DEL]RT: No such process
add default if
configure files from Buffalo parameters.
=====  exec:create_usblink.sh  =====
=====  exec:kernelmon.sh  =====
Starting kernelmon:cat: /proc/driver/kernevnt: No such file or directory
=====  exec:miconmon.sh  =====
cat: /proc/driver/kernevnt: No such file or directory
miconmon 1.00b3 started (Builddate Jun 11 2006 13:14:48)
=====  exec:diskmon.sh  =====
=====  exec:micon_setup.sh  =====
cat: /proc/driver/kernevnt: No such file or directory
cat: /proc/driver/kernevnt: No such file or directory
cat: /proc/driver/kernevnt: No such file or directory
cat: /proc/driver/kernevnt: No such file or directory
cat: /proc/driver/kernevnt: No such file or directory
cat: /proc/driver/kernevnt: No such file or directory
cat: /proc/driver/kernevnt: No such file or directory
=====  exec:clientUtil_servd.sh  =====
Starting clientUtil_server:starting on eth0
=====  exec:daemonwatch.sh  =====
Starting daemonwatch:cat: /proc/driver/kernevnt: No such file or directory
watch list file : /etc/daemonwatch.list
=====  exec:bootcomplete.sh  =====
/etc/init.d/bootcomplete.sh: line 9: /etc/init.d/drivecheck.sh: No such file or directory
grep: /etc/linkstation_release: No such file or directory
Starting pid 559, console /dev/ttyS0: '/sbin/getty'

BUFFALO INC. LinkStation series KUROBOX/PRO(KOSHO)
LS-GL-EM481 login:


When I try to boot the kuro by setting the original boot command in the bootloader
Code:
set bootcmd 'ide reset; ext2load ide 0:1 $(default_kernel_addr) /$(kernel); bootm $(default_kernel_addr)'
boot


I get a kernel panic :
Code:
Orion1   CPU =  Low

=== KURO U-Boot. ===
 ** LOADER **
 ** KUROBOX BOARD: KURO_BOX  LE (CFG_ENV_ADDR=fffff000)


U-Boot 1.1.1 (Apr 10 2007 - 18:10:08) Marvell version: 1.12.1 - TINY

DRAM CS[0] base 0x00000000   size 128MB
DRAM Total size 128MB
[256kB@fffc0000] Flash: 256 kB
Addresses 20M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (20M - 16M): Done
NAND: 256 MB

Soc: 88F5182 A2
CPU: ARM926 (Rev 0) running @ 500Mhz
Orion 1 streaming disabled
SysClock = 250Mhz , TClock = 166Mhz


USB 0: host mode
USB 1: host mode
PCI 0: PCI Express Root Complex Interface
PCI 1: Conventional PCI, speed = 33000000
Net:   egiga0 [PRIME]
Using 88E1118 phy
hit any key to switch tftp boot.
Hit any key to stop autoboot:  0
<<system_bootend>>
Hit any key to stop autoboot:  0
Marvell>> set bootcmd 'ide reset; ext2load ide 0:1 $(default_kernel_addr) /$(kernel); bootm $(default_kernel_addr)'
Marvell>> boot

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
  Device 0: OK
Model: SAMSUNG HD753LJ                          Firm: 1AA01104 Ser#: S13UJ1KPB02567
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 715404.8 MB = 698.6 GB (1465149168 x 512)

Using device ide0, partition 1

Loading from block device ide device 0, partition 1: Name: hda1
  Type: U-Boot  File:/uImage.buffalo

1736436 bytes read
<<stop_sound>>
## Booting image at 00100000 ...
   Image Name:   Linux-2.6.12.6-arm1
   Created:      2007-02-08   6:00:09 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1736372 Bytes =  1.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

arg:console=ttyS0,115200 root=/dev/sda2 rw panic=5 BOOTVER=1.09
CONFIG_BUFFALO_PLATFORM CONFIG_BUFFALO_KUROBOX ---
Uncompressing Linux................................................................................................................. done, booting the kernel.
Linux version 2.6.12.6-arm1 (root@dev-hara) (gcc version 3.4.4 (release) (CodeSourcery ARM 2005q3-2)) #2 Thu Feb 8 15:00:20 JST 2007
CPU: ARM926EJ-Sid(wb) [41069260] revision 0 (ARMv5TEJ)
CPU0: D VIVT write-back cache
CPU0: I cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
CPU0: D cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
Machine: MV-88fxx81
Using UBoot passing parameters structure
Sys Clk = 250000000, Tclk = 166664740
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists
Kernel command line: console=ttyS0,115200 root=/dev/sda2 rw panic=5 BOOTVER=1.09
PID hash table entries: 1024 (order: 10, 16384 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: 128MB 0MB 0MB 0MB = 128MB total
Memory: 126208KB available (3037K code, 425K data, 112K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
serial_initialize_ttyS1 (Debug): ttyS1 is initialized.
 config_device_cs Error : Unknown board

CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size 128MB
SDRAM_CS1 ....disable
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
PEX0_MEM ....base e0000000, size 128MB
PEX0_IO ....base f2000000, size   1MB
PCI0_MEM ....base e8000000, size 128MB
PCI0_IO ....base f2100000, size   1MB
INTER_REGS ....base f1000000, size   1MB
DEVICE_CS0 ....base fa000000, size   2MB
DEVICE_CS1 ....base f4000000, size  32MB
DEVICE_CS2 ....base fa800000, size   1MB
DEV_BOOCS ....base ff800000, size   8MB
CRYPTO ENG ....no such
Flash bankwidth 1, base ff800000, size 400000
BUFFALO KUROBOX FLASH size 4096[KB]

  Marvell Development Board (LSP Version 1.10.3.patch5_DB_NAS)-- BUFFALO_BOARD_KUROBOX  Soc: 88F5182 A2

 Detected Tclk 166664740 and SysClk 250000000
Marvell USB EHCI Host controller #0: c04e4b00
Marvell USB EHCI Host controller #1: c04e4a40
pexBarOverlapDetect: winNum 2 overlap current 0
mvPexInit:Warning :Bar 2 size is illigal
it will be disabled
please check Pex and CPU windows configuration
PCI: bus0: Fast back to back transfers enabled
PCI: bus1: Fast back to back transfers enabled
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
Use the XOR engines (offloading) for enhancing the following functions:
  o RAID 5 Xor calculation
  o kernel memcpy
  o kenrel memzero
  o copy user to/from kernel buffers
Number of XOR engines to use: 2
cesadev_init(c00122e0)
Fast Floating Point Emulator V0.9 (c) Peter Teichmann.
inotify device minor=63
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
SGI XFS with no debug enabled
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
ttyS0 at MMIO 0x0 (irq = 3) is a 16550A
ttyS1 at MMIO 0x0 (irq = 4) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 3 RAM disks of 32768K size 1024 blocksize
loop: loaded (max 8 devices)
Marvell Gigabit Ethernet Driver 'egiga':
  o Ethernet descriptors in DRAM
  o DRAM SW cache-coherency
  o Checksum offload enabled
  o Loading network interface ** egiga_init_module (10)
'eth0'
Intergrated Sata device found
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
  Vendor: SAMSUNG   Model: HD753LJ           Rev: 1AA0
  Type:   Direct-Access                      ANSI SCSI revision: 03
SCSI device sda: 1465149168 512-byte hdwr sectors (750156 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 1465149168 512-byte hdwr sectors (750156 MB)
SCSI device sda: drive cache: write back
 sda: sda1 sda2 sda3 sda4
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
physmap flash device: 400000 at ff800000
Found: SST 39LF020
phys_mapped_flash: Found 1 x8 devices at 0x0 in 8-bit bank
number of JEDEC chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
RedBoot partition parsing not available
NAND device: Manufacturer ID: 0x20, Chip ID: 0xda (ST Micro NAND 256MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 1327 at 0x0a5e0000
Using static partition definition
Creating 3 MTD partitions on "nand_mtd":
0x00000000-0x00400000 : "uImage"
0x00400000-0x04400000 : "rootfs"
0x04400000-0x10000000 : "extra"
usbmon: debugs is not available
ehci_platform ehci_platform.4523: EHCI Host Controller
ehci_platform ehci_platform.4523: new USB bus registered, assigned bus number 1
ehci_platform ehci_platform.4523: irq 17, io mem 0x00000000
ehci_platform ehci_platform.4523: park 0
ehci_platform ehci_platform.4523: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ehci_platform ehci_platform.16781: EHCI Host Controller
ehci_platform ehci_platform.16781: new USB bus registered, assigned bus number 2
ehci_platform ehci_platform.16781: irq 12, io mem 0x00000000
ehci_platform ehci_platform.16781: park 0
ehci_platform ehci_platform.16781: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
USB Universal Host Controller Interface driver v2.2
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
mice: PS/2 mouse device common for all mice
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
   arm4regs  :   304.000 MB/sec
   8regs     :   215.200 MB/sec
   32regs    :   249.200 MB/sec
raid5: using function: arm4regs (304.000 MB/sec)
md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
Buffalo Platform Linux Driver(Light) 0.01 installed.
MICON ctrl (C) BUFFALO INC. V.1.00 installed.
Kernel event proc (C) BUFFALO INC. V.1.00 installed.
MICON V2 (C) BUFFALO INC. V.1.00 installed.
NET: Registered protocol family 2
IP: routing cache hash table of 1024 buckets, 8Kbytes
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)
NET: Registered protocol family 1
NET: Registered protocol family 17
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda2, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem).
Freeing init memory: 112K
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
 <0>Rebooting in 5 seconds..


Has anyone any Idea why it don't wanna boot ?

_________________
Tsu
Kurobox-Pro / Debian Squeeze / Kernel 2.6.32-trunk-orion5x


Last edited by Tsunulukai on Sun Jul 13, 2008 12:06 pm, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Sun Jul 13, 2008 12:05 pm 
Offline
Newbie
User avatar

Joined: Fri Nov 30, 2007 5:07 pm
Posts: 58
Location: BE
I finally succeeded to revive the box by reseting the original boot command in the bootloader,
and rebuilding the sda1 & sda2 partition following the howto provided to modify the partition scheme.

_________________
Tsu
Kurobox-Pro / Debian Squeeze / Kernel 2.6.32-trunk-orion5x


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited