Milan prism 2.5 problems with wi0

[email protected]
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
 
Hi all,

I bought this cheap Milan ShAir Office prism 2.5 card at defcon. It works
fine under Windows and Linux but fails for some weird reason under FreeBSD.
I think this has to do with other hardware in my laptop (Dell cpt 500)
because my card works fine by using the same configuration on a different laptop
(Dell cpt 466) that is only a few months olders.

This is what I use in pccard.conf:

card "PCMCIA" "11M WLAN Card v2.5"
        config  default "wi" ? 
        insert  /etc/pccard_ether $device start
        remove  /etc/pccard_ether $device stop


And here are the error messages:

Sep  9 20:13:47 lappie /kernel: wi0 at port 0x240-0x27f irq 11 slot 0 on
pccard0
Sep  9 20:13:47 lappie /kernel: wi0: mac read failed 5
Sep  9 20:13:47 lappie /kernel: device_probe_and_attach: wi0 attach returned
5
Sep  9 20:13:47 lappie pccardd[278]: driver allocation failed for PCMCIA(11M
WLAN Card v2.5): Input/output error

Does anyone has a clue what causes this error and what can be done about it
? I am running FreeBSD 4.7-PRERELEASE and had the same error with FreeBSD
4.5-RELEASE, 4.6-RELEASE and 4.6-STABLE


I attached my dmesg since it might be useful.

Thanks in advance !

Niels

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
dmesg (text/plain, 8.3 KB)
Copyright (c) 1992-2002 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 4.7-PRERELEASE #0: Tue Sep  3 01:50:39 CEST 2002
    [email protected]:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (498.47-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x681  Stepping = 1
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 134135808 (130992K bytes)
avail memory = 125222912 (122288K bytes)
Preloaded elf kernel "kernel" at 0xc052f000.
Preloaded elf module "snd_maestro3.ko" at 0xc052f09c.
Preloaded elf module "snd_pcm.ko" at 0xc052f140.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 6 entries at 0xc00fbd60
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <ATI Mobility-1 graphics accelerator> at 0.0 irq 11
pcic0: <TI PCI-1225 PCI-CardBus Bridge> irq 11 at device 3.0 on pci0
pcic0: PCI Memory allocated: 0x88000000
pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][FUNC pci int + CSC serial isa irq]
pccard0: <PC Card bus (classic)> on pcic0
pcic1: <TI PCI-1225 PCI-CardBus Bridge> irq 11 at device 3.1 on pci0
pcic1: PCI Memory allocated: 0x88001000
pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][FUNC pci int + CSC serial isa irq]
pccard1: <PC Card bus (classic)> on pcic1
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0x860-0x86f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xdce0-0xdcff irq 11 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) 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
chip1: <Intel 82371AB Power management controller> port 0x840-0x84f at device 7.3 on pci0
pcm0: <ESS Technology Maestro3> port 0xd800-0xd8ff mem 0xfaffe000-0xfaffffff irq 5 at device 8.0 on pci0
orm0: <Option ROM> at iomem 0xc0000-0xcffff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
pccard: card inserted, slot 0
pccard: card removed, slot 0
ad0: 9590MB <IBM-DCXA-210000> [19485/16/63] at ata0-master UDMA33
Mounting root from ufs:/dev/ad0s2a
pccard: card inserted, slot 0
wi0 at port 0x240-0x27f irq 11 slot 0 on pccard0
wi0: mac read failed 5
device_probe_and_attach: wi0 attach returned 5


Fatal trap 18: integer divide fault while in kernel mode
instruction pointer	= 0x8:0xc036f7a6
stack pointer	        = 0x10:0xc03fa718
frame pointer	        = 0x10:0xc03fa718
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, IOPL = 3
current process		= Idle
interrupt mask		= none
trap number		= 18
panic: integer divide fault

syncing disks... 

Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x30
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc030be18
stack pointer	        = 0x10:0xc03fa560
frame pointer	        = 0x10:0xc03fa568
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 3
current process		= Idle
interrupt mask		= bio 
trap number		= 12
panic: page fault
Uptime: 1m8s
Automatic reboot in 15 seconds - press a key on the console to abort
--> Press a key on the console to reboot,
--> or switch off the system now.
Rebooting...
Copyright (c) 1992-2002 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 4.7-PRERELEASE #0: Tue Sep  3 01:50:39 CEST 2002
    [email protected]:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (498.47-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x681  Stepping = 1
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 134135808 (130992K bytes)
avail memory = 125222912 (122288K bytes)
Preloaded elf kernel "kernel" at 0xc052f000.
Preloaded elf module "snd_maestro3.ko" at 0xc052f09c.
Preloaded elf module "snd_pcm.ko" at 0xc052f140.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 6 entries at 0xc00fbd60
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <ATI Mobility-1 graphics accelerator> at 0.0 irq 11
pcic0: <TI PCI-1225 PCI-CardBus Bridge> irq 11 at device 3.0 on pci0
pcic0: PCI Memory allocated: 0x88000000
pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][FUNC pci int + CSC serial isa irq]
pccard0: <PC Card bus (classic)> on pcic0
pcic1: <TI PCI-1225 PCI-CardBus Bridge> irq 11 at device 3.1 on pci0
pcic1: PCI Memory allocated: 0x88001000
pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][FUNC pci int + CSC serial isa irq]
pccard1: <PC Card bus (classic)> on pcic1
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0x860-0x86f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xdce0-0xdcff irq 11 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) 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
ums0: Logitech USB Receiver, rev 1.10/9.10, addr 2, iclass 3/1
ums0: 5 buttons and Z dir.
chip1: <Intel 82371AB Power management controller> port 0x840-0x84f at device 7.3 on pci0
pcm0: <ESS Technology Maestro3> port 0xd800-0xd8ff mem 0xfaffe000-0xfaffffff irq 5 at device 8.0 on pci0
orm0: <Option ROM> at iomem 0xc0000-0xcffff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
pccard: card inserted, slot 0
ad0: 9590MB <IBM-DCXA-210000> [19485/16/63] at ata0-master UDMA33
Mounting root from ufs:/dev/ad0s2a
WARNING: / was not properly dismounted
wi0 at port 0x240-0x27f irq 11 slot 0 on pccard0
wi0: mac read failed 5
device_probe_and_attach: wi0 attach returned 5
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.