Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
modify Kernel Boot parameters and PCMCIAutils
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
AJJam
n00b
n00b


Joined: 21 Feb 2006
Posts: 9

PostPosted: Sun Feb 26, 2006 3:18 am    Post subject: modify Kernel Boot parameters and PCMCIAutils Reply with quote

I am having a very hard time with Getting my Wireless card to work. I think, the problem is that the kernel does not recognize the card bus slot. I am trying to use ndiswrapper to install the wireless car, but the card does not even turn on when I boot up the laptop. I still have some basic questions. Here are my questions:

I removed pcmcia-cs and install sysfsutils and pcmciautils using emerge. The Kernel.org suggests that In order to install the PCMCIAutils, I have to modify the Makefile, but I don't Know where this Makefile is. I have looked almost everywhere, but I can't find any file to modify. This is the link: http://www.kernel.org/pub/linux/utils/kernel/pcmcia/howto.html#utils

The second Question is the Kernel.org suggests to set 'pci=assign-busses', but again I don't know how to append 'pci=assign-busses' (no quotes) to the kernel boot parameters. What File should I modify? How do I change the Kernel Boot parameters? Here is the link:
http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html#pcmciautils

Here is a detailed lspci:
00:00.0 Host bridge: ATI Technologies Inc RS200/RS200M AGP Bridge [IGP 340M] (rev 02)
00:01.0 PCI bridge: ATI Technologies Inc PCI Bridge [IGP 340M]
00:03.0 Modem: ALi Corporation M5457 AC'97 Modem Controller
00:04.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)
00:06.0 Bridge: ALi Corporation M7101 Power Management Controller [PMU]
00:07.0 ISA bridge: ALi Corporation M1533/M1535 PCI to ISA Bridge [Aladdin IV/V/V+]
00:0a.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev aa)
00:0a.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev aa)

00:0a.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 02)
00:0c.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50)
00:0c.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50)
00:0c.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51)
00:0f.0 IDE interface: ALi Corporation M5229 IDE (rev c4)
00:12.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon IGP 330M/340M/350M



Your Response would be really appreciated.Thank you all.
Back to top
View user's profile Send private message
jomen
Guru
Guru


Joined: 04 Jan 2006
Posts: 536
Location: Leipzig, Germany

PostPosted: Sun Feb 26, 2006 11:27 am    Post subject: Reply with quote

do you have this enabled in your kernel-config?
in: Bus options (PCI, PCMCIA, EISA, MCA, ISA) -> PCCARD (PCMCIA/CardBus) support -> CardBus yenta-compatible bridge support
it is needed for your CardBus Bridge
_________________
Cheers
Back to top
View user's profile Send private message
AJJam
n00b
n00b


Joined: 21 Feb 2006
Posts: 9

PostPosted: Sun Feb 26, 2006 4:58 pm    Post subject: Reply with quote

Yes it is enabled.and I had comiled the kernel again to make sure that it is enabled.
Back to top
View user's profile Send private message
jomen
Guru
Guru


Joined: 04 Jan 2006
Posts: 536
Location: Leipzig, Germany

PostPosted: Sun Feb 26, 2006 6:12 pm    Post subject: Reply with quote

Quote:
The Kernel.org suggests that In order to install the PCMCIAutils, I have to modify the Makefile

With gentoo you will most likely not have to do that.
but to get some results you might want to tell us:
What card are you trying to get to work?
Which kernel-version are you running?
Do you have the windows-drivers installed - as they are needed by ndiswrapper?
I have had no great success with ndiswrapper - but that might have been my card then.
_________________
Cheers
Back to top
View user's profile Send private message
AJJam
n00b
n00b


Joined: 21 Feb 2006
Posts: 9

PostPosted: Sun Feb 26, 2006 6:56 pm    Post subject: Reply with quote

jomen wrote:
Quote:
The Kernel.org suggests that In order to install the PCMCIAutils, I have to modify the Makefile

With gentoo you will most likely not have to do that.
but to get some results you might want to tell us:
What card are you trying to get to work?
Which kernel-version are you running?
Do you have the windows-drivers installed - as they are needed by ndiswrapper?
I have had no great success with ndiswrapper - but that might have been my card then.




The Card : Netgear MA521
Kernel Version: linux-2.6.15-gentoo-r1
Yes the widnows driver is installed and running very well.

Again I have not yet tried to use ndiswrapper. I want to update the kerne boot parameters so it will recognize the PC Card slot in the laptop. When the computer boot up the pwr light of the wireless card does not even turn on!!!!

Thanks for your responses.
Back to top
View user's profile Send private message
jomen
Guru
Guru


Joined: 04 Jan 2006
Posts: 536
Location: Leipzig, Germany

PostPosted: Sun Feb 26, 2006 7:12 pm    Post subject: Reply with quote

do you have these installed:
sys-apps/pcmciautils
sys-apps/pcmcia-cs-cis
sys-apps/pcmcia-cs
maybe this too - not sure:
sys-apps/pcmcia-cs-pnptools

Do you have built the drivers as modules? - load them...
yenta_socket
pcmcia

Did you start the pcmcia service?
/etc/init.d/pcmcia status
/etc/init.d/pcmcia start

Quote:
Yes the windows driver is installed and running very well.

How do you know that - it's not working yet - I meant - it needs to be installed in linux.
_________________
Cheers
Back to top
View user's profile Send private message
AJJam
n00b
n00b


Joined: 21 Feb 2006
Posts: 9

PostPosted: Mon Feb 27, 2006 12:52 am    Post subject: Reply with quote

I have re-emerge the pcmcia-cs only. I can not emerge sys-apps/pcmcia-cs-cis and sys-apps/pcmcia-cs-pnptools because they are blocking pcmcia-cs.
I have also re-emerged sys-apps/pcmciautils.

Here are the masseges:

# /etc/init.d/pcmcia start
* PCMCIA support detected
* Starting pcmcia ...
cardmgr[8805]: no sockets found!
* cardmgr failed to start. Make sure that you have PCMCIA
* modules built or support compiled into the kernel [ !! ]

# /etc/init.d/pcmcia status
* status: stopped

# lsmod
Module Size Used by

Quote:
Do you have built the drivers as modules? - load them...
yenta_socket
pcmcia


I don't know what you mean?

What do i do next?
Back to top
View user's profile Send private message
jomen
Guru
Guru


Joined: 04 Jan 2006
Posts: 536
Location: Leipzig, Germany

PostPosted: Mon Feb 27, 2006 9:44 am    Post subject: Reply with quote

Sorry - I confused the old way and the new way to handle pcmcia.

The old way used sys-apps/pcmcia-cs
The new way is using sys-apps/pcmciautils

Therefore and next:
- you can ditch sys-apps/pcmcia-cs you only need sys-apps/pcmciautils

You also do not need to start /etc/init.d/pcmcia

That was what confused me - because the init-script was still there even though it has no use anymore.

Read about it here: http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html
and here: http://www.kernel.org/pub/linux/utils/kernel/pcmcia/howto.html

Plug the card in and watch the messages during this:
as root:
watch tail /var/log/messages - or switch to tty0 - there is also a syslog running
Look through "dmesg" and /var/log/messages to see if the driver for your CardBus Bridge is loaded
If you built it as a kernel-module it will be called yenta_socket - load this module:
modprobe yenta_socket
I can not yet help further because I have not yet set up ndiswrapper on this computer - but will do and tell you about if you still need info
_________________
Cheers
Back to top
View user's profile Send private message
AJJam
n00b
n00b


Joined: 21 Feb 2006
Posts: 9

PostPosted: Tue Feb 28, 2006 6:03 am    Post subject: Reply with quote

Quote:
watch tail /var/log/messages

Every 2.0s: tail /var/log/messages Mon Feb 27 13:45:57 2006
Feb 27 13:41:56 localhost ntpd[8366]: kernel time sync status 0040
Feb 27 13:41:57 localhost cron[8405]: (CRON) STARTUP (V5.0)
Feb 27 13:41:57 localhost init: Activating demand-procedures for 'A'
Feb 27 13:42:18 localhost gdm(pam_unix)[8529]: session opened for user amin by (uid=0)
Feb 27 13:42:20 localhost (amin-8601): starting (version 2.12.1), pid 8601 user 'amin'
Feb 27 13:42:20 localhost (amin-8601): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only configuration source at position 0
Feb 27 13:42:20 localhost (amin-8601): Resolved address "xml:readwrite:/home/amin/.gconf" to a writable configuration source
at position 1
Feb 27 13:42:20 localhost (amin-8601): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only configuration source at position 2
Feb 27 13:42:38 localhost (amin-8601): Resolved address "xml:readwrite:/home/amin/.gconf" to a writable configuration source
at position 0
Feb 27 13:44:36 localhost su(pam_unix)[10250]: session opened for user root by (uid=1000)


Quote:
/var/log/messages


Feb 26 07:54:46 localhost cardmgr[10827]: no sockets found!
Feb 26 07:55:18 localhost rc-scripts: ERROR: wrong args ( yenta-socket )
Feb 26 07:55:18 localhost rc-scripts: Usage: pcmcia { start|stop|restart|pause|zap }
Feb 26 07:55:18 localhost rc-scripts: pcmcia without arguments for full help
Feb 26 07:55:33 localhost cardmgr[10912]: no sockets found!
Feb 26 07:56:40 localhost cardmgr[11140]: no sockets found!
Feb 26 07:59:51 localhost shutdown[11161]: shutting down for system reboot
Feb 26 07:59:51 localhost init: Switching to runlevel: 6
Feb 26 07:59:55 localhost ntpd[8332]: ntpd exiting on signal 15
Feb 26 07:59:57 localhost syslog-ng[7362]: syslog-ng version 1.6.9 going down
Feb 26 08:00:59 localhost syslog-ng[7391]: syslog-ng version 1.6.9 starting
Feb 26 08:00:59 localhost syslog-ng[7391]: Changing permissions on special file /dev/tty12

Quote:
modprobe yenta_socket



modprobe yenta_socket
FATAL: Module yenta_socket not found.

I have also read those two pages before. I don't know how to append 'pci=assign-busses' to the boot kernel parameters.
What should i do next?
Thanks for the help.
Back to top
View user's profile Send private message
AJJam
n00b
n00b


Joined: 21 Feb 2006
Posts: 9

PostPosted: Thu Mar 02, 2006 4:04 pm    Post subject: Reply with quote

PROBLEM SOLVED.

Thanks y'all.

I am fairly new to gentoo, so I only had to compile yenta-socket as a MODULE. This is what I was missing every time.
Any way Thanks for helping me out.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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