contents
- MicroDrive到着
- 古いMicroDrive
MicroDriveにNetBSD/hpcmipsを入れる準備
- 2007年09月05日(水)
MicroDrive到着
買ったMicroDriveは、Buffalo RMD-6Gで、もちろん6GBのもの。
本当は昨日到着したんだけど、うん十年ぶりの歯医者で潰れてしまったので、今日確認。
ata2: <HITACHI microdrive> at port 0x7040-0x704f irq 9 function 0 config 1 on pccard1 ad4: FAILURE - SETFEATURES ENABLE RCACHE timed out ad4: 5859MB <HMS360606D5CF00 DP6OC40D> at ata2-master PIO4
なんか怒られてるけど、このマシン自体怪しいからいいや;-p
db% sudo mount -t msdos /dev/ad4s1 /mnt db% df Filesystem 1K-blocks Used Avail Capacity Mounted on (snip) /dev/ad4s1 5988520 12 5988508 0% /mnt
お大尽に1GBほど、FAT用に使っちゃおうかな。 めんどくさいのでsysinstallで以下のように切ってみた。
db% sudo fdisk /dev/ad4 ******* Working on device /dev/ad4 ******* parameters extracted from in-core disklabel are: cylinders=11905 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=11905 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 11 (0x0b),(DOS or Windows 95 with 32 bit FAT) start 63, size 1999809 (976 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 15/ sector 63 The data for partition 2 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 1999872, size 10000368 (4882 Meg), flag 80 (active) beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 15/ sector 63 The data for partition 3 is: <UNUSED> The data for partition 4 is: <UNUSED>
db% sudo newfs_msdos /dev/ad4s1 /dev/ad4s1: 1995872 sectors in 249484 FAT32 clusters (4096 bytes/cluster) bps=512 spc=8 res=32 nft=2 mid=0xf0 spt=63 hds=16 hid=0 bsec=1999809 bspf=1950 rdcl=2 infs=1 bkbs=2
db% sudo mount -t msdos /dev/ad4s1 /mnt db% df Filesystem 1K-blocks Used Avail Capacity Mounted on (snip) /dev/ad4s1 997944 12 997932 0% /mnt
古いMicroDrive
ata3: <IBM microdrive> at port 0x7050-0x705f irq 11 function 0 config 1 on pccard0 ad6: FAILURE - SETFEATURES ENABLE RCACHE timed out ad6: 1027MB <IBM DSCM-11000 SC2IC915> at ata3-master PIO2
db% sudo fdisk /dev/ad6 Password: Sorry, try again. Password: ******* Working on device /dev/ad6 ******* parameters extracted from in-core disklabel are: cylinders=2088 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=2088 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 6 (0x06),(Primary 'big' DOS (>= 32MB)) start 63, size 410193 (200 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 101/ head 47/ sector 63 The data for partition 2 is: sysid 169 (0xa9),(NetBSD) start 412272, size 1692432 (826 Meg), flag 80 (active) beg: cyl 102/ head 16/ sector 1; end: cyl 521/ head 63/ sector 63 The data for partition 3 is: <UNUSED> The data for partition 4 is: <UNUSED>
db% sudo bsdlabel /dev/ad6s2 8 partitions: a: 1423296 412272 4.2BSD 1024 8192 16 b: 262080 1835568 swap c: 1692432 412272 unused 0 0 # "raw" part, don't edit d: 2104704 0 unused 0 0 partition a: partition extends past end of unit partition b: offset past end of unit partition b: partition extends past end of unit partition c: partition extends past end of unit bsdlabel: partition c doesn't start at 0! bsdlabel: An incorrect partition c may cause problems for standard system utilities partition d: partition extends past end of unit