Re: modem-manager hangs while starting up



On Tue, 2012-07-03 at 16:17 +0200, Harald Jung wrote:
> Hi there,
> 
> i've compiled the current modem-manager version 0.5.2.0 under a hardened
> gentoo.
> The kernel version is 3.4.4
> The modem-manager hangs while starting up

Can you gdb attach to ModemManager and get a backtrace of where it's at?
Also, what kind of modem is attached?  There are some devices that (due
to kernel bugs) block various file operations for about 5 or 10 seconds,
and that needs to be fixed in the kernel (option "send setup" blacklist,
to be specific).  This might be one of those.

Dan

> ThinClient,initial:root:/usr/lib $ modem-manager --debug
> modem-manager[4195]: <info>  [1341328334.850996] [main.c:167] main():
> ModemManager (version 0.5.2.0) starting...
> modem-manager[4195]: <info>  [1341328334.853851] [mm-manager.c:120]
> load_plugin(): Loaded plugin AnyData
> modem-manager[4195]: <info>  [1341328334.854050] [mm-manager.c:120]
> load_plugin(): Loaded plugin Generic
> modem-manager[4195]: <info>  [1341328334.854316] [mm-manager.c:120]
> load_plugin(): Loaded plugin Gobi
> modem-manager[4195]: <info>  [1341328334.854539] [mm-manager.c:120]
> load_plugin(): Loaded plugin Option High-Speed
> modem-manager[4195]: <info>  [1341328334.854826] [mm-manager.c:120]
> load_plugin(): Loaded plugin Huawei
> modem-manager[4195]: <info>  [1341328334.855023] [mm-manager.c:120]
> load_plugin(): Loaded plugin Longcheer
> modem-manager[4195]: <info>  [1341328334.855242] [mm-manager.c:120]
> load_plugin(): Loaded plugin Ericsson MBM
> modem-manager[4195]: <info>  [1341328334.855430] [mm-manager.c:120]
> load_plugin(): Loaded plugin MotoC
> modem-manager[4195]: <info>  [1341328334.855700] [mm-manager.c:120]
> load_plugin(): Loaded plugin Nokia
> modem-manager[4195]: <info>  [1341328334.855975] [mm-manager.c:120]
> load_plugin(): Loaded plugin Novatel
> modem-manager[4195]: <info>  [1341328334.856185] [mm-manager.c:120]
> load_plugin(): Loaded plugin Option
> modem-manager[4195]: <info>  [1341328334.856507] [mm-manager.c:120]
> load_plugin(): Loaded plugin Sierra
> modem-manager[4195]: <info>  [1341328334.856715] [mm-manager.c:120]
> load_plugin(): Loaded plugin SimTech
> modem-manager[4195]: <info>  [1341328334.856995] [mm-manager.c:120]
> load_plugin(): Loaded plugin ZTE
> 
> if i run a strace, the last lines are:
> open("/dev/.udev/data/n4", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 21
> fstat64(21, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0xb145c000
> read(21, "", 4096)                      = 0
> close(21)                               = 0
> munmap(0xb145c000, 4096)                = 0
> poll([{fd=5, events=POLLIN}, {fd=4, events=POLLIN}, {fd=7,
> events=POLLIN}, {fd=8, events=POLLIN}, {fd=9, events=POLLIN}, {fd=10,
> events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=13,
> events=POLLIN}, {fd=14, events=POLLIN}, {fd=15, events=POLLIN}, {fd=16,
> events=POLLIN}, {fd=17, events=POLLIN}, {fd=18, events=POLLIN}, {fd=19,
> events=POLLIN}, {fd=20, events=POLLIN}, {fd=6, events=POLLIN}], 17, -1)
> = 1 ([{fd=4, revents=POLLIN}])
> read(5, 0xbfd6ca7c, 16)                 = -1 EAGAIN (Resource
> temporarily unavailable)
> write(5, "\1\0\0\0\0\0\0\0", 8)         = 8
> recvmsg(4, {msg_name(0)=NULL, msg_iov(1)=[{"l\4\1\1\36\0\0\0\7\0\0\0\211
> \0\0\0\1\1o\0\25\0\0\0/org/fre"..., 2048}], msg_controllen=0,
> msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 806
> write(5, "\1\0\0\0\0\0\0\0", 8)         = 8
> write(5, "\1\0\0\0\0\0\0\0", 8)         = 8
> write(5, "\1\0\0\0\0\0\0\0", 8)         = 8
> write(5, "\1\0\0\0\0\0\0\0", 8)         = 8
> recvmsg(4, 0xbfd6c838, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource
> temporarily unavailable)
> write(5, "\1\0\0\0\0\0\0\0", 8)         = 8
> poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8,
> events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}, {fd=11,
> events=POLLIN}, {fd=12, events=POLLIN}, {fd=13, events=POLLIN}, {fd=14,
> events=POLLIN}, {fd=15, events=POLLIN}, {fd=16, events=POLLIN}, {fd=17,
> events=POLLIN}, {fd=18, events=POLLIN}, {fd=19, events=POLLIN}, {fd=20,
> events=POLLIN}, {fd=6, events=POLLIN}, {fd=4, events=POLLIN}], 17, 0) =
> 1 ([{fd=5, revents=POLLIN}])
> read(5, "\6\0\0\0\0\0\0\0", 16)         = 8
> poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8,
> events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}, {fd=11,
> events=POLLIN}, {fd=12, events=POLLIN}, {fd=13, events=POLLIN}, {fd=14,
> events=POLLIN}, {fd=15, events=POLLIN}, {fd=16, events=POLLIN}, {fd=17,
> events=POLLIN}, {fd=18, events=POLLIN}, {fd=19, events=POLLIN}, {fd=20,
> events=POLLIN}, {fd=6, events=POLLIN}, {fd=4, events=POLLIN}], 17, 0) =
> 0 (Timeout)
> read(5, 0xbfd6ca7c, 16)                 = -1 EAGAIN (Resource
> temporarily unavailable)
> poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8,
> events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}, {fd=11,
> events=POLLIN}, {fd=12, events=POLLIN}, {fd=13, events=POLLIN}, {fd=14,
> events=POLLIN}, {fd=15, events=POLLIN}, {fd=16, events=POLLIN}, {fd=17,
> events=POLLIN}, {fd=18, events=POLLIN}, {fd=19, events=POLLIN}, {fd=20,
> events=POLLIN}, {fd=6, events=POLLIN}, {fd=4, events=POLLIN}], 17, 0) =
> 0 (Timeout)
> read(5, 0xbfd6ca7c, 16)                 = -1 EAGAIN (Resource
> temporarily unavailable)
> poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8,
> events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}, {fd=11,
> events=POLLIN}, {fd=12, events=POLLIN}, {fd=13, events=POLLIN}, {fd=14,
> events=POLLIN}, {fd=15, events=POLLIN}, {fd=16, events=POLLIN}, {fd=17,
> events=POLLIN}, {fd=18, events=POLLIN}, {fd=19, events=POLLIN}, {fd=20,
> events=POLLIN}, {fd=6, events=POLLIN}, {fd=4, events=POLLIN}], 17, 0) =
> 0 (Timeout)
> read(5, 0xbfd6ca7c, 16)                 = -1 EAGAIN (Resource
> temporarily unavailable)
> poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8,
> events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}, {fd=11,
> events=POLLIN}, {fd=12, events=POLLIN}, {fd=13, events=POLLIN}, {fd=14,
> events=POLLIN}, {fd=15, events=POLLIN}, {fd=16, events=POLLIN}, {fd=17,
> events=POLLIN}, {fd=18, events=POLLIN}, {fd=19, events=POLLIN}, {fd=20,
> events=POLLIN}, {fd=6, events=POLLIN}, {fd=4, events=POLLIN}], 17, -1
> 
> 
> 
> best regards 
> Harald
> 
> _______________________________________________
> networkmanager-list mailing list
> networkmanager-list gnome org
> https://mail.gnome.org/mailman/listinfo/networkmanager-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]