Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2000 13:38:44 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.ORG>
To:        "Andrey A. Chernov" <ache@FreeBSD.ORG>
Cc:        current@FreeBSD.ORG
Subject:   RE: New boot0 not work with ahc
Message-ID:  <XFMail.000714133844.jhb@FreeBSD.org>
In-Reply-To: <20000714120049.A8983@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 14-Jul-00 Andrey A. Chernov wrote:
> New boot0 cause dead hang (nothing appearse on the screen)
> with Adaptec SCSI BIOS
>       ahc0: <Adaptec 2940 Ultra SCSI adapter>
> Standard MBR works fine. All in first 1024 cyls.

Errm, do you have some more details?

> dmesg | egrep 'ah|da'
ahc0: <Adaptec 2940 Ultra SCSI adapter> 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: <Standard parallel printer port> at port 0x378-0x37b irq 7 on isa0
Mounting root from ufs:/dev/da0s1a
da0 at ahc0 bus 0 target 1 lun 0
da0: <QUANTUM XP39100W LXY4> 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:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
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 <jhb@FreeBSD.org> -- 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.000714133844.jhb>