|
Re: lug-bg: pentanet & kernel 2.4.5
- Subject: Re: lug-bg: pentanet & kernel 2.4.5
- From: whitefang@xxxxxx (Angel Valkov)
- Date: Sun, 5 Aug 2001 10:28:42 +0300
A pravil li si
make menuconfig(xconfig)
make dep
make clean.
make dep e neshto zadylvitelno ako ne si si compiliral kernel-a sam
a rabotish sys "stock" kernel. Mislia 4e v
/linux/Documenteation/SmartConfig.txt e otgovora na tova zashto
ti e neobhodim "make dep". Ako izpolzvash "stock" kernel zashto ne opitash
da si precompile-nesh i nego.
Problema sys sigunost ne e v driver-a. Nevyzmojno e synhronize_irq() i
tqueue_lock() da ne se exportirat. A printk_Rsmp_1b7d4074() bi triabvalo
da neizpolzvaneto na MODVERSIONS da go opravilo ili pone vmesto
printk_Rsmp_1b7d4074() da polu4avash kato unresolved printk().
Ia dai i gcc --version.
modprobe --version
On Sunday 05 August 2001 00:06, you wrote:
> 1-vo blagodarq za syveta. Vse oste ne sym uspql da resha problema
> opitah taka kakto mi kazvash da manha DMODVERSIONS i precompilirah modula
> no .. za ogromno moe syjalenie pri opit za insmod se poluchi pak systoto
> ;o( pochti veche sym gotov da ostana sys 2.2.19 kernel zaradi vyprosnata
> satelitna karta ..
> ste izchakam oste den dva da vidq dali nqma vse pak nqkoi da se e sblyskval
> s podobem problem
> i dali v kraq na kraistat e reshen i ako ne ... :o( ...
> Blgaodarq pak
> __ __
> / /____ ___ ____/ / ___
> / __/ _ \/ _ \/ __/ _ \/ -_)
> \__/\___/ .__/\__/_//_/\__/
> @/_/administrators.com
> +35988987720
> http://www.campus-bg.net
> ----- Original Message -----
> From: Angel Valkov <whitefang@xxxxxx>
> To: <lug-bg@xxxxxxxxxxxxxxxxxx>
> Sent: Thursday, August 02, 2001 9:31 PM
> Subject: Re: lug-bg: pentanet & kernel 2.4.5
>
> > On Tuesday 31 July 2001 08:48, you wrote:
> > Zdravei.
> > Malko sys zakysnenie, no po dobre kysno otkolkoto nikoga :)
> > Ako vse oshte ne si si reshil problema. Probvai slednoto:
> > Directivata -I path-to-kernel-includes e pravilno da ia
> > dobavish ako kompilirash ne kato 4ast ot celia kernel-build.
> > Taka 4e prominata na CFLAGS ti e viarna.
> > Az zabeliazah 4e 2.4 ima problemi sys MODVERSIONS.
> > Syobshteniata za unresolved symbols idvat to4no ot tam.
> > Mahni i macrodefiniciata -DMODVERSIONS.
> > Taka shte triabva kato si smenish kernel-a da si rebuildvash vseki pyt i
> > vyprosnia modul.No tova e nai byrzoto reshenie.
> > Uspeh.
> >
> > > znachi taka doide sorce
> > > =========================
> > > CC = gcc
> > > CFLAGS = -DMODULE -DMODVERSIONS -D__KERNEL__ \
> > > -Wstrict-prototypes \
> > > -fomit-frame-pointer \
> > > -fno-strength-reduce -pipe -m486 -malign-loops=2 \
> > > -malign-jumps=2 -malign-functions=2 -DCPU=486
> > > #CFLAGS = -DMODULE -DMODVERSIONS -D__KERNEL__ -I/usr/src/linux/include
> > > \ # -Wstrict-prototypes \
> > > # -fomit-frame-pointer \
> > > # -fno-strength-reduce -pipe -m486 -malign-loops=2 \
> > > # -malign-jumps=2 -malign-functions=2 -DCPU=486
> > > ==========================
> > > imame tva :
> > > eto samo malka chast zastoto ne moga da hvana err
> > > ====================
> > > /usr/include/linux/coda.h:261: storage size of `va_atime' isn't known
> > > /usr/include/linux/coda.h:262: storage size of `va_mtime' isn't known
> > > /usr/include/linux/coda.h:263: storage size of `va_ctime' isn't known
> > > /usr/include/linux/coda.h:566: storage size of `attr' isn't known
> > > /usr/include/linux/fs.h:500: storage size of `f_owner' isn't known
> > > /usr/include/linux/reiserfs_fs_sb.h:253: storage size of
>
> `j_journal_list'
>
> > > isn't known
> > > /usr/include/linux/sched.h:352: storage size of `times' isn't known
> > >
> > >
> > > az smenih
> > > ==========================
> > > #CC = gcc
> > > #CFLAGS = -DMODULE -DMODVERSIONS -D__KERNEL__ \
> > > # -Wstrict-prototypes \
> > > # -fomit-frame-pointer \
> > > # -fno-strength-reduce -pipe -m486 -malign-loops=2 \
> > > # -malign-jumps=2 -malign-functions=2 -DCPU=486
> > > CFLAGS = -DMODULE -DMODVERSIONS -D__KERNEL__ -I/usr/src/linux/include \
> > > -Wstrict-prototypes \
> > > -fomit-frame-pointer \
> > > -fno-strength-reduce -pipe -m486 -malign-loops=2 \
> > > -malign-jumps=2 -malign-functions=2 -DCPU=486
> > >
> > > i uspqva da se izkompilra
> > >
> > >
> > >
> > > posle:
> > > modprobe pentanet
> > > /lib/modules/2.4.5/kernel/drivers/net/pentanet.o: unresolved symbol
> > > tqueue_lock
> > > /lib/modules/2.4.5/kernel/drivers/net/pentanet.o: unresolved symbol
> > > synchronize_irq
> > > /lib/modules/2.4.5/kernel/drivers/net/pentanet.o: unresolved symbol
> > > printk_Rsmp_1b7d4074
> > > /lib/modules/2.4.5/kernel/drivers/net/pentanet.o: insmod
> > > /lib/modules/2.4.5/kernel/drivers/net/pentanet.o failed
> > > /lib/modules/2.4.5/kernel/drivers/net/pentanet.o: insmod pentanet
> > > failed
> > >
> > >
> > >
> > > __ __
> > > / /____ ___ ____/ / ___
> > > / __/ _ \/ _ \/ __/ _ \/ -_)
> > > \__/\___/ .__/\__/_//_/\__/
> > > @/_/administrators.com
> > > +35988987720
> > > http://www.campus-bg.net
>
> ===========================================================================
>
> > > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> > > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara
>
> Zagora
>
> ===========================================================================
>
> > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara
>
> Zagora
>
>
> ===========================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|