Struggling with Pheenet card
Harry Moyes
harry
Sun Jan 26 11:35:49 PST 2003
All
Humble plea for assistance please.
Trying to build a radio connected system.
Hardware is IBM Pentium 200 box, with rtl8139 Ethernet and
Pheenet WL-002 radio card.
OS is stock RedHat 8.0, (make oldconfig) and rebuild custom Kernel.
Hostap is last full release, not CVS.
Obvious issues with symbol versioning etc overcome.
/proc/pci is
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: Intel Corp. 430VX - 82437VX TVX [Triton VX] (rev 2).
Master Capable. Latency=32.
Bus 0, device 1, function 0:
ISA bridge: Intel Corp. 82371SB PIIX3 ISA [Natoma/Triton II] (rev 1).
Bus 0, device 1, function 1:
IDE interface: Intel Corp. 82371SB PIIX3 IDE [Natoma/Triton II] (rev 0).
Master Capable. Latency=32.
I/O at 0xfff0 [0xffff].
Bus 0, device 1, function 2:
USB Controller: Intel Corp. 82371SB PIIX3 USB [Natoma/Triton II] (rev 1).
IRQ 15.
Master Capable. Latency=64.
I/O at 0x5400 [0x541f].
Bus 0, device 8, function 0:
VGA compatible controller: Cirrus Logic GD 5446 (rev 0).
Prefetchable 32 bit memory at 0x40000000 [0x40ffffff].
Bus 0, device 11, function 0:
Network controller: PCI device 15e8:0131 (National Datacomm Corp) (rev 1).
IRQ 15.
I/O at 0x5424 [0x5433].
I/O at 0x1000 [0x103f].
Device 11 would appear to match
PLXDEV(0x15e8, 0x0131, "National Datacomm NCP130 (TMD7160)"),
in struct pci_device_id in hostap_plx.c
Attempting to load the module gives ...
[root at aichen shoka]# /sbin/insmod
/lib/modules/2.4.18-14custom/net/hostap_crypt.o
[root at aichen shoka]# /sbin/insmod /lib/modules/2.4.18-14custom/net/hostap.o
[root at aichen shoka]# /sbin/insmod
/lib/modules/2.4.18-14custom/net/hostap_plx.o
/lib/modules/2.4.18-14custom/net/hostap_plx.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including
invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
Dmseg contains ...
Linux version 2.4.18-14custom (root at aichen) (gcc version 3.2 20020903 (Red Hat
Linux 8.0 3.2-7)) #10 Fri Jan 24 22:34:09 GMT 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000004000000 (usable)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000fffe0000 - 0000000100000000 (reserved)
64MB LOWMEM available.
On node 0 totalpages: 16384
zone(0): 4096 pages.
zone(1): 12288 pages.
zone(2): 0 pages.
IBM machine detected. Enabling interrupts during APM calls.
Kernel command line: ro root=LABEL=/
Initializing CPU#0
Detected 199.434 MHz processor.
Speakup v-1.00 CVS: Tue Jun 11 14:22:53 EDT 2002 : initialized
Console: colour VGA+ 80x25
Calibrating delay loop... 398.13 BogoMIPS
Memory: 60972k/65536k available (1193k kernel code, 3664k reserved, 984k data,
200k init, 0k highmem)
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount cache hash table entries: 1024 (order: 1, 8192 bytes)
ramfs: mounted with options: <defaults>
ramfs: max_pages=7685 max_file_pages=0 max_inodes=0 max_dentries=7685
Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
CPU: Before vendor init, caps: 008001bf 00000000 00000000, vendor = 0
Intel Pentium with F0 0F bug - workaround enabled.
CPU: After vendor init, caps: 008001bf 00000000 00000000 00000000
CPU: After generic, caps: 008001bf 00000000 00000000 00000000
CPU: Common caps: 008001bf 00000000 00000000 00000000
CPU: Intel Pentium MMX stepping 03
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch at atnf.csiro.au)
mtrr: detected mtrr type: none
PCI: PCI BIOS revision 2.10 entry at 0xfd8bc, last bus=0
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Cannot allocate resource region 2 of device 00:0b.0
Limiting direct PCI/PCI transfers.
Activating ISA DMA hang workarounds.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
speakup: initialized device: /dev/synth, node (MAJOR 10, MINOR 25)
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
VFS: Diskquotas version dquot_6.5.0 initialized
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ
SERIAL_PCI ISAPNP enabled
ttyS0 at 0x03f8 (irq = 4) is a 16550A
ttyS1 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10e
block: 112 slots per queue, batch=28
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX3: IDE controller on PCI bus 00 dev 09
PIIX3: chipset revision 0
PIIX3: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xfff0-0xfff7, BIOS settings: hda:DMA, hdb:pio
hda: FUJITSU MPC3064AT, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
blk: queue c0389c44, I/O limit 4095Mb (mask 0xffffffff)
blk: queue c0389c44, I/O limit 4095Mb (mask 0xffffffff)
hda: 12672450 sectors (6488 MB), CHS=788/255/63, (U)DMA
ide-floppy driver 0.99.newide
Partition check:
hda: hda1 hda2 hda3
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
NET4: Frame Diverter 0.46
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
ide-floppy driver 0.99.newide
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
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: 127k 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: 200k freed
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 00:41:16 Jan 24 2003
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0x5400, IRQ 15
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: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech at suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
EXT3 FS 2.4-0.9.18, 14 May 2002 on ide0(3,3), internal journal
Adding Swap: 514072k swap-space (priority -1)
parport0: PC-style at 0x3bc [PCSPP]
ohci1394: pci_module_init failed
ip_tables: (C) 2000-2002 Netfilter core team
8139too Fast Ethernet driver 0.9.25
divert: allocating divert_blk for eth0
eth0: RealTek RTL8139 Fast Ethernet at 0xc48a1000, 00:e0:4c:39:87:fc, IRQ 11
eth0: Identified 8139 chip type 'RTL-8139C'
eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability
45e1.hostap_crypt: registered algorithm 'NULL'
hostap_plx: hostap_plx.c 0.0.0 2002-10-12 (SSH Communications Security Corp,
Jouni Malinen)
hostap_plx: (c) Jouni Malinen <jkmaline at cc.hut.fi>
TMD7160 PCI/PCMCIA adapter: io=0x5424, irq=15, pccard_io=0x1000
hostap_plx: Error setting COR (expected=0x45, was=0xff)
hostap_plx: No devices found, driver not installed.
Which would appear to be triggered here in hostap_plx.c ..
if (tmd7160) {
/* TMD7160 */
attr_mem = 0; /* no access to PC Card attribute memory */
printk(KERN_INFO "TMD7160 PCI/PCMCIA adapter: io=0x%x, "
"irq=%d, pccard_io=0x%x\n",
plx_ioaddr, pdev->irq, pccard_ioaddr);
cor_offset = plx_ioaddr;
cor_index = 0x04;
outb(cor_index | COR_LEVLREQ | COR_ENABLE_FUNC, plx_ioaddr);
mdelay(1);
reg = inb(plx_ioaddr);
if (reg != (cor_index | COR_LEVLREQ | COR_ENABLE_FUNC)) {
printk(KERN_ERR "%s: Error setting COR (expected="
"0x%02x, was=0x%02x)\n", dev_info,
cor_index | COR_LEVLREQ | COR_ENABLE_FUNC,
reg);
goto fail;
}
} else {
Questions ..
Has anybody experiance of specifically this variant prisam (??) card.
Am I doing something obvious wrong.. (please presume I'm a complete dunce,
we'll arrive at a reasonable assesment of my competancy much sooner that way
;-) )
Is this likely to be improved by moving to a current kernel and the CVS
version of hostap, or does this imply an incompatability between hostap and
this card?
Cheers Harry Moyes
More information about the Hostap
mailing list