I have 3 Quad-port VIA Velocity Gigabit network cards on my i7, 12GB RAM, amd64 platform. The system was running on linux fine (with some limitations such as no 802.1q tags, but that's due to the driver), and I am unable to run this on FreeBSD.
The issue
---------
All cards are identified by FreeBSD. However, as soon as there is at least some traffic ran trough at least one port, the system either freezes (8.2-RELEASE) momentarily, or there is a fatal kernel trap 28 (7.3, 7.4, 8.1 - Release).
If you look at messages you'll see 4GB boundary crossed, switching to 32bit DMA address mode after first card.
To test this I took out two cards, left just one, and so far it's been running successfully (as in, not freezing at least so far).
Why this problem with DMA boundary at 4 GB, can it be lifted (I understand what it is, just not sure why is there limit at 4 GB with x64)? Again, not sure this is the problem but so far it seems the best candidate. How do I go about running all 3 cards?
Thanks
The issue
---------
All cards are identified by FreeBSD. However, as soon as there is at least some traffic ran trough at least one port, the system either freezes (8.2-RELEASE) momentarily, or there is a fatal kernel trap 28 (7.3, 7.4, 8.1 - Release).
Code:
vge0: <VIA Networking Velocity Gigabit Ethernet> port 0xce00-0xceff mem 0xfd1ff000-0xfd1ff0ff irq 17 at device 8.0 on pci10
miibus1: <MII bus> on vge0
vge0: Ethernet address: 00:0c:42:1a:00:a4
vge0: [ITHREAD]
vge1: <VIA Networking Velocity Gigabit Ethernet> port 0xcc00-0xccff mem 0xfd1fe000-0xfd1fe0ff irq 18 at device 9.0 on pci10
miibus2: <MII bus> on vge1
vge1: Ethernet address: 00:0c:42:1a:00:a5
vge1: [ITHREAD]
vge2: <VIA Networking Velocity Gigabit Ethernet> port 0xca00-0xcaff mem 0xfd1fd000-0xfd1fd0ff irq 19 at device 10.0 on pci10
miibus3: <MII bus> on vge2
vge2: Ethernet address: 00:0c:42:1a:00:a6
vge2: [ITHREAD]
vge3: <VIA Networking Velocity Gigabit Ethernet> port 0xc800-0xc8ff mem 0xfd1fc000-0xfd1fc0ff irq 16 at device 11.0 on pci10
miibus4: <MII bus> on vge3
vge3: Ethernet address: 00:0c:42:1a:00:a7
vge3: [ITHREAD]
vge4: <VIA Networking Velocity Gigabit Ethernet> port 0xbe00-0xbeff mem 0xfd0ff000-0xfd0ff0ff irq 18 at device 8.0 on pci11
miibus5: <MII bus> on vge4
vge4: Ethernet address: 00:0c:42:1a:00:30
vge4: [ITHREAD]
vge5: <VIA Networking Velocity Gigabit Ethernet> port 0xbc00-0xbcff mem 0xfd0fe000-0xfd0fe0ff irq 19 at device 9.0 on pci11
vge5: 4GB boundary crossed, switching to 32bit DMA address mode.
miibus6: <MII bus> on vge5
vge5: Ethernet address: 00:0c:42:1a:00:31
vge5: [ITHREAD]
vge6: <VIA Networking Velocity Gigabit Ethernet> port 0xba00-0xbaff mem 0xfd0fd000-0xfd0fd0ff irq 16 at device 10.0 on pci11
miibus7: <MII bus> on vge6
vge6: Ethernet address: 00:0c:42:1a:00:32
vge6: [ITHREAD]
vge7: <VIA Networking Velocity Gigabit Ethernet> port 0xb800-0xb8ff mem 0xfd0fc000-0xfd0fc0ff irq 17 at device 11.0 on pci11
vge7: 4GB boundary crossed, switching to 32bit DMA address mode.
miibus8: <MII bus> on vge7
vge7: Ethernet address: 00:0c:42:1a:00:33
If you look at messages you'll see 4GB boundary crossed, switching to 32bit DMA address mode after first card.
To test this I took out two cards, left just one, and so far it's been running successfully (as in, not freezing at least so far).
Why this problem with DMA boundary at 4 GB, can it be lifted (I understand what it is, just not sure why is there limit at 4 GB with x64)? Again, not sure this is the problem but so far it seems the best candidate. How do I go about running all 3 cards?
Thanks