1 |
Many thanks for the hints. It looks like I (accidentally) had driver |
2 |
debugging turned on. I'm recompiling my kernel to see if that fixes my |
3 |
problem. |
4 |
|
5 |
--- Vladimir |
6 |
|
7 |
On Wed, 2006-03-29 at 10:34 -0700, Richard Fish wrote: |
8 |
|
9 |
> On 3/29/06, Vladimir G. Ivanovic <vgivanovic@×××××××.net> wrote: |
10 |
> > CLASS: registering class device: ID = 'vcs7' |
11 |
> > class_uevent - name = vcs7 |
12 |
> > class_device_create_uevent called for vcs7 |
13 |
> > CLASS: registering class device: ID = 'vcsa7' |
14 |
> > class_uevent - name = vcsa7 |
15 |
> > class_device_create_uevent called for vcsa7 |
16 |
> > |
17 |
> > And, more importantly, how do I get rid of them? They fill up my kernel |
18 |
> > ring buffer, and I can't see boot-time messages from the kernel. |
19 |
> |
20 |
> AFAIK if they are showing up in dmesg output, they are coming from the |
21 |
> kernel. Looks like you enabled DEBUG in your kernel: |
22 |
> |
23 |
> # cd /usr/src/linux-2.6.16.1 && grep -r class_device_create_uevent . |
24 |
> ./drivers/base/class.c:static int class_device_create_uevent(struct |
25 |
> class_device *class_dev, |
26 |
> |
27 |
> # less drivers/base/class.c |
28 |
> ... |
29 |
> pr_debug("%s called for %s\n", __FUNCTION__, class_dev->class_id); |
30 |
> ... |
31 |
> |
32 |
> # grep -r pr_debug . | grep "define" |
33 |
> ... |
34 |
> ./include/linux/kernel.h:#define pr_debug(fmt,arg...) \ |
35 |
> ... |
36 |
> |
37 |
> # less include/linux/kernel.h |
38 |
> ... |
39 |
> #ifdef DEBUG |
40 |
> #define pr_debug(fmt,arg...) \ |
41 |
> printk(KERN_DEBUG fmt,##arg) |
42 |
> ... |
43 |
> |
44 |
> But the boot-time messages should be saved in /var/log/dmesg. |
45 |
> |
46 |
> -Richard |
47 |
> |
48 |
|
49 |
|
50 |
Vladimir G. Ivanovic |
51 |
Palo Alto, CA 94306 |
52 |
+1 650 678 8014 |