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

Re: segfault on kernel v2.4.0



I have no kernel debugging experience.  There is documentation.  See
/usr/src/linux/REPORTING-BUGS and
/usr/src/linux/Documentation/oops-tracing.txt, the latter is really
helpful here.


On Tue, Jan 30, 2001 at 10:03:33AM +0100, Dejan Muhamedagic wrote:
> Hello,
> 
> Trying to migrate to the new kernel v2.4.0, but I'm failing
> to get ciphers to work.  The cipher segfaults :(  It doesn't

I think segfualt is the wrong jargon here.

> matter trying to use the file encrypted with ciphers from
> v2.2.17 or creating a new one.
> 
> I hope you will find the information attached at the bottom
> of the message useful.
> 

Try compiling as loadable modules, instead of compiling it into
the kernel.  Did you try a 2.4.0 kernel with the *same* config
options but without the crypto patch?  You should.

> # insmod -V
> insmod version 2.4.1
> # gcc --version
> 2.95.2
> # ldd --version
> ldd (GNU libc) 2.2
> 
> from syslog:
> 
> Jan 29 00:39:24 hobbes kernel: loop: enabling 8 loop devices
> Jan 29 00:39:51 hobbes kernel: divide error: 0000
> Jan 29 00:39:51 hobbes kernel: CPU:    0
> Jan 29 00:39:51 hobbes kernel: EIP:    0010:[cs46xx:InitArray+314522/152496206]
                                               ^^^^^^
That is a sound driver

> Jan 29 03:28:01 hobbes kernel: cryptoapi: Registered blowfish-cbc (65536)
> Jan 29 03:28:01 hobbes kernel: divide error: 0000
> Jan 29 03:28:01 hobbes kernel: CPU:    0
> Jan 29 03:28:01 hobbes kernel: EIP:    0010:[ds:__insmod_ds_O/lib/modules/2.4.0/kernel/drivers/pcmcia/ds.o_+-304718/96]

That is a PCMCIA driver, (which I do not have)

So if it is a bug in the crypto patch, it is a bug that stomps on
other parts of the kernel, causing the ooops to show up in your sound
driver and PCMCIA driver.

Or...it is a problem in your sound driver and PCMCIA driver.

Again,

Try to build a clean 2.4.0 or 2.4.1 kernel with the same options, but
without crypto.

When you add a crypto patch, try using modules.

-- 
Chris

Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/