On Sat, Jun 05, 2010 at 05:50:39PM -0500, Neal Hogan wrote:
> On Sat, Jun 5, 2010 at 5:27 PM, Edho P Arief <[email protected]> wrote:
> > On Sun, Jun 6, 2010 at 5:14 AM, Neal Hogan <[email protected]> wrote:
> >> Hello,
> >>
> >> I just tried to upgrade my machine to 4.7 (release) and it IDs my hard
> >> drives differently than 4.6 did. That is, when asked (during upgrade)
> >> which disk the root partition is on it offers: sd0 wd0 wd1 wd2.
> >> However, what I'm expecting is: wd0 wd1 wd2 wd3
> >>
> >> Thus, fsck fails and therefore the upgrade does too. Will upgrading
> >> via source work? Fresh install? Note that I tried ramdisks from two
> >> different mirrors and was attempting a net install. I found no
> >> discussion/docs concerning this . . . I'm not even sure what to search
> >> for.
> >>
> >
> >> OpenBSD 4.6 (GENERIC.MP) #81: Thu Jul  9 21:26:19 MDT 2009
> >> pciide0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x00: DMA
> >> (unsupported), channel 0 configured to native-PCI, channel 1
> >> configured to native-PCI
> >> pciide0: using apic 4 int 22 (irq 10) for native-PCI interrupt
> >> pciide0: channel 0 ignored (not responding; disabled or no drives?)
> >> wd0 at pciide0 channel 1 drive 0: <ST3750528AS>
> >> wd0: 16-sector PIO, LBA48, 715404MB, 1465149168 sectors
> >
> >
> >> OpenBSD 4.7 (GENERIC.MP) #130: Wed Mar 17 20:48:50 MDT 2010
> >> ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x00: apic 4 int
> >> 22 (irq 10), AHCI 1.1
> >> scsibus0 at ahci0: 32 targets
> >> sd0 at scsibus0 targ 1 lun 0: <ATA, ST3750528AS, CC38> SCSI3 0/direct
> fixed
> >> sd0: 715404MB, 512 bytes/sec, 1465149168 sec total
> >
> >
> > In short: AHCI support for your SATA controller was added. Upgrade and
> > modify fstab accordingly.
> >
> >
> 
> OK . . . but I have another SATA drive.
> 
> wd0 at pciide0 channel 0 drive 1: <ST3500418AS>
> wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
> wd0(pciide0:0:1): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6
> 
> and it's not ID'ed that way.
> 
> Just to be clear, you mean for me to modify /etc/fstab, then upgrade .
> . . right.
> 
> Thanks for the response, Edho.

you probably don't want to edit fstab on a "live" system.  shutdown
might not be happy.

boot bsd.rd and use the (s) option to get a shell.  edit your fstab
then upgrade (you can use the 'upgrade' command in that shell to start
the upgrade script).

-- 
[email protected]
SDF Public Access UNIX System - http://sdf.lonestar.org

Reply via email to