rt2500pci issue

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=5546


17-08-2009 07:05:59


Not sure what it is, but I'm getting this with the latest vanilla kernel (
I think it happens after a sequence of suspend/resume operations.
Unloading/probing modules doesn't work (I unload rt2500pci, rt2x00pci, rt2x00lib, acr4, mac80211)
This goes away only after I restart my laptop.
Other than that driver appears to work very well, thanks!

sudo: bornmw : TTY=pts/1 ; PWD=/tmp/ka/src ; USER=root ; COMMAND=/sbin/modprobe rt2500pci
kernel: rt2500pci 0000:01:04.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
kernel: ------------[ cut here ]------------
kernel: WARNING: at fs/sysfs/dir.c:487 sysfs_add_one+0xa8/0xbd()
kernel: Hardware name: 1000 Series
kernel: sysfs: cannot create duplicate filename '/devices/pci0000:00/0000:00:1e.0/0000:01:04.0/net:wmaster0'
kernel: Modules linked in: arc4 rt2500pci(+) rt2x00pci rt2x00lib mac80211 sg sd_mod usb_storage input_polldev nls_cp866 vfat fat mmc_block nls_utf8 cifs vboxnetadp vboxnetflt vboxdrv snd_pcm_oss snd_mixer_oss btusb bluetooth ecb sdhci_pci firewire_ohci serio_raw eeprom_93cx6 firewire_core crc_itu_t sdhci mmc_core uhci_hcd ehci_hcd [last unloaded: mac80211]
kernel: Pid: 16199, comm: modprobe Tainted: G W #15
kernel: Call Trace:
kernel: [<c041a4e0>] warn_slowpath_common+0x60/0x90
kernel: [<c041a544>] warn_slowpath_fmt+0x24/0x27
kernel: [<c04a506e>] sysfs_add_one+0xa8/0xbd
kernel: [<c04a5b5d>] sysfs_do_create_link+0x8a/0xdf
kernel: [<c04a5bc8>] sysfs_create_link+0xa/0xe
kernel: [<c0593196>] device_add+0x272/0x523
kernel: [<c050108b>] ? kobject_set_name_vargs+0x48/0x50
kernel: [<c0592503>] ? dev_set_name+0x14/0x16
kernel: [<c0621604>] netdev_register_kobject+0x63/0x6a
kernel: [<c061935a>] register_netdevice+0x1ff/0x353
kernel: [<c0503c0a>] ? strlcpy+0x17/0x49
kernel: [<c06162dd>] ? dev_alloc_name+0x119/0x12a
kernel: [<c067b9b8>] ? mutex_lock+0xe/0x1d
kernel: [<fa3c638a>] ieee80211_register_hw+0x202/0x33f [mac80211]
kernel: [<fa3e5709>] ? rt2x00lib_probe_dev+0x149/0x2f7 [rt2x00lib]
kernel: [<fa3e58af>] rt2x00lib_probe_dev+0x2ef/0x2f7 [rt2x00lib]
kernel: [<fa3ec344>] rt2x00pci_probe+0x19e/0x1da [rt2x00pci]
kernel: [<c0510afb>] local_pci_probe+0xe/0x10
kernel: [<c05114be>] pci_device_probe+0x43/0x66
kernel: [<c0594c42>] driver_probe_device+0x7d/0x108
kernel: [<c0594d10>] __driver_attach+0x43/0x5f
kernel: [<c0594697>] bus_for_each_dev+0x3d/0x67
kernel: [<c0594b17>] driver_attach+0x14/0x16
kernel: [<c0594ccd>] ? __driver_attach+0x0/0x5f
kernel: [<c05940da>] bus_add_driver+0xdc/0x203
kernel: [<c0594f53>] driver_register+0x8b/0xeb
kernel: [<c05117b1>] __pci_register_driver+0x31/0x8c
kernel: [<fa3fc017>] rt2500pci_init+0x17/0x19 [rt2500pci]
kernel: [<c0401131>] _stext+0x49/0x10b
kernel: [<fa3fc000>] ? rt2500pci_init+0x0/0x19 [rt2500pci]
kernel: [<c042bd22>] ? __blocking_notifier_call_chain+0x40/0x4c
kernel: [<c0436f5c>] sys_init_module+0x87/0x18b
kernel: [<c0402848>] sysenter_do_call+0x12/0x26
kernel: ---[ end trace e1c1dec157927bd1 ]---
kernel: rt2500pci 0000:01:04.0: PCI INT A disabled
kernel: rt2500pci: probe of 0000:01:04.0 failed with error -17


17-08-2009 22:08:32

Is there any way to remove a device from /sys/devices?
When unloading driver doesn't work )