All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stafford Horne <shorne@gmail.com>
To: Andy Lutomirski <luto@amacapital.net>
Cc: kbuild test robot <fengguang.wu@intel.com>,
	Jonas Bonn <jonas@southpole.se>,
	Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>,
	Andy Lutomirski <luto@kernel.org>,
	kbuild-all@01.org,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: Re: ERROR: "empty_zero_page" [drivers/usb/wusbcore/wusbcore.ko] undefined!
Date: Tue, 14 Mar 2017 23:14:22 +0900	[thread overview]
Message-ID: <20170314141422.GE2418@lianli.shorne-pla.net> (raw)
In-Reply-To: <CALCETrX+BarbaTar7dnz9WNG78yZWkCE=vn_t8ccRivSANBhMw@mail.gmail.com>

(Resending this to all since somehow I only sent to Andy originally)

On Fri, Mar 10, 2017 at 10:20:39AM -0800, Andy Lutomirski wrote:
> On Thu, Mar 9, 2017 at 7:54 PM, kbuild test robot
> <fengguang.wu@intel.com> wrote:
> > Hi Andy,
> >
> > First bad commit (maybe != root cause):
> >
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head:   c1aa905a304e4b5e6a3fe112ec62d9c1c7b0c155
> > commit: 620f1a632ebcc9811c2f8009ba52297c7006f805 wusbcore: Fix one more crypto-on-the-stack bug
> > date:   8 weeks ago
> > config: openrisc-allmodconfig (attached as .config)
> > compiler: or1k-linux-gcc (GCC) 5.4.0
> > reproduce:
> >         wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> >         chmod +x ~/bin/make.cross
> >         git checkout 620f1a632ebcc9811c2f8009ba52297c7006f805
> >         # save the attached .config to linux build tree
> >         make.cross ARCH=openrisc
> 
> Looks like openrisc is missing a few exports.  I don't feel too bad
> since the kernel clearly didn't compile since my change appears to
> have merely increased the (large) number of errors by one.
> 
> Openrisc folks, want to fix this?

Thanks for looking at it.  I saw this yesterday too and am looking at
fixing it.  I dont usually do an allmodconfig test, and haven't seen
most of these before.

I have looked into these and fixed, will send patches soon.

>From below we have

  __ioremap - already fixed during last merge window
  iounmap - already fixed during last merge window

  empty_zero_page - asm symbol, need to export
    pm_power_off - need to export
  __ucmpdi2 - gcc builtin, to export
  __clear_user - asm symbol, need to export
  __get_user_bad - this is a get_user bug

> >
> > All errors (new ones prefixed by >>):
> >
> >    ERROR: "empty_zero_page" [net/ceph/libceph.ko] undefined!
> >    ERROR: "__ucmpdi2" [lib/842/842_decompress.ko] undefined!
> >    ERROR: "__ioremap" [fs/pstore/ramoops.ko] undefined!
> >    ERROR: "iounmap" [fs/pstore/ramoops.ko] undefined!
> >    ERROR: "empty_zero_page" [fs/nfs/objlayout/objlayoutdriver.ko] undefined!
> >    ERROR: "empty_zero_page" [fs/exofs/exofs.ko] undefined!
> >    ERROR: "empty_zero_page" [fs/crypto/fscrypto.ko] undefined!
> >    ERROR: "__ucmpdi2" [fs/btrfs/btrfs.ko] undefined!
> >    ERROR: "__ioremap" [drivers/video/fbdev/uvesafb.ko] undefined!
> >    ERROR: "iounmap" [drivers/video/fbdev/uvesafb.ko] undefined!
> >    ERROR: "__ioremap" [drivers/video/fbdev/tmiofb.ko] undefined!
> >    ERROR: "iounmap" [drivers/video/fbdev/tmiofb.ko] undefined!
> >    ERROR: "__ioremap" [drivers/video/fbdev/sm501fb.ko] undefined!
> >    ERROR: "iounmap" [drivers/video/fbdev/sm501fb.ko] undefined!
> >    ERROR: "__ioremap" [drivers/video/fbdev/s1d13xxxfb.ko] undefined!
> >    ERROR: "iounmap" [drivers/video/fbdev/s1d13xxxfb.ko] undefined!
> >    ERROR: "__ioremap" [drivers/video/fbdev/goldfishfb.ko] undefined!
> >    ERROR: "iounmap" [drivers/video/fbdev/goldfishfb.ko] undefined!
> >>> ERROR: "empty_zero_page" [drivers/usb/wusbcore/wusbcore.ko] undefined!
> >    ERROR: "__ioremap" [drivers/usb/musb/tusb6010.ko] undefined!
> >    ERROR: "iounmap" [drivers/usb/musb/tusb6010.ko] undefined!
> >    ERROR: "__ioremap" [drivers/usb/host/xhci-plat-hcd.ko] undefined!
> >    ERROR: "iounmap" [drivers/usb/host/xhci-plat-hcd.ko] undefined!
> >    ERROR: "__ioremap" [drivers/usb/host/sl811-hcd.ko] undefined!
> >    ERROR: "iounmap" [drivers/usb/host/sl811-hcd.ko] undefined!
> >    ERROR: "__ioremap" [drivers/usb/host/r8a66597-hcd.ko] undefined!
> >    ERROR: "iounmap" [drivers/usb/host/r8a66597-hcd.ko] undefined!
> >    ERROR: "__ioremap" [drivers/usb/host/isp116x-hcd.ko] undefined!
> >    ERROR: "iounmap" [drivers/usb/host/isp116x-hcd.ko] undefined!
> >    ERROR: "__ioremap" [drivers/usb/gadget/udc/net2272.ko] undefined!
> >    ERROR: "iounmap" [drivers/usb/gadget/udc/net2272.ko] undefined!
> >    ERROR: "__ioremap" [drivers/usb/gadget/udc/mv_u3d_core.ko] undefined!
> >    ERROR: "iounmap" [drivers/usb/gadget/udc/mv_u3d_core.ko] undefined!
> >    ERROR: "iounmap" [drivers/usb/gadget/udc/m66592-udc.ko] undefined!
> >    ERROR: "__ioremap" [drivers/usb/gadget/udc/m66592-udc.ko] undefined!
> >    ERROR: "__ioremap" [drivers/usb/gadget/udc/fusb300_udc.ko] undefined!
> >    ERROR: "iounmap" [drivers/usb/gadget/udc/fusb300_udc.ko] undefined!
> >    ERROR: "__ioremap" [drivers/usb/gadget/udc/fotg210-udc.ko] undefined!
> >    ERROR: "iounmap" [drivers/usb/gadget/udc/fotg210-udc.ko] undefined!
> >    ERROR: "__ioremap" [drivers/usb/c67x00/c67x00.ko] undefined!
> >    ERROR: "iounmap" [drivers/usb/c67x00/c67x00.ko] undefined!
> >    ERROR: "__ioremap" [drivers/uio/uio_pruss.ko] undefined!
> >    ERROR: "iounmap" [drivers/uio/uio_pruss.ko] undefined!
> >    ERROR: "iounmap" [drivers/tty/serial/xilinx_uartps.ko] undefined!
> >    ERROR: "__ioremap" [drivers/tty/serial/xilinx_uartps.ko] undefined!
> >    ERROR: "iounmap" [drivers/tty/serial/uartlite.ko] undefined!
> >    ERROR: "__ioremap" [drivers/tty/serial/uartlite.ko] undefined!
> >    ERROR: "iounmap" [drivers/tty/serial/timbuart.ko] undefined!
> >    ERROR: "__ioremap" [drivers/tty/serial/timbuart.ko] undefined!
> >    ERROR: "iounmap" [drivers/tty/serial/sh-sci.ko] undefined!
> >    ERROR: "__ioremap" [drivers/tty/serial/sh-sci.ko] undefined!
> >    ERROR: "__ioremap" [drivers/tty/serial/mxs-auart.ko] undefined!
> >    ERROR: "iounmap" [drivers/tty/serial/men_z135_uart.ko] undefined!
> >    ERROR: "__ioremap" [drivers/tty/serial/men_z135_uart.ko] undefined!
> >    ERROR: "__ioremap" [drivers/tty/serial/altera_uart.ko] undefined!
> >    ERROR: "__ioremap" [drivers/tty/serial/altera_jtaguart.ko] undefined!
> >    ERROR: "__ioremap" [drivers/tty/serial/8250/8250_base.ko] undefined!
> >    ERROR: "iounmap" [drivers/tty/serial/8250/8250_base.ko] undefined!
> >    ERROR: "iounmap" [drivers/thermal/qoriq_thermal.ko] undefined!
> >    ERROR: "iounmap" [drivers/thermal/qcom/qcom_tsens.ko] undefined!
> >    ERROR: "__ioremap" [drivers/staging/comedi/drivers/ii_pci20kc.ko] undefined!
> >    ERROR: "iounmap" [drivers/staging/comedi/drivers/ii_pci20kc.ko] undefined!
> >    ERROR: "__ioremap" [drivers/ssb/ssb.ko] undefined!
> >    ERROR: "iounmap" [drivers/ssb/ssb.ko] undefined!
> >    ERROR: "__ioremap" [drivers/rtc/rtc-v3020.ko] undefined!
> >    ERROR: "iounmap" [drivers/rtc/rtc-v3020.ko] undefined!
> >    ERROR: "pm_power_off" [drivers/regulator/act8865-regulator.ko] undefined!
> >    ERROR: "iounmap" [drivers/power/reset/zx-reboot.ko] undefined!
> >    ERROR: "iounmap" [drivers/power/reset/rmobile-reset.ko] undefined!
> >    ERROR: "__ioremap" [drivers/parport/parport_ax88796.ko] undefined!
> >    ERROR: "iounmap" [drivers/parport/parport_ax88796.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/wireless/ath/wcn36xx/wcn36xx.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/phy/mdio-mux-mmioreg.ko] undefined!
> >    ERROR: "__ioremap" [drivers/net/phy/mdio-mux-mmioreg.ko] undefined!
> >    ERROR: "__ioremap" [drivers/net/ethernet/via/via-velocity.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/ethernet/via/via-velocity.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/ethernet/via/via-rhine.ko] undefined!
> >    ERROR: "__ioremap" [drivers/net/ethernet/qualcomm/emac/qcom-emac.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/ethernet/qualcomm/emac/qcom-emac.ko] undefined!
> >    ERROR: "__ioremap" [drivers/net/ethernet/micrel/ks8842.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/ethernet/micrel/ks8842.ko] undefined!
> >    ERROR: "__ioremap" [drivers/net/ethernet/marvell/mv643xx_eth.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/ethernet/marvell/mv643xx_eth.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/ethernet/freescale/xgmac_mdio.ko] undefined!
> >    ERROR: "__ioremap" [drivers/net/ethernet/freescale/gianfar_ptp.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/ethernet/freescale/gianfar_ptp.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/ethernet/freescale/gianfar_driver.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/ethernet/freescale/fsl_pq_mdio.ko] undefined!
> >    ERROR: "__ioremap" [drivers/net/ethernet/freescale/fman/fsl_fman.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/ethernet/freescale/fman/fsl_fman.ko] undefined!
> >    ERROR: "__ioremap" [drivers/net/ethernet/calxeda/xgmac.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/ethernet/calxeda/xgmac.ko] undefined!
> >    ERROR: "__ioremap" [drivers/net/can/softing/softing.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/can/softing/softing.ko] undefined!
> >    ERROR: "__ioremap" [drivers/net/can/sja1000/sja1000_isa.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/can/sja1000/sja1000_isa.ko] undefined!
> >    ERROR: "__ioremap" [drivers/net/can/cc770/cc770_platform.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/can/cc770/cc770_platform.ko] undefined!
> >    ERROR: "__ioremap" [drivers/net/can/cc770/cc770_isa.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/can/cc770/cc770_isa.ko] undefined!
> >    ERROR: "__ioremap" [drivers/net/can/at91_can.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/can/at91_can.ko] undefined!
> >    ERROR: "__ioremap" [drivers/mtd/spi-nor/fsl-quadspi.ko] undefined!
> >    ERROR: "iounmap" [drivers/mtd/spi-nor/fsl-quadspi.ko] undefined!
> >    ERROR: "__ioremap" [drivers/mtd/onenand/generic.ko] undefined!
> >    ERROR: "iounmap" [drivers/mtd/onenand/generic.ko] undefined!
> >    ERROR: "__ioremap" [drivers/mtd/nand/docg4.ko] undefined!
> >    ERROR: "iounmap" [drivers/mtd/nand/docg4.ko] undefined!
> >    ERROR: "iounmap" [drivers/mtd/nand/diskonchip.ko] undefined!
> >    ERROR: "__ioremap" [drivers/mtd/nand/diskonchip.ko] undefined!
> >    ERROR: "iounmap" [drivers/mtd/maps/ts5500_flash.ko] undefined!
> >    ERROR: "__ioremap" [drivers/mtd/maps/ts5500_flash.ko] undefined!
> >    ERROR: "iounmap" [drivers/mtd/maps/sc520cdp.ko] undefined!
> >    ERROR: "__ioremap" [drivers/mtd/maps/sc520cdp.ko] undefined!
> >    ERROR: "__ioremap" [drivers/mtd/maps/plat-ram.ko] undefined!
> >    ERROR: "iounmap" [drivers/mtd/maps/plat-ram.ko] undefined!
> >    ERROR: "iounmap" [drivers/mtd/maps/physmap_of_versatile.ko] undefined!
> >    ERROR: "__ioremap" [drivers/mtd/maps/physmap_of.ko] undefined!
> >    ERROR: "iounmap" [drivers/mtd/maps/physmap_of.ko] undefined!
> >
> > ---
> > 0-DAY kernel test infrastructure                Open Source Technology Center
> > https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
> 
> 
> 
> -- 
> Andy Lutomirski
> AMA Capital Management, LLC

      reply	other threads:[~2017-03-14 14:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-10  3:54 ERROR: "empty_zero_page" [drivers/usb/wusbcore/wusbcore.ko] undefined! kbuild test robot
2017-03-10 18:20 ` Andy Lutomirski
2017-03-14 14:14   ` Stafford Horne [this message]

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=20170314141422.GE2418@lianli.shorne-pla.net \
    --to=shorne@gmail.com \
    --cc=fengguang.wu@intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jonas@southpole.se \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@amacapital.net \
    --cc=luto@kernel.org \
    --cc=stefan.kristiansson@saunalahti.fi \
    /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.