Hirdetés

Új hozzászólás Aktív témák

  • ecaddict

    senior tag

    válasz Tutu7030 #11991 üzenetére

    Nem tudom mennyire van kedved (gondolom semennyire; inkább mennyire fontos ez neked), hogy megtaláld a forrását a dolognak.

    Amiből ki lehetni indulni az ez a sor (annak is a legvége):
    SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 70000

    Ha letöltöd az Oleg forrását akkor a ../broadcom/src/linux/linux-2.4.37.7/drivers/scsi/
    könyvtárban van egy scsi.h, ahol a megfejtése van a hibakódnak:
    /*
    * Use these to separate status msg and our bytes
    *
    * These are set by:
    *
    * status byte = set from target device
    * msg_byte = return status from host adapter itself.
    * host_byte = set by low-level driver to indicate status.
    * driver_byte = set by mid-level.
    */
    #define status_byte(result) (((result) >> 1) & 0x1f)
    #define msg_byte(result) (((result) >> 8) & 0xff)
    #define host_byte(result) (((result) >> 16) & 0xff)
    #define driver_byte(result) (((result) >> 24) & 0xff)
    #define suggestion(result) (driver_byte(result) & SUGGEST_MASK)

    Ez a 7-es érték a host_byte részen van.

    /*
    * the return of the status word will be in the following format :
    * The low byte is the status returned by the SCSI command,
    * with vendor specific bits masked.
    *
    * The next byte is the message which followed the SCSI status.
    * This allows a stos to be used, since the Intel is a little
    * endian machine.
    *
    * The final byte is a host return code, which is one of the following.
    *
    * IE
    * lsb msb
    * status msg host code
    *
    * Our errors returned by OUR driver, NOT SCSI message. Or'd with
    * SCSI message passed back to driver <IF any>.
    */

    #define DID_OK 0x00 /* NO error */
    #define DID_NO_CONNECT 0x01 /* Couldn't connect before timeout period */
    #define DID_BUS_BUSY 0x02 /* BUS stayed busy through time out period */
    #define DID_TIME_OUT 0x03 /* TIMED OUT for other reason */
    #define DID_BAD_TARGET 0x04 /* BAD target. */
    #define DID_ABORT 0x05 /* Told to abort for some other reason */
    #define DID_PARITY 0x06 /* Parity error */
    #define DID_ERROR 0x07 /* Internal error */
    #define DID_RESET 0x08 /* Reset by somebody. */
    #define DID_BAD_INTR 0x09 /* Got an interrupt we weren't expecting. */
    #define DID_PASSTHROUGH 0x0a /* Force command past mid-layer */
    #define DID_SOFT_ERROR 0x0b /* The low level driver just wish a retry */
    #define DRIVER_OK 0x00 /* Driver status */

    Ez egy driver error. A driver valamiért nem tudja olvasni a diszket, ugye ez van a logban:
    I/O error: dev 08:00, sector 0

    Anno emlékszem, hogy valamelyik régi Oleg nem tudta kezelni a hub-ot, ha volt rajta USB1.1-es cucc is.

    Kérdések:
    Ugye a legújabb Oleget használod (r1000)?
    Mindenféleképpen kell a hub (nincs a rack-nek tápcsatija ahol tudnál tápot adni)?
    Van a hub-on még más is?

    Ha a legújabb Oleg-et használod, lehetni új issue-t is nyitni.

    [ Szerkesztve ]

    ### RT-N16, WL-500 Oleg optware script ami majdnem mindent feltesz ### ===========> http://wl500g.info/showthread.php?t=23684 <===========

Új hozzászólás Aktív témák