lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200812071447.13117.bzolnier@gmail.com>
Date:	Sun, 7 Dec 2008 14:47:12 +0100
From:	Bartlomiej Zolnierkiewicz <bzolnier@...il.com>
To:	Joerg Roedel <joro@...tes.org>
Cc:	Meelis Roos <mroos@...ux.ee>,
	Linux Kernel list <linux-kernel@...r.kernel.org>,
	petkovbb@...il.com, linux-ide@...r.kernel.org
Subject: Re: WARNING: at arch/x86/kernel/pci-nommu.c:62 nommu_map_sg+0x29/0x9e()

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
 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ