Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 188373
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Piotr Jaroszyński <peper@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jesse Burt <genecide@comcast.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ntoskernel.c.patch Patch to ntoskernel.c patch Jesse Burt 2007-08-10 17:20 0000 372 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 188373 depends on: Show dependency tree
Bug 188373 blocks: 195298
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-08-10 17:07 0000
ntoskernel.o fails to build because it uses a kernel function
'kmem_cache_create' which in 2.6.23-rc2 seems to be defined with one less
argument than it had at the time ndiswrapper-1.47 was updated. i.e.,
/var/tmp/portage/net-wireless/ndiswrapper-1.47/work/ndiswrapper-1.47/driver/ntoskernel.c:
In function 'ntoskernel_init':
/var/tmp/portage/net-wireless/ndiswrapper-1.47/work/ndiswrapper-1.47/driver/ntoskernel.c:2597:
error: too many arguments to function 'kmem_cache_create'
make[2]: ***
[/var/tmp/portage/net-wireless/ndiswrapper-1.47/work/ndiswrapper-1.47/driver/ntoskernel.o]
Error 1


Reproducible: Always

Steps to Reproduce:
1. Accept unstable (~x86) keyword
2. emerge =sys-kernel/vanilla-sources-2.6.23_rc2 and make config
3. emerge =net-wireless/ndiswrapper-1.47


Actual Results:  
Build fails at ntoskernel.o

Expected Results:  
Successful build/merge

Running under a chroot in Ubuntu Feisty, although the somewhat trivial nature
of the bug makes most of this seem irrelevant.
Portage 2.1.3.3 (default-linux/x86/2007.0/desktop, gcc-4.1.1, glibc-2.5-r0,
2.6.20-16-generic i686)
=================================================================
System uname: 2.6.20-16-generic i686 AMD Turion(tm) 64 Mobile Technology MT-40
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 10 Aug 2007 14:30:02 +0000
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.61
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks metadata-transfer sandbox sfperms strict
unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi alsa arts asm bash-completion berkdb
binary-drivers bitmap-fonts cairo cdr cdrom cli cracklib crypt cups dbus
directfb dri dvb dvd dvdr dvdread eds emboss encode evo fam fbdev firefox
fortran gdbm gif gpm gstreamer gtk gtk2 hal iconv imlib imlib2 isdnlog j2ee
java jpeg kde kerberos ldap lesstif mad memlimit midi mikmod mmx mmxext mp3
mpeg mudflap mysql ncurses nptl nptlonly offensive ogg opengl openmp oss pam
pcap pcmcia pcre pda pdf perl plugins png pnp pppd python qt qt3 qt3support qt4
quicktime radeon readline reflection rle rtc samba sdl session sockets spell
spl sse sse-filters sse2 ssl svg tcl tcltk tcpd tiff tk truetype truetype-fonts
type1-fonts udev unicode usb v4l v4l2 vorbis win32codecs wxwindows x86 xml xorg
xosd xpm xv xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x
ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel
intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse
synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780
lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
PORTDIR_OVERLAY

------- Comment #1 From Jesse Burt 2007-08-10 17:20:23 0000 -------
Created an attachment (id=127500) [details]
Patch to ntoskernel.c

I haven't yet tested this patch. The source compiles with this patch, however,
the fix is formulated only from a half(?)-educated perspective (i.e., although
it compiles, I don't know with much certainty that it is a proper change, and
that this might break with kernel versions older than 2.6.23-rc2)

------- Comment #2 From Piotr Jaroszyński 2007-08-10 22:47:18 0000 -------
I have just added 1.48_rc1 to the tree, which works with 2.6.23 and has some
other fixes. Btw. your patch is correct.

------- Comment #3 From Jakub Moc (RETIRED) 2007-10-20 23:00:04 0000 -------
*** Bug 196560 has been marked as a duplicate of this bug. ***

------- Comment #4 From Daniel Drake 2007-10-29 15:56:48 0000 -------
Reopening as this is broken in the stable tree.. I'm now working towards 2.6.23
stabling in 2 weeks time, so this stuff should ideally be fixed in stable if
possible.

------- Comment #5 From Jakub Moc (RETIRED) 2007-12-07 22:34:22 0000 -------
*** Bug 194097 has been marked as a duplicate of this bug. ***

------- Comment #6 From Jakub Moc (RETIRED) 2007-12-10 13:33:22 0000 -------
*** Bug 201849 has been marked as a duplicate of this bug. ***

------- Comment #7 From Piotr Jaroszyński 2007-12-10 14:39:23 0000 -------
x86: please stable whatever version you are comfortable with, the newer the
better :)

------- Comment #8 From Christian Faulhammer 2007-12-10 17:16:21 0000 -------
1.50 x86 stable and closing

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug