The NetBIOS device files /dev/netbios, /dev/netbiosdg,
and /dev/lmxloop may have their kernel major
numbers reassigned when a kernel device or psuedo driver is installed
or removed from the system kernel. When this occurs, NetBIOS and/or
AS/U will fail to start.
The following are some examples of error messages reported
by NetBIOS and AS/U when incorrect NetBIOS device files major numbers
exist
NetBIOS startup may fail from the
command line.
$/opt/lmu/netbios/bin/nbutil -N start
Starting NetBIOS
netdemon: error opening module /dev/netbios: errno=19 |
If AS/U fails to start, an event will be logged.
Use elfread to view the AS/U system event
log.
$elfread -d system
.
.
.
DATE: 12/17/97 EVENT ID: 6038
TIME: 12:46:54PM SOURCE: SERVER
USER: N/A TYPE: Error
COMPUTER: HPNTCPH CATEGORY: NoneDESCRIPTION: Unable to post name for class 2 mailslot msgs on any network DATA: |
If NetBIOS or AS/U fails to start use the instructions listed
below to check if the NetBIOS device files have been assigned correct
major numbers:
Do a full listing of the NetBIOS device files /dev/netbios, /dev/netbiosdg,
and /dev/lmxloop:
$ls -l /dev/netbios /dev/netbiosdg /dev/lmxloop
crw-rw-rw- 1 root sys 72 0x00004d Dec 17 15:38 /dev/lmxloop
crw-rw-rw- 1 root sys 72 0x00004b Dec 17 15:38 /dev/netbios
crw-rw-rw- 1 root sys 72 0x00004c Dec 17 15:38 /dev/netbiosdg |
|
In this example, the major number for lmxloop is
0x4d(77), netbios is 0x4b(75), and netbiosdg is
0x4c(76)
Use lsdev to check if the major number listed in the device
files match the major number that the kernel assigned to the psuedo
device drivers netbios, netbiosdg,
and lmxloop:
$lsdev | egrep -i 'netbios|netbiosdg|lmxloop'
76 -1 netbios pseudo
77 -1 netbiosdg pseudo
78 -1 lmxloop pseudo |
If the major numbers don't match, then the NetBIOS device
files need to be recreated by using either method listed below.
First ensure AS/U and NetBIOS are stopped.
$net stop server #Ensure AS/U is stopped $/opt/lmu/netbios/bin/nbutil -N stop #Ensure NetBIOS is stopped |
Rerun the NetBIOS product SD configure script. This script
will create the device numbers using the current device major number
provided by lsdev.
$swconfig -x reconfigure=true RFC-NETBIOS
Or, manually remove and re-create the NetBIOS device files
using the major number provided from lsdev.
$rm /dev/netbios /dev/netbiosdg /dev/lmxloop
$mknod /dev/netbios c 72 76
$mknod /dev/netbiosdg c 72 77
$mknod /dev/lmxloop c 72 78