Operating System - HP-UX
1832872 Members
2360 Online
110048 Solutions
New Discussion

Missing NIC after kernel rebuild

 
Lance Leung
Advisor

Missing NIC after kernel rebuild

Hi, I have just rebuilt the kernel and after the reboot, the NIC installation is gone. The rc.log has message: Output from "/sbin/rc2.d/S320hpether start"
ERROR: lan0 interface | PPA:
Error - must enter a PPA Number.

The weird thing is that when I used SAM to check on the NIC info, it is entirely missing. I have done the same kind of kernel rebuild before and I have never had any problem. Are there ways to check on the NIC status? How should I reinstall the NIC?

The LED of the NIC is on though. I wonder if it is possible that the kernel rebuild, for some reason, knocked out the NIC info.

Regards,

Lance
17 REPLIES 17
Sanjay_6
Honored Contributor

Re: Missing NIC after kernel rebuild

Hi Lance,

what is the output from "ioscan -fn". Check and see if the lan card is detected as claimed over there.

hope this helps.

Regds
S.K. Chan
Honored Contributor

Re: Missing NIC after kernel rebuild

What was changed in the kernel rebuilt ? Parameter ? Patches loading ?
Lance Leung
Advisor

Re: Missing NIC after kernel rebuild

Thanks, Sanjay. The line for lan says that the Built-in LAN is unclaimed.

Lance
Lance Leung
Advisor

Re: Missing NIC after kernel rebuild

S.K.,

The rebuild just added a Subsystem of an application into the kernel.

But I have done the same thing many times before on the same machine and this is the first time I have this problem. As noted in the other message on "ioscan -fn", the LAN is UNCLAIMED. Does it mean that it has malfunctioned?

Lance
S.K. Chan
Honored Contributor

Re: Missing NIC after kernel rebuild

In that case tell us what is the LAN card model (also what OS and server model) and someone should be able to tell you which driver to install.
Lance Leung
Advisor

Re: Missing NIC after kernel rebuild

S.K.
Sanjay_6
Honored Contributor

Re: Missing NIC after kernel rebuild

Hi Lance,

If you have done any addition / removal of kernel drivers it may have done so. Can you check and see if the lan drivers are configured in the kernel. If it is disabled, enable the driver and reboot the kernel and check the ioscan output to see if it is shown as claimed.

Hope this helps.

Regds
Lance Leung
Advisor

Re: Missing NIC after kernel rebuild

S.K.,
The box is a HP9000 Model E35. I have to check what the NIC model is but in the rc.log, it has the following msgs:

.......
Output from "/sbin/rc2.d/S320hpether start"
....
Configure HP 100BT interfaces Output from "/sbin/rc2.d/S323hpbase100 start"
.....
Configure LAN interfaces
Output from "/sbin/rc2.d/S340net start"
..........

Lance
S.K. Chan
Honored Contributor

Re: Missing NIC after kernel rebuild

If it's a HP-PB 100BaseT card on 10.20 then you need ..
1) btlan1 driver
2) J2760AA (HP-PB 100BaseT/900)

Hope this helps. Have you tried Sanjay's suggestion of checking for the driver in kernel ?
Lance Leung
Advisor

Re: Missing NIC after kernel rebuild

Hi, it is running on HP-UX 11.00. For the checking of the lan drivers, is it done within SAM's Drivers area? I don't think I can find that driver for the LAN there. I guess I will need to re-install the NIC then.

Thanks.

Lance
Sanjay_6
Honored Contributor

Re: Missing NIC after kernel rebuild

Hi Lance,

I think you may have to enable "lan0/lan1/lan2" in the kernel but i could be wrong. See if these are enabled in the kernel. If not enable them and try.

Hope this helps.

regds
Sanjay_6
Honored Contributor

Re: Missing NIC after kernel rebuild

Hi Lance,

to check for the driver in the kernel, you can do this,

sam --> Kernel Configuration --> Drivers

Check the list over there. To enable a driver, go to that driver, do a TAB, from the mail menu, select action --> enable

Hope this helps.

regds
S.K. Chan
Honored Contributor

Re: Missing NIC after kernel rebuild

Do this ..
# what /stand/vmunix |grep lan
==> check if btlan drive is in the kernel. If not rebuild yr kernel manually and add that driver in.

# cd /stand/build
# /usr/lbin/sysadm/system_prep -v -s system
# kmsystem -S system -c -y btlan
# /usr/sbin/mk_kernel -s ./system
# mv /stand/system /stand/system.prev
# mv system /stand/system
# kmupdate
# shutdown -ry 0

Try not to use SAM for this case.
Sanjay_6
Honored Contributor

Re: Missing NIC after kernel rebuild

Hi Lance,

What is the hp partcode for the lan card. you should be able to see it on the back of the card. is your ioscan output showing you the part code for the lan card ?.

Hope this helps.

regds
Lance Leung
Advisor

Re: Missing NIC after kernel rebuild

Hi, I tried out S.K.'s method but when I got to this:
# kmsystem -S system -c -y btlan

I was responded with "Invalid module, subsystem or driver name: btlan"

As to the ioscan, I did not see anything like lan0, lan1 etc. I can see only lan3 and it is not listed with any part code.

Lance
S.K. Chan
Honored Contributor

Re: Missing NIC after kernel rebuild

I'm so sorry Lance, typo error, it should be ..
# kmsystem -S system -c y btlan

No "-" in the "y"



Lance Leung
Advisor

Re: Missing NIC after kernel rebuild

Hi, I found a backup copy of a working vmunix file and copied it back to the /stand directory. Reboot the machine and everything is back to normal now. I guess my last kernel build must have done something weird that knocked out the NIC from the vmunix file.

Lance