Pagina 1 di 3 1 2 3 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 22
  1. #1
    Moderatore di Sicurezza informatica e virus L'avatar di Habanero
    Registrato dal
    Jun 2001
    Messaggi
    9,782

    Debian non vede cdrom sata

    Ho un server su cui è installato Debian.
    Gli HD sono su un controller SAS.
    Il cdrom sata è collegato alla ata3.
    Il sistema non vede il cdrom.

    L'output di dmesg | grep ata3:

    codice:
    ata3: SATA max UDMA/133 cmd 0xFFFFC20000020200 ctl 0xFFFFC20000020220 bmdma 0xFFFFC20000020230 irq 10
    ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    ata3.00: ATAPI, max UDMA/100
    ata3.00: configured for UDMA/100
    ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x40000000 action 0x2 frozen
    ata3.00: (BMDMA stat 0x1)
    ata3.00: tag 0 cmd 0xa0 Emask 0x4 stat 0x40 err 0x0 (timeout)
    ata3: soft resetting port
    ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    ata3.00: configured for UDMA/100
    ata3: EH complete
    ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x40000000 action 0x2 frozen
    ata3.00: (BMDMA stat 0x1)
    ata3.00: tag 0 cmd 0xa0 Emask 0x4 stat 0x40 err 0x0 (timeout)
    ata3: soft resetting port
    ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    ata3.00: configured for UDMA/100
    ata3: EH complete
    ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x40000000 action 0x2 frozen
    ata3.00: (BMDMA stat 0x1)
    ata3.00: tag 0 cmd 0xa0 Emask 0x4 stat 0x40 err 0x0 (timeout)
    ata3: soft resetting port
    ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    ata3.00: configured for UDMA/100
    ata3: EH complete
    ata3.00: limiting speed to UDMA/66
    ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x40000000 action 0x2 frozen
    ata3.00: (BMDMA stat 0x1)
    ata3.00: tag 0 cmd 0xa0 Emask 0x4 stat 0x40 err 0x0 (timeout)
    ata3: soft resetting port
    ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    ata3.00: configured for UDMA/66
    ata3: EH complete
    ata3.00: limiting speed to UDMA/44
    ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x40000000 action 0x2 frozen
    ata3.00: (BMDMA stat 0x1)
    ata3.00: tag 0 cmd 0xa0 Emask 0x4 stat 0x40 err 0x0 (timeout)
    ata3: soft resetting port
    ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    ata3.00: configured for UDMA/44
    ata3: EH complete
    ata3.00: limiting speed to UDMA/33
    ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x40000000 action 0x2 frozen
    ata3.00: (BMDMA stat 0x1)
    ata3.00: tag 0 cmd 0xa0 Emask 0x4 stat 0x40 err 0x0 (timeout)
    ata3: soft resetting port
    ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    ata3.00: configured for UDMA/33
    ata3: EH complete
    ata3.00: limiting speed to UDMA/25
    ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x40000000 action 0x2 frozen
    ata3.00: (BMDMA stat 0x1)
    ata3.00: tag 0 cmd 0xa0 Emask 0x4 stat 0x40 err 0x0 (timeout)
    ata3: soft resetting port
    ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    ata3.00: configured for UDMA/25
    ata3: EH complete
    ata3.00: limiting speed to UDMA/16
    ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x40000000 action 0x2 frozen
    ata3.00: (BMDMA stat 0x1)
    ata3.00: tag 0 cmd 0xa0 Emask 0x4 stat 0x40 err 0x0 (timeout)
    ata3: soft resetting port
    ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    ata3.00: configured for UDMA/16
    ata3: EH complete
    ata3.00: limiting speed to PIO4
    ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x40000000 action 0x2 frozen
    ata3.00: (BMDMA stat 0x1)
    ata3.00: tag 0 cmd 0xa0 Emask 0x4 stat 0x40 err 0x0 (timeout)
    ata3: soft resetting port
    ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    ata3.00: configured for PIO4
    ata3: EH complete
    Qualcuno ha da darmi suggerimenti?
    Grazie
    Leggi il REGOLAMENTO!

    E' molto complicato, un mucchio di input e output, una quantità di informazioni, un mucchio di elementi da considerare, ho una quantità di elementi da tener presente...
    Drugo

  2. #2
    Utente di HTML.it L'avatar di GunMan
    Registrato dal
    Dec 2005
    Messaggi
    2,642
    dunque... per quanto riguarda l'errore

    codice:
    exception Emask 0x0 SAct 0x0 SErr 0x40000000 action 0x2 frozen
    che poi è quello che si ripete con maggior frequenza nell'output di dmesg potresti provare a risolvere inserendo come opzione in avvio libata_pata_dma=1 in /boot/grub/menu.lst
    Chaos A.D. Disorder unleashed.
    Starting to burn. Starting to lynch.
    Silence means death. Stand on your feet.
    Inner fear. Your worst enemy.

    Refuse / Resist

  3. #3
    Moderatore di Sicurezza informatica e virus L'avatar di Habanero
    Registrato dal
    Jun 2001
    Messaggi
    9,782
    non sembra funzionare...
    tra l'altro mi sono scordato di dire che l'avvio è molto lento e sembra bloccarsi proprio nella sezione relativa ad ata3.
    E' come se il sistema cercasse di testare il dispositivo e ad ogni tentativo provasse facendo un downgrade della frequenza di comunicazione.

    Ho però scoperto una cosa strana... se accendo il server con un cdrom inserito nel drive, il problema non si presenta. Il boot è veloce e il cd rom è accessibile dal sistema.

    Preferirei comunque risolvere il problema...
    Leggi il REGOLAMENTO!

    E' molto complicato, un mucchio di input e output, una quantità di informazioni, un mucchio di elementi da considerare, ho una quantità di elementi da tener presente...
    Drugo

  4. #4
    Utente di HTML.it L'avatar di GunMan
    Registrato dal
    Dec 2005
    Messaggi
    2,642
    mi pare a dir poco singolare questo comportamento, vorrei capire meglio.

    1) l'unità cdrom ha sempre malfunzionato?

    2) hai fatto aggiornamenti/modifiche al kernel?
    dato che si tratta di un server presumo che tu abbia installata stable, in ogni caso posta l'output di uname -r
    Chaos A.D. Disorder unleashed.
    Starting to burn. Starting to lynch.
    Silence means death. Stand on your feet.
    Inner fear. Your worst enemy.

    Refuse / Resist

  5. #5
    Moderatore di Sicurezza informatica e virus L'avatar di Habanero
    Registrato dal
    Jun 2001
    Messaggi
    9,782
    non so che dire... l'unità ha funzionato egregiamente per quanto riguarda l'installazione del SO dal DVD... poi, una volta dentro il sistema, il nulla.. accompagnato da un boot insolitamente lungo.

    Non ho fatto aggiornamenti al Kernel, la versione è Etch 4.0 r5.



    #uname -r
    2.6.18-6-amd64

    #uname -a
    Linux server 2.6.18-6-amd64 #1 SMP Wed Oct 15 10:07:11 UTC 2008 x86_64 GNU/Linux
    Leggi il REGOLAMENTO!

    E' molto complicato, un mucchio di input e output, una quantità di informazioni, un mucchio di elementi da considerare, ho una quantità di elementi da tener presente...
    Drugo

  6. #6
    Utente di HTML.it L'avatar di GunMan
    Registrato dal
    Dec 2005
    Messaggi
    2,642
    a meno che non sia una defaillance di quella precisa release del kernel con il tuo supporto ottico non so bene cosa altro pensare, per pure curiosità posteresti il contenuto di /etc/fstab e quello di /etc/mtab (quando nel lettore c'è un cd)

    tanto per capire anche un lsmod | grep sata
    Chaos A.D. Disorder unleashed.
    Starting to burn. Starting to lynch.
    Silence means death. Stand on your feet.
    Inner fear. Your worst enemy.

    Refuse / Resist

  7. #7
    Moderatore di Sicurezza informatica e virus L'avatar di Habanero
    Registrato dal
    Jun 2001
    Messaggi
    9,782
    il tutto è stato fatto con un cdrom nell'unità già a partire dal boot, cioè nel caso in cui il problema non si presenti.

    codice:
    # cat /ect/fstab
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    proc            /proc           proc    defaults        0       0
    /dev/sda3       /               ext3    defaults,errors=remount-ro 0       1
    /dev/sda6       /home           ext3    defaults        0       2
    /dev/sda5       none            swap    sw              0       0
    /dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0
    codice:
    # cat /ect/mtab
    /dev/sda3 / ext3 rw,errors=remount-ro 0 0
    tmpfs /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
    proc /proc proc rw,noexec,nosuid,nodev 0 0
    sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
    procbususb /proc/bus/usb usbfs rw 0 0un
    udev /dev tmpfs rw,mode=0755 0 0
    tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
    devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=620 0 0
    /dev/sda6 /home ext3 rw 0 0
    nfsd /proc/fs/nfsd nfsd rw 0 0
    rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
    /dev/scd0 /media/cdrom0 iso9660 ro,noexec,nosuid,nodev,user=giuliano 0 0
    codice:
    # lsmod | grep sata
    sata_svw               13828  1 un
    libata                106784  1 sata_svw
    Leggi il REGOLAMENTO!

    E' molto complicato, un mucchio di input e output, una quantità di informazioni, un mucchio di elementi da considerare, ho una quantità di elementi da tener presente...
    Drugo

  8. #8
    Moderatore di Sicurezza informatica e virus L'avatar di Habanero
    Registrato dal
    Jun 2001
    Messaggi
    9,782
    nel caso di avvio senza cdrom inserito, l'unica differenza è che in mtab manca l'ultima voce

    codice:
    /dev/scd0 /media/cdrom0 iso9660 ro,noexec,nosuid,nodev,user=giuliano 0 0
    Leggi il REGOLAMENTO!

    E' molto complicato, un mucchio di input e output, una quantità di informazioni, un mucchio di elementi da considerare, ho una quantità di elementi da tener presente...
    Drugo

  9. #9
    Utente di HTML.it L'avatar di GunMan
    Registrato dal
    Dec 2005
    Messaggi
    2,642
    sia fstab che mtab mi paiono corretti, al pari dei moduli caricati.

    a quanto pare il sistema è correttamente configurato a testimonianza di ciò c'è anche il corretto funzionamento del lettore quando un supporto è inserito.

    a questo punto, secondo me, riprende piede l'ipotesi che possa trattarsi di un qualche conflitto/malfunzionamento che riguarda il kernel con quel preciso dispositivo.

    cercando qualche informazioni in proposito mi sono imbattuto in questo bug report con questo oggetto: "2.6.18-rc3-mm1 gets mysterious udev timeouts during boot", l'errore di timeout della periferica è il medesimo e similare anche la release del kernel
    Chaos A.D. Disorder unleashed.
    Starting to burn. Starting to lynch.
    Silence means death. Stand on your feet.
    Inner fear. Your worst enemy.

    Refuse / Resist

  10. #10
    Moderatore di Sicurezza informatica e virus L'avatar di Habanero
    Registrato dal
    Jun 2001
    Messaggi
    9,782
    premetto che non sono un esperto in materia e che non vorrei combinare qualche pasticcio... mai ricompilato un kernel in vita mia. Prima o poi affronterò anche questo passo ma non vorrei mandare tutto all'aria su questa macchina...
    Secondo te la patch in questione può ragionevolmente risolvere il problema? Tu cosa faresti?

    Grazie ancora per l'interessamento.
    Leggi il REGOLAMENTO!

    E' molto complicato, un mucchio di input e output, una quantità di informazioni, un mucchio di elementi da considerare, ho una quantità di elementi da tener presente...
    Drugo

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.