linux.kernel - 26 new messages in 16 topics - digest
linux.kernel
http://groups.google.com/group/linux.kernel?hl=en
Today's topics:
* WARNING: at sound/core/sound_oss.c:96 snd_oss_kernel_minor+0xdf/0x120 [snd]()
- 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/84d54c1741581f52?hl=en
* Export unusable free space index via /proc/pagetypeinfo - 2 messages, 2
authors
http://groups.google.com/group/linux.kernel/t/f8fbbb5df6905950?hl=en
* 2.6.33-rc3 -- Intel 945GME (inteldrmfb) -- Two Tux images displayed are side
by side (should only show one). - 2 messages, 2 authors
http://groups.google.com/group/linux.kernel/t/b9e5c1ab02235f48?hl=en
* cred: fix memory leak - 2 messages, 2 authors
http://groups.google.com/group/linux.kernel/t/fd1f42fb4cc7c301?hl=en
* NOMMU: Use copy_*_user_page() in access_process_vm() - 3 messages, 2 authors
http://groups.google.com/group/linux.kernel/t/2e3bf78807ac1efb?hl=en
* 2.6.33-rc3 -- MAINTAINERS -- Invalid e-mail address for Sylvain Meyer (Intel
Framebuffer maintainer) - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/ca095be72359fa6f?hl=en
* generic sys_old_mmap - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/326fe738d081af59?hl=en
* FDPIC: Respect PT_GNU_STACK exec protection markings when creating NOMMU
stack - 2 messages, 1 author
http://groups.google.com/group/linux.kernel/t/a197d92bb202ddb1?hl=en
* sort: Introduce generic list_sort function - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/4bb37cec93476d04?hl=en
* generic sys_old_select - 4 messages, 3 authors
http://groups.google.com/group/linux.kernel/t/2944132d1dd8ed87?hl=en
* generic sys_ipc wrapper - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/cf75ba704494de9b?hl=en
* lockdep: inconsistent lock state - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/95987f2a1506c160?hl=en
* drm/kms: fix fbdev blanking regression - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/8e513a86042ddcba?hl=en
* enhanced reimplemented of the kfifo API - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/5c0ab3d48852e5c9?hl=en
* net: wireless, fix lock imbalance - 2 messages, 1 author
http://groups.google.com/group/linux.kernel/t/5a4bf4f467610e7a?hl=en
* SCSI bug fixes for 2.6.33-rc3 - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/b735ca1f1b449133?hl=en
==============================================================================
TOPIC: WARNING: at sound/core/sound_oss.c:96 snd_oss_kernel_minor+0xdf/0x120 [
snd]()
http://groups.google.com/group/linux.kernel/t/84d54c1741581f52?hl=en
==============================================================================
== 1 of 1 ==
Date: Wed, Jan 6 2010 9:10 am
From: John Kacur
On Wed, Jan 6, 2010 at 5:53 PM, John Kacur <jkacur@gmail.com> wrote:
> The following was in my 2.6.33-rc3 dmesg (of course that doesn't mean
> that the problem didn't exist earlier too)
>
> WARNING: at /home/jkacur/rt.linux.git/sound/core/sound_oss.c:96
> snd_oss_kernel_minor+0xdf/0x120 [snd]()
> Hardware name: 2241B48
> BUG? (minor < 0 || minor >= 128)
> Modules linked in: snd_mixer_oss thinkpad_acpi(+) sdhci hwmon i2c_i801
> firewire_ohci snd_pcm mmc_core snd_timer cfg80211 firewire_core btusb
> joydev iTCO_wdt bluetooth ata_generic e1000e i2c_core ppdev snd
> battery ac iTCO_vendor_support parport_pc ricoh_mmc intel_agp
> pata_acpi pcspkr parport tpm_tis video wmi output soundcore button tpm
> rfkill sr_mod tpm_bios snd_page_alloc crc_itu_t cdrom sg ahci libata
> sd_mod scsi_mod crc_t10dif xfs exportfs uhci_hcd ohci_hcd ehci_hcd
> [last unloaded: scsi_wait_scan]
> Pid: 1317, comm: modprobe Not tainted 2.6.33-rc3 #1
> Call Trace:
> [<ffffffffa027bb25>] ? snd_oss_kernel_minor+0xdf/0x120 [snd]
> [<ffffffff8104338c>] warn_slowpath_common+0x7c/0xa9
> [<ffffffff81043410>] warn_slowpath_fmt+0x41/0x43
> [<ffffffffa027bb25>] snd_oss_kernel_minor+0xdf/0x120 [snd]
> [<ffffffffa027bc7e>] snd_register_oss_device+0x2c/0x21a [snd]
> [<ffffffffa0271e1e>] snd_mixer_oss_notify_handler+0xa5/0x2e5 [snd_mixer_oss]
> [<ffffffff81375e00>] ? __mutex_unlock_slowpath+0x5c/0x141
> [<ffffffff810710d5>] ? trace_hardirqs_on_caller+0x11f/0x14a
> [<ffffffff8107110d>] ? trace_hardirqs_on+0xd/0xf
> sdhci-pci 0000:15:00.2: SDHCI controller found [1180:0822] (rev 21)
> sdhci-pci 0000:15:00.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
> [<ffffffff81375ed3>] ? __mutex_unlock_slowpath+0x12f/0x141
> sdhci-pci 0000:15:00.2: Will use DMA mode even though HW doesn't fully
> claim to support it.
> Registered led device: mmc0::
> mmc0: SDHCI controller on PCI [0000:15:00.2] using DMA
> [<ffffffffa027628a>] snd_card_register+0x135/0x14b [snd]
> [<ffffffffa0370c88>] volume_init+0x335/0x3d2 [thinkpad_acpi]
> [<ffffffffa037289b>] thinkpad_acpi_module_init+0x61f/0xa4f [thinkpad_acpi]
> [<ffffffffa037227c>] ? thinkpad_acpi_module_init+0x0/0xa4f [thinkpad_acpi]
> [<ffffffff810001fa>] do_one_initcall+0x5f/0x154
> [<ffffffff8107ff34>] sys_init_module+0xd7/0x234
> [<ffffffff81002d5b>] system_call_fastpath+0x16/0x1b
> ---[ end trace a6d53dc318f09cb5 ]---
>
Here is a slightly different trace back of the same problem in case
that helps anyone
to debug it. Thanks!
WARNING: at /home/jkacur/rt.linux.git/sound/core/sound_oss.c:96
snd_oss_kernel_minor+0xdf/0x120 [snd]()
Hardware name: 2241B48
BUG? (minor < 0 || minor >= 128)
Modules linked in: snd_mixer_oss(+) snd_pcm btusb firewire_ohci
sdhci_pci thinkpad_acpi sdhci snd_timer hwmon firewire_core bluetooth
e1000e ata_generic mmc_core iTCO_wdt i2c_i801 iTCO_vendor_support
ppdev snd tpm_tis i2c_core intel_agp wmi parport_pc parport ricoh_mmc
pata_acpi joydev tpm pcspkr video tpm_bios output sr_mod crc_itu_t
snd_page_alloc button soundcore cdrom ac battery rfkill sg ahci libata
sd_mod scsi_mod crc_t10dif xfs exportfs uhci_hcd ohci_hcd ehci_hcd
[last unloaded: scsi_wait_scan]
Pid: 1571, comm: modprobe Not tainted 2.6.33-rc3 #1
Call Trace:
[<ffffffffa029db25>] ? snd_oss_kernel_minor+0xdf/0x120 [snd]
[<ffffffff8104338c>] warn_slowpath_common+0x7c/0xa9
[<ffffffff81043410>] warn_slowpath_fmt+0x41/0x43
[<ffffffffa029db25>] snd_oss_kernel_minor+0xdf/0x120 [snd]
[<ffffffffa029dc7e>] snd_register_oss_device+0x2c/0x21a [snd]
[<ffffffffa0240e1e>] snd_mixer_oss_notify_handler+0xa5/0x2e5 [snd_mixer_oss]
[<ffffffff8137b1e7>] ? sub_preempt_count+0xa3/0xb6
[<ffffffff8137816d>] ? _raw_spin_unlock_irqrestore+0x6b/0x79
[<ffffffff811ba1fe>] ? __up_read+0x7c/0x85
[<ffffffffa024b000>] ? alsa_mixer_oss_init+0x0/0x3e [snd_mixer_oss]
[<ffffffffa024b02a>] alsa_mixer_oss_init+0x2a/0x3e [snd_mixer_oss]
[<ffffffff810001fa>] do_one_initcall+0x5f/0x154
[<ffffffff8107ff34>] sys_init_module+0xd7/0x234
[<ffffffff81002d5b>] system_call_fastpath+0x16/0x1b
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: 00
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
(2457000 KHz - 2482000 KHz @ 20000 KHz), (600 mBi, 2000 mBm)
(2474000 KHz - 2494000 KHz @ 20000 KHz), (600 mBi, 2000 mBm)
(5170000 KHz - 5250000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
(5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Calling CRDA to update world regulatory domain
---[ end trace bc1eb15b8cb7671c ]---
--
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/
==============================================================================
TOPIC: Export unusable free space index via /proc/pagetypeinfo
http://groups.google.com/group/linux.kernel/t/f8fbbb5df6905950?hl=en
==============================================================================
== 1 of 2 ==
Date: Wed, Jan 6 2010 9:20 am
From: Adam Litke
On Wed, 2010-01-06 at 16:26 +0000, Mel Gorman wrote:
> +/*
> + * Return an index indicating how much of the available free memory is
> + * unusable for an allocation of the requested size.
> + */
> +int unusable_free_index(struct zone *zone,
> + unsigned int order,
> + struct config_page_info *info)
> +{
> + /* No free memory is interpreted as all free memory is unusable */
> + if (info->free_pages == 0)
> + return 100;
Should the above be 1000?
--
Thanks,
Adam
--
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/
== 2 of 2 ==
Date: Wed, Jan 6 2010 9:40 am
From: Mel Gorman
On Wed, Jan 06, 2010 at 11:10:48AM -0600, Adam Litke wrote:
> On Wed, 2010-01-06 at 16:26 +0000, Mel Gorman wrote:
> > +/*
> > + * Return an index indicating how much of the available free memory is
> > + * unusable for an allocation of the requested size.
> > + */
> > +int unusable_free_index(struct zone *zone,
> > + unsigned int order,
> > + struct config_page_info *info)
> > +{
> > + /* No free memory is interpreted as all free memory is unusable */
> > + if (info->free_pages == 0)
> > + return 100;
>
> Should the above be 1000?
>
Yes. Fortunately, the value is not actually used by any of the code.
It's for consumption by people or tools.
Thanks
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
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/
==============================================================================
TOPIC: 2.6.33-rc3 -- Intel 945GME (inteldrmfb) -- Two Tux images displayed are
side by side (should only show one).
http://groups.google.com/group/linux.kernel/t/b9e5c1ab02235f48?hl=en
==============================================================================
== 1 of 2 ==
Date: Wed, Jan 6 2010 9:20 am
From: Miles Lane
For a long time I have gotten two pictures of Tux showing up when I
include the Tux display option in my custom kernel builds. I don't
know how many kernel revisions ago it was when I started noticing
this. It seems like it might have been early in the 2.6 series
kernels.
dmesg:
Linux agpgart interface v0.103
agpgart-intel 0000:00:00.0: Intel 945GME Chipset
agpgart-intel 0000:00:00.0: detected 7932K stolen memory
agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000
[drm] Initialized drm 1.1.0 20060810
i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
i915 0000:00:02.0: setting latency timer to 64
[drm] set up 7M of stolen space
integrated sync not supported
ACPI: Battery Slot [BAT0] (battery present)
[drm] initialized overlay support
[drm] LVDS-8: set mode 1024x600 27
Console: switching to colour frame buffer device 128x37
fb0: inteldrmfb frame buffer device
registered panic notifier
[drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
# lspci -vvxxx -s 2.1
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME,
943/940GML Express Integrated Graphics Controller (rev 03)
Subsystem: ASUSTeK Computer Inc. Device 8340
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Region 0: Memory at f7f80000 (32-bit, non-prefetchable) [size=512K]
Capabilities: [d0] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 86 80 a6 27 07 00 90 00 03 00 80 03 00 00 80 00
10: 00 00 f8 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 43 10 40 83
30: 00 00 00 00 d0 00 00 00 00 00 00 00 00 00 00 00
40: 00 00 00 00 48 00 00 00 09 00 09 71 23 25 4a a1
50: 0e 00 30 00 1b 00 00 00 00 00 00 00 00 00 80 7f
60: 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 01 00 22 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 88 40 64 34 10 00 00 00 86 0f 05 00 00 00 00 00
From .config:
# Graphics support
#
CONFIG_AGP=y
CONFIG_AGP_INTEL=y
CONFIG_VGA_ARB=y
CONFIG_DRM=y
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_I915=y
CONFIG_DRM_I915_KMS=y
CONFIG_VIDEO_OUTPUT_CONTROL=y
CONFIG_FB=y
CONFIG_FIRMWARE_EDID=y
CONFIG_FB_BOOT_VESA_SUPPORT=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y
# Frame buffer hardware drivers
#
CONFIG_FB_VESA=y
CONFIG_FB_EFI=y
CONFIG_BACKLIGHT_LCD_SUPPORT=y
CONFIG_LCD_CLASS_DEVICE=y
CONFIG_LCD_PLATFORM=y
CONFIG_BACKLIGHT_CLASS_DEVICE=y
# Display device support
#
CONFIG_DISPLAY_SUPPORT=y
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
CONFIG_VGACON_SOFT_SCROLLBACK=y
CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=128
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_LOGO=y
CONFIG_LOGO_LINUX_CLUT224=y
--
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/
== 2 of 2 ==
Date: Wed, Jan 6 2010 9:40 am
From: James Simmons
> For a long time I have gotten two pictures of Tux showing up when I
> include the Tux display option in my custom kernel builds. I don't
> know how many kernel revisions ago it was when I started noticing
> this. It seems like it might have been early in the 2.6 series
> kernels.
>
> dmesg:
>
> Linux agpgart interface v0.103
> agpgart-intel 0000:00:00.0: Intel 945GME Chipset
> agpgart-intel 0000:00:00.0: detected 7932K stolen memory
> agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000
> [drm] Initialized drm 1.1.0 20060810
> i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
> i915 0000:00:02.0: setting latency timer to 64
> [drm] set up 7M of stolen space
> integrated sync not supported
> ACPI: Battery Slot [BAT0] (battery present)
> [drm] initialized overlay support
> [drm] LVDS-8: set mode 1024x600 27
> Console: switching to colour frame buffer device 128x37
> fb0: inteldrmfb frame buffer device
> registered panic notifier
> [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
>
> # Graphics support
> #
> CONFIG_AGP=y
> CONFIG_AGP_INTEL=y
> CONFIG_VGA_ARB=y
> CONFIG_DRM=y
> CONFIG_DRM_KMS_HELPER=y
> CONFIG_DRM_I915=y
> CONFIG_DRM_I915_KMS=y
> CONFIG_VIDEO_OUTPUT_CONTROL=y
> CONFIG_FB=y
> CONFIG_FIRMWARE_EDID=y
> CONFIG_FB_BOOT_VESA_SUPPORT=y
> CONFIG_FB_CFB_FILLRECT=y
> CONFIG_FB_CFB_COPYAREA=y
> CONFIG_FB_CFB_IMAGEBLIT=y
> CONFIG_FB_MODE_HELPERS=y
> CONFIG_FB_TILEBLITTING=y
>
> # Frame buffer hardware drivers
> #
> CONFIG_FB_VESA=y
> CONFIG_FB_EFI=y
Try disabling these two above options.
--
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/
==============================================================================
TOPIC: cred: fix memory leak
http://groups.google.com/group/linux.kernel/t/fd1f42fb4cc7c301?hl=en
==============================================================================
== 1 of 2 ==
Date: Wed, Jan 6 2010 9:30 am
From: "Serge E. Hallyn"
Quoting Jiri Slaby (jslaby@suse.cz):
> Stanse found a memory leak in prepare_exec_creds. tgcred is not
> freed/assigned on all paths. Fix that.
>
> I.e. unifdef tgcred and add kfree(tgcred); as it is initialized to
> NULL already.
Does this compile with CONFIG_KEYS=n, , though? I don't see a dummy
define for struct thread_group_cred in cred.h. Should this patch add
one?
> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
> Cc: David Howells <dhowells@redhat.com>
> Cc: James Morris <jmorris@namei.org>
> Cc: Serge Hallyn <serue@us.ibm.com>
> ---
> kernel/cred.c | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/kernel/cred.c b/kernel/cred.c
> index dd76cfe..0e10f73 100644
> --- a/kernel/cred.c
> +++ b/kernel/cred.c
> @@ -351,9 +351,7 @@ struct cred *prepare_exec_creds(void)
> */
> struct cred *prepare_usermodehelper_creds(void)
> {
> -#ifdef CONFIG_KEYS
> struct thread_group_cred *tgcred = NULL;
> -
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home