From owner-FreeBSD-users-jp@jp.FreeBSD.org Wed Jul 16 00:44:53 2003
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id h6FFirZ31413;
	Wed, 16 Jul 2003 00:44:53 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from fifthluna.nokubi.or.jp (YahooBB219010004134.bbtec.net [219.10.4.134])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id h6FFirT31335
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Wed, 16 Jul 2003 00:44:53 +0900 (JST)
	(envelope-from h-nokubi@nokubi.dyndns.org)
Received: from nokubi.dyndns.org (sassaby.nokubi.or.jp [192.168.9.3])
	by fifthluna.nokubi.or.jp (8.12.6/8.11.4) with ESMTP id h6FFvtkw007287
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Wed, 16 Jul 2003 00:57:59 +0900 (JST)
	(envelope-from h-nokubi@nokubi.dyndns.org)
Message-Id: <200307151557.h6FFvtkw007287@fifthluna.nokubi.or.jp>
To: FreeBSD-users-jp@jp.FreeBSD.org
In-reply-to: Your message of "Tue, 15 Jul 2003 22:02:09 +0900."
             <ybs3ch8q6y6.wl@ett.sat.t.u-tokyo.ac.jp>
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=ISO-2022-JP
From: NOKUBI Hirotaka <h-nokubi@nokubi.dyndns.org>
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Wed, 16 Jul 2003 00:55:31 +0900
X-Sequence: FreeBSD-users-jp 75411
Subject: [FreeBSD-users-jp 75411] Re: 5.1-RELEASE can't resume from suspend on ThinkPad240 (2609-43J)
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: h-nokubi@nokubi.dyndns.org
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+030702

$B$3$s$P$s$o!#Ln<s$G$9!#(B

In message <ybs3ch8q6y6.wl@ett.sat.t.u-tokyo.ac.jp>, Hidetoshi Shimokawa writes:

>> > > > > DDB$B$GDI$C$F$_$?$H$3$m!"(Bata_reset() $B$N0J2<$KBP1~$9$k(B out$BL?Na$G(B
>> > > > $B;_$^$k$h$&$G$9!#(B
>> > > > ATA_IDX_OUTB(ch, ATA_DRIVE, ATA_D_IBM | ATA_SLAVE);
>> > > > ata-all.c $B$N(B 704$B9TL\(B
>> > > > > ata_reset() $B$N%3!<%I$O!"0JA0$KLdBj$,$J$+$C$?:"$HJQ2=$J$$$h$&$K(B
>> > > > $B8+$($k$N$G(B $B$*<j>e$2>uBV$G$9!#(B
>> > $B>e5-(B out$BL?Na$r(B #if 0 $B$G>C$7$?$i(B resume $B$G$-$k$h$&$K$J$j$^$7$?!#(B
>> $B!t(B $B$I$&$;%9%l!<%V$J$$$7(B
>
>$B$I$C$A(B(primary/secondary)$BB&$N(B slave $B$G$R$C$+$+$C$F$k$N$G$7$g$&$+(B?

primary$BB&$G$9!#(B

>$B;d$N(B machine $B$@$H(B, cdrom $B$,7Q$,$C$F$$$k(B secondary $BB&$N(B slave
>$B$,$J$$$O$:$J$N$K(B, $BJQ$J7A$G8!=P$5$l$F$$$k46$8$G$9(B.
>
>ata1-slave: timeout waiting for interrupt
>ata1-slave: ATAPI identify failed

ThinkPad240 $B$O(B PIIX4 $B$J$s$G!"(Bdmesg $B$K$O(B ata0$B!"(Bata1 $B$H$b=P$F$-$^$9!#(B
$B$=$7$F%G%#%9%/$O@5$7$/(B ata0-master $B$N$_$r8!=P$7$F$$$^$9$N$G!"(B
$B$=$NJU$O@5>o$G$9$M!#(B

>$B;d$N$H$3$m$G$O(B, PIO4 $B$K$7$F$_$^$7$?$,(B,
>
>Debugger("manual escape to debugger")
>Stopped at      Debugger+0x55:  xchgl   %ebx,in_Debugger.0
>db> panic
>panic: from debugger
>cpuid = 0; lapic.id = 00000000
>boot() called on cpu#0
>
>syncing disks, buffers remaining... 5542 5542 5542 5542 5542 5542 5542
>5542 5542 5542 5542 5542 5542 5542 5542 5542 5542 5542 5542 5542
>giving up on 5466 buffers
>Uptime: 3m11s
>Dumping 1015 MB
>ata0: resetting devices ..
>done
>
>$B$G%@%s%^%j$G$9(B. $B$^$@(B install $B$7$?$F$N(B machine $B$J$N$G(B, $B0JA0$&$^$/(B
>dump $B$,$H$l$F$$$?(B, $B$H$$$&$o$1$G$b$J$$$N$G$9$,(B..
>($B@h=5$0$i$$$N(B FreeBSD-current $B$G$9(B)

$BA05-%9%l!<%V<~$j$N=hCV$rF~$l$?>uBV$G!"(B
 - addump() $B$N(B once $B$N=i4|CM(B 0/1
 - hw.ata.ata_dma 0/1
$B$NAH$_9g$o$;$G(B ThinkPad240 $B$G$b;n$7$F$_$^$7$?$,!"(B

 - DMA$BM-8z$G$b(B ata_reinit() $B$N8F$S=P$7$,@.8y$9$l$P(B crash dump $B$O<h$l$k(B
 - ata_reinit() $B$r8F$P$J$/$F$b!"$b$H$b$H$,(B PIO4 $B%b!<%I$J$i(B
   crash dump $B$O<h$l$k$h$&$@(B

$B$H$$$&!"$"$?$j$^$($H$$$($P$"$?$j$^$($J7kO@$K$J$j$^$7$?!#(B
$BOG$o$;$F$7$^$C$F(B $B$9$$$^$;$s!#(B

# $B%P%C%U%!=q$-La$;$J$$$N$O(B $B$3$l$G$$$$$N$+(B?
----
NOKUBI Hirotaka
Fingerprint20 = DEBC 0793 7CD6 92F1 0A1F  A792 9E2F EEEE A41B 171D


[once $B$N=i4|CM(B=0$B!"(Bhw.ata.ata_dma=1 $B$N>l9g(B]

Debugger("manual escape to debugger")
Stopped at      Debugger+0x54:  xchgl   %ebx,in_Debugger.0
db> panic
panic: from debugger

syncing disks, buffers remaining... 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 
giving up on 21 buffers
Uptime: 16s
Dumping 191 MB
ata0: resetting devices ..
done
 16 32 48 64 80 96 112 128 144 160 176
Dump complete
Automatic reboot in 15 seconds - press a key on the console to abort

[once $B$N=i4|CM(B=0$B!"(Bhw.ata.ata_dma=0 $B$N>l9g(B]

Debugger("manual escape to debugger")
Stopped at      Debugger+0x54:  xchgl   %ebx,in_Debugger.0
db> panic
panic: from debugger

syncing disks, buffers remaining... 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 
giving up on 21 buffers
Uptime: 20s
Dumping 191 MB
ata0: resetting devices ..
done
 16 32 48 64 80 96 112 128 144 160 176
Dump complete
Automatic reboot in 15 seconds - press a key on the console to abort
Rebooting...

[once $B$N=i4|CM(B=1$B!"(Bhw.ata.ata_dma=1 $B$N>l9g(B]

Debugger("manual escape to debugger")
Stopped at      Debugger+0x54:  xchgl   %ebx,in_Debugger.0
db> panic
panic: from debugger

syncing disks, buffers remaining... 1667 1667 1667 1667 1667 1667 1667 1667 1667 1667 1667 1667 1667 1667 1667 1667 1667 1667 1667 1667 
giving up on 1443 buffers
Uptime: 1m19s
Dumping 191 MB
panic: ata_dmasetup: transfer active on this device!
Uptime: 1m19s
Automatic reboot in 15 seconds - press a key on the console to abort

[once $B$N=i4|CM(B=1$B!"(Bhw.ata.ata_dma=0 $B$N>l9g(B]

Debugger("manual escape to debugger")
Stopped at      Debugger+0x54:  xchgl   %ebx,in_Debugger.0
db> panic
panic: from debugger

syncing disks, buffers remaining... 1762 panic: bremfree: removing a buffer not on a queue
Uptime: 1m19s
Dumping 191 MB
 16 32 48 64 80 96 112 128 144 160 176
Dump complete
Automatic reboot in 15 seconds - press a key on the console to abort
