Hello, I have a problem in this part "Compiling New Custom Kernel *** Optional ***" of the howto. When I execute the command I get an error, this is the output : marina:/usr/src# wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.23.12.tar.bz2 --15:55:23-- http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.23.12.tar.bz2 => `linux-2.6.23.12.tar.bz2.1' Résolution de www.kernel.org... 204.152.191.5, 204.152.191.37 Connexion vers www.kernel.org|204.152.191.5|:80...connecté. requête HTTP transmise, en attente de la réponse...200 OK Longueur: 45 474 970 (43M) [application/x-bzip2] 100%[====================================>] 45 474 970 166.49K/s ETA 00:00 16:02:18 (107.17 KB/s) - « linux-2.6.23.12.tar.bz2.1 » sauvegardé [45474970/45474970] marina:/usr/src# tar xjf linux-2.6.* bzip2: Compressed file ends unexpectedly; perhaps it is corrupted? *Possible* reason follows. bzip2: Inappropriate ioctl for device Input file = (stdin), output file = (stdout) It is possible that the compressed file(s) have become corrupted. You can use the -tvv option to test integrity of such files. You can use the `bzip2recover' program to attempt to recover data from undamaged sections of corrupted files. tar: Fin prématurée (EOF) rencontrée dans l'archive. tar: Erreur non récupérable: fin de l'exécution immédiate marina:/usr/src# tar xjf linux-2.6.23.12.tar.bz2 bzip2: Compressed file ends unexpectedly; perhaps it is corrupted? *Possible* reason follows. bzip2: Inappropriate ioctl for device Input file = (stdin), output file = (stdout) It is possible that the compressed file(s) have become corrupted. You can use the -tvv option to test integrity of such files. You can use the `bzip2recover' program to attempt to recover data from undamaged sections of corrupted files. tar: Fin prématurée (EOF) rencontrée dans l'archive. tar: Fin prématurée (EOF) rencontrée dans l'archive. tar: Erreur non récupérable: fin de l'exécution immédiate marina:/usr/src# marina:/usr/src# Can you please help me to solve it. PS:I have followed all the steps describe in this howto since the beginning.
Code: home:~# wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.23.12.tar.bz2 --08:31:03-- http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.23.12.tar.bz2 => `linux-2.6.23.12.tar.bz2' Resolving www.kernel.org... 204.152.191.5, 204.152.191.37 Connecting to www.kernel.org|204.152.191.5|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 45,474,970 (43M) [application/x-bzip2] 100%[==================================================================================================>] 45,474,970 2.16M/s ETA 00:00 08:31:26 (1.89 MB/s) - `linux-2.6.23.12.tar.bz2' saved [45474970/45474970] home:~# tar jxf linux-2.6.23.12.tar.bz2 home:~# ls linux* linux-2.6.23.12.tar.bz2 linux-2.6.23.12: arch COPYING crypto drivers include ipc kernel MAINTAINERS mm README scripts sound block CREDITS Documentation fs init Kbuild lib Makefile net REPORTING-BUGS security usr home:~# The archive works for me, try another mirror or re-downloading.
As you tell, I have change the mirror and now avoid the error. The mirror I use is : http://www.fr.kernel.org and below the output of the command : marina:/usr/src# wget http://www.fr.kernel.org/pub/linux/kernel/v2.6/linux-2.6.2 3.12.tar.bz2 --07:27:52-- http://www.fr.kernel.org/pub/linux/kernel/v2.6/linux-2.6.23.12.tar .bz2 => `linux-2.6.23.12.tar.bz2' Résolution de www.fr.kernel.org... 88.191.20.17, 195.140.143.234 Connexion vers www.fr.kernel.org|88.191.20.17|:80...connecté. requête HTTP transmise, en attente de la réponse...200 OK Longueur: 45 474 970 (43M) [application/x-bzip2] 100%[====================================>] 45 474 970 120.78K/s ETA 00:00 07:33:48 (125.18 KB/s) - « linux-2.6.23.12.tar.bz2 » sauvegardé [45474970/454749 70] marina:/usr/src# tar xjf linux-2.6.* marina:/usr/src# ls linux* linux-2.6.23.12.tar.bz2 linux-2.6.23.12: arch COPYING crypto drivers include ipc kernel MAINTAINERS mm README scripts sound block CREDITS Documentation fs init Kbuild lib Makefile net REPORTING-BUGS security usr marina:/usr/src# Thanks more
Installing mISDN After installing the others packages without any error, I try to install mISDN following the howto commands. All run well, but the compilation command "make" give errors. Look below marina:/usr/src# git-clone git://git.misdn.org/git/mISDN.git/ remote: Generating pack... remote: Done counting 8194 objects. remote: Deltifying 8194 objects. remote: 100% (8194/8194) done Indexing 8194 objects. remote: Total 8194 (delta 5501), reused 6330 (delta 4228) 100% (8194/8194) done Resolving 5501 deltas. 100% (5501/5501) done marina:/usr/src# git-clone git://git.misdn.org/git/mISDNuser.git/ remote: Generating pack... remote: Done counting 1188 objects. remote: Deltifying 1188 objects. remote: 100% (1188/1188) done Indexing 1188 objects. remote: Total 1188 (delta 794), reused 652 (delta 441) 100% (1188/1188) done Resolving 794 deltas. 100% (794/794) done marina:/usr/src# cd /usr/src/mISDN marina:/usr/src/mISDN# make echo 1_2_0 > VERSION ; \ export LINUX=/lib/modules/2.6.23.12-custom/build; ./makelib.sh test_old_misdn cp /usr/src/mISDN/drivers/isdn/hardware/mISDN/Makefile.v2.6 /usr/src/mISDN/drivers/isdn/hardware/mISDN/Makefile export MINCLUDES=/usr/src/mISDN/include ; export MISDNVERSION=1_2_0; make -C /lib/modules/2.6.23.12-custom/build SUBDIRS=/usr/src/mISDN/drivers/isdn/hardware/mISDN modules CONFIG_MISDN_DRV=m CONFIG_MISDN_DSP=m CONFIG_MISDN_HFCMULTI=m CONFIG_MISDN_HFCPCI=m CONFIG_MISDN_HFCUSB=m CONFIG_MISDN_XHFC=m CONFIG_MISDN_HFCMINI=m CONFIG_MISDN_W6692=m CONFIG_MISDN_SPEEDFAX=m CONFIG_MISDN_AVM_FRITZ=m CONFIG_MISDN_NETJET=m CONFIG_MISDN_L1OIP=m CONFIG_MISDN_DEBUGTOOL=m make[1]: entrant dans le répertoire « /usr/src/linux-2.6.23.12 » CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/hfc_multi.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/hfc_pci.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/hfcs_mini.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/hfcs_usb.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/l1oip_core.o /usr/src/mISDN/drivers/isdn/hardware/mISDN/l1oip_core.c:438:2: warning: #warning to be done: timebase to s32 and jitter-feature CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/l1oip_codec.o /usr/src/mISDN/drivers/isdn/hardware/mISDN/l1oip_codec.c:312:2: warning: #warning for debugging, will be removed later CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/layer3.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/l3_udss1.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/capi.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/contr.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/listen.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/appl.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/plci.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/app_plci.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/ncci.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/asn1.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/asn1_aoc.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/asn1_comp.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/asn1_generic.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/asn1_diversion.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/asn1_basic_service.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/asn1_address.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/asn1_enc.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/capi_enc.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/supp_serv.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/core.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/stack.o /usr/src/mISDN/drivers/isdn/hardware/mISDN/stack.c:1079:2: warning: #warning JOLLY debug workaround, must be removed /usr/src/mISDN/drivers/isdn/hardware/mISDN/stack.c:1079:2: warning: #warning JOLLY debug workaround, must be removed CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/udevice.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/helper.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/debug.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/fsm.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/channel.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/l3helper.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/sysfs_obj.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/sysfs_inst.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/sysfs_st.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/debugtool.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/dsp_core.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/dsp_cmx.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/dsp_tones.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/dsp_dtmf.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/dsp_audio.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/dsp_blowfish.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/dsp_pipeline.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/dsp_hwec.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/dsp_kb1ec.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/dsp_mec2.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/dsp_mg2ec.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/dsp_octwareec.o In file included from /usr/src/mISDN/drivers/isdn/hardware/mISDN/dsp_octwareec.c:31: /usr/src/mISDN/drivers/isdn/hardware/mISDN/dsp_octwareec.h: In function ‘echo_can_create’: /usr/src/mISDN/drivers/isdn/hardware/mISDN/dsp_octwareec.h:77: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘unsigned int’ CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/dsp_oslec.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/oslec_wrap.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/oslec_echo.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/dtmf.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/isac.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/arcofi.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/layer1.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/layer2.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/tei.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/x25_dte.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/x25_l3.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/netjet.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/sedl_fax.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/isar.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/w6692.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/xhfc_su.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/xhfc_pci2pi.o LD [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/mISDN_core.o LD [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/mISDN_isac.o LD [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/mISDN_l1.o LD [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/mISDN_l2.o LD [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/mISDN_x25dte.o LD [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/l3udss1.o LD [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/mISDN_capi.o LD [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/mISDN_dtmf.o LD [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/avmfritz.o LD [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/netjetpci.o LD [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/hfcpci.o LD [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/hfcsusb.o LD [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/hfcsmini.o LD [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/sedlfax.o LD [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/w6692pci.o LD [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/hfcmulti.o LD [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/xhfc.o LD [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/mISDN_dsp.o LD [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/mISDN_dsp_mec2.o LD [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/mISDN_dsp_kb1ec.o LD [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/mISDN_dsp_mg2ec.o LD [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/mISDN_dsp_oslec.o LD [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/mISDN_dsp_octwareec.o LD [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/l1oip.o LD [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/mISDN_debugtool.o CC [M] /usr/src/mISDN/drivers/isdn/hardware/mISDN/octvqe/octvqe_linux.o /usr/src/mISDN/drivers/isdn/hardware/mISDN/octvqe/octvqe_linux.c: In function ‘octvqe_exit’: /usr/src/mISDN/drivers/isdn/hardware/mISDN/octvqe/octvqe_linux.c:1279: error: void value not ignored as it ought to bemake[3]: *** [/usr/src/mISDN/drivers/isdn/hardware/mISDN/octvqe/octvqe_linux.o] Erreur 1 make[2]: *** [/usr/src/mISDN/drivers/isdn/hardware/mISDN/octvqe] Erreur 2 make[1]: *** [_module_/usr/src/mISDN/drivers/isdn/hardware/mISDN] Erreur 2 make[1]: quittant le répertoire « /usr/src/linux-2.6.23.12 » make: *** [all] Erreur 2 Must I reboot with the first kernel version 2.6.18.5 which is installed by default with the netinstall CD ? Please help me to solve this error and to follow and finish the installation. Thanks more for your reply
I never knew people still use ISDN or perhaps this module has some other use i'm not aware of? Are you sure you need mISDN? I don't know french so I can't say why it refuses to compile.
Installing mISDN Note: Don't compile the current version (1.1.7) with the last kernel (2.6.23.12). The (2.6.18.10) was tested and works.
Hello, I have seen the note before compiling mISDN. Therefore I have two kernel on my server the default 2.6.18.5 and the custom 2.6.23.12, compiled following the howto. I can't have 2.6.18.10 kernel version. I have decided to install mISDN because it is present in the howto. For me I won't need it. and now I will try to follow and install the others packages. Thanks more for your reply. PS: I want to know if the way to compile a custom kernel is the same for the differents versions of kernel as you describe in this howto.
Hi kdclever: Yes. The way to compile all 2.6 kernels are the same AFAIK. We tested mISDN 1.1.7 with 2.6.18.10. but may be other new kernels works too. mISDN people is working hard to fix this issue with kernel version 2.6.23. If you do not need mISDN (ISDN devices only, not PRI. PRI devices use zaptel and libpri), you can safety bypass compiling the mISDN section. Best Regards, Olaf