Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71280 - hcfpciconfig causes major crash with kernel panic
Summary: hcfpciconfig causes major crash with kernel panic
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-15 06:03 UTC by MickKi
Modified: 2005-09-18 00:32 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 MickKi 2004-11-15 06:03:10 UTC
Running hcfpciconfig after emerging hcfpcimodem 1.01.04082400 causes the machine to crash

Reproducible: Always
Steps to Reproduce:
1. emerge "=hcfpcimodem 1.01.04082400"
2. hcfpciconfig
3. crash - bang - wallop!

Actual Results:  
The machine crashes (freezes up) and a hard reboot is necessary.  Upon reboot 
Coldplug hangs.  I used the LiveCD to remove coldplug from init.d 

Expected Results:  
Complete the configuration. 

This is what I copied from the frozen screen (forgive any typos): 
 
[<d6a67122>] cnxthwpci_init+ 0x122/0x134 [hcfpcihw] 
[<c01338a1>] sys_init_module+ 0x121/0x2c0 
[<c0105d79>] sysenter_past_esp+ 0x52/071 
Code: 0f 0b 34 00 08 6f 4c c0 e9 0c f6 ff ff e8 e3 6f 30 00 e9 18 
<1>Unable to handl kernel NULL pointer dereference at virtual address 00000069 
printing eip: 
c0116467 
*pde = 00000000 
Oops: 0000 [#2] 
PREEMPT 
Modules linked in: hcfpcihw hcfpciserial hcfpciengine hcfpciosspec 
CPU: 0 
EIP: 0060: [<c0116467>]  Tainted: P 
EFLAGS:  00010017  (2.6.8-gentoo-r10) 
EIP is at do_page_fault+0x47/0x5a1 
eax: 00000001  ebx: 00000000  ecx: 0000007b  edx: 00010001 
esi: 00000000  edi: c0116420  ebp: 00000001  esp: c0624014 
 ds: 007b  es: 007b  ss: 0068 
Process syslog-ng  (pid: 8062, threadinfo=c0623000  task=d30be6a0) 
Stack: 00010001  00000000  00000000  00000000  00000000  00000069  00000000  
cad942e0 
00030001  00000000  00000000  00000000  00000000  00000000  00000000  00000000 
00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000 
Call Trace: 
Stack pointer is garbage, not priniting trace 
Code: 8b 5d 68 81 ff ff ff fb 8b 40 14 f7 d0 c1 e8 1f 39 c2 0f 
 <0>Kernel panic:  Fatal exception in interrupt 
  
 In interrupt handler - not syncing. 
  
 <-- the machine freezes up at this point --> 
 
--------------------------------------- 
I'm sending this from work, please let me know if you need my emerge info. 
 
Regards, 
 
MickKi
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2004-11-17 22:48:07 UTC
please try the last hcfpcimodem.
Comment 2 MickKi 2004-11-19 14:14:49 UTC
I'm afraid it still crashes:  :-(

Oops: 0000 [#11]
PREEMPT
Modules linked in: hcfpcihw hcfpciserial hcfpciengine hcfpciosspec
CPU: 0
EIP: 0060: [<c01069da>]  Tainted: P
EFLAGS:  00010002  (2.6.8-gentoo-r10)
EIP is at print_context_stack+0x1a/0x80
eax: 6a624f54  ebx: 6a624000  ecx: c0538510  edx: 00000082 
esi: 6a624f51  edi: d1dcdbda  ebp: 00000001  esp: c06244f8
 ds: 007b  es: 007b  ss: 0068
Unable to handle kernel NULL pointer dereference at virtual address 0000006a
printing eip:
c0116467
*pde = 00000000
Oops: 0000 [#12]
PREEMPT
Modules linked in: hcfpcihw hcfpciserial hcfpciengine hcfpciosspec
CPU: 0
EIP: 0060: [<c0116467>]  Tainted: P
EFLAGS:  00010013  (2.6.8-gentoo-r10)
EIP is at do_page_fault+0x47/0x5a1
eax: 00000002  ebx: c06244f8  ecx: 0000007b  edx: d3f02000 
esi: 00000000  edi: c0116420  ebp: 00000002  esp: c0624024
 ds: 007b  es: 007b  ss: 0068
Process syslog-ng  (pid: 8259, threadinfo=c0623000  task=d37d0c50) 
Stack: 00000000  00000000  00000000  cb93bf64  c0589d60  0000006a  07070707  
0000000f
00030001  00000004  00000000  d4857600  00000000  00000000  00000007  d3f02000 
d1e0f1d0  c13ce140  d3f02234  c0385961  d3f02000  d3f02188  c13ce140  00000001 
Call Trace:
Stack pointer is garbage, not priniting trace 
Code: 8b 5d 68 81 e2 ff ff ff fb 8b 40 14 f7 d0 c1 e8 1f 39 c2 0f 
 In interrupt handler - not syncing. 
  
 <-- the machine freezes up at this point --> 

Should I move to a 2.6.9 kernel?
Comment 3 MickKi 2004-11-19 14:17:13 UTC
Forgot!  This is my emerge info:

# emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, .6.8-gentoo-r10 i686)
=================================================================
System uname: 2.6.8-gentoo-r10 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.6
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/hare/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usrkde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://212.219.56.146/sites/www.ibiblio.org/gentoo/ ftp://212.219.6.152/sites/www.ibiblio.org/gentoo/ ftp://212.219.56.131/sites/www.ibiblio.org/getoo/ ftp://mirror.nutsmaas.nl/gentoo/ ftp://mir.zyrianes.net/gentoo/ http://212.29.56.162/sites/www.ibiblio.org/gentoo/ ftp://212.219.56.162/sites/www.ibiblio.orggentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bitmap-fonts cdr crypt cscope cups emacs encode ehereal f77 fam flac flash foomaticdb fortran gdbm gif gpm gtk2 icc imagemagick imp imlib jpeg kde ldap libg++ libwww mad mikmod mmx motif mpeg ncurses nls nptl o6gvorbis oggvorbis ooo-kde opengl oss pam pda pdflib perl png ppds python qt quickime readline samba scanner sdl slang slp spell sse ssl svga tcpd tiff truetype uncode usb userlocale x86 xml2 xmms xv xvid zlib linguas_en_GB linguas_el"
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2004-11-19 14:52:18 UTC
one observation not connected to the case: you should have x86 or ~x86 in ACCEPT_KEYWORDS, not both. 

I'm not a kernel specialist, but seems that syslog-ng is the process who crash the system.

My advice is first to run "emerge --newuse" and "revdep-rebuild". If this isn't working, try closing syslog and see if in this case does work.
Comment 5 Alin Năstac (RETIRED) gentoo-dev 2004-11-28 14:40:10 UTC
did you find the cause of kernel crash? 
Comment 6 MickKi 2004-11-29 00:30:28 UTC
Sorry Alin, I'm in the process of migrating my system onto a new drive and multiple partitions and left installing hcfpcimodem until the new system is working.  As soon as I can get it going - I'm having some trouble with compiling a kernel :-( I will try your suggestions and see if it works.

Thank you for your help!
Comment 7 Alin Năstac (RETIRED) gentoo-dev 2004-12-18 10:21:46 UTC
closed because state of this bug remained the same after one month.

feel free to reopen it if you still have this problem.
Comment 8 MickKi 2005-01-10 15:22:12 UTC
Hi Alin,

Sorry for taking me so long to get back to you.  I have eventually re-installed afresh on a new faster drive (running 2.6.9-gentoo-r13). I emerged net-dialup/hcfpcimodem-1.01.04111200 on my new system and then started running hcfpciconfig. The machine froze again at this stage:
-----------------------------------------
Where is the linux source build directory that matches your running kernel?
[/lib/modules/2.6.9-gentoo-r13/build]

Please wait . . .

done

WARNING: /etc/runlevels not yet supported
error: 'kernel modprobe' is an unknown key

<-- the machine freezes at this stage -->
-----------------------------------------

Upon rebooting the machine crashes with a kernel panic (fatal exception in interrupt) similar to the error described at the first message.  I'm guessing here that the crash takes place when the coldplug rc scripts kick in during booting.

This is my new emerge info:
-----------------------------------------
# emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r13 i686)
=================================================================
System uname: 2.6.9-gentoo-r13 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r2
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms userlocales userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/ http://212.219.56.162/sites/www.ibiblio.org/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/ ftp://212.219.56.152/sites/www.ibiblio.org/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://pandemonium.tiscali.de/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl alsa apm arts avi berkdb bitmap-fonts crypt cups encode fam flac foomaticdb fortran gdbm gif gpm gtk2 imagemagick ipv6 jpeg kde libwww mad mikmod motif mpeg ncurses nls nptl oggvorbis ooo-kde opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl svga tcpd tiff truetype xml2 xmms xv zlib"
-----------------------------------------
Running a winmodem is not critical for me, although I wouldn't mind being able to send/receive faxes without having to reboot into Windoze.

Regards,
Mick
Comment 9 Alin Năstac (RETIRED) gentoo-dev 2005-01-21 17:49:58 UTC
try it with with coldplug disabled (rc-update del coldplug default).
Comment 10 Alin Năstac (RETIRED) gentoo-dev 2005-03-05 16:39:46 UTC
new version have emerged. if it doesn't work either, you should contact linuxant.
I cannot do a thing. 
Comment 11 MickKi 2005-09-18 00:32:11 UTC
I have eventually managed for the first time to get my modem working!  I'm now 
running net-dialup/hcfpcimodem-1.06.
-- 
Regards,
Mick