Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jun 2015 16:23:41 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Yudi V <yudi.tux@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Help fixing a bug; HP MicroServer N40L; CAM status: Command timeout
Message-ID:  <20150628162341.13473f1b.freebsd@edvax.de>
In-Reply-To: <CACo--mvKeExnaOw_t0s8ZFLtNTc=kst=3sgC%2BqEq88047OLTWg@mail.gmail.com>
References:  <CACo--mscUYPpcT=XV==nNQCkX3hWj18C0x588=w%2BFRjU0FteBg@mail.gmail.com> <20150628144020.e72e3f79.freebsd@edvax.de> <CACo--mvKeExnaOw_t0s8ZFLtNTc=kst=3sgC%2BqEq88047OLTWg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 29 Jun 2015 00:05:31 +1000, Yudi V wrote:
> > Have you already verified that there are no hardware errors
> > (bad cabling of the cages)
> 
> 
> Given that v11 works without any errors, I assumed it has to be a software
> bug.

I just mentioned it because SATA sometimes shows the
"funniest" errors due to a minimally misaligned plug. :-)



> > > ==============================================
> > > I tried the suggestion from
> > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195349#c30
> > >
> > > added hint.ahci.0.msi="1" to /boot/loader.conf  but did not fix the issue
> >
> > This is only effective after a reboot. Have you done that?
> > Have you verified that you applied the setting to the correct
> > ahci device? Check "dmesg | grep ahci" to see if there are
> > more than one controller in the system.
> >
> That's a good suggestion, based on the below output of "dmesg | grep ada"
> I added  "hint.atapci.0.msi="0" (also 1) but did not resolve the issue.

The output of dmesg indicates that the drives are of different
speed capabilities (2 x 300MB/s, 2 x 150MB/s). Are those the
four ones that occupy the 4 cages (and are probably connected
to the same controller)?

If you check "dmesg | grep ahci" you can see which controllers
are available. Using "camcontrol devlist" you can examine how
the drives are connected to the available buses.



> > In order to build a custom kernel, you need to know _which
> > difference_ it should implement compared to the GENERIC
> > kernel. "Just building one", as I mentioned, probably will
> > not be of great help.
> >
> 
> I thought downloading the latest source files with the patch should be
> enough to include the patch, I am guessing that was incorrect thinking.

If you download the latest sources, you're trying to install
a v11 kernel on a v10 system (which might or might not work).
The patch, as far as I understand, applies to v11 (and might
or might not work with v10). Kernel and world need to be in
sync to work properly.



> so how to make sure I include the patch?

Download it and apply it using the "patch" command, for
example "patch < /tmp/the-patch-file".



>  I will reread the docs and try rebuilding the kernel again.

If you have confirmed that v11 works for you, why not use the
current snapshot? It already seems quite stable...


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



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