LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-06-2004, 03:23 PM   #1
:-)
LQ Newbie
 
Registered: Apr 2004
Posts: 5

Rep: Reputation: 0
Help: Using a pcmcia wlan card


I am having trouble setting up a Netgear WG511. I can't get the card to work. I have tried both Fedora Core 1 and Knoppix on the EPIA mII 10000.

The card works fine on a laptop with Knoppix (Same Version).

The following is the result of typing in dmesg.

Linux version 2.4.22-1.2115.nptl (gcc version 3.2.3 20030422 (Red Hat Linux 3.2.3-6)) #1 Wed Oct 29 15:42:51 EST 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001dff0000 (usable)
BIOS-e820: 000000001dff0000 - 000000001dff3000 (ACPI NVS)
BIOS-e820: 000000001dff3000 - 000000001e000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
479MB LOWMEM available.
ACPI: have wakeup address 0xc0001000
On node 0 totalpages: 122864
zone(0): 4096 pages.
zone(1): 118768 pages.
zone(2): 0 pages.
ACPI: RSDP (v000 VT9174 ) @ 0x000f6580
ACPI: RSDT (v001 VT9174 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x1dff3000
ACPI: FADT (v001 VT9174 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x1dff3040
ACPI: DSDT (v001 VT9174 AWRDACPI 0x00001000 MSFT 0x0100000e) @ 0x00000000
Kernel command line: ro root=LABEL=/ hdc=ide-scsi rhgb
ide_setup: hdc=ide-scsi
Initializing CPU#0
Detected 999.531 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1992.29 BogoMIPS
Memory: 481884k/491456k available (1503k kernel code, 9184k reserved, 1110k data, 136k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line)
CPU: L2 Cache: 64K (32 bytes/line)
CPU: After generic, caps: 0380b03d 00000000 00000000 00000000
CPU: Common caps: 0380b03d 00000000 00000000 00000000
CPU: Centaur VIA Nehemiah stepping 05
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
ACPI: Subsystem revision 20031002
ACPI: Interpreter disabled.
PCI: PCI BIOS revision 2.10 entry at 0xfb2d0, last bus=3
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router VIA [1106/3177] at 00:11.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
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 0x07 (Driver version 1.16)
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
pty: 2048 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
Real Time Clock Driver v1.10e
NET4: Frame Diverter 0.46
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 00:11.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci00:11.1
ide0: BM-DMA at 0xc000-0xc007, BIOS settings: hdaMA, hdbio
ide1: BM-DMA at 0xc008-0xc00f, BIOS settings: hdcMA, hddio
hda: SAMSUNG SP1213N, ATA DISK drive
blk: queue c040cfc0, I/O limit 4095Mb (mask 0xffffffff)
hdc: CDD7052, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 234493056 sectors (120060 MB) w/8192KiB Cache, CHS=14596/255/63, UDMA(100)
Partition check:
hda: hda1 hda2 hda3
ide: late registration of driver.
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 159k freed
VFS: Mounted root (ext2 filesystem).
Journalled Block Device driver loaded
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 136k freed
mtrr: 0xd8000000,0x2000000 overlaps existing 0xd8000000,0x800000
mice: PS/2 mouse device common for all mice
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 15:50:32 Oct 29 2003
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0xb400, IRQ 5
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: USB UHCI at I/O 0xb800, IRQ 4
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: USB UHCI at I/O 0xbc00, IRQ 7
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
ehci_hcd 00:10.3: VIA Technologies, Inc. USB 2.0
ehci_hcd 00:10.3: irq 9, pci mem de85f000
usb.c: new USB bus registered, assigned bus number 4
ehci_hcd 00:10.3: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-19/2.4
hub.c: USB hub found
hub.c: 6 ports detected
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
hub.c: port 5 over-current change
hub.c: port 6 over-current change
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,2), internal journal
Adding Swap: 979956k swap-space (priority -1)
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
ohci1394: $Rev: 1010 $ Ben Collins <bcollins@debian.org>
PCI: Found IRQ 4 for device 00:0d.0
PCI: Sharing IRQ 4 with 00:0a.1
ohci1394_0: OHCI-1394 1.0 (PCI): IRQ=[4] MMIO=[de00a000-de00a7ff] Max Packet=[2048]
ieee1394: Host added: ID:BUS[0-00:1023] GUID[004063500000c040]
SCSI subsystem driver Revision: 1.00
hdc: attached ide-scsi driver.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: PHILIPS Model: CDD7052 Rev: B1.5
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 52x/52x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
inserting floppy driver for 2.4.22-1.2115.nptl
FDC 0 is a post-1991 82077
via-rhine.c:v1.10-LK1.1.19 July-12-2003 Written by Donald Becker

divert: allocating divert_blk for eth0
eth0: VIA VT6102 Rhine-II at 0xcc00, 00:40:63:d4:b3:23, IRQ 5.
eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 45e1.
divert: freeing divert_blk for eth0
ip_tables: (C) 2000-2002 Netfilter core team
via-rhine.c:v1.10-LK1.1.19 July-12-2003 Written by Donald Becker

divert: allocating divert_blk for eth0
eth0: VIA VT6102 Rhine-II at 0xcc00, 00:40:63:d4:b3:23, IRQ 5.
eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 45e1.
ip_tables: (C) 2000-2002 Netfilter core team
eth0: Setting full-duplex based on MII #1 link partner capability of 45e1.
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
PCI: Found IRQ 5 for device 00:0a.0
PCI: Found IRQ 4 for device 00:0a.1
PCI: Sharing IRQ 4 with 00:0d.0
Yenta IRQ list 0408, PCI irq5
Socket status: 30000820
Yenta IRQ list 0c08, PCI irq4
Socket status: 30000006
cs: cb_alloc(bus 2): vendor 0x1260, device 0x3890
PCI: Failed to allocate resource 0(de004000-de004fff) for 02:00.0
PCI: Enabling device 02:00.0 (0000 -> 0002)
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x400-0x47f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
eth0: Promiscuous mode enabled.
device eth0 entered promiscuous mode
lp: driver loaded but no devices found
mtrr: 0xd8000000,0x2000000 overlaps existing 0xd8000000,0x800000
Via 686a/8233/8235 audio driver 1.9.1-ac3
via82cxxx: Six channel audio available
PCI: Setting latency timer of device 00:11.5 to 64
ac97_codec: AC97 Audio codec, id: ICE82 (Unknown)
via82cxxx: board #1 at 0xC400, IRQ 7
cs: cb_free(bus 2)
unloading Kernel Card Services
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
PCI: Found IRQ 5 for device 00:0a.0
PCI: Found IRQ 4 for device 00:0a.1
PCI: Sharing IRQ 4 with 00:0d.0
Yenta IRQ list 0408, PCI irq5
Socket status: 30000820
Yenta IRQ list 0c08, PCI irq4
Socket status: 30000006
cs: cb_alloc(bus 2): vendor 0x1260, device 0x3890
PCI: Failed to allocate resource 0(de004000-de004fff) for 02:00.0
PCI: Enabling device 02:00.0 (0000 -> 0002)
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x400-0x47f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
cs: cb_free(bus 2)
cs: cb_alloc(bus 2): vendor 0x1260, device 0x3890
PCI: Failed to allocate resource 0(de004000-de004fff) for 02:00.0
PCI: Enabling device 02:00.0 (0000 -> 0002)
 
Old 04-07-2004, 04:45 AM   #2
:-)
LQ Newbie
 
Registered: Apr 2004
Posts: 5

Original Poster
Rep: Reputation: 0
bump
 
Old 04-07-2004, 01:29 PM   #3
:-)
LQ Newbie
 
Registered: Apr 2004
Posts: 5

Original Poster
Rep: Reputation: 0
I have also turned off PnP support in the bios.
 
Old 08-15-2004, 05:02 PM   #4
itsdapead
LQ Newbie
 
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
I've just been having the same headache getting a wireless card going on a Epia MII12000 mobo under gentoo.

Found the solution (for me) at:
http://forums.viaarena.com/messagevi...threadid=57796

Basically, the BIOS is failing to tell linux to reserve RAM for the cardbus controller. The line "PCI failed to allocate resource..." in the dmesg dump tells you the memory address in question - 0xde004000-0xde004fff.

Starting up linux with the kernel parameter:

reserve=0xde004000,0x2000

...might get things moving.

(check the docs on your bootloader - i.e. lilo or grub - to see how to add kernel parameters. If you can get to a "boot:" prompt and your usueal boot option is "linux" then typing "linux reserve=0xde004000,0x2000" should let you test it & if it works you can modify lilo.conf later to make it permanent.)

Anybody else trying this should check the dmesg to see the memory address and number of bytes they need to reserve, and use the parameter reserve=<start address>,<length> - on my system it was reported in a slightly different format: "0x2000@0xde004000". The length seems to depend on the type of card - the original poster might get away with "reserve=0xde004000,0x1000" for their card.

As usual, no guarantee or warranty.... I'd recommend trying it out at a "boot:" prompt first and/or keeping a "failsafe" entry in your bootloader.
 
Old 08-23-2004, 08:20 PM   #5
jg167
Member
 
Registered: Jun 2004
Posts: 40

Rep: Reputation: 15
This did the trick for me as well! Excellent! My wireless utils are on version 15 of the wireless extension while the driver I just compiled is 16, so I likely should fix that, but plugging in 3ComOffice connect card now is recognized and the wirless extensions find eth1 to be a wirelss NIC etc. This is great news, thanks to all!
 
Old 08-25-2004, 06:27 AM   #6
jg167
Member
 
Registered: Jun 2004
Posts: 40

Rep: Reputation: 15
Things I have found so far.

1) my /etc/hotplug tree was messed up, be sure this is consistent (I must have had
a hotplug.functions from an earlier release as it was not an executeable scirpt but a
data file of some sort). If you run /sbin/hotplug you shoud see just a list of the
agents you have. ()'s will be around those that do not have +x access, which I
assumed needed changing. Initially /sbin/hotplug produced a ton of errors.

2) I was missing /etc/hotplug/firware.agent, you might have to google for this one
There IS a dmesg on upload success but it does not contain the card name, just the interface
eth1: uploading firmware...
eth1: firmware upload done, now triggering reset

3) the card will not get a firmware upload until you do a ifconfig up.
If you add a /etc/sysconfig/networking/devices/ifcfg-eth1
file with a ONBOOT=yes entry, it will attemtp to do so a boot time, but for me everything is not in the correct order so this fails, i have to wait till later in the boot cycle.

4) I haven't managed to get it to use /etc/pcmcia/wireles.opts yet. But I setup the parms mnaually after the "ifconfig eth1 up", and just give it an address mnaually via
"ifconfig eth1 <ip>" and it works!!!! 128bit WEP and all. So now I just need to get the wireless.opts working and dhcp.

but I'm a pretty happy camper even without those given how long I've
been struggling with this.

Final update: I turned off the pcmcia subsystem (cardmgr) entirely and just put
the ifconfig and iwconfig items into /etc/rc.d/rc.local, and that is working fine.

RH9
2.6.7
3Com Office connect 3CRWE154G72
VIA EPIA MII-10000
wirelss tools v 26 (wireless extensions v16)

Last edited by jg167; 08-25-2004 at 04:27 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Least hassle pcmcia wlan card..? BGM Linux - Wireless Networking 8 02-14-2005 12:58 PM
Slack 9.1 pcmcia wlan card Sammy2ooo Linux - Wireless Networking 4 02-04-2004 09:24 AM
which pcmcia wlan-card is best supported under openbsd? h2o *BSD 2 01-02-2004 08:01 AM
Netgear MA521 pcmcia wlan card aton Linux - Wireless Networking 1 11-16-2003 07:22 PM
WLAN PCMCIA card seriv Linux - Wireless Networking 1 11-06-2003 01:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration