From: Luis R. Rodriguez on
On Fri, May 14, 2010 at 12:04:15PM -0700, Justin P. Mattock wrote:
>
>
> On May 14, 2010, at 10:29 AM, "Luis R. Rodriguez" <lrodriguez(a)atheros.com
> > wrote:
>
> > On Fri, May 14, 2010 at 10:24 AM, Justin P. Mattock
> > <justinmattock(a)gmail.com> wrote:
> >
> >>
> >> here you go:
> >> (I was grabbing the info
> >> after rmmod and modprobe)
> >>
> >> [ 7.034242] ATH9K: cachelsz: 256
> >> [ 69.175348] ATH9K: cachelsz: 256
> >
> > Close, so I without any patches applied, and by just running
> > modprobe as below:
> >
> >
> > modprobe ath9k debug=0x00000200
> >
> > ath_print(common, ATH_DBG_CONFIG, "cachelsz %u
> > rxbufsize %u\n",
> > common->cachelsz, common->rx_bufsize);
> >
> >
> > This is already in the code so just please do this:
> >
> > rmmod ath9k
> > modprobe ath9k debug=0x00000200
> > dmesg | grep cachelsz
>
> O.k. I did a git reset to the origin
> Then the above, unfortunantly nothing
> Shows up when grepping
> Any CONFIG options I might be missing?

CONFIG_ATH_DEBUG

Luis
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Justin P. Mattock on


Justin P. Mattock



On May 14, 2010, at 1:13 PM, "Luis R. Rodriguez"
<lrodriguez(a)atheros.com> wrote:

> On Fri, May 14, 2010 at 12:04:15PM -0700, Justin P. Mattock wrote:
>>
>>
>> On May 14, 2010, at 10:29 AM, "Luis R. Rodriguez" <lrodriguez(a)atheros.com
>>> wrote:
>>
>>> On Fri, May 14, 2010 at 10:24 AM, Justin P. Mattock
>>> <justinmattock(a)gmail.com> wrote:
>>>
>>>>
>>>> here you go:
>>>> (I was grabbing the info
>>>> after rmmod and modprobe)
>>>>
>>>> [ 7.034242] ATH9K: cachelsz: 256
>>>> [ 69.175348] ATH9K: cachelsz: 256
>>>
>>> Close, so I without any patches applied, and by just running
>>> modprobe as below:
>>>
>>>
>>> modprobe ath9k debug=0x00000200
>>>
>>> ath_print(common, ATH_DBG_CONFIG, "cachelsz %u
>>> rxbufsize %u\n",
>>> common->cachelsz, common->rx_bufsize);
>>>
>>>
>>> This is already in the code so just please do this:
>>>
>>> rmmod ath9k
>>> modprobe ath9k debug=0x00000200
>>> dmesg | grep cachelsz
>>
>> O.k. I did a git reset to the origin
>> Then the above, unfortunantly nothing
>> Shows up when grepping
>> Any CONFIG options I might be missing?
>
> CONFIG_ATH_DEBUG
>
> Luis

Eveything is on except ath5k
For debugging.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Luis R. Rodriguez on
On Fri, May 14, 2010 at 01:21:34PM -0700, Justin P. Mattock wrote:
> Eveything is on except ath5k
> For debugging.

Bleh, try this.

diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c
index 1ca42e5..3404198 100644
--- a/drivers/net/wireless/ath/ath9k/recv.c
+++ b/drivers/net/wireless/ath/ath9k/recv.c
@@ -129,7 +129,7 @@ int ath_rx_init(struct ath_softc *sc, int nbufs)
common->rx_bufsize = roundup(IEEE80211_MAX_MPDU_LEN,
min(common->cachelsz, (u16)64));

- ath_print(common, ATH_DBG_CONFIG, "cachelsz %u rxbufsize %u\n",
+ printk("ATH9K: cachelsz %u rxbufsize %u\n",
common->cachelsz, common->rx_bufsize);

/* Initialize rx descriptors */

Not sure why this is not printing, the common debug_mask should
already be set here prior to this. Anyway this would force the
print I want.

Luis
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Justin P. Mattock on


Justin P. Mattock



On May 14, 2010, at 1:52 PM, "Luis R. Rodriguez"
<lrodriguez(a)atheros.com> wrote:

> On Fri, May 14, 2010 at 01:21:34PM -0700, Justin P. Mattock wrote:
>> Eveything is on except ath5k
>> For debugging.
>
> Bleh, try this.
>
> diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/
> wireless/ath/ath9k/recv.c
> index 1ca42e5..3404198 100644
> --- a/drivers/net/wireless/ath/ath9k/recv.c
> +++ b/drivers/net/wireless/ath/ath9k/recv.c
> @@ -129,7 +129,7 @@ int ath_rx_init(struct ath_softc *sc, int nbufs)
> common->rx_bufsize = roundup(IEEE80211_MAX_MPDU_LEN,
> min(common->cachelsz, (u16)64));
>
> - ath_print(common, ATH_DBG_CONFIG, "cachelsz %u rxbufsize %u\n",
> + printk("ATH9K: cachelsz %u rxbufsize %u\n",
> common->cachelsz, common->rx_bufsize);
>
> /* Initialize rx descriptors */
>
> Not sure why this is not printing, the common debug_mask should
> already be set here prior to this. Anyway this would force the
> print I want.
>
> Luis

Alright I'll try that
(Off topic kmemcheck seems to be
Lost with x86_64(wanted to try as many debug option as possible))

Anyways I'll throw in the print and see.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Justin P. Mattock on




On May 14, 2010, at 1:52 PM, "Luis R. Rodriguez"
<lrodriguez(a)atheros.com> wrote:

> On Fri, May 14, 2010 at 01:21:34PM -0700, Justin P. Mattock wrote:
>> Eveything is on except ath5k
>> For debugging.
>
> Bleh, try this.
>
> diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/
> wireless/ath/ath9k/recv.c
> index 1ca42e5..3404198 100644
> --- a/drivers/net/wireless/ath/ath9k/recv.c
> +++ b/drivers/net/wireless/ath/ath9k/recv.c
> @@ -129,7 +129,7 @@ int ath_rx_init(struct ath_softc *sc, int nbufs)
> common->rx_bufsize = roundup(IEEE80211_MAX_MPDU_LEN,
> min(common->cachelsz, (u16)64));
>
> - ath_print(common, ATH_DBG_CONFIG, "cachelsz %u rxbufsize %u\n",
> + printk("ATH9K: cachelsz %u rxbufsize %u\n",
> common->cachelsz, common->rx_bufsize);
>
> /* Initialize rx descriptors */
>
> Not sure why this is not printing, the common debug_mask should
> already be set here prior to this. Anyway this would force the
> print I want.
>
> Luis

O.k appologize for the delay
(had to play limo driver),
Anyways here is the grep info:
ATH9K: cachelsz 256 rxbufsize 3904
(messg is the same before and after
Rrmod/modprobing with debug options)

Justin P. Mattock
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/