39 lines
1.4 KiB
Plaintext
39 lines
1.4 KiB
Plaintext
doc/config.debug
|
|
|
|
Copyright (C) 2000 AbsoluteValue Software, Inc. All Rights Reserved.
|
|
|
|
The kernel components of linux-wlan-ng currently have debugging code
|
|
enabled permanently (we'll make it optional later). To enable the
|
|
debug output, you set the value of the module parameter xxx_debug
|
|
where xxx is the name of the component. There are five levels of
|
|
debugging (1-5). Here's a summary of the levels and their usage:
|
|
1 - Enables most error messages for exception (but rare) conditions
|
|
2 - Enables more exceptions
|
|
3 - Enables MAC status output
|
|
4 - More status
|
|
5 - Function entry and exit
|
|
|
|
The levels are additive. For example, level 3 includes level 3
|
|
messages plus levels 1 and 2.
|
|
|
|
To configure p80211.o for debug output, put the following line (with
|
|
your own level number) in your /etc/conf.modules file:
|
|
|
|
options p80211 wlan_debug=2
|
|
|
|
To configure the prism2 driver for debug output, put the following
|
|
line (with your own level number) in your /etc/pcmcia/config.opts
|
|
file:
|
|
|
|
module "prism2sta_cs" opts "prism2_debug=2"
|
|
|
|
Then configure the collection and display of your kernel output. This
|
|
is usually done using syslog. Here are the relevant entries from the
|
|
/etc/syslog.conf file on one of our test machines:
|
|
|
|
kern.* /var/log/kernel
|
|
kern.* /dev/tty9
|
|
*.info;mail.none;news.none;authpriv.none /var/log/messages
|
|
*.info;mail.none;news.none;authpriv.none /dev/tty10
|
|
|