[hsflinux] Problem with hsfmodem driver, connection dropping after a few secs

Charles-Edouard Ruault ce at idtect.com
Fri Jan 16 18:57:51 EST 2004


Hello,

i've just installed the latest version of the hsfmodem drivers on my 
debian woody r2 and i'm having trouble with the ppp connection.
The symptoms are :
- connection comes up, everything looks fine
- i try to ping my gateway, no anwser ( i manages to have real Internet 
connectivity only once out of 15 tries. The cnx lasted 2.2 minutes and 
died after ).
- after a few secs, the connection drops.

First i thought it was due to interaction with the AC97 audio onboard 
chip so i disabled it in the bios, same result.

I've tried connecting to the same ISP, using the same account, the same 
phone line, the same cord, from my powerbook and eveything works 
smoothly so i rule out a bad line problem.
A few months ago i had tried the same setup with the same modem ( on a 
different computer ), with older drivers from linmodems.org and 
everything worked fine. So i also rule out the modem.

What's left ??? the driver ??? the kernel ( i'm running vanilla 2.4.24 
+ Freeswan 1.99 ).

Do you guys have any idea of what could be happening ?
Any help would be greately appreciated !

Here are all the info i thought could be useful for debugging :
---- uname -a
Linux v1.idtect.net 2.4.24-idtect-1.0 #6 Fri Jan 16 16:40:47 CET 2004 
i686 unknown

--- cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Pentium(R) 4 CPU 2.40GHz
stepping        : 7
cpu MHz         : 2400.116
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge 
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
bogomips        : 4784.12

--- driver version
dpkg -l | grep hsf
ii  hsfmodem       6.03.00lnxt031 Conexant HSF softmodem driver


------ ppp command run to dial to the ISP :
pppd nodetach call ISP
Serial connection established.
using channel 5
Using interface ppp0
Connect: ppp0 <--> /dev/modem
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x43dea050> <pcomp> 
<accomp>]
rcvd [LCP ConfReq id=0x40 <asyncmap 0x0> <auth pap> <magic 0x806bd03> 
<pcomp> <accomp>]
sent [LCP ConfAck id=0x40 <asyncmap 0x0> <auth pap> <magic 0x806bd03> 
<pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x43dea050> <pcomp> 
<accomp>]
sent [PAP AuthReq id=0x1 user="xxx" password=<hidden>]
rcvd [PAP AuthAck id=0x1 ""]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
rcvd [IPCP ConfReq id=0x2a <addr 192.168.254.254>]
sent [IPCP ConfAck id=0x2a <addr 192.168.254.254>]
rcvd [LCP ProtRej id=0x41 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 
03 2f]
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0>]
rcvd [IPCP ConfNak id=0x2 <addr 213.228.55.11>]
sent [IPCP ConfReq id=0x3 <addr 213.228.55.11>]
rcvd [IPCP ConfAck id=0x3 <addr 213.228.55.11>]
local  IP address 213.228.55.11
remote IP address 192.168.254.254
Script /etc/ppp/ip-up started (pid 627)
Script /etc/ppp/ip-up finished (pid 627), status = 0x0
Modem hangup
Script /etc/ppp/ip-down started (pid 662)
Connection terminated.
Connect time 2.2 minutes.
Sent 5205 bytes, received 4632 bytes.
Waiting for 1 child processes...
   script /etc/ppp/ip-down, pid 662
Script /etc/ppp/ip-down finished (pid 662), status = 0x0

---- /var/log/messages ----

Jan 16 18:34:54 v1 pppd[623]: pppd 2.4.1 started by root, uid 0
Jan 16 18:34:55 v1 chat[625]: abort on (BUSY)
Jan 16 18:34:55 v1 chat[625]: abort on (NO CARRIER)
Jan 16 18:34:55 v1 chat[625]: abort on (VOICE)
Jan 16 18:34:55 v1 chat[625]: abort on (NO DIAL TONE)
Jan 16 18:34:55 v1 chat[625]: send (ATZ^M)
Jan 16 18:34:55 v1 chat[625]: expect (OK)
Jan 16 18:34:55 v1 chat[625]: ATZ^M^M
Jan 16 18:34:55 v1 chat[625]: OK
Jan 16 18:34:55 v1 chat[625]:  -- got it
Jan 16 18:34:55 v1 chat[625]: send (ATM0L0DT0860922000^M)
Jan 16 18:34:56 v1 chat[625]: expect (NNECT)
Jan 16 18:34:56 v1 chat[625]: ^M
Jan 16 18:35:17 v1 chat[625]: ATM0L0DT0860922000^M^M
Jan 16 18:35:17 v1 chat[625]: CONNECT
Jan 16 18:35:17 v1 chat[625]:  -- got it
Jan 16 18:35:17 v1 chat[625]: send (^M)
Jan 16 18:35:17 v1 pppd[623]: Serial connection established.
Jan 16 18:35:17 v1 pppd[623]: Using interface ppp0
Jan 16 18:35:17 v1 pppd[623]: Connect: ppp0 <--> /dev/modem
Jan 16 18:35:19 v1 pppd[623]: local  IP address 213.228.55.11
Jan 16 18:35:19 v1 pppd[623]: remote IP address 192.168.254.254
Jan 16 18:35:21 v1 kernel: 0000006.102: DevMgr_StartCallingTone - Fax 
element doesn't exist00003
81.332: DevMgr_StartCallingTone - Fax element doesn't exist0000519.112: 
DevMgr_StartCallingTone
- Fax element doesn't exist<6>device ppp0 entered promiscuous mode
Jan 16 18:35:24 v1 kernel: device ppp0 left promiscuous mode
Jan 16 18:35:27 v1 kernel: device ppp0 entered promiscuous mode
Jan 16 18:37:25 v1 pppd[623]: Modem hangup
Jan 16 18:37:25 v1 pppd[623]: Connection terminated.
Jan 16 18:37:25 v1 pppd[623]: Connect time 2.2 minutes.
Jan 16 18:37:25 v1 pppd[623]: Sent 5205 bytes, received 4632 bytes.
Jan 16 18:37:25 v1 pppd[623]: Exit.

------ /proc/driver/hsf/0/lastcallstatus
<#UG VERSION=3>
<DRIVER VERSION=hsfmodem-6.03.00lnxt03122800full>
<CALL SETUP RESULT=Detected Data Answer Tone>
<MULTIMEDIA MODE=Data Only>
<DTE-DCE MODE=Async data>
<V.8 CM="">
<V.8 JM="">
<RX SIG PWR DB=0, TX SIG PWR DB=0, S/N RATIO DB=0>
<RTD=-29>
<TX MOD=V.32bis, TX SYMBOL RATE=2400, TX CARRIER FREQ=1800>
<RX MOD=V.32bis, RX SYMBOL RATE=2400, RX CARRIER FREQ=1800>
<TX FIRST RATE=14400, RX FIRST RATE=14400>
<CARRIER LOSS=0, RATE RENEG=0>
<RETRAINS REQ=0, RETRAINS DET=6>
<TX FINAL RATE=14400, RX FINAL RATE=14400>
<PROTOCOL=LAPM>
<EC FRAME SIZE=100>
<EC LINK TIMEOUTS=0>
<EC LINK NAKS=0>
<COMPRESSION=V44>
<COMPRESSION DICTIONARY SIZE=800>
<TX FLOW CONTROL=0>
<RX FLOW CONTROL=0>
<TX CHARS SENT FROM DTE=15E6>
<RX CHARS SENT TO DTE=138A>
<TX CHARS LOST=0>
<RX CHARS LOST=0>
<TX FRAME COUNT=2B>
<RX FRAME COUNT=4D>
<TX FRAME ERROR COUNT=2>
<RX FRAME ERROR COUNT=0>
<TERMINATION CAUSE=DTR drop>
<CALL WAITING EVENT COUNT=15>
<LSD Vdd=0, Power Bits=0>
<V8BIS DSP VER=0>
<RATE RENEG REQ=0, RATE RENEG DET=0>
<RBS=0, AltRBS=0>
<DIG PAD DET=0, DIG LOSS EST=0, IMD RATIO=0, SPEED DROP=0>
<HS CNT=0, Det1=40, Res1=92, LAPM=5>
<EQM=0, TRAINING EQM=0>
<HandShake Time=0.0>

<DIB ERROR COUNTERS=0, 0, 0, 0, 0, 0, 0, 0>

--- /proc/pci
PCI devices found:
   Bus  0, device   0, function  0:
     Host bridge: Intel Corp. 82845G/GL [Brookdale-G] Chipset Host 
Bridge (rev 1).
       Prefetchable 32 bit memory at 0xe8000000 [0xebffffff].
   Bus  0, device   2, function  0:
     VGA compatible controller: Intel Corp. 82845G/GL [Brookdale-G] 
Chipset Integrated Graphics Device (rev 1).
       IRQ 10.
       Prefetchable 32 bit memory at 0xe0000000 [0xe7ffffff].
       Non-prefetchable 32 bit memory at 0xec100000 [0xec17ffff].
   Bus  0, device  30, function  0:
     PCI bridge: Intel Corp. 82801BA/CA/DB/EB PCI Bridge (rev 129).
       Master Capable.  No bursts.  Min Gnt=6.
   Bus  0, device  31, function  0:
     ISA bridge: Intel Corp. 82801DB LPC Interface Controller (rev 1).
   Bus  0, device  31, function  1:
     IDE interface: Intel Corp. 82801DB Ultra ATA Storage Controller 
(rev 1).
       IRQ 10.
       I/O at 0xf000 [0xf00f].
       Non-prefetchable 32 bit memory at 0x10000000 [0x100003ff].
   Bus  0, device  31, function  3:
     SMBus: Intel Corp. 82801DB/DBM SMBus Controller (rev 1).
       IRQ 12.
       I/O at 0x500 [0x51f].
   Bus  1, device   3, function  0:
     Class ff00: PCI device 1093:2ca0 (National Instruments) (rev 0).
       IRQ 10.
       Master Capable.  Latency=32.
       Non-prefetchable 32 bit memory at 0xec011000 [0xec011fff].
       Non-prefetchable 32 bit memory at 0xec010000 [0xec010fff].
   Bus  1, device   4, function  0:
     Communication controller: Conexant HSF 56k HSFi Modem (rev 1).
       IRQ 12.
       Master Capable.  Latency=32.
       Non-prefetchable 32 bit memory at 0xec000000 [0xec00ffff].
       I/O at 0xc000 [0xc007].
   Bus  1, device   8, function  0:
     Ethernet controller: Intel Corp. 82801BD PRO/100 VE (CNR) Ethernet 
Controller (rev 129).
       IRQ 11.
       Master Capable.  Latency=32.  Min Gnt=8.Max Lat=56.
       Non-prefetchable 32 bit memory at 0xec012000 [0xec012fff].
       I/O at 0xc400 [0xc43f].

--- misc info
cat /proc/driver/hsf/0/hwrevision
Basic2 2.18 Standard DAA 3VoltsIA
v1:/proc# cat /proc/driver/hsf/0/hwprofile
hsfpcibasic2hsfi
v1:/proc# cat /proc/driver/hsf/0/hwinst
0-PCI-14f1:2f00-14f1:2000



Charles-Edouard Ruault
Idtect SA
tel: +33-1-42-81-81-84
fax: +33-1-42-81-82-21
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 9046 bytes
Desc: not available
Url : http://www.linuxant.com/pipermail/hsflinux/attachments/20040116/59f4df4e/attachment.bin


More information about the hsflinux mailing list