LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [2.6.27.2] Unnamed entry appears in /sys/module/usbcore/parameters/ .
@ 2008-10-21 8:38 Tetsuo Handa
2008-10-21 17:00 ` Greg KH
0 siblings, 1 reply; 5+ messages in thread
From: Tetsuo Handa @ 2008-10-21 8:38 UTC (permalink / raw)
To: linux-usb, linux-kernel
There appears an entry which has no name.
-----
# cat /proc/version
Linux version 2.6.27.2 (root@tomoyo) (gcc version 3.3.5 (Debian 1:3.3.5-13)) #1 SMP Tue Oct 21 17:27:55 JST 2008
# ls -ail /sys/module/usbcore/parameters/
total 0
236 drwxr-xr-x 2 root root 0 Oct 21 17:31
236 drwxr-xr-x 2 root root 0 Oct 21 17:31 .
235 drwxr-xr-x 4 root root 0 Oct 21 17:31 ..
237 -rw-r--r-- 1 root root 4096 Oct 21 17:31 autosuspend
239 -r--r--r-- 1 root root 4096 Oct 21 17:31 blinkenlights
240 -rw-r--r-- 1 root root 4096 Oct 21 17:31 old_scheme_first
241 -rw-r--r-- 1 root root 4096 Oct 21 17:31 use_both_schemes
# ls -aild /sys/module/usbcore/parameters/
236 drwxr-xr-x 2 root root 0 Oct 21 17:31 /sys/module/usbcore/parameters/
#
-----
No such behavior for kernel 2.6.26.6 .
Config is at http://I-love.SAKURA.ne.jp/tmp/config-2.6.27.2 .
Regards.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [2.6.27.2] Unnamed entry appears in /sys/module/usbcore/parameters/ .
2008-10-21 8:38 [2.6.27.2] Unnamed entry appears in /sys/module/usbcore/parameters/ Tetsuo Handa
@ 2008-10-21 17:00 ` Greg KH
2008-10-22 10:51 ` Tetsuo Handa
0 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2008-10-21 17:00 UTC (permalink / raw)
To: Tetsuo Handa; +Cc: linux-usb, linux-kernel
On Tue, Oct 21, 2008 at 05:38:40PM +0900, Tetsuo Handa wrote:
> There appears an entry which has no name.
> -----
> # cat /proc/version
> Linux version 2.6.27.2 (root@tomoyo) (gcc version 3.3.5 (Debian 1:3.3.5-13)) #1 SMP Tue Oct 21 17:27:55 JST 2008
> # ls -ail /sys/module/usbcore/parameters/
> total 0
> 236 drwxr-xr-x 2 root root 0 Oct 21 17:31
This one?
Wierd, I don't see this on 2.6.27.2 here.
> 236 drwxr-xr-x 2 root root 0 Oct 21 17:31 .
> 235 drwxr-xr-x 4 root root 0 Oct 21 17:31 ..
> 237 -rw-r--r-- 1 root root 4096 Oct 21 17:31 autosuspend
> 239 -r--r--r-- 1 root root 4096 Oct 21 17:31 blinkenlights
> 240 -rw-r--r-- 1 root root 4096 Oct 21 17:31 old_scheme_first
> 241 -rw-r--r-- 1 root root 4096 Oct 21 17:31 use_both_schemes
> # ls -aild /sys/module/usbcore/parameters/
> 236 drwxr-xr-x 2 root root 0 Oct 21 17:31 /sys/module/usbcore/parameters/
> #
> -----
> No such behavior for kernel 2.6.26.6 .
> Config is at http://I-love.SAKURA.ne.jp/tmp/config-2.6.27.2 .
How about on 2.6.27-git releases?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [2.6.27.2] Unnamed entry appears in /sys/module/usbcore/parameters/ .
2008-10-21 17:00 ` Greg KH
@ 2008-10-22 10:51 ` Tetsuo Handa
2008-10-23 5:11 ` Greg KH
0 siblings, 1 reply; 5+ messages in thread
From: Tetsuo Handa @ 2008-10-22 10:51 UTC (permalink / raw)
To: greg; +Cc: linux-usb, linux-kernel
Hello.
Below four results are obtained using config
at http://I-love.SAKURA.ne.jp/tmp/config-2.6.27.2-2
with CONFIG_USB=y and CONFIG_USB=m .
----------------------------------------
Result of CONFIG_USB=y on Debian Sarge
# ls -ail /sys/module/usbcore/parameters/
total 0
200 drwxr-xr-x 2 root root 0 Oct 22 13:03
200 drwxr-xr-x 2 root root 0 Oct 22 13:03 .
199 drwxr-xr-x 4 root root 0 Oct 22 13:03 ..
201 -rw-r--r-- 1 root root 4096 Oct 22 13:03 autosuspend
203 -r--r--r-- 1 root root 4096 Oct 22 13:03 blinkenlights
204 -rw-r--r-- 1 root root 4096 Oct 22 13:03 old_scheme_first
205 -rw-r--r-- 1 root root 4096 Oct 22 13:03 use_both_schemes
# cd /sys/module/usbcore/parameters/ ; strace ls -a
(...snipped...)
open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
getdents64(3, /* 7 entries */, 4096) = 224
getdents64(3, /* 0 entries */, 4096) = 0
close(3) = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb809b000
write(1, " . .. autosuspend blinkenli"..., 72 . .. autosuspend blinkenlights old_scheme_first use_both_schemes
) = 72
munmap(0xb809b000, 4096) = 0
exit_group(0) = ?
----------------------------------------
Result of CONFIG_USB=m on Debian Sarge
# ls -ail /sys/module/usbcore/parameters/
total 0
3007 drwxr-xr-x 2 root root 0 Oct 22 13:10 .
3005 drwxr-xr-x 6 root root 0 Oct 22 13:10 ..
3008 -rw-r--r-- 1 root root 4096 Oct 22 13:10 autosuspend
3010 -r--r--r-- 1 root root 4096 Oct 22 13:10 blinkenlights
3009 -r--r--r-- 1 root root 4096 Oct 22 13:10 nousb
3011 -rw-r--r-- 1 root root 4096 Oct 22 13:10 old_scheme_first
3013 -rw-r--r-- 1 root root 4096 Oct 22 13:10 usbfs_snoop
3012 -rw-r--r-- 1 root root 4096 Oct 22 13:10 use_both_schemes
# cd /sys/module/usbcore/parameters/ ; strace ls -a
(...snipped...)
open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
getdents64(3, /* 8 entries */, 4096) = 264
getdents64(3, /* 0 entries */, 4096) = 0
close(3) = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb8081000
write(1, ". .. autosuspend blinkenlight"..., 90. .. autosuspend blinkenlights nousb old_scheme_first usbfs_snoop use_both_schemes
) = 90
munmap(0xb8081000, 4096) = 0
exit_group(0) = ?
----------------------------------------
Result of CONFIG_USB=y on CentOS 5.2
# ls -ail /sys/module/usbcore/parameters/
total 0
200 drwxr-xr-x 2 root root 0 Oct 22 13:13 .
199 drwxr-xr-x 4 root root 0 Oct 22 13:13 ..
201 -rw-r--r-- 1 root root 4096 Oct 22 13:13 autosuspend
204 -r--r--r-- 1 root root 4096 Oct 22 13:13 blinkenlights
203 -rw-r--r-- 1 root root 4096 Oct 22 13:13 old_scheme_first
205 -rw-r--r-- 1 root root 4096 Oct 22 13:13 usbfs_snoop
202 -rw-r--r-- 1 root root 4096 Oct 22 13:13 use_both_schemes
# cd /sys/module/usbcore/parameters/ ; strace ls -a
(...snipped...)
open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
getdents64(3, /* 7 entries */, 4096) = 232
getdents64(3, /* 0 entries */, 4096) = 0
close(3) = 0
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f94000
write(1, ". .. autosuspend blinkenlight"..., 83. .. autosuspend blinkenlights old_scheme_first usbfs_snoop use_both_schemes
) = 83
close(1) = 0
munmap(0xb7f94000, 4096) = 0
exit_group(0) = ?
----------------------------------------
Result of CONFIG_USB=m on CentOS 5.2
# ls -ail /sys/module/usbcore/parameters/
total 0
2607 drwxr-xr-x 2 root root 0 Oct 22 13:19 .
2605 drwxr-xr-x 6 root root 0 Oct 22 13:19 ..
2609 -rw-r--r-- 1 root root 4096 Oct 22 13:19 autosuspend
2612 -r--r--r-- 1 root root 4096 Oct 22 13:19 blinkenlights
2608 -r--r--r-- 1 root root 4096 Oct 22 13:19 nousb
2611 -rw-r--r-- 1 root root 4096 Oct 22 13:19 old_scheme_first
2613 -rw-r--r-- 1 root root 4096 Oct 22 13:19 usbfs_snoop
2610 -rw-r--r-- 1 root root 4096 Oct 22 13:19 use_both_schemes
# cd /sys/module/usbcore/parameters/ ; strace ls -a
(...snipped...)
open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
getdents64(3, /* 8 entries */, 4096) = 264
getdents64(3, /* 0 entries */, 4096) = 0
close(3) = 0
open("/proc/meminfo", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb805f000
read(3, "MemTotal: 1018380 kB\nMemFre"..., 1024) = 806
close(3) = 0
munmap(0xb805f000, 4096) = 0
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb805f000
write(1, ". .. autosuspend blinkenlight"..., 90. .. autosuspend blinkenlights nousb old_scheme_first usbfs_snoop use_both_schemes
) = 90
close(1) = 0
munmap(0xb805f000, 4096) = 0
exit_group(0) = ?
----------------------------------------
The difference between these results is that
'205 -rw-r--r-- 1 root root 4096 Oct 22 13:13 usbfs_snoop' on CentOS 5.2 is
reported as '200 drwxr-xr-x 2 root root 0 Oct 22 13:03' on Debian Sarge
if CONFIG_USB=y.
Debian Sarge: gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
CentOS 5.2: gcc (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42)
Greg KH wrote:
> Wierd, I don't see this on 2.6.27.2 here.
This might be compiler version dependent. What can I do?
> How about on 2.6.27-git releases?
Isn't http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.27.y.git;a=summary (as of this posting)
identical to http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.27.2.tar.bz2 ?
Regards.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [2.6.27.2] Unnamed entry appears in /sys/module/usbcore/parameters/ .
2008-10-22 10:51 ` Tetsuo Handa
@ 2008-10-23 5:11 ` Greg KH
2008-10-23 11:14 ` [2.6.27.2] Unnamed entry appears in/sys/module/usbcore/parameters/ Tetsuo Handa
0 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2008-10-23 5:11 UTC (permalink / raw)
To: Tetsuo Handa; +Cc: linux-usb, linux-kernel
On Wed, Oct 22, 2008 at 07:51:13PM +0900, Tetsuo Handa wrote:
> Hello.
>
> Below four results are obtained using config
> at http://I-love.SAKURA.ne.jp/tmp/config-2.6.27.2-2
> with CONFIG_USB=y and CONFIG_USB=m .
>
> ----------------------------------------
> Result of CONFIG_USB=y on Debian Sarge
>
> # ls -ail /sys/module/usbcore/parameters/
> total 0
> 200 drwxr-xr-x 2 root root 0 Oct 22 13:03
> 200 drwxr-xr-x 2 root root 0 Oct 22 13:03 .
> 199 drwxr-xr-x 4 root root 0 Oct 22 13:03 ..
> 201 -rw-r--r-- 1 root root 4096 Oct 22 13:03 autosuspend
> 203 -r--r--r-- 1 root root 4096 Oct 22 13:03 blinkenlights
> 204 -rw-r--r-- 1 root root 4096 Oct 22 13:03 old_scheme_first
> 205 -rw-r--r-- 1 root root 4096 Oct 22 13:03 use_both_schemes
> # cd /sys/module/usbcore/parameters/ ; strace ls -a
> (...snipped...)
> open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
> fstat64(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
> fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
> getdents64(3, /* 7 entries */, 4096) = 224
> getdents64(3, /* 0 entries */, 4096) = 0
> close(3) = 0
> fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb809b000
> write(1, " . .. autosuspend blinkenli"..., 72 . .. autosuspend blinkenlights old_scheme_first use_both_schemes
> ) = 72
> munmap(0xb809b000, 4096) = 0
> exit_group(0) = ?
>
> ----------------------------------------
> Result of CONFIG_USB=m on Debian Sarge
>
> # ls -ail /sys/module/usbcore/parameters/
> total 0
> 3007 drwxr-xr-x 2 root root 0 Oct 22 13:10 .
> 3005 drwxr-xr-x 6 root root 0 Oct 22 13:10 ..
> 3008 -rw-r--r-- 1 root root 4096 Oct 22 13:10 autosuspend
> 3010 -r--r--r-- 1 root root 4096 Oct 22 13:10 blinkenlights
> 3009 -r--r--r-- 1 root root 4096 Oct 22 13:10 nousb
> 3011 -rw-r--r-- 1 root root 4096 Oct 22 13:10 old_scheme_first
> 3013 -rw-r--r-- 1 root root 4096 Oct 22 13:10 usbfs_snoop
> 3012 -rw-r--r-- 1 root root 4096 Oct 22 13:10 use_both_schemes
> # cd /sys/module/usbcore/parameters/ ; strace ls -a
> (...snipped...)
> open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
> fstat64(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
> fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
> getdents64(3, /* 8 entries */, 4096) = 264
> getdents64(3, /* 0 entries */, 4096) = 0
> close(3) = 0
> fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb8081000
> write(1, ". .. autosuspend blinkenlight"..., 90. .. autosuspend blinkenlights nousb old_scheme_first usbfs_snoop use_both_schemes
> ) = 90
> munmap(0xb8081000, 4096) = 0
> exit_group(0) = ?
>
> ----------------------------------------
> Result of CONFIG_USB=y on CentOS 5.2
>
> # ls -ail /sys/module/usbcore/parameters/
> total 0
> 200 drwxr-xr-x 2 root root 0 Oct 22 13:13 .
> 199 drwxr-xr-x 4 root root 0 Oct 22 13:13 ..
> 201 -rw-r--r-- 1 root root 4096 Oct 22 13:13 autosuspend
> 204 -r--r--r-- 1 root root 4096 Oct 22 13:13 blinkenlights
> 203 -rw-r--r-- 1 root root 4096 Oct 22 13:13 old_scheme_first
> 205 -rw-r--r-- 1 root root 4096 Oct 22 13:13 usbfs_snoop
> 202 -rw-r--r-- 1 root root 4096 Oct 22 13:13 use_both_schemes
> # cd /sys/module/usbcore/parameters/ ; strace ls -a
> (...snipped...)
> open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
> fstat64(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
> fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
> getdents64(3, /* 7 entries */, 4096) = 232
> getdents64(3, /* 0 entries */, 4096) = 0
> close(3) = 0
> fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f94000
> write(1, ". .. autosuspend blinkenlight"..., 83. .. autosuspend blinkenlights old_scheme_first usbfs_snoop use_both_schemes
> ) = 83
> close(1) = 0
> munmap(0xb7f94000, 4096) = 0
> exit_group(0) = ?
>
> ----------------------------------------
> Result of CONFIG_USB=m on CentOS 5.2
>
> # ls -ail /sys/module/usbcore/parameters/
> total 0
> 2607 drwxr-xr-x 2 root root 0 Oct 22 13:19 .
> 2605 drwxr-xr-x 6 root root 0 Oct 22 13:19 ..
> 2609 -rw-r--r-- 1 root root 4096 Oct 22 13:19 autosuspend
> 2612 -r--r--r-- 1 root root 4096 Oct 22 13:19 blinkenlights
> 2608 -r--r--r-- 1 root root 4096 Oct 22 13:19 nousb
> 2611 -rw-r--r-- 1 root root 4096 Oct 22 13:19 old_scheme_first
> 2613 -rw-r--r-- 1 root root 4096 Oct 22 13:19 usbfs_snoop
> 2610 -rw-r--r-- 1 root root 4096 Oct 22 13:19 use_both_schemes
> # cd /sys/module/usbcore/parameters/ ; strace ls -a
> (...snipped...)
> open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
> fstat64(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
> fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
> getdents64(3, /* 8 entries */, 4096) = 264
> getdents64(3, /* 0 entries */, 4096) = 0
> close(3) = 0
> open("/proc/meminfo", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb805f000
> read(3, "MemTotal: 1018380 kB\nMemFre"..., 1024) = 806
> close(3) = 0
> munmap(0xb805f000, 4096) = 0
> fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb805f000
> write(1, ". .. autosuspend blinkenlight"..., 90. .. autosuspend blinkenlights nousb old_scheme_first usbfs_snoop use_both_schemes
> ) = 90
> close(1) = 0
> munmap(0xb805f000, 4096) = 0
> exit_group(0) = ?
>
> ----------------------------------------
>
> The difference between these results is that
> '205 -rw-r--r-- 1 root root 4096 Oct 22 13:13 usbfs_snoop' on CentOS 5.2 is
> reported as '200 drwxr-xr-x 2 root root 0 Oct 22 13:03' on Debian Sarge
> if CONFIG_USB=y.
>
> Debian Sarge: gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
> CentOS 5.2: gcc (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42)
I really have no idea what is causing this, and can't seem to duplicate
this here at all.
Anyone else?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [2.6.27.2] Unnamed entry appears in/sys/module/usbcore/parameters/ .
2008-10-23 5:11 ` Greg KH
@ 2008-10-23 11:14 ` Tetsuo Handa
0 siblings, 0 replies; 5+ messages in thread
From: Tetsuo Handa @ 2008-10-23 11:14 UTC (permalink / raw)
To: greg; +Cc: linux-usb, linux-kernel
Hello.
I tested 2.6.27.3 on Debian Sarge. I got the same result.
So, I tried to produce different results.
I pruned declaration of module_param(usbfs_snoop) like
static int usbfs_snoop;
/*
module_param(usbfs_snoop, bool, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(usbfs_snoop, "true to log all usbfs traffic");
*/
and I got the below result.
# ls -ail /sys/module/usbcore/parameters/
total 0
189 drwxr-xr-x 2 root root 0 Oct 24 2008
189 drwxr-xr-x 2 root root 0 Oct 24 2008 .
188 drwxr-xr-x 4 root root 0 Oct 24 2008 ..
190 -rw-r--r-- 1 root root 4096 Oct 24 2008 autosuspend
192 -r--r--r-- 1 root root 4096 Oct 24 2008 blinkenlights
193 -rw-r--r-- 1 root root 4096 Oct 24 2008 old_scheme_first
This time, 'use_both_schemes' entry became no-name.
I added declaration of module_param(usbfs_aaaaa) and module_param(usbfs_zzzzz)
like
static int usbfs_aaaaa;
module_param(usbfs_aaaaa, bool, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(usbfs_aaaaa, "true to log all usbfs traffic");
static int usbfs_snoop;
module_param(usbfs_snoop, bool, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(usbfs_snoop, "true to log all usbfs traffic");
static int usbfs_zzzzz;
module_param(usbfs_zzzzz, bool, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(usbfs_zzzzz, "true to log all usbfs traffic");
and I got the below result.
# ls -ail /sys/module/usbcore/parameters/
total 0
189 drwxr-xr-x 2 root root 0 Oct 24 2008
189 drwxr-xr-x 2 root root 0 Oct 24 2008 .
188 drwxr-xr-x 4 root root 0 Oct 24 2008 ..
190 -rw-r--r-- 1 root root 4096 Oct 24 2008 autosuspend
192 -r--r--r-- 1 root root 4096 Oct 24 2008 blinkenlights
193 -rw-r--r-- 1 root root 4096 Oct 24 2008 old_scheme_first
195 -rw-r--r-- 1 root root 4096 Oct 24 2008 usbfs_aaaaa
196 -rw-r--r-- 1 root root 4096 Oct 24 2008 usbfs_snoop
194 -rw-r--r-- 1 root root 4096 Oct 24 2008 use_both_schemes
This time, 'usbfs_zzzzz' entry became no-name.
Greg KH wrote:
> I really have no idea what is causing this, and can't seem to duplicate
> this here at all.
It seems to me that somebody is overwriting (or truncating) at address
of module_param(usbfs_snoop) .
Is there a way to change the address of module_param() defined by
usbcore module?
Regards.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-10-23 11:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-21 8:38 [2.6.27.2] Unnamed entry appears in /sys/module/usbcore/parameters/ Tetsuo Handa
2008-10-21 17:00 ` Greg KH
2008-10-22 10:51 ` Tetsuo Handa
2008-10-23 5:11 ` Greg KH
2008-10-23 11:14 ` [2.6.27.2] Unnamed entry appears in/sys/module/usbcore/parameters/ Tetsuo Handa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).