Skip to content

Warnings/Errors for Hotplug Memory patch 2.6.12-rc3-mhp1

This is a build of the 2.6.12-rc3-mhp1 hotplug memory patch on an ia32 pIII running gentoo:

  Linux version 2.6.10-gentoo-r6 (root@cl023)
  (gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)) #6
  SMP Tue Feb 22 04:41:18 GMT 2005

I obtained the patch from http://sr71.net/patches/. Patch applied without error.

Build warnings/errors:

  CC [M]  drivers/scsi/dpt_i2o.o
drivers/scsi/dpt_i2o.c: In function `adpt_isr':
drivers/scsi/dpt_i2o.c:2030: warning: passing arg 1 of `readl' makes
  pointer from integerwithout a cast
drivers/scsi/dpt_i2o.c:2031: warning: passing arg 1 of `readl' makes
  pointer from integerwithout a cast
drivers/scsi/dpt_i2o.c:2042: warning: passing arg 1 of `readl' makes
  pointer from integerwithout a cast
drivers/scsi/dpt_i2o.c:2043: warning: passing arg 2 of `writel' makes
  pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2046: warning: passing arg 1 of `readl' makes
  pointer from integerwithout a cast
drivers/scsi/dpt_i2o.c:2048: warning: passing arg 1 of `readl' makes
  pointer from integerwithout a cast
drivers/scsi/dpt_i2o.c:2055: warning: passing arg 1 of `readl' makes
  pointer from integerwithout a cast
drivers/scsi/dpt_i2o.c:2062: warning: passing arg 1 of `readl' makes
  pointer from integerwithout a cast
drivers/scsi/dpt_i2o.c:2069: warning: passing arg 1 of `readl' makes
  pointer from integerwithout a cast
drivers/scsi/dpt_i2o.c: In function `adpt_i2o_to_scsi':
drivers/scsi/dpt_i2o.c:2239: warning: passing arg 1 of `readl' makes
  pointer from integerwithout a cast
drivers/scsi/dpt_i2o.c:2243: warning: passing arg 1 of `readl' makes
  pointer from integerwithout a cast
drivers/scsi/dpt_i2o.c:2248: warning: passing arg 1 of `readl' makes
  pointer from integerwithout a cast
drivers/scsi/dpt_i2o.c:2259: warning: passing arg 1 of `readl' makes
  pointer from integerwithout a cast
  CC [M]  drivers/scsi/ipr.o

...

It otherwise built okay, although I got this when running depmod:

if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map  2.6.12-rc3;fi
depmod: *** Unresolved symbols in /lib/modules/2.6.12-rc3/kernel/drivers/scsi/ipr.ko
depmod:         request_firmware
depmod:         release_firmware

Next, I ran make menuconfig and set up the hotplug memory config options, then rebuilt it.