public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] pcmcia-cs ebuild
@ 2001-07-30 13:06 Craig Joly
  0 siblings, 0 replies; 6+ messages in thread
From: Craig Joly @ 2001-07-30 13:06 UTC (permalink / raw
  To: gentoo-dev

I can't seem to get timecop's cardinfo to build properly, so here's a
pcmcia-cs-3.1.27 ebuild with the regular (requires Xforms cardinfo).
Note that it doesn't depend on Xforms, but will build cardinfo if you
have it installed.  If someone wants to give me a hand with timecop's
cardinfo, email me (I'm not subscribed).  My ebuild seems to be fine,
but cardinfo.o won't link.

Craig



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-dev] pcmcia-cs ebuild
@ 2002-05-14 13:17 Stephane Dudzinski
  2002-05-14 13:38 ` Karl Trygve Kalleberg
  0 siblings, 1 reply; 6+ messages in thread
From: Stephane Dudzinski @ 2002-05-14 13:17 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1549 bytes --]

Hello,

I'm running Gentoo on a Sony Vaio Laptop with a 2.4.18 kernel (stock +
acpi patches) and no devFS. To make sure it wasn't related, i did the
same test under Gentoo's 2.4.19-r1 and devFS support.

I emerged the pcmcia-cs ebuild and it cannot see the flash card as a
disk drive. On the same laptop using Debian, as soon as i insert the
card, i can fdisk /dev/hde and it works, i can write data in and out.

Under Gentoo however, i cannot. It keeps saying : Unable to open
/dev/hde. Block devices are here though ...

Under /etc/modules.autoload, i have this : 
pcmcia_core
yenta_socket
ds
ide-cs

dmesg seems to return proper messages : 

Linux Kernel Card Services 3.1.22
  options:  [pci] [cardbus] [pm]
PCI: Assigned IRQ 9 for device 02:05.0
PCI: Assigned IRQ 9 for device 02:05.1
Yenta IRQ list 0cb8, PCI irq9
Socket status: 30000006
Yenta IRQ list 0cb8, PCI irq9
Socket status: 30000810

Now, starting the pcmcia service returns : 
 * Starting pcmcia...
cardmgr[5224]: watching 2 sockets
cardmgr[5224]: Card Services release does not
match                                    

And furthermore, cannot stop it anymore resulting in [!!].

The pcmcia-cs seems to be the issue, the version is :
pcmcia-cs-3.1.33-r3

What could i do to fix this ?
Steph

-- 
______________________________________________
"Linux philosophy: Do it Yourself" L. Torvalds
Stephane Dudzinski       Systems Administrator
a n t e f a c t o            t: +353 1 8586009
www.antefacto.com            f: +353 1 8586014

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] pcmcia-cs ebuild
  2002-05-14 13:17 [gentoo-dev] pcmcia-cs ebuild Stephane Dudzinski
@ 2002-05-14 13:38 ` Karl Trygve Kalleberg
  2002-05-14 13:58   ` Stephane Dudzinski
  0 siblings, 1 reply; 6+ messages in thread
From: Karl Trygve Kalleberg @ 2002-05-14 13:38 UTC (permalink / raw
  To: gentoo-dev


On 14 May 2002, Stephane Dudzinski wrote:

> cardmgr[5224]: Card Services release does not
> match                                    

This line seems to imply that you have enabled pcmcia-support in the
kernel, but try to use the drivers that come with pcmcia-cs.

(the presence of yenta_socket confirms this).

If you want the pcmcia-cs drivers to be loaded and used, you will have to
disable pcmcia support in the kernel. They are mutually exclusive.

If pcmcia-cs detects that the kernel in /usr/src/linux has pcmcia
configured, it will not compile its kernel modules, only the user-space
utilities.

The big advantage of the pcmcia-cs modules is that they support more than
three pcmcia devices ;P


Karl T



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] pcmcia-cs ebuild
  2002-05-14 13:38 ` Karl Trygve Kalleberg
@ 2002-05-14 13:58   ` Stephane Dudzinski
  2002-05-14 14:03     ` Karl Trygve Kalleberg
  0 siblings, 1 reply; 6+ messages in thread
From: Stephane Dudzinski @ 2002-05-14 13:58 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1454 bytes --]

Hello,

If you disable pcmcia support in the kernel, you get this : 

no pcmcia driver in /proc/devices
Make sure you have PCMCIA loaded, either as a module or built into the
kernel.

Steph

On Tue, 2002-05-14 at 14:38, Karl Trygve Kalleberg wrote:
> 
> 
> On 14 May 2002, Stephane Dudzinski wrote:
> 
> > cardmgr[5224]: Card Services release does not
> > match                                    
> 
> This line seems to imply that you have enabled pcmcia-support in the
> kernel, but try to use the drivers that come with pcmcia-cs.
> 
> (the presence of yenta_socket confirms this).
> 
> If you want the pcmcia-cs drivers to be loaded and used, you will have to
> disable pcmcia support in the kernel. They are mutually exclusive.
> 
> If pcmcia-cs detects that the kernel in /usr/src/linux has pcmcia
> configured, it will not compile its kernel modules, only the user-space
> utilities.
> 
> The big advantage of the pcmcia-cs modules is that they support more than
> three pcmcia devices ;P
> 
> 
> Karl T
> 
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
-- 
______________________________________________
"Linux philosophy: Do it Yourself" L. Torvalds
Stephane Dudzinski       Systems Administrator
a n t e f a c t o            t: +353 1 8586009
www.antefacto.com            f: +353 1 8586014

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] pcmcia-cs ebuild
  2002-05-14 13:58   ` Stephane Dudzinski
@ 2002-05-14 14:03     ` Karl Trygve Kalleberg
  2002-05-15 12:13       ` Stephane Dudzinski
  0 siblings, 1 reply; 6+ messages in thread
From: Karl Trygve Kalleberg @ 2002-05-14 14:03 UTC (permalink / raw
  To: gentoo-dev


On 14 May 2002, Stephane Dudzinski wrote:

> Hello,
> 
> If you disable pcmcia support in the kernel, you get this : 
> 
> no pcmcia driver in /proc/devices
> Make sure you have PCMCIA loaded, either as a module or built into the
> kernel.

That is most likely because you forgot to:
1) reinstall pcmcia-cs so that its drivers are built
2) add pcmcia_core, i82365, ds to modules.autoload
3) either reboot or load the above drivers manually

Karl T



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] pcmcia-cs ebuild
  2002-05-14 14:03     ` Karl Trygve Kalleberg
@ 2002-05-15 12:13       ` Stephane Dudzinski
  0 siblings, 0 replies; 6+ messages in thread
From: Stephane Dudzinski @ 2002-05-15 12:13 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 449 bytes --]

Forgot to reply,

Thanks, that was the issue, rebuilt modules and hde is now there and i
can happily write stuff in and out the flash card.

Thanks
Steph

On Tue, 2002-05-14 at 15:03, Karl Trygve Kalleberg wrote:
> That is most likely because you forgot to:
> 1) reinstall pcmcia-cs so that its drivers are built
> 2) add pcmcia_core, i82365, ds to modules.autoload
> 3) either reboot or load the above drivers manually
> 
> Karl T


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-05-15 12:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-14 13:17 [gentoo-dev] pcmcia-cs ebuild Stephane Dudzinski
2002-05-14 13:38 ` Karl Trygve Kalleberg
2002-05-14 13:58   ` Stephane Dudzinski
2002-05-14 14:03     ` Karl Trygve Kalleberg
2002-05-15 12:13       ` Stephane Dudzinski
  -- strict thread matches above, loose matches on Subject: below --
2001-07-30 13:06 Craig Joly

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox