Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Repo ERROR w/SPM

  1. #1
    Senior Member
    Join Date
    Feb 2012
    Posts
    146

    Repo ERROR w/SPM

    Re: Synaptic Package Manager & Ndiswrapper
    KNOPPIX 7.0.3 LiveUSB CD

    Hi,

    SPM dialog:

    An error occurred
    The following details are provided:

    E: ndiswrapper-dkms: subprocess installed post-installation script returned error exit status 10


    Selecting previously unselected package dkms.
    (Reading database ... 90926 files and directories currently installed.)
    Unpacking dkms (from .../dkms_2.2.0.3-1.2_all.deb) ...
    Selecting previously unselected package fakeroot.
    Unpacking fakeroot (from .../fakeroot_1.18.4-2_i386.deb) ...
    Selecting previously unselected package ndiswrapper-common.
    Unpacking ndiswrapper-common (from .../ndiswrapper-common_1.57-1_all.deb) ...
    Selecting previously unselected package ndiswrapper-dkms.
    Unpacking ndiswrapper-dkms (from .../ndiswrapper-dkms_1.57-1_all.deb) ...
    Selecting previously unselected package ndiswrapper-utils-1.9.
    Unpacking ndiswrapper-utils-1.9 (from .../ndiswrapper-utils-1.9_1.57-1_i386.deb) ...
    Processing triggers for man-db ...
    debconf: unable to initialize frontend: Gnome
    debconf: (Unable to load Gtk -- is libgtk2-perl installed?)
    debconf: falling back to frontend: Dialog
    Setting up dkms (2.2.0.3-1.2) ...
    Setting up fakeroot (1.18.4-2) ...
    update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode.
    Setting up ndiswrapper-common (1.57-1) ...
    Setting up ndiswrapper-dkms (1.57-1) ...
    Loading new ndiswrapper-1.57 DKMS files...
    First Installation: checking all kernels...
    Building only for 3.4.4
    Building initial module for 3.4.4
    Error! Bad return status for module build on kernel: 3.4.4 (i686)
    Consult /var/lib/dkms/ndiswrapper/1.57/build/make.log for more information.
    dpkg: error processing ndiswrapper-dkms (--configure):
    subprocess installed post-installation script returned error exit status 10
    Setting up ndiswrapper-utils-1.9 (1.57-1) ...
    Errors were encountered while processing:
    ndiswrapper-dkms
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    A package failed to install. Trying to recover:
    Setting up ndiswrapper-dkms (1.57-1) ...
    Removing old ndiswrapper-1.57 DKMS files...

    ------------------------------
    Deleting module version: 1.57
    completely from the DKMS tree.
    ------------------------------
    Done.
    Loading new ndiswrapper-1.57 DKMS files...
    First Installation: checking all kernels...
    Building only for 3.4.4
    Building initial module for 3.4.4
    Error! Bad return status for module build on kernel: 3.4.4 (i686)
    Consult /var/lib/dkms/ndiswrapper/1.57/build/make.log for more information.
    dpkg: error processing ndiswrapper-dkms (--configure):
    subprocess installed post-installation script returned error exit status 10
    Errors were encountered while processing:
    ndiswrapper-dkms


    Yes, 'libgtk2-perl' was not default loaded, but was done, following the above dialog.

    Q: How serious of an ERROR is this?

    Yours,
    luther

  2. #2
    Senior Member
    Join Date
    Feb 2012
    Posts
    146

    Aptitude dialog

    ERRORS trapped by Aptitude Package Manager:

    root@Microknoppix:/home/knoppix# aptitude install ndiswrapper-utils-1.9
    The following NEW packages will be installed:
    ndiswrapper-dkms{a} ndiswrapper-utils-1.9
    0 packages upgraded, 2 newly installed, 0 to remove and 671 not upgraded.
    Need to get 0 B/229 kB of archives. After unpacking 855 kB will be used.
    Do you want to continue? [Y/n/?] y
    Selecting previously unselected package ndiswrapper-dkms.
    (Reading database ... 91404 files and directories currently installed.)
    Unpacking ndiswrapper-dkms (from .../ndiswrapper-dkms_1.57-1_all.deb) ...
    Selecting previously unselected package ndiswrapper-utils-1.9.
    Unpacking ndiswrapper-utils-1.9 (from .../ndiswrapper-utils-1.9_1.57-1_i386.deb) ...
    Processing triggers for man-db ...
    Setting up ndiswrapper-dkms (1.57-1) ...
    Loading new ndiswrapper-1.57 DKMS files...
    First Installation: checking all kernels...
    Building only for 3.4.4
    Building initial module for 3.4.4
    Error! Bad return status for module build on kernel: 3.4.4 (i686)
    Consult /var/lib/dkms/ndiswrapper/1.57/build/make.log for more information.
    dpkg: error processing ndiswrapper-dkms (--configure):
    subprocess installed post-installation script returned error exit status 10
    Setting up ndiswrapper-utils-1.9 (1.57-1) ...
    Errors were encountered while processing:
    ndiswrapper-dkms
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    A package failed to install. Trying to recover:
    Setting up ndiswrapper-dkms (1.57-1) ...
    Removing old ndiswrapper-1.57 DKMS files...

    ------------------------------
    Deleting module version: 1.57
    completely from the DKMS tree.
    ------------------------------
    Done.
    Loading new ndiswrapper-1.57 DKMS files...
    First Installation: checking all kernels...
    Building only for 3.4.4
    Building initial module for 3.4.4
    Error! Bad return status for module build on kernel: 3.4.4 (i686)
    Consult /var/lib/dkms/ndiswrapper/1.57/build/make.log for more information.
    dpkg: error processing ndiswrapper-dkms (--configure):
    subprocess installed post-installation script returned error exit status 10
    Errors were encountered while processing:
    ndiswrapper-dkms

    root@Microknoppix:/home/knoppix#
    I've had NO luck getting ndiswrapper to function, when told to use it to install the tp-link wn353g driver for windows 98se.

    Q: Should I be using the windows XP WiFi driver instead?

    yours,
    luther

  3. #3
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    Consult /var/lib/dkms/ndiswrapper/1.57/build/make.log for more information.
    What does this file say?

    I would suggest that you download and install ndiswrapper from the testing branch.
    ndiswrapper-utils-1.9_1.58-2_i386.deb, ndiswrapper-dkms_1.58-2_all.deb, ndiswrapper-common_1.58-2_all.deb

    I think you should try drivers made for Windows 2000 or XP.

  4. #4
    Senior Member
    Join Date
    Feb 2012
    Posts
    146

    Location of preloaded WiFi driver

    Quote Originally Posted by klaus2008 View Post

    I think you should try drivers made for Windows 2000 or XP.
    Hi,

    link

    This particular notebook came with the Broadcom b43 XP driver installed, NO CD!

    Q: Is there a way to hunt down the .INF driver file[s], used by ndiswrapper?

    luther

  5. #5
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    I think it is possible to find the driver files in the subdirectories of the windows system directory. But why don't you download the driver from HP's web site you mentioned above?

    You could open the page Broadcom Wireless LAN Drivers in your web browser and download the file sp33008.exe. Once you have got the driver archive file you can try the following.
    Create a new directory and copy the file sp33008.exe there.
    Open an LXTerminal and change to that directory.
    Use 7z to extract the files from sp33008.exe.
    Code:
    7z x sp33008.exe
    You will find many new files in the directory including a .inf and some .sys files.

    I hope that helps.

  6. #6
    Senior Member
    Join Date
    Feb 2012
    Posts
    146

    make log

    Consult /var/lib/dkms/ndiswrapper/1.57/build/make.log for more information.

    Quote Originally Posted by klaus2008 View Post
    What does this file say?
    Hi klaus2008,

    Here is the make log dialog:

    DKMS make.log for ndiswrapper-1.57 for kernel 3.4.4 (i686)
    Fri Dec 6 17:43:45 UTC 2013
    make: Entering directory `/usr/src/linux-headers-3.4.4'
    LD /var/lib/dkms/ndiswrapper/1.57/build/built-in.o
    MKEXPORT /var/lib/dkms/ndiswrapper/1.57/build/crt_exports.h
    MKEXPORT /var/lib/dkms/ndiswrapper/1.57/build/hal_exports.h
    MKEXPORT /var/lib/dkms/ndiswrapper/1.57/build/ndis_exports.h
    MKEXPORT /var/lib/dkms/ndiswrapper/1.57/build/ntoskernel_exports.h
    MKEXPORT /var/lib/dkms/ndiswrapper/1.57/build/ntoskernel_io_exports.h
    MKEXPORT /var/lib/dkms/ndiswrapper/1.57/build/rtl_exports.h
    MKEXPORT /var/lib/dkms/ndiswrapper/1.57/build/usb_exports.h
    CC [M] /var/lib/dkms/ndiswrapper/1.57/build/crt.o
    CC [M] /var/lib/dkms/ndiswrapper/1.57/build/hal.o
    CC [M] /var/lib/dkms/ndiswrapper/1.57/build/iw_ndis.o
    CC [M] /var/lib/dkms/ndiswrapper/1.57/build/loader.o
    CC [M] /var/lib/dkms/ndiswrapper/1.57/build/ndis.o
    /var/lib/dkms/ndiswrapper/1.57/build/ndis.c: In function 'NdisGetCurrentProcessorCounts':
    /var/lib/dkms/ndiswrapper/1.57/build/ndis.c:2657:24: error: 'struct kernel_stat' has no member named 'cpustat'
    /var/lib/dkms/ndiswrapper/1.57/build/ndis.c:2658:31: error: 'struct kernel_stat' has no member named 'cpustat'
    /var/lib/dkms/ndiswrapper/1.57/build/ndis.c:2659:17: error: 'struct kernel_stat' has no member named 'cpustat'
    make[1]: *** [/var/lib/dkms/ndiswrapper/1.57/build/ndis.o] Error 1
    make: *** [_module_/var/lib/dkms/ndiswrapper/1.57/build] Error 2
    make: Leaving directory `/usr/src/linux-headers-3.4.4'
    HTH
    luther

  7. #7
    Senior Member
    Join Date
    Feb 2012
    Posts
    146
    Quote Originally Posted by klaus2008 View Post
    You could open the page Broadcom Wireless LAN Drivers in your web browser and download the file sp33008.exe. Once you have got the driver archive file you can try the following.
    Create a new directory and copy the file sp33008.exe there.
    Open an LXTerminal and change to that directory.
    Use 7z to extract the files from sp33008.exe.
    Code:
    7z x sp33008.exe
    You will find many new files in the directory including a .inf and some .sys files.

    I hope that helps.
    Hey klaus2008!

    I tried bcmwl5.inf w/ndiswrapper bundled w/knoppix 5.1.1 LiveUSB CD, since it needs to use the windows driver emulated.
    Invalid driver trapped:


    root@Knoppix:/KNOPPIX.IMG/home/knoppix# ndiswrapper -i /home/knoppix/Desktop/b43inf/bcmwl5.inf
    installing bcmwl5 ...
    forcing parameter IBSSGMode from 0 to 2
    forcing parameter IBSSGMode from 0 to 2
    forcing parameter IBSSGMode from 0 to 2
    forcing parameter IBSSGMode from 0 to 2
    forcing parameter IBSSGMode from 0 to 2
    forcing parameter IBSSGMode from 0 to 2
    forcing parameter IBSSGMode from 0 to 2
    forcing parameter IBSSGMode from 0 to 2
    forcing parameter IBSSGMode from 0 to 2
    forcing parameter IBSSGMode from 0 to 2
    forcing parameter IBSSGMode from 0 to 2
    forcing parameter IBSSGMode from 0 to 2
    forcing parameter IBSSGMode from 0 to 2
    forcing parameter IBSSGMode from 0 to 2
    forcing parameter IBSSGMode from 0 to 2
    forcing parameter IBSSGMode from 0 to 2
    forcing parameter IBSSGMode from 0 to 2
    forcing parameter IBSSGMode from 0 to 2
    forcing parameter IBSSGMode from 0 to 2
    forcing parameter IBSSGMode from 0 to 2
    root@Knoppix:/KNOPPIX.IMG/home/knoppix# ndiswrapper -l
    bcmwl5 : driver installed
    device (14E4:4318 present (alternate driver: bcm43xx)
    e : invalid driver!
    root@Knoppix:/KNOPPIX.IMG/home/knoppix#
    ****************

    In the unzipped list, I see a CAB file named bcm43xx
    Q: Can knoppix 5.1.1 unzip CAB?

    Suspect the correct .inf is in there . . .

    THX 4 HLP!
    luther
    PS. BCM4318 is the correct chip set, as reported

  8. #8
    Senior Member
    Join Date
    Feb 2012
    Posts
    146

    Question 1.58 'testing' make.log

    Quote Originally Posted by luther View Post
    Consult /var/lib/dkms/ndiswrapper/1.57/build/make.log for more information.
    Hi,

    DKMS make.log for ndiswrapper-1.58 for kernel 3.4.4 (i686)
    Sat Dec 7 12:53:09 UTC 2013
    make: Entering directory `/usr/src/linux-headers-3.4.4'
    LD /var/lib/dkms/ndiswrapper/1.58/build/built-in.o
    MKEXPORT /var/lib/dkms/ndiswrapper/1.58/build/crt_exports.h
    MKEXPORT /var/lib/dkms/ndiswrapper/1.58/build/hal_exports.h
    MKEXPORT /var/lib/dkms/ndiswrapper/1.58/build/ndis_exports.h
    MKEXPORT /var/lib/dkms/ndiswrapper/1.58/build/ntoskernel_exports.h
    MKEXPORT /var/lib/dkms/ndiswrapper/1.58/build/ntoskernel_io_exports.h
    MKEXPORT /var/lib/dkms/ndiswrapper/1.58/build/rtl_exports.h
    MKEXPORT /var/lib/dkms/ndiswrapper/1.58/build/usb_exports.h
    CC [M] /var/lib/dkms/ndiswrapper/1.58/build/crt.o
    CC [M] /var/lib/dkms/ndiswrapper/1.58/build/hal.o
    CC [M] /var/lib/dkms/ndiswrapper/1.58/build/iw_ndis.o
    CC [M] /var/lib/dkms/ndiswrapper/1.58/build/loader.o
    CC [M] /var/lib/dkms/ndiswrapper/1.58/build/ndis.o
    CC [M] /var/lib/dkms/ndiswrapper/1.58/build/ntoskernel.o
    CC [M] /var/lib/dkms/ndiswrapper/1.58/build/ntoskernel_io.o
    CC [M] /var/lib/dkms/ndiswrapper/1.58/build/pe_linker.o
    CC [M] /var/lib/dkms/ndiswrapper/1.58/build/pnp.o
    CC [M] /var/lib/dkms/ndiswrapper/1.58/build/proc.o
    /var/lib/dkms/ndiswrapper/1.58/build/proc.c:35:47: error: unknown type name ‘kuid_t’
    /var/lib/dkms/ndiswrapper/1.58/build/proc.c:35:59: error: unknown type name ‘kgid_t’
    /var/lib/dkms/ndiswrapper/1.58/build/proc.c: In function ‘procfs_write_ndis_settings’:
    /var/lib/dkms/ndiswrapper/1.58/build/proc.c:291:9: error: implicit declaration of function ‘file_inode’ [-Werror=implicit-function-declaration]
    /var/lib/dkms/ndiswrapper/1.58/build/proc.c:291:9: warning: passing argument 1 of ‘PDE_DATA’ makes pointer from integer without a cast [enabled by default]
    /var/lib/dkms/ndiswrapper/1.58/build/proc.c:30:21: note: expected ‘const struct inode *’ but argument is of type ‘int’
    /var/lib/dkms/ndiswrapper/1.58/build/proc.c: In function ‘wrap_procfs_add_ndis_device’:
    /var/lib/dkms/ndiswrapper/1.58/build/proc.c:420:2: error: implicit declaration of function ‘proc_set_user’ [-Werror=implicit-function-declaration]
    cc1: some warnings being treated as errors
    make[1]: *** [/var/lib/dkms/ndiswrapper/1.58/build/proc.o] Error 1
    make: *** [_module_/var/lib/dkms/ndiswrapper/1.58/build] Error 2
    make: Leaving directory `/usr/src/linux-headers-3.4.4'

    Which fork leads OUT?
    luther

  9. #9
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    It was written that ndiswrapper-1.58 should be compatible with Linux kernels 3.2 to 3.8. However, the version provided by the packages from the Debian testing branch seems to be incompatible with Knoppix kernel 3.4.4.

    On http://sourceforge.net/projects/ndis.../files/stable/ you can download the source of the latest version 1.59.

    After you have downloaded ndiswrapper-1.59.tar.gz you should open an LXTerminal and change to the directory containing this file. Before you try to compile and to install the new ndiswrapper the old packages have to be removed from the system if they are installed.
    Code:
    sudo apt-get purge ndiswrapper-dkms ndiswrapper-common ndiswrapper-utils-1.9
    Now it is time to extract the new source
    Code:
    tar xzf ndiswrapper-1.59.tar.gz
    cd ndiswrapper-1.59
    make
    sudo make install
    There is a file called INSTALL describing the installation and usage of ndiswrapper.

    I hope that helps.

  10. #10
    Senior Member
    Join Date
    Feb 2012
    Posts
    146

    Compiled from source

    Quote Originally Posted by klaus2008 View Post
    Code:
    tar xzf ndiswrapper-1.59.tar.gz
    cd ndiswrapper-1.59
    make
    sudo make install
    I hope that helps.
    Hi,

    Synaptic Package Manager cannot find the compiled 1.59 binary.

    Q1: Where is the 1.59 make.log?

    Q2: How can 1.59 be purged from the system, for replacement?

    luther

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN picture

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN

$155.00



pfSense Firewall 16-Core Atom C3958 8GB DDR4 RAM 64GB SSD 8x 1Gbe QAT AES-NI VPN picture

pfSense Firewall 16-Core Atom C3958 8GB DDR4 RAM 64GB SSD 8x 1Gbe QAT AES-NI VPN

$184.99



OPNsense pfSense 16-Core Atom C3958 16GB ECC RAM 512GB SSD 8-Port QAT AES-NI VPN picture

OPNsense pfSense 16-Core Atom C3958 16GB ECC RAM 512GB SSD 8-Port QAT AES-NI VPN

$248.00



SonicWall TZ280 Firewall 03-SSC-6933 Advanced Edition 3YR NEW SEALED picture

SonicWall TZ280 Firewall 03-SSC-6933 Advanced Edition 3YR NEW SEALED

$999.99



Fortinet FortiGate 60F FG-60F P24286-03-13 Network Firewall Security Appliance picture

Fortinet FortiGate 60F FG-60F P24286-03-13 Network Firewall Security Appliance

$155.75



Palo Alto PA-220 Next-Gen Firewall 520-000309-00J picture

Palo Alto PA-220 Next-Gen Firewall 520-000309-00J

$40.00



Fortinet FortiGate 60F FG-60F UTM UTP License Until 2027 Network Security FW VPN picture

Fortinet FortiGate 60F FG-60F UTM UTP License Until 2027 Network Security FW VPN

$239.99



Fortinet FortiGate 80E 12 Ports Firewall Appliance picture

Fortinet FortiGate 80E 12 Ports Firewall Appliance

$20.25



NETGEAR ProSafe 8-Port Gigabit VPN Firewall FVS318G NEW IN BOX picture

NETGEAR ProSafe 8-Port Gigabit VPN Firewall FVS318G NEW IN BOX

$69.99



Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet picture

Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet

$147.00