View previous topic :: View next topic |
Author |
Message |
klausi2002 n00b
Joined: 16 May 2007 Posts: 2
|
Posted: Wed May 16, 2007 2:33 pm Post subject: [solved] mISDN start crashes the system |
|
|
Hi,
I have setup an Asterisk server with SIP-Phones and 2 ISDN-Cards. This setup worked fine with Asterisk 1.2.17, mISDN 1.1.2, and misdnuser 1.1.2.. A recent world-update suggested to update to misdn 1.1.3 which compiled fine. After stopping Asterisk and executing the system stopped responding. Any parameter change I could think of didn't fix this problem. I tried to go back to the working setup with misdn 1.1.2 but the ebuild seems to have been removed from the portage tree. Since I couldn't find anybody else who had the same problem, I am posting this here.
My emerge info:
Code: |
~ # emerge --info
Portage 2.1.2.2 (hardened/x86/2.6, gcc-3.4.6, glibc-2.5-r2, 2.6.20-hardened-r2 i686)
=================================================================
System uname: 2.6.20-hardened-r2 i686 AMD Duron(tm) Processor
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 16 May 2007 06:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python: 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.60
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.intergenia.de ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://pandemonium.tiscali.de/pub/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/voip /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="activefilter berkdb bri crypt cups dhcp ftp hardend hardened imap ipv6 jabber java lm_sensors midi mmx mppe-mppc nls pam pic pri readline samba sasl sockets sse ssl tcpd tetex threads unicode urandom usb vhost wifi x86 xml xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" MISDN_CARDS="avmfritz hfcpci" USERLAND="GNU"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
|
My misdn-config-file
Code: | ~ # cat /etc/misdn-init.conf
card=1,hfcpci
#card=2,avmfritz
te_ptmp=2
nt_ptmp=1
option=2,master_clock
poll=128
#dsp_poll=128
#dsp_options=0
dtmfthreshold=100
debug=0
|
The "card=2,avmfritz" line is commented out, because it seems to be the the only module I use from the mISDN-Modules which causes the crash.
This is what lsmod lists right after system start. As far as I know, there has been no mISDN startup performed jet, so I don't know, where those modules come from.
udev complains to not be able to modprobe avmfritz at startup (before /etc/modules.autoload... is beeing "executed") I didn't find the file, asking udev to try to modprobe avmfritz.
Code: | ~ # lsmod
Module Size Used by
nfsd 69928 13
exportfs 3904 1 nfsd
lockd 45160 2 nfsd
sunrpc 106844 9 nfsd,lockd
sit 7844 0
ipv6 195520 27 sit
tun 7680 2
rtc 9136 0
sha256 8512 0
sha512 8608 0
aes 27616 0
dm_crypt 9960 0
dm_mod 38604 1 dm_crypt
ppp_async 8100 0
ppp_generic 19732 1 ppp_async
slhc 4416 1 ppp_generic
crc_ccitt 1312 1 ppp_async
bridge 36216 0
r8169 20856 0
parport_pc 27748 0
parport 22472 1 parport_pc
via_agp 6528 1
agpgart 19028 1 via_agp
i2c_viapro 6012 0
via686a 9580 0
hwmon 1764 1 via686a
i2c_isa 3296 1 via686a
i2c_core 11456 3 i2c_viapro,via686a,i2c_isa
mISDN_isac 12800 0
mISDN_core 57824 1 mISDN_isac
uhci_hcd 17364 0
usbcore 85932 2 uhci_hcd
pcspkr 1888 0
|
modprobing avmfritz directly does not cause the crash, but will cause a crash when I ask the system to restart, right before it would power off and power on again.
Maybe someone knows how this can be fixed, thanks so far...
[EDIT]
If you think, I forgot important information feel free to ask.
I tried a linux-2.6.20-gentoo-r8 kernel, which didn't help at all. I tried other profiles, which is the reason for this glibc version reported by "emerge --info".
My biggest problem is, that there is no error-output. The system freezes and the logfiles ends the moment the module avmfritz is beeing loaded. No reason given, why this doesn't work. What I thought looked strange is, that the computer still responds to ping-requests, but no other service seems to work. SSH freezes, no ssh-login. NTP stops to respond. On the lokal machine, there is no response to any key, the display-output doesn't change any more.
The output when trying to insert the misdn-modules is:
Code: | etc # misdn-init start
-----------------------------------------
Loading module(s) for your misdn-cards:
-----------------------------------------
/sbin/modprobe --ignore-install hfcpci protocol=0x12 layermask=0x3
/sbin/modprobe --ignore-install avmfritz protocol=0x2 layermask=0xf |
_________________ My Computer:
AMD Duron 800MHz, 265 MB RAM, AVM-Fritzcard PCI, ACER ISDN-Surf (HFC-Chip)
Last edited by klausi2002 on Sat Jun 16, 2007 11:38 am; edited 1 time in total |
|
Back to top |
|
|
klausi2002 n00b
Joined: 16 May 2007 Posts: 2
|
Posted: Sat Jun 16, 2007 11:36 am Post subject: This seems to have been a BUG |
|
|
As in https://bugs.gentoo.org/show_bug.cgi?id=178765 described, this seems to have been a bug, which will hopefully be resolved in mISDN-1.1.4. _________________ My Computer:
AMD Duron 800MHz, 265 MB RAM, AVM-Fritzcard PCI, ACER ISDN-Surf (HFC-Chip) |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|