- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Decimal vs hex kernel parameters
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
12-27-2005 10:39 AM
12-27-2005 10:39 AM
I'm working on a application upgrade on a N4000 server. I sent the software vendor the current kernel parameters. I used kmtune to list the parameters. The vendor sent back some recommended kernel changes and stated,
"In order to avoid panic signal 10 errors, some of the kernel values need to be in dec value not hex. The hex values are known to cause panics"
Has anyone heard of this? Is there a difference between decimal and hex values?
Thanks
Paul
N4000-55, 8cpus, 8Gb memory, 12H autoraid, HP-UX 11i june 2004
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2005 11:04 AM
12-27-2005 11:04 AM
Re: Decimal vs hex kernel parameters
I have not heard this one. A signal-10 is a SIGBUS error which can arise from bad pointers.
Regardless, there is no difference between using decimal or hexadecimal values. I personally use hexadecimal when the parameter's permissible range is expressed in hexadecimal (e.g. 'maxdsiz_64bit' range is 0x40000 to 0x3ffbfffffff), but use decimal when the range is expressed in that base (e.g. 'maxfiles' range is 30-60000). You are free to interconvert.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2005 12:22 PM
12-27-2005 12:22 PM
Re: Decimal vs hex kernel parameters
maxdsiz_64bit 0x40000000 - 0x0000000040000000
If you use sam to look at and/or configure the parameter, it displays the value in decimal.
maxdsiz_64bit 1073741824 1073741824 Static N/A
I was skeptical when I heard this from the vendor. I asked if they had any documentation on this. They haven't come up with anything yet.
Thanks for the reality check.
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2005 12:39 PM
12-27-2005 12:39 PM
SolutionSAM is not helpful because it decodes the entered value into a simple decimal number without any magnitude helpers (like 1,000,000,000 for a billion, or 1.00 billion). You really need a good Octal/Hex calculator to help.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2005 02:43 PM
12-27-2005 02:43 PM
Re: Decimal vs hex kernel parameters
#include
unsigned long strtoul(const char *nptr, char **endptr, int base);
The nice feature of this function is that if zero is supplied as the base (radix) for the conversion then strtoul attempts to automatically set the base. If the string begins with '0x' a hexadecimal base is assummed; if the string begins with '0', an octal base is assumed; otherwise, a decimal is assumed. Strtoul works just fine so I rather doubt given valid input in hex or decimal that a problem exists.