- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Fail to rebuild 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
10-20-2000 01:16 PM
10-20-2000 01:16 PM
Fail to rebuild the kernel
# mk_kernel -o /stand/vmunix -s /stand/system
Generating module: krm...
Compiling /stand/build/conf.c...
Loading the kernel...
ld: I/O error, file "xport_diag.o": Invalid argument
Fatal error.
*** Error exit code 1
Stop.
config: make did an exit(1)
I need your guys help.
Thanks,
Jeff
10/20
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2000 05:44 AM
10-21-2000 05:44 AM
Re: Fail to rebuild the kernel
dd if=/dev/vg00/lvol1 of=/dev/null bs=32k
and see if an error is reported. If so, the disk has a bad spot and you'll need to plan on replacing the disk. As it is in vg00, start with a full backup of vg00 files, then install Ignite/UX and create a backup with make_recovery or make_net_recovery.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2000 07:50 AM
10-23-2000 07:50 AM
Re: Fail to rebuild the kernel
hp support recommended a networking patch
that contained a good version of "libhp-ux.a" (something like that)
that contained all the .o files...
installed the patch: phne_19936 (had a 10.20 machine)
was then able to recompile the kernel,
but when trying to mirror the vg00, got stale problems
more than likely, it's a bad spot on the disk....
will have to replace sometime
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2000 09:23 AM
10-23-2000 09:23 AM
Re: Fail to rebuild the kernel
I follow your instruction but no error is reported. The disk is good. By the way I still
can reboot the system using the current kernel.
I don't have any idea about that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2000 09:37 AM
10-23-2000 09:37 AM
Re: Fail to rebuild the kernel
Im surprised by your procedure...
Have you tried to compile your kernel the safest way => using sam?
If its because you want to modify with vi, why arent you in /stand/build?
This is how I do it:
cd /stand/build
/usr/lbin/sysadm/system_prep -s system
vi system # you customize what needed
/usr/sbin/mk_kernel -s system
mv /stand/vmunix /stand/vmunix.YYMMDD
mv /stand/system /stand/system.YYMMDD
mv vmunix_test /stand/vmunix
mv system /stand/system
Then reboot...
lets say it was to add a new driver:
strings /stand/vmunix| grep new_driver
I would say that before compiling a new kernel you should be shure you have a backup one ready...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2000 04:38 PM
10-23-2000 04:38 PM
Re: Fail to rebuild the kernel
Wyan may be right. I review the previous posts that reply Ami Hofman's question. I run chuck_patches command and read its output file in /tmp/check_patches.report. The patch PHKL_18543.CORE2-KRN (HPUX 11.00) object module, /usr/conf/lib/libhp-ux.a(all of .o files), cksum values don't match. I is requested to reinstall the patch using the option ' -x reinstall=true'. But I still fail to reinstall the patch with the same compiling error, because the reinstallation of the PHKL patch need to build a new kernel.
I send an Email to HP Tech and hope them to fix it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2000 02:18 AM
10-24-2000 02:18 AM
Re: Fail to rebuild the kernel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2000 04:32 AM
10-24-2000 04:32 AM
Re: Fail to rebuild the kernel
My kernel problem occurred because somehow (I have no idea how) I managed to install the PHKL_18543 patch twice. And somehow this little beauty of a patch overwrote the object files of about 30 other patches. I had to first check and see what patches were installed and which were just configured. Than I ran swconfig to get these installed....still had a mess....Finally ran the check_patches and sent the report to HP for review and they came back with a list of patches that had to be re-downloaded (all 30+ of them), put all these into 1 depot and install them. It was a pain, cause I had to dig around to find all the patches I needed, but find them I did.
Then, it was after all this that the kernel built and works...
I highly recommend running the check_patches and sending it to HP, cause it does sound to me like that is what has happened (your object files have been overwritten and gotten out of 'sync')...
Regards and hope the best for ya !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2000 07:26 PM
10-30-2000 07:26 PM
Re: Fail to rebuild the kernel
After reinstall PHKL_18543 and thr other 42 patches, the system recover now. :-)