Date: Tue, 13 Feb 2007 16:45:11 +0300 From: alex65536@yandex.ru To: freebsd-current@freebsd.org Subject: reinitialisation of ata sometimes fails after acpi resume Message-ID: <1912119821.20070213164511@yandex.ru>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1912119821.20070213164511>
