Namazu for hns による簡易全文検索
2009年05月20日(水) 旧暦 [n年日記] [更新:"2009/05/22 11:39:53"]
I have some problem setting up NetBSD/evbarm on TeraStation Pro (Rack mount).
I will explain some story I've got so far.
First of all, the model I am struggling with, is TS-RH2.0TGL/R5
The one important thing is the serial console is enabled by pushing special red button at the same time you push the power button (The red button is sitting in the panel, you will find it by opening front cover, hidden below LCD display).
I have the
I have setup BOOTP and TFTP server to support this.
After getting U-boot prompt with typing any key at certain timing:
Booting from Device 1 hit any key to switch tftp boot. Hit any key to stop autoboot: 0 switched to TFTP boot. <<system_bootend>> Hit any key to stop autoboot: 0 Marvell>>I have typed 'bootp 8000; g 8000'.
The machine is netbooted by reading gunzipped
and sysinst starts as the right photo.
But before starting sysinst, I had to try RAID5 setup.
The first problem was that (1) raidctl -iv hang. It is Ram-disk environment. Control-T doesn't work. And there is no way to know what is happening, the only way to stop is 'Power On Reset'.
So I decided to install everything / on wd0a without RAID setup.
Everything goes smoothly. I needed to swap kernel from ram-disk version to normal kernel to boot. While booting with normal kernel, it detects the trace of RAID5 setup. and it claims problem reading RAID5.
So I have booted ram-disk version again and trying to un-configure by 'raidctl -u raid0'. But it again freezes.
One thing I have to try wipe out the trace of RAID,
dd if=/dev/zero of=/dev/rwd0a count=63But I think it still there.
I remember I have typed /dev/null instead of /dev/zero ... BAD .. I have typed following for this time.
# dd if=/dev/zero of=/dev/rwd0c count=63and then restor the label by using stored old label: (/tmp/ss)
# disklabel -R wd0 /tmp/ss disklabel: ioctl DIOCWDINFO: No disk label on disk; use "disklabel -I" to install initial labelThen I did:
# disklabel -iI /dev/rwd0c partition> W Label disk [n]? y Label written partition> Q # disklabel -R wd0 /tmp/ss(Also, I have to erase disklabel at least two. One is not enough).
・sudo pkgin install mysql-server