Lockup in 2.4.2 kernel ADSL PCI card ATM driver module

Lockup in 2.4.2 kernel ADSL PCI card ATM driver module

Post by dan.david.. » Sat, 16 Jun 2001 01:50:06



Kernel community,

Sorry for intrusion, but I could use some guidance and/or direction in
tracking
down the source of a problem.  None of the messages I have seen in the
archives quite seem to match this problem (if there is one please let me
know).  I am looking for where or how to dig (deeper) to find the source of
the problem (described below).
Please CC me with any responses at

Thanks much (in advance of any help),
Dan Davidson

Conexant Systems, Inc.

SUBJECT:
Lockup in 2.4.2 kernel ADSL PCI card ATM driver module

DRIVER RESULTS:
Works fine in 2.4.0 kernel.
Locks up system (no messages/oops/etc.) in 2.4.2-2 kernel (rh 7.1).
Locks up system (no messages/oops/etc.) in 2.4.2 kernel (w/ or w/o kgdb).
Locks up system with "int 3" ??????? message in 2.4.2-ac28 kernel.

PROBLEM:
We are developing reference design Linux drivers for our PCI ADSL
reference design hardware.  We have had drivers working (not crashing
and able to transfer data) for kernel version 2.4.0.
Yet the same source code for the driver, compiled with each kernel
version, (and working fine for 2.4.0 kernel) causes system lockup
on 2.4.2 kernel versions.
The driver is a kernel module ATM driver for a Conexant PCI ADSL card.

SYSTEM:
Dell Dimension XPS 300
 Pentium II 300 MHz
 128MB RAM
 Maxtor 31024H2 (ATA) HD
 CDROM (ATAPI)
 Iomega Zip100 (ATAPI)
 1.44 FD
 3COM PCI ethernet
 Conexant PCI ADSL

FILES:
Several of the patch files, ".config" files, partial "System.map",
and output of dmesg can be found at "http://home.hiwaay.net/~rss1/linux"
and within the "2.4.0" and "2.4.2" subdirectories and the subdirectories
of "2.4.2" ("2", "ac28", and "kgdb").

2.4.0 KERNEL:
Start with Red Hat Linux 6.2 release.
Upgrade to kernel 2.4.0 (lilo for both 2.2.14-5 and 2.4.0)
applying patches "br2684-001212-against2.4.0.dif" and "atm-hdlc-patch"
and using "config.gz" as ".config".
Build kernel.
Install rpm "modutils-2.4.0-1.i386.rpm".
Install rpm "atm-0.78-1.i386.rpm".
Install Conexant ADSL driver.

2.4.2-2 (rh) KERNEL:
Start with Red Hat Linux 7.1 release.
Apply patches "br2684-001212-against2.4.2.dif" and "atm-hdlc-patch".
Configure kernel for:
 code maturity - experimental
 loadable module support - enable loadable and kernel module support
 networking options - enable ATM and classical IP over ATM
    and set to module enable LAN Emulation, multi-protocol over ATM,
    and RFC1483/2684 bridged protocols
 network device support - module enable PPP and PPPoATM
Build kernel.
Install rpm "atm-0.78-1.i386.rpm".
Install Conexant ADSL driver.

2.4.2-kgdb KERNEL:
Start with Red Hat Linux 7.1 release.
Add kernel 2.4.2 (lilo for both 2.4.2-2 and 2.4.2-kgdb)
Apply patch "linux-2.4.2-kgdb.patch".
Apply patches "br2684-001212-against2.4.2.dif" and "atm-hdlc-patch".
Configure kernel for:
 code maturity - experimental
 loadable module support - enable loadable and kernel module support
 networking options - enable ATM and classical IP over ATM
    and set to module enable LAN Emulation, multi-protocol over ATM,
    and RFC1483/2684 bridged protocols
 network device support - module enable PPP and PPPoATM
Build kernel.
Previously installed rpm "atm-0.78-1.i386.rpm".
Install Conexant ADSL driver.

2.4.2-ac28 KERNEL:
Start with Red Hat Linux 7.1 release.
Add kernel 2.4.2 (lilo for both 2.4.2-2, 2.4.2-kgdb, and 2.4.2-ac28)
Apply patch "patch-2.4.2-ac28".
Apply patches "br2684-001212-against2.4.2.dif" and "atm-hdlc-patch".
Configure kernel for:
 code maturity - experimental
 loadable module support - enable loadable and kernel module support
 networking options - enable ATM and classical IP over ATM
    and set to module enable LAN Emulation, multi-protocol over ATM,
    and RFC1483/2684 bridged protocols
 network device support - module enable PPP and PPPoATM
Build kernel.
Previously installed rpm "atm-0.78-1.i386.rpm".
Install Conexant ADSL driver.

MESSAGE GENERATED IN 2.4.2-ac28:
int 3: 0000
CPU:     0
EIP:     0010:[<c885478b>]
EFLAGS:  00000282
eax: c8854780   ebx: 00000000   ecx: c02873e8   edx: c100df74
esi: 00000000   edi: 00000000   ebp: c14e5f28   esp: c14e5f20
Process insmod (pid: 1401, stackpage-c14e5000)
Stack: c884d000 00000000 00000060 c0114c35 00000000 c0349000 000860a0
c034a000
       00000060 ffffffea 00000007 c6979fdc 00000060 c8845000 c884d060
000ae220
       00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
Call Trace: [<c884d000>] [<c0114c35>] [<c8845000>] [<c884d060>]
[<c0106ffb>] [<c
010002b>]

Code: 83 ec 0c 68 d0 17 8b c8 e8 e8 f6 8b f7 c7 04 24 00 18 8b c8
 make[1]: *** [start] Segmentation fault

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

Lockup in 2.4.2 kernel ADSL PCI card ATM driver module

Post by Mitchell Blank J » Sat, 16 Jun 2001 02:10:21



> SUBJECT:
> Lockup in 2.4.2 kernel ADSL PCI card ATM driver module

> DRIVER RESULTS:
> Works fine in 2.4.0 kernel.
> Locks up system (no messages/oops/etc.) in 2.4.2-2 kernel (rh 7.1).
> Locks up system (no messages/oops/etc.) in 2.4.2 kernel (w/ or w/o kgdb).
> Locks up system with "int 3" ??????? message in 2.4.2-ac28 kernel.

First, please try with a recent 2.4.5ac kernel - a number of ATM bugfixes
have been made recently and they've been merged first with alan's
branch.  Anyway, there's a chance that you might just be hitting one of
those bugs that have already been fixed, so it'd be best to try that
first so we can exclude that possibility.

Quote:> MESSAGE GENERATED IN 2.4.2-ac28:
> int 3: 0000
> CPU:     0
> EIP:     0010:[<c885478b>]

Please read the REPORTING-BUGS and Documentation/oops-tracing.txt files
in the linux source tree - especially the parts about using the
"ksymoops" tool.  These numbers are useless to us unless you run it
through that tool first.

-Mitch
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

Lockup in 2.4.2 kernel ADSL PCI card ATM driver module

Post by dan.david.. » Sun, 17 Jun 2001 03:40:10


I apologize to all for my first post!

To partly answer my own poorly documented problem:-

First, once the code added for the de* (int3) was removed from
the driver, the driver worked fine with kernel version 2.4.2-ac28 (but
still not with 2.4.2-2rh or 2.4.2).

Second, with sincere apologies to all (some suffer from brain
lapses more than others), I neglected to mention that the system
hangs, in both 2.4.2-2rh and 2.4.2 kernels, when the driver
performs:
    ...
    save_flags(flags);
    cli();
    ...
    TimeRemain = interruptible_sleep_on_timeout(&pEvent->WaitQue,
WaitTime);
    restore_flags(flags);
    ...

Again note that there were not any code changes to the driver,
with the results that the driver worked for 2.4.0 and 2.4.2-ac28
but did not work for 2.4.2-2rh or 2.4.2.

Does anyone know if there was a bug introduced between 2.4.0 and 2.4.2
in the interruptible sleep area that was fixed by 2.4.2-ac28?
If not, then there might still be a timing related problem in our
driver (or possibly the kernel).

Thanks again,
Dan Davidson

Conexant Systems, Inc.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://www.veryComputer.com/
Please read the FAQ at  http://www.veryComputer.com/

 
 
 

1. ADSL PCI internal card and atm OAM cells

I'm trying to put two internal ADSL PCI card at work:
- BeWan ADSL PCI ST
- Pulsar ADSL PCI

None of this card work, i just receive OAM Loopback
cells from the provider with the first two bytes
of the payload "0x18" "0x01".

Is it possible that the provider is not permitting
me to authenticate if first those OAM requests
are answered?

Where can i find info about these "OAM Loopback" cells
and a way to answer them?

Thank you,
        Antonio

--
Saluti, Antonio Gallo - AGX per gli amici di Usenet
(o_         http://www.antoniogallo.it/   Sito personale
//\         http://www.badpenguin.org/    Progetto "Bad Penguin" (d)
V_/_        http://www.linux.it/ILS/      Italian Linux Society

2. Need Help with 'Tab' on Xterm

3. [ATM] ia64 doesn't know about atm drivers on 2.4 kernels

4. Device or resource busy message with X and busmouse...

5. Driver for Olicom PCI ATM cards?

6. What is causing this stack dump?

7. only show the ATM drivers submenu if "ATM drivers" is selected

8. Problem with doom

9. ADSL PCI Card Driver?

10. Linux driver for 3com ADSL PCI card?

11. ITeX PCI ADSL card and newer 2.4 kernels

12. Efficient ATM card (ADSL 3060 modem)

13. Ft. Worth - Linux Kernel Module Programmer - Unix kernel modules & Unix device drivers