PDA

View Full Version : Software installation


Saketram
18th May 2006, 11:54 AM
Hello folks,

QUESTION 1:
I could not Add/Remove software with my Fedora Core 5 installation disks. Because whenever I click menus "Applications->Add/Remove Software", Package Manager software does startup. Then I finally get "Unable to retrieve software information". If I click OK, it termiates itself.

I searched web, and I came to understand that Add/Remove/Update are possible only by online to the Internet.

But after Fedora Core installation, I still have to install Modem driver (which is Smart Link internal, not alsa) in order to get Internet. I have the modem driver, which has to be compiled with linux "kernel-source" (I just know that it is "kernel-devel" in Fedora Core).

So I could not use my Fedora Core 5 installation disk to install "kernel-devel" to compile my modem driver. As I do not have internetion connection, I can not get "kernel-devel" from internet too to compile my modem driver.



QUESTION 2:
After several search, I came to know that we can install packages individually from the Fedora Core installation disks by following syntax and setting "gpgcheck=1" in /etc/yum.repos.d/fedora-core.repo file.
yum localinstall <path to rpm>

So I tried this myself, as follows
yum localinstall /mnt/cdrom/Fedora/RPMS/kernel-xen0-devel-2.6.15-1.2054_FC5.i686.rpm
Then I got the following results
==================================================
Loading "installonlyn" plugin
Setting up Local Package Process
Examining /mnt/cdrom/Fedora/RPMS/kernel-xen0-devel-2.6.15-1.2054_FC5.i686.rpm: kernel-xen0-devel - 2.6.15-1.2054_FC5.i686
Marking /mnt/cdrom/Fedora/RPMS/kernel-xen0-devel-2.6.15-1.2054_FC5.i686.rpm to be installed
Setting up repositories
core [1/3]
Cannot find a valid baseurl for repo: core
Error: Cannot find a valid baseurl for repo: core
==================================================


I request your help to solve these situations please...

Thanking you very much in advance.

Best regards,
Saketram

PS. As my English is poor, I could not question briefly. Sorry!!

xerxesfedora
18th May 2006, 12:00 PM
1)That' what I eas suffering since I 'll upgrade to FC5 2111 (I was using FC5 2054 and with this ı had the same problem)

And upgrade will resolve your problem I think!

2)I did it with renaming repos files to .bak so it does not look for URL

But there must be an easy way to this too. Perhaps someone will advise us.

a thing
18th May 2006, 01:46 PM

Edit the core, extras, and updates repos in /etc/yum.repos.d/ and add enabled=1 to them until you get an Internet connection.

And you probably want the regular kernel-devel, not the Xen kernel-devel.

Saketram
18th May 2006, 01:52 PM
QUESTION 2:
I tried already, with different boolean combinations for both "enable" and "gpgcheck" with values 0 and 1.

And also tried renaming repos files to something else.

Both gave no solution.

bob
18th May 2006, 02:03 PM
This may help on Question 2: http://www.city-fan.org/tips/YumRepoFromImages

Saketram
18th May 2006, 03:17 PM
I have no ISO images than installation disk. So I tried as follows

1. mkdir -p /mnt/repos/RPMS
2. (while 1 disk in drive) cp /mnt/cdrom/repodata/comps.xml /mnt/repos/
3. (for all 1 - 5 disks) cp /mnt/cdrom/Fedora/RPMS/* /mnt/repos/RPMS/
(but for 2 - 5 disks) copying event asked me to whether it overwrite "TRANS.TBL", then I said no.

now what to do for 2-5 installtion disk's TRANS.TBL data contents with /mnt/repos/RPMS/TRANS.TBL
?


I am clear with the remaining steps. Thank you.

Saketram
18th May 2006, 08:22 PM
I did the step mentioned in the given link as follows and I came into working Add/Remove programs

from location /mnt/repos/
- mkdir disc1 disc2 disc3 disc4 disc5
- (for all 1- 5 disks) I copied TRANS.TBL file to the relevent directory
- cp disc*/* RPMS

and did all remaining steps as mentioned in the link page.

Now it is working. Thank you.

Saketram
19th May 2006, 03:02 PM
QUESTION 3:
I had downloaded "kernel-2.6.15-1.2054_FC5.src.rpm" from http://rpm.pbone.net/ site.

Installation:
=================================================
[root@localhost RPMS]# uname -a
Linux localhost.localdomain 2.6.15-1.2054_FC5 #1 Tue Mar 14 15:48:33 EST 2006 i686 i686 i386 GNU/Linux
[root@localhost RPMS]# yum localinstall kernel-2.6.15-1.2054_FC5.src.rpm
Loading "installonlyn" plugin
Setting up Local Package Process
Examining kernel-2.6.15-1.2054_FC5.src.rpm: kernel - 2.6.15-1.2054_FC5.ppc64iseries
kernel-2.6.15-1.2054_FC5.src.rpm: does not update installed package.
Nothing to do
[root@localhost RPMS]#
==================================================

I do not know how to install my Fedora Core 5 kernel source.

I just only want to install "Smart Link" internal modem driver, but that driver has to be compiled with the kernel source. And I do not find any pre compiled smart link modem for Fedora Core 5 anywhere.

Please anybody give help on this.

Thanking you.
Saketram

a thing
20th May 2006, 01:17 AM
Try just running rpm -i RPM.

Saketram
20th May 2006, 07:18 AM
Yes I had tried and installed Kernel source, but I just came to know that it is not need to compile driver, but kernel-devel is needed.

So as I have to install my "Smart Link" internal modem driver into Fedora Core 5 (2.6.15-1.2054_FC5). I had downloaded "kernel-devel-2.6.15-1.2054_FC5.i686.rpm" as it has to be compiled. But when I compile I had got the following error.

================================================== ============================================
[root@localhost slmodem-2.9.11-20051101]# make
make -C modem all
make[1]: Entering directory `/root/install/slmodem/slmodem-2.9.11-20051101/modem'
rebuild profile...
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_main.o -c modem_main.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_cmdline.o -c modem_cmdline.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem.o -c modem.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_datafile.o -c modem_datafile.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_at.o -c modem_at.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_timer.o -c modem_timer.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_pack.o -c modem_pack.c
modem_pack.c: In function ‘modem_async_get_bits’:
modem_pack.c:100: warning: pointer targets in passing argument 2 of ‘m->get_chars’ differ in signedness
modem_pack.c: In function ‘modem_async_put_bits’:
modem_pack.c:148: warning: pointer targets in passing argument 2 of ‘m->put_chars’ differ in signedness
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_ec.o -c modem_ec.c
modem_ec.c: In function ‘tx_info’:
modem_ec.c:723: warning: pointer targets in passing argument 2 of ‘l->modem->get_chars’ differ in signedness
modem_ec.c: In function ‘push_rest_data’:
modem_ec.c:811: warning: pointer targets in passing argument 2 of ‘l->modem->put_chars’ differ in signedness
modem_ec.c: In function ‘rx_info’:
modem_ec.c:860: warning: pointer targets in passing argument 2 of ‘l->modem->put_chars’ differ in signedness
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_comp.o -c modem_comp.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_param.o -c modem_param.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_debug.o -c modem_debug.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o homolog_data.o -c homolog_data.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o dp_sinus.o -c dp_sinus.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o dp_dummy.o -c dp_dummy.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o sysdep_common.o -c sysdep_common.c
gcc -o slmodemd modem_main.o modem_cmdline.o modem.o modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_test.o -c modem_test.c
gcc -o modem_test modem_test.o modem_cmdline.o modem.o modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o
make[1]: Leaving directory `/root/install/slmodem/slmodem-2.9.11-20051101/modem'
make -C drivers KERNEL_DIR=/lib/modules/2.6.15-1.2054_FC5/build
make[1]: Entering directory `/root/install/slmodem/slmodem-2.9.11-20051101/drivers'
cc -I/lib/modules/2.6.15-1.2054_FC5/build/include -o kernel-ver kernel-ver.c
make all KERNEL_VER=2.6.15-1.2054_FC5
make[2]: Entering directory `/root/install/slmodem/slmodem-2.9.11-20051101/drivers'
make modules -C /lib/modules/2.6.15-1.2054_FC5/build SUBDIRS=/root/install/slmodem/slmodem-2.9.11-20051101/drivers
make[3]: Entering directory `/usr/src/kernels/2.6.15-1.2054_FC5-i686'
CC [M] /root/install/slmodem/slmodem-2.9.11-20051101/drivers/amrmo_init.o
CC [M] /root/install/slmodem/slmodem-2.9.11-20051101/drivers/sysdep_amr.o
CC [M] /root/install/slmodem/slmodem-2.9.11-20051101/drivers/st7554.o
/root/install/slmodem/slmodem-2.9.11-20051101/drivers/st7554.c:1153: error: unknown field ‘owner’ specified in initializer
/root/install/slmodem/slmodem-2.9.11-20051101/drivers/st7554.c:1153: warning: initialization from incompatible pointer type
make[4]: *** [/root/install/slmodem/slmodem-2.9.11-20051101/drivers/st7554.o] Error 1
make[3]: *** [_module_/root/install/slmodem/slmodem-2.9.11-20051101/drivers] Error 2
make[3]: Leaving directory `/usr/src/kernels/2.6.15-1.2054_FC5-i686'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/install/slmodem/slmodem-2.9.11-20051101/drivers'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/install/slmodem/slmodem-2.9.11-20051101/drivers'
make: *** [drivers] Error 2
[root@localhost slmodem-2.9.11-20051101]#
================================================== ============================================

Please somebody help me to resolve.

Greetings!!
Saketram

Skunk Worx
20th May 2006, 07:28 AM
I remember something about an "owner" field changing in some kernel structures a few months ago. Could you post the code around that area?

/root/install/slmodem/slmodem-2.9.11-20051101/drivers/st7554.c
line 1153

Maybe they have a newer driver.

UPDATE :

http://www.redhat.com/archives/rhl-beta-list/2006-January/msg02096.html

...also google. You should not need the kernel driver for newer kernels. Supposedly there is a user daemon to run and you are finished.

---
John

Saketram
20th May 2006, 08:25 AM
Here I paste the code around 1153 of st7554.c

===================

static struct usb_driver st7554_usb_driver = {
.owner = THIS_MODULE,
.name = "ST7554 USB Modem",
.probe = st7554_probe,
.disconnect = st7554_disconnect,
.id_table = st7554_ids,
};

==========================

Saketram
20th May 2006, 09:10 AM
I tried myself a step also, by commenting that "owner" line and did compilation and everything gone well (except warning), but still I can not get working driver.

Compilation steps:
================================================== =================
[root@localhost slmodem-2.9.11-20051101]# make
make -C modem all
make[1]: Entering directory `/root/install/slmodem/slmodem-2.9.11-20051101/modem'
rebuild profile...
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_main.o -c modem_main.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_cmdline.o -c modem_cmdline.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem.o -c modem.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_datafile.o -c modem_datafile.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_at.o -c modem_at.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_timer.o -c modem_timer.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_pack.o -c modem_pack.c
modem_pack.c: In function ‘modem_async_get_bits’:
modem_pack.c:100: warning: pointer targets in passing argument 2 of ‘m->get_chars’ differ in signedness
modem_pack.c: In function ‘modem_async_put_bits’:
modem_pack.c:148: warning: pointer targets in passing argument 2 of ‘m->put_chars’ differ in signedness
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_ec.o -c modem_ec.c
modem_ec.c: In function ‘tx_info’:
modem_ec.c:723: warning: pointer targets in passing argument 2 of ‘l->modem->get_chars’ differ in signedness
modem_ec.c: In function ‘push_rest_data’:
modem_ec.c:811: warning: pointer targets in passing argument 2 of ‘l->modem->put_chars’ differ in signedness
modem_ec.c: In function ‘rx_info’:
modem_ec.c:860: warning: pointer targets in passing argument 2 of ‘l->modem->put_chars’ differ in signedness
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_comp.o -c modem_comp.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_param.o -c modem_param.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_debug.o -c modem_debug.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o homolog_data.o -c homolog_data.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o dp_sinus.o -c dp_sinus.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o dp_dummy.o -c dp_dummy.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o sysdep_common.o -c sysdep_common.c
gcc -o slmodemd modem_main.o modem_cmdline.o modem.o modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_test.o -c modem_test.c
gcc -o modem_test modem_test.o modem_cmdline.o modem.o modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o
make[1]: Leaving directory `/root/install/slmodem/slmodem-2.9.11-20051101/modem'
make -C drivers KERNEL_DIR=/lib/modules/2.6.15-1.2054_FC5/build
make[1]: Entering directory `/root/install/slmodem/slmodem-2.9.11-20051101/drivers'
cc -I/lib/modules/2.6.15-1.2054_FC5/build/include -o kernel-ver kernel-ver.c
make all KERNEL_VER=2.6.15-1.2054_FC5
make[2]: Entering directory `/root/install/slmodem/slmodem-2.9.11-20051101/drivers'
make modules -C /lib/modules/2.6.15-1.2054_FC5/build SUBDIRS=/root/install/slmodem/slmodem-2.9.11-20051101/drivers
make[3]: Entering directory `/usr/src/kernels/2.6.15-1.2054_FC5-i686'
CC [M] /root/install/slmodem/slmodem-2.9.11-20051101/drivers/amrmo_init.o
CC [M] /root/install/slmodem/slmodem-2.9.11-20051101/drivers/sysdep_amr.o
CC [M] /root/install/slmodem/slmodem-2.9.11-20051101/drivers/st7554.o
LD [M] /root/install/slmodem/slmodem-2.9.11-20051101/drivers/slamr.o
LD [M] /root/install/slmodem/slmodem-2.9.11-20051101/drivers/slusb.o
Building modules, stage 2.
MODPOST
Warning: could not find /root/install/slmodem/slmodem-2.9.11-20051101/drivers/.amrlibs.o.cmd for /root/install/slmodem/slmodem-2.9.11-20051101/drivers/amrlibs.o
CC /root/install/slmodem/slmodem-2.9.11-20051101/drivers/slamr.mod.o
LD [M] /root/install/slmodem/slmodem-2.9.11-20051101/drivers/slamr.ko
CC /root/install/slmodem/slmodem-2.9.11-20051101/drivers/slusb.mod.o
LD [M] /root/install/slmodem/slmodem-2.9.11-20051101/drivers/slusb.ko
make[3]: Leaving directory `/usr/src/kernels/2.6.15-1.2054_FC5-i686'
make[2]: Leaving directory `/root/install/slmodem/slmodem-2.9.11-20051101/drivers'
make[1]: Leaving directory `/root/install/slmodem/slmodem-2.9.11-20051101/drivers'
[root@localhost slmodem-2.9.11-20051101]# make install
make -C modem all
make[1]: Entering directory `/root/install/slmodem/slmodem-2.9.11-20051101/modem'
make[1]: Leaving directory `/root/install/slmodem/slmodem-2.9.11-20051101/modem'
make -C drivers KERNEL_DIR=/lib/modules/2.6.15-1.2054_FC5/build
make[1]: Entering directory `/root/install/slmodem/slmodem-2.9.11-20051101/drivers'
cc -I/lib/modules/2.6.15-1.2054_FC5/build/include -o kernel-ver kernel-ver.c
make all KERNEL_VER=2.6.15-1.2054_FC5
make[2]: Entering directory `/root/install/slmodem/slmodem-2.9.11-20051101/drivers'
make modules -C /lib/modules/2.6.15-1.2054_FC5/build SUBDIRS=/root/install/slmodem/slmodem-2.9.11-20051101/drivers
make[3]: Entering directory `/usr/src/kernels/2.6.15-1.2054_FC5-i686'
Building modules, stage 2.
MODPOST
Warning: could not find /root/install/slmodem/slmodem-2.9.11-20051101/drivers/.amrlibs.o.cmd for /root/install/slmodem/slmodem-2.9.11-20051101/drivers/amrlibs.o
make[3]: Leaving directory `/usr/src/kernels/2.6.15-1.2054_FC5-i686'
make[2]: Leaving directory `/root/install/slmodem/slmodem-2.9.11-20051101/drivers'
make[1]: Leaving directory `/root/install/slmodem/slmodem-2.9.11-20051101/drivers'
make install -C drivers KERNEL_DIR=/lib/modules/2.6.15-1.2054_FC5/build
make[1]: Entering directory `/root/install/slmodem/slmodem-2.9.11-20051101/drivers'
cc -I/lib/modules/2.6.15-1.2054_FC5/build/include -o kernel-ver kernel-ver.c
mkdir -p /dev
mknod -m 600 /dev/slamr0 c 242 0 ; mknod -m 600 /dev/slamr1 c 242 1 ; mknod -m 600 /dev/slamr2 c 242 2 ; mknod -m 600 /dev/slamr3 c 242 3 ; echo -n
mknod -m 600 /dev/slusb0 c 243 0 ; mknod -m 600 /dev/slusb1 c 243 1 ; mknod -m 600 /dev/slusb2 c 243 2 ; mknod -m 600 /dev/slusb3 c 243 3 ; echo -n
make install KERNEL_VER=2.6.15-1.2054_FC5
make[2]: Entering directory `/root/install/slmodem/slmodem-2.9.11-20051101/drivers'
install -D -m 644 slamr.ko /lib/modules/2.6.15-1.2054_FC5/extra/slamr.ko
install -D -m 644 slusb.ko /lib/modules/2.6.15-1.2054_FC5/extra/slusb.ko
/sbin/depmod -a
make[2]: Leaving directory `/root/install/slmodem/slmodem-2.9.11-20051101/drivers'
make[1]: Leaving directory `/root/install/slmodem/slmodem-2.9.11-20051101/drivers'
install -D -m 755 modem/slmodemd /usr/sbin/slmodemd
rm -f -rf /var/lib/slmodem
install -d -D -m 755 /var/lib/slmodem
[root@localhost slmodem-2.9.11-20051101]# modprobe slamr
FATAL: Error inserting slamr (/lib/modules/2.6.15-1.2054_FC5/extra/slamr.ko): Invalid argument
[root@localhost slmodem-2.9.11-20051101]# slmodemd -c INDIA /dev/slamr0
error: mdm setup: cannot open dev `/dev/slamr0': No such device or address
error: cannot setup device `/dev/slamr0'
[root@localhost slmodem-2.9.11-20051101]#
================================================== ============================


Another step also taken that as, I thought there is something conflict with gcc compilation (as I see warnings on compilation). So I had downloaded "slmodemd-2.9.11_20051009_gcc4.tar.gz" as Fedora Core does has gcc v4.1. But still problem persist.

Requesting help....

Saketram
20th May 2006, 04:24 PM
Please help, it is 4th day since I bought Fedora with uncompleted complete Setup.
I search/read lot of websites and tried many version's modem driver file, nothing helps me.

I need your valuable guidance.
Thanks in advance.

Skunk Worx
20th May 2006, 06:00 PM
Try the livna repository. They have the rpm file :

http://rpm.livna.org/fedora/5/i386/slmodem-alsa-2.9.11-1.lvn5.i386.rpm

I found this info from google :

http://fcp.homelinux.org/modules/newbb/viewtopic.php?topic_id=21082&forum=10&post_id=86663

Saketram
21st May 2006, 07:03 AM
I had installed that rpm, slmodem-alsa-2.9.11-1.lvn5.i386.rpm, with Add/Remove but gave a warning message about signature, though I pressed the button "Install anyway", then it installed successfully.

Though I do not know how to do Dialing up as I have Dial-Up connection. And also I do not see any service slmodemd command or slarm module in module list.

[root@localhost slmodem-2.9.11-20051101]# yum list | grep slmodem
slmodem-alsa.i386 2.9.11-1.lvn5 installed

Saketram
21st May 2006, 07:06 AM
I had installed that rpm, slmodem-alsa-2.9.11-1.lvn5.i386.rpm, with Add/Remove but gave a warning message about signature, though I pressed the button "Install anyway", then it installed successfully.

Though I do not know how to do Dialing up as I have Dial-Up connection. And also I do not see any service slmodemd command or slarm module in module list.

[root@localhost slmodem-2.9.11-20051101]# yum list | grep slmodem
slmodem-alsa.i386 2.9.11-1.lvn5 installed

In System->Administration tools->Network, I tried with Modem and Dial-up connection, nothing recognize the slmodem.

I had compiled and installed the slmodem in my Mandrake 9.1 myself and it worked well. But here even I spent several days, I could not install the driver and get working modem in Fedora Core.

Please help.

Skunk Worx
21st May 2006, 07:16 AM
try updatedb to get a new file database, then look for slamr.ko and slmodemd e.g;

# updatedb
$ locate slamr.ko
$ locate slmodemd

It's hard for me to follow all the messages i see when using google, but it looks like you should have a /etc/init.d script named slmodemd and a kernel module named slamr.ko

Then I guess something like :

# /etc/init.d/slmodemd start

...should get the daemon up then maybe it will show up in the network configuration tool. Try it.

Saketram
21st May 2006, 08:48 AM
I did so now, but I do not get still working modem. Sorry!!

================================================== =============================
[root@localhost ~]# yum info slmodem-alsa-2.9.11
Loading "installonlyn" plugin
Setting up repositories
core [1/1]
Reading repository metadata in from local files
Installed Packages
Name : slmodem-alsa
Arch : i386
Version: 2.9.11
Release: 1.lvn5
Size : 1.0 M
Repo : installed
Summary: ALSA Userspace application for several SmartLink softmodems.

Description:
This package contains the userspace application to control SmartLink modem
chipsets under the AC'97 or MC'97 chipset, which is used in many of todays
laptops.
Currently there is 'intel8x0m' (snd-intel8x0m) modem driver, which supports
ICH based AC97 modems (MC97). Recent 'alsa-driver' (>=1.0.8) has also support
for NVidia NForce, SiS 630 (snd-intel8x0m), VIA686 (snd-via82xx-modem) and
ATI IXP (snd-atiixp-modem) based modems.

After installation of this package and start of the slmodemd userspace
application on a supported system, /dev/ttySL0 can be used to dial out with
the internal softmodem.


[root@localhost ~]# service slmodemd status
slmodemd is stopped
[root@localhost ~]# service slmodemd start
Starting SmartLink modem daemon: ALSA lib pcm.c:1969:(snd_pcm_open_conf) Invalid type for PCM modem:1 definition (id: modem, value: cards.pcm.modem)
[FAILED]
[root@localhost ~]# service slmodemd restart
Shutting SmartLink modem daemon: [FAILED]
Starting SmartLink modem daemon: ALSA lib pcm.c:1969:(snd_pcm_open_conf) Invalid type for PCM modem:1 definition (id: modem, value: cards.pcm.modem)
[FAILED]
[root@localhost ~]#
================================================== ==============================

I think I may have to tell that, System->Administration->Sound Detection tell that "The following sound devices are detected.". And there is a tab dialog box (with 2 tabs, 1. Intel and 2. PNPb006). But default audio card selection is "Corporation 82801BA/BAM AC'97 Audio" and default PCM device is "Intel ICH [Intel 82801BA-ICH2]" is selected.

But I also tried by selecting the audio card "PNPb006" and then tried slmodem start. Still it gives the same error.

Help please...

Saketram
21st May 2006, 10:23 AM
And one more thing I forgot to tell that I still do not hear the Test sound, so I think I will have to install Sound card driver too.

System configuration is
http://www.acersupport.com/desktop/html/v7100_specs.html

Additionally using "NVIDIA RIVA TNT2 Model 64/Model 64 Pro" graphics card.

Requesting help ....

Skunk Worx
21st May 2006, 10:38 AM
Have you tried running this yet?

http://linmodems.technion.ac.il/packages/scanModem.gz

apparently these modems are a real pain to get set up. This is not particular to Fedora. A google search shows many people having problems with exactly the error message you posted...Debian, Ubuntu, Suse, Mandrake, etc.

Try running that utility and doing some searches for the keywords...especially the "lspci" output for the Modem.

Take a look at this thread, too...
http://linmodems.technion.ac.il/archive-fifth/msg04917.html

That forum might be of more help to you...especially once you get the diagnostics printout.

---
John

Saketram
22nd May 2006, 04:27 PM
I got working modem now. Though still there is some problem.
Steps I do to get Internet connection for every booting.

================================================== =================================
[kumaran@localhost ~]$ su -
Password:

[root@localhost ~]# service slmodemd status
slmodemd is stopped

[root@localhost ~]# service slmodemd start
Starting SmartLink Modem driver for slamr0: [ OK ]

[root@localhost ~]# service slmodemd status
slmodemd dead but subsys locked

[root@localhost ~]# service slmodemd stop
[root@localhost ~]# ink Modem driver: [FAILED]
[root@localhost ~]# modprobe slamr
FATAL: Module slamr not found.

[root@localhost ~]# cd /mnt/win_e/install/

[root@localhost install]# cd slmodem-2.9.11-20051101

[root@localhost slmodem-2.9.11-20051101]# make install
make -C modem all
make[1]: Entering directory `/mnt/win_e/install/slmodem-2.9.11-20051101/modem'
make[1]: Leaving directory `/mnt/win_e/install/slmodem-2.9.11-20051101/modem'
make -C drivers KERNEL_DIR=/lib/modules/2.6.15-1.2054_FC5/build
make[1]: Entering directory `/mnt/win_e/install/slmodem-2.9.11-20051101/drivers'
cc -I/lib/modules/2.6.15-1.2054_FC5/build/include -o kernel-ver kernel-ver.c
make all KERNEL_VER=2.6.152.6.15-1.2054_FC5
make[2]: Entering directory `/mnt/win_e/install/slmodem-2.9.11-20051101/drivers'
make modules -C /lib/modules/2.6.15-1.2054_FC5/build SUBDIRS=/mnt/win_e/install/slmodem-2.9.11-20051101/drivers
make[3]: Entering directory `/usr/src/kernels/2.6.15-1.2054_FC5-i686'
Building modules, stage 2.
MODPOST
Warning: could not find /mnt/win_e/install/slmodem-2.9.11-20051101/drivers/.amrlibs.o.cmd for /mnt/win_e/install/slmodem-2.9.11-20051101/drivers/amrlibs.o
make[3]: Leaving directory `/usr/src/kernels/2.6.15-1.2054_FC5-i686'
make[2]: Leaving directory `/mnt/win_e/install/slmodem-2.9.11-20051101/drivers'
make[1]: Leaving directory `/mnt/win_e/install/slmodem-2.9.11-20051101/drivers'
make install -C drivers KERNEL_DIR=/lib/modules/2.6.15-1.2054_FC5/build
make[1]: Entering directory `/mnt/win_e/install/slmodem-2.9.11-20051101/drivers'
cc -I/lib/modules/2.6.15-1.2054_FC5/build/include -o kernel-ver kernel-ver.c
mkdir -p /dev
mknod -m 600 /dev/slamr0 c 242 0 ; mknod -m 600 /dev/slamr1 c 242 1 ; mknod -m 600 /dev/slamr2 c 242 2 ; mknod -m 600 /dev/slamr3 c 242 3 ; echo -n
mknod -m 600 /dev/slusb0 c 243 0 ; mknod -m 600 /dev/slusb1 c 243 1 ; mknod -m 600 /dev/slusb2 c 243 2 ; mknod -m 600 /dev/slusb3 c 243 3 ; echo -n
make install KERNEL_VER=2.6.152.6.15-1.2054_FC5
make[2]: Entering directory `/mnt/win_e/install/slmodem-2.9.11-20051101/drivers'
install -D -m 644 slamr.ko /lib/modules/2.6.152.6.15-1.2054_FC5/extra/slamr.ko
install -D -m 644 slusb.ko /lib/modules/2.6.152.6.15-1.2054_FC5/extra/slusb.ko
/sbin/depmod -a
make[2]: Leaving directory `/mnt/win_e/install/slmodem-2.9.11-20051101/drivers'
make[1]: Leaving directory `/mnt/win_e/install/slmodem-2.9.11-20051101/drivers'
install -D -m 755 modem/slmodemd /usr/sbin/slmodemd
rm -f -rf /var/lib/slmodem
install -d -D -m 755 /var/lib/slmodem

[root@localhost slmodem-2.9.11-20051101]# service slmodemd stop

[root@localhost slmodem-2.9.11-20051101]# service slmodemd start
Starting SmartLink Modem driver for slamr0: [ OK ]

[root@localhost slmodem-2.9.11-20051101]# service slmodemd status
slmodemd dead but subsys locked

[root@localhost slmodem-2.9.11-20051101]# service slmodemd stop

[root@localhost slmodem-2.9.11-20051101]# service slmodemd restart
Starting SmartLink Modem driver for slamr0: [ OK ]

[root@localhost slmodem-2.9.11-20051101]# service slmodemd status
slmodemd dead but subsys locked

[root@localhost slmodem-2.9.11-20051101]# insmod drivers/slamr.ko
[root@localhost slmodem-2.9.11-20051101]# service slmodemd stop
[root@localhost slmodem-2.9.11-20051101]# service slmodemd startED]
Starting SmartLink Modem driver for slamr0: [ OK ]

[root@localhost slmodem-2.9.11-20051101]# service slmodemd status
slmodemd (pid 2874) is running...

[root@localhost slmodem-2.9.11-20051101]# modprobe slamr
FATAL: Module slamr not found.

[root@localhost slmodem-2.9.11-20051101]#
================================================== ======================

Here I do not know why I have to install "slmodemd-2.9.11-20051101" driver, even I successfully installed the pre-compiled modem driver from lvna.

And also do not know why I have to insert module "slamr.ko" everytime. Though even I install the slamr.ko module, modprobe says "FATAL: Module slamr not found.".


QUESTION 5:
For getting Internet connection, I have to System->Administration->Network, and then entering root password, then I get Network Configuration window.

There in "Device" table, I have to select "BSNL Connection" and click on "Activate", then I get internet.

To disconnect:
same steps as mentioned above, but have to click on "Deactivate" button.

Is there any easy way to do this (for all users)?

(For example, in Mandrake, KPPP is very easy).

Skunk Worx
22nd May 2006, 07:53 PM
I can't speak to any rebuilding or insmod/rmmod failures of the kernel mod. I'm guessing you will have better luck finding out the details of the problems by going to the dedicated winmodem/linmodem forums with the output of the diagnostic in hand.

if you look at those forums, many linux users (not just fedora) have the same kind of problems (usually based on chipset manufacturer) and have to do different things to get the lin/win modems working.

As far as enabling/disabling the device (via FC5/Gnome) for all users, there is an option when you edit the device to "enable device for all users". That's pretty simple too :p

Saketram
22nd May 2006, 08:09 PM
Thank you very Mr. John and all other people who are help me.

:-)

Skunk Worx
23rd May 2006, 12:15 AM
Anytime, Saketram. Glad things are finally coming together for your install.

Saketram
29th May 2006, 01:45 AM
Sorry, some more help request in order to optimize my work.

QUESTION 6:
As I have to do "make install" for the driver at first for every booting to get slmodem working in order to browse, is there any way to do it automatically while on booting?

What is problem in Operating system is, the previously installed driver seems to be deinstalled, ie, when I install (make install), I see /dev/slamr0, /dev/slamr1, ...., /dev/slamr3. But after reboot I do not see them, so "service slmodemd startup" failed while on boot.

QUESTION 7:
Whenever I start KPPP, I will have to enter root password when I am not in root login. How can I make KPPP running for all users without root password necessasity?

Thanks in advance for the answers.

Skunk Worx
29th May 2006, 02:33 AM
QUESTION 6:
As I have to do "make install" for the driver at first for every booting to get slmodem working in order to browse, is there any way to do it automatically while on booting?

via google :
http://www.redhat.com/archives/rhl-list/2005-February/msg06412.html

QUESTION 7:
Whenever I start KPPP, I will have to enter root password when I am not in root login. How can I make KPPP running for all users without root password necessasity?[/QUOTE]

google for "sudo kppp".

you'll probably want to use the /usr/sbin/visudo command to adjust the privileged user list for whatever command launches kppp.

Skunk Worx
29th May 2006, 02:33 AM
QUESTION 6:
As I have to do "make install" for the driver at first for every booting to get slmodem working in order to browse, is there any way to do it automatically while on booting?

via google :
http://www.redhat.com/archives/rhl-list/2005-February/msg06412.html

QUESTION 7:
Whenever I start KPPP, I will have to enter root password when I am not in root login. How can I make KPPP running for all users without root password necessasity?

google for "sudo kppp".

you'll probably want to use the /usr/sbin/visudo command to adjust the privileged user list for whatever command launches kppp.

Saketram
2nd June 2006, 09:21 PM
Thank you.

Now I am struggling with enabling Sound card. Is it possible to get sound device working, because as SLMODEM is tied with sound controller in order for getting working modem.

My system specification is
http://www.acersupport.com/desktop/html/v7100_specs.html

Greetings!!

Saketram
3rd June 2006, 12:38 AM
Here are info report from various tool.s


┌─────────────────[AlsaMixer v1.0.11rc2 (Press Escape to quit)]────────────────┐
Card: Intel 82801BA-ICH2
Chip: Analog Devices AD1881A
View: [Playback] Capture All
Item: Master

================================================== =====



[root@localhost ~]# lspci
00:00.0 Host bridge: Intel Corporation 82815 815 Chipset Host Bridge and Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82815 815 Chipset AGP Bridge (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 01)
00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 (rev 01)
00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #1) (rev 01)
00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus (rev 01)
00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #2) (rev 01)
00:1f.5 Multimedia audio controller: Intel Corporation 82801BA/BAM AC'97 Audio ( rev 01)
01:00.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2 Model 64 /Model 64 Pro] (rev 15)
02:00.0 Modem: Smart Link Ltd. Unknown device 2800 (rev 02)
02:08.0 Ethernet controller: Intel Corporation 82801BA/BAM/CA/CAM Ethernet Contr oller (rev 01)
[root@localhost ~]# lspci -n
00:00.0 0600: 8086:1130 (rev 02)
00:01.0 0604: 8086:1131 (rev 02)
00:1e.0 0604: 8086:244e (rev 01)
00:1f.0 0601: 8086:2440 (rev 01)
00:1f.1 0101: 8086:244b (rev 01)
00:1f.2 0c03: 8086:2442 (rev 01)
00:1f.3 0c05: 8086:2443 (rev 01)
00:1f.4 0c03: 8086:2444 (rev 01)
00:1f.5 0401: 8086:2445 (rev 01)
01:00.0 0300: 10de:002d (rev 15)
02:00.0 0703: 2000:2800 (rev 02)
02:08.0 0200: 8086:2449 (rev 01)
[root@localhost ~]#

[root@localhost ~]# lsmod
Module Size Used by
ppp_deflate 5825 0
zlib_deflate 18265 1 ppp_deflate
ppp_async 11841 1
crc_ccitt 2241 1 ppp_async
ppp_generic 28373 6 ppp_deflate,ppp_async
slhc 6593 1 ppp_generic
autofs4 19013 1
sunrpc 136573 1
ip_conntrack_netbios_ns 3009 0
ipt_REJECT 5441 1
xt_state 2241 2
ip_conntrack 49261 2 ip_conntrack_netbios_ns,xt_state
nfnetlink 6489 1 ip_conntrack
xt_tcpudp 3265 4
iptable_filter 3137 1
ip_tables 11657 1 iptable_filter
x_tables 12613 4 ipt_REJECT,xt_state,xt_tcpudp,ip_tables
vfat 11969 2
fat 47709 1 vfat
video 14917 0
button 6609 0
battery 9285 0
ac 4933 0
ipv6 225569 12
lp 12297 0
parport_pc 25445 1
parport 34313 2 lp,parport_pc
floppy 57733 0
nvram 8393 0
uhci_hcd 28881 0
e100 33093 0
mii 5313 1 e100
snd_intel8x0 30301 1
snd_ac97_codec 83937 1 snd_intel8x0
snd_ac97_bus 2497 1 snd_ac97_codec
snd_seq_dummy 3781 0
snd_seq_oss 28993 0
snd_seq_midi_event 7105 1 snd_seq_oss
snd_seq 47153 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 8909 3 snd_seq_dummy,snd_seq_oss,snd_seq
slamr 434344 2
snd_pcm_oss 45009 0
snd_mixer_oss 16449 2 snd_pcm_oss
snd_pcm 76869 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
i2c_i801 8397 0
i2c_core 20673 1 i2c_i801
snd_timer 22597 2 snd_seq,snd_pcm
snd 50501 9 snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq, snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,s nd_timer
hw_random 5849 0
soundcore 9377 2 snd
snd_page_alloc 10441 2 snd_intel8x0,snd_pcm
dm_snapshot 16237 0
dm_zero 2241 0
dm_mirror 19985 0
dm_mod 50521 6 dm_snapshot,dm_zero,dm_mirror
ext3 116809 2
jbd 53077 1 ext3
[root@localhost ~]# alsamixer


==================================

Thanks in advance.

ginobili
19th July 2006, 05:30 PM
Hi Saketram.

I'm trying to follow this thread since I basically have the same problem. But I got lost somewhere between post #19 and post #22.

To be precise, I also have FC5 installed. My modem is exactly like yours, a smart link modem. I also tried the livna compiled driver but couldn't get it to work.

Like you, I downloaded slmodem-2.9.11-20051101, extracted it and tried to "make install", but got a whole bunch of error messages possibly related to kernel-header files.

How about posting here what you did to be able to compile slmodem-2.9.11-20051101?

xerxesfedora
21st July 2006, 11:16 AM
Hi Saketram!

Did you resolve your modem problem ?

Because there is an error in compiling phase
"Warning: could not find /mnt/win_e/install/slmodem-2.9.11-20051101/drivers/.amrlibs.o.cmd for /mnt/win_e/install/slmodem-2.9.11-20051101/drivers/amrlibs.o"

The compiler seeks the amrlibs.o for compilation

Saketram
31st July 2006, 04:04 AM
Yes, Of-course I had resolved the problem, I do not know what is with that error.

But the only bugging thing is that everytime I boot Fedora, I had to install the slmodemd driver once again. By analysing the make file process, I had reduced the exact installation process and it iws what my OS system needs to handle slmodem.

[root@localhost slmodem-2.9.11-20051101-OLD]# make install -C drivers KERNEL_DIR=/lib/
modules/2.6.15-1.2054_FC5/build make: Entering directory `/root/slmodem-2.9.11-20051101-OLD/drivers'
cc -I/lib/modules/2.6.15-1.2054_FC5/build/include -o kernel-ver kernel-ver.c
mkdir -p /dev
mknod -m 600 /dev/slamr0 c 242 0 ; mknod -m 600 /dev/slamr1 c 242 1 ; mknod -m 600 /dev/slamr2 c 242 2 ; mknod -m 600 /dev/slamr3 c 242 3 ; echo -n
mknod -m 600 /dev/slusb0 c 243 0 ; mknod -m 600 /dev/slusb1 c 243 1 ; mknod -m 600 /dev/slusb2 c 243 2 ; mknod -m 600 /dev/slusb3 c 243 3 ; echo -n
make install KERNEL_VER=2.6.15-1.2054_FC5
make[1]: Entering directory `/root/slmodem-2.9.11-20051101-OLD/drivers'
install -D -m 644 slamr.ko /lib/modules/2.6.15-1.2054_FC5/extra/slamr.ko
install -D -m 644 slusb.ko /lib/modules/2.6.15-1.2054_FC5/extra/slusb.ko
/sbin/depmod -a
make[1]: Leaving directory `/root/slmodem-2.9.11-20051101-OLD/drivers'
make: Leaving directory `/root/slmodem-2.9.11-20051101-OLD/drivers'

Why I need to do so?? Any help will be appreciated.. And thans for viewing.

Saketram
31st July 2006, 04:53 AM
ginobili!!

I think you need to install "kernel-devel" package first, before compiling the driver. I installed "kernel-devel-2.6.15-1.2054_FC5.i686.rpm" for my Fedora core version.

I am still waiting for the help for the post #32

ginobili
31st July 2006, 11:31 AM
Hi Saketram,

I read somewhere that you need to install ungrab-winmodem before installing the modem daemon because it is being used by another module. Maybe you can try it out. Here is where you can download the package:

http://phep2.technion.ac.il/linmodems/packages/smartlink/

I'm not sure if it will help, since you are obviously several steps ahead of me. But perhaps it explains why you have to reinstall every time.

--------------------

I couldn't find kernel-devel-2.6.15-1.2054_FC5.i686.rpm at the time, so I updated my kernel to 2.6.17-1.2154 and installed the corresponding kernel-devel. That didn't work. Maybe I'll drop back to the original kernel and try all over again.

Thanks for the info Saketram!

Saketram
25th August 2006, 08:51 PM
My Fedora got troubled working recently, so finally I had to remove it and install again. Then after installion, for making my SLMODEM to work, I just installed "kernel-devel-2.6.15-1.2054_FC5.i686.rpm", compiled the Modem driver successfully (make), installed the Modem drivers (make install), probed the modem (modprobe slamr => no result), started slmodem driver (slmodemd --country=INDIA /dev/slamr &), it is working now.

Good Luck!!!