待辦事項 #32660

VM0で起動したFreeBSDを再起動すると、NICで通信ができない

啟用日期: 2013-12-23 22:24 最後更新: 2015-09-23 23:23

回報者:
負責人:
類型:
狀態:
關閉
元件:
(無)
里程碑:
(無)
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
Works For Me
檔案:
1

細節

VM0で起動したFreeBSDを再起動すると、NICで通信ができない

Ticket History (3/12 Histories)

2013-12-23 22:24 Updated by: yuichi_xy
  • New Ticket "VM0で起動したFreeBSDを再起動すると、NICで通信ができない" created
2013-12-23 23:10 Updated by: yuichi_xy
評語

VM0の再起動時にも、Secondary Bus Resetを実行してみましたが、効果がありませんでした。

Reset vm0
Reset cpu 0x4
Reset cpu 0x2
Reset cpu 0x6
Reset cpu 0x0
Boot from 0x81 drive.
Enable extint.
Execute secondary bus reset on 00:01.0
Execute secondary bus reset on 00:1c.0
Execute secondary bus reset on 00:1c.4
Execute secondary bus reset on 00:1c.5
Execute secondary bus reset on 00:1c.7
Reprogram 01:00.0
Reprogram 05:00.0
Reprogram 06:00.0
Reset RTC.
Reset PIT.
2013-12-24 22:06 Updated by: yuichi_xy
評語

r142で、VM0を二度再起動したところ、NICで通信ができるようになりました。

2013-12-28 16:37 Updated by: yuichi_xy
評語

デバイスを一旦D3状態に遷移させてD0に復帰させるパッチを作ってみましたが、効果はありませんでした。

Reset vm0
Reset cpu 0x6
Reset cpu 0x4
Reset cpu 0x2
Reset cpu 0x0
Boot from 0x80 drive.
Enable extint.
Execute secondary bus reset on 00:01.0
Execute secondary bus reset on 00:1c.0
Execute secondary bus reset on 00:1c.4
Execute secondary bus reset on 00:1c.5
Execute secondary bus reset on 00:1c.7
Reset 01:00.0 PM cap 0x60
Reset 05:00.0 PM cap 0x40
Reset 06:00.0 PM cap 0x78
Reprogram 01:00.0
Reprogram 05:00.0
Reprogram 06:00.0
Reset RTC.
Reset PIT.
2013-12-28 16:40 Updated by: yuichi_xy
  • File d3d0_reset_131228.patch (File ID: 5036) is attached
2013-12-28 16:59 Updated by: yuichi_xy
  • File d3d0_reset_131228.patch (File ID: 5036) is deleted
2013-12-28 17:44 Updated by: yuichi_xy
評語

yuichi_xy への返信

デバイスを一旦D3状態に遷移させてD0に復帰させるパッチを作ってみましたが、効果はありませんでした。

RealtekのNICは、NoSoftRstビットが立っているので、D3からD0に復帰させてもリセットされないようです。

05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI E
xpress Gigabit Ethernet controller (rev 06)
        Subsystem: ASRock Incorporation Motherboard (one of many)
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 40
        Region 0: I/O ports at d000 [size=256]
        Region 2: Memory at f0004000 (64-bit, prefetchable) [size=4K]
        Region 4: Memory at f0000000 (64-bit, prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3h
ot+,D3cold+)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
2014-05-04 18:08 Updated by: yuichi_xy
評語

r193とFreeBSD 10.0の組み合わせでも再現しました。

2014-09-20 19:59 Updated by: yuichi_xy
評語

r279とFreeBSD 10.0の組み合わせでも再現しました。

2014-09-23 23:17 Updated by: yuichi_xy
評語

USBtoLANでも同様に、再起動後、通信できません。

そのUSBtoLANを抜き差ししてみたところ、通信できました。

2015-09-23 23:23 Updated by: yuichi_xy
  • 處理結果 Update from to Works For Me
  • Ticket Close date is changed to 2015-09-23 23:23
  • 狀態 Update from 開啟 to 關閉
評語

r346 と FreeBSD 10.2, USBtoLAN の組み合わせでは、発生しませんでした。 closeします。

Attachment File List

編輯

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登入