Re: sysfs: Kernel OOPS when install and remove modules

From: Gao feng
Date: Sun Mar 10 2013 - 22:58:28 EST


On 2013/03/11 10:55, Greg KH wrote:
> On Mon, Mar 11, 2013 at 10:17:13AM +0800, Gao feng wrote:
>> I get the below stack when I execute the shell program
>>
>> #!/bin/bash
>>
>> while :;
>> do
>> modprobe 8139too&
>> rmmod 8139too&
>> done
>>
>> I trust it is not the problem of 8139too, the other modules have the same problems too.
>> Is this an already known problem?
>>
>> [ 53.328212] 8139too: 8139too Fast Ethernet driver 0.9.28
>> [ 53.368029] 8139too: module is already loaded
>> [ 53.456339] 8139too: 8139too Fast Ethernet driver 0.9.28
>> [ 53.510611] 8139too: 8139too Fast Ethernet driver 0.9.28
>> [ 53.551713] ------------[ cut here ]------------
>> [ 53.551721] WARNING: at include/linux/kref.h:42 kobject_get+0x33/0x40()
>> [ 53.551722] Hardware name: Bochs
>> [ 53.551723] Modules linked in: 8139too(+) ebtable_nat ipt_MASQUERADE nf_conntrack_netbios_ns nf_conntrack_broadcast ip6table_mangle ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 iptable_nat nf_nat
>> iptable_mangle nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ebtable_filter bnep ebtables bluetooth rfkill ip6table_filter ip6_tables be2iscsi iscsi_boot_sysfs bnx2i cnic uio cxgb4i cxgb4
>> cxgb3i cxgb3 mdio libcxgbi ib_iser rdma_cm ib_addr iw_cm ib_cm ib_sa ib_mad ib_core iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device
>> snd_pcm snd_page_alloc snd_timer microcode snd i2c_piix4 virtio_balloon 8139cp soundcore mii i2c_core uinput [last unloaded: 8139too]
>> [ 53.551757] Pid: 1158, comm: modprobe Not tainted 3.6.10-4.fc18.x86_64 #1
>
> Does this happen on a kernel.org kernel release?
>

Yes,of course,Maybe you can try the shell program,
it's easy to reproduce.

Thanks

> There's nothing I can do with a fedora kernel, sorry.
>
> greg k-h
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/