make buildworld is now 50% slower

2013-07-05 Thread Daniel Braniss
Hi, after today's update of 9.1-STABLE I noticed that make build[world|kernel] are taking conciderable more time, is it because the upgrade of clang? and if so, is the code produced any better? before: buildwordl: 26m4.52s real 2h28m32.12s user 36m6.27s sys buildkernel: 7m29.42s real 23m2

Re: hw.physmem/hw.realmem question

2013-07-02 Thread Daniel Braniss
Thanks Chris! It will take me some time do fully digets all this!, but at least the picture is less murky. danny > >for example, this host has has 32G of physical memory ... > >[snip - dmesg:] > >real memory = 34359738368 (32768 MB) > >avail memory = 32191340544 (30700 MB) > >[snip] > >an

hw.physmem/hw.realmem question

2013-07-02 Thread Daniel Braniss
Hi, to run some tests, I reduced the physical memory by setting hw.physmem, which got me to do some comparisons, and the more I looked around the more confused I got. for example, this host has has 32G of physical memory from dmesg: Copyright (c) 1992-2013 The FreeBSD Project. Copyright (c) 1979,

Re: GSOC 2013 project " Kernel Size Reduction for Embedded System "

2013-04-09 Thread Daniel Braniss
> > happy that FreeBSD is among the selected organization. > > > > I am a third year student interested to work in the field of embedded > > system. I applied last year and the title of my project was " Kernel Size > why only in embedded system. smaller programs are always good :) > > And yes Free

Re: solved: pmbr: Boot loader too large

2013-01-23 Thread Daniel Braniss
> > never underestimate the human stupidity (mine in this case) nor of the boot. > > pmbr will load the whole partition, which was 1M, instead of the size of > > gptboot :-( > > > > reducing the size of the slice/partition fixed the issue. > > pmbr doesn't have room to be but so smart. It can't

Re: pmbr: Boot loader too large

2013-01-22 Thread Daniel Braniss
sfer-Encoding: quoted-printable > X-MIME-Autoconverted: from 8bit to quoted-printable by mail.fig.ol.no id > r0MCNtes050242 > > On Tue, 22 Jan 2013 12:24+0100, Trond Endrest=F8l wrote: > > > On Tue, 22 Jan 2013 13:21+0200, Daniel Braniss wrote: > >=20 > > >

Re: solved: pmbr: Boot loader too large

2013-01-22 Thread Daniel Braniss
> hi, > this is the output from gpart show: > => 34 976773101 ada0 GPT (465G) > 34 2048 1 freebsd-boot (1.0M) >20824194304 2 freebsd-ufs [bootme] (2.0G) > 4196386 12582912 3 freebsd-swap (6.0G) >16779298 959993837 4 freebsd-zfs

pmbr: Boot loader too large

2013-01-22 Thread Daniel Braniss
hi, this is the output from gpart show: => 34 976773101 ada0 GPT (465G) 34 2048 1 freebsd-boot (1.0M) 20824194304 2 freebsd-ufs [bootme] (2.0G) 4196386 12582912 3 freebsd-swap (6.0G) 16779298 959993837 4 freebsd-zfs (457G) =>

Re: off topic but no idea where to ask

2013-01-17 Thread Daniel Braniss
> >> from first local disk at 0x07c00 and booting as with normal hard drive. > >> > > instead of pxeboot, try giving /boot/boot0 > > works, except of delay. > > fixed from sources for 1s delay :) may the source be with you :-) btw, the above works for MBR, if you use GPT then you should use pmbr

Re: off topic but no idea where to ask

2013-01-16 Thread Daniel Braniss
> does anyone know a PXE image (just like /boot/pxeboot) that can be placed > on tftp server and the only thing it will do would be loading first sector > from first local disk at 0x07c00 and booting as with normal hard drive. > instead of pxeboot, try giving /boot/boot0 > what i need is to be

pxeboot slowness when run in vmware

2012-10-30 Thread Daniel Braniss
hi, as soon as I 'initialize' a virtual disk via gpart, even if nothing is mounted, the pxeboot adds around 60s delay to show the boot menu, - I don't know if the delay is in boot or pxeboot. if I destroy the geom, the the boot menu appears inmediately. any insight? danny __

Re: problem cross-compiling 9.1

2012-10-09 Thread Daniel Braniss
[snip] > any fix? > > You have found the fix. Remove the WITHOUT_ options from the build > > that keep it from completing. You'll be able to add them at installworld > > time w/o a hassle. nanobsd uses this to keep things down, while still > > being able to build the system. > > Warner >

problem cross-compiling 9.1

2012-10-03 Thread Daniel Braniss
reposting to hackers, maybe better luck here? When using an amd64 host to 'make TARGET_ARCH=i386 buildworld' it seems that it's using the wrong cpp, at least when building ioctl.c via mkioctl in usr.bin/ktrace and having set WITHOUT_CPP(*). This used to work with previous releases. ... ===> usr.b

Re: Question on io monitoring tools such as gstat and iostat

2012-08-29 Thread Daniel Braniss
> This is an OpenPGP/MIME signed message (RFC 2440 and 3156) > --enigCDF012FCB4FC78B4732FDA45 > Content-Type: text/plain; charset=ISO-8859-1 > Content-Transfer-Encoding: quoted-printable > > On 8/28/12 3:14 PM, Andy Young wrote: > > I am relatively new to using IO monitoring tools and

Re: GPT boot from 2nd. disk fails

2012-08-16 Thread Daniel Braniss
> On Wednesday, August 15, 2012 4:46:28 am Garrett Cooper wrote: > > On Wed, Aug 15, 2012 at 1:27 AM, Daniel Braniss wrote: > > > hi, > > > this host has to disks: > > > sa0> gpart show > > > => 34 976773101 ada0 GPT (465G) >

GPT boot from 2nd. disk fails

2012-08-15 Thread Daniel Braniss
hi, this host has to disks: sa0> gpart show => 34 976773101 ada0 GPT (465G) 34128 1 freebsd-boot (64k) 1624194304 2 freebsd-ufs (2.0G) 4194466 33554432 3 freebsd-swap (16G) 37748898 939024237 4 freebsd-zfs (447G) => 34

9.1-PRERELEASE and entering kdb weirdness

2012-08-03 Thread Daniel Braniss
Hi, with 8,x an previous, I compile kernel with options KDB options DDB options ALT_BREAK_TO_DEBUGGER and so hitting control+alt+escape would enter the debugger on the console, or CR ~ ^b on the serial console. the same config on 9.1, only if

Re: pxe + nfs + microsoft dhcp

2012-05-29 Thread Daniel Braniss
> > --=-etjkwQYOTmf8U9KY0eW8 > Content-Type: text/plain; charset="us-ascii" > Content-Transfer-Encoding: 7bit > > > > pacija wrote: > > > > > > - Original Message - > > > > Dear list readers, > > > > > > > > I am having a problem with pxe loader on FreeBSD 9.0 i386 release. No > > > > m

Re: pxe + nfs + microsoft dhcp

2012-05-29 Thread Daniel Braniss
> pacija wrote: > > - Original Message - > > Dear list readers, > > > > I am having a problem with pxe loader on FreeBSD 9.0 i386 release. No > > matter what value I put for DHCP option 017 (Root Path) in Microsoft > > DHCP server, pxe always sets root path: > > pxe_open: server path: / >

Re: USB over IP

2012-05-21 Thread Daniel Braniss
> --047d7b10ce794d5a1004c08b261e > Content-Type: text/plain; charset=ISO-8859-1 > > something similar is being done in the latest versions of qemu. There is a > usb redirection module which is in the form of a client/server architecture > where USB packets are sent over IP. These two modules commu

Re: USB over IP

2012-05-21 Thread Daniel Braniss
> > > Hi, > > On 2012-05-21 12:46, Daniel Braniss wrote: > > I need to control some lab equipment with several usb based controllers > > (mostly serial) and was wondering if it can be done over IP, there is such a > > thing called usbip, but couldn't fin

USB over IP

2012-05-21 Thread Daniel Braniss
I need to control some lab equipment with several usb based controllers (mostly serial) and was wondering if it can be done over IP, there is such a thing called usbip, but couldn't find what 'server' is needed. all the boxes I found are not cheep, but worse, only provide binaries for windows, or l

portmaster and php 5.4/5.3 issues

2012-05-18 Thread Daniel Braniss
hi, doing portmaster -a today wants to upgrade php5.3 to php5.4 which I'm not ready yet, so I dis-installed php5 and installed php53, but now portmaster wants to upgrade the php extentiosn to 5.4 even though php is 5.3.13. what (if any :-), is the magic to convince portmaster to compile t

Re: PCEngines alix.6 with dual SIM

2012-05-09 Thread Daniel Braniss
> On 5/9/2012 10:46 AM, Daniel Braniss wrote: > > Hi, > > after a long time, I finaly got around trying to get the GSM/UMTS working, > > but so far it thinks it's a mass storage! > > > > ugen0.2: at usbus0, cfg=0 md=HOST > > spd=FULL >

PCEngines alix.6 with dual SIM

2012-05-09 Thread Daniel Braniss
Hi, after a long time, I finaly got around trying to get the GSM/UMTS working, but so far it thinks it's a mass storage! ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0110 bDeviceClass = 0x bDeviceSubClass = 0x0

Re: time stops in vmware

2012-04-10 Thread Daniel Braniss
> On Sun, 08 Apr 2012 02:11:25 -0500, Daniel Braniss > wrote: > > > Hi All > > There was some mention before that time stops under vmware, and now it's > > happened > > to me :-) > > > > the clock stopped now, the system is responsive, but eg

time stops in vmware

2012-04-08 Thread Daniel Braniss
Hi All There was some mention before that time stops under vmware, and now it's happened to me :-) the clock stopped now, the system is responsive, but eg sleep 1 never finishes. Is there a solution? btw, I'm running 8.2-stable, i'll try 8.3 soon. danny

mini pci express - 3g modem

2011-09-02 Thread Daniel Braniss
Hi, Just saw that PCEngines has a new board, with SIM socket, but to get it working, it needs a mimi pci express modem, and from http://www.pcengines.ch/alix6e1.htm 'On Alix, only USB 2.0 connectivity is supported' ... does this means the modem appears as a usb device? cheers, d

Re: root on zfs almost working for me but ...

2011-08-09 Thread Daniel Braniss
> --20cf300fb4297a2a2904aa0f78ba > Content-Type: text/plain; charset=ISO-8859-1 > > On 8 August 2011 11:30, Daniel Braniss wrote: > > > > On 8/8/11 5:33 AM, Daniel Braniss wrote: > > > >> According to Daniel Braniss: > > > >>> Trying

Re: root on zfs almot working for me but ...

2011-08-08 Thread Daniel Braniss
> on 08/08/2011 09:56 Daniel Braniss said the following: > > Hi, > > I managed to get boot to load the kernel, but the kernel can't find > > the root: > > ... > > Trying to mount root from zfs:z/root > > ROOT MOUNT ERROR: > > If you hav

Re: root on zfs almost working for me but ...

2011-08-08 Thread Daniel Braniss
> On 8/8/11 5:33 AM, Daniel Braniss wrote: > >> According to Daniel Braniss: > >>> Trying to mount root from zfs:z/root > >>> ROOT MOUNT ERROR: > >>> If you have invalid mount options, reboot, and first try the following > >>> from

Re: root on zfs almost working for me but ...

2011-08-08 Thread Daniel Braniss
> According to Daniel Braniss: > > Trying to mount root from zfs:z/root > > ROOT MOUNT ERROR: > > If you have invalid mount options, reboot, and first try the following from > > the loader prompt: > > Have you set the "bootfs" property (see http://ww

root on zfs almot working for me but ...

2011-08-08 Thread Daniel Braniss
Hi, I managed to get boot to load the kernel, but the kernel can't find the root: ... Trying to mount root from zfs:z/root ROOT MOUNT ERROR: If you have invalid mount options, reboot, and first try the following from the loader prompt: set vfs.root.mountfrom.options=rw and then remo

matlab on Linux, any success stories?

2011-08-03 Thread Daniel Braniss
Im trying to install matlab R2010B-Mac-Linux under freebsd-8.2-STABLE, having installed linux_base-f10-10_4 but keep getting: rnd# /compat/linux/bin/sh ./install Preparing installation files ... Exception in thread "main" java.lang.UnsatisfiedLinkError: /dist/local/amd64.FreeBSD_8.2-wip/compat/l

Re: broadcast oddity

2011-07-20 Thread Daniel Braniss
> Tue, Jul 19, 2011 at 10:40:11AM +0300, Daniel Braniss wrote: > > > And that non-broadcast ethernet address is the MAC of your > > > default router? > > yes. with dest_addr = INADDR_BROADCAST on the non diskless: 09:44:29.850576 00:0d:b9:00:72:a8 (oui Unknown) > 0

Re: broadcast oddity

2011-07-19 Thread Daniel Braniss
Hi Eygene, > Daniel, good day. > > Mon, Jul 18, 2011 at 05:04:27PM +0300, Daniel Braniss wrote: > > this code behaves correctly when run from a diskless host which > > booted via PXE, but fails on a host that was booted from disk. > > hint: the non working sends a

broadcast oddity

2011-07-18 Thread Daniel Braniss
this code behaves correctly when run from a diskless host which booted via PXE, but fails on a host that was booted from disk. hint: the non working sends a packet with a non ethernet broadcast address and an ip address of 255.255.255.255, the working version sets the ethernet address to 0x

Re: Testing a change to printf(9)

2011-06-08 Thread Daniel Braniss
> On 6/7/11 6:33 PM, Dieter BSD wrote: > >>> I've been working on fixing problems with printf(9), log(9) and > >>> related functions. Today I tried converting printf(9) to write > >>> to the log rather than directly to the console, unless the log is > >>> not open, in which case the message is also

Re: who is in swap?

2011-05-21 Thread Daniel Braniss
> On 5/20/11 5:32 AM, Bill Moran wrote: > > In response to Daniel Braniss: > > > no, Who's on 3rd > what's on 2nd! btw, there was something similar using unix commands ... ___ freebsd-hackers@freebsd.org mailing list h

who is in swap?

2011-05-20 Thread Daniel Braniss
Hi, We have a host, providing mainly http/postgres service, and its swap usage is increasing. Is there any way to check which process is using swap space? some facts it's running 8.2-stable/amd64 has 24gb of memory zfs seems to be ok, arc size too. top says 32G in use, while vmstat avm is

Re: Add SUM sysctl

2011-04-17 Thread Daniel Braniss
> > --Kj7319i9nmIyA2yE > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > On Sat, Apr 16, 2011 at 04:46:53PM -0600, Warren Block wrote: > >On Sat, 16 Apr 2011, dieter...@engineer.com wrote: > > > >>Suggestion 2: The kernel

mountd stuck in ZFS code. (fwd)

2011-03-31 Thread Daniel Braniss
re-posting here to see if I'm more successful: --- Begin Message --- I have been running the experimental nfs/mount for some time now, and it mostly works, except with this particular case, where the mountd just gets stuck: mountd 11762 [dp->dp_config_rwlock] 8.93r 0.00u 0.00s 0% 1320k and st

harmless zfs warnings?

2011-02-03 Thread Daniel Braniss
I asked this on stable, and since there were no takers, trying my luck here. I see these messages: ZFS WARNING: Unable to attach to gpt/r0/swap. ZFS WARNING: Unable to attach to mfid0p3. I have 2 'disks' /dev/label/r0 and /dev/label/r5, the r0 is gparted such: =>34 1952448445 mfid0 GPT

Re: gpart/gstripe problems?

2011-01-18 Thread Daniel Braniss
> On 18.1.2011 16:48, Daniel Braniss wrote: > > I have: > > sf-03> gpart show > > => 34 976773101 ada0 GPT (466G) > > 34128 1 freebsd-boot (64K) > > 1624194304 2 freebsd-ufs (2.0G) > >

Re: NFS: file too large

2011-01-18 Thread Daniel Braniss
> :Well, since a server specifies the maximum file size it can > :handle, it seems good form to check for that in the client. > :(Although I'd agree that a server shouldn't crash if a read/write > : that goes beyond that limit.) > : > :Also, as Matt notes, off_t is signed. As such, it looks to me l

gpart/gstripe problems?

2011-01-18 Thread Daniel Braniss
I have: sf-03> gpart show => 34 976773101 ada0 GPT (466G) 34128 1 freebsd-boot (64K) 1624194304 2 freebsd-ufs (2.0G) 4194466 100663296 3 freebsd-swap (48G) 104857762 871915373 4 freebsd (416G) => 34 976773101 ada1 GPT

Re: more gpart/glabel problems

2011-01-14 Thread Daniel Braniss
> This is an OpenPGP/MIME signed message (RFC 2440 and 3156) > --enig796DC9FCBCDF02E77B675B44 > Content-Type: text/plain; charset=KOI8-R > Content-Transfer-Encoding: quoted-printable > > On 14.01.2011 14:33, Daniel Braniss wrote: > >> On 14.01.2011

Re: more gpart/glabel problems

2011-01-14 Thread Daniel Braniss
> On 14.01.2011 13:37, Daniel Braniss wrote: > > and on the console: > > GEOM: mfid0: the secondary GPT table is corrupt or invalid. > > GEOM: mfid0: using the primary only -- recovery suggested. > > GEOM: mfid0: the secondary GPT table is corrupt or invalid.

more gpart/glabel problems

2011-01-14 Thread Daniel Braniss
the provider in this case is mfid0 mfi0: mfid0: on mfi0 mfid0: 953344MB (1952448512 sectors) RAID volume 'r0' is optimal so I first use gpart: gpart create -s GPT mfid0 gpart bootcode -b /boot/pmbr mfid0 gpart add -s2G -t freebsd-ufs mfid0 so far,

Re: NFS: file too large

2011-01-14 Thread Daniel Braniss
> :Try editting line #1226 of sys/nfsclient/nfs_vfsops.c, where > :it sets nm_maxfilesize = (u_int64_t)0x8000 * DEV_BSIZE - 1; and make it > :something larger. > : > :I have no idea why the limit is set that way? (I'm guessing it was the > :limit for UFS.) Hopefully not some weird buffer cache

Re: NFS: file too large

2011-01-13 Thread Daniel Braniss
> > I'm getting 'File too large' when copying via NFS(v3, tcp/udp) a file > > that is larger than 1T. The server is ZFS which has no problem with > > large > > files. > > > > Is this fixable? > > > As I understand it, there is no FreeBSD VFSop that returns the maximum > file size supported. As su

NFS: file too large

2011-01-12 Thread Daniel Braniss
I'm getting 'File too large' when copying via NFS(v3, tcp/udp) a file that is larger than 1T. The server is ZFS which has no problem with large files. Is this fixable? Cheers, danny ___ freebsd-hackers@freebsd.org mailing list http://lists.fr

Re: sys/boot/boot0/boot0.S - r186598

2011-01-10 Thread Daniel Braniss
> This is an OpenPGP/MIME signed message (RFC 2440 and 3156) > --enig0AE178BF2380C8CAA3249E0C > Content-Type: text/plain; charset=ISO-8859-1 > Content-Transfer-Encoding: quoted-printable > > On 09/01/2011 04:38, Daniel Braniss wrote: > >> There was a pos

Re: sys/boot/boot0/boot0.S - r186598

2011-01-09 Thread Daniel Braniss
> This is an OpenPGP/MIME signed message (RFC 2440 and 3156) > --enig51B4786EC9D39188BAE04052 > Content-Type: multipart/mixed; boundary="070003060308030201090207" > > This is a multi-part message in MIME format. > --070003060308030201090207 > Content-Type: text/

Re: sysrc -- a sysctl(8)-like utility for managing /etc/rc.conf et. al.

2010-10-10 Thread Daniel Braniss
> On 10/9/10 7:30 PM, Garrett Cooper wrote: > > > >> [ "..." ] is the same thing as [ -n "..." ] or test -n "..." > >> [ ! "..." ] is the same things as [ -z "..." ] or test -z "..." > >> I'll never understand why people have to throw an extra letter in there and > >> then compare it to that lett

Re: /etc/rc.d/mountcritremote

2010-08-31 Thread Daniel Braniss
> On Tue, 2010-08-31 at 10:45 -0700, Dirk-WIllem van Gulik wrote: > > On 31 Aug 2010, at 17:16, Sean Bruno wrote: > > > > > An issue in testing came up where we were trying to mount NFS > > > directories from the same server, i.e. a machine trying to mount an NFS > > > dir on itself. > > > > > >

hg convert stopped working

2010-06-25 Thread Daniel Braniss
Hi, probably wrong place to ask, but I great minds lurk here :-) I have been mirroing FreeBSD via svn since last summer, svnsync sync file:///cs/svn/freebsd/base then converting to mercurial hg convert ... file:///cs/svn/freebsd/base ${HG_HOME}/bsd/stable/8 ... since I can better t

Re: FreeBSD kernel doesn't boot on FUJITSU PRIMERGY RX200 S5 server

2010-04-21 Thread Daniel Braniss
> On 21.04.2010 10:01, pluknet wrote: > > Hmm.. That's strange to hear. > > We have in production a number of x3650m2: 7.2-R, 7.3-R (all amd64). > > All runs flawlessly. > > I'll try to boot it from head today if that matters. > > It was about 1.5 hour ago when i entered "autoboot" in loader pro

NFS/UDP and vfs.nfs.nfs_ip_paranoia=0 does not help

2010-02-13 Thread Daniel Braniss
Hi, While trying to find out why our NSF/ZFS servers now hangs about once a week, I got hold of a similiar box, and got a bit more ambitious, I connected it via 2 NICs, to complicate things a bit, the server boots via pxeboot (ie, is datatless). After fiddling with the default gateway, addi

memory growth by reboot?

2009-12-24 Thread Daniel Braniss
hi, we are evaluating a Sun X2270, with 24 GB of memory. initial boot shows: Aug 19 09:07:51 x2270.cs.huji.ac.il kernel: real memory = 15032385536 (14336 MB) (the date is wrong, but it auto-fixed via ntpdate later) next reboots: Dec 23 20:24:33 x2270.cs.huji.ac.il kernel: real memory = 17179869