aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/s390
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2013-01-17 16:15:55 -0500
committerJonathan Herman <hermanjl@cs.unc.edu>2013-01-17 16:15:55 -0500
commit8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch)
treea8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /Documentation/s390
parent406089d01562f1e2bf9f089fd7637009ebaad589 (diff)
Patched in Tegra support.
Diffstat (limited to 'Documentation/s390')
-rw-r--r--Documentation/s390/3270.txt21
-rw-r--r--Documentation/s390/Debugging390.txt34
2 files changed, 45 insertions, 10 deletions
diff --git a/Documentation/s390/3270.txt b/Documentation/s390/3270.txt
index 7c715de9977..7a5c73a7ed7 100644
--- a/Documentation/s390/3270.txt
+++ b/Documentation/s390/3270.txt
@@ -47,9 +47,9 @@ including the console 3270, changes subchannel identifier relative to
47one another. ReIPL as soon as possible after running the configuration 47one another. ReIPL as soon as possible after running the configuration
48script and the resulting /tmp/mkdev3270. 48script and the resulting /tmp/mkdev3270.
49 49
50If you have chosen to make tub3270 a module, you add a line to a 50If you have chosen to make tub3270 a module, you add a line to
51configuration file under /etc/modprobe.d/. If you are working on a VM 51/etc/modprobe.conf. If you are working on a VM virtual machine, you
52virtual machine, you can use DEF GRAF to define virtual 3270 devices. 52can use DEF GRAF to define virtual 3270 devices.
53 53
54You may generate both 3270 and 3215 console support, or one or the 54You may generate both 3270 and 3215 console support, or one or the
55other, or neither. If you generate both, the console type under VM is 55other, or neither. If you generate both, the console type under VM is
@@ -60,7 +60,7 @@ at boot time to a 3270 if it is a 3215.
60 60
61In brief, these are the steps: 61In brief, these are the steps:
62 1. Install the tub3270 patch 62 1. Install the tub3270 patch
63 2. (If a module) add a line to a file in /etc/modprobe.d/*.conf 63 2. (If a module) add a line to /etc/modprobe.conf
64 3. (If VM) define devices with DEF GRAF 64 3. (If VM) define devices with DEF GRAF
65 4. Reboot 65 4. Reboot
66 5. Configure 66 5. Configure
@@ -84,12 +84,13 @@ Here are the installation steps in detail:
84 make modules_install 84 make modules_install
85 85
86 2. (Perform this step only if you have configured tub3270 as a 86 2. (Perform this step only if you have configured tub3270 as a
87 module.) Add a line to a file /etc/modprobe.d/*.conf to automatically 87 module.) Add a line to /etc/modprobe.conf to automatically
88 load the driver when it's needed. With this line added, you will see 88 load the driver when it's needed. With this line added,
89 login prompts appear on your 3270s as soon as boot is complete (or 89 you will see login prompts appear on your 3270s as soon as
90 with emulated 3270s, as soon as you dial into your vm guest using the 90 boot is complete (or with emulated 3270s, as soon as you dial
91 command "DIAL <vmguestname>"). Since the line-mode major number is 91 into your vm guest using the command "DIAL <vmguestname>").
92 227, the line to add should be: 92 Since the line-mode major number is 227, the line to add to
93 /etc/modprobe.conf should be:
93 alias char-major-227 tub3270 94 alias char-major-227 tub3270
94 95
95 3. Define graphic devices to your vm guest machine, if you 96 3. Define graphic devices to your vm guest machine, if you
diff --git a/Documentation/s390/Debugging390.txt b/Documentation/s390/Debugging390.txt
index 462321c1aee..efe998becc5 100644
--- a/Documentation/s390/Debugging390.txt
+++ b/Documentation/s390/Debugging390.txt
@@ -41,6 +41,7 @@ ldd
41Debugging modules 41Debugging modules
42The proc file system 42The proc file system
43Starting points for debugging scripting languages etc. 43Starting points for debugging scripting languages etc.
44Dumptool & Lcrash
44SysRq 45SysRq
45References 46References
46Special Thanks 47Special Thanks
@@ -2454,6 +2455,39 @@ jdb <filename> another fully interactive gdb style debugger.
2454 2455
2455 2456
2456 2457
2458Dumptool & Lcrash ( lkcd )
2459==========================
2460Michael Holzheu & others here at IBM have a fairly mature port of
2461SGI's lcrash tool which allows one to look at kernel structures in a
2462running kernel.
2463
2464It also complements a tool called dumptool which dumps all the kernel's
2465memory pages & registers to either a tape or a disk.
2466This can be used by tech support or an ambitious end user do
2467post mortem debugging of a machine like gdb core dumps.
2468
2469Going into how to use this tool in detail will be explained
2470in other documentation supplied by IBM with the patches & the
2471lcrash homepage http://oss.sgi.com/projects/lkcd/ & the lcrash manpage.
2472
2473How they work
2474-------------
2475Lcrash is a perfectly normal program,however, it requires 2
2476additional files, Kerntypes which is built using a patch to the
2477linux kernel sources in the linux root directory & the System.map.
2478
2479Kerntypes is an objectfile whose sole purpose in life
2480is to provide stabs debug info to lcrash, to do this
2481Kerntypes is built from kerntypes.c which just includes the most commonly
2482referenced header files used when debugging, lcrash can then read the
2483.stabs section of this file.
2484
2485Debugging a live system it uses /dev/mem
2486alternatively for post mortem debugging it uses the data
2487collected by dumptool.
2488
2489
2490
2457SysRq 2491SysRq
2458===== 2492=====
2459This is now supported by linux for s/390 & z/Architecture. 2493This is now supported by linux for s/390 & z/Architecture.