Re: Notebook Dell nao desligada corretamente apos atualizacao
[ mensagem longa ]
Ola,
Acho que estou encontrando o caminho...
A mensagem de erro que aparece no console, logo apos o X encerrar rapidamente,
quando mando o gnome delisgar o micro é:
/dev/hda:
setting Advanced Power Management level to 0xfe (254)
HDIO_DRIVE_CMD failed: Input/output error
No /dev/hda esta o meu DVD/CD room/gravador e o meu hd esta no /dev/sda
marcelo@laia:~$ sudo hdparm -I /dev/hda
/dev/hda:
ATAPI CD-ROM, with removable media
Model Number: TSSTcorp DVD+/-RW TS-L632H
Serial Number:
Firmware Revision: D300
Standards:
Supported: CD-ROM ATAPI-3 -4 -5 -6 -7
Configuration:
DRQ response: 50us.
Packet size: 12 bytes
Capabilities:
LBA, IORDY(can be disabled)
DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=383ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* Power Management feature set
* PACKET command feature set
* DEVICE_RESET command
* NOP cmd
HW reset results:
CBLID- below Vih
Device num = 0 determined by CSEL
marcelo@laia:~$
marcelo@laia:~$ sudo hdparm -I /dev/sda
/dev/sda:
ATA device, with non-removable media
Model Number: FUJITSU MHW2120BJ FFS G2
Serial Number: K321T8126089
Firmware Revision: 0085001C
Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev
2.5; Revision: ATA8-AST T13 Project D1697 Revision 0b
Standards:
Used: ATA-8-ACS revision 3c
Supported: 8 7 6 5
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 234441648
LBA48 user addressable sectors: 234441648
device size with M = 1024*1024: 114473 MBytes
device size with M = 1000*1000: 120034 MBytes (120 GB)
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 8
Advanced power management level: disabled
Recommended acoustic management value: 254, current value: 128
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* DOWNLOAD_MICROCODE
Advanced Power Management feature set
SET_MAX security extension
* Automatic Acoustic Management feature set
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
* WRITE_{DMA|MULTIPLE}_FUA_EXT
* 64-bit World wide name
* IDLE_IMMEDIATE with UNLOAD
Disable Data Transfer After Error Detection
* WRITE_UNCORRECTABLE_EXT command
* {READ,WRITE}_DMA_EXT_GPL commands
* Segmented DOWNLOAD_MICROCODE
* Free-fall Control feature set
* SATA-I signaling speed (1.5Gb/s)
* SATA-II signaling speed (3.0Gb/s)
* Native Command Queueing (NCQ)
* Host-initiated interface power management
* Phy event counters
DMA Setup Auto-Activate optimization
Device-initiated interface power management
* Software settings preservation
* SMART Command Transport (SCT) feature set
* SCT LBA Segment Access (AC2)
* SCT Error Recovery Control (AC3)
* SCT Features Control (AC4)
* SCT Data Tables (AC5)
Security:
Master password revision code = 65534
supported
not enabled
not locked
frozen
not expired: security count
not supported: enhanced erase
120min for SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 5000e04179de19
NAA : 5
IEEE OUI : e
Unique ID : 04179de19
Checksum: correct
marcelo@laia:~$
No log do kernel aparece o seguinte erro:
Apr 25 20:44:13 laia kernel: hda: drive_cmd: status=0x51 { DriveReady
SeekComplete Error }
Apr 25 20:44:13 laia kernel: hda: drive_cmd: error=0x04 { AbortedCommand }
Apr 25 20:44:13 laia kernel: ide: failed opcode was: 0xec
Se eu tento desativar o APM do /dev/hda, repete-se o erro:
marcelo@laia:~$ sudo hdparm -B 255 /dev/hda
/dev/hda:
setting Advanced Power Management level to disabled
HDIO_DRIVE_CMD failed: Input/output error
marcelo@laia:~$
Entao, em algum lugar esta ajustado para o hd ser 254.
Já para o /dev/sda, tudo ok:
marcelo@laia:~$ sudo hdparm -B 254 /dev/sda
/dev/sda:
setting Advanced Power Management level to 0xfe (254)
marcelo@laia:~$
Então, acho que nas atualizacoes que fiz foi atualizado algum programa que mudou
as configuracoes de APM para os hds e meu sistema "se esqueceu" que eu tenho um
SATA e um CD Room.
Ja olhei no hdparm.conf e nao há nada de estranho nele. Alias, la so tem um quit
nao comentado. O resto esta tudo comentado.
Nao sei se estou no caminho, mas se alguem tiver outras ideias para me dar,
agradeceria.
MARCELO
Reply to: