Posts: 20
burak
Joined: 21 Aug 2014
#1
Hi,

Today I ınstalled AntiX using cli installer to my Toshiba portege 3490.
Currently I have no desktop X installed just using the bash.
I want to use Hlyafax with my the modem integrated.
It has Lucent/Agere Winmodem.
DSL linux 4.4.10 can see the modem directly I tested it is working...
I am trying to install the modem but I am not too experienced.
I used the instructions in this site.

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://wiki.debian.org/martian_dev"
linktext was:"https://wiki.debian.org/martian_dev"
====================================


However, even I installed all the packages, martian complains about kernel and does not find the modem... __{{emoticon}}__

Burak
Last edited by burak on 04 Sep 2014, 08:33, edited 1 time in total.
Posts: 850
fatmac
Joined: 26 Jul 2012
#2
Did you restart your system(?). Usually necessary when you install firmware, it should get picked up and run on reboot.
I used to have a Lucent/Agere Winmodem, and it used 'ltmodem' module, maybe try that if you have no success with 'martian'.
Posts: 20
burak
Joined: 21 Aug 2014
#3
I did restart , however, martian can not find the modem.
The thing is I am getting following errors;

martian_modem

martian: error: open: No such file or directory
martian: info: kernel part is not loaded i.e.
martian: info: modprobe martian_dev
----------------------------------
modprobe martian_dev

FATAL: Module martian_dev not found.
-----------------------------------------
I had tried slax 6.1.2 using several modem lzm modules, martian also said first errors. However when I run modprobe martian_dev, the slax found the modem. However in this case , antix does not find it.

I have tried slmodem package.
Used module-assistant a-i slmodem and invoke-rc.d sl-modem-daemon start
however it did not work.
Later I tried just running module-assistant, within the text menus, I saw slmodem package, tried to get , build , install, it does not seem to work.

Here is what I tried
=======================
Starting the Dialog UI...
The source tarball could not be found!
Package sl-modem-source not installed?
Running"m-a -f get sl-modem-source" may help.
find: `/usr/src/modules/sl*': No such file or directory
-----------------------------------
m-a -f get sl-modem-source
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 42 not upgraded.
Need to get 0 B/18.1 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 41446 files and directories currently installed.)
Preparing to replace sl-modem-source 2.9.11~20110321-8+deb7u1 (using .../sl-modem-source_2.9.11~20110321-8+deb7u1_all.deb) ...
Unpacking replacement sl-modem-source ...
Setting up sl-modem-source (2.9.11~20110321-8+deb7u1) ...
------------------------------------
m-a -f build sl-modem-source
The source tarball could not be found!
Package sl-modem-source not installed?
Running"m-a -f get sl-modem-source" may help.
find: `/usr/src/modules/sl*': No such file or directory
-----------------------------------------
I keeps saying there is no source to build from.
I also tried following
module-assistant a-i sl-modem

Updated infos about 1 packages
Getting source for kernel version: 3.7.10-gnu-antix.3-486-smp
Kernel headers available in /usr/src/linux
Creating symlink...
Couldn't create the /usr/src/linux symlink!
apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 42 not upgraded.

Done!
unpack
The source tarball could not be found!
Package sl-modem-source not installed?
Running"m-a -f get sl-modem-source" may help.
"/usr/share/modass/packages/default.sh" build KVERS=3.7.10-gnu-antix.3-486-smp KSRC=/usr/src/linux-headers-3.7.10-gnu-antix.3-486-smp KDREV=3.7.10-gnu-antix.3-486-smp-1 kdist_image
find: `/usr/src/modules/sl*': No such file or directory
========================

Also tried using slmodem instead of sl-modem, here is the output.

module-assistant a-i slmodem

Updated infos about 1 packages
Getting source for kernel version: 3.7.10-gnu-antix.3-486-smp
Kernel headers available in /usr/src/linux-headers-3.7.10-gnu-antix.3-486-smp
Creating symlink...
apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 42 not upgraded.

Done!
download
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'sl-modem-daemon' instead of 'slmodem'
sl-modem-daemon is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 42 not upgraded.

Updated infos about 1 packages
unpack
The source tarball could not be found!
Package slmodem not installed?
Running"m-a -f get slmodem" may help.
"/usr/share/modass/packages/default.sh" build KVERS=3.7.10-gnu-antix.3-486-smp KSRC=/usr/src/linux KDREV=3.7.10-gnu-antix.3-486-smp-1 kdist_image
find: `/usr/src/modules/slmodem*': No such file or directory
-------------------------------------------------------------------------------------
m-a -f get slmodem

Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'sl-modem-daemon' instead of 'slmodem'
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 42 not upgraded.
Need to get 0 B/526 kB of archives.
After this operation, 0 B of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 41446 files and directories currently installed.)
Preparing to replace sl-modem-daemon 2.9.11~20110321-8+deb7u1 (using .../sl-modem-daemon_2.9.11~20110321-8+deb7u1_i386.deb) ...
Shutting down SmartLink Modem driver normally ... no slmodemd daemon running.
Unloading modem driver from kernel ... slamr.
Unpacking replacement sl-modem-daemon ...
Processing triggers for man-db ...
Setting up sl-modem-daemon (2.9.11~20110321-8+deb7u1) ...
Allowing use of questionable username.
The system user `Slmodemd' already exists. Exiting.
Starting SmartLink Modem driver for: slamr0.
Creating /dev/modem symlink, pointing to: /dev/ttySL0.

Updated infos about 1 packages
-----------------------------------------------------------
module-assistant a-i slmodem

Updated infos about 1 packages
Getting source for kernel version: 3.7.10-gnu-antix.3-486-smp
Kernel headers available in /usr/src/linux
Creating symlink...
Couldn't create the /usr/src/linux symlink!
apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 42 not upgraded.

Done!
download
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'sl-modem-daemon' instead of 'slmodem'
sl-modem-daemon is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 42 not upgraded.

Updated infos about 1 packages
unpack
The source tarball could not be found!
Package slmodem not installed?
Running"m-a -f get slmodem" may help.
"/usr/share/modass/packages/default.sh" build KVERS=3.7.10-gnu-antix.3-486-smp KSRC=/usr/src/linux-headers-3.7.10-gnu-antix.3-486-smp KDREV=3.7.10-gnu-antix.3-486-smp-1 kdist_image
find: `/usr/src/modules/slmodem*': No such file or directory

===============================================
There is no ltmodem in the moduleassistant, keeps saying what is ltmodem in the output.

Here is the device:
lspci -nn outpu

00:02.0 Communication controller [0780]: LSI Corporation 56k WinModem [11c1:0441] (rev 01)
================================================

I just want to get the modem to run so I use it with Hylafax, I just try and try , but can not get it.
How DSL linux can do it and antix can fail using martian modem drivers ???

Please help,
Thanks for reading.
Burak
Posts: 20
burak
Joined: 21 Aug 2014
#4
Hi,

Now I can see following in dmesg and messages.

slamr: module license 'Smart Link Ltd.' taints kernel.
[ 22.942436] slamr: SmartLink AMRMO modem.
[ 1065.181280] slamr: SmartLink AMRMO modem.

Still modem nowhere to be found.

Also I tried to modprobe it...

modprobe -vvv slamr
libkmod: DEBUG ../libkmod/libkmod-module.c:519 kmod_module_new_from_lookup: input alias=slamr, normalized=slamr
libkmod: DEBUG ../libkmod/libkmod-module.c:525 kmod_module_new_from_lookup: lookup modules.dep slamr
libkmod: DEBUG ../libkmod/libkmod.c:542 kmod_search_moddep: use mmaped index 'modules.dep' modname=slamr
libkmod: DEBUG ../libkmod/libkmod.c:390 kmod_pool_get_module: get module name='slamr' found=(nil)
libkmod: DEBUG ../libkmod/libkmod.c:398 kmod_pool_add_module: add 0xb91d02f8 key='slamr'
libkmod: DEBUG ../libkmod/libkmod-module.c:184 kmod_module_parse_depline: 0 dependencies for slamr
libkmod: DEBUG ../libkmod/libkmod-module.c:546 kmod_module_new_from_lookup: lookup slamr=0, list=0xb91d0180
libkmod: DEBUG ../libkmod/libkmod-module.c:435 kmod_module_unref: kmod_module 0xb91d02f8 released
libkmod: DEBUG ../libkmod/libkmod.c:406 kmod_pool_del_module: del 0xb91d02f8 key='slamr'
libkmod: INFO ../libkmod/libkmod.c:319 kmod_unref: context 0xb91d0110 released
---------------------------------------------------------------------------------
When I run the command slmodemd I get following,

error: mdm setup: cannot open dev `/dev/slamr0': No such device
error: cannot setup device `/dev/slamr0'
-------------------------------------------------
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#5
It is probably because you are using the libre kernel (3.7.10-gnu-antix.3-486-smp-1)
Posts: 20
burak
Joined: 21 Aug 2014
#6
Well I used the small iso since the laptop has 128 mb ram.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://sourceforge.net/projects/antix-linux/files/Final/antiX-13.1/antiX-13.1_386-core-libre.iso/download"
linktext was:"http://sourceforge.net/projects/antix-l ... o/download"
====================================


What should I do?

Can I change the kernel? Or should I install from scratch using bigger iso?

If I can just change the kernel and it will solve it, how can I do that?

Thanks for helping,
Burak
Posts: 667
jdmeaux1952
Joined: 01 Nov 2013
#7
burak wrote:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://sourceforge.net/projects/antix-linux/files/Final/antiX-13.1/antiX-13.1_386-core-libre.iso/download"
linktext was:"http://sourceforge.net/projects/antix-l ... o/download"
====================================


...Can I change the kernel? Or should I install from scratch using bigger iso?

If I can just change the kernel and it will solve it, how can I do that?

Thanks for helping,
Burak
Even with the 128 Mb of memory, you should be about to load antiX 13,1-full. Here's the link:


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://sourceforge.net/projects/antix-linux/files/Final/antiX-13.1/antiX-13.1_386-full.iso/download"
linktext was:"http://sourceforge.net/projects/antix-l ... o/download"
====================================


Just burn it to a cd and run it. It will be slow but it will load up.
Posts: 20
burak
Joined: 21 Aug 2014
#8
Will the base iso file be sufficient for the modem? Does it include the kernel and drivers for the modem?

The problem is the old laptop does not see the usb cdrom.
Therefore, I have 3 partitions. 1st one is fat32, 2nd one is ext2 , 3rd one is swap.

I boot to dos, use ldlin to boot the vmlinuz and initrd.gz files, then the rest is being booted from the usb flash.
It works however, including antiX most of the distos I tried can not come with the X. No matter how hard I tried.
Either it is loading from dos or there is something weird with this laptops graphics card.
Therefore my only option is using the console.

I am tyring the antiX-13.1_386-base.iso now. I can boot but when it goes to X , I got blank screen and it is like frozen.
Is there any cheat codes I can give at the ldlin command (to kernel) to prevent loading of X ?

Is it ok to use cli-installer ? As long as it installs correct kernel , and sees the modem , it will be ok for me.

Thanks,
Burak
Posts: 765
rust collector
Joined: 27 Dec 2011
#9
I am pretty sure you can install a non libre kernel, and kernel headers on the core version...
Posts: 20
burak
Joined: 21 Aug 2014
#10
Well , I do not know how to do it?

Any commands you can suggest ?
Posts: 20
burak
Joined: 21 Aug 2014
#11
Well I could get to command line by using syslinux as the bootloader for fat partition.
Now I can directly boot the vmlinuz and initrd.gz for the base.
It seems when booting from syslinux, I can ctrl+alt+f1 and get back to prompt.

I will use cli-installer and do it from scratch, I hope base kernel will solve this mess.
Posts: 765
rust collector
Joined: 27 Dec 2011
#12
You can type:

Code: Select all

apt-cache search linux-image
To see what kernels you can choose from

then:

Code: Select all

apt-get install kernelname_goes_here
Then run the same command again, but replace linux-image with linux-headers

update your bootloader, and reboot into the new kernel.
Posts: 20
burak
Joined: 21 Aug 2014
#13
Well, I had reinstalled antix from the base iso.

The thing is I have now following kernel.
-----------------------------------------------------------
ls /boot/ -c1

grub
vmlinuz-3.7.10-antix.3-486-smp
initrd.img-3.7.10-antix.3-486-smp
memtest86+.bin
memtest86+_multiboot.bin
config-3.7.10-antix.3-486-smp
extlinux
System.map-3.7.10-antix.3-486-smp
-----------------------------------------------------------------
When I do"apt-cache search linux-image" , I see following output
The thing is all offered ones are older except the one in the last line.

linux-image-3.7.10-antix.3-486-smp - Linux kernel, version 3.7.10-antix.3-486-smp

However, I guess linux-image-3.7.10-antix.3-486-smp is already installed as vmlinuz-3.7.10-antix.3-486-smp.
Am I wrong?
--------------------------------------------------------------------
alsa-base - ALSA driver configuration files
linux-headers-3.2.0-4-486 - Header files for Linux 3.2.0-4-486
linux-headers-3.2.0-4-686-pae - Header files for Linux 3.2.0-4-686-pae
linux-headers-3.2.0-4-amd64 - Header files for Linux 3.2.0-4-amd64
linux-headers-3.2.0-4-rt-686-pae - Header files for Linux 3.2.0-4-rt-686-pae
linux-image-3.2.0-4-486 - Linux 3.2 for older PCs
linux-image-3.2.0-4-686-pae - Linux 3.2 for modern PCs
linux-image-3.2.0-4-686-pae-dbg - Debugging symbols for Linux 3.2.0-4-686-pae
linux-image-3.2.0-4-amd64 - Linux 3.2 for 64-bit PCs
linux-image-3.2.0-4-rt-686-pae - Linux 3.2 for modern PCs, PREEMPT_RT
linux-image-3.2.0-4-rt-686-pae-dbg - Debugging symbols for Linux 3.2.0-4-rt-686-pae
linux-image-2.6-486 - Linux for older PCs (dummy package)
linux-image-2.6-686 - Linux for modern PCs (dummy package)
linux-image-2.6-686-bigmem - Linux for PCs with 4GB+ RAM (dummy package)
linux-image-2.6-686-pae - Linux for modern PCs (dummy package)
linux-image-2.6-amd64 - Linux for 64-bit PCs (dummy package)
linux-image-486 - Linux for older PCs (meta-package)
linux-image-686 - Linux for modern PCs (dummy package)
linux-image-686-bigmem - Linux for PCs with 4GB+ RAM (dummy package)
linux-image-686-pae - Linux for modern PCs (meta-package)
linux-image-amd64 - Linux for 64-bit PCs (meta-package)
linux-image-rt-686-pae - Linux for modern PCs (meta-package), PREEMPT_RT
nvidia-kernel-3.2.0-4-486 - NVIDIA binary kernel module for Linux 3.2.0-4-486
nvidia-kernel-3.2.0-4-686-pae - NVIDIA binary kernel module for Linux 3.2.0-4-686-pae
nvidia-kernel-3.2.0-4-amd64 - NVIDIA binary kernel module for Linux 3.2.0-4-amd64
linux-image-3.7.10-antix.3-486-smp - Linux kernel, version 3.7.10-antix.3-486-smp
-------------------------------------------------------------------
I tried it install it anyway, result is :
==================================================
apt-get install linux-image-3.7.10-antix.3-486-smp

Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-image-3.7.10-antix.3-486-smp is already the newest version.
The following package was automatically installed and is no longer required:
libqt4-gui
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 90 not upgraded.
==================================================

Should I try older kernels?

I guess this is not about kernel as the cause of why the Antix does not see the modem...

I will try using the full iso , I hope it helps...

Burak
Posts: 155
caprea
Joined: 08 Jan 2014
#14
Did you do an

Code: Select all

apt-get update
before you used the command

Code: Select all

apt-cache search linux-image
?
Posts: 20
burak
Joined: 21 Aug 2014
#15
I am not sure , however I also used full iso and installed the 13.2 version.

Again using all commands about sl-modem and martian-modem and could not get the modem detected by Antix.
I guess there is an issue about martian_dev regarding Antix. It is always not found. I gave up in the end.

I got back to DSL linux which recognizes the modem but has problems with dpkg and apt-get complaining about broken packages and dependencies. I just can not get hylafax installed. I am so disappointed.

If there is any distro that can run in old hardware and can recognize the modem on boot and has hylafax-server installed or can be installed using apt-get yum rpm etc... I will definitely try...

Expecting any help...
Thanks.