Re: Looping during boot-up process in FreeBSD-11 current

2014-09-29 Thread Mike.
On 9/28/2014 at 5:01 PM Steven Hartland wrote:

|The only recent ATAPI change I recall is 270327, does it still occur
|if you revert that?
|
|Regards
|Steve
 =


Yet another data point (actually two data points).  I had an older
STABLE image sitting around.

FreeBSD-10.0-STABLE-i386-20140712-r268571-disc1

The looping occurs also with that CD.


And, finally, the looping does not occur with 10.0-RELEASE.  This
release seems to be able to recover from the timeouts.

So that should put a time bracket on the issue, roughly the first
half of 2014.







___
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


[no subject]

2014-09-28 Thread Mike.


I'm starting to look at FreeBSD 11-current to see what's coming soon.
 I have an older notebook that I use for test environments for
purposes such as this.  Unfortunately, the notebook won't boot up
from the install CD, there's a loop it cannot seem to get out of.  



Details are:

- The install CD was made from this image:
   FreeBSD-11.0-CURRENT-i386-20140918-r271779-disc1

- The dmesg for the notebook is at the end of this message.  The
dmesg was captured with FreeBSD 10.0.  In the dmesg, you can see the
following lines:

(aprobe0:ata1:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00
00 00 00
(aprobe0:ata1:0:1:0): CAM status: Command timeout
(aprobe0:ata1:0:1:0): Error 5, Retry was blocked
run_interrupt_driven_hooks: still waiting after 60 seconds for
xpt_config
(aprobe0:ata1:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00
00 00 00
(aprobe0:ata1:0:1:0): CAM status: Command timeout
(aprobe0:ata1:0:1:0): Error 5, Retry was blocked


which, while slowing down the boot process drastically, still allowed
the boot process to run to successful completion.


- When I try to boot using the FreeBSD 11-current install CD, that
loop seems to go on ad infinitum, or at least for the 5 minutes until
I gave up.   I cannot post a dmesg from that boot-up because I never
got to a prompt.  However, I did take a couple of pictures of the
offending screens.  They are here:
 http://archive.mgm51.com/cache/fbsd-11-current-01.jpg
 http://archive.mgm51.com/cache/fbsd-11-current-02.jpg
The first image shows the start of the looping, and the second shows
the continuation.


While this notebook is used only for testing, it is important to me
in that aspect.  How can I get around this looping issue?

Please let me know if there's any additional info you need.

Thanks.





And now, the dmesg...

Copyright (c) 1992-2014 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.0-RELEASE-p8 #1 r271323: Wed Sep 10 20:25:45 EDT 2014
r...@a31pf.245l.home:/usr/obj/usr/src/sys/GENERIC i386
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
CPU: Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz (1698.60-MHz 686-class
CPU)
  Origin = GenuineIntel  Id = 0xf24  Family = 0xf  Model = 0x2
Stepping = 4
  Features=0x3febf9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,
MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
real memory  = 1073741824 (1024 MB)
avail memory = 1029230592 (981 MB)
kbd1 at kbdmux0
random: Software, Yarrow initialized
acpi0: IBM TP-1G on motherboard
acpi_ec0: Embedded Controller: GPE 0x1c, ECDT port 0x62,0x66 on
acpi0
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, 3ff0 (3) failed
cpu0: ACPI CPU on acpi0
attimer0: AT timer port 0x40-0x43 irq 0 on acpi0
Timecounter i8254 frequency 1193182 Hz quality 0
Event timer i8254 frequency 1193182 Hz quality 100
atrtc0: AT realtime clock port 0x70-0x71 irq 8 on acpi0
Event timer RTC frequency 32768 Hz quality 0
Timecounter ACPI-safe frequency 3579545 Hz quality 850
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on
acpi0
acpi_lid0: Control Method Lid Switch on acpi0
acpi_button0: Sleep Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel 82845 host to AGP bridge on hostb0
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
vgapci0: VGA-compatible display port 0x3000-0x30ff mem
0xe800-0xefff,0xd010-0xd010 irq 11 at device 0.0 on
pci1
vgapci0: Boot video device
uhci0: Intel 82801CA/CAM (ICH3) USB controller USB-A port
0x1800-0x181f irq 11 at device 29.0 on pci0
usbus0 on uhci0
uhci1: Intel 82801CA/CAM (ICH3) USB controller USB-B port
0x1820-0x183f irq 11 at device 29.1 on pci0
usbus1 on uhci1
uhci2: Intel 82801CA/CAM (ICH3) USB controller USB-C port
0x1840-0x185f irq 11 at device 29.2 on pci0
usbus2 on uhci2
pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0
pci2: ACPI PCI bus on pcib2
cbb0: RF5C476 PCI-CardBus Bridge mem 0x5000-0x5fff irq 11
at device 0.0 on pci2
cardbus0: CardBus bus on cbb0
pccard0: 16-bit PCCard bus on cbb0
cbb1: RF5C476 PCI-CardBus Bridge mem 0x5010-0x50100fff irq 11
at device 0.1 on pci2
cardbus1: CardBus bus on cbb1
pccard1: 16-bit PCCard bus on cbb1
pci2: serial bus, FireWire at device 0.2 (no driver attached)
fxp0: Intel 82801CAM (ICH3) Pro/100 VE Ethernet port 0x8000-0x803f
mem 0xd020-0xd0200fff irq 11 at device 8.0 on pci2
miibus0: MII bus on fxp0
inphy0: i82562ET 10/100 media interface PHY 1 on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto,
auto-flow
fxp0: Ethernet address: 00:0e:9b:2c:d3:f6
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH3 UDMA100 controller port

Looping during boot-up process in FreeBSD-11 current

2014-09-28 Thread Mike.


I'm starting to look at FreeBSD 11-current to see what's coming soon.
 I have an older notebook that I use for test environments for
purposes such as this.  Unfortunately, the notebook won't boot up
from the install CD, there's a loop it cannot seem to get out of.  



Details are:

- The install CD was made from this image:
   FreeBSD-11.0-CURRENT-i386-20140918-r271779-disc1

- The dmesg for the notebook is at the end of this message.  The
dmesg was captured with FreeBSD 10.0.  In the dmesg, you can see the
following lines:

(aprobe0:ata1:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00
00 00 00
(aprobe0:ata1:0:1:0): CAM status: Command timeout
(aprobe0:ata1:0:1:0): Error 5, Retry was blocked
run_interrupt_driven_hooks: still waiting after 60 seconds for
xpt_config
(aprobe0:ata1:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00
00 00 00
(aprobe0:ata1:0:1:0): CAM status: Command timeout
(aprobe0:ata1:0:1:0): Error 5, Retry was blocked


which, while slowing down the boot process drastically, still allowed
the boot process to run to successful completion.


- When I try to boot using the FreeBSD 11-current install CD, that
loop seems to go on ad infinitum, or at least for the 5 minutes until
I gave up.   I cannot post a dmesg from that boot-up because I never
got to a prompt.  However, I did take a couple of pictures of the
offending screens.  They are here:
 http://archive.mgm51.com/cache/fbsd-11-current-01.jpg
 http://archive.mgm51.com/cache/fbsd-11-current-02.jpg
The first image shows the start of the looping, and the second shows
the continuation.


While this notebook is used only for testing, it is important to me
in that aspect.  How can I get around this looping issue?

Please let me know if there's any additional info you need.

Thanks.





And now, the dmesg...

Copyright (c) 1992-2014 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.0-RELEASE-p8 #1 r271323: Wed Sep 10 20:25:45 EDT 2014
r...@a31pf.245l.home:/usr/obj/usr/src/sys/GENERIC i386
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
CPU: Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz (1698.60-MHz 686-class
CPU)
  Origin = GenuineIntel  Id = 0xf24  Family = 0xf  Model = 0x2
Stepping = 4
  Features=0x3febf9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,
MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
real memory  = 1073741824 (1024 MB)
avail memory = 1029230592 (981 MB)
kbd1 at kbdmux0
random: Software, Yarrow initialized
acpi0: IBM TP-1G on motherboard
acpi_ec0: Embedded Controller: GPE 0x1c, ECDT port 0x62,0x66 on
acpi0
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, 3ff0 (3) failed
cpu0: ACPI CPU on acpi0
attimer0: AT timer port 0x40-0x43 irq 0 on acpi0
Timecounter i8254 frequency 1193182 Hz quality 0
Event timer i8254 frequency 1193182 Hz quality 100
atrtc0: AT realtime clock port 0x70-0x71 irq 8 on acpi0
Event timer RTC frequency 32768 Hz quality 0
Timecounter ACPI-safe frequency 3579545 Hz quality 850
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on
acpi0
acpi_lid0: Control Method Lid Switch on acpi0
acpi_button0: Sleep Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel 82845 host to AGP bridge on hostb0
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
vgapci0: VGA-compatible display port 0x3000-0x30ff mem
0xe800-0xefff,0xd010-0xd010 irq 11 at device 0.0 on
pci1
vgapci0: Boot video device
uhci0: Intel 82801CA/CAM (ICH3) USB controller USB-A port
0x1800-0x181f irq 11 at device 29.0 on pci0
usbus0 on uhci0
uhci1: Intel 82801CA/CAM (ICH3) USB controller USB-B port
0x1820-0x183f irq 11 at device 29.1 on pci0
usbus1 on uhci1
uhci2: Intel 82801CA/CAM (ICH3) USB controller USB-C port
0x1840-0x185f irq 11 at device 29.2 on pci0
usbus2 on uhci2
pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0
pci2: ACPI PCI bus on pcib2
cbb0: RF5C476 PCI-CardBus Bridge mem 0x5000-0x5fff irq 11
at device 0.0 on pci2
cardbus0: CardBus bus on cbb0
pccard0: 16-bit PCCard bus on cbb0
cbb1: RF5C476 PCI-CardBus Bridge mem 0x5010-0x50100fff irq 11
at device 0.1 on pci2
cardbus1: CardBus bus on cbb1
pccard1: 16-bit PCCard bus on cbb1
pci2: serial bus, FireWire at device 0.2 (no driver attached)
fxp0: Intel 82801CAM (ICH3) Pro/100 VE Ethernet port 0x8000-0x803f
mem 0xd020-0xd0200fff irq 11 at device 8.0 on pci2
miibus0: MII bus on fxp0
inphy0: i82562ET 10/100 media interface PHY 1 on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto,
auto-flow
fxp0: Ethernet address: 00:0e:9b:2c:d3:f6
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH3 UDMA100 controller port

Re: Looping during boot-up process in FreeBSD-11 current

2014-09-28 Thread Mike.


On 9/28/2014 at 5:01 PM Steven Hartland wrote:

|The only recent ATAPI change I recall is 270327, does it still occur
|if you revert that?
|
=


OK, I'll download the 11-current source.

Then revert 270327
 https://svnweb.freebsd.org/base/head/sys/cam/ata/ata_xpt.c?r1=270327;
r2=270326pathrev=270327

Recompile the system

And try to boot.


I'll post the results in a couple of days (full system compiles take
a while on this notebook).

(unless someone has a 11-current ISO snapshot from before 270327?)





___
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: Looping during boot-up process in FreeBSD-11 current

2014-09-28 Thread Mike.
On 9/28/2014 at 6:25 PM Steven Hartland wrote:

|You'll only need a new kernel and if you cut down to modules /
drivers
|you need then that shouldn't take too long.
|
 =

Buildworld is running now.  So it will be running overnight, and
should be finished by the time I can get to it again tomorrow.

Thanks.

___
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: Future of pf / firewall in FreeBSD ? - does it have one ?

2014-07-20 Thread Mike.
On 7/19/2014 at 9:36 PM Darren Pilgrim wrote:

|On 7/18/2014 6:51 AM, Franco Fichtner wrote:
| [snip]
|
|
|All because over half a decade ago some folks got all butthurt over
a 
|config file format change.
 =


I'm juggling two formats for specifying NIC configurations in
rc.conf, one on a 8.4 server and another on some 10.0 servers.  I've
also been through pf.conf syntax changes in the past, and I expect to
be subject to pf.con syntax changes in the future.   Did I have to do
some extra work to accomodate those changes?  Yes.  Was it worth the
effort?  Absolutely.

Not only am I handling the handling of two NIC configuration syntaxes
OK, I look forward to when I can bring the 8.4 server up to 10.x for,
among other things, imo the better syntax of the networking
configuration in 10.x.


imho, the root problem here is that an effort to implement a single
feature improvement (multi-threading) has caused the FreeBSD version
of pf to apparently reach a near-unmaintainable position in the
FreeBSD community because improvements from OpenBSD can no longer be
ported over easily.   FreeBSD's pf has been put in a virtual
isolation chamber due to the multi-threaded enhancement.

Was it worth it?

___
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: Future of pf / firewall in FreeBSD ? - does it have one ?

2014-07-20 Thread Mike.
On 7/20/2014 at 5:38 PM Franco Fichtner wrote:

|On 20 Jul 2014, at 15:39, Mike. the.li...@mgm51.com wrote:
|
| imho, the root problem here is that an effort to implement a
single
| feature improvement (multi-threading) has caused the FreeBSD
version
| of pf to apparently reach a near-unmaintainable position in the
| FreeBSD community because improvements from OpenBSD can no longer
be
| ported over easily.   FreeBSD's pf has been put in a virtual
| isolation chamber due to the multi-threaded enhancement.
| 
| Was it worth it?
|
|Yes.  This happened *three times* in BSD land now.  How much more
|proof does it take to make that clear?
|[snip]
 =


In this instance, more proof would consist of pf development not
wallowing in inactivity.


imo, tactical changes were implemented in pf without the strategic
negative consequences affecting the decision process guiding the
implementation of those tactical features.And that's backwards.
Strategies direct tactics, not vice versa.




___
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: OpenSSL vs. LibreSSL (OpenBSD)

2014-04-24 Thread Mike Jakubik

On 04/24/14 17:41, Alfred Perlstein wrote:


On 4/24/14, 1:35 PM, O. Hartmann wrote:
It seems that OpenBSD is now forking their own SSL implementation, 
called LibreSSL. As
OpenBSD speaks for many similar opinion regarding the state of the 
code of OpenSSL, I'd
like to hear what the plans are in FreeBSD for this critical portion 
of software.


Is FreeBSD going to support the effords taken by OpenBSD and 
participating in the

LibreSSL development (http://www.libressl.org/)?

oh
We need to discuss the use of comic sans font across our web 
properties first.




At bottom in small font:

This page scientifically designed to annoy web hipsters. Donate now 
http://www.openbsdfoundation.org/donations.html to stop the Comic Sans 
and Blink Tags


:)
___
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: FreeBSD compile with VT / Newcons... can we disable the bell / beep hardware sound?

2014-04-11 Thread Mike C.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512



On 11 April 2014 08:30:36 WEST, Andreas Nilsson andrn...@gmail.com wrote:
On Fri, Apr 11, 2014 at 8:24 AM, Aleksandr Rybalko r...@freebsd.org
wrote:

 On Fri, 11 Apr 2014 02:07:43 +0100
 Miguel Clara miguelmcl...@gmail.com wrote:

  Hum... I've found this:
 

http://lists.freebsd.org/pipermail/svn-src-head/2013-December/054676.html
 
  Does this mean that it should actually be disabled by default?

 Hello Miguel,

 No, it's mean you can try with:
 kbdcontrol -b quiet

 Good luck!


I also have annoying beeps with vt, but

$ kbdcontrol -b quiet
kbdcontrol: argument to -b must be duration.pitch or
[quiet.]visual|normal|off

However kbdcontrol -b quiet.off is accepted.

Best regards
Andreas


Good to know I was not alone :)

thanks both for the hint, had no idea I could do that.




 
 
  On Fri, Apr 11, 2014 at 2:06 AM, Miguel Clara
  miguelmcl...@gmail.comwrote:
 
   TTYs and even using the console in Xfce terminal
  
  
   On Fri, Apr 11, 2014 at 2:05 AM, Glen Barber g...@freebsd.org
   wrote:
  
   On Fri, Apr 11, 2014 at 02:02:01AM +0100, Miguel Clara wrote:
On Fri, Apr 11, 2014 at 1:56 AM, Glen Barber g...@freebsd.org
wrote:
   
 On Fri, Apr 11, 2014 at 01:52:34AM +0100, Miguel Clara
wrote:
  WIth syscons this can be done with
 
 
  # sysctl hw.syscons.bell=0
 
  But after kernel is compiled with VT this systcl is of
  course not
 possible
  anymore!
 
  Any alternative?

 I have yet to hear any bell sounds with vt(4).

 Can you clarify the problem, and where this happens?

When I for example use TAB to complete and there's more than
one result... or none!
   
   
Happens to me both in FreeBSD 11 current (HP Laptop) and with
10
+VT
   
  
   SSH?  Serial console?  X?
  
   Glen
  
  
  
  ___
  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

 WBW
 --
 Aleksandr Rybalko r...@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


- --
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-BEGIN PGP SIGNATURE-
Version: APG v1.1.1

iQJDBAEBCgAtBQJTR7pxJhxNaWd1ZWwgQ2xhcmEgPG1pZ3VlbG1jbGFyYUBnbWFp
bC5jb20+AAoJEGKyFhaKt9g3PrYQANUW192wpLzMj0fXP6Xu/Thy0V/I9s6c4DZm
u+7CwEb8leMJZZ9Dvrqa6bXISZXvi4xmPchoBtuLSmtnHXkgQzE5DARkSOLzv2EO
NNiqe4/OhV1mivM1ehWHGczIl0T0qTJAo1fgcSLLIG5PTN5FADvj2nlsPBNl9NIW
mnZgTS6O8+mJoYvf/S9WaXvwefe5fROgKrGmC297Bqt+9vv2fmECzvxyoYI4skLI
QAnzO8IT8yzhjgpce5tJBPo+GJmYhaI9HFJWlhJ4Zkq03KQXGpX5BM2TJ88nFmQg
nA2JO0KaQm2E6Hj4sIWocR7Ovk+2HFbc9ceYaKmruRCxFDCthmjrx4cb7mw/wHJb
LIt1XRxyeK4p0x7S6YM78VPKJQcosvedKtJ95/XdiVZERRErgl8kLx/hNgqK7fX0
MtkgGc253p0880ukUOhPOzJAYpsCYHCu4m7qP/JiYfMYQMi1vz4rmIGt+vn5rZmE
PDxB/nYSiety3Sh7Bmqw/cqvSkegZMkaJuMKkAUCQ2A8y7V0DJZ48y+1MMgzD2/S
Y8RlUwwJorMWBMbnG401JytY8RUykeaobCRzVpUdLfy2+QpTSQ94TlAZEedp9VkA
/TYM+uq6/mbhSpKD7QcHFbHA9vk+m1KaG2pF1NcoYwiHOZwwZS2TMq5mtKYavKjV
UtTIJZk9
=G+q9
-END PGP SIGNATURE-

___
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: Bad judgement using chflags

2014-04-03 Thread Mike Tancsa

chflags 0 will remove the flags

---Mike

On 4/3/2014 4:52 PM, Joe Nosay wrote:

I thought I could clear the .svn directory using chflag -R noschg
/usr/src/.svn/* and..
I screwed up my system for svn checkout of CURRENT.
Live and learn.
Anyway, how do I fix this?
Thanks
___
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





--
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: geli TRIM support

2014-03-20 Thread Mike C.
I was actually googling   about this yesterday and found no more info then the 
thread you posted.

So its seems that nothing was done related to this so far?

Which means using trim+geli is problematic.

I was using my ssd with UFS+trim+geli in my laptop. But even before noticing 
the lack of support changed my setup... since the laptop has both a ssd and hdd 
I am now using zfs+geli in the hdd.
I have 2 partitions in the ssd and I'm using it for log/cache.

But for laptops with 1ssd only this is a problem
I also read that new ssd's depending on the vendor might not need trim at all, 
but I'm not really sure how to tell.


On 20 March 2014 18:21:51 WET, Greg Rivers gcr+freebsd-curr...@tharned.org 
wrote:
A while back there was talk of adding TRIM support to geli(8) [1]. 
Does 
anyone know if progress has been made or if there are still plans for
it?

[1]
http://lists.freebsd.org/pipermail/freebsd-fs/2013-March/016773.html

-- 
Greg Rivers
___
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

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
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


Newcons radeonkms - Failed to load firmware radeonkmsfw_TURKS_PFP

2014-01-25 Thread Mike C.

Please see the attached jpeg for the full error.

After rebuilding the kernel with newcons support (which is working) I've placed 
radeonkms_load=YES in boot loader and rebooted and get this screen.

what am I doing wrong?

thanks
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
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: Newcons radeonkms - Failed to load firmware radeonkmsfw_TURKS_PFP

2014-01-25 Thread Mike C.

the line:

error: [drm:pid0evergreen_startup] *ERROR* radeon: MC ucode required for NI+

is maybe more relevant? the other error seems to be related with GPU 
acceleration, but this one seems to be causing me init failure?

Or not... 

Thanks

Mike C. miguelmcl...@gmail.com wrote:

Please see the attached jpeg for the full error.

After rebuilding the kernel with newcons support (which is working)
I've placed radeonkms_load=YES in boot loader and rebooted and get
this screen.

what am I doing wrong?

thanks
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
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: Newcons radeonkms - Failed to load firmware radeonkmsfw_TURKS_PFP

2014-01-25 Thread Mike C.

Ah I was wrongly assuming that loading readonkms would do that, but as you say 
and the guide the filesystem isn't mounted... stupid me!

Many thanks.



Jean-Sébastien Pédron dumbb...@freebsd.org wrote:
On 25.01.2014 18:43, Mike C. wrote:
 After rebuilding the kernel with newcons support (which is working)
 I've placed radeonkms_load=YES in boot loader and rebooted and get
 this screen.
 
 what am I doing wrong?

Hello!

If you want to load radeonkms at boot time (from /boot/loader.conf),
you
need to load the required firmwares too, otherwise they can't be loaded
automatically during boot (/ isn't mounted yet).

To find the list of firmwares you need to load, you can read
instructions on the wiki:
https://wiki.freebsd.org/Graphics#Video_driver_loaded_at_boot_time

-- 
Jean-Sébastien Pédron

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
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: Newcons radeonkms - Failed to load firmware radeonkmsfw_TURKS_PFP

2014-01-25 Thread Mike C.

Worked but I'm still stuck in this case at 'vt_allocate: Replace existing VT 
driver.'

a few lines up I see:
No connectors reported connected with modes.

should I post to freebsd-...@freebsd.org?

Thanks


Jean-Sébastien Pédron dumbb...@freebsd.org wrote:
On 25.01.2014 18:43, Mike C. wrote:
 After rebuilding the kernel with newcons support (which is working)
 I've placed radeonkms_load=YES in boot loader and rebooted and get
 this screen.
 
 what am I doing wrong?

Hello!

If you want to load radeonkms at boot time (from /boot/loader.conf),
you
need to load the required firmwares too, otherwise they can't be loaded
automatically during boot (/ isn't mounted yet).

To find the list of firmwares you need to load, you can read
instructions on the wiki:
https://wiki.freebsd.org/Graphics#Video_driver_loaded_at_boot_time

-- 
Jean-Sébastien Pédron

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
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: Newcons radeonkms - Failed to load firmware radeonkmsfw_TURKS_PFP

2014-01-25 Thread Mike C.
Sure, 

Btw, I wonder if there's a way to ignore loader.conf at boot?

Otherwise I can boot from an install image, just courious tough, would be nice 
if there a way to do it.

I will post the output on the other mailing list


Jean-Sébastien Pédron dumbb...@freebsd.org wrote:
On 25.01.2014 22:45, Mike C. wrote:
 Worked but I'm still stuck in this case at 'vt_allocate: Replace
existing VT driver.'
 
 a few lines up I see:
 No connectors reported connected with modes.

Could you please boot without loading the Radeon driver from
loader.conf, and run kldload radeonkms, then post a full dmesg?

 should I post to freebsd-...@freebsd.org?

Yes, this will be more on topic.

-- 
Jean-Sébastien Pédron

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
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: Newcons radeonkms - Failed to load firmware radeonkmsfw_TURKS_PFP

2014-01-25 Thread Mike C.

found how to do that, but since I have zfs on root with geli I'm better off 
just using the USB install image.


Just changed and booted again, tried the kldload and got a similar screen 
freezer.

I'll have to attach a screenshot again.


I should also mention this is a laptop with an ati card but it also has Intel 
integrated graphics (i7 processor).
Maybe this is what causes he issue?

startx also fails and auto loads radeonkms and i915kms.

I'll attach Xorg.log after reboot.


thanks


Mike C. miguelmcl...@gmail.com wrote:
Sure, 

Btw, I wonder if there's a way to ignore loader.conf at boot?

Otherwise I can boot from an install image, just courious tough, would
be nice if there a way to do it.

I will post the output on the other mailing list


Jean-Sébastien Pédron dumbb...@freebsd.org wrote:
On 25.01.2014 22:45, Mike C. wrote:
 Worked but I'm still stuck in this case at 'vt_allocate: Replace
existing VT driver.'
 
 a few lines up I see:
 No connectors reported connected with modes.

Could you please boot without loading the Radeon driver from
loader.conf, and run kldload radeonkms, then post a full dmesg?

 should I post to freebsd-...@freebsd.org?

Yes, this will be more on topic.

-- 
Jean-Sébastien Pédron

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
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: Freebsd 11 current testing ndis / kldload: bcmwl564_sys.ko PANIC

2014-01-23 Thread Mike C.
hum... the driver I need is for broadcom 4313 wireless, It seems the modules 
available don't work for that one... wonder of they ever will?

I would definitely prefer that to using ndis.


Adrian Chadd adr...@freebsd.org wrote:
It's actually fpu code in ndis drivers. I'm going to deprecate NDIS
this year, so ..

OTOH, the FPU save support would be cool.


-a


On 22 January 2014 20:10, Miguel Clara miguelmcl...@gmail.com wrote:
 Getting a panic: Unregistered use of FPU in kernel


 There seems to be a patch for FreeBSD 10, but  not sure if it wold
apply

 http://www.freebsd.org/cgi/query-pr.cgi?pr=165622sourceid=opensearch


 Thanks
 ___
 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

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
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: nanobsd / dd problem?

2013-12-09 Thread mike

Hi,

On Mon, 9 Dec 2013, freebsdonline wrote:
...
Theres also an issue with package management, the nanobsd script still uses 
pkg_add instead of pkg.




for -current I've added cust_pkgng() to nanobsd.sh
It needs to get called manually instead of cust_pkg() though.
( customize_cmd cust_pkgng )

Greetings
---
Michael Reifenberger
___
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: 10.0-BETA1 i386 on VirtualBox

2013-11-05 Thread Mike Jakubik


On 11/05/13 12:45, Konstantin Belousov wrote:


This is not the fix, it is rather a masking for a bug.  Right now, I
am even more sure that the issue is in vbox.

And still, anybody able to get the problem on amd64 guest ?


I have run numerous versions of 10 (64bit) inside VirtualBox without any 
issues, the only problem I have is that virtualbox additions don't 
compile on 10.


___
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: Can't start iscsid - kldload: can't load iscsi: Exec format error - FreeBSD 10 Alpha 2

2013-10-11 Thread Mike C.

On 10/11/13 09:24, Edward Tomasz Napierała wrote:
 Wiadomość napisana przez Mike C. w dniu 10 paź 2013, o godz. 23:41:
 Hi,

 I'm running Alpha-2 and wanted to test with iscsi but it seems I can't
 start iscsid.


 $ sudo service iscsid onerestart
 kldload: can't load iscsi: Exec format error
 /etc/rc.d/iscsid: WARNING: Unable to load kernel module iscsi
 /etc/rc.d/iscsid: WARNING: failed precmd routine for iscsid


 dmesg shows:
 interface icl.1 already present in the KLD 'kernel'!
 linker_load_file: Unsupported file type
 
 Do you have device ctl in your kernel config?  If so,
 either remove it (ctl.ko module is automatically loaded
 by ctladm), or add device iscsi.

device  ctl # CAM Target Layer

Seems that GENERIC has it by default! I'll remove and recompile!

Thanks

 
 The problem here is that part of the code (icl) is shared
 between the target (which is part of CTL) and initiator
 (iscsi.ko); compiling CTL into the kernel pulls that part
 in, and the iscsi.ko can't get loaded because, well, icl
 is already present in the kernel, as the error message
 says.
 
 Let me know how it works for you.
 
___
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


Can't start iscsid - kldload: can't load iscsi: Exec format error - FreeBSD 10 Alpha 2

2013-10-10 Thread Mike C.

Hi,

I'm running Alpha-2 and wanted to test with iscsi but it seems I can't
start iscsid.


$ sudo service iscsid onerestart
kldload: can't load iscsi: Exec format error
/etc/rc.d/iscsid: WARNING: Unable to load kernel module iscsi
/etc/rc.d/iscsid: WARNING: failed precmd routine for iscsid


dmesg shows:
interface icl.1 already present in the KLD 'kernel'!
linker_load_file: Unsupported file type


And also it seems that iscsi is actually already loaded:

sudo kldstat -v | grep isci
470 pci/isci


Any help is appreciated.



-- 
Melhores Cumprimentos // Best Regards

Miguel Clara
*nix Sys Admin Freelance

___
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: Can't start iscsid - kldload: can't load iscsi: Exec format error - FreeBSD 10 Alpha 2

2013-10-10 Thread Mike C.
On 10/10/13 22:50, Allan Jude wrote:
 On 2013-10-10 17:41, Mike C. wrote:
 Hi,

 I'm running Alpha-2 and wanted to test with iscsi but it seems I can't
 start iscsid.


 $ sudo service iscsid onerestart
 kldload: can't load iscsi: Exec format error
 /etc/rc.d/iscsid: WARNING: Unable to load kernel module iscsi
 /etc/rc.d/iscsid: WARNING: failed precmd routine for iscsid


 dmesg shows:
 interface icl.1 already present in the KLD 'kernel'!
 linker_load_file: Unsupported file type


 And also it seems that iscsi is actually already loaded:

 sudo kldstat -v | grep isci
 470 pci/isci


 Any help is appreciated.



 isci is the intel SAS driver, not iscsi (confusing name)

Opps, you're right about that sorry.

 
 The problem appears to be that the iscsi module you have is not the same
 version as your kernel, try updating to ALPHA5
 

Hum, doesn't seems to be the case, but I doesn't hurt trying ALPHA 5 I
guess/hope!
___
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: [Heads Up] RCS removed from base

2013-10-08 Thread Mike C.

On 10/08/13 16:36, Kurt Lidl wrote:
 On 10/8/13, Julian Elischer wrote:
 On 10/7/13 11:06 PM, Steve Kargl wrote:
 On Sun, Oct 06, 2013 at 10:43:21PM -0400, Eitan Adler wrote:
 Hey all,

 RCS was removed from the base system in r256095.  If you still want to
 use RCS please install either devel/rcs or devel/rcs57.  If not, be
 sure to check out the alternatives (pun stolen and intended).

 Perhaps, a note in src/UPDATING is appropriate?

 ok so what is this, the secret cabal to make FreeBSD useless?
 I'm ccing core as I believe this was not discussed enough in public
 (in fact not discussed AT ALL in any forum I am watching)
 and I officially request a backout of the removal of what I consider
 to be core functionality.

 My usual way of doing things is on install to ci EVERYTHING in /etc
 to get a snapsot right the way back to install.

 now I have to change things in /etc (and other places) BEFORE I can
 check them in.
 (i.e. get networking up and ports installed)
 not a big thing but I believe that a lot of poeple use ci/co on /etc
 becasue it is just there

 
 +1 for keeping a RCS in base.  I too use to maintain a bunch of
 files in /etc - I have for years and years.  I don't particularly
 want the GPL'd version - I'd be happiest with the OpenRCS version
 (BSD-licensed) from OpenBSD.

+1 for OpenRCS
 
 -Kurt
 
 
 
 ___
 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-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Cannot compile many ports because of missing -lsupc++ and -lstdc++

2013-10-01 Thread Mike Jakubik

Hello,

I am having trouble compiling many ports which fail with one of the 
following errors.


/usr/bin/ld: cannot find -lstdc++
/usr/bin/ld: cannot find -lsupc++

I understand 10 has a new c++ library, but how can I get ports to build 
with this? This is quite frustrating. I am using a fresh install of 
ALPHA4, nothing in make.conf.


Thanks.


___
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: Cannot compile many ports because of missing -lsupc++ and -lstdc++

2013-10-01 Thread Mike Jakubik

On 10/01/13 18:55, Baptiste Daroussin wrote:

On Tue, Oct 01, 2013 at 06:51:39PM -0400, Mike Jakubik wrote:

Hello,

I am having trouble compiling many ports which fail with one of the
following errors.

/usr/bin/ld: cannot find -lstdc++
/usr/bin/ld: cannot find -lsupc++

I understand 10 has a new c++ library, but how can I get ports to build
with this? This is quite frustrating. I am using a fresh install of
ALPHA4, nothing in make.conf.

Thanks.


All the said port should be reported, what do you mean by many? exp-run shows
not that many (compared to the number of ports available in the ports tree).

All of them deserves a proper fix, but if not reported we can't fix them all :)

regards,
Bapt


Where should I report, the port maintainer? Ok I guess many is a 
relative term, i've tried to compile virtualbox-ose-additions and got 
this error, tried to install xfce, same error on a dependency. So I 
decided screw this new clang and try with gcc48, well i got the same 
error when gmp was being built.


___
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


Fwd: Virtualbox Settings don't show any window (FreeBSD-10 current)

2013-09-16 Thread Mike C.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Perhaps this is best placed in current list!

-  Original Message 
Subject: Virtualbox Settings don't show any window (FreeBSD-10 current)
Date: Sun, 15 Sep 2013 18:35:02 +
From: Mike C. miguelmcl...@gmail.com
To: freebsd-emulat...@freebsd.org


I've successfully installed virtualbox in my Latptop running Freebsd-10
current...

Everything seems fine except for when I click the Settings button it
doesn't show any window and the current windows stays locked (I can't
click anything)...

Running VirtualBox from the command-line I don't see any error...

Has anyone tried VirtualBox in FreeBSD-10?

Thanks!


-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.21 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSNxItAAoJEGKyFhaKt9g3utAP/34rlyrLGntXCIDa9LHv3Qly
nmRRcIWgkT//MEDFG2OZMdWo+50DQ12k9L0qAAoUkezhDqfZXTo+U5DOn2mr0MEf
2KOXT5yMkqNBtab54a/nCDxp0bCAiaMSJjsKqXjF6mq6fqoj6aVEFJY6rgzG+Qb1
cAjHlBfbOBcOFtWd4xt0+w1m5VodnJ8dsd5CTVfkazTRRfk32qlLMraRUmQT1x+C
STi2Dt4xDJzbx6MThDcwjOfudPQeQiQ1SnFn65aNRCxSj//pNcZW0DeU3efKq730
1RA2yPjpoqzrPklkkW4wF0Kv/50rGGytS1WYcA01uwBq8noBdVmW9J7GfeqmVuF8
vATRX8eDYNVtkJLZmBqgUgXPT0BocHpoW7qPpTmRHG2OJ8TQTIytGT+nx08rG/T3
EEWssgY/kOKDfYgB9DYcgLyGIPcLt0JuwCWL/sm5wzX1bogNyVhrn5hmJTTiFAng
O4cbyXDPaEHdZhQ9SibqiJ2H1FfUa4keD0d2JW2ZhR5cSFD3oW1s8WprNf/ujBWn
Bc7Z78qy4z0feqrYUabFKMxhmJJtwVfW7Y7Kmuzuvk08CHYjsAikQjumkKNm4Onz
iYFFDfYXbEF73KJslr7tY+kWIY1iRuFc4xnjjaucEIbG/Bp7SvgMhTsNgQ7d//z5
ZVwvJTV0HsyqF+VPz1Ei
=kQa4
-END PGP SIGNATURE-
___
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: Cant build 32bit libraries

2013-09-05 Thread Mike Jakubik


On 09/05/13 09:56, John Baldwin wrote:

On Wednesday, September 04, 2013 5:27:24 pm Mike Jakubik wrote:

Hello,

I'm trying to install 32 libraries or a resent snapshot, but i get this
error.

/usr/src # make build32

I'm not sure that is supposed to work standalone.  Perhaps try doing a make
toolchain first.



I think you are correct, a complete make buildworld works fine. This 
used to work on -STABLE.


Thanks.
___
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


Cant build 32bit libraries

2013-09-04 Thread Mike Jakubik

Hello,

I'm trying to install 32 libraries or a resent snapshot, but i get this 
error.


/usr/src # make build32

...

=== kerberos5/liblibheimipcc (installincludes)
=== kerberos5/liblibheimipcs (installincludes)
cd /usr/src/usr.bin/lex/lib; MACHINE=i386 MACHINE_ARCH=i386 
MACHINE_CPU=i686 mmx sse sse2 MAKEOBJDIRPREFIX=/usr/obj/lib32 
_SHLIBDIRPREFIX=/usr/obj/usr/src/lib32 
_LDSCRIPTROOT=/usr/obj/usr/src/lib32  VERSION=FreeBSD 10.0-CURRENT 
amd64 151  INSTALL=sh /usr/src/tools/install.sh 
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin 
LIBDIR=/usr/lib32  SHLIBDIR=/usr/lib32  COMPILER_TYPE=clang make AS=as 
--32  LD=ld -m elf_i386_fbsd -Y P,/usr/obj/usr/src/lib32/usr/lib32 
CC=cc -m32 -march=native -DCOMPAT_32BIT  -isystem 
/usr/obj/usr/src/lib32/usr/include/ -L/usr/obj/usr/src/lib32/usr/lib32 
-B/usr/obj/usr/src/lib32/usr/lib32  CXX=c++ -m32 -march=native 
-DCOMPAT_32BIT  -isystem /usr/obj/usr/src/lib32/usr/include/ 
-L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32  
DESTDIR=/usr/obj/usr/src/lib32 -DCOMPAT_32BIT  -DLIBRARIES_ONLY  
-DNO_CPU_CFLAGS  -DNO_CTF -DNO_LINT  -DWITHOUT_BIND -DWITHOUT_MAN 
-DWITHOUT_INFO -DWITHOUT_HTML DIRPRFX=usr.bin/lex/lib/ obj
cd /usr/src/lib/ncurses/ncurses;  WORLDTMP=/usr/obj/usr/src/tmp 
MAKEFLAGS=-m /usr/src/tools/build/mk  -m /usr/src/share/mk 
MAKEOBJDIRPREFIX=/usr/obj/lib32 make SSP_CFLAGS= DESTDIR= 
DIRPRFX=lib/ncurses/ncurses/ -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS 
-DNO_CTF  -DEARLY_BUILD build-tools
cd /usr/src/lib/ncurses/ncursesw;  WORLDTMP=/usr/obj/usr/src/tmp 
MAKEFLAGS=-m /usr/src/tools/build/mk  -m /usr/src/share/mk 
MAKEOBJDIRPREFIX=/usr/obj/lib32 make SSP_CFLAGS= DESTDIR= 
DIRPRFX=lib/ncurses/ncursesw/ -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS 
-DNO_CTF  -DEARLY_BUILD build-tools
cd /usr/src/lib/libmagic;  WORLDTMP=/usr/obj/usr/src/tmp MAKEFLAGS=-m 
/usr/src/tools/build/mk  -m /usr/src/share/mk 
MAKEOBJDIRPREFIX=/usr/obj/lib32 make SSP_CFLAGS= DESTDIR= 
DIRPRFX=lib/libmagic/ -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS -DNO_CTF 
-DEARLY_BUILD build-tools
cc -O2 -pipe -DMAGIC='/usr/share/misc/magic' -DHAVE_CONFIG_H 
-I/usr/src/lib/libmagic -I/usr/src/lib/libmagic/../../contrib/file 
-std=gnu99   -I/usr/obj/usr/src/tmp/legacy/usr/include -DCOMPILE_ONLY  
-L/usr/obj/usr/src/tmp/legacy/usr/lib -o mkmagic 
/usr/src/lib/libmagic/../../contrib/file/apprentice.c 
/usr/src/lib/libmagic/../../contrib/file/encoding.c 
/usr/src/lib/libmagic/../../contrib/file/funcs.c 
/usr/src/lib/libmagic/../../contrib/file/magic.c 
/usr/src/lib/libmagic/../../contrib/file/print.c  -lz -legacy

/usr/bin/ld: cannot find -legacy
cc: error: linker command failed with exit code 1 (use -v to see invocation)

10.0-CURRENT FreeBSD 10.0-CURRENT #1: Wed Sep  4 17:06:59 EDT 2013

Thanks.
___
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: patch to improve AES-NI performance

2013-08-23 Thread Mike Tancsa
On 8/23/2013 11:16 AM, Ollivier Robert wrote:
 According to John-Mark Gurney on Thu, Aug 22, 2013 at 01:20:27PM -0700:
 I have developed a patch to improve AES-NI performance.  If you took the
 AES-XTS algorithm into userland (no cryptodev or geli usage), these
 changes improve the performance over 10x in my tests (from ~150MB/sec to
 over 2GB/sec).  In tests of geli on gnop, the performance improvement is
 more moderate, around 4x due to overhead in other parts of the system.
 
 Thanks a lot for this patch.  Now, looking at it in the stable/9 context, I 
 can see that pjd did not merge (as he said at the time of commit) r226839  
 r226839.  Is there any objection to merge these two (and possibly 247061 as 
 well -- copyright update)?
 
 I ask that for two reasons, these two revisions are speeding up AES-NI quite 
 a bit and they are required for using jmg's patch.
 
 I'll be testing all this in the next few days on my new AES-NI enabled 
 machine.
 

Speeding up userland AES is very interesting to me for a couple of apps.
 If there is a proper way I should test on RELENG_9, please let me know
as I am few boxes that I would be happy to test/deploy on.

---Mike

-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: patch to improve AES-NI performance

2013-08-23 Thread Mike Tancsa
On 8/23/2013 2:05 PM, John-Mark Gurney wrote:
 Speeding up userland AES is very interesting to me for a couple of apps.
  If there is a proper way I should test on RELENG_9, please let me know
 as I am few boxes that I would be happy to test/deploy on.
 
 My patch would only effect userland applications that use /dev/crypto...
 
 If they do their own AES-NI work, then there isn't any improvement...

For me its ssh which I think does, no ?

---Mike

-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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


No SD card Reader support

2013-07-02 Thread Mike C.

Hi,

According to the windows drivers info on Acer's page, my laptop internal
SD card reader vendor is Realtek.

I'm not being able to use the card reader but I'm not sure how to debug
this...

I see nothing in dmesg related to the sh card reader, when inserting a
SDHC card or a SD card I see nothing...

usbconfig show's this:

# usbconfig
ugen0.1: XHCI root HUB 0x8086 at usbus0, cfg=0 md=HOST spd=SUPER
(5.0Gbps) pwr=SAVE (0mA)
ugen1.1: EHCI root HUB Intel at usbus1, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE (0mA)
ugen2.1: EHCI root HUB Intel at usbus2, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE (0mA)
ugen2.2: product 0x0024 vendor 0x8087 at usbus2, cfg=0 md=HOST
spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen1.2: product 0x0024 vendor 0x8087 at usbus1, cfg=0 md=HOST
spd=HIGH (480Mbps) pwr=ON (0mA)

But from here I'm not sure what more can I do to be able to use the card
reader!

Since I'm using Freebsd - Current, I guess this is the proper list to post!


Thanks

Mike
___
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: No SD card Reader support

2013-07-02 Thread Mike C.
On 07/03/13 00:18, John Hixson wrote:
 On Wed, Jul 03, 2013 at 01:16:19AM +, Mike C. wrote:
 Hi,

 According to the windows drivers info on Acer's page, my laptop internal
 SD card reader vendor is Realtek.

 I'm not being able to use the card reader but I'm not sure how to debug
 this...

 I see nothing in dmesg related to the sh card reader, when inserting a
 SDHC card or a SD card I see nothing...

 usbconfig show's this:

 # usbconfig
 ugen0.1: XHCI root HUB 0x8086 at usbus0, cfg=0 md=HOST spd=SUPER
 (5.0Gbps) pwr=SAVE (0mA)
 ugen1.1: EHCI root HUB Intel at usbus1, cfg=0 md=HOST spd=HIGH
 (480Mbps) pwr=SAVE (0mA)
 ugen2.1: EHCI root HUB Intel at usbus2, cfg=0 md=HOST spd=HIGH
 (480Mbps) pwr=SAVE (0mA)
 ugen2.2: product 0x0024 vendor 0x8087 at usbus2, cfg=0 md=HOST
 spd=HIGH (480Mbps) pwr=SAVE (0mA)
 ugen1.2: product 0x0024 vendor 0x8087 at usbus1, cfg=0 md=HOST
 spd=HIGH (480Mbps) pwr=ON (0mA)

 But from here I'm not sure what more can I do to be able to use the card
 reader!

 Since I'm using Freebsd - Current, I guess this is the proper list to post!

 I have this in my /boot/loader.conf:

 mmc_load=YES
 mmcsd_load=YES
 sdhci_load=YES
 sdhci_pci_load=YES


 Do you have these modules loaded?

I don't have the last, in any case:
kldload: can't load sdhci_pci: File exists

I do have the other lines in /boot/loader.conf



 Thanks

 Mike
 ___
 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
I
___
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: forwarding/ipfw/pf evolution (in pps) on -current

2013-04-24 Thread Mike Tancsa
On 4/24/2013 6:45 AM, Olivier Cochard-Labbé wrote:
 # Why all these benchs ? #
 
 I've found performance regression regarding packet forwarding/ipfw/pf
 speed on -current comparing to 9.1 on my old server.

BTW, how much of a drop in performance as compared to 9.1 ?


---Mike
-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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


steady stream of ath errors

2013-01-03 Thread Mike Tancsa
Experimenting with ath under RELENG8,9 and HEAD at home on my wifi
router, I found that with current from today (r244989) gives a steady
stream of errors.  How can I debug the issue in my setup ?

   input(Total)   output
   packets  errs idrops  bytespackets  errs  bytes colls
72 7 0  38865 78 0  76117 0
57 4 0989 32 0   2062 0
47 0 0   3369 29 0   5724 0
  162511 01394179   2214 02779765 0
  314620 02369588   3955 04723911 0
  326914 02499654   4130 04984206 0
  357019 02549189   4330 05082261 0
  339915 02485682   4201 04956613 0
  353022 02612967   4375 05207076 0
  334016 02371278   4040 04728272 0
  328114 02321800   3947 04628010 0
  309215 02263990   3826 04514317 0
  2905 8 02124069   3572 04235585 0
  301718 02229250   3722 0773 0
  270111 01709542   3064 03407885 0
  224511 01918413   3038 03824605 0
  342812 02508519   4251 05001890 0
  342814 02473616   4180 04931945 0
  322711 02264217   3886 04514416 0
  322314 02403237   4016 04792172 0
  331317 02402811   4048 04791158 0

ath0@pci0:2:0:0:class=0x028000 card=0x2c371a3b chip=0x002b168c
rev=0x01 hdr=0x00
vendor = 'Atheros Communications Inc.'
device = 'AR9285 Wireless Network Adapter (PCI-Express)'
class  = network
bar   [10] = type Memory, range 64, base 0xfe9f, size 65536, enabled
cap 01[40] = powerspec 3  supports D0 D1 D3  current D0
cap 05[50] = MSI supports 1 message
cap 10[60] = PCI-Express 2 legacy endpoint max data 128(128) link x1(x1)
 speed 2.5(2.5)
ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected
ecap 0002[140] = VC 1 max VC0
ecap 0003[160] = Serial 1 
ecap 0004[170] = Power Budgeting 1



stats etc attached.

---Mike

-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
0{zotac}# ifconfig ath0
ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290
ether 74:2f:68:af:b9:47
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng hostap
status: running
0{zotac}# ifconfig wlan0
wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
ether 74:2f:68:af:b9:47
inet6 fe80::762f:68ff:feaf:b947%wlan0 prefixlen 64 tentative scopeid 
0x5 
inet 192.168.241.129 netmask 0xff00 broadcast 192.168.241.255 
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng hostap
status: running
ssid policevan2 channel 6 (2437 MHz 11g ht/20) bssid 74:2f:68:af:b9:47
regdomain 96 indoor ecm authmode WPA privacy MIXED deftxkey 2
TKIP 2:128-bit TKIP 3:128-bit txpower 20 scanvalid 60 protmode CTS
ampdulimit 64k ampdudensity 8 shortgi wme burst dtimperiod 1 -dfs
0{zotac}# 
0{zotac}# sysctl -a dev.ath
dev.ath.0.%desc: Atheros 9285
dev.ath.0.%driver: ath
dev.ath.0.%location: slot=0 function=0 handle=\_SB_.PCI0.NBP1.NP1S
dev.ath.0.%pnpinfo: vendor=0x168c device=0x002b subvendor=0x1a3b 
subdevice=0x2c37 class=0x028000
dev.ath.0.%parent: pci2
dev.ath.0.smoothing_rate: 75
dev.ath.0.sample_rate: 10
dev.ath.0.sample_stats: 0
dev.ath.0.countrycode: 0
dev.ath.0.regdomain: 96
dev.ath.0.slottime: 9
dev.ath.0.acktimeout: 64
dev.ath.0.ctstimeout: 48
dev.ath.0.softled: 0
dev.ath.0.ledpin: 0
dev.ath.0.ledon: 0
dev.ath.0.ledidle: 2700
dev.ath.0.hardled: 0
dev.ath.0.led_net_pin: -1
dev.ath.0.led_pwr_pin: -1
dev.ath.0.txantenna: 0
dev.ath.0.rxantenna: 1
dev.ath.0.txintrperiod: 5
dev.ath.0.diag: 0
dev.ath.0.tpscale: 0
dev.ath.0.tpc: 0
dev.ath.0.tpack: 63
dev.ath.0.tpcts: 63
dev.ath.0.txagg: 0
dev.ath.0.forcebstuck: 0
dev.ath.0.intmit: 1
dev.ath.0.monpass: 24
dev.ath.0.hwq_limit: 2
dev.ath.0.tid_hwq_lo: 2
dev.ath.0.tid_hwq_hi: 4
dev.ath.0.txq_data_minfree: 10
dev.ath.0.txq_mcastq_maxdepth: 512
dev.ath.0.clear_stats: 0
dev.ath.0.stats.ast_watchdog: 0
dev.ath.0.stats.ast_hardware: 0
dev.ath.0.stats.ast_bmiss: 0
dev.ath.0.stats.ast_bmiss_phantom: 0
dev.ath.0.stats.ast_bstuck: 0
dev.ath.0.stats.ast_rxorn: 0
dev.ath.0.stats.ast_rxeol: 0
dev.ath.0

Re: [PATCH] Add locking to twe(4) so it no longer uses Giant

2012-08-13 Thread Mike Tancsa
On 8/3/2012 5:18 PM, John Baldwin wrote:

 Seems to apply to RELENG_9 just fine.  Are there any stress tests you
 suggest I run that might expose some bugs ? The machine is not
 production yet, so its ok to crash it.
 
 Probably pho's stress2 stuff.  Thinks like dbench might be a good start as 
 well for initial testing.

dbench runs just fine with 20 clients. I am letting stress2's disk
stress test now.  The tw_cli seems to run the same when the controller
is super busy with pho's stress

I havent looked at performance differences, but a quick eyeball shows
about the same.

0{offsite2}# tw_cli /c0 show

Unit  UnitType  Status %RCmpl  %V/I/M  Stripe  Size(GB)  Cache
AVrfy
--
u0RAID-0OK -   -   64K 931.521   ON
-

Port   Status   Unit   SizeBlocksSerial
---
p0 OK   u0 465.76 GB   976773168 WD-WCAYUEY18298

p1 OK   u0 465.76 GB   976773168 WD-WMAYUL256317


0{offsite2}#


 Operation  CountAvgLatMaxLat
 
 NTCreateX1523290 1.527  2151.921
 Close1119090 0.681  2001.144
 Rename 64489 3.669   748.957
 Unlink307507 3.305  2075.871
 Deltree   4035.922   194.337
 Mkdir 20 0.014 0.113
 Qpathinfo1380911 0.292   637.855
 Qfileinfo 242016 0.001 0.201
 Qfsinfo   253036 0.006 2.063
 Sfileinfo 124125 3.539  1479.315
 Find  533771 0.417  1501.775
 WriteX759745 0.195   403.113
 ReadX2386679 0.033   322.923
 LockX   4952 0.004 0.018
 UnlockX 4952 0.003 0.240
 Flush 10677559.541  2081.524

Throughput 79.6165 MB/sec  20 clients  20 procs  max_latency=2151.929 ms
Mon Aug 13 16:38:18 EDT 2012
 run: run time  3+00:00:00, incarnations   1, load 100, verbose 1
16:38:18 Loop #1
  rw: run time  0+00:02:00, incarnations  17, load 100, verbose 1
   creat: run time  0+00:02:00, incarnations  64, load  80, verbose 1
   mkdir: run time  0+00:02:00, incarnations  52, load  80, verbose 1
16:40:56 Loop #2
  rw: run time  0+00:02:00, incarnations  98, load 100, verbose 1
   creat: run time  0+00:02:00, incarnations  28, load  80, verbose 1
   mkdir: run time  0+00:02:00, incarnations  34, load  80, verbose 1
16:48:39 Loop #3
  rw: run time  0+00:02:00, incarnations  63, load 100, verbose 1
   creat: run time  0+00:02:00, incarnations  80, load  80, verbose 1
   mkdir: run time  0+00:02:00, incarnations  19, load  80, verbose 1
16:53:59 Loop #4
  rw: run time  0+00:02:00, incarnations  11, load 100, verbose 1
   creat: run time  0+00:02:00, incarnations  46, load  80, verbose 1
   mkdir: run time  0+00:02:00, incarnations  21, load  80, verbose 1

 


-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: [PATCH] Add locking to twe(4) so it no longer uses Giant

2012-08-10 Thread Mike Tancsa
On 8/10/2012 9:31 AM, John Baldwin wrote:
 On 8/9/12 5:04 PM, Mike Tancsa wrote:
 Start up the tw_cli client

 0{offsite2}# tw_cli
 //offsite2 show

 Ctl   Model(V)Ports  Drives   Units   NotOpt  RRate   VRate  BBU
 
 c09650SE-2LP   2 21   0   1   1  -


 //offsite2 exit
 0{offsite2}# ls -l /dev/tw*
 crw---  1 root  operator  -   0,  37 Aug  9 16:58 /dev/twa0
 crw-r-  1 root  operator  -   0, 174 Aug  9 17:00 /dev/twed0
 0{offsite2}#


 It then disappears ?!
 
 Bizarre, it seems to disappear while tw_cli is running?  I'm curious if
 'rm -W /dev/twe0' brings it back?

nada
0{offsite2}# rm -W /dev/twe0
rm: /dev/twe0: No such file or directory
1{offsite2}# rm -W /dev/twe0
rm: /dev/twe0: No such file or directory
1{offsite2}# ls -l /dev/twe*
crw-r-  1 root  operator  -   0, 174 Aug  9 17:00 /dev/twed0
0{offsite2}#

 
 If so, it might be interesting to see a ktrace of tw_cli.
 

I just ran ktrace tw_cli
File is available at

http://www.tancsa.com/misc/ktrace.out
and
http://www.tancsa.com/misc/ktrace.txt

---Mike

-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: [PATCH] Add locking to twe(4) so it no longer uses Giant

2012-08-10 Thread Mike Tancsa
/dev/twe/twevar.h2009-12-25
17:35:14.0 
|+++ //depot/user/jhb/cleanup/sys/dev/twe/twevar.h  2012-08-03
04:00:49.0 
--
Patching file twevar.h using Plan A...
Hunk #1 succeeded at 134.
Hunk #2 succeeded at 210.
Hunk #3 succeeded at 255.
done
0{offsite2}#


Looks good!

//offsite2 show

Ctl   Model(V)Ports  Drives   Units   NotOpt  RRate   VRate  BBU

c08006-2LP 2 21   0   3   -  -

c19650SE-2LP   2 21   0   1   1  -


//offsite2 /c0 show

Unit  UnitType  Status %RCmpl  %V/I/M  Stripe  Size(GB)  Cache
AVrfy
--
u0RAID-0OK -   -   64K 931.521   ON
-

Port   Status   Unit   SizeBlocksSerial
---
p0 OK   u0 465.76 GB   976773168 WD-WCAYUEY18298

p1 OK   u0 465.76 GB   976773168 WD-WMAYUL256317


//offsite2 /c1 show

Unit  UnitType  Status %RCmpl  %V/I/M  Stripe  Size(GB)  Cache
AVrfy
--
u0RAID-1OK -   -   -   465.651   RiW
ON

VPort Status Unit Size  Type  Phy Encl-SlotModel
--
p0OK u0   465.76 GB SATA  0   -WDC
WD5002AALX-00J3
p1OK u0   465.76 GB SATA  1   -WDC
WD5002AALX-00J3

//offsite2



-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: [PATCH] Add locking to twe(4) so it no longer uses Giant

2012-08-09 Thread Mike Tancsa
On 8/8/2012 2:39 PM, Mike Tancsa wrote:
 On 8/8/2012 7:27 AM, John Baldwin wrote:
 Looks like it breaks 3dm2 and the tw_cli.  With the patch, I am not able
 to see the 8006 controller I added.

 Ugh, ok.  A few questions:

 1) Does the driver see any attached drives/volumes?
 
 Yes
 

 2) If it does, does basic I/O to the drives work?
 
 yes
 

 3) Can you add some debugging printfs to twe_ioctl() to see what, if 
 anything,
fails in that routine when tw_cli makes a request?
 
 Yes, for sure. Let me know what you would like me to add.

One more data point, /dev/twe0 does not exist with the patch and I think
thats why the utils fail outright.

---Mike

-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: [PATCH] Add locking to twe(4) so it no longer uses Giant

2012-08-09 Thread Mike Tancsa
On 8/9/2012 9:16 AM, John Baldwin wrote:
 One more data point, /dev/twe0 does not exist with the patch and I think
 thats why the utils fail outright.
 
 Oh, hmm.  That's odd.  Do you get any error messages on the console
 when twe0 attaches?  Also, you have INVARIANTS enabled, yes?
 (make_dev() panics when it fails if INVARIANTS is enabled).

I have INVARIANTS in the kernel, sorry, do I need to do something to
make it active ?

0{offsite2}# sysctl -a | grep -i invar
kern.features.invariant_support: 1
options INVARIANT_SUPPORT
options INVARIANTS
kern.timecounter.invariant_tsc: 1
  TSC: P-state invariant, performance statistics
  TSC: P-state invariant, performance statistics
  TSC: P-state invariant, performance statistics
  TSC: P-state invariant, performance statistics
0{offsite2}#

Nothing odd in dmesg

ZFS filesystem version 5
ZFS storage pool version 28
Timecounters tick every 1.000 msec
twed0 on twe0
twed0: 953878MB (1953542144 sectors)
usbus0: 480Mbps High Speed USB v2.0
usbus1: 480Mbps High Speed USB v2.0


pci6: ACPI PCI bus on pcib6
twe0: 3ware Storage Controller. Driver version 1.50.01.002 port
0x2000-0x200f mem 0xe281-0xe281000f,0xe200-0xe
27f at device 0.0 on pci6
twe0: 2 ports, Firmware FE8S 1.05.00.068, BIOS BE7X 1.08.00.048
isab0: PCI-ISA bridge at device 31.0 on pci0


Patch below is causing a panic now on boot. Just going to add debugging
to the serial console to see what it is and

0{offsite2}# kldload twe
twe0: 3ware Storage Controller. Driver version 1.50.01.002 port
0x2000-0x200f mem 0xe281-0xe281000f,0xe200-0xe27f at device
0.0 on pci6
twe0: [GIANT-LOCKED]


Fatal trap 12: page fault while in kernel mode
cpuid = 4; apic id = 04
fault virtual address   = 0x3
fault code  = supervisor read data, page not present
instruction pointer = 0x20:0x81813eb3
stack pointer   = 0x28:0xff84529d33f0
frame pointer   = 0x28:0xff84529d3430
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 1324 (kldload)
[ thread pid 1324 tid 100146 ]
Stopped at  twe_setup+0x153:movzbl  0x3(%rdx),%eax
db



 
 Maybe try something like this (relative to the patched driver):
 
 --- //depot/user/jhb/cleanup/sys/dev/twe/twe_freebsd.c2012-08-03
 18:10:04.0 
 +++ /Users/jhb/work/p4/cleanup/sys/dev/twe/twe_freebsd.c  2012-08-03
 18:10:04.0 
 @@ -342,9 +342,12 @@
  /*
   * Create the control device.
   */
 +device_printf(sc-twe_dev, Calling make_dev()\n);
  sc-twe_dev_t = make_dev(twe_cdevsw, device_get_unit(sc-twe_dev),
 UID_ROOT, GID_OPERATOR,
S_IRUSR | S_IWUSR, twe%d, 
 device_get_unit(sc-twe_dev));
  sc-twe_dev_t-si_drv1 = sc;
 +device_printf(sc-twe_dev, make_dev() returned %p (%s)\n,
 sc-twe_dev_t,
 + sc-twe_dev_t-si_name);
  /*
   * Schedule ourselves to bring the controller up once interrupts
 are available.
   * This isn't strictly necessary, since we disable interrupts while
 probing the
 
 


-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: [PATCH] Add locking to twe(4) so it no longer uses Giant

2012-08-09 Thread Mike Tancsa
On 8/9/2012 1:21 PM, John Baldwin wrote:
 
 Humm, I wonder if this module has a mix of old and new .o files somehow?
 Perhaps try rebuilding twe.ko from scratch after doing a 'make clean'?

I think you are right. I nuked all the kernel files and recompiled
again, and it no longer panics and I see the entry in /dev now!?




0{offsite2}# kldload twe
twe0: 3ware Storage Controller. Driver version 1.50.01.002 port
0x2000-0x200f mem 0xe281-0xe281000f,0xe200-0xe27f at device
0.0 on pci6
twe0: [GIANT-LOCKED]
twe0: 2 ports, Firmware FE8S 1.05.00.068, BIOS BE7X 1.08.00.048
twe0: Calling make_dev()
twe0: make_dev() returned 0xfe0122105200 (twe0)
twed0 on twe0
twed0: 953878MB (1953542144 sectors)
0{offsite2}#

---Mike

-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: [PATCH] Add locking to twe(4) so it no longer uses Giant

2012-08-09 Thread Mike Tancsa
On 8/9/2012 3:28 PM, Mike Tancsa wrote:
 On 8/9/2012 1:21 PM, John Baldwin wrote:

 Humm, I wonder if this module has a mix of old and new .o files somehow?
 Perhaps try rebuilding twe.ko from scratch after doing a 'make clean'?
 
 I think you are right. I nuked all the kernel files and recompiled
 again, and it no longer panics and I see the entry in /dev now!?
 
 0{offsite2}# kldload twe
 twe0: 3ware Storage Controller. Driver version 1.50.01.002 port
 0x2000-0x200f mem 0xe281-0xe281000f,0xe200-0xe27f at device
 0.0 on pci6
 twe0: [GIANT-LOCKED]
 twe0: 2 ports, Firmware FE8S 1.05.00.068, BIOS BE7X 1.08.00.048
 twe0: Calling make_dev()
 twe0: make_dev() returned 0xfe0122105200 (twe0)
 twed0 on twe0
 twed0: 953878MB (1953542144 sectors)
 0{offsite2}#


OK, some more mystery.


If I load it as a kld,

I see the device. (Note, I added MDT into the version string)

0{offsite2}# twe0: 3ware Storage Controller. Driver version
1.50.01.002MDT port 0x2000-0x200f mem
0xe281-0xe281000f,0xe200-0xe27f at device 0.0 on pci6
twe0: 2 ports, Firmware FE8S 1.05.00.068, BIOS BE7X 1.08.00.048
twe0: Calling make_dev()
twe0: make_dev() returned 0xfe0026581a00 (twe0)
twed0 on twe0
twed0: 953878MB (1953542144 sectors)

0{offsite2}# ls -l /dev/tw*
crw---  1 root  operator  -   0,  37 Aug  9 16:58 /dev/twa0
crw---  1 root  operator  -   0, 173 Aug  9 17:00 /dev/twe0
crw-r-  1 root  operator  -   0, 174 Aug  9 17:00 /dev/twed0



Start up the tw_cli client

0{offsite2}# tw_cli
//offsite2 show

Ctl   Model(V)Ports  Drives   Units   NotOpt  RRate   VRate  BBU

c09650SE-2LP   2 21   0   1   1  -


//offsite2 exit
0{offsite2}# ls -l /dev/tw*
crw---  1 root  operator  -   0,  37 Aug  9 16:58 /dev/twa0
crw-r-  1 root  operator  -   0, 174 Aug  9 17:00 /dev/twed0
0{offsite2}#


It then disappears ?!

---Mike



-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: [PATCH] Add locking to twe(4) so it no longer uses Giant

2012-08-08 Thread Mike Tancsa
On 8/8/2012 7:27 AM, John Baldwin wrote:
 Looks like it breaks 3dm2 and the tw_cli.  With the patch, I am not able
 to see the 8006 controller I added.
 
 Ugh, ok.  A few questions:
 
 1) Does the driver see any attached drives/volumes?

Yes

 
 2) If it does, does basic I/O to the drives work?

yes

 
 3) Can you add some debugging printfs to twe_ioctl() to see what, if anything,
fails in that routine when tw_cli makes a request?

Yes, for sure. Let me know what you would like me to add.

---Mike


-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: [PATCH] Add locking to twe(4) so it no longer uses Giant

2012-08-07 Thread Mike Tancsa
On 8/3/2012 5:26 PM, John Baldwin wrote:
  If there's a tool for poking at the drives/controller, I would use 
 that, plus camcontrol. Of course you want a data intensive workload 
 (iometer/iozone/xdd with async and sync mode, random reads and sequential 
 reads, etc), and maybe resort to manual testing like pulling drives 
 (power, data) if you don't mind creating failures. If you have some 
 failed/failing drives kicking around, that would be a good test as well (see 
 that all/some of the failure paths are properly stimulated).
 
 3dm2 testing would be good for the ioctl handling, but the most critical
 tests are basic I/O.
 


Looks like it breaks 3dm2 and the tw_cli.  With the patch, I am not able
to see the 8006 controller I added.

tw_cli without the patch

0{offsite2}# tw_cli
//offsite2 /c0 show

Unit  UnitType  Status %RCmpl  %V/I/M  Stripe  Size(GB)  Cache
AVrfy
--
u0RAID-0OK -   -   64K 931.521   ON
-

Port   Status   Unit   SizeBlocksSerial
---
p0 OK   u0 465.76 GB   976773168 WD-WCAYUEY18298

p1 OK   u0 465.76 GB   976773168 WD-WMAYUL256317


//offsite2
//offsite2 show

Ctl   Model(V)Ports  Drives   Units   NotOpt  RRate   VRate  BBU

c08006-2LP 2 21   0   3   -  -

c19650SE-2LP   2 21   0   1   1  -


The boot array is c1 (the off twa controller)

with the patch (invariants and invariants_support in the kernel)

0{offsite2}# tw_cli
//offsite2 show

Ctl   Model(V)Ports  Drives   Units   NotOpt  RRate   VRate  BBU

c09650SE-2LP   2 21   0   1   1  -


//offsite2



---Mike



-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: [PATCH] Add locking to twe(4) so it no longer uses Giant

2012-08-03 Thread Mike Tancsa
On 8/3/2012 3:39 PM, John Baldwin wrote:
 On Friday, August 03, 2012 2:56:00 pm Kevin Oberman wrote:
 I'll try to find time to try it later today, but I'm in the middle of
 budget wrangling and I can't make any promises.

 Before I try, will these patches apply to the twe driver in
 9.1-PRERELEASE? My system with twe was updated to RELENG_9 on July 18.
 I really don't have time to install current right now.
 
 I believe the patches should apply fine on 8 and 9.  If you use it on 8 or 9
 please make sure to enable INVARIANTS and INVARIANT_SUPPORT at least for
 initial testing.  Thanks!

Seems to apply to RELENG_9 just fine.  Are there any stress tests you
suggest I run that might expose some bugs ? The machine is not
production yet, so its ok to crash it.


{offsite2}# patch -p9  twe_locking.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--
|--- //depot/vendor/freebsd/src/sys/dev/twe/twe.c   2009-12-25
17:35:14.0 
|+++ //depot/user/jhb/cleanup/sys/dev/twe/twe.c 2012-08-03
04:00:49.0 
--
Patching file twe.c using Plan A...
Hunk #1 succeeded at 151.
Hunk #2 succeeded at 167.
Hunk #3 succeeded at 189.
Hunk #4 succeeded at 208.
Hunk #5 succeeded at 226.
Hunk #6 succeeded at 234.
Hunk #7 succeeded at 271.
Hunk #8 succeeded at 288.
Hunk #9 succeeded at 310.
Hunk #10 succeeded at 337.
Hunk #11 succeeded at 349.
Hunk #12 succeeded at 405.
Hunk #13 succeeded at 521.
Hunk #14 succeeded at 557.
Hunk #15 succeeded at 580.
Hunk #16 succeeded at 595.
Hunk #17 succeeded at 608.
Hunk #18 succeeded at 646.
Hunk #19 succeeded at 769.
Hunk #20 succeeded at 863.
Hunk #21 succeeded at 921.
Hunk #22 succeeded at 952.
Hunk #23 succeeded at 1038.
Hunk #24 succeeded at 1051.
Hunk #25 succeeded at 1082.
Hunk #26 succeeded at 1104.
Hunk #27 succeeded at 1140.
Hunk #28 succeeded at 1151.
Hunk #29 succeeded at 1177.
Hunk #30 succeeded at 1206.
Hunk #31 succeeded at 1309.
Hunk #32 succeeded at 1447.
Hunk #33 succeeded at 1469.
Hunk #34 succeeded at 1499.
Hunk #35 succeeded at 1513.
Hunk #36 succeeded at 1531.
Hunk #37 succeeded at 1554.
Hunk #38 succeeded at 1589.
Hunk #39 succeeded at 1618.
Hunk #40 succeeded at 1644.
Hunk #41 succeeded at 1696.
Hunk #42 succeeded at 1778.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|--- //depot/vendor/freebsd/src/sys/dev/twe/twe_compat.h
2005-05-29 04:45:51.0 
|+++ //depot/user/jhb/cleanup/sys/dev/twe/twe_compat.h  2012-08-03
03:58:12.0 
--
Patching file twe_compat.h using Plan A...
Hunk #1 succeeded at 43.
Hunk #2 succeeded at 68.
Hunk #3 succeeded at 82.
Hunk #4 succeeded at 92.
Hunk #5 succeeded at 108.
Hunk #6 succeeded at 128.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|--- //depot/vendor/freebsd/src/sys/dev/twe/twe_freebsd.c
2012-03-12 08:05:24.0 
|+++ //depot/user/jhb/cleanup/sys/dev/twe/twe_freebsd.c 2012-08-03
18:10:04.0 
--
Patching file twe_freebsd.c using Plan A...
Hunk #1 succeeded at 69.
Hunk #2 succeeded at 83.
Hunk #3 succeeded at 101.
Hunk #4 succeeded at 180.
Hunk #5 succeeded at 188.
Hunk #6 succeeded at 211.
Hunk #7 succeeded at 241.
Hunk #8 succeeded at 292.
Hunk #9 succeeded at 414.
Hunk #10 succeeded at 425.
Hunk #11 succeeded at 461.
Hunk #12 succeeded at 496.
Hunk #13 succeeded at 518.
Hunk #14 succeeded at 533.
Hunk #15 succeeded at 566.
Hunk #16 succeeded at 585.
Hunk #17 succeeded at 604.
Hunk #18 succeeded at 680.
Hunk #19 succeeded at 729.
Hunk #20 succeeded at 834.
Hunk #21 succeeded at 857.
Hunk #22 succeeded at 876.
Hunk #23 succeeded at 1038.
Hunk #24 succeeded at 1097.
Hunk #25 succeeded at 1151.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|--- //depot/vendor/freebsd/src/sys/dev/twe/twevar.h2009-12-25
17:35:14.0 
|+++ //depot/user/jhb/cleanup/sys/dev/twe/twevar.h  2012-08-03
04:00:49.0 
--
Patching file twevar.h using Plan A...
Hunk #1 succeeded at 134.
Hunk #2 succeeded at 210.
Hunk #3 succeeded at 255.
done
0{offsite2}#



-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: [head tinderbox] failure on mips/mips

2012-04-05 Thread Mike Tancsa
On 4/5/2012 3:28 PM, Doug Barton wrote:
 
 Thanks for confirming. I also forgot to mention that all the related
 changes were made in the same commit, so I'm not sure what the issue
 could have been.

The logs / progress are visible at http://tinderbox.freebsd.org/
It looks like pc98 i386 built just fine recently.  Not sure why the mips
build keeps failing so much.  des from .no would know  :)

---Mike

-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: SCHED_ULE should not be the default

2011-12-15 Thread Mike Tancsa
On 12/15/2011 11:26 AM, Attilio Rao wrote:
 
 Hi Mike,
 was that just the same codebase with the switch SCHED_4BSD/SCHED_ULE?

Hi Attilio,
It was the same codebase.


 Could you retry the bench checking CPU usage and possible thread
 migration around for both cases?

I can, but how do I do that ?

---Mike

-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: SCHED_ULE should not be the default

2011-12-15 Thread Mike Tancsa
On 12/15/2011 11:42 AM, Attilio Rao wrote:
 
 I'm thinking now to a better test-case for this: can you try that on a
 tmpfs volume?

There is enough RAM in the box so that it should not touch the disk, and
I was sending the output to /dev/null, so it was not writing to the disk.

 
 Also what filesystem you were using? 

UFS

 How many CPUs were in place?

4

 Did you reboot before to move the steal_thresh value?

No.

---Mike
-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: SCHED_ULE should not be the default

2011-12-15 Thread Mike Tancsa
On 12/15/2011 11:56 AM, Attilio Rao wrote:
 So, as very first thing, can you try the following:
 - Same codebase, etc. etc.
 - Make the test 4 times, discard the first and ministat for the other 3
 - Reboot
 - Change the steal_thresh value
 - Make the test 4 times, discard the first and ministat for the other 3
 
 Then report discarded values and the ministated one and we will have
 more informations I guess
 (also, I don't think devfs contention should play a role here, thus
 nevermind about it for now).


Results and data at

http://www.tancsa.com/ule-bsd.html

---Mike


-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: SCHED_ULE should not be the default

2011-12-14 Thread Mike Tancsa
On 12/13/2011 7:01 PM, m...@freebsd.org wrote:
 
 Has anyone experiencing problems tried to set sysctl 
 kern.sched.steal_thresh=1 ?
 
 I don't remember what our specific problem at $WORK was, perhaps it
 was just interrupt threads not getting serviced fast enough, but we've
 hard-coded this to 1 and removed the code that sets it in
 sched_initticks().  The same effect should be had by setting the
 sysctl after a box is up.

FWIW, this does impact the performance of pbzip2 on an i7. Using a 1.1G file

pbzip2 -v -c big  /dev/null

with burnP6 running in the background,

sysctl kern.sched.steal_thresh=1 
vs
sysctl kern.sched.steal_thresh=3



N   Min   MaxMedian   AvgStddev
x  10 38.005022  38.42238 38.194648 38.1650520.15546188
+   9 38.695417 40.595544 39.392127 39.4353840.59814114
Difference at 95.0% confidence
1.27033 +/- 0.412636
3.32852% +/- 1.08119%
(Student's t, pooled s = 0.425627)

a value of 1 is *slightly* faster.


-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: SCHED_ULE should not be the default

2011-12-13 Thread Mike Tancsa
On 12/13/2011 10:54 AM, Steve Kargl wrote:
 
 I have given the WHY in previous discussions of ULE, based
 on what you call legacy benchmarks.  I have not seen any
 commit to sched_ule.c that would lead me to believe that
 the performance issues with ULE and cpu-bound numerical
 codes have been addressed.  Repeating the benchmark would
 be a waste of time.

Trying a simple pbzip2 on a large file, the results are pretty
consistent through iterations. pbzip2 with 4BSD is barely faster on a
file thats 322MB in size.

after a reboot, I did a
strings bigfile  /dev/null
then ran
 pbzip2 -v xaa -c  /dev/null
7 times

If I do a burnP6 in the background, they perform about the same.

(from sysutils/cpuburn)
eg

 pbzip2 -v xaa -c  /dev/null
Parallel BZIP2 v1.1.6 - by: Jeff Gilchrist [http://compression.ca]
[Oct. 30, 2011]   (uses libbzip2 by Julian Seward)
Major contributions: Yavor Nikolov nikolov.javor+pbz...@gmail.com

 # CPUs: 4
 BWT Block Size: 900 KB
File Block Size: 900 KB
 Maximum Memory: 100 MB
---
 File #: 1 of 1
 Input Name: xaa
Output Name: stdout

 Input Size: 352404831 bytes
Compressing data...
Output Size: 50630745 bytes
---

 Wall Clock: 18.139342 seconds


ULE
18.113204
18.116896
18.123400
18.105894
18.163332
18.139342
18.082888

ULE with burnP6
23.076085
22.003666
21.162987
21.682445
21.935568
23.595781
21.601277


4BSD
17.983395
17.986218
18.009254
18.004312
18.001494
17.997032

4BSD with burnP6
22.215508
21.886459
21.595179
21.361830
21.325351
21.244793



# ministat uleP6 bsdP6
x uleP6
+ bsdP6
+--+
|x+   + ++x   +  x  x   +
 xx|
|
||__MA|M_A__|
|
+--+
N   Min   MaxMedian   AvgStddev
x   6 21.162987 23.595781 22.003666 22.2427550.91175566
+   6 21.244793 22.215508 21.595179 21.604853 0.3792413
No difference proven at 95.0% confidence



x ule
+ bsd
+--+
|+ +   +   + +   +
 xx x  xx   x x|
|   |__A___M___|
  |M__A__| |
+--+
N   Min   MaxMedian   AvgStddev
x   7 18.082888 18.163332 18.116896 18.120708   0.025468695
+   6 17.983395 18.009254 18.001494 17.996951   0.010248473
Difference at 95.0% confidence
-0.123757 +/- 0.024538
-0.68296% +/- 0.135414%
(Student's t, pooled s = 0.0200388)





hardware is X3450 with 8G of memory.  RELENG8

---Mike


-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/

___
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: [RFC] winbond watchdog driver for FreeBSD/i386 and FreeBSD/amd64

2011-12-12 Thread Mike Tancsa
On 12/12/2011 2:49 PM, Keith Simonsen wrote:
 
 I've  been using 20110718-02-wbwd.diff for a few months now on a project
 with PC Engines Alix 1.d boards (http://pcengines.ch/alix1d.htm). They
 have a  Winbond W83627HG chip. I don't see any probing/attach messages
 on boot but the driver seems to be properly configuring the chip - if I
 kill watchdogd with -9 the board reboots with watchdog timeout.

Are you sure thats the watchdog thats doing the 'killing' so to speak ?
If you have
option  CPU_GEODE
in your kernel config, you will get the watchdog code there no ?
( /usr/src/sys/i386/i386/geode.c)


---Mike


-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: 9.0 beta2 the new bsdinstaller

2011-09-14 Thread Mike Tancsa
On 9/12/2011 9:57 AM, Fbsd8 wrote:
 Here are some problems that I fell need to be addressed in the 9.0
 bsdinstaller.
 
 7. On the partition editor screen the option finish should be the
 first in the list (ie; left most side) so if user accepts this config,
 hitting enter moves to next menu screen instead of having to tab over
 taking more time and effort.


I noticed as well, there is no way to turn off SoftUpdates with
Journaling.

e.g. despite unselecting that option, I ended up with a file system below.

# mount
/dev/ada0p3 on / (ufs, local, journaled soft-updates)
devfs on /dev (devfs, local, multilabel)
/dev/ada0p4 on /usr (ufs, local, journaled soft-updates)
/dev/ada0p5 on /var (ufs, local, journaled soft-updates)

In the partition editor, OK and Options both have the same hotkeys (O).

Also if you change from the suggested partition default, it always wants
to add a boot partition even if there is one already there. e.g. go to
guided, delete / and the swap and add some partitions. When you create a
new / it will say it needs a boot partition, but that already exists and
now there will be two.

---Mike


-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: No valid timers found on ALIX (was Re: 9.0-BETA2 - Kernel Panic on ALIX)

2011-08-31 Thread Mike Tancsa
On 8/31/2011 12:27 PM, Adrian Chadd wrote:
 Just to clarify for Edgar,
 
 His 9.0 build isn't finding any valid timers; hence why the thing
 panics upon boot.
 
 Since I've got a few Alix boards I'd like to use for 11n testing, i'd
 like to know how to make this work.
 Does anyone know the relevant magic to see which timers are available,
 and force enable something that'll work?


Strange,
I had just tried with a Soekris not long ago and it was happy with
Beta1 and 2 csuping... updating... and it still works.  dmesg.txt at
http://www.tancsa.com/beta2.html

What if you add

option  CPU_GEODE
option  CPU_SOEKRIS

to the kernel ? I think actually only one is needed, but I forget which one.

---Mike

-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: No valid timers found on ALIX (was Re: 9.0-BETA2 - Kernel Panic on ALIX)

2011-08-31 Thread Mike Tancsa
On 8/31/2011 3:25 PM, Edgar Martinez wrote:
 Nope..I rebuilt with both options..and just one at a time..

Strange,
My kernel is not so different from GENERIC. I added it to the bottom of
http://www.tancsa.com/beta2.html

Perhaps its a different Alix box than mine that is causing the issue ? I
tried with
http://www.pcengines.ch/alix6f2.htm
and
http://www.pcengines.ch/alix3d2.htm

---Mike



 
 panic: No usable event timer found!
 KDB: stack backtrace:
 X_db_sym_numargs(c0758a2d) at 0xc0471f85 = X_db_sym_numargs+0x135
 kdb_backtrace(c2820d38,1,fff,c2820d40,c070257a,...) at 0xc05a9c98 = 
 kdb_backtrace+0x28
 panic(c077df08,c078251c,fff,c2820d48,c0708b88,...) at 0xc0581322 = 
 panic+0xa2
 cpu_initclocks_bsp(c2820d60,c054358b,c07c8f14,c0750d2a,0,...) at 0xc070257a = 
 cpu_initclocks_bsp+0xfa
 cpu_initclocks(c07c8f14,c0750d2a,0,0,c2820d78,...) at 0xc0708b88 = 
 cpu_initclocks+0x8
 hardclock_sync(0,281ec00,281e000,2825000,0,...) at 0xc054358b = 
 hardclock_sync+0x3b
 mi_startup() at 0xc0541469 = mi_startup+0xa9
 btext() at 0xc0447665 = btext+0x95
 KDB: enter: panic
 [ thread pid 0 tid 10 ]
 Stopped at  0xc05a9aa4 = kdb_enter+0x34:movl$0,0xc07d93b4 = 
 kdb_why
 
 Is still the result..
 
 -Original Message-
 From: Mike Tancsa [mailto:m...@sentex.net] 
 Sent: Wednesday, August 31, 2011 10:53 AM
 To: Adrian Chadd
 Cc: Edgar Martinez; freebsd-current@freebsd.org
 Subject: Re: No valid timers found on ALIX (was Re: 9.0-BETA2 - Kernel Panic 
 on ALIX)
 
 On 8/31/2011 12:27 PM, Adrian Chadd wrote:
 Just to clarify for Edgar,

 His 9.0 build isn't finding any valid timers; hence why the thing
 panics upon boot.

 Since I've got a few Alix boards I'd like to use for 11n testing, i'd
 like to know how to make this work.
 Does anyone know the relevant magic to see which timers are available,
 and force enable something that'll work?
 
 
 Strange,
   I had just tried with a Soekris not long ago and it was happy with
 Beta1 and 2 csuping... updating... and it still works.  dmesg.txt at
 http://www.tancsa.com/beta2.html
 
 What if you add
 
 option  CPU_GEODE
 option  CPU_SOEKRIS
 
 to the kernel ? I think actually only one is needed, but I forget which one.
 
   ---Mike
 


-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: No valid timers found on ALIX (was Re: 9.0-BETA2 - Kernel Panic on ALIX)

2011-08-31 Thread Mike Tancsa
On 8/31/2011 3:57 PM, Edgar Martinez wrote:
 Latest ALIX firmware? .99h?
 
 I'm using the below board...
 
 http://pcengines.ch/alix2d2.htm

Thats pretty well the same board as me, except I dont have the 2
mini-pci slots.  Mine comes up as

Geode LX: PC Engines ALIX.2 v0.99h tinyBIOS V1.4a (C)1997-2007
vs
Geode LX: PC Engines ALIX.3 v0.99h tinyBIOS V1.4a (C)1997-2007


Perhaps engage the PCEngine's folks to see what the difference is and if
they know what might be up.



---Mike

 
 
 
 
 -Original Message-
 From: Mike Tancsa [mailto:m...@sentex.net] 
 Sent: Wednesday, August 31, 2011 12:57 PM
 To: Edgar Martinez
 Cc: Adrian Chadd; freebsd-current@freebsd.org
 Subject: Re: No valid timers found on ALIX (was Re: 9.0-BETA2 - Kernel Panic 
 on ALIX)
 
 On 8/31/2011 3:25 PM, Edgar Martinez wrote:
 Nope..I rebuilt with both options..and just one at a time..
 
 Strange,
   My kernel is not so different from GENERIC. I added it to the bottom of
 http://www.tancsa.com/beta2.html
 
 Perhaps its a different Alix box than mine that is causing the issue ? I
 tried with
 http://www.pcengines.ch/alix6f2.htm
 and
 http://www.pcengines.ch/alix3d2.htm
 
   ---Mike
 
 
 

 panic: No usable event timer found!
 KDB: stack backtrace:
 X_db_sym_numargs(c0758a2d) at 0xc0471f85 = X_db_sym_numargs+0x135
 kdb_backtrace(c2820d38,1,fff,c2820d40,c070257a,...) at 0xc05a9c98 = 
 kdb_backtrace+0x28
 panic(c077df08,c078251c,fff,c2820d48,c0708b88,...) at 0xc0581322 = 
 panic+0xa2
 cpu_initclocks_bsp(c2820d60,c054358b,c07c8f14,c0750d2a,0,...) at 0xc070257a 
 = cpu_initclocks_bsp+0xfa
 cpu_initclocks(c07c8f14,c0750d2a,0,0,c2820d78,...) at 0xc0708b88 = 
 cpu_initclocks+0x8
 hardclock_sync(0,281ec00,281e000,2825000,0,...) at 0xc054358b = 
 hardclock_sync+0x3b
 mi_startup() at 0xc0541469 = mi_startup+0xa9
 btext() at 0xc0447665 = btext+0x95
 KDB: enter: panic
 [ thread pid 0 tid 10 ]
 Stopped at  0xc05a9aa4 = kdb_enter+0x34:movl$0,0xc07d93b4 = 
 kdb_why

 Is still the result..

 -Original Message-
 From: Mike Tancsa [mailto:m...@sentex.net] 
 Sent: Wednesday, August 31, 2011 10:53 AM
 To: Adrian Chadd
 Cc: Edgar Martinez; freebsd-current@freebsd.org
 Subject: Re: No valid timers found on ALIX (was Re: 9.0-BETA2 - Kernel Panic 
 on ALIX)

 On 8/31/2011 12:27 PM, Adrian Chadd wrote:
 Just to clarify for Edgar,

 His 9.0 build isn't finding any valid timers; hence why the thing
 panics upon boot.

 Since I've got a few Alix boards I'd like to use for 11n testing, i'd
 like to know how to make this work.
 Does anyone know the relevant magic to see which timers are available,
 and force enable something that'll work?


 Strange,
  I had just tried with a Soekris not long ago and it was happy with
 Beta1 and 2 csuping... updating... and it still works.  dmesg.txt at
 http://www.tancsa.com/beta2.html

 What if you add

 option  CPU_GEODE
 option  CPU_SOEKRIS

 to the kernel ? I think actually only one is needed, but I forget which one.

  ---Mike

 
 


-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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


ichwd attach failure

2011-08-26 Thread Mike Tancsa
Got a newish Intel board in and decided to give it a spin. Trying to
load the watchdog, I get this error below on CURRENT.  Anyone able to
get ichwd working on such a motherboard ?   full dmesg and devinfo at

http://www.tancsa.com/intel.txt
and
http://www.tancsa.com/intel-asl.txt



isab0: found ICH10 or equivalent chipset: Intel Cougar Point watchdog timer
ichwd0: Intel Cougar Point watchdog timer on isa0
isab0: found ICH10 or equivalent chipset: Intel Cougar Point watchdog timer
pcib0: allocated type 4 (0x430-0x437) for rid 0 of ichwd0
pcib0: allocated type 4 (0x460-0x47f) for rid 1 of ichwd0
ichwd0: unable to reserve GCS registers
device_attach: ichwd0 attach returned 6
pcib0: allocated type 4 (0x3f0-0x3f5) for rid 0 of fdc0
pcib0: allocated type 4 (0x3f7-0x3f7) for rid 1 of fdc0
ppc0: cannot reserve I/O port range
pcib0: allocated type 4 (0x2f8-0x2ff) for rid 0 of uart1


-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: [patch] Disable TSC on SMP VMs

2011-08-16 Thread Mike Silbersack


The patch I referenced (and forgot to attach) is located here:

http://www.silby.com/tsc.c-no_vm_smp_tsc.patch

Thanks to those who pointed out my error to me. :)

Mike Silby Silbersack

On Tue, 16 Aug 2011, Mike Silbersack wrote:



Hi all,

Thanks to a lightning strike, I recently upgraded my ESXi 4.1 system from an 
old Athlon X2 to a shiny new Core i5-2500K.  I order to see how fast it was, 
I decided to run some buildworlds.  I tried my FreeBSD 9 based VM first, and 
was unhappy with what I saw - many mpt timeouts were reported, and the 
filesystem ended up requiring a lot of fscking.  My FreeBSD 8 based VM, on 
the other hand, was quite happy.


After some trial and error, I determined that using the TSC as a timecounter 
with the VM in SMP mode was the root cause.  If I switch the VM to one vCPU 
and run with the TSC, the buildworld runs fine.  If I leave it with two vCPUs 
and change the timecounter to ACPI, then it runs fine too.  Based on these 
results, I created the attached patch; it turns the priority of the TSC down 
to -100 if it determines that it is running inside a virtualized SMP 
environment.  (I did not do testing on KVM or qemu, but I am assuming that 
they probably do not have TSC emulation perfect either.)


I'd like to get this into 9.0 so that it works reliably for people who run it 
in a virtual environment on modern hardware.  If someone could code review 
the patch, I would greatly appreciate it.


Thanks,

Mike Silby Silbersack


___
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: [Soekris] FreeBSD 9.0 beta on a Net5501?

2011-08-15 Thread Mike Tancsa
On 8/14/2011 3:50 PM, C. P. Ghost wrote:
 I'm having a bunch of net4801 in production here,
 and I was planning to move them to 9.0 soon after
 RELEASE. So thanks for the heads up. I'll be holding
 back now, and will stay with 8.2-STABLE.

I netbooted an old 4801 box and it seems fine too. Testing the watchdog
as well as the hifn that was in it and both seem to work just fine.


4801# dmesg
Copyright (c) 1992-2011 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.0-BETA1 #2: Sun Aug 14 19:15:05 EDT 2011
mdtan...@ich10.sentex.ca:/usr/HEAD/obj/usr/HEAD/src/sys/ipsec i386
ACPI Error: A valid RSDP was not found (20110527/tbxfroot-237)
module_register: module pci/xhci already exists!
Module pci/xhci failed to register: 17
CPU: Geode(TM) Integrated Processor by National Semi (586-class CPU)
  Origin = Geode by NSC  Id = 0x540  Family = 5  Model = 4  Stepping = 0
  Features=0x808131FPU,TSC,MSR,CX8,CMOV,MMX
real memory  = 134217728 (128 MB)
avail memory = 116346880 (110 MB)
kbd1 at kbdmux0
ACPI Error: A valid RSDP was not found (20110527/tbxfroot-237)
ACPI: Table initialisation failed: AE_NOT_FOUND
ACPI: Try disabling either ACPI or apic support.
cryptosoft0: software crypto on motherboard
pcib0: Host to PCI bridge pcibus 0 on motherboard
pci0: PCI bus on pcib0
sis0: NatSemi DP8381[56] 10/100BaseTX port 0xe100-0xe1ff mem
0xa000-0xafff irq 10 at device 6.0 on pci0
sis0: Silicon Revision: DP83816A
miibus0: MII bus on sis0
nsphyter0: DP83815 10/100 media interface PHY 0 on miibus0
nsphyter0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis0: Ethernet address: 00:00:24:c8:fa:e0
sis1: NatSemi DP8381[56] 10/100BaseTX port 0xe200-0xe2ff mem
0xa0001000-0xa0001fff irq 10 at device 7.0 on pci0
sis1: Silicon Revision: DP83816A
miibus1: MII bus on sis1
nsphyter1: DP83815 10/100 media interface PHY 0 on miibus1
nsphyter1:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis1: Ethernet address: 00:00:24:c8:fa:e1
sis2: NatSemi DP8381[56] 10/100BaseTX port 0xe300-0xe3ff mem
0xa0002000-0xa0002fff irq 10 at device 8.0 on pci0
sis2: Silicon Revision: DP83816A
miibus2: MII bus on sis2
nsphyter2: DP83815 10/100 media interface PHY 0 on miibus2
nsphyter2:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis2: Ethernet address: 00:00:24:c8:fa:e2
pci0: processor at device 14.0 (no driver attached)
Geode Soekris net4801 comBIOS ver. 1.31 20070408 Copyright (C) 2000-2007
isab0: PCI-ISA bridge port 0x6100-0x613f,0x6200-0x623f at device 18.0
on pci0
isa0: ISA bus on isab0
pci0: bridge at device 18.1 (no driver attached)
atapci0: National Geode SC1100 ATA33 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 18.2 on pci0
ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
Timecounter Geode frequency 2700 Hz quality 1000
pci0: bridge at device 18.5 (no driver attached)
ohci0: OHCI (generic) USB controller mem 0xa001-0xa0010fff irq 5
at device 19.0 on pci0
usbus0: OHCI (generic) USB controller on ohci0
cpu0 on motherboard
pmtimer0 on isa0
orm0: ISA Option ROM at iomem 0xc8000-0xd0fff pnpid ORM on isa0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atrtc0: AT realtime clock at port 0x70 irq 8 on isa0
Event timer RTC frequency 32768 Hz quality 0
ppc0: parallel port not found.
uart0: 16550 or compatible at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
uart0: console (115200,n,8,1)
uart1: 16550 or compatible at port 0x2f8-0x2ff irq 3 on isa0
Timecounters tick every 0.976 msec
usbus0: 12Mbps Full Speed USB v1.0
ugen0.1: 0x0e11 at usbus0
uhub0: 0x0e11 OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1 on usbus0
Root mount waiting for: usbus0
uhub0: 3 ports with 3 removable, self powered
Trying to mount root from nfs: []...
NFS ROOT: 10.255.255.1:/home/pxe9
hifn0 mem
0xa0003000-0xa0003fff,0xa0004000-0xa0005fff,0xa0008000-0xa000 irq 11
at device 14.0 on pci0
hifn0: Hifn 7955, rev 0, 32KB dram, pll=0x801ext clk, 4x mult
4801#

And using /usr/src/tools/crypto/cryptostats

% ssh -c 3des 10.255.255.60 /home/mdtancsa/cryptostats
241 symmetric crypto ops (0 errors, 0 times driver blocked)
0 key ops (0 errors, 0 times driver blocked)
0 crypto dispatch thread activations
0 crypto return thread activations
% ssh -c 3des 10.255.255.60 /home/mdtancsa/cryptostats
271 symmetric crypto ops (0 errors, 0 times driver blocked)
0 key ops (0 errors, 0 times driver blocked)
0 crypto dispatch thread activations
0 crypto return thread activations


Seems to be kicking the hifn card.



-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com

[patch] Disable TSC on SMP VMs

2011-08-15 Thread Mike Silbersack


Hi all,

Thanks to a lightning strike, I recently upgraded my ESXi 4.1 system from 
an old Athlon X2 to a shiny new Core i5-2500K.  I order to see how fast it 
was, I decided to run some buildworlds.  I tried my FreeBSD 9 based VM 
first, and was unhappy with what I saw - many mpt timeouts were reported, 
and the filesystem ended up requiring a lot of fscking.  My FreeBSD 8 
based VM, on the other hand, was quite happy.


After some trial and error, I determined that using the TSC as a 
timecounter with the VM in SMP mode was the root cause.  If I switch the 
VM to one vCPU and run with the TSC, the buildworld runs fine.  If I leave 
it with two vCPUs and change the timecounter to ACPI, then it runs fine 
too.  Based on these results, I created the attached patch; it turns the 
priority of the TSC down to -100 if it determines that it is running 
inside a virtualized SMP environment.  (I did not do testing on KVM or 
qemu, but I am assuming that they probably do not have TSC emulation 
perfect either.)


I'd like to get this into 9.0 so that it works reliably for people who run 
it in a virtual environment on modern hardware.  If someone could code 
review the patch, I would greatly appreciate it.


Thanks,

Mike Silby Silbersack
___
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: [Soekris] FreeBSD 9.0 beta on a Net5501?

2011-08-14 Thread Mike Tancsa
 irq 3 on isa0
Timecounters tick every 0.976 msec
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 480Mbps High Speed USB v2.0
ugen0.1: AMD at usbus0
uhub0: AMD OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1 on usbus0
ugen1.1: AMD at usbus1
uhub1: AMD EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1 on usbus1
Timecounter TSC frequency 433257343 Hz quality 800
Root mount waiting for: usbus1 usbus0
uhub0: 4 ports with 4 removable, self powered
Root mount waiting for: usbus1
uhub1: 4 ports with 4 removable, self powered
Trying to mount root from nfs: []...
NFS ROOT: 10.255.255.1:/home/pxe9
stray irq7
soekris3#




-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: High Network Perfomance

2011-08-08 Thread Mike Tancsa
On 8/8/2011 12:21 PM, Victor Detoni wrote:
 Hi Slawa!
 
 Thanks for the links! That's great links!
 
 about russian, there is no problem... google translate :)

Yes, excellent links indeed and google translate is awesome!

One further question.  Do you usually set

net.isr.bindthreads=1


---Mike
 
 
 thanks,
 Victor
 
 On Sun, Aug 7, 2011 at 9:33 AM, Slawa Olhovchenkov s...@zxy.spb.ru wrote:
 
 On Thu, Aug 04, 2011 at 08:39:17PM -0300, Victor Detoni wrote:

 Hi Guys,

 I'm trying tunning a FreeBSD 8.2 to high perfomance network with pf. My
 server configuration is:

 Dell 1950
 CPU: Intel(R) Xeon(R) CPU5130  @ 2.00GHz (1995.03-MHz
 K8-class
 CPU)
 4 x CPU
 2 NIC (Broadcom NetXtreme II BCM5708 1000Base-T)
 1 NIC (em0: Intel(R) PRO/1000 Network Connection 7.1.9)

 I want to reach the high processing of packets per second and use pf as
 synproxy and we still processor to handle others packets or flows.

 I know that em drivers has MULTI_QUEUE implementation that helps high
 performance for Intel drivers, but I couldn't see more information about.
 We
 can reached 500k pps, but no more traffic was processed by this
 interface.

 I've already enabled net.isr.direct but with Intel Drivers does not work
 and
 the most processors are in System instead of Interrupts, why? When I
 enable
 net.isr.direct the processing is balanced for on CPU in system and
 another
 in interrupt and I reached 1M pps, but the total perfomance is down, the
 load grow up too fast.

 I've changed some parameter in sysctl for intel drivers, but it doesn't
 have
 effect.

 Someone know what I can do to reach more packets performance? I want to
 use
 this FreeBSD as a router/firewall only.

 FreeBSD (and em) need some tuning for high perfomance.

 Next links in russian, sorry.

 http://dadv.livejournal.com/138951.html
 http://dadv.livejournal.com/139170.html
 http://dadv.livejournal.com/139366.html

 --
 Slawa Olhovchenkov

 ___
 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
 
 


-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: sata port multiplier

2011-08-05 Thread Mike Tancsa
On 8/4/2011 9:59 PM, Nenhum_de_Nos wrote:
 hail,
 
 any info on what port multiplier I could buy to make the 4 port Sil3124 at
 least make up to 8 ?

I have used a number of PMs from http://www.addonics.com/. 8.x works great.

eg.
# camcontrol devlist
WDC WD1001FALS-00J7B1 05.00K05   at scbus0 target 0 lun 0 (pass0,ada0)
WDC WD1001FALS-00J7B1 05.00K05   at scbus0 target 1 lun 0 (pass1,ada1)
WDC WD1001FALS-00J7B1 05.00K05   at scbus0 target 2 lun 0 (pass2,ada2)
WDC WD1001FALS-00J7B1 05.00K05   at scbus0 target 3 lun 0 (pass3,ada3)
Port Multiplier 47261095 1f06at scbus0 target 15 lun 0 (pass4,pmp0)
WDC WD2001FASS-00U0B0 01.00101   at scbus1 target 0 lun 0 (pass5,ada4)
WDC WD1501FASS-00W2B0 05.01D05   at scbus1 target 1 lun 0 (pass6,ada5)
WDC WD1501FASS-00W2B0 05.01D05   at scbus1 target 2 lun 0 (pass7,ada6)
WDC WD1501FASS-00W2B0 05.01D05   at scbus1 target 3 lun 0 (pass8,ada7)
WDC WD1501FASS-00W2B0 05.01D05   at scbus1 target 4 lun 0 (pass9,ada8)
Port Multiplier 47261095 1f06at scbus1 target 15 lun 0 (pass10,pmp1)

---Mike

-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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


graid fresh install

2011-08-05 Thread Mike Tancsa
I netbooted 9.0 Beta and was going to try and install the system onto a
raid1 mirror built with graid.  However, neither sysinstall nor
bsdinstall see it fully

I have the box netbooted (Intel Matrix raid)


i5# graid status -ags
Intel-a5bbf622  OPTIMAL  ada0 (ACTIVE (ACTIVE))
Intel-a5bbf622  OPTIMAL  ada1 (ACTIVE (ACTIVE))
i5#


I can newfs /dev/raid/r0

i5# ls -l /dev/raid/r0
crw-r-  1 root  operator0,  98 Aug  5 10:43 /dev/raid/r0
i5#

and mount it. However, speeds seem a bit slow, but I am not sure if
thats to be expected.

i5# dd if=/dev/zero of=/mnt/test bs=1024k count=100
100+0 records in
100+0 records out
104857600 bytes transferred in 13.996080 secs (7491926 bytes/sec)
i5#


i5# iostat -c 1000 ada0 ada1
   ttyada0 ada1 cpu
 tin  tout  KB/t tps  MB/s   KB/t tps  MB/s  us ni sy in id
   2   204 124.47   5  0.57  124.28   5  0.57   0  0  0  0 100
   0   186 128.00  60  7.49  128.00  62  7.74   0  0  0  0 100
   064 128.00  55  6.87  128.00  50  6.24   0  0  0  1 99
   063 128.00  60  7.49  128.00  64  7.99   0  0  0  1 99
   063 128.00  40  4.99  128.00  40  4.99   0  0  0  1 99
   063 126.43  61  7.52  128.00  59  7.37   0  0  0  0 99
   063 128.00  45  5.62  128.00  43  5.37   0  0  0  1 99
   063 128.00  50  6.24  128.00  51  6.37   0  0  0  0 100
   064 128.00  50  6.24  128.00  49  6.12   0  0  0  1 99
   063 128.00  80  9.99  128.00  81 10.11   0  0  0  0 100
   064 128.00  70  8.74  128.00  71  8.87   0  0  0  0 99

But when I run sysintall, it does not find any disks. If I run
bsdinstall, it sees ada0 and ada1, but I cannot partition and label the
raid partition.  Am I supposed to just write to ada0 ? What is the best
way to do it

Guided just shows ada0 and ada1

The partition editor does show

md0   4.0 MBmalloc
ada0  465 GB
  raid/r0 465 GB
ada1  465 GB
  raid/r0 465 GB

But I cannot label any of the r0 'disks'

It comes up with
Invalid argument.
arg0
'Intel-a5bbf622'



ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: WDC WD5002AALX-00J37A0 15.01H15 ATA-8 SATA 3.x device
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad4
ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
ada1: WDC WD5002AALX-00J37A0 15.01H15 ATA-8 SATA 3.x device
ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)
ada1: Previously was known as ad6
ahci0: Intel ICH8 AHCI SATA controller port
0x3068-0x306f,0x3074-0x3077,0x3060-0x3067,0x3070-0x3073,0x3020-0x303f
mem 0xb262-0xb26207ff irq 18 at device 31.2 o
n pci0
ahci0: AHCI v1.30 with 6 3Gbps ports, Port Multiplier not supported
ahcich0: AHCI channel at channel 0 on ahci0
ahcich1: AHCI channel at channel 1 on ahci0
ahcich2: AHCI channel at channel 2 on ahci0
ahcich3: AHCI channel at channel 3 on ahci0
ahcich4: AHCI channel at channel 4 on ahci0
ahcich5: AHCI channel at channel 5 on ahci0




---Mike


-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: graid fresh install

2011-08-05 Thread Mike Tancsa
On 8/5/2011 12:01 PM, Mike Tancsa wrote:
 
 and mount it. However, speeds seem a bit slow, but I am not sure if
 thats to be expected.
 
 i5# dd if=/dev/zero of=/mnt/test bs=1024k count=100
 100+0 records in
 100+0 records out
 104857600 bytes transferred in 13.996080 secs (7491926 bytes/sec)
 i5#


One extra bit of oddness with graid, is that if I disable the RAID in
the BIOS and boot up the disks just with plain old AHCI, graid still
works. Is that a quirk of the BIOS, or does it generally work that way?


---Mike




-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: Interrupt storm with MSI in combination with em1

2011-05-06 Thread Mike Tancsa
On 5/6/2011 11:02 AM, Daan Vreeken wrote:
 One core is spending half it's time handling interrupts.
 /var/log/messages doesn't show any new message since the storm 
 started. vmstat -i now shows :
 
   # vmstat -i
   interrupt  total   rate
   irq3: uart1   917384 63
 --   irq16: ehci0   809547235  55608
 
 Apart from spending far too much time handling interrupts, the machine works 
 fine, so I'll let it run in case anyone wants me to try something on it.
 


Do you have any usb devices plugged in ? ie what does
usbconfig

show ?

Also, what USB settings do you have in the BIOS ? I would try disabling
usb legacy mode and and things like 80-64 translation.

---Mike


-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: problems with em(4) since update to driver 7.2.2

2011-04-27 Thread Mike Tancsa
On 4/27/2011 2:35 PM, Olivier Smedts wrote:
 2011/4/27 Jack Vogel jfvo...@gmail.com:
 If you get cannot setup receive structures you cannot go on and try to
 use the thing :) It means you have inadequate mbuf clusters to setup
 your receive side, you simply have to increase it and reload the driver.
 
 Thanks for your answer. I'll try and let you know if this works, but
 why don't have I enough mbuf clusters ? Isn't this driver supposed to
 just work out of the box on a nearly GENERIC (but with network devices
 as modules)  kernel ?

Are you testing with what is in HEAD ? ie. 7.2.3 or something else ?
Your subject line implies something else.

---Mike

-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: problems with em(4) since update to driver 7.2.2

2011-04-27 Thread Mike Tancsa
On 4/27/2011 2:45 PM, Olivier Smedts wrote:
 Are you testing with what is in HEAD ? ie. 7.2.3 or something else ?
 Your subject line implies something else.
 
 I'm using what's in HEAD since r219753, the commit which updated the
 em driver from version 7.1.9 to 7.2.2 and broke it at least for me.

Oh, ok. Thats from back in March.  There is a newer one 7.2.3 in April.
I would test with that perhaps. I am using a back ported version on
RELENG8 and it works quite well for me.

http://lists.freebsd.org/pipermail/svn-src-head/2011-April/026202.html


Hopefully MFC'd soon ?


---Mike



-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: problems with em(4) since update to driver 7.2.2

2011-03-31 Thread Mike Tancsa
On 3/31/2011 11:20 AM, Olivier Smedts wrote:
 Hello,
 
 I've got a problem under FreeBSD 9.0-CURRENT amd64 with the em driver.
 It's loaded as a module. I was previously using r219710 (2011-03-17)
 without any problem, but with latest HEAD I can't even send a ping.
 Here's what appears in dmesg. I tried unloading / loading the module,
 did not help. At the end I loaded my old if_em.ko and it worked :

I ran into a similar problem with specific types of em NICs. For some
reason, if it was compiled into the kernel it worked. As a module doing
a netboot, it would fail.  Does it work for you if the driver is
statically compiled into the kernel by chance ?

---Mike

-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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


DTrace and USDT

2011-03-01 Thread Mike Owens
I've got CURRENT running as of 2/26 and am playing around with DTrace
USDT. It seems to be segfaulting on most of the probes in code I had
working on Solaris. It tried the example code on the wiki and got the
same problem.

I understand that this is a work in progress. If there is anything I
can do to help out, I'd be glad to do what I can. It's great to see
USDT making its way into FreeBSD.

Mike

-- 
http://about.me/mikeowens/
___
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: About panic: bufwrite: buffer is not busy???

2011-02-21 Thread Mike Tancsa
On 2/21/2011 4:10 PM, Kostik Belousov wrote:
 Is this reproducable ?

The box seems to have a number of bugs it has been triggering.  
g...@freebsd.org's netgraph patch, seems to have fixed one of them. Max seems 
to have fixed two others.  This one, I am not sure. I can re-enable memguard to 
randomly sample again, which is what seemed to have caught / triggered it.

 What system version is it ?
 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #11: Thu Feb 17 i386, 4G of RAM

 
 Could you, please, go to frame 12 and show the output of p *p,
 p *(p-p_ucred) ?


(kgdb) frame 12
#12 0xc0654fd1 in crcopysafe (p=0xc90cc810, cr=0xce3ee800) at 
/usr/src/sys/kern/kern_prot.c:1950
1950crcopy(cr, oldcred);
(kgdb) list
1945PROC_UNLOCK(p);
1946crextend(cr, groups);
1947PROC_LOCK(p);
1948oldcred = p-p_ucred;
1949}
1950crcopy(cr, oldcred);
1951
1952return (oldcred);
1953}
1954
(kgdb) p *(p-p_ucred)
$1 = {cr_ref = 3373030400, cr_uid = 3460374784, cr_ruid = 3231313392, cr_svuid 
= 7196, cr_ngroups = 0, cr_rgid = 503415038, cr_svgid = 0, cr_uidinfo = 0x0, 
cr_ruidinfo = 0x0, 
  cr_prison = 0x0, cr_pspare = 0x, cr_flags = 4294967295, cr_pspare2 = 
{0x0, 0x0}, cr_label = 0x, cr_audit = {ai_auid = 0, ai_mask = 
{am_success = 0, 
  am_failure = 1298034100}, ai_termid = {at_port = 3, at_type = 1, at_addr 
= {0, 64, 0, 0}}, ai_asid = 0, ai_flags = 0}, cr_groups = 0xc9e37900, 
cr_agroups = 16}
(kgdb) p *p
$2 = {p_list = {le_next = 0xc93ed560, le_prev = 0xc9187ac0}, p_threads = 
{tqh_first = 0xc9196b80, tqh_last = 0xc9196b88}, p_slock = {lock_object = {
  lo_name = 0xc08efca2 process slock, lo_flags = 720896, lo_data = 0, 
lo_witness = 0x0}, mtx_lock = 4}, p_ucred = 0xce3ee600, p_fd = 0xc9559100, 
p_fdtol = 0x0, 
  p_stats = 0xc90cd600, p_limit = 0xc912d600, p_limco = {c_links = {sle = 
{sle_next = 0x0}, tqe = {tqe_next = 0x0, tqe_prev = 0x0}}, c_time = 0, c_arg = 
0x0, c_func = 0, 
c_lock = 0xc90cc898, c_flags = 0, c_cpu = 0}, p_sigacts = 0xc911f000, 
p_flag = 268435713, p_state = PRS_NORMAL, p_pid = 565, p_hash = {le_next = 0x0, 
le_prev = 0xc8d148d4}, 
  p_pglist = {le_next = 0x0, le_prev = 0xc90c85c8}, p_pptr = 0xc8d2b000, 
p_sibling = {le_next = 0xc93ed560, le_prev = 0xc9187b3c}, p_children = 
{lh_first = 0x0}, p_mtx = {
lock_object = {lo_name = 0xc08efc95 process lock, lo_flags = 21168128, 
lo_data = 0, lo_witness = 0x0}, mtx_lock = 3373886336}, p_ksi = 0xc908f9b0, 
p_sigqueue = {
sq_signals = {__bits = {0, 0, 0, 0}}, sq_kill = {__bits = {0, 0, 0, 0}}, 
sq_list = {tqh_first = 0x0, tqh_last = 0xc90cc8d0}, sq_proc = 0xc90cc810, 
sq_flags = 1}, 
  p_oppid = 0, p_vmspace = 0xc93f0e80, p_swtick = 6600, p_realtimer = 
{it_interval = {tv_sec = 0, tv_usec = 0}, it_value = {tv_sec = 0, tv_usec = 
0}}, p_ru = {ru_utime = {
  tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 0}, ru_maxrss 
= 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 0, ru_majflt = 0, 
ru_nswap = 0, 
ru_inblock = 0, ru_oublock = 0, ru_msgsnd = 0, ru_msgrcv = 0, ru_nsignals = 
0, ru_nvcsw = 0, ru_nivcsw = 0}, p_rux = {rux_runtime = 109046064880, 
rux_uticks = 1368, 
rux_sticks = 5393, rux_iticks = 0, rux_uu = 10366008, rux_su = 40860399, 
rux_tu = 51225136}, p_crux = {rux_runtime = 0, rux_uticks = 0, rux_sticks = 0, 
rux_iticks = 0, 
rux_uu = 0, rux_su = 0, rux_tu = 0}, p_profthreads = 0, p_exitthreads = 0, 
p_traceflag = 0, p_tracevp = 0x0, p_tracecred = 0x0, p_textvp = 0xc95bf96c, 
p_lock = 0, 
  p_sigiolst = {slh_first = 0x0}, p_sigparent = 20, p_sig = 0, p_code = 0, 
p_stops = 0, p_stype = 0, p_step = 0 '\0', p_pfsflags = 0 '\0', p_nlminfo = 
0x0, p_aioinfo = 0x0, 
  p_singlethread = 0x0, p_suspcount = 0, p_xthread = 0x0, p_boundary_count = 0, 
p_pendingcnt = 0, p_itimers = 0x0, p_magic = 3203398350, p_osrel = 802500, 
  p_comm = zebra, '\0' repeats 14 times, p_pgrp = 0xc90c85c0, p_sysent = 
0xc095c800, p_args = 0xc90c8440, p_cpulimit = 9223372036854775807, p_nice = 0 
'\0', p_fibnum = 0, 
  p_xstat = 0, p_klist = {kl_list = {slh_first = 0x0}, kl_lock = 0xc062a990 
knlist_mtx_lock, kl_unlock = 0xc062a940 knlist_mtx_unlock, 
kl_assert_locked = 0xc06275f0 knlist_mtx_assert_locked, 
kl_assert_unlocked = 0xc0627600 knlist_mtx_assert_unlocked, kl_lockarg = 
0xc90cc898}, p_numthreads = 1, p_md = {
md_ldt = 0x0}, p_itcallout = {c_links = {sle = {sle_next = 0x0}, tqe = 
{tqe_next = 0x0, tqe_prev = 0x0}}, c_time = 0, c_arg = 0x0, c_func = 0, c_lock 
= 0x0, c_flags = 16, 
c_cpu = 0}, p_acflag = 1, p_peers = 0x0, p_leader = 0xc90cc810, p_emuldata 
= 0x0, p_label = 0x0, p_sched = 0xc90ccac0, p_ktr = {stqh_first = 0x0, 
stqh_last = 0xc90ccaa0}, 
  p_mqnotifier = {lh_first = 0x0}, p_dtrace = 0x0, p_pwait = {cv_description = 
0xc08f00ef ppwait, cv_waiters = 0}, p_dbgwait = {cv_description = 0xc08f00f6 
dbgwait, 
cv_waiters = 0}}
(kgdb) 

-- 
---
Mike

Re: About panic: bufwrite: buffer is not busy???

2011-02-20 Thread Mike Tancsa
On 2/20/2011 9:33 AM, Andrey Smagin wrote:
 On week -current I have same problem, my box paniced every 2-15 min. I 
 resolve problem by next steps - unplug network connectors from 2 intel em 
 (82574L) cards. I think last time that mpd5 related panic, but mpd5 work with 
 another re interface interated on MB. I think it may be em related panic, or 
 em+mpd5.

The latest panic I saw didnt have anything to do with em.  Are you sure
your crashes are because of the nic drive ?

The latest I saw was on Friday.

# kgdb /usr/obj/usr/src/sys/router/kernel.debug vmcore.11
(kgdb) bt
#0  doadump () at pcpu.h:231
#1  0xc04a51f9 in db_fncall (dummy1=1, dummy2=0, dummy3=-106856,
dummy4=0xc6b9696c ) at /usr/src/sys/ddb/db_command.c:548
#2  0xc04a55f1 in db_command (last_cmdp=0xc096f73c, cmd_table=0x0,
dopager=1) at /usr/src/sys/ddb/db_command.c:445
#3  0xc04a574a in db_command_loop () at /usr/src/sys/ddb/db_command.c:498
#4  0xc04a764d in db_trap (type=12, code=0) at
/usr/src/sys/ddb/db_main.c:229
#5  0xc068ba7e in kdb_trap (type=12, code=0, tf=0xc6b96b94) at
/usr/src/sys/kern/subr_kdb.c:546
#6  0xc088056f in trap_fatal (frame=0xc6b96b94, eva=52) at
/usr/src/sys/i386/i386/trap.c:937
#7  0xc0880830 in trap_pfault (frame=0xc6b96b94, usermode=0, eva=52) at
/usr/src/sys/i386/i386/trap.c:859
#8  0xc0880d4a in trap (frame=0xc6b96b94) at
/usr/src/sys/i386/i386/trap.c:532
#9  0xc086716c in calltrap () at /usr/src/sys/i386/i386/exception.s:166
#10 0xc0657a16 in uihold (uip=0x0) at /usr/src/sys/kern/kern_resource.c:1248
#11 0xc0654ec9 in crcopy (dest=0xce3ee800, src=0xce3ee600) at
/usr/src/sys/kern/kern_prot.c:1873
#12 0xc0654fd1 in crcopysafe (p=0xc90cc810, cr=0xce3ee800) at
/usr/src/sys/kern/kern_prot.c:1950
#13 0xc0656d7f in seteuid (td=0xc9196b80, uap=0xc6b96cec) at
/usr/src/sys/kern/kern_prot.c:615
#14 0xc06985ff in syscallenter (td=0xc9196b80, sa=0xc6b96ce4) at
/usr/src/sys/kern/subr_trap.c:315
#15 0xc0880884 in syscall (frame=0xc6b96d28) at
/usr/src/sys/i386/i386/trap.c:1061
#16 0xc08671d1 in Xint0x80_syscall () at
/usr/src/sys/i386/i386/exception.s:264
#17 0x0033 in ?? ()

(kgdb) frame 10
#10 0xc0657a16 in uihold (uip=0x0) at /usr/src/sys/kern/kern_resource.c:1248
1248{
(kgdb) list
1243 * Place another refcount on a uidinfo struct.
1244 */
1245void
1246uihold(uip)
1247struct uidinfo *uip;
1248{
1249
1250refcount_acquire(uip-ui_ref);
1251}
1252
(kgdb) p *uip
Cannot access memory at address 0x0
(kgdb) p uip
$1 = (struct uidinfo *) 0x0
(kgdb)

 
 
 Wed, 16 Feb 2011 12:08:30 -0500 письмо от Andrew Boyer 
 abo...@averesystems.com:
 
 Moving this to -current and -stable and following up...

 Something is broken with coredumps on stable/8 amd64.  I tried a vanilla
 8.2-RC3 and yesterday's csup of stable/8; neither can dump a core with 
 'sysctl
 debug.kdb.panic=1'.

 For the 8.2-RC3 / amd64 / GENERIC install, I used the memstick image,
 installed on ad7 (a 250GB SATA drive), used the default partition map, and 
 set
 dumpdev to AUTO.

 I added enough tracing to show that the second panic is due to the syncer
 process flushing buffers to the other filesystems in parallel with the dump. 
 I've seen this panic and a similar one 'buffer not locked' coming from
 ffs_write().  One time out of about 30 the core ran to completion, but slowly
 (~1MB/sec).  Other times the dump just locks up completely with no other
 output.

 Does anyone know what might have changed to expose this problem?

 I don't ever see it under 7.1.

 Thanks,
 Andrew

 On Feb 3, 2011, at 12:11 AM, Eugene Grosbein wrote:

 On 02.02.2011 00:50, Gleb Smirnoff wrote:

 E Uptime: 8h3m51s
 E Dumping 4087 MB (3 chunks)
 E   chunk 0: 1MB (150 pages) ... ok
 E   chunk 1: 3575MB (915088 pages) 3559 3543panic: bufwrite: buffer is not
 busy???
 E cpuid = 3
 E Uptime: 8h3m52s
 E Automatic reboot in 15 seconds - press a key on the console to abort
 Can you add KDB_TRACE option to kernel? Your boxes for some reason can't
 dump core, but with this option we will have at least trace.

 I see Mike Tancsa's box has bufwrite: buffer is not busy??? problem too.
 Has anyone a thought how to fix generation of crashdumps?

 Eugene Grosbein


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

 --
 Andrew Boyer abo...@averesystems.com




 ___
 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
 
 


-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
freebsd-current

Re: [head tinderbox] failure on amd64/amd64

2011-01-20 Thread Mike Tancsa
On 1/20/2011 9:30 AM, Matthew Fleming wrote:
 As far as I can tell this is another cvsup / tinderbox bug.  Both
 sysctl.h and tsc.c were modified in r217616 but somehow tsc.c is
 seeing the old version of sysctl.h.  This happened on another of my
 commits a few weeks ago.

Sometimes it takes a bit to get all the updates. The tinderbox syncs off
my local cvsup server which gets its updates from cvsup18 once per hr.
You can check its progress at

http://tinderbox.freebsd.org/

It has since built amd64

---Mike

 
 Hmm, does bumping __FreeBSD_version have anything to do with this?  I
 belatedly realize that I should have done it for that rev since the
 name of a kernel interface changed.
 
 Thanks,
 matthew
 
 On Wed, Jan 19, 2011 at 10:18 PM, FreeBSD Tinderbox
 tinder...@freebsd.org wrote:
 TB --- 2011-01-20 03:55:00 - tinderbox 2.6 running on 
 freebsd-current.sentex.ca
 TB --- 2011-01-20 03:55:00 - starting HEAD tinderbox run for amd64/amd64
 TB --- 2011-01-20 03:55:00 - cleaning the object tree
 TB --- 2011-01-20 03:55:27 - cvsupping the source tree
 TB --- 2011-01-20 03:55:27 - /usr/bin/csup -z -r 3 -g -L 1 -h 
 cvsup.sentex.ca /tinderbox/HEAD/amd64/amd64/supfile
 TB --- 2011-01-20 03:55:39 - building world
 TB --- 2011-01-20 03:55:39 - MAKEOBJDIRPREFIX=/obj
 TB --- 2011-01-20 03:55:39 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2011-01-20 03:55:39 - TARGET=amd64
 TB --- 2011-01-20 03:55:39 - TARGET_ARCH=amd64
 TB --- 2011-01-20 03:55:39 - TZ=UTC
 TB --- 2011-01-20 03:55:39 - __MAKE_CONF=/dev/null
 TB --- 2011-01-20 03:55:39 - cd /src
 TB --- 2011-01-20 03:55:39 - /usr/bin/make -B buildworld
 World build started on Thu Jan 20 03:55:43 UTC 2011
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 stage 5.1: building 32 bit shim libraries
 World build completed on Thu Jan 20 06:04:21 UTC 2011
 TB --- 2011-01-20 06:04:21 - generating LINT kernel config
 TB --- 2011-01-20 06:04:21 - cd /src/sys/amd64/conf
 TB --- 2011-01-20 06:04:21 - /usr/bin/make -B LINT
 TB --- 2011-01-20 06:04:21 - building LINT kernel
 TB --- 2011-01-20 06:04:21 - MAKEOBJDIRPREFIX=/obj
 TB --- 2011-01-20 06:04:21 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2011-01-20 06:04:21 - TARGET=amd64
 TB --- 2011-01-20 06:04:21 - TARGET_ARCH=amd64
 TB --- 2011-01-20 06:04:21 - TZ=UTC
 TB --- 2011-01-20 06:04:21 - __MAKE_CONF=/dev/null
 TB --- 2011-01-20 06:04:21 - cd /src
 TB --- 2011-01-20 06:04:21 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Thu Jan 20 06:04:21 UTC 2011
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
 [...]
 cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99  -Wall 
 -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
 -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
 -fformat-extensions -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq 
 -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
 -finline-limit=8000 --param inline-unit-growth=100 --param 
 large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF 
 -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  
 -mfpmath=387 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3  -msoft-float 
 -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg 
 -mprofiler-epilogue /src/sys/x86/x86/nexus.c
 cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99  -Wall 
 -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
 -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
 -fformat-extensions -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq 
 -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
 -finline-limit=8000 --param inline-unit-growth=100 --param 
 large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF 
 -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  
 -mfpmath=387 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3  -msoft-float 
 -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg 
 -mprofiler-epilogue /src/sys/x86/x86/tsc.c
 cc1: warnings being treated as errors
 /src/sys/x86/x86/tsc.c: In function 'sysctl_machdep_tsc_freq':
 /src/sys/x86/x86/tsc.c:266: warning: implicit declaration of function 
 'sysctl_handle_64'
 /src/sys/x86/x86/tsc.c:266: warning: nested extern declaration of 
 'sysctl_handle_64'
 /src/sys/x86/x86/tsc.c: At top level:
 /src/sys/x86/x86/tsc.c:274: error: 'CTLTYPE_U64' undeclared here (not in a 
 function

Re: [Soekris] Soekris net5501 - how to use hardware watchdog?

2011-01-17 Thread Mike Tancsa
On 1/16/2011 9:45 PM, Mike Tancsa wrote:
 On 1/16/2011 6:17 PM, Marek Salwerowicz wrote:
 Hi all,

 what modules to kernel should I load in order to make use of hardware
 watchdog installed in Soekris net5501 ?
 
 Hi,
   Try adding
 option  CPU_SOEKRIS

Sorry, for the 5501 thats

option  CPU_GEODE

---Mike

 
 to your kernel.  Then just startup /usr/sbin/watchdogd
 
   ---Mike
 ___
 Soekris-tech mailing list
 soekris-t...@lists.soekris.com
 http://lists.soekris.com/mailman/listinfo/soekris-tech
 
 

___
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: [Soekris] Soekris net5501 - how to use hardware watchdog?

2011-01-17 Thread Mike Tancsa
On 1/17/2011 11:07 AM, Marek Salwerowicz wrote:
 Hi,
 Try adding
 option  CPU_SOEKRIS

 Sorry, for the 5501 thats

 option  CPU_GEODE

 ---Mike
 
 I have added both. Is there any possible test to check if watchdog
 really does reboot ?
 Just start /usr/sbin/watchdogd and then kill the process?


Yes, but make sure you do kill -9, not just kill

---Mike
___
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: Soekris net5501 - how to use hardware watchdog?

2011-01-16 Thread Mike Tancsa
On 1/16/2011 6:17 PM, Marek Salwerowicz wrote:
 Hi all,
 
 what modules to kernel should I load in order to make use of hardware
 watchdog installed in Soekris net5501 ?

Hi,
Try adding
option  CPU_SOEKRIS

to your kernel.  Then just startup /usr/sbin/watchdogd

---Mike
___
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: [head tinderbox] failure on powerpc64/powerpc

2010-12-21 Thread Mike Tancsa
On 12/21/2010 5:49 PM, Matthew Fleming wrote:
 /src/sys/kern/kern_fail.c:557: error: dereferencing pointer to incomplete 
 type
 /src/sys/kern/kern_fail.c:557: error: dereferencing pointer to incomplete 
 type
 /src/sys/kern/kern_fail.c:557: error: dereferencing pointer to incomplete 
 type
 /src/sys/kern/kern_fail.c:557: error: dereferencing pointer to incomplete 
 type
 /src/sys/kern/kern_fail.c:557: error: dereferencing pointer to incomplete 
 type
 /src/sys/kern/kern_fail.c: In function 'clear_entries':
 /src/sys/kern/kern_fail.c:569: error: dereferencing pointer to incomplete 
 type
 /src/sys/kern/kern_fail.c:569: warning: left-hand operand of comma 
 expression has no effect
 *** Error code 1
 
 I think Tinderbox has a bad source tree.  Lines 557 and 569 make sense
 from the old version of kern_fail.c before either of my commits.  So
 is Tinderbox somehow building with an old kern_fail.c but an updated
 sys/fail.h?  That would explain the build error, but I have no idea
 how it could have gotten into such a situation.



It updates from my local mirror which updates from cvsup18.  The last
update was

CVSup update ends at 2010-12-21 16:44:39
CVSup update begins at 2010-12-21 17:43:00
Updating from cvsup18.freebsd.org
Connected to cvsup18.freebsd.org
Updating collection cvs-all/cvs
 Append to CVSROOT-ports/commitlogs/ports
 Append to CVSROOT-src/commitlogs/sys
 Edit ports/devel/p5-DateTime-Format-Strptime/Makefile,v
 Edit ports/devel/p5-DateTime-Format-Strptime/distinfo,v
 Edit ports/multimedia/playd/Makefile,v
 Edit ports/multimedia/playd/distinfo,v
 Edit src/sys/nfsserver/nfs_srvsubs.c,v
src/sys/nfsserver/nfs_srvsubs.c,v: Checksum mismatch -- will transfer
entire file
 Edit src/sys/sparc64/include/cpufunc.h,v
src/sys/sparc64/include/cpufunc.h,v: Checksum mismatch -- will transfer
entire file
 Edit src/sys/sparc64/include/vmparam.h,v
src/sys/sparc64/include/vmparam.h,v: Checksum mismatch -- will transfer
entire file
 Edit src/sys/sparc64/sparc64/tick.c,v
src/sys/sparc64/sparc64/tick.c,v: Checksum mismatch -- will transfer
entire file
 Edit src/sys/sys/mount.h,v
src/sys/sys/mount.h,v: Checksum mismatch -- will transfer entire file
Skipping collection gnats/current
Skipping collection www/current
Skipping collection mail-archive/current
Updating collection distrib/self
Applying fixups for collection cvs-all/cvs
 Fixup src/sys/nfsserver/nfs_srvsubs.c,v
 Fixup src/sys/sparc64/include/cpufunc.h,v
 Fixup src/sys/sparc64/include/vmparam.h,v
 Fixup src/sys/sparc64/sparc64/tick.c,v
 Fixup src/sys/sys/mount.h,v
Finished successfully
CVSup update ends at 2010-12-21 17:45:11




___
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: In-kernel PPPoE

2010-12-08 Thread Mike Tancsa
On 12/7/2010 6:07 AM, Bjoern A. Zeeb wrote:
 On Tue, 7 Dec 2010, Alexander Motin wrote:
 
 Does mpd work in -current ? Last tried I, netgraph had problems with
 mpd.

 Sure it does! What is the problem?
 
 There have been several reports (incl. panics) on various lists like
 net, stable, ... during the last months for mostly 8.x (and HEAD).
 None of which was really followed up to to my memory.
 

From a kernel from Sept2, I would get this panic / crash after a week of
running mpd with ipv6 enabled

Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address   = 0x24
fault code  = supervisor read, page not present
instruction pointer = 0x20:0xc5ef3e15
stack pointer   = 0x28:0xc4fe4838
frame pointer   = 0x28:0xc4fe484c
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 1000 (ng_queue1)
trap number = 12
panic: page fault
cpuid = 1
Uptime: 6d4h9m42s
Physical memory: 2036 MB
Dumping 240 MB: 225 209 193 177panic: bufwrite: buffer is not busy???
cpuid = 1
 161 145 129 113 97 81 65 49 33 17 1

(kgdb) #0  doadump () at pcpu.h:231
#1  0xc0681233 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:416
#2  0xc0681499 in panic (fmt=Variable fmt is not available.
) at /usr/src/sys/kern/kern_shutdown.c:590
#3  0xc08ea3ec in trap_fatal (frame=0xc4fe47f8, eva=36)
at /usr/src/sys/i386/i386/trap.c:938
#4  0xc08ea650 in trap_pfault (frame=0xc4fe47f8, usermode=0, eva=36)
at /usr/src/sys/i386/i386/trap.c:851
#5  0xc08eaf19 in trap (frame=0xc4fe47f8) at
/usr/src/sys/i386/i386/trap.c:533
#6  0xc08cd4bc in calltrap () at /usr/src/sys/i386/i386/exception.s:166
#7  0xc5ef3e15 in ng_address_hook (here=0x0, item=0xc5f03c40,
hook=0xcb685980, retaddr=0)
at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:3504
#8  0xc5f7ebfb in ng_tcpmss_rcvdata (hook=0xc6618300, item=0xc5f03c40)
at
/usr/src/sys/modules/netgraph/tcpmss/../../../netgraph/ng_tcpmss.c:347
#9  0xc5ef57c4 in ng_apply_item (node=0xca955b00, item=0xc5f03c40, rw=0)
at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#10 0xc5ef479f in ng_snd_item (item=0xc5f03c40, flags=Variable flags
is not available.
)
at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2253
#11 0xc5f6dd30 in ng_ppp_proto_recv (node=0xc6431300, item=0xc5f03c40,
proto=Variable proto is not available.
)
at /usr/src/sys/modules/netgraph/ppp/../../../netgraph/ng_ppp.c:949
#12 0xc5f6ea25 in ng_ppp_rcvdata (hook=0xcb228a80, item=0xc5f03c40)
at /usr/src/sys/modules/netgraph/ppp/../../../netgraph/ng_ppp.c:1524
#13 0xc5ef57c4 in ng_apply_item (node=0xc6431300, item=0xc5f03c40, rw=0)
at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#14 0xc5ef479f in ng_snd_item (item=0xc5f03c40, flags=Variable flags
is not available.
)
at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2253
#15 0xc5ef57c4 in ng_apply_item (node=0xcb375c80, item=0xc5f03c40, rw=0)
at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#16 0xc5ef479f in ng_snd_item (item=0xc5f03c40, flags=Variable flags
is not available.
)
at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2253
#17 0xc5ef57c4 in ng_apply_item (node=0xc6330100, item=0xc5f03c40, rw=0)
at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#18 0xc5ef479f in ng_snd_item (item=0xc5f03c40, flags=Variable flags
is not available.
)
at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2253
#19 0xc5f4db1c in ng_ksocket_incoming2 (node=0xc6431e00, hook=0x0,
arg1=0xc63479a8, arg2=0)
at
/usr/src/sys/modules/netgraph/ksocket/../../../netgraph/ng_ksocket.c:1153
#20 0xc5ef58f9 in ng_apply_item (node=0xc6431e00, item=0xc5f02780, rw=1)
at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2407
#21 0xc5ef6a46 in ngthread (arg=0x0)
at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:3351
#22 0xc0656cd1 in fork_exit (callout=0xc5ef68e0 ngthread, arg=0x0,
frame=0xc4fe4d38) at /usr/src/sys/kern/kern_fork.c:844
#23 0xc08cd534 in fork_trampoline () at
/usr/src/sys/i386/i386/exception.s:273
(kgdb)


Since there were a number of ipv6 patches, I thought I would try again
with a kernel from today as well as the patch from
http://www.freebsd.org/cgi/query-pr.cgi?pr=148857

Still get the WITNESS warning below.  Not sure if its a bad thing or
has anything to do with the above panic.


uma_zalloc_arg: zone 1024 with the following non-sleepable locks held:
exclusive rw ifnet_rw (ifnet_rw) r = 0 (0xc0b67144) locked @
/usr/src/sys/net/if.c:434
KDB: stack backtrace:
db_trace_self_wrapper(c0928b5a,c2d0,2e,0,0,...) at
db_trace_self_wrapper+0x26
kdb_backtrace(1b2,2,,c0b399d4,e7cda8f4,...) at 

Re: [head tinderbox] failure on sparc64/sparc64

2010-09-19 Thread Mike Tancsa
Sorry for the tinderbox breakagage again.  Our main cvsup server 
seems to be triggering a bug in the em driver :(  I will point it to 
an outside mirror for now...


---Mike


At 12:38 PM 9/19/2010, FreeBSD Tinderbox wrote:
TB --- 2010-09-19 16:01:48 - tinderbox 2.6 running on 
freebsd-current.sentex.ca

TB --- 2010-09-19 16:01:48 - starting HEAD tinderbox run for sparc64/sparc64
TB --- 2010-09-19 16:01:48 - cleaning the object tree
TB --- 2010-09-19 16:02:24 - cvsupping the source tree
TB --- 2010-09-19 16:02:24 - /usr/bin/csup -z -r 3 -g -L 1 -h 
cvsup.sentex.ca /tinderbox/HEAD/sparc64/sparc64/supfile

TB --- 2010-09-19 16:38:13 - WARNING: /usr/bin/csup returned exit code  1
TB --- 2010-09-19 16:38:13 - ERROR: unable to cvsup the source tree
TB --- 2010-09-19 16:38:13 - 0.77 user 25.64 system 2184.91 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-sparc64-sparc64.full
___
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



Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,m...@sentex.net
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike

___
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: [head tinderbox] failure on amd64/amd64

2010-09-10 Thread Mike Tancsa

At 06:57 PM 9/9/2010, Doug Barton wrote:


Normally they are pointed to a local mirror here at Sentex. However,
that server was having hardware problems which I think we have isolated
and resolved now. I will repoint this tinderbox to the local site again.


The best way to handle this would be to have messages about csup 
failing to be directed only to those who are actually able to fix 
the problem. Assuming that the cvsup server is always going to work 
is contrary to both history and good system administration practices. :)



Perhaps as an interim measure a local procmail rule to filter out cvsup
failures from going to the list ?


That's a particularly unhelpful response. Not only is it borderline 
rude to attempt to shift the responsibility for this to the users, 
it's a violation of the robustness principle.


I meant local procmail rule as in local to the tinderboxes so that 
des and myself and others who admin the boxes only get such 
messages.  I didnt want to make such changes without des' approval 
and was waiting for his input...


---Mike








Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,m...@sentex.net
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike

___
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: [head tinderbox] failure on amd64/amd64

2010-09-10 Thread Mike Tancsa

At 02:02 PM 9/10/2010, Doug Barton wrote:

In that case I apologize for the misunderstanding. I've used 
procmail for many years on the receiving end but was not aware of 
the ability to use it in the manner you suggested.


Have the tinderbox send just one email to a local account, then use 
procmailrc to figure out where to send copies.


---Mike


___
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: [head tinderbox] failure on amd64/amd64

2010-09-08 Thread Mike Tancsa

At 09:07 AM 9/8/2010, Denny Lin wrote:

On Wed, Sep 08, 2010 at 04:55:14AM -0700, Rob Farmer wrote:
  TB --- 2010-09-08 10:16:32 - /usr/bin/csup 
-z -r 3 -g -L 1 -h cvsup18.freebsd.org /tinderbox/HEAD/amd64/amd64/supfile
  TB --- 2010-09-08 10:55:57 - WARNING: 
/usr/bin/csup returned exit code  1

  TB --- 2010-09-08 10:55:57 - ERROR: unable to cvsup the source tree
  TB --- 2010-09-08 10:55:57 - 1.81 user 60.35 system 2456.66 real

 Is it possible to either have the tinderbox try multiple cvsup servers
 or just not send a message if cvsup fails? Counting all branches and
 all archs, there have been around 50 ERROR: unable to cvsup the
 source tree mails in the last week.

I don't think Tinderbox supports multiple CVSup servers at the moment.
It seems like a desirable feature.


Normally they are pointed to a local mirror here 
at Sentex. However, that server was having 
hardware problems which I think we have isolated 
and resolved now.   I will repoint this tinderbox to the local site again.


Perhaps as an interim measure a local procmail 
rule to filter out cvsup failures from going to the list ?


---Mike



--
Denny Lin
___
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



Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,m...@sentex.net
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike

___
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: svn commit: r211908 - head/sys/dev/ichwd

2010-08-30 Thread Mike Tancsa

Hi Jack,
I was trying to see if your recent commits for the ichwd IDs 
now work with the integrated watchdog for my i5 boards, but no luck.


ichsmb0: Intel PCH SMBus controller port 0x3000-0x301f mem 
0xb1b23000-0xb1b230ff irq 18 at device 31.3 on pci0

ichsmb0: [ITHREAD]
smbus0: System Management Bus on ichsmb0
ichwd0: Intel 3420 watchdog timer on isa0
ichwd0: ICH WDT present but disabled in BIOS or hardware
device_attach: ichwd0 attach returned 6
ppc0: parallel port not found.

This is an actual Intel server MB (INTEL  S3420GPC) and the WD is 
enabled in the bios.  Are you able to actually get it to work on this board ?


---Mike



Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,m...@sentex.net
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike

___
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: svn commit: r211908 - head/sys/dev/ichwd

2010-08-30 Thread Mike Tancsa

At 12:51 PM 8/30/2010, Olivier Smedts wrote:


By any chance, is it disabled in BIOS ?


Hi,
There are a couple of options in the BIOS. There is a reboot the box 
if the bios does not post within 6min as well as Fire the watchdog 
if the dog has not been patted after 5,10 or 15min after the BIOS 
post.   I tried all combinations without luck. If I have the reboot 
after x min post post, the box will reboot on its own.


---Mike


Cheers,
Olivier

 This is an actual Intel server MB (INTEL  S3420GPC) and the WD is 
enabled in

 the bios.  Are you able to actually get it to work on this board ?

---Mike


 
 Mike Tancsa,  tel +1 519 651 3400
 Sentex Communications,m...@sentex.net
 Providing Internet since 1994www.sentex.net
 Cambridge, Ontario Canada www.sentex.net/mike

 ___
 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




--
Olivier Smedts _
ASCII ribbon campaign ( )
e-mail: oliv...@gid0.org- against HTML email  vCards  X
www: http://www.gid0.org- against proprietary attachments / \

  Il y a seulement 10 sortes de gens dans le monde :
  ceux qui comprennent le binaire,
  et ceux qui ne le comprennent pas.



Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,m...@sentex.net
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike

___
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: svn commit: r211908 - head/sys/dev/ichwd

2010-08-30 Thread Mike Tancsa

At 02:47 PM 8/30/2010, Xin LI wrote:


My guess is that your motherboard provided another watchdog (like
Winbond based super I/O chips) which requires a driver, you can try this
one if you wish:

http://people.freebsd.org/~delphij/for_review/winbondwd/

I've no idea about your ichwd issue though.


Hi,
Thanks for the link!  I had a look on Intel's site and didnt find 
anything specifically mentioning the type of watchdog.  This is an 
actual intel branded board and not supermicro.


No luck with the driver. However, I will give it a try on some of the 
MBs that do have Winbond WDs. A long time ago I hacked together one 
for the 83697


http://www.tancsa.com/watchdog/itxwd-1.0/

---Mike




Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,m...@sentex.net
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike

___
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: [head tinderbox] failure on powerpc64/powerpc

2010-08-29 Thread Mike Tancsa

At 07:29 PM 8/29/2010, Nathan Whitehorn wrote:


Is something wrong with cvsup? This bug was fixed two days ago in SVN.


Hi,
There was a problem with the crontab entry on the local cvsup mirror 
that the tinder box syncs from for weekend runs / updates. I have 
fixed the ctab entry and kicked cvsup to start its updates now.


---Mike



-Nathan
___
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



Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,m...@sentex.net
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike

___
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: why GNU grep is fast

2010-08-22 Thread Mike Haertel
Dag-Erling Sm�rgrav d...@des.no writes:
 Mike Haertel m...@ducky.net writes:
  GNU grep uses the well-known Boyer-Moore algorithm, which looks
  first for the final letter of the target string, and uses a lookup
  table to tell it how far ahead it can skip in the input whenever
  it finds a non-matching character.
 
 Boyer-Moore is for fixed search strings.  I don't see how that
 optimization can work with a regexp search unless the regexp is so
 simple that you break it down into a small number of cases with known
 length and final character.

GNU grep uses heuristics to look for a fixed string that any string
matching the regex *must* contain, and uses that fixed string as the
bases for its initial Boyer-Moore search.

For example if your regex is /foo.*bar/, the initial Boyer-Moore search
is (probably) searching for foo.

If the initial search succeeds, GNU grep isolates the containing line,
and then runs the full regex matcher on that line to make sure.

This is the sort of thing that a good regex library could do internally.

Unfortunately, you can'd do this with a library that conforms to
the !...@#%$!@#% POSIX regex API.

The problem is that regexec()'s interface is based on NUL-terminated
strings, rather than byte-counted buffers.  So POSIX regexec() is
necessarily character-at-a-time, because it has to look for that
input-terminating NUL byte, and also you can't use it to search binary
data that might contain NULs.  (GNU grep works fine with arbitrary
input files, as long as it can allocate enough memory to hold the
longest line.)

For these reasons a good grep implementation is pretty muched doomed
to bundle its own regex matcher.


___
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: why GNU grep is fast

2010-08-22 Thread Mike Haertel
Dag-Erling Smørgrav d...@des.no writes:
 Mike Haertel m...@ducky.net writes:
  For example if your regex is /foo.*bar/, the initial Boyer-Moore search
  is (probably) searching for foo.
 
  If the initial search succeeds, GNU grep isolates the containing line,
  and then runs the full regex matcher on that line to make sure.
 
 You don't really need to isolate the containing line unless you have
 an actual match, do you?  There are two cases:

Theoretically no.  However, suppose the pattern was /foo.*blah/.
The Boyer-Moore search will be for blah, since that's the longest
fixed substring.  But verifying a match for the full regexp either
requires a regexp matcher with the feature start here, at THIS point
in the middle of the RE and THAT point in the middle of the buffer,
and match backwards and forwards, or else running a more standard
RE matcher starting from the beginning of the line.

So, in practice you pretty much have to at least search backwards
for the preceding newline.

As you mentioned, you can avoid searching forwards for the next
newline if your RE matcher supports using newline as an exit marker.
But if the workload characteristics are that matching lines are
scarce compared to the input, this is an optimization that just
won't matter much either way.

___
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


why GNU grep is fast

2010-08-20 Thread Mike Haertel
Hi Gabor,

I am the original author of GNU grep.  I am also a FreeBSD user,
although I live on -stable (and older) and rarely pay attention
to -current.

However, while searching the -current mailing list for an unrelated
reason, I stumbled across some flamage regarding BSD grep vs GNU grep
performance.  You may have noticed that discussion too...

Anyway, just FYI, here's a quick summary of where GNU grep gets
its speed.  Hopefully you can carry these ideas over to BSD grep.

#1 trick: GNU grep is fast because it AVOIDS LOOKING AT
EVERY INPUT BYTE.

#2 trick: GNU grep is fast because it EXECUTES VERY FEW
INSTRUCTIONS FOR EACH BYTE that it *does* look at.

GNU grep uses the well-known Boyer-Moore algorithm, which looks
first for the final letter of the target string, and uses a lookup
table to tell it how far ahead it can skip in the input whenever
it finds a non-matching character.

GNU grep also unrolls the inner loop of Boyer-Moore, and sets up
the Boyer-Moore delta table entries in such a way that it doesn't
need to do the loop exit test at every unrolled step.  The result
of this is that, in the limit, GNU grep averages fewer than 3 x86
instructions executed for each input byte it actually looks at
(and it skips many bytes entirely).

See Fast String Searching, by Andrew Hume and Daniel Sunday,
in the November 1991 issue of Software Practice  Experience, for
a good discussion of Boyer-Moore implementation tricks.  It's
available as a free PDF online.

Once you have fast search, you'll find you also need fast input.

GNU grep uses raw Unix input system calls and avoids copying data
after reading it.

Moreover, GNU grep AVOIDS BREAKING THE INPUT INTO LINES.  Looking
for newlines would slow grep down by a factor of several times,
because to find the newlines it would have to look at every byte!

So instead of using line-oriented input, GNU grep reads raw data into
a large buffer, searches the buffer using Boyer-Moore, and only when
it finds a match does it go and look for the bounding newlines.
(Certain command line options like -n disable this optimization.)

Finally, when I was last the maintainer of GNU grep (15+ years ago...),
GNU grep also tried very hard to set things up so that the *kernel*
could ALSO avoid handling every byte of the input, by using mmap()
instead of read() for file input.  At the time, using read() caused
most Unix versions to do extra copying.  Since GNU grep passed out
of my hands, it appears that use of mmap became non-default, but you
can still get it via --mmap.  And at least in cases where the data
is already file system buffer caches, mmap is still faster:

  $ time sh -c 'find . -type f -print | xargs grep -l 123456789abcdef'
  real  0m1.530s
  user  0m0.230s
  sys   0m1.357s
  $ time sh -c 'find . -type f -print | xargs grep --mmap -l 123456789abcdef'
  real  0m1.201s
  user  0m0.330s
  sys   0m0.929s

[workload was a 648 megabyte MH mail folder containing 41000 messages]
So even nowadays, using --mmap can be worth a 20% speedup.

Summary:

- Use Boyer-Moore (and unroll its inner loop a few times).

- Roll your own unbuffered input using raw system calls.  Avoid copying
  the input bytes before searching them.  (Do, however, use buffered
  *output*.  The normal grep scenario is that the amount of output is
  small compared to the amount of input, so the overhead of output
  buffer copying is small, while savings due to avoiding many small
  unbuffered writes can be large.)

- Don't look for newlines in the input until after you've found a match.

- Try to set things up (page-aligned buffers, page-sized read chunks,
  optionally use mmap) so the kernel can ALSO avoid copying the bytes.

The key to making programs fast is to make them do practically nothing. ;-)

Regards,

Mike
___
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: RFC: etcupdate tool in base?

2010-06-10 Thread Mike Jakubik

On 6/10/2010 2:47 PM, Andriy Gapon wrote:

on 10/06/2010 21:29 Eitan Adler said the following:
   

-1 unless mergemaster is replaced.

Have you tried etcupdate?
etcupdate and mergemaster have a similar function but do things in quite a
different way.  While one is intended to be more interactive, the other is more
automated.  They can not replace each other.
   



-1 Also.

How does this differ from a mergemaster -iFU ? That's pretty much as 
automated as it can get.


___
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: RFC: etcupdate tool in base?

2010-06-10 Thread Mike Jakubik

On 6/10/2010 4:47 PM, Erik Cederstrand wrote:



-1 Also.

How does this differ from a mergemaster -iFU ? That's pretty much as 
automated as it can get.
 

I find the ability to do 'etcupdate diff' to quickly get an overview of which 
changes I have made to a standard installation very useful.

Looking from the outside, I think the two tools could be merged to a single 
upgrade tool. I see three uses for such a tool:

* Show me which local modifications I have, so I can see if they're still 
relevant for the upgraded system
* Just do all the hard work for me (i.e. mergemaster -iFU) on files I didn't 
change
* Guide me through merging updates to files I did modify myself (and please, 
don't ask me innocently if I want to delete my local account when it's 4 AM :-) 
I may be answering 'yes' in my sleep)

   


That actually sounds like a great idea to me.

___
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: Importing clang/LLVM into FreeBSD HEAD

2010-05-31 Thread Mike Jakubik

On 5/31/2010 3:52 AM, Roman Divacky wrote:

Clang can compile all of FreeBSD on i386/amd64 including world and booting
kernel. Other architectures that are close to working are MIPS, PowerPC
and ARM. We have a branch (clangbsd-import) that just includes clang/LLVM
sources and the build infrastructure and this is what we aim to integrate
at first.
   


What about the thousands of ports? Also, have there been any tests done 
to compare the performance of the compiled binaries vs gcc?


Thanks.
___
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: LOR on em in HEAD ( was Re: em driver regression

2010-04-10 Thread Mike Tancsa
-0x1f7,0x3f6 irq 14 on isa0
ata0: [ITHREAD]
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
ata1: [ITHREAD]
ppc0: parallel port not found.
est0: Enhanced SpeedStep Frequency Control on cpu0
p4tcc0: CPU Frequency Thermal Control on cpu0
est1: Enhanced SpeedStep Frequency Control on cpu1
p4tcc1: CPU Frequency Thermal Control on cpu1
est2: Enhanced SpeedStep Frequency Control on cpu2
p4tcc2: CPU Frequency Thermal Control on cpu2
est3: Enhanced SpeedStep Frequency Control on cpu3
p4tcc3: CPU Frequency Thermal Control on cpu3
Timecounters tick every 1.000 msec
usbus0: 480Mbps High Speed USB v2.0
usbus1: 480Mbps High Speed USB v2.0
ugen0.1: Intel at usbus0
uhub0: Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1 on usbus0
ugen1.1: Intel at usbus1
uhub1: Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1 on usbus1
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: ST3250318AS CC35 ATA-8 SATA 2.x device
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 238475MB (488397168 512 byte sectors: 16H 63S/T 16383C)
ada1 at ahcich3 bus 0 scbus3 target 0 lun 0
ada1: ST3250318AS CC35 ATA-8 SATA 2.x device
ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 238475MB (488397168 512 byte sectors: 16H 63S/T 16383C)
lapic4: Forcing LINT1 to edge trigger
SMP: AP CPU #2 Launched!
lapic2: Forcing LINT1 to edge trigger
SMP: AP CPU #1 Launched!
lapic6: Forcing LINT1 to edge trigger
SMP: AP CPU #3 Launched!
WARNING: WITNESS option enabled, expect reduced performance.
Root mount waiting for: usbus1 usbus0
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
ugen0.2: vendor 0x8087 at usbus0
ugen1.2: vendor 0x8087 at usbus1
uhub2: vendor 0x8087 product 0x0020, class 9/0, rev 2.00/0.00, addr 
2 on usbus0
uhub3: vendor 0x8087 product 0x0020, class 9/0, rev 2.00/0.00, addr 
2 on usbus1

Root mount waiting for: usbus1 usbus0
uhub2: 6 ports with 6 removable, self powered
uhub3: 6 ports with 6 removable, self powered
ugen1.3: American Megatrends Inc. at usbus1
ukbd0: Keyboard Interface on usbus1
kbd0 at ukbd0
ums0: Mouse Interface on usbus1
ums0: 3 buttons and [Z] coordinates ID=0
Root mount waiting for: usbus1
ugen1.4: GASIA at usbus1
ukbd1: GASIA PS2toUSB Adapter, class 0/0, rev 1.10/1.00, addr 4 on usbus1
kbd2 at ukbd1
ums1: GASIA PS2toUSB Adapter, class 0/0, rev 1.10/1.00, addr 4 on usbus1
ums1: 5 buttons and [XYZ] coordinates ID=1
Trying to mount root from nfs:
NFS ROOT: 10.255.255.1:/usr/home/pxe9/
panic: mutex em0:rx(0) not owned at 
/usr/HEAD/src/sys/modules/em/../../dev/e1000/if_em.c:4093

cpuid = 3
KDB: enter: panic
[ thread pid 0 tid 100032 ]
Stopped at  kdb_enter+0x3a: movl$0,kdb_why
db bt
Tracing pid 0 tid 100032 td 0xc5f5bb40
kdb_enter(c0cb0e9d,c0cb0e9d,c0caf56e,c5b2ac28,3,...) at kdb_enter+0x3a
panic(c0caf56e,c6002024,c11a0357,ffd,c5b2ac7c,...) at panic+0x136
_mtx_assert(c6002010,4,c11a0357,ffd,64,...) at _mtx_assert+0x87
em_rxeof(246,c5ff7d98,c5b2aca8,c088e194,c5ff7d98,...) at em_rxeof+0x3b
em_handle_que(c6006000,1,c0cb5c9c,4f,c5ff7d98,...) at em_handle_que+0x38
taskqueue_run(c5ff7d80,c5ff7d98,c0ca6410,0,c0caf5f6,...) at taskqueue_run+0x103
taskqueue_thread_loop(c600a520,c5b2ad38,c0cac192,343,c0e0ce20,...) at 
taskqueue_thread_loop+0x68

fork_exit(c08dcde0,c600a520,c5b2ad38) at fork_exit+0xb8
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xc5b2ad70, ebp = 0 ---
db



Jack


On Fri, Apr 9, 2010 at 2:05 PM, Mike Tancsa 
mailto:m...@sentex.netm...@sentex.net wrote:

At 04:13 PM 4/9/2010, Pyun YongHyeon wrote:
On Fri, Apr 09, 2010 at 12:09:24PM -0700, Jack Vogel wrote:
 Someone else also pointed this out. I'm dubious about its claim.

I can't reproduce the LOR with latest em(4)(r206429).



I still get it for some reason

 1st 0xc5dc7610 em1:rx(1) (em1:rx(1)) @ 
/usr/HEAD/src/sys/modules/em/../../dev/e1000/if_em.c:4087

 2nd 0xc0f7df0c udp (udp) @ /usr/HEAD/src/sys/netinet/udp_usrreq.c:454
KDB: stack backtrace:
db_trace_self_wrapper(c0cb4313,c5b72a64,c08e4305,c08d467b,c0cb7338,...) 
at db_trace_self_wrapper+0x26
kdb_backtrace(c08d467b,c0cb7338,c5d31a98,c5d2cb60,c5b72ac0,...) at 
kdb_backtrace+0x29
_witness_debugger(c0cb7338,c0f7df0c,c0c9c4eb,c5d2cb60,c0ccfaf7,...) 
at _witness_debugger+0x25

witness_checkorder(c0f7df0c,1,c0ccfaf7,1c6,0,...) at witness_checkorder+0x839
_rw_rlock(c0f7df0c,c0ccfaf7,1c6,c5d33088,c5e8be24,...) at _rw_rlock+0x9c
udp_input(c6905900,14,0,c5e8bd80,c0df9ee0,...) at udp_input+0x246
ip_input(c6905900,c5f39240,c5b72bdc,c0745956,c0df9ee0,...) at ip_input+0x606
netisr_dispatch_src(1,0,c6905900,c5b72c14,c0954161,...) at 
netisr_dispatch_src+0xcd
netisr_dispatch(1,c6905900,c6018c00,c6018c00,c6925800,...) at 
netisr_dispatch+0x20

ether_demux(c6018c00,c6905900,3,0,3,...) at ether_demux+0x1a1
ether_input(c6018c00,c6905900,c119f2d7,ff7,63,...) at ether_input+0x365
em_rxeof(c5e8bd80,109,c6016180,0,c5b72cc8,...) at em_rxeof+0x133
em_msix_rx(c5dc7600,c5b72cc8,c088e0b4

Re: LOR on em in HEAD ( was Re: em driver regression

2010-04-10 Thread Mike Tancsa

At 03:29 PM 4/10/2010, Jack Vogel wrote:

Added the missing locks around calls to rxeof and checked it in a minute ago.

Sorry guys!


Looks good for me now.  BTW, I thought the multi-queue was supposed 
to be disabled on the em nic ?



em0: Intel(R) PRO/1000 Network Connection 7.0.4 port 0x3040-0x305f 
mem 0xc1b0-0xc1b1,0xc1b25000-0xc1b25fff irq 20 at device 25.0 on pci0

em0: Using MSI interrupt
em0: [FILTER]
em0: Ethernet address: 00:15:17:c8:4b:99
em1: Intel(R) PRO/1000 Network Connection 7.0.4 port 0x1000-0x101f 
mem 0xc190-0xc191,0xc192-0xc1923fff irq 16 at device 0.0 on pci3

em1: Using MSIX interrupts with 5 vectors
em1: [ITHREAD]
em1: [ITHREAD]
em1: [ITHREAD]
em1: [ITHREAD]
em1: [ITHREAD]
em1: Ethernet address: 00:15:17:c8:4b:98

0(i5b)% vmstat -i
interrupt  total   rate
irq4: uart0 6285 13
irq21: ehci0 728  1
irq23: ehci11078  2
cpu0: timer   924321   1992
irq256: em0 9375 20
irq257: em1  127  0
irq258: em17  0
irq261: em12  0
irq262: ahci0 69  0
cpu3: timer   923686   1990
cpu1: timer   923651   1990
cpu2: timer   923597   1990
Total3712926   8001
0(i5b)%

e...@pci0:0:25:0:class=0x02 card=0x34ec8086 
chip=0x10ef8086 rev=0x05 hdr=0x00

vendor = 'Intel Corporation'
class  = network
subclass   = ethernet
cap 01[c8] = powerspec 2  supports D0 D3  current D0
cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message
cap 13[e0] = PCI Advanced Features: FLR TP

e...@pci0:3:0:0: class=0x02 card=0x34ec8086 chip=0x10d38086 
rev=0x00 hdr=0x00

vendor = 'Intel Corporation'
device = 'Intel 82574L Gigabit Ethernet Controller (82574L)'
class  = network
subclass   = ethernet
cap 01[c8] = powerspec 2  supports D0 D3  current D0
cap 05[d0] = MSI supports 1 message, 64 bit
cap 10[e0] = PCI-Express 1 endpoint max data 128(256) link x1(x1)
cap 11[a0] = MSI-X supports 5 messages in map 0x1c enabled


Jack


On Sat, Apr 10, 2010 at 9:05 AM, Bjoern A. Zeeb 
mailto:bzeeb-li...@lists.zabbadoz.netbzeeb-li...@lists.zabbadoz.net wrote:

On Sat, 10 Apr 2010, Mike Tancsa wrote:

Hi Mike,


At 05:11 PM 4/9/2010, Jack Vogel wrote:
Don't know, but I would just ignore it, I think its a false warning anyway.


OK.  I updated to HEAD as of this AM, but now I get a panic at bootup

...

Trying to mount root from nfs:
NFS ROOT: 10.255.255.1:/usr/home/pxe9/
panic: mutex em0:rx(0) not owned at 
/usr/HEAD/src/sys/modules/em/../../dev/e1000/if_em.c:4093

cpuid = 3
KDB: enter: panic
[ thread pid 0 tid 100032 ]
Stopped at  kdb_enter+0x3a: movl$0,kdb_why
db bt
Tracing pid 0 tid 100032 td 0xc5f5bb40
kdb_enter(c0cb0e9d,c0cb0e9d,c0caf56e,c5b2ac28,3,...) at kdb_enter+0x3a
panic(c0caf56e,c6002024,c11a0357,ffd,c5b2ac7c,...) at panic+0x136
_mtx_assert(c6002010,4,c11a0357,ffd,64,...) at _mtx_assert+0x87
em_rxeof(246,c5ff7d98,c5b2aca8,c088e194,c5ff7d98,...) at em_rxeof+0x3b
em_handle_que(c6006000,1,c0cb5c9c,4f,c5ff7d98,...) at em_handle_que+0x38
taskqueue_run(c5ff7d80,c5ff7d98,c0ca6410,0,c0caf5f6,...) at 
taskqueue_run+0x103
taskqueue_thread_loop(c600a520,c5b2ad38,c0cac192,343,c0e0ce20,...) 
at taskqueue_thread_loop+0x68

fork_exit(c08dcde0,c600a520,c5b2ad38) at fork_exit+0xb8
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xc5b2ad70, ebp = 0 ---
db



This is a bug that seems to only happen in the Kitchener area as I hit
it with a machine there just a few minutes ago as well.

This one has fixed it for me:
http://lists.freebsd.org/pipermail/svn-src-head/2010-April/016249.htmlhttp://lists.freebsd.org/pipermail/svn-src-head/2010-April/016249.html

/bz

--
Bjoern A. Zeeb It will not break if you know what you are doing.




Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,m...@sentex.net
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike

___
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


LOR on em in HEAD ( was Re: em driver regression

2010-04-09 Thread Mike Tancsa
While testing an i5 box with HEAD checked out from this morning, 
bringing up the second NIC generated this LOR on the console


em1: link state changed to UP
lock order reversal:
 1st 0xc5dc7c10 em1:rx(1) (em1:rx(1)) @ 
/usr/HEAD/src/sys/modules/em/../../dev/e1000/if_em.c:4089

 2nd 0xc0f7e88c udp (udp) @ /usr/HEAD/src/sys/netinet/udp_usrreq.c:454
KDB: stack backtrace:
db_trace_self_wrapper(c0cb4d33,c5b72a70,c08e4d65,c08d50db,c0cb7d58,...) 
at db_trace_self_wrapper+0x26
kdb_backtrace(c08d50db,c0cb7d58,c5d31a98,c5d2cb60,c5b72acc,...) at 
kdb_backtrace+0x29
_witness_debugger(c0cb7d58,c0f7e88c,c0c9cf0b,c5d2cb60,c0cd04ca,...) 
at _witness_debugger+0x25

witness_checkorder(c0f7e88c,1,c0cd04ca,1c6,0,...) at witness_checkorder+0x839
_rw_rlock(c0f7e88c,c0cd04ca,1c6,c5d33088,c5e8be24,...) at _rw_rlock+0x9c
udp_input(c67faa00,14,0,c5e8bd80,c0dfa860,...) at udp_input+0x246
ip_input(c67faa00,c5f2f380,c5b72be8,c07463b6,c0dfa860,...) at ip_input+0x606
netisr_dispatch_src(1,0,c67faa00,c5b72c20,c0954bc1,...) at 
netisr_dispatch_src+0xcd
netisr_dispatch(1,c67faa00,c6018c00,c6018c00,c6852800,...) at 
netisr_dispatch+0x20

ether_demux(c6018c00,c67faa00,3,0,3,...) at ether_demux+0x1a1
ether_input(c6018c00,c67faa00,c11a0e17,ff9,64,...) at ether_input+0x365
em_rxeof(c5e8bd80,109,c6016180,0,c5b72cc8,...) at em_rxeof+0x13c
em_msix_rx(c5dc7c00,c5b72cc8,c088eb14,c0e133c0,c60342b8,...) at em_msix_rx+0x25
intr_event_execute_handlers(c5d807f8,c6034280,c0cacd7e,533,c60342f0,...) 
at intr_event_execute_handlers+0x125

ithread_loop(c603b4a0,c5b72d38,c0cacaed,343,c5d807f8,...) at ithread_loop+0x9f
fork_exit(c0877800,c603b4a0,c5b72d38) at fork_exit+0xb8
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xc5b72d70, ebp = 0 ---

0(i5b)# uname -a
FreeBSD i5b.sentex.ca 9.0-CURRENT FreeBSD 9.0-CURRENT #2: Fri Apr  9 
11:56:25 EDT 
2010 mdtan...@ich10.sentex.ca:/usr/HEAD/obj/usr/HEAD/src/sys/GENERIC  i386

0(i5b)#

e...@pci0:0:25:0:class=0x02 card=0x34ec8086 
chip=0x10ef8086 rev=0x05 hdr=0x00

vendor = 'Intel Corporation'
class  = network
subclass   = ethernet
cap 01[c8] = powerspec 2  supports D0 D3  current D0
cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message
cap 13[e0] = PCI Advanced Features: FLR TP
e...@pci0:3:0:0: class=0x02 card=0x34ec8086 chip=0x10d38086 
rev=0x00 hdr=0x00

vendor = 'Intel Corporation'
device = 'Intel 82574L Gigabit Ethernet Controller (82574L)'
class  = network
subclass   = ethernet
cap 01[c8] = powerspec 2  supports D0 D3  current D0
cap 05[d0] = MSI supports 1 message, 64 bit
cap 10[e0] = PCI-Express 1 endpoint max data 128(256) link x1(x1)
cap 11[a0] = MSI-X supports 5 messages in map 0x1c enabled


0(i5b)#  vmstat -i
interrupt  total   rate
irq4: uart0 6156  3
irq8: rtc 224879127
irq21: ehci02662  1
irq23: ehci13674  2
cpu0: timer  1754210998
irq256: em010778  6
irq257: em1  331  0
irq258: em14  0
irq260: em14  0
irq261: em18  0
irq262: ahci0 69  0
cpu3: timer  1753938998
cpu2: timer  1753932998
cpu1: timer  1753886998
Total7264531   4134
0(i5b)#

CPU: Intel(R) Core(TM) i5 CPU 750  @ 2.67GHz (2666.65-MHz 
686-class CPU)

  Origin = GenuineIntel  Id = 0x106e5  Family = 6  Model = 1e  Stepping = 5
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  
Features2=0x98e3fdSSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
  AMD Features=0x2810NX,RDTSCP,LM
  AMD Features2=0x1LAHF
  TSC: P-state invariant
real memory  = 4294967296 (4096 MB)
avail memory = 2577711104 (2458 MB)
ACPI APIC Table: INTEL  S3420GPC
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs





Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,m...@sentex.net
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike

___
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: LOR on em in HEAD ( was Re: em driver regression

2010-04-09 Thread Mike Tancsa

At 04:13 PM 4/9/2010, Pyun YongHyeon wrote:

On Fri, Apr 09, 2010 at 12:09:24PM -0700, Jack Vogel wrote:
 Someone else also pointed this out. I'm dubious about its claim.

I can't reproduce the LOR with latest em(4)(r206429).



I still get it for some reason

 1st 0xc5dc7610 em1:rx(1) (em1:rx(1)) @ 
/usr/HEAD/src/sys/modules/em/../../dev/e1000/if_em.c:4087

 2nd 0xc0f7df0c udp (udp) @ /usr/HEAD/src/sys/netinet/udp_usrreq.c:454
KDB: stack backtrace:
db_trace_self_wrapper(c0cb4313,c5b72a64,c08e4305,c08d467b,c0cb7338,...) 
at db_trace_self_wrapper+0x26
kdb_backtrace(c08d467b,c0cb7338,c5d31a98,c5d2cb60,c5b72ac0,...) at 
kdb_backtrace+0x29
_witness_debugger(c0cb7338,c0f7df0c,c0c9c4eb,c5d2cb60,c0ccfaf7,...) 
at _witness_debugger+0x25

witness_checkorder(c0f7df0c,1,c0ccfaf7,1c6,0,...) at witness_checkorder+0x839
_rw_rlock(c0f7df0c,c0ccfaf7,1c6,c5d33088,c5e8be24,...) at _rw_rlock+0x9c
udp_input(c6905900,14,0,c5e8bd80,c0df9ee0,...) at udp_input+0x246
ip_input(c6905900,c5f39240,c5b72bdc,c0745956,c0df9ee0,...) at ip_input+0x606
netisr_dispatch_src(1,0,c6905900,c5b72c14,c0954161,...) at 
netisr_dispatch_src+0xcd
netisr_dispatch(1,c6905900,c6018c00,c6018c00,c6925800,...) at 
netisr_dispatch+0x20

ether_demux(c6018c00,c6905900,3,0,3,...) at ether_demux+0x1a1
ether_input(c6018c00,c6905900,c119f2d7,ff7,63,...) at ether_input+0x365
em_rxeof(c5e8bd80,109,c6016180,0,c5b72cc8,...) at em_rxeof+0x133
em_msix_rx(c5dc7600,c5b72cc8,c088e0b4,c0e13740,c60342b8,...) at em_msix_rx+0x25
intr_event_execute_handlers(c5d807f8,c6034280,c0cac35e,533,c60342f0,...) 
at intr_event_execute_handlers+0x125

ithread_loop(c603b4a0,c5b72d38,c0cac0cd,343,c5d807f8,...) at ithread_loop+0x9f
fork_exit(c0876da0,c603b4a0,c5b72d38) at fork_exit+0xb8
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xc5b72d70, ebp = 0 ---

Perhaps because multi-queue is still enabled ?

0(i5b)% vmstat -i
interrupt  total   rate
irq4: uart0 6637 28
irq21: ehci0 382  1
irq23: ehci1 615  2
cpu0: timer   462573   1993
irq256: em0 7640 32
irq257: em15  0
irq258: em16  0
irq261: em12  0
irq262: ahci0 69  0
cpu3: timer   461507   1989
cpu2: timer   460985   1987
cpu1: timer   461545   1989
Total1861966   8025
0(i5b)%


em0: Intel(R) PRO/1000 Network Connection 7.0.3 port 0x3040-0x305f 
mem 0xc1b0-0xc1b1,0xc1b25000-0xc1b25fff irq 20 at device 25.0 on pci0

em0: Using MSI interrupt
em0: [FILTER]
em0: Ethernet address: 00:15:17:c8:4b:99
ehci0: Intel PCH USB 2.0 controller USB-B mem 0xc1b22000-0xc1b223ff 
irq 21 at device 26.0 on pci0

ehci0: [ITHREAD]
usbus0: EHCI version 1.0
usbus0: Intel PCH USB 2.0 controller USB-B on ehci0
pcib2: ACPI PCI-PCI bridge irq 16 at device 28.0 on pci0
pci2: ACPI PCI bus on pcib2
pcib3: ACPI PCI-PCI bridge irq 16 at device 28.4 on pci0
pci3: ACPI PCI bus on pcib3
em1: Intel(R) PRO/1000 Network Connection 7.0.3 port 0x1000-0x101f 
mem 0xc190-0xc191,0xc192-0xc1923fff irq 16 at device 0.0 on pci3

em1: Using MSIX interrupts with 5 vectors
em1: [ITHREAD]
em1: [ITHREAD]
em1: [ITHREAD]
em1: [ITHREAD]
em1: [ITHREAD]
em1: Ethernet address: 00:15:17:c8:4b:98



Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,m...@sentex.net
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike

___
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: HEADS UP: COMPAT_IA32 renamed COMPAT_FREEBSD32

2010-03-11 Thread Mike Jakubik

On 3/11/2010 9:50 AM, Nathan Whitehorn wrote:
As a result of importing 32-bit compatibility support for non-x86 
64-bit platforms, the kernel options COMPAT_IA32 has been renamed 
COMPAT_FREEBSD32 in revision 205014, so all kernel configurations 
including this option must be modified accordingly.




That sounds a bit confusing, compatibility with FreeBSD 3.2?

___
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


em0 on S3420 chipset (was Re: em0 on H55 chipset problems)

2010-02-22 Thread Mike Tancsa
 on atapci0
ata2: [ITHREAD]
ata3: ATA channel 1 on atapci0
ata3: [ITHREAD]
ata4: ATA channel 2 on atapci0
ata4: [ITHREAD]
ata5: ATA channel 3 on atapci0
ata5: [ITHREAD]
ata6: ATA channel 4 on atapci0
ata6: [ITHREAD]
ata7: ATA channel 5 on atapci0
ata7: [ITHREAD]
pci0: serial bus, SMBus at device 31.3 (no driver attached)
acpi_button0: Sleep Button on acpi0
atrtc0: AT realtime clock port 0x70-0x71,0x74-0x77 irq 8 on acpi0
uart0: 16550 or compatible port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
uart0: console (9600,n,8,1)
uart1: 16550 or compatible port 0x2f8-0x2ff irq 3 on acpi0
uart1: [FILTER]
cpu0: ACPI CPU on acpi0
est0: Enhanced SpeedStep Frequency Control on cpu0
p4tcc0: CPU Frequency Thermal Control on cpu0
cpu1: ACPI CPU on acpi0
est1: Enhanced SpeedStep Frequency Control on cpu1
p4tcc1: CPU Frequency Thermal Control on cpu1
cpu2: ACPI CPU on acpi0
est2: Enhanced SpeedStep Frequency Control on cpu2
p4tcc2: CPU Frequency Thermal Control on cpu2
cpu3: ACPI CPU on acpi0
est3: Enhanced SpeedStep Frequency Control on cpu3
p4tcc3: CPU Frequency Thermal Control on cpu3
pmtimer0 on isa0
orm0: ISA Option ROMs at iomem 0xd-0xd0fff,0xd1000-0xd1fff 
pnpid ORM on isa0

sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata0: [ITHREAD]
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
ata1: [ITHREAD]
Timecounters tick every 1.000 msec
IPsec: Initialized Security Association Processing.
usbus0: 480Mbps High Speed USB v2.0
usbus1: 480Mbps High Speed USB v2.0
lapic6: Forcing LINT1 to edge trigger
SMP: AP CPU #3 Launched!
lapic4: Forcing LINT1 to edge trigger
SMP: AP CPU #2 Launched!
lapic2: Forcing LINT1 to edge trigger
SMP: AP CPU #1 Launched!
ugen1.1: Intel at usbus1Root mount waiting for:ugen0.1: Intel at usbus0
 usbus1
 usbus0
uhub0: Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1 on usbus0
uhub1: Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1 on usbus1
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
Root mount waiting for: usbus1 usbus0
ugen0.2: vendor 0x8087 at usbus0
uhub2: vendor 0x8087 product 0x0020, class 9/0, rev 2.00/0.00, addr 
2 on usbus0

ugen1.2: vendor 0x8087 at usbus1
uhub3: vendor 0x8087 product 0x0020, class 9/0, rev 2.00/0.00, addr 
2 on usbus1

uhub2: 6 ports with 6 removable, self powered
uhub3: 6 ports with 6 removable, self powered
ugen1.3: American Megatrends Inc. at usbus1ugen0.3: GASIA at usbus0

ukbd1: GASIA PS2toUSB Adapter, class 0/0, rev 1.10/1.00, addr 3 on usbus0
Root mount waiting for: usbus1 usbus0
ukbd0: Keyboard Interface on usbus1
kbd0 at ukbd1
kbd2 at ukbd0
uhid1: GASIA PS2toUSB Adapter, class 0/0, rev 1.10/1.00, addr 3 on usbus0
uhid0: Mouse Interface on usbus1
Trying to mount root from nfs:
NFS ROOT: 10.255.255.1:/usr/home/pxe9/





At 02:49 PM 1/22/2010, Jack Vogel wrote:

Mike, can you tell me more details about the system, is this a laptop?

Jack


On Fri, Jan 22, 2010 at 5:40 AM, Mike Tancsa 
mailto:m...@sentex.netm...@sentex.net wrote:
Not sure how easy it is to repeat, but running HEAD from yesterday 
causes the em0 do post a

em0: Watchdog timeout -- resetting
to the serial console on a new i3 system that we just got to test 
with. At that point, the box's network is no longer responding. It 
netboots off em0 so not sure if the hang after that is nfs not 
recovering or not, but it does not respond to network traffic at all.


e...@pci0:0:25:0:class=0x02 card=0x00368086 
chip=0x10f08086 rev=0x06 hdr=0x00

   vendor = 'Intel Corporation'
   class  = network
   subclass   = ethernet
   cap 01[c8] = powerspec 2  supports D0 D3  current D0
   cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message
   cap 13[e0] = PCI Advanced Features: FLR TP
eh...@pci0:0:26:0:  class=0x0c0320 card=0x00368086 
chip=0x3b3c8086 rev=0x06 hdr=0x00


Copyright (c) 1992-2010 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.0-CURRENT #0: Thu Jan 21 15:14:14 EST 2010
   mdtan...@ich10.sentex.ca:/usr/HEAD/obj/usr/HEAD/src/sys/alix i386
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM) i3 CPU 530  @ 2.93GHz (2926.02-MHz 
686-class CPU)

 Origin = GenuineIntel  Id = 0x20652  Stepping = 2

Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE

Features2=0x98e3bdSSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
 AMD Features=0x2810NX,RDTSCP,LM
 AMD Features2=0x1LAHF
 TSC: P-state invariant
real memory  = 1073741824 (1024 MB)
avail memory = 894119936 (852 MB)
ACPI APIC Table: INTEL  DH55TC  
FreeBSD/SMP: Multiprocessor

Re: /usr/ports/xll/XFree86-4

2003-12-03 Thread Mike Hunter
On Dec 02, Jamie Bowden wrote:

 I have a new machine that I've just installed 5.1-R on, and cvsup'd to -C.
 I'm attempting to build X, and am getting a core dump from rman during the
 process.

I had this happen too.  I did something really hack-ish to get around it
(like delete that documentation or some other unspeakable hack.)

Mike
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NSS and PAM (was Re: NSS and PAM, dynamic vs. static)

2003-11-29 Thread slave-mike
why does /bin/sh need NSS support?
Jacques A. Vidrine wrote:
[Threading intentionally broken.]

On Sat, Nov 29, 2003 at 01:16:25AM +0100, Dag-Erling Sm?rgrav wrote:

Jacques A. Vidrine [EMAIL PROTECTED] writes:

NSS and PAM do not overlap.  They are complimentary and one cannot do
the job of the other.
That is a bug in NSS, PAM or both.


Interesting.  Explain, please.  (Maybe privately or in another thread;
hate to keep this'n going.)  Perhaps you mean that it is a design flaw
that two APIs are required.  If so, I happen to disagree; I think that
the separation of directory services and authentication is appropriate
and necessary.

(BTW, I think you mean that they are complementary, not complimentary,
although it is certainly true that some implementations of NSS and PAM
are free)


heh, Yes, that's a spell-o from which spell-check could not save me.

Cheers,


--
---
I'm a UNIX Kinda Guy.
My websites:

http://slavepix.dyns.net/
http://jaxleather.dyns.net/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


<    1   2   3   4   5   6   7   8   9   10   >