diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
commit | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch) | |
tree | a8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /Documentation/s390 | |
parent | 406089d01562f1e2bf9f089fd7637009ebaad589 (diff) |
Patched in Tegra support.
Diffstat (limited to 'Documentation/s390')
-rw-r--r-- | Documentation/s390/3270.txt | 21 | ||||
-rw-r--r-- | Documentation/s390/Debugging390.txt | 34 |
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 | |||
47 | one another. ReIPL as soon as possible after running the configuration | 47 | one another. ReIPL as soon as possible after running the configuration |
48 | script and the resulting /tmp/mkdev3270. | 48 | script and the resulting /tmp/mkdev3270. |
49 | 49 | ||
50 | If you have chosen to make tub3270 a module, you add a line to a | 50 | If you have chosen to make tub3270 a module, you add a line to |
51 | configuration 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 |
52 | virtual machine, you can use DEF GRAF to define virtual 3270 devices. | 52 | can use DEF GRAF to define virtual 3270 devices. |
53 | 53 | ||
54 | You may generate both 3270 and 3215 console support, or one or the | 54 | You may generate both 3270 and 3215 console support, or one or the |
55 | other, or neither. If you generate both, the console type under VM is | 55 | other, 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 | ||
61 | In brief, these are the steps: | 61 | In 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 | |||
41 | Debugging modules | 41 | Debugging modules |
42 | The proc file system | 42 | The proc file system |
43 | Starting points for debugging scripting languages etc. | 43 | Starting points for debugging scripting languages etc. |
44 | Dumptool & Lcrash | ||
44 | SysRq | 45 | SysRq |
45 | References | 46 | References |
46 | Special Thanks | 47 | Special Thanks |
@@ -2454,6 +2455,39 @@ jdb <filename> another fully interactive gdb style debugger. | |||
2454 | 2455 | ||
2455 | 2456 | ||
2456 | 2457 | ||
2458 | Dumptool & Lcrash ( lkcd ) | ||
2459 | ========================== | ||
2460 | Michael Holzheu & others here at IBM have a fairly mature port of | ||
2461 | SGI's lcrash tool which allows one to look at kernel structures in a | ||
2462 | running kernel. | ||
2463 | |||
2464 | It also complements a tool called dumptool which dumps all the kernel's | ||
2465 | memory pages & registers to either a tape or a disk. | ||
2466 | This can be used by tech support or an ambitious end user do | ||
2467 | post mortem debugging of a machine like gdb core dumps. | ||
2468 | |||
2469 | Going into how to use this tool in detail will be explained | ||
2470 | in other documentation supplied by IBM with the patches & the | ||
2471 | lcrash homepage http://oss.sgi.com/projects/lkcd/ & the lcrash manpage. | ||
2472 | |||
2473 | How they work | ||
2474 | ------------- | ||
2475 | Lcrash is a perfectly normal program,however, it requires 2 | ||
2476 | additional files, Kerntypes which is built using a patch to the | ||
2477 | linux kernel sources in the linux root directory & the System.map. | ||
2478 | |||
2479 | Kerntypes is an objectfile whose sole purpose in life | ||
2480 | is to provide stabs debug info to lcrash, to do this | ||
2481 | Kerntypes is built from kerntypes.c which just includes the most commonly | ||
2482 | referenced header files used when debugging, lcrash can then read the | ||
2483 | .stabs section of this file. | ||
2484 | |||
2485 | Debugging a live system it uses /dev/mem | ||
2486 | alternatively for post mortem debugging it uses the data | ||
2487 | collected by dumptool. | ||
2488 | |||
2489 | |||
2490 | |||
2457 | SysRq | 2491 | SysRq |
2458 | ===== | 2492 | ===== |
2459 | This is now supported by linux for s/390 & z/Architecture. | 2493 | This is now supported by linux for s/390 & z/Architecture. |