G
gelöscht
Guest
Hi,
Ich erhalte in letzter Zeit ständig Input/output-errors, wenn ich apt nutzen will.
Meistens ist es irgendeine Datei in dem Verzeichnis /var/lib/dpkg
In genau diesem Fall ( strace sei dank ), handelt es sich um /var/lib/dpkg/status.
Ein cat von der Datei ergibt folgendes:
Temporär kann ich das durch ein "/usr/bin/sudo mv status-old status" beheben.
Ich habe aber das Gefühl das mit meinem Filesystem ( ist ext3 ) ernsthaft etwas nicht in Ordnung ist ( vllt. sogar ein Hardware-Defekt?! ).
"dmesg" scheint meine These wohl auch zu unterstützen:
Also: Woran könnte das liegen/Wie kann ich es beheben?
greetz
Ich erhalte in letzter Zeit ständig Input/output-errors, wenn ich apt nutzen will.
Meistens ist es irgendeine Datei in dem Verzeichnis /var/lib/dpkg
In genau diesem Fall ( strace sei dank ), handelt es sich um /var/lib/dpkg/status.
Ein cat von der Datei ergibt folgendes:
Code:
$ cat /var/lib/dpkg/status
[...]
Architecture: i386
Version: 1:1.0.3-2
cat: status: Input/output error
Ich habe aber das Gefühl das mit meinem Filesystem ( ist ext3 ) ernsthaft etwas nicht in Ordnung ist ( vllt. sogar ein Hardware-Defekt?! ).
"dmesg" scheint meine These wohl auch zu unterstützen:
Code:
$ dmesg
[...]
[ 6375.505992] ata1.00: status: { DRDY ERR }
[ 6375.505992] ata1.00: error: { UNC }
[ 6375.507290] ata1.00: configured for UDMA/133
[ 6375.507290] ata1: EH complete
[ 6375.511903] sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
[ 6375.511903] sd 0:0:0:0: [sda] Write Protect is off
[ 6375.511903] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 6375.511903] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 6377.215278] ata1.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x0
[ 6377.215278] ata1.00: irq_stat 0x40000008
[ 6377.215278] ata1.00: cmd 60/08:00:2f:28:3b/00:00:0f:00:00/40 tag 0 ncq 4096 in
[ 6377.215278] res 51/40:08:35:28:3b/84:00:0f:00:00/00 Emask 0x409 (media error) <F>
[ 6377.215278] ata1.00: status: { DRDY ERR }
[ 6377.215278] ata1.00: error: { UNC }
[ 6377.216896] ata1.00: configured for UDMA/133
[ 6377.216896] ata1: EH complete
[ 6377.216896] sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
[ 6377.216896] sd 0:0:0:0: [sda] Write Protect is off
[ 6377.216896] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 6377.216896] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 6378.924266] ata1.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x0
[ 6378.924266] ata1.00: irq_stat 0x40000008
[ 6378.924266] ata1.00: cmd 60/08:00:2f:28:3b/00:00:0f:00:00/40 tag 0 ncq 4096 in
[ 6378.924266] res 51/40:08:35:28:3b/84:00:0f:00:00/00 Emask 0x409 (media error) <F>
[ 6378.924266] ata1.00: status: { DRDY ERR }
[ 6378.924266] ata1.00: error: { UNC }
[ 6378.925436] ata1.00: configured for UDMA/133
[ 6378.925436] sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
[ 6378.925436] sd 0:0:0:0: [sda] Sense Key : Medium Error [current] [descriptor]
[ 6378.925436] Descriptor sense data with sense descriptors (in hex):
[ 6378.925436] 72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00
[ 6378.925436] 0f 3b 28 35
[ 6378.925436] sd 0:0:0:0: [sda] Add. Sense: Unrecovered read error - auto reallocate failed
[ 6378.925436] end_request: I/O error, dev sda, sector 255535157
[ 6378.925436] ata1: EH complete
[ 6378.925436] sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
[ 6378.925436] sd 0:0:0:0: [sda] Write Protect is off
[ 6378.925436] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 6378.925436] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Also: Woran könnte das liegen/Wie kann ich es beheben?
greetz
Code:
Kernel: 2.6.26-1-686 #1 SMP
Distri: Debian Lenny