View previous topic :: View next topic |
Author |
Message |
sethg n00b
Joined: 10 Jul 2002 Posts: 6 Location: Boston, MA
|
Posted: Wed Jul 17, 2002 1:19 am Post subject: gen'l prot. fault ... bad EIP value when loading pcmcia_core |
|
|
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 |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Wed Jul 17, 2002 1:22 am Post subject: Re: gen'l prot. fault ... bad EIP value when loading pcmcia_ |
|
|
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 |
|
|
sethg n00b
Joined: 10 Jul 2002 Posts: 6 Location: Boston, MA
|
Posted: Wed Jul 17, 2002 2:04 am Post subject: Re: gen'l prot. fault ... bad EIP value when loading pcmcia_ |
|
|
delta407 wrote: |
That's a Bad Thing (TM). What kernel are you using? |
vanilla-sources, 2.4.18 |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Wed Jul 17, 2002 2:06 am Post subject: |
|
|
What's your CPU? CFLAGS/CXXFLAGS? _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
sethg n00b
Joined: 10 Jul 2002 Posts: 6 Location: Boston, MA
|
Posted: Wed Jul 17, 2002 1:57 pm Post subject: my CFLAGS, etc |
|
|
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 |
|
|
sethg n00b
Joined: 10 Jul 2002 Posts: 6 Location: Boston, MA
|
Posted: Fri Jul 19, 2002 6:17 pm Post subject: |
|
|
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 |
|
|
|