Al Azif
24-05-2007, 12:09
May 23 11:30:41 localhost kernel: SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
May 23 11:31:16 localhost kernel: ata1: EH in ADMA mode, notifier 0x0 notifier_error 0x0 gen_ctl 0x1501000 status 0x400 next cpb count 0x0 next cpb idx 0x0
May 23 11:31:16 localhost kernel: ata1: CPB 1: ctl_flags 0x1f, resp_flags 0x2
May 23 11:31:16 localhost kernel: ata1: CPB 2: ctl_flags 0x1f, resp_flags 0x2
May 23 11:31:16 localhost kernel: ata1: timeout waiting for ADMA IDLE, stat=0x400
May 23 11:31:16 localhost kernel: ata1: timeout waiting for ADMA LEGACY, stat=0x400
May 23 11:31:16 localhost kernel: ata1.00: exception Emask 0x0 SAct 0x6 SErr 0x400000 action 0x2 frozen
May 23 11:31:16 localhost kernel: ata1.00: cmd 61/e8:08:97:f2:00/01:00:00:00:00/40 tag 1 cdb 0x0 data 249856 out
May 23 11:31:16 localhost kernel: res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
... e mi si freeza l'hd naturalmente. Ho scoperto che il problema è riconducibile all'NCQ, infatti l'HD sul canale 1 sata lo ha (quello che si freeza), l'HD sul canale 2 non lo ha. Per disabilitarlo ho visto qui: http://linux-ata.org/faq.html#ncq
@ubuntubox:~$ sudo echo 1 > /sys/block/sda/device/queue_depth
bash: /sys/block/sda/device/queue_depth: Permesso negato
@ubuntubox:~$ sudo sh -c "echo 1 > /sys/block/sda/device/queue_depth"
Password:
sh: cannot create /sys/block/sda/device/queue_depth: Permission denied
E sto bestemmiando perchè mi si blocca ogni tanto mentre lavoro, per fortuna non ho perso nulla per ora. Ho provato anche a creare uno script init, ma non me ne intendo molto, e non è cambiato nulla, probabilmente non l'ho saputo fare.
Qualcuno ha idee?
p.s.: lo faceva anche su windows, ma qui è bastato disabilitarlo dalle proprietà del controller sata.
May 23 11:31:16 localhost kernel: ata1: EH in ADMA mode, notifier 0x0 notifier_error 0x0 gen_ctl 0x1501000 status 0x400 next cpb count 0x0 next cpb idx 0x0
May 23 11:31:16 localhost kernel: ata1: CPB 1: ctl_flags 0x1f, resp_flags 0x2
May 23 11:31:16 localhost kernel: ata1: CPB 2: ctl_flags 0x1f, resp_flags 0x2
May 23 11:31:16 localhost kernel: ata1: timeout waiting for ADMA IDLE, stat=0x400
May 23 11:31:16 localhost kernel: ata1: timeout waiting for ADMA LEGACY, stat=0x400
May 23 11:31:16 localhost kernel: ata1.00: exception Emask 0x0 SAct 0x6 SErr 0x400000 action 0x2 frozen
May 23 11:31:16 localhost kernel: ata1.00: cmd 61/e8:08:97:f2:00/01:00:00:00:00/40 tag 1 cdb 0x0 data 249856 out
May 23 11:31:16 localhost kernel: res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
... e mi si freeza l'hd naturalmente. Ho scoperto che il problema è riconducibile all'NCQ, infatti l'HD sul canale 1 sata lo ha (quello che si freeza), l'HD sul canale 2 non lo ha. Per disabilitarlo ho visto qui: http://linux-ata.org/faq.html#ncq
@ubuntubox:~$ sudo echo 1 > /sys/block/sda/device/queue_depth
bash: /sys/block/sda/device/queue_depth: Permesso negato
@ubuntubox:~$ sudo sh -c "echo 1 > /sys/block/sda/device/queue_depth"
Password:
sh: cannot create /sys/block/sda/device/queue_depth: Permission denied
E sto bestemmiando perchè mi si blocca ogni tanto mentre lavoro, per fortuna non ho perso nulla per ora. Ho provato anche a creare uno script init, ma non me ne intendo molto, e non è cambiato nulla, probabilmente non l'ho saputo fare.
Qualcuno ha idee?
p.s.: lo faceva anche su windows, ma qui è bastato disabilitarlo dalle proprietà del controller sata.