- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Adding drivers to the kernel?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2001 02:45 AM
06-19-2001 02:45 AM
Adding drivers to the kernel?
Anyone know how to manually add drivers to the kernel (Going through SAM I get the message - no namelist).
I am asking this because I had to install a new basic kernel from the core OS disk, and this doesn't contain the drivers that I previously had. This means I can't Telnet to the box.
Cheers,
Gavin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2001 02:51 AM
06-19-2001 02:51 AM
Re: Adding drivers to the kernel?
View log of SAM and see the command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2001 02:57 AM
06-19-2001 02:57 AM
Re: Adding drivers to the kernel?
Therefore I can't get any further in adding a new driver. Is there a way of doing this manually (i.e without using SAM).
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2001 03:02 AM
06-19-2001 03:02 AM
Re: Adding drivers to the kernel?
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x29ac14a24fd1d4118fef0090279cd0f9!0,00.html
I'm currently investigating this related to another post last week, if I have any success I'll post back.
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2001 03:09 AM
06-19-2001 03:09 AM
Re: Adding drivers to the kernel?
Edit /stand/system and add the driver(s) you need. Document #rcfaxkernel002 has the procedures for rebuilding the kernel on either 10.20 or 11.x.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2001 03:16 AM
06-19-2001 03:16 AM
Re: Adding drivers to the kernel?
Just an addition to this:
When using SAM - I can click on Kernel configuration, but when I select Drivers, I get the message:
Internal error: The kernel discovery tool used by SAM failed. Kernel changes cannot be made by SAM. The standard error output of the command is shown below:
getkinfo: Unable to read the kernel file "stand/vmunix"
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2001 03:17 AM
06-19-2001 03:17 AM
Re: Adding drivers to the kernel?
cp /stand/system /stand/system.bak
cp /stand/vmunix /stand/vmunix.bak
vi /etc/system
insert the driver name in it
:wq! (save & come out)
mk_kernel /stand/system
This command will create a kernel named vmunix_test
mv /stand/vmunix_test /stand/vmunix
reboot
Good luck,
kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2001 03:24 AM
06-19-2001 03:24 AM
Re: Adding drivers to the kernel?
one more thing all the drivers are available in
/usr/conf/master.d hv a look and find out what all are needed . Can you tell me which machine do you own ?. I mean a brief H/W configuration i may be able to suggest you some drivers
kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2001 03:38 AM
06-19-2001 03:38 AM
Re: Adding drivers to the kernel?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2001 03:40 AM
06-19-2001 03:40 AM
Re: Adding drivers to the kernel?
The document (#rcfaxkernel002) is a Knowledge Base document. Make sure that you are logged into the ITRC; click Maintenance and Support -> Search Technical Knowledge Base; Choose Search by DocID and enter the ID. For expediency, here's the guts of the document:
/begin/
10.X
1. Change directories to /stand/build.
cd /stand/build
2. Create a new system file from the running kernel.
/usr/lbin/sysadm/system_prep -s /stand/build/system
3. Edit the kernel with the planned changes.
vi /stand/build/system
4. Build the new kernel.
/usr/sbin/mk_kernel -s /stand/build/system
5. Move the old system and vmunix files so if anything goes wrong, the system
can be booted from the old kernel.
mv /stand/system /stand/system.prev
mv /stand/build/system /stand/system
mv /stand/vmunix /stand/vmunix.prev
mv /stand/build/vmunix_test /stand/vmunix
6. Reboot the system off the new kernel.
shutdown -r
11.X
1. Change directories to /stand/build.
cd /stand/build
2. Create a new system file from the running kernel.
/usr/lbin/sysadm/system_prep -s /stand/build/system
3. Edit the kernel with the planned changes.
vi /stand/build/system
4. Build the new kernel.
/usr/sbin/mk_kernel -s /stand/build/system
5. Move the old system and vmunix files so if anything goes wrong, the system
can be booted from the old kernel.
mv /stand/system /stand/system.prev
mv /stand/vmunix /stand/vmunix.prev
mv /stand/dlkm /stand/dlkm.vmunix.prev
6. Move the new system file and new kernel into place, ready to be used when rebooting the system.
mv /stand/build/system /stand/system
kmupdate /stand/build/vmunix_test
7. Reboot the system off the new kernel.
shutdown -r
/end/
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2001 03:49 AM
06-19-2001 03:49 AM
Re: Adding drivers to the kernel?
/usr/lbin/sysadm/system_prep -v -s system
I get the message:
get_sysfile: nlist64 to /stand/vmunix failed, errno = 0.
ERROR: The extraction of a system file from "/stand/vmunix" failed. Verify that "/stand/vmunix" is a properly built kernel file before trying again. The return value from "get_sysfile" was: 2
The "get_sysfile" command expects to find a system file embedded in the kernel file "/stand/vmunix"
etc.
And the system file that is produced is of 0k
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2001 03:59 AM
06-19-2001 03:59 AM
Re: Adding drivers to the kernel?
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2001 08:07 AM
06-20-2001 08:07 AM
Re: Adding drivers to the kernel?
Because my kernel was only a basic one from the core OS disk it didn't contain any drivers. Instead of reinstalling everything (patches) I copied a kernel over from a similiar machine. However I still couldn't use SAM to configure the kernel, so I extracted the system file from vmunix using:
/usr/lbin/sysadm/system_grep -s system
I had to add the following line to this file:
ntty 400
and also the following line to the inetconf.sec file in /var/adm:
telnet allow
I then rebuilt the kernel using mk_kernel, rebooted, and everything worked.
Thanks for all the help everyone.