Re: Re[2]: testing needed for dkms-agrsm-2.1.80-7mdv2009.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I installed dkms module in order to install the other dkms enabled
packages.  I made a mistake, I did the -2mdk instead of the -7mdk
sources, so I guess it will not worK :(

root@slax:~# dkms agrsm-2.1.80-7mdv2009.0.tar.gz

Error! Unknown action specified: agrsm-2.1.80-7mdv2009.0.tar.gz
Usage: /usr/sbin/dkms [action] [options]
  [action]  = { add | remove | build | install | uninstall | match
               | mkdriverdisk | mktarball | ldtarball | mkrpm | mkkmp
| mkdeb | status }
  [options] = [-m module] [-v module-version] [-k kernel-version] [-a arch]
              [-d distro] [-c dkms.conf-location] [-q] [--force] [--all]
              [--templatekernel=kernel] [--directive='cli-directive=cli-value']
              [--config=kernel-.config-location] [--archive=tarball-location]
              [--kernelsourcedir=source-location] [--no-prepare-kernel]
              [--binaries-only] [--source-only] [-r release (SuSE)] [--verbose]
              [--size] [--spec=specfile] [--media=floppy|iso|tar]
root@slax:~# dkms install agrsm-2.1.80-7mdv2009.0.tar.gz

Error! Invalid number of parameters passed.
Usage: install -m <module> -v <module-version>
root@slax:~# dkms install -m agrsm-2.1.80-7mdv2009.0.tar.gz

Error! Invalid number of parameters passed.
Usage: install -m <module> -v <module-version>


I have no experience to limited with dkms instructions.  I don't know
how to use it as I should.

I unpacked the tarball the agrsm-2.1.80-7mdk2009.0 tar ball and ran
./setup, but it fails with the following:

root@slax:~/agrsm-2.1.80-7mdv2009.0# ./setup
./setup: line 9: syntax error near unexpected token `else'
./setup: line 9: `  else'
root@slax:~/agrsm-2.1.80-7mdv2009.0# cat se
serial26.c         serial26.c.2.6.27  setup
root@slax:~/agrsm-2.1.80-7mdv2009.0# cat setup
#!/bin/sh
if test -x /usr/sbin/dkms ; then
  mkdir -p /usr/src
  VER=2.1.80-7mdv2009.0
  SRC=agrsm-$VER
  cp -a ../$SRC /usr/src/
  if test -d /usr/src/$SRC
    echo "Copied source package to /usr/src/$SRC"
  else
    echo "Copy failed of source package to /usr/src/$SRC !!"
    echo "exiting"
    echo
    exit
  fi
  cat<<END

   Successively running:
/usr/sbin/dkms --rpm_safe_upgrade add -m agrsm -v $VER
/usr/sbin/dkms --rpm_safe_upgrade build -m agrsm -v $VER
/usr/sbin/dkms --rpm_safe_upgrade install -m agrsm -v $VER

END
  sleep 1
  /usr/sbin/dkms --rpm_safe_upgrade add -m agrsm -v $VER
  /usr/sbin/dkms --rpm_safe_upgrade build -m agrsm -v $VER
  /usr/sbin/dkms --rpm_safe_upgrade install -m agrsm -v $VER
else
  echo "Necessary /usr/sbin/dkms not found. Install a dkms package.
Then rerun the setup."
fi
exit 0root@slax:~/agrsm-2.1.80-7mdv2009.0#

NOTE:
I am trying dkms on Slax Linux Live CD(formerly known as Slackware
Live CD), and I just converted a Fedora 10 package using rpm2tgz and
then using Slax special tool tgz2lzm which makes slax modules.



Thanks,

Antonio

On 5/18/09, Antonio Olivares <olivares14031@xxxxxxxxx> wrote:
> On 5/18/09, Nikolay Zhuravlev <xxor@xxxxxxx> wrote:
>> Antonio,
>>
>> Thus spake Antonio Olivares (olivares14031@xxxxxxxxx):
>>
>>> Marv and Nicokay,
>>>
>>> I have assembled lzm packages for Slax Linux Live CD.  I hope other
>>> users that have these kinds of modems can test the functionality of
>>> these.  I used
>>>
>>> rpm2tgz , then tgz2lzm to make the Slax Modules.  Modules are located
>>> here:
>>
>>
>> What RPMs did you use as a starting point for the "7mdv" driver.
>>
>>
>> [skip]
>>> dkms-agrsm-2.1.80-7mdv2009.0
>>> http://www.slax.org/modules.php?action=detail&id=2477
>>
>> I am confused. The link points to the "2mdv", not "7mdv" lzm/rpm
>
> Yes it is pointing to the 2, sorry about that, but I do have the 7 on
> hard disk and also on module I posted.  Jacques has not mounted the
> new file, I guess.
>>
>>
>>>
>>> Slax forum is over here with post.  We will appreciate all kinds of
>>> input.
>>>
>>> http://www.slax.org/forum.php?action=view&parentID=39934
>>>
>>> One user wants to know if these packages take care of the
>>> snd_hda_inport and snd_hda_export that was in the 11c11040 howto:
>>>
>>> http://linmodems.technion.ac.il/packages/ltmodem/11c11040/HOWTO-Agere-11c11040-HDA.html
>>
>>
>> If you are talking about snd_hda_codec_{read,write}, then yes, the "?mdv"
>> series
>> fixes the EXPORT_SYMBOL issue. You don't have to recompile the kernel.
>>
> This is what I believe as well, but another person believes otherwise
> at slax forum.  Slax has crippled kernel sources(not full) does that
> make a difference?
>
> http://www.slax.org/forum.php?action=view&parentID=39934
>
> Thread is at above link. Anyone can post as guest after verifying a CAPTCHA
>>
>>
>> All,
>>
>> BTW the presence of the two functions snd_hda_codec_{read,write}() in the
>> HDA.c
>> file makes the HDA.c file a GPL code. Am I correct?
>
> I am not too sure of that, hope Marv or someone else can clarify this.
>
>
> Regards,
>
> Antonio
>>
>> --
>> WBR, Nikolay Zhuravlev
>>
>>
>

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux