ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] hibernate & etcnet
@ 2005-09-27  9:03 Arioch
  2005-09-27 10:29 ` Alex Yustasov
  0 siblings, 1 reply; 12+ messages in thread
From: Arioch @ 2005-09-27  9:03 UTC (permalink / raw)
  To: sisyphus

Сеть подключена через eth0/dhcp (домашний раутер D-Link)

После выхода из сна сети нет, ifconfig показывает что eth0 is up, но 
никаких IP-адресов не имеет (привет, ifplugd ;) ).

Если выдернуть провод - то секунд через 10-15 пишет в лог, что dhcpcd 
освобождает адрес, и потом если воткнуть - получает его заново.






^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [sisyphus] hibernate & etcnet
  2005-09-27  9:03 [sisyphus] hibernate & etcnet Arioch
@ 2005-09-27 10:29 ` Alex Yustasov
  2005-09-27 10:42   ` [sisyphus] " Arioch
  0 siblings, 1 reply; 12+ messages in thread
From: Alex Yustasov @ 2005-09-27 10:29 UTC (permalink / raw)
  To: sisyphus

On Tue, Sep 27, 2005 at 01:03:45PM +0400, Arioch wrote:
> Сеть подключена через eth0/dhcp (домашний раутер D-Link)
> 
> После выхода из сна сети нет, ifconfig показывает что eth0 is up, но 
> никаких IP-адресов не имеет (привет, ifplugd ;) ).
> 
> Если выдернуть провод - то секунд через 10-15 пишет в лог, что dhcpcd 
> освобождает адрес, и потом если воткнуть - получает его заново.
Перед сном что-то делать с dhcp, может service dhcp stop.
Проснувшись - start.
Если заработает - в hibernate.conf 
RestartServices dhcp

-- 
    Alex Yustasov


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [sisyphus] Re: hibernate & etcnet
  2005-09-27 10:29 ` Alex Yustasov
@ 2005-09-27 10:42   ` Arioch
  2005-09-27 11:23     ` Alex Yustasov
  2005-09-27 11:24     ` Denis Ovsienko
  0 siblings, 2 replies; 12+ messages in thread
From: Arioch @ 2005-09-27 10:42 UTC (permalink / raw)
  To: sisyphus

Alex Yustasov пишет:

> Перед сном что-то делать с dhcp, может service dhcp stop.
> Проснувшись - start.
> Если заработает - в hibernate.conf 
> RestartServices dhcp
>

Нет такой службы - DHCP client. Его вызывает и управляет им etcnet.

"dhcp" (т.е. сервер DHCP) тут и вовсе не при чем.

Меню смущает, что тут где-то в etcnet несогласованность.





^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [sisyphus] Re: hibernate & etcnet
  2005-09-27 10:42   ` [sisyphus] " Arioch
@ 2005-09-27 11:23     ` Alex Yustasov
  2005-09-27 11:43       ` Arioch
  2005-09-27 11:24     ` Denis Ovsienko
  1 sibling, 1 reply; 12+ messages in thread
From: Alex Yustasov @ 2005-09-27 11:23 UTC (permalink / raw)
  To: sisyphus

On Tue, Sep 27, 2005 at 02:42:32PM +0400, Arioch wrote:
> Alex Yustasov пишет:
> 
> >Перед сном что-то делать с dhcp, может service dhcp stop.
> >Проснувшись - start.
> >Если заработает - в hibernate.conf 
> >RestartServices dhcp
> >
> 
> Нет такой службы - DHCP client. Его вызывает и управляет им etcnet.
> 
> "dhcp" (т.е. сервер DHCP) тут и вовсе не при чем.
> 
> Меню смущает, что тут где-то в etcnet несогласованность.

А случайно service network в hibernate не дергается?

-- 
    Alex Yustasov


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [sisyphus] Re: hibernate & etcnet
  2005-09-27 10:42   ` [sisyphus] " Arioch
  2005-09-27 11:23     ` Alex Yustasov
@ 2005-09-27 11:24     ` Denis Ovsienko
  2005-09-27 11:45       ` Arioch
  2005-09-27 12:57       ` Arioch
  1 sibling, 2 replies; 12+ messages in thread
From: Denis Ovsienko @ 2005-09-27 11:24 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

> Меню смущает, что тут где-то в etcnet несогласованность.
Мне ни разу такой сценарий не встречался, поэтому откуда ей взяться? Научите
воспроизводить --- будет чиниться.

-- 
    DO4-UANIC


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [sisyphus] Re: hibernate & etcnet
  2005-09-27 11:23     ` Alex Yustasov
@ 2005-09-27 11:43       ` Arioch
  2005-09-27 11:59         ` Alex Yustasov
  0 siblings, 1 reply; 12+ messages in thread
From: Arioch @ 2005-09-27 11:43 UTC (permalink / raw)
  To: sisyphus

> А случайно service network в hibernate не дергается?
> 
в hibernate.conf сервисы только slmodemd и закомметнаренные  alsa, 
postfix, но не network




^ permalink raw reply	[flat|nested] 12+ messages in thread

* [sisyphus] Re: hibernate & etcnet
  2005-09-27 11:24     ` Denis Ovsienko
@ 2005-09-27 11:45       ` Arioch
  2005-09-27 12:57       ` Arioch
  1 sibling, 0 replies; 12+ messages in thread
From: Arioch @ 2005-09-27 11:45 UTC (permalink / raw)
  To: sisyphus

Denis Ovsienko пишет:
>>Меню смущает, что тут где-то в etcnet несогласованность.
> 
> Мне ни разу такой сценарий не встречался, поэтому откуда ей взяться? Научите
> воспроизводить --- будет чиниться.
> 
Попробуйте найти компьютер с SwSusp 2, и сетью через единственную LAN - 
eth0.

eth0 настроена как DHCP, в случае наличия провода (USE_IFPLUGD)

Если это важно - драйвер карточки b44
Усыплялся компьютер на всю ночь, но судя по DHCP release - время аренды 
ip-адреса не было просрочено.




^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [sisyphus] Re: hibernate & etcnet
  2005-09-27 11:43       ` Arioch
@ 2005-09-27 11:59         ` Alex Yustasov
  2005-09-27 12:07           ` Arioch
  0 siblings, 1 reply; 12+ messages in thread
From: Alex Yustasov @ 2005-09-27 11:59 UTC (permalink / raw)
  To: sisyphus

On Tue, Sep 27, 2005 at 03:43:17PM +0400, Arioch wrote:
> >А случайно service network в hibernate не дергается?
> >
> в hibernate.conf сервисы только slmodemd и закомметнаренные  alsa, 
> postfix, но не network

Хорошо, а что в hibernate.conf про

### network
DownInterfaces eth0
UpInterfaces auto

Дальше придется думать.

-- 
    Alex Yustasov


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [sisyphus] Re: hibernate & etcnet
  2005-09-27 11:59         ` Alex Yustasov
@ 2005-09-27 12:07           ` Arioch
  2005-09-27 12:19             ` Alex Yustasov
  0 siblings, 1 reply; 12+ messages in thread
From: Arioch @ 2005-09-27 12:07 UTC (permalink / raw)
  To: sisyphus

Alex Yustasov пишет:
> Дальше придется думать.
> 

zsh 300 % grep Interfaces /etc/hibernate/hibernate2.6.conf
# DownInterfaces eth0
# UpInterfaces auto

Модуль b44 я в черный список не клал, кажется.




^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [sisyphus] Re: hibernate & etcnet
  2005-09-27 12:07           ` Arioch
@ 2005-09-27 12:19             ` Alex Yustasov
  2005-09-27 12:50               ` Arioch
  0 siblings, 1 reply; 12+ messages in thread
From: Alex Yustasov @ 2005-09-27 12:19 UTC (permalink / raw)
  To: sisyphus

On Tue, Sep 27, 2005 at 04:07:38PM +0400, Arioch wrote:
> Alex Yustasov пишет:
> >Дальше придется думать.
> >
> 
> zsh 300 % grep Interfaces /etc/hibernate/hibernate2.6.conf
> # DownInterfaces eth0
> # UpInterfaces auto
Раскоментируйте эти строчки, и, если есть еще другие сетки, их тоже
туда, IMHO.

> 
> Модуль b44 я в черный список не клал, кажется.
-- 
    Alex Yustasov

[mocp] 01:39[05:17]  Alice Cooper -  Welcome To My Nightmare -  Welcome To My Nightmare


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [sisyphus] Re: hibernate & etcnet
  2005-09-27 12:19             ` Alex Yustasov
@ 2005-09-27 12:50               ` Arioch
  0 siblings, 0 replies; 12+ messages in thread
From: Arioch @ 2005-09-27 12:50 UTC (permalink / raw)
  To: sisyphus

Alex Yustasov пишет:

> Раскоментируйте эти строчки, и, если есть еще другие сетки, их тоже
> туда, IMHO.

Похоже на то, но вообще что-то много гвоздиков становится :-)




^ permalink raw reply	[flat|nested] 12+ messages in thread

* [sisyphus] Re: hibernate & etcnet
  2005-09-27 11:24     ` Denis Ovsienko
  2005-09-27 11:45       ` Arioch
@ 2005-09-27 12:57       ` Arioch
  1 sibling, 0 replies; 12+ messages in thread
From: Arioch @ 2005-09-27 12:57 UTC (permalink / raw)
  To: sisyphus

Denis Ovsienko пишет:
>>Меню смущает, что тут где-то в etcnet несогласованность.
> 
> Мне ни разу такой сценарий не встречался, поэтому откуда ей взяться? Научите
> воспроизводить --- будет чиниться.

Судя по всему происходит это так:

В hibernate/blacklist есть следующие модули: bcm4400 & mii
bcm4400 - это видимо BroadCoM 4400 - т.е. либо тот же b44 под другим 
именем, либо другой драйвер для той же карточки.

Проблема с mii - от него зависит b44 и тоже выгружается.

Отсюда, вероятно, варианты:
  1) прибить гвоздиком и делать ifup/ifdown eth0 из hibernate
  2) перевести eth0 в режим USE_HOTPLUG=YES - но тут требутся, если я 
правильно понял, забивать гвоздики внутри HotPlug
  3) может ли /etc/net заметить, что при выгрузке модулей mii & b44 
выключилась сетевая карточка и временно для нее включить режим HotPlug ?
Может ли /etc/net при выгрузке b44 выключать для нее dhcpcd (мне 
показалось, он рподолжает работу)? Может ли /etc/net при выгрузке mii 
выгружать ifplugd (хотя mii не единств. интерфейс, через который 
работает ifplugd, так что вряд ли) ?






^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2005-09-27 12:57 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-27  9:03 [sisyphus] hibernate & etcnet Arioch
2005-09-27 10:29 ` Alex Yustasov
2005-09-27 10:42   ` [sisyphus] " Arioch
2005-09-27 11:23     ` Alex Yustasov
2005-09-27 11:43       ` Arioch
2005-09-27 11:59         ` Alex Yustasov
2005-09-27 12:07           ` Arioch
2005-09-27 12:19             ` Alex Yustasov
2005-09-27 12:50               ` Arioch
2005-09-27 11:24     ` Denis Ovsienko
2005-09-27 11:45       ` Arioch
2005-09-27 12:57       ` Arioch

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git