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/.
Mam problem z tym modułem, poprzednio nie ładował się nawet z palca ale znalazłem, że należy dodać mu takie coś
it87 force_id=0x8728
i o ile przy montowaniu z palca działa to już dodanie tego do pliku konfiguracyjnego nie koniecznie. Dodanie wpisu do
/etc/modules
albo do
/etc/modules-load.d/modules.conf
powoduje wyplucie podczas startu systemu błąd ładowania modułu. Ludzie napisałi w wątku którym się sugerowałem, że u nich zadziałało a u mnie niestety nie chce.
Ostatnio edytowany przez skullman (2016-01-19 17:16:18)
Offline
Zrób plik /etc/modprobe.d/it87.conf:
options it87 force_id=0x8728[/quote]
Offline
Niestety, też nie działa, nie pisałem o tym w pierwszym poście ale już to robiłem wcześniej, później usunąłem ten plik i teraz zrobiłem to jeszcze raz ale znowu ten sam błąd.
Offline
A w tym komunikacie błędu jest jakaś treść?
I gdzie w końcu te parametry dopisujesz?
Offline
A w tym komunikacie to mi wywala takie oto cudo:
Starting Load Kernel Modules... [FAILED] Failed to start Load Kernel Modules. See 'systemctl status system-modules-load.service' for details.
więc ja tak robię i dostaję coś takiego
# systemctl status system-modules-load.service ● system-modules-load.service Loaded: not-found (Reason: No such file or directory) Active: inactive (dead)
Chyba jasno napisałeś, gdzie to ma być, w necie też to już widziałem dlatego mnie dziwi, że nie działa.
Ostatnio edytowany przez skullman (2016-01-19 16:18:37)
Offline
Tam nie masz literówki?
Powinno być [tt]systemd-modules-load[/tt]:
systemctl status systemd-modules-load ● systemd-modules-load.service - Load Kernel Modules Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static; vendor preset: enabled) Active: active (exited) since Tue 2016-01-19 09:10:01 GMT; 6h ago Docs: man:systemd-modules-load.service(8) man:modules-load.d(5) Process: 194 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=0/SUCCESS) Main PID: 194 (code=exited, status=0/SUCCESS) Tasks: 0 (limit: 512) CGroup: /system.slice/systemd-modules-load.service
Pytałem bo parametry modułów dopisuje się w /etc/modules-load.d/*.conf a nie w /etc/modules.
Spróbuj wykonać ręcznie:
/lib/systemd/systemd-modules-load
Offline
O, widzisz, pomogło
# systemctl status systemd-modules-load.service -l ● systemd-modules-load.service - Load Kernel Modules Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static; vendor preset: enabled) Active: failed (Result: exit-code) since wto 2016-01-19 16:04:30 CET; 26min ago Docs: man:systemd-modules-load.service(8) man:modules-load.d(5) Process: 624 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE) Main PID: 624 (code=exited, status=1/FAILURE) sty 19 16:04:30 debian-ss systemd[1]: Starting Load Kernel Modules... sty 19 16:04:30 debian-ss systemd-modules-load[624]: libkmod: ERROR ../libkmod/libkmod-config.c:635 kmod_config_parse: /etc/modprobe.d/it87.conf line 1: ignoring bad line starting with 'it87' sty 19 16:04:30 debian-ss systemd-modules-load[624]: Failed to find module 'it87 force_id=0x8728' sty 19 16:04:30 debian-ss systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE sty 19 16:04:30 debian-ss systemd[1]: Failed to start Load Kernel Modules. sty 19 16:04:30 debian-ss systemd[1]: systemd-modules-load.service: Unit entered failed state. sty 19 16:04:30 debian-ss systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Offline
cat /etc/modprobe.d/it87.conf
Offline
Wiem, ale to na próbę było, już poprawione:
# systemctl status systemd-modules-load.service -l ● systemd-modules-load.service - Load Kernel Modules Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static; vendor preset: enabled) Active: failed (Result: exit-code) since wto 2016-01-19 16:37:39 CET; 30s ago Docs: man:systemd-modules-load.service(8) man:modules-load.d(5) Process: 487 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE) Main PID: 487 (code=exited, status=1/FAILURE) sty 19 16:37:39 debian-ss systemd[1]: Starting Load Kernel Modules... sty 19 16:37:39 debian-ss systemd-modules-load[487]: Failed to find module 'it87 force_id=0x8728' sty 19 16:37:39 debian-ss systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE sty 19 16:37:39 debian-ss systemd[1]: Failed to start Load Kernel Modules. sty 19 16:37:39 debian-ss systemd[1]: systemd-modules-load.service: Unit entered failed state. sty 19 16:37:39 debian-ss systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
# cat /etc/modprobe.d/it87.conf options it87 force_id=0x8728
Offline
Nic zostały żadne śmieci w /etc/modules lub /etc/modules-load.d/modules.conf?
Offline
A widzisz, miałeś rację, zostały ale już posprzątałem:
# cat /etc/modules # /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with "#" are ignored. # Generated by sensors-detect on Sun Jan 10 22:35:23 2016 # Chip drivers
# cat /etc/modules-load.d/modules.conf # /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with "#" are ignored. # Generated by sensors-detect on Sun Jan 10 22:35:23 2016 # Chip drivers
system wstaje bez błędów, wszystko wydaje się być OK:
# systemctl status systemd-modules-load.service -l ● systemd-modules-load.service - Load Kernel Modules Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static; vendor preset: enabled) Active: active (exited) since wto 2016-01-19 16:59:32 CET; 44s ago Docs: man:systemd-modules-load.service(8) man:modules-load.d(5) Process: 190 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=0/SUCCESS) Main PID: 190 (code=exited, status=0/SUCCESS) CGroup: /system.slice/systemd-modules-load.service
Jest tylko jeden mały szkopuł, moduł nie działa. Ładuję go ręcznie i zaczyna śmigać. Przynajmniej posprzątałem w systemie.
Offline
No bo go nie ładujesz ze startem, dodaj sobie nazwę tego modułu do /etc/modules , samą nazwę, bez żadnych opcji.
Tak by uprzedzić kolejne pytania. Ten plik /etc/modules i katalog /etc/modules-load.d/ odpowiadają za ładowanie modułów na starcie systemu. Wszelkie opcje dla tych modułów określa się w plikach w katalogu /etc/modprobe.d/ . Ty potrzebujesz załadować moduł na starcie i dodatkowo jeszcze opcje, zatem dwie rzeczy musisz tutaj ustawić.
Ostatnio edytowany przez morfik (2016-01-19 17:16:07)
Offline
O widzisz, działa jak natura chciała. Dzięki panowie i sorki za zmarnowany wasz czas.
Offline
Time (s) | Query |
---|---|
0.00008 | SET CHARSET latin2 |
0.00006 | SET NAMES latin2 |
0.00120 | 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='18.219.224.103' WHERE u.id=1 |
0.00243 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.219.224.103', 1713574690) |
0.00033 | SELECT * FROM punbb_online WHERE logged<1713574390 |
0.00078 | DELETE FROM punbb_online WHERE ident='185.191.171.1' |
0.00058 | DELETE FROM punbb_online WHERE ident='185.191.171.11' |
0.00079 | SELECT topic_id FROM punbb_posts WHERE id=295958 |
0.00103 | SELECT id FROM punbb_posts WHERE topic_id=28143 ORDER BY posted |
0.00061 | 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=28143 AND t.moved_to IS NULL |
0.00008 | SELECT search_for, replace_with FROM punbb_censoring |
0.00105 | 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=28143 ORDER BY p.id LIMIT 0,25 |
0.00135 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=28143 |
Total query time: 0.01037 s |