All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: Joerg Roedel <joro@8bytes.org>
Cc: Meelis Roos <mroos@linux.ee>,
	Linux Kernel list <linux-kernel@vger.kernel.org>,
	petkovbb@gmail.com, linux-ide@vger.kernel.org
Subject: Re: WARNING: at arch/x86/kernel/pci-nommu.c:62 nommu_map_sg+0x29/0x9e()
Date: Sun, 7 Dec 2008 14:47:12 +0100	[thread overview]
Message-ID: <200812071447.13117.bzolnier@gmail.com> (raw)
In-Reply-To: <20081207092111.GD24323@8bytes.org>

On Sunday 07 December 2008, Joerg Roedel wrote:
> The IDE core is calling map_sg with invalid parameters. CC'ing the IDE
> maintainers.
> 
> On Fri, Dec 05, 2008 at 09:58:36AM +0200, Meelis Roos wrote:
> > Got this warning on yesterdays 2.6.28-rc7-00105-gfeaf384 with ide-cd and 
> > ali ide driver (full warning at the end of dmesg).

[...]

> > ------------[ cut here ]------------
> > WARNING: at arch/x86/kernel/pci-nommu.c:62 nommu_map_sg+0x29/0x9e()
> > Modules linked in: mga binfmt_misc rfcomm l2cap bluetooth ppdev lp xt_length xt_MARK iptable_mangle ipt_MASQUERADE iptable_nat nf_nat ipt_REJECT xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack iptable_filter ip_tables x_tables powernow_k8 cpufreq_ondemand cpufreq_userspace cpufreq_powersave cls_fw cls_u32 sch_sfq sch_cbq sit tunnel4 fuse dm_crypt dm_mod ipv6 w83627hf hwmon_vid ide_cd_mod cdrom ide_gd_mod usbhid usblp pata_ali tuner_simple tuner_types tda9887 tda8290 tuner ns558 tvaudio gameport msp3400 rtc_cmos rtc_core rtc_lib snd_intel8x0 snd_ac97_codec ac97_bus bttv snd_bt87x videodev v4l1_compat pcspkr serio_raw ir_common k8temp hwmon snd_pcm snd_seq snd_timer snd_seq_device i2c_ali1535 compat_ioctl32 i2c_algo_bit ehci_hcd alim15x3 i2c_ali15x3 snd v4l2_common video
 buf_dma_sg videobuf_core btcx_risc ohci_hcd ssb ide_pci_generic isp1760 soundcore tveeprom ide_core snd_page_alloc 8139too mii uli526x i2c_ali1563 usbcore i2c_core shpchp pci_hotplug parport_pc 
> >  parport ali_agp
> > Pid: 5298, comm: kcminit_startup Not tainted 2.6.28-rc7-00105-gfeaf384 #237
> > Call Trace:
> >  [<c02fc995>] ? printk+0xf/0x12
> >  [<c011cc8a>] warn_on_slowpath+0x41/0x62
> >  [<c0118e3e>] ? default_wake_function+0xb/0xd
> >  [<c0117f1d>] ? enqueue_entity+0x10b/0x113
> >  [<c011841a>] ? enqueue_task_fair+0x1c/0x5e
> >  [<c0107171>] nommu_map_sg+0x29/0x9e
> >  [<f811dfbd>] ide_build_sglist+0x48/0x50 [ide_core]
> >  [<f811e241>] ide_build_dmatable+0x30/0x154 [ide_core]
> >  [<f811e39b>] ide_dma_setup+0x36/0xc7 [ide_core]
> >  [<f804202f>] ali15x3_dma_setup+0x2f/0x35 [alim15x3]
> >  [<f8263f7a>] ide_cd_do_request+0x5fa/0x671 [ide_cd_mod]
> >  [<c01d784e>] ? delay_tsc+0x1d/0x5f
> >  [<f82644ac>] ? cdrom_do_newpc_cont+0x0/0x18 [ide_cd_mod]
> >  [<c01d77f8>] ? __const_udelay+0x18/0x1a
> >  [<f8117f15>] ? __ide_wait_stat+0x81/0xad [ide_core]
> >  [<f8118aa9>] ? ide_wait_stat+0x3f/0x6e [ide_core]
> >  [<f811703e>] ide_do_request+0x726/0x836 [ide_core]
> >  [<f8263978>] ? cdrom_end_request+0x171/0x179 [ide_cd_mod]
> >  [<f8264b5a>] ? cdrom_newpc_intr+0x5ef/0x5fd [ide_cd_mod]
> >  [<f8117ba0>] ? ide_input_data+0x0/0xda [ide_core]
> >  [<f8117307>] ide_intr+0x1b9/0x1f4 [ide_core]
> >  [<f826456b>] ? cdrom_newpc_intr+0x0/0x5fd [ide_cd_mod]
> >  [<c013c4f2>] handle_IRQ_event+0x21/0x48
> >  [<c013d450>] handle_edge_irq+0xc1/0x114
> >  [<c013d38f>] ? handle_edge_irq+0x0/0x114
> >  <IRQ>  [<c010388f>] ? common_interrupt+0x23/0x28
> > ---[ end trace 18d5008b2820bb67 ]---

Seeems to be the same issue as

http://bugzilla.kernel.org/show_bug.cgi?id=11732

I went through 2.6.26..2.6.27-rc7 ide-cd.c / ide-dma.c changes
and I don't see potential candidates.  I'm not even sure if IDE is
the main cause here.  Bisecting will definitely help.

Thanks,
Bart
 

WARNING: multiple messages have this Message-ID (diff)
From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: Joerg Roedel <joro@8bytes.org>
Cc: Meelis Roos <mroos@linux.ee>,
	Linux Kernel list <linux-kernel@vger.kernel.org>,
	petkovbb@gmail.com, linux-ide@vger.kernel.org
Subject: Re: WARNING: at arch/x86/kernel/pci-nommu.c:62 nommu_map_sg+0x29/0x9e()
Date: Sun, 7 Dec 2008 14:47:12 +0100	[thread overview]
Message-ID: <200812071447.13117.bzolnier@gmail.com> (raw)
In-Reply-To: <20081207092111.GD24323@8bytes.org>

On Sunday 07 December 2008, Joerg Roedel wrote:
> The IDE core is calling map_sg with invalid parameters. CC'ing the IDE
> maintainers.
> 
> On Fri, Dec 05, 2008 at 09:58:36AM +0200, Meelis Roos wrote:
> > Got this warning on yesterdays 2.6.28-rc7-00105-gfeaf384 with ide-cd and 
> > ali ide driver (full warning at the end of dmesg).

[...]

> > ------------[ cut here ]------------
> > WARNING: at arch/x86/kernel/pci-nommu.c:62 nommu_map_sg+0x29/0x9e()
> > Modules linked in: mga binfmt_misc rfcomm l2cap bluetooth ppdev lp xt_length xt_MARK iptable_mangle ipt_MASQUERADE iptable_nat nf_nat ipt_REJECT xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack iptable_filter ip_tables x_tables powernow_k8 cpufreq_ondemand cpufreq_userspace cpufreq_powersave cls_fw cls_u32 sch_sfq sch_cbq sit tunnel4 fuse dm_crypt dm_mod ipv6 w83627hf hwmon_vid ide_cd_mod cdrom ide_gd_mod usbhid usblp pata_ali tuner_simple tuner_types tda9887 tda8290 tuner ns558 tvaudio gameport msp3400 rtc_cmos rtc_core rtc_lib snd_intel8x0 snd_ac97_codec ac97_bus bttv snd_bt87x videodev v4l1_compat pcspkr serio_raw ir_common k8temp hwmon snd_pcm snd_seq snd_timer snd_seq_device i2c_ali1535 compat_ioctl32 i2c_algo_bit ehci_hcd alim15x3 i2c_ali15x3 snd v4l2_common videobuf_dma_sg videobuf_core btcx_risc ohci_hcd ssb ide_pci_generic isp1760 soundcore tveeprom ide_core snd_page_alloc 8139too mii uli526x i2c_ali1563 usbcore i2c_core shpchp pci_hotplug parport_pc 
> >  parport ali_agp
> > Pid: 5298, comm: kcminit_startup Not tainted 2.6.28-rc7-00105-gfeaf384 #237
> > Call Trace:
> >  [<c02fc995>] ? printk+0xf/0x12
> >  [<c011cc8a>] warn_on_slowpath+0x41/0x62
> >  [<c0118e3e>] ? default_wake_function+0xb/0xd
> >  [<c0117f1d>] ? enqueue_entity+0x10b/0x113
> >  [<c011841a>] ? enqueue_task_fair+0x1c/0x5e
> >  [<c0107171>] nommu_map_sg+0x29/0x9e
> >  [<f811dfbd>] ide_build_sglist+0x48/0x50 [ide_core]
> >  [<f811e241>] ide_build_dmatable+0x30/0x154 [ide_core]
> >  [<f811e39b>] ide_dma_setup+0x36/0xc7 [ide_core]
> >  [<f804202f>] ali15x3_dma_setup+0x2f/0x35 [alim15x3]
> >  [<f8263f7a>] ide_cd_do_request+0x5fa/0x671 [ide_cd_mod]
> >  [<c01d784e>] ? delay_tsc+0x1d/0x5f
> >  [<f82644ac>] ? cdrom_do_newpc_cont+0x0/0x18 [ide_cd_mod]
> >  [<c01d77f8>] ? __const_udelay+0x18/0x1a
> >  [<f8117f15>] ? __ide_wait_stat+0x81/0xad [ide_core]
> >  [<f8118aa9>] ? ide_wait_stat+0x3f/0x6e [ide_core]
> >  [<f811703e>] ide_do_request+0x726/0x836 [ide_core]
> >  [<f8263978>] ? cdrom_end_request+0x171/0x179 [ide_cd_mod]
> >  [<f8264b5a>] ? cdrom_newpc_intr+0x5ef/0x5fd [ide_cd_mod]
> >  [<f8117ba0>] ? ide_input_data+0x0/0xda [ide_core]
> >  [<f8117307>] ide_intr+0x1b9/0x1f4 [ide_core]
> >  [<f826456b>] ? cdrom_newpc_intr+0x0/0x5fd [ide_cd_mod]
> >  [<c013c4f2>] handle_IRQ_event+0x21/0x48
> >  [<c013d450>] handle_edge_irq+0xc1/0x114
> >  [<c013d38f>] ? handle_edge_irq+0x0/0x114
> >  <IRQ>  [<c010388f>] ? common_interrupt+0x23/0x28
> > ---[ end trace 18d5008b2820bb67 ]---

Seeems to be the same issue as

http://bugzilla.kernel.org/show_bug.cgi?id=11732

I went through 2.6.26..2.6.27-rc7 ide-cd.c / ide-dma.c changes
and I don't see potential candidates.  I'm not even sure if IDE is
the main cause here.  Bisecting will definitely help.

Thanks,
Bart
 

  reply	other threads:[~2008-12-07 13:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-05  7:58 WARNING: at arch/x86/kernel/pci-nommu.c:62 nommu_map_sg+0x29/0x9e() Meelis Roos
2008-12-07  9:21 ` Joerg Roedel
2008-12-07 13:47   ` Bartlomiej Zolnierkiewicz [this message]
2008-12-07 13:47     ` Bartlomiej Zolnierkiewicz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200812071447.13117.bzolnier@gmail.com \
    --to=bzolnier@gmail.com \
    --cc=joro@8bytes.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mroos@linux.ee \
    --cc=petkovbb@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.