[DRBD-user] Lost of connections using Gigabit card

swamaral at ig.com.br swamaral at ig.com.br
Wed Jul 28 23:38:52 CEST 2004

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


I am experiencing breaking of connections with drbd. The nodes have two 
Gigabit nics and are linked by a crossover Gigabit cable. The first node 
(master) boots and awaits for the second (slave) to connect. When slave 
starts the drbd service I get this messages: 

Setting up 'drbd0' .. disk ok .. net .. OK 
drbd0: magic?? m: 0 c: 0 l: 0 
drbd0: unacked_cnt!=0 
drbd0: magic?? m: 0 c: 0 l: 0 
drbd0: unacked_cnt!=0 
drbd0: magic?? m: 0 c: 0 l: 0 
drbd0: unacked_cnt!=0 
drbd0: magic?? m: 0 c: 0 l: 0 
drbd0: unacked_cnt!=0 
drbd0: magic?? m: 0 c: 0 l: 0 
drbd0: unacked_cnt!=0 
drbd0: magic?? m: 0 c: 0 l: 0 
drbd0: unacked_cnt!=0 
drbd0: magic?? m: 0 c: 0 l: 0 
drbd0: unacked_cnt!=0 
drbd0: magic?? m: 0 c: 0 l: 0 
drbd0: unacked_cnt!=0 
drbd0: magic?? m: 0 c: 0 l: 0 
drbd0: unacked_cnt!=0 

And, sometimes, the system hangs. 

On the master node the following messages are displayed: 

drbd0: sock_sendmsg returned -32 
drbd0: syncer send failed!! 
drbd0: Syncer send failed. 
drbd0: sock_sendmsg returned -32 
drbd0: syncer send failed!! 
drbd0: Syncer send failed. 
drbd0: sock_sendmsg returned -32 
drbd0: syncer send failed!! 
drbd0: Syncer send failed. 
drbd0: sock_sendmsg returned -32 
drbd0: syncer send failed!! 
drbd0: Syncer aborted. 
drbd0: sock_sendmsg returned -32 
drbd0: syncer send failed!! 
drbd0: Syncer send failed. 
drbd0: sock_sendmsg returned -32 
drbd0: syncer send failed!! 
drbd0: Syncer send failed. 

And sometimes and protection fault is raised, but the system doesn't hangs. 

Both master and slave nodes uses the TEG-PICTX2 (NWay Cooper Gigabit 
Ethernet Adapter) nic. The kernel modules that I've tryed were the ns83820 
(suggested by kudzu) and the dpm (supplyed by the vendor). I downloaded the 
more recent driver version from the vendor's site (www.trendnet.com), but, 
for my great surprise, the module doens't compile due to many compilation 
erros. I notifyed the vendor's support and asked for the new release, but 
they send me the same old version that I already have. 

Bellow are the /var/log/messages from the both nodes: 

(on master) 
.. 
Jan 31 17:03:25 master kernel: drbd: initialised. Version: 0.6.10 
(api:64/proto:62) 
Jan 31 17:04:18 master kernel: drbd0: Connection established. size=2040220 
KB / blksize=4096 B 
Jan 31 17:04:18 master kernel: klogd 1.4.1, ---------- state change 
---------- 
Jan 31 17:04:18 master kernel: drbd0: Synchronisation started blks=15 
Jan 31 17:04:19 master kernel: drbd0: sock_sendmsg returned -32 
Jan 31 17:04:19 master kernel: drbd0: syncer send failed!! 
Jan 31 17:04:19 master kernel: drbd0: Syncer send failed. 
Jan 31 17:04:19 master kernel: drbd0: Connection lost. 
Jan 31 17:04:29 master kernel: drbd0: Connection established. size=2040220 
KB / blksize=4096 B 
Jan 31 17:04:29 master kernel: drbd0: Synchronisation started blks=15 
Jan 31 17:04:29 master kernel: drbd0: sock_sendmsg returned -32 
Jan 31 17:04:29 master kernel: drbd0: syncer send failed!! 
Jan 31 17:04:29 master kernel: drbd0: Syncer send failed. 
Jan 31 17:04:29 master kernel: drbd0: Connection lost. 
Jan 31 17:04:29 master kernel: drbd0: Connection established. size=2040220 
KB / blksize=4096 B 
Jan 31 17:04:29 master kernel: drbd0: Synchronisation started blks=15 
Jan 31 17:04:29 master kernel: drbd0: sock_sendmsg returned -32 
Jan 31 17:04:29 master kernel: drbd0: syncer send failed!! 
Jan 31 17:04:29 master kernel: drbd0: Syncer send failed. 
Jan 31 17:04:29 master kernel: drbd0: Connection lost. 
Jan 31 17:04:29 master kernel: drbd0: Connection established. size=2040220 
KB / blksize=4096 B 
Jan 31 17:04:29 master kernel: drbd0: Synchronisation started blks=15 
Jan 31 17:04:29 master kernel: drbd0: sock_sendmsg returned -32 
Jan 31 17:04:29 master kernel: drbd0: syncer send failed!! 
Jan 31 17:04:29 master kernel: drbd0: Syncer send failed. 
Jan 31 17:04:29 master kernel: drbd0: Connection lost. 
Jan 31 17:04:29 master kernel: drbd0: Connection established. size=2040220 
KB / blksize=4096 B 
Jan 31 17:04:29 master kernel: drbd0: Synchronisation started blks=15 
Jan 31 17:04:35 master kernel: drbd0: syncer send failed!! 
Jan 31 17:04:35 master kernel: drbd0: Syncer send failed. 
Jan 31 17:04:35 master kernel: drbd0: Connection lost. 
.. 


(on slave) 
.. 
Jan 31 16:15:40 slave kernel: drbd: initialised. Version: 0.6.10 
(api:64/proto:62) 
Jan 31 16:15:40 slave kernel: drbd0: Connection established. size=2040220 KB 
/ blksize=4096 B 
Jan 31 16:15:40 slave kernel: klogd 1.4.1, ---------- state change 
---------- 
Jan 31 16:15:40 slave kernel: drbd0: magic?? m: 0 c: 0 l: 0 
Jan 31 16:15:40 slave kernel: drbd0: unacked_cnt!=0 
Jan 31 16:15:40 slave kernel: drbd0: Connection lost. 
Jan 31 16:15:50 slave kernel: drbd0: Connection established. size=2040220 KB 
/ blksize=4096 B 
Jan 31 16:15:50 slave kernel: drbd0: magic?? m: 0 c: 0 l: 0 
Jan 31 16:15:51 slave kernel: drbd0: unacked_cnt!=0 
Jan 31 16:15:51 slave kernel: drbd0: Connection lost. 
Jan 31 16:15:51 slave kernel: drbd0: Connection established. size=2040220 KB 
/ blksize=4096 B 
Jan 31 16:15:51 slave kernel: drbd0: magic?? m: 0 c: 0 l: 0 
Jan 31 16:15:51 slave kernel: drbd0: unacked_cnt!=0 
Jan 31 16:15:51 slave kernel: drbd0: Connection lost. 
Jan 31 16:15:51 slave kernel: drbd0: Connection established. size=2040220 KB 
/ blksize=4096 B 
Jan 31 16:15:51 slave kernel: drbd0: magic?? m: 0 c: 0 l: 0 
Jan 31 16:15:51 slave kernel: drbd0: unacked_cnt!=0 
Jan 31 16:15:51 slave kernel: drbd0: Connection lost. 
.. 

The kernel is 2.4.22 and the distro is RH9. 


Any help will be very appretiated. 
If this informations were not enough, please ask me for more datails. 

Thanks in advance. 

Sidney Amaral 

_________________________________________________________
Voce quer um iGMail protegido contra vírus e spams?
Clique aqui: http://www.igmailseguro.ig.com.br
Ofertas imperdíveis! Link: http://www.americanas.com.br/ig/




More information about the drbd-user mailing list