Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45569 - ltmodem-8.26_alpha9-r3 segfaults under linux 2.6.4
Summary: ltmodem-8.26_alpha9-r3 segfaults under linux 2.6.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-23 19:48 UTC by Jim Faulkner
Modified: 2004-11-06 05:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Faulkner 2004-03-23 19:48:58 UTC
When I modprobe ltserial under 2.6.4 (vanilla), modprobe segfaults and I get the following error in my dmesg:

Mar 23 20:44:31 lucy Loading Lucent Modem Controller driver version 8.26
Mar 23 20:44:49 lucy Unable to handle kernel paging request at virtual address d4d596c8
Mar 23 20:44:49 lucy printing eip:
Mar 23 20:44:49 lucy d4e6147f
Mar 23 20:44:49 lucy *pde = 13e1f067
Mar 23 20:44:49 lucy *pte = 00000000
Mar 23 20:44:49 lucy Oops: 0002 [#1]
Mar 23 20:44:49 lucy PREEMPT
Mar 23 20:44:49 lucy CPU:    0
Mar 23 20:44:49 lucy EIP:    0060:[<d4e6147f>]    Tainted: P
Mar 23 20:44:49 lucy EFLAGS: 00010206
Mar 23 20:44:49 lucy EIP is at lucent_detect_modem+0x47/0x228 [ltmodem]
Mar 23 20:44:49 lucy eax: ffff00bc   ebx: 0000045d   ecx: d4d596c8   edx: 00000003
Mar 23 20:44:49 lucy esi: cda6bf2c   edi: ffffffff   ebp: c0364b18   esp: cda6bf1c
Mar 23 20:44:49 lucy ds: 007b   es: 007b   ss: 0068
Mar 23 20:44:49 lucy Process modprobe (pid: 1240, threadinfo=cda6a000 task=d22d06a0)
Mar 23 20:44:49 lucy Stack: c0133359 00000000 00000000 d4d5dbe0 40001000 00000000 00000348 00000320
Mar 23 20:44:49 lucy d3d3bbc0 d4d87000 d4d5dbe0 0000000a 00000000 00000000 00000000 00000009
Mar 23 20:44:49 lucy 00000000 0000000d 00000000 c0364b30 d4d5dd00 cda6a000 c0364b18 d4e32905
Mar 23 20:44:49 lucy Call Trace:
Mar 23 20:44:49 lucy [<c0133359>] load_module+0x7a9/0xa20
Mar 23 20:44:49 lucy [<d4d87000>] lt_init+0x0/0x133 [ltserial]
Mar 23 20:44:49 lucy [<d4e32905>] lt_lucent_detect_modem+0x135/0x140 [ltmodem]
Mar 23 20:44:49 lucy [<d4d8701b>] lt_init+0x1b/0x133 [ltserial]
Mar 23 20:44:49 lucy [<c01336b8>] sys_init_module+0xe8/0x1f0
Mar 23 20:44:49 lucy [<c010925b>] syscall_call+0x7/0xb
Mar 23 20:44:49 lucy
Mar 23 20:44:49 lucy Code: 66 89 01 88 51 02 eb ea e8 f0 de fd ff fe c8 0f 94 c0 0f b6

The lucent driver works under 2.4 (in Knoppix at least).  I have a Toshiba 7140CT laptop with an onboard lucent modem. Here's the relevant part of my /proc/pci:
    Communication controller: Lucent Microelectronics 56k WinModem (rev 1).
      IRQ 3.
      Master Capable.  No bursts.  Min Gnt=252.Max Lat=14.
      Non-prefetchable 32 bit memory at 0xffefff00 [0xffefffff].
      I/O at 0x2f8 [0x2ff].
      I/O at 0x1c00 [0x1cff].


Reproducible: Always
Steps to Reproduce:
1. run linux-2.6.4
2. emerge ltmodem-8.26_alpha9-r3
3. modprobe ltserial




ortage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.4)
=================================================================
System uname: 2.6.4 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -ffast-math -fomit-frame-pointer -s -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -ffast-math -fomit-frame-pointer -s -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://jove.eng.yale.edu/gentoo-portage"
USE="X acpi alsa arts avi berkdb crypt dvd encode ethereal foomaticdb gdbm gif
gphoto2 gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod mmx motif mpeg
ncurses oggvorbis opengl oss pam pcmcia pdflib perl png pnp python qt quicktime
readline samba sdl slang sse ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2004-10-01 10:05:12 UTC
Please test ebuild from bug #59665 and see if the problem is solved by it.
Comment 2 Jim Faulkner 2004-10-10 17:01:50 UTC
The module now loads correctly, my problem is resolved.  Thanks!
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2004-11-06 05:13:46 UTC
solved in bug 59665