Evil trouble (Am1772/PQP-WP288P)

Mattias Schlenker mattias at schlenker-webdesign.de
Tue Sep 14 07:50:10 PDT 2004


Hello everyone,

I just ran into evil trouble when trying to use NDISulator together with 
a cheap Am1772 card. The card itself is labelled ,,NetVision 802.11b''. 
On the back is the FCC ID ,,PQP-WP288P''. The drivers supplied seem to 
be from October 2003:

-r-xr-xr-x  1 root  wheel  168518 27 Okt  2003 /cdrom/Driver/xp2k/Am772.sys*
-r-xr-xr-x  1 root  wheel  168022 27 Okt  2003 
/cdrom/Driver/xp2k/Am7729x.sys*
-r-xr-xr-x  1 root  wheel  145808  7 Jan  2004 
/cdrom/Driver/xp2k/Am772Cfg.exe*
-r-xr-xr-x  1 root  wheel  5018 10 Jul  2003 /cdrom/Driver/xp2k/Am772Co.dll*
-r-xr-xr-x  1 root  wheel  15491 27 Okt  2003 
/cdrom/Driver/xp2k/Am772Ctl.dll*
-r-xr-xr-x  1 root  wheel  15747 27 Okt  2003 
/cdrom/Driver/xp2k/Am772Oem.dll*
-r-xr-xr-x  1 root  wheel  40321 27 Okt  2003 
/cdrom/Driver/xp2k/Am772Ui.dll*
-r-xr-xr-x  1 root  wheel  896 10 Jul  2003 /cdrom/Driver/xp2k/Install.txt*
-r-xr-xr-x  1 root  wheel  5561 27 Okt  2003 
/cdrom/Driver/xp2k/NetAm772.inf*

The md5s indicate that the same card is also sold as E-Tech WLPC05 (at 
least their driver has the same)

MD5 (/cdrom/Driver/xp2k/Am772.sys) = 6caa78ba28e1003931dde6e1f122055f
MD5 (/cdrom/Driver/xp2k/Am7729x.sys) = 6caa9c534bf7df557b213d16d7635350
MD5 (/cdrom/Driver/xp2k/Am772Cfg.exe) = 75d79a9b1c3809b0539b93b018e0487c
MD5 (/cdrom/Driver/xp2k/Am772Co.dll) = f3927d6827b60fefed1f96835e35929a
MD5 (/cdrom/Driver/xp2k/Am772Ctl.dll) = 9a610fac3db8ebb011a1fa844d8e2156
MD5 (/cdrom/Driver/xp2k/Am772Oem.dll) = d77b7e58216b7f082cf254b49b84e300
MD5 (/cdrom/Driver/xp2k/Am772Ui.dll) = 890cf2e4512655eff84421209c385df7
MD5 (/cdrom/Driver/xp2k/Install.txt) = 1c01d538557d49bf2756e21665aa2c17
MD5 (/cdrom/Driver/xp2k/NetAm772.inf) = 09b1c67ccf0f7906b50bcfa64d412815

http://www.e-tech.nu/Popup_Support/1122

Maybe this card is sold under a dozen other names too...

Anyway, I tried to build ndis.ko and if_ndis.ko with the supplied SYS- 
and INF-files. When I try to load if_ndis.ko into my GENERIC Kernel, it 
locks.

Did anyone succeed in building/loading if_ndis.ko for this card? I know 
that the Am1772 driver is known to cause trouble, but there seem to be 
at least some cards with this chipsets that work.

Thanks,
Mattias

-- 
 Mattias Schlenker  / Tel 0851 9441369 oder 0160 7352988
 Freyunger Str. 42 / http://ilw.schlenker-webdesign.de/
 94034 Passau     / http://mattlog.schlenker-webdesign.de/

-------------- next part --------------
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.3-BETA4 #0: Tue Sep 14 10:53:22 CEST 2004
    mattias at uran.wg-net:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium II/Pentium II Xeon/Celeron (300.68-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x66a  Stepping = 10
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 167690240 (159 MB)
avail memory = 154447872 (147 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <FUJ TWEED> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xff08-0xff0b on acpi0
cpu0: <ACPI CPU (3 Cx states)> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0xf4f0-0xf4ff,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: <Intel 82443MX USB controller> port 0xf4c0-0xf4df irq 9 at device 7.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82443MX USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
pcm0: <ESS Solo-1 (unknown vendor)> port 0xf4ec-0xf4ef,0xf4e8-0xf4eb,0xf4b0-0xf4bf,0xf4a0-0xf4af,0xf440-0xf47f irq 9 at device 13.0 on pci0
pcm0: [GIANT-LOCKED]
pci0: <simple comms> at device 16.0 (no driver attached)
cbb0: <RF5C475 PCI-CardBus Bridge> irq 9 at device 19.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pci0: <display, VGA> at device 20.0 (no driver attached)
acpi_acad0: <AC Adapter> on acpi0
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x118-0x11f,0x2e8-0x2ef irq 3 drq 3 on acpi0
sio1: type 16550A
ppc0 port 0x378-0x37b irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
fdc0: <floppy drive controller> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
orm0: <ISA Option ROM> at iomem 0xc0000-0xcbfff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 300682952 Hz quality 800
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
cardbus0: <unknown> at device 0.0 (no driver attached)
cbb0: CardBus card activation failed
ad0: 4126MB <FUJITSU MHF2043AT/A522> [8944/15/63] at ata0-master UDMA33
Mounting root from ufs:/dev/ad0s2a
WARNING: / was not properly dismounted
WARNING: /usr was not properly dismounted
/usr: mount pending error: blocks 96 files 13
/usr: superblock summary recomputed
ed1: <Ethernet Adapter> at port 0x100-0x11f irq 9 function 0 config 0 on pccard0
ed1: [GIANT-LOCKED]
ed1: Ethernet address: 00:e0:98:80:22:ea
ed1: if_start running deferred for Giant
type NE2000 (16 bit) 
free inode /usr/36 had 4 blocks
-------------- next part --------------
hostb0 at pci0:0:0:	class=0x060000 card=0x107f10cf chip=0x71948086 rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82440MX CPU to I/O Controller'
    class    = bridge
    subclass = HOST-PCI
isab0 at pci0:7:0:	class=0x068000 card=0x00000000 chip=0x71988086 rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82443MX PCI to ISA Bridge'
    class    = bridge
    subclass = PCI-unknown
atapci0 at pci0:7:1:	class=0x010180 card=0x00000000 chip=0x71998086 rev=0x00 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82443MX EIDE Controller'
    class    = mass storage
    subclass = ATA
uhci0 at pci0:7:2:	class=0x0c0300 card=0x00000000 chip=0x719a8086 rev=0x00 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82443MX USB Universal Host Controller'
    class    = serial bus
    subclass = USB
none0 at pci0:7:3:	class=0x068000 card=0x00000000 chip=0x719b8086 rev=0x00 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82443MX Power Management Controller'
    class    = bridge
    subclass = PCI-unknown
pcm0 at pci0:13:0:	class=0x040100 card=0x108210cf chip=0x1969125d rev=0x02 hdr=0x00
    vendor   = 'ESS Technology'
    device   = 'ES1938/41/46 Solo-1 PCI AudioDrive family'
    class    = multimedia
    subclass = audio
none1 at pci0:16:0:	class=0x078000 card=0x107210cf chip=0x044a11c1 rev=0x01 hdr=0x00
    vendor   = 'Lucent/Agere Systems (Was: AT&T MicroElectronics)'
    device   = 'LT Winmodem 56k'
    class    = simple comms
cbb0 at pci0:19:0:	class=0x060700 card=0x105a10cf chip=0x04751180 rev=0x00 hdr=0x02
    vendor   = 'Ricoh Co Ltd'
    device   = 'RL5c475 CardBus Controller'
    class    = bridge
    subclass = PCI-CardBus
none2 at pci0:20:0:	class=0x030000 card=0x102910cf chip=0x000410c8 rev=0x01 hdr=0x00
    vendor   = 'Neomagic Corporation'
    device   = 'NM2160 MagicGraph 128XD'
    class    = display
    subclass = VGA
none3 at pci2:0:0:	class=0x0d1000 card=0x20031022 chip=0x20031022 rev=0x04 hdr=0x00
    vendor   = 'Advanced Micro Devices (AMD)'
    device   = 'Am1772 Wireless LAN chipset'


More information about the freebsd-current mailing list