Wednesday 10 May 2006

iBook チェック手順



iBook チェック手順ってのを書いてみました。

異常の内容をはっきりさせる;

main:

if (boot する) {

  if (問題無) return Ok;

  if (Network の問題) {
    物理層のチェック (ケーブル、ランプなど);
    if (特定のアプリケーションの問題) {
      if (ssh で接続できない) {
        ssh -v で原因を特定;
      } else if (メールの問題) {
        設定を調べる;
        server のlog を調べる;
      }
      if (直った) goto main;
    }
    if (duplicate IP address) {
      ニュースに投稿;
      一時的に別なアドレスを使う;
      return duplicate IP address;
    }
    if (新しいネットワークの設定を作成して動作) {
      return ネットワーク設定不良;
    }
  }

  Install CD から、ディスクの修復、権限の修復を行う;
  PM Reset;
  PRAM Reset;

  新しいユーザを作成し、そこでチェック;
  if (新しいユーザでは問題は起きない) {
    // ユーザ固有の設定の問題
    ~/Library 以下のチェック、必要なら削除;
    if (直らなかった) {
      新しいユーザへ移行;
    }
    return Ok;
  } else {
    アプリケーションに関するエラーメッセージをチェック;
    if (特定のアプリケーションの問題) {
      if (X11関連) {
        どのApplication Default を読んでいるのか調べる;
        Application Default/.xinirc の設定の見直し;
      }
      if (アプリケーションを上書きして動作) return Ok;
    }
    if (ディスク容量のチェックで動作) goto main;
    // Hardware_check へ;
  }
}
Hardware_check:

if (電源が入る) {
  PM Reset;
  PRAM Reset;

  if (Safe boot で、動作) {
    goto main;
  }
  if (single user boot で、動作) {
    fsck -fy;
    if (boot する) goto main;
  }
  if (Install CD で、boot) {
    if (Install CD から、ディスクの修復、権限の修復で動作) {
      goto main;
    }
    if (Hard Disk を認識) {
      // Boot sector 異常か?
      if (上書きInstall で動作) {
        goto main;
      }
      バックアップを取る
      if (Full install で動作) {
        goto main;
      }
      // Haredware Test へ
    } else {
      return HD 死亡;
    }
  }
  if (Hardware Test CD でチェックで異常) {
    return 本体異常;
  }
  if (Target mode でboot) {
    バックアップを取る;
    上書きInstall ;
    if (CDを認識しない) {
      return CD 異常;
    }
  }
} else {
  // 電源が入らない場合
  電源をチェック;
  if (電源ケーブルのランブはついている) {
    if (電池のボタンを押してランプがつく) {
      if (PM reset を試して動いた) {
        goto main;
      }
    } else if (電源を交換して動作した) {
      return 電池異常;
    }
  } else if (電源を交換して動作した) {
    retun 電源異常 ;
  }
  return 本体異常;
}

結果を admin ML および、Wiki 上で報告 (必須)

Boot option

  Command-Option-P-R Reset Parameter RAM (PRAM) and non-volatile RAM (NVRAM)
  T Boot into Firewire target disk mode
  Shift Boot into "Safe Boot" mode, which runs Disk First Aid.
    A reboot will be required afterward.
  Command-S Boot into Single User Mode
  (mouse button) Eject (internal) removable media

Power Manager reset は、機種によって異なる

  http://docs.info.apple.com/article.html?artnum=14449

For iBook (16 VRAM) and later models of iBook, there is no physical reset butto
n.

  If the computer is on, turn it off. Reset the power manager
  by simultaneously pressing and then releasing Shift-Control-
  Option-Power on the keyboard. Do not press the fn (Function)
  key while using this combination of keystrokes. Wait 5 seconds.
  Press the Power button to restart the iBook computer.

No comments: