Re: FreeBSD installers and future direction

2013-05-27 Thread Bruce Cran
On 27/05/2013 21:28, Alfred Perlstein wrote: On 5/27/13 11:40 AM, Bruce Cran wrote: Yes. Is this a joke? It probably /was/ too short a reply. Personally I think there should be a single UI and scripting interface across all platforms. We should try and get pc-sysinstall running on all of

Re: FreeBSD installers and future direction

2013-05-27 Thread Bruce Cran
On 27/05/2013 19:03, Alfred Perlstein wrote: Do we always have to seek the lowest common denominator for our user experience? Yes. -- Bruce ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsu

Re: FreeBSD installers and future direction

2013-05-27 Thread Bruce Cran
On 27/05/2013 16:48, Alfred Perlstein wrote: Why can we not use in the interim use pc-sysinstall on the platforms that it performs best on and use bsdinstall on the others? Because pc-sysinstall doesn't have a UI - it's only a backend. If we update bsdinstall to use it, then it won't work on o

Re: FreeBSD installers and future direction

2013-05-26 Thread Bruce Cran
avoid abandoning the tool once the requirements differ. I'd like to see an option of different front-ends for the installer/configurator to cater for different users - at least an X11 application, but there was also an idea of having a http-based installation UI. -- Bruce

Re: FreeBSD installers and future direction

2013-05-26 Thread Bruce Cran
On 26/05/2013 18:54, Teske, Devin wrote: http://www.google-melange.com/gsoc/proposal/review/google/gsoc2013/harshbhatt/1 "This proposal is not made public, and you are not the student who submitted the proposal, nor are you a mentor for the organization it was submitted to." --

Re: FreeBSD installers and future direction

2013-05-25 Thread Bruce Cran
On 25/05/2013 17:15, Matt Olander wrote: From my vague recollection, we discussed improving bsdinstall by tying it in with pc-sysinstall, which we've been threatening to do for at least a year. Also, there was much discussion about Devin's bsdconfig perhaps tying in with a Google SoC Project. I

FreeBSD installers and future direction

2013-05-25 Thread Bruce Cran
wards getting a single really good installer/frontend - instead of the current situation with several, none of which have a much-needed UI for setting up an installation on ZFS. -- Bruce Cran ___ freebsd-hackers@freebsd.org mailing list

Re: Re: Better error messages for command not found (was Re: Pull in upstream before 9.1 code freeze?)

2012-08-05 Thread Bruce Cran
d to do better :) In the end they added a COMMAND_NOT_FOUND_AUTO variable, disabled by default, to do the slow search, and the standard behaviour became to print a message similar to "Command not found. If this isn't a typo, run "cnf " to find the package containing it"

Re: [rfc] a few kern.mk and bsd.sys.mk related changes

2011-05-28 Thread Bruce Cran
frame pointers makes debugging impossible (on i386). With -O2 code is moved around and removed, so debugging is more difficult, but can still provide useful information. -- Bruce Cran ___ freebsd-hackers@freebsd.org mailing list http://lists.freeb

Re: [UPDATE] host-setup(1): a dialog(1)-based utility for configuring FreeBSD

2011-04-23 Thread Bruce Cran
On Fri, 22 Apr 2011 09:52:44 -0700 "Devin Teske" wrote: > Looks like `--hline' is not supported anymore. Thinking this should > either be patched or documented in ERRATA/UPGRADING. I think you mean UPDATING :) -- Bruce Cran __

Re: [UPDATE] host-setup(1): a dialog(1)-based utility for configuring FreeBSD

2011-04-22 Thread Bruce Cran
On Fri, 22 Apr 2011 15:41:46 + Alexander Best wrote: > FreeBSD 9.0-CURRENT amd64 A new version of dialog was imported a few days ago - maybe something broke? -- Bruce Cran ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.

Re: Switching to [KMGTPE]i prefixes?

2011-03-24 Thread Bruce Cran
rd uses "Bi" for bytes. -- Bruce Cran ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: listing all modules compiled into a kernel instance

2011-03-01 Thread Bruce Cran
97 mld 90 sysvmsg 91 sysvsem [...] -- Bruce Cran ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "free

Re: man 3 getopt char * const argv[] - is const wrong ?

2011-02-15 Thread Bruce Cran
008 free at http://pubs.opengroup.org/onlinepubs/9699919799/ . -- Bruce Cran ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: man 3 getopt char * const argv[] - is const wrong ?

2011-02-13 Thread Bruce Cran
ce :-) > http://www.google.co.uk/search?q=opengroup+getopt gets results for 1003.1-2004. -- Bruce Cran ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: memstick.img is bloated with 7% 2K blocks of nulls

2011-02-12 Thread Bruce Cran
pect -t default is malloc, though manual > doesnt say that, but look what manual says re. malloc ... panic ). But from the manual page: -f file Filename to use for the vnode type memory disk. Options -a and -t vnode are implied if not specified. So if y

Re: memstick.img is bloated with 7% 2K blocks of nulls

2011-02-11 Thread Bruce Cran
ls: /mnt: Bad file descriptor # cd /mnt cd: /mnt: Not a directory # vim /mnt panic: ffs_read: type 0 kdb_enter() panic() ffs_read() vn_read dofileread() kern_readv() read() syscallenter() syscall() Xfast_syscall() -- Bruce Cran ___ freebsd-hackers

Re: memstick.img is bloated with 7% 2K blocks of nulls

2011-02-11 Thread Bruce Cran
On Fri, 11 Feb 2011 20:09:30 +0100 "Julian H. Stacey" wrote: > memstick.img wastes 7% with 2K blocks of nulls. Could this be due to using UFS1 instead of UFS2? On a related note, at some point the release scripts should be updated to use gpart instead of fdisk/bsdlabel. -

Re: [RELEASE] host-setup(1): a dialog(1)-based utility for configuring FreeBSD

2011-02-11 Thread Bruce Cran
On Fri, 11 Feb 2011 08:56:42 +0100 Damien Fleuriot wrote: > The list strips non-text attachments so there isn't much to see at > the moment though... It wasn't supposed to be attached - try http://druidbsd.sourceforge.net/download/host-setup.txt :)

Re: getting a list of open files versus PID nos.?

2010-12-08 Thread Bruce Cran
On Wed, 8 Dec 2010 14:54:57 -0800 Matthew Fleming wrote: > This is what lsof is for. I believe there's one in ports, but I have > never tried it. Is there any advantage to using lsof instead of fstat(1) (fstat -p pid)? -- Bruce Cran

Re: Logical vs. bitwise AND in sbin/routed/parms.c

2010-11-22 Thread Bruce Cran
On Mon, 22 Nov 2010 10:48:09 -0800 Artem Belevich wrote: > hdr.elf.e_ident[EI_OSABI] is not a bitmask and '==' should've been > used instead. Now ldd.c has two instances of this bug due to > copy/pasting of orignal code. Fixed in r215705.

Logical vs. bitwise AND in sbin/routed/parms.c

2010-11-22 Thread Bruce Cran
& GROUP_IS_ADV_OUT)) || (new->parm_rdisc_pref != 0 && parmp->parm_rdisc_pref != 0 && new->parm_rdisc_pref != parmp->parm_rdisc_pref) -- Bruce Cran

Re: Summary: Re: Spin down HDD after disk sync or before power off

2010-11-19 Thread Bruce Cran
On Tue, 16 Nov 2010 20:40:00 + Bruce Cran wrote: > One problem with the code that's been committed is that the shutdown > event handler doesn't get run during a suspend operation so an > emergency unload still gets done when running "acpiconf -s3". Something el

Re: Summary: Re: Spin down HDD after disk sync or before power off

2010-11-16 Thread Bruce Cran
and plug olivers patch into CAM. you might want to replace the > combination of flush/standby immediate with sleep. One problem with the code that's been committed is that the shutdown event handler doesn't get run during a suspend operation so an emergency unload still gets done when

Re: Summary: Re: Spin down HDD after disk sync or before power off

2010-10-27 Thread Bruce Cran
cify a timeout down to 1 minute with no warnings, I don't think we want to make it more difficult for people to do the same thing on FreeBSD. I don't know if atacontrol already does this, but maybe we could have a log entry, for example: > atacontrol /dev/ad0 spindown 60 spin-down tim

Re: fsync(2) manual and hdd write caching

2010-10-27 Thread Bruce Cran
the data will still be stored in the HDD cache for a while. -- Bruce Cran ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: fsync(2) manual and hdd write caching

2010-10-26 Thread Bruce Cran
plete upon return from sync()." That would suggest it's not actually a bug. -- Bruce Cran ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: fsync(2) manual and hdd write caching

2010-10-26 Thread Bruce Cran
that after a system crash or other failure that all data up to the time of the fsync() call is recorded on the disk." ... "In the middle ground between these extremes, fsync() might or might not actually cause data to be written where it is safe from a power failure." -- Bruce Cra

Re: Summary: Re: Spin down HDD after disk sync or before power off

2010-10-24 Thread Bruce Cran
to move the functionality into ada(4). Should it be reverted? -- Bruce Cran ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: Slow disk access while rsync - what should I tune?

2010-10-24 Thread Bruce Cran
up the snapshot as slowly as you like. I'm not sure snapshots are so well supported for UFS. >From sys/ufs/ffs/README.snapshot: "As is detailed in the operational information below, snapshots are definitely alpha-test code and are NOT yet ready for prod

Re: Summary: Re: Spin down HDD after disk sync or before power off

2010-10-22 Thread Bruce Cran
x27;m not sure the APM value updates the idle3 timer inside the drive: it may be necessary to run WD's wdidle3.exe tool to change the power management timer. And yes, people are rather annoyed that it's necessary to have a copy of DOS to u

Re: Summary: Re: Spin down HDD after disk sync or before power off

2010-10-21 Thread Bruce Cran
nagement of the WD EARS drives. -- Bruce Cran ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: Summary: Re: Spin down HDD after disk sync or before power off

2010-10-21 Thread Bruce Cran
is measured in minutes. I agree - users coming from ataidle(8) will expect the timeout to be in minutes too. -- Bruce Cran ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any

Re: Summary: Re: Spin down HDD after disk sync or before power off

2010-10-21 Thread Bruce Cran
s that powers the disk down after 7 seconds! -- Bruce Cran ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: issue with unsetting 'arch' flag

2010-10-06 Thread Bruce Cran
t; as non-root user), but indeed has done nothing. I guess that should be "sudo chflags arch ftest"? -- Bruce Cran ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: A simple and hopefully usable FreeBSD live CD -- now with images

2010-08-26 Thread Bruce Cran
7-zip.org/) in Windows. -- Bruce Cran ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: behaviour changes in mdconfig? or something related?

2010-08-04 Thread Bruce Cran
On Wed, 4 Aug 2010 14:40:27 +0200 Samuel Martín Moro wrote: > Since 8.1 (8.0?), after calling bsdlabel, I still have /dev/${dev}a, > but/dev/${dev}c doesn't show up anymore. The 'c' partition is no longer created on FreeBSD 8 - you should use /dev/${dev} instead of /dev/${dev}c : http://www.fre

Re: TCP over UDP

2010-07-12 Thread Bruce Cran
r: http://en.wikipedia.org/wiki/Stream_Control_Transmission_Protocol#Motivations -- Bruce Cran ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: I need reply in Embedded FreeBSD Kernel Theme

2010-06-12 Thread Bruce Cran
> including an impressive demonstration by an Intel team for car > instrumentation panels (on Youtube... Google for fastest Linux boot). It's on the list of ideas for 9.0: see http://wiki.freebsd.org/FreeBSD9#head-960c3f5a8747af95199367a8c84030

Re: sysbench / fileio - Linux vs. FreeBSD

2010-06-05 Thread Bruce Cran
7;t be writing typical data. Instead it's probably using a buffer that compresses very well. -- Bruce Cran ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: sysbench / fileio - Linux vs. FreeBSD

2010-06-04 Thread Bruce Cran
. /var : 25.2MB/s /usr/obj : 64.8MB/s /usr/src : 386.3MB/s /home : 60.3MB/s -- Bruce Cran ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: Common OS/kernel code between freebsd and linux

2010-05-22 Thread Bruce Cran
example UNIX has traditionally used routing sockets, Linux uses netlink. I don't think there's much in the way of common architecture between Linux and FreeBSD unfortunately. -- Bruce Cran ___ freebsd-hackers@freebsd.org mailing list http:/

Re: Compiling kernel with gcc43

2010-03-25 Thread Bruce Cran
ill this "damage" the resulting kernel/world binaries? You should be able to use NO_WERROR in src.conf to prevent -Werror being used. -- Bruce Cran ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freeb

Re: ATA 4K sector issues

2010-03-17 Thread Bruce Cran
On Wednesday 17 March 2010 18:16:09 Olivier Smedts wrote: > Why not on geom_md ? Thanks! After getting a "no such geom" message when I tried a couple of commands without having created any partitions I presumed it was looking for a DISK provider. -

Re: ATA 4K sector issues

2010-03-17 Thread Bruce Cran
ors/track=63 (16065 blks/cyl) fdisk: invalid fdisk partition table found fdisk: /boot/mbr: length must be a multiple of sector size So it seems there's still work to do to get fdisk working, but I can't try gpart since I don't have a re

Re: building world with debugging symbols

2010-03-05 Thread Bruce Cran
On Friday 05 March 2010 05:28:39 Alexander Best wrote: > any suggestions on how to successfully build world with debugging symbols > are welcome. Use DEBUG_FLAGS instead: DEBUG_FLAGS=-g The build system knows not to strip the binaries when that's defined, too. --

Re: Greetings... a patch I would like your comments on...

2010-01-25 Thread Bruce Cran
c. :-) Just to avoid any possible confusion, Microsoft have stopped documenting the Nt* functions, or have marked them as obsolete: in userland you call WaitForSingleObject, WaitForMultipleObjects etc. while in the kernel you use KeWaitForSingleObject, KeWaitForMutlipleObjects etc. -- Bruce Cran ___

Re: bad source in the distro iso's

2009-11-16 Thread Bruce Cran
. it's not like > anyone is going to try installing 8.0 from floppies. See http://lists.freebsd.org/pipermail/freebsd-stable/2009-October/052241.html - apparently people are still wanting to install from floppies. -- Bruce Cran ___ freebsd-hack

Re: Is the FreeBSD ABI compatibility policy documented anywhere

2009-09-24 Thread Bruce Cran
policies are > written down as such. I think you will find it referenced in > many places in a sideways manner rather than directly. > > Possibly in the developer handbook The only place I found it directly referenced was in http://wiki.freebsd.org/VendorInformation -- Bruce Cran _

Re: USB Device identification in dmesg and usbconfig

2009-09-23 Thread Bruce Cran
C1; sometimes they'll identify properly by getting the strings out of the device (e.g. "Microsoft 3-Button Mouse with IntelliEye(TM)") but most of the time I'll just see the generic device and product IDs. -- Bruce Cran ___ freebsd-

Re: Partial kvm dumps

2009-08-26 Thread Bruce Cran
On Mon, 24 Aug 2009 10:45:58 +0300 Mikolaj Golub wrote: > http://code.google.com/p/trociny/downloads/list > > I would like to hear what other people think about this. It looks > very useful for me. At least as a first step it would be nice to > extend KVM to work with partial dumps so the users

Re: ATA driver update for 7.2RELEASE available

2009-06-27 Thread Bruce Cran
pr.cgi?pr=kern/133162 but it sounds like some more drivers will need to be added for 7.2. -- Bruce Cran ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freeb

Re: pkg_info segfault Revision: 193189

2009-06-01 Thread Bruce Cran
On Mon, 1 Jun 2009 16:30:26 -0400 Glen Barber wrote: > On Mon, Jun 1, 2009 at 4:28 PM, Bruce Cran wrote: > > On Sun, 31 May 2009 17:34:05 -0400 > > Eitan Adler wrote: > > > >> pkg_info --IwantAcookie > >> Segmentation fault: 11 (core dumped) > >>

Re: pkg_info segfault Revision: 193189

2009-06-01 Thread Bruce Cran
On Sun, 31 May 2009 17:34:05 -0400 Eitan Adler wrote: > pkg_info --IwantAcookie > Segmentation fault: 11 (core dumped) > on FreeBSD 7.2-STABLE i386 getopt_long expects the array of options to be NULL-terminated, so it's walking off the end. -- Bruce Cran--- /usr/src/usr.sbin/pk

Re: C99: Suggestions for style(9)

2009-05-01 Thread Bruce Cran
t not all C compilers are C99 and a lot of FreeBSD code > is taken and run in other situations. There is FreeBSD code > in all sorts of environments, not all of which have new compilers. > Doesn't FreeBSD already use C99 features such as stdint and named initializers? I don'

Re: ACPI-fast default timecounter, but HPET 83% faster

2009-04-30 Thread Bruce Cran
r and less "proven". > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/acpica/acpi_hpet.c shows some of the history behind the decision. Apparently it used to be slower but it was hoped it would get faster as systems supported it better. I guess that's happening now.

Re: Garbled kernel messages on shutdown

2009-04-17 Thread Bruce Cran
ason GENERIC has SMP, but doesn't set > PRINTF_BUFR_SIZE=128? I think from previous discussions there might be some concern about stack usage when it's enabled. -- Bruce Cran ___ freebsd-hackers@freebsd.org mailing list http://lists.freeb

Re: Linux setpci equivalent in FreeBSD?

2009-04-14 Thread Bruce Cran
On Tue, 14 Apr 2009 19:22:50 +0200 Zahemszky Gábor wrote: > Hi! > > I'v found (well, mav@ found it) on a wiki page (*) a trick to use > some TI sdhci cards. They use the setpci command, to set some bits in > the HW. Are there any tool under FreeBSD to do the same? pciconf(

Re: building a gcc crosscompiler

2009-04-09 Thread Bruce Cran
o install the port "libgmp4" and tell the gnu > gcc configure about which mp I'm using. > > So, if you know if I can use FreeBSD's libmp, or if I need to build > the ports libgmp4, please let me know. I don't know i

Overflow in vm.vmtotal expected when allocating huge amounts of memory?

2009-03-26 Thread Bruce Cran
overflows? -- Bruce Cran ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: Simulating bad network conditions

2009-02-18 Thread Bruce Cran
bility 20% It seems ALTQ can't delay packets though, so you'd need to use dummynet for that. -- Bruce Cran ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: a little bit of c++ in kernel [module]

2009-02-11 Thread Bruce Cran
so it is > available. > > > Yes. For example, all objects inherit from "Element" and that > > defines virtual functions. (include/click/element.hh) > > Virtual inheritance is something completely different than virtual > methods. Microsoft has an overview o

Re: lzo2 shows insane speed gap

2008-12-29 Thread Bruce Cran
(malloc.conf -> aj) 'make test' takes 25s; after removing malloc.conf thus turning on debugging, it takes over 10 minutes. -- Bruce Cran ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: How to quickly determine if UFS2 FS is "clean" from command line?

2008-12-25 Thread Bruce Cran
at I have no interest in. I only ran it on a 2GB filesystem so I didn't see how slow it is! It looks like ffsinfo(8) can also display the superblock: by specifying only level 0x001 it should be fast, though the flags are combined into a single value in the output

Re: How to quickly determine if UFS2 FS is "clean" from command line?

2008-12-25 Thread Bruce Cran
the 'clean' flag: dumpfs /dev/ad0s1d | grep clean That will output a line like: cgrotor 0 fmod 0 ronly 0 clean 1 Just like with fsck you can also tell dumpfs the previous mountpoint too and it'll use the right device. -- Bruce Cran ___

Re: change to ee.c

2008-11-30 Thread Bruce Cran
On Sun, 30 Nov 2008 09:12:26 -0500 Eitan Adler <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Bruce Cran wrote: > > > The version of ee in FreeBSD is fairly old: the latest from > > http://mahon.cwx.net/ is 1.4.6. > How dif

Re: change to ee.c

2008-11-30 Thread Bruce Cran
t/ is 1.4.6. Even so, the latest version still generates lots of warnings from gcc because the developer used NULL instead of '\0' (i.e the NULL constant instead of the NUL string). The patch at http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/127986 fixes them; I emailed the develo

Re: Make files for /usr/src/sys/dev/*

2008-11-15 Thread Bruce Cran
On Sun, 16 Nov 2008 04:10:31 +0059 "Alexej Sokolov" <[EMAIL PROTECTED]> wrote: > > where are the Makefiles for drivers in /usr/src/dev/* For drivers which can be built as modules, they're in /usr/src/sys/modules/* -- Bruce Cran

Re: need help with vbox

2008-10-16 Thread Bruce Cran
Ivan Voras wrote: Desmond Chapman wrote: It's dependent upon kbuild. Since the developers have no intention of fixing the issue, I would like a tutorial on converting the kmk file to a normal Makefile. What is kmk? Google only shows it's used with VirtualBox and nowhere else. If it's

Re: ATA Security patch to atacontrol

2008-09-30 Thread Bruce Cran
vailable online in English: http://www.heise.de/ct/english/05/08/172 http://www.t13.org has all the latest drafts at http://www.t13.org/Documents/MinutesDefault.aspx?DocumentType=4&DocumentStage=2 -- Bruce Cran ___ freebsd-hackers@freebsd.org maili

Re: atacontrol broken in 7.1-PR

2008-09-28 Thread Bruce Cran
unc()). ATA channel 0: Master: acd0 ATA/ATAPI revision 5 Slave: no device present atacontrol: ioctl(IOCATADEVICES) returned -1: Device not configured This laptop's running GENERIC, so ATA_STATIC_ID is in my kernel config. -- Bruce Cran _

Re: atacontrol broken in 7.1-PR

2008-09-28 Thread Bruce Cran
ICES): Device not configured I've attached the dmesg, and truss output from "atacontrol list". -- Bruce Cran __sysctl(0x7fffe8b0,0x2,0x7fffe8cc,0x7fffe8c0,0x0,0x0) = 0 (0x0) mmap(0x0,576,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365149184 (0x8005

Re: IPv6 CVS

2008-08-05 Thread Bruce Cran
y the csup utility reports a fail (Connection > > Refused) as it tries to connect to the V6 address. It will quite > > happily connect to the same machine V4. > > csup is written in C; it does not use Modula3/ezm3. cvsup uses > Modula3/ezm3. The problem is cvsupd - since it's written in Modula3 and doesn't support IPv6 you have to use an inetd/netcat hack to accept IPv6 connections on the server. As mentioned in http://lists.freebsd.org/pipermail/freebsd-current/2008-July/086710.html cvsup18.freebsd.org and cvsup4.ru.freebsd.org both accept IPv6 connections. -- Bruce Cran ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: profiling broken on RELENG_7/i386

2008-07-13 Thread Bruce Cran
count() > PJ> is not preserving %ecx, though main() assumes it does. > > I see. However, I'm afraid we need knowledge of some gcc guru to > bring the fix in. > This is a known bug in 7.x and has apparently been fixed in -CURRENT. See http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/119709 for more details. -- Bruce Cran signature.asc Description: PGP signature

Re: Glaring 64 bit omission

2008-07-09 Thread Bruce Cran
pop up in the regular > FreeBSD Project status reports. Click on the "Info" link to see the history. The recent change was just to the markup, not the page content; the last real change was in November 2007. -- Bruce Cran signature.asc Description: PGP signature

Re: How can I translate IP to hostname in C

2008-05-22 Thread Bruce Cran
) on newer systems. There's a good introduction to modern sockets programming at http://people.redhat.com/drepper/userapi-ipv6.html -- Bruce Cran ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hacke

Re: sshd patch to avoid DNS lookups when using 'UseDNS no' or -u0

2008-05-11 Thread Bruce Cran
Ollivier Robert wrote: According to Bruce Cran: I've attached a patch which implements this (the change to loginrec.c reverts it back to the default OpenSSH code) and was wondering if someone could take a look at it. If you have not already done so, please use send-pr to record it in

sshd patch to avoid DNS lookups when using 'UseDNS no' or -u0

2008-04-30 Thread Bruce Cran
While investigating PR bin/97499 I realised that revision 1.2 of loginrec.c, which was in FreeBSD 4.6, introduced a DNS lookup into sshd itself which is impossible to avoid even after specifying 'UseDNS no' or -u0, and which duplicates one which has already been done earlier. The default OpenSS

Re: Re: Architectures with strict alignment?

2008-01-05 Thread Bruce Cran
Marco van de Voort wrote: On Sat, Dec 08, 2007 at 03:43:30AM +0100, Ivan Voras wrote: Which of the architectures FreeBSD supports (if any) have strict memory alignment requirements? (in the sense that accessing a 32-bit integer not aligned on a 32-bit address results in a hardware trap/excep

Re: Very slow writing to SATA disk

2005-10-29 Thread Bruce Cran
always the possibility that data will be lost, since it does bypass the driver. Unfortunately I've been very busy recently and so have until now been unable to look at FreeBSD 6.0 and the new ATA driver. I have however updated ataidle to cope with the new API and it can be down

Re: FreeBSD and MacOS

2004-07-03 Thread Bruce Cran
ing a little slow in making faster PowerPC CPUs. They were considering switching to an Intel-based line; in the end they went with IBM and their PPC970, so I would think it's fairly unlikely we'll now ever see a version (of the GUI) for x86.

Re: Setting Standby Mode for ATA Disks

2004-07-02 Thread Bruce Cran
:/ ATAidle (http://www.cran.org.uk/bruce/software/ataidle.php and sysutils/ataidle in ports) does this. Unfortunately due to a site redesign, the page seems to have been dropped from the google results; I'll have to add the keywords back in so it gets listed again!

machdep.tsc_freq and very fast CPUs

2004-02-25 Thread Bruce Cran
hanged the sysctl value. I haven't done a lot of investigation into the kernel here so I'm willing to accept that I may be completely wrong, but something just doesn't seem quite right. -- Bruce Cran box1# sysctl machdep.tsc_freq machdep.tsc_freq: 1401716358 box1# sysctl ma

Re: utility to set idle timeout on ata drives

2004-01-02 Thread Bruce Cran
On Thu, Jan 01, 2004 at 10:33:03PM -0500, Matthew N. Dodd wrote: > On Thu, 1 Jan 2004, Bruce Cran wrote: > > If people are interested I can add more power management features > > and possibly create a package/port of it. > > It it really necessary to use a configure script a

utility to set idle timeout on ata drives

2004-01-01 Thread Bruce Cran
management features and possibly create a package/port of it. Apologies if this is off-topic for -hackers - I hope people might find this information useful. -- Bruce Cran ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinf

Re: Ultra ATA card doesn't seem to provide Ultra speeds.

2003-07-31 Thread Bruce Cran
y given for the outside of the disk I think. Speeds usually drop about 15-20MB/s between the outside and inside. If you've got FreeBSD 5.1, you can use the 'diskinfo -t ' command to measure the performance of the hard drive. It shoul

Re: file size different from ls to du

2003-07-29 Thread Bruce Cran
file, seeking past the end of the file then writing something, will create a 'sparse' file. This, when read, will appear to contain zeros for all entries past the previous end of file, to the entry which was written to. -- Bruce Cran ___ [E

BCM4401 driver

2003-07-28 Thread Bruce Cran
d supported, and it seems that the driver is very near to being working, it just needs a bit more debugging work done on it. -- Bruce Cran ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: High CPU usage when forwarding packets

2003-03-08 Thread Bruce Cran
On Fri, Mar 07, 2003 at 10:58:23AM -0800, Terry Lambert wrote: > Bruce Cran wrote: > > Also, I'm getting > > several thousand 'lnc0: Missed packet -- no receive buffer' messages. > > Could this be the problem, or is the system just not powerful enough do &g

High CPU usage when forwarding packets

2003-03-07 Thread Bruce Cran
td uses 20%, 10% are interrupts, and 25% is 'system' as shown in top. Also, I'm getting several thousand 'lnc0: Missed packet -- no receive buffer' messages. Could this be the problem, or is the system just not powerful enough do nat? The sis0 card is 100MBit PCI, while