The
![]()
User's ManualAppendix D: Kernel Setup
This appendix is meant to give you some hints on proper kernel setup concerning the ISDN subsystem; since this is not a kernel howto, we can't deal with details on other kernel topics.
1. General topics on kernel setup
Said generally, you can start kernel configuration in three different ways:
- make config
- make menuconfig
- make xconfig
No matter which one you choose, all of them have to be issued in the folder /usr/src/linux and you'll need root permissions, of course. The first 2 commands have to be issued in a terminal window, the third one requires a running X server. menuconfig is much more comfortable than config but I for myself prefer xconfig and so the following screenshots show parts of the make xconfig dialog.
2. Driver module support
In case you want/have to use the HiSax driver you'll have to enable this option, of course, which amounts in answering the question for loadable module support with 'yes'.:
![]()
In the example above we enabled additional support for the kernel daemon, which handles loading of driver modules 'just in time', i.e. a driver module is only loaded when it's needed; if, on the other hand the module is no longer in use for a certain amount of time, the kernel daemon will remove it automagically. However, we don't recommend using the kernel daemon along with the HiSax module since kISDN already cares for loading/unloading of the module (the HiSax driver is in use all the time when kISDN is running since it is doing monitoring).
3. Networking options
As far as networking options are concerned, we only need the TCP/IP protocol,
![]()
but we suggest enabling 2 additional options
![]()
The first option cares for IP packets that are given a predefined route (this can cause security problems), they are simply discarded; the second one allows for large transmission windows (there should be no gain in performance when using ISDN, rather when using Ethernet).
4. Network device support
Concerning network device support we need
![]()
I think we agree on the first option, the second one gives support for a so-called dummy device; please have a look at the 'Network Administrator's Guide' (NAG) for more details on this topic.
![]()
I think we don't have to argue about this option ;-)
5. Additional options for channel bundling (MPPP)
If you'd like to use channel bundling you will need an additional option,
![]()
your kernel will support the Multi Point-To-Point Protocol (MPPP), then.
6. ISDN setup options
Further configuration now depends on how ISDN support has to be integrated into your kernel (built-in or module). If you own a PnP card, you don't have the choice: You have to build a kernel module since PnP setup will follow kernel boot, so the kernel won't detect your card properly at startup (wrong order). Since PnP cards are most likely to be used, we only consider this case for now (for built-in support just take 'y' instead of 'm'),
![]()
Need for the second option depends on the protocols used by your ISP, but since syncPPP is most likely to be used, it won't do no harm at all to enable this option.
![]()
These settings apply if your card has the Siemens HSCX/ISAX chipset (most likely, watch our for 2 square chips); furthermore, we have enabled the EURO/DSS1 protocol (D channel protocol) and disabled the (old) german 1TR6. It's very unlikely that you'll need 1TR6, so it's safe in most cases to have this option disabled.
An diese (relativ) allgemeinen Konfigurationen schließt sich die Auswahl Ihres ISDN-Adapters an. Finally, you only have to enable support for your specific ISDN adapter, after that, you may return to the main menu.
Back in the main menu, please close the configuration hitting
![]()
6. Compiling the kernel
Dieser Vorgang sollte in den Handbüchern zu Ihrer Distribution ausführlich beschrieben sein, ich beschränke mich daher auf die direkte Installation des Kernels auf der Festplatte. Als erstes werden die Abhängigkeiten der einzelnen Kernelkomponenten berechnet und dann etwaige 'Objektcode-Leichen' beseitigt,
make dep ; make clean
Dann wird der Kernel übersetzt und der Bootloader LILO neu konfiguriert, dazu genügt ein einfaches
make zlilo
Als nächstes übersetzen wir die Module,
make modules
und installieren diese nach erfolgtem Übersetzen:
make modules_install
Wir sorgen jetzt noch dafür, daß die Root-Partition (das ist die, auf der auch das Kernel-Image liegen wird), beim Booten nur gelesen, nicht aber beschrieben werden kann,
rdev -R /vmlinuz 1
Fertig. Das System kann jetzt neu gebootet werden.
Dies ist nur eine allgemeine Anleitung zum Kompilieren des Kernels, Unterschiede zwischen einzelnen Linux-Distributionen bleiben völlig unberücksichtigt. Im Zweifelsfalle sollten Sie vorher nochmal ein Blick ins Handbuch der Distribution werfen oder auch jemanden fragen, der sich damit auskennt, da ein falsch konfigurierter Kernel Ihr System eventuell nicht mehr booten läßt.
Zurück zum Inhalt
Ch. Demmer / 25. Juli 1998, kISDN Release 0.6.0