Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PCMCIA nic: getting it working with pcmcia-cs (for n00bs!)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
bryon
Apprentice
Apprentice


Joined: 14 Feb 2003
Posts: 163

PostPosted: Tue Jun 03, 2003 5:14 am    Post subject: Kismet doc? Reply with quote

I would love it if somewone could make a doc on how to get Kismet working with prisim chipset and Cisco drivers. Preferable using emerge and using the cvs drivers.
Thanks
Back to top
View user's profile Send private message
quag7
Apprentice
Apprentice


Joined: 12 Aug 2002
Posts: 288
Location: Marana, Arizona - USA

PostPosted: Tue Jun 03, 2003 12:26 pm    Post subject: Netgear FA411 - for foshdawg Reply with quote

foshdawg wrote:
great info here but it's not helping my problem :\. i've got a NetGear FA411 (pcnet_cs not natsemi according to pcmcia-cs list) and no matter what i do (recompiled my kernel a few times and i'm still not terribly sure which NIC driver i'm supposed to select), it still doesn't work. anyone got any ideas, i'm going to start pulling out what little hair i have pretty soon.


foshdawg:

I just bought this same card last Friday at Best Buy and have it working perfectly in my Thinkpad. I basically followed the instructions at the root of this thread, but here's a step by step explanation from the notes I made to myself in case I have to do it again:

PCMCIA networking:
-----------------------

Compile a kernel with the following:

In NETWORK DEVICE SUPPORT:
ETHERNET (100Mbit) --->
[*] Ethernet (10 or 100Mbit)

(Select Ethernet (10 or 100Mbit)

PCMCIA Cardbus support in kernel NOT SELECTED.

No specific networking card selected.

The idea here is you're letting pcmcia-cs do all the work.

Compile this kernel, put it in /boot, make any changes to grub so you can get to the new kernel - then, only after doing this:

emerge pcmcia-cs
rc-update add pcmcia boot

In /etc/modules.autoload there should be the following two lines (plus any others you might have put in there, such as for nvidia support):

i82365
ds

Boot with the new kernel. It should detect your card and bring it online.

Note that this is on a fresh install of 1.4 rc4 and I don't use any other PCMCIA devices yet.

Hope this works for you. As you can see, the steps are quite simple but the thing to understand is that you're letting pcmcia_cs figure out the right way to drive the card. You're not actually specifying Netgear FA411 at any step of the process.
_________________
http://www.dataswamp.net
Back to top
View user's profile Send private message
kappax
Apprentice
Apprentice


Joined: 30 Aug 2002
Posts: 273
Location: The Moon

PostPosted: Wed Jun 04, 2003 9:15 pm    Post subject: Reply with quote

I seem to have a problem with the "emerge pcmcia" drivers, when i pull the card out my system crashes, but if i compile the drivers in the kernel i dont get the crash when i pull the card out.

It is not so much that i pull my card out alot, it is that when apm drops down in to standby or what not, it tunrs the card off, and when the computer comes back on it crashes >
_________________
My Box
glxgears - 4083.400 FPS
OS: GNU/Linux
Distro: Gentoo
kernel: 2.6.0-test9-mm2
----------------------
vi makes me :wq in word pad :(
Back to top
View user's profile Send private message
pi-cubic
Tux's lil' helper
Tux's lil' helper


Joined: 25 May 2003
Posts: 143

PostPosted: Fri Jun 06, 2003 6:19 pm    Post subject: Re: Kernel Settings Reply with quote

steveforse wrote:
You might want to check your kernel settings to make sure that hot-pluggable devices is disable under General Setup. Also, make sure you've enabled wirlesss suppport under Network Devices (don't select any drivers, though)


why should you disable hotplug support? in this case you'ld lose the possibility to "hotplug" the card while you pc is running, or am i wrong?

another question:
has anyone made experiences with using the USE-flag="wavelan" to get cards to work? i heard of ppl who got it only working with this flag!
Back to top
View user's profile Send private message
icecube
n00b
n00b


Joined: 30 Oct 2002
Posts: 34

PostPosted: Sun Jun 08, 2003 9:28 pm    Post subject: Cisco LM352 Problems Reply with quote

All of the posts have been very helpful. I actually got the card up and running with cisco's drivers and the 2.4.20-gentoo-r2 kernel. However, I wanted the get Kismet to work and could not seem to get the sourceforge airo-linux drivers to work. So I went to 2.4.20-gentoo-r5. What I got is posted below when I tried to start pcmcia services.

Linux PCMCIA Card Services 3.2.4
Jun 5 00:13:51 [kernel] Intel ISA/PCI/CardBus PCIC probe:
Jun 5 00:13:51 [kernel] ISA irqs (scanned) = 3,4,5,10 PCI status changes
Jun 5 00:13:51 [cardmgr] watching 2 sockets
Jun 5 00:13:51 [cardmgr] starting, version is 3.2.4
Jun 5 00:13:52 [cardmgr] socket 0: 350 Series Wireless LAN Adapter
Jun 5 00:13:52 [kernel] cs: memory probe 0xa0000000-0xa0ffffff: clean.
Jun 5 00:13:52 [cardmgr] executing: 'modprobe airo'
Jun 5 00:13:52 [cardmgr] + Warning: loading /lib/modules/2.4.20-gentoo-r5/kernel/drivers/net/a
iro.o will taint the kernel: no license
Jun 5 00:13:52 [cardmgr] + See http://www.tux.org/lkml/#export-tainted for information about
tainted modules
Jun 5 00:13:52 [kernel] airo: Probing for PCI adapters
Jun 5 00:13:52 [cardmgr] + Module airo loaded, with warnings
Jun 5 00:13:52 [cardmgr] executing: 'modprobe airo_cs'
Jun 5 00:13:52 [cardmgr] + Warning: loading /lib/modules/2.4.20-gentoo-r5/pcmcia/airo_cs.o wil
l taint the kernel: no license
Jun 5 00:13:52 [cardmgr] + See http://www.tux.org/lkml/#export-tainted for information about
tainted modules
Jun 5 00:13:52 [cardmgr] + Module airo_cs loaded, with warnings
Jun 5 00:13:52 [cardmgr] bind 'airo_cs' to socket 0 failed: Operation not permitted

No matter what I did, the bind error was always there. So I caught a wild hair and decided to use 2.4.21-rc7-ac1. And low and behold life entered my card again. So I just wanted to share the things I had to do to get it to work.

1. Copied over my .config file from my gentoo-r5 kernel and ran 'make
oldconfig'. Then ran make menuconfig to double check all the settings.
2. Compiled and installed the new kernel.
make dep && make clean bzImage modules modules_install
mount /boot
cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.21-rc7-ac1
edit grub.conf to reflect the new kernel
umount /boot
3. Reboot and relink /usr/src/linux to /usr/src/linux-2.4.21-rc7-ac1
4. emerge anything that needs to be a module (I do e100 and alsa-driver)
5. Edit the pcmcia-cs-3.2.4.ebuild to look like this below. You probably want to save this off and do the protect thing so you can use it again.

...

src_unpack() {
unpack ${P}.tar.gz

# pcmcia-cs now has the latest orinoco driver included

cd ${S}
epatch ${DISTDIR}/${P}-orinoco-patch.diff

cd ${S}
mv Configure Configure.orig
sed -e 's:usr/man:usr/share/man:g' Configure.orig > Configure
chmod ug+x Configure
#man pages will now install into /usr/share/man

einfo "copying airo-linux drivers from sourceforge into build dir"
einfo "note: malloc.h is deprecated in airo_cs, use slab.h"
cp /your-directory/airo-linux/kernel/airo.c ${S}/wireless
cp /your-directory/airo-linux/kernel/airo_cs.c ${S}/wireless
cp /your-directory/airo-linux/kernel/airo.h ${S}/wireless
cp /your-directory/airo-linux/kernel/aes.h ${S}/wireless
cp /your-directory/airo-linux/kernel/aestab.h ${S}/wireless
cp /your-directory/airo-linux/kernel/mic.h ${S}/wireless

}

...

IMPORTANT: Before you emerge pcmcia-cs, you must edit airo_cs.c and change the reference for mallac.h to slab.h. If you don't the compile will fail using a 2.4.21 series kernel.

5. Now emerge pcmcia-cs. If you followed the kernel configuration instructions at the beginning of this post, when you start pcmcia services or reboot, you won't get any errors and when your card is inserted it will come to life. Posts before this show you how to get things configured.

6. The one last thing you may have trouble with is the iwconfig reporting different versions of wireless extensions. This is easily solved by following the following steps outlined at http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html.

# iwconfig says : "Warning: Driver for device XXXX has been compiled with version XX"

1. Do cp /usr/src/linux/include/linux/wireless.h /usr/include/linux
2. Recompile and reinstall the wireless tools
3. Use "iwconfig --version" to check that versions matches
4. If you still have this message after this, or if the driver version is a bogus number, your driver need fixing...

Note that for us gentoo users, step 2 means 'emerge wireless-tools'. Took me a minute to figure that out as I thought pcmcia-cs provided iwconfig and the other iw* utilities. Guess I was too happy that the other stuff works. Hope this helps cisco users and if I made any mistakes please post corrections.

Friday is a good day.
_________________
Friday is a good day.
Back to top
View user's profile Send private message
blubbi
Guru
Guru


Joined: 27 Apr 2003
Posts: 564
Location: Halle (Saale), Germany

PostPosted: Mon Jun 09, 2003 12:33 pm    Post subject: Problem: "net.eth1" has already been started Reply with quote

Hi, pcmcia works fine, the only problmem I have is starting my pcmcia NIC automatically.

During boot, i get this messages

Code:

* Setting hostname to defiant... [ ok ]
* Calculating module dependencies... [ ok ]
*   Loading module i82365... [ ok ]
*   Loading module ds... [ ok ]
*   Loading module ide-scsi... [ ok ]
* Checking all filesystems...
fsck 1.33 (21-Apr-2003)
/dev/hda1: clean, 29/12048 files, 7584/48163 blocks [ ok ]
* Mounting local filesystems... [ ok ]
* Mounting USB device filesystem... [ ok ]
* Activating (possibly) more swap... [ ok ]
* Setting system clock to hardware clock [Local Time]... [ ok ]
* Configuring kernel parameters... [ ok ]
* Updating environment... [ ok ]
* Cleaning /var/lock, /var/run... [ ok ]
* Cleaning /tmp directory... [ ok ]
* Setting user font...[ ok ]
* Loading key mappings... [ ok ]
* Bringing lo up...[ ok ]
* Starting pcmcia...
cardmgr[5730]: watching 2 sockets
cardmgr[5730]: starting, version is 3.2.4
cardmgr[5730]: socket 1: 3Com 3CCFE575B/3CXFE575B Fast EtherLink XL
cardmgr[5730]: executing: 'modprobe cb_enabler'
cardmgr[5730]: executing: 'modprobe 3c575_cb'
cardmgr[5730]: executing: './network start eth1'
cardmgr[5735]: +  * WARNING:  "net.eth1" has already been started.   [ ok ]
* Initializing random number generator...  [ ok ]
INIT: Entering runlevel: 3
* Bringing eth1 down... [ ok ]
* Bringing eth0 up...


eth0 is build in NIC, works fine.

Do you hav any ideas ???

THX in advanc

CU

Bjoern
Back to top
View user's profile Send private message
bvetter
n00b
n00b


Joined: 14 Aug 2002
Posts: 46

PostPosted: Wed Jun 18, 2003 4:45 am    Post subject: Reply with quote

hi there
at first thx for this good how-to
but can't get my new BelkinF5D6020 to work
pcmcia-cs install worked fine, also the orinoco_cs driver loads fine
but cardmgr keeps on telling me that there is an unsupported Card in socket 1.
eth0 my build in nic works fine with eepro100

thx in advance
Back to top
View user's profile Send private message
goanuj
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jul 2002
Posts: 125
Location: California

PostPosted: Mon Jun 23, 2003 7:13 pm    Post subject: orinoco_cs not working :( Reply with quote

bvetter: how did you get orinoco_cs to work? did you copy net.eth0 to net.eth1 and change the settings?

I have emerged pcmcia-cs and my 3c754 NIC works fine under it. However, when I remove my 3c754 card and put in the orinoco wireless card, my laptop does not seem to do anything :(

Code:

[with 3c754 card in laptop]

# lsmod
Module                  Size  Used by    Not tainted
3c574_cs               10148   1
ds                      7464   1  [3c574_cs]
i82365                 41632   1
pcmcia_core            48512   0  [3c574_cs ds i82365]

# modprobe 3c745_cs
modprobe: Can't locate 3c754_cs

# /etc/init.d/pcmcia stop
 * WARNING:  you are stopping a boot service.
 * Stopping pcmcia...                                                        [ok]

[I physically remove the 3c754 card, and insert the orinoco card]

# /etc/init.d/pcmcia start
 * Starting pcmcia...
cardmgr[2734]: watching 1 sockets                                    [ok]

[i hear a high beep and then a low beep]

# lsmod
Module                  Size  Used by    Not tainted
ds                      7464   1  [3c574_cs]
i82365                 41632   1
pcmcia_core            48512   0  [ds i82365]


Why isn't pcmcia-cs loading up orinoco_cs?

Does anyone have kismet working with pcmcia-cs (3.2.4) AND orinoco_cs ?
Back to top
View user's profile Send private message
MHD
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jun 2003
Posts: 88

PostPosted: Mon Jun 23, 2003 11:30 pm    Post subject: Reply with quote

Excelent!!
Worked an absolute treat!

Just a note: on some systems /etc/modules.autoload is actually /etc/modules.autoload.d/kernel-X.Y

Thanks once again for a very easy to follow instructions! This Db is a GREAT resource!

Scott
Back to top
View user's profile Send private message
enginerd
n00b
n00b


Joined: 25 Jun 2003
Posts: 19

PostPosted: Thu Jul 03, 2003 6:24 am    Post subject: goanuj i am with you.... Reply with quote

Hey goanuj I am having the exact same problem as you are with the orinoco card. I have my normal SMC 8040 TX card working with pcmcia-cs and I can take it out and put it in and it autodetects etc. When I insert the Orinoco card (silver) it does not notice its existence, I hear a high beep and a low beep. I have done the same as you copying /etc/init.d/net.eth0 to eth1 as well as making a new IFACE entry. I have also added orinoco_cs in /etc/modules.autoload but so far nothing much has been helping. Any input from a similar users experience would be helpful. And I am planning to use this for war driving so any suggestion on an antennae or signal amplifier would be appreciated.

thanks
_________________
There are only 10 types of people in this world. Those that understand Binary and those that do not.
Back to top
View user's profile Send private message
Cammy
n00b
n00b


Joined: 03 Jul 2003
Posts: 6

PostPosted: Thu Jul 03, 2003 10:13 am    Post subject: Reply with quote

@charlieg

Thanks a lot. Worked like a charm after running through your tut.

Cammy
Back to top
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Thu Jul 03, 2003 10:21 am    Post subject: Reply with quote

You're welcome, Cammy. :)

Goanju and I will be getting it into an XML file (hopefully as an official doc) soon - Goanju has done the preliminary work and I'll finish it up over the next few days.
_________________
Want Free games?
Free Gamer - open source games list & commentary

Open source web-enabled rich UI platform: Vexi
Back to top
View user's profile Send private message
enginerd
n00b
n00b


Joined: 25 Jun 2003
Posts: 19

PostPosted: Thu Jul 03, 2003 10:52 pm    Post subject: Reply with quote

meant to tell you thanks chaalieg, it helped me get the smc card working in my system. If you want help getting it in XML I will donate some time.
_________________
There are only 10 types of people in this world. Those that understand Binary and those that do not.
Back to top
View user's profile Send private message
clumsyninja
n00b
n00b


Joined: 27 Jun 2003
Posts: 61
Location: North Texas

PostPosted: Sat Jul 05, 2003 3:50 pm    Post subject: Reply with quote

been meaning to tell you thanks for about five or six months now, your tips got my pcmcia up and running on my dell inspiron in no time at all.

so thanks :)
_________________
katana root # cat /proc/sys/kernel/osrelease
2.4.20-gentoo-r7
Back to top
View user's profile Send private message
goanuj
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jul 2002
Posts: 125
Location: California

PostPosted: Mon Jul 07, 2003 4:47 am    Post subject: Wireless part of document Reply with quote

Charlieg,

I will also put some more time in when I get my sutpid wireless card to work, it pains me to see KNOPPIX get my wireless card up and running without any problems, but when I try to do it through gentoo I can't get anything to work!

Private message me if you need some more help with the XML file, I know I only did about a third of the entire document, but it was tough! Transferring normal docs into XML docs is time consuming!

I know with the orinoco cards (and wireless cards in general) there is something called scanning mode and something called monitor mode. I need to do some research to figure out which one is needed for kismet.

There is a developer that posted this

latexer wrote:
If you use the pcmcia-cs package from portage, then it already has the monitor mode patch from shmoo applied. You should just be able to start up kismet and go to town.

if you're looking for scanning (as opposed to monitor mode) then check out Jean Tourrilhes page which includes patches against most of the recent orinoco drivers released here.

Scanning and monitor mode patches don't both apply cleanly right now, but i've got some modified patches in the works that make both jive. Sadly that means you need to pick one or the other. If you want scanning, edit /usr/portage/sys-apps/pcmcia-cs/pcmcia-cs-3.2.4.ebuild and change the line
Code:
OV="orinoco-0.13b"

to
Code:
OV="orinoco-0.13d"

(to get a slightly more up-to-date version of orinoco and one that has a scanning patch available)

and then change the line
Code:
epatch ${DISTDIR}/${P}-orinoco-patch.diff

to
Code:
epatch ${DISTDIR}/scanning-0.13d-v3.diff


Make sure you have the scanning patch for that version placed in /usr/portage/distfiles/. Then you should be able to do
Code:
ebuild /usr/portage/sys-apps/pcmcia-cs/pcmcia-cs-3.2.4.ebuild digest
emerge pcmcia-cs


Voila! you should now be able to do
Code:
ifconfig eth1 up
iwlist eth1 scan

and see some nodes if you're near any!


The URL is https://forums.gentoo.org/viewtopic.php?t=55266&highlight=orinoco

--Anuj
Back to top
View user's profile Send private message
weazy
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2003
Posts: 82
Location: co-located

PostPosted: Fri Jul 18, 2003 5:45 pm    Post subject: Reply with quote

I am running a Dell Inspiron, I have a built in NIC and a PCMCIA Orinoco card.

I have the onboard NIC set as module that doesnt autoload, I wrote a simple script that does the appropriate modprobes if I choose to take the laptop online. I am trying to configure my Orinoco Gold 128 802.11b but am having trouble. I have seen a number of posts and tried following them, but either I am dense or I didn't find the relevant post b/c the procedures haven't been successful. I am sure the problem is an oversight on my behalf. I am going to post what I presume are the relevant config files.

I have no PCMCIA support but I do have wirelss support config'd in the kernel.

when I reboot I see an error that says

Agere Systems Product
Unsupported Card in slot 0


trying to name wireless card as net.eth1
I copied net.eth0 to net.eth1 and didn't make any changes.

/etc/config.d/net looks like:

iface_eth0="dhcp"
iface_eth1="dhcp"

i then run:

insmod i82365
insmod ds
cardmgr -f

cardmgr responds:
cardmgr[16877]: watching 1 sockets

/etc/conf.d/pcmcia:

# Put cardmgr options here
CARDMGR_OPTS="-f"
# To set the PCMCIA scheme at startup...
SCHEME="home"

# These are from the pcmcia-cs distribution, but aren't used yet
# Should be either i82365 or tcic
PCIC="i82365 tcic"
# Put socket driver timing parameters here
PCIC_OPTS=""
# Put pcmcia_core options here
CORE_OPTS=""


kernel config as posted.

reboot. still didnt come up.

ifconfig eth1
eth1: error fetching interface information: Device not found

lsmod looks like:

Module Size Used by Not tainted
bcm4400 28288 1
ds 7464 1
i82365 41632 1
pcmcia_core 48544 0 [ds i82365]
i810_audio 27528 0
ac97_codec 11208 0 [i810_audio]
soundcore 4580 2 [i810_audio]
ide-scsi 9072 0
sg 30604 0 (unused)
sr_mod 18680 0 (unused)
scsi_mod 90228 3 [ide-scsi sg sr_mod]

....

i cant start net.eth1
/etc/init.d/net.eth1 start
* Bringing eth1 up...
* Failed to bring eth1 up
_________________
--The Devil is in the Details--
Back to top
View user's profile Send private message
weazy
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2003
Posts: 82
Location: co-located

PostPosted: Sat Jul 19, 2003 9:03 pm    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic.php?p=420971#420971
_________________
--The Devil is in the Details--
Back to top
View user's profile Send private message
farphel
n00b
n00b


Joined: 18 Jul 2003
Posts: 2
Location: USA-NH

PostPosted: Mon Jul 21, 2003 12:59 pm    Post subject: Operation not permitted errors Reply with quote

Great thread! It's been a valuable resource. Unfortunatly, I still can't get my wireless card to work!

I'm using a Linksys WPC11 (version 1 - Prism2 chipset). I've tried several combinations of kernel options, kernel modules, pcmcia-cs, and linux-wlan-ng to no avail. I've managed to get 'cardmgr' to recognize the card and load a driver both with the built-in kernel hermes/orinico_cs modules and using linux-wlan-ng's prism2_cs driver. However, in both cases when the module is loaded on card insertion, I get the following error:
Code:

Jul 21 08:00:13 [cardmgr] executing: 'modprobe prism2_cs'
Jul 21 08:00:13 [kernel] init_module: prism2_cs.o: 0.2.0 Loaded
Jul 21 08:00:13 [cardmgr] bind 'prism2_cs' to socket 1 failed: Operation not permitted

Has anyone else ever encountered this error? What did you do to fix it?

Thanks in advance for any help.
_________________
Feed this to your python
print reduce(lambda x,y : x+chr(ord(y)-3), 'Hulf#Mrkqvrq#?hulfCfrglqj0}rqh1frpA','')
Back to top
View user's profile Send private message
nodus
n00b
n00b


Joined: 24 Jun 2003
Posts: 73
Location: Lille, France

PostPosted: Mon Jul 21, 2003 7:25 pm    Post subject: Reply with quote

i'm experiencing a big problem, the ds module can't be load. Here is what demsg is giving me:

Code:
Linux version 2.4.20-gaming-r3 (root@traitplat) (version gcc 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)) #2 lun jui 21 22:32:27 CEST 2003
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000ffe2800 (usable)
 BIOS-e820: 000000000ffe2800 - 0000000010000000 (reserved)
 BIOS-e820: 00000000feda0000 - 00000000fee00000 (reserved)
 BIOS-e820: 00000000ffb80000 - 0000000100000000 (reserved)
255MB LOWMEM available.
On node 0 totalpages: 65506
zone(0): 4096 pages.
zone(1): 61410 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/hda7
Initializing CPU#0
Detected 1196.033 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 2385.51 BogoMIPS
Memory: 256300k/262024k available (1587k kernel code, 5336k reserved, 539k data, 128k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
Buffer-cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 0383f9ff 00000000 00000000 00000000
CPU:             Common caps: 0383f9ff 00000000 00000000 00000000
CPU: Intel Mobile Intel(R) Celeron(TM) CPU         1200MHz stepping 04
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfbfee, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
Transparent bridge - Intel Corp. 82801BAM/CAM PCI Bridge
PCI: Discovered primary peer bus 08 [IRQ]
PCI: Using IRQ router PIIX [8086/248c] at 00:1f.0
PCI: Found IRQ 11 for device 00:1f.1
PCI: Sharing IRQ 11 with 02:00.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
Starting kswapd
Journalled Block Device driver loaded
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
PCI: Found IRQ 11 for device 01:00.0
PCI: Sharing IRQ 11 with 00:1d.0
radeonfb: ref_clk=2700, ref_div=60, xclk=16600 from BIOS
radeonfb: panel ID string: QDI141X1LH03           
radeonfb: detected DFP panel size from BIOS: 1024x768
Console: switching to colour frame buffer device 128x48
radeonfb: ATI Radeon M6 LY  DDR SGRAM 16 MB
radeonfb: DVI port LCD monitor connected
radeonfb: CRT port no monitor connected
pty: 256 Unix98 ptys configured
Dell laptop SMM driver v1.13 14/05/2002 Massimo Dal Zotto (dz@debian.org)
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS02 at 0x03e8 (irq = 4) is a 16550A
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH3M: IDE controller on PCI bus 00 dev f9
PCI: Enabling device 00:1f.1 (0005 -> 0007)
PCI: Found IRQ 11 for device 00:1f.1
PCI: Sharing IRQ 11 with 02:00.0
ICH3M: chipset revision 2
ICH3M: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xbfa0-0xbfa7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xbfa8-0xbfaf, BIOS settings: hdc:DMA, hdd:pio
hda: TOSHIBA MK2018GAS, ATA DISK drive
hdc: TOSHIBA DVD-ROM SD-C2612, ATAPI CD/DVD-ROM drive
ide2: ports already in use, skipping probe
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
blk: queue c035e5a4, I/O limit 4095Mb (mask 0xffffffff)
hda: 39070080 sectors (20004 MB), CHS=2432/255/63, UDMA(100)
hdc: ATAPI 24X DVD-ROM drive, 192kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
 /dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 p6 p7 p8 p9 p10 >
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: Detected Intel i830M chipset
agpgart: AGP aperture is 256M @ 0xd0000000
[drm] AGP 0.99 on Unknown @ 0xd0000000 256MB
[drm] Initialized radeon 1.1.1 20010405 on minor 0
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
usb.c: registered new driver hub
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
FAT: bogus logical sector size 0
FAT: bogus logical sector size 0
reiserfs: checking transaction log (device 03:07) ...
Using r5 hash to sort names
ReiserFS version 3.6.25
VFS: Mounted root (reiserfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 128k freed
Adding Swap: 530104k swap-space (priority -1)
[b]Linux Kernel Card Services 3.1.22
  options:  [pci] [pm]
ds: no socket drivers loaded!
unloading Kernel Card Services[/b]PCI: Found IRQ 11 for device 02:00.0
PCI: Sharing IRQ 11 with 00:1f.1
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
02:00.0: 3Com PCI 3c905C Tornado at 0xec80. Vers LK1.1.16
[b]Linux Kernel Card Services 3.1.22
  options:  [pci] [pm]
ds: no socket drivers loaded!
unloading Kernel Card Services
Linux Kernel Card Services 3.1.22
  options:  [pci] [pm]
Intel PCIC probe: not found.
unloading Kernel Card Services[/b]reiserfs: checking transaction log (device 03:08) ...
Using r5 hash to sort names
ReiserFS version 3.6.25
reiserfs: checking transaction log (device 03:09) ...
Using r5 hash to sort names
ReiserFS version 3.6.25
[b]Linux Kernel Card Services 3.1.22
  options:  [pci] [pm]
Intel PCIC probe: not found.
ds: no socket drivers loaded!
ds: no socket drivers loaded![/b]kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,10), internal journal
EXT3-fs: mounted filesystem with ordered data mode.


What do you think it is, i followed perfectly this topic ?
Thanks for your help.
Back to top
View user's profile Send private message
kebabkarli
n00b
n00b


Joined: 26 Jul 2003
Posts: 37
Location: Tulln/AUSTRIA

PostPosted: Sat Jul 26, 2003 12:55 pm    Post subject: 'i82365 or i82092 do not work Reply with quote

I tried it on my acer travelmate 529, but 'i82365 or i82092 do not work.
[
when booting:

initializing [chipset]
initialization failed
]

when trying to do anz' solution (env-update, etc...) i get the following problems:
env-update.....successful
source /etc/profiles .....no such file or directory
ldconfig ...........no answer
update-modules force .....depmod: ***Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/kernel/arch/i386/kernel/apm.o

has anybody an idea about the problem :?:


APM isn't working at the moment. so I wasn't able to do update-modules......
my fault.
Now working


Last edited by kebabkarli on Fri Aug 01, 2003 7:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
bbarrera
n00b
n00b


Joined: 22 Mar 2003
Posts: 44

PostPosted: Tue Jul 29, 2003 7:38 pm    Post subject: Kismet, pcmcia-cs and Orinoco cards Reply with quote

Assgier wrote:
There's only one thing that's missing IMHO...

To get an Orinoco card in Monitor-mode (for netstumbling/wardriving) with Kismet, you need to patch the pcmcia-cs drivers after untarring it, and before starting to compile it (./configure)... Normally this shouldn't be a problem, though emerge does it all in one time, so without patching the drivers in between, so via this way you can't go wardrivin' with it :(

Now what i did is install the pcmcia-cs drivers by hand, works for me... though most people would like to just emerge it i think ;)

If you're going to try to write a second HOWTO or whatsoever includes what i'm trying to describe above, you should also know that pcmcia-cs-3.2.3 is the last version that works with the 3.2.1 patch available, patching pcmcia-cs-3.2.4 with it will fail!

Kismet, pcmcia-cs and Orinoco cards

I was able to just emerge without installing drivers by hand. I'm using standard ebuilds for pcmcia-cs (3.2.4), Ethereal (0.9.13), and kismet 2.8.1-r1. No manual intervention required to build packages. I did have to tweak the notebook to reliably use kismet or Ethereal...

I'm using builtin Orinoco miniPCI (eth1) in a Dell notebook that also has builtin 10/100 Ethernet (eth0). Using pcmcia-cs drivers instead of kernel drivers. The latest 3.2.4 pcmcia-cs package does a nice job of installing schmoo monitor mode patches, but I still had problems getting kismet to work longer than about a 1 minute when using notebook without Ethernet connection.

The fix was to disable all networking applications that use wireless interface, otherwise I get "eth1: Error -5 writing packet to BAP" and CPU utilization goes to 100% and monitoring stops. Since the notebook had no Ethernet connection at boot time, the wireless interface was only active interface and all networking apps use eth1. I always get "Error -5 ... BAP" within minutes after placing eth1 into monitor mode via command line (iwpriv eth1 monitor 1 1) or using kismet_monitor. Obviously the network apps cannot use wireless interface after it is placed in monitor mode, so the solution is to disable the networking apps.

In my particular case, the following commands were added to the kismet_monitor script to simplify starting kismet. I also set HOPPER=yes to ensure that kismet is always scanning all channels:
Code:
HOPPER="yes"
...
...
ENABLECMD=0

echo "stopping network services"
/etc/init.d/netmount stop
/etc/init.d/samba stop
/etc/init.d/sshd stop
/etc/init.d/vcron stop


To determine which services to stop, just check the message preceeding "Error -5 ... BAP" in /var/log/syslog and stop that service. If the logs are full just grep for the first "Error -5 ... BAP" timestamp. You'll find the offending network app pretty quick that way.
Back to top
View user's profile Send private message
nalin
Apprentice
Apprentice


Joined: 27 Sep 2002
Posts: 172
Location: Long Beach

PostPosted: Sun Aug 03, 2003 9:22 pm    Post subject: Re: crash on insert in Inspiron 8100 Reply with quote

Urgo wrote:
soroko wrote:
i followed your instructions, but on my laptop, Dell Inspiron 8100, when I insert my Orinoco Sliver card, the computer freezes and i have to reboot using the power button. when I insert the card the last syslog message is:
Code:


dessimus cardmgr[2265]: executing: 'modprobe orinoco_cs'


even if i try to boot with the card in, it will freeze before finishing the boot, and the above message is also the last message shown.

TIA,
Rick

ragefan wrote:

I have a similar setup as well, try editing /etc/pcmcia/config.opts

in the line
include port 0x100-0x4ff.....
delete the range: 0x800-0x8ff


Thank you soooooo much! You don't know how long I've been tearing my hair out because of that problem. Taking that code out seems to fix the freezing problem I've bene having with cardmgr. I can now use my netgear MA401 wireless card on my Dell Inspiron 8000.

(I threw in a bunch of keywords so others can find this thread faster then I did. =] )

-Urgo

This also is necessary for the inspiron 5150 (and i believe a number of other recent dell models).

One can get around it by setting /etc/conf.d/pcmcia CORE_OPTS="probe_io=0", but this complicates things in that you either need to update modules.conf to incorperate the probe_io or manually load pcmcia, as modprobing yenta_socket will otherwise load the dependant modules and cause pcmcia to ignore your core opts. I also assume that the manner which rage suggests is less restrictive (in that it probes some io's).

Thanks for the solution rage, as manually loading pcmcia isnt fun...
Back to top
View user's profile Send private message
Ledneh
n00b
n00b


Joined: 08 Jun 2003
Posts: 72
Location: Las Vegas, NV USA

PostPosted: Thu Aug 07, 2003 1:27 am    Post subject: Reply with quote

Here's a stumper for y'all. Is there a way to add new driver support to pcmcia-cs without having to go insane with the programming (of which I am not l33t)? I have a Linksys WPC11 v4 which uses the RTL8180 drivers (available at the Realtek website).

While I can get it work with a load of fairly arcane iwpriv commands (such as iwpriv wlan0 wlan_para wepdkeyid=0,wepkey40_1=1111111111 for example) and a few insmods, doing that manually at bootup is a pain, especially since the script misfires half the time (resulting in either a failure to connect--best case--or, worst case, a kernel panic). Really, it's exactly half. I've done the math. ;).
_________________
LAZOR ATTACK OLOZL ^_________________^
Back to top
View user's profile Send private message
dalamarian
n00b
n00b


Joined: 08 May 2003
Posts: 30

PostPosted: Sun Aug 10, 2003 1:39 am    Post subject: trials of wireless inet...shrug Reply with quote

Moved to more appropriate forum

Last edited by dalamarian on Fri Aug 15, 2003 12:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
goanuj
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jul 2002
Posts: 125
Location: California

PostPosted: Mon Aug 11, 2003 6:09 am    Post subject: error when doing insmod orinoco_cs Reply with quote

what am I doing wrong?

Code:

# insmod orinoco_cs
Using /lib/modules/2.4.20-gentoo-r5/pcmcia/orinoco_cs.o

/lib/modules/2.4.20-gentoo-r5/pcmcia/orinoco_cs.o: unresolved symbol orinoco_interrupt_R8ca3e787
/lib/modules/2.4.20-gentoo-r5/pcmcia/orinoco_cs.o: unresolved symbol alloc_orinocodev_Rdc4bdf5d
/lib/modules/2.4.20-gentoo-r5/pcmcia/orinoco_cs.o: unresolved symbol orinoco_reinit_firmware
/lib/modules/2.4.20-gentoo-r5/pcmcia/orinoco_cs.o: unresolved symbol hermes_struct_init_R5bfb4a4b
/lib/modules/2.4.20-gentoo-r5/pcmcia/orinoco_cs.o: unresolved symbol __orinoco_down
/lib/modules/2.4.20-gentoo-r5/pcmcia/orinoco_cs.o: unresolved symbol __orinoco_up



Code:

# locate orinoco_cs
/usr/src/linux-2.4.20-gentoo-r5/drivers/net/wireless/orinoco_cs.c
/lib/modules/2.4.20-gentoo-r5/pcmcia/orinoco_cs.o
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Page 4 of 9

 
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