2002-07-31 17:23:22

by Nico Schottelius

[permalink] [raw]
Subject: [BUGS] 2.5.29: scsi/pcmcia|sound/trident|devfs

Here's my weekly developer-kernel 'what fails report':
.config is attached.

################################################################################
### warnings:
################################################################################
The following warnings partly led to problems with the modules: [4].
Here's the depmod err [5].

################################################################################
### Compile fails:
################################################################################


< > Future Domain PCMCIA support
Compile output: [1]

< > NinjaSCSI-3 / NinjaSCSI-32Bi (16bit) PCMCIA support
Compile output: [2]

< > Trident 4DWave DX/NX, SiS 7018 or ALi 5451 PCI Audio Core
Compile output: [3]


################################################################################
### Hangup/Kernel Panics:
################################################################################

- devfs: drivers/char/console.c:2527: con_init_devfs(); is missing.
Hey guys, this bug exists in at least 3 kernel versions!
Is no one able to change this line in console.c ?
- ntfs: [only tested with .28, test with .29 will

Errors,.config,etc:

[1]:

make[3]: Entering directory `/usr/src/linux-2.5.29/drivers/scsi/pcmcia'
gcc -Wp,-MD,./.fdomain.o.d -D__KERNEL__ -I/usr/src/linux-2.5.29/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DMODULE -include /usr/src/linux-2.5.29/include/linux/modversions.h
-DPCMCIA -D__NO_VERSION__ -DKBUILD_BASENAME=fdomain -c -o fdomain.o ../fdomain.c
../fdomain.c: In function `do_fdomain_16x0_intr':
../fdomain.c:1568: structure has no member named `address'
../fdomain.c:1601: structure has no member named `address'
../fdomain.c: In function `fdomain_16x0_queue':
../fdomain.c:1687: structure has no member named `address'
../fdomain.c: In function `fdomain_16x0_abort':
../fdomain.c:1817: warning: implicit declaration of function `save_flags'
../fdomain.c:1818: warning: implicit declaration of function `cli'
../fdomain.c:1823: warning: implicit declaration of function `restore_flags'
../fdomain.c:1812: warning: `flags' might be used uninitialized in this function../fdomain.c: In function `fdomain_16x0_release':
../fdomain.c:2046: warning: control reaches end of non-void function
make[3]: *** [fdomain.o] Error 1
make[2]: *** [pcmcia] Error 2
make[1]: *** [scsi] Error 2
make: *** [drivers] Error 2



[2]:

make[3]: Entering directory `/usr/src/linux-2.5.29/drivers/scsi/pcmcia'
gcc -Wp,-MD,./.nsp_cs.o.d -D__KERNEL__ -I/usr/src/linux-2.5.29/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing
-fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DMODULE -include /usr/src/linux-2.5.29/include/linux/modversions.h
-DKBUILD_BASENAME=nsp_cs -c -o nsp_cs.o nsp_cs.c
nsp_cs.c: In function `nsp_queuecommand':
nsp_cs.c:203: structure has no member named `address'
nsp_cs.c: In function `nsp_pio_read':
nsp_cs.c:715: structure has no member named `address'
nsp_cs.c: In function `nsp_pio_write':
nsp_cs.c:788: structure has no member named `address'
make[3]: *** [nsp_cs.o] Error 1
make[2]: *** [pcmcia] Error 2
make[1]: *** [scsi] Error 2
make: *** [drivers] Error 2

[3]:

make[2]: Entering directory `/usr/src/linux-2.5.29/sound/oss'
gcc -Wp,-MD,./.trident.o.d -D__KERNEL__ -I/usr/src/linux-2.5.29/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DMODULE -include /usr/src/linux-2.5.29/include/linux/modversions.h
-DKBUILD_BASENAME=trident -c -o trident.o trident.c
trident.c:2124: macro `synchronize_irq' used without args
trident.c:2131: macro `synchronize_irq' used without args
make[2]: *** [trident.o] Error 1
make[1]: *** [oss] Error 2
make: *** [sound] Error 2


[4]: attached file 'warnings'
[5]: attached .config
[6]: depmod err:

if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.5.29; fi
depmod: *** Unresolved symbols in /lib/modules/2.5.29/kernel/arch/i386/kernel/apm.o
depmod: cpu_gdt_table
depmod: num_possible_cpus
depmod: *** Unresolved symbols in /lib/modules/2.5.29/kernel/drivers/scsi/pcmcia/qlogic_cs.o
depmod: cli
depmod: restore_flags
depmod: save_flags
flapp:/usr/src/linux #


If there are still questions open, just reply to me. Btw, I am not subscribed
to lkml anymore, so if replying, please CC me.

Nico Schottelius

--
Changing mail address: please forget all known @pcsystems.de addresses.

Please send your messages pgp-signed and/or pgp-encrypted (don't encrypt mails
to mailing list!). If you don't know what pgp is visit http://www.gnupg.org.
(public pgp key: ftp.schottelius.org/pub/familiy/nico/pgp-key)


Attachments:
(No filename) (0.00 B)
(No filename) (189.00 B)
Download all attachments

2002-07-31 17:37:59

by James Simmons

[permalink] [raw]
Subject: Re: [BUGS] 2.5.29: scsi/pcmcia|sound/trident|devfs


> ################################################################################
> ### Hangup/Kernel Panics:
> ################################################################################
>
> - devfs: drivers/char/console.c:2527: con_init_devfs(); is missing.
> Hey guys, this bug exists in at least 3 kernel versions!

I'm working on a proper fix. BTW how do you get a kernel panic? I'm
running devfs plus con_init_devfs is not called. tty_register_devfs is
called by tty_register_driver. It is a issue of different flags being
passed to devfs by either tty functions. As soon a linus gives me a answer
to the problem I will post a patch for people to try and then push it to
BK.


2002-07-31 17:40:44

by Alan

[permalink] [raw]
Subject: Re: [BUGS] 2.5.29: scsi/pcmcia|sound/trident|devfs

On Wed, 2002-07-31 at 18:15, Nico Schottelius wrote:
>
> make[3]: Entering directory `/usr/src/linux-2.5.29/drivers/scsi/pcmcia'
> gcc -Wp,-MD,./.nsp_cs.o.d -D__KERNEL__ -I/usr/src/linux-2.5.29/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing
> -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DMODULE -include /usr/src/linux-2.5.29/include/linux/modversions.h
> -DKBUILD_BASENAME=nsp_cs -c -o nsp_cs.o nsp_cs.c
> nsp_cs.c: In function `nsp_queuecommand':

The author sent me an updated driver for this. I'm waiting for Linus to
put out .30 so I can resync and send more patches. I'll probably also
drop it into 2.4-ac.

>
> make[2]: Entering directory `/usr/src/linux-2.5.29/sound/oss'
> gcc -Wp,-MD,./.trident.o.d -D__KERNEL__ -I/usr/src/linux-2.5.29/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DMODULE -include /usr/src/linux-2.5.29/include/linux/modversions.h
> -DKBUILD_BASENAME=trident -c -o trident.o trident.c
> trident.c:2124: macro `synchronize_irq' used without args
> trident.c:2131: macro `synchronize_irq' used without args

I have this fixed in my tree. I have a seperate problem where the
trident drivers blow up gcc 3.1 but thats reported and a gcc issue.
Again I'll send this for .30 if its not done

> CONFIG_PREEMPT=y

Be careful with this. Its still not safe for several things (kernel FPU
using stuff for example)


2002-08-01 07:28:57

by Nico Schottelius

[permalink] [raw]
Subject: Re: [BUGS] 2.5.29: scsi/pcmcia|sound/trident|devfs

James Simmons [Wed, Jul 31, 2002 at 10:41:16AM -0700]:
> > ###########################################################################
> > ### Hangup/Kernel Panics:
> > ###########################################################################
> >
> > - devfs: drivers/char/console.c:2527: con_init_devfs(); is missing.
> > Hey guys, this bug exists in at least 3 kernel versions!
>
> I'm working on a proper fix. BTW how do you get a kernel panic?

In fact it's 'only' a hangup, because getties are unable to open /dev/vc/* [>0].

> I'm
> running devfs plus con_init_devfs is not called. tty_register_devfs is
> called by tty_register_driver. It is a issue of different flags being
> passed to devfs by either tty functions. As soon a linus gives me a answer
> to the problem I will post a patch for people to try and then push it to
> BK.

sounds good. When you've finished the patch and Linux said it's fine,
please send a copy of it to me.

Nico

--
Changing mail address: please forget all known @pcsystems.de addresses.

Please send your messages pgp-signed and/or pgp-encrypted (don't encrypt mails
to mailing list!). If you don't know what pgp is visit http://www.gnupg.org.
(public pgp key: ftp.schottelius.org/pub/familiy/nico/pgp-key)


Attachments:
(No filename) (1.22 kB)
(No filename) (189.00 B)
Download all attachments