2008-11-04 17:25:29

by folkert

[permalink] [raw]
Subject: [2.6.26] WARN warn_on_slowpath

While running my http://vanheusden.com/pyk/ script (which randomly
inserts and removes modules) I triggered the folllowing WARNING in a
2.6.26 kernel on an IBM xSeries x3650 (2 quadcores (intel qc x5450)
and 10GB ram).

[ 2812.832441] sysfs group ffffffffa0191ec0 not found for kobject 'cpufreq'
[ 2812.833486] ------------[ cut here ]------------
[ 2812.833556] WARNING: at fs/sysfs/group.c:139 cpufreq_stats_free_table+0x32/0x6e [cpufreq_stats]()
[ 2812.837160] Modules linked in: cpufreq_ondemand sg lp cpufreq_userspace acpi_cpufreq pcspkr edac_core ses parport_pc appletalk(-) enclosure loop thermal parport cpufreq_stats(-) video output battery cdrom rng_core qla2xxx ac rfcomm l2cap bluetooth nfsd lockd nfs_acl auth_rpcgss sunrpc exportfs freq_table ipv6 evdev ext3 jbd mbcache dm_log dm_mod usbhid hid ff_memless sd_mod firmware_class scsi_transport_fc ide_pci_generic ide_core ehci_hcd uhci_hcd scsi_tgt aacraid scsi_mod processor thermal_sys [last unloaded: dm_mirror]
[ 2812.837160] Pid: 12061, comm: rmmod Not tainted 2.6.26-1-amd64 #1
[ 2812.837160]
[ 2812.837160] Call Trace:
[ 2812.837160] [<ffffffff80234878>] warn_on_slowpath+0x51/0x7a
[ 2812.837160] [<ffffffff8022c195>] default_wake_function+0x0/0xe
[ 2812.837160] [<ffffffff802e21b4>] sysfs_find_dirent+0x1b/0x2f
[ 2812.837160] [<ffffffff802e2c62>] sysfs_get_dirent+0x51/0x59
[ 2812.837160] [<ffffffff802e3523>] sysfs_remove_group+0x41/0xc2
[ 2812.837197] [<ffffffffa0191380>] :cpufreq_stats:cpufreq_stats_free_table+0x32/0x6e
[ 2812.837283] [<ffffffffa01913fd>] :cpufreq_stats:cpufreq_stats_exit+0x41/0x58
[ 2812.837355] [<ffffffff80255200>] sys_delete_module+0x1a6/0x1fe
[ 2812.837494] [<ffffffff8020be9a>] system_call_after_swapgs+0x8a/0x8f
[ 2812.837564]
[ 2812.837623] ---[ end trace a70f168407a6dea1 ]---
[ 2812.837692] sysfs group ffffffffa0191ec0 not found for kobject 'cpufreq'


Folkert van Heusden

--
Ever wonder what is out there? Any alien races? Then please support
the seti@home project: setiathome.ssl.berkeley.edu
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, http://www.vanheusden.com


2008-11-04 17:26:33

by folkert

[permalink] [raw]
Subject: [2.6.26] ERROR FC host 'qla2xxx' attempted to flush work, when no workqueue created

While running my http://vanheusden.com/pyk/ script (which randomly
inserts and removes modules) I triggered the folllowing WARNING in a
2.6.26 kernel on an IBM xSeries x3650 (2 quadcores (intel qc x5450)
and 10GB ram).

[ 2813.078094] ERROR: FC host 'qla2xxx' attempted to flush work, when no workqueue created.
[ 2813.078094] Pid: 10082, comm: qla2xxx_8_dpc Tainted: G W 2.6.26-1-amd64 #1
[ 2813.078094]
[ 2813.078094] Call Trace:
[ 2813.078094] [<ffffffffa00a06f4>] :scsi_transport_fc:fc_flush_work+0x33/0x41
[ 2813.078094] [<ffffffffa00a2c98>] :scsi_transport_fc:fc_remote_port_add+0x2b/0x60d
[ 2813.078094] [<ffffffffa03864a4>] :qla2xxx:qla2x00_update_fcport+0x2b8/0x363
[ 2813.078094] [<ffffffffa038e02d>] :qla2xxx:qla2x00_get_port_database+0x2f0/0x2fe
[ 2813.078094] [<ffffffffa03868fa>] :qla2xxx:qla2x00_configure_local_loop+0x32a/0x3c0
[ 2813.078094] [<ffffffffa0386d14>] :qla2xxx:qla2x00_configure_loop+0x384/0x10fd
[ 2813.078094] [<ffffffffa038c854>] :qla2xxx:qla2x00_get_retry_cnt+0x43/0xbd
[ 2813.078094] [<ffffffff8023ca94>] process_timeout+0x0/0x5
[ 2813.078094] [<ffffffff8042874a>] schedule_timeout+0x85/0xad
[ 2813.078094] [<ffffffffa0387ae9>] :qla2xxx:qla2x00_loop_resync+0x5c/0xae
[ 2813.078094] [<ffffffffa03848d5>] :qla2xxx:qla2x00_do_dpc+0x435/0x4d4
[ 2813.078094] [<ffffffffa03844a0>] :qla2xxx:qla2x00_do_dpc+0x0/0x4d4
[ 2813.078094] [<ffffffff80245efb>] kthread+0x47/0x74
[ 2813.078094] [<ffffffff80230057>] schedule_tail+0x27/0x5c
[ 2813.078094] [<ffffffff8020cef8>] child_rip+0xa/0x12
[ 2813.078094] [<ffffffff80245eb4>] kthread+0x0/0x74
[ 2813.078161] [<ffffffff8020ceee>] child_rip+0x0/0x12


Folkert van Heusden

--
MultiTail ? uno flexible tool per seguire di logfiles e effettuazione
di commissioni. Feltrare, provedere da colore, merge, 'diff-view',
etc. http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, http://www.vanheusden.com

2008-11-04 17:27:45

by folkert

[permalink] [raw]
Subject: [2.6.26] OOPS: unable to handle kernel NULL pointer dereference at 0000000000000038

While running my http://vanheusden.com/pyk/ script (which randomly
inserts and removes modules) I triggered the folllowing WARNING in a
2.6.26 kernel on an IBM xSeries x3650 (2 quadcores (intel qc x5450)
and 10GB ram).

(probably related to previous report)

[ 2813.078161] BUG: unable to handle kernel NULL pointer dereference at 0000000000000038
[ 2813.078161] IP: [<ffffffff802e2264>] sysfs_addrm_start+0x2d/0x99
[ 2813.078161] PGD 2bb8be067 PUD 2bb89d067 PMD 0
[ 2813.078161] Oops: 0000 [1] SMP
[ 2813.078161] CPU 5
[ 2813.078161] Modules linked in: cpufreq_conservative(+) dock ppdev cpufreq_ondemand sg lp cpufreq_userspace acpi_cpufreq pcspkr edac_core ses parport_pc appletalk(-) enclosure loop parport video output battery cdrom rng_core qla2xxx(-) ac rfcomm l2cap bluetooth nfsd lockd nfs_acl auth_rpcgss sunrpc exportfs freq_table ipv6 evdev ext3 jbd mbcache dm_log dm_mod usbhid hid ff_memless sd_mod firmware_class scsi_transport_fc ide_pci_generic ide_core ehci_hcd uhci_hcd scsi_tgt aacraid scsi_mod processor thermal_sys [last unloaded: thermal]
[ 2813.078161] Pid: 10082, comm: qla2xxx_8_dpc Tainted: G W 2.6.26-1-amd64 #1
[ 2813.078161] RIP: 0010:[<ffffffff802e2264>] [<ffffffff802e2264>] sysfs_addrm_start+0x2d/0x99
[ 2813.078161] RSP: 0000:ffff8102ba429a60 EFLAGS: 00010246
[ 2813.083209] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[ 2813.083209] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8102bfc2d000
[ 2813.083209] RBP: ffff8102ba429a80 R08: 0000000000000080 R09: ffff8102ba429980
[ 2813.083209] R10: ffff8102b8c7a598 R11: 00000e8e90dbbaa0 R12: 00000000fffffff4
[ 2813.083209] R13: 0000000000000000 R14: ffff8102ba429ad8 R15: ffff81028a49c170
[ 2813.083209] FS: 0000000000000000(0000) GS:ffff8102be5696c0(0000) knlGS:0000000000000000
[ 2813.083209] CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
[ 2813.083209] CR2: 0000000000000038 CR3: 00000002b99eb000 CR4: 00000000000006e0
[ 2813.083209] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 2813.083209] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 2813.083209] Process qla2xxx_8_dpc (pid: 10082, threadinfo ffff8102ba428000, task ffff8102bbc7c140)
[ 2813.083209] Stack: 00000000fffffff4 ffff8102b8c7a550 ffff8102bc541460 ffffffff802e272b
[ 2813.083209] 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 2813.083209] ffff8102b8c7a550 ffff8102b8c7a400 00000000fffffffe ffff8102b8c7a598
[ 2813.083209] Call Trace:
[ 2813.083209] [<ffffffff802e272b>] ? create_dir+0x44/0x87
[ 2813.083209] [<ffffffff802e27a3>] ? sysfs_create_dir+0x35/0x4a
[ 2813.083209] [<ffffffff8031ae88>] ? kobject_get+0x12/0x17
[ 2813.083209] [<ffffffff8031afb5>] ? kobject_add_internal+0xc3/0x17e
[ 2813.083209] [<ffffffff8031b46e>] ? kobject_add+0x74/0x7c
[ 2813.083209] [<ffffffff8031f235>] ? sprintf+0x51/0x59
[ 2813.083209] [<ffffffff8031ae88>] ? kobject_get+0x12/0x17
[ 2813.083209] [<ffffffff80382771>] ? get_device+0x17/0x20
[ 2813.083209] [<ffffffff80382d81>] ? device_add+0x9b/0x53f
[ 2813.083209] [<ffffffff80386df6>] ? attribute_container_add_device+0x3f/0x124
[ 2813.083209] [<ffffffffa00a30e7>] ? :scsi_transport_fc:fc_remote_port_add+0x47a/0x60d
[ 2813.083209] [<ffffffffa03864a4>] ? :qla2xxx:qla2x00_update_fcport+0x2b8/0x363
[ 2813.083209] [<ffffffffa038e02d>] ? :qla2xxx:qla2x00_get_port_database+0x2f0/0x2fe
[ 2813.083209] [<ffffffffa03868fa>] ? :qla2xxx:qla2x00_configure_local_loop+0x32a/0x3c0
[ 2813.083209] [<ffffffffa0386d14>] ? :qla2xxx:qla2x00_configure_loop+0x384/0x10fd
[ 2813.083209] [<ffffffffa038c854>] ? :qla2xxx:qla2x00_get_retry_cnt+0x43/0xbd
[ 2813.083209] [<ffffffff8023ca94>] ? process_timeout+0x0/0x5
[ 2813.083209] [<ffffffff8042874a>] ? schedule_timeout+0x85/0xad
[ 2813.083209] [<ffffffffa0387ae9>] ? :qla2xxx:qla2x00_loop_resync+0x5c/0xae
[ 2813.083209] [<ffffffffa03848d5>] ? :qla2xxx:qla2x00_do_dpc+0x435/0x4d4
[ 2813.083209] [<ffffffffa03844a0>] ? :qla2xxx:qla2x00_do_dpc+0x0/0x4d4
[ 2813.083209] [<ffffffff80245efb>] ? kthread+0x47/0x74
[ 2813.083209] [<ffffffff80230057>] ? schedule_tail+0x27/0x5c
[ 2813.083209] [<ffffffff8020cef8>] ? child_rip+0xa/0x12
[ 2813.083209] [<ffffffff80245eb4>] ? kthread+0x0/0x74
[ 2813.083209] [<ffffffff8020ceee>] ? child_rip+0x0/0x12
[ 2813.083209]
[ 2813.083209]
[ 2813.083209] Code: c0 b9 08 00 00 00 fc 53 48 89 fd 48 89 f3 48 83 ec 08 f3 ab 48 89 75 00 48 c7 c7 20 ba 50 80 e8 18 67 14 00 48 8b 3d 64 1b 37 00 <48> 8b 73 38 48 89 d9 48 c7 c2 b8 1f 2e 80 e8 09 a5 fc ff 48 85
[ 2813.089237] RIP [<ffffffff802e2264>] sysfs_addrm_start+0x2d/0x99
[ 2813.089237] RSP <ffff8102ba429a60>
[ 2813.089237] CR2: 0000000000000038
[ 2813.096458] ---[ end trace a70f168407a6dea1 ]---


Folkert van Heusden

--
MultiTail ? uno flexible tool per seguire di logfiles e effettuazione
di commissioni. Feltrare, provedere da colore, merge, 'diff-view',
etc. http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, http://www.vanheusden.com

2008-11-11 20:02:58

by folkert

[permalink] [raw]
Subject: [2.6.27] allows to rmmod 'ide_pci_generic' with mounted filesystems

While running my http://vanheusden.com/pyk/ script (which randomly
inserts and removes modules), the module 'ide_pci_generic' got unloaded
while filesystems were mounted that used that module. Of course the
system crashed but I think it should not be possible to unload
modules when resources it serves are still in use.


Folkert van Heusden

--
MultiTail cok yonlu kullanimli bir program, loglari okumak, verilen
kommandolari yerine getirebilen. Filter, renk verme, merge, 'diff-
view', vs. http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, http://www.vanheusden.com

2008-11-11 20:38:45

by folkert

[permalink] [raw]
Subject: Re: [2.6.27] allows to rmmod 'ide_pci_generic' with mounted filesystems

Hang on: it is not ide_pci_generic causing the filesystem errors. Still
investigating.

On Tue, Nov 11, 2008 at 09:02:47PM +0100, Folkert van Heusden wrote:
> While running my http://vanheusden.com/pyk/ script (which randomly
> inserts and removes modules), the module 'ide_pci_generic' got unloaded
> while filesystems were mounted that used that module. Of course the
> system crashed but I think it should not be possible to unload
> modules when resources it serves are still in use.
>
>
> Folkert van Heusden
>
> --
> MultiTail cok yonlu kullanimli bir program, loglari okumak, verilen
> kommandolari yerine getirebilen. Filter, renk verme, merge, 'diff-
> view', vs. http://www.vanheusden.com/multitail/
> ----------------------------------------------------------------------
> Phone: +31-6-41278122, PGP-key: 1F28D8AE, http://www.vanheusden.com


Folkert van Heusden

--
MultiTail is een flexibele tool voor het volgen van logfiles en
uitvoer van commando's. Filteren, van kleur voorzien, mergen,
'diff-view', etc. http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, http://www.vanheusden.com

2008-11-11 20:54:31

by folkert

[permalink] [raw]
Subject: Re: [2.6.27] attempt to access beyond end of device

Odd, these modules were unloaded but if I unload them "by hand", the system
keeps running without any failures.
-ac
-battery
-button
-container
-dm_mirror
-dm_snapshot
-fan
-floppy
-ide_cd_mod
-parport_pc
-rng_core
-usbhid

The errors are, by the way:
[ 90.355347] attempt to access beyond end of device
[ 90.355413] dm-0: rw=0, want=4993757896, limit=565248
[ 90.355490] Buffer I/O error on device dm-0, logical block 2496878947
[ 90.355559] attempt to access beyond end of device
[ 90.355614] dm-0: rw=0, want=1967413868, limit=565248
[ 90.355674] Buffer I/O error on device dm-0, logical block 983706933
[ 90.355748] attempt to access beyond end of device
[ 90.355804] dm-0: rw=0, want=6151601454, limit=565248
[ 90.355866] Buffer I/O error on device dm-0, logical block 3075800726
[ 90.355921] attempt to access beyond end of device
[ 90.355988] dm-0: rw=0, want=2896542408, limit=565248
[ 90.356059] Buffer I/O error on device dm-0, logical block 1448271203
[ 128.751683] attempt to access beyond end of device
[ 128.751749] dm-0: rw=0, want=8168917190, limit=565248
[ 128.751817] Buffer I/O error on device dm-0, logical block 4084458594
[ 128.751887] attempt to access beyond end of device
[ 128.751941] dm-0: rw=0, want=4756365548, limit=565248
[ 128.752011] Buffer I/O error on device dm-0, logical block 2378182773
[ 128.752075] attempt to access beyond end of device
[ 128.752142] dm-0: rw=0, want=4510308232, limit=565248
[ 128.752201] Buffer I/O error on device dm-0, logical block 2255154115
[ 128.752256] attempt to access beyond end of device
[ 128.752310] dm-0: rw=0, want=1847372720, limit=565248
[ 128.752378] Buffer I/O error on device dm-0, logical block 923686359
[ 128.820595] attempt to access beyond end of device
[ 128.820665] dm-0: rw=0, want=5787791288, limit=565248
[ 128.820733] Buffer I/O error on device dm-0, logical block 2893895643
[ 128.820811] attempt to access beyond end of device
[ 128.820872] dm-0: rw=0, want=6800015832, limit=565248
[ 128.820929] Buffer I/O error on device dm-0, logical block 3400007915


On Tue, Nov 11, 2008 at 09:38:33PM +0100, Folkert van Heusden wrote:
> Hang on: it is not ide_pci_generic causing the filesystem errors. Still
> investigating.
>
> On Tue, Nov 11, 2008 at 09:02:47PM +0100, Folkert van Heusden wrote:
> > While running my http://vanheusden.com/pyk/ script (which randomly
> > inserts and removes modules), the module 'ide_pci_generic' got unloaded
> > while filesystems were mounted that used that module. Of course the
> > system crashed but I think it should not be possible to unload
> > modules when resources it serves are still in use.
> >
> >
> > Folkert van Heusden
> >
> > --
> > MultiTail cok yonlu kullanimli bir program, loglari okumak, verilen
> > kommandolari yerine getirebilen. Filter, renk verme, merge, 'diff-
> > view', vs. http://www.vanheusden.com/multitail/
> > ----------------------------------------------------------------------
> > Phone: +31-6-41278122, PGP-key: 1F28D8AE, http://www.vanheusden.com
>
>
> Folkert van Heusden
>
> --
> MultiTail is een flexibele tool voor het volgen van logfiles en
> uitvoer van commando's. Filteren, van kleur voorzien, mergen,
> 'diff-view', etc. http://www.vanheusden.com/multitail/
> ----------------------------------------------------------------------
> Phone: +31-6-41278122, PGP-key: 1F28D8AE, http://www.vanheusden.com


Folkert van Heusden

--
MultiTail is een flexibele tool voor het volgen van logfiles en
uitvoer van commando's. Filteren, van kleur voorzien, mergen,
'diff-view', etc. http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, http://www.vanheusden.com