From owner-FreeBSD-users-jp@jp.freebsd.org  Fri Feb 19 14:19:21 1999
Received: (from daemon@localhost)
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) id OAA16998;
	Fri, 19 Feb 1999 14:19:21 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from amalthea.phys.s.u-tokyo.ac.jp (amalthea.phys.s.u-tokyo.ac.jp [133.11.165.61])
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) with SMTP id OAA16992
	for <FreeBSD-users-jp@jp.freebsd.org>; Fri, 19 Feb 1999 14:19:20 +0900 (JST)
	(envelope-from ginga@amalthea.phys.s.u-tokyo.ac.jp)
Received: (qmail 9274 invoked by uid 9014); 19 Feb 1999 05:19:23 -0000
Message-ID: <19990219051923.9266.qmail@amalthea.phys.s.u-tokyo.ac.jp>
To: FreeBSD-users-jp@jp.freebsd.org
Mime-Version: 1.0
X-Mailer: Mew version 1.02 on Emacs 19.28.4, Mule 2.3
Content-Type: Text/Plain; charset=iso-2022-jp
Date: Fri, 19 Feb 1999 14:19:23 +0900
From: Kawaguti Ginga <ginga@amalthea.phys.s.u-tokyo.ac.jp>
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+981115
X-Sequence: FreeBSD-users-jp 38980
Subject: [FreeBSD-users-jp 38980] 3.1R booting
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org
X-Originator: ginga@amalthea.phys.s.u-tokyo.ac.jp

$B@n8}(B % $B:.Mp$7$F$-$?(B...

$B855-;v$r$9$G$K8+<:$C$F$7$^$$$^$7$?$,!"(B
3.1R $B$G(B boot config $B$,J]B8$G$-$J$/$F(B boot $B$G$-$J$$!"(B
$B$H$$$&$h$&$J(B mail $B$,$"$C$?$+$H;W$$$^$9$,!";w$?>u67$K(B
$B$J$C$?$h$&$G$9(B...

# $B$=$b$=$b(B 3.0 $B$N(B /stand/sysinstall $B$G(B 3.1 $B$rJL(B disk $B$K(B
# $BF~$l$h$&$H$7$?$i!"(B/ $B$KE83+$5$l$F(B 3.0 $B$4$HF$;`$K(B...($B$3$l$O$"$-$i$a(B)

3.1 $B$r(B kern.flp, mfsroot.flp $B$+$i(B boot $B$7$F!"(B
$B$b$H$b$H(B FreeBSD $B$h$&$K@Z$C$F$"$C$?(B partition (SCSI 1$BKgL\$N@hF,(B)
$B$KF~$l$h$&$H$7$F$$$^$9!#(B

disk $B9=@.(B:
  IDE x2 primary $B$N(B master/slave $B$G!"(Bwd0 $B$K(B 3.0R $B$,8=:_F0$$$F$$$k(B
  SCSI
	AHA2940AU	--- MOx1	da0
	IOI-4206LVD	-+- 9GB disk	da1
			 +- 9GB disk	da2
(da0-2 $B$H$$$&$N$O(B 3.0 $B$G$NL>A0(B)
3.0R $B$G$O0J2<$N$h$&$J(B configuration $B$GG'<1$5$l$F$$$^$9!#(B
root@guges:[37]# dmesg | egrep '(^wd|^da)'
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <WDC AC24300L>
wd0: 4112MB (8421840 sectors), 8912 cyls, 15 heads, 63 S/T, 512 B/S
wdc0: unit 1 (wd1): <WDC AC34000L>
wd1: 3815MB (7814016 sectors), 7752 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (atapi): <TOSHIBA CD-ROM XM-6102B/1106>, removable, accel, ovlap, dma, iordy
da1 at ncr0 bus 0 target 1 lun 0
da1: <SEAGATE ST39173LW 4292> Fixed Direct Access SCSI2 device 
da1: 40.0MB/s transfers (20.0MHz, offset 15, 16bit), Tagged Queueing Enabled
da1: 8683MB (17783240 512 byte sectors: 255H 63S/T 1106C)
da0 at ahc0 bus 0 target 6 lun 0
da0: <DELTIS MOS321 3.40> Removable Optical SCSI2 device 
da0: 5.0MB/s transfers (5.0MHz, offset 8)
da0: 217MB (446325 512 byte sectors: 64H 32S/T 217C)
da2 at ncr0 bus 0 target 2 lun 0
da2: <SEAGATE ST39173LW 4292> Fixed Direct Access SCSI2 device 
da2: 40.0MB/s transfers (20.0MHz, offset 15, 16bit), Tagged Queueing Enabled
da2: 8683MB (17783240 512 byte sectors: 255H 63S/T 1106C)

$B$J$<$+!"(BIDE $B$r(B BIOS $B$G@Z$C$F$$$J$$$N$K(B
SCSI $BB&$,(B BIOS $BE*$KM%@h(B disk $B$J$N$G(B wd0s2a $B$K(B
$BF~$l$F$"$k(B FreeBSD 3.0R $B$O(B 2:wd(0,a)/kernel $B$HF~$l$J$$$H(B
boot $B$7$^$;$s(B($B$3$l$O$3$N(B PC $B$N(B BIOS/SCSI BIOS $B$NLdBj$G$7$g$&$1$I(B)$B!#(B
(boot $B$7$F$b(B / $B$,(B mount $B$G$-$J$$!"$H$$$&$d$D$K$J$k(B)

$B$G!"(B3.1 $B$r(B(SCSI $BB&$K(B) install $B$7$?$N$G$9$,(B... 
$B$=$b$=$b!"$3$N(B da1 $B$O$"$i$+$8$a(B FreeBSD $B$h$&$K$-$C$F$"$j$^$9(B:
root@guges:[39]# fdisk da1
******* Working on device /dev/rda1 *******
parameters extracted from in-core disklabel are:
cylinders=8683 heads=64 sectors/track=32 (2048 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=8683 heads=64 sectors/track=32 (2048 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 165,(FreeBSD/NetBSD/386BSD)
    start 32, size 4194272 (2047 Meg), flag 80 (active)
        beg: cyl 0/ sector 1/ head 1;
        end: cyl 1023/ sector 32/ head 63
The data for partition 2 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 4194304, size 13588480 (6635 Meg), flag 0
        beg: cyl 1023/ sector 63/ head 255;
        end: cyl 1023/ sector 32/ head 63
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

$B$H$J$C$F$$$^$9!#$3$$$D$N(B slice 1 $B$KF~$l$h$&$H$9$k$H(B partition editor $B$O(B
Disk name:      da1                                    FDISK Partition Editor
DISK Geometry:  8683 cyls/64 heads/32 sectors = 17782784 sectors

    Offset       Size        End     Name  PType       Desc  Subtype    Flags

         0         32         31        -      6     unused        0
        32    4194272    4194303    da1s1      3    freebsd      165    C=>  ($B$3$3$K$$$l$?$$(B)
   4194304   13588480   17782783    da1s2      3    freebsd      165    =>
  17782784        456   17783239        -      6     unused        0    >     
($BF0$$$F$$$k(B 3.0R $BB&$N(B /stand/sysinstall $B$+$i(B cut&paste $B$7$F$$$^$9(B)
$B$H$J$C$F$$$FFC$K?($i$:$KH4$1$F$$$/$H(B label editor $B$G(B
da1s1 $B$O(B 2GB $B$"$k$O$:$J$N$K!"(B0MB $B$H$J$C$F$$$F(B
$B@Z$k$3$H$,$G$-$^$;$s!#(B
                         FreeBSD Disklabel Editor

Disk: da1       Partition name: da1s1   Free: 0 blocks (0MB)
Disk: da1       Partition name: da1s2   Free: 13588480 blocks (6635MB)

$B0JA0!"(Bnote PC $B$KF~$l$h$&$H$7$?$H$-$b$"$i$+$8$a@Z$i$l$?(B partition $B$K(B
$BBP$7$F(B partition ID $B$@$1JQ99$7$F$$$l$h$&$H$7$?$iF1$8>I>u$K(B
$B$J$C$?(B(2.2.7R $B$@$C$?$+(B?)$B5-21$,$"$k$N$G$9$,!"$3$l$C$F(B
$B$J$K$+$d$j$+$?$r4*0c$$$r$7$F$$$^$9$G$7$g$&$+(B?

$B$A$J$_$K!"(Bpartition editor $B$G(B $B$$$C$?$s(B da1s1 $B$r(B delete $B$7$F(B
$B2~$a$F(B c $B%3%^%s%I$G(B create $B$9$k(B($BBg$-$5$J$I$OA4$/F1$8(B)$B$H(B
label editor $B$K$b(B
Disk: da1       Partition name: da1s1   Free: 4194272 blocks (2047MB)
$B$HG'<1$5$l$^$9!#$H$j$"$($:!":#2s$O$3$l$G=hM}$rB39T$7$F$_$^$7$?!#(B

$B$5$F!":G8e$K>e5-$N7o$H4X78$"$k$N$+$I$&$+$o$+$j$^$;$s$,(B
	Kernel copied OK, but unable to save boot -c changes to it.
	See the debug screen Alt-F2 for details.
$B$H$G$F(B debug screen: $B$NJ}$O(B
	DEBUG: kget: error sizing buffer
$B$H0l9T$G$F$$$k!"(B

$B$H$$$&>u67$K$J$C$F$7$^$$$^$7$?!#$=$N$^$^(B
install $B$r40N;$5$;$F(B boot $B$7$h$&$K$b(B boot: $B$,$G$J$$!"(B
$B$N$+!"(Bboot: $B$N@h$,8+$($J$$$N$+!"$bNI$/$o$+$i$J$$$G$9!#(B
(boot: $B$H$G$F$/$k$N$O(B 3.0R $B$N$d$D$@$H;W$o$l$k(B => 3.0R $B$r;XDj$9$k$H(B
boot $B$G$-$k$7!"(Bda1 $BB&$r;XDj$7$F$b$@$a$J$N$G(B)
ELF kernel $B$O(B $B8E$$(B boot: prompt $B$+$i$O;XDj$G$-$J$$$G$9$h$M(B?
(3.1R install floppy $B$O(B boot: $B$r=P$7$F$3$J$$$h$&$K8+$($k$7(B)

$B4pK\E*$K$OLn8M$5$s$,(B [FreeBSD-users-jp 38883] $B$G8@$C$F$$$k>I>u$@$H(B
$B;W$&$N$G$9$,(B...
$B0l1~!"(Bclean install $B$N$D$b$j$@$C$?$s$G$9$1$I>I>u$,$G$F$7$^$$$^$7$?!#(B

# $BK\6H$KLa$j$^$9!#$"$H$GF,$rNd$d$7$F$b$&0lEY$d$C$F$_$h$&(B...
---
       $B"J"J(B               
Zzz.. (- - )$B"^"^"=!A(B         $B@n8}(B $B6d2O(B
      ##############   ginga@athena.club.or.jp
