Skip to contentSkip to conversation

CS_BAD_VCC Error during Card Configaration.

DISCUSSION Narendra 2 participants 2 messages Aug 6, 2002

lore
Share & tools
lore

Narendra

author
#0 lore raw

Hi,

After i made the change to ignore mismatch in Vcc....my call to cardservices(RequestIO) is
failing and the error returned is Resource in use.

But i neglected this failure and procedded..so now card is configured and next failure
occured when i try to write to WLAN card register. In this case Baseaddress returned
is 0 and i have done the modifications to add _IO_BASE to the base address. (As mentioned
in mail archives).

what might be wrong for RequestIO failure??

Thanks,
Naren

Quoted 10 lines · On Mon, 05 Aug 2002 Michael Habermann wrote :
Quoted 8 lines · Narendra

But as i found through debug message, socket is configured for 5volts and the CIS read from my card wants 3.3V. So my Config()
routine is failing since there is a mismatch in configured Vcc and
Requested Vcc. and Kernel is crashing.

Quoted 6 lines

You are using a 3.3V card in an 5V socket. If the card can do this - and I think Prism 2 can - you can bypass the code which checks if the Vcc is correct. You will maybe find it if you look in the WLAN drivers source code and search for conf.Vcc.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 5 lines · Narendra

occured when i try to write to WLAN card register. In this case Baseaddress returned
is 0 and i have done the modifications to add _IO_BASE to the base address. (As mentioned
in mail archives).

Have you checked which is really the value used for _IO_BASE? It is configured several times in the kernel. The value in include/asm/<board>.h has to be correct.

It maybe helps if you post the error and tell us which kernel and board you use.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/