Oops on 2.6.11-rc3-mm1

2005-02-05 Thread Grant Wilson
I hit the following oops on 2.6.11-rc3-mm1.  I was previously running
-rc2-mm2 with no problems.

Rgds,
Grant Wilson

Feb  5 02:43:21 tlg kernel: Unable to handle kernel paging request at 
2e16f000 RIP: 
Feb  5 02:43:21 tlg kernel: {copy_user_generic_c+8}
Feb  5 02:43:21 tlg kernel: PGD 2f092067 PUD 2f091067 PMD 2ef96067 PTE 0
Feb  5 02:43:21 tlg kernel: Oops: 0002 [1] PREEMPT 
Feb  5 02:43:21 tlg kernel: CPU 0 
Feb  5 02:43:21 tlg kernel: Modules linked in: ipv6 snd_via82xx snd_ac97_codec 
snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_page_alloc snd_mpu401_uart 
snd_rawmidi snd_seq_device snd soundcore mousedev evdev usbhid ehci_hcd 
uhci_hcd e100 w83627hf eeprom i2c_sensor i2c_isa i2c_viapro unix
Feb  5 02:43:21 tlg kernel: Pid: 5794, comm: gkrellm Not tainted 2.6.11-rc3-mm1
Feb  5 02:43:21 tlg kernel: RIP: 0010:[copy_user_generic_c+8/38] 
{copy_user_generic_c+8}
Feb  5 02:43:21 tlg kernel: RSP: 0018:81002f107eb0  EFLAGS: 00010206
Feb  5 02:43:21 tlg kernel: RAX: 81002f106000 RBX: 001b RCX: 
0003
Feb  5 02:43:21 tlg kernel: RDX: 0003 RSI: 81000ee52000 RDI: 
2e16f000
Feb  5 02:43:21 tlg kernel: RBP: 81000ee52000 R08: 81002f107ed4 R09: 
001b
Feb  5 02:43:21 tlg kernel: R10:  R11:  R12: 
0400
Feb  5 02:43:21 tlg kernel: R13: 1000 R14: 0400 R15: 
81002f107f50
Feb  5 02:43:21 tlg kernel: FS:  2d58acb0() 
GS:8061a800() knlGS:
Feb  5 02:43:21 tlg kernel: CS:  0010 DS:  ES:  CR0: 8005003b
Feb  5 02:43:21 tlg kernel: CR2: 2e16f000 CR3: 2f12d000 CR4: 
06e0
Feb  5 02:43:21 tlg kernel: Process gkrellm (pid: 5794, threadinfo 
81002f106000, task 810031918170)
Feb  5 02:43:21 tlg kernel: Stack: 801b05db 81003ffd6bc0 
 2e16f000 
Feb  5 02:43:21 tlg kernel:00018012cfac 81000ee52000 
0400 81001d205880 
Feb  5 02:43:21 tlg kernel:2e16f000  
Feb  5 02:43:21 tlg kernel: Call Trace:{proc_file_read+507} 
{vfs_read+196} 
Feb  5 02:43:21 tlg kernel:{sys_read+83} 
{system_call+126} 
Feb  5 02:43:21 tlg kernel:
Feb  5 02:43:21 tlg kernel: 
Feb  5 02:43:21 tlg kernel: Code: f3 48 a5 89 d1 f3 a4 89 c8 c3 48 8d 04 ca c3 
90 90 90 90 90 
Feb  5 02:43:21 tlg kernel: RIP {copy_user_generic_c+8} RSP 

Feb  5 02:43:21 tlg kernel: CR2: 2e16f000
 
Feb  5 09:46:43 tlg kernel:  <1>Unable to handle kernel paging request at 
2ab22000 RIP: 
Feb  5 09:46:43 tlg kernel: {file_read_actor+59}
Feb  5 09:46:43 tlg kernel: PGD 36c81067 PUD 36c82067 PMD 36c83067 PTE 0
Feb  5 09:46:43 tlg kernel: Oops: 0002 [2] PREEMPT 
Feb  5 09:46:43 tlg kernel: CPU 0 
Feb  5 09:46:43 tlg kernel: Modules linked in: ipv6 snd_via82xx snd_ac97_codec 
snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_page_alloc snd_mpu401_uart 
snd_rawmidi snd_seq_device snd soundcore mousedev evdev usbhid ehci_hcd 
uhci_hcd e100 w83627hf eeprom i2c_sensor i2c_isa i2c_viapro unix
Feb  5 09:46:43 tlg kernel: Pid: 25190, comm: pan Not tainted 2.6.11-rc3-mm1
Feb  5 09:46:43 tlg kernel: RIP: 0010:[file_read_actor+59/336] 
{file_read_actor+59}
Feb  5 09:46:43 tlg kernel: RSP: 0018:81000a6c7c58  EFLAGS: 00010246
Feb  5 09:46:43 tlg kernel: RAX: 00f9 RBX: 810001d6ae88 RCX: 

Feb  5 09:46:43 tlg kernel: RDX:  RSI: 810001d6ae88 RDI: 
2ab22000
Feb  5 09:46:43 tlg kernel: RBP: 00f9 R08: fffa R09: 

Feb  5 09:46:43 tlg kernel: R10:  R11:  R12: 
81000a6c7d98
Feb  5 09:46:43 tlg kernel: R13: 1000 R14:  R15: 
00f9
Feb  5 09:46:43 tlg kernel: FS:  437ff970(005b) 
GS:8061a800() knlGS:
Feb  5 09:46:43 tlg kernel: CS:  0010 DS:  ES:  CR0: 8005003b
Feb  5 09:46:43 tlg kernel: CR2: 2ab22000 CR3: 2d642000 CR4: 
06e0
Feb  5 09:46:43 tlg kernel: Process pan (pid: 25190, threadinfo 
81000a6c6000, task 81002aed81b0)
Feb  5 09:46:43 tlg kernel: Stack: 0001 810001d6ae88 
81000f274250  
Feb  5 09:46:43 tlg kernel:81001e7775e8 801550f9 
  
Feb  5 09:46:43 tlg kernel:00f8  
Feb  5 09:46:43 tlg kernel: Call 
Trace:{do_generic_mapping_read+473} 
{file_read_actor+0} 
Feb  5 09:46:43 tlg kernel:
{__generic_file_aio_read+422} 
{generic_file_aio_read+49} 
Feb  5 09:46:43 tlg kernel:{do_sync_read+173} 
{vma_merge+301} 
Feb  5 09:46:43 tlg kernel:{finish_task_switch+56} 
{thread_return+118} 
Feb  5 09:46:43 tlg kernel:
{autoremove_wake_function+0} 
{try_to_wake_up+276} 
Feb  5 09:46:43 tlg kernel:{vfs_read+196} 
{sys_read+83

Re: 2.6.24-rc1-gb4f5550 oops

2007-11-12 Thread Grant Wilson
On Mon, 12 Nov 2007 19:05:49 +0100
Peter Zijlstra <[EMAIL PROTECTED]> wrote:

> 
> On Thu, 2007-11-08 at 23:49 +0100, Rafael J. Wysocki wrote:
> > On Thursday, 8 of November 2007, Grant Wilson wrote:
> > > On Thu, 8 Nov 2007 22:42:21 +0100
> > > "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote:
> > > 
> > > > On Thursday, 8 of November 2007, Grant Wilson wrote:
> > > > > On Thu, 8 Nov 2007 16:53:10 +0100
> > > > > "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote:
> > > > > 
> > > > > > On Thursday, 8 of November 2007, Grant Wilson wrote:
> > > > > > > On Thu, 8 Nov 2007 01:06:21 +0100
> > > > > > > "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote:
> > > > > > > 
> > > > > > > > On Monday, 5 of November 2007, Grant Wilson wrote:
> > > > > > > > > Hi,
> > > > > > > > > I got this oops on 2.6.24-rc1-641-gb4f5550:
> > > > > > > > 
> > > > > > > > (1) Is this reproducible?
> > > > > > > > (2) Did it happen previously on your system?
> > > > > > > >
> > > > > > > > [18073.371126] Unable to handle kernel NULL pointer dereference 
> > > > > > > > at 0120 RIP: 
> > > > > > > > [18073.371134]  [] 
> > > > > > > > check_preempt_wakeup+0x6e/0x110
> > > > > > > 
> > > > > > > This has now happened twice - the second time was last night when
> > > > > > > running 2.6.24-rc2.
> > > > > > > 
> > > > > > > Here's that second occurrence:
> > > > > > > 
> > > > > [snip]
> > > > > > 
> > > > > > Hmm.
> > > > > > 
> > > > > > Please run "gdb vmlinux" and see what code corresponds to
> > > > > > check_preempt_wakeup+0x6e in your kernel.
> > > > >
> > > > > 
> > > > > Dump of assembler code for function check_preempt_wakeup:
> > > > 
> > > > Well, thanks, but I meant the source code.  Please do "gdb vmlinux" and 
> > > > then
> > > > "l *check_preempt_wakeup+0x6e" in gdb.
> > > 
> > > Here's the requested output:
> > > 
> > > (gdb) l *check_preempt_wakeup+0x6e
> > > 0x802329ae is in check_preempt_wakeup (kernel/sched_fair.c:668).
> > > 663
> > > 664 /* Do the two (enqueued) entities belong to the same group ? */
> > > 665 static inline int
> > > 666 is_same_group(struct sched_entity *se, struct sched_entity *pse)
> > > 667 {
> > > 668 if (se->cfs_rq == pse->cfs_rq)
> > > 669 return 1;
> > > 670
> > > 671 return 0;
> > > 672 }
> > 
> > Well, it looks like either se or pse is NULL.
> > 
> > Ingo, can you please have a look?
> 
> Most puzzling this, it should be guaranteed that the top sched_entities
> are of the same group, therefore avoiding this loop into NULL. Obviously
> something has gone wrong.
> 
> Grant, is there anything specific you can tell us about how to reproduce
> this?

I'm afraid not.  It has only happened twice and both times I was away
from the box in question at the time of failure, so it wasn't doing a
great deal.

I'm running 2.6.24-rc2 on two boxes and both times it happened on the
box running a quad core processor.

Grant

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


Re: Linux 2.6.23-rc5 - oops

2007-09-01 Thread Grant Wilson
On Fri, 31 Aug 2007 23:52:36 -0700 (PDT)
Linus Torvalds <[EMAIL PROTECTED]> wrote:

> 
> I'm making ready to leave for the kernel summit (as are probably a
> lot of other core kernel people), and as part of that, there's a
> 2.6.23-rc5 out there now.
> 
> Hopefully we've addressed most regressions, so please do give it a
> good testing.
> 
[snip] 
> Tejun Heo (3):
>   ata_piix: add Satellite U200 to broken suspend list
>   libata: implement BROKEN_HPA horkage and apply it to affected
> drives ata_piix: implement IOCFG bit18 quirk

Hi,
Get an oops when booting this kernel:

[   49.178892] Unable to handle kernel NULL pointer dereference at 
 RIP:
[   49.178905]  [] strlen+0x2/0x20
[   49.180550] PGD 0
[   49.181368] Oops:  [1] PREEMPT SMP
[   49.182189] CPU 0
[   49.182994] Modules linked in:
[   49.183805] Pid: 1, comm: swapper Not tainted 2.6.23-rc5 #2
[   49.184619] RIP: 0010:[]  [] 
strlen+0x2/0x20
[   49.185445] RSP: :8100cff27be0  EFLAGS: 00010246
[   49.186264] RAX:  RBX: 809002c0 RCX: 0008
[   49.187101] RDX: 830f RSI:  RDI: 
[   49.187947] RBP: 8100cff27c00 R08: 0009 R09: 0008
[   49.188804] R10: 00fa R11:  R12: 80833778
[   49.189660] R13:  R14: 8100cfe77070 R15: 8068cd20
[   49.190508] FS:  () GS:80881000() 
knlGS:
[   49.191365] CS:  0010 DS: 0018 ES: 0018 CR0: 8005003b
[   49.192230] CR2:  CR3: 00201000 CR4: 06e0
[   49.193103] DR0:  DR1:  DR2: 
[   49.193988] DR3:  DR6: 0ff0 DR7: 0400
[   49.194878] Process swapper (pid: 1, threadinfo 8100cff26000, task 
8100cff24000)
[   49.195772] Stack:  803af644  80833778 

[   49.196697]  8100cff27c30 804f3d96 8100cfe77000 
8068d1a8
[   49.197620]  8100cfe77000 8100cff27c70 8100cff27d40 
80491f04
[   49.197648] Call Trace:
[   49.199465]  [] strstr+0x24/0x80
[   49.200382]  [] dmi_check_system+0x46/0x90
[   49.201300]  [] piix_init_one+0x184/0x630
[   49.202214]  [] sysfs_ilookup_test+0x0/0x20
[   49.203126]  [] pci_device_probe+0x76/0xa0
[   49.204033]  [] driver_probe_device+0xa8/0x1b0
[   49.204941]  [] __driver_attach+0xe5/0xf0
[   49.205847]  [] __driver_attach+0x0/0xf0
[   49.206750]  [] bus_for_each_dev+0x53/0x80
[   49.207648]  [] driver_attach+0x1c/0x20
[   49.208542]  [] bus_add_driver+0xa5/0x1e0
[   49.209430]  [] driver_register+0x4d/0x80
[   49.210307]  [] __pci_register_driver+0x78/0xc0
[   49.211184]  [] piix_init+0x19/0x30
[   49.212048]  [] kernel_init+0x154/0x340
[   49.212905]  [] _spin_unlock_irq+0x14/0x40
[   49.213769]  [] child_rip+0xa/0x12
[   49.214621]  [] kernel_init+0x0/0x340
[   49.215472]  [] child_rip+0x0/0x12
[   49.216318]
[   49.217153]
[   49.217153] Code: 80 3f 00 55 48 89 e5 74 11 48 89 f8 66 90 48 83 c0 01 80 38
[   49.218908] RIP  [] strlen+0x2/0x20
[   49.219752]  RSP 
[   49.220580] CR2: 
[   49.221451] Kernel panic - not syncing: Attempted to kill init!


Using git-bisect the faulty commit is

bad: [43a98f05d99205687ddf74089e79a8312c8c5f90] ata_piix: implement IOCFG bit18 
quirk

Cheers,
Grant

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


Re: 2.6.23-rc1-mm1

2007-07-29 Thread Grant Wilson
On Wed, 25 Jul 2007 04:03:04 -0700
Andrew Morton <[EMAIL PROTECTED]> wrote:

> 
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc1/2.6.23-rc1-mm1/
> 

Hi,
I get an oops when trying to mount an ISO file using the loopback device.  
If I revert the patch 'loop-use-unlocked_ioctl.patch' the mount works.

Here's the oops:

[   85.697033] Unable to handle kernel NULL pointer dereference at 
0100 RIP: 
[   85.702528]  [] lo_ioctl+0x25/0xaa0
[   85.710066] PGD 73fd067 PUD 735b067 PMD 0 
[   85.714221] Oops:  [1] PREEMPT SMP 
[   85.718117] CPU 1 
[   85.720159] Modules linked in:
[   85.723242] Pid: 3976, comm: mount Not tainted 2.6.23-rc1-mm1 #4
[   85.729247] RIP: 0010:[]  [] 
lo_ioctl+0x25/0xaa0
[   85.737011] RSP: 0018:8100076a3708  EFLAGS: 00010282
[   85.742326] RAX: 80477860 RBX: fdfd RCX: 5310
[   85.749459] RDX: 8100076a3b58 RSI: 5310 RDI: 
[   85.756591] RBP: 8100076a3908 R08: 8100076a3b58 R09: 81000649da80
[   85.763723] R10:  R11:  R12: 5310
[   85.770856] R13: 8100076a3b58 R14: 5310 R15: 
[   85.777988] FS:  2b4fab3a0e20() GS:810004017180() 
knlGS:
[   85.786081] CS:  0010 DS:  ES:  CR0: 8005003b
[   85.791829] CR2: 0100 CR3: 073d7000 CR4: 06e0
[   85.798970] DR0:  DR1:  DR2: 
[   85.806102] DR3:  DR6: 0ff0 DR7: 0400
[   85.813235] Process mount (pid: 3976, threadinfo 8100076a2000, task 
8100062f66d0)
[   85.821413] Stack:  00020001 8100062f6e90 8100062f6e90 
0013638a
[   85.829533]  80a78ef0  8100076a37b8 
8025c690
[   85.837020]  8100062f66d0 8100062f6e58 00020001 

[   85.844308] Call Trace:
[   85.846961]  [] __lock_acquire+0x3d0/0x1170
[   85.852715]  [] mark_held_locks+0x3e/0x80
[   85.858290]  [] __mutex_lock_slowpath+0x1ca/0x330
[   85.864565]  [] mark_held_locks+0x3e/0x80
[   85.870139]  [] mutex_unlock+0x9/0x10
[   85.875366]  [] __mutex_unlock_slowpath+0xd9/0x1a0
[   85.881720]  [] trace_hardirqs_on+0xda/0x180
[   85.887555]  [] mutex_unlock+0x9/0x10
[   85.892782]  [] do_open+0x231/0x320
[   85.897839]  [] blkdev_driver_ioctl+0x43/0x90
[   85.903758]  [] blkdev_ioctl+0x2c9/0x780
[   85.909247]  [] trace_hardirqs_on_thunk+0x35/0x37
[   85.915522]  [] restore_args+0x0/0x30
[   85.920751]  [] kill_bdev+0x0/0x40
[   85.925718]  [] ioctl_by_bdev+0x34/0x50
[   85.931119]  [] isofs_fill_super+0x969/0xaf0
[   85.936954]  [] sget+0x3c/0x3f0
[   85.941662]  [] test_bdev_super+0x0/0x20
[   85.947150]  [] _spin_unlock+0x30/0x60
[   85.952464]  [] test_bdev_super+0x0/0x20
[   85.957951]  [] sget+0x3ea/0x3f0
[   85.962747]  [] strlcpy+0x4f/0x70
[   85.967628]  [] get_sb_bdev+0x15c/0x190
[   85.973029]  [] isofs_fill_super+0x0/0xaf0
[   85.978693]  [] isofs_get_sb+0x13/0x20
[   85.984006]  [] vfs_kern_mount+0x58/0xc0
[   85.989494]  [] do_mount+0x206/0x850
[   85.994635]  [] __mod_zone_page_state+0x21/0x90
[   86.000729]  [] rmqueue_bulk+0x90/0xb0
[   86.006043]  [] _spin_unlock+0x30/0x60
[   86.011358]  [] rmqueue_bulk+0x90/0xb0
[   86.016673]  [] get_page_from_freelist+0x395/0x500
[   86.023026]  [] trace_hardirqs_on+0xda/0x180
[   86.028860]  [] get_page_from_freelist+0x223/0x500
[   86.035213]  [] __alloc_pages+0x59/0x3a0
[   86.040702]  [] sigprocmask+0x38/0xf0
[   86.045929]  [] kmem_cache_alloc+0x98/0xd0
[   86.051590]  [] __get_free_pages+0x80/0x90
[   86.057251]  [] sys_mount+0x94/0xf0
[   86.062305]  [] trace_hardirqs_on_thunk+0x35/0x37
[   86.068572]  [] system_call+0x7e/0x83
[   86.073799] 
[   86.075296] INFO: lockdep is turned off.
[   86.079226] 
[   86.079227] Code: 48 8b 87 00 01 00 00 49 89 d6 48 8b 18 48 8b 83 10 03 00 
00 
[   86.088306] RIP  [] lo_ioctl+0x25/0xaa0
[   86.093734]  RSP 
[   86.097231] CR2: 0100

Cheers,
Grant

P.S. Here is my .config file:
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.23-rc1-mm1
# Thu Jul 26 20:18:53 2007
#
CONFIG_X86_64=y
CONFIG_64BIT=y
CONFIG_X86=y
CONFIG_GENERIC_TIME=y
CONFIG_GENERIC_TIME_VSYSCALL=y
CONFIG_GENERIC_CMOS_UPDATE=y
CONFIG_ZONE_DMA32=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_SEMAPHORE_SLEEPERS=y
CONFIG_MMU=y
CONFIG_ZONE_DMA=y
CONFIG_QUICKLIST=y
CONFIG_NR_QUICK=2
CONFIG_RWSEM_GENERIC_SPINLOCK=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_X86_CMPXCHG=y
CONFIG_EARLY_PRINTK=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_ARCH_POPULATES_NODE_MAP=y
CONFIG_DMI=y
CONFIG_AUDIT_ARCH=y
CONFIG_GENERIC_BUG=y
# CONFIG_ARCH_HAS_ILOG2_U32 is not set
# CONFIG_ARCH_HAS_ILOG2_U64 is not set
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"

#
# General setup
#
CONFIG

2.6.24-rc1-gb4f5550 oops

2007-11-04 Thread Grant Wilson
Hi,
I got this oops on 2.6.24-rc1-641-gb4f5550:

[18073.371126] Unable to handle kernel NULL pointer dereference at 
0120 RIP: 
[18073.371134]  [] check_preempt_wakeup+0x6e/0x110
[18073.371144] PGD 81f9067 PUD 81c8067 PMD 0 
[18073.371151] Oops:  [1] PREEMPT SMP 
[18073.371157] CPU 2 
[18073.371161] Modules linked in: vfat fat
[18073.371168] Pid: 4639, comm: kwin Not tainted 2.6.24-rc1 #1
[18073.371171] RIP: 0010:[]  [] 
check_preempt_wakeup+0x6e/0x110
[18073.371177] RSP: 0018:810008531a78  EFLAGS: 00010006
[18073.371179] RAX:  RBX:  RCX: 
[18073.371183] RDX: 810004441bf0 RSI: 81000801e860 RDI: 81000444ab80
[18073.371186] RBP: 810008531aa8 R08: 00d0d47a4a90 R09: 
[18073.371188] R10: 810004441bf0 R11: 0001 R12: 810006520400
[18073.371190] R13: 81000801e860 R14: 81000a63a000 R15: 81000443d8e0
[18073.371193] FS:  2b7d646a86f0() GS:810004c11780() 
knlGS:
[18073.371196] CS:  0010 DS:  ES:  CR0: 8005003b
[18073.371199] CR2: 0120 CR3: 08495000 CR4: 06e0
[18073.371202] DR0:  DR1:  DR2: 
[18073.371211] DR3:  DR6: 0ff0 DR7: 0400
[18073.371214] Process kwin (pid: 4639, threadinfo 81000853, task 
81000840a860)
[18073.371216] Stack:  81000444ab80 0001 81000801e860 
81000444ab80
[18073.371231]  0002 81000443d8e0 810008531b38 
8023061e
[18073.371238]   810004441b80 0002 
0001
[18073.371245] Call Trace:
[18073.371250]  [] try_to_wake_up+0x2fe/0x3a0
[18073.371253]  [] default_wake_function+0xd/0x10
[18073.371257]  [] __wake_up_common+0x5a/0x90
[18073.371260]  [] __wake_up_sync+0x4a/0x70
[18073.371264]  [] unix_write_space+0x8f/0xa0
[18073.371269]  [] sock_wfree+0x49/0x50
[18073.371272]  [] __kfree_skb+0x69/0xe0
[18073.371275]  [] kfree_skb+0x17/0x30
[18073.371278]  [] unix_stream_recvmsg+0x267/0x610
[18073.371283]  [] sock_aio_read+0x107/0x110
[18073.371287]  [] do_sync_read+0xf1/0x130
[18073.371291]  [] sock_ioctl+0x0/0x260
[18073.371295]  [] autoremove_wake_function+0x0/0x40
[18073.371299]  [] unix_ioctl+0xb2/0xf0
[18073.371302]  [] sock_ioctl+0xd1/0x260
[18073.371305]  [] do_ioctl+0x31/0x90
[18073.371308]  [] vfs_read+0x156/0x160
[18073.371311]  [] sys_read+0x50/0x90
[18073.371315]  [] system_call+0x7e/0x83
[18073.371317] 
[18073.371319] 
[18073.371319] Code: 48 8b 90 20 01 00 00 48 39 93 20 01 00 00 75 e2 48 81 3b 
00 
[18073.371346] RIP  [] check_preempt_wakeup+0x6e/0x110
[18073.371351]  RSP 
[18073.371354] CR2: 0120
[18073.371358] note: kwin[4639] exited with preempt_count 3

Here's my config:

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.24-rc1
# Sun Nov  4 13:21:29 2007
#
CONFIG_X86_64=y
CONFIG_64BIT=y
CONFIG_X86=y
CONFIG_GENERIC_TIME=y
CONFIG_GENERIC_TIME_VSYSCALL=y
CONFIG_GENERIC_CMOS_UPDATE=y
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_ZONE_DMA32=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_SEMAPHORE_SLEEPERS=y
CONFIG_MMU=y
CONFIG_ZONE_DMA=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_X86_CMPXCHG=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_ARCH_POPULATES_NODE_MAP=y
CONFIG_DMI=y
CONFIG_AUDIT_ARCH=y
CONFIG_GENERIC_BUG=y
# CONFIG_ARCH_HAS_ILOG2_U32 is not set
# CONFIG_ARCH_HAS_ILOG2_U64 is not set
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"

#
# General setup
#
CONFIG_EXPERIMENTAL=y
CONFIG_LOCK_KERNEL=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_LOCALVERSION=""
CONFIG_LOCALVERSION_AUTO=y
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_POSIX_MQUEUE=y
CONFIG_BSD_PROCESS_ACCT=y
# CONFIG_BSD_PROCESS_ACCT_V3 is not set
# CONFIG_TASKSTATS is not set
# CONFIG_USER_NS is not set
# CONFIG_AUDIT is not set
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_LOG_BUF_SHIFT=17
# CONFIG_CGROUPS is not set
CONFIG_FAIR_GROUP_SCHED=y
CONFIG_FAIR_USER_SCHED=y
# CONFIG_FAIR_CGROUP_SCHED is not set
# CONFIG_SYSFS_DEPRECATED is not set
# CONFIG_RELAY is not set
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_SYSCTL=y
# CONFIG_EMBEDDED is not set
CONFIG_UID16=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_ANON_INODES=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_SLUB_DEBUG=y
# CONFIG_SLAB is not set
CONFIG_SLUB=y
# CONFIG_SLOB is not set
CONFIG_RT_MUTEXES=y
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
CONFIG_M

Re: 2.6.24-rc1-gb4f5550 oops

2007-11-08 Thread Grant Wilson
On Thu, 8 Nov 2007 16:53:10 +0100
"Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote:

> On Thursday, 8 of November 2007, Grant Wilson wrote:
> > On Thu, 8 Nov 2007 01:06:21 +0100
> > "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote:
> > 
> > > On Monday, 5 of November 2007, Grant Wilson wrote:
> > > > Hi,
> > > > I got this oops on 2.6.24-rc1-641-gb4f5550:
> > > 
> > > (1) Is this reproducible?
> > > (2) Did it happen previously on your system?
> > >
> > > [18073.371126] Unable to handle kernel NULL pointer dereference at 
> > > 0120 RIP: 
> > > [18073.371134]  [] check_preempt_wakeup+0x6e/0x110
> > 
> > This has now happened twice - the second time was last night when
> > running 2.6.24-rc2.
> > 
> > Here's that second occurrence:
> > 
[snip]
> 
> Hmm.
> 
> Please run "gdb vmlinux" and see what code corresponds to
> check_preempt_wakeup+0x6e in your kernel.

Dump of assembler code for function check_preempt_wakeup:
0x80232940 :push   %rbp
0x80232941 :mov%rsp,%rbp
0x80232944 :sub$0x30,%rsp
0x80232948 :mov%r13,-0x18(%rbp)
0x8023294c :   mov%rbx,-0x28(%rbp)
0x80232950 :   mov%rsi,%r13
0x80232953 :   mov%r12,-0x20(%rbp)
0x80232957 :   mov%r14,-0x10(%rbp)
0x8023295b :   mov%r15,-0x8(%rbp)
0x8023295f :   cmpl   $0x63,0x20(%rsi)
0x80232963 :   mov0x750(%rdi),%r14
0x8023296a :   mov0x168(%r14),%r12
0x80232971 :   jle0x80232a1c 

0x80232977 :   cmpl   $0x3,0x17c(%rsi)
0x8023297e :   je 0x802329f8 

0x80232980 :   testb  $0x10,0x593cb9(%rip) 
   # 0x807c6640 
0x80232987 :   je 0x802329f8 

0x80232989 :   cmp0x168(%rsi),%r12
0x80232990 :   lea0x48(%r14),%rbx
0x80232994 :   lea0x48(%rsi),%rax
0x80232998 :   je 0x802329be 

0x8023299a :   nopw   0x0(%rax,%rax,1)
0x802329a0 :   mov0x118(%rbx),%rbx
0x802329a7 :  mov0x118(%rax),%rax
0x802329ae :  mov0x120(%rax),%rdx
0x802329b5 :  cmp%rdx,0x120(%rbx)
0x802329bc :  jne0x802329a0 

0x802329be :  cmpq   $0x400,(%rbx)
0x802329c5 :  mov0x40(%rbx),%r12
0x802329c9 :  mov0x40(%rax),%r15
0x802329cd :  mov0x593c81(%rip),%edi  
  # 0x807c6654 
0x802329d3 :  jne0x80232a37 

0x802329d5 :  sub%r15,%r12
0x802329d8 :  cmp%r12,%rdi
0x802329db :  jge0x802329f8 

0x802329dd :  testb  $0x20,0x593c5c(%rip) 
   # 0x807c6640 

Cheers,
Grant
-- 
Running Linux 2.6.24-rc2 on x86_64
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.24-rc1-gb4f5550 oops

2007-11-08 Thread Grant Wilson
On Thu, 8 Nov 2007 22:42:21 +0100
"Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote:

> On Thursday, 8 of November 2007, Grant Wilson wrote:
> > On Thu, 8 Nov 2007 16:53:10 +0100
> > "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote:
> > 
> > > On Thursday, 8 of November 2007, Grant Wilson wrote:
> > > > On Thu, 8 Nov 2007 01:06:21 +0100
> > > > "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote:
> > > > 
> > > > > On Monday, 5 of November 2007, Grant Wilson wrote:
> > > > > > Hi,
> > > > > > I got this oops on 2.6.24-rc1-641-gb4f5550:
> > > > > 
> > > > > (1) Is this reproducible?
> > > > > (2) Did it happen previously on your system?
> > > > >
> > > > > [18073.371126] Unable to handle kernel NULL pointer dereference at 
> > > > > 0120 RIP: 
> > > > > [18073.371134]  [] check_preempt_wakeup+0x6e/0x110
> > > > 
> > > > This has now happened twice - the second time was last night when
> > > > running 2.6.24-rc2.
> > > > 
> > > > Here's that second occurrence:
> > > > 
> > [snip]
> > > 
> > > Hmm.
> > > 
> > > Please run "gdb vmlinux" and see what code corresponds to
> > > check_preempt_wakeup+0x6e in your kernel.
> >
> > 
> > Dump of assembler code for function check_preempt_wakeup:
> 
> Well, thanks, but I meant the source code.  Please do "gdb vmlinux" and then
> "l *check_preempt_wakeup+0x6e" in gdb.

Here's the requested output:

(gdb) l *check_preempt_wakeup+0x6e
0x802329ae is in check_preempt_wakeup (kernel/sched_fair.c:668).
663
664 /* Do the two (enqueued) entities belong to the same group ? */
665 static inline int
666 is_same_group(struct sched_entity *se, struct sched_entity *pse)
667 {
668 if (se->cfs_rq == pse->cfs_rq)
669 return 1;
670
671 return 0;
672 }

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


Re: 2.6.22-rc4-mm1

2007-06-06 Thread Grant Wilson
On Wednesday 06 June 2007 10:07:37 Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc4/2.6.22-rc4-mm1/

Patch 'usb-try-to-debug-bug-8561' triggers when I plug in a usb flash drive:

[10998.881000] usb 1-10: new high speed USB device using ehci_hcd and address 3
[10999.001000] usb 1-10: new device found, idVendor=13fe, idProduct=1a00
[10999.002000] usb 1-10: new device strings: Mfr=1, Product=2, SerialNumber=3
[10999.016000] usb 1-10: Product: USB DISK 2.0
[10999.025000] usb 1-10: Manufacturer:
[10999.033000] usb 1-10: SerialNumber: 07720947018D
[10999.034000] usb 1-10: configuration #1 chosen from 1 choice
[10999.047000] scsi8 : SCSI emulation for USB Mass Storage devices
[11004.055000] WARNING: at drivers/usb/core/urb.c:293 usb_submit_urb()
[11004.055000]
[11004.055000] Call Trace:
[11004.055000]  [] dump_trace+0x43f/0x480
[11004.055000]  [] show_trace+0x43/0x70
[11004.055000]  [] dump_stack+0x15/0x20
[11004.055000]  [] usb_submit_urb+0x224/0x240
[11004.055000]  [] usb_sg_wait+0xd5/0x180
[11004.055000]  [] usb_stor_bulk_transfer_sg+0xc4/0x120
[11004.055000]  [] usb_stor_Bulk_transport+0x151/0x2e0
[11004.055000]  [] usb_stor_invoke_transport+0x37/0x380
[11004.055000]  [] usb_stor_transparent_scsi_command+0x9/0x10
[11004.055000]  [] usb_stor_control_thread+0x18a/0x230
[11004.055000]  [] kthread+0x4d/0x80
[11004.055000]  [] child_rip+0xa/0x12

Cheers,
Grant
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/