Re: sd* at atapibus and 2200bg driver issues.

Charles Brown <[email protected]> Sun, 29 Apr 2012 23:20:36 +0200
Newsgroups gmane.os.netbsd.ports.sandpoint
Message-ID <CAPA5q9b10Skb-p4Wure1Wi0Mpd7Vfe2XR=TQt2b4XAYOSkSbuw@mail.gmail.com>
--f46d04428ff4a3438d04bed7e8d8
Content-Type: text/plain; charset=ISO-8859-1

Thank you Frank.
I think that the heavy disk i/o could be the cause, but please consider
this:
1) I could reproduce the hang only via wifi network, using the intel wifi
card (802.11g).
2) using the gigabit ethernet connection i haven't got the problem.
3) during the test of the sd-at-atapi kernel mod, I have managed to send
and receive between my internal disk and the usb disk a burst of 5Mb files
and my beloved :) 20Gb file, repeatedly:
no hangs at all. Maybe the long duration of the wireless file transfert
could affect this issue?
May I ask you how I can activate the kernel/device driver debugger? I tried
to recompile the kernel with debug option enabled, and defined also
iwi_debug in source driver, but I'm only able to obtain messages during the
ifconfig/wpa supplicant phase.
In driver source there's a NDBGL? macro: how can I enable and use it???
Google doesn't help in this case! :)
Now i'll leave my dsm box under heavy disk load via gigabit ethernet all
night long, hope I could reproduce the same problem.
Bye!
 Il giorno 29/apr/2012 18:09, "Frank Wille" <[email protected]> ha
scritto:

> On Sun, 29 Apr 2012 15:56:36 +0200
> Charles Brown <[email protected]> wrote:
>
> > sd*   at atapibus? drive ? flags 0x0000
> >
> > [...]
> > Please, could you consider to enable "sd at atapi" support on GENERIC?
>
> Sure. This should be in. Done.
> We will try to get it into the 6.0 release too.
>
>
> > When I try to send or receive via FTP a 20GB test file, the system
> > hangs. [...]
> > the shell hangs and If I press <CTRL+T> this is what SIGINFO output
> > reports:
> >
> > dsm-g600# ls
> > load: 0.07  cmd: ls 911 [biowait] 0.00u 0.03s 0% 1168k
>
> I guess it has nothing to do with the network, but might be the same
> lockup under heavy disk i/o load, which Toru Nishimura reported on the
> port-powerpc list yesterday:
> http://mail-index.netbsd.org/port-powerpc/2012/04/28/msg003187.html
>
> A serious problem indeed.
>
> --
> Frank Wille
>

--f46d04428ff4a3438d04bed7e8d8
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p>Thank you Frank.<br>
I think that the heavy disk i/o could be the cause, but please consider thi=
s:<br>
1) I could reproduce the hang only via wifi network, using the intel wifi c=
ard (802.11g).<br>
2) using the gigabit ethernet connection i haven&#39;t got the problem.<br>
3) during the test of the sd-at-atapi kernel mod, I have managed to send an=
d receive between my internal disk and the usb disk a burst of 5Mb files an=
d my beloved :) 20Gb file, repeatedly:<br>
no hangs at all. Maybe the long duration of the wireless file transfert cou=
ld affect this issue? <br>
May I ask you how I can activate the kernel/device driver debugger? I tried=
 to recompile the kernel with debug option enabled, and defined also iwi_de=
bug in source driver, but I&#39;m only able to obtain messages during the i=
fconfig/wpa supplicant phase.<br>

In driver source there&#39;s a NDBGL? macro: how can I enable and use it???=
 Google doesn&#39;t help in this case! :)<br>
Now i&#39;ll leave my dsm box under heavy disk load via gigabit ethernet al=
l night long, hope I could reproduce the same problem.<br>
Bye!<br>
</p>
<div class=3D"gmail_quote">Il giorno 29/apr/2012 18:09, &quot;Frank Wille&q=
uot; &lt;<a href=3D"mailto:[email protected]">[email protected]</a>&g=
t; ha scritto:<br type=3D"attribution"><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Sun, 29 Apr 2012 15:56:36 +0200<br>
Charles Brown &lt;<a href=3D"mailto:[email protected]">obigiankenobi@=
gmail.com</a>&gt; wrote:<br>
<br>
&gt; sd* =A0 at atapibus? drive ? flags 0x0000<br>
&gt;<br>
&gt; [...]<br>
&gt; Please, could you consider to enable &quot;sd at atapi&quot; support o=
n GENERIC?<br>
<br>
Sure. This should be in. Done.<br>
We will try to get it into the 6.0 release too.<br>
<br>
<br>
&gt; When I try to send or receive via FTP a 20GB test file, the system<br>
&gt; hangs. [...]<br>
&gt; the shell hangs and If I press &lt;CTRL+T&gt; this is what SIGINFO out=
put<br>
&gt; reports:<br>
&gt;<br>
&gt; dsm-g600# ls<br>
&gt; load: 0.07 =A0cmd: ls 911 [biowait] 0.00u 0.03s 0% 1168k<br>
<br>
I guess it has nothing to do with the network, but might be the same<br>
lockup under heavy disk i/o load, which Toru Nishimura reported on the<br>
port-powerpc list yesterday:<br>
<a href=3D"http://mail-index.netbsd.org/port-powerpc/2012/04/28/msg003187.h=
tml" target=3D"_blank">http://mail-index.netbsd.org/port-powerpc/2012/04/28=
/msg003187.html</a><br>
<br>
A serious problem indeed.<br>
<br>
--<br>
Frank Wille<br>
</blockquote></div>

--f46d04428ff4a3438d04bed7e8d8--