Nitin Niroula, Nepal, kernel 2.6.27-1-mepis-smp

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

 



Hi,

I need your help in getting my internal modem work with this Linux
distro. I have attached ModemData and output of commands of compiling
drivers.
 Only plain text email is forwarded by the  Discuss@xxxxxxxxxxxxx List Server,
 as HTML can contain viruses. Use as the email Subject Line:
           YourName, YourCountry  kernel 2.6.27-1-mepis-smp 
 With this Subject Line cogent experts will be alerted, and useful case names left in the Archive.
 YourCountry will enable Country specific guidance. Linux experts in YourCountry 
 can be found through: http://www.linux.org/groups/index.html.
They will know your Country's modem code, which may be essential for dialup service.
Responses from Discuss@xxxxxxxxxxxxx are sometimes blocked by an Internet Provider mail filters.
 So in a day, also check the Archived responses at http://www.linmodems.org 
--------------------------  System information ----------------------------
CPU=i686,  
Linux version 2.6.27-1-mepis-smp (MEPIS 2.6.27-18mepis1) (dev@xxxxxxxxx) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP PREEMPT Wed Feb 18 09:36:41 EST 2009
 scanModem update of:  2009_05_12

 There are no blacklisted modem drivers in /etc/modprobe*  files 
 Potentially useful modem drivers now loaded are:
         snd_hda_intel       

If a USB modem or cellphone is attached and was not detected, please
provide available information in your request to discuss@xxxxxxxxxxxxx

For candidate card in slot 05:03.0, firmware information and bootup diagnostics are:
 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 05:03.0	1057:3052	1057:3020	Modem: Motorola SM56 Data Fax Modem 

 Modem interrupt assignment and sharing: 
 --- Bootup diagnostics for card in PCI slot 05:03.0 ----
PCI: 0000:05:03.0 reg 10 32bit mmio: [feaff000, feafffff]
PCI: 0000:05:03.0 reg 14 io port: [c800, c8ff]
pci 0000:05:03.0: PME# supported from D0 D3hot D3cold
pci 0000:05:03.0: PME# disabled
serial 0000:05:03.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
0000:05:03.0: ttyS1 at I/O 0xc808 (irq = 16) is a 16450
0000:05:03.0: ttyS2 at I/O 0xc810 (irq = 16) is a 8250
0000:05:03.0: ttyS3 at I/O 0xc818 (irq = 16) is a 16450
Couldn't register serial port 0000:05:03.0: -28

 The PCI slot 05:03.0 of the modem card may be disabled early in 
 a bootup process,  but then enabled later. If modem drivers load 
 but the  modem is not responsive, read DOCs/Bootup.txt about possible fixes.
 Send dmesg.txt along with ModemData.txt to discuss@xxxxxxxxxxxxx
 if help is needed.
 

For candidate card in slot 04:01.0, firmware information and bootup diagnostics are:
 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 04:01.0	1106:3288	1019:2171	Audio device: VIA Technologies, Inc. VT1708/A [Azalia HDAC] 

 Modem interrupt assignment and sharing: 
 17:       7363   IO-APIC-fasteoi   HDA Intel
 --- Bootup diagnostics for card in PCI slot 04:01.0 ----
PCI: 0000:04:01.0 reg 10 64bit mmio: [fe9fc000, fe9fffff]
pci 0000:04:01.0: PME# supported from D0 D3hot D3cold
pci 0000:04:01.0: PME# disabled
HDA Intel 0000:04:01.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
HDA Intel 0000:04:01.0: setting latency timer to 64
HDA Intel 0000:04:01.0: PCI: Disallowing DAC for device

 The PCI slot 04:01.0 of the modem card may be disabled early in 
 a bootup process,  but then enabled later. If modem drivers load 
 but the  modem is not responsive, read DOCs/Bootup.txt about possible fixes.
 Send dmesg.txt along with ModemData.txt to discuss@xxxxxxxxxxxxx
 if help is needed.
 


===== Advanced Linux Sound Architecture (ALSA) diagnostics ===== 
The ALSA packages provide audio support and also drivers for some modems.
ALSA diagnostics are written during bootup to /proc/asound/ folders.

The ALSA verion is 1.0.17
The modem cards detected by "aplay -l"  are: None


The /proc/asound/pcm file reports:
-----------------------
00-01: ALC660-VD Digital : ALC660-VD Digital : playback 1
00-00: ALC660-VD Analog : ALC660-VD Analog : playback 1 : capture 1

about /proc/asound/cards:
------------------------
 0 [VT82xx         ]: HDA-Intel - HDA VIA VT82xx
                      HDA VIA VT82xx at 0xfe9fc000 irq 17

 PCI slot 04:01.0 has a High Definition Audio Card
 The drivers are in the kernel modules tree at:
 /lib/modules/2.6.27-1-mepis-smp/kernel/sound/pci/hda/snd-hda-intel.ko
UNEXPECTED HDA diagnostic outcome.
=== Finished firmware and bootup diagnostics, next deducing cogent software. ===

Predictive  diagnostics for card in bus 05:03.0:
	Modem chipset  detected on
NAME="Modem: Motorola SM56 Data Fax Modem "
CLASS=0703
PCIDEV=1057:3052
SUBSYS=1057:3020
IRQ=16
IDENT=slamr

 For candidate modem in:  05:03.0
   0703 Modem: Motorola SM56 Data Fax Modem 
      Primary device ID:  1057:3052
 Support type needed or chipset:	slamr
 


 1057:3052 has a Motorola chipset, poorly supported by Motorola itself
 However Zello discovered that drivers written to support Smartlink  modems do support the 1057:3052 chipset!!
 It sufficed to add 1057:3052 to the list of modem cards recognized by the Smartlink slamr driver.
 There is a ungrab-winmodem driver used in conjunction with slamr, which must have 1057:3052
 similarly added. See messages from Zello:
 	http://linmodems.technion.ac.il/bigarch/archive-seventh/msg00846.html
 	http://linmodems.technion.ac.il/bigarch/archive-seventh/msg00848.html
 and Alvaro Aguirre about the ungrab-winmodem fix:
	http://linmodems.technion.ac.il/bigarch/archive-seventh/msg00990.html
 For general guidance on ungrab-winmodem + slamr usage, read the DOCs/Smartlink.txt

The modem is supported by the Smartlink 
plus the slmodemd helper utility.  Read the
DOCs/Smartlink.txt and Modem/DOCs/YourSystem.txt for follow through guidance.


For 2.6.27-1-mepis-smp compiling drivers is necessary. As of October 2007 the current packages at
http://linmodems.technion.ac.il/packages/smartlink/  are the
ungrab-winmodem-20070505.tar.gz and slmodem-2.9.11-20080126.tar.gz

Writing DOCs/Smartlink.txt
============ end Smartlink section =====================


Predictive  diagnostics for card in bus 04:01.0:
	Modem chipset not detected on
NAME="Audio device: VIA Technologies, Inc. VT1708/A [Azalia HDAC] "
CLASS=0403
PCIDEV=1106:3288
SUBSYS=1019:2171
IRQ=17
HDA=1106:3288
SOFT=1106:3288.HDA


 High Definition Audio (HDA) cards MAY host a modem chip in their Subsystem, 
 and many are supported by the ALSA audio+modem driver snd-hda-intel
 A modem was not detected on HDA card 1106:3288.
 If another modem card is present, then most likely 1106:3288 does not host a modem.
 If another modem card has not been detected, then possibilities are:
	1) A Conexant modem chip is present on 1106:3288, as Conexant chips
 are frequently not detectable by ALSA diagnostics
	2) The modem may be of the older non-PCI Controller Chipset (hardware) type.
Try detection with Root permission:
	 wvdialconf  /etc/wvdial.conf

 For candidate modem in:  04:01.0
   0403 Audio device: VIA Technologies, Inc. VT1708/A [Azalia HDAC] 
      Primary device ID:  1106:3288
    Subsystem PCI_id  1019:2171 
    Softmodem codec or chipset from diagnostics: 
                               from    Archives: 
                        
      

Support type needed or chipset:	

Support can likely be achieved through two mutually exclusive alternatives:
1) The hsfmodem software for Conexant chipset modems: Read DOCs/Conexant.txt
The following ALSA alternative CANNOT work with Conexant modems.

2) An ALSA modem driver plus slmodemd.  Read DOCs/Smartlink.txt for details, and
to test get the package SLMODEMD.gcc4.1.tar.gz from:
	http://linmodems.technion.ac.il/packages/smartlink/


 Completed candidate modem analyses.

 The base of the UDEV device file system is: /dev/.udev

 The kernel was compiled with gcc version 4.1.3 and a compiler is not installed

 linux-headers-2.6.27-1-mepis-smp resources needed for compiling are not manifestly ready!

 If compiling is necessary packages must be installed, providing:
	gcc-4.1  linux-headers-2.6.27-1-mepis-smp

For Debian and some related distributions, a package kernel-kbuild-2.6-27 may be needed to support driver compiling.


If a driver compilation fails, with message including some lack of some FileName.h (stdio.h for example), then
Some additional kernel-header files need installation to /usr/include. The minimal additional packages are libc6-dev
and any of its dependents, under Ubuntu linux-libc-dev

If an alternate ethernet connection is available,
$  apt-get update
$  apt-get -s install linux-kernel-devel
will install needed packages.
For Debian/Ubuntu related distributions, run the following command to display the needed package list:

Otherwise packages have to be found through http://packages.ubuntu.com
Once downloaded and transferred into a Linux partition,
they can be installed alltogether with:
$ sudo dpkg -i *.deb


Checking pppd properties:
	-rwsr-xr-- 1 root dip 269156 2008-11-28 12:48 /usr/sbin/pppd

In case of an "error 17" "serial loopback" problem, see:
    http://linmodems.technion.ac.il/linmodems/archive-sixth/msg02637.html

To enable dialout without Root permission do:
	$ su - root  (not for Ubuntu)
         chmod a+x /usr/sbin/pppd
or under Ubuntu related Linuxes
	 chmod a+x /usr/sbin/pppd

Checking settings of:	/etc/ppp/options
asyncmap 0
auth
crtscts
lock
hide-password
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx

In case of a message like:
   Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
see http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html


 Don't worry about the following, it is for experts should trouble shooting be necessary.
==========================================================

 Checking for modem support lines:
 --------------------------------------
     /device/modem symbolic link:   
slmodemd created symbolic link /dev/ttySL0:  
     Within /etc/udev/ files:
/etc/udev/mepis-network.rules:# modems
/etc/udev/mepis-network.rules:KERNEL=="ttyLTM0", SYMLINK="modem"
/etc/udev/mepis-network.rules:KERNEL=="536ep0", SYMLINK="modem"
/etc/udev/rules.d/80-drivers.rules:SUBSYSTEM=="atm",				RUN+="dsl-modem.agent"
/etc/udev/rules.d/010_mepis-network.rules:# modems
/etc/udev/rules.d/010_mepis-network.rules:KERNEL=="ttyLTM0", SYMLINK="modem"
/etc/udev/rules.d/010_mepis-network.rules:KERNEL=="536ep0", SYMLINK="modem"
     Within /etc/modprobe.conf files:
/etc/modprobe.d/alsa-base:options snd-atiixp-modem index=-2
/etc/modprobe.d/alsa-base:options snd-via82xx-modem index=-2
/etc/modprobe.d/alsa-base-blacklist:# Uncomment these entries in order to blacklist unwanted modem drivers
/etc/modprobe.d/alsa-base-blacklist:# blacklist snd-atiixp-modem
/etc/modprobe.d/alsa-base-blacklist:# blacklist snd-via82xx-modem
     Within any ancient /etc/devfs files:

     Within ancient kernel 2.4.n /etc/module.conf files:

--------- end modem support lines --------

 For Debian users, the linux-headers-2.6.27-1-mepis-smp.deb can be used instead of kernel-source/

 nitin@mepis1:~$ cd un*
nitin@mepis1:~/ungrab-winmodem-20070505$ su
Password:
root@mepis1:/home/nitin/ungrab-winmodem-20070505# make clean
rm -f *.o *.ko *.mod.* .*.cmd *~
rm -f -r .tmp_versions
root@mepis1:/home/nitin/ungrab-winmodem-20070505# make all
make modules -C /lib/modules/2.6.27-1-mepis-smp/build SUBDIRS=/home/nitin/ungrab-winmodem-20070505
make: *** /lib/modules/2.6.27-1-mepis-smp/build: No such file or directory.  Stop.
make: *** [all] Error 2
root@mepis1:/home/nitin/ungrab-winmodem-20070505# make install
make modules -C /lib/modules/2.6.27-1-mepis-smp/build SUBDIRS=/home/nitin/ungrab-winmodem-20070505
make: *** /lib/modules/2.6.27-1-mepis-smp/build: No such file or directory.  Stop.
make: *** [all] Error 2
root@mepis1:/home/nitin/ungrab-winmodem-20070505# cd ../slmo*
root@mepis1:/home/nitin/slmodem-2.9.11-20080126# ls
Changes  COPYING  drivers  Makefile  modem  patches  README  scripts  slamr_compile.txt  Smartlink.txt  updates.txt
root@mepis1:/home/nitin/slmodem-2.9.11-20080126# make clean
make -C modem clean &&  make -C drivers clean &&  echo "done."
make[1]: Entering directory `/home/nitin/slmodem-2.9.11-20080126/modem'
rm -f slmodemd modem_test modem_main.o modem_cmdline.o modem_test.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 sysdep_common.o
rm -f *~ *.orig *.rej
make[1]: Leaving directory `/home/nitin/slmodem-2.9.11-20080126/modem'
make[1]: Entering directory `/home/nitin/slmodem-2.9.11-20080126/drivers'
rm -f kernel-ver slamr.o slusb.o slamr.ko slusb.ko *st7554.o amrmo_init.o sysdep_amr.o *.mod.* .*.cmd *~
rm -f -r .tmp_versions
make[1]: Leaving directory `/home/nitin/slmodem-2.9.11-20080126/drivers'
done.
root@mepis1:/home/nitin/slmodem-2.9.11-20080126# make all
make -C modem all
make[1]: Entering directory `/home/nitin/slmodem-2.9.11-20080126/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 `/home/nitin/slmodem-2.9.11-20080126/modem'
make -C drivers KERNEL_DIR=/lib/modules/2.6.27-1-mepis-smp/build
make[1]: Entering directory `/home/nitin/slmodem-2.9.11-20080126/drivers'
cc -I/lib/modules/2.6.27-1-mepis-smp/build/include -o kernel-ver kernel-ver.c
kernel-ver.c:9:30: error: linux/utsrelease.h: No such file or directory
kernel-ver.c: In function 'main':
kernel-ver.c:14: error: 'UTS_RELEASE' undeclared (first use in this function)
kernel-ver.c:14: error: (Each undeclared identifier is reported only once
kernel-ver.c:14: error: for each function it appears in.)
make[1]: *** [kernel-ver] Error 1
make[1]: Leaving directory `/home/nitin/slmodem-2.9.11-20080126/drivers'
make: *** [drivers] Error 2
root@mepis1:/home/nitin/slmodem-2.9.11-20080126# make install
make -C modem all
make[1]: Entering directory `/home/nitin/slmodem-2.9.11-20080126/modem'
make[1]: Leaving directory `/home/nitin/slmodem-2.9.11-20080126/modem'
make -C drivers KERNEL_DIR=/lib/modules/2.6.27-1-mepis-smp/build
make[1]: Entering directory `/home/nitin/slmodem-2.9.11-20080126/drivers'
cc -I/lib/modules/2.6.27-1-mepis-smp/build/include -o kernel-ver kernel-ver.c
kernel-ver.c:9:30: error: linux/utsrelease.h: No such file or directory
kernel-ver.c: In function 'main':
kernel-ver.c:14: error: 'UTS_RELEASE' undeclared (first use in this function)
kernel-ver.c:14: error: (Each undeclared identifier is reported only once
kernel-ver.c:14: error: for each function it appears in.)
make[1]: *** [kernel-ver] Error 1
make[1]: Leaving directory `/home/nitin/slmodem-2.9.11-20080126/drivers'
make: *** [drivers] Error 2
root@mepis1:/home/nitin/slmodem-2.9.11-20080126# modprobe ungrab-winmodem
FATAL: Module ungrab_winmodem not found.
root@mepis1:/home/nitin/slmodem-2.9.11-20080126# modprobe slamr
FATAL: Module slamr not found.
root@mepis1:/home/nitin/slmodem-2.9.11-20080126# slmodemd -c USA /dev/slamr0
bash: slmodemd: command not found
root@mepis1:/home/nitin/slmodem-2.9.11-20080126#                

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

  Powered by Linux