[Asterisk-Users] Zaptel HDLC (NetHDLC) errors on modprobe, Linux 2.6 kernel

Lenny Tropiano / asterisk.org Mailing list asterisk at icus.com
Tue Dec 7 21:44:52 MST 2004


I have my Linux 2.6 kernel with the necessary HDLC config and also recompiled
zaptel accordingly.  On modprobe, I get:

Found a Wildcard: Digium Wildcard T100P T1/PRI
Debug: sleeping function called from invalid context at mm/slab.c:2000
in_atomic():0[expected: 0], irqs_disabled():1
 [<0211e605>] __might_sleep+0x82/0x8c
 [<02144643>] kmem_cache_alloc+0x1d/0x57
 [<42ad7a2c>] zt_ctl_ioctl+0x112c/0x16b0 [zaptel]
 [<022d6c00>] __cond_resched+0x14/0x39
 [<428a315a>] ext3_get_inode_loc+0x4f/0x210 [ext3]
 [<0217269c>] d_instantiate+0xa3/0xa9
 [<021729ea>] d_splice_alias+0x145/0x14e
 [<428a4ec9>] ext3_lookup+0x70/0x89 [ext3]
 [<0216802f>] real_lookup+0x6e/0xd2
 [<02171457>] dput+0x1b/0x287
 [<0216901d>] link_path_walk+0xd3c/0xdf7
 [<02163ffc>] cdev_get+0x33/0x68
 [<02163f7a>] exact_lock+0x7/0x11
 [<0221850d>] kobj_lookup+0x132/0x194
 [<02163f70>] exact_match+0x0/0x3
 [<0216d078>] sys_ioctl+0x23d/0x2a0
divert: not allocating divert_blk for non-ethernet device hdlc0
Registered tone zone 0 (United States / North America)
Using ESF/B8ZS coding/framing
Calling startup (flags is 4099)
Using ESF/B8ZS coding/framing
Calling startup (flags is 4099)
divert: no divert_blk to free, hdlc0 not ethernet
Debug: sleeping function called from invalid context at mm/slab.c:2000
in_atomic():0[expected: 0], irqs_disabled():1
 [<0211e605>] __might_sleep+0x82/0x8c
 [<02144643>] kmem_cache_alloc+0x1d/0x57
 [<42ad7a2c>] zt_ctl_ioctl+0x112c/0x16b0 [zaptel]
 [<02158793>] rw_vm+0x2df/0x331
 [<02171457>] dput+0x1b/0x287
 [<0216901d>] link_path_walk+0xd3c/0xdf7
 [<0216480a>] cp_new_stat64+0xee/0x10d
 [<428abfb6>] ext3_permission+0x0/0x153 [ext3]
 [<02163ffc>] cdev_get+0x33/0x68
 [<0216d078>] sys_ioctl+0x23d/0x2a0


Zaptel config /etc/zaptel.conf:
  span=1,1,0,esf,b8zs
  nethdlc=1-24
  loadzone = us
  defaultzone=us

The HDLC config does work, I am able to sethdlc and bring up the connection.... not sure
why we're getting those errors above, is there anything that can be done to make it cleanly
load?

Thanks.





More information about the asterisk-users mailing list