louisdem / plan9front

Automatically exported from code.google.com/p/plan9front
0 stars 0 forks source link

amd64 cross compile network problem #210

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
After following the instructions in fqa 8.9.1 about porting to amd64, I found 
everything works well except network. It gives
ipconfig: /net/ipifc/clone: bind ether /net/ether0: '/net/ether0' cs: file not 
exist
during boot.
However, my netcard works well in original 386 9front. Any solutions?

Original issue reported on code.google.com by awabimak...@gmail.com on 24 Sep 2014 at 1:55

GoogleCodeExporter commented 9 years ago
what is the model of the NIC? it may be that the driver is not enabled yet in 
the amd64 kernel config, if no one has tested it yet.

Original comment by mischief@offblast.org on 24 Sep 2014 at 4:04

GoogleCodeExporter commented 9 years ago
It is RTL8168. Maybe the driver is not enabled. How to edit kernel config?

Original comment by awabimak...@gmail.com on 24 Sep 2014 at 4:11

GoogleCodeExporter commented 9 years ago
the config file for the pc64 kernel is /sys/src/9/pc64/pc64. you just need to 
uncomment the line that says '# ether8169   pci ethermii'. you should refer to 
https://code.google.com/p/plan9front/wiki/fqa7#7.2_-_Kernel_configuration_and_ma
intenance for information about recompiling the kernel after editing the config 
file.

Original comment by mischief@offblast.org on 24 Sep 2014 at 4:16

GoogleCodeExporter commented 9 years ago
Solved, thanks! Sorry for my silly question.

Original comment by awabimak...@gmail.com on 24 Sep 2014 at 5:12

GoogleCodeExporter commented 9 years ago
the driver for rtl8169 family (including rtl8168) is now enabled by default in 
pc64 kernel config. thanks for your bug report and testing.

Original comment by mischief@offblast.org on 24 Sep 2014 at 9:23