Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jul 2003 17:07:59 +0200
From:      Daniel Lang <dl@leo.org>
To:        Thomas Quinot <thomas@FreeBSD.ORG>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: atapicam hangs system
Message-ID:  <20030717150759.GA811@atrbg11.informatik.tu-muenchen.de>
In-Reply-To: <20030715142556.GA380@atrbg11.informatik.tu-muenchen.de>
References:  <20030704094935.GA335@atrbg11.informatik.tu-muenchen.de> <20030704130345.GA348@atrbg11.informatik.tu-muenchen.de> <20030708184838.GB26342@melusine.cuivre.fr.eu.org> <20030715142556.GA380@atrbg11.informatik.tu-muenchen.de>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi,

I managed to do some more investigations.

Daniel Lang wrote on Tue, Jul 15, 2003 at 04:25:56PM +0200:
[..]
> After two successful writes, the system hung again, as before.
> _No_ messages on the console.

I found out, that the hangs do not appear (or way less likely),
if the writing speed used is <= 12. But they seem to occur
very likely if the (attempted) writing speed is like 48.

Maybe this is an important hint. Although the drive and the
media claim to support speed 48, it seems that the 
overall throughput is in fact slower. 20-30 as it seems
to me. Still I manage to write now and then a CD using this
setting, but maybe after a while something gets confused, if
the application tries to keep up a high writing speed, but
the drive (or rest of the system, bus, etc) cannot keep up
with that. Does this sound reasonable or am I poking in the utter
darkness here?

> I entered the debugger with Ctrl-Alt-Esc and did a trace.
> I did not copy everything, because I thought I could use gdb -k
> later on (I was wrong). However, what I've saved from the trace was:
> 
> Apparently the system hung in
> 
> camisr(c02f3250,c02b7078,c253aa3,0,10) at camisr+0x8f
> 
> eip: 0xc01279d7, esp: 0xc0297008, ebp: 0xc0297020
> 
> Please advice what to examine how.
[..]
> Remote-GDB debugging is not an option, unfortunately. I don't have
[..]

I withdraw that statement! I did set up a remote gdb session
successfully!

But it was sort of useless.

After the system hung again, I used Ctrl-Alt-Esc to enter DDB.
I fired up the remote gdb and told it to remote connect.
Then I issued the 'gdb' command to DDB.
The remote gdb took over and I was in control.

But it seems useless, because the stack did only contain
the DDB routines? I include the (as it seems useless)
backtrace here:

Program received signal SIGTRAP, Trace/breakpoint trap.
Debugger (msg=0xc02a7c49 "manual escape to debugger")
    at /usr/src/sys/i386/i386/db_interface.c:319
319              * XXX
(kgdb) bt
#0  Debugger (msg=0xc02a7c49 "manual escape to debugger")
    at /usr/src/sys/i386/i386/db_interface.c:319
#1  0xc024ce92 in scgetc (sc=0xc030cb20, flags=2)
    at /usr/src/sys/dev/syscons/syscons.c:3164
#2  0xc0249645 in sckbdevent (thiskbd=0xc0305540, event=0, arg=0xc030cb20)
    at /usr/src/sys/dev/syscons/syscons.c:617
#3  0xc0240ea6 in atkbd_intr (kbd=0xc0305540, arg=0x0)
    at /usr/src/sys/dev/kbd/atkbd.c:462
#4  0xc026c48c in atkbd_isa_intr (arg=0xc0305540)
    at /usr/src/sys/isa/atkbd_isa.c:140
#5  0xc02531ef in Xresume1 ()

How do I get to the hanging routine from here?

I'm willing to trace the problem from here, but I need advice
how to proceed. 

Thanks a lot.

Daniel
-- 
IRCnet: Mr-Spock         - "I hear that, if you play the WindowsXP CD
                                backwards, you get a Satanic message!"
    - "That's nothing. If you play it forward, it installs WindowsXP!"
 Daniel Lang * dl@leo.org * +49 89 289 18532 * http://www.leo.org/~dl/

[-- Attachment #2 --]
0	*H
q0m10	+0	*H
@00{0
	*H
010	UDE10UMuenchen1)0'U
 Technische Universitaet Muenchen1"0 UFakultaet fuer Informatik10URBG-Benutzer-CA10	*H
	ca@in.tum.de0
030520123142Z
040521000000Z010	UDE10UMuenchen1)0'U
 Technische Universitaet Muenchen1"0 UFakultaet fuer Informatik10UDaniel Lang1$0"	*H
	daniel.lang@in.tum.de00
	*H
0U]݅.7p)Wqz\cE:#h400_i6$}PIa1^'dnDU;01'v<d{B[t1N0{0U00Urzoo	oyݡ0U#05:0mǟKqH(cԡ010	UDE10UMuenchen1)0'U
 Technische Universitaet Muenchen1"0 UFakultaet fuer Informatik10
URBG-CA10	*H
	ca@in.tum.de0U0U%0++0U0langd@in.tum.dedaniel.lang@in.tum.delangd@informatik.tu-muenchen.de%daniel.lang@informatik.tu-muenchen.delangd@cs.tum.edudaniel.lang@cs.tum.edu
dl@leo.org0	U008U10/0-+)'http://ca.in.tum.de/crls/userca_crl.crl0	`HB0	`HB
Dieses Zertifikat wurde ausgestellt fuer Daniel Lang von der RBG-Benutzer-CA, Fakultaet fuer Informatik der Technischen Universitaet Muenchen.06	`HB)'http://ca.in.tum.de/cgi-bin/userca-rev?02	`HB%#http://ca.in.tum.de/cgi-bin/ca-rev?06	`HB)'http://ca.in.tum.de/policies/rbgca.html0
	*H
yC9zOzoѯӹ]0 5->l̆MmdW0E	$1]d%d1>qJ/NOV|#zvTư)%+#
 -KS2 	25ܺ3O7qOj2JgpL]ެ5EaSta[Fc7廞(	B
+wsUbi;8'YQeN nk$X®WMq&qlCT0(00
	*H
010	UDE10UMuenchen1)0'U
 Technische Universitaet Muenchen1"0 UFakultaet fuer Informatik10
URBG-CA10	*H
	ca@in.tum.de0
021009164103Z
040521000000Z010	UDE10UMuenchen1)0'U
 Technische Universitaet Muenchen1"0 UFakultaet fuer Informatik10U
RBG-Server-CA10	*H
	ca@in.tum.de0"0
	*H
0
 \l ~svLV I`Ɩ|;iT_|zw(r_$h?ajzMY	gGlC9X_/2&>H?]:NOBU^5]])P`L.!q`y6Z<o=la<TeבîT6,/~#(K=Uj9pw"`%Ab wjc~0Ab^o'7зh0d0U00U{EPT]C+@0U#0e~MA?*{}]010	UDE10UMuenchen1)0'U
 Technische Universitaet Muenchen1"0 UFakultaet fuer Informatik10
URBG-CA10	*H
	ca@in.tum.de0U0U%0
+04U-0+0)'%#http://ca.in.tum.de/crls/ca_crl.crl0	`HB0	`HB
wuZertifikat fuer RBG-Server-CA ausgestellt von RBG-CA, Fakultaet fuer Informatik der Technischen Universitaet Muenchen02	`HB%#http://ca.in.tum.de/cgi-bin/ca-rev?0<	`HB/-http://ca.in.tum.de/policies/servercapol.html0
	*H
ʝBof(HT:aB/)j-Ínݟӗ5@IŶҧ㭬
?c
~	PYy#`|2X(&q~N:@uámgtA@*=<'fzvm{ғ0dXWsx)yC9,Ns%%îd-$`ES1b:,{Mw^SKlANMf2d]%8)FQ>ֵ^&^?Ž_"Y{& t2px#߲Vm&6D o	t,1tmʫ_bKm$_W1dCj笞V63`Őj>_p~/%9 %ʬ4Jo~kA^GXX.֙BdmX*Ye%}zI/נ'-k%0@0(0
	*H
010	UDE10UMuenchen1)0'U
 Technische Universitaet Muenchen1"0 UFakultaet fuer Informatik10
URBG-CA10	*H
	ca@in.tum.de0
021009170352Z
040521000000Z010	UDE10UMuenchen1)0'U
 Technische Universitaet Muenchen1"0 UFakultaet fuer Informatik10URBG-Benutzer-CA10	*H
	ca@in.tum.de0"0
	*H
0
arq:*弘)yPv9ow/r#U2u*zоOKh	aWf% ిƜ;~l|%A0gڧQwg	$xX.1e.zFdEZ7,Gq9{@]8laT#kQ""6p#:܅`)ɌB(iӭzڱU[.Wn{ABh]x}~0z0U00U5:0mǟKqH(c0U#0e~MA?*{}]010	UDE10UMuenchen1)0'U
 Technische Universitaet Muenchen1"0 UFakultaet fuer Informatik10
URBG-CA10	*H
	ca@in.tum.de0U0U%0++04U-0+0)'%#http://ca.in.tum.de/crls/ca_crl.crl0	U00	`HB0	`HB
zxZertifikat fuer RBG-Benutzer-CA, ausgestellt von RBG-CA, Fakultaet fuer Informatik der Technischen Universitaet Muenchen02	`HB%#http://ca.in.tum.de/cgi-bin/ca-rev?0:	`HB-+http://ca.in.tum.de/policies/usercapol.html0
	*H
MėN^[-z|*dt[BN,yƑjP&(]/]I
]+Ab~gEⷃs?RW>:bu	˖qA`K.3mWԯ	;kGrnX]j83Ǔ2e>Gզ^
gMi7-F=Eր熮;\qx7ǖ.rHٓ@A:c>A0&/T,*@_z>;&VPtdaE;įjMS<4#ʜ"SþN|.U >]tݠbq7:Hޫ,MP:Nև8V4(FD9 EmHyuVoX&#SQW`}ɱ<9uψu笔lG=>I"-B4a|x2y_k7?pVw>j&@Y\7100010	UDE10UMuenchen1)0'U
 Technische Universitaet Muenchen1"0 UFakultaet fuer Informatik10URBG-Benutzer-CA10	*H
	ca@in.tum.de{0	+0	*H
	1	*H
0	*H
	1
030717150759Z0#	*H
	16Bk}FK=m#f0R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0
	*H
.qWC1%l)7k/p^e46wGaZv"Vh|-7"6T5aήbVb= C~KHY@)-d"ZؾX/-.

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030717150759.GA811>