buffer overflow warning in /bin/sh

2016-02-25 Thread Howard Su
I got the error when compiling GENERIC kernel with address sanitizer /bin/sh: --- vers.c --- MAKE=make sh /usr/home/howardsu/freebsd/sys/conf/newvers.sh GENERIC= ==4132==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7

Re: SVN r296272 breaks virtualbox

2016-03-01 Thread Howard Su
On Tue, Mar 1, 2016 at 10:28 PM Kurt Jaeger wrote: > Hi! > > > > > The removal of "taskqueue_enqueue_fast" breaks the virtualbox kmods: > [...] > > Then the port needs to be patched? It's been using an API deprecated > > for the last 15 years. A simple > s/taskqueue_enqueue_fast/taskqueue_enque

Re: WITHOUT_CDDL prevents install of ctfconvert which breaks kernel build

2016-03-15 Thread Howard Su
​You need comment out the following line in GENRIC kernel conf file: makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support​ On Tue, Mar 15, 2016 at 6:49 PM, Julian H. Stacey wrote: > Hi current@ people > src.conf WITHOUT_CDDL > prevents installation of ctfconvert > lack

Mis-use of BUS_PASS_ORDER_MIDDLE

2016-04-18 Thread Howard Su
I noticed several places there are code like this, especially in some arm low level drivers. EARLY_DRIVER_MODULE(aw_ccu, simplebus, aw_ccu_driver, aw_ccu_devclass, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE); ​I feel the usage of BUS_PASS_ORDER_MIDDLE is misused. There are another macro EARLY_

Re: Mis-use of BUS_PASS_ORDER_MIDDLE

2016-04-19 Thread Howard Su
On Tue, Apr 19, 2016 at 2:53 AM John Baldwin wrote: > On Monday, April 18, 2016 11:10:12 PM Howard Su wrote: > > I noticed several places there are code like this, especially in some arm > > low level drivers. > > EARLY_DRIVER_MODULE(aw_ccu, simplebus, aw_ccu_driver, aw_cc

Re: Mis-use of BUS_PASS_ORDER_MIDDLE

2016-04-19 Thread Howard Su
Can we only load the bus driver that is required by timer or pic? Then you don't need worry about acpi_pci or pcib. John Baldwin 于2016年4月20日周三 上午3:26写道: > On Tuesday, April 19, 2016 03:42:40 PM Howard Su wrote: > > On Tue, Apr 19, 2016 at 2:53 AM John Baldwin wrote: > > &g

Failed to boot -Current snapshot memstick img with EFI

2016-04-23 Thread Howard Su
The issue is partition table in img is wrong so that GEOM cannot discover the partitions. Detailed error: GEOM_PART: last LBA is below first LBA: 0 < 32 GEOM_PART: integrity check failed (da0, MBR) I tried this month and last month memstick img. both has same problem. Any idea on the issue? -How

Fwd: Failed to boot -Current snapshot memstick img with EFI

2016-07-26 Thread Howard Su
to provide more information. Thanks, Howard -- Forwarded message -- From: Howard Su Date: Sat, Apr 23, 2016 at 10:40 PM Subject: Failed to boot -Current snapshot memstick img with EFI To: "freebsd-current@freebsd.org" The issue is partition table in img is wrong so tha

Re: Fwd: Failed to boot -Current snapshot memstick img with EFI

2016-07-26 Thread Howard Su
8GB Allan Jude 于2016年7月27日周三 上午11:35写道: > On 2016-07-26 23:33, Howard Su wrote: > > The same issue is still there in 11-BETA2. I tried the memstick image for > > amd64. I got the exact same error (with boot -v). > > ​GEOM_PART: last LBA is below first LBA: 0 < 32 > &

Re: Fwd: Failed to boot -Current snapshot memstick img with EFI

2016-07-28 Thread Howard Su
MBR) Anyone has idea how this happen? -Howard On Wed, Jul 27, 2016 at 12:21 PM Howard Su wrote: > 8GB > > Allan Jude 于2016年7月27日周三 上午11:35写道: > >> On 2016-07-26 23:33, Howard Su wrote: >> > The same issue is still there in 11-BETA2. I tried the memstick image >> for &g

Re: Fwd: Failed to boot -Current snapshot memstick img with EFI

2016-08-11 Thread Howard Su
This is fixed by r303944. On Fri, Jul 29, 2016 at 1:24 AM Howard Su wrote: > It turns out a USB driver problem. the usb disk size is not correctly > detected. But the disk works fine in BIOS. > > Here is dmesg information: > ugen7.2: at usbus7 > umass0: on > usbus7 >

[VBox] Extreme slow UDP performance between host and guest

2016-09-01 Thread Howard Su
I used iperf to do a quick experiment on the UDP performance between VirtualBox and Guest through vboxnetadp. Guest is acting as server and Host machine is acting as client. the UDP throughput is only 1/350 of TCP throughput. Guest kernel is -Current and Host Kernel is 11.0-RC2. Anyone has idea? i