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>] [day] [month] [year] [list]
Message-ID: <015b62a8-8b51-45e4-9286-96879162b705@r15g2000prh.googlegroups.com>
Date:	Fri, 14 Nov 2008 06:21:14 -0800 (PST)
From:	mmetz <manuel.metz@...glemail.com>
To:	linux-kernel@...r.kernel.org
Subject: Re: build error with 2.6.27.6+reiser4+ehci-hub patch. ERROR: 
	"mii_ethtool_gset" [drivers/net/r8169.ko] undefined!

Hi,
I think I have figured out what happened here. I updated sources from
2.6.27.4 to 2.6.27.6 (skipping 2.6.27.5). Then I ran

make oldconfig; make

and got the error message

[snip]
  BUILD   arch/x86/boot/bzImage
Root device is (8, 5)
Setup is 12524 bytes (padded to 12800 bytes).
System is 1902 kB
CRC 94b83bc6
Kernel: arch/x86/boot/bzImage is ready  (#2)
  Building modules, stage 2.
  MODPOST 507 modules
ERROR: "mii_ethtool_gset" [drivers/net/r8169.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

The next step I made was to include the driver for the network device
(SiS190/SiS191 gigabit ethernet support). Then if I look at the output
of make, this forced mii.c to be compiled

scripts/kconfig/conf -s arch/x86/Kconfig
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CHK     include/linux/compile.h
  VDSOSYM arch/x86/vdso/vdso-syms.lds
  VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds
  VDSOSYM arch/x86/vdso/vdso32-syscall-syms.lds
  VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds
  VDSOSYM arch/x86/vdso/vdso32-syms.lds
  LD      arch/x86/vdso/built-in.o
  CC [M]  drivers/net/sis190.o
  CC [M]  drivers/net/mii.o
  LD      vmlinux.o
  MODPOST vmlinux.o
[snip]

Now the kernel builds fine. So in conclusion, it seems that there is a
dependency byr8169on mii.o which is not set correctly during the
build process if no other module depends on it.

Manuel
--
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