netmos for mandriva

General conversations about MIB project
Forum rules
Image
Before you post, please read forum rules:
Software requests - How to
Tag [SOLVED] in topics
Post Reply
User avatar
forrestw517
Utente junior
Utente junior
Posts: 80
Joined: 22 August 2009, 2:38
OpenMandriva: 2010.2 x86_64
Kernel: 2.6.36.4-desktop-69m
Desktop: kde 4.5.5 mib
Contact:

netmos for mandriva

Post by forrestw517 »

I had posted an earlier issue with netmos and that does not work anymore but found opensuse src rpm. I would like to request that the src.rpms on this site be rebuilt for mandriva. trying to program my amateur radio antenna tester and need a working serial port.

http://software.opensuse.org/search?q=M ... .3&lang=en#
thanks again
Forrest

User avatar
NicCo
Amministratore
Amministratore
Posts: 4765
Joined: 6 December 2007, 19:54

Re: netmos for mandriva

Post by NicCo »

In mandriva is not possibile to use those rpm or to do an easy convert from those:
mandriva use dkms-module, each time compiling the first time when a new kernel is detected, adapting a standard source to many different compatible kernel versions,

those in suse are only static driver modules, working only for one kernel version, for those specific kernel versions not for a generic kernel version

I saw some manual solution building manually the driver, for example, here:
http://www.opennet.ru/openforum/vsluhfo ... /3282.html

your request is too difficult to satisfate

bye, NicCo
.
--- Professional experience ---
Kernel designer, engineer, maintainer and tester for ROSA Desktop and OpenMandriva Lx O.S.

--- currently I'm playing with ---
LTS Kernels > Linux 4.1.12-nrjQL <<< Linux 3.18.17-nrjQL <<< Linux 3.14.46-nrjQL
EOL Kernels > Linux 3.19.8-nrjQL <<< Linux 3.17.8-nrjQL <<< Linux 3.15.10-nrjQL

User avatar
MauRice
Utente
Utente
Posts: 185
Joined: 30 May 2008, 12:11
OpenMandriva: cooker
Contact:

Re: netmos for mandriva

Post by MauRice »

Nicco,

Withe de SRPM -> http://software.opensuse.org/search/dow ... ry=MCS9865

And this spec-file as example -> http://users.telenet.be/x86_64/SPECS/dk ... pback.spec

Maybe it will work.

MauRice
Registered Linux user: 473556
The Good, The Bad and The Ugly -> Linux, Windows e Dos
http://www.mandrivaclub.be

User avatar
MauRice
Utente
Utente
Posts: 185
Joined: 30 May 2008, 12:11
OpenMandriva: cooker
Contact:

Re: netmos for mandriva

Post by MauRice »

Nicco,

This spec-file will make only ONE module: mcs9865.ko.gz
Howto change to make both module:
mcs9865.ko.gz
mcs9865-isa.ko.gz

Spec-file: http://users.telenet.be/x86_64/SPECS/dkms-mcs9865.spec

MauRice
Registered Linux user: 473556
The Good, The Bad and The Ugly -> Linux, Windows e Dos
http://www.mandrivaclub.be

User avatar
Dago68
Collaboratore
Collaboratore
Posts: 526
Joined: 7 December 2007, 0:40

Re: netmos for mandriva

Post by Dago68 »

Hi MauRice,

I think your spec is good and it creates the mcs9865-isa.ko file, the problem is in the make install.

As I see in te mcs9865_isa_installation text file :
Installing the Driver for kernel versions >2.6.17
---------------------------------------------------
Make sure whether the standard uart driver(CONFIG_SERIAL_8250) is compiled as a module(=m) or inbuilt(=y). This can be seen in .config file of corresponding kernel directory(/usr/src/linux-2.6.XX).

If the standard uart driver is inbuilt then the following steps to install driver:

1.Go to /etc/grub.conf and modify the line at the current kernel
kernel /vmlinuz-2.6.xx ro root=LABEL=/ 8250.nr_uarts=8
2.Now reboot the system and go to driver directory.
3.“make install” is the command to install the serial driver.
the standard uart driver is inbuilt in the kernel so I think forrestw517 must put

Code: Select all

8250.nr_uarts=8
as command line in the kernel start, maybe using Mandriva Control Center, reboot and use this file :

http://mib.pianetalinux.org/2010.2/64/b ... noarch.rpm

Regards

Dago68

User avatar
MauRice
Utente
Utente
Posts: 185
Joined: 30 May 2008, 12:11
OpenMandriva: cooker
Contact:

Re: netmos for mandriva

Post by MauRice »

Thanks Dago68,

If it works, fine for me.
I don't have that item, so I can't test it properly.

MauRice
Registered Linux user: 473556
The Good, The Bad and The Ugly -> Linux, Windows e Dos
http://www.mandrivaclub.be

User avatar
MauRice
Utente
Utente
Posts: 185
Joined: 30 May 2008, 12:11
OpenMandriva: cooker
Contact:

Re: netmos for mandriva

Post by MauRice »

Dago68,

With this spec-file it will compile & install both modules on mine system without the hardware and boot-option 8250.nr_uarts=8.
mcs9865.ko.gz
mcs9865-isa.ko.gz

Spec-file: http://users.telenet.be/x86_64/SPECS/dkms-mcs9865.spec

MauRice
Registered Linux user: 473556
The Good, The Bad and The Ugly -> Linux, Windows e Dos
http://www.mandrivaclub.be

User avatar
rugyada
Amministratore
Amministratore
Posts: 1562
Joined: 14 July 2008, 22:58
ROSA: ROSA.Fresh R8 64bit
OpenMandriva: OMLx 4.2
Kernel: kernel-release
Desktop: KDE tutta la vita
country: Italy

Re: netmos for mandriva

Post by rugyada »

MauRice wrote:Dago68,
With this spec-file it will compile & install both modules on mine system without the hardware and boot-option 8250.nr_uarts=8.
mcs9865.ko.gz
mcs9865-isa.ko.gz
Spec-file: http://users.telenet.be/x86_64/SPECS/dkms-mcs9865.spec

MauRice
Hi,

Dago68 rebuilt the package with the new specfile, and now it's working. ;)
Files ready in MIB repo.

Ciao.
Image
ciauu ciauu, ruru

MIB... e le stelle stanno a guardare.
«E' bello avere delle certezze, tipo la terra gira, il sole è caldo, se ti prendi con quelli del MIB vieni fanculizzato. Cose semplici, in fondo» (M.C.)

Post Reply