Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: make insmod error




----- Original Message -----
From: "Klaus Schmidinger" <Klaus.Schmidinger@cadsoft.de>
To: <linux-dvb@linuxtv.org>
Sent: Sunday, December 16, 2001 10:49 AM
Subject: [linux-dvb] Re: make insmod error


> René Bartsch wrote:
> >
> > ----- Original Message -----
> > From: "Klaus Schmidinger" <Klaus.Schmidinger@cadsoft.de>
> > To: <linux-dvb@linuxtv.org>
> > Sent: Saturday, December 15, 2001 3:52 PM
> > Subject: [linux-dvb] Re: make insmod error
> >
> > > René Bartsch wrote:
> > > >
> > > > Hi,
> > > >
> > > > I've installed a fresh Redhat 7.2 (Kernel 2.4.7-10, complete
> > installation (with all that 2,9 gigabytes)).
> > > >
> > > > I've renamed gcc to gcc296 and linked gcc to gcc3 (to get rid of that
> > buggy 2.96).
> > > >
> > > > I've linked /usr/src/linux to /usr/src/linux-2.4.7.10.
> > > >
> > > > I've copied kernel-2.4.7-i686.config from
> > /usr/src/linux-2.4.7.10/configs to from /usr/src/linux-2.4.7.10/, started a
> > make xconfig, loaded kernel-2.4.7-i686.config and saved.
> > > >
> > > > Then I've downloaded tonight's 2.50 am CVS - snapshot. It compiled well,
> > but when I tried a 'make insmod' it broke with the following message:
> > > >
> > > > ./makedev.napi
> > > > make
> > > > make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/DVB/driver«
> > >
> > > Gee, those German error messages are funny...
> > >
> > > > DIR=`pwd`; (cd /usr/src/linux; make SUBDIRS=$DIR modules)
> > > > make[2]: Wechsel in das Verzeichnis
> > Verzeichnis »/usr/src/linux-2.4.7-10«
> > > > make -C  /usr/src/DVB/driver
> > CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.7-10/include -Wall -Wstrict-protot
> > ypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-commo
> > n -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODV
> > ERSIONS -include /usr/src/linux-2.4.7-10/include/linux/modversions.h"
> > MAKING_MODULES=1 modules
>
> Could you please turn off line wrapping?!
> This makes your replies pretty hard to read...

Outlook Express doesn't have the possibility the deactivate line-wrapping completely - sorry, but I will install a new Linux on my
client when the server is running well.

>
> > > > make[3]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/DVB/driver«
> > > > make[3]: Für das Target »modules« gibt es nichts zu tun.
> > > > make[3]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/DVB/driver«
> > > > make[2]: Verlassen des Verzeichnisses
> > Verzeichnis »/usr/src/linux-2.4.7-10«
> > > >
> > > > make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/DVB/driver«
> > > > ( \
> > > > insmod dvbdev.o; \
> > > > insmod dvb_net.o;                \
> > > > insmod i2c-core; \
> > > > insmod videodev;  \
> > > > insmod dvb_filter.o;                \
> > > > insmod dmxdev.o;                \
> > > > insmod VES1893.o;  \
> > > > insmod VES1820.o;  \
> > > > insmod L64781.o;  \
> > > > insmod SP8870.o debug=1; \
> > > > insmod tda8083.o;  \
> > > > insmod stv0299.o;  \
> > > > insmod tuner.o;   \
> > > > insmod saa7146_core.o mode=0; \
> > > > insmod saa7146_v4l.o;  \
> > > > insmod dvb_demux.o;             \
> > > > insmod dvb_frontend.o;           \
> > > > insmod dvb.o init_chan=2 pids_off=0; \
> > > > )
> > > > Using /lib/modules/2.4.7-10/kernel/drivers/i2c/i2c-core.o
> > > > Using /lib/modules/2.4.7-10/kernel/drivers/media/video/videodev.o
> > > > /usr/src/linux/scripts/pathdown.sh: TOPDIR: parameter null or not set
> > > > make: *** [insmod] Fehler 139
> > > >
> > > > Can anyone help me, please?
> > >
> > > Strange, this shouldn't happen, since the Makefile sets this variable.
> > >
> > > Try
> > >
> > >    export KERNEL_LOCATION=/usr/src/linux
> > >
> > > before 'make insmod'. Does this change anything?
> > >
> > > Klaus
> >
> > I've tested it, but the error message is still the same.
> >
> > Maybe /var/log/messages helps (seems like a conflict with mit NICs ???):
> >
> > LOGIN(uid=0)
> >
> > Dec 15 16:18:15 echelon -- root[1237]: ROOT LOGIN ON tty1
> >
> > Dec 15 16:18:36 echelon kernel: i2c-core.o: i2c core module
> >
> > Dec 15 16:18:37 echelon kernel: Linux video capture interface: v1.00
> >
> > Dec 15 16:18:37 echelon kernel: i2c-core.o: driver VES1893 DVB demodulator
> > registered.
> >
> > Dec 15 16:18:37 echelon kernel: i2c-core.o: driver VES1820 DVB demodulator
> > registered.
> >
> > Dec 15 16:18:37 echelon kernel: i2c-core.o: driver L64781 DVB demodulator
> > registered.
> >
> > Dec 15 16:18:38 echelon kernel: init_SP8870:
> >
> > Dec 15 16:18:38 echelon kernel: i2c-core.o: driver SP8870 DVB demodulator
> > registered.
> >
> > Dec 15 16:18:38 echelon kernel: i2c-core.o: driver tda8083 DVB demodulator
> > registered.
> >
> > Dec 15 16:18:38 echelon kernel: i2c-core.o: driver stv0299 DVB demodulator
> > registered.
> >
> > Dec 15 16:18:38 echelon kernel: i2c-core.o: driver i2c TV tuner driver
> > registered.
> >
> > Dec 15 16:18:38 echelon kernel: saa7146_core.o: not enough kernel-memory for
> > grabbing_mem!
> >
> > Dec 15 16:18:38 echelon kernel: saa7146_core.o: not enough kernel-memory for
> > grabbing_mem!
>
> Looks like you have a memory problem.
> How much RAM does your system have?
> Which modules do you have installed (do 'lsmod' to list them)?
> Can you try it with a minimal system (all unnecessary modules left out)?
>
> Klaus

The message '/usr/src/linux/scripts/pathdown.sh: TOPDIR: parameter null or not set' is still there, but I've had some strange result
when testing RAM.

The RAMs are fine (tested with ctRAMtst by Andreas Stiller from c't and with complete 1048 MB on the mainboard).

First, my system:

ASUS CUBX - Mainboard ( INTEL 440BX )
INTEL Celeron 1100 MHz (FCPGA, Coppermine)
4x INFINEON HYS64V32220GU-7-C2 (256 MB, PC133-222-520, 2x 64 Adressleitungen (don't know the english word)) -> 1048 MB RAM
ELSA TNT2 Vanta, 16 MB SD-Ram (AGP)
ASUS SC-200 Scsi-Controller ( Symbios 53c810, PCI-Slot 2)
2x TECHNOTREND DVB-S ( Rev. 1.3, Slot 3 and 6, same IRQ)
2x ALLNET 0124 Gigabit NIC (NATIONAL SEMICONDUCTOR  DP83821, Slot 4 and 5, same IRQ)

With 1048 MB, both RedHat compilers - GCC 2.96 and GCC 3.02 - caused the memory and segmentation faults. But with 768 MB, GCC 2.96
worked well. Only GCC 3.0.2 messed up even with 256 MB RAM. Has Linux problems addressing memory >= a gigabyte?

Both compilers claimed a 'malloc.h deprecated. use slab.h' !!!

So, RedHat has patched GCC 3.0.2 to hell again, or there are incompatibilities in the driver ...

Anyone who knows the answer and a workaround?

I've renamed gcc to gcc296 in /usr/bin and now I link gcc to gcc296 or gcc3 depending on which compiler fails with a software ...

Rene

>
> >
> > Dec 15 16:18:38 echelon kernel: Unable to handle kernel NULL pointer
> > dereference at virtual address 0000003c
> >
> > Dec 15 16:18:38 echelon kernel: printing eip:
> >
> > Dec 15 16:18:38 echelon kernel: fdb94757
> >
> > Dec 15 16:18:38 echelon kernel: *pde = 00000000
> >
> > Dec 15 16:18:38 echelon kernel: Oops: 0000
> >
> > Dec 15 16:18:38 echelon kernel: CPU: 0
> >
> > Dec 15 16:18:38 echelon kernel: EIP: 0010:[<fdb94757>]
> >
> > Dec 15 16:18:38 echelon kernel: EFLAGS: 00010246
> >
> > Dec 15 16:18:38 echelon kernel: eax: 00000000 ebx: fdb96f80 ecx: 00000001
> > edx: 00000000
> >
> > Dec 15 16:18:38 echelon kernel: esi: 00000000 edi: 00000001 ebp: 00000000
> > esp: f48afc3c
> >
> > Dec 15 16:18:38 echelon kernel: ds: 0018 es: 0018 ss: 0018
> >
> > Dec 15 16:18:38 echelon kernel: Process insmod (pid: 1429,
> > stackpage=f48af000)
> >
> > Dec 15 16:18:38 echelon kernel: Stack: 00000010 00010202 00000282 00000758
> > 40016540 f48ae000 00000002 c0114080
> >
> > Dec 15 16:18:38 echelon kernel: 0805e688 c0107008 f48afc6c 00000002 c017f9b4
> > c23c40cc 00000000 00000000
> >
> > Dec 15 16:18:38 echelon kernel: c23ff840 00000008 c23ff840 c017fa59 c23c40cc
> > c23ff840 00000000 00000008
> >
> > Dec 15 16:18:38 echelon kernel: Call Trace: [do_page_fault+0/1168]
> > [error_code+56/64] [account_io_start+68/80] [req_new_io+73/96]
> > [__make_request+1334/1840]
> >
> > Dec 15 16:18:38 echelon kernel: Call Trace: [<c0114080>] [<c0107008>]
> > [<c017f9b4>] [<c017fa59>] [<c01801a6>]
> >
> > Dec 15 16:18:38 echelon kernel: [_wrapped_alloc_pages+110/608]
> > [__alloc_pages+15/160] [do_anonymous_page+54/240] [do_no_page+50/272]
> > [ns83820:__insmod_ns83820_O/lib/modules/2.4.7-10/kernel/drivers/net/+-137668
> > 0/96]
> > [ns83820:__insmod_ns83820_O/lib/modules/2.4.7-10/kernel/drivers/net/+-137495
> > 3/96]
> >
> > Dec 15 16:18:38 echelon kernel: [<c012f0ce>] [<c012f2cf>] [<c0124b76>]
> > [<c0124c62>] [<f882de58>] [<f882e517>]
> >
> > Dec 15 16:18:38 echelon kernel:
> > [ns83820:__insmod_ns83820_O/lib/modules/2.4.7-10/kernel/drivers/net/+-130629
> > 7/96]
> > [ns83820:__insmod_ns83820_O/lib/modules/2.4.7-10/kernel/drivers/net/+-130616
> > 2/96]
> > [ns83820:__insmod_ns83820_O/lib/modules/2.4.7-10/kernel/drivers/net/+-137657
> > 8/96] [_wrapped_alloc_pages+110/608] [__alloc_pages+15/160]
> > [do_wp_page+751/800]
> >
> > Dec 15 16:18:38 echelon kernel: [<f883f147>] [<f883f1ce>] [<f882debe>]
> > [<c012f0ce>] [<c012f2cf>] [<c01246af>]
> >
> > Dec 15 16:18:38 echelon kernel: [handle_mm_fault+158/224]
> > [pci_read_config_word+42/64] [<fdb94685>] [<fdb7a240>] [<fdba1ea8>]
> > [<fdb95242>]
> >
> > Dec 15 16:18:38 echelon kernel: [<c0124dde>] [<c01a28ba>] [<fdb94685>]
> > [<fdb7a240>] [<fdba1ea8>] [<fdb95242>]
> >
> > Dec 15 16:18:38 echelon kernel: [<fdb96f80>] [<fdb953e5>] [<fdb8b000>]
> > [sys_init_module+1333/1520] [<fdbc2c40>] [<fdb89000>]
> >
> > Dec 15 16:18:38 echelon kernel: [<fdb96f80>] [<fdb953e5>] [<fdb8b000>]
> > [<c01182e5>] [<fdbc2c40>] [<fdb89000>]
> >
> > Dec 15 16:18:38 echelon kernel: [<fdb8b060>] [system_call+51/56]
> >
> > Dec 15 16:18:38 echelon kernel: [<fdb8b060>] [<c0106f0b>]
> >
> > Dec 15 16:18:38 echelon kernel:
> >
> > Dec 15 16:18:38 echelon kernel: Code: 8b 46 3c 89 43 60 8b 40 3c 89 bb fc ac
> > 00 00 89 83 f0 ac 00
> >
> > Rene
> --
> _______________________________________________________________
>
> Klaus Schmidinger                       Phone: +49-8635-6989-10
> CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
> Hofmark 2                               Email:   kls@cadsoft.de
> D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
> _______________________________________________________________
>
>
> --
> Info:
> To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
>



--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.


Home | Main Index | Thread Index