Ken Jones, USA, Ubuntu 8.10, Kernel 2.6.27-7-generic

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

 



Assistance is requested in making my dial-up modem work in Ubuntu 8.10
Intrepid.  Thanks in advance for any assistance.    

I tried compiling the slmodem drivers from
slmodem-2.9.11-20080417.tar.gz on a Ubuntu 8.10 Intrepid LiveCD, but I
was unsuccessful:

ubuntu@ubuntu:~/slamr/slmodem-2.9.11-20080417$ make
make -C modem all
make[1]: Entering directory
`/home/ubuntu/slamr/slmodem-2.9.11-20080417/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
In function ‘open’,
    inlined from ‘datafile_save_info’ at modem_datafile.c:114:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’
declared with attribute error: open with O_CREAT in second argument
needs 3 arguments
make[1]: *** [modem_datafile.o] Error 1
make[1]: Leaving directory
`/home/ubuntu/slamr/slmodem-2.9.11-20080417/modem'
make: *** [modem] Error 2
ubuntu@ubuntu:~/slamr/slmodem-2.9.11-20080417$ 

___________________________________________________


Here is my ModemData.txt:

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-generic 
 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-generic (buildd@rothera) (gcc version 4.3.2
(Ubuntu 4.3.2-1ubuntu10) ) #1 SMP Fri Oct 24 06:42:44 UTC 2008
 scanModem update of:  2008_11_06

 There are no blacklisted modem drivers in /etc/modprobe*  files 
Attached USB devices are:
 ID 1d6b:0001 Linux Foundation 1.1 root hub
 ID 1d6b:0001 Linux Foundation 1.1 root hub
 ID 6253:0100 TwinHan Technology Co., Ltd Ir reciver f. remote control
 ID 1d6b:0001 Linux Foundation 1.1 root hub
 ID 1d6b:0002 Linux Foundation 2.0 root hub

USB modems not recognized

For candidate card in slot 00:06.0, firmware information and bootup
diagnostics are:
 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 00:06.0	10b9:5459	14fe:9100	Modem: ALi Corporation SmartLink
SmartPCI561 56K Modem

 Modem interrupt assignment and sharing: 
 --- Bootup diagnostics for card in PCI slot 00:06.0 ----
[    0.582453] PCI: 0000:00:06.0 reg 10 32bit mmio: [e8100000, e8100fff]
[    0.582462] PCI: 0000:00:06.0 reg 14 io port: [a000, a0ff]
[    0.582497] pci 0000:00:06.0: PME# supported from D3hot D3cold
[    0.582503] pci 0000:00:06.0: PME# disabled
[    2.110201] serial 0000:00:06.0: PCI INT A -> GSI 17 (level, low) ->
IRQ 17
[    2.113996] 0000:00:06.0: ttyS2 at I/O 0xa028 (irq = 17) is a 8250
[    2.115702] 0000:00:06.0: ttyS3 at I/O 0xa040 (irq = 17) is a 8250
[    2.115854] Couldn't register serial port 0000:00:06.0: -28

 The PCI slot 00:06.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:06.0:
	Modem chipset  detected on
NAME="Modem: ALi Corporation SmartLink SmartPCI561 56K Modem"
CLASS=0703
PCIDEV=10b9:5459
SUBSYS=14fe:9100
IRQ=17
IDENT=slamr

 For candidate modem in:  00:06.0
   0703 Modem: ALi Corporation SmartLink SmartPCI561 56K Modem
      Primary device ID:  10b9:5459
 Support type needed or chipset:	slamr
 

----------------end Softmodem section --------------
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-7-generic 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 =====================

 Completed candidate modem analyses.

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

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


 
 Minimal compiling resources appear complete:
   make utility - /usr/bin/make
   Compiler version 4.3
   linuc_headers base folder /lib/modules/2.6.27-7-generic/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:
	-rwsr-xr-- 1 root dip 273064 2008-10-16 01:51 /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)
        sudo chmod a+x /usr/sbin/pppd
or under Ubuntu related Linuxes
	sudo chmod a+x /usr/sbin/pppd

Checking settings of:	/etc/ppp/options
asyncmap 0
noauth
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

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:
/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/blacklist-modem:# Uncomment these entries in order to
blacklist unwanted modem drivers
/etc/modprobe.d/blacklist-modem:# blacklist snd-atiixp-modem
/etc/modprobe.d/blacklist-modem:# 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