reinitialisation of ata sometimes fails after acpi resume
alex65536 at yandex.ru
alex65536 at yandex.ru
Tue Feb 13 13:58:00 UTC 2007
Hi! I have a problem here with resuming my toshiba portege r100 from
suspend. Would you help me?
First of all, it resumes only with boot_verbose option. And it
sometimes crashes, especially with running Xorg. But sometimes nevertheless it resumes without problems.
Here is dmesg log when everything is ok:
...
ata0: reiniting channel ..
ata0: reset tp1 mask=03 ostat0=50 ostat1=00
ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata0: stat1=0x00 err=0x01 lsb=0x00 msb=0x00
ata0: reset tp2 stat0=50 stat1=00 devices=0x1<ATA_MASTER>
ad0: setting PIO4 on Intel ICH4 chip // <- good reinitialization
ad0: setting UDMA100 on Intel ICH4 chip // <-
ata0: reinit done ..
ata1: reiniting channel ..
ata1: reset tp1 mask=00 ostat0=ff ostat1=ff
ata1: reinit done ..
...
$$
And now the bad dmesg log:
...
ata0: reiniting channel ..
ata0: reset tp1 mask=03 ostat0=80 ostat1=80
ata0: stat0=0x80 err=0x80 lsb=0x80 msb=0x80
ata0: stat0=0x80 err=0x80 lsb=0x80 msb=0x80
ata0: stat0=0x80 err=0x80 lsb=0x80 msb=0x80
ata0: stat0=0x50 err=0x00 lsb=0xfe msb=0x3f
ata0: stat1=0x00 err=0x00 lsb=0xfe msb=0x3f
ata0: reset tp2 stat0=50 stat1=00 devices=0x0
ad0: detached // <- bad reinitialization
ata0: reinit done ..
ata1: reiniting channel ..
ata1: reset tp1 mask=00 ostat0=ff ostat1=ff
ata1: reinit done ..
...
After that a panic occurs with detached ad0.
It looks like a timing problem. Would you help me to find the way to
make it work.
dmesg output:
http://media-trest.ru/r100/dmesg
Thanx!
Alexandre Scherbanov
More information about the freebsd-current
mailing list