From rivers@dignus.com Sat Mar 6 10:05:46 1999 Return-Path: Received: from smtp1.vnet.net (smtp1.vnet.net [166.82.1.31]) by hub.freebsd.org (Postfix) with ESMTP id 0579815277 for ; Sat, 6 Mar 1999 10:05:42 -0800 (PST) (envelope-from rivers@dignus.com) Received: from dignus.com (ponds.vnet.net [166.82.177.48]) by smtp1.vnet.net (8.9.1a/8.9.1) with ESMTP id NAA17124 for ; Sat, 6 Mar 1999 13:05:08 -0500 (EST) Received: (from rivers@localhost) by dignus.com (8.9.2/8.8.5) id NAA00432; Sat, 6 Mar 1999 13:05:03 -0500 (EST) Message-Id: <199903061805.NAA00432@dignus.com> Date: Sat, 6 Mar 1999 13:05:03 -0500 (EST) From: Thomas David Rivers Reply-To: rivers@dignus.com To: FreeBSD-gnats-submit@freebsd.org Subject: Unable to boot from hard-disk after install on 486dx-66 X-Send-Pr-Version: 3.2 >Number: 10433 >Category: i386 >Synopsis: After install, can't boot from wd0 - "System halted" >Confidential: no >Severity: critical >Priority: high >Responsible: rnordier >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 6 10:10:01 PST 1999 >Closed-Date: Sun Mar 7 07:17:32 PST 1999 >Last-Modified: Sun Mar 7 07:25:01 PST 1999 >Originator: Thomas David Rivers >Release: FreeBSD 3.1-RELEASE i386 >Organization: Dignus, LLC >Environment: 486dx-66 with 32 meg, IDE hard drive, Adaptect 1542 with no attached SCSI devices; monochrome graphics card (MGA) - circa 1995. >Description: Installation via the 2-floppy method went without a hitch, but the machine cannot boot from the hard drive. (This machine was running 3.0-RELEASE before this.) On cold-boot from the IDE drive - a dump of some kind is produced followed by "System halted". The text of the dump is (typed by hand): int=0000000e err=00000006 efi=00010202 eip=0000102a eax=00000012 ebs=00000000 ecs=0000a000 edx=00000000 esi=00000000 edi=00000000 ebp=00094fe8 esp=00094fe4 cs=002b ds=0033 es=0033 fs=0033 gs=0033 ss=0033 cs:eip = f0 30 00 00 68 b0 30 00 - 00 e8 11 00 00 00 cd 31 ss:esp = 1f 20 00 00 f8 4f 09 00 - df 10 00 00 12 00 00 00 System halted At this point CNTRL-ALT-DEL restarts the machine, so it seems the boot loader hasn't really "started up" yet. Note, however, that booting from the floppy seems to work fine. As a work-around, I boot the mfs floppy and specify 0:wd(0,a)/kernel -c at the boot prompt which lets me alter some ports/irqs and brings the machine up fine. I've tried rewriting the boot sector with FDISK/MBR - didn't help, and have turned off all caches, and boot the machine in "slow" mode... nothing helps. (Again, the machine was running 3.0-RELEASE this morning, booting with no problem.) This is a critical problem for me - as the machine in question is the IP-gateway machine, etc... >How-To-Repeat: This is a "toughy" to repeat - as I've done a 3.1 install on other 486s without problems... >Fix: >Release-Note: >Audit-Trail: Responsible-Changed-From-To: freebsd-bugs->rnordier Responsible-Changed-By: rnordier Responsible-Changed-When: Sat Mar 6 15:38:09 PST 1999 Responsible-Changed-Why: Apparently a new bootblocks problem. From: Robert Nordier To: rivers@dignus.com Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: i386/10433: Unable to boot from hard-disk after install on 486dx-66 Date: Sun, 7 Mar 1999 02:48:43 +0200 (SAT) Thomas David Rivers wrote: > >Number: 10433 > >Category: i386 > >Synopsis: After install, can't boot from wd0 - "System halted" > >Release: FreeBSD 3.1-RELEASE i386 > >Environment: > > 486dx-66 with 32 meg, IDE hard drive, Adaptect 1542 with no > attached SCSI devices; monochrome graphics card (MGA) - circa 1995. > > >Description: > > Installation via the 2-floppy method went without a hitch, but > the machine cannot boot from the hard drive. (This machine > was running 3.0-RELEASE before this.) > > On cold-boot from the IDE drive - a dump of some kind is produced > followed by "System halted". The text of the dump is (typed by hand): > > int=0000000e err=00000006 efi=00010202 eip=0000102a > eax=00000012 ebs=00000000 ecs=0000a000 edx=00000000 > esi=00000000 edi=00000000 ebp=00094fe8 esp=00094fe4 > cs=002b ds=0033 es=0033 fs=0033 gs=0033 ss=0033 > cs:eip = f0 30 00 00 68 b0 30 00 - 00 e8 11 00 00 00 cd 31 > ss:esp = 1f 20 00 00 f8 4f 09 00 - df 10 00 00 12 00 00 00 > System halted > > > At this point CNTRL-ALT-DEL restarts the machine, so > it seems the boot loader hasn't really "started up" yet. Thanks. The register dump gives a fairly clear idea what is happening. To track down why, it would be a help if you could send along the output of the following commands: fdisk wd0 disklabel wd0 dd if=/dev/rwd0 count=1 dd if=/dev/rwd0s1 count=17 (assuming FreeBSD is slice 1) -- Robert Nordier From: Thomas David Rivers To: rivers@dignus.com, rnordier@nordier.com Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: i386/10433: Unable to boot from hard-disk after install on 486dx-66 Date: Sat, 6 Mar 1999 23:40:14 -0500 (EST) > Thanks. The register dump gives a fairly clear idea what is > happening. To track down why, it would be a help if you could send > along the output of the following commands: > > fdisk wd0 > disklabel wd0 > dd if=/dev/rwd0 count=1 > dd if=/dev/rwd0s1 count=17 (assuming FreeBSD is slice 1) > > -- > Robert Nordier > Robert - What follows is the script(1) output from executing the following: fdisk wd0 disklabel wd0 dd if=/dev/rwd0 count=1 > /tmp/dd1 uuencode /tmp/dd1 /tmp/dd1 dd if=/dev/rwd0s1 count=17 > /tmp/dd2 uuencode /tmp/dd2 /tmp/dd2 In order to e-mail the result of the two dd's, I've uuencoded them... you'll need to decode them at your end. I hope this helps - if there's anything I can do further, don't hesitate to ask... - Dave Rivers - Script started on Sat Mar 6 23:36:25 1999 ponds# sh -x /tmp/d + fdisk wd0 ******* Working on device /dev/rwd0 ******* parameters extracted from in-core disklabel are: cylinders=3158 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=3158 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 165,(FreeBSD/NetBSD/386BSD) start 63, size 3183201 (1554 Meg), flag 80 (active) beg: cyl 0/ sector 1/ head 1; end: cyl 1023/ sector 63/ head 15 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: + disklabel wd0 # /dev/rwd0c: type: ESDI disk: wd0s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 3157 sectors/unit: 3183201 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 204800 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 203*) b: 512000 614400 swap # (Cyl. 609*- 1117*) c: 3183201 0 unused 0 0 # (Cyl. 0 - 3157*) e: 409600 204800 4.2BSD 1024 8192 16 # (Cyl. 203*- 609*) f: 819200 1126400 4.2BSD 1024 8192 16 # (Cyl. 1117*- 1930*) g: 1237601 1945600 4.2BSD 1024 8192 16 # (Cyl. 1930*- 3157*) + dd if=/dev/rwd0 count=1 1+0 records in 1+0 records out 512 bytes transferred in 0.012083 secs (42373 bytes/sec) + uuencode /tmp/dd1 /tmp/dd1 begin 644 /tmp/dd1 M^C/`CM"\`'R+]%`'4!_[_+\`!KD``?*EZAT&``"^O@>S!(`\@'0.@#P`=1R# MQA#^RW7OS1B+%(M,`HON@\80_LMT&H`\`'3TOHL&K#P`=`M6NP<`M`[-$%[K M\.O^OP4`NP!\N`$"5\T37W,,,\#-$T]U[;ZC!NO3OL(&O_Y]@3U5JG7'B_7J M`'P``$EN=F%L:60@<&%R=&ET:6]N('1A8FQE`$5R7-T96T````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M``````````````````````````````````````````````````````"``0$` MI0___S\```!ADC`````````````````````````````````````````````` 1````````````````````5:H` ` end + dd if=/dev/rwd0s1 count=17 17+0 records in 17+0 records out 8704 bytes transferred in 0.042108 secs (206707 bytes/sec) + uuencode /tmp/dd2 /tmp/dd2 begin 644 /tmp/dd2 MZQ"0D%%0!E-2Z,``6EL'65G+_#')CL&.V8[1O`!\B>:_``?^Q?.EONY]@/J` MAG`+D!`+Z^C;8!@'P$I74'XQGV!(!U%(/&$/[&@/X%52M`C-$XCU6G+S@.$_=.OZ9HM& M"%)F#[;99C'29O?SB.N(U4,PTF;W\XC76F8]_P,``/MWQ8;$P,@"".A`D8C^ M*."*9@,XX'("B."_!0#$7@10M`+-$UMS"D]T'##DS1.3Z^L/ML,!1@AS`_]& M"M#C`%X%*$8#=X;#4F5A9`!";V]T`"!E(2``"P'0`` M!```!P@0```````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M`````````````````````````````````````````````.L.0E18`0"`]@_0 M!@`0``#Z,<".T+P`&([`CMAF:@)FG;\`'KD`.5?SJU^^,I:LF)'C':R2K9.M MM@C1ZW,+B06(=0*(504%!`"-?0CB[.O>QD4%&,9%"!#&10T>QD5F:&8QTK80 M9C'`OP!`L02X!U!FJP'0XOJ_`%"U$#'`L`<[#@B0!^?\/+);[]@8'D`%T_LT9Y"%0Y*%0L!'F(.:@B-CF(8CXYJ&P M!.8AL`+FH;`!YB'FH5CFH5CF(L(:@[K&&H0ZPSV1"02`G0-Z<(```#_ M-"3&1"0$`/P>!F"P!O9$)#H"=1@/J`^@'@:P`F:#?"1$"'4(%HU$)%!0ZPC_ M="10_LAU^&H0'QX'B>.^498``+\`&```5^C'`@``7NA?`P``C60D&&$''X`\ M)`-T!>GB_O__C60D",_\'@>-53R+-:0?``"MB?.%P'0EOP"@``"+7AR)!!^- M?`<(]D?Z!'0'BT4P9HE&&(U>$(?6L03SI8G6C7THL03SI8G>L07SI8DUI!\` M`&&-9"0(!Q\/H0^IS_QJ$!]@B>4/MWTLP><$BW4H`?XQR;$",<"L/&9U!+$$ MZ_<\]'4-@?Z(D0``=3OI=/___SSZ=#T\^W0_#[==.,'C!%,#732+53`\G'0S M/)UT2CS-=&$\SW0S6V'IYO[__XE5,%HITXE=-"G^B74H88UD)`C/@&4Q_>OO M@$TQ`NOI*\$9HE3_F:)>_R-6_IFB3/!X`(/MS`/MW@" MB7TL,?^`YOSK@FH(ZSQJ">LX:@KK-&H+ZS!J#.LL:@WK*&H.ZR1J#^L@:G#K M'&IQZQAJL(:G;K!&IWZP#V1"0.`G0^:A`?AP0D58GE M4\'@`HL`@VT4!@^W71C!XP0#711FAT4(P<@09H=%#,'`$(D#BT409HE#!(!E M$?Q;75C/^5#]4%!08`^HB>`/H!X&:A`?'@>[`*```(G:<@0QTC'MC70D4%8# M7OR+/:0?``"-?_PQR;$%\Z66BT0D0(72=!2+*[$$`1``#SI9&)V"T`!``` M=P(QP,'H!*O!X`23*=BKD0^ZZ!&`Y/RKE?;"`74%P>`"BP")P<'H$*MFB]L4! M=`=FK>A<````]L4"=`:MZ$<```#VQ01T,Q[V0U("=0H/`&8$=03%-NL)K9*M MP>`$`="6L1"LZ#$```#^R70,L"V`^0AT`K`@JNOJ'UZP"O;%"'4#L""JZXZJ MPU#!Z!#H`0```%CH`````(;@4,#H!.@!````6"0//`H<:2\,(*K#Z`8```"L MA,!U]L-@,1L%#VY@#0@-0` MT>"19HD$#T*`^E!R!##2_L:`_AER%8VWH````&:YP`/SI;`@L5#S9JNV&&:) M$V'#D(UT)@```````````/__````FL\`__\```"2SP#__P```)H``/__```` MD@``__\`H`#ZSP#__P"@`/+/`&<@F!\`B0``/P#@E0``EP$`'@``_P,````` M$([[?8B1$(X!`+R1$([__VR3`>X!`*.4`NX!`.^3``II;G2"0&5R((T96)X@BAE8WB",&5D>(HL97-I@AQE9&F"&&5B<((@97-P MB@!C7-T96T@:&%L=&5D`(UV`(V\)P````"CZ#```(G@!:`/``"C[#```.AB```` MZ"D"``"0,<#-,+@!````S3"0CP7P,```:+`P``#H$0```,TQZ`H```"#Q`3_ M-?`P``##AVPD!(=%&(=-'(=5((==)%"<6(=%*%"=BT0D"(=%+(E$)`A8AW4P MAWTTAVPD!,-5B>53QP6P,``````$`(L-Z#```+@`"0``*<@/M@"C)"H``#'2 MA,!\!;H"````B14H*@``@^!_HRPJ``"X`0D``"G(#[8`0*,P*@``QP5(,``` M`0```,<%>#```%0```!J$N@D#P``HX`P``!J%>@8#P``HX0P``#^!7PP```Q MVU/H*`\``(D$G5@P``!#@_L'?NV[`@```&@``@``:$0J``!H*",``.C;!@`` M@#U$*@```'0N:$0J``!H*",``&@U(P``Z,D,``!H1"H``.@Q!```@\0,A<"``!J-(U% MS%#_M3C____HR`8``(7`#X7.`@``BT7,9CT+`70?/7]%3$8/A/@```!HCB,` M`&B5(P``Z$8+``#II@(``(M]X('G____`(G^*S7H,```QP6@,````!```/]U MT%;_M3C____H;@8``(7`#X5T`@``BT70!?\/```E`/#__P'&_W745O^U./__ M_^A(!@``A<`/A4X"``"+1=@%_P\``"4`\/__`T74`<:+#>@P```!\8D-B#`` M`&H$C47<4%;H*@P``(/&!(M%W(7`#X2G`0``4%;_M3C____H^04``(7`#X7_ M`0```W7<:@16_[4X____Z.`%``"%P`^%Y@$``(L>@\8$@\/\4U;_M3C____H MPP4``(7`#X7)`0```=[I50$``(M%Z*.@,```,?\Q]CG'@P``"+1!,$HZ`P``#_=!,05O^U./___XF5+/___^A`!0`` MBY4L____A<`/A4`!``"#PR!'@_\!?KF+1<`%_P\``"4`\/__`<:+#>@P```! M\8D-B#````^W5?P/MUW^C4,#.<(/A9$```"-1)L%P>`#`T7LHZ`P``!J4(V= M//___U/_M3C____HU@0``(7`#X7<````,?^)G3#___^)G33___\QVVH$BX4P M____@\`44%;HP@H``(/&!(N--/___XM$"Q"CH#```/]T"Q16_[4X____Z(H$ M``"%P`^%D````(N--/___P-T"Q2#A3#___\H@\,H1X/_`7ZJBWWD@>?___\` MH>@P```!QHDUC#```(M-"`'!B0U,,```BQ4D*@``B!5],```!4@P``!0:@!J M`&H`H3`J``#!X!0+!2@J``"+%2PJ``#!XA`)T(L5-"H``,'B"`G0#0```*!0 M#[<%1#````T```"`4%?HL?K__XVE(/___UM>7\G"!`!5B>575E.+=0CI70(` M`(/Z(`^$5`(``(GWB@;K"(`_('0+1XH'A,!T#3P*=?"`/P!T!,8'`$>#^BT/ MA<`````/OA9&A=)T.`^^#?`B```QVSG*=!6#^PH/A/8!``!##[Z#\"(``#G" M=>L/MH/[(@``#[L%1#````^^%D:%TG7/]@5',```0'1$N)8$```K!>@P``"* M&(/C$+BE(P``A=MT!;BA(P``4&BH(P``Z-T'``"#Q`B%VW4*@0U$,````!`` M(($E1#```/___[^+%40P``#WP@```"!U"[`!]L80=`:P`NL"L`.(!0PD``"H M`@^$=`$``.@B#```Z6H!``")\DZ`.@`/A#$!``"`.BAT!D*`.@!U]8`Z``^$ M'0$``+G_____@'X!.G47B@Z(R`30/`D/AQL!```/OL&-2-"#Q@*)T"GP@_@" M#X4%`0``,=N+%0@C``#K$8/[!`^$\@```$.+%)T((P``B@(X!G7IBD(!.$8! M=>&)'2@J``"#Q@.`?@$L#X7)````BA:(T`30/`D/A[L````/OL*#P-"C+"H` M`(/&`L<%,"H```$```"`?@$L=2F*%HC0!-`\!`^'CP````^^THU"T*,P*@`` MA%_/[__P(```"X!````(V]`/___X`Z+W4!0H`Z`'19B=.`.R]T!D.`.P!U M]8G>*=:!_O\```!^!#'`ZTLQP(`Z/W4+@_X!=0:`.P!U`4"CG#```%925^CN M!@``QH0N`/___P"-A?S^__]05^@D````AP``@``5U93QP6@,````````(V]`/[__V@` M`@``5XM5#/\RZ*D```"%P'Y+B?LYZW/FB=Z#/9PP````=1V-0PA0_W4(Z)`& M``"%P'4>BP.+50R)`@^V0P;K-(U#"%!HMB,``.CMR MO>NA@_C_=!"#/9PP````=`=J"NCO!0``,<"-I?3]__];7E_)P@@`58GE4XM= M$%/_=0S_=0CH(P```#G8=00QP.L4:(XC``!HE2,``.A_!```N/____^+7?S) MP@P`58GE@^P45U93@SU`*@```'5_@ST$*@```'4/:``@``#H"`8``*,$*@`` MQP4,*@```````&H0:A#_-00J``#HJ@(``(7`=2MH9`4``/\U!"H``&@@)``` MZ(0%``"!/7PI``!4&0$`=!1HNB,``.@!!```N/_____I9P(``(L54"0``,'Z M"8D5&"H``/\%0"H``(-]"`!U!S'`Z44"``"+30@Y#0PJ```/A,,```#_-1@J M``"+10@QTO)7?B_A"D` M`(G>`S4$*@``_+D@````\Z6+50B)%0PJ``#'!:`P````````QP44*@`````` M`,<%$"H```````"+30R)3?R+'8PI```K':`P```Y71!V`XE=$(M]$(7_#X1+ M`0``BPUP)```BQV@,```T^N#^PM_"8LTG:PI``#K;XL5W"D``#D5%"H``'1, M@ST(*@```'4/:``@``#H6P0``*,(*@``_S48*@``BPV$)```BQ7<*0``T^)2 M_S4(*@``Z/8```"%P`^%<_[__XL5W"D``(D5%"H``(U#])GW/90D``")UHL- M""H``(LTL8/["W\Q0XE=\*%P)```B=J)P=/BB='!^1^)5?")3?2AD"D``#E% M]'<5=0N+3?`Y#8PI``!R"(L=4"0``.L:BQ58*0``(Q6,*0```Q5@*0``B=,C M'6PD```Y-1`J``!T*HG:P>H)4HL-A"0``(GRT^)2_S4$*@``Z%$```"%P`^% MSOW__XDU$"H``*&@,```(P58*0``*<,Y^W8"B?M3B<(#%00J``!2_W7\Z!$# M```!7?P!':`P```IWP^%M?[__XM%$(UEX%M>7\G"#`!5B>575E.#/4`J```` M#X55`0``@ST<*@```'4/:``"``#H&@,``*,<*@``QP4X*@```````&H!:@#_ M-1PJ``#HT0,``(7`#X4$`0``BS4<*@``@<:^`0``BQTP*@``@_L!=T(QP(G? M,!B@```(L5-"H``#G"7\G"#`!5B>6#[`Q75E.-?0SIG@```(/X)0^%CP```(M5 M"`^^`D*)50B#^'-T'7\'@_AC=`[K=X/X=70K@_AX=";K:X/'!/]W_.MD@\<$ MBU_\@#L`=%X/O@-0Z-T```!#@#L`=?'K3;X0````@_AU=06^"@```(/'!(M' M_(U=]#'2]_:)P8J"V2,``(@#0XG(AA;7E_)PU6)Y5=6 M4XM]"(G^Z'P```")PX7;=$=\*H/["'0'@_L*=!OK'CG^=A%.:@CH/````&H@ MZ#4```#K&C';ZR#&!@#K$8GR*?J+10Q(.<)]!8C8B`9&A=MT!E/H#P```(/[ M"G6IC67T6UY?R<((`%6)Y5.+70B#^PIU!VH-Z$P"``!3Z$8"``"+7?S)P@0` M58GE:@#H8P(``(/X#74%N`H```#)PU6)Y593BW4(BU40B?.+30R%TG0)B@&( M`T%#2G7WB?"-9?A;7LG"#`!5B>6+50B+30SK!H3`=`A"08H".`%T]`^V$@^V M`2G"B=#)P@@`58GE@ST@*@```'4?BQ7H,```B=`#!?0P```%__\``"4`)0`` M__\IT*,@*@``H2`J``"+30@!P8D-("H``,G"!`!5B>6+10BCM#```,<%R#`` M``"(``#H"_#__Z'(,```R<($`%6)Y5/'!;0P```3````QP7(,`````@``(M= M"('#@````(D=T#```.C6[___]@78,````74RBPW,,```B`("<*AT#```"4`_P``"<*#X3^)T`G(ZP6X#P%/`(M=_,G"!`!5 MB>575E.+=0B+?0R+71"A$"0``,'`"*,0)```4&CI(P``Z$K]___'!;`P```` M``<`QP6T,```!`<``(L5Z#```(T$,L'H!"7__P``H[@P``")/<@P``")\&8! MT(G!@^$/B0W4,```B?G!Z1")#___\<% ML#``````!`"#Q`CV!0```74$,<#K&%7\G"#`!5B>564XMU"#';:@'H8@```(7`=`>X`0```.L@N&P$```K M!>@P``"+$(7;=0*)TSG:<@>-!!XYPG+0,<"-9?A;7LG"!`!5B>53BUT(]@4, M)````70&4^AQ````]@4,)````G0&4^CZ````B=B+7?S)P@0`58GE4XM="/8% M#"0```%T&&H!Z&X```"%P'0-A=MU)FH`Z%\```#K*O8%#"0```)T&^CA```` MA7'!;0P```0 M````#[9%"(#,#J/(,```QP74,```!P```.C9[?__R<($`%6)Y5.+70C'!;0P M```6````B=K!X@B)%<@P``#HM.W__X7;=0D/M@7(,```ZPVAV#```,'H!C0! M@^`!BUW\R<($`)"0D&:Z^P.P@^Y2@.H#9K@,`&;O6K`#[D*P`^Y"Z"D```#H M*0```'7TPV:Z_0,QR;5`[*@@X?MT"(I$)`2`Z@7NP@0`Z`<```!T^8#J!>S# M9KK]`S'`["0!PP!$:&%#8V1G4')S=AT,``T*!@\>!0$+```E(P``(B,``!\C M```B(P``'",``&1A`&9D`"`@`'=D`"]B;V]T+F-O;F9I9P`E"5X("AL8F$],'@E>"D*``````$````O?%PM```````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M`````````````!`````8````(````#`#````"```_____T`"XC8`D`$`;X,! M``0`````(`````0```@````(`````````#P`````X/__`/S__PT````*```` M#P`````(```#`````0`````(````_O__"0`````(``!``````@`````````` M$````0````````"Q`>$V?NYV5#`#````!````!@```$`````$````!```#(` M```0````@!@```"````W````=R(``%A=``#-`````````"\````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` 3```````````````````````````` ` end ponds# ^Dexit Script done on Sat Mar 6 23:36:30 1999 From: Robert Nordier To: rivers@dignus.com (Thomas David Rivers) Cc: rivers@dignus.com, rnordier@nordier.com, FreeBSD-gnats-submit@freebsd.org Subject: Re: i386/10433: Unable to boot from hard-disk after install on 486dx-66 Date: Sun, 7 Mar 1999 13:25:21 +0200 (SAT) > > Thanks. The register dump gives a fairly clear idea what is > > happening. To track down why, it would be a help if you could send > > along the output of the following commands: > > > > fdisk wd0 > > disklabel wd0 > > dd if=/dev/rwd0 count=1 > > dd if=/dev/rwd0s1 count=17 (assuming FreeBSD is slice 1) > > > > -- > > Robert Nordier > > > > Robert - > > What follows is the script(1) output from executing the > following: > > fdisk wd0 > disklabel wd0 > dd if=/dev/rwd0 count=1 > /tmp/dd1 > uuencode /tmp/dd1 /tmp/dd1 > dd if=/dev/rwd0s1 count=17 > /tmp/dd2 > uuencode /tmp/dd2 /tmp/dd2 > > In order to e-mail the result of the two dd's, I've uuencoded > them... you'll need to decode them at your end. > > I hope this helps - if there's anything I can do further, > don't hesitate to ask... > > - Dave Rivers - > Thanks for the data. The dump of the bootblocks shows the immediate cause of the problem (why you're getting the exception), though what the ultimate cause is (how the bootblocks got that way) is still an open question. Something decidedly weird seems to have happened when the bootblocks were installed. The following is a comparision of the 3.1R boot2, and one that was reconstructed from the dd output you supplied: Lines marked A are correct. Lines marked B are how the boot2 supplied by Dave Rivers differs: A 00001880 8a 02 38 01 74 f4 0f b6 12 0f b6 01 29 c2 89 d0 A 00001890 c9 c2 08 00 55 89 e5 83 3d 20 2a 00 00 00 75 1f A 000018a0 8b 15 e8 30 00 00 89 d0 03 05 f4 30 00 00 05 ff A 000018b0 ff 00 00 25 00 00 ff ff 29 d0 a3 20 2a 00 00 a1 B 000018b0 ff 00 00 25 00 25 00 00 ff ff 29 d0 a3 20 2a 00 ----- ----- A 000019f0 05 b0 30 00 00 00 00 04 00 83 c4 08 f6 05 d8 30 B 000019f0 ff c7 05 b0 30 00 00 00 00 04 00 83 c4 08 f6 05 A 00001a00 00 00 01 75 04 31 c0 eb 18 57 0f b6 05 c9 30 00 A 00001a10 00 50 68 ed 23 00 00 e8 be fc ff ff b8 ff ff ff A 00001a20 ff 8d 65 f4 5b 5e 5f c9 c2 0c 00 55 89 e5 56 53 At offset 0x18b5, two bytes are duplicated (0x25 0x00); and at offset 0x19ff, two bytes are deleted (0xd8 0x30). All code between these two addresses is displaced by +2 bytes. To fix this, check that /boot/boot[12] match up to the following (taken from 3.1R bin.mtree): boot1 size=512 md5digest=37d1410d99698dc4c7aa8ae5284f0746 boot2 size=7680 md5digest=645a549670acaa3f48cea1706c0e3a79 and then do a disklabel -B wd0 and see if the machine boots from wd0. -- Robert Nordier From: Thomas David Rivers To: rivers@dignus.com, rnordier@nordier.com Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: i386/10433: Unable to boot from hard-disk after install on 486dx-66 Date: Sun, 7 Mar 1999 08:40:50 -0500 (EST) > > > Thanks. The register dump gives a fairly clear idea what is > > > happening. To track down why, it would be a help if you could send > > > along the output of the following commands: > > > > > > fdisk wd0 > > > disklabel wd0 > > > dd if=/dev/rwd0 count=1 > > > dd if=/dev/rwd0s1 count=17 (assuming FreeBSD is slice 1) > > > > > > -- > > > Robert Nordier > > > > > > > Robert - > > > > What follows is the script(1) output from executing the > > following: > > > > fdisk wd0 > > disklabel wd0 > > dd if=/dev/rwd0 count=1 > /tmp/dd1 > > uuencode /tmp/dd1 /tmp/dd1 > > dd if=/dev/rwd0s1 count=17 > /tmp/dd2 > > uuencode /tmp/dd2 /tmp/dd2 > > > > In order to e-mail the result of the two dd's, I've uuencoded > > them... you'll need to decode them at your end. > > > > I hope this helps - if there's anything I can do further, > > don't hesitate to ask... > > > > - Dave Rivers - > > > > Thanks for the data. The dump of the bootblocks shows the immediate > cause of the problem (why you're getting the exception), though what > the ultimate cause is (how the bootblocks got that way) is still an > open question. Something decidedly weird seems to have happened when > the bootblocks were installed. > > The following is a comparision of the 3.1R boot2, and one that was > reconstructed from the dd output you supplied: > > Lines marked A are correct. Lines marked B are how the boot2 > supplied by Dave Rivers differs: > > A 00001880 8a 02 38 01 74 f4 0f b6 12 0f b6 01 29 c2 89 d0 > A 00001890 c9 c2 08 00 55 89 e5 83 3d 20 2a 00 00 00 75 1f > A 000018a0 8b 15 e8 30 00 00 89 d0 03 05 f4 30 00 00 05 ff > > A 000018b0 ff 00 00 25 00 00 ff ff 29 d0 a3 20 2a 00 00 a1 > B 000018b0 ff 00 00 25 00 25 00 00 ff ff 29 d0 a3 20 2a 00 > ----- > > ----- > A 000019f0 05 b0 30 00 00 00 00 04 00 83 c4 08 f6 05 d8 30 > B 000019f0 ff c7 05 b0 30 00 00 00 00 04 00 83 c4 08 f6 05 > > A 00001a00 00 00 01 75 04 31 c0 eb 18 57 0f b6 05 c9 30 00 > A 00001a10 00 50 68 ed 23 00 00 e8 be fc ff ff b8 ff ff ff > A 00001a20 ff 8d 65 f4 5b 5e 5f c9 c2 0c 00 55 89 e5 56 53 > > At offset 0x18b5, two bytes are duplicated (0x25 0x00); and at > offset 0x19ff, two bytes are deleted (0xd8 0x30). All code > between these two addresses is displaced by +2 bytes. > Certainly seems a little odd.. And, I don't think it was the floppies, as I did two other installs from those same floppys... > To fix this, check that /boot/boot[12] match up to the following > (taken from 3.1R bin.mtree): > > boot1 size=512 md5digest=37d1410d99698dc4c7aa8ae5284f0746 > boot2 size=7680 md5digest=645a549670acaa3f48cea1706c0e3a79 Mine matched... > > and then do a > > disklabel -B wd0 > > and see if the machine boots from wd0. Yes - rewriting the boot blocks did correct the problem. The machine is "self booting" now (no longer needs the floppy.) As you point out, however, it's a mystery as to how the boot blocks got so "kerflunkered"... and in such a strange way. I mean, if a couple of bytes had been corrupted, one would be tempted to blame the disk hardware - but to be copied & offset by 2 - seems like something might be amis in the IDE driver... Thanks for all your help in getting this machine up-and-running again! It's my gateway-to-the-internet machine, without which, my company would be quite silent to the world... - Dave Rivers - State-Changed-From-To: open->closed State-Changed-By: rnordier State-Changed-When: Sun Mar 7 07:17:32 PST 1999 State-Changed-Why: From data supplied by the originator, it is apparent that the bootblocks were corrupted (apparently by some unknown bug or glitch during the install). We'll have to wait for more data points to determine the actual cause of this. >Unformatted: