HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-RT setting up kernel debugger
Operating System - HP-UX
1833781
Members
2087
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
05-07-2001 11:05 AM
05-07-2001 11:05 AM
I get an error when I try to invoke pdb on my hp-ux 10.20 system. I am trying to debug a kernel on an hp-rt 3.01 system. The error I get is as follows:
./pdb -f/dev/tty0p0 -P /HP-RT/temp/hp-rt
Passed through init_rs232_card ()
WARNING - rdb_host_read timeout
WARNING - rdb_host_read timeout
WARNING - rdb_host_read timeout
I have verified that RDB is in the kernel.
./pdb -f/dev/tty0p0 -P /HP-RT/temp/hp-rt
Passed through init_rs232_card ()
WARNING - rdb_host_read timeout
WARNING - rdb_host_read timeout
WARNING - rdb_host_read timeout
I have verified that RDB is in the kernel.
Sail With the Wind
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2001 11:55 PM
05-08-2001 11:55 PM
Solution
Hi
Have a look at:-
http://europe-support.external.hp.com/cki/bin/doc.pl/sid=605354c710a171921e/screen=ckiDisplayDocument?docId=200000006304418
HTH
Paula
Have a look at:-
http://europe-support.external.hp.com/cki/bin/doc.pl/sid=605354c710a171921e/screen=ckiDisplayDocument?docId=200000006304418
HTH
Paula
If you can spell SysAdmin then you is one - anon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2001 03:27 AM
05-09-2001 03:27 AM
Re: HP-RT setting up kernel debugger
1) Connect a serial port from the host HP-UX system to port B of your
HP-RT system. For this example, connect HP-UX /dev/tty01 to HP-RT
/dev/tty01. Use the appropriate cable connections for your HP-RT and
HP-UX systems.
2) Set up the device file for the serial port on the HP-UX system if it
is not already available. You can use SAM, or:
mknod(1M) on series 700s
or
mksf(1M) on series 800s
Access permissions on this device file should be rw-rw-rw.
You should be able to use cu to connect to the HP-RT system from HP-UX
to verify the RS232-C Serial Connection.
3) Compile your driver using the -g option for debugging.
4) Make sure that the $HPRTroot/etc/ttys file that will be used to
make your kernel has logon enabled for port B. Here is an example of
the entry for /dev/tty01 for the HP-RT system:
/dev/tty1:1:default96:hp:/bin/login
^
^-----this must be a "1" for pdb to work correctly
5) Make your new kernel. Specify that you want to enable kernel
debugging.
If you make the kernel using the HPRTadm script answer "y" when it asks:
Enable kernel debugging? (y/N)
If you make the kernel using the hp-rt.make file, make sure you specify
RDB= as an option.
Note: Your driver source must remain in the location it resides in when
the kernel is made. The location is kept in the kernel file.
6) Boot your new kernel using the -k option to indicate that you will
be debugging after HP-RT comes up. For example:
ISL> rtboot -ak -rramdisk /hp-rt
7) Start the kernel debugger using the -P option to indicate that HP-RT
is already booted. For example:
(host) $ pdb -P -f/dev/tty01 /usr/tftpdir/hp-rt
HP-RT system. For this example, connect HP-UX /dev/tty01 to HP-RT
/dev/tty01. Use the appropriate cable connections for your HP-RT and
HP-UX systems.
2) Set up the device file for the serial port on the HP-UX system if it
is not already available. You can use SAM, or:
mknod(1M) on series 700s
or
mksf(1M) on series 800s
Access permissions on this device file should be rw-rw-rw.
You should be able to use cu to connect to the HP-RT system from HP-UX
to verify the RS232-C Serial Connection.
3) Compile your driver using the -g option for debugging.
4) Make sure that the $HPRTroot/etc/ttys file that will be used to
make your kernel has logon enabled for port B. Here is an example of
the entry for /dev/tty01 for the HP-RT system:
/dev/tty1:1:default96:hp:/bin/login
^
^-----this must be a "1" for pdb to work correctly
5) Make your new kernel. Specify that you want to enable kernel
debugging.
If you make the kernel using the HPRTadm script answer "y" when it asks:
Enable kernel debugging? (y/N)
If you make the kernel using the hp-rt.make file, make sure you specify
RDB= as an option.
Note: Your driver source must remain in the location it resides in when
the kernel is made. The location is kept in the kernel file.
6) Boot your new kernel using the -k option to indicate that you will
be debugging after HP-RT comes up. For example:
ISL> rtboot -ak -rramdisk /hp-rt
7) Start the kernel debugger using the -P option to indicate that HP-RT
is already booted. For example:
(host) $ pdb -P -f/dev/tty01 /usr/tftpdir/hp-rt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2001 04:58 AM
05-09-2001 04:58 AM
Re: HP-RT setting up kernel debugger
I already tried what was in the document before I posted my question. I can connect to the console with the cu command. I have also verifed that RDB is in the kernel, however I'm still getting the
WARNING - rdb_host_read timeout
WARNING - rdb_host_read timeout
Sail With the Wind
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP