Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: configuring raid using gpt, large drives



Michael van Elst wrote:
> MLH wrote:
> > I had jsut (apparently) got that working, where the bootloader was
> > comoing up from either of my wd2 or wd3 boot wedges and askign for
> > the raid0 but then this happened, which is preventing the kernel
> > from seeing either wd2 or wd3:
> > 
> > [     2.152423] ahcisata1 port 5: device present, speed: 3.0Gb/s
> > [     2.152423] ahcisata1 port 0: device present, speed: 3.0Gb/s
> > [     2.152423] ahcisata1 port 4: device present, speed: 3.0Gb/s
> > [     2.752630] autoconfiguration error: ahcisata1 port 5: setting WDCTL_RST failed for drive 15
> > [     2.752630] autoconfiguration error: ahcisata1 port 4: setting WDCTL_RST failed for drive 15
> > [     3.252803] autoconfiguration error: ahcisata1 port 5: drive 15 reset failed, disabling PMP
> > [     3.252803] autoconfiguration error: ahcisata1 port 4: drive 15 reset failed, disabling PMP
> > [     3.352837] ahcisata1 port 5: device present, speed: 3.0Gb/s
> > [     3.352837] ahcisata1 port 4: device present, speed: 3.0Gb/s
> > 
> > wd0 and wd1 are old drives I really need to take offline. wd1 is
> > getting errors.
>  
> How did this "happen" ? This has nothing to do with booting or RAID.

Exactly. The bios sees the drives and can start the boot process
by loading the NetBSD bootloader from either one of them and that
bootloader can read "/netbsd' from either one of them and get that
running but then one or both of the drives then disappear *sometimes*
so the raid array is not available, or only one of the drives is
available.

> The disabled PMP should have helped the drive to be used, but apparently
> that's didn't work.

I have no idea what is going on. What was in the dmesg above is
the only clue I have seen that might explain why wd2 and wd3 aren't
being seen by the kernel *sometimes*. When they both are seen the
WDCTL_RST failed messages are not in the dmesg and this is all
there is instead:

[     2.158118] ahcisata1 port 0: device present, speed: 3.0Gb/s
[     2.158118] ahcisata1 port 5: device present, speed: 3.0Gb/s
[     2.158118] ahcisata1 port 4: device present, speed: 3.0Gb/s



Home | Main Index | Thread Index | Old Index