Antonio, USA, kernel 2.6.27.7

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

 



Dear all,

On an old Pentium 3 machine, I had FreeBSD 7.0 installed and could not
access the internet.  I used Slax to connect with that machine. For a
while it ran great, but then it started rebooting on its own for no
apparent reason.  Now after a while, I decided to redo the machine.  I
tried several livecd's and none worked like Slax.  I tried Ubuntu, it
would fail and give me a [intramfs]. Fedora would give me a prompt to
enter some drivers, to make a long story short, I installed Slackware
and it does live up to the hype :), only problem is, I cannot make the
modem(martian work), it works with Slax, but not with Slackware.
There is an interference with martian_dev.ko being created at
/lib/modules/kerrnel 2.6.27.7-smp/extra/, instead of at
/lib/modules/kerrnel 2.6.27.7/extra/.  If there is anyone out there
with experience on how to deal with this issue, I would greatly
appreciate it!

Attached is ModemData.txt and what happens when I build the driver.

Regards,

Antonio

olivares@darkstar:~/Downloads$ tar -zxvf martian-full-20080625.tar.gz
martian-full-20080625/
martian-full-20080625/martian.h
martian-full-20080625/Makefile
martian-full-20080625/INSTALL
martian-full-20080625/Concept
martian-full-20080625/Makefile~
martian-full-20080625/Cleaning.txt
martian-full-20080625/README
martian-full-20080625/kmodule/
martian-full-20080625/kmodule/Makefile
martian-full-20080625/kmodule/marsio.h
martian-full-20080625/kmodule/kmartian.h
martian-full-20080625/kmodule/martian_ids.c
martian-full-20080625/kmodule/fifo.h
martian-full-20080625/kmodule/mfifo.h
martian-full-20080625/kmodule/martian.c
martian-full-20080625/kmodule/marsio.c
martian-full-20080625/kmodule/mfifo.c
martian-full-20080625/kmodule/mixspinlock.h
martian-full-20080625/scripts/
martian-full-20080625/scripts/martian
martian-full-20080625/scripts/remove_outdated.sh
martian-full-20080625/scripts/martian.in
martian-full-20080625/scripts/wv.conf
martian-full-20080625/scripts/automate.sh
martian-full-20080625/ChangeLog
martian-full-20080625/modem/
martian-full-20080625/modem/Makefile
martian-full-20080625/modem/tweakcore.sh
martian-full-20080625/modem/main.c
martian-full-20080625/modem/debug_script.in
martian-full-20080625/modem/ltmdmobj.o
martian-full-20080625/modem/watch.gdb
martian-full-20080625/modem/sysdep.h
martian-full-20080625/modem/watch3.gdb
martian-full-20080625/modem/dumpers.c
martian-full-20080625/modem/elf386tweakrelocs.c
martian-full-20080625/modem/log.h
martian-full-20080625/modem/core_if.c
martian-full-20080625/modem/coreadd.c
martian-full-20080625/modem/mport.h
martian-full-20080625/modem/coresubst.c
martian-full-20080625/modem/ASWMLICENSE
martian-full-20080625/modem/README
martian-full-20080625/modem/mport.c
martian-full-20080625/modem/isr.c
martian-full-20080625/modem/core.h
martian-full-20080625/modem/watch2.gdb
martian-full-20080625/modem/tweakrelocsdynamic.c
martian-full-20080625/modem/log.c
martian-full-20080625/modem/session.c
martian-full-20080625/modem/watch4.gdb
martian-full-20080625/modem/pty.c
martian-full-20080625/modem/sysdep.c
martian-full-20080625/modem/common.h
martian-full-20080625/modem/main.h
martian-full-20080625/modem/smp.c
martian-full-20080625/modem/watch.h
martian-full-20080625/modem/overriden_core_functions
martian-full-20080625/modem/profile.c
martian-full-20080625/modem/link.c
martian-full-20080625/modem/mixspinlock.h
olivares@darkstar:~/Downloads$ cd martian-full-20080625
olivares@darkstar:~/Downloads/martian-full-20080625$ make all
make -C kmodule/ modules
make[1]: Entering directory
`/home/olivares/Downloads/martian-full-20080625/kmodule'
make -C /lib/modules/2.6.27.7/build
M="/home/olivares/Downloads/martian-full-20080625/kmodule"  modules
make[2]: Entering directory `/usr/src/linux-2.6.27.7'
  CC [M]  /home/olivares/Downloads/martian-full-20080625/kmodule/martian.o
/home/olivares/Downloads/martian-full-20080625/kmodule/martian.c: In
function 'martian_isr':
/home/olivares/Downloads/martian-full-20080625/kmodule/martian.c:131:
warning: value computed is not used
  CC [M]  /home/olivares/Downloads/martian-full-20080625/kmodule/marsio.o
/home/olivares/Downloads/martian-full-20080625/kmodule/marsio.c:359:
warning: 'mars_read_register_rem' defined but not used
/home/olivares/Downloads/martian-full-20080625/kmodule/marsio.c:372:
warning: 'mars_write_register_rem' defined but not used
  CC [M]  /home/olivares/Downloads/martian-full-20080625/kmodule/mfifo.o
  LD [M]  /home/olivares/Downloads/martian-full-20080625/kmodule/martian_dev.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/olivares/Downloads/martian-full-20080625/kmodule/martian_dev.mod.o
  LD [M]  /home/olivares/Downloads/martian-full-20080625/kmodule/martian_dev.ko
make[2]: Leaving directory `/usr/src/linux-2.6.27.7'
make[1]: Leaving directory
`/home/olivares/Downloads/martian-full-20080625/kmodule'
make -C modem/ all
make[1]: Entering directory
`/home/olivares/Downloads/martian-full-20080625/modem'
    CC	main.o
    CC	dumpers.o
    CC	log.o
    CC	session.o
    CC	mport.o
    CC	pty.o
    CC	sysdep.o
    CC	isr.o
    CC	smp.o
    CC	core_if.o
    CC	coresubst.o
    CC	link.o
    CC	tweakrelocsdynamic.o
    CC	coreadd.o
    CC	elf386tweakrelocs
    LD	marscore.o
    TWEAK	marscore.o
    LD	martian_modem
make[1]: Leaving directory
`/home/olivares/Downloads/martian-full-20080625/modem'
olivares@darkstar:~/Downloads/martian-full-20080625$ su -c 'make install'
Password:
make -C kmodule/ install
make[1]: Entering directory
`/home/olivares/Downloads/martian-full-20080625/kmodule'
make -C /lib/modules/2.6.27.7/build
M="/home/olivares/Downloads/martian-full-20080625/kmodule"
modules_install
make[2]: Entering directory `/usr/src/linux-2.6.27.7'
  INSTALL /home/olivares/Downloads/martian-full-20080625/kmodule/martian_dev.ko
  DEPMOD  2.6.27.7-smp
make[2]: Leaving directory `/usr/src/linux-2.6.27.7'
if ! /sbin/modprobe -nq martian_dev ; then /sbin/depmod -a; fi
make[1]: Leaving directory
`/home/olivares/Downloads/martian-full-20080625/kmodule'
make -C modem/ install
make[1]: Entering directory
`/home/olivares/Downloads/martian-full-20080625/modem'
    LD	martian_modem.debug
    STRIP	martian_modem.debug
    STRIP	martian_modem.stripped
    INSTALL	/usr/sbin/martian_modem
    INSTALL	/usr/lib/debug/usr/sbin/martian_modem.debug
make[1]: Leaving directory
`/home/olivares/Downloads/martian-full-20080625/modem'
olivares@darkstar:~/Downloads/martian-full-20080625$ su -
Password:

The sum of the Universe is zero.

root@darkstar:~# ,p  mop dprobe s un  martian_dev
FATAL: Module martian_dev not found.
root@darkstar:~# ls /lib/modules/2.6.27.7/extra
/bin/ls: cannot access /lib/modules/2.6.27.7/extra: No such file or directory
root@darkstar:~# ls /lib/modules/2.6.27.7-smp/extra/martian_dev.ko -0 l
-rw-r--r-- 1 root root 37651 2008-12-19 21:25
/lib/modules/2.6.27.7-smp/extra/martian_dev.ko
 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.7 
 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.7 (root@midas) (gcc version 4.2.4) #2 Thu Nov 20 23:19:39 CST 2008
 scanModem update of:  2008_11_06

Modem drivers blocked from loading during bootup are listed in /etc/modprobe* file lines:
/etc/modprobe.d/blacklist:blacklist snd-atiixp-modem
/etc/modprobe.d/blacklist:blacklist snd-via82xx-modem
/etc/modprobe.d/blacklist:blacklist snd-intel8x0m

Attached USB devices are:
 ID 058f:9254 Alcor Micro Corp. Hub
 ID 1d6b:0001 Linux Foundation 1.1 root hub

USB modems not recognized

For candidate card in slot 00:0d.0, firmware information and bootup diagnostics are:
 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 00:0d.0	11c1:0442	141b:9300	Communication controller: Agere Systems 56k WinModem 

 Modem interrupt assignment and sharing: 
 10:        129    XT-PIC-XT        uhci_hcd:usb1
 --- Bootup diagnostics for card in PCI slot 00:0d.0 ----
PCI: 0000:00:0d.0 reg 10 32bit mmio: [e8008000, e80080ff]
PCI: 0000:00:0d.0 reg 14 io port: [e800, e807]
PCI: 0000:00:0d.0 reg 18 io port: [ec00, ecff]
pci 0000:00:0d.0: supports D2
pci 0000:00:0d.0: PME# supported from D2 D3hot D3cold
pci 0000:00:0d.0: PME# disabled
uhci_hcd 0000:00:07.2: sharing IRQ 10 with 0000:00:0d.0
natsemi 0000:00:09.0: sharing IRQ 10 with 0000:00:0d.0

 The PCI slot 00:0d.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.
 

=== Finished firmware and bootup diagnostics, next deducing cogent software. ===

Predictive  diagnostics for card in bus 00:0d.0:
	Modem chipset  detected on
NAME="Communication controller: Agere Systems 56k WinModem "
CLASS=0780
PCIDEV=11c1:0442
SUBSYS=141b:9300
IRQ=10
IDENT=Agere.DSP

 For candidate modem in:  00:0d.0
   0780 Communication controller: Agere Systems 56k WinModem 
      Primary device ID:  11c1:0442
 Support type needed or chipset:	Agere.DSP
 

----------------end Softmodem section --------------

 The modem has a Lucent/Agere/LSI Mars or Apollo DSP (digital signal processing) chipset. 
Support packages for 2.6.n kernels are at:
 http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/martian/ 
Always use the most update for kernels after 2.6.20, currently martian-full-20080625.tar.gz
For kernels 2.6.20 and less, usr martian-full-20080407.tar.gz.

 See DOCs/AgereDSP.txt for Details.


 Vendor 11c1 is Lucent Technologies with modem technology now under LSI Inc. 
Their Linux  code developer/maintainer is Soumyendu Sarkar. Support for a chipset and its 
 continued maintenance is only initiated at the request of a major chipset buyer,
 or comparable sponsor. Several different  modem chipset types  are produced: 
 with varying support under Linux.
 Device ID   Support        Name           Comment
 ---------   -------------  -----------    -----------------------------
 0480        serial_drivers Venus           controller chipset 1673JV7
 0440-045d   martian        Mars/Apollo     DSP (digital signal processing) chipsets
 0462        none           56K.V90/ADSL Wildwire 
 048d none           	    SV2P            soft modem 
 048(c or f) AGRSM          SV2P            soft modem
 0600        none           soft modem, very few in the field.
 0620        AGRSM          Pinball  soft modem, in some HP desktop PCs
 011c11040   AGRSM          hosted on High Definition Audio cards
 062(1-3)    none           SV92PP,Pinball  soft modem, in some HP desktop PCs

martian - At http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/martian/
AGRSM - At http://linmodems.technion.ac.il/packages/ltmodem/11c11040/
  Compiling resources for a driver module pair: agrmodem.ko + agrserial.ko
  Use the  agrsm-HDA-20080721-ALSA15.tar.bz2 or agrsm-HDA-20080721.tar.bz2
  Read the agrsm_howto.txt.  For 11c11040 chips, also the HOWTO-Agere-11c11040-HDA.html

 0x0442 -- Mars 2 - data/fax/tam only
-------------- end Agere Systems section -------------------

 Completed candidate modem analyses.

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

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


 
 Minimal compiling resources appear complete:
   make utility - /usr/bin/make
   Compiler version 4.2
   linuc_headers base folder /lib/modules/2.6.27.7/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:
	-rwxr-xr-x 1 root root 366440 2006-06-29 01:50 /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
crtscts
lock
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4

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:

     Within /etc/modprobe.conf files:
/etc/modprobe.d/blacklist:# ALSA modules to support sound modems.  These should be loaded manually
/etc/modprobe.d/blacklist:blacklist snd-atiixp-modem
/etc/modprobe.d/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 --------


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

  Powered by Linux