Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Nov 2001 01:43:50 -0500
From:      "Mit Rowe" <mitayai@dreaming.org>
To:        "Chat@Gtabug. Org" <chat@gtabug.org>, "questions@FreeBSD. ORG" <questions@freebsd.org>
Subject:   RE: SCSI problem
Message-ID:  <DBEMKGPNFGOGJHLMDNDJKENEDLAA.mitayai@dreaming.org>
In-Reply-To: <DBEMKGPNFGOGJHLMDNDJEEMODLAA.mitayai@dreamlabs.com>

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

well, that didn;t work. the floppy started hanging just after PLIP (at the
point where is probes IDE drives, i think).

But, i *did* get it working.

I booted with the 4.3-RELEASE IDE drive again, fdisk'd again, and then did
the disklabel by hand [a calculator come in handy here ;-) ].

Then, i mounted the SCSI drive, and copied the entire filesystem from the
IDE drive onto the SCSI.

Then a reboot, and... oops, forgot to edit the fstab.

Back to the IDE, mount the SCSI root slice, edit the fstab, then reboot
again, choose the SCSI drive and i have a working system off the SCSI drive.

So, it works now... still curious why it didn't work the first time...

On to update to -STABLE!

-Mit

>
>
> Hello!
>
> I've got a bit of a weird problem i'm hoping someone has some hints for...
>
> I'm installing FreeBSD 4.4-RELEASE (also tried todays's snapshot
> of -STABLE)
> via floppy onto a dual-processor ASUS motherboard with an Adaptec 7890
> on-board SCSI card and an IBM SCSI drive.
>
> I can install fine, but when i reboot, the boot manager pops up with the
> usual F1 prompt, but when i press F1, the machine beeps and
> nothing happens.
> Further pressing cause no more beeps.
>
> The weird thing is that with a FreeBSD 3.2 system on that machine,
> everything worked fine.
>
> So, i threw in an IDE drive that i have a GENERIC 4.3 on so i
> could at least
> boot the drive and get some diagnostics...
>
> Here's the card and drive in dmesg:
>
>
> ahc0: <Adaptec aic7890/91 Ultra2 SCSI adapter> port 0xd000-0xd0ff mem
> 0xe1000000-0xe1000fff irq 12 at device 6.0 on pci0
> aic7890/91: Wide Channel A, SCSI Id=7, 32/255 SCBs
>
> da0 at ahc0 bus 0 target 0 lun 0
> da0: <IBM DDRS-39130D DC1B> Fixed Direct Access SCSI-2 device
> da0: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing
> Enabled
> da0: 8715MB (17850000 512 byte sectors: 255H 63S/T 1111C)
>
> Now... i'm not sure is this is to be expected or not, but fdisk and
> disklabel show different geometry, and disklabel says there are *8*
> partitions when there is 4...:
>
> ariel# fdisk /dev/da0
> ******* Working on device /dev/da0 *******
> parameters extracted from in-core disklabel are:
> cylinders=29310 heads=29 sectors/track=21 (609 blks/cyl)
>
> Figures below won't work with BIOS for partitions not in cyl 1
> parameters to be used for BIOS calculations are:
> cylinders=29310 heads=29 sectors/track=21 (609 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 21, size 17849769 (8715 Meg), flag 80 (active)
>         beg: cyl 0/ sector 1/ head 1;
>         end: cyl 1023/ sector 21/ head 28
> The data for partition 2 is:
> <UNUSED>
> The data for partition 3 is:
> <UNUSED>
> The data for partition 4 is:
> <UNUSED>
>
> Disklabel comes up:
>
> ariel# disklabel /dev/da0s1
> # /dev/da0s1:
> type: SCSI
> disk: da0s1
> label:
> flags:
> bytes/sector: 512
> sectors/track: 21
> tracks/cylinder: 29
> sectors/cylinder: 609
> cylinders: 29309
> sectors/unit: 17849769
> 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:  1024000  1048576    4.2BSD     1024  8192    16   # (Cyl. 1721*-
> 3403*)
>   b:  1048576        0      swap                        # (Cyl.    0 -
> 1721*)
>   c: 17849769        0    unused        0     0         # (Cyl.    0 -
> 29309*)
>   e:  8388608  2072576    4.2BSD     1024  8192    16   # (Cyl. 3403*-
> 17177*)
>   f:  7388585 10461184    4.2BSD     1024  8192    16   # (Cyl. 17177*-
> 29309*)
> ariel# disklabel /dev/da0s1
> # /dev/da0s1:
> type: SCSI
> disk: da0s1
> label:
> flags:
> bytes/sector: 512
> sectors/track: 21
> tracks/cylinder: 29
> sectors/cylinder: 609
> cylinders: 29309
> sectors/unit: 17849769
> 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:  1024000  1048576    4.2BSD     1024  8192    16   # (Cyl. 1721*-
> 3403*)
>   b:  1048576        0      swap                        # (Cyl.    0 -
> 1721*)
>   c: 17849769        0    unused        0     0         # (Cyl.    0 -
> 29309*)
>   e:  8388608  2072576    4.2BSD     1024  8192    16   # (Cyl. 3403*-
> 17177*)
>   f:  7388585 10461184    4.2BSD     1024  8192    16   # (Cyl. 17177*-
> 29309*)
>
> I'm going to try reinstalling and specify the geometry, but i thought i'd
> ask in case someone has any hints.
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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