From: S.Caglar Onur (caglar.onur@tubitak.gov.tr)
Date: Tue 16 Sep 2003 - 12:09:28 EDT
Selamlar;
Öncelikle herkesten uzun ve loglarla dolu bu mail için özür dilerim.
Bugün syslog'da aşağıdaki hatayı buldum;
Sep 16 18:07:25 gentoo kernel: Attached scsi CD-ROM sr0 at scsi0, channel
0, id 0, lun 0
Sep 16 18:07:25 gentoo kernel: sr0: scsi3-mmc drive: 0x/24x writer cd/rw
xa/form2 cdda tray
Sep 16 18:07:25 gentoo kernel: Uniform CD-ROM driver Revision: 3.12
Sep 16 18:07:25 gentoo kernel: hda: dma_intr: status=0x51 { DriveReady
SeekComplete Error }
Sep 16 18:07:25 gentoo kernel: hda: dma_intr: error=0x04 { DriveStatusError }
Sep 16 18:07:25 gentoo kernel: hda: set_drive_speed_status: status=0x51 {
DriveReady SeekComplete Error }
Sep 16 18:07:25 gentoo kernel: hda: set_drive_speed_status: error=0xd0 {
BadSector UncorrectableError SectorIdNotFound }, LBAsect=13684944,
sector=11523432
Sep 16 18:07:25 gentoo kernel: hda: dma_intr: status=0x51 { DriveReady
SeekComplete Error }
Sep 16 18:07:25 gentoo kernel: hda: dma_intr: error=0x04 { DriveStatusError }
Sep 16 18:07:25 gentoo kernel: hda: set_drive_speed_status: status=0x51 {
DriveReady SeekComplete Error }
Sep 16 18:07:25 gentoo kernel: hda: set_drive_speed_status: error=0xd0 {
BadSector UncorrectableError SectorIdNotFound }, LBAsect=13684944,
sector=11523432
Bunun üzerine bad sectorler için şunu uyguladım fakat görünürde
birşey yok;
gentoo root # badblocks -n -s -p 10 /dev/hda 13685000 13684900
Checking for bad blocks (non-destructive read-write test): done
Checking for bad blocks (non-destructive read-write test): done
Checking for bad blocks (non-destructive read-write test): done
Checking for bad blocks (non-destructive read-write test): done
Checking for bad blocks (non-destructive read-write test): done
Checking for bad blocks (non-destructive read-write test): done
Checking for bad blocks (non-destructive read-write test): done
Checking for bad blocks (non-destructive read-write test): done
Checking for bad blocks (non-destructive read-write test): done
Checking for bad blocks (non-destructive read-write test): done
hdparm ve /proc/ide/piix çıktılarıda normal;
gentoo root # hdparm /dev/hda
/dev/hda:
multcount = 16 (on)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 3648/255/63, sectors = 58605120, start = 0
/dev/hda:
ATA device, with non-removable media
Model Number: TOSHIBA MK3017GAP
Serial Number: Y1R44590T
Firmware Revision: A0.02 H
Standards:
Supported: 5 4 3 2
Likely used: 6
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 58605120
device size with M = 1024*1024: 28615 MBytes
device size with M = 1000*1000: 30005 MBytes (30 GB)
Capabilities:
LBA, IORDY(can be disabled)
bytes avail on r/w long: 46 Queue depth: 1
Standby timer values: spec'd by Vendor, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Advanced power management level: unknown setting (0x0080)
DMA: sdma0 sdma1 sdma2 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:
* NOP cmd
* READ BUFFER cmd
* WRITE BUFFER cmd
* Host Protected Area feature set
* Look-ahead
* Write cache
* Power Management feature set
Security Mode feature set
* SMART feature set
SET MAX security extension
* Advanced Power Management feature set
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
36min for SECURITY ERASE UNIT.
HW reset results:
CBLID- above Vih
Device num = 0 determined by the jumper
Checksum: correct
gentoo root # cat /proc/ide/piix
Controller: 0
Intel PIIX4 Ultra 100 Chipset.
--------------- Primary Channel ---------------- Secondary Channel
-------------
enabled enabled
--------------- drive0 --------- drive1 -------- drive0 ---------- drive1
------
DMA enabled: yes no no yes
UDMA enabled: yes no no no
UDMA enabled: 5 X X X
UDMA
DMA
PIO
gentoo root # uname -a
Linux gentoo.tetm.tubitak.gov.tr 2.4.22...
gentoo root # hdparm -V
hdparm v5.4
Sistem çalışıyor görünürde hiçbir problem yok problemin
2.4.21 de olmadığından eminim hdparm'ı upgrade edip
etmediğimi hatırlamıyorum böyle bir hata alıp normal
çalışması bir bug sonucu falan mı yoksa disk ömrünü
tamamlamış mı yada diskin garantisi bitmeden problemi tam
olarak anlamak için başka ne yapabilirim ?
Saygılar
S.Çağlar Onur