Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/etc/init.d/pcmcia start freezes my system [solved]
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
daemonflower
Apprentice
Apprentice


Joined: 17 Jul 2004
Posts: 290

PostPosted: Wed Jul 12, 2006 8:21 pm    Post subject: /etc/init.d/pcmcia start freezes my system [solved] Reply with quote

On a fresh install on my old laptop, I can't get PCMCIA to work - as the title says, /etc/init.d/pcmcia freezes the system. No traces in /var/log/messages.

Any ideas? Any kernel options I should check? I seem to recall that there is a way around using pcmcia-cs?

Kernel version is 2.6.17-gentoo-r2, pcmcia-cs is 3.2.9-20050614. I can post the kernel config If needed, but I'll refrain from it for now (I hate ultra long posts ;-)


Last edited by daemonflower on Fri Jul 14, 2006 12:09 pm; edited 3 times in total
Back to top
View user's profile Send private message
chrismortimore
l33t
l33t


Joined: 03 Dec 2005
Posts: 721
Location: Edinburgh, UK

PostPosted: Wed Jul 12, 2006 8:26 pm    Post subject: Reply with quote

First question: do you have a PCMCIA socket? ;)
Second question: do you have the right kind support in the kernel for your PCMCIA socket?
_________________
Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB 7200rpm Maxtor DiamondMax 10, 2x320GB WD 7200rpm Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB 5400rpm IBM TravelStar, Nvidia 5200Go 64MB
Back to top
View user's profile Send private message
daemonflower
Apprentice
Apprentice


Joined: 17 Jul 2004
Posts: 290

PostPosted: Wed Jul 12, 2006 8:36 pm    Post subject: Reply with quote

chrismortimore wrote:
First question: do you have a PCMCIA socket? ;)
Yes, of course. I had this working (sort of) before a reinstall.
Quote:
Second question: do you have the right kind support in the kernel for your PCMCIA socket?
Well, yenta support is compiled in and the socket is recognized during bootup.
Back to top
View user's profile Send private message
chrismortimore
l33t
l33t


Joined: 03 Dec 2005
Posts: 721
Location: Edinburgh, UK

PostPosted: Wed Jul 12, 2006 8:40 pm    Post subject: Reply with quote

Ah ha, so you're using the testing branch? Try the current stable version and see if that helps. Thats pcmcia-cs-3.2.8-r2 on x86.
_________________
Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB 7200rpm Maxtor DiamondMax 10, 2x320GB WD 7200rpm Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB 5400rpm IBM TravelStar, Nvidia 5200Go 64MB
Back to top
View user's profile Send private message
daemonflower
Apprentice
Apprentice


Joined: 17 Jul 2004
Posts: 290

PostPosted: Wed Jul 12, 2006 8:47 pm    Post subject: Reply with quote

Thanks, that seems to have done it!
Now let's see whether my wireless card is detected correctly after a reboot ;-)
Back to top
View user's profile Send private message
daemonflower
Apprentice
Apprentice


Joined: 17 Jul 2004
Posts: 290

PostPosted: Wed Jul 12, 2006 9:03 pm    Post subject: Reply with quote

Seems I was wrong. If I start /etc/init.d/pcmcia manually after boot, it works. But when I run the initscript during the boot process, it still freezes the system.

So, any other suggestions? Anyone?

Thanks
Back to top
View user's profile Send private message
daemonflower
Apprentice
Apprentice


Joined: 17 Jul 2004
Posts: 290

PostPosted: Thu Jul 13, 2006 7:19 am    Post subject: Reply with quote

Ok, FWIW, here are the relevant parts of dmesg output:
Quote:
ACPI: PCI Interrupt 0000:00:13.0[A] -> Link [LNKA] -> GSI 9 (level, low) -> IRQ
9
Yenta: CardBus bridge found at 0000:00:13.0 [10cf:10e6]
Yenta O2: res at 0x94/0xD4: ea/00
Yenta O2: enabling read prefetch/write burst
Yenta: ISA IRQ mask 0x0cb8, PCI irq 9
Socket status: 30000418
ACPI: PCI Interrupt 0000:00:13.1[B] -> Link [LNKB] -> GSI 9 (level, low) -> IRQ
9
Yenta: CardBus bridge found at 0000:00:13.1 [10cf:10e6]
Yenta: ISA IRQ mask 0x0cb8, PCI irq 9
Socket status: 30000006
and of the kernel configuration:
Quote:

CONFIG_PCCARD=y
# CONFIG_PCMCIA_DEBUG is not set
CONFIG_PCMCIA=y
CONFIG_PCMCIA_LOAD_CIS=y
CONFIG_PCMCIA_IOCTL=y
CONFIG_CARDBUS=y

CONFIG_YENTA=y
CONFIG_YENTA_O2=y
CONFIG_YENTA_RICOH=y
CONFIG_YENTA_TI=y
CONFIG_YENTA_ENE_TUNE=y
CONFIG_YENTA_TOSHIBA=y
# CONFIG_PD6729 is not set
# CONFIG_I82092 is not set
CONFIG_PCCARD_NONSTATIC=y
Back to top
View user's profile Send private message
chrismortimore
l33t
l33t


Joined: 03 Dec 2005
Posts: 721
Location: Edinburgh, UK

PostPosted: Thu Jul 13, 2006 12:22 pm    Post subject: Reply with quote

Sorry, havn't got a clue. All I can really think of is roll back everything to the stable branch...
_________________
Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB 7200rpm Maxtor DiamondMax 10, 2x320GB WD 7200rpm Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB 5400rpm IBM TravelStar, Nvidia 5200Go 64MB
Back to top
View user's profile Send private message
daemonflower
Apprentice
Apprentice


Joined: 17 Jul 2004
Posts: 290

PostPosted: Thu Jul 13, 2006 12:34 pm    Post subject: Reply with quote

Hm. What about the other option, using PCMCIA without pcmcia-cs? Am I mistaken about this, or is pcmcia-cs the only possibility?
Back to top
View user's profile Send private message
Zarhan
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1016

PostPosted: Thu Jul 13, 2006 1:19 pm    Post subject: Reply with quote

PCMCIA-CS is deprecated. Use pcmciautils (and you can take out the IOCTL from your kernel too, that's only for pcmcia-cs).
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