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

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 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.

============================
 random: selecting highest priority adaptor <Dummy>
random: selecting highest priority adaptor <Yarrow>
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <Hitachi HDS723030ALA640 MKAOAA10> ATA8-ACS SATA 3.x device
ada0: Serial Number MK0301YHKT8A2A
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad4
ada1 at ahcich2 bus 0 scbus2 target 0 lun 0
ada1: <Hitachi HDS723030ALA640 MKAOAA10> ATA8-ACS SATA 3.x device
ada1: Serial Number MK0301YHKV1JWD
ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C)
ada1: Previously was known as ad8
ada2 at ata0 bus 0 scbus4 target 0 lun 0
ada2: <SAMSUNG HM080HI AB100-17> ATA-7 SATA 1.x device
ada2: Serial Number S0ZAJD0P700140
ada2: 150.000MB/s transfers (SATA, UDMA5, PIO 8192bytes)
ada2: 76319MB (156301488 512 byte sectors: 16H 63S/T 16383C)
ada2: Previously was known as ad0
ada3 at ata0 bus 0 scbus4 target 1 lun 0
ada3: <SAMSUNG HM080HI AB100-17> ATA-7 SATA 1.x device
ada3: Serial Number S0ZAJD0P700102
ada3: 150.000MB/s transfers (SATA, UDMA5, PIO 8192bytes)
ada3: 76319MB (156301488 512 byte sectors: 16H 63S/T 16383C)
ada3: Previously was known as ad1
===============================

>
>
> 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.
so how to make sure I include the patch?

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

Thanks for the detailed response.
Yudi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACo--mvKeExnaOw_t0s8ZFLtNTc=kst=3sgC%2BqEq88047OLTWg>