- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- adb command under hp-ux 11.23
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
01-20-2006 11:08 AM
01-20-2006 11:08 AM
echo "bootdev/X" | adb /stand/vmunix /dev/kmem
Now when I run the command on 11.23 (PA-RISC), I don't get a device that matches anything under /dev/dsk and when I run the command on 11.23 (Itanium) I get the following error...
adb: warning: Unrecognized format character -'X'.
Any ideas? Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2006 11:24 AM
01-20-2006 11:24 AM
Re: adb command under hp-ux 11.23
For determining the disk that you booted from use:
# echo boot_string/S|adb /stand/vmunix /dev/mem
I don't have 11.23 to see if this still works there, though.
'adb' has undergone some extensive changes. There is a "compatability" mode option ('-o') that provides PA-RISC backward compatabiltity, too. See the 11.23 manpages for more information.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2006 02:06 PM
01-20-2006 02:06 PM
Solution# echo 'boot_string/S' | adb -o /stand/vmunix /dev/mem
The "-o" is for compatibility between PA-RISC and IPF. The above syntax can be used on both platforms as the "-o" switch is the default on PA-RISC platforms
cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 02:59 PM
01-23-2006 02:59 PM
Re: adb command under hp-ux 11.23
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2006 04:48 PM
01-24-2006 04:48 PM
Re: adb command under hp-ux 11.23
Alternative 1
-------------
Use the new syntax.
echo "bootdev/x"|adb -n /stand/vmunix /dev/kmem
or to print a 64-bit value
echo "bootdev/jx"|adb -n /stand/vmunix /dev/kmem
On Itanium "-n" is the default.
Alternative 2
-------------
Add the following line in your $HOME/.adbrc file:
$a backcompat 1
This will ensure backward compatible behavior without using -o. Now you can use:
echo "bootdev/X" | adb /stand/vmunix /dev/kmem
To get the new behavior by default use:
$a backcompat 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2006 04:45 AM
01-25-2006 04:45 AM