Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Pfsense Nokıa IP380 Install

    Scheduled Pinned Locked Moved Hardware
    46 Posts 6 Posters 17.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      wallabybob
      last edited by

      @psykok:

      The irq mapping has changed but the NICs are not working anymore and pfsense is slower as before.
      I can configure each interface as usual but for example the local one is no more responding and the WAN gets no address.

      The good point is that the irq storm disappear …

      Is our irq mapping wrong or is something other?

      Thanks for the data. Looks like some progress is being made. What is the front panel designation of the NICs you are using? and for for what purpose? (which is LAN? WAN? etc). From the interrupt counts it looks as if only two NICs are in use since only two have non-zero interrupt counts.

      @pierref:

      correcting the tipo on the last line: INTA/irq -> INTA.irq, and I will post the ouptput of vmstat -i

      Thanks. Not a good start in attention to details on my part. I'll correct the error in the original post.

      1 Reply Last reply Reply Quote 0
      • P
        psykok
        last edited by

        Currently I'm only using fxp0(wan) and fxp1(lan), I'm testing the box :D
        But I have tried to use the other port for the lan interface with the same result.

        Alex

        1 Reply Last reply Reply Quote 0
        • W
          wallabybob
          last edited by

          @psykok:

          Currently I'm only using fxp0(wan) and fxp1(lan), I'm testing the box

          But isn't there a front panel designation: eth1? eth2? etc.

          fxp1 and fxp2 are the only NICs with non-zero interrupt counts so I suspect you are really using fxp1 and fxp2 but that you have done a mental translation from ethx (x=1, 2, 3, 4) to fxpn (n=0, 1, 2, 3). Correct?

          One of the earlier replies gave a mapping from the ethx to the fxpn but with no mention of how that was derived. I'm suspecting that mapping is not correct. I have vague memory of some Nokia IP? boxes where the electrical ordering of NICs on PCI buses didn't correspond to the front panel ordering but its over 4 years ago that I worked on the Nokia IPxxx boxes.

          1 Reply Last reply Reply Quote 0
          • P
            psykok
            last edited by

            Sorry, you are right I made a mental mapping

            On the front panel I have Eth1 to Eth4.
            I have checked and I have the following correspondence:

            Eth1 : fxp0
            Eth2 : fxp1
            Eth3 : fxp2
            Eth4 : fxp3

            In the welcome screen of pfsense I get the same information about the up links.

            And for my tests I'm using Eth1(fxp0) and  Eth2(fxp1) for the wan and lan interface.

            Alex

            1 Reply Last reply Reply Quote 0
            • W
              wallabybob
              last edited by

              @psykok:

              I have checked and I have the following correspondence:

              Eth1 : fxp0
              Eth2 : fxp1
              Eth3 : fxp2
              Eth4 : fxp3

              How did you determine this mapping is correct rather than (say) eth1 <-> fxp3 … ?

              @psykok:

              In the welcome screen of pfsense I get the same information about the up links.

              Do you mean pfSense reports fxp0 and fxp1 up? (I don't know how pfSense would know about eth1 and eth2).

              Do you see the problem: you say you are using fxp0 and fxp1 but fxp1 and fxp2 are the NICs with non-zero interrupt counts. Maybe your translation from the front panel label to fxpn is not correct? Maybe you moved one or more cables after booting? Can you account for the anomaly?

              1 Reply Last reply Reply Quote 0
              • P
                pierref
                last edited by

                Hello wallabybob

                @pierref:

                I will make my file /boot/loader.conf.local look like:

                hw.pci0.2.3.INTA.irq=6
                hw.pci0.2.4.INTA.irq=10
                hw.pci0.2.5.INTA.irq=11
                hw.pci0.2.6.INTA.irq=12
                

                With these settings I promised you to test, the irq10 storm is worse than ever and there was no connectivity on the NICs. I removed /boot/loader.conf.local and now, I can reboot and have connectivity. But the storm is still there. Up to now, I only use fxp0 (WAN) and fxp1 (LAN), just like Alex. We will have to try something different.

                1 Reply Last reply Reply Quote 0
                • P
                  pierref
                  last edited by

                  Hi wallabybob

                  I promised you:

                  @pierref:

                  I will make my file /boot/loader.conf.local look like:

                  hw.pci0.2.3.INTA.irq=6
                  hw.pci0.2.4.INTA.irq=10
                  hw.pci0.2.5.INTA.irq=11
                  hw.pci0.2.6.INTA.irq=12
                  

                  I am sorry to tell you these settings are worse than before: the irq10 storm was heavier, and the NIC's were no longer working. The only ports I am using now are fxp0 (WAN) and fxp1 (LAN), just as Alex. If you want me to try something different, I am ready to do it.

                  Thanks in advance.

                  1 Reply Last reply Reply Quote 0
                  • K
                    kankabir
                    last edited by

                    I can not run, unfortunately. I get an error when installing the USB

                    1 Reply Last reply Reply Quote 0
                    • P
                      pierref
                      last edited by

                      Hi Alex and wallabybob

                      I found a set of entries in /boot/loader.conf.local where the NICs are working, at least fxp0 and fxp1, and no irq10 storm. Here is my file:

                      hw.pci0.2.3.INTD.irq="6"
                      hw.pci0.2.4.INTA.irq="10"
                      hw.pci0.2.5.INTB.irq="11"
                      hw.pci0.2.6.INTC.irq="12"
                      hw.pci0.3.5.INTB.irq="11"
                      hw.pci0.3.6.INTC.irq="15"
                      hw.pci0.4.5.INTB.irq="15"
                      hw.pci0.4.6.INTC.irq="12"
                      

                      Basically, these are the values collected from IPSO but in the correct format: lines starting with hw and not hint, correct order of parameters for PCI domain/bus/device_number.

                      I will connect more switches to the ports in the hope that all the NICs will go on working, and I will inform you.

                      Oh yes: and this is the output of # vmstat -i
                      interrupt                          total       rate
                      irq0: clk                          16552         99
                      irq4: uart0                          560          3
                      irq7:                                 23          0
                      stray irq7                            23          0
                      irq10: fxp1 dc0 dc*                 2158         13
                      irq11: ubsec0 fxp0*                16507         99
                      irq14: ata0                         2765         16
                      Total                              38588        232

                      There is something strange with this output: irq6, irq12 and irq15 are not set as I expected, but… it works.

                      Anyway, I hope these setting will also work for Alex: since he has a subset of my NICs in his configuration, this should do the job for him too.

                      Regards.

                      Pierre

                      1 Reply Last reply Reply Quote 0
                      • W
                        wallabybob
                        last edited by

                        Sorry, other commitments mean I will have very limited time to devote to this for at least the next week, maybe the next two weeks.

                        There are a number of inconsistencies in the accounts so far:

                        1. Alex and Pierre both say they are using fxp0 and fxp1 but fxp1 and fxp2 show significant interrupt rates for Alex while Pierre sees significant interrupt rates for fxp0 and fxp1.

                        2. Pierre reports interrupt storm on irq10 with my suggested modifications to /boot/loader.conf.local but the IPSO startup reports only one device on irq10: fxp1 and fxp1 was assigned to irq10 in my suggested modifications.

                        Maybe the boxes have different motherboards. Maybe the IPSO startup output we have is from a different box

                        From memory, the front panels of these devices designate the onboard (not on expansion slot) NICs as eth1, eth2, eth3 and eth4 but both Pierre and Alex report devices fxp0 and fxp1 in use. To get this to work correctly we need appropriate IPSO source code (used to be available from Nokia on request if I recall correctly; don't know about Checkpoint who took over the firewalls from Nokia) or an accurate association between front panel port name, FreeBSD device name and IRQ. Both Pierre and Alex have made associations between front panel port names and FreeBSD device names. I want to know how these associations were derived. If they have been assumed then they can't be trusted and they will need to be derived from the source code or worked out by experiment..

                        If anyone can track down the source code for a version of IPSO that supported IP380 I'll take a look at it to try to derive the association I requested.

                        @pierref:

                        There is something strange with this output: irq6, irq12 and irq15 are not set as I expected, but… it works.

                        All the hw.pci….irq entries for fxp NICs and dc NICs need to specify INTA because these devices request interrupts on their INTA line. The INTx reported by IPSO refer to interrupt lines on the motherboard which is different from interrupt lines the actual devices use. More detailed explanation will have to wait.

                        1 Reply Last reply Reply Quote 0
                        • P
                          psykok
                          last edited by

                          Hi,

                          So I have tested the last config posted by pierre.
                          It's also working on my box and I get this results:

                          # vmstat -i
                          interrupt                          total       rate
                          irq0: clk                          16552         99
                          irq4: uart0                          414          3
                          irq7:                                 16          0
                          stray irq7                            16          0
                          irq10: fxp1 dc0 dc1                 2158         13
                          irq11: ubsec0 fxp0*                16507         99
                          irq14: ata0                         2765         16
                          Total                              38588        232
                          

                          All interface are responding but unfortunatly the web interface on the lan is not.

                          All interface are responding but unfortunately the web interface on the lan is not.

                          Another strange point is why the irq are not used as configured in the loader.conf.local?
                          For example, only fxp1 have to be on the irq10 and from the vmstat info we have still 3 active nics on this irq.

                          Wallabybob> I confirm that I have not the same version of the firewall as pierre, I have an older one. I have also the same as pierre but this one is not booting anymore, but I can confirm that the motherboard is not 100% the same.

                          Alex

                          1 Reply Last reply Reply Quote 0
                          • C
                            Caziques
                            last edited by

                            Guys,

                            Need help here please !!!. At the moment i have done the following:

                            • I have the live iso for pfsense 2.0
                            • Have the new kernel files
                            • removed disc from ip380 and mounted onto virtuabox running on windows XP

                            I opened the iso with poweriso and added the files that i downloaded ( Thanx Alex) but it wont load the kernel.

                            Am i going about this in the wrong way ?
                            How did you get to install ?
                            am i right in the way i change the ISO ?
                            should I be using another install file other than the live iso ?
                            should i be installing in another way than virtuabox ?

                            Please help  :)

                            1 Reply Last reply Reply Quote 0
                            • P
                              psykok
                              last edited by

                              I don't know how is build the live iso.
                              For my firewall I have made a full installation of pfsense using a laptop (selecting console version without VGA output)

                              After that I started the pfsense install on my laptop to replace the kernel with the new one for IP380.
                              At this point you have only to remove the disk from the laptop and put it into the Nokia box … that’s all!

                              Alex

                              1 Reply Last reply Reply Quote 0
                              • P
                                pierref
                                last edited by

                                Hi

                                @Caziques:

                                Guys,

                                Need help here please !!!. At the moment i have done the following:

                                • I have the live iso for pfsense 2.0
                                • Have the new kernel files
                                • removed disc from ip380 and mounted onto virtuabox running on windows XP

                                I opened the iso with poweriso and added the files that i downloaded ( Thanx Alex) but it wont load the kernel.

                                Am i going about this in the wrong way ?
                                How did you get to install ?
                                am i right in the way i change the ISO ?
                                should I be using another install file other than the live iso ?
                                should i be installing in another way than virtuabox ?

                                Please help  :)

                                Where did you "add" the new files? You have to rename the directory /boot/kernel to something different, v.gr. /boot/kernel.orig, and then, you can copy the contents of Alex deepst directory in his zip archive (files kernel.gz and *.ko) to /boot/kernel

                                Good luck.

                                Pierre

                                1 Reply Last reply Reply Quote 0
                                • C
                                  Caziques
                                  last edited by

                                  Thanks for the reply , so if i have it right i do a normal install on the laptop to usb, then when its done i rename the directory on the hard drive and put the files on ?

                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    Caziques
                                    last edited by

                                    Cool , working pfsense 2 on ip380.. ;D ;D ;D ;D ;D ;D ;D.

                                    I installed xp on the laptop ( had to after i made the mistake of booting pfsense cd and choosing quick install, it wiped my laptop drive ..but anyway)

                                    Then i added oracle viruabox and warftp on laptop.

                                    Plugged the nokia hard drive into a usb adapter and mounted the raw disk to a virtuabox disk.
                                    Booted virtual machine with pfsense 2.0 live cd and completed the quick install , chose console & no vga with keyboard. Selected exit and stopped the reboot.
                                    Mounted the hard drive ….
                                    give ip address to virtuabox ethernet with /sbin/ifconfig
                                    start warftp and share new kernel dir on xp...
                                    ftp to laptop & transfer new kernel files into /boot/kernel on viruabox
                                    reboot,
                                    install disk in nokia ip380 & connect console.
                                    Working like a charm !!!!!

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.