Re: Using Serial Port Other Than sio0 for the Console

2009-02-03 Thread Martin Schweizer
Hello Tim 

I did what in the handbook under article 26.6.5.2. is described but not shure 
how I can write a new boot block to the disk. Here is what I think is correct:

Output from df and bsdlabel mfid0s1:
# df -h
Filesystem   SizeUsed   Avail Capacity  Mounted on
/dev/mfid0s1a989M378M532M42%/
devfs1.0K1.0K  0B   100%/dev
/dev/mfid0s1d989M 16K910M 0%/tmp
/dev/mfid0s1f388G2.6G354G 1%/usr
/dev/mfid0s1e182G 43M167G 0%/var

# /dev/mfid0s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  209715204.2BSD 2048 16384 28528 
  b:  8388608  2097152  swap
  c: 12460816620unused0 0 # "raw" part, don't 
edit
  d:  2097152 104857604.2BSD 2048 16384 28528 
  e: 394264576 125829124.2BSD 2048 16384 28528 
  f: 839234174 4068474884.2BSD 2048 16384 28528 

My opinion is:
bsdlabel -B mfid0s1

Is that correct?

Regards,
 

Am Sun, Feb 01, 2009 at 05:03:12PM +0100 Martin Schweizer schrieb:
> Probably I find the problem. I did not read care enough the article 26.6.5.2. 
> I will try it asap (in the next few days). I will keep you updated.
> 
> Am Sat, Jan 31, 2009 at 12:09:28PM -0700 Tim Judd schrieb:
> > On Fri, Jan 30, 2009 at 10:28 AM, Martin Schweizer  > > wrote:
> > >
> > > I want to use sio1 for console access. I read chapter 26.6 in the handbook
> > > and did the following:
> > >
> > > /boot.config:
> > > -P
> > >
> > > /boot/device.hints:
> > > [snip]
> > > hint.sio.0.at="isa"
> > > hint.sio.0.port="0x3F8"
> > > ### hint.sio.0.flags="0x10"
> > > hint.sio.0.irq="4"
> > > hint.sio.1.at="isa"
> > > hint.sio.1.port="0x2F8"
> > > hint.sio.1.flags="0x10"
> > > hint.sio.1.irq="3"
> > > [snip]
> > >
> > > My custom kernel:
> > > [snip]
> > > device sio
> > > [snip]
> > >
> > > /var/run/dmesg.boot:
> > > [snip]
> > > sio0: configured irq 4 not in bitmap of probed irqs 0
> > > sio0: port may not be enabled
> > > sio0: configured irq 4 not in bitmap of probed irqs 0
> > > sio0: port may not be enabled
> > > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 on acpi0
> > > sio0: type 16550A
> > > sio0: [FILTER]
> > > sio1: configured irq 3 not in bitmap of probed irqs 0
> > > sio1: port may not be enabled
> > > sio1: configured irq 3 not in bitmap of probed irqs 0
> > > sio1: port may not be enabled
> > > sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on
> > > acpi0
> > > sio1: type 16550A, console
> > > sio1: [FILTER]
> > > [snip]
> > >
> > > /etc/ttys:
> > > [snip]
> > > ttyd0   "/usr/libexec/getty std.9600"   vt100   on  secure
> > > ttyd1   "/usr/libexec/getty std.9600"   vt100   on  secure
> > > ttyd2   "/usr/libexec/getty std.9600"   vt100   on  secure
> > > ttyd3   "/usr/libexec/getty std.9600"   vt100   on  secure
> > > [snip]
> > >
> > > The baud rate etc. are correct as well (the standard settings).
> > >
> > > The problem is I get no connection. I'm sure that my terminal works 
> > > correct
> > > because I can connect other FreeBSD sever over the serial cable but not 
> > > the
> > > above.
> > > Any ideas?
> > >
> > > Kind regards,
> > >
> > > --
> > >
> > > Martin Schweizer
> > > 
> > >
> > > PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
> > > Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
> > > public key : http://www.pc-service.ch/pgp/public_key.asc;
> > > fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;
> > >
> > 
> > Surprised nobody's really responded.
> > 
> > Enabling serial logins on ttyd1 (COM2 in Microsoft terms) is on -- it's
> > defined in your ttys.  The guaranteed "enabling" is to restart, but I've
> > heard that sigHUP init will reread ttys and enable logins (but I hadn't got
> > that to work yet).
> > 
> > Enabling serial as your console output (in terms of the boot process and
> > everything) should be, if available, enabled in /boot/loader.conf
> > 
> > There doesn't seem to be a setting to enable COM2 as your console device,
> > the only options (by reading through /boot/defaults/loader.conf) is to
> > enable comconsole, which runs over COM1
> > 
> > You would likely have to hack the bootloader files in source and reinstall
> > to get that kind of functionality.
> > 
> > 
> > Does this help?  let me know if you want more help.  I like enabling serial
> > console for the fact that you can get into out-of-bounds management this way
> > easily.
> > 
> > --Tim
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
> 
> -- 
> 
> Martin Schweizer
> 
> 
> PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
> Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
> public 

Re: Screen problem on booting

2009-02-03 Thread Fernando Apesteguía
On 2/3/09, Chris Whitehouse  wrote:
> Fernando Apesteguía wrote:
> > On 2/2/09, Chris Whitehouse  wrote:
> >
> > > Fernando Apesteguía wrote:
> > >
> > > > Hi all,
> > > >
> > > > I'm using FreeBSD 7.1-RELEASE-p2
> > > >
> > > > Since a few days I've noticed something weird. On booting, all the
> > > > text I see is shifted to the left, so I lose the first ten letters or
> > > > so in every line of text.
> > > >
> > > > After login, once I type "startx" the X Window system seems to be OK
> > > > _and_ if I go back to a console with Alt-Ctrl-Fn the console is fine
> > > > again.
> > > >
> > > > My graphic card is an ATI Radeon HD2400.
> > > >
> > > > Anybody noticed it?
> > > >
> > > > Thanks in advance.
> > > >
> > > > PS: In console mode, reset command doesn't fix the problem.
> > > > ___
> > > > freebsd-questions@freebsd.org mailing list
> > > >
> > > >
> > >
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > >
> > > > To unsubscribe, send any mail to
> > > >
> > > "freebsd-questions-unsubscr...@freebsd.org"
> > >
> > > >
> > > >
> > > Adjust the horizontal position with the controls on the monitor while
> > > booting? My LCD flat panel has an auto adjust button which does the same
> > > thing.
> > >
> >
> > Yep, but the point is that it worked fine some time ago (probably with
> > -p1, though I'm not sure). And as I said after using X, if I go back
> > again to console mode, monitor settings are correct. Doesn't this
> > means there is some kind of problem with video at start up?
> > None of my other operating systems in that machine suffer this problem.
> >
> > Thanks
> >
> .
> I thought maybe it was a problem that occurred with whatever graphics driver
> is loaded on boot and that it goes away once the ATI driver is loaded but
> maybe not. I just tested mine by using the screen controls to set the screen
> over to one side while booting. Once X starts and the nvidia driver loads
> the screen position is fine, however going to a console (ctrl-alt-Fn) the
> screen is still displaced unlike yours. Sorry if that suggestion doesn't fix
> it.

Yes, I think that first video driver can be the problem... I will test
a bit more and then I will probably file a PR.

Thanks again.

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


Changing network devices looses internet traffic

2009-02-03 Thread Warren Liddell
Im running FreeBSD 7.1-STABLE an due to my old modem//router being on 
its way out to the graveyard in worakability, i have had to swap over to 
another, but having to use a USB connection instead of my onboard 
network card.  Problem i have is telling my machine to stop looking for 
traffic on re0 an start looking for it on cdce0 .. but i can tseem ot 
find out how to go about that.  All settings are the same in terms of 
gateway IP etc on the newer modem/router as the old one.


What am i missing to let the traffic flow through ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Image size manipulation

2009-02-03 Thread Doug Hardie


On Feb 3, 2009, at 22:16, Manolis Kiagias wrote:


Doug Hardie wrote:

I am looking for a port that would take an image file (preferably and
image format) and convert it to JPEG at a specified pixel size.  I
couldn't find anything in the ports that appears to provide this
capability.  If needed I would settle for requiring JPEG input  
format.


You are looking for graphics/ImageMagick. This provides a 'convert'
command that does lots of image file manipulations.



Thanks.  Don't know how I managed to miss it before.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Image size manipulation

2009-02-03 Thread Manolis Kiagias
Doug Hardie wrote:
> I am looking for a port that would take an image file (preferably and
> image format) and convert it to JPEG at a specified pixel size.  I
> couldn't find anything in the ports that appears to provide this
> capability.  If needed I would settle for requiring JPEG input format.

You are looking for graphics/ImageMagick. This provides a 'convert'
command that does lots of image file manipulations.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Image size manipulation

2009-02-03 Thread Doug Hardie
I am looking for a port that would take an image file (preferably and  
image format) and convert it to JPEG at a specified pixel size.  I  
couldn't find anything in the ports that appears to provide this  
capability.  If needed I would settle for requiring JPEG input format.

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


CMake error compiling kdepimlibs4

2009-02-03 Thread Warren Liddell

I have been trying to compile KDE4.2 on AMD64 7.1-STABLE machine, but
atm this is 1 of the errors thats stopping it from working.





CMake Error at CMakeLists.txt:128 (macro_write_basic_cmake_version_file):
 Unknown CMake command "macro_write_basic_cmake_version_file".


-- Configuring incomplete, errors occurred!
*** Error code 1

Stop in /usr/ports/deskutils/kdepimlibs4.
*** Error code 1

Stop in /usr/ports/devel/kdesdk4.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade.64941.3 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=kdesdk-4.1.4 UPGRADE_PORT_VER=4.1.4 make
DEPENDS_TARGET=package 




** Fix the problem and try again.

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


Re: Control IRQ assignment?

2009-02-03 Thread Dan Nelson

In the last episode (Feb 03), patrick said:
> On Tue, Jan 27, 2009 at 2:34 PM, Dan Nelson  wrote:
> > In the last episode (Jan 27), patrick said:
> >> I'm running FreeBSD 7.1 on a new Dell Inspiron 530s. I'm having an
> >> issue where the same IRQ is being assigned for multiple devices, and I
> >> have a device that absolutely needs its own IRQ.  The BIOS is very
> >> limiting, and won't allow me to disable shared IRQ assignment.  Some
> >> suggestions I've read about booting FreeBSD with ACPI hasn't been an
> >> option, because without it enabled, FreeBSD does not see the SATA
> >> controllers/disks, and thus won't boot.  Linux has a utility called
> >> irqbalance (http://www.irqbalance.org/) that seems like it could be
> >> promising, but of course it is Linux-specific.  Is there any way in
> >> FreeBSD that I can help the system decide which IRQs to assign to what?
> >
> > irqbalance doesn't do what you think it does; it simply pins interrupt
> > handlers on particular CPUs.  The only way to ensure that a given device
> > has an IRQ line to itself is to look at your motherboard documentation,
> > determine which IRQs are wired to which PCI slots, and rearrange your
> > cards to assign your troublesome device an IRQ of its own.  Some
> > motherboards let you assign onboard devices (NICs, parallel port, etc)
> > to different interrupts, too.

> Hmmm... This Dell motherboard is extremely limited in what can be
> controlled. There are seven USB controllers, and no way I can see to
> disable some of them. I wonder if there's some way I can take some
> blocks out of ACPI code captured from acpidump in order to have it not
> load/be aware of some of those USB controllers that are unneeded and
> using an IRQ I need for a voice card I want to use with Asterisk?

You should be able to add some hints to your /boot/loader.conf to tell the
kernel not to use those USB controllers.  Something like

hint.uhci.0.disabled=1
hint.ehci.0.disabled=1

repeated for whatever other devices get probed on that IRQ.

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Graphics tablet / Xorg / mouse problems

2009-02-03 Thread Antonio Rieser
Hi,

Thanks a million for your help.  Many thanks to Bartosz, too!  Just to
be sure I understood how to deactivate hald, I ran (as root) the
command

chmod -x /usr/local/etc/rc.d/hald

which should prevent it from running in the future, then, for this session

pkill hald

That should do it, right?

Also, I reported earlier that everything seems to be normal if I boot
with the tablet plugged in, but that's not always true.  I now think
that if I log in and out enough I get the same error messages.

I have enclosed my Device Section of /etc/X11/Xorg.conf below.

All the best,

  Tony

-

Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel"   # []
#Option "SWcursor"  # []
#Option "ColorKey"  # 
#Option "CacheLines"# 
#Option "Dac6Bit"   # []
#Option "DRI"   # []
#Option "NoDDC" # []
#Option "ShowCache" # []
#Option "XvMCSurfaces"  # 
#Option "PageFlip"  # []
Identifier  "Card0"
Driver  "intel"
VendorName  "Intel Corporation"
BoardName   "82852/855GM Integrated Graphics Device"
BusID   "PCI:0:2:0"
Option  "Accel" "On"
EndSection


On Mon, Feb 2, 2009 at 4:36 AM, Dominic Fandrey  wrote:
> Antonio Rieser wrote:
>> Hi,
>>
>> I recently installed FreeBSD 7.1 on an ACER Aspire
>> 1680 laptop. I'm running KDE 3.5 and the most recent Xorg port with a
>> Wacom Bamboo tablet and the wacom driver from the ports collection.  I
>> have the following problems with the tablet and mouse: ...
>
> Just to keep you up to date, Bartosz is on it. Of course, I cannot give
> you a schedule. With the involvement of hald things seem to get much
> more complicated. It might be a temporary solution to deactivate
> hald support.
>
> Regards
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


nomachine on Freebsd 7.0-release 64-bit & in a jail

2009-02-03 Thread Mark C. Ballew
It appears that the both the FreeNX port and the binary nomachine nxserver
ports are both broken and fail to compile. I'm still trying to get
nxserver 3 "free forever" edition to work. So far I've made some mods to
it's install scripts but I'm bumping up against a strange licensing error
(there is no license for the free edition).

Before I bang my head on this much longer, has anyone else gotten
Nomachine's version 3 server working on FreeBSD 7? How about in a jail?

How does one mount linprocfs in a jail?

Mark

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


Re: intel 64-bit version?

2009-02-03 Thread Toni Schmidbauer
At Mon, 2 Feb 2009 15:40:16 +0100,
Andreas Rudisch wrote:
> You can use 7.1-RELEASE-i386 (32bit) or 7.1-RELEASE-amd64 (64bit)
> depending on whether or not you are going to run 64 bit software or
> want to use more than 4GB of RAM.

i would also recommend to use fbsd amd64 if you plan to use zfs. even 
if you do not have more than 4gb of memory installed in your system.

see

http://wiki.freebsd.org/ZFSTuningGuide

hth,
toni
-- 
Don't forget, there is no security | toni at stderror dot at 
-- Wulfgar | Toni Schmidbauer
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Screen problem on booting

2009-02-03 Thread Chris Whitehouse

Fernando Apesteguía wrote:

On 2/2/09, Chris Whitehouse  wrote:

Fernando Apesteguía wrote:

Hi all,

I'm using FreeBSD 7.1-RELEASE-p2

Since a few days I've noticed something weird. On booting, all the
text I see is shifted to the left, so I lose the first ten letters or
so in every line of text.

After login, once I type "startx" the X Window system seems to be OK
_and_ if I go back to a console with Alt-Ctrl-Fn the console is fine
again.

My graphic card is an ATI Radeon HD2400.

Anybody noticed it?

Thanks in advance.

PS: In console mode, reset command doesn't fix the problem.
___
freebsd-questions@freebsd.org mailing list


http://lists.freebsd.org/mailman/listinfo/freebsd-questions

To unsubscribe, send any mail to

"freebsd-questions-unsubscr...@freebsd.org"



Adjust the horizontal position with the controls on the monitor while
booting? My LCD flat panel has an auto adjust button which does the same
thing.


Yep, but the point is that it worked fine some time ago (probably with
-p1, though I'm not sure). And as I said after using X, if I go back
again to console mode, monitor settings are correct. Doesn't this
means there is some kind of problem with video at start up?
None of my other operating systems in that machine suffer this problem.

Thanks

.
I thought maybe it was a problem that occurred with whatever graphics 
driver is loaded on boot and that it goes away once the ATI driver is 
loaded but maybe not. I just tested mine by using the screen controls to 
set the screen over to one side while booting. Once X starts and the 
nvidia driver loads the screen position is fine, however going to a 
console (ctrl-alt-Fn) the screen is still displaced unlike yours. Sorry 
if that suggestion doesn't fix it.


Chris

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


Re: NFS, how to find out which files are used

2009-02-03 Thread Freminlins
2009/2/3 Dan Nelson 

> In the last episode (Feb 03), Sandra Kachelmann said:
> > I have an NFS fileserver and would like to figure out which files are
> > being read/written to. Is there something to find that out? Something
> > similar to samba's 'smbstatus' command.
>
> The best you can do currently is run tcpdump/wireshark and watch the remote
> file operations as they happen...  NFS doesn't access files by filename,
> but
> by NFS filehandle (basically device+inode number), so a remote client first
> looks up the filename to get the filehandle, and all accesses are done via
> the filehandle at that point.  Theoretically, one could write a dtrace
> script that watches calls to nfs_namei, nfsrv_read, and nfsrv_write, and
> then matches read/write ops with the filenames that were looked up
> beforehand.

Solaris NFS has a logging option, which does exactly what Sandra is asking
for. It's al reason why I prefer to use Solaris for NFS servers.
F.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: policykit fails to build on 7.1-stable i386

2009-02-03 Thread David Kelly
On Tue, Feb 03, 2009 at 09:41:19PM +, Anton Shterenlikht wrote:
> On Tue, Feb 03, 2009 at 02:48:24PM -0600, David Kelly wrote:
> > 
> > I think "portupgrade -f p5-XML-Parser" got me over the hurdle. There
> > was a file missing altho the port was installed. Forced it to build
> > and reinstall and things were able to build once again.
> 
> Actually, there's something else going on. I can build policykit on
> FBSD alpha 6.4-stable fine, but it fails on 8.0-current. I tried
> repeating download many times, it always goes fine on 6.4 but always
> fails on 8.0, of which I deduce that overloaded sourceforge is not to
> blame.

FYI: I'm still on 7.0-STABLE. Have/had KDE 4.1.1 and am now well on my
way to 4.1.4.

-- 
David Kelly N4HHE, dke...@hiwaay.net

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: NFSv2 Wrong FS Size

2009-02-03 Thread John Morgan Salomon
I was starting to suspect that it might be something along these  
lines.  NFSv3 hasn't been possible so far because the Terastation  
hacked firmware on this particular platform (TS Pro v1) doesn't seem  
to play nice with kernel-level nfs (userland nfs only has packages for  
v2, and I've been too intimidated to approach the idea of rolling my  
own so far.)


This explains a lot -- I thought maybe it might be the result of me  
running normal 32-bit i386 release on a 64-bit CPU.  I will see if I  
can get NFS3 working.


(I guess MacOS X/Mach/BSDI treat the size value as unsigned...)

-John

On 3 Feb 2009, at 22:53, Dan Nelson wrote:



In the last episode (Feb 03), John Morgan Salomon said:

On 3 Feb 2009, at 19:21, John Morgan Salomon wrote:

Hi there,

I'm facing an odd problem with an NFSv2 mount.  I'm using userland
nfsd from a Buffalo TeraStation Pro v1 NAS, running PPC Linux  
2.4.20.


r...@leviathan:~# uname -a
Linux LEVIATHAN 2.4.20_mvl31-ppc_terastation #3 Tue Jul 18  
09:29:11 JST 2006 ppc GNU/Linux


I am sharing the following filesystem:

r...@leviathan:~# df -k
Filesystem   1K-blocks  Used Available Use% Mounted on

/dev/md1 1755708928 979032844 776676084  56% /mnt/array1

Mounting this on a FreeBSD 7.1 client:

behemoth# mount /data
behemoth# df -k
Filesystem1024-blocksUsed Avail
Capacity  Mounted on

192.168.2.11:/mnt/array1/data  -391774720 -1168450804 776676084


I did more digging and found this:

http://www.freebsd.org/projects/bigdisk/index.html

"An audit is needed to make sure that all reported fields are 64-bit
clean. There are reports with certain fields being incorrect or
negative with NFS volumes, which could either be an NFS or df  
problem."


Not sure where to go now, as the last entry in that project is dated
2005 -- again, any tips welcome.


The real problem is that NFSv2 only provides a 32-bit field for  
filesystem
size, and multiplies that by the reported blocksize.  Most NFS  
servers claim
512-byte blocks no matter what the underlying filessytem has, so in  
your

case that would result in the filesystem size being reported as
1755708928*1024/512 = 3511417856 blocks.  This number is larger than  
2^31,
which techinically isn't a problem because the NFSv2 spec says that  
the
filesystem size is unsigned.  FreeBSD treats it as signed, though,  
so it can
display "negative" free space when root starts using its 8% reserve,  
so your

unsigned 3511417856 gets printed as a signed -783549440, which messes
everything up.

NFSv3 uses 64-bit fields for those size values, so just mount with  
NFSv3
(which actually is the default on FreeBSD; maybe you have it  
disabled on
your TeraStation for some reason), and you should get correct  
filesystem
stats, as well as better performance and the ability to work with  
files over

2gb.

Alternatively, you could rebuild "df" to print its numbers as unsigned
instead of signed.  Just watch out if your local filesystems start  
eating

into their 8% reserve, since they'll start reporting huge values.

--
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org 
"


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


Re: NFSv2 Wrong FS Size

2009-02-03 Thread Dan Nelson

In the last episode (Feb 03), John Morgan Salomon said:
> On 3 Feb 2009, at 19:21, John Morgan Salomon wrote:
> > Hi there,
> >
> > I'm facing an odd problem with an NFSv2 mount.  I'm using userland  
> > nfsd from a Buffalo TeraStation Pro v1 NAS, running PPC Linux 2.4.20.
> >
> > r...@leviathan:~# uname -a
> > Linux LEVIATHAN 2.4.20_mvl31-ppc_terastation #3 Tue Jul 18 09:29:11 JST 
> > 2006 ppc GNU/Linux
> >
> > I am sharing the following filesystem:
> >
> > r...@leviathan:~# df -k
> > Filesystem   1K-blocks  Used Available Use% Mounted on
> > 
> > /dev/md1 1755708928 979032844 776676084  56% /mnt/array1
> >
> > Mounting this on a FreeBSD 7.1 client:
> >
> > behemoth# mount /data
> > behemoth# df -k
> > Filesystem1024-blocksUsed Avail  
> > Capacity  Mounted on
> > 
> > 192.168.2.11:/mnt/array1/data  -391774720 -1168450804 776676084
> 
> I did more digging and found this:
> 
> http://www.freebsd.org/projects/bigdisk/index.html
> 
> "An audit is needed to make sure that all reported fields are 64-bit  
> clean. There are reports with certain fields being incorrect or  
> negative with NFS volumes, which could either be an NFS or df problem."
> 
> Not sure where to go now, as the last entry in that project is dated  
> 2005 -- again, any tips welcome.

The real problem is that NFSv2 only provides a 32-bit field for filesystem
size, and multiplies that by the reported blocksize.  Most NFS servers claim
512-byte blocks no matter what the underlying filessytem has, so in your
case that would result in the filesystem size being reported as
1755708928*1024/512 = 3511417856 blocks.  This number is larger than 2^31,
which techinically isn't a problem because the NFSv2 spec says that the
filesystem size is unsigned.  FreeBSD treats it as signed, though, so it can
display "negative" free space when root starts using its 8% reserve, so your
unsigned 3511417856 gets printed as a signed -783549440, which messes
everything up.

NFSv3 uses 64-bit fields for those size values, so just mount with NFSv3
(which actually is the default on FreeBSD; maybe you have it disabled on
your TeraStation for some reason), and you should get correct filesystem
stats, as well as better performance and the ability to work with files over
2gb.

Alternatively, you could rebuild "df" to print its numbers as unsigned
instead of signed.  Just watch out if your local filesystems start eating
into their 8% reserve, since they'll start reporting huge values.

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: policykit fails to build on 7.1-stable i386

2009-02-03 Thread Anton Shterenlikht
On Tue, Feb 03, 2009 at 02:48:24PM -0600, David Kelly wrote:
> On Tue, Feb 03, 2009 at 11:21:23AM -0900, Mel wrote:
> > On Tuesday 03 February 2009 07:49:29 Jason Morgan wrote:
> > >
> > > I am having the same problem (I posted a related question to the
> > > list last night). Anything dealing with XML and docbook is failing
> > > to build. I have managed to install a few of the problem ports by
> > > adding the package instead, but when I left the house this morning,
> > > yet another related package had failed.
> > 
> > Do it a few times in a row, the sourceforge servers are overloaded
> > apparently and return false errors.
> > Either that, or familiarize yourself with XML categories, download the
> > file and update the XML cat file to use a local version rather then
> > remote for that particular file.
> 
> Uh, tuning in late here. Also running portupgrade and had problems with
> policy and XML stuff.
> 
> I think "portupgrade -f p5-XML-Parser" got me over the hurdle. There was
> a file missing altho the port was installed. Forced it to build and
> reinstall and things were able to build once again.
> 
> Portupgrade is still building so I can't get at my shell history to
> verify.
> 
> Did something similar for the international library stuff.

Actually, there's something else going on. I can build policykit on FBSD
alpha 6.4-stable fine, but it fails on 8.0-current. I tried repeating
download many times, it always goes fine on 6.4 but always fails on 8.0,
of which I deduce that overloaded sourceforge is not to blame.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: policykit fails to build on 7.1-stable i386

2009-02-03 Thread David Kelly
On Tue, Feb 03, 2009 at 01:36:19PM -0800, Rem P Roberti wrote:
> On 2009.02.03 14:48:24 +, David Kelly wrote:
> > 
> > I think "portupgrade -f p5-XML-Parser" got me over the hurdle. There was
> > a file missing altho the port was installed. Forced it to build and
> > reinstall and things were able to build once again.

[...]

> Deinstall/reinstall p5-XML-Parser

Thats what I said. "portupgrade -f p5-XML-Parser"

-- 
David Kelly N4HHE, dke...@hiwaay.net

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: policykit fails to build on 7.1-stable i386

2009-02-03 Thread Rem P Roberti
On 2009.02.03 14:48:24 +, David Kelly wrote:
> On Tue, Feb 03, 2009 at 11:21:23AM -0900, Mel wrote:
> > On Tuesday 03 February 2009 07:49:29 Jason Morgan wrote:
> > >
> > > I am having the same problem (I posted a related question to the
> > > list last night). Anything dealing with XML and docbook is failing
> > > to build. I have managed to install a few of the problem ports by
> > > adding the package instead, but when I left the house this morning,
> > > yet another related package had failed.
> > 
> > Do it a few times in a row, the sourceforge servers are overloaded
> > apparently and return false errors.
> > Either that, or familiarize yourself with XML categories, download the
> > file and update the XML cat file to use a local version rather then
> > remote for that particular file.
> 
> Uh, tuning in late here. Also running portupgrade and had problems with
> policy and XML stuff.
> 
> I think "portupgrade -f p5-XML-Parser" got me over the hurdle. There was
> a file missing altho the port was installed. Forced it to build and
> reinstall and things were able to build once again.
> 
> Portupgrade is still building so I can't get at my shell history to
> verify.
> 
> Did something similar for the international library stuff.
> 


Deinstall/reinstall p5-XML-Parser
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: policykit fails to build on 7.1-stable i386

2009-02-03 Thread David Kelly
On Tue, Feb 03, 2009 at 11:21:23AM -0900, Mel wrote:
> On Tuesday 03 February 2009 07:49:29 Jason Morgan wrote:
> >
> > I am having the same problem (I posted a related question to the
> > list last night). Anything dealing with XML and docbook is failing
> > to build. I have managed to install a few of the problem ports by
> > adding the package instead, but when I left the house this morning,
> > yet another related package had failed.
> 
> Do it a few times in a row, the sourceforge servers are overloaded
> apparently and return false errors.
> Either that, or familiarize yourself with XML categories, download the
> file and update the XML cat file to use a local version rather then
> remote for that particular file.

Uh, tuning in late here. Also running portupgrade and had problems with
policy and XML stuff.

I think "portupgrade -f p5-XML-Parser" got me over the hurdle. There was
a file missing altho the port was installed. Forced it to build and
reinstall and things were able to build once again.

Portupgrade is still building so I can't get at my shell history to
verify.

Did something similar for the international library stuff.

-- 
David Kelly N4HHE, dke...@hiwaay.net

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Scheduling behavior when using idprio

2009-02-03 Thread Geoff Fritz
I recently noticed something odd.

Whenever I have a cpu-bound process (say, piping a lot of data through
"gzip -9c") that's been given an idle priority using "idprio 31 -", I
notice that my system's overall interactive responsiveness feels peppier.
Apps seems to respond faster, screens redraw faster, web pages render
quicker, etc..

It's reminiscent of enabling the interactive real-time options in the Linux
kernel (at least, as I remember it years ago from the 2.4 days).

My system is a little long in the tooth (2GHz Athlon64, single core), so
any speed improvements are quickly noticed around here.

I was wondering if there was an explanation for my observations, or if
anyone else has seen -- or could repeat -- this.  If this is a
repeatable/known behavior, would this be a scheduler bug?  Why would
things run more smoothly only when there was a single ulta-low priority
process running?

Thanks.

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


Re: NFSv2 Wrong FS Size

2009-02-03 Thread John Morgan Salomon

Hi there,

I may have found a clue on this in case anyone's interested:

the FreeBSD box runs on an Intel Atom 230 64-bit CPU

I did more digging and found this:

http://www.freebsd.org/projects/bigdisk/index.html

"An audit is needed to make sure that all reported fields are 64-bit  
clean. There are reports with certain fields being incorrect or  
negative with NFS volumes, which could either be an NFS or df problem."


Not sure where to go now, as the last entry in that project is dated  
2005 -- again, any tips welcome.


-John

On 3 Feb 2009, at 19:21, John Morgan Salomon wrote:


Hi there,

I'm facing an odd problem with an NFSv2 mount.  I'm using userland  
nfsd from a Buffalo TeraStation Pro v1 NAS, running PPC Linux 2.4.20.


r...@leviathan:~# uname -a
Linux LEVIATHAN 2.4.20_mvl31-ppc_terastation #3 Tue Jul 18 09:29:11  
JST 2006 ppc GNU/Linux


I am sharing the following filesystem:

r...@leviathan:~# df -k
Filesystem   1K-blocks  Used Available Use% Mounted on

/dev/md1 1755708928 979032844 776676084  56% /mnt/array1

/etc/exports looks as follows:
/mnt/array1/data 192.168.2.0/255.255.255.0(rw,sync,insecure)

Mounting this on my Macbook Pro:

Fluffy:~ root# mount_nfs 192.168.2.11:/mnt/array1/data /mnt

Fluffy:~ root# df -k
Filesystem1024-blocks  Used Available  
Capacity  Mounted on


192.168.2.11:/mnt/array1/data  1755708928 979032844 776676084 
56%/mnt


So far, so good...

Mounting this on a FreeBSD 7.1 client:

behemoth# mount /data
behemoth# df -k
Filesystem1024-blocksUsed Avail  
Capacity  Mounted on


192.168.2.11:/mnt/array1/data  -391774720 -1168450804 776676084
298%/data


Here is my fstab:

192.168.2.11:/mnt/array1/data   /data   nfs rw  0   0

Woo.  298%!  That's a record, even for me.

I've tried mount_nfs with -2, -T, and I can't think of anything  
else.  There are no telling log messages, either on the NAS or on  
the FreeBSD box.


behemoth# uname -a
FreeBSD behemoth 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #2: Sat Jan  
31 20:13:15 CET 2009 r...@behemoth:/usr/obj/usr/src/sys/ 
BEHEMOTH  i386


Any ideas?  It's causing various php scripts that need an accurate  
filesystem size to puke all over the place. Help!


Thanks much for any thoughts,

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


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


Re: Force use of 'gpg2'

2009-02-03 Thread Mike Clarke
On Tuesday 03 February 2009, Jerry wrote:

> I have both 'gpg' and 'gpg2' installed. I only want/need the 'gpg2'
> version. I created a link that that forces the use of 'gpg2'
> irregardless of which version is called. The problem is that
> occasionally, when updating the ports, the link is over written and
> 'gpg' is reinstalled.
>
> I don't believe I need this older version for anything. As far as I
> can tell, any port that needs 'gpg' will work fine with 'gpg2'. Is
> there anything I can put in the /etc/make.conf' file that will force
> the use/install of 'gpg2' only?

You could try deinstalling gnupg-1 and running "dpkg -F" to fix the 
dependencies. I've only got gnupg-2 installed here and everything seems 
to work OK. The install script for gnupg-2 creates a symlink for gpg if 
it doesn't already exist.

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


Re: policykit fails to build on 7.1-stable i386

2009-02-03 Thread Mel
On Tuesday 03 February 2009 07:49:29 Jason Morgan wrote:
> On 2009.02.03 10:24:55, Anton Shterenlikht wrote:
> > On Tue, Feb 03, 2009 at 09:57:45AM +, Anton Shterenlikht wrote:
> > > when building ports/sysutils/policykit on FBSD 7.1-stable i386 I get:
> > >
> > > Making all in man
> > > gmake[3]: Entering directory
> > > `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/d oc/man'
> > > /usr/local/bin/xsltproc -nonet
> > > http://docbook.sourceforge.net/release/xsl/curren
> > > t/manpages/docbook.xsl polkit-auth.xml
> > > I/O error : Attempt to load network entity
> > > http://docbook.sourceforge.net/releas
> > > e/xsl/current/manpages/docbook.xsl
> > > warning: failed to load external entity
> > > "http://docbook.sourceforge.net/release/
> > > xsl/current/manpages/docbook.xsl"
> > > cannot parse
> > > http://docbook.sourceforge.net/release/xsl/current/manpages/docbook
> > > .xsl
> > > gmake[3]: *** [polkit-auth.1] Error 4
> > > gmake[3]: Leaving directory
> > > `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/do c/man'
> > > gmake[2]: *** [all-recursive] Error 1
> > > gmake[2]: Leaving directory
> > > `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/do c'
> > > gmake[1]: *** [all-recursive] Error 1
> > > gmake[1]: Leaving directory
> > > `/usr/ports/sysutils/policykit/work/PolicyKit-0.9' gmake: *** [all]
> > > Error 2
> > > *** Error code 2
> > >
> > > Stop in /usr/ports/sysutils/policykit.
> > >
> > >
> > > What shall I do?
> >
> > The file seems to be there, I can get to it with lynx.
>
> I am having the same problem (I posted a related question to the list
> last night). Anything dealing with XML and docbook is failing to
> build. I have managed to install a few of the problem ports by adding
> the package instead, but when I left the house this morning, yet
> another related package had failed.

Do it a few times in a row, the sourceforge servers are overloaded apparently 
and return false errors.
Either that, or familiarize yourself with XML categories, download the file 
and update the XML cat file to use a local version rather then remote for 
that particular file.
See xmlcatmgr(1) for details (textproc/xmlcatmgr).

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Force use of 'gpg2'

2009-02-03 Thread Mel
On Tuesday 03 February 2009 10:28:33 Jerry wrote:
> On Tue, 3 Feb 2009 19:03:01 +
> Chris Rees  wrote:
>
> [snip]
>
> >Try putting the link in somewhere that gets searched before
> >/usr/local/bin, like /bin or (better) /usr/bin. Then try rehash &&
> >which gpg
>
> I am using 'bash' so I don't think 'rehash' is going to do anything,
> although I could be mistaken. However, I don't see how that would stop
> a port from installing 'gpg' rather than 'gpg2'. I don't need both
> versions installed and would rather just keep the newer 'gpg2' one.

It would fit the RUN|BUILD_DEPENDS case, since gpg is looked for in $PATH. 
However, some ports check for gpgv and one even for ${PREFIX}/bin/gpgv, which 
would not help you.

You could run:
cd ${PORTSDIR:="/usr/ports"}
find . -depth 3 -name Makefile -exec fgrep -l security/gnupg1 {} + | xargs \
your_filter_command_here

That filter command would have to rewrite the RUN|BUILD_DEPENDS line, so that 
it fits gnupg2.

Of course you can shorten the list and edit by hand if you only look at the 
ports that you actually use.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Force use of 'gpg2'

2009-02-03 Thread Jerry
On Tue, 3 Feb 2009 19:03:01 +
Chris Rees  wrote:

[snip]

>Try putting the link in somewhere that gets searched before
>/usr/local/bin, like /bin or (better) /usr/bin. Then try rehash &&
>which gpg

I am using 'bash' so I don't think 'rehash' is going to do anything,
although I could be mistaken. However, I don't see how that would stop
a port from installing 'gpg' rather than 'gpg2'. I don't need both
versions installed and would rather just keep the newer 'gpg2' one.

-- 
Jerry
ges...@yahoo.com

One of the lessons of history is that nothing is often a good thing to
do and always a clever thing to say.

Will Durant


signature.asc
Description: PGP signature


Re: Force use of 'gpg2'

2009-02-03 Thread Chris Rees
2009/2/3 Jerry :
> I have both 'gpg' and 'gpg2' installed. I only want/need the 'gpg2'
> version. I created a link that that forces the use of 'gpg2'
> irregardless of which version is called. The problem is that
> occasionally, when updating the ports, the link is over written and
> 'gpg' is reinstalled.
>
> I don't believe I need this older version for anything. As far as I can
> tell, any port that needs 'gpg' will work fine with 'gpg2'. Is there
> anything I can put in the /etc/make.conf' file that will force the
> use/install of 'gpg2' only? Something like:
>
>WITH_GPG2=yes or WANT_GPG_VER=2
>
> Or something like that. Is that possible? I cannot find any
> documentation regarding this.
>
> --
> Jerry
> ges...@yahoo.com
>
> Savage's Law of Expediency: You want it bad, you'll get it bad.
>


Try putting the link in somewhere that gets searched before
/usr/local/bin, like /bin or (better) /usr/bin. Then try rehash &&
which gpg

Chris
-- 
R< $&h ! > $- ! $+  $@ $2 < @ $1 .UUCP. > (sendmail.cf)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


NFSv2 Wrong FS Size

2009-02-03 Thread John Morgan Salomon

Hi there,

I'm facing an odd problem with an NFSv2 mount.  I'm using userland  
nfsd from a Buffalo TeraStation Pro v1 NAS, running PPC Linux 2.4.20.


r...@leviathan:~# uname -a
Linux LEVIATHAN 2.4.20_mvl31-ppc_terastation #3 Tue Jul 18 09:29:11  
JST 2006 ppc GNU/Linux


I am sharing the following filesystem:

r...@leviathan:~# df -k
Filesystem   1K-blocks  Used Available Use% Mounted on

/dev/md1 1755708928 979032844 776676084  56% /mnt/array1

/etc/exports looks as follows:
/mnt/array1/data 192.168.2.0/255.255.255.0(rw,sync,insecure)

Mounting this on my Macbook Pro:

Fluffy:~ root# mount_nfs 192.168.2.11:/mnt/array1/data /mnt

Fluffy:~ root# df -k
Filesystem1024-blocks  Used Available  
Capacity  Mounted on


192.168.2.11:/mnt/array1/data  1755708928 979032844 776676084 
56%/mnt


So far, so good...

Mounting this on a FreeBSD 7.1 client:

behemoth# mount /data
behemoth# df -k
Filesystem1024-blocksUsed Avail  
Capacity  Mounted on


192.168.2.11:/mnt/array1/data  -391774720 -1168450804 776676084
298%/data


Here is my fstab:

192.168.2.11:/mnt/array1/data   /data   nfs rw  0   0

Woo.  298%!  That's a record, even for me.

I've tried mount_nfs with -2, -T, and I can't think of anything else.   
There are no telling log messages, either on the NAS or on the FreeBSD  
box.


behemoth# uname -a
FreeBSD behemoth 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #2: Sat Jan 31  
20:13:15 CET 2009 r...@behemoth:/usr/obj/usr/src/sys/BEHEMOTH  i386


Any ideas?  It's causing various php scripts that need an accurate  
filesystem size to puke all over the place. Help!


Thanks much for any thoughts,

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


Force use of 'gpg2'

2009-02-03 Thread Jerry
I have both 'gpg' and 'gpg2' installed. I only want/need the 'gpg2'
version. I created a link that that forces the use of 'gpg2'
irregardless of which version is called. The problem is that
occasionally, when updating the ports, the link is over written and
'gpg' is reinstalled.

I don't believe I need this older version for anything. As far as I can
tell, any port that needs 'gpg' will work fine with 'gpg2'. Is there
anything I can put in the /etc/make.conf' file that will force the
use/install of 'gpg2' only? Something like:

WITH_GPG2=yes or WANT_GPG_VER=2

Or something like that. Is that possible? I cannot find any
documentation regarding this.

-- 
Jerry
ges...@yahoo.com

Savage's Law of Expediency: You want it bad, you'll get it bad.


signature.asc
Description: PGP signature


Re: X.org-update -> screen garbled / settings for xorg.conf?

2009-02-03 Thread Torgeir Hoffmann
Hi,

> On Mon, Feb 2, 2009 at 5:36 PM, Ewald Jenisch  wrote:
>> On Fri, Jan 30, 2009 at 11:30:02AM -0800, Luke Dean wrote:
>>>
>>> Me too.
>>> I started a thread a few days ago titled "Restarting new Xorg freezes
>>> system".
>>> My symptoms are the same as yours.
>>> I'm not running hald at all.
>>> I'm not using full-blown gnome, just windowmaker.
>>> I'm using the "radeon" driver on an ATI HD 4350
>>>
>>> I just tried switching to the "vesa" driver, and now I can stop and
>>> start
>>> X as much as I want with no problems whatsoever.
>>> I know that this was not a problem with the "radeon" driver prior to
>>> the
>>> Xorg update.
>>
>> Hi,
>>
>> Did a few tests more:
>>
>> 1) Section "ServerLayout"
>>Option "AllowEmptyInput" "false"
>> Section "Device"
>>   Driver  "radeon"
>> moused running
>> hald running
>>
>> Result: X (gnome in my case) starts, mouse moves. Upon leaving X the
>> console is to something different than 80x25 lines - at least I can't
>> see about 2-3 lines on the bottom of the screen. However - as soon as
>> a start X again I get graphical junk on the display, mouse & keyboard
>> frozen, no switching of consoles nor can I log in via the net (ssh)
>
> Just for the record, this used to happen in Linux (Fedora 9) but it's
> working since some time ago (sorry, I don't remember when this was
> fixed)
> radeon now works and doesn't freeze if you try to bring the X Server up
> again.
>
> I'm using Xorg 7.4 too


Just wanted to say that I experienced similar problems quite some months ago,
and posted under the title:

"Re: [FreeBSD 7] Radeon Mobility M10/9600 + xorg 7.3 + ati/radeon driver
causes complete system hang/freeze".


I never got it to work, and that was with xorg 7.3. Also, everything
worked with vesa. I tried everything from disabling most things in
rc.conf, most modules,
dri in xorg.conf. I tried deleting the renaming the log for xorg, and then
you
could most of the times start xorg once, but not twice. The second time would
result in a black screen. (of course removing the log and the following
effect
is most likely random).

I had an idea that it might be that the drm-implementation wasn't able to
load the microcode (?) for the r300 correctly sometimes, but this is
guesswork
at best. Is it possible that this is a bug partly related to xorg, but
more related
to the radeon driver and freebsd that slipped through in the last
bug-hunting?

> However, I experience the same problems in my system (ATI RadeonHD
> 2400 with FreeBSD 7.1-RELEASE-p2)
>
>
>>
>>
>> 2) Same as 1) above however this time with
>> Driver "radeonhd"
>>
>> Result: Almost the same as 1) above - only difference: When I leave X
>> the console comes back again to 80x25 lines. Hoever - like in 1) above
>> - the second attempt to start X ends in a machine completely frozen :-(
>>
>> 3) Same as 1) - this time with
>> Driver "vesa"
>>
>> Result: Everything works - i.e. back and forth between X and
>> console. Sure enough working with Vesa is a workaround only given the
>> huge difference in speed between the Vesa- and radeon drivers.
>>
>>
>> 4) Option "AutoAddDevices" "Off" under 'Section "ServerLayout"'
>> with
>> Driver  "radeonhd"
>>
>> Result: X works only once (as in Tests 1&2 above). Second attempt to
>> start X gives a "frozen box" again.
>>
>>
>>
>> As you already mentioned
>>
>> o) no problem with VESA-Driver
>>
>> o) no problems with radeon-driver prior to the Upgrade to X 7.4
>>
>>
>> Hope this helps someone out there to track things down.


//Torgeir

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


Re: virtualbox networking setup

2009-02-03 Thread huubs



I'm new to the group, and I'm new to setting up VirtualBox guest hosts.
right now I have a Debian linux box, and I setup Virtual box. I installed 
FreeBSD on it, but I can't seem to get the networking to work. 

FreeBSD choses the wrong networkadapter by default. Modify the
networkadapter to PCnet-PCI II (AM79C970A) , do this BEFORE you actually
install FreeBSD. Choose 'Attached to Host Interface'.
That way you will get a le0 interface in your config.

This works fine with FreeBSD7.0.
However, I could NOT get FreeBSD7.1 to work properly. Using the above
procedure the system crashes during boot (after the line 'point to point
kickstart'). The only way to get FreeBSD7.1 to work is by either booting in
safe mode of by inactivating the nic.
-- 
View this message in context: 
http://www.nabble.com/virtualbox-networking-setup-tp20467278p21814559.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: NFS, how to find out which files are used

2009-02-03 Thread Dan Nelson
In the last episode (Feb 03), Sandra Kachelmann said:
> I have an NFS fileserver and would like to figure out which files are
> being read/written to. Is there something to find that out? Something
> similar to samba's 'smbstatus' command.

The best you can do currently is run tcpdump/wireshark and watch the remote
file operations as they happen...  NFS doesn't access files by filename, but
by NFS filehandle (basically device+inode number), so a remote client first
looks up the filename to get the filehandle, and all accesses are done via
the filehandle at that point.  Theoretically, one could write a dtrace
script that watches calls to nfs_namei, nfsrv_read, and nfsrv_write, and
then matches read/write ops with the filenames that were looked up
beforehand.

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: zfs root partition boot?

2009-02-03 Thread Wojciech Puchar

Although ZFS is probably more mature than you are making it sound here,
it is true that gmirror is becoming very reliable and servicable.


ever used gmirror?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: policykit fails to build on 7.1-stable i386

2009-02-03 Thread Jason Morgan
On 2009.02.03 10:24:55, Anton Shterenlikht wrote:
> On Tue, Feb 03, 2009 at 09:57:45AM +, Anton Shterenlikht wrote:
> > when building ports/sysutils/policykit on FBSD 7.1-stable i386 I get:
> > 
> > Making all in man
> > gmake[3]: Entering directory 
> > `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/d
> > oc/man'
> > /usr/local/bin/xsltproc -nonet 
> > http://docbook.sourceforge.net/release/xsl/curren
> > t/manpages/docbook.xsl polkit-auth.xml
> > I/O error : Attempt to load network entity 
> > http://docbook.sourceforge.net/releas
> > e/xsl/current/manpages/docbook.xsl
> > warning: failed to load external entity 
> > "http://docbook.sourceforge.net/release/
> > xsl/current/manpages/docbook.xsl"
> > cannot parse 
> > http://docbook.sourceforge.net/release/xsl/current/manpages/docbook
> > .xsl
> > gmake[3]: *** [polkit-auth.1] Error 4
> > gmake[3]: Leaving directory 
> > `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/do
> > c/man'
> > gmake[2]: *** [all-recursive] Error 1
> > gmake[2]: Leaving directory 
> > `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/do
> > c'
> > gmake[1]: *** [all-recursive] Error 1
> > gmake[1]: Leaving directory 
> > `/usr/ports/sysutils/policykit/work/PolicyKit-0.9'
> > gmake: *** [all] Error 2
> > *** Error code 2
> > 
> > Stop in /usr/ports/sysutils/policykit.
> > 
> > 
> > What shall I do?
> 
> The file seems to be there, I can get to it with lynx.

I am having the same problem (I posted a related question to the list
last night). Anything dealing with XML and docbook is failing to
build. I have managed to install a few of the problem ports by adding
the package instead, but when I left the house this morning, yet
another related package had failed.

-- 
~ Jason Morgan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


NFS, how to find out which files are used

2009-02-03 Thread Sandra Kachelmann
I have an NFS fileserver and would like to figure out which files are
being read/written to. Is there something to find that out? Something
similar to samba's 'smbstatus' command.

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


Re: zfs root partition boot?

2009-02-03 Thread Jerry McAllister
On Mon, Feb 02, 2009 at 04:04:38PM -0700, Tim Judd wrote:

> On Mon, Feb 2, 2009 at 7:18 AM, Omer Faruk Sen  wrote:
> 
> > Hi,
> >
> > Can I use zfs on / using FreeBSD 7.1?  I also use
> > http://people.freebsd.org/~rse/mirror/script
> >  to create mirror is
> > there such a a tool for ZFS to use on Fbsd 7.1?
> >
> > Regards.
> >
> 
> Are you sure you want to do this?
> ZFS is still marked an experimental feature last time I checked; and if
> FreeBSD decides to kill ZFS support, you'll be stuck with a unbootable
> disk.  

That doesn't make sense.   Just because they might terminate upgrade
support for it in some future version doesn't mean the disk will
suddenly become unreadable.Just as in any upgrade that involves
a change from one file system to another, you may have to dump the
stuff on the old one and read it in to the new one if you do the
upgrade.   But the old one will not magically stop working.  You will
be able to recover your data from the old system.   

> I'd stick with the more mature, tested methods like gmirror or
> gvinum.  Nothing beats a hardware raid though.

Although ZFS is probably more mature than you are making it sound here,
it is true that gmirror is becoming very reliable and servicable.

So, either will probably work.   Your choice depends on what you want
to accomplish.

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


Re: short-changed on SD card?

2009-02-03 Thread Jerry McAllister
On Tue, Feb 03, 2009 at 07:37:05AM -0500, William Bulley wrote:

> According to Mike Jeays  on Mon, 02/02/09 at 19:38:
> > 
> > I think I would try dd if=/dev/zero of=/dev/da1 bs=1M
> > without the count option, and see how many blocks it writes. You at least 
> > start with a clean slate, and can run fdisk and newfs, if you want 
> > a BSD-only 
> > device. Make sure you write on the right device!
> 
> So you don't think the "bad card reader" suggestion is relevant?

It is another thing to check.

> 
> I will also try this approach.  Thanks for all the feedback.  Now,
> I've got some avenues of testing to work through.  Later...

Doing the dd has two nice possibilities.   One, it might just clear
the device up and two, it might give some information about the
honest size.This is assuming, of course, that the problem is 
not the card reader.

jerry


> 
> Regards,
> 
> web...
> 
> --
> William Bulley Email: w...@umich.edu
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: apt of freebsd

2009-02-03 Thread Chad Perrin
On Tue, Feb 03, 2009 at 11:14:30AM +0100, n j wrote:
> Or you can try Debian GNU/kFreeBSD
> (http://www.debian.org/ports/kfreebsd-gnu/) to get the best(?) of both
> worlds - FreeBSD kernel and GNU userland (aka use apt to install deb
> packages).

Some (like me) might dispute the characterization of GNU userland as "the
best" of the Debian world.  Of course, you seem to question that yourself
with that parenthesized question mark.

-- 
Chad Perrin [ content licensed OWL: http://owl.apotheon.org ]
Quoth Sean Reifschneider: "If java had real garbage-collection, it would
delete most programs before it executed them."


pgpUWoztaDYdM.pgp
Description: PGP signature


Re: apt of freebsd

2009-02-03 Thread Ivan Voras
prad wrote:
> On Mon, 02 Feb 2009 11:23:50 +0100
> Ivan Voras  wrote:
> 
>> It's probably used for the "Linux emulation" in FreeBSD, you can't use
>> it with FreeBSD native packages.
>>
> so what does this mean?
> if you have linux emulation, you can install .debs from the debian
> repository?

Yes.

Though the preferred linux_base is Fedora nowadays.




signature.asc
Description: OpenPGP digital signature


Re: Patching / Updating / Upgrading

2009-02-03 Thread RW
On Tue, 03 Feb 2009 14:30:14 +0200
"DA Forsyth"  wrote:


> use RELEASE for a production server, STABLE on a desktop or test 
> machine.  IMHO

I'd say follow what it says in the handbook and use a release unless you
have a good reason to use stable, such as support for a particular
piece of hardware. 

If you use stable then every time you update for an advisory, you may
pick-up new features, which means you should pay as much attention as
you would with 7.0 -> 7.1. With point releases you are only getting
minor patches, so there is no need for mergemaster. I just run a single
script that does the full update. 

Also you can't use freebsd-update with stable.

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


Re: no cats at home, but system (7.0-STABLE) reboots

2009-02-03 Thread Matthias Apitz
El día Tuesday, February 03, 2009 a las 08:32:31AM -0500, Jon Radel escribió:

> 
> Matthias Apitz wrote:
> >El día Tuesday, February 03, 2009 a las 12:36:08AM -0800, 
> >per...@pluto.rain.com escribió:
> >
> >>>I'm searching for monkeys or intruders ...
> >>Brief power outage, perhaps?  Some BIOS have a selection of what to
> >>do when power is restored from an outage, typical choices being to
> >>start up, remain off, or return to the state before power was lost.
> >>Others may offer only the first two, or be hardwired to one of them
> >>with no opportunity to choose a different behavior.
> >
> >note: the box is a laptop; I hit the power-off button and pulled out the
> >220V power cable of the power-supply from the outlet (that's why later
> >the laptop after 2h uptime failed with battery empty); in which power
> >outage you're thinking; what could re-boot the box after 36 minutes?
> >thx
> 
> What communications cables were still plugged in,

the only cable at all was the cable to the power-supply which itself was
without power; no LAN, no modem, no parallel printer was attached;

my Wifi-router was powered off as well;

> and is the BIOS set to 
> boot in reaction to certain things happening on them?

there are no option visible in the BIOS for wake-up on XXX;

> Have you read 
> through all your BIOS settings looking for clues?

yes;

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: intel 64-bit version?

2009-02-03 Thread William Gordon Rutherdale
I'm using the amd64 version of FreeBSD for an HP Pavillion using an 
Intel Core 2 Quad processor (Q6600).


So far it's doing fine with the processor.  There are some driver 
problems, for instance no sound.  However, as I'm using this machine as 
a compute server, I'm ignoring those limitations.  I ran some parallel 
computation problem on it and got good performance out of it.


-Will

Ivailo Tanusheff wrote:

You may use amd64 version for full support of the 64 functionalities.
Do not get the wrong impression, this is not only for AMD processors and 
allow you to use the full strength of the 64 bit architecture.
You may also use i386 branch and use PAE config options if you have more 
than 4 GB RAM.


Still, the best idea is to use amd64 version.

Regards,
  


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


Re: no cats at home, but system (7.0-STABLE) reboots

2009-02-03 Thread Jon Radel


Matthias Apitz wrote:

El día Tuesday, February 03, 2009 a las 12:36:08AM -0800, per...@pluto.rain.com 
escribió:


I'm searching for monkeys or intruders ...

Brief power outage, perhaps?  Some BIOS have a selection of what to
do when power is restored from an outage, typical choices being to
start up, remain off, or return to the state before power was lost.
Others may offer only the first two, or be hardwired to one of them
with no opportunity to choose a different behavior.


note: the box is a laptop; I hit the power-off button and pulled out the
220V power cable of the power-supply from the outlet (that's why later
the laptop after 2h uptime failed with battery empty); in which power
outage you're thinking; what could re-boot the box after 36 minutes?
thx


What communications cables were still plugged in, and is the BIOS set to 
boot in reaction to certain things happening on them?  Have you read 
through all your BIOS settings looking for clues?


--Jon Radel
j...@radel.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Patching / Updating / Upgrading

2009-02-03 Thread Akenner
*Snipping for those who don't want to have an inbox full of my text, and 
out of being polite*


Thanks very much! I've been thinking about setting up another FreeBSD 
machine so I can test both CVS and FreeBSD-update without mixing the two 
together which from what I hear is a bad idea, and I think that would 
also help me learn both ways of doing it.


Thanks again for the help! I think first I'll test out the 
freebsd-update way of things since, well, that's the closest to what I'm 
used to and will have a much smaller learning curve if any at all. Ad 
then I can set up a machine to do it with cvsup. I was really having 
some trouble understanding what they meant by RELEASE VS STABLE in the 
context of fixes and so on. The idea of it wasn't new as Slackware uses 
a very VERY similar method for talking about versions of their stuff, 
which I guess is a good thing. And my Slackware books used to have BSDi 
logos on them so I guess it's nice to see a Linux distro and BSD getting 
along. Patrick seems to be more appreciative of BSD than other Linux 
distros as it is. (If you read up on Slackware, he flat out tells you to 
just look for BSD texts because they are more technical and better 
written than the PR style Linux stuff you generally find) which leads me 
to believe that Patrick likes BSD quite a bit.


Thanks again,

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


Re: short-changed on SD card?

2009-02-03 Thread William Bulley
According to Mike Jeays  on Mon, 02/02/09 at 19:38:
> 
> I think I would try dd if=/dev/zero of=/dev/da1 bs=1M
> without the count option, and see how many blocks it writes. You at least 
> start with a clean slate, and can run fdisk and newfs, if you want a BSD-only 
> device. Make sure you write on the right device!

So you don't think the "bad card reader" suggestion is relevant?

I will also try this approach.  Thanks for all the feedback.  Now,
I've got some avenues of testing to work through.  Later...

Regards,

web...

--
William Bulley Email: w...@umich.edu

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


Re: short-changed on SD card?

2009-02-03 Thread William Bulley
According to Tim Judd  on Mon, 02/02/09 at 18:13:
> 
> Nobody's blamed the SD/CF reader.
> 
> I call dibs to blame the SD/CF reader.  Isolate the problem to find the
> culprit...
> 
> Check the USB reader -- I'm curious to see if that fixes the problem.

This is a FANTASTIC suggestion - never occurred to me.  I will have to
try a different device with the same 2.0 GB card.  Thanks!

> And FYI -- No matter the Heads/Sectors/Cylinders, there are ~200 512byte
> sectors, roughly equal to 1GB.

Yep.

> If it's not the adapter, you got cheated in the purchase.

Thanks again.

Regards,

web...

--
William Bulley Email: w...@umich.edu

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


Re: short-changed on SD card?

2009-02-03 Thread William Bulley
According to Warren Block  on Mon, 02/02/09 at 15:29:
> 
> newfs_msdos(8)

Learned something new there.  Thanks!

> It's generally not useful to slice/partition a small SD card.  Without a 
> slice table, the whole device is just one slice.

Agreed.  I just want a big chuck of storage (in this case the 2.0 GB that
I paid for, sigh...) and I don't care what format it is in.  As I said, I
am happy with FAT16 as long as I can use all (approximately) 2.0 GB of it.

> Offhand I don't know if you can overwrite an existing slice table (boot 
> block) with just a 'newfs_msdos /dev/da1'.  Probably.

This is something I will try.

> If not, you can just 'dd if=/dev/zero of=/dev/da1 bs=512 cnt=1' and then 
> do the newfs_msdos.

Okay.  This is worth a try.

> If you plan to use that card in a camera, you are a little safer doing a 
> "full" or "low-level" format with the card in the camera.  Some cameras 
> create and like not-quite-right filesystems.  Older Canon cameras, for 
> instance.

This is not for use in a camera.  It is just a quick and dirty way for me
to grab (about) 2.0 GB from one FreeBSD system and plop it onto another.

> Finally, there are more than a few reports of SD cards with false 
> capacities bought on ebay.

This SD card was purchased from a reputable firm in New York whose name
you would recognize were I to mention it.  I have had nothing but good
experiences buying from them in the past (many years > four).

Regards,

web...

--
William Bulley Email: w...@umich.edu

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


re: Patching / Updating / Upgrading

2009-02-03 Thread DA Forsyth
Message: 4
Date: Mon, 02 Feb 2009 16:37:14 -0500
From: Akenner 
Subject: Patching / Updating / Upgrading
To: freebsd-questions@freebsd.org

Hello all,

> So if anyone could lend a little but in typing out what they use for
> updates and how they go about it, I'd appreciate it. I've already
> gotten a full CVSup file sent to me by a member on here which was a
> great help in deciding how to set up the file. I'm more or less
> wondering with CVSup if I keep using RELEASE or do I use Stable. 

use RELEASE for a production server, STABLE on a desktop or test 
machine.  IMHO

use CVS if you have to build a custom kernel, I do this on my two 
production servers.  On my minimal install print servers, I use 
freebsd-update about once a month.   it is a bit fiddly to get 
through a proxy that needs auth, but it can be done.

> And of course if anyone uses freebsd-update if they have suggestions
> I'd love to hear those as well :) 

it works, it is quick, if you use the generic kernel.

> -Allen

--
   DA Fo rsythNetwork Supervisor
Principal Technical Officer -- Institute for Water Research
http://www.ru.ac.za/institutes/iwr/


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


Re: short-changed on SD card?

2009-02-03 Thread William Bulley
According to Brad Mettee  on Mon, 02/02/09 at 15:55:
> 
> Does an XP machine also detect it as 960MB? If not, can you put more than 
> 960M on it and verify that it's all intact?

Yes, Windows XP sees it as a 960MB FAT16 "drive".

And when formatting it under Windows XP it never gave me the option to up
this number, so somewhere (boot block, MBR?) the concept of 960MB is retained.

> Create a 100MB zip file, put 10+ copies on the card. Then test to see if 
> the CRC is correct on all of the copies. If they're alls ok, then the card 
> is in fact 2GB. If you start getting errors on any of the files (and can 
> wipe/repeat the problem), then I'd say you've been ripped off and it's only 
> a 1GB card.

Did you intend to have me put this ZIP file on the SD card using Windows XP
or FreeBSD, or does it matter?  I wish I didn't have to touch Windows XP at
all, grrr...   :-(

Regards,

web...

--
William Bulley Email: w...@umich.edu

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


Re: policykit fails to build on 7.1-stable i386

2009-02-03 Thread Anton Shterenlikht
On Tue, Feb 03, 2009 at 09:57:45AM +, Anton Shterenlikht wrote:
> when building ports/sysutils/policykit on FBSD 7.1-stable i386 I get:
> 
> Making all in man
> gmake[3]: Entering directory 
> `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/d
> oc/man'
> /usr/local/bin/xsltproc -nonet 
> http://docbook.sourceforge.net/release/xsl/curren
> t/manpages/docbook.xsl polkit-auth.xml
> I/O error : Attempt to load network entity 
> http://docbook.sourceforge.net/releas
> e/xsl/current/manpages/docbook.xsl
> warning: failed to load external entity 
> "http://docbook.sourceforge.net/release/
> xsl/current/manpages/docbook.xsl"
> cannot parse 
> http://docbook.sourceforge.net/release/xsl/current/manpages/docbook
> .xsl
> gmake[3]: *** [polkit-auth.1] Error 4
> gmake[3]: Leaving directory 
> `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/do
> c/man'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory 
> `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/do
> c'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/sysutils/policykit/work/PolicyKit-0.9'
> gmake: *** [all] Error 2
> *** Error code 2
> 
> Stop in /usr/ports/sysutils/policykit.
> 
> 
> What shall I do?

The file seems to be there, I can get to it with lynx.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: apt of freebsd

2009-02-03 Thread n j
Or you can try Debian GNU/kFreeBSD
(http://www.debian.org/ports/kfreebsd-gnu/) to get the best(?) of both
worlds - FreeBSD kernel and GNU userland (aka use apt to install deb
packages).

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


policykit fails to build on 7.1-stable i386

2009-02-03 Thread Anton Shterenlikht
when building ports/sysutils/policykit on FBSD 7.1-stable i386 I get:

Making all in man
gmake[3]: Entering directory `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/d
oc/man'
/usr/local/bin/xsltproc -nonet http://docbook.sourceforge.net/release/xsl/curren
t/manpages/docbook.xsl polkit-auth.xml
I/O error : Attempt to load network entity http://docbook.sourceforge.net/releas
e/xsl/current/manpages/docbook.xsl
warning: failed to load external entity "http://docbook.sourceforge.net/release/
xsl/current/manpages/docbook.xsl"
cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook
.xsl
gmake[3]: *** [polkit-auth.1] Error 4
gmake[3]: Leaving directory `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/do
c/man'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/do
c'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/sysutils/policykit/work/PolicyKit-0.9'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/sysutils/policykit.


What shall I do?

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: no cats at home, but system (7.0-STABLE) reboots

2009-02-03 Thread Matthias Apitz
El día Tuesday, February 03, 2009 a las 12:36:08AM -0800, per...@pluto.rain.com 
escribió:

> > I'm searching for monkeys or intruders ...
> 
> Brief power outage, perhaps?  Some BIOS have a selection of what to
> do when power is restored from an outage, typical choices being to
> start up, remain off, or return to the state before power was lost.
> Others may offer only the first two, or be hardwired to one of them
> with no opportunity to choose a different behavior.

note: the box is a laptop; I hit the power-off button and pulled out the
220V power cable of the power-supply from the outlet (that's why later
the laptop after 2h uptime failed with battery empty); in which power
outage you're thinking; what could re-boot the box after 36 minutes?
thx

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: no cats at home, but system (7.0-STABLE) reboots

2009-02-03 Thread perryh
> I'm searching for monkeys or intruders ...

Brief power outage, perhaps?  Some BIOS have a selection of what to
do when power is restored from an outage, typical choices being to
start up, remain off, or return to the state before power was lost.
Others may offer only the first two, or be hardwired to one of them
with no opportunity to choose a different behavior.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"