Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gen'l prot. fault ... bad EIP value when loading pcmcia_core
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
sethg
n00b
n00b


Joined: 10 Jul 2002
Posts: 6
Location: Boston, MA

PostPosted: Wed Jul 17, 2002 1:19 am    Post subject: gen'l prot. fault ... bad EIP value when loading pcmcia_core Reply with quote

I'm trying to get my wireless networking card to work with Gentoo on a Compaq 710US laptop. I configured the kernel with PCMCIA off, with wireless LAN on, but without any wireless modules or drivers. Then I recompiled the kernel and emerged pcmcia-cs as follows:

Code:

# make dep
# make clean
# make bzImage
# mount /boot
# mv /boot/bzImage /boot/bzImage-2002-07-16c
# cp /usr/src/linux/arch/i386/boot/bzImage /boot
# reboot
...
# make modules
# make modules_install
# emerge pcmcia_cs
# reboot


My /etc/modules.autoload file has pcmcia_core, i82365, and ds. When I reboot, and the startup script tries to load pcmcia_core, I get a "general protection fault: 0000" message, followed by a register and stack dump, and then "Code: Bad EIP value". However, i82365 and ds still load.

I have this problem with versions 3.1.34-r7, 3.1.34-r8, and 3.1.35_beta2 of the pcmcia-cs package.

My dmesg output is here, and my kernel configuration is here.

What am I doing wrong?
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Wed Jul 17, 2002 1:22 am    Post subject: Re: gen'l prot. fault ... bad EIP value when loading pcmcia_ Reply with quote

sethg wrote:
I get a "general protection fault: 0000" message, followed by a register and stack dump, and then "Code: Bad EIP value".


That's a Bad Thing (TM). What kernel are you using?
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
sethg
n00b
n00b


Joined: 10 Jul 2002
Posts: 6
Location: Boston, MA

PostPosted: Wed Jul 17, 2002 2:04 am    Post subject: Re: gen'l prot. fault ... bad EIP value when loading pcmcia_ Reply with quote

delta407 wrote:

That's a Bad Thing (TM). What kernel are you using?

vanilla-sources, 2.4.18
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Wed Jul 17, 2002 2:06 am    Post subject: Reply with quote

What's your CPU? CFLAGS/CXXFLAGS?
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
sethg
n00b
n00b


Joined: 10 Jul 2002
Posts: 6
Location: Boston, MA

PostPosted: Wed Jul 17, 2002 1:57 pm    Post subject: my CFLAGS, etc Reply with quote

delta407 wrote:
What's your CPU? CFLAGS/CXXFLAGS?

In /etc/make.globals:
Code:

CFLAGS="-O2 -mcpu=i686 -pipe"
CXXFLAGS=${CFLAGS}

In /etc/make.conf:
Code:

USE="3dnow apm pcmcia pnp pda gphoto2 x dga -opengl -xv fbcon directfb
     -kde -arts gnome gtk bonobo evo gtkhtml lcms alsa dvd ssl imap ldap
     mozilla mozirc truetype xml2 pdflib plotutils tetex perl python libwww
     gdbm doc gpm"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CXXFLAGS="-march=i686 -O3 -pipe"
Back to top
View user's profile Send private message
sethg
n00b
n00b


Joined: 10 Jul 2002
Posts: 6
Location: Boston, MA

PostPosted: Fri Jul 19, 2002 6:17 pm    Post subject: Reply with quote

Oh, and here's the CPU information from the dmesg output:
Code:

Initializing CPU#0
Detected 996.581 MHz processor.
...
CPU: Before vendor init, caps: 0383f9ff c1cbf9ff 00000000, vendor = 2
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 64K (64 bytes/line)
CPU: After vendor init, caps: 0383f9ff c1cbf9ff 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 0383f9ff c1cbf9ff 00000000 00000000
CPU:             Common caps: 0383f9ff c1cbf9ff 00000000 00000000
CPU: AMD mobile AMD Duron(tm) Processor stepping 01
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum