Pcmcia on multia
I'm not having much luck getting pcmcia working on my multia. I
installed the kernel that Steve put up, and that seemed to work okay, no
errors on install or boot up. Also installed pcmciautils again, and apt
installed pcmcia-cs and pmisc along with it.
The i82365 modules installs fine, and loads several others with it,
including pcmcia and pcmcia-core. Inserting cards wasn't doing anything,
however (not loading the hostap modules for the prism2 wifi cards, for
instance) and pccardctl couldn't seem to read them, other than say there
was a 5v card there. Trying "pccardctl status" worked, but ident said
there was no info, and most of the other pccardctl commands result in a
hung term session, requiring me to ssh into the multia and kill the bash
session for that term to get it back. But I can't kill the pccardctl
command that I ran without rebooting. That's true for suspend, info,
eject, ls, and the rest except for status and ident.
Then I read the mini-howto.txt in /usr/share/doc/pcmciautils and it said:
"To use any of the PCMCIAutils tools, you need sysfsutils 1.3.0 or newer."
So, checking on that, I found it wasn't installed, so had apt install
it. Now, however, when I insert a card, I get a long screen of this:
multia:~# pccard: PCMCIA card inserted into slot 0
cs: memory probe 0x0d0000-0x0dffff: clean.
Unable to handle kernel paging request at virtual address fffffffc0031e000
pccardd(1280): Oops 0
pc = [<fffffffc00319924>] ra = [<fffffffc00319974>] ps = 0000 Not
tainted
pc is at pcmcia_nonstatic_validate_mem+0x110/0x1f0 [rsrc_nonstatic]
ra is at pcmcia_nonstatic_validate_mem+0x160/0x1f0 [rsrc_nonstatic]
v0 = 0000000000000000 t0 = 0000000000000000 t1 = 0000000000000000
t2 = 0000000000010000 t3 = 0000000000100000 t4 = 0000000000003fff
t5 = fffffc0001735fb8 t6 = 0000000000000004 t7 = fffffc00005c8000
s0 = fffffffc002dcfc8 s1 = 00000000000c0000 s2 = 0000000000040000
s3 = fffffffc0031e000 s4 = fffffc000f0ccc00 s5 = 0000000000010000
s6 = 0000000000000001
a0 = fffffc000f0ccc00 a1 = 00000000000c0000 a2 = 0000000000010000
a3 = fffffc000113fa50 a4 = 0000000000000008 a5 = 0000000000000004
t8 = 0000000000000000 t9 = fffffffc002d87bc t10= 000000000000012c
t11= 0000000000000078 pv = fffffc0001074058 at = 0000000000000000
gp = fffffffc00314550 sp = fffffc00005cb9c8
Trace:
[<fffffc00010fb3e8>] kobject_get+0x28/0x44
[<fffffc0001147fb4>] class_device_get+0x28/0x40
[<fffffc0001046da0>] kthread+0x120/0x188
[<fffffc000102c3ac>] default_wake_function+0x0/0x30
[<fffffc00010117f8>] kernel_thread+0x28/0x90
[<fffffc0001046bdc>] keventd_create_kthread+0x0/0xa4
[<fffffc000103b4f0>] update_process_times+0xac/0xc8
[<fffffc000103b4dc>] update_process_times+0x98/0xc8
[<fffffc0001018344>] timer_interrupt+0xbc/0x478
[<fffffc000103a9c4>] run_timer_softirq+0x28/0x1ac
[<fffffc000103658c>] __do_softirq+0x60/0xc0
[<fffffc0001036630>] do_softirq+0x44/0x5c
[<fffffc0001036630>] do_softirq+0x44/0x5c
[<fffffc0001015c44>] handle_irq+0xac/0xc0
[<fffffc00011eaabc>] schedule+0x4ac/0x528
[<fffffc000103483c>] do_exit+0x850/0x864
[<fffffc00010348f8>] sys_exit_group+0x0/0x10
[<fffffc0001011424>] entSys+0xa4/0xc0
[<fffffc0001011380>] entSys+0x0/0xc0
Code: 47ea0410 47eb0411 47e90412 d35ffec5 41c0040e c3e0001b
<2c2c0000> 414b04
and then if I remove the card, even if I do a "pccardctl suspend"
first, I get a kernel panic like this:
[<fffffc000102c3ac>] default_wake_function+0x0/0x30
[<fffffc00010117f8>] kernel_thread+0x28/0x90
[<fffffc0001046bdc>] keventd_create_kthread+0x0/0xa4
[<fffffc000103b4f0>] update_process_times+0xac/0xc8
[<fffffc000103b4dc>] update_process_times+0x98/0xc8
[<fffffc0001018344>] timer_interrupt+0xbc/0x478
[<fffffc000103a9c4>] run_timer_softirq+0x28/0x1ac
[<fffffc000103658c>] __do_softirq+0x60/0xc0
[<fffffc0001036630>] do_softirq+0x44/0x5c
[<fffffc0001036630>] do_softirq+0x44/0x5c
[<fffffc0001015c44>] handle_irq+0xac/0xc0
[<fffffc00011eaabc>] schedule+0x4ac/0x528
[<fffffc000103483c>] do_exit+0x850/0x864
[<fffffc00010348f8>] sys_exit_group+0x0/0x10
[<fffffc0001011424>] entSys+0xa4/0xc0
[<fffffc0001011380>] entSys+0x0/0xc0
Code: 47ea0410 47eb0411 47e90412 d35ffec5 41c0040e c3e0001b
<2c2c0000> 414b04
t2 = fffffc00016bd6d8 t3 = 0000000000000001 t4 = 0000000000003fff
t5 = fffffc0001735fb8 t6 = 0000000000000000 t7 = fffffc00012b4000
a0 = 0000000000000000 a1 = 0000000000000001 a2 = 0000000000000000
a3 = 0000000000000000 a4 = 0000000000000000 a5 = 0000000000000002
t8 = 0000000000000000 t9 = fffffc000102bb10 t10= 00000000000027d8
t11= 00000000000003fc pv = 0000000000000005 at = 0000000000000000
gp = fffffc0001712b00 sp = fffffc00012b7d70
Trace:default/pcmcia" 9 lines, 267 characters
[<fffffc000103658c>] __do_softirq+0x60/0xc0
[<fffffc0001036630>] do_softirq+0x44/0x5c
[<fffffc0001015c44>] handle_irq+0xac/0xc0
[<fffffc0001016050>] do_entInt+0x7c/0x128
[<fffffc0001011440>] ret_from_sys_call+0x0/0x10
[<fffffc000101362c>] cpu_idle+0x3c/0x48
[<fffffc000102b0f0>] test_ti_thread_flag+0x0/0x38
[<fffffc0001013614>] cpu_idle+0x24/0x48
[<fffffc000101047c>] rest_init+0x48/0x60
[<fffffc000101001c>] __start+0x1c/0x20
Code: f5200008 a77db860 6b5b5a4b 27ba006e 23bd8028 00000081
<000001c5> 011fe6
Kernel panic - not syncing: Aiee, killing interrupt handler!
And sometimes I get that kernel panic when no cards are inserted and
the box is just sitting there waiting for me to come back.
Has anyone gotten pcmcia working with etch on their multia??
--
Harmon Seaver
Reply to: