mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alistair John Strachan <s0348365@sms.ed.ac.uk>
To: Daniel <damage@rooties.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: debug prism wlan
Date: Sat, 12 Aug 2006 22:06:00 +0100	[thread overview]
Message-ID: <200608122206.00267.s0348365@sms.ed.ac.uk> (raw)
In-Reply-To: <200608122249.33329.damage@rooties.de>

On Saturday 12 August 2006 23:49, Daniel wrote:
> *grrrr* it is too late on evening (I'm living in germany ;) )...
>
> I also fogot to tell following:
>
> Error for wireless request "Set Frequency" (8B04) :
>     SET failed on device eth2 ; Input/output error.
>
> I got this message if I try to start the net device with the init.d script.
> If I try to set the channel per hand I got no error but the channel gets
> not set (it still is 0). But I am able to set the mode and the essid.

Enabling debug would be good. It seems that the driver has protection around 
most of the really low level debugging with:

#if VERBOSE > SHOW_ERROR_MESSAGES
...

If this test passes, a silly DEBUG() wrapper is used to determine whether the 
message should be printed:


islpci_mgt.h:#define DEBUG(f, args...) K_DEBUG(f, pc_debug, args)
islpci_mgt.h:#define K_DEBUG(f, m, args...) \
	do { \
		if(f & m) printk(KERN_DEBUG args); \
	} while(0)

Currently the driver has:

islpci_mgt.h:#define VERBOSE                                 0x01
islpci_mgt.h:#define SHOW_ERROR_MESSAGES                     0x01

So I think you'll need to:

a) Hack islpci_mgt.h and change VERBOSE to 0x02 (or any number higher).
b) Insert the module with pc_debug=1

Then you should get debugging messages, since (0x01 & 0x01) will trigger the 
debugging.

-- 
Cheers,
Alistair.

Final year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.

  reply	other threads:[~2006-08-12 21:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-12 21:40 Daniel
2006-08-12 20:15 ` Alistair John Strachan
2006-08-12 22:26   ` Daniel
2006-08-12 20:43     ` Alistair John Strachan
2006-08-12 22:56       ` Daniel
2006-08-12 21:07         ` Alistair John Strachan
2006-08-12 22:49     ` Daniel
2006-08-12 21:06       ` Alistair John Strachan [this message]
2006-08-13  5:20 Roger While
2006-08-13 11:31 ` Daniel
2006-08-13 10:37 Roger While

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200608122206.00267.s0348365@sms.ed.ac.uk \
    --to=s0348365@sms.ed.ac.uk \
    --cc=damage@rooties.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®