[BSD] adapter is in toaster mode

Gabor HALASZ halasz.g at freemail.hu
2010. Aug. 16., H, 15:04:05 CEST


Helo!

Van 3 oreg xseries szerverem, mindegyikben ugyanaz a rebranded mylex 
dac960 leszarmazott raid kartya, lenyeg, hogy ips driverrel megy (volt 
8.0 most 8.1). A drivernek van egy ilyen resze:

/* ips_timeout is periodically called to make sure no commands sent
  * to the card have become stuck.  If it finds a stuck command, it
  * sets a flag so the driver won't start any more commands and then
  * is periodically called to see if all outstanding commands have
  * either finished or timed out.  Once timed out, an attempt to
  * reinitialize the card is made.  If that fails, the driver gives
  * up and declares the card dead. */
static void ips_timeout(void *arg)
{
         ips_softc_t *sc = arg;
         int i, state = 0;
         ips_command_t *command;

         mtx_lock(&sc->queue_mtx);
         command = &sc->commandarray[0];
         for(i = 0; i < sc->max_cmds; i++){
                 if(!command[i].timeout){
                         continue;
                 }
                 command[i].timeout--;
                 if(!command[i].timeout){
                         if(!(sc->state & IPS_TIMEOUT)){
                                 sc->state |= IPS_TIMEOUT;
                                 device_printf(sc->dev, "WARNING: 
command timeout. Adapter is in toaster mode, resetting to known state\n");
                         }
                         ips_set_error(&command[i], ETIMEDOUT);


Ezt az uzenetet kisse gyakrabban lattam, mint szerettem volna (most ott 
tart a dolog, hogy a controller szerint mindket tomb jo, de a gep 
singleuser mode-ban sem indul el, megall a geom utan, es nez butan, de 
nem pusztult el, mert ctrlaltdel/acpi shutdown hatasara leall), es meg 
is allt tole a gep, igy megcsereltem ket raid kontrollert, de a hiba 
maradt azon a gepen, ahol volt, tehat nem a vezerlo beteg. Ramot is 
csereltem, plusz ecc-s is, es a serviceprocessor sem jelez hibat. Valami 
otlet?


-- 
Gabor HALASZ <halasz.g at freemail.hu>



További információk a(z) BSD levelezőlistáról