On Sun, Jun 05, 2016 at 07:25:30PM +0200, Stefan Sperling wrote:
> On Sun, Jun 05, 2016 at 01:26:41PM +0200, Remi Locherer wrote:
> > On Sun, Jun 05, 2016 at 09:48:47AM +0200, Stefan Sperling wrote:
> > > On Sat, Jun 04, 2016 at 11:16:32PM +0200, Remi Locherer wrote:
> > > > On my installation the upgrade process looks like this (snapshot bsd.rd
> > > > from Jun 2):
> > >  
> > > > [...]
> > > 
> > > > iwm0: no link ........... sleeping
> > > 
> > > > My /etc/hostname.iwm0:
> > > > 
> > > > nwid tsunami wpakey XXXX
> > > > dhcp
> > > > inet6 autoconf
> > > > !pkill -9 -lf wifinwid
> > > > !/etc/wifinwid \$if &
> > > 
> > > Please add a 'debug' line at the top of your hostname.iwm0 file.
> > > That might reveal more of what's going on.
> > 
> > There is no additional output with debug in hostname.iwm0 when
> > booting bsd.rd (snapshot Jun 2). When booting bsd.mp I see that iwm0
> > does scanning and receives beacons and more.
> 
> Strange. ifconfig iwm0 debug definitely works in the ramdisk for me.
> 
> Can we set aside the install script and hostname.if magic for a while,
> and just determine whether your device works at all in bsd.rd?
> 
> Try the following:
> 
>   Boot bsd.rd
>   Select the (S)hell option
>   cd /dev
>   sh MAKEDEV sd1
>   mount /dev/sd1a /mnt   # for firmware
>   ifconfig iwm0 debug
>   ifconfig iwm0 scan
> 
> Repeat the scan command a few times. I expect that, at least after a few
> tries, you should see the same behaviour you would see with GENERIC.
> Is that not the case?
> 
> If the scan works, can you manually associate to a network and
> run dhclient iwm0? Does that work?
> 
> All of the above works for me.
> 
> > > Additionally, could you build a release with IWM_DEBUG defined
> > > in if_iwm.c and try bsd.rd from that? This would again print more.
> > 
> > I'll try that next. Is it correct that I need to put the below line
> > in sys/arch/amd64/conf/RAMDISK_CD?
> > 
> > option      IWM_DEBUG=1
> 
> I believe it would be just 'option IWM_DEBUG'.
> 
> You could also apply this patch.
> 
> Index: if_iwm.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/pci/if_iwm.c,v
> retrieving revision 1.86
> diff -u -p -r1.86 if_iwm.c
> --- if_iwm.c  3 Jun 2016 16:16:25 -0000       1.86
> +++ if_iwm.c  5 Jun 2016 17:23:44 -0000
> @@ -148,6 +148,7 @@
>  #define le16_to_cpup(_a_) (le16toh(*(const uint16_t *)(_a_)))
>  #define le32_to_cpup(_a_) (le32toh(*(const uint32_t *)(_a_)))
>  
> +#define IWM_DEBUG
>  #ifdef IWM_DEBUG
>  #define DPRINTF(x)   do { if (iwm_debug > 0) printf x; } while (0)
>  #define DPRINTFN(n, x)       do { if (iwm_debug >= (n)) printf x; } while (0)

Today I built a bsd.rd with IWM_DEBUG. Now the iwm0 works as expected.
(dmesg below). These commands are what produced the below dmesg:

ifconfig iwm0
ifconfig iwm0 up
ifconfig iwm0
ifconfig iwm0 scan
ifconfig iwm0 nwid tsunami wpakey XXX
dhclient iwm0


So iwm0 did not work on my notebook with bsd.rd from snapshots (May 31 and 
Jun 2 tested).

It works fine with bsd.rd I built today (CVS up from Jun 6).

I have 1 modification in my local tree (Which I hope does not influence iwm
behaviour.):

Index: dsdt.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/dsdt.c,v
retrieving revision 1.223
diff -u -p -r1.223 dsdt.c
--- dsdt.c      8 May 2016 11:08:01 -0000       1.223
+++ dsdt.c      6 Jun 2016 12:04:27 -0000
@@ -1457,7 +1457,7 @@ struct aml_defval {
        struct aml_value        **gval;
 } aml_defobj[] = {
        { "_OS_", AML_OBJTYPE_STRING, -1, osstring },
-       { "_REV", AML_OBJTYPE_INTEGER, 2, NULL },
+       { "_REV", AML_OBJTYPE_INTEGER, 5, NULL },
        { "_GL", AML_OBJTYPE_MUTEX, 1, NULL, &aml_global_lock },
        { "_OSI", AML_OBJTYPE_METHOD, 1, aml_callosi },



dmesg from bsd.rd:

OpenBSD 6.0-beta (RAMDISK_CD) #2: Mon Jun  6 13:16:55 CEST 2016
    r...@mistral.relo.ch:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
real mem = 8473636864 (8081MB)
avail mem = 8215109632 (7834MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xed7d0 (84 entries)
bios0: vendor Dell Inc. version "A07" date 11/11/2015
bios0: Dell Inc. XPS 13 9343
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC FPDT FIDT MCFG HPET SSDT UEFI SSDT ASF! SSDT SSDT 
SSDT SSDT PCCT SSDT SSDT SSDT SLIC MSDM DMAR CSRT BGRT
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz, 2494.58 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 40 pins
acpimadt0: bogus nmi for apid 0
acpimadt0: bogus nmi for apid 2
acpimadt0: bogus nmi for apid 1
acpimadt0: bogus nmi for apid 3
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG0)
acpiprt2 at acpi0: bus -1 (PEG1)
acpiprt3 at acpi0: bus -1 (PEG2)
acpiprt4 at acpi0: bus 1 (RP01)
acpiprt5 at acpi0: bus -1 (RP02)
acpiprt6 at acpi0: bus -1 (RP03)
acpiprt7 at acpi0: bus 2 (RP04)
acpiprt8 at acpi0: bus -1 (RP05)
acpiprt9 at acpi0: bus -1 (RP06)
acpiprt10 at acpi0: bus -1 (RP07)
acpiprt11 at acpi0: bus -1 (RP08)
acpiec0 at acpi0
acpicpu at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpitz at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpitz at acpi0 not configured
acpitz at acpi0 not configured
"INT3F0D" at acpi0 not configured
"INT3403" at acpi0 not configured
"INT3403" at acpi0 not configured
"INT3403" at acpi0 not configured
"INT3403" at acpi0 not configured
"DLLK0665" at acpi0 not configured
"DLL0665" at acpi0 not configured
"INTL9C60" at acpi0 not configured
dwiic0 at acpi0: I2C0 addr 0xfe103000/0x1000 irq 7
iic0 at dwiic0
dwiic1 at acpi0: I2C1 addr 0xfe105000/0x1000 irq 7
iic1 at dwiic1
ihidev0 at iic1 addr 0x2c irq 39dwiic1: timed out reading remaining 29
, failed fetching initial HID descriptor
"DLL0665" at acpi0 not configured
"INT3402" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C0D" at acpi0 not configured
"PNP0C0C" at acpi0 not configured
"PNP0C0E" at acpi0 not configured
"ACPI0003" at acpi0 not configured
"PNP0C0A" at acpi0 not configured
"INT340F" at acpi0 not configured
"INT3400" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 5G Host" rev 0x09
"Intel HD Graphics 5500" rev 0x09 at pci0 dev 2 function 0 not configured
"Intel Core 5G HD Audio" rev 0x09 at pci0 dev 3 function 0 not configured
vendor "Intel", unknown product 0x1603 (class DASP subclass miscellaneous, rev 
0x09) at pci0 dev 4 function 0 not configured
xhci0 at pci0 dev 20 function 0 "Intel 9 Series xHCI" rev 0x03: msi
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 "Intel xHCI root hub" rev 3.00/1.00 addr 1
"Intel 9 Series MEI" rev 0x03 at pci0 dev 22 function 0 not configured
"Intel 9 Series HD Audio" rev 0x03 at pci0 dev 27 function 0 not configured
ppb0 at pci0 dev 28 function 0 "Intel 9 Series PCIE" rev 0xe3: msi
pci1 at ppb0 bus 1
rtsx0 at pci1 dev 0 function 0 "Realtek RTS5249 Card Reader" rev 0x01: msi
sdmmc0 at rtsx0: 4-bit
ppb1 at pci0 dev 28 function 3 "Intel 9 Series PCIE" rev 0xe3: msi
pci2 at ppb1 bus 2
iwm0 at pci2 dev 0 function 0 "Intel Dual Band Wireless AC 7265" rev 0x59, msi
ehci0 at pci0 dev 29 function 0 "Intel 9 Series USB" rev 0x03: apic 2 int 21
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
"Intel 9 Series LPC" rev 0x03 at pci0 dev 31 function 0 not configured
ahci0 at pci0 dev 31 function 2 "Intel 9 Series AHCI" rev 0x03: msi, AHCI 1.3
ahci0: port 3: 6.0Gb/s
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 3 lun 0: <ATA, LITEON L8H-256V2, F881> SCSI3 0/direct 
fixed t10.ATA_LITEON_L8H-256V2G-11_M.2_2280_256GB_TW0MGNHV5508556A4111
sd0: 244198MB, 512 bytes/sector, 500118192 sectors, thin
"Intel 9 Series SMBus" rev 0x03 at pci0 dev 31 function 3 not configured
"Intel 9 Series Thermal" rev 0x03 at pci0 dev 31 function 6 not configured
isa0 at mainbus0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
efifb0 at mainbus0
wsdisplay0 at efifb0 mux 1: console (std, vt100 emulation), using wskbd0
"CKFEH41F301030003940 Integrated_Webcam_HD" rev 2.01/48.14 addr 2 at uhub0 port 
5 not configured
uhub2 at uhub1 port 1 "vendor 0x8087 product 0x8001" rev 2.00/0.03 addr 2
softraid0 at root
scsibus1 at softraid0: 256 targets
sd1 at scsibus1 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006> SCSI2 0/direct fixed
sd1: 143359MB, 512 bytes/sector, 293600752 sectors
root on rd0a swap on rd0b dump on rd0b
iwm apm start
iwm0: could not read firmware iwm-7265-16 (error 2)
iwm0: failed to load init firmware
iwm apm stop
iwm apm start
iwm apm start
Radio type=0x0-0x2-0x1
loading ring 0 descriptors (0xffffff00c8c65000) at c8c650
loading ring 1 descriptors (0xffffff00c8c82000) at c8c820
loading ring 2 descriptors (0xffffff00c8c9f000) at c8c9f0
loading ring 3 descriptors (0xffffff00c8cbc000) at c8cbc0
loading ring 4 descriptors (0xffffff00c8cd9000) at c8cd90
loading ring 5 descriptors (0xffffff00c8cf6000) at c8cf60
loading ring 6 descriptors (0xffffff00c8d13000) at c8d130
loading ring 7 descriptors (0xffffff00c8d30000) at c8d300
loading ring 8 descriptors (0xffffff00c8d4d000) at c8d4d0
loading ring 9 descriptors (0xffffff00c8d6a000) at c8d6a0
loading ring 10 descriptors (0xffffff00c8d87000) at c8d870
loading ring 11 descriptors (0xffffff00c8d8f000) at c8d8f0
loading ring 12 descriptors (0xffffff00c8d97000) at c8d970
loading ring 13 descriptors (0xffffff00c8d9f000) at c8d9f0
loading ring 14 descriptors (0xffffff00c8da7000) at c8da70
loading ring 15 descriptors (0xffffff00c8daf000) at c8daf0
loading ring 16 descriptors (0xffffff00c8db7000) at c8db70
loading ring 17 descriptors (0xffffff00c8dbf000) at c8dbf0
loading ring 18 descriptors (0xffffff00c8dc7000) at c8dc70
loading ring 19 descriptors (0xffffff00c8dcf000) at c8dcf0
loading ring 20 descriptors (0xffffff00c8dd7000) at c8dd70
loading ring 21 descriptors (0xffffff00c8ddf000) at c8ddf0
loading ring 22 descriptors (0xffffff00c8de7000) at c8de70
loading ring 23 descriptors (0xffffff00c8def000) at c8def0
loading ring 24 descriptors (0xffffff00c8df7000) at c8df70
loading ring 25 descriptors (0xffffff00c8dff000) at c8dff0
loading ring 26 descriptors (0xffffff00c8e07000) at c8e070
loading ring 27 descriptors (0xffffff00c8e0f000) at c8e0f0
loading ring 28 descriptors (0xffffff00c8e17000) at c8e170
loading ring 29 descriptors (0xffffff00c8e1f000) at c8e1f0
loading ring 30 descriptors (0xffffff00c8e27000) at c8e270
shadow registers enabled
enabled txq 9 FIFO 7
sending command 0x88 qid 9, idx 0
sending command 0x88 qid 9, idx 1
sending command 0x88 qid 9, idx 2
sending command 0x88 qid 9, idx 3
sending command 0x88 qid 9, idx 4
sending command 0x88 qid 9, idx 5
iwm0: NVM access command failed with status 256
iwm0: Cannot read from NVM section 10 at offset 0
sending command 0x88 qid 9, idx 6
sending command 0x88 qid 9, idx 7
iwm0: NVM access command failed with status 256
iwm0: Cannot read from NVM section 12 at offset 0
Ch. 14 Flags 0 [2.4GHz] - No traffic
iwm apm stop
iwm0: hw rev 0x210, fw ver 16.242414.0, address 5c:e0:c5:1f:ad:c4
iwm apm start
iwm apm start
Radio type=0x0-0x2-0x1
loading ring 0 descriptors (0xffffff00c8c65000) at c8c650
loading ring 1 descriptors (0xffffff00c8c82000) at c8c820
loading ring 2 descriptors (0xffffff00c8c9f000) at c8c9f0
loading ring 3 descriptors (0xffffff00c8cbc000) at c8cbc0
loading ring 4 descriptors (0xffffff00c8cd9000) at c8cd90
loading ring 5 descriptors (0xffffff00c8cf6000) at c8cf60
loading ring 6 descriptors (0xffffff00c8d13000) at c8d130
loading ring 7 descriptors (0xffffff00c8d30000) at c8d300
loading ring 8 descriptors (0xffffff00c8d4d000) at c8d4d0
loading ring 9 descriptors (0xffffff00c8d6a000) at c8d6a0
loading ring 10 descriptors (0xffffff00c8d87000) at c8d870
loading ring 11 descriptors (0xffffff00c8d8f000) at c8d8f0
loading ring 12 descriptors (0xffffff00c8d97000) at c8d970
loading ring 13 descriptors (0xffffff00c8d9f000) at c8d9f0
loading ring 14 descriptors (0xffffff00c8da7000) at c8da70
loading ring 15 descriptors (0xffffff00c8daf000) at c8daf0
loading ring 16 descriptors (0xffffff00c8db7000) at c8db70
loading ring 17 descriptors (0xffffff00c8dbf000) at c8dbf0
loading ring 18 descriptors (0xffffff00c8dc7000) at c8dc70
loading ring 19 descriptors (0xffffff00c8dcf000) at c8dcf0
loading ring 20 descriptors (0xffffff00c8dd7000) at c8dd70
loading ring 21 descriptors (0xffffff00c8ddf000) at c8ddf0
loading ring 22 descriptors (0xffffff00c8de7000) at c8de70
loading ring 23 descriptors (0xffffff00c8def000) at c8def0
loading ring 24 descriptors (0xffffff00c8df7000) at c8df70
loading ring 25 descriptors (0xffffff00c8dff000) at c8dff0
loading ring 26 descriptors (0xffffff00c8e07000) at c8e070
loading ring 27 descriptors (0xffffff00c8e0f000) at c8e0f0
loading ring 28 descriptors (0xffffff00c8e17000) at c8e170
loading ring 29 descriptors (0xffffff00c8e1f000) at c8e1f0
loading ring 30 descriptors (0xffffff00c8e27000) at c8e270
shadow registers enabled
enabled txq 9 FIFO 7
sending command 0x9b qid 9, idx 0
sending command 0xd1 qid 9, idx 1
sending command 0x98 qid 9, idx 2
sending command 0x6a qid 9, idx 3
iwm0: init complete
iwm apm stop
iwm apm start
iwm apm start
Radio type=0x0-0x2-0x1
loading ring 0 descriptors (0xffffff00c8c65000) at c8c650
loading ring 1 descriptors (0xffffff00c8c82000) at c8c820
loading ring 2 descriptors (0xffffff00c8c9f000) at c8c9f0
loading ring 3 descriptors (0xffffff00c8cbc000) at c8cbc0
loading ring 4 descriptors (0xffffff00c8cd9000) at c8cd90
loading ring 5 descriptors (0xffffff00c8cf6000) at c8cf60
loading ring 6 descriptors (0xffffff00c8d13000) at c8d130
loading ring 7 descriptors (0xffffff00c8d30000) at c8d300
loading ring 8 descriptors (0xffffff00c8d4d000) at c8d4d0
loading ring 9 descriptors (0xffffff00c8d6a000) at c8d6a0
loading ring 10 descriptors (0xffffff00c8d87000) at c8d870
loading ring 11 descriptors (0xffffff00c8d8f000) at c8d8f0
loading ring 12 descriptors (0xffffff00c8d97000) at c8d970
loading ring 13 descriptors (0xffffff00c8d9f000) at c8d9f0
loading ring 14 descriptors (0xffffff00c8da7000) at c8da70
loading ring 15 descriptors (0xffffff00c8daf000) at c8daf0
loading ring 16 descriptors (0xffffff00c8db7000) at c8db70
loading ring 17 descriptors (0xffffff00c8dbf000) at c8dbf0
loading ring 18 descriptors (0xffffff00c8dc7000) at c8dc70
loading ring 19 descriptors (0xffffff00c8dcf000) at c8dcf0
loading ring 20 descriptors (0xffffff00c8dd7000) at c8dd70
loading ring 21 descriptors (0xffffff00c8ddf000) at c8ddf0
loading ring 22 descriptors (0xffffff00c8de7000) at c8de70
loading ring 23 descriptors (0xffffff00c8def000) at c8def0
loading ring 24 descriptors (0xffffff00c8df7000) at c8df70
loading ring 25 descriptors (0xffffff00c8dff000) at c8dff0
loading ring 26 descriptors (0xffffff00c8e07000) at c8e070
loading ring 27 descriptors (0xffffff00c8e0f000) at c8e0f0
loading ring 28 descriptors (0xffffff00c8e17000) at c8e170
loading ring 29 descriptors (0xffffff00c8e1f000) at c8e1f0
loading ring 30 descriptors (0xffffff00c8e27000) at c8e270
shadow registers enabled
enabled txq 9 FIFO 7
sending command 0x9b qid 9, idx 0
sending command 0x98 qid 9, idx 1
Sending phy db data and configuration to runtime image
sending command 0x6c qid 9, idx 2
sending command 0x6c qid 9, idx 3
sending command 0x6c qid 9, idx 4
sending command 0x6c qid 9, idx 5
sending command 0x6c qid 9, idx 6
sending command 0x6c qid 9, idx 7
sending command 0x6c qid 9, idx 8
sending command 0x6c qid 9, idx 9
sending command 0x6c qid 9, idx 10
sending command 0x6c qid 9, idx 11
sending command 0x6c qid 9, idx 12
sending command 0x6c qid 9, idx 13
sending command 0x6c qid 9, idx 14
sending command 0x6c qid 9, idx 15
sending command 0x6c qid 9, idx 16
Finished sending phy db non channel data
sending command 0x6a qid 9, idx 17
sending command 0x1d qid 9, idx 18
iwm0: queue cfg token=0x0 sta_id=0 tid=0 scd_queue=15
enabled txq 15 FIFO 5
sending command 0x18 qid 9, idx 19
Internal station added.
sending command 0x8 qid 9, idx 20
sending command 0x8 qid 9, idx 21
sending command 0x8 qid 9, idx 22
sending command 0x7e qid 9, idx 23
Sending device power command with flags = 0x2001
sending command 0x77 qid 9, idx 24
sending command 0x1d qid 9, idx 25
iwm0: queue cfg token=0x0 sta_id=0 tid=0 scd_queue=0
enabled txq 0 FIFO 3
sending command 0x1d qid 9, idx 26
iwm0: queue cfg token=0x0 sta_id=0 tid=0 scd_queue=1
enabled txq 1 FIFO 2
sending command 0x1d qid 9, idx 27
iwm0: queue cfg token=0x0 sta_id=0 tid=0 scd_queue=2
enabled txq 2 FIFO 1
sending command 0x1d qid 9, idx 28
iwm0: queue cfg token=0x0 sta_id=0 tid=0 scd_queue=3
enabled txq 3 FIFO 0
dtim 1 0
sending command 0x28 qid 9, idx 29
iwm0: dumping device error log
iwm0: Start Error Log Dump:
iwm0: Status: 0x11, count: 6
iwm0: 0x00003412 | ADVANCED_SYSASSERT          
iwm0: 000002F0 | trm_hw_status0
iwm0: 00000000 | trm_hw_status1
iwm0: 00000B34 | branchlink2
iwm0: 00019BE8 | interruptlink1
iwm0: 00649624 | interruptlink2
iwm0: 0000008D | data1
iwm0: DEADBEEF | data2
iwm0: DEADBEEF | data3
iwm0: 002E9014 | beacon time
iwm0: 00116FEA | tsf low
iwm0: 00000000 | tsf hi
iwm0: 00000000 | time gp1
iwm0: 00116FEB | time gp2
iwm0: 00000000 | uCode revision type
iwm0: 00000010 | uCode version major
iwm0: 0003B2EE | uCode version minor
iwm0: 00000210 | hw version
iwm0: 00009000 | board version
iwm0: 091D0028 | hcmd
iwm0: 00022080 | isr0
iwm0: 00000000 | isr1
iwm0: 00000002 | isr2
iwm0: 004000C0 | isr3
iwm0: 00000000 | isr4
iwm0: 01000112 | last cmd Id
iwm0: 00000000 | wait_event
iwm0: 0000EBDE | l2p_control
iwm0: 00000000 | l2p_duration
iwm0: 00000000 | l2p_mhvalid
iwm0: 00000000 | l2p_addr_match
iwm0: 00000007 | lmpm_pmg_sel
iwm0: 22121936 | timestamp
iwm0: 00001828 | flow_handler
driver status:
  tx ring  0: qid=0  cur=0   queued=0  
  tx ring  1: qid=1  cur=0   queued=0  
  tx ring  2: qid=2  cur=0   queued=0  
  tx ring  3: qid=3  cur=0   queued=0  
  tx ring  4: qid=4  cur=0   queued=0  
  tx ring  5: qid=5  cur=0   queued=0  
  tx ring  6: qid=6  cur=0   queued=0  
  tx ring  7: qid=7  cur=0   queued=0  
  tx ring  8: qid=8  cur=0   queued=0  
  tx ring  9: qid=9  cur=30  queued=0  
  tx ring 10: qid=10 cur=0   queued=0  
  tx ring 11: qid=11 cur=0   queued=0  
  tx ring 12: qid=12 cur=0   queued=0  
  tx ring 13: qid=13 cur=0   queued=0  
  tx ring 14: qid=14 cur=0   queued=0  
  tx ring 15: qid=15 cur=0   queued=0  
  tx ring 16: qid=16 cur=0   queued=0  
  tx ring 17: qid=17 cur=0   queued=0  
  tx ring 18: qid=18 cur=0   queued=0  
  tx ring 19: qid=19 cur=0   queued=0  
  tx ring 20: qid=20 cur=0   queued=0  
  tx ring 21: qid=21 cur=0   queued=0  
  tx ring 22: qid=22 cur=0   queued=0  
  tx ring 23: qid=23 cur=0   queued=0  
  tx ring 24: qid=24 cur=0   queued=0  
  tx ring 25: qid=25 cur=0   queued=0  
  tx ring 26: qid=26 cur=0   queued=0  
  tx ring 27: qid=27 cur=0   queued=0  
  tx ring 28: qid=28 cur=0   queued=0  
  tx ring 29: qid=29 cur=0   queued=0  
  tx ring 30: qid=30 cur=0   queued=0  
  rx ring: cur=30
  802.11 state INIT
iwm0: fatal firmware error
iwm apm stop
iwm0: Failed to send MAC context (action:1): 35
iwm0: failed to add MAC
iwm_nic_lock: resetting device via NMI
iwm_nic_lock: resetting device via NMI
iwm apm stop
iwm_nic_lock: resetting device via NMI
iwm_nic_lock: resetting device via NMI
iwm apm stop
iwm apm start
iwm apm start
Radio type=0x0-0x2-0x1
loading ring 0 descriptors (0xffffff00c8c65000) at c8c650
loading ring 1 descriptors (0xffffff00c8c82000) at c8c820
loading ring 2 descriptors (0xffffff00c8c9f000) at c8c9f0
loading ring 3 descriptors (0xffffff00c8cbc000) at c8cbc0
loading ring 4 descriptors (0xffffff00c8cd9000) at c8cd90
loading ring 5 descriptors (0xffffff00c8cf6000) at c8cf60
loading ring 6 descriptors (0xffffff00c8d13000) at c8d130
loading ring 7 descriptors (0xffffff00c8d30000) at c8d300
loading ring 8 descriptors (0xffffff00c8d4d000) at c8d4d0
loading ring 9 descriptors (0xffffff00c8d6a000) at c8d6a0
loading ring 10 descriptors (0xffffff00c8d87000) at c8d870
loading ring 11 descriptors (0xffffff00c8d8f000) at c8d8f0
loading ring 12 descriptors (0xffffff00c8d97000) at c8d970
loading ring 13 descriptors (0xffffff00c8d9f000) at c8d9f0
loading ring 14 descriptors (0xffffff00c8da7000) at c8da70
loading ring 15 descriptors (0xffffff00c8daf000) at c8daf0
loading ring 16 descriptors (0xffffff00c8db7000) at c8db70
loading ring 17 descriptors (0xffffff00c8dbf000) at c8dbf0
loading ring 18 descriptors (0xffffff00c8dc7000) at c8dc70
loading ring 19 descriptors (0xffffff00c8dcf000) at c8dcf0
loading ring 20 descriptors (0xffffff00c8dd7000) at c8dd70
loading ring 21 descriptors (0xffffff00c8ddf000) at c8ddf0
loading ring 22 descriptors (0xffffff00c8de7000) at c8de70
loading ring 23 descriptors (0xffffff00c8def000) at c8def0
loading ring 24 descriptors (0xffffff00c8df7000) at c8df70
loading ring 25 descriptors (0xffffff00c8dff000) at c8dff0
loading ring 26 descriptors (0xffffff00c8e07000) at c8e070
loading ring 27 descriptors (0xffffff00c8e0f000) at c8e0f0
loading ring 28 descriptors (0xffffff00c8e17000) at c8e170
loading ring 29 descriptors (0xffffff00c8e1f000) at c8e1f0
loading ring 30 descriptors (0xffffff00c8e27000) at c8e270
shadow registers enabled
enabled txq 9 FIFO 7
sending command 0x9b qid 9, idx 0
sending command 0xd1 qid 9, idx 1
sending command 0x98 qid 9, idx 2
sending command 0x6a qid 9, idx 3
iwm0: init complete
iwm apm stop
iwm apm start
iwm apm start
Radio type=0x0-0x2-0x1
loading ring 0 descriptors (0xffffff00c8c65000) at c8c650
loading ring 1 descriptors (0xffffff00c8c82000) at c8c820
loading ring 2 descriptors (0xffffff00c8c9f000) at c8c9f0
loading ring 3 descriptors (0xffffff00c8cbc000) at c8cbc0
loading ring 4 descriptors (0xffffff00c8cd9000) at c8cd90
loading ring 5 descriptors (0xffffff00c8cf6000) at c8cf60
loading ring 6 descriptors (0xffffff00c8d13000) at c8d130
loading ring 7 descriptors (0xffffff00c8d30000) at c8d300
loading ring 8 descriptors (0xffffff00c8d4d000) at c8d4d0
loading ring 9 descriptors (0xffffff00c8d6a000) at c8d6a0
loading ring 10 descriptors (0xffffff00c8d87000) at c8d870
loading ring 11 descriptors (0xffffff00c8d8f000) at c8d8f0
loading ring 12 descriptors (0xffffff00c8d97000) at c8d970
loading ring 13 descriptors (0xffffff00c8d9f000) at c8d9f0
loading ring 14 descriptors (0xffffff00c8da7000) at c8da70
loading ring 15 descriptors (0xffffff00c8daf000) at c8daf0
loading ring 16 descriptors (0xffffff00c8db7000) at c8db70
loading ring 17 descriptors (0xffffff00c8dbf000) at c8dbf0
loading ring 18 descriptors (0xffffff00c8dc7000) at c8dc70
loading ring 19 descriptors (0xffffff00c8dcf000) at c8dcf0
loading ring 20 descriptors (0xffffff00c8dd7000) at c8dd70
loading ring 21 descriptors (0xffffff00c8ddf000) at c8ddf0
loading ring 22 descriptors (0xffffff00c8de7000) at c8de70
loading ring 23 descriptors (0xffffff00c8def000) at c8def0
loading ring 24 descriptors (0xffffff00c8df7000) at c8df70
loading ring 25 descriptors (0xffffff00c8dff000) at c8dff0
loading ring 26 descriptors (0xffffff00c8e07000) at c8e070
loading ring 27 descriptors (0xffffff00c8e0f000) at c8e0f0
loading ring 28 descriptors (0xffffff00c8e17000) at c8e170
loading ring 29 descriptors (0xffffff00c8e1f000) at c8e1f0
loading ring 30 descriptors (0xffffff00c8e27000) at c8e270
shadow registers enabled
enabled txq 9 FIFO 7
sending command 0x9b qid 9, idx 0
sending command 0x98 qid 9, idx 1
Sending phy db data and configuration to runtime image
sending command 0x6c qid 9, idx 2
sending command 0x6c qid 9, idx 3
sending command 0x6c qid 9, idx 4
sending command 0x6c qid 9, idx 5
sending command 0x6c qid 9, idx 6
sending command 0x6c qid 9, idx 7
sending command 0x6c qid 9, idx 8
sending command 0x6c qid 9, idx 9
sending command 0x6c qid 9, idx 10
sending command 0x6c qid 9, idx 11
sending command 0x6c qid 9, idx 12
sending command 0x6c qid 9, idx 13
sending command 0x6c qid 9, idx 14
sending command 0x6c qid 9, idx 15
sending command 0x6c qid 9, idx 16
Finished sending phy db non channel data
sending command 0x6a qid 9, idx 17
sending command 0x1d qid 9, idx 18
iwm0: queue cfg token=0x0 sta_id=0 tid=0 scd_queue=15
enabled txq 15 FIFO 5
sending command 0x18 qid 9, idx 19
Internal station added.
sending command 0x8 qid 9, idx 20
sending command 0x8 qid 9, idx 21
sending command 0x8 qid 9, idx 22
sending command 0x7e qid 9, idx 23
Sending device power command with flags = 0x2001
sending command 0x77 qid 9, idx 24
sending command 0x1d qid 9, idx 25
iwm0: queue cfg token=0x0 sta_id=0 tid=0 scd_queue=0
enabled txq 0 FIFO 3
sending command 0x1d qid 9, idx 26
iwm0: queue cfg token=0x0 sta_id=0 tid=0 scd_queue=1
enabled txq 1 FIFO 2
sending command 0x1d qid 9, idx 27
iwm0: queue cfg token=0x0 sta_id=0 tid=0 scd_queue=2
enabled txq 2 FIFO 1
sending command 0x1d qid 9, idx 28
iwm0: queue cfg token=0x0 sta_id=0 tid=0 scd_queue=3
enabled txq 3 FIFO 0
dtim 1 0
sending command 0x28 qid 9, idx 29
sending command 0xd2 qid 9, idx 30
ba_enable_beacon_abort is: 0
ba_escape_timer is: 0
bf_debug_flag is: 0
bf_enable_beacon_filter is: 0
bf_energy_delta is: 0
bf_escape_timer is: 0
bf_roaming_energy_delta is: 0
bf_roaming_state is: 0
bf_temp_threshold is: 0
bf_temp_fast_filter is: 0
bf_temp_slow_filter is: 0
switching state INIT->SCAN
Handling ieee80211 scan request
sending command 0x51 qid 9, idx 31
Scan request was sent successfully
switching state SCAN->SCAN
scan ended
iwm apm stop
iwm apm start
iwm apm start
Radio type=0x0-0x2-0x1
loading ring 0 descriptors (0xffffff00c8c65000) at c8c650
loading ring 1 descriptors (0xffffff00c8c82000) at c8c820
loading ring 2 descriptors (0xffffff00c8c9f000) at c8c9f0
loading ring 3 descriptors (0xffffff00c8cbc000) at c8cbc0
loading ring 4 descriptors (0xffffff00c8cd9000) at c8cd90
loading ring 5 descriptors (0xffffff00c8cf6000) at c8cf60
loading ring 6 descriptors (0xffffff00c8d13000) at c8d130
loading ring 7 descriptors (0xffffff00c8d30000) at c8d300
loading ring 8 descriptors (0xffffff00c8d4d000) at c8d4d0
loading ring 9 descriptors (0xffffff00c8d6a000) at c8d6a0
loading ring 10 descriptors (0xffffff00c8d87000) at c8d870
loading ring 11 descriptors (0xffffff00c8d8f000) at c8d8f0
loading ring 12 descriptors (0xffffff00c8d97000) at c8d970
loading ring 13 descriptors (0xffffff00c8d9f000) at c8d9f0
loading ring 14 descriptors (0xffffff00c8da7000) at c8da70
loading ring 15 descriptors (0xffffff00c8daf000) at c8daf0
loading ring 16 descriptors (0xffffff00c8db7000) at c8db70
loading ring 17 descriptors (0xffffff00c8dbf000) at c8dbf0
loading ring 18 descriptors (0xffffff00c8dc7000) at c8dc70
loading ring 19 descriptors (0xffffff00c8dcf000) at c8dcf0
loading ring 20 descriptors (0xffffff00c8dd7000) at c8dd70
loading ring 21 descriptors (0xffffff00c8ddf000) at c8ddf0
loading ring 22 descriptors (0xffffff00c8de7000) at c8de70
loading ring 23 descriptors (0xffffff00c8def000) at c8def0
loading ring 24 descriptors (0xffffff00c8df7000) at c8df70
loading ring 25 descriptors (0xffffff00c8dff000) at c8dff0
loading ring 26 descriptors (0xffffff00c8e07000) at c8e070
loading ring 27 descriptors (0xffffff00c8e0f000) at c8e0f0
loading ring 28 descriptors (0xffffff00c8e17000) at c8e170
loading ring 29 descriptors (0xffffff00c8e1f000) at c8e1f0
loading ring 30 descriptors (0xffffff00c8e27000) at c8e270
shadow registers enabled
enabled txq 9 FIFO 7
sending command 0x9b qid 9, idx 0
sending command 0xd1 qid 9, idx 1
sending command 0x98 qid 9, idx 2
sending command 0x6a qid 9, idx 3
iwm0: init complete
iwm apm stop
iwm apm start
iwm apm start
Radio type=0x0-0x2-0x1
loading ring 0 descriptors (0xffffff00c8c65000) at c8c650
loading ring 1 descriptors (0xffffff00c8c82000) at c8c820
loading ring 2 descriptors (0xffffff00c8c9f000) at c8c9f0
loading ring 3 descriptors (0xffffff00c8cbc000) at c8cbc0
loading ring 4 descriptors (0xffffff00c8cd9000) at c8cd90
loading ring 5 descriptors (0xffffff00c8cf6000) at c8cf60
loading ring 6 descriptors (0xffffff00c8d13000) at c8d130
loading ring 7 descriptors (0xffffff00c8d30000) at c8d300
loading ring 8 descriptors (0xffffff00c8d4d000) at c8d4d0
loading ring 9 descriptors (0xffffff00c8d6a000) at c8d6a0
loading ring 10 descriptors (0xffffff00c8d87000) at c8d870
loading ring 11 descriptors (0xffffff00c8d8f000) at c8d8f0
loading ring 12 descriptors (0xffffff00c8d97000) at c8d970
loading ring 13 descriptors (0xffffff00c8d9f000) at c8d9f0
loading ring 14 descriptors (0xffffff00c8da7000) at c8da70
loading ring 15 descriptors (0xffffff00c8daf000) at c8daf0
loading ring 16 descriptors (0xffffff00c8db7000) at c8db70
loading ring 17 descriptors (0xffffff00c8dbf000) at c8dbf0
loading ring 18 descriptors (0xffffff00c8dc7000) at c8dc70
loading ring 19 descriptors (0xffffff00c8dcf000) at c8dcf0
loading ring 20 descriptors (0xffffff00c8dd7000) at c8dd70
loading ring 21 descriptors (0xffffff00c8ddf000) at c8ddf0
loading ring 22 descriptors (0xffffff00c8de7000) at c8de70
loading ring 23 descriptors (0xffffff00c8def000) at c8def0
loading ring 24 descriptors (0xffffff00c8df7000) at c8df70
loading ring 25 descriptors (0xffffff00c8dff000) at c8dff0
loading ring 26 descriptors (0xffffff00c8e07000) at c8e070
loading ring 27 descriptors (0xffffff00c8e0f000) at c8e0f0
loading ring 28 descriptors (0xffffff00c8e17000) at c8e170
loading ring 29 descriptors (0xffffff00c8e1f000) at c8e1f0
loading ring 30 descriptors (0xffffff00c8e27000) at c8e270
shadow registers enabled
enabled txq 9 FIFO 7
sending command 0x9b qid 9, idx 0
sending command 0x98 qid 9, idx 1
Sending phy db data and configuration to runtime image
sending command 0x6c qid 9, idx 2
sending command 0x6c qid 9, idx 3
sending command 0x6c qid 9, idx 4
sending command 0x6c qid 9, idx 5
sending command 0x6c qid 9, idx 6
sending command 0x6c qid 9, idx 7
sending command 0x6c qid 9, idx 8
sending command 0x6c qid 9, idx 9
sending command 0x6c qid 9, idx 10
sending command 0x6c qid 9, idx 11
sending command 0x6c qid 9, idx 12
sending command 0x6c qid 9, idx 13
sending command 0x6c qid 9, idx 14
sending command 0x6c qid 9, idx 15
sending command 0x6c qid 9, idx 16
Finished sending phy db non channel data
sending command 0x6a qid 9, idx 17
sending command 0x1d qid 9, idx 18
iwm0: queue cfg token=0x0 sta_id=0 tid=0 scd_queue=15
enabled txq 15 FIFO 5
sending command 0x18 qid 9, idx 19
Internal station added.
sending command 0x8 qid 9, idx 20
sending command 0x8 qid 9, idx 21
sending command 0x8 qid 9, idx 22
sending command 0x7e qid 9, idx 23
Sending device power command with flags = 0x2001
sending command 0x77 qid 9, idx 24
sending command 0x1d qid 9, idx 25
iwm0: queue cfg token=0x0 sta_id=0 tid=0 scd_queue=0
enabled txq 0 FIFO 3
sending command 0x1d qid 9, idx 26
iwm0: queue cfg token=0x0 sta_id=0 tid=0 scd_queue=1
enabled txq 1 FIFO 2
sending command 0x1d qid 9, idx 27
iwm0: queue cfg token=0x0 sta_id=0 tid=0 scd_queue=2
enabled txq 2 FIFO 1
sending command 0x1d qid 9, idx 28
iwm0: queue cfg token=0x0 sta_id=0 tid=0 scd_queue=3
enabled txq 3 FIFO 0
dtim 1 0
sending command 0x28 qid 9, idx 29
sending command 0xd2 qid 9, idx 30
ba_enable_beacon_abort is: 0
ba_escape_timer is: 0
bf_debug_flag is: 0
bf_enable_beacon_filter is: 0
bf_energy_delta is: 0
bf_escape_timer is: 0
bf_roaming_energy_delta is: 0
bf_roaming_state is: 0
bf_temp_threshold is: 0
bf_temp_fast_filter is: 0
bf_temp_slow_filter is: 0
switching state INIT->SCAN
Handling ieee80211 scan request
sending command 0x51 qid 9, idx 31
Scan request was sent successfully
scan ended
switching state SCAN->AUTH
sending command 0xd1 qid 9, idx 32
sending command 0xd0 qid 9, idx 33
sending command 0x8 qid 9, idx 34
sending command 0x2b qid 9, idx 35
sending command 0x18 qid 9, idx 36
dtim 1 0
sending command 0x28 qid 9, idx 37
Add new TE, duration 1000 TU
sending command 0x29 qid 9, idx 38
iwm0: TE notif status = 0x1 action = 0x1
switching state AUTH->ASSOC
sending command 0x18 qid 9, idx 39
dtim 1 0
DTIM TBTT is 0xae51c03180/0x5679e9, offset 0
sending command 0x28 qid 9, idx 40
switching state ASSOC->RUN
Sending power table command on mac id 0x0 for power level 1, flags = 0x0
Keep alive = 25 sec
Disable power management
sending command 0xa9 qid 9, idx 41
sending command 0xd2 qid 9, idx 42
ba_enable_beacon_abort is: 0
ba_escape_timer is: 6
bf_debug_flag is: 0
bf_enable_beacon_filter is: 1
bf_energy_delta is: 5
bf_escape_timer is: 50
bf_roaming_energy_delta is: 1
bf_roaming_state is: 72
bf_temp_threshold is: 112
bf_temp_fast_filter is: 1
bf_temp_slow_filter is: 5
sending command 0x2c qid 9, idx 43
sending command 0x4e qid 9, idx 44
iwm0: TE notif status = 0x1 action = 0x2
sending command 0x18 qid 9, idx 45
RX BA Session started in fw

Reply via email to