From owner-freebsd-ppc@freebsd.org Wed Nov 11 02:06:01 2015 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 25595A2AECD for ; Wed, 11 Nov 2015 02:06:01 +0000 (UTC) (envelope-from hamiltcl@verizon.net) Received: from vms173023pub.verizon.net (vms173023pub.verizon.net [206.46.173.23]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0013D10AE; Wed, 11 Nov 2015 02:06:00 +0000 (UTC) (envelope-from hamiltcl@verizon.net) Received: from lenoil1 ([96.255.168.17]) by vms173023.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0NXM00GJ4OGPKVC0@vms173023.mailsrvcs.net>; Tue, 10 Nov 2015 20:05:14 -0600 (CST) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=J+9Xl1TS c=1 sm=1 tr=0 a=TXQDfM1T7tsaHFmtCUVSow==:117 a=o1OHuDzbAAAA:8 a=oR5dmqMzAAAA:8 a=qtqOOiqGOCEA:10 a=DAwyPP_o2Byb1YXLmDAA:9 a=pGLkceISAAAA:8 a=6I5d2MoRAAAA:8 a=M4Tfym8Tc2kH9ScgawEA:9 a=U43LrpnFpgho8hIN:21 a=fH3vrkO0eynoeoGB:21 a=CjuIK1q_8ugA:10 a=_2ZTPHEeGeexyLdk5w0A:9 From: "Curtis Hamilton" To: "'Adrian Chadd'" Cc: "'FreeBSD PowerPC ML'" References: <008401d11bb3$c4c31430$4e493c90$@verizon.net> In-reply-to: Subject: RE: Airport Extreme WiFi Broken in FreeBSD 10.2 Date: Tue, 10 Nov 2015 21:04:52 -0500 Message-id: <00aa01d11c25$5b095140$111bf3c0$@verizon.net> MIME-version: 1.0 Content-type: multipart/mixed; boundary="----=_NextPart_000_00AB_01D11BFB.72412BF0" X-Mailer: Microsoft Outlook 15.0 Thread-index: AQIPxCP+vRcQVtpYjevgebsScL8FsgHk9TGjAZs7Hwmd/LafUA== Content-language: en-us X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Nov 2015 02:06:01 -0000 This is a multipart message in MIME format. ------=_NextPart_000_00AB_01D11BFB.72412BF0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit I've checked the log and don't see any warnings. Attached is my current log. What am I missing? Unfortunately, the system does not complete the boot process with the bwi module loaded. so I do not have a log for that process. BTW, I've tried manually loading the module after booting, both without and with the airport firmware. Without the airport firmware the system complains but continues to run, however with the firmware the system locks up. -Curtis -----Original Message----- From: adrian.chadd@gmail.com [mailto:adrian.chadd@gmail.com] On Behalf Of Adrian Chadd Sent: Tuesday, November 10, 2015 3:54 PM To: Curtis Hamilton Cc: FreeBSD PowerPC ML Subject: Re: Airport Extreme WiFi Broken in FreeBSD 10.2 It's not initialising fine; it's actually logging a warning. :) -a On 10 November 2015 at 04:31, Curtis Hamilton wrote: > I'll investigate. My initial presumption that it was a bwi module > issue is because ata2 initializes just fine without the bwi module. > > -----Original Message----- > From: adrian.chadd@gmail.com [mailto:adrian.chadd@gmail.com] On Behalf > Of Adrian Chadd > Sent: Monday, November 09, 2015 4:44 PM > To: Curtis Hamilton > Cc: FreeBSD PowerPC ML > Subject: Re: Airport Extreme WiFi Broken in FreeBSD 10.2 > > Hi, > > It looks like there's something up with the memory management, not wifi. > ata2 failing and bwi failing in DMA memory allocation is the hint. :) > > > > -a > > > On 9 November 2015 at 12:00, Curtis Hamilton wrote: >> Has anyone else tried to load the BWI module in 10.2? I attempted to >> load the kernel module and build a new kernel with the module >> built-in. In both cases the boot process freezes with the following > errors: >> >> >> >> ata2: at channel0 on atapci0 >> >> ata2: WARNING DMA initialization failed, disabling DMA >> >> ata2: FAILURE - alloc sg_map >> >> ata2: WARNING DMA allocation failed, disabling DMA >> >> >> >> A few lines before this the following error is shown: >> >> >> >> bwi0: can't allocate DMA mem >> >> bwi0: 0th TX ring DMA alloc-failed >> >> >> >> Everything works fine in 10.1 >> >> _______________________________________________ >> freebsd-ppc@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-ppc >> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" > ------=_NextPart_000_00AB_01D11BFB.72412BF0 Content-Type: application/octet-stream; name="dmesg.today" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="dmesg.today" Copyright (c) 1992-2015 The FreeBSD Project.=0A= Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994=0A= The Regents of the University of California. All rights reserved.=0A= FreeBSD is a registered trademark of The FreeBSD Foundation.=0A= FreeBSD 10.2-STABLE #0 r287149: Thu Aug 27 03:46:55 UTC 2015=0A= = root@releng1.nyi.freebsd.org:/usr/obj/powerpc.powerpc64/usr/src/sys/GENER= IC64 powerpc=0A= gcc version 4.2.1 20070831 patched [FreeBSD]=0A= VT(ofwfb): resolution 1680x1050=0A= cpu0: IBM PowerPC 970MP revision 1.1, 2300.29 MHz=0A= cpu0: Features dc000000=0A= cpu0: HID0 1511081=0A= real memory =3D 5878026240 (5605 MB)=0A= avail memory =3D 5531877376 (5275 MB)=0A= FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs=0A= cpu0: dev=3Dff89d680 (BSP)=0A= cpu1: dev=3Dff89eb70=0A= kbd0 at kbdmux0=0A= random: initialized=0A= ofwbus0: on nexus0=0A= cpulist0: on ofwbus0=0A= cpu0: on cpulist0=0A= pcr0: on cpu0=0A= cpu1: on cpulist0=0A= pcr1: on cpu1=0A= powermac_nvram0: mem 0xfff04000-0xfff07fff on ofwbus0=0A= powermac_nvram0: bank0 generation 550, bank1 generation 551=0A= unin0: mem 0xf8000000-0xf8ffffff on = ofwbus0=0A= unin0: Version 66=0A= iichb0: mem 0xf8001000-0xf8001fff irq 0 on unin0=0A= iicbus0: on iichb0=0A= ds17750: at addr 0x94 on iicbus0=0A= ds16310: at addr 0x96 on iicbus0=0A= max66900: at addr 0x98 on iicbus0=0A= max66901: at addr 0x9c on iicbus0=0A= htpic0: mem 0xf8040000-0xf807ffff on unin0=0A= pcib0: mem 0xf0000000-0xf1ffffff on ofwbus0=0A= pci0: on pcib0=0A= vgapci0: mem = 0x92000000-0x92ffffff,0xa0000000-0xbfffffff,0x91000000-0x91ffffff irq 3 = at device 0.0 on pci0=0A= vgapci0: Boot video device=0A= pcib1: mem = 0xf2000000-0xf47fffff,0xf8070000-0xf8070fff on ofwbus0=0A= pcib1: 86 HT IRQs on device 7.0=0A= pci1: on pcib1=0A= pcib1: Enabling MSI window for HyperTransport slave at pci1:0:1:0=0A= pcib2: at device 1.0 on pci1=0A= pci2: on pcib2=0A= pcib3: at device 2.0 on pci1=0A= pci3: on pcib3=0A= bge0: mem = 0xfa530000-0xfa53ffff,0xfa520000-0xfa52ffff irq 66 at device 4.0 on pci3=0A= bge0: CHIP ID 0x00008003; ASIC REV 0x08; CHIP REV 0x80; PCI-X 33 MHz=0A= miibus0: on bge0=0A= brgphy0: PHY 1 on miibus0=0A= brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, = 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow=0A= bge0: Ethernet address: 00:16:cb:3a:88:88=0A= bge1: mem = 0xfa510000-0xfa51ffff,0xfa500000-0xfa50ffff irq 67 at device 4.1 on pci3=0A= bge1: CHIP ID 0x00008003; ASIC REV 0x08; CHIP REV 0x80; PCI-X 33 MHz=0A= miibus1: on bge1=0A= brgphy1: PHY 1 on miibus1=0A= brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, = 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow=0A= bge1: Ethernet address: 00:16:cb:3a:88:89=0A= pcib4: at device 3.0 on pci1=0A= pci4: on pcib4=0A= pcib5: at device 4.0 on pci1=0A= pci5: on pcib5=0A= pcib6: at device 5.0 on pci1=0A= pci6: on pcib6=0A= pcib7: at device 6.0 on pci1=0A= pci7: on pcib7=0A= pcib8: at device 7.0 on pci1=0A= pci8: on pcib8=0A= gem0: mem 0xfa200000-0xfa3fffff at device = 15.0 on pci8=0A= gem0: invalid MAC address=0A= device_attach: gem0 attach returned 6=0A= pcib9: at device 8.0 on pci1=0A= pci9: on pcib9=0A= macio0: mem 0x80000000-0x8007ffff at device 7.0 = on pci9=0A= macgpio0: mem 0x50-0x8a on macio0=0A= scc0: mem = 0x13000-0x13fff,0x8400-0x84ff,0x8500-0x85ff,0x8600-0x86ff,0x8700-0x87ff = irq 23,17,18,24,19,20 on macio0=0A= uart0: on scc0=0A= uart1: on scc0=0A= iichb1: mem 0x18000-0x18fff irq 27 on macio0=0A= iicbus1: on iichb1=0A= onyx0: at addr 0x8c on iicbus1=0A= iicbus1: at addr 0x24=0A= pcm0: mem = 0x10000-0x10fff,0x8000-0x80ff,0x8100-0x81ff irq 28,11,12,30,15,16 on = macio0=0A= pci9: at device 1.0 (no driver attached)=0A= ohci0: mem 0x80082000-0x80082fff irq 70 at = device 11.0 on pci9=0A= usbus0 on ohci0=0A= ohci1: mem 0x80081000-0x80081fff irq 70 at = device 11.1 on pci9=0A= usbus1 on ohci1=0A= ehci0: mem 0x80080000-0x800800ff irq = 70 at device 11.2 on pci9=0A= usbus2: EHCI version 1.0=0A= usbus2 on ehci0=0A= pcib10: at device 9.0 on pci1=0A= pci10: on pcib10=0A= atapci0: mem 0xfa402000-0xfa403fff = irq 10 at device 12.0 on pci10=0A= pcib1: failed to reserve resource for pcib10=0A= atapci0: 0x10 bytes of rid 0x20 res 4 failed (0, 0xffffffffffffffff).=0A= ata2: at channel 0 on atapci0=0A= ata3: at channel 1 on atapci0=0A= ata4: at channel 2 on atapci0=0A= ata5: at channel 3 on atapci0=0A= ata0: mem 0xfa404000-0xfa407fff irq 38,37 = at device 13.0 on pci10=0A= fwohci0: <1394 Open Host Controller Interface> mem 0xfa400000-0xfa400fff = irq 39 at device 14.0 on pci10=0A= fwohci0: OHCI version 1.0 (ROM=3D0)=0A= fwohci0: No. of Isochronous channels is 8.=0A= fwohci0: EUI64 00:14:51:ff:fe:41:47:5a=0A= fwohci0: invalid speed 7 (fixed to 3).=0A= fwohci0: Phy 1394a available S800, 3 ports.=0A= fwohci0: Link S800, max_rec 4096 bytes.=0A= firewire0: on fwohci0=0A= fwe0: on firewire0=0A= if_fwe0: Fake Ethernet address: 02:14:51:41:47:5a=0A= fwe0: Ethernet address: 02:14:51:41:47:5a=0A= sbp0: on firewire0=0A= fwohci0: Initiate bus reset=0A= fwohci0: fwohci_intr_core: BUS reset=0A= fwohci0: fwohci_intr_core: node_id=3D0x00000002, SelfID Count=3D1, = CYCLEMASTER mode=0A= smu0: on ofwbus0=0A= iichb2: on smu0=0A= iicbus2: on iichb2=0A= smusat0: at addr 0xb0 on iicbus2=0A= iicbus2: at addr 0xd4=0A= iichb3: on smu0=0A= iicbus3: on iichb3=0A= Timecounter "timebase" frequency 33333333 Hz quality 0=0A= Event timer "decrementer" frequency 33333333 Hz quality 1000=0A= Timecounters tick every 1.000 msec=0A= firewire0: 3 nodes, maxhop <=3D 2 cable IRM irm(2) (me) =0A= firewire0: bus manager 2 =0A= max66900: 2 sensors detected.=0A= max66901: 2 sensors detected.=0A= random: unblocking device.=0A= usbus0: 12Mbps Full Speed USB v1.0=0A= usbus1: 12Mbps Full Speed USB v1.0=0A= ugen0.1: at usbus0=0A= uhub0: on usbus0=0A= ugen1.1: at usbus1=0A= uhub1: on usbus1=0A= usbus2: 480Mbps High Speed USB v2.0=0A= ugen2.1: at usbus2=0A= uhub2: on usbus2=0A= uhub0: 3 ports with 3 removable, self powered=0A= uhub1: 2 ports with 2 removable, self powered=0A= uhub2: 5 ports with 5 removable, self powered=0A= ada0 at ata2 bus 0 scbus0 target 0 lun 0=0A= ada0: ATA8-ACS SATA 3.x device=0A= ada0: Serial Number 9VP6KXTM=0A= ada0: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes)=0A= ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)=0A= ada0: Previously was known as ad0=0A= ada1 at ata3 bus 0 scbus1 target 0 lun 0=0A= ada1: ATA-7 SATA 2.x device=0A= ada1: Serial Number 9QG9QKH4=0A= ada1: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes)=0A= ada1: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)=0A= ada1: Previously was known as ad1=0A= cd0 at ata0 bus 0 scbus4 target 0 lun 0=0A= cd0: Removable CD-ROM SCSI device=0A= cd0: Serial Number M0064S32313=0A= cd0: 66.700MB/s transfers (UDMA4, ATAPI 12bytes, PIO 65534bytes)=0A= cd0: cd present [1100623 x 2048 byte records]=0A= SMP: AP CPU #1 launched=0A= ugen2.2: at usbus2=0A= umass0: on usbus2=0A= umass0: SCSI over Bulk-Only; quirks =3D 0x0100=0A= umass0:6:0:-1: Attached to scbus6=0A= sa0 at umass-sim0 bus 0 scbus6 target 0 lun 0=0A= sa0: Removable Sequential Access SCSI-3 device=0A= sa0: Serial Number 48553108084D3639=0A= sa0: 40.000MB/s transfers=0A= ugen2.3: at usbus2=0A= uhub3: = on usbus2=0A= uhub3: MTT enabled=0A= uhub3: 3 ports with 2 removable, self powered=0A= ugen2.4: at usbus2=0A= uhub4: on usbus2=0A= uhub4: 3 ports with 2 removable, bus powered=0A= ugen2.5: at usbus2=0A= ukbd0: on usbus2=0A= kbd1 at ukbd0=0A= uhid0: on usbus2=0A= ugen2.6: at usbus2=0A= hid_get_item: Number of items truncated to 255=0A= hid_get_item: Number of items truncated to 255=0A= uhid1: = on usbus2=0A= hid_get_item: Number of items truncated to 255=0A= hid_get_item: Number of items truncated to 255=0A= hid_get_item: Number of items truncated to 255=0A= Root mount waiting for: usbus2=0A= ugen2.7: at usbus2=0A= ums0: on usbus2=0A= ums0: 4 buttons and [XYZW] coordinates ID=3D0=0A= Trying to mount root from ufs:/dev/ada0s3 [rw]...=0A= ugen0.2: at usbus0=0A= ukbd1: = on usbus0=0A= kbd2 at ukbd1=0A= ums1: = on usbus0=0A= ums1: 5 buttons and [XY] coordinates ID=3D0=0A= pid 1258 (firefox), uid 0: exited on signal 11 (core dumped)=0A= (sa0:umass-sim0:0:0:0): REWIND. CDB: 01 00 00 00 00 00 =0A= (sa0:umass-sim0:0:0:0): CAM status: CCB request completed with an error=0A= (sa0:umass-sim0:0:0:0): Retrying command=0A= (sa0:umass-sim0:0:0:0): REWIND. CDB: 01 00 00 00 00 00 =0A= (sa0:umass-sim0:0:0:0): CAM status: SCSI Status Error=0A= (sa0:umass-sim0:0:0:0): SCSI status: Check Condition=0A= (sa0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:29,2 (SCSI bus = reset occurred)=0A= (sa0:umass-sim0:0:0:0): Retrying command (per sense data)=0A= (sa0:umass-sim0:0:0:0): SPACE(6). CDB: 11 00 00 26 46 00 =0A= (sa0:umass-sim0:0:0:0): CAM status: CCB request completed with an error=0A= (sa0:umass-sim0:0:0:0): Error 5, Retries exhausted=0A= pid 95271 (about-gui), uid 0: exited on signal 11 (core dumped)=0A= pid 95299 (pc-usermanager), uid 0: exited on signal 11 (core dumped)=0A= pid 95310 (pc-sysinstaller), uid 0: exited on signal 11 (core dumped)=0A= pid 95303 (pc-sysinstaller), uid 0: exited on signal 11 (core dumped)=0A= pid 95573 (pc-servicemanager), uid 0: exited on signal 11 (core dumped)=0A= pid 6075 (python2.7), uid 0: exited on signal 11 (core dumped)=0A= pid 1503 (firefox), uid 0: exited on signal 6 (core dumped)=0A= ------=_NextPart_000_00AB_01D11BFB.72412BF0--