Oh!Super164 取り留めのない日記のような

2007/8/28 火曜日

LS-GLファームアップグレード1.11

Filed under: LS-GL,備忘録 — pecos @ 11:16:49

上がっていたのでアップグレードしてみる
1.02以来、1.10というのがあったらしいが気付かなかったのでいきなり1.11へ。いきなり管理者用パスワードの入力を求められるが忘却の彼方に・・・、でも、そんなの関係ねぇ!ということでsshでログインしrootからユーザ”admin”のパスワードを変更して強引に切り抜ける。しばらくLEDが点滅しBEEPが鳴りながらアップグレード作業が進み無事完了。そして案の定、それまでの設定は消されsshでもログイン出来ない状態に・・・orz
まずはシリアルコンソールにrootでログイン、以前作成したsuコマンドを/usr/binへコピー、homeディレクトリも何故かroot権限になってしまっているので変更、sshのキーもコピーしsshdデーモン開始。Windowsマシンからssh接続出来るのを確認。次にsshd_configをいじってrootでのログイン不可、パスワードによるログイン不可に設定し、sshdがboot時に起動するように/etc/init.d/rcSを編集:

#cd /usr/bin
#tar xvzf /mnt/disk1/share/su.tar.gz
#cd /home/userhome
#cp -r /mnt/disk1/share/.ssh .
#chmod 700 .ssh
#cd .ssh
#chmod 600 authorized_keys
#cd ../..
#chown -R username:hdusers userhome
#sshd &
#cd /etc
#vi sshd_config
#cd init.d
#vi rcS ←sshd &を追加しておく

一応、開発セットも復活させておく。シンボリックリンクを張り、/usr/local/develop/libも読み込まれるようにldconfigを設定

#cd /usr/local
#ln -s /mnt/disk1/share/usr/local/develop develop
#ln -s /mnt/disk1/share/usr/local/src src
#ln -s /mnt/disk1/share/usr/local/develop/include include
#cd /etc
#vi ld.so.conf ←/usr/local/develop/libを追加
#ldconfig

取り合えず、こんだけ。

おまけとしてアップグレード後のシリアルコンソールからの起動ログを掲載↓

Orion1 CPU = Low

=== BUFFALO LS-GL U-Boot. ===
** LOADER **
** BUFFALO BOARD: BUFFALO_BOARD_LS_GL LE (CFG_ENV_ADDR=fffff000)

U-Boot 1.1.1 (Apr 18 2007 – 18:35:44) Marvell version: 1.12.1 – TINY

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

Soc: 88F5182 A2
CPU: ARM926 (Rev 0) running @ 400Mhz
Orion 1 streaming disabled
SysClock = 200Mhz , 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 88E1111 phy

Marvell Serial ATA Adapter
Integrated Sata device found
Device 1: OK
Model: SAMSUNG HD160JJ Firm: ZM100-41 Ser#: S08HJ1LL510078
Type: Hard Disk
Supports 48-bit addressing
Capacity: 152627.8 MB = 149.0 GB (312581808 x 512)

Using device ide0, partition 1
** Bad partition 1 **
Using device ide1, partition 1

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

4513613 bytes read
Booting from Device 1
hit any key to switch tftp boot.
Hit any key to stop autoboot: 0
Hit any key to stop autoboot: 0

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
Device 1: OK
Model: SAMSUNG HD160JJ Firm: ZM100-41 Ser#: S08HJ1LL510078
Type: Hard Disk
Supports 48-bit addressing
Capacity: 152627.8 MB = 149.0 GB (312581808 x 512)

Using device ide1, partition 1

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

1809464 bytes read
Using device ide1, partition 1

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

4513613 bytes read
< >
## Booting image at 00100000 …
Image Name: Linux-2.6.16.16-arm1
Created: 2007-06-29 2:14:44 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1809400 Bytes = 1.7 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum … OK
OK
## Loading Ramdisk Image at 00800000 …
Image Name: initrd
Created: 2007-07-09 0:06:04 UTC
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 4513549 Bytes = 4.3 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum … OK

Starting kernel …

arg:console=ttyS0,115200 root=/dev/sda2 rw initrd=0x00800040,15M panic=5 BOOTVER=1.10
CONFIG_BUFFALO_PLATFORM CONFIG_BUFFALO_LINKSTATION_LSGL —
Uncompressing Linux……………………………………………………………………………………………………… done, booting the kernel.
Linux version 2.6.16.16-arm1 (root@develop) (gcc version 3.4.4 (release) (CodeSourcery ARM 2005q3-2)) #3 Fri Jun 29 11:14:38 JST 2007
CPU: ARM926EJ-Sid(wb) [41069260] revision 0 (ARMv5TEJ)
Machine: MV-88fxx81
Using UBoot passing parameters structure
Sys Clk = 200000000, Tclk = 166664740

– Warning – This LSP release was tested only with U-Boot release 1.7.3

Memory policy: ECC disabled, Data cache writeback
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
Built 1 zonelists
Kernel command line: console=ttyS0,115200 root=/dev/sda2 rw initrd=0x00800040,15M panic=5 BOOTVER=1.10
PID hash table entries: 1024 (order: 10, 16384 bytes)
Console: colour dummy device 80×30
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: 110548KB available (3169K code, 460K data, 108K 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: 15360K
NET: Registered protocol family 16
FLASH boardId = 12
Flash bankwidth 1, base ff800000, size 400000
BUFFALO LS_GL FLASH size 4096[KB]

Marvell Development Board (LSP Version 1.7.8_NAS)– BUFFALO_BOARD_LS_GL

Detected Tclk 166664740 and SysClk 200000000
Marvell USB EHCI Host controller #0: c16f5e00
Marvell USB EHCI Host controller #1: c16f5c00
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 IDMA acceleration in copy to/from user buffers. used channels 2 and 3
Done.
cesadev_init(c0011314)
mvCesaInit: sessions=640, queue=32, pSram=f0000000
Fast Floating Point Emulator V0.9 (c) Peter Teichmann.
SGI XFS with large block numbers, no debug enabled
Initializing Cryptographic API
io scheduler noop registered (default)
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x0 (irq = 3) is a 16550A
serial8250: ttyS1 at MMIO 0x0 (irq = 4) is a 16550A
RAMDISK driver initialized: 3 RAM disks of 16384K 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 (0)
‘eth0’
Intergrated Sata device found
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
** BUFFALO Disable Command Queuing Function [0 1] **
Vendor: SAMSUNG Model: HD160JJ Rev: ZM10
Type: Direct-Access ANSI SCSI revision: 03
Linux IAL (ERROR) : retry command host=1, bus=1 SCpnt = c1480ba0
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write back
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write back
sda: sda1 sda2 sda4 < sda5 sda6 >
sd 1:0:0:0: Attached scsi disk sda
sd 1:0:0:0: Attached scsi generic sg0 type 0
physmap flash device: 400000 at ff800000
>jedec_probe
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.
cmdlinepart partition parsing not available
RedBoot partition parsing not available
ehci_platform ehci_platform.4523: EHCI Platform 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: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ehci_platform ehci_platform.16781: EHCI Platform 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: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
USB Universal Host Controller Interface driver v2.3
Initializing USB Mass Storage driver…
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
Kernel event proc (C) BUFFALO INC. V.1.00 installed.
MICON ctrl (C) BUFFALO INC. V.1.00 installed.
MICON V2 (C) BUFFALO INC. V.1.00 installed.
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
—- in linuxrc —
Tue Aug 28 11:09:13 JST 2007
err: >AnalyzeRecvPacket:This is invalid RespCode.(code=244)
CheckDevices
linuxrc:choose operation (timeout 4[s])
1:RamRoot other:HddRoot ? -HddRoot-
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
XFS mounting filesystem sda2
PRODUCTID=0x00000009 PRODUCTID=0x00000009
KERNEL:2007/6/29 11:13:34
HDD:2007/7/12 9:17:25
KERNEL:2007/7/9 9:5:54
HDD:2007/7/12 9:17:25
— CopyFromInitrdToHdd —
== fsck_disks ==
e2fsck 1.27 (8-Mar-2002)
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/ls_disk1_1: 16/50200 files (18.8% non-contiguous), 17007/200781 blocks
4+0 records in
4+0 records out
XFS mounting filesystem sda2
Phase 1 – find and verify superblock…
Phase 2 – using internal log
– zero log…
– scan filesystem freespace and inode maps…
– found root inode chunk
Phase 3 – for each AG…
– scan and clear agi unlinked lists…
– process known inodes and perform inode discovery…
– agno = 0
– agno = 1
– agno = 2
– agno = 3
– agno = 4
– agno = 5
– agno = 6
– agno = 7
– process newly discovered inodes…
Phase 4 – check for duplicate blocks…
– setting up duplicate extent list…
– clear lost+found (if it exists) …
– clearing existing “lost+found” inode
– marking entry “lost+found” to be deleted
– check for inodes claiming duplicate blocks…
– agno = 0
– agno = 1
– agno = 2
– agno = 3
– agno = 4
– agno = 5
– agno = 6
– agno = 7
Phase 5 – rebuild AG headers and trees…
– reset superblock…
Phase 6 – check inode connectivity…
– resetting contents of realtime bitmap and summary inodes
– ensuring existence of lost+found directory
– traversing filesystem starting at / …
rebuilding directory inode 128
– traversal finished …
– traversing all unattached subtrees …
– traversals finished …
– moving disconnected inodes to lost+found …
Phase 7 – verify and correct link counts…
done
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
XFS mounting filesystem sda2
VFS: Mounted root (xfs filesystem).
Trying to move old root to /initrd … /initrd does not exist. Ignored.
Unmounting old root
Trying to free ramdisk memory … okay
Freeing init memory: 108K
init started: BusyBox v1.1.1 (2007.05.10-05:06+0000) multi-call binary
Starting pid 316, console /dev/ttyS0: ‘/etc/init.d/rcS’
— rcStart (hddroot) —
mkdir: Cannot create directory `/sys’: File exists
Tue Aug 28 11:09:24 JST 2007
** step1 **
===== exec:checkroot.sh =====
mount: /dev/pts already mounted or /dev/pts busy
mount: according to mtab, devpts is already mounted on /dev/pts
mkdir: Cannot create directory `/var/lock’: File exists
ln: /var/spool/cron/cron: File exists
rm: /var/lock/perfmon: is a directory
rm: /var/lock/printing: is a directory
rm: /var/lock/subsys: is a directory
Adding 136512k swap on /dev/ls_disk1_5. Priority:-1 extents:1 across:136512k
===== exec:create_devlink.sh =====
===== exec:procps.sh =====
===== exec:devpts.sh =====
===== 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.
/sbin/hotplug [block]
Update configuration files
Restore previous configuration files
/etc/init.d/restore_config.sh: line 394: [: missing `]’
** step2 **
===== 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]
networking.sh: dhcp requesting…
DontDownIfaceeth0: link down

alwaysFork
eth0: link up<5>, full duplex<5>, speed 1 Gbps<5>
sendto: count 6 sync 1
sendto: count 5 sync 0
dhcpcd.exe: interface eth0 has been configured with old IP=192.168.0.56 GATEWAY=192.168.0.1
** networking.sh dhcp fin.
configure files from Buffalo parameters.
===== exec:syslog.sh =====
Starting system logger: optarg:syslog
load_info ItemValue = off
LoadConfFileString:key=[ad_dns] not found in /etc/melco/info.
LoadConfFileOnOff:key=[info_visible] not found in /etc/melco/info.

Starting kernel logger:
===== exec:inetd.sh =====
Starting inetd:===== exec:kernelmon.sh =====
Starting kernelmon:===== exec:miconmon.sh =====
miconmon 1.00b3 started (Builddate Feb 13 2007 19:24:56)
===== exec:mount_share.sh =====
XFS mounting filesystem sda6
/sbin/hotplug [block]
share
===== exec:diskmon.sh =====
diskmon ver.1.01
f_type=0x58465342
total_size=159106084864 free_byes=83236134912
===== exec:errormon.sh =====
Starting errormon:errormon ver.1.00b5(BuildDate Jul 5 2007 21:47:04) Started
===== exec:hotplug.sh =====
ls: /proc/scsi/usb-storage/: No such file or directory
===== exec:ups =====
** step3 **
===== exec:micon_setup.sh =====
updating DHCP lease info: eth0
DHCPCSTATE=up
===== exec:atalk.sh =====
Starting AppleTalk services: configure atalkd atalk_name=LS-GL24A
optarg:atalk
load_info ItemValue = off
LoadConfFileString:key=[ad_dns] not found in /etc/melco/info.
LoadConfFileOnOff:key=[info_visible] not found in /etc/melco/info.
file:/etc/atalk/AppleVolumes.default
file:/etc/pam.d/netatalk
file:/etc/atalk/afpd.conf
(backgrounded)
===== exec:ftpd.sh =====
ftp is OFF
===== exec:httpd.sh =====
start
Starting HTTPD services: /sbin/hotplug [module]
/sbin/hotplug [module]
/sbin/hotplug [module]
/usr/local/apache/bin/apachectl start: httpd started

===== exec:smb.sh =====
Starting SMB services: configure samba
optarg:samba
load_info ItemValue = off
LoadConfFileString:key=[ad_dns] not found in /etc/melco/info.
LoadConfFileOnOff:key=[info_visible] not found in /etc/melco/info.
LoadConfFileString:key=[msdfs_function] not found in /etc/melco/msdfs.
LoadConfFileString:key=[msdfs_root_as_link] not found in /etc/melco/msdfs.
LoadConfFileString:key=[msdfs_root_name] not found in /etc/melco/msdfs.
LoadConfFileString:key=[msdfs_root_path] not found in /etc/melco/msdfs.
LoadConfFileString:key=[msdfs_link1_name] not found in /etc/melco/msdfs.
Can’t Open : /etc/melco/offlinefile
Can’t Open : /etc/melco/shareinfo.hidden
Can’t Open : /etc/melco/shareinfo.vfs
file:/etc/samba/smb.conf
>IconvCodeCharset CodePage=0,charset=CP932
file:/etc/pam_smb.conf

Starting NMB services:
===== exec:clientUtil_servd.sh =====
Starting clientUtil_server:starting on eth0
===== exec:lsprcvd.sh =====
Starting lsprcvd:===== exec:daemonwatch.sh =====
Starting daemonwatch:daemonwatch Ver.1.01
watch list file : /etc/daemonwatch.list
===== exec:cron.sh =====
Start services: crond===== exec:logchkd.sh =====
Starting logchkd:logchkd ver.1.12(May 8 2007) started
===== exec:checkconfig.sh =====
===== exec:bootcomplete.sh =====
/etc/init.d/bootcomplete.sh: line 44: flushqueue: command not found
Starting pid 924, console /dev/ttyS0: ‘/sbin/getty’

BUFFALO INC. LinkStation series LS-GL(IESADA)
LS-GL24A login: root
Password:
root@LS-GL24A:~#

コメントはまだありません »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress