Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Jakiś czas temu zaktualizowałem system i od tego czasu zaczął występować problem z NM.
Mianowicie korzystam z modemu 3g na usb i jak rozłączę połączenie to NM przestaje widzieć modem. Oczywiście moduł jest ttyUSB są w /dev. Podejrzewam, że może być to spowodowane błędnym działaniem Modem Managera ponieważ po zabiciu jego procesu już nie wstaje. Wcześniej MM automatycznie wstawał. Pomaga wyciągnięcie i włożenie modemu ponownie co utwierdza mnie w przekonaniu, że to jakiś problem z MM/dbus (może się mylę).
Zna może ktoś rozwiązanie tego problemu lub ma jakieś sensowne namiary na jakąś dokumentację MM? Niestety poza ogólnikami nic nie znalazłem.
EDIT
Wyłączenie NM i uruchomienie go przywraca możliwość ustanowienia połączenia - NM wtedy znowu widzi modem. Dalej jednak nie znam przyczyny i nie potrafię rozwiązać problemu właściwie.
ps. log systemowy:
Aug 13 01:54:44 localhost NetworkManager[1509]: <info> (ttyUSB0): now unmanaged Aug 13 01:54:44 localhost NetworkManager[1509]: <info> (ttyUSB0): device state change: 8 -> 1 (reason 36) Aug 13 01:54:44 localhost NetworkManager[1509]: <info> (ttyUSB0): deactivating device (reason: 36). Aug 13 01:54:44 localhost NetworkManager[1509]: <error> [1313193284.298531] [nm-system.c:1229] check_one_route(): (ppp0): error -34 returned from rtnl_route_del(): Netlink Error (errno = Numerical result out of range) Aug 13 01:54:44 localhost NetworkManager[1509]: <info> (ttyUSB0): cleaning up... Aug 13 01:54:44 localhost NetworkManager[1509]: <info> (ttyUSB0): taking down device. Aug 13 01:54:44 localhost NetworkManager[1509]: SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0) Aug 13 01:55:06 localhost NetworkManager[1509]: <warn> (ttyUSB0): failed to look up interface index Aug 13 01:55:06 localhost NetworkManager[1509]: <info> (ttyUSB0): new GSM device (driver: 'option1' ifindex: -1) Aug 13 01:55:06 localhost NetworkManager[1509]: <info> (ttyUSB0): exported as /org/freedesktop/NetworkManager/Devices/3 Aug 13 01:55:06 localhost NetworkManager[1509]: <info> (ttyUSB0): now managed Aug 13 01:55:06 localhost NetworkManager[1509]: <info> (ttyUSB0): device state change: 1 -> 2 (reason 2) Aug 13 01:55:06 localhost NetworkManager[1509]: <info> (ttyUSB0): deactivating device (reason: 2). Aug 13 01:55:06 localhost NetworkManager[1509]: <info> (ttyUSB0): device state change: 2 -> 3 (reason 0) Aug 13 01:55:06 localhost NetworkManager[1509]: <info> Activation (ttyUSB0) starting connection 'Orange' Aug 13 01:55:06 localhost NetworkManager[1509]: <info> (ttyUSB0): device state change: 3 -> 4 (reason 0) Aug 13 01:55:06 localhost NetworkManager[1509]: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) scheduled... Aug 13 01:55:06 localhost NetworkManager[1509]: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) started... Aug 13 01:55:06 localhost NetworkManager[1509]: <info> (ttyUSB0): device state change: 4 -> 6 (reason 0) Aug 13 01:55:06 localhost NetworkManager[1509]: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) complete. Aug 13 01:55:06 localhost NetworkManager[1509]: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) scheduled... Aug 13 01:55:06 localhost NetworkManager[1509]: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) started... Aug 13 01:55:06 localhost NetworkManager[1509]: <info> (ttyUSB0): device state change: 6 -> 4 (reason 0) Aug 13 01:55:06 localhost NetworkManager[1509]: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) complete. Aug 13 01:55:06 localhost NetworkManager[1509]: <info> Activation (ttyUSB0) Stage 2 of 5 (Device Configure) scheduled... Aug 13 01:55:06 localhost NetworkManager[1509]: <info> Activation (ttyUSB0) Stage 2 of 5 (Device Configure) starting... Aug 13 01:55:06 localhost NetworkManager[1509]: <info> (ttyUSB0): device state change: 4 -> 5 (reason 0) Aug 13 01:55:06 localhost NetworkManager[1509]: <info> Activation (ttyUSB0) Stage 2 of 5 (Device Configure) successful. Aug 13 01:55:06 localhost NetworkManager[1509]: <info> Activation (ttyUSB0) Stage 3 of 5 (IP Configure Start) scheduled. Aug 13 01:55:06 localhost NetworkManager[1509]: <info> Activation (ttyUSB0) Stage 2 of 5 (Device Configure) complete. Aug 13 01:55:06 localhost NetworkManager[1509]: <info> Activation (ttyUSB0) Stage 3 of 5 (IP Configure Start) started... Aug 13 01:55:06 localhost NetworkManager[1509]: <info> (ttyUSB0): device state change: 5 -> 7 (reason 0) Aug 13 01:55:06 localhost NetworkManager[1509]: <info> starting PPP connection Aug 13 01:55:06 localhost NetworkManager[1509]: <info> pppd started with pid 3190 Aug 13 01:55:06 localhost NetworkManager[1509]: <info> Activation (ttyUSB0) Stage 3 of 5 (IP Configure Start) complete. Aug 13 01:55:06 localhost NetworkManager[1509]: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0) Aug 13 01:55:06 localhost NetworkManager[1509]: SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found. Aug 13 01:55:09 localhost NetworkManager[1509]: <info> PPP manager(IP Config Get) reply received. Aug 13 01:55:09 localhost NetworkManager[1509]: <info> Activation (ttyUSB0) Stage 4 of 5 (IP4 Configure Get) scheduled... Aug 13 01:55:09 localhost NetworkManager[1509]: <info> Activation (ttyUSB0) Stage 4 of 5 (IP4 Configure Get) started... Aug 13 01:55:09 localhost NetworkManager[1509]: <info> Activation (ttyUSB0) Stage 5 of 5 (IP Configure Commit) scheduled... Aug 13 01:55:09 localhost NetworkManager[1509]: <info> Activation (ttyUSB0) Stage 4 of 5 (IP4 Configure Get) complete. Aug 13 01:55:09 localhost NetworkManager[1509]: <info> Activation (ttyUSB0) Stage 5 of 5 (IP Configure Commit) started... Aug 13 01:55:10 localhost NetworkManager[1509]: <info> (ttyUSB0): device state change: 7 -> 8 (reason 0) Aug 13 01:55:10 localhost NetworkManager[1509]: <info> Policy set 'Orange' (ppp0) as default for IPv4 routing and DNS. Aug 13 01:55:10 localhost NetworkManager[1509]: <info> Activation (ttyUSB0) successful, device activated. Aug 13 01:55:10 localhost NetworkManager[1509]: <info> Activation (ttyUSB0) Stage 5 of 5 (IP Configure Commit) complete.
[b]EDIT[/b]
Problem się rozwiązał sam po instalacji Network Managera z backportów.
Widocznie to bug który w Squeeze się pojawił, a w późniejszych wersjach został naprawiony i wersja 0.8.4.0-2~bpo60+1 już go nie zawiera. Zachowanie podobne do znanego buga z Fedory i Ubuntu więc to pewnie to. Można rzec, że jednak nie wszystkie aktualizacje w stable są tak solidnie przetestowane skoro mała poprawka do NM zepsuła go...
Ostatnio edytowany przez anemus (2011-08-13 04:26:01)
Offline
Time (s) | Query |
---|---|
0.00009 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00088 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.144.25.248' WHERE u.id=1 |
0.00093 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.144.25.248', 1732693748) |
0.00043 | SELECT * FROM punbb_online WHERE logged<1732693448 |
0.00082 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=19426 AND t.moved_to IS NULL |
0.00005 | SELECT search_for, replace_with FROM punbb_censoring |
0.00127 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=19426 ORDER BY p.id LIMIT 0,25 |
0.00095 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=19426 |
Total query time: 0.00546 s |