SBV5121 mta provisioning problem | docsis.org

You are here

SBV5121 mta provisioning problem

1 post / 0 new
ondro
SBV5121 mta provisioning problem

Hi there,

I just want to revive some Motorola sbv5121e voip cable modems.
I have read many articles on this site, but the mta part will not work,
and i ran out of ideas. I could use a little help.

Here is the test dhcpd.conf file:

authoritative;
allow leasequery;
ddns-update-style none;
ignore client-updates;
next-server 192.168.33.1;
option domain-name-servers 192.168.33.3;
option domain-name "mta.domains.net";
option tftp-server-name "192.168.33.1";

option space docsis-cm;
option docsis-cm.serial-number code 4 = string;
option docsis-cm.software-version code 6 = string;
option docsis-cm.organization-id code 8 = string;
option docsis-cm.hardware-model code 9 = string;
option docsis-cm-pkt code 43 = encapsulate docsis-cm;

option space docsis-mta;
option docsis-mta.dhcp-server-1 code 1 = ip-address;
option docsis-mta.provision-server code 3 = { integer 8, string };
option docsis-mta.krb-realm-name code 6 = string;
option docsis-mta-pkt code 122 = encapsulate docsis-mta;
option docsis-mta.dhcp-server-1 192.168.33.1;
option docsis-mta.provision-server 0 "\003mta\007domains\003net\000";
option docsis-mta.krb-realm-name "\005BASIC\0011\000";

shared-network test-net {
subnet 172.26.0.0 netmask 255.255.0.0 {
option time-servers 192.168.33.2;
option time-offset 7200;
option routers 172.26.255.254;
default-lease-time 600;
max-lease-time 600;
}

subnet 172.27.0.0 netmask 255.255.0.0 {
option routers 172.27.255.254;
option host-name = concat("mta", binary-to-ascii(16, 8, "", substring(hardware, 1, 6)));
default-lease-time 600;
max-lease-time 600;
}
}

host test-cm-1 {
hardware ethernet 00:1a:ad:8b:b2:32;
fixed-address 172.26.0.1;
filename = "001a.ad8b.b232.bin";
}

host test-mta-1 {
hardware ethernet 00:1a:ad:8b:b2:34;
fixed-address 172.27.0.1;
filename = "001a.ad8b.b234.bin";
}

And this the relevant cm config:

Main
{
NetworkAccess 1;
MaxCPE 2;
GlobalPrivacyEnable 1;
BaselinePrivacy
{
AuthTimeout 10;
ReAuthTimeout 10;
AuthGraceTime 600;
OperTimeout 10;
ReKeyTimeout 10;
TEKGraceTime 600;
AuthRejectTimeout 60;
SAMapWaitTimeout 1;
SAMapMaxRetries 4;
}

....

SnmpMibObject docsDevNmAccessStatus.1 Integer 4; /* createAndGo */
SnmpMibObject docsDevNmAccessIp.1 IPAddress 192.168.33.1 ;
SnmpMibObject docsDevNmAccessIpMask.1 IPAddress 255.255.255.0 ;
SnmpMibObject docsDevNmAccessControl.1 Integer 2; /* read */
SnmpMibObject docsDevNmAccessInterfaces.1 String "@" ;
SnmpMibObject docsDevNmAccessCommunity.1 String "public" ;
SnmpMibObject docsDevNmAccessStatus.2 Integer 4; /* createAndGo */
SnmpMibObject docsDevNmAccessIp.2 IPAddress 192.168.33.1 ;
SnmpMibObject docsDevNmAccessIpMask.2 IPAddress 255.255.255.0 ;
SnmpMibObject docsDevNmAccessControl.2 Integer 3; /* readWrite */
SnmpMibObject docsDevNmAccessInterfaces.2 String "@" ;
SnmpMibObject docsDevNmAccessCommunity.2 String "private" ;
SnmpMibObject cmHybridMode.0 Integer 1;
SnmpMibObject cmDocsis20Capable.0 Integer 1;
SnmpMibObject cmMtaProvMode.0 Integer 4;
VendorSpecific
{
VendorIdentifier 0x002040;
GenericTLV TlvCode 168 TlvLength 1 TlvValue 0x01;
GenericTLV TlvCode 125 TlvString "fred:cSRScddQdR";
}
}

In this case a modem will not be online, because for some reason it
again and again asking its own cm config file from the tftp server.

But, when i delete form the cm config the following line:
SnmpMibObject cmMtaProvMode.0 Integer 4;

then the modem will be online, but it never ask the mta config file
from the tftp server. (tel1 and tel2 led alternately or at the same time blink)

Here is some debug info from modem:

...
MAIN> PCMG: -->prov resetting dhcp client
PK DHCP: reset(): Stopping DHCP client
PK DHCP: reset(): reset message sent
PCMG: -->prov resetting snmp client
PK DHCP: msgQWait(): received reset event
PK DHCP: task(): resetFlag set, going idle
PK DHCP: userAlarm(): sending event 2
PK DHCP: stateIdle(): Entering IDLE state, prevstate=0
PK DB: MTA IP address set to 0.0.0.0
PK DHCP: configureIpParams(): MTA IP address set to 0.0.0.0
PK SNMP: inform: Closing inform socket
PCMG: -->prov resetting SYSLOG client
PCMG: -->prov handling ACTION PK_MSM_DHCP_FAILED
PCMG: -->prov dhcp is now reset
PCMG: -->prov All clients are reset
PCMG: -->prov acting aFAIL
PCMG: -->prov resetting PacketCable database
PK DB: MTA Database Reset
PK DB: pk_mdb_pktcMtaDevErrorOidsDbReset()
PK DB: pktcMtaDevMacAddress set to 00:1A:AD:8B:B2:34
PK DB: MTA Database updated
PK DB: pktcMtaDevEndPntCount is 2
PK DB: Got signaling type as 3
PK MDB: Tone table updated successfully
PK MDB: Tone table updated successfully
PK MDB: Tone table updated successfully
PK MDB: Tone table updated successfully
PK MDB: Tone table updated successfully
PK MDB: Tone table updated successfully
PK MDB: Tone table updated successfully
PK MDB: Tone table updated successfully
PK MDB: Tone table updated successfully
PK MDB: Tone table updated successfully
PK MDB: Tone table updated successfully
PK MDB: Tone table updated successfully
PK MDB: Tone table updated successfully
PK MDB: Tone table updated successfully
PK MDB: Tone table updated successfully
PK MDB: Error updating Tone table. Errorcode=1
PK MDB: Tone table updated successfully
PK MDB: Tone table updated successfully
PK MDB: Tone table updated successfully
PK MDB: Error updating Tone table. Errorcode=1
PK MDB: Error updating Tone table. Errorcode=1
PKTC SNMP: pk_mdb_ifOperStatus_set(index=1,status=1)
PKTC SNMP: pk_mdb_ifOperStatus_set(index=1,status=1)
PK DB: pktcMtaDevMacAddress is 00:1A:AD:8B:B2:34
PKTC SNMP: pk_mdb_ifOperStatus_set(index=9,status=2)
PKTC SNMP: pk_mdb_ifOperStatus_set() Sending link down trap
PK SNMP: Sending SNMP link down trap msg(9)
PK SNMP: SNMP link down trap sent successfully(9)
PKTC SNMP: pk_mdb_ifOperStatus_set(index=10,status=2)
PKTC SNMP: pk_mdb_ifOperStatus_set() Sending link down trap
PK SNMP: Sending SNMP link down trap msg(10)
PK SNMP: SNMP link down trap sent successfully(10)
PK SNMP: pk_mdb_ifMtaOperStatus_set(1)

PKTC SNMP: pk_mdb_ifOperStatus_set(index=1,status=1)
PK DB: pk_mdb_pktcMtaDevErrorOidsDbUpdate()
PK DB: pktcMtaDevSerialNumber is 158155707341637701012004
PK DB: pktcMtaDevMacAddress is 00:1A:AD:8B:B2:34
PK DB: pktcMtaDevMacAddress is 00:1A:AD:8B:B2:34
PCMG: -->root handling PK_MSM_LM_STFAIL
PCMG: -->root acting aPROV
PK DB: pktcMtaDevProvisioningCounter is 2
PK DB: pktcMtaDevProvisioningCounter set to 3
PCMG: -->root Provisioning being tried (3) time
PK DB: pktcMtaDevProvisioningState set to 2
PCMG: -->prov handling UM_START (0)
PCMG: -->prov acting aDHCP
PCMG: -->prov starting dhcp client
PK DHCP: start(): Starting DHCP client
PK DHCP: task(): State transition 0-1
PK DHCP: stateInit(): Entering INIT state, prevstate=0
PK DB: pktcMtaDevServerDhcp1 set to 192.168.33.1
PK DB: pktcMtaDevServerDhcp2 set to 0.0.0.0
PK DHCP: task(): State transition 1-2
PK DB: pktcMtaDevMacAddress is 00:1A:AD:8B:B2:34
PK DB: pktcMtaDevTypeIdentifier is pktc1.0:0526010100020102050101080501035349500901010A01010B04010306090D010110010912020007
PK SNMP: SNMP not yet initialized
PK SNMP: SNMP not yet initialized
PK DHCP: waitResponseRetry(): Attempt 0, timeout 800
PK DB: MTA IP address is 0.0.0.0
PK DB: pktcMtaDevMacAddress is 00:1A:AD:8B:B2:34
PK DHCP: waitResponse(): Received response, verifying...
PK DHCP: processReplyMsg(): Verify phase done, acc=0 (Perfect)
PK DHCP: handleResponseDiscover(): Offer from primary server, retry=0
PK DHCP: handleResponseDiscover(): Offer perfect, requesting now
PK DHCP: waitResponse(): handler returned success, breaking out
PK DHCP: waitResponse(): selected response, acceptance=0 (Perfect), nextState=3
PK DHCP: waitResponseRetry(): pk_dhcp_waitResponse() returned 3, returning
PK DHCP: stateSelecting(): dhcpServerIdentifier 192.168.33.1
PK DHCP: stateSelecting(): MTA IP address 172.27.0.1
PK DHCP: stateSelecting(): dhcpIPaddrLeaseTime 600
PK DHCP: task(): State transition 2-3
PK DHCP: stateRequesting(): Entering REQUESTING state, prevstate=2
PK DB: pktcMtaDevTypeIdentifier is pktc1.0:0526010100020102050101080501035349500901010A01010B04010306090D010110010912020007
PK DB: pktcMtaDevMacAddress is 00:1A:AD:8B:B2:34
PK DHCP: waitResponseRetry(): Attempt 0, timeout 800
PK DB: MTA IP address is 0.0.0.0
PK DB: pktcMtaDevMacAddress is 00:1A:AD:8B:B2:34
PK DHCP: waitResponse(): Received response, verifying...
PK DHCP: processReplyMsg(): Verify phase done, acc=0 (Perfect)
PK DHCP: handleResponseRequest(): received ACK
PK DHCP: waitResponse(): handler returned success, breaking out
PK DHCP: waitResponse(): selected response, acceptance=0 (Perfect), nextState=4
PK DHCP: waitResponseRetry(): pk_dhcp_waitResponse() returned 4, returning
PK DHCP: processReplyMsg(): Verify phase done, acc=0 (Perfect)
PK DB: pktcMtaDevSnmpEntity set to mta.domains.net
PK DB: pktcMtaDevServerDns1 set to 192.168.33.3
PK DB: pktcMtaDevServerDns2 set to 192.168.33.4
PK DB: MTA IP subnet mask set to 255.255.0.0
PK DB: MTA IP Gateway address set to 172.27.255.254
PK DB: pktcMtaDevHostName set to mta01aad8bb234
PK DB: pktcMtaDevDomainName set to mta.domains.net
PK DHCP: processReplyMsg(): Commit phase done, acc=0 (Perfect)
PK DHCP: dhcpServerIdentifier 192.168.33.1
PK DHCP: MTA IP address 172.27.0.1
PK DHCP: dhcpIPaddrLeaseTime 600
PK DHCP: dhcpT1value -1
PK DHCP: dhcpT2value -1
PK DHCP: IP address lease=600, renew=300, rebind=525
PK DB: MTA IP Gateway address is 172.27.255.254
PK DB: MTA IP subnet mask is 255.255.0.0
PK DB: pktcMtaDevMacAddress is 00:1A:AD:8B:B2:34
resolvSend()
PK DHCP: task(): State transition 3-4
PK DHCP: stateBound(): Entering BOUND state, prevstate=3
PK DB: MTA IP address set to 172.27.0.1
PK DHCP: configureIpParams(): MTA IP address set to 172.27.0.1
PK DB: MTA IP Gateway address is 172.27.255.254
PK DHCP: stateBound(): Renew in 296 seconds, Rebind in 521 seconds
PK DHCP: userAlarm(): sending event 1
PCMG: -->prov handling ACTION PK_MSM_DHCP_END
PK DB: pktcMtaDevProvisioningTimer is 10
PCMG: -->provisioning timer activated
PCMG: -->prov - dhcp done
PCMG: -->prov acting aSNSC
PK DB: pktcMtaDevSnmpEntity is mta.domains.net
PK DB: MTA IP address is 172.27.0.1
PK DB: pktcMtaDevServerDns1 is 192.168.33.3
PK DB: pktcMtaDevServerDns1 is 192.168.33.3
PK DB: pktcMtaDevServerDns2 is 192.168.33.4
PK DB: pktcMtaDevServerDns2 is 192.168.33.4
resolvSend()
PK DB: MTA IP address is 172.27.0.1
PK DB: pktcMtaDevServerDns1 is 192.168.33.3
PK DB: pktcMtaDevServerDns1 is 192.168.33.3
PK DB: pktcMtaDevServerDns2 is 192.168.33.4
PK DB: pktcMtaDevServerDns2 is 192.168.33.4
PK DB: MTA IP address is 172.27.0.1
PCMG: -->prov handling PK_MSM_PROV_NO_IP
PCMG: -->SNSC failed as no more IP's to try
PK DB: pktcMtaDevProvisioningState set to 7
PK DB: pktcMtaDevMacAddress is 00:1A:AD:8B:B2:34
PCMG: -->prov acting aRSET
PCMG: -->prov resetting dhcp client
PK DHCP: reset(): Stopping DHCP client
PK DHCP: reset(): reset message sent
PCMG: -->prov resetting snmp client
PK DHCP: msgQWait(): received reset event
PK DHCP: task(): resetFlag set, going idle
PK DHCP: userAlarm(): sending event 2
PK DHCP: stateIdle(): Entering IDLE state, prevstate=0
PK DB: MTA IP address set to 0.0.0.0
PK DHCP: configureIpParams(): MTA IP address set to 0.0.0.0
PK SNMP: inform: Closing inform socket
PCMG: -->prov resetting SYSLOG client
PCMG: -->prov handling ACTION PK_MSM_DHCP_FAILED
PCMG: -->prov dhcp is now reset
PCMG: -->prov All clients are reset
PCMG: -->prov acting aFAIL
PCMG: -->prov resetting PacketCable database
PK DB: MTA Database Reset
PK DB: pk_mdb_pktcMtaDevErrorOidsDbReset()
PK DB: pktcMtaDevMacAddress set to 00:1A:AD:8B:B2:34
PK DB: MTA Database updated
PK DB: pktcMtaDevEndPntCount is 2
PK DB: Got signaling type as 3
...

Did not even try to download the mta config file, and i dont know why.
(The modem has the SBV5121E-SIP-1.0.7-SCM-06-CBNGA01-SHPC-NNEMN.p7 firmware
, and i use the docsis encoder.)