Date: Fri, 16 Apr 2004 10:48:09 -0700 (PDT) From: Steve G <ryvn@yahoo.com> To: freebsd-mobile@freebsd.org Cc: greg chesson <greg@atheros.com> Subject: Re: Atheros 5212 on a Fujitsu S6120 laptop Message-ID: <20040416174809.73333.qmail@web41707.mail.yahoo.com> In-Reply-To: <407F1A40.3000003@atheros.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for the inputs. I included the statement in the loader.conf file because the system would hang just after the cbb0: [MPSAFE] portion of the boot process (perhaps I needed addition statements as well?). I'm not sure if I needed other statements in the loader.conf, but the cardbus problem was (seemingly) fixed with the hw.pci.allow_unsupported_io_range=1 statement. I've included the entire boot log file. I'm not an expert on exactly what goes on with it, so any help would be greatly appreciated. If this doesn't work with 5.2, I might try 4.9 even though it lacks some of the new features of the 5.x series. Thanks again for the help! Steve G 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.2.1-RELEASE #0: Sat Feb 28 21:53:49 MST 2004 root@portagar.vhstech.org:/usr/src/sys/i386/compile/GENSNDWIFI Preloaded elf kernel "/boot/kernel/kernel" at 0xc0ad2000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0ad22bc. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) M processor 1600MHz (1599.96-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x695 Stepping = 5 Features=0xa7e9f9bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE> real memory = 527368192 (502 MB) avail memory = 502595584 (479 MB) Pentium Pro MTRR support enabled npx0: [FAST] npx0: <math processor> on motherboard npx0: INT 16 interface acpi0: <FUJ FJNB16C > on motherboard pcibios: BIOS version 2.10 Using $PIR table, 9 entries at 0xc00fdf30 acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xfc08-0xfc0b on acpi0 acpi_cpu0: <CPU> port 0x530-0x537 on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pcib0: slot 2 INTA is routed to irq 11 pcib0: slot 29 INTA is routed to irq 11 pcib0: slot 29 INTB is routed to irq 11 pcib0: slot 29 INTC is routed to irq 11 pcib0: slot 29 INTD is routed to irq 11 pcib0: slot 31 INTB is routed to irq 11 pcib0: slot 31 INTB is routed to irq 11 pcib0: slot 31 INTB is routed to irq 11 pci0: <base peripheral> at device 0.1 (no driver attached) pci0: <base peripheral> at device 0.3 (no driver attached) agp0: <Intel 8285xM (85xGM GMCH) SVGA controller> port 0x1800-0x1807 mem 0xd0000000-0xd007ffff,0xd8000000-0xdfffffff irq 11 at device 2.0 on pci0 agp0: detected 8060k stolen memory agp0: aperture size is 128M pci0: <display> at device 2.1 (no driver attached) uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0x1820-0x183f irq 11 at device 29.0 on pci0 usb0: <Intel 82801DB (ICH4) USB controller USB-A> 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 uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0x1840-0x185f irq 11 at device 29.1 on pci0 usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0x1860-0x187f irq 11 at device 29.2 on pci0 usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pci0: <serial bus, USB> at device 29.7 (no driver attached) pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci1: <ACPI PCI bus> on pcib1 pcib1: slot 10 INTA is routed to irq 11 pcib1: slot 10 INTB is routed to irq 11 pcib1: slot 12 INTA is routed to irq 11 pcib1: slot 13 INTA is routed to irq 11 pcib1: slot 14 INTA is routed to irq 11 cbb0: <O2Micro OZ6933 PCI-CardBus Bridge> irq 11 at device 10.0 on pci1 start (88000000) < sc->membase (d0200000) end (ffffffff) > sc->memlimit (d02fffff) cardbus0: <CardBus bus> on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [MPSAFE] cbb1: <O2Micro OZ6933 PCI-CardBus Bridge> irq 11 at device 10.1 on pci1 start (88000000) < sc->membase (d0200000) end (ffffffff) > sc->memlimit (d02fffff) cardbus1: <CardBus bus> on cbb1 pccard1: <16-bit PCCard bus> on cbb1 cbb1: [MPSAFE] rl0: <RealTek 8139 10/100BaseTX> port 0x3000-0x30ff mem 0xd0214000-0xd02140ff irq 11 at device 12.0 on pci1 rl0: Ethernet address: 00:0b:5d:2a:e0:c6 miibus0: <MII bus> on rl0 rlphy0: <RealTek internal media interface> on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ath0: <Atheros 5212> mem 0xd0200000-0xd020ffff irq 11 at device 13.0 on pci1 ath0: mac 5.6 phy 4.1 5ghz radio 4.6 ath0: unable to collect channel list from hal device_probe_and_attach: ath0 attach returned 22 fwohci0: vendor=104c, dev=8026 fwohci0: <1394 Open Host Controller Interface> mem 0xd0210000-0xd0213fff,0xd0214800-0xd0214fff irq 11 at device 14.0 on pci1 fwohci0: OHCI version 1.10 (ROM=0) fwohci0: No. of Isochronous channel is 4. fwohci0: EUI64 00:00:0e:10:01:61:9b:fe fwohci0: Phy 1394a available S400, 1 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: <IEEE1394(FireWire) bus> on fwohci0 fwe0: <Ethernet over FireWire> on firewire0 if_fwe0: Fake Ethernet address: 02:00:0e:61:9b:fe sbp0: <SBP-2/SCSI over FireWire> on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH4 UDMA100 controller> port 0x1810-0x181f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] pci0: <serial bus, SMBus> at device 31.3 (no driver attached) pcm0: <Intel ICH4 (82801DB)> port 0x18c0-0x18ff,0x1c00-0x1cff mem 0xd0100800-0xd01008ff,0xd0100c00-0xd0100dff irq 11 at device 31.5 on pci0 pcm0: <Unknown AC97 Codec (id = 0x83847666)> pci0: <simple comms> at device 31.6 (no driver attached) acpi_button0: <Power Button> on acpi0 acpi_lid0: <Control Method Lid Switch> on acpi0 acpi_acad0: <AC Adapter> on acpi0 acpi_cmbat0: <Control Method Battery> on acpi0 acpi_cmbat1: <Control Method Battery> 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 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model GlidePoint, device ID 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x400-0x43f,0x2e8-0x2ef irq 3 drq 3 on acpi0 sio1: type 16550A ppc0 port 0x778-0x77b,0x378-0x37f 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 orm0: <Option ROMs> at iomem 0xdc000-0xdffff,0xcd000-0xcdfff on isa0 pmtimer0 on isa0 fdc0: ready for input in output fdc0: cmd 3 failed at out byte 1 of 3 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 1599956957 Hz quality 800 Timecounters tick every 10.000 msec GEOM: create disk ad0 dp=0xc4849b60 ad0: 57231MB <FUJITSU MHT2060AT> [116280/16/63] at ata0-master UDMA100 acd0: CDRW <TOSHIBA DVD-ROM SD-R2412> at ata1-master PIO4 Mounting root from ufs:/dev/ad0s3a greg chesson <greg@atheros.com> wrote: Chances are that the mac portion of the chip did not come out of reset properly. The symptom of this when the mac revision numbers are ok but the phy and radio numbers are bogus. g Sam Leffler wrote: > On Thursday 15 April 2004 02:05 pm, Steve G wrote: > >>Hi all, >> >> I've been trying to install FreeBSD 5.2.1 on my laptop. Everything seems >>to work pretty well, but I can't get the wireless card to work (it's an >>internal mini-PCI card). Looking through the forum posts, I found I had to >>set the loader.conf options to >> >> hw.pci.allow_unsupported_io_range=1 >> >>This statement was to allow the computer to even boot in order to install >>5.2.1. >> >>I've scoured the web and this list trying to find possible solutions, but I >>can't seem to find any answers. The specific error I get by using 'dmesg' >>is >> >> ath0: mem 0xd0200000-0xd020ffff irq 11 at device 13.0 >>on pci1 ath0: mac 5.6 phy 4.1 5ghz radio 4.6 >> ath0: unable to collect channel list from hal >> device_probe_and_attach: ath0 attach returned 22 >> >>I checked my kernel to make certain that it was compiled with support for >>the atheros card. I'm at a total impasse at the moment. Can anyone give >>me some suggestions on what to do? Can anyone tell me what the returned 22 >>means? I can't seem to find any documentation on that particular error >>either. I'd love to get the wireless working properly! Stephen G > > > I'm not sure you're actually talking to the h/w. The 5ghz radio h/w revision > (4.6) is unknown to me and likely bogus. As a result the HAL is unable to do > it's thing and the driver bails. Not sure what to suggest other than to look > "upstream" (e.g. to your pci config hack). > > Sam --------------------------------- Do you Yahoo!? Yahoo! Tax Center - File online by April 15th
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040416174809.73333.qmail>