Re: converted iwi(4) for testing Was: [Testers needed!] WiFi drivers changes

2015-06-03 Thread Michael Moll
Hi,

On Wed, Jun 03, 2015 at 01:42:22PM +0300, Gleb Smirnoff wrote:
 M This already is resulting in a working connection. I'll test more
 M extensively tomorrow and report back.
 
 Thanks a lot. Please check that 'netstat -hI wlan0 1' reports sane data
 about packets and bytes.

All working well, the only thing I'm seeing is that a shutdown or reboot
is hanging, tracing via kdb shows:

Tracing command wpa_supplicant pid 293 tid 100075 td 0xc81b7960
sched_switch(c81b7960,0,104,0,0,...) at sched_switch+0x2d8/frame 0xc72b88f4
mi_switch(104,0,c81b7960,c72b8944,c81b7960,c78e00b0) at mi_switch+0x11e/frame 
0xc72b8928
sleepq_switch(c81b7960,0,c12d53b2,276,2710,...) at sleepq_switch+0x15b/frame 
0xc72b8950
sleepq_wait(c78e00b0,6c,c12c0672,0,0,...) at sleepq_wait+0x3f/frame 0xc72b897c
_sleep(c78e00b0,c7775c98,6c,c12c0672,0,...) at _sleep+0x311/frame 0xc72b89c0
taskqueue_drain(c7775c80,c78e00b0,c81b7960,c72b8a48,c0d0f121,...) at 
taskqueue_drain+0x1a5/frame 0xc72b89fc
ieee80211_waitfor_parent(c78e0014,0,0,0,0,...) at 
ieee80211_waitfor_parent+0x30/frame 0xc72b8a10
ieee80211_ioctl(c7879400,80206910,c72b8b78,c72b8a78,c0b9515c,...) at 
ieee80211_ioctl+0x391/frame 0xc72b8a48
ifioctl(c88fe720,80206910,c72b8b78,c81b7960,1000,...) at 
ifioctl+0x144a/frame 0xc72b8ad4
soo_ioctl(c8664700,80206910,c72b8b78,c76ee900,c81b7960,...) at 
soo_ioctl+0x25d/frame 0xc72b8b08
kern_ioctl(c81b7960,3,80206910,c72b8b78,10,...) at kern_ioctl+0x31d/frame 
0xc72b8b50
sys_ioctl(c81b7960,c72b8ca8,28ce9000,283f8f12,c77189c0,...) at 
sys_ioctl+0x11b/frame 0xc72b8c10
syscall(c72b8ce8) at syscall+0x5e0/frame 0xc72b8cdc
Xint0x80_syscall() at Xint0x80_syscall+0x21/frame 0xc72b8cdc
--- syscall (54, FreeBSD ELF32, sys_ioctl), eip = 0x284a1d4f, esp = 0xbfbfec3c, 
ebp = 0xbfbfec98 ---

But i guess that might be another iwi bug that got uncovered now and
is not related to the conversion.

Regards
-- 
Michael Moll


pgp7ITmUJ0vJI.pgp
Description: PGP signature


Re: converted iwi(4) for testing Was: [Testers needed!] WiFi drivers changes

2015-06-03 Thread Gleb Smirnoff
On Wed, Jun 03, 2015 at 09:51:56PM +0200, Michael Moll wrote:
M On Wed, Jun 03, 2015 at 01:42:22PM +0300, Gleb Smirnoff wrote:
M  M This already is resulting in a working connection. I'll test more
M  M extensively tomorrow and report back.
M  
M  Thanks a lot. Please check that 'netstat -hI wlan0 1' reports sane data
M  about packets and bytes.
M 
M All working well, the only thing I'm seeing is that a shutdown or reboot
M is hanging, tracing via kdb shows:
M 
M Tracing command wpa_supplicant pid 293 tid 100075 td 0xc81b7960
M sched_switch(c81b7960,0,104,0,0,...) at sched_switch+0x2d8/frame 0xc72b88f4
M mi_switch(104,0,c81b7960,c72b8944,c81b7960,c78e00b0) at 
mi_switch+0x11e/frame 0xc72b8928
M sleepq_switch(c81b7960,0,c12d53b2,276,2710,...) at sleepq_switch+0x15b/frame 
0xc72b8950
M sleepq_wait(c78e00b0,6c,c12c0672,0,0,...) at sleepq_wait+0x3f/frame 
0xc72b897c
M _sleep(c78e00b0,c7775c98,6c,c12c0672,0,...) at _sleep+0x311/frame 0xc72b89c0
M taskqueue_drain(c7775c80,c78e00b0,c81b7960,c72b8a48,c0d0f121,...) at 
taskqueue_drain+0x1a5/frame 0xc72b89fc
M ieee80211_waitfor_parent(c78e0014,0,0,0,0,...) at 
ieee80211_waitfor_parent+0x30/frame 0xc72b8a10
M ieee80211_ioctl(c7879400,80206910,c72b8b78,c72b8a78,c0b9515c,...) at 
ieee80211_ioctl+0x391/frame 0xc72b8a48
M ifioctl(c88fe720,80206910,c72b8b78,c81b7960,1000,...) at 
ifioctl+0x144a/frame 0xc72b8ad4
M soo_ioctl(c8664700,80206910,c72b8b78,c76ee900,c81b7960,...) at 
soo_ioctl+0x25d/frame 0xc72b8b08
M kern_ioctl(c81b7960,3,80206910,c72b8b78,10,...) at kern_ioctl+0x31d/frame 
0xc72b8b50
M sys_ioctl(c81b7960,c72b8ca8,28ce9000,283f8f12,c77189c0,...) at 
sys_ioctl+0x11b/frame 0xc72b8c10
M syscall(c72b8ce8) at syscall+0x5e0/frame 0xc72b8cdc
M Xint0x80_syscall() at Xint0x80_syscall+0x21/frame 0xc72b8cdc
M --- syscall (54, FreeBSD ELF32, sys_ioctl), eip = 0x284a1d4f, esp = 
0xbfbfec3c, ebp = 0xbfbfec98 ---
M 
M But i guess that might be another iwi bug that got uncovered now and
M is not related to the conversion.

Well, if it wasn't the case before, I must fix it. Well take a look.

-- 
Totus tuus, Glebius.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[BeagleBone Black] not bootable emmc after D2646?

2015-06-03 Thread Andrey Fesenko
Hello,

Booting from emmc possible only if you have installed sdcard (u-boot
start from sdcard) if stop boot and set loaderdev='mmc 1' system boot
emmc.
Without this, when sdcard slot empty, in terminal i'm see 
(u-boot not start)

It looks like this is due to https://reviews.freebsd.org/D2646

# uname -a
FreeBSD bb.local 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r283948: Wed Jun
 3 18:45:48 MSK 2015
root@des.local:/usr/obj/arm.armv6/usr/src/sys/BEAGLEBONE-V6  arm

for copy to emmc uses # sh copy-to-emmc.sh

copying succes, fix fstab (remove lables)
# cat /etc/fstab
/dev/mmcsd1s1   /boot/msdos msdosfs rw,noatime   0 0
/dev/mmcsd1s2a  /   ufs rw,noatime   1 1
md/tmpmfs rw,noatime,-s30m 0 0
md/var/logmfs rw,noatime,-s15m 0 0
md/var/tmpmfs rw,noatime,-s5m  0 0

root@bb:~ # fdisk mmcsd1
*** Working on device /dev/mmcsd1 ***
parameters extracted from in-core disklabel are:
cylinders=233 heads=255 sectors/track=63 (16065 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=233 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA))
start 1024, size 4096 (2 Meg), flag 80 (active)
beg: cyl 0/ head 31/ sector 2;
end: cyl 1/ head 27/ sector 5
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 5120, size 3745792 (1829 Meg), flag 0
beg: cyl 1/ head 27/ sector 6;
end: cyl 887/ head 127/ sector 33
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED

# fsck_msdosfs /dev/mmcsd1s1
** /dev/mmcsd1s1
** Phase 1 - Read and Compare FATs
** Phase 2 - Check Cluster Chains
** Phase 3 - Checking Directories
** Phase 4 - Checking for Lost Files
10 files, 1180 free (2360 clusters)

# diskinfo -v /dev/mmcsd1
/dev/mmcsd1
512 # sectorsize
1920991232  # mediasize in bytes (1.8G)
3751936 # mediasize in sectors
524288  # stripesize
0   # stripeoffset
98E43448# Disk ident.

# gpart show
= 63  7698369  mmcsd0  MBR  (3.7G)
   63 4095   1  !12  [active]  (2.0M)
 4158  7688130   2  freebsd  (3.7G)
  7692288 6144  - free -  (3.0M)

=  0  7688130  mmcsd0s2  BSD  (3.7G)
0   66- free -  (33K)
   66  7688064 1  freebsd-ufs  (3.7G)
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


FreeBSD_HEAD-tests - Build #1080 - Unstable

2015-06-03 Thread jenkins-admin
FreeBSD_HEAD-tests - Build #1080 - Unstable:

Check console output at 
https://jenkins.freebsd.org/job/FreeBSD_HEAD-tests/1080/ to view the results.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


FreeBSD_HEAD_amd64_gcc4.9 - Build #50 - Failure

2015-06-03 Thread jenkins-admin
FreeBSD_HEAD_amd64_gcc4.9 - Build #50 - Failure:

Check console output at 
https://jenkins.freebsd.org/job/FreeBSD_HEAD_amd64_gcc4.9/50/ to view the 
results.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


FreeBSD_HEAD_i386 - Build #229 - Failure

2015-06-03 Thread jenkins-admin
FreeBSD_HEAD_i386 - Build #229 - Failure:

Check console output at https://jenkins.freebsd.org/job/FreeBSD_HEAD_i386/229/ 
to view the results.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: converted iwi(4) for testing Was: [Testers needed!] WiFi drivers changes

2015-06-03 Thread Gleb Smirnoff
  Michael,

On Wed, Jun 03, 2015 at 01:35:01AM +0200, Michael Moll wrote:
M  I have fixed the bug in head, and updated the phab revision. The current
M  phab revision will apply only to the fresh head.
M  
M  Please retry! And thanks a lot for your efforts. :)
M 
M This already is resulting in a working connection. I'll test more
M extensively tomorrow and report back.

Thanks a lot. Please check that 'netstat -hI wlan0 1' reports sane data
about packets and bytes.

-- 
Totus tuus, Glebius.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Error building -CURRENT from 10.1

2015-06-03 Thread Jonathan Anderson
Hi all,

I’m attempting to `make buildworld` from a 10.1-RELEASE box, and I’m 
encountering an error in the “bootstrap tools stage. It looks like gzip, which 
is part of the bootstrap tools, depends on `futimens` from a newish (since 
February?) libc / syscall API:

$ make buildworld
[...]
usr.bin/gzip/gzip.c:1103:6: warning: implicit declaration of function 
'futimens' is invalid in C99 [-Wimplicit-function-declaration]
if (futimens(fd, times)  0)
^
1 warning generated.
gzip.o: In function `copymodes':
usr.bin/gzip/gzip.c:(.text+0x2240): undefined reference to `futimens’


But we haven’t built the new libc yet:

$ grep ‘===’ build.log  do_some_manual_compression
=== tools/build (obj,includes,depend,all,install)
=== lib/clang/libllvm{support,tablegen} (obj,depend,all,install)
=== usr.bin/clang/[clang-]tblgen (obj,depend,all,install)
=== kerberos5/[stuff] (obj,depend,all,install)
=== usr.bin/compile_et (obj,depend,all,install)
=== lib/libelf (obj,depend,all,install)
=== lib/libdwarf (obj,depend,all,install)
=== cddl/usr.bin/sgsmsg (obj,depend,all,install)
=== cddl/lib/libctf (obj,depend,all,install)
=== cddl/usr.bin/ctf{convert,merge} (obj,depend,all,install)
=== games/fortune/strfile (obj,depend,all,install)
=== gnu/usr.bin/gperf (obj,depend,all,install)
=== gnu/usr.bin/groff (obj,depend,all,install)
=== usr.bin/soelim (obj,depend,all,install)
=== gnu/usr.bin/dtc (obj,depend,all,install)
=== usr.bin/lorder (obj,depend,all,install)
=== lib/libohash (obj,depend,all,install)
=== lib/libsqlite3 (obj,depend,all,install)
=== usr.bin/mandoc (obj,depend,all,install)
=== usr.bin/gzip (obj,depend,all,install)

So, how do I bootstrap 11-CURRENT from 10.1-RELEASE? Could there be something 
wrong with my specific environment? I don’t have any /etc/make.conf or 
/etc/src.conf.

Thanks,


Jon
—
jonat...@freebsd.org
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

FreeBSD_HEAD_i386 - Build #230 - Still Failing

2015-06-03 Thread jenkins-admin
FreeBSD_HEAD_i386 - Build #230 - Still Failing:

Check console output at https://jenkins.freebsd.org/job/FreeBSD_HEAD_i386/230/ 
to view the results.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Error building -CURRENT from 10.1

2015-06-03 Thread Jonathan Anderson
 
 On Jun 3, 2015, at 12:35 PM, Steve Kargl s...@troutmask.apl.washington.edu 
 wrote:
 
 On Wed, Jun 03, 2015 at 12:29:12PM -0230, Jonathan Anderson wrote:
 
 So, how do I bootstrap 11-CURRENT from 10.1-RELEASE?
 
 
 Update your source tree.

My source tree is up-to-date as of a few hours ago.


Jon
--
jonat...@freebsd.org
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Error building -CURRENT from 10.1

2015-06-03 Thread Steve Kargl
On Wed, Jun 03, 2015 at 12:29:12PM -0230, Jonathan Anderson wrote:
 
 So, how do I bootstrap 11-CURRENT from 10.1-RELEASE?
 

Update your source tree.

-- 
Steve
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Error building -CURRENT from 10.1

2015-06-03 Thread Baptiste Daroussin
On Wed, Jun 03, 2015 at 12:42:13PM -0230, Jonathan Anderson wrote:
  
  On Jun 3, 2015, at 12:35 PM, Steve Kargl 
  s...@troutmask.apl.washington.edu wrote:
  
  On Wed, Jun 03, 2015 at 12:29:12PM -0230, Jonathan Anderson wrote:
  
  So, how do I bootstrap 11-CURRENT from 10.1-RELEASE?
  
  
  Update your source tree.
 
 My source tree is up-to-date as of a few hours ago.

Update it again :)

Best regards,
Bapt


pgpSXVy8cjKUj.pgp
Description: PGP signature


Re: Error building -CURRENT from 10.1

2015-06-03 Thread Jonathan Anderson
 
 On Jun 3, 2015, at 12:44 PM, Baptiste Daroussin b...@freebsd.org wrote:
 
 On Wed, Jun 03, 2015 at 12:42:13PM -0230, Jonathan Anderson wrote:
 
 On Jun 3, 2015, at 12:35 PM, Steve Kargl 
 s...@troutmask.apl.washington.edu wrote:
 
 On Wed, Jun 03, 2015 at 12:29:12PM -0230, Jonathan Anderson wrote:
 
 So, how do I bootstrap 11-CURRENT from 10.1-RELEASE?
 
 
 Update your source tree.
 
 My source tree is up-to-date as of a few hours ago.
 
 Update it again :)
 
 Best regards,
 Bapt


Ah, I see... *really* update. :)

Sorry Steve, I guess I’m not used to moving at the speed of -CURRENT!


Jon
--
jonat...@freebsd.org
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

FreeBSD_HEAD_i386 - Build #231 - Fixed

2015-06-03 Thread jenkins-admin
FreeBSD_HEAD_i386 - Build #231 - Fixed:

Check console output at https://jenkins.freebsd.org/job/FreeBSD_HEAD_i386/231/ 
to view the results.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org