Hello community, here is the log from the commit of package ndiswrapper checked in at Wed Jun 6 00:29:18 CEST 2007. -------- --- arch/i386/ndiswrapper/ndiswrapper.changes 2007-04-04 22:11:18.000000000 +0200 +++ /mounts/work_users/ro/STABLE/ndiswrapper/ndiswrapper.changes 2007-06-06 00:09:05.326803000 +0200 @@ -1,0 +2,45 @@ +Wed Jun 6 00:08:00 CEST 2007 - ro@suse.de + +- updaet to version 1.46: + * Fixed crash with large transfers (bug in version 1.45) + * Fixes 'NOHZ: local_softirq_pending: 08' warnings from tickless + kernels + * Fixed issue(s) with RT-preempt enabled kernels + * Fixed ndiswrapper script to handle installation of Intel 4965AGN + driver (which apparently works with ndiswrapper) + * Fixed a warning when SLUB allocator is used + * Fixed kernel crash with PsCreateSystemThread that manifested with + sis163u when preempt is enabled + * Changing MAC address with 'ifconfig <iface> hw ether' should work + with all drivers now. If MAC address should be changed everytime + ndiswrapper is loaded, change 'NetworkAddress' setting, as explained + in wiki entry 'Tips' (earlier 'mac_address' setting was used, but + that no longer applies) + * Fixed an issue with some drivers (e.g., sis163u) that would stall + after working for a while + * Fixed crashes when removing module with usb devices + * Fixed issues with Ubuntu kernels (where PREEMPT is not enabled) + * Issues with combination of DEBUG_PREEMPT and RT-preempt fixed + * Fixed issues with newer 64-bit Broadcom driver when more than 1GB RAM is + present + * Added support for upcoming 2.6.22 kernels + * Fixed long standing memory allocation issues with some + drivers, Atheros especially. With this fix, Atheros cards in Macbook + with Core 2 Duo are known to work + * The above fix changes core architecture of ndiswrapper and improves + memory allocation issues with all drivers, as well as executes + mostly with bottom-half's enabled for better system response and + performance. Many drivers have been tested to work with these + changes; however, some drivers may have been broken + * Added support for Marvell Gigabit ethernet drivers (apparently + in-kernel sky2 driver has some issues) + * Yet another smp fix + * Bug fix related to events (no driver seems to be affected by this) + * Fixed soft-lockup issue when multiple network devices are used + * Fixed a bug when unloading driver + * Fixed issues with recent RT-preempt patch + * The workaround for large memory allocations (needed by Atheros drivers) + with 2.6.19+ kernels, introduced in version 1.33, causes soft-lockup + with smp. This is now fixed. + +------------------------------------------------------------------- Old: ---- ndiswrapper-1.39.tar.bz2 ndiswrapper-uninit_fix.diff New: ---- ndiswrapper-1.46.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ndiswrapper.spec ++++++ --- /var/tmp/diff_new_pack.D14769/_old 2007-06-06 00:29:06.000000000 +0200 +++ /var/tmp/diff_new_pack.D14769/_new 2007-06-06 00:29:06.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package ndiswrapper (Version 1.39) +# spec file for package ndiswrapper (Version 1.46) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -15,8 +15,8 @@ Group: System/Kernel Autoreqprov: on Summary: Use Microsoft NDIS Network Drivers for WLAN Cards -Version: 1.39 -Release: 4 +Version: 1.46 +Release: 1 Requires: pciutils Requires: ndiswrapper-kmp Source0: %name-%version.tar.bz2 @@ -24,7 +24,6 @@ Source2: README.SUSE Source3: preamble Patch0: ndiswrapper.diff -Patch1: ndiswrapper-uninit_fix.diff URL: http://ndiswrapper.sourceforge.net License: GNU General Public License (GPL) BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -64,12 +63,14 @@ %prep %setup %patch0 -p1 -%patch1 -p1 cp %SOURCE2 . mkdir obj %build CFLAGS="$RPM_OPT_FLAGS" make -C utils +pushd driver +make compat.h KBUILD=/usr/src/linux +popd export EXTRA_CFLAGS='-DVERSION=\"%version\"' sed -e "s/@DRV_VERSION@/%{version}/" \ %_sourcedir/Makefile.in > driver/Makefile @@ -107,6 +108,48 @@ %doc ChangeLog %changelog +* Wed Jun 06 2007 - ro@suse.de +- updaet to version 1.46: + * Fixed crash with large transfers (bug in version 1.45) + * Fixes 'NOHZ: local_softirq_pending: 08' warnings from tickless + kernels + * Fixed issue(s) with RT-preempt enabled kernels + * Fixed ndiswrapper script to handle installation of Intel 4965AGN + driver (which apparently works with ndiswrapper) + * Fixed a warning when SLUB allocator is used + * Fixed kernel crash with PsCreateSystemThread that manifested with + sis163u when preempt is enabled + * Changing MAC address with 'ifconfig <iface> hw ether' should work + with all drivers now. If MAC address should be changed everytime + ndiswrapper is loaded, change 'NetworkAddress' setting, as explained + in wiki entry 'Tips' (earlier 'mac_address' setting was used, but + that no longer applies) + * Fixed an issue with some drivers (e.g., sis163u) that would stall + after working for a while + * Fixed crashes when removing module with usb devices + * Fixed issues with Ubuntu kernels (where PREEMPT is not enabled) + * Issues with combination of DEBUG_PREEMPT and RT-preempt fixed + * Fixed issues with newer 64-bit Broadcom driver when more than 1GB RAM is + present + * Added support for upcoming 2.6.22 kernels + * Fixed long standing memory allocation issues with some + drivers, Atheros especially. With this fix, Atheros cards in Macbook + with Core 2 Duo are known to work + * The above fix changes core architecture of ndiswrapper and improves + memory allocation issues with all drivers, as well as executes + mostly with bottom-half's enabled for better system response and + performance. Many drivers have been tested to work with these + changes; however, some drivers may have been broken + * Added support for Marvell Gigabit ethernet drivers (apparently + in-kernel sky2 driver has some issues) + * Yet another smp fix + * Bug fix related to events (no driver seems to be affected by this) + * Fixed soft-lockup issue when multiple network devices are used + * Fixed a bug when unloading driver + * Fixed issues with recent RT-preempt patch + * The workaround for large memory allocations (needed by Atheros drivers) + with 2.6.19+ kernels, introduced in version 1.33, causes soft-lockup + with smp. This is now fixed. * Wed Apr 04 2007 - lrupp@suse.de - added module-init-tools to BuildRequires * Mon Mar 26 2007 - jg@suse.de ++++++ ndiswrapper-1.39.tar.bz2 -> ndiswrapper-1.46.tar.bz2 ++++++ ++++ 11927 lines of diff (skipped) ++++++ ndiswrapper.diff ++++++ --- /var/tmp/diff_new_pack.D14769/_old 2007-06-06 00:29:07.000000000 +0200 +++ /var/tmp/diff_new_pack.D14769/_new 2007-06-06 00:29:07.000000000 +0200 @@ -1,21 +1,19 @@ Index: ndiswrapper-1.25/utils/loadndisdriver.c -=================================================================== ---- ndiswrapper-1.25.orig/utils/loadndisdriver.c -+++ ndiswrapper-1.25/utils/loadndisdriver.c -@@ -503,7 +503,7 @@ static int get_ioctl_device() +================================================================================ +--- ndiswrapper-1.46/driver/Makefile ++++ ndiswrapper-1.46/driver/Makefile +@@ -230,7 +230,7 @@ + gen_exports: crt_exports.h ndis_exports.h hal_exports.h ntoskernel_exports.h \ + ntoskernel_io_exports.h rtl_exports.h usb_exports.h - int main(int argc, char *argv[0]) - { -- int i, ioctl_device, res; -+ int i, ioctl_device=-1, res; - char *cmd; - - openlog(PROG_NAME, LOG_PERROR | LOG_CONS, LOG_KERN | LOG_DEBUG); -Index: ndiswrapper-1.25/utils/Makefile -=================================================================== ---- ndiswrapper-1.25.orig/utils/Makefile -+++ ndiswrapper-1.25/utils/Makefile -@@ -5,7 +5,7 @@ usrsbindir = $(DESTDIR)/usr/sbin +-compat.h: $(KBUILD)/include/linux/version.h ++compat.h: $(KBUILD)/include/linux/netdevice.h + @echo "/* this file is automatically generated */" > $@ + @if ! grep -qw kzalloc $(KBUILD)/include/linux/*.h; then \ + echo "static inline void *kzalloc(size_t size, unsigned long flags)"; \ +--- ndiswrapper-1.46/utils/Makefile ++++ ndiswrapper-1.46/utils/Makefile +@@ -5,7 +5,7 @@ DRIVER_DIR ?= ../driver CC = gcc @@ -24,3 +22,14 @@ DISTFILES=Makefile ndiswrapper loadndisdriver.c ndiswrapper-buginfo +--- ndiswrapper-1.46/utils/loadndisdriver.c ++++ ndiswrapper-1.46/utils/loadndisdriver.c +@@ -505,7 +505,7 @@ + + int main(int argc, char *argv[0]) + { +- int i, ioctl_device, res; ++ int i, ioctl_device=-1, res; + char *cmd; + + openlog(PROG_NAME, LOG_PERROR | LOG_CONS, LOG_KERN | LOG_DEBUG); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org