Megamon Tech Blog

IT issues resolved

echo “- – -” > /sys/class/scsi_host/host0/scan

If you see these messages:


Jul 4 09:49:50 xxxfw2 kernel: NET: 89 messages suppressed.
Jul 4 09:49:50 xxxfw2 kernel: Neighbour table overflow.
Jul 4 09:50:04 xxxfw2 kernel: NET: 22 messages suppressed.
Jul 4 09:50:04 xxxfw2 kernel: Neighbour table overflow.
Jul 4 09:50:04 xxxfw2 kernel: Neighbour table overflow.
Jul 4 09:50:05 xxxfw2 kernel: NET: 65 messages suppressed.
Jul 4 09:50:05 xxxfw2 kernel: Neighbour table overflow.
Jul 4 09:50:10 xxxfw2 kernel: NET: 264 messages suppressed.
Jul 4 09:50:10 xxxfw2 kernel: Neighbour table overflow.
Jul 4 09:50:15 xxxfw2 kernel: NET: 274 messages suppressed.
Jul 4 09:50:15 xxxfw2 kernel: Neighbour table overflow.
Jul 4 09:50:22 xxxfw2 kernel: NET: 97 messages suppressed.
Jul 4 09:50:22 xxxfw2 kernel: Neighbour table overflow.
Jul 4 09:50:25 xxxfw2 kernel: NET: 475 messages suppressed.
Jul 4 09:50:25 xxxfw2 kernel: Neighbour table overflow.

Then you need to increment your ARP cache size. Add these lines to the bottom of /etc/sysctl.conf:

# arp cache amendments
net.ipv4.neigh.default.gc_thresh1 = 1024
net.ipv4.neigh.default.gc_thresh2 = 2048
net.ipv4.neigh.default.gc_thresh3 = 4096

If you’re not going to reboot then you also need to set manually

cd /proc/sys/net/ipv4/neigh/default

echo 1024 > gc_thresh1
echo 2048 > gc_thresh2
echo 4096 > gc_thresh3

Encountered issues with Checkpoint R75

Scenario

A number of R62 and R65 gateways cannot be burnt to from R75 manager. However gateways that are greater than or equal to R70.40 burn fine.

Error message in /var/log/messages on gateway:

fwloghandle_register_string: unable to put entry into table

Solution

Edit /etc/grub.conf on the target gateway and add vmalloc=512M to the kernel line like this:

kernel /vmlinuz ro pci=noacpi root=/dev/mapper/vg_splat-lv_current vmalloc=512M panic=15 console=SERIAL 3 quiet

for 2 quad gigabit cards the example is this

vi /etc/modules.conf

or

vi /etc/modprobe.conf

depending on your version of kernel

add

options e1000 RxDescriptors=4096,4096,4096,4096,4096,4096,4096,4096 TxDescriptors=4096,4096,4096,4096,4096,4096,4096,4096 RxIntDelay=1024

Dmesg reports this error:

CIFS VFS: cifs_mount failed w/return code = -12

Manual mount attempts report this:

mount: mounting //192.168.1.1/share on /mountpoint failed: Cannot allocate memory

Solution:

Regedit on the Windows 7 machine and disable SMB2:

1) HKEY_LOCAL_MACHINE ->SYSTEM ->CurrentControlSet ->Services ->LanmanServer -> Parameters.

2) Create a DWORD with the name SMB2. Value 0