espyの日記: obs266向け NetBSD (7)
HDDのunusedな残り空間にパーティション追加したら、/dev/wd0a までこわれちゃった。
アホかオレ。
今夜やりなおす。
# disklabel wd0
# /dev/rwd0c:
type: ESDI
disk: FUJITSU MHV2080A
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 155061
total sectors: 156301488
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
3 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 78017184 0 4.2BSD 2048 16384 28688 # (Cyl. 0 - 77397)
b: 263088 78017184 swap # (Cyl. 77398 - 77658)
c: 78021216 78280272 4.2BSD 0 0 0 # (Cyl. 77659 - 155060)
espilab-sv6# newfs /dev/rwd0c
/dev/rwd0c: 6193432.0MB (78021216 sectors) block size 16384, fragment size 2048
using 207 cylinder groups of 27011.75MB, 11779 blks, 23168 inodes.
super-block backups (for fsck_ffs -b #) at:
32, 376960, 753888, 1130816, 1507744, 1884672, 2261600, 2638528,
3015456, 3392384, 3769312, 4146240, 4523168, 4900096, 5277024, 5653952,
6030880, 6407808, 6784736, 7161664, 7538592, 7915520, 8292448, 8669376,
9046304, 9423232, 9800160, 10177088, 10554016, 10930944, 11307872, 11684800,
12061728, 12438656, 12815584, 13192512, 13569440, 13946368, 14323296, 14700224,
15077152, 15454080, 15831008, 16207936, 16584864, 16961792, 17338720, 17715648,
18092576, 18469504, 18846432, 19223360, 19600288, 19977216, 20354144, 20731072,
21108000, 21484928, 21861856, 22238784, 22615712, 22992640, 23369568, 23746496,
24123424, 24500352, 24877280, 25254208, 25631136, 26008064, 26384992, 26761920,
27138848, 27515776, 27892704, 28269632, 28646560, 29023488, 29400416, 29777344,
30154272, 30531200, 30908128, 31285056, 31661984, 32038912, 32415840, 32792768,
33169696, 33546624, 33923552, 34300480, 34677408, 35054336, 35431264, 35808192,
36185120, 36562048, 36938976, 37315904, 37692832, 38069760, 38446688, 38823616,
39200544, 39577472, 39954400, 40331328, 40708256, 41085184, 41462112, 41839040,
42215968, 42592896, 42969824, 43346752, 43723680, 44100608, 44477536, 44854464,
45231392, 45608320, 45985248, 46362176, 46739104, 47116032, 47492960, 47869888,
48246816, 48623744, 49000672, 49377600, 49754528, 50131456, 50508384, 50885312,
51262240, 51639168, 52016096, 52393024, 52769952, 53146880, 53523808, 53900736,
54277664, 54654592, 55031520, 55408448, 55785376, 56162304, 56539232, 56916160,
57293088, 57670016, 58046944, 58423872, 58800800, 59177728, 59554656, 59931584,
60308512, 60685440, 61062368, 61439296, 61816224, 62193152, 62570080, 62947008,
63323936, 63700864, 64077792, 64454720, 64831648, 65208576, 65585504, 65962432,
66339360, 66716288, 67093216, 67470144, 67847072, 68224000, 68600928, 68977856,
69354784, 69731712, 70108640, 70485568, 70862496, 71239424, 71616352, 71993280,
72370208, 72747136, 73124064, 73500992, 73877920, 74254848, 74631776, 75008704,
75385632, 75762560, 76139488, 76516416, 76893344, 77270272, 77647200,
espilab-sv6# df
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/wd0a 38402476 364632 36117722 0% /
espilab-sv6#
espilab-sv6#
espilab-sv6# disklabel wd0
# /dev/rwd0c:
type: ESDI
disk: FUJITSU MHV2080A
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 155061
total sectors: 156301488
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
3 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 78017184 0 4.2BSD 2048 16384 28688 # (Cyl. 0 - 77397)
b: 263088 78017184 swap # (Cyl. 77398 - 77658)
c: 78021216 78280272 4.2BSD 2048 16384 28696 # (Cyl. 77659 - 155060)
espilab-sv6# poweroff
/sbin/poweroff: Exec format error. Wrong Architecture.
espilab-sv6#
espilab-sv6# shoutdown -h now
shoutdown: Command not found.
espilab-sv6# shutdown -h now
/sbin/shutdown: Exec format error. Wrong Architecture.
espilab-sv6# reboot
/sbin/reboot: Exec format error. Wrong Architecture.
espilab-sv6# sync
/bin/sync: Exec format error. Wrong Architecture.
espilab-sv6# ^C
espilab-sv6# ^C
espilab-sv6# ^C
espilab-sv6# ^C
espilab-sv6# ^C
espilab-sv6# reboot
/sbin/reboot: Exec format error. Wrong Architecture.
espilab-sv6#
405GPr 1.2 ROM Monitor (5/25/02) OBS266 1.4
--------------------- System Info ----------------------
Processor = 405GPr (New mode), PVR: 50910951
CPU speed = 266 MHz
PLB speed = 133 MHz
OPB speed = 66 MHz
EBC speed = 66 MHz
PCI Bus speed = 33 MHz (Async)
VCO speed = 800 MHz
Feedback Clock = CPU
Amount of SDRAM = 128 MBytes
Internal PCI arbiter enabled
--------------------------------------------------------
--- Device Configuration ---
Power-On Test Devices:
000 Enabled System Memory [RAM]
002 Enabled Ethernet [ENET]
003 Enabled PCI Ethernet [PCIENET]
----------------------------
Boot Sources:
001 Enabled System FLASH [FLASH]
002 Enabled Ethernet [ENET]
LOCAL: 192.168.2.12
REMOTE: 192.168.2.32
MAC: 000A8501B910
004 Enabled Serial Port 1 [S1]
----------------------------
Debugger: Disabled
----------------------------
1 - Enable/disable tests
2 - Enable/disable boot devices
3 - Change IP addresses
4 - Ping test
5 - Toggle ROM monitor debugger
6 - Toggle automatic menu
7 - Display configuration
8 - Save changes to configuration
9 - Set baud rate for s1 boot
A - Enable/disable I cache (Enabled )
B - Enable/disable D cache (Enabled )
F - FLASH image update
M - Memory Test
0 - Exit menu and continue
->0
Booting from [FLASH] System FLASH ...
+8000000,
00025000-08000000 -> 00378000-08000000 = 7c88000
Board config data:
usr_config_ver = 1.4
rom_sw_ver = 1.2
mem_size = 134217728
mac_address_local = 00:0a:85:01:b9:10
mac_address_pci = 00:0a:85:01:39:10
processor_speed = 266666666
plb_speed = 133333333
pci_speed = 33333333
Loaded initial symtab at 0x2deeb0, strtab at 0x3021d8, # entries 8927
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 3.1 (OPENBLOCKS266) #0: Wed Aug 29 11:49:02 JST 2007
root@espilab-vmnb3:/usr/src/sys/arch/evbppc/compile/OPENBLOCKS266
Model: OpenBlockS266 IBM PowerPC 405GPr Board
total memory = 128 MB
avail memory = 123 MB
plb0 (root)
cpu0 at plb0: 266MHz 405GPr (Revision 9.81)
Instruction cache size 16384 line size 32
Data cache size 16384 line size 32
PVR: owner 509 core family 1 cache 2 version 5 asic 11
ecc0 at plb0 irq 16: ECC controller
opb0 at plb0
com0 at opb0 addr 0xef600300 irq 0: ns16550a, working fifo
com0: console
com1 at opb0 addr 0xef600400 irq 1: ns16550a, working fifo
emac0 at opb0 addr 0xef600800 irq 9: 405GP EMAC
emac0: interrupting at irqs 9 .. 15
emac0: Ethernet address 00:0a:85:01:b9:10
lxtphy0 at emac0 phy 0: LXT971/2 10/100 media interface, rev. 2
lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
gpio0 at opb0 addr 0xef600700: On-Chip GPIO controller
obsled0 at gpio0 addr GPIO#12: OpenBlockS led1
obsled1 at gpio0 addr GPIO#13: OpenBlockS led2
obsled2 at gpio0 addr GPIO#14: OpenBlockS led4
gpiic0 at opb0 addr 0xef600500 irq 2: On-Chip IIC controller
iic0 at gpiic0: I2C bus
xrtc0 at iic0 addr 0x6f: Xicor X1226 Real-time Clock/NVRAM
wdog0 at opb0: 4 second period
pchb0 at plb0
pchb0: IBM PPC 405GP PCI Bridge (rev. 0x21)
pci0 at pchb0
pci0: i/o space, memory space enabled
IBM PPC 405GP PCI Bridge (host bridge, revision 0x21) at pci0 dev 0 function 0 n
ot configured
hptide0 at pci0 dev 3 function 0
hptide0: Triones/Highpoint HPT371 IDE Controller
hptide0: bus-master DMA support present
hptide0: primary channel wired to native-PCI mode
hptide0: using irq 30 for native-PCI interrupt
atabus0 at hptide0 channel 0
hptide0: secondary channel wired to native-PCI mode
atabus1 at hptide0 channel 1
tlp0 at pci0 dev 4 function 0: Davicom DM9102A Ethernet, pass 4.0
tlp0: broken MicroWire interface detected; setting SROM size to 1Kb
tlp0: interrupting at irq 31
tlp0: Ethernet address 00:0a:85:01:39:10
dmphy0 at tlp0 phy 1: DM9102 10/100 media interface, rev. 1
dmphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pbus at plb0 not configured
biomask 1c02 netmask 1c03 ttymask 1c03
Setting PIT to 266666666/100 = 2666666
wd0 at atabus1 drive 0: <FUJITSU MHV2080AT>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(hptide0:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
root on wd0a dumps on wd0b
warning: no /dev/console
init: copying out path `/sbin/init' 11
exec /sbin/init: error 2
init: copying out path `/sbin/oinit' 12
exec /sbin/oinit: error 2
init: copying out path `/sbin/init.bak' 15
exec /sbin/init.bak: error 2
init: not found
panic: no init
Stopped in pid 1.1 (init) at netbsd:cpu_Debugger+0x10: lwz r0, r1,
0
x14
db>
obs266向け NetBSD (7) More ログイン