login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
November
»
3
Re: Linux 2.6.37-rc1 (net/sched: cls_cgroup)
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Li Zefan
Subject:
Re: Linux 2.6.37-rc1 (net/sched: cls_cgroup)
Date: Wednesday, November 3, 2010 - 3:31 pm
Li Zefan wrote:
quoted text
> On 2010年11月04日 06:01, Eric Dumazet wrote: >> Le mercredi 03 novembre 2010 à 14:21 -0700, Randy Dunlap a écrit : >>> Maybe this isn't normal usage: just modprobe cls_cgroup && rmmod cls_cgroup: >>> >>> >>> [ 107.806607] ------------[ cut here ]------------ >>> [ 107.810180] kernel BUG at /local/linsrc/lnx-2637-rc1/kernel/cgroup.c:3855! >>> [ 107.810180] invalid opcode: 0000 [#1] SMP DEBUG_PAGEALLOC >>> [ 107.822274] last sysfs file: /sys/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1.3/devnum >>> [ 107.824889] CPU 0 >>> [ 107.832854] Modules linked in: cls_cgroup(-) ipt_MASQUERADE iptable_nat nf_nat af_packet nfsd lockd nfs_acl auth_rpcgss exportfs sco bridge stp llc bnep l2cap crc16 bluetooth rfkill sunrpc ipt_REJECT nf_conntrack_ipv4 nf_defrag_ipv4 iptable_filter ip_tables ip6t_REJECT xt_tcpudp nf_conntrack_ipv6 nf_defrag_ipv6 xt_state nf_conntrack ip6table_filter ip6_tables x_tables ipv6 p4_clockmod freq_table speedstep_lib binfmt_misc dm_mirror dm_region_hash dm_log dm_multipath scsi_dh dm_mod kvm uinput mousedev joydev snd_intel8x0 snd_ac97_codec ac97_bus usbmouse snd_seq snd_seq_device usbkbd usbhid snd_pcm ppdev hid tg3 led_class snd_timer dcdbas sr_mod snd iTCO_wdt cdrom iTCO_vendor_support sg rtc_cmos pcspkr soundcore i2c_i801 rng_core snd_page_alloc rtc_core parport_pc shpchp evdev rtc_lib parport 8250_pnp pci_hotplug mac_hid unix ide_pci_generic ide_core ata_generic pata_acpi ata_piix sd_mod crc_t10dif ext3 jbd mbcache uhci_hcd ohci_hcd ssb mmc_core pcmcia pcmcia_core firmwar
e
quoted text
> _c! >>> lass ehci_hcd usbcore nls_base i915 drm_kms_helper intel_agp button intel_gtt video thermal_sys hwmon output [last unloaded: mperf] >>> [ 107.933458] >>> [ 107.933458] Pid: 3400, comm: rmmod Not tainted 2.6.37-rc1 #7 0HH807/OptiPlex GX620 >>> [ 107.937800] RIP: 0010:[<ffffffff810e6c9d>] [<ffffffff810e6c9d>] cgroup_unload_subsys+0x64/0x1c8 >>> [ 107.937800] RSP: 0018:ffff88006c107ea8 EFLAGS: 00010202 >>> [ 107.937800] RAX: 0000000000000000 RBX: ffffffffa0009d50 RCX: 0000000000000000 >>> [ 107.937800] RDX: ffffffff81a3a5f0 RSI: ffff88006c107dc8 RDI: ffff88006c107e48 >>> [ 107.937800] RBP: ffff88006c107ec8 R08: ffffffff81a3a5f0 R09: 000000000000039a >>> [ 107.937800] R10: 0000000000000001 R11: ffff88006c107e48 R12: 0000000000000000 >>> [ 107.937800] R13: 00007fff2664ffc0 R14: 0000000000000000 R15: 0000000000000001 >>> [ 107.937800] FS: 00007f52809e46f0(0000) GS:ffff88007c600000(0000) knlGS:0000000000000000 >>> [ 107.937800] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b >>> [ 107.937800] CR2: 0000003fb5a7bf20 CR3: 000000006c1d8000 CR4: 00000000000006f0 >>> [ 107.937800] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 >>> [ 107.937800] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 >>> [ 107.937800] Process rmmod (pid: 3400, threadinfo ffff88006c106000, task ffff880075a33000) >>> [ 107.937800] Stack: >>> [ 107.937800] ffff88006c107ec8 ffffffffa000a0e0 0000000000000000 00007fff2664ffc0 >>> [ 107.937800] ffff88006c107ed8 ffffffffa0009819 ffff88006c107f78 ffffffff810d3cb0 >>> [ 108.048442] ffffffffa000a0e0 0000000000000880 ffff88006c107f14 ffffffff8155036b >>> [ 108.057485] Call Trace: >>> [ 108.065148] [<ffffffffa0009819>] exit_cgroup_cls+0x45/0x4e [cls_cgroup] >>> [ 108.070071] [<ffffffff810d3cb0>] sys_delete_module+0x2d6/0x368 >>> [ 108.085255] [<ffffffff8155036b>] ? lockdep_sys_exit_thunk+0x35/0x67 >>> [ 108.093771] [<ffffffff81007075>] ? xen_zap_pfn_range+0x53/0x139 >>> [ 108.101589] [<ffffffff815502f5>] ? trace_hardirqs_on_thunk+0x3a/0x3f >>> [ 108.111624] [<ffffffff8100ea72>] system_call_fastpath+0x16/0x1b >>> [ 108.119099] Code: 05 51 8d 71 01 0f 0b eb fe 31 f6 48 c7 c7 a0 a5 a3 81 48 ff 05 45 8d 71 01 e8 42 83 46 00 83 7b 58 07 7f 0b 48 ff 05 43 8d 71 01 <0f> 0b eb fe 48 ff 05 40 8d 71 01 48 8d bb 30 01 00 00 48 63 43 >>> [ 108.145840] RIP [<ffffffff810e6c9d>] cgroup_unload_subsys+0x64/0x1c8 >>> [ 108.152902] RSP <ffff88006c107ea8> >>> [ 108.161767] ---[ end trace 659fde6f8f5f2810 ]--- >>> >>> >>> >>> kernel config file is attached (almost allmodconfig). >>> There may be some CONFIG options that are not helping... >>> >>> --- >> >> commits 8e039d84b323c450 >> (cgroups: net_cls as module) >> >> followed by commit f845172531f >> (cls_cgroup: Store classid in struct sock) >> >> are the problem : >> >> if CONFIG_NET_CLS_CGROUP is not defined >> >> exit_cgroup_cls() does : >> >> #ifndef CONFIG_NET_CLS_CGROUP >> net_cls_subsys_id = -1; <<< -1 >> synchronize_rcu(); >> #endif >> cgroup_unload_subsys(&net_cls_subsys); >> >> >> but net_cls_subsys_id is an alias of net_cls_subsys.subsys_id >> >> so putting -1 in it triggers BUG_ON() on line 3855 of kernel/cgroup.c >> >> BUG_ON(ss->subsys_id < CGROUP_BUILTIN_SUBSYS_COUNT); >> >> Herbert, I'll let you fix it ? >> > > Exactly what I was going to reply. This bug report also reveals > another bug.. > > I'll post fixes for the 2 bugs in minutes.
Sorry I'll leave so I can't make it. I'll fix this later if Herbert hasn't fix it. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Linux 2.6.37-rc1
, Linus Torvalds
, (Mon Nov 1, 5:07 am)
Re: Linux 2.6.37-rc1
, Thomas Gleixner
, (Mon Nov 1, 8:37 am)
Re: Linux 2.6.37-rc1
, Nick Bowler
, (Mon Nov 1, 8:47 am)
Re: Linux 2.6.37-rc1
, Ryusuke Konishi
, (Mon Nov 1, 8:52 am)
Re: Linux 2.6.37-rc1
, Linus Torvalds
, (Mon Nov 1, 9:07 am)
Re: Linux 2.6.37-rc1 (acpi_video)
, Randy Dunlap
, (Tue Nov 2, 11:51 am)
Re: Linux 2.6.37-rc1 (cciss: remove_proc_entry warning)
, Randy Dunlap
, (Wed Nov 3, 2:08 pm)
Re: Linux 2.6.37-rc1 (pcrypt fault)
, Randy Dunlap
, (Wed Nov 3, 2:15 pm)
Re: Linux 2.6.37-rc1 (net/sched: cls_cgroup)
, Randy Dunlap
, (Wed Nov 3, 2:21 pm)
Re: Linux 2.6.37-rc1 (net/sched: cls_cgroup)
, Eric Dumazet
, (Wed Nov 3, 3:01 pm)
Re: Linux 2.6.37-rc1 (net/sched: cls_cgroup)
, Li Zefan
, (Wed Nov 3, 3:19 pm)
Re: Linux 2.6.37-rc1 (net/sched: cls_cgroup)
, Li Zefan
, (Wed Nov 3, 3:31 pm)
Re: Linux 2.6.37-rc1 (floppy module load: no device found)
, Randy Dunlap
, (Wed Nov 3, 4:16 pm)
Re: Linux 2.6.37-rc1 (libipw remove_proc_entry warning)
, Randy Dunlap
, (Wed Nov 3, 4:18 pm)
Re: Linux 2.6.37-rc1 (scsi_debug: list corruption)
, Randy Dunlap
, (Wed Nov 3, 4:20 pm)
Re: Linux 2.6.37-rc1 (net/sched: cls_cgroup)
, Herbert Xu
, (Wed Nov 3, 4:31 pm)
Re: Linux 2.6.37-rc1 (net/sched: cls_cgroup)
, Li Zefan
, (Wed Nov 3, 6:46 pm)
Re: Linux 2.6.37-rc1 (net/sched: cls_cgroup)
, David Miller
, (Wed Nov 3, 6:56 pm)
Re: Linux 2.6.37-rc1 (scsi_debug: list corruption)
, Xiaotian Feng
, (Wed Nov 3, 7:25 pm)
Re: Linux 2.6.37-rc1 (net/sched: cls_cgroup)
, Randy Dunlap
, (Thu Nov 4, 8:56 am)
Re: Linux 2.6.37-rc1 (scsi_debug: list corruption)
, Randy Dunlap
, (Thu Nov 4, 9:12 am)
Re: Linux 2.6.37-rc1 (floppy module load: no device found)
, Linus Torvalds
, (Fri Nov 5, 3:10 pm)
Re: Linux 2.6.37-rc1 (floppy module load: no device found)
, David Miller
, (Fri Nov 5, 3:12 pm)
Re: Linux 2.6.37-rc1 (libipw remove_proc_entry warning)
, Linus Torvalds
, (Fri Nov 5, 3:24 pm)
Re: Linux 2.6.37-rc1 (floppy module load: no device found)
, Randy Dunlap
, (Fri Nov 5, 4:03 pm)
Re: Linux 2.6.37-rc1 (libipw remove_proc_entry warning)
, Randy Dunlap
, (Fri Nov 5, 4:06 pm)
Re: Linux 2.6.37-rc1 (floppy module load: no device found)
, Linus Torvalds
, (Fri Nov 5, 4:36 pm)
Re: Linux 2.6.37-rc1 (libipw remove_proc_entry warning)
, Linus Torvalds
, (Fri Nov 5, 4:38 pm)
Re: Linux 2.6.37-rc1 (floppy module load: no device found)
, Randy Dunlap
, (Fri Nov 5, 5:33 pm)
Re: Linux 2.6.37-rc1 (floppy module load: no device found)
, Vivek Goyal
, (Sat Nov 6, 5:16 am)
Re: Linux 2.6.37-rc1 (floppy module load: no device found)
, Linus Torvalds
, (Sat Nov 6, 7:52 am)
Re: Linux 2.6.37-rc1 (libipw remove_proc_entry warning)
, John W. Linville
, (Mon Nov 8, 2:33 pm)
Re: Linux 2.6.37-rc1 (pcrypt fault)
, Steffen Klassert
, (Wed Nov 10, 4:21 am)
Re: Linux 2.6.37-rc1 (pcrypt fault)
, Randy Dunlap
, (Wed Nov 10, 11:11 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List
ixgbe: fix several counter register errata
Linux Kernel Mailing List
b43: fix build with CONFIG_SSB_PCIHOST=n
Linux Kernel Mailing List
9p: block-based virtio client
linux-netdev
:
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
David Daney
[PATCH 5/7] Staging: Octeon Ethernet: Convert to NAPI.
Wolfgang Grandegger
[PATCH net-next v4 1/3] can: mscan: fix improper return if dlc < 8 in start_xmi...
Amit Kumar Salecha
[PATCHv3 NEXT 2/2] NET: Add Qlogic ethernet driver for CNA devices
openbsd-misc
:
Theo de Raadt
Re: Old IPSEC bug
Tomáš Bodžár
Problem with vpnc connection - check group password !
Insan Praja SW
Mandoc Compiling Error
Carl Roberso
Re: Cannot change MTU of carp interface?
Richard Daemon
Re: booting openbsd on eee without cd-rom
Colocation donated by:
Syndicate