From owner-freebsd-questions Mon Nov 12 22:47:30 2001 Delivered-To: freebsd-questions@freebsd.org Received: from castle.dreaming.org (castle.dreaming.org [216.221.214.170]) by hub.freebsd.org (Postfix) with ESMTP id 2A12D37B418 for ; Mon, 12 Nov 2001 22:47:21 -0800 (PST) Received: (from root@localhost) by castle.dreaming.org (8.11.6/8.11.6) id fAD6lEF25747; Tue, 13 Nov 2001 01:47:14 -0500 (EST) (envelope-from mitayai@dreaming.org) Received: from cr411661a (shadow.dreamlabs.com [216.129.214.38]) (authenticated) by castle.dreaming.org (8.11.6/8.11.6av) with ESMTP id fAD6l0Y25739; Tue, 13 Nov 2001 01:47:01 -0500 (EST) (envelope-from mitayai@dreaming.org) From: "Mit Rowe" To: "Chat@Gtabug. Org" , "questions@FreeBSD. ORG" Subject: RE: SCSI problem Date: Tue, 13 Nov 2001 01:43:50 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Virus-Scanned: by AMaViS perl-10 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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: 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: 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: > > The data for partition 3 is: > > The data for partition 4 is: > > > 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