Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"IN from bad port" messages - 15" Albook
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
bzurc51
n00b
n00b


Joined: 03 Feb 2004
Posts: 18

PostPosted: Tue Feb 03, 2004 5:53 pm    Post subject: "IN from bad port" messages - 15" Albook Reply with quote

I've had these issues on my 15" albook since 2.4.22-r2 and they have carried over into 2.6. I am currently running 2.6.2_rc1-benh1. I get these messages at the time the cardmgr is started:


    Feb 3 08:21:29 token cardmgr[3231]: watching 1 sockets
    Feb 3 08:21:29 token kernel: t 1318 at c01b6374
    Feb 3 08:21:29 token kernel: IN from bad port 1319 at c01b6398
    Feb 3 08:21:29 token kernel: IN from bad port 1320 at c01b6374
    Feb 3 08:21:29 token kernel: IN from bad port 1321 at c01b6398
    Feb 3 08:21:29 token kernel: IN from bad port 1328 at c01b6374
    Feb 3 08:21:29 token kernel: IN from bad port 1329 at c01b6398
    Feb 3 08:21:29 token kernel: IN from bad port 1330 at c01b6374
    Feb 3 08:21:29 token kernel: IN from bad port 1331 at c01b6398
    Feb 3 08:21:29 token kernel: IN from bad port 1338 at c01b6374
    Feb 3 08:21:29 token kernel: IN from bad port 1339 at c01b6398
    etc....


I believe these errors are probably related to the following changes I made to the /etc/pcmcia/config.opts file as the default memory ranges were not working:

    include port 0x100-0x4ff, port 0x1000-0x17ff
    include memory 0x80000000-0x80ffffff


Also, towards the end of the boot process, I get these messages which continue while the system is running:

    Feb 3 08:22:43 token kernel: IN from bad port 61 at c01e3970
    Feb 3 08:22:43 token kernel: IN from bad port 61 at c01e39ec
    Feb 3 08:22:43 token kernel: IN from bad port 61 at c01e39ec
    Feb 3 08:22:49 token kernel: IN from bad port 61 at c01e3970
    Feb 3 08:22:49 token kernel: IN from bad port 61 at c01e39ec
    Feb 3 08:22:49 token kernel: IN from bad port 61 at c01e39ec
    etc...


I have no idea where these last ones are coming from. I've done quite a bit of research on these messages and have not come up with much. My question is, are other Albook users seeing these same messages and if so, are they something to worry about or something that will be resolvedt in future kernels? My systems seems to be stable and pcmcia works great (orinioco wireless card) but I'm wondering if this might be an indication of hardware issues? I can post my kernel config if needed.
Back to top
View user's profile Send private message
rickb
n00b
n00b


Joined: 04 Dec 2002
Posts: 31
Location: The Hague, Netherlands

PostPosted: Wed Feb 04, 2004 9:46 am    Post subject: Reply with quote

On my 15" Albook (1.25ghz) with 2.6.1 cardmgr simply didn't work. Tried everything, but cardmgr was the only app that did not recognize when a card was put in the slot, whereas for instance cardctl read the slot just fine. It didn't give those kind of error messages though. Made the same changes tot /etc/pcmcia/config.opts you did.

When I finally figured out that with 2.6 I didn't need cardmgr anyway (hey, it's the first time I have a box with pcmcia, and most of the howto's are relatively old...), I simply gave up.

Guess there may just be a bug/incompatibility in cardmgr.

If you want to compare kernel-configs, here's mine: http://www.xs4all.nl/~rickmb/gentoo/config-2.6.1-benh1
Back to top
View user's profile Send private message
bzurc51
n00b
n00b


Joined: 03 Feb 2004
Posts: 18

PostPosted: Wed Feb 04, 2004 7:58 pm    Post subject: Reply with quote

Thanks for the reply. I figured these errors out:

Quote:
Also, towards the end of the boot process, I get these messages which continue while the system is running:

Feb 3 08:22:43 token kernel: IN from bad port 61 at c01e3970
Feb 3 08:22:43 token kernel: IN from bad port 61 at c01e39ec
Feb 3 08:22:43 token kernel: IN from bad port 61 at c01e39ec
Feb 3 08:22:49 token kernel: IN from bad port 61 at c01e3970
Feb 3 08:22:49 token kernel: IN from bad port 61 at c01e39ec
Feb 3 08:22:49 token kernel: IN from bad port 61 at c01e39ec
etc...


I had the "pcspkr" option compiled into the kernel :x. Anyway, the errors continue when cardmgr is started but I believe these will eventually be fixed (?).

rickb, I didn't look at your kernel config but cardmgr should be working provided you have the right options configured. Make sure you have a current version of pcmcia-cs that you have compiled against a 2.6.* kernel. I'm using pcmcia-cs-3.2.5. From what I've read, cardmgr and cardctl will not be going away in 2.6.*. All of the driver stuff that pcmcia-cs handled is now obsolete but I still believe you will still need those utilitites. Anyone know differently?
Back to top
View user's profile Send private message
rickb
n00b
n00b


Joined: 04 Dec 2002
Posts: 31
Location: The Hague, Netherlands

PostPosted: Thu Feb 05, 2004 1:07 am    Post subject: Reply with quote

bzurc51 wrote:

rickb, I didn't look at your kernel config but cardmgr should be working provided you have the right options configured. Make sure you have a current version of pcmcia-cs that you have compiled against a 2.6.* kernel. I'm using pcmcia-cs-3.2.5. From what I've read, cardmgr and cardctl will not be going away in 2.6.*. All of the driver stuff that pcmcia-cs handled is now obsolete but I still believe you will still need those utilitites. Anyone know differently?


I believe my config to be ok, everything else related to pcmcia works just fine, including the pcmcia-tools, besides cardmgr.

The thing is, since hotplug already handles the plugging of both my usb-devices and pcmcia-cards, i really don't see what additional use cardmgr has. But like I wrote, this is my first box with pcmcia, so maybe there is a raison d'etre for cardmgr I've overlooked.

BTW, i have pcmcia-cs-3.2.5 installed. When I do an emerge -up pcmcia-cs now , portage wants to downgrade to 3.1.34-r8. Don't remember if I deliberately emerged 3.2.5 at the time, but it sounds like something I would do... ;-)
Back to top
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1143
Location: Williamsburg Virginia

PostPosted: Sun Feb 08, 2004 4:32 pm    Post subject: Reply with quote

i am getting a similar result with a 15" powerbook but i think it has to do with memory mapping ... so selecting the correct memory and port ranges for the pcmcia card to start correctly. and hotplug isnt apparently a replacement exactly for cardmgr.

http://lists.infradead.org/pipermail/linux-pcmcia/2003-December/000429.html
Back to top
View user's profile Send private message
bzurc51
n00b
n00b


Joined: 03 Feb 2004
Posts: 18

PostPosted: Mon Feb 09, 2004 4:06 am    Post subject: Reply with quote

Thanks for the link rommel, that makes sense. The whole pcmcia mangement thing seems to be in limbo between 2.4 and 2.6 so it will probably be a few months before the whole thing is set straight. Anyway, have you been able to work out the proper memory/port ranges for the 15" albook? I've checked the Debian ppc list but didn't turn up anything there either. Let me know if you find anything.
Back to top
View user's profile Send private message
rickb
n00b
n00b


Joined: 04 Dec 2002
Posts: 31
Location: The Hague, Netherlands

PostPosted: Mon Feb 09, 2004 9:11 am    Post subject: Reply with quote

As far as memory ranges is concerned, after a bit of late night googling I
found a few suggestions, but none of them made cardmgr work for me.

Screwed up my bookmarks, but /etc/pcmcia/config.opts is kind of a record of what I tried:

Code:

#include port 0x1000-0x1fff
#include memory 0x90000000-0x9003ffff

#include port 0x100-0x4ff, port 0x1000-0x17ff
#include memory 0x80000000-0x80ffffff

include port 0x1000-0x10ff, port 0x1400-0x14ff
include memory 0x90000000-0x9ffff000, memory 0xf3200000-0xf33ff000


Now rommel has posted the link I remember why I didn't need cardmgr after all: my wireless-card is a Cardbus card, which are handled by hotplug, only 16-bit pcmcia cards need cardmgr.
Back to top
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1143
Location: Williamsburg Virginia

PostPosted: Mon Feb 09, 2004 5:11 pm    Post subject: Reply with quote

no i havent found the correct values yet but havent really been after it too hard... i was able with help from latexer to get pcmcia-cs to build against 2.4.24 and am using that right now with a netgear MA401 16bit wireless card.... i need to gather all the system info as well as the error when starting cardmgr from 2.6 then put an email into david hines (pcmcia-cs maintainer) and see if he has a suggestion for this.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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