Skip to contentSkip to conversation

Top kernel oopses/warnings for the week of May 16th 2008

DISCUSSION Arjan van de Ven 5 participants 8 messages May 16, 2008 – May 20, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

The http://www.kerneloops.org website collects kernel oops and warning reports from various mailing lists and bugzillas as well as with a client users can install to auto-submit oopses. Below is a top 10 list of the oopses collected in the last 7 days. (Reports prior to 2.6.23 have been omitted in collecting the top 10)

This week, a total of 1617 oopses and warnings have been reported, compared to 452 reports in the previous week. This sharp increase is due to Fedora 9 being released, which includes the automatic collection client.

Per file statistics
-------------------
743 kernel/sysctl.c
113 fs/buffer.c
76 fs/sysfs/dir.c
38 kernel/spinlock.c
22 fs/inotify.c
21 kernel/sysctl_check.c (P)
21 net/core/sock.c
18 fs/file_table.c
17 mm/page_alloc.c
15 lib/iomap.c

Bug of the week
---------------
Not in the top 10 (but barely not so), but upcoming fast is a bug that has a very distinct pattern.
The backtraces are at http://www.kerneloops.org/searchweek.php?search=fput

The pattern is that the kernel gets an invalid pointer passed to fput(), coming down from a select() system call done by the "wpa_supplicant" program. The fact that it is ONLY wpa_supplicant implicates the wireless/network stack. Another observation is that this only happens with 64 bit kernels, even though a large portion of the users uses 32 bit kernels. This implies that this is a 64-bit type of bug. It appears that the top 32 bit of the pointers is getting corrupted (the bottom part at least looks valid).

Top 10 reported bugs
--------------------

Rank 1: __register_sysctl_paths
Reported 741 times (1254 total reports)
Duplicate /proc registration. Bugs in madwifi but also in the parport driver This oops was last seen in version 2.6.25.3, and first seen in 2.6.25-rc3. More info: http://www.kerneloops.org/searchweek.php?search=__register_sysctl_paths

Rank 2: mark_buffer_dirty
Reported 110 times (306 total reports)
EXT3 bug while hot-removing a USB device
This oops was last seen in version 2.6.25.3, and first seen in 2.6.24-rc6. More info: http://www.kerneloops.org/searchweek.php?search=mark_buffer_dirty

Rank 3: sysfs_add_one
Reported 67 times (272 total reports)
Adding duplicate sysfs files... seems to be mostly around USB so all in GregKH's park This oops was last seen in version 2.6.26-rc2, and first seen in 2.6.24-rc6. More info: http://www.kerneloops.org/searchweek.php?search=sysfs_add_one

Rank 4: _spin_unlock_irqrestore
Reported 38 times (130 total reports)
Mostly "softlockups" coming out of idle. This could well be mostly hardware issues; idle is the most harsh thing in terms of voltage/current swings. This oops was last seen in version 2.6.25.3, and first seen in 2.6.22-rc1. More info: http://www.kerneloops.org/searchweek.php?search=_spin_unlock_irqrestore

Rank 5: ieee80211_stop_tx_ba_session
Reported 36 times (56 total reports)
Seems to be caused by the 4965 driver
This oops was last seen in version 2.6.25.3, and first seen in 2.6.25-rc7-git6. More info: http://www.kerneloops.org/searchweek.php?search=ieee80211_stop_tx_ba_session

Rank 6: nouveau_gpuobj_ref_del
Reported 22 times (40 total reports)
Bug in the out-of-tree nouveau driver
This oops was last seen in version 2.6.25, and first seen in 2.6.25-rc4. More info: http://www.kerneloops.org/searchweek.php?search=nouveau_gpuobj_ref_del

Rank 7: set_dentry_child_flags
Reported 22 times (741 total reports)
Bug in the 2.6.24 inotify code that got exposed by KDE4 and got fixed in 2.6.25 This oops was last seen in version 2.6.24.4, and first seen in 2.6.24-rc8-git4. More info: http://www.kerneloops.org/searchweek.php?search=set_dentry_child_flags

Rank 8: sysctl_check_lookup
Reported 21 times (239 total reports)
Bug in the proprietary madwifi driver
Oops only shows up in tainted kernels
This oops was last seen in version 2.6.24.5, and first seen in 2.6.24-rc5. More info: http://www.kerneloops.org/searchweek.php?search=sysctl_check_lookup

Rank 9: sk_free
Reported 19 times (80 total reports)
VMWare driver bug
Oops only shows up in tainted kernels
This oops was last seen in version 2.6.25.3, and first seen in 2.6.23.9. More info: http://www.kerneloops.org/searchweek.php?search=sk_free

Rank 10: __alloc_pages
Reported 16 times (31 total reports)
Sleeping allocation in interrupt context, some in netlink, some in the nv sata driver This oops was last seen in version 2.6.25.3, and first seen in 2.6.18-rc1. More info: http://www.kerneloops.org/searchweek.php?search=__alloc_pages

#1 lore raw
Quoted 8 lines · Arjan van de Ven

Rank 10: __alloc_pages
Reported 16 times (31 total reports)
Sleeping allocation in interrupt context, some in netlink, some in the nv sata driver
This oops was last seen in version 2.6.25.3, and first seen in 2.6.18-rc1.
More info:
http://www.kerneloops.org/searchweek.php?search=__alloc_pages

Number of them from via-velocity driver should be fixed by attached patch (added Francois Romieu <[email protected]> to copy), but frankly that looks really bad. Allocations are protected by lock, which is used for interrupts, but that is safe, since device is turned off, but also for suspend (which can free them again, btw), mii register dump (will break without lock) and something else, which should be fine though because of rtnl. What we could do better, is to allocate new rings in advance, and only substitue pointers and write registers under the lock, Francois?

drivers/net/via-velocity.c +2 -2
index 6b8d882..d6b7972 100644
@@ -1251,7 +1251,7 @@ static int velocity_init_rd_ring(struct velocity_info *vptr)
 	vptr->rx_buf_sz = (mtu <= ETH_DATA_LEN) ? PKT_BUF_SZ : mtu + 32;
 
 	vptr->rd_info = kcalloc(vptr->options.numrx,
-				sizeof(struct velocity_rd_info), GFP_KERNEL);
+				sizeof(struct velocity_rd_info), GFP_ATOMIC);
 	if (!vptr->rd_info)
 		return -ENOMEM;
 
@@ -1324,7 +1324,7 @@ static int velocity_init_td_ring(struct velocity_info *vptr)
 
 		vptr->td_infos[j] = kcalloc(vptr->options.numtx,
 					    sizeof(struct velocity_td_info),
-					    GFP_KERNEL);
+					    GFP_ATOMIC);
 		if (!vptr->td_infos[j])	{
 			while(--j >= 0)
 				kfree(vptr->td_infos[j]);
Signature · 1 line
	Evgeniy Polyakov
#2 lore raw
In reply to Arjan van de Ven
Quoted 7 lines · Arjan van de Ven

...
Bug of the week
---------------
Not in the top 10 (but barely not so), but upcoming fast is a bug that has a very distinct pattern.
The backtraces are at http://www.kerneloops.org/searchweek.php?search=fput

Quoted 8 lines

The pattern is that the kernel gets an invalid pointer passed to fput(), coming down from a select() system call done by the "wpa_supplicant" program. The fact that it is ONLY wpa_supplicant implicates the wireless/network stack. Another observation is that this only happens with 64 bit kernels, even though a large portion of the users uses 32 bit kernels. This implies that this is a 64-bit type of bug. It appears that the top 32 bit of the pointers is getting corrupted (the bottom part at least looks valid).
...

Unless I misunderstand your webinterface another pattern is a "fc9" in the version string.

My first guess would be that it might be a problem in some code that is only in Fedora kernels?

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
#3 lore raw
Quoted 17 lines · Adrian Bunk
Quoted 7 lines · Arjan van de Ven

...
Bug of the week
---------------
Not in the top 10 (but barely not so), but upcoming fast is a bug that has a very distinct pattern.
The backtraces are at http://www.kerneloops.org/searchweek.php?search=fput

Quoted 8 lines

The pattern is that the kernel gets an invalid pointer passed to fput(), coming down from a select() system call done by the "wpa_supplicant" program. The fact that it is ONLY wpa_supplicant implicates the wireless/network stack. Another observation is that this only happens with 64 bit kernels, even though a large portion of the users uses 32 bit kernels. This implies that this is a 64-bit type of bug. It appears that the top 32 bit of the pointers is getting corrupted (the bottom part at least looks valid).
...

Quoted 1 line

Unless I misunderstand your webinterface another pattern is a "fc9" in the version string.

that's because fc9 is the only OS that currently ships the client by default, which means that it's a statistical thing where 90%+ of the reports come from Fedora kernels, just because that's where the data is mined.

Quoted 2 lines

My first guess would be that it might be a problem in some code that is only in Fedora kernels?

that may or may not be true, but we can't conclude that right now.

#4 lore raw
In reply to Adrian Bunk
Quoted 17 lines · Adrian Bunk
Quoted 7 lines · Arjan van de Ven

...
Bug of the week
---------------
Not in the top 10 (but barely not so), but upcoming fast is a bug that has a very distinct pattern.
The backtraces are at http://www.kerneloops.org/searchweek.php?search=fput

Quoted 8 lines

The pattern is that the kernel gets an invalid pointer passed to fput(), coming down from a select() system call done by the "wpa_supplicant" program. The fact that it is ONLY wpa_supplicant implicates the wireless/network stack. Another observation is that this only happens with 64 bit kernels, even though a large portion of the users uses 32 bit kernels. This implies that this is a 64-bit type of bug. It appears that the top 32 bit of the pointers is getting corrupted (the bottom part at least looks valid).
...

Quoted 2 lines

Unless I misunderstand your webinterface another pattern is a "fc9" in the version string.

Unsurprising really given we just did a release, and not many other distros are enabling kerneloops by default yet.

Quoted 2 lines

My first guess would be that it might be a problem in some code that is only in Fedora kernels?

Very likely, though it's worth noting that all the wireless patches we have in f9 are from wireless.git, so they're valid 2.6.26-rc bugs

Dave

Signature · 1 line
http://www.codemonkey.org.uk
#5 lore raw

notification for systemtap-related oops

In reply to Arjan van de Ven

Hi -

Arjan, would it be possible for kerneloops.org to notify us systemtap people (cc:d) automagically if the oops messages implicate systemtap modules by including "stap_.*" in the loaded-module list or stack backtrace symbols?

- FChE

#6 lore raw

Re: notification for systemtap-related oops

Quoted 6 lines · Frank Ch. Eigler

Hi -

Arjan, would it be possible for kerneloops.org to notify us systemtap people (cc:d) automagically if the oops messages implicate systemtap modules by including "stap_.*" in the loaded-module list or stack backtrace symbols?

I can get you an RSS feed for that....

doing something more proactive is harder due to the unscalable nature

#7 lore raw

Re: notification for systemtap-related oops

Hi -

Quoted 2 lines · Arjan van de Ven

I can get you an RSS feed for [notifying us of stap* oopses].... doing something more proactive is harder due to the unscalable nature

RSS would be fine, and can be converted to email by other tools.

- FChE