From owner-freebsd-current Fri Jul 14 13:39:34 2000 Delivered-To: freebsd-current@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 28D5937B5E7; Fri, 14 Jul 2000 13:39:30 -0700 (PDT) (envelope-from jhb@foo.osd.bsdi.com) Received: from foo.osd.bsdi.com (root@foo.osd.bsdi.com [204.216.28.137]) by pike.osd.bsdi.com (8.9.3/8.9.3) with ESMTP id NAA22093; Fri, 14 Jul 2000 13:39:16 -0700 (PDT) (envelope-from jhb@foo.osd.bsdi.com) Received: (from jhb@localhost) by foo.osd.bsdi.com (8.9.3/8.9.3) id NAA70641; Fri, 14 Jul 2000 13:38:45 -0700 (PDT) (envelope-from jhb) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20000714120049.A8983@freebsd.org> Date: Fri, 14 Jul 2000 13:38:44 -0700 (PDT) Organization: BSD, Inc. From: John Baldwin To: "Andrey A. Chernov" Subject: RE: New boot0 not work with ahc Cc: current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 14-Jul-00 Andrey A. Chernov wrote: > New boot0 cause dead hang (nothing appearse on the screen) > with Adaptec SCSI BIOS > ahc0: > Standard MBR works fine. All in first 1024 cyls. Errm, do you have some more details? > dmesg | egrep 'ah|da' ahc0: port 0x9c00-0x9cff mem 0xe1102000-0xe1102fff irq 10 at device 13.0 on pci0 ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs ppc0: at port 0x378-0x37b irq 7 on isa0 Mounting root from ufs:/dev/da0s1a da0 at ahc0 bus 0 target 1 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da0: 8682MB (17781520 512 byte sectors: 255H 63S/T 1106C) > sudo boot0cfg -v da0 # flag start chs type end chs offset size 1 0x80 0: 1: 1 0xa5 1023:254:63 63 17767827 version=1.1 drive=0x80 mask=0xf ticks=182 options=packet,update,nosetdrv > sudo fdisk ******* Working on device /dev/da0 ******* parameters extracted from in-core disklabel are: cylinders=1106 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=1106 heads=255 sectors/track=63 (16065 blks/cyl) fdisk: invalid fdisk partition table found Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 63, size 17751825 (8667 Meg), flag 80 (active) beg: cyl 0/ sector 1/ head 1; end: cyl 81/ sector 63/ head 0 > uname -a FreeBSD bar.osd.bsdi.com 5.0-CURRENT FreeBSD 5.0-CURRENT #10: Thu Jul 13 16:02:28 PDT 2000 root@bar.osd.bsdi.com:/usr/src/sys/compile/BAR i386 Boots fine. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message