Re: Kernel Oops after wakeup
On Fri, 2004-02-27 at 05:07, Benjamin Herrenschmidt wrote:
> > IN from bad port 2f0 at e2109c38
> > IN from bad port 2f1 at e2109c5c
> > IN from bad port 2f8 at e2109c38
> > IN from bad port 2f9 at e2109c5c
>
> etc...
>
> What is this driver from hell ? You are running a driver for
> some legacy x86 junk that is tapping random IO ports, that's
> very bad.
It comes from pcmcia-cs. This is all without any card in the slot.
2.6.3-ben2:
Feb 28 18:33:08 [sudo] digger : TTY=pts/2 ; PWD=/home/digger ; USER=root
; COMMAND=/etc/init.d/pcmcia restart
Feb 28 18:33:08 [cardmgr] exiting
Feb 28 18:33:08 [cardmgr] watching 1 socket
Feb 28 18:33:08 [kernel] cs: IO port probe 0x0c00-0x0cff:<7>IN from bad
port c00 at e2109c38
Feb 28 18:33:08 [kernel] IN from bad port c01 at e2109c5c
Feb 28 18:33:08 [kernel] cs: IO port probe 0x0800-0x08ff:<7>IN from bad
port 800 at e2109c38
Feb 28 18:33:08 [kernel] IN from bad port 801 at e2109c5c
Feb 28 18:33:08 [kernel] IN from bad port 808 at e2109c38
Feb 28 18:33:08 [kernel] cs: IO port probe 0x0100-0x04ff:<7>IN from bad
port 100 at e2109c38
Feb 28 18:33:08 [kernel] IN from bad port 101 at e2109c5c
Feb 28 18:33:08 [kernel] IN from bad port 3b8 at e2109c38
Feb 28 18:33:08 [kernel] IN from bad port 3c8 at e2109d1c
Feb 28 18:33:08 [kernel] IN from bad port 3d0 at e2109d1c
Feb 28 18:33:08 [cardmgr] starting, version is 3.2.5
This from 2.4.25-ben1:
Feb 28 18:42:54 [sudo] digger : TTY=pts/2 ; PWD=/home/digger ; USER=root
; COMMAND=/etc/init.d/pcmcia restart
Feb 28 18:42:54 [cardmgr] exiting
Feb 28 18:42:55 [kernel] ti113x: Routing card interrupts to PCI
Feb 28 18:42:55 [kernel] unloading Kernel Card Services
Feb 28 18:42:55 [kernel] Linux Kernel Card Services 3.1.22
Feb 28 18:42:55 [kernel] Yenta ISA IRQ mask 0x0000, PCI irq 58
Feb 28 18:42:55 [cardmgr] watching 1 socket
Feb 28 18:42:55 [kernel] cs: IO port probe 0x0c00-0x0cff: clean.
Feb 28 18:42:55 [kernel] cs: IO port probe 0x0800-0x08ff: clean.
Feb 28 18:42:55 [kernel] cs: IO port probe 0x0100-0x04ff: clean.
Feb 28 18:42:55 [cardmgr] starting, version is 3.2.5
One thing I noticed is that with a 2.6 kernel the pcmcia modules aren't
unloaded with /etc/init.d/pcmcia stop or restart.
and the initial starting of card services at boot isn't right.
2.6.3-ben2:
Feb 28 19:00:44 [kernel] Linux Kernel Card Services
Feb 28 19:00:44 [kernel] bus pci: add driver yenta_cardbus
Feb 28 19:00:44 [kernel] bound device '0001:01:1a.0' to driver
'yenta_cardbus'
Feb 28 19:00:44 [kernel] bus type 'pcmcia' registered
Feb 28 19:00:44 [cardmgr] starting, version is 3.1.33
Feb 28 19:00:45 [cardmgr] no sockets found!
Feb 28 19:00:45 [cardmgr] exiting
Sometimes restarting pcmcia will cause the computer to "freeze."
No mouse, keys, or disk io.
Also, if the vxpocket modules are loaded first by also with 2.6 it seems
to add to the problems. If I stop alsa and restart pcmcia
it seems to work.
And then, I'm using the testing version of pcmcia-cs. With the unstable
version of pcmcia-cs, vxloader doesn't find vxpocket to load the
firmware.
Don't know how that relates to it. At this point I've tried so many
combinations and rebooted so often I'm a bit lost.
If there any suggestions I can give then a try.
thanks,
digger
If of any use the output of uname proc/cpuinfo, lsmod, /proc/ioports,
/proc/iomem, and entries in /etc/pcmcia/config.opts are below.
uname -a
Linux myrna 2.6.3-ben2 #1 Sat Feb 28 11:53:07 EST 2004 ppc GNU/Linux
cat /proc/cpuinfo
processor : 0
cpu : 7455, altivec supported
clock : 667MHz
revision : 2.1 (pvr 8001 0201)
bogomips : 665.60
machine : PowerBook3,4
motherboard : PowerBook3,4 MacRISC2 MacRISC Power Macintosh
detected as : 73 (PowerBook Titanium III)
pmac flags : 0000000b
L2 cache : 256K unified
memory : 512MB
pmac-generation : NewWorld
lsmod
Module Size Used by
radeon 132204 2
ds 15076 0
yenta_socket 16288 0
pcmcia_core 75256 2 ds,yenta_socket
ipt_ttl 2208 1
ipt_limit 2560 33
ipt_state 2112 5
ipt_MASQUERADE 3648 0
ipt_TOS 2720 0
ipt_REDIRECT 2432 0
ipt_REJECT 6720 0
ip_conntrack_irc 71196 0
ip_conntrack_ftp 71872 0
snd_seq_oss 39000 0
snd_seq_midi_event 7168 1 snd_seq_oss
snd_seq 59096 4 snd_seq_oss,snd_seq_midi_event
snd_seq_device 8008 2 snd_seq_oss,snd_seq
snd_pcm_oss 64548 0
snd_mixer_oss 20544 1 snd_pcm_oss
i2c_keywest 9668 0
snd_powermac 38864 0
snd_pcm 108056 2 snd_pcm_oss,snd_powermac
snd_page_alloc 11236 1 snd_pcm
snd_timer 24452 2 snd_seq,snd_pcm
snd 59832 9
snd_seq_oss,snd_seq_midi_event,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_powermac,snd_pcm,snd_timer
soundcore 8804 1 snd
ipt_LOG 7008 1
iptable_mangle 2912 0
iptable_filter 2880 1
iptable_nat 24530 2 ipt_MASQUERADE,ipt_REDIRECT
ip_conntrack 33452 6
ipt_state,ipt_MASQUERADE,ipt_REDIRECT,ip_conntrack_irc,ip_conntrack_ftp,iptable_nat
ip_tables 17856 11
ipt_ttl,ipt_limit,ipt_state,ipt_MASQUERADE,ipt_TOS,ipt_REDIRECT,ipt_REJECT,ipt_LOG,iptable_mangle,iptable_filter,iptable_nat
ohci_hcd 20836 0
ehci_hcd 27236 0
usbcore 112184 4 ohci_hcd,ehci_hcd
uninorth_agp 6752 1
agpgart 33228 2 uninorth_agp
vfat 13952 0
ide_cd 45156 0
cdrom 43836 1 ide_cd
fat 46212 1 vfat
apm_emu 6604 1
airport 5760 0
orinoco 50452 1 airport
hermes 13536 2 airport,orinoco
cat /etc/pcmcia/config.opts
#
# Local PCMCIA Configuration File
include port 0x100-0x4ff, port 0x800-0x8ff, port 0xc00-0xcff
include memory 0x80080000-0x8008ffff
cat /proc/ioports
00000000-007fffff : /pci@f2000000
00001000-00008fff : PCI CardBus #02
00009000-000090ff : PCI CardBus #02
00802000-01001fff : /pci@f0000000
00802400-008024ff : 0000:00:10.0
ff7fe000-ffffdfff : /pci@f4000000
cat /proc/iomem
80000000-afffffff : /pci@f2000000
80000000-8007ffff : 0001:01:17.0
80000000-8007ffff : 0.80000000:mac-io
80000050-8000007f : 0.00000050:gpio
80008000-800080ff : 0.00010000:i2s
80008000-800080ff : i2s-a- Tx DMA
80008100-800081ff : 0.00010000:i2s
80008100-800081ff : i2s-a- Rx DMA
80008200-800082ff : 0.00010000:i2s
80008300-800083ff : 0.00010000:i2s
80008a00-80008aff : 0.0001f000:ata-4
80008a00-80008aff : ide-pmac (dma)
80008b00-80008bff : 0.00020000:ata-3
80008b00-80008bff : ide-pmac (dma)
80008c00-80008cff : 0.00021000:ata-3
80008c00-80008cff : ide-pmac (dma)
80010000-80010fff : 0.00010000:i2s
80010000-80010fff : i2s-a
80013000-80013000 : 0.00013000:ch-b
80013010-80013010 : 0.00013000:ch-b
80013020-80013020 : 0.00013020:ch-a
80013030-80013030 : 0.00013020:ch-a
80013040-80013040 : 0.00013000:ch-b
80013050-80013050 : 0.00013020:ch-a
80015000-80015fff : 0.00015000:timer
80016000-80017fff : 0.00016000:via-pmu
80016000-80017fff : via-pmu
80018000-80018fff : 0.00018000:i2c
8001a000-8001a0ff : 0.00030000:radio
8001f000-8001ffff : 0.0001f000:ata-4
8001f000-8001ffff : ide-pmac (ports)
80020000-80020fff : 0.00020000:ata-3
80020000-80020fff : ide-pmac (ports)
80021000-80021fff : 0.00021000:ata-3
80030000-800300ff : 0.00030000:radio
80030000-800300ff : airport
80040000-8007ffff : 0.00040000:interrup
80040000-8007ffff : interrupt-controller
90000000-9fffffff : PCI CardBus #02
a0000000-a0000fff : 0001:01:1a.0
a0000000-a0000fff : yenta_socket
a0001000-a0001fff : 0001:01:19.0
a0001000-a0001fff : ohci_hcd
a0002000-a0002fff : 0001:01:18.0
a0002000-a0002fff : ohci_hcd
b0000000-bfffffff : /pci@f0000000
b0000000-b000ffff : 0000:00:10.0
b0000000-b000ffff : radeonfb
b8000000-bfffffff : 0000:00:10.0
b8000000-bfffffff : radeonfb
f1000000-f1ffffff : /pci@f0000000
f1000000-f101ffff : 0000:00:10.0
f3000000-f3ffffff : /pci@f2000000
f3000000-f31fffff : PCI CardBus #02
f5000000-f5ffffff : /pci@f4000000
f5000000-f5000fff : 0002:06:0e.0
f5200000-f53fffff : 0002:06:0f.0
f8000000-f8ffffff : uni-n
Reply to: