Re: Instant panic CAM or USB subsystem

2014-01-28 Thread John-Mark Gurney
John Baldwin wrote this message on Tue, Jan 28, 2014 at 12:32 -0500: > It seems a bit odd that it thinks your phone is a CD player. I've seen a phone that acts like that, they use it to present software (like sync) for install on the desktop... -- John-Mar

Re: error message from pkg on HEAD

2014-01-13 Thread John-Mark Gurney
Glen Barber wrote this message on Mon, Jan 13, 2014 at 23:22 -0500: > On Mon, Jan 13, 2014 at 08:15:34PM -0800, John-Mark Gurney wrote: > > So, now when I run pkg I get the following: > > pkg: Ignoring bad configuration entry in > > /usr/local/etc/pkg/repos/FreeBSD.

error message from pkg on HEAD

2014-01-13 Thread John-Mark Gurney
t ENABLED: YES MIRROR_TYPE: SRV -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___ freebsd-current@freebsd.org mailing list http://lists.fr

Re: interesting routing bug...

2014-01-09 Thread John-Mark Gurney
Alexander V. Chernikov wrote this message on Thu, Jan 09, 2014 at 15:04 +0400: > On 09.01.2014 05:18, John-Mark Gurney wrote: > >Well, I was trying to manually add a route for a host on the local > >network (I can explain why, but it doesn't matter) and I got this: > Hel

interesting routing bug...

2014-01-08 Thread John-Mark Gurney
ebsd.org will match causing the machine to try to find the ip on the local network. This route I assume should be rejected by the kernel and not added, or there is a mismatch between the route program and how the kernel understands it. I can provide more information upon request. Thanks. --

Re: 11.0-CURRENT panic (nfsd?)

2014-01-05 Thread John-Mark Gurney
Markiyan Kushnir wrote this message on Sun, Jan 05, 2014 at 11:06 +0200: > 2014/1/5 John-Mark Gurney : > > Markiyan Kushnir wrote this message on Sun, Jan 05, 2014 at 10:57 +0200: > >> I started to see a reliable panic on a recent CURRENT: > >> > >> $ uname -a

Re: 11.0-CURRENT panic (nfsd?)

2014-01-05 Thread John-Mark Gurney
ubbed... Maybe include it inline if it isn't too long? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___ freebsd-current@freebsd.org mailin

Re: review request: sendfile kqueue notification

2013-12-29 Thread John-Mark Gurney
few XXX that still should be addressed on your side. P.S. When generating a diff, using svn -x -up is useful to show the function code blocks are in. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not.

Re: Committing PEFS to CURRENT

2013-12-27 Thread John-Mark Gurney
; > Are there any news about PEFS commit ? It's definately not going into 10.0, but it could make it in a future release, but... I haven't heard back about plans for moving forward on the project. I'm definately interested in getting this in the tree, but have other work that is

Re: [PATCH RFC] Disable save-entropy in jails

2013-12-24 Thread John-Mark Gurney
cle, a pointer to > it would be useful to me (and maybe others).) Basicly we don't drain the entropy pool as quickly, leaving better entropy in the system, and preventing an attacker from not having to do as much work controlling external inputs to the system to possibly attack the poo

Re: sysctl add macros

2013-12-01 Thread John-Mark Gurney
PROC routine that will copy them all out in a single sysctl call.. > -Original Message- > From: John-Mark Gurney [mailto:j...@funkthat.com] > Sent: Sunday, December 01, 2013 3:00 AM > To: Venkata Duvvuru > Cc: Matthew Fleming; freebsd-current@freebsd.org > Subject: Re: sysc

Re: [RFC] how to get the size of a malloc(9) block ?

2013-11-30 Thread John-Mark Gurney
n, and then you should be using a larger buffer in the first place.. Do I need to quote the optimization rules? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." _

Re: sysctl add macros

2013-11-30 Thread John-Mark Gurney
ctl handlers for 1 or 2 byte values. FreeBSD > code that wants to do this has used int or u_int instead of a smaller type. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."

Re: HELP WANTED: Figure out why svnlite build is sometimes not reproducible

2013-10-27 Thread John-Mark Gurney
sistance with this, it would be very gratefully > received. Can you post the binaries somewhere so we can take a look at them? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___

Re: [rfc] removing the NDISulator

2013-10-23 Thread John-Mark Gurney
n by us to > kill giant off in these pathways so things could continue to evolve. We > didn't leave the GIANT crutch in forever. I'd say that locking a drive is a LOT easier than writing a driver from scratch, esspecially if you don't have the specs.. This of course coming from e

Re: [rfc] small bioq patch

2013-10-20 Thread John-Mark Gurney
Maksim Yevmenkin wrote this message on Tue, Oct 15, 2013 at 11:15 -0700: > On Fri, Oct 11, 2013 at 5:14 PM, John-Mark Gurney wrote: > > Maksim Yevmenkin wrote this message on Fri, Oct 11, 2013 at 15:39 -0700: > >> > On Oct 11, 2013, at 2:52 PM, John-Mark Gurney wrote:

Re: [rfc] small bioq patch

2013-10-11 Thread John-Mark Gurney
Maksim Yevmenkin wrote this message on Fri, Oct 11, 2013 at 15:39 -0700: > > On Oct 11, 2013, at 2:52 PM, John-Mark Gurney wrote: > > > > Maksim Yevmenkin wrote this message on Fri, Oct 11, 2013 at 11:17 -0700: > >> i would like to submit the attached bioq patch f

Re: [rfc] small bioq patch

2013-10-11 Thread John-Mark Gurney
a second.. I assume you must be regularly seeing queue depths of 128+ for this code to make a difference, do you see that w/ gstat? Also, do you see a similar throughput of the system? -- John-Mark Gurney Voice: +1 415 225 5579 &quo

Re: Unable to installworld after successful buildworld and buildkernel

2013-10-09 Thread John-Mark Gurney
Brooks Davis wrote this message on Wed, Oct 09, 2013 at 08:06 -0500: > On Tue, Oct 08, 2013 at 10:52:13PM -0700, John-Mark Gurney wrote: > > Thomas Mueller wrote this message on Wed, Oct 09, 2013 at 03:00 +: > > > > > But where is DB_FROM_SRC documented?

Re: Unable to installworld after successful buildworld and buildkernel

2013-10-08 Thread John-Mark Gurney
} -DDB_FROM_SRC make distribution DESTDIR=${CURRENT_ROOT} # if newfs'd make installkernel KERNCONF=YOUR_KERNEL_HERE DESTDIR=${CURRENT_ROOT} cp /etc/fstab ${CURRENT_ROOT}/etc/fstab# if newfs'd I tested distribution and it appears not to need it. P.S

Re: [CFT] Patch to bsdinstall to support root-on-ZFS and GELI

2013-10-08 Thread John-Mark Gurney
s properly present that info now... or at least probably anyones support by cam will do it automatically... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." __

Re: rcs is gone?

2013-10-07 Thread John-Mark Gurney
Glen Barber wrote this message on Mon, Oct 07, 2013 at 20:59 -0400: > On Mon, Oct 07, 2013 at 05:54:23PM -0700, John-Mark Gurney wrote: > > > No, not really. > > > > > > # mkdir local > > > # svnadmin create ./local > > > # svn import /e

Re: Committing PEFS to CURRENT

2013-10-07 Thread John-Mark Gurney
Gleb Kurtsou wrote this message on Mon, Oct 07, 2013 at 17:41 -0700: > On Mon, Oct 7, 2013 at 5:23 PM, John-Mark Gurney wrote: > > Gleb Kurtsou wrote this message on Mon, Oct 07, 2013 at 16:47 -0700: > >> On Mon, Oct 7, 2013 at 4:17 PM, John-Mark Gurney wrote: > >>

Re: rcs is gone?

2013-10-07 Thread John-Mark Gurney
Glen Barber wrote this message on Mon, Oct 07, 2013 at 20:42 -0400: > On Mon, Oct 07, 2013 at 05:36:42PM -0700, John-Mark Gurney wrote: > > > > So there's no version control in the base at all now?.. When did FreeBSD > > > > decide to move away from distri

Re: rcs is gone?

2013-10-07 Thread John-Mark Gurney
d then make users fetch everything from ports? > > > > svnlite? cd /etc svnliteadmin create svn svnlite co file:///etc/svn . svnlite add rc.conf svnlite commit rc.conf instead of: cd /etc ci rc.conf really? -- John-Mark Gurney Voi

Re: [Heads Up] RCS removed from base

2013-10-07 Thread John-Mark Gurney
Julian Elischer wrote this message on Tue, Oct 08, 2013 at 08:01 +0800: > not a big thing but I believe that a lot of poeple use ci/co on /etc > becasue it is "just there" +1 -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will d

Re: Committing PEFS to CURRENT

2013-10-07 Thread John-Mark Gurney
Gleb Kurtsou wrote this message on Mon, Oct 07, 2013 at 16:47 -0700: > On Mon, Oct 7, 2013 at 4:17 PM, John-Mark Gurney wrote: > > Gleb Kurtsou wrote this message on Mon, Oct 07, 2013 at 09:31 -0700: > >> Patch is available here: > >> https://github.

Re: Committing PEFS to CURRENT

2013-10-07 Thread John-Mark Gurney
;m running zfs on geli w/o authentication is that I'm using a 256bit checksum, so the chances of someone modifing two blocks to fool zfs into decrypting the correct new checksum value for their modified block is very small... In short, I'm trusting zfs to do the authenticati

Re: Hyperv driver related error on make buildkernel on -r255933

2013-10-01 Thread John-Mark Gurney
fwip # IP over FireWire (RFC 2734,3146) > #device dcons # Dumb console driver > #device dcons_crom # Configuration ROM for dcons > # Sound support > device sound # Generic sound driver (required) > #device snd_cmi # CMedia CMI8338/CMI8738 > #device snd_csa # Crystal Semiconductor CS461x/428x >

Re: installworld broken - osreldate.h: permission denied

2013-09-29 Thread John-Mark Gurney
I think we could see if something similar applies for you if you use > > this command: > > > > make -dm installworld SUBDIR_OVERRIDE=include > > I tried this with a fresh HEAD but the error message is still the same. > > /usr/src and /usr/obj are NFS mounted, FY

Re: -ffunction-sections, -fdata-sections and -Wl,--gc-sections

2013-09-17 Thread John-Mark Gurney
parsing all those headers will be a big penalty though... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___ freebsd-current@freebsd.org mailing l

Re: problems with libiconv into kernel

2013-09-16 Thread John-Mark Gurney
31 How are you building your kernel? are you using config and make or are you using buildkernel? If you are using config and make, did you run: make cleandepend && make depend first before make like said? -- John-Mark Gurney Voice: +1 415 225 5579 &q

Re: Chicken and egg problem when building (third-party) kernel modules with -- how to solve?

2013-09-11 Thread John-Mark Gurney
el modules for others, we'll need a better way to handle this... Plus, we might be able to identify a few macros that are KBI changing, and finally get close to being able to prevent loading kernels that would cause a crash due to KBI differences.

Re: Chicken and egg problem when building (third-party) kernel modules with -- how to solve?

2013-09-11 Thread John-Mark Gurney
t_*.h files from the kernel you are going to run it with, and that directory is what you need to set KERNBUILDDIR... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." _

Re: r255449: kernel compilation fails due to : cc: error: no input files

2013-09-10 Thread John-Mark Gurney
rev above? But, can you tell use how you built your kernel and on what system? COMPILER_TYPE should always be defined... Are you trying to build a HEAD kernel on 9stable w/o using buildkernel or something strange like that? -- John-Mark Gurney Voice: +1 415 22

Re: Cross-buildkernel (i386->amd64) is broken?

2013-09-06 Thread John-Mark Gurney
;make world', that might be in order. Thanks, I will try it > tomorrow. or make kernel-toolchain if you don't want to build as much.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has

Re: AFFECTS: 10-CURRENT users with any port depending on converters/libiconv

2013-09-06 Thread John-Mark Gurney
: --localstatedir=/var --disable-slp --disable-gssapi > --with-cups-user=cups --with-cups-group=cups --with-system-groups=wheel > --with-docdir=/usr/local/share/doc/cups > --with-icondir=/usr/local/share/icons > --with-menudir=/usr/local/share/applications > --with-domainsocket=/var/r

Re: how do i cross build world/kernel with clang?

2013-09-01 Thread John-Mark Gurney
rtn.o: warning: linking PIC files with non-PIC files exect.So: In function `exect': (.text+0x18): relocation truncated to fit: R_MIPS_PC16 against `__cerror' [...] -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will d

Re: GCC withdraw

2013-08-31 Thread John-Mark Gurney
he code slush was announced (which caught people, like myself, by surprise)... That's kinda the wrong order to do it in, the schedule should be posted well in advance so people know what to expect... -- John-Mark Gurney Voice: +1 415 225 5579 "All tha

Re: i915kms.ko not loading

2013-08-30 Thread John-Mark Gurney
owthread.php?t=37958 > > Can you plug another driver and setup swap on it? A USB drive/key should > be fine. You don't need to use a swap device to dump to it... You can just set up the USB drive as the dump device only... -- John-Mark Gurney Voice: +

Re: patch to improve AES-NI performance

2013-08-27 Thread John-Mark Gurney
and this patch required clang, so make sure you set WITH_CLANG=YES WITH_CLANG_IS_CC=YES, otherwise it won't compile... This patch only required minor changes from my original patch to apply.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I wi

Re: patch to improve AES-NI performance

2013-08-23 Thread John-Mark Gurney
Dag-Erling Smrgrav wrote this message on Fri, Aug 23, 2013 at 21:30 +0200: > John-Mark Gurney writes: > > Mike Tancsa writes: > > > John-Mark Gurney writes: > > > > My patch would only effect userland applications that use /dev/crypto... > > > For me

Re: patch to improve AES-NI performance

2013-08-23 Thread John-Mark Gurney
Mike Tancsa wrote this message on Fri, Aug 23, 2013 at 14:19 -0400: > 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 > &

Re: patch to improve AES-NI performance

2013-08-23 Thread John-Mark Gurney
Mike Tancsa wrote this message on Fri, Aug 23, 2013 at 11:26 -0400: > 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 > >

Re: patch to improve AES-NI performance

2013-08-23 Thread John-Mark Gurney
Ollivier Robert wrote this message on Fri, Aug 23, 2013 at 17:16 +0200: > 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 gel

patch to improve AES-NI performance

2013-08-22 Thread John-Mark Gurney
://people.freebsd.org/~jmg/aesni.new1.patch -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.o

patch to add AES intrinsics to gcc

2013-08-22 Thread John-Mark Gurney
e the opth-gen.awk script, since it wouldn't let me use bit 31, and recent changes to gcc used up all the remaining bits. I also was unable to add the -mpclmul option because of running out of these bits. Thanks. -- John-Mark Gurney Voice: +1 415 225 5579 &

Re: why does buildkernel set COMPILER_TYPE?

2013-08-22 Thread John-Mark Gurney
Dimitry Andric wrote this message on Thu, Aug 22, 2013 at 08:59 +0200: > On Aug 22, 2013, at 06:04, John-Mark Gurney wrote: > > I've noticed that if you do a: > > make buildworld WITHOUT_CLANG_IS_CC=YES > > > > and then do a: > > make buildkernel > >

why does buildkernel set COMPILER_TYPE?

2013-08-21 Thread John-Mark Gurney
AME} # This just removes setting COMPILER_TYPE for the kernel target and lets the magic in bsd.compiler.mk do it's thing... Comments? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been

Re: How to best overload the fileops ?

2013-08-21 Thread John-Mark Gurney
; /* overload only fo_close operation */ > epollops_base = epollops; > epollops.fo_close = epoll_close; > } > FDCLASS_INHERIT(epoll, kqueue, epoll_init) > > > ___ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To

Re: Tell me how to increase the virtual disk with ZFS?

2013-05-11 Thread John-Mark Gurney
Alexander Yerenkow wrote this message on Sat, May 11, 2013 at 18:13 +0300: > zpools or increase/decrease UFS partitions. growfs(8) NAME growfs -- grow size of an existing ufs file system HISTORY The growfs utility first appeared in FreeBSD 4.4. -- John-Mark Gur

Re: Intel D2500CC motherboard and strange RS232/UART behavior

2013-04-11 Thread John-Mark Gurney
out how to make those cards work: https://www.freebsd.org/doc/en/books/faq/serial.html#enable-multiport-serial I have a couple of these cards around somewhere I think... Uses a DB-37 connector for the ports Though if these ports don't have the logic that the AST cards did to share the I

Re: Any objections/comments on axing out old ATA stack?

2013-03-28 Thread John-Mark Gurney
se, you might choose to not include USB, but use ATA, or not use umass, but the rest of USB... Someone on a list was talking about trying to get FreeBSD down on a really small system, 16MB ram... /me thinks of the old wd driver. -- John-Mark Gurney Voice: +1 415 22

Re: compilation error with WITHOUT_ED_CRYPTO

2013-03-23 Thread John-Mark Gurney
deeptech71 wrote this message on Fri, Mar 22, 2013 at 15:55 +0100: > The obvious fix: widen the scope of ``#ifdef DES'': Thanks, committed in r248656. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All th

Re: using multiple interfaces for same Network Card

2013-03-12 Thread John-Mark Gurney
.d/netif start" if you don't want to reboot, but I've never done that.. I've just rebooted, since this is my router and I want to make sure it comes up... Good luck... > On Tue, Mar 12, 2013 at 11:39 PM, John-Mark Gurney wrote: > > > Yasir hussan wrote this message o

Re: using multiple interfaces for same Network Card

2013-03-12 Thread John-Mark Gurney
oadcast 10.0.1.255 > > media: Ethernet autoselect (1000baseT ) > > status: active > > > > These are both the same thing. Is there any particular reason that > > you want multiple interfaces? I can't see a use for it beyond "it's > > what

Re: r245741 (clang as cc) can not build binaries for GEODE processor

2013-02-22 Thread John-Mark Gurney
-current broken on pre-PPro machines (w/ work around) http://www.freebsd.org/cgi/mid.cgi?20130201170737.gp1...@funkthat.com The work around is to use gcc which will not emit the cmov instructions... -- John-Mark Gurney Voice: +1 415 225 5579 "Al

Re: -CURRENT userland regression

2013-02-21 Thread John-Mark Gurney
sr/obj/usr/src/sys/GENERIC amd64 And I haven't installworld yet... so somehow supporting the AES instructions in gcc causes the kernel to miscompile... I'm now going to diff the two kernels to find out what's different... -- John-Mark Gurney

Re: r247095 Boot Failure

2013-02-21 Thread John-Mark Gurney
, not userland) and figure out which part of the system.. But clearly, we are still using gcc somehow in our kernel builds... If I don't figure out what it is in a few hours, I'll back out the change... -- John-Mark Gurney Voice: +1 415 225 5579

Re: ports include /etc/src.conf? i.e. graphics/libfpx

2013-02-15 Thread John-Mark Gurney
/usr/share/mk is for use by projects outside /usr/src... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___ freebsd-current@freebsd.org mailing

Re: the latest version of Clang/LLVM for the world and kernel

2013-02-15 Thread John-Mark Gurney
t(&object, 0, sizeof object); > > or > > memset(&pointer, 0, sizeof *pointer); > > but apparently it is difficult to choose the right one. :) I assume you mean: memset(pointer, 0, sizeof *pointer); :) -- John-Mark Gurney

-current broken on pre-PPro machines (w/ work around)

2013-02-01 Thread John-Mark Gurney
ou use gcc instead of clang... A bug has been filed: http://llvm.org/bugs/show_bug.cgi?id=15115 -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___ freebsd

Re: -current broken in acpi/iasl

2013-01-18 Thread John-Mark Gurney
27;t test it. Look at "buildworld is broken ?" thread Looks like this broken when jkim imported the latest ACPICA code base: https://svnweb.freebsd.org/base?view=revision&revision=245582 I've forward the tinderbox failure to him, so hopefully he'll fix

Re: Clang warning patches

2013-01-15 Thread John-Mark Gurney
John-Mark Gurney wrote this message on Tue, Jan 15, 2013 at 15:10 -0800: > hiren panchasara wrote this message on Tue, Jan 15, 2013 at 07:52 -0800: > > http://www.strugglingcoder.info/patches/clang_warnings_dev_bktr.txt > > This patch does not look correct at all... It is simpl

Re: Clang warning patches

2013-01-15 Thread John-Mark Gurney
on? What is the warning that we are fixing here? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___ freebsd-current@freebsd.org mailing list http://list

Re: RFC: removal of share/doc/{papers,psd,smm,usd} in 2 months

2012-10-19 Thread John-Mark Gurney
po, and needs to be installed if they aren't part of the baes install.. Some papers I can see go, like psd/06.Clang... Heck, it doesn't even cover C89!?! :) I'm fine w/ cleaning it up, just not wholesale removal... Thanks. -- John-Mark Gurney Voice: +1

Re: RFC: GEOM MULTIPATH rewrite

2011-11-01 Thread John-Mark Gurney
the man page if someone comes up w/ a good list of points. Are the ones I listed above enough? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."

how to detach ata w/ new ATA_CAM layer?

2011-10-30 Thread John-Mark Gurney
to do that. Anyone have a clue? Thanks. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.

Re: RFC: Project geom-events

2011-10-05 Thread John-Mark Gurney
n... > But such situations, IMHO, are not very often ones. Won't gmirror still report COMPLETE after a gmirror remove? So the script can look at the gmirror device, and see that it is still complete even though one of the providers were dropped and assume it was an administrative command

Re: kqueue and device driver experience anyone ?

2011-08-29 Thread John-Mark Gurney
ailable for reading)... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailma

Re: Process timing issue

2011-02-22 Thread John-Mark Gurney
r > most of the calls to clock_gettime(), but from time to time (about 1 > loop in 20 on my computer), we have a latency pike (>= 100ms). Are you sure there isn't a cron task or something else that is suddenly waking up, causing a large CPU spike?

Re: vm_fault on umass transfers

2003-12-03 Thread John-Mark Gurney
> see if there would be more information spat out. Sorry for the long delay, finally getting to the -current list after a trip. Is this on ochi? There was a patch that might have fixed thigh committed recently. Is this still reproducable on -current? Thanks. -- John-Mark Gurney

Re: MAJOR number

2003-11-30 Thread John-Mark Gurney
not common... > I've read that FreeBSD doesn't use them any more. > But we may need it to not interfere with other device > drivers in previous releases of FreeBSD. so, you are planning do do 4.x and earlier releases of your driver? -- John-Mark Gurney

Re: umass(4)/uhci(4) REALLY slow

2003-10-12 Thread John-Mark Gurney
1.1 is 12mbits/sec. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/fr

Re: panic: Negative bio_offset (-15050100712783872) on bio 0xc7725d50

2003-09-17 Thread John-Mark Gurney
own system. If the filesystem is broken, then we still have a software bug for not asserting that the properties of the fs is maintained. If/when we ever support user mounting fs's, we need to make sure that the fs doesn't do wacky things and provide a way to escelate permissions or crash

Re: panic: Negative bio_offset (-15050100712783872) on bio 0xc7725d50

2003-09-17 Thread John-Mark Gurney
continued operation will do to the filesytem, and you might end up losing more data. It is not unresonable to put parameter restrictions on function calls. It is not much different from enforcing that a pointer is not NULL when being passed as an argument. -- John-Mark Gurney

Re: How do put an ATA disk into sleep/standby mode?

2003-09-13 Thread John-Mark Gurney
against are in the patch).. hope this helps you. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." Index: ata-all.h === RCS f

Re: usb flashkey disk copy error

2003-09-13 Thread John-Mark Gurney
r usb messages (ohci/uhci/umass/etc.) I tried using my 128meg CF in the same reader/machine that was having problems reading, and it worked. So it looks like reads are broken for only some devices, not all. :( > On Sun, Sep 07, 2003 at 01:39:08PM -0700, John-Mark Gurney wrote: > > Barn

Re: USB da(4) quirks deprecated

2003-09-13 Thread John-Mark Gurney
m also that appears to do the same thing. Have you tried doing an fstat before umounting the fs? (There is a bug in msdosfs that doesn't sync the disk before unmount completes.) This is wierd in that it's the second page of the second transfer. The ohci can do up to 8k transfers in o

Re: usb flashkey disk copy error

2003-09-07 Thread John-Mark Gurney
bsystem that isn't flushing the buffers before umount, but that seems a bit wierd since other fs's should/would be having this problem too. Don't rejoice quite yet, there still is something to track down. Did you see my recent patch I posted? Could you try that on you

Re: usb flashkey disk copy error

2003-09-07 Thread John-Mark Gurney
rom the media correctly. Unless you are coping a file larger than memory size, the cmp just pulls it from memory, not from the media. The umount/mount forces a flush of the cache, and so attempts to read from the media. Thanks. -- John-Mark Gurney Voice: +1 415 225 55

Re: usb flashkey disk copy error

2003-09-07 Thread John-Mark Gurney
Barney Wolff wrote this message on Sun, Sep 07, 2003 at 13:46 -0400: > On Sun, Sep 07, 2003 at 12:32:46AM -0700, John-Mark Gurney wrote: > > > > You're the second person that has reported corruption with USB umass > > devices. I am interested in tracking down this p

Re: usb flashkey disk copy error

2003-09-07 Thread John-Mark Gurney
on with USB umass devices. I am interested in tracking down this problem, but it's a bit difficult since I haven't seen it myself. (I currently don't quite have a test bed box to play with, but I will in the next week.) Thanks. -- John-Mark Gurney

Re: Question about genassym, locore.s and 0-sized arrays(showstopper for an icc compiled kernel)

2003-09-06 Thread John-Mark Gurney
Alexander Leidinger wrote this message on Sat, Sep 06, 2003 at 10:33 +0200: > struct { ^ try moving foo to here. > int tag; > char obj[]; > } foo; ^^^ from here. -- John-Mark Gurney Voice: +1 415 225 5579 "All th

Re: bktr(4) bufs plus patch

2003-09-03 Thread John-Mark Gurney
t responsible, but I will take notice of it. Once I get my lab up and running (hopefully in the next week), I can test this and see how it works. Could we get it submitted as a pr (if it isn't already), and assign it to me? (I'll assign it to myself once I know the PR). -- John-Mark G

Re: recover superblock

2003-08-25 Thread John-Mark Gurney
o use an alternate superblock via -b, it doesn't over drive the primary. If you have a disk with bad blocks on the primary, you have to manualy rewrite it with dd. -- John-Mark Gurney Voice: +1 415 225 5579 &q

Re: usbd does not use detach

2003-08-14 Thread John-Mark Gurney
ew things use newbus even though they should. This is a problem of them existing before newbus was nailed down. CAM doesn't use newbus for any of it's device management (scsi device, not HBA attachment). -- John-Mark Gurney Voice: +1 415 225 5579

Re: Weird reboots from bootmgr or loader

2003-08-14 Thread John-Mark Gurney
m: "Florian Smeets" <[EMAIL PROTECTED]> > Date: Wed, 6 Aug 2003 09:43:18 +0200 (CEST) > :: > ::> On Tue, 5 Aug 2003, John-Mark Gurney wrote: > ::> > ::>> Are you running -current w/ a kernel from the last 24 hrs? (After > ::>> phk's mass swap check i

Re: Weird reboots from bootmgr or loader

2003-08-06 Thread John-Mark Gurney
abel, which seems to have become corrupted somehow. Are you running -current w/ a kernel from the last 24 hrs? (After phk's mass swap check in?) If so, make sure your swap isn't at the start of your disk. If it is, phk was nice enough to only blow away your boot blo

Re: usb dma patch

2003-07-31 Thread John-Mark Gurney
Bernd Walter wrote this message on Wed, Jul 09, 2003 at 01:28 +0200: > On Tue, Jul 08, 2003 at 03:45:24PM -0700, John-Mark Gurney wrote: > > ohci code doesn't support isochronous so far. > There is a patch to add this kern/52589. Ok, this code has been integrated and the u

fixed another leak in USB code

2003-07-28 Thread John-Mark Gurney
?) As mentioned in the commit message, I did some testing, and a simple bulk transfer over aue did not increase the devbuf memory usage, while before this patch, I got it quickly over 20megs and growing. Sorry for the breakage. -- John-Mark Gurney Voice: +1 415 225

Re: device driver memory leak in 5.1-20030726?

2003-07-28 Thread John-Mark Gurney
ocated by usb_block_allocmem since we never end up freeing the block that is part of the fragments. The bug fixed in rev1.2 was because of a difference in how NetBSD/OpenBSD handles things. We wouldn't need this if we had a size parameter to bus_dmamem_alloc. Please reread the code and see wh

Re: device driver memory leak in 5.1-20030726?

2003-07-27 Thread John-Mark Gurney
USB_DEBUG, and after everything is setup, and you see devbuf steadily increasing, set the sysctl hw.usb.debug to 7. Take about 10k or so of that, and send it to me. That should let me know if we are leaking. Thanks. -- John-Mark Gurney Voice: +1 415 225 5579 &q

Re: device driver memory leak in 5.1-20030726?

2003-07-27 Thread John-Mark Gurney
Scott Long wrote this message on Sun, Jul 27, 2003 at 23:33 -0600: > John-Mark Gurney wrote: > > >It may be leaking, but it won't be leaking devbuf memory. The only > >thing that is in usb (in dev/usb) that uses M_DEVBUF is ukbd. > > bus_dma_tag_create() allocates

Re: device driver memory leak in 5.1-20030726?

2003-07-27 Thread John-Mark Gurney
etter fix for this. Let me know how things go for you. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." Index: ng_device.c === RCS f

Re: device driver memory leak in 5.1-20030726?

2003-07-27 Thread John-Mark Gurney
Lukas Ertl wrote this message on Mon, Jul 28, 2003 at 01:11 +0200: > On Sun, 27 Jul 2003, John-Mark Gurney wrote: > Then I have no explanation. I'm running the box with a WiFi card, > generating lots of network traffic, and the box is running fine, no > panics, and low devbuf

Re: device driver memory leak in 5.1-20030726?

2003-07-27 Thread John-Mark Gurney
ng, but it won't be leaking devbuf memory. The only thing that is in usb (in dev/usb) that uses M_DEVBUF is ukbd. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." _

Re: Memory Mangement Problem in 5.1-RELEASE

2003-07-26 Thread John-Mark Gurney
for > the vty's and similar junk on my swap space. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___ [EMAIL PROTECTED] mailing list http

Re: ums panic

2003-07-23 Thread John-Mark Gurney
: There are known issues w/ loading/unloading/loading USB modules. Don't do that (unless you are debuging the problem). Feel free to research why this is doing it. :) I'll gladly review and commit any patches you generate for this problem. -- John-Mark Gurney

Re: Portable USB hard drive regression

2003-07-23 Thread John-Mark Gurney
on various sysctl's to provide more information. Thanks. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___ [EMAIL PROTECTED] mailing list h

<    1   2   3   4   >