Antonio scanModem USA kernel 2.6.29.4-162.fc11.x86_64

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

 



Martian Modem does run on x86_64, but apparently it is not working.
Any advice as to how to proceed?

Running Fedora 11, and trying out modem to check to see if it will
work and get ready for Fedora 11 release, I am getting weird output :(

[root@gray ~]# uname -r
2.6.29.4-162.fc11.x86_64


[root@gray ~]# martian_modem
martian: info: smp: configuring
martian: warning: smp: no processors availablemartian: info: Your port
is /dev/ttySM0
martian: info: session: Started Wed May 27 18:09:12 2009



[root@gray ~]# wvdialconf /etc/wvdial.conf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S1   S2   S3
WvModem<*1>: Cannot get information for serial port.
ttySM0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttySM0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttySM0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.


Sorry, no modem was detected!  Is it in use by another program?
Did you configure it properly with setserial?

Please read the FAQ at http://open.nit.ca/wiki/?WvDial

If you still have problems, send mail to <wvdial-list@xxxxxxxxxxxx>.

martian loaded - 20080620
martian 0000:01:07.0: PCI INT A -> Link[APC2] -> GSI 17 (level, low) -> IRQ 17
IRQ 17/164x: IRQF_DISABLED is not guaranteed on shared IRQs
martian: added device 11c1:44c BaseAddress = 0xb400, CommAddres =
0xb000, irq = 17
martian: smp ioctls are obsolete
ioctl32(martian_modem:6253): Unknown cmd fd(3)
cmd(40045305){t:'S';sz:4} arg(ffffffff) on /proc/driver/mars/0
martian_modem is attached.


[olivares@gray martian-full-20080625]$ make clean
make -C kmodule/ clean
make[1]: Entering directory
`/home/olivares/Download/martian-full-20080625/kmodule'
make -C /lib/modules/2.6.29.4-162.fc11.x86_64/build
M="/home/olivares/Download/martian-full-20080625/kmodule" clean
make[2]: Entering directory `/usr/src/kernels/2.6.29.4-162.fc11.x86_64'
  CLEAN   /home/olivares/Download/martian-full-20080625/kmodule/.tmp_versions
  CLEAN   /home/olivares/Download/martian-full-20080625/kmodule/Module.symvers
make[2]: Leaving directory `/usr/src/kernels/2.6.29.4-162.fc11.x86_64'
make[1]: Leaving directory
`/home/olivares/Download/martian-full-20080625/kmodule'
make -C modem/ clean
make[1]: Entering directory
`/home/olivares/Download/martian-full-20080625/modem'
    RM  OBJS
    RM  BINS
    RM  TOOLS
make[1]: Leaving directory `/home/olivares/Download/martian-full-20080625/modem'
[olivares@gray martian-full-20080625]$ make -C kmodule/ module
make: Entering directory `/home/olivares/Download/martian-full-20080625/kmodule'
make: *** No rule to make target `module'.  Stop.
make: Leaving directory `/home/olivares/Download/martian-full-20080625/kmodule'
[olivares@gray martian-full-20080625]$ make -C kmodule/ modules
make: Entering directory `/home/olivares/Download/martian-full-20080625/kmodule'
make -C /lib/modules/2.6.29.4-162.fc11.x86_64/build
M="/home/olivares/Download/martian-full-20080625/kmodule"  modules
make[1]: Entering directory `/usr/src/kernels/2.6.29.4-162.fc11.x86_64'
  CC [M]  /home/olivares/Download/martian-full-20080625/kmodule/martian.o
/home/olivares/Download/martian-full-20080625/kmodule/martian.c: In
function ‘martian_isr’:
/home/olivares/Download/martian-full-20080625/kmodule/martian.c:131:
warning: value computed is not used
  CC [M]  /home/olivares/Download/martian-full-20080625/kmodule/marsio.o
/home/olivares/Download/martian-full-20080625/kmodule/marsio.c:358:
warning: ‘mars_read_register_rem’ defined but not used
/home/olivares/Download/martian-full-20080625/kmodule/marsio.c:371:
warning: ‘mars_write_register_rem’ defined but not used
  CC [M]  /home/olivares/Download/martian-full-20080625/kmodule/mfifo.o
  LD [M]  /home/olivares/Download/martian-full-20080625/kmodule/martian_dev.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/olivares/Download/martian-full-20080625/kmodule/martian_dev.mod.o
  LD [M]  /home/olivares/Download/martian-full-20080625/kmodule/martian_dev.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.29.4-162.fc11.x86_64'
make: Leaving directory `/home/olivares/Download/martian-full-20080625/kmodule'
[olivares@gray martian-full-20080625]$ su -c 'make -C kmodule/ install'
Password:
make: Entering directory `/home/olivares/Download/martian-full-20080625/kmodule'
make -C /lib/modules/2.6.29.4-162.fc11.x86_64/build
M="/home/olivares/Download/martian-full-20080625/kmodule"
modules_install
make[1]: Entering directory `/usr/src/kernels/2.6.29.4-162.fc11.x86_64'
  INSTALL /home/olivares/Download/martian-full-20080625/kmodule/martian_dev.ko
  DEPMOD  2.6.29.4-162.fc11.x86_64
make[1]: Leaving directory `/usr/src/kernels/2.6.29.4-162.fc11.x86_64'
if ! /sbin/modprobe -nq martian_dev ; then /sbin/depmod -a; fi
make: Leaving directory `/home/olivares/Download/martian-full-20080625/kmodule'
[olivares@gray martian-full-20080625]$ su -
Password:
[root@gray ~]# modprobe martian_dev
[root@gray ~]# martian_modem
martian: info: smp: configuring
martian: warning: smp: no processors availablemartian: info: Your port
is /dev/ttySM0



[root@gray ~]# wvdialconf /etc/wvdial.conf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S1   S2   S3
WvModem<*1>: Cannot get information for serial port.
ttySM0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttySM0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttySM0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.


Sorry, no modem was detected!  Is it in use by another program?
Did you configure it properly with setserial?

Please read the FAQ at http://open.nit.ca/wiki/?WvDial

If you still have problems, send mail to <wvdial-list@xxxxxxxxxxxx>.
[root@gray ~]#


Tried both ways advice from INSTALL file

x86_64 platform.
----------------

martian_modem is a 32-bit application. It can be built on x86_64 the
way prescribed, but you need 32-bit development environment for that.
Second option is to use binary built on i386.

To compile and install module only do
$ make -C kmodule/ modules
$ su
# make -C kmodule/ install


and straight out.  For the straight out route I had to install
glibc-devel package

Thanks for any help provided.

Regards,

Antonio
 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.29.4-162.fc11.x86_64 
 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=x86_64,  
Linux version 2.6.29.4-162.fc11.x86_64 (mockbuild@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.4.0 20090506 (Red Hat 4.4.0-4) (GCC) ) #1 SMP Mon May 25 16:51:30 EDT 2009
 scanModem update of:  2009_05_12


Some modem drivers can only be used in 32 bit modem on x86_64 systems,
while some others are competent on x86_64 Systems.  Cases are:
1) http://linmodems.technion.ac.il/bigarch/archive-seventh/msg03119.html 
for the snd-hda-intel audio+modem driver. Also applicable to AC97 modem controllers.
In both cases, 32 bit libraries must be installed to support the slmodemd helper having a precompiled 32 bit component.
2) For USB modems using the slusb.ko driver. 32 bit libraries must be installed to support the slmodemd helper having a precompiled 32 bit component
3) The hsfmodem and hcfpcimodem drivers for Conexant chipsest modes are x86_64 competent.

 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 01:07.0, firmware information and bootup diagnostics are:
 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 01:07.0	11c1:044c	11c1:044c	Communication controller: Agere Systems LT WinModem 

 Modem interrupt assignment and sharing: 
 --- Bootup diagnostics for card in PCI slot 01:07.0 ----
pci 0000:01:07.0: reg 10 32bit mmio: [0xfb000000-0xfb0000ff]
pci 0000:01:07.0: reg 14 io port: [0xb000-0xb007]
pci 0000:01:07.0: reg 18 io port: [0xb400-0xb4ff]
pci 0000:01:07.0: supports D2
pci 0000:01:07.0: PME# supported from D2 D3hot D3cold
pci 0000:01:07.0: PME# disabled

 The PCI slot 01:07.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 00:05.0, firmware information and bootup diagnostics are:
 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 00:05.0	10de:03f0	1458:a002	Audio device: nVidia Corporation MCP61 High Definition Audio 

 Modem interrupt assignment and sharing: 
 22:        485        976   IO-APIC-fasteoi   ohci_hcd:usb2, HDA Intel
 --- Bootup diagnostics for card in PCI slot 00:05.0 ----
pci 0000:00:05.0: reg 10 32bit mmio: [0xfb100000-0xfb103fff]
pci 0000:00:05.0: PME# supported from D3hot D3cold
pci 0000:00:05.0: PME# disabled
HDA Intel 0000:00:05.0: PCI INT B -> Link[AAZA] -> GSI 22 (level, low) -> IRQ 22
HDA Intel 0000:00:05.0: setting latency timer to 64

 The PCI slot 00:05.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.18
The modem cards detected by "aplay -l"  are: None


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

about /proc/asound/cards:
------------------------
 0 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfb100000 irq 22

 PCI slot 00:05.0 has a High Definition Audio Card
 The drivers are in the kernel modules tree at:
 /lib/modules/2.6.29.3-155.fc11.x86_64/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.29.1-111.fc11.x86_64/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.29.3-140.fc11.x86_64/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.29.2-126.fc11.x86_64/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.29.1-102.fc11.x86_64/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.29.4-162.fc11.x86_64/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 01:07.0:
	Modem chipset  detected on
NAME="Communication controller: Agere Systems LT WinModem "
CLASS=0780
PCIDEV=11c1:044c
SUBSYS=11c1:044c
IRQ=10
IDENT=Agere.DSP

 For candidate modem in:  01:07.0
   0780 Communication controller: Agere Systems LT WinModem 
      Primary device ID:  11c1:044c
 Support type needed or chipset:	Agere.DSP
 



Predictive  diagnostics for card in bus 00:05.0:
	Modem chipset not detected on
NAME="Audio device: nVidia Corporation MCP61 High Definition Audio "
CLASS=0403
PCIDEV=10de:03f0
SUBSYS=1458:a002
IRQ=22
HDA=10de:03f0
SOFT=10de:03f0.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 10de:03f0.
 If another modem card is present, then most likely 10de:03f0 does not host a modem.
 If another modem card has not been detected, then possibilities are:
	1) A Conexant modem chip is present on 10de:03f0, 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:  00:05.0
   0403 Audio device: nVidia Corporation MCP61 High Definition Audio 
      Primary device ID:  10de:03f0
    Subsystem PCI_id  1458:a002 
    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.4.tar.gz from:
	http://linmodems.technion.ac.il/packages/smartlink/

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

 Completed candidate modem analyses.

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

 Versions adequately match for the compiler installed: 4.4.0
             and the compiler used in kernel assembly: 4.4.0


 
 Minimal compiling resources appear complete:
   make utility - /usr/bin/make
   Compiler version 4.4
   linuc_headers base folder /lib/modules/2.6.29.4-162.fc11.x86_64/build

 However some compilations and executable functions may need additional files,
 in the FileNames.h (so called kernel "h"eaders) collection installed in  /usr/include/ .
 For martian_modem, additional required packages are needed. The also required headers of package libc6 are commonly installed by default. 
 Compiling hsfmodem drivers does require linux-libc-dev and libc6-dev packages, for kernels 2.6.24 and later versions.
 In not included on your install CD, search for them at http://packages.ubuntu.com
 or comparable Repository for other Linux distros.
 When compiling ALSA drivers, the utility "patch" will also be needed.




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:
	-r-xr-xr-x. 1 root root 352328 2009-03-06 01:47 /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
lock

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

Read Modem/DOCs/YourSystem.txt concerning other COMM channels: eth0
Which can interfere with Browser naviagation.

 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:

     Within /etc/modprobe.conf files:

     Within any ancient /etc/devfs files:

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

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


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

  Powered by Linux