*New 11.4 series Release:
2020-07-03: XigmaNAS 11.4.0.4.7633 - released!

*New 12.1 series Release:
2020-04-17: XigmaNAS 12.1.0.4.7542 - released


We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

WOL and HP microservers [SOLVED, but]

NIC, network controllers, compatibility questions, WOL, wake on lan
Forum rules
Set-Up GuideFAQsForum Rules
User avatar
alexey123
Moderator
Moderator
Posts: 1560
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

WOL and HP microservers [SOLVED, but]

#1

Post by alexey123 »

Moved from NAS4Free 9.2.0.1.943 Released (FreeBSD 9.2-RELEASE p3)
ChriZathens wrote:Then, if in freenas forum, user claims that 9.1 driver works, then: bge will need to be removed and the 9.1 driver to be added, correct?
And if this happens, whoever needs this driver can put if_bge_load="YES" in loader.conf
Is the above correct? If yes I hope the devs will consider it.
I dont know ( and not want know how to FreeNAS build his kernel. May be then need any preconfigure task for give to FreeNAS to live ~ type on console blabla and load driver.
If freenas have built-in bge module, this way not be work.
Just before upload his fille try

Code: Select all

kldstat
You have loaded if_bge module ? I not have - my output is

Code: Select all

# kldstat
Id Refs Address    Size     Name
 1   25 0x80400000 1201b7c  kernel
 2    1 0x81602000 195654   zfs.ko
 3    2 0x81798000 40a4     opensolaris.ko
 4    1 0x8179d000 22d0     accf_http.ko
 5    1 0x8e5a0000 11f48    isboot.ko
 6    1 0x956f9000 4000     geom_nop.ko
 7    1 0x95e56000 8000     aio.ko
 8    1 0x95eba000 4000     nullfs.ko
 9    1 0x97396000 4000     ng_socket.ko
10    1 0x9739a000 b000     netgraph.ko
But ifconfig say about bge

Code: Select all

 # ifconfig
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
        ether 00:0d:9d:51:4c:a5
        inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255
        inet 10.0.0.6 netmask 0xffffff00 broadcast 10.0.0.255
        inet 10.0.0.51 netmask 0xffffffff broadcast 10.0.0.51
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
Wow, it work without driver!!!1111
So, we have bge device included into kernel.
Now regarding HP, I don't fully agree with you. Some desktop HP systems may be picky when it comes to OS other than windows, but in my experience this does not apply to HP servers. In my work I have a lot of HP proliant servers who are running linux for over a decade with no issues. The microserver I have (n36l, n40l,n54l) is another machine which has no issues running different OS. I have tested it with windows, linux, freeBSD and it just works out of the box. Imagine it can even run Synology OS... Now how cool is that.. ;)
And with a price less than 200 euro (at least in Greece where I live) it cannot be compared with anything, at least for NAS function
Just google http://www.google.com/search?gcx=w&sour ... erver++wol
I say not only microserver - all HP is junk ( my LAB server include) See topic JUNK KNOW BOOT FROM FAT ONLY!!
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

User avatar
ChriZathens
Forum Moderator
Forum Moderator
Posts: 799
Joined: 23 Jun 2012 09:14
Location: Athens, Greece
Contact:
Status: Offline

Re: NAS4Free 9.2.0.1.943 Released (FreeBSD 9.2-RELEASE p3)

#2

Post by ChriZathens »

Yes, exactly that is what I meant.
Since bge is already included, is it possible to remove it from kernel and have it load as a separate module whenever we need it?
And yes, microservers do have an issue with the driver regarding wol, but applies only to FreeBSD, as far as I know (after all, we established this issue, this is the problem we have, lol)
But, at least the microservers, if you see what they offer and at the prize they offer it, are just too good value for money..
My Nas
  1. Case: Fractal Design Define R2
  2. M/B: Supermicro x9scl-f
  3. CPU: Intel Celeron G1620
  4. RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
  5. PSU: Chieftec 850w 80+ modular
  6. Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
  7. O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
  8. Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S

Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)

User avatar
alexey123
Moderator
Moderator
Posts: 1560
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: NAS4Free 9.2.0.1.943 Released (FreeBSD 9.2-RELEASE p3)

#3

Post by alexey123 »

ChriZathens wrote: Since bge is already included, is it possible to remove it from kernel and have it load as a separate module whenever we need it?
You need compille itself custom kernel without bge. Then try to use another bge kernels.
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

User avatar
ChriZathens
Forum Moderator
Forum Moderator
Posts: 799
Joined: 23 Jun 2012 09:14
Location: Athens, Greece
Contact:
Status: Offline

Re: NAS4Free 9.2.0.1.943 Released (FreeBSD 9.2-RELEASE p3)

#4

Post by ChriZathens »

Unfortunatelly I cannot do this myself...
I was hoping that the devs could remove the bge driver and add the one from FreeBSD 9.1, with a note to anyone who wants to use it to add the line in loader.conf
(In an experimental build at the beginning, of course and if we see that it works this way, then maybe do this by default)
Although even if the devs are willing to do such a thing, I am not sure if they should do it, to be honest (I mean if they remove entirely the support from the kernel, someone with a machine which uses a bge card will not be able to connect to the network and nas4free webui, right?)
So another option is to remove from kernel and add it as a module which will load by default???? :?
Don't know I am comfused - I will stay in .847 in my n40l for now, don't know what else to do... only hope that freeBSD will eventually fix the driver
My Nas
  1. Case: Fractal Design Define R2
  2. M/B: Supermicro x9scl-f
  3. CPU: Intel Celeron G1620
  4. RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
  5. PSU: Chieftec 850w 80+ modular
  6. Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
  7. O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
  8. Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S

Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)

User avatar
alexey123
Moderator
Moderator
Posts: 1560
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: NAS4Free 9.2.0.1.943 Released (FreeBSD 9.2-RELEASE p3)

#5

Post by alexey123 »

I try this trick at night ..
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

User avatar
alexey123
Moderator
Moderator
Posts: 1560
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: NAS4Free 9.2.0.1.943 Released (FreeBSD 9.2-RELEASE p3)

#6

Post by alexey123 »

alexey123 wrote:I try this trick at night ..
Tried. :( Without success... Boot stop before ident CPU.
I need RTFM

I have idea.
ChriZathens, read this post. And all topic.
Driver for em device also included to generic kernel, but user success load third party driver for full version.
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

User avatar
ChriZathens
Forum Moderator
Forum Moderator
Posts: 799
Joined: 23 Jun 2012 09:14
Location: Athens, Greece
Contact:
Status: Offline

Re: NAS4Free 9.2.0.1.943 Released (FreeBSD 9.2-RELEASE p3)

#7

Post by ChriZathens »

Having a full install is not ideal for the n40l, but just to test, I will try a full install on a usb stick and try to load the driver from 9.1.
As soon as I have any progress I 'll report back..
Thanks a lot for your efforts, alexey!
My Nas
  1. Case: Fractal Design Define R2
  2. M/B: Supermicro x9scl-f
  3. CPU: Intel Celeron G1620
  4. RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
  5. PSU: Chieftec 850w 80+ modular
  6. Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
  7. O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
  8. Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S

Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)

User avatar
alexey123
Moderator
Moderator
Posts: 1560
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: NAS4Free 9.2.0.1.943 Released (FreeBSD 9.2-RELEASE p3)

#8

Post by alexey123 »

ChriZathens wrote:Having a full install is not ideal for the n40l, but just to test, I will try a full install on a usb stick and try to load the driver from 9.1.
Also try to load FreeNAS 9.2 driver
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

User avatar
ChriZathens
Forum Moderator
Forum Moderator
Posts: 799
Joined: 23 Jun 2012 09:14
Location: Athens, Greece
Contact:
Status: Offline

Re: NAS4Free 9.2.0.1.943 Released (FreeBSD 9.2-RELEASE p3)

#9

Post by ChriZathens »

In the link I posted before it was a freenas 9.1. driver
But I don't know where to find the 9.2 driver.. :?
My Nas
  1. Case: Fractal Design Define R2
  2. M/B: Supermicro x9scl-f
  3. CPU: Intel Celeron G1620
  4. RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
  5. PSU: Chieftec 850w 80+ modular
  6. Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
  7. O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
  8. Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S

Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)

User avatar
alexey123
Moderator
Moderator
Posts: 1560
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: NAS4Free 9.2.0.1.943 Released (FreeBSD 9.2-RELEASE p3)

#10

Post by alexey123 »

ChriZathens wrote:In the link I posted before it was a freenas 9.1. driver
But I don't know where to find the 9.2 driver.. :?
He say here http://vannhi.fr/if_bge.zip
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

User avatar
ChriZathens
Forum Moderator
Forum Moderator
Posts: 799
Joined: 23 Jun 2012 09:14
Location: Athens, Greece
Contact:
Status: Offline

Re: NAS4Free 9.2.0.1.943 Released (FreeBSD 9.2-RELEASE p3)

#11

Post by ChriZathens »

I think you are correct. I thought that this file was for 9.1 but there is a different one for 9.1.
anyways I did not find time to try today....
My Nas
  1. Case: Fractal Design Define R2
  2. M/B: Supermicro x9scl-f
  3. CPU: Intel Celeron G1620
  4. RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
  5. PSU: Chieftec 850w 80+ modular
  6. Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
  7. O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
  8. Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S

Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)

User avatar
alexey123
Moderator
Moderator
Posts: 1560
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: WOL and HP microservers

#12

Post by alexey123 »

Do not hurry, do it step by step
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

User avatar
ChriZathens
Forum Moderator
Forum Moderator
Posts: 799
Joined: 23 Jun 2012 09:14
Location: Athens, Greece
Contact:
Status: Offline

Re: WOL and HP microservers

#13

Post by ChriZathens »

Is there any reason I shouldn't install a VM and add the bge driver as a module there?
And once it loads (if it loads) I will try it on my n40l..
Steps I am going to take (haven't done this before, so please correct my mistakes) in the n40L:
  1. Create a full installation usb stick
  2. Copy if_bge.ko.gz from my main NAS which still has .847 to boot/kernel of the full .943 installation
  3. Once booted with the copied file run

    Code: Select all

    kldload if_bge.ko.gz
  4. IF it loads check WOL
  5. Do the same procedure with the 9.2 driver from freenas forum
My Nas
  1. Case: Fractal Design Define R2
  2. M/B: Supermicro x9scl-f
  3. CPU: Intel Celeron G1620
  4. RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
  5. PSU: Chieftec 850w 80+ modular
  6. Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
  7. O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
  8. Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S

Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)

User avatar
alexey123
Moderator
Moderator
Posts: 1560
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: WOL and HP microservers

#14

Post by alexey123 »

ChriZathens wrote:Is there any reason I shouldn't install a VM and add the bge driver as a module there?
And once it loads (if it loads) I will try it on my n40l..
Steps I am going to take (haven't done this before, so please correct my mistakes) in the n40L:
  1. Create a full installation usb stick
  2. Copy if_bge.ko.gz from my main NAS which still has .847 to boot/kernel of the full .943 installation
  3. Once booted with the copied file run

    Code: Select all

    kldload if_bge.ko.gz
  4. IF it loads check WOL
  5. Do the same procedure with the 9.2 driver from freenas forum
I think old driver not be work, but you can try it, you make experiment. ;) Try to use freenas driver also.
kldload - also not our way - add to loader.conf ( not to loader.conf.local ) line

Code: Select all

if_bge_load="YES"
and reboot
In all cases - you have second NAS, for mount flash and edit our files
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

User avatar
ChriZathens
Forum Moderator
Forum Moderator
Posts: 799
Joined: 23 Jun 2012 09:14
Location: Athens, Greece
Contact:
Status: Offline

Re: WOL and HP microservers

#15

Post by ChriZathens »

OK, small update about the module load..
I copied if_bge.ko.gz from my live Nas .847 version
Extracted the .gz since I saw that in full version they are all extracted
Copied if_bge.ko in /boot/kernel overwriting the default one (notice slightly different time in if_bge.ko):

Code: Select all

nas4free: ~ # ls -l /boot/kernel/if_b*
-r-xr-xr-x  1 root  wheel   365288 Jan 23 10:04 /boot/kernel/if_bce.ko
-r-xr-xr-x  1 root  wheel    46144 Jan 23 10:04 /boot/kernel/if_bfe.ko
-rwxr--r--  1 root  wheel   113064 Jan 23 10:14 /boot/kernel/if_bge.ko
-r-xr-xr-x  1 root  wheel    72144 Jan 23 10:04 /boot/kernel/if_bridge.ko
-r-xr-xr-x  1 root  wheel   178992 Jan 23 10:04 /boot/kernel/if_bwi.ko
-r-xr-xr-x  1 root  wheel   278552 Jan 23 10:04 /boot/kernel/if_bwn.ko
-r-xr-xr-x  1 root  wheel  1130808 Jan 23 10:04 /boot/kernel/if_bxe.ko
Add an entry in loader.conf:
loader.jpg
Rebooted
Check if mofule is loaded:

Code: Select all

nas4free: ~ # kldstat
Id Refs Address            Size     Name
 1   32 0xffffffff80200000 1942610  kernel
 2    1 0xffffffff81b43000 23d298   zfs.ko
 3    2 0xffffffff81d81000 84d0     opensolaris.ko
 4    1 0xffffffff81d8a000 1cac0    if_bge.ko
 5    1 0xffffffff81da8000 1e3e8    isboot.ko
 6    1 0xffffffff82012000 2c94     geom_nop.ko
 7    1 0xffffffff82015000 21b1     vmmemctl.ko
 8    1 0xffffffff82018000 22b5     vmxnet.ko
 9    1 0xffffffff8201b000 2f4e     vmblock.ko
10    1 0xffffffff8201e000 8961     vmhgfs.ko
11    1 0xffffffff82027000 541f     vmxnet3.ko
Seems that it loaded succesfully, right? Conclusion one: .847 version bge driver loads in .943 version. If wol works (or if the driver works at all) is something to be tested on my n40l

I will go ahead and try the driver from freenas forum now and post back...
You do not have the required permissions to view the files attached to this post.
My Nas
  1. Case: Fractal Design Define R2
  2. M/B: Supermicro x9scl-f
  3. CPU: Intel Celeron G1620
  4. RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
  5. PSU: Chieftec 850w 80+ modular
  6. Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
  7. O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
  8. Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S

Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)

User avatar
alexey123
Moderator
Moderator
Posts: 1560
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: WOL and HP microservers

#16

Post by alexey123 »

ChriZathens wrote: Seems that it loaded succesfully, right? Conclusion one: .847 version bge driver loads in .943 version. If wol works (or if the driver works at all) is something to be tested on my n40l
Wow! if it loaded, must work
I will go ahead and try the driver from freenas forum now and post back...
OK
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

User avatar
ChriZathens
Forum Moderator
Forum Moderator
Posts: 799
Joined: 23 Jun 2012 09:14
Location: Athens, Greece
Contact:
Status: Offline

Re: NAS4Free 9.2.0.1.943 Released (FreeBSD 9.2-RELEASE p3)

#17

Post by ChriZathens »

alexey123 wrote:
ChriZathens wrote:In the link I posted before it was a freenas 9.1. driver
But I don't know where to find the 9.2 driver.. :?
He say here http://vannhi.fr/if_bge.zip
Follow up...
I did the same procedure with the driver from the above link (driver for freenas 9.2)
Nope:

Code: Select all

nas4free: ~ # kldstat
Id Refs Address            Size     Name
 1   26 0xffffffff80200000 1942610  kernel
 2    1 0xffffffff81b43000 23d298   zfs.ko
 3    2 0xffffffff81d81000 84d0     opensolaris.ko
 5    1 0xffffffff81da9000 1e3e8    isboot.ko
 6    1 0xffffffff82012000 2c94     geom_nop.ko
 7    1 0xffffffff82015000 21b1     vmmemctl.ko
 8    1 0xffffffff82018000 22b5     vmxnet.ko
 9    1 0xffffffff8201b000 2f4e     vmblock.ko
10    1 0xffffffff8201e000 8961     vmhgfs.ko
11    1 0xffffffff82027000 541f     vmxnet3.ko
An attempt to load using kldload returns:

Code: Select all

nas4free: ~ # kldload if_bge.ko
kldload: can't load if_bge.ko: Exec format error
In the above site there is also a link if_bge.patched.9.1.1.zip for freenas 9.1.1.
I will test that, too..

EDIT: OK, tested it.. patched if_bge.ko for freenas 9.1.1 loads, too as a module.
I will try then, at home, with my n40l to use n4f .847 version bge driver. I suppose that if it works, our devs can replace it in the official release, so that we can have a working wol in n4f 9.2, too?? :)
My Nas
  1. Case: Fractal Design Define R2
  2. M/B: Supermicro x9scl-f
  3. CPU: Intel Celeron G1620
  4. RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
  5. PSU: Chieftec 850w 80+ modular
  6. Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
  7. O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
  8. Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S

Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)

User avatar
alexey123
Moderator
Moderator
Posts: 1560
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: WOL and HP microservers

#18

Post by alexey123 »

Check pls your hardware, i want know chip name

Code: Select all

pciconf -lv | grep Ethernet
I have

Code: Select all

# pciconf -lv | grep Ether
    device     = 'NetXtreme BCM5782 Gigabit Ethernet'
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

User avatar
ChriZathens
Forum Moderator
Forum Moderator
Posts: 799
Joined: 23 Jun 2012 09:14
Location: Athens, Greece
Contact:
Status: Offline

Re: WOL and HP microservers

#19

Post by ChriZathens »

Here you go:

Code: Select all

n40lnas: ~ # pciconf -lv | grep Ether
    device     = 'NetXtreme BCM5723 Gigabit Ethernet PCIe'
My Nas
  1. Case: Fractal Design Define R2
  2. M/B: Supermicro x9scl-f
  3. CPU: Intel Celeron G1620
  4. RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
  5. PSU: Chieftec 850w 80+ modular
  6. Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
  7. O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
  8. Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S

Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)

User avatar
alexey123
Moderator
Moderator
Posts: 1560
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: WOL and HP microservers

#20

Post by alexey123 »

For my chip result ifconfig

Code: Select all

$ ifconfig
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
	ether 00:0d:9d:51:4c:a5
	inet 10.0.0.150 netmask 0xffffff00 broadcast 10.0.0.255
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
	media: Ethernet autoselect (1000baseT <full-duplex>)
	status: active
Also on interfaces I have WOL_MAGIC

I want understand bahavior, what I must see?
I try attach windows driver for it
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

User avatar
ChriZathens
Forum Moderator
Forum Moderator
Posts: 799
Joined: 23 Jun 2012 09:14
Location: Athens, Greece
Contact:
Status: Offline

Re: WOL and HP microservers

#21

Post by ChriZathens »

SUCCESS!!!!
Using if_bge.ko from Nas4Free 9.1.0.1.847, wol worked like a charm!

Code: Select all

n40lnas: ~ # cat /etc/prd.version
9.2.0.1
n40lnas: ~ # cat /etc/prd.revision
943
n40lnas: ~ # kldstat
Id Refs Address            Size     Name
 1   21 0xffffffff80200000 1942610  kernel
 2    1 0xffffffff81b43000 23d298   zfs.ko
 3    2 0xffffffff81d81000 84d0     opensolaris.ko
 4    1 0xffffffff81d8a000 1cac0    if_bge.ko
 5    1 0xffffffff81da8000 1e3e8    isboot.ko
 6    1 0xffffffff82012000 2c94     geom_nop.ko
n40lnas: ~ #
Since this driver is working, then, is it possible now to discard the 9.2 driver and use this one in the current version?
I mean in order to be used with embedded, too..

As a sidenote: In version .847, it turned out that wol was always active, even when setting it to off.
I did a similar test and this behavior remains, but who cares, wol works! :D :D
I am happy..

P.S.: I ran out of time, now.. I will also test (hopefully tomorrow) to load if_bge.ko vesrion for freenas 9.1.1. Perhaps this one has wol working when set to wol_magic and not working when set to off.
We will see..
My Nas
  1. Case: Fractal Design Define R2
  2. M/B: Supermicro x9scl-f
  3. CPU: Intel Celeron G1620
  4. RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
  5. PSU: Chieftec 850w 80+ modular
  6. Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
  7. O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
  8. Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S

Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)

User avatar
alexey123
Moderator
Moderator
Posts: 1560
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: WOL and HP microservers

#22

Post by alexey123 »

WOW, YES
I'll repair topic name
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

User avatar
alexey123
Moderator
Moderator
Posts: 1560
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: WOL and HP microservers

#23

Post by alexey123 »

ChriZathens wrote: Since this driver is working, then, is it possible now to discard the 9.2 driver and use this one in the current version?
I mean in order to be used with embedded, too..
YES, It possible
You need replace driver and add to loader properly value.
But check pls some with original 9.2 driver - try to load it at boot stage
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

User avatar
ChriZathens
Forum Moderator
Forum Moderator
Posts: 799
Joined: 23 Jun 2012 09:14
Location: Athens, Greece
Contact:
Status: Offline

Re: WOL and HP microservers [SOLVED, but]

#24

Post by ChriZathens »

alexey123 wrote: YES, It possible
You need replace driver and add to loader properly value.
You mean like a postinit script? I thought maybe the devs could use the 9.1 driver by default in 9.2 version
alexey123 wrote:But check pls some with original 9.2 driver - try to load it at boot stage
I replaced the original 9.2 driver with the .847 version. I will try tomorrow with a new installation. But since 9.2 driver is already in boot/kernel, how to test it?
Leave the installation clean and also load it using loader.conf? :| :?: :?:

In the meanwhile I managed to check whether 9.1 driver wol works in 10/100, but it does not..
I hope I will manage in a few minutes to also check the freenas 9.1.1 driver

EDIT:OK, just tested the freenas 9.1.1 driver. It has exactly the same behavior as the nas4free 9.1 v.847 driver:
Even to off wol works and only in Gigabit network, not 10/100. It seems they are the same thing (I thought I should test both of them because they are different size)
My Nas
  1. Case: Fractal Design Define R2
  2. M/B: Supermicro x9scl-f
  3. CPU: Intel Celeron G1620
  4. RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
  5. PSU: Chieftec 850w 80+ modular
  6. Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
  7. O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
  8. Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S

Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)

OlafD01
Status: Offline

Re: WOL and HP microservers

#25

Post by OlafD01 »

ChriZathens wrote:SUCCESS!!!!
Using if_bge.ko from Nas4Free 9.1.0.1.847, wol worked like a charm!
That's good news, thanks a lot for testing.
ChriZathens wrote: As a sidenote: In version .847, it turned out that wol was always active, even when setting it to off.
I did a similar test and this behavior remains, but who cares, wol works! :D :D
I am happy..
If one would like to switch WOL off, with 1000-speed, it's possible, by disabling it via the bios-switch.
(Environment: N54L, Original-Bios, Build= .847)
alexey123 wrote:Check pls your hardware, i want know chip name

Code: Select all

pciconf -lv | grep Ethernet
@alexey123
The N54L and N40L have the same chipset...

Code: Select all

N54L# pciconf -lv | grep Ether
    device     = 'NetXtreme BCM5723 Gigabit Ethernet PCIe'
Regards, OlafD01
Last edited by OlafD01 on 23 Jan 2014 22:34, edited 1 time in total.

OlafD01
Status: Offline

Re: WOL and HP microservers

#26

Post by OlafD01 »

alexey123 wrote:
ChriZathens wrote: Since this driver is working, then, is it possible now to discard the 9.2 driver and use this one in the current version?
I mean in order to be used with embedded, too..
YES, It possible
You need replace driver and add to loader properly value.
But how can it be replaced, within embedded-install, because of it's readonly nature ... ?
alexey123 wrote: ...But check pls some with original 9.2 driver - try to load it at boot stage
@alexey123
The original 9.2 driver loads in .943-embedded-install, if the loader.conf-switch is added, but
WOL doesn’t work - so no change here.

Regards, OlafD01

User avatar
alexey123
Moderator
Moderator
Posts: 1560
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: WOL and HP microservers

#27

Post by alexey123 »

OlafD01 wrote: But how can it be replaced, within embedded-install, because of it's readonly nature ... ?
Add to loader.conf

Code: Select all

if_bge_load="YES"
save driver on your share, for example /mnt/data/if_bge.ko
Then execute as root

Code: Select all

umount /cf
mount /dev/da0a /cf
rm /cf/boot/kernel/if_bge.ko.gz
cp /mnt/data/if_bge.ko /cf/boot/kernel/
reboot
OlafD01 wrote:@alexey123
The original 9.2 driver loads in .943-embedded-install, if the loader.conf-switch is added, but
WOL doesn’t work - so no change here.
Regards, OlafD01
When NAS4Free boot with original draiver, as is after install check driver by kldstat
I think you not find it/
Then add to loader.conf

Code: Select all

if_bge_load="YES"
and reboot.
After reboot check kldstat. If you see driver - check wake on lan.
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

OlafD01
Status: Offline

Re: WOL and HP microservers

#28

Post by OlafD01 »

alexey123 wrote:
OlafD01 wrote:@alexey123
The original 9.2 driver loads in .943-embedded-install, if the loader.conf-switch is added, but
WOL doesn’t work - so no change here.
When NAS4Free boot with original draiver, as is after install check driver by kldstat
I think you not find it/
...
After reboot check kldstat. If you see driver - check wake on lan.
It's listed in kldstat, but no working WOL.

Regards, OlafD01

User avatar
alexey123
Moderator
Moderator
Posts: 1560
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: WOL and HP microservers [SOLVED, but]

#29

Post by alexey123 »

Pls also check driver from 925 version

But strangle - i not see driver, but my network work.

Code: Select all

$ kldstat
Id Refs Address    Size     Name
 1   25 0x80400000 1201b7c  kernel
 2    1 0x81602000 195654   zfs.ko
 3    2 0x81798000 40a4     opensolaris.ko
 4    1 0x8179d000 22d0     accf_http.ko
 5    1 0x8e5a0000 11f48    isboot.ko
 6    1 0x956f9000 4000     geom_nop.ko
 7    1 0x95fc0000 8000     aio.ko
 8    1 0x96080000 4000     nullfs.ko
 9    1 0x977f2000 4000     ng_socket.ko
10    1 0x977f6000 b000     netgraph.ko
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

OlafD01
Status: Offline

Re: WOL and HP microservers

#30

Post by OlafD01 »

ChriZathens wrote:SUCCESS!!!!
Using if_bge.ko from Nas4Free 9.1.0.1.847, wol worked like a charm!
With N54L, .943-build and embedded-install (with if_gbe.ko.gz from Nas4Free 9.1.0.1.847 included),
WOL is working too.
alexey123 wrote:
OlafD01 wrote: But how can it be replaced, within embedded-install, because of it's readonly nature ... ?
Add to loader.conf

Code: Select all

if_bge_load="YES"
save driver on your share, for example /mnt/data/if_bge.ko.gz
Then execute as root

Code: Select all

umount /cf
mount /dev/da0a /cf
rm /cf/boot/kernel/if_bge.ko.gz
cp /mnt/data/if_bge.ko.gz /cf/boot/kernel/
reboot
That's working, Thanks - But I think you have to use if_bge.ko.gz instead of if_bge.ko ... !

Original .943 if_bge.ko.gz

Code: Select all

N54L-Build-943# ls -la /cf/boot/kernel/if_bge.*
-r-xr-xr-x  1 root  wheel   47420 Jan 20 07:52 /cf/boot/kernel/if_bge.ko.gz*
Build .943 with included if_bge.ko.gz from .847

Code: Select all

N54L-Build-943# ls -la /cf/boot/kernel/if_bge.*
-r-xr-xr-x  1 root  wheel   34035 Aug 18 01:46 /cf/boot/kernel/if_bge.ko.gz*
kldstat - with included if_bge.ko.gz (from .847) and loader.conf (with added if_bge_load="YES")

Code: Select all

N54L-Build-943# kldstat
Id Refs Address            Size     Name
 1   24 0xffffffff80200000 1942610  kernel
 2    1 0xffffffff81b43000 23d298   zfs.ko
 3    2 0xffffffff81d81000 84d0     opensolaris.ko
 4    1 0xffffffff81d8a000 1cac0    if_bge.ko
 5    1 0xffffffff90ca7000 1e3e8    isboot.ko
 6    1 0xffffffff90e12000 b8a6     aio.ko
 7    1 0xffffffff90e1e000 f8f      green_saver.ko
Regards, OlafD01
Last edited by OlafD01 on 29 Jan 2014 08:23, edited 1 time in total.

Post Reply

Return to “LAN , Network controllers”