Re: gmirror and partitioning

2006-05-17 Thread Nagy László Zsolt



Hi Laszlo,

No bugs; I think this is normal.  Both the BIOS and the OS are only
going to see the blocks the hard drive thinks are useable.  
Bad sector information is also stored on the disk, and only the OS can 
interpret this information.
Or is it possible that the manufacturer produces the hard drive first, 
then measures its real capacity and finally burns this info into a flash 
memory on the drive? :-)

Even though
the drive geometry is "fictitious", most people still recommend defining
your slices to begin and end on cylinder boundaries.  I assume this
makes accessing blocks in the slice a few nanoseconds faster, but I'm
actually not sure.  Perhaps someone on the list knows more detail.  In
any case, if you do this for as10s1 gmirror will replicate this property
to the other disk.  You'll also most likely have a few blocks left over.
As for units of MB, I'm not sure.  Could be rounding.

Can we assume your gmirror is now working?
  

Oh yes, it is working.
I do not care about that one lost MB. The lesson of the story: I'll 
leave 10MB empty space at the end of the disk whenever I need to use 
gmirror.

Thank you for your help! :-)

 Laszlo


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


Re: I want to know can download it on floopy disk, and can i instal it on a computer that had windows98 or xp?

2006-05-17 Thread Beech Rintoul
On Wednesday 17 May 2006 21:20, ranaldes wrote:
>I want to know can download it on floopy disk, and can i instal it on a 
>computer that had windows98 or xp?

Yes, to both questions. Read the handbook, especially the chapter on 
installing FreeBSD.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html

Beech
-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Alaska Paradise
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgpXF92jatBMi.pgp
Description: PGP signature


Re: mplayer (from CVS) && win32/wmvadvd.dll

2006-05-17 Thread m . apitz
El día Wednesday, May 17, 2006 a las 09:46:55PM -0400, Chris Hill escribió:

> On Wed, 17 May 2006, [EMAIL PROTECTED] wrote:
> 
> >I'm trying to play a stream with mplayer from
> >
> >$ mplayer mms://80.84.129.169/telesur45
> 
> [snip]
> 
> >Can someone with a CVS version of mplayer try the above stream to 
> >ensure that it is not a local problem in my compilation?

In the meantime someone in the mplayer mailing-list confirmed
the problem on FreeBSD saying:

"I'm seeing the same thing on FreeBSD 6.0.   
This looks like a PITA to track down..."

> May not be relevant, but I cvsupped mplayer three days ago. Your stream 
> plays fine here, assuming it's supposed to be audio only.

No, it is definitely a audio+video stream; it is an alternative for CNN
in América Latina, see http://www.telesurtv.net/

Look also what mplayer is saying during launch about it:

$ mplayer mms://80.84.129.169/telesur45
MPlayer dev-CVS-060516-14:39-3.4.4 (C) 2000-2006 MPlayer Team
CPU: Intel Pentium M Dothan (Family: 6, Stepping: 8)
SSE supported but disabled
...
ASF file format detected.
VIDEO:  [WMVA]  256x180  24bpp  1000.000 fps0.0 kbps ( 0.0 kbyte/s)
==
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 11025 Hz, 1 ch, s16le, 8.0 kbit/4.55% (ratio: 1003->22050)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==
==
Opening video decoder: [dmo] DMO video codecs
Unsupported WMVA version
IMediaObject ERROR: 0x85a0092  could not open DMO DLL (0x0 : 0)
Failed to create DMO filter
ERROR: Could not open required DirectShow codec wmvadvd.dll.
...

> $ uname -rs
> FreeBSD 5.4-RELEASE-p12

$ uname -rs
FreeBSD 6.0-RELEASE

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC PICA GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclcpica.org/ http://guru.UnixLand.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


I want to know can download it on floopy disk, and can i instal it on a computer that had windows98 or xp?

2006-05-17 Thread ranaldes

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


Re: Skype

2006-05-17 Thread Ion-Mihai Tetcu
On Wed, 17 May 2006 18:19:57 +0300
Adi Pircalabu <[EMAIL PROTECTED]> wrote:

> On Wed, 17 May 2006 17:04:22 +0300 Ion-Mihai Tetcu wrote:
> 
> > On Wed, 17 May 2006 12:05:09 +0300
> > Adi Pircalabu <[EMAIL PROTECTED]> wrote:
> > 
> > > On Tue, 16 May 2006 22:47:42 -1000 Stephen Bartlett wrote:

 [ ... ]

> > > > Although the build/install went fine, Skype wouldn't start due to
> > > > missing libraries.  So I copied them over from a Linux partition
> > > > (happens to be Gentoo): libGL.so.1 libXmu.so.6
> > > > libXrandr.so.2
> > > > libXcursor.so.1
> > > > libXft.so.2
> > > > libSM.so.6
> > > > libICE.so.6
> > > > libXext.so.6
> > > > libX11.so.6
> > > > libXxf86vm.so.1
> > > > libXt.so.6
> > > > libXrender.so.1
> > > > libexpat.so.0
> > 
> > Interesting enough, while I have this files on my system, pkg_info -O
> > on them doesn't return anything. Adi, could you please check on your
> > system ?
> >
> 
> Same here, no result for pkg_info -O. Though, they are part of
> linux-XFree86-libs

Hmm, what happens if you reinstall linux-XFree86-libs
(portupgrade -f linux-XFree86-libs) ?

-- 
IOnut - Un^d^dregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"

Change is the essential process of all existence.
-- Spock, "Let That Be Your Last Battlefield",
stardate 5730.2


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


Re: kernel panic on kldload in 6.1

2006-05-17 Thread Kris Kennaway
On Wed, May 17, 2006 at 07:06:59PM -0400, Joe Auty wrote:
> Hello,
> 
> A problem I've had since 6.0 remains in 6.1 where my machine kernel  
> panics at boot trying to kldload some module (it doesn't say which  
> one). It also does not log this panic.
> 
> I suppose this isn't terribly helpful information, but if there is  
> anything you can suggest I do (including pass this on to an  
> interested party), please let me know how I can help =)

It sounds like you have an old (6.0) module you're still trying to
load.  Things like the nvidia driver and other ports are prime
candidates.

Kris


pgpYkbmbQlDEV.pgp
Description: PGP signature


Building horde from ports

2006-05-17 Thread Olivier Nicole
Hi,

I am trying to build horde (horde-3.1.1_1) from the ports.

While I coul dbuild it without any problem in the past, now I get:

This port requires the Apache Module or the CGI version of PHP, but you have
already installed a PHP port without them.
*** Error code 1

At the very begining of make. But my php4 is of course installed as
Apache module:

ufo: pkg_info | grep php | grep -y module
php4-4.4.2_1PHP Scripting Language (Apache Module and CLI)

So what am I doing wrong?

Best regards,

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Find the Date a Port Was Installed

2006-05-17 Thread Randy Pratt
On Wed, 17 May 2006 17:30:55 -0500
Jeff Cross <[EMAIL PROTECTED]> wrote:

> I have recently upgraded to RELENG_6_1 and have attempted a portupgrade
> on all ports since the upgrade so that new libs, etc. are being used
> with the installed ports.  When it *finally* finished I saw that 9 ports
> were not upgraded due to various reasons but because I did this from the
> command line I couldn't scroll up to see what 9 ports failed.

Take a look at using "script" to log the output (man 1 script).  It
is started before running the process you want to log:

script /path/to/logfile

Then the process (portupgrade in this case) is ran to completion.
Just type "exit" after it is finished to end the "script" logging.

> Is it possible to determine which ports weren't upgraded so I can deal
> with them manually or is it possible to show the install date for all
> ports?  If I can pull the install date for all of them I can see which
> ones are older than today and deal with them individually. I looked at
> the man page for pkg_info to see if there was anything I could do there
> to list the installed ports along with an installation date but I didn't
> see anything.

Another way to determine which ports need updated that has not been
mentioned is:

portversion -vL=

Instead of looking at timestamps for the last install/update
it would probably be easier to just run "portupgrade -a" using
"script" to recreate a log.  Doing this will provide you with logs
of any failures as well as a list of any failures.  Its the
information in those logs that will be most helpful in resolving
problems and is also the information others would need to see if
you needed additional help.

HTH a bit,

Randy


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


Re: Find the Date a Port Was Installed

2006-05-17 Thread Dan Nelson
In the last episode (May 18), Greg 'groggy' Lehey said:
> On Wednesday, 17 May 2006 at 17:40:24 -0500, Dan Nelson wrote:
> > In the last episode (May 17), Jeff Cross said:
> >> I have recently upgraded to RELENG_6_1 and have attempted a
> >> portupgrade on all ports since the upgrade so that new libs, etc.
> >> are being used with the installed ports.  When it *finally*
> >> finished I saw that 9 ports were not upgraded due to various
> >> reasons but because I did this from the command line I couldn't
> >> scroll up to see what 9 ports failed.
> >>
> >> Is it possible to determine which ports weren't upgraded so I can
> >> deal with them manually or is it possible to show the install date
> >> for all ports?  If I can pull the install date for all of them I
> >> can see which ones are older than today and deal with them
> >> individually. I looked at the man page for pkg_info to see if
> >> there was anything I could do there to list the installed ports
> >> along with an installation date but I didn't see anything.
> >
> > I use "cd /var/db/pkg ; ls -l */+COMMENT".  Add a -t to sort by date.
> 
> I find that "ls -lrt /var/db/pkg" is even more useful: it shows the
> packages in order of installation, so you can see which dependencies
> were installed as well.

The problem is if you use portupgrade, it will update the dependencies
inside +CONTENTS and +REQUIRED_BY, so ports that may have been
installed long ago will have their directory timestamps updated:

/var/db/pkg> ls -l pkgconfig-0.20_2
total 41
-rw-r--r--1 root  wheel 60 May  2 09:54 +COMMENT
-rw-r--r--1 root  wheel539 May  2 09:54 +CONTENTS
-rw-r--r--1 root  wheel771 May  2 09:54 +DESC
-r--r--r--1 root  wheel  15248 May  2 09:54 +MTREE_DIRS
-rw-r--r--1 root  wheel   4072 May 17 15:22 +REQUIRED_BY
drwxr-xr-x2 root  wheel512 May 17 15:21 ./
drwxr-xr-x  692 root  wheel  18432 May 17 15:21 ../

It depends on what date you're interested in, I guess.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Bandwidth Troubleshooting

2006-05-17 Thread Gunter Wambaugh

On May 17, 2006, at 8:01 PM, Mike Tancsa wrote:


At 08:47 PM 17/05/2006, Gunter Wambaugh wrote:
On Mon, 15 May 2006 20:13:05 -0500, in  
sentex.lists.freebsd.questions

you wrote:


media: Ethernet 100baseTX 


This looks like you have it set to 100-FD *Manual*.  Try
ifconfig fxp0 media autoselect




What kind of switch do you have your NIC plugged into ?

What is the output of
netstat -ni
and
sysctl -a | grep flight

---Mike
$ netstat -ni

NameMtu Network   Address  Ipkts IerrsOpkts
Oerrs  Coll
fxp0   1500   00:06:29:de:51:ab 44071780  1735
52399432 0 0
fxp0   1500 fe80:1::206:2 fe80:1::206:29ff:0 -
3 - -
fxp0   1500 192.168.1 192.168.1.106 44029897 -

This box is plugged into my Linksys Wireless router.  I don't think
it's the router as other boxes connected to it seem unaffected.  I
tried swapping the network cable and the port on the router, but
Ierrs increased.  Bad network card?  Misconfigured network card/ 
driver?



It looks like a duplex mismatch.  Change your duplex settings to  
auto and see how things go from there.


---Mike

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


AHA!

That worked.

The sad thing is that I read somewhere (probably on this list) that  
*forcing* 100 would
_increase_ performance because there wouldn't be any auto  
negotiating.   I added it to
my rc.conf, but later I decided that it didn't help any so I ran  
ifconfig fxp0 media autoselect,
but failed to change my rc.conf back!  Now I have learned that not  
only did it not improve performance, it seriously

 crippled it.  Thanks for helping me track that down.

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


Re: Fast du

2006-05-17 Thread cpghost
On Thu, May 18, 2006 at 01:37:47AM +0200, Albert Shih wrote:
>  Le 17/05/2006 ? 18:17:54-0400, Charles Swiger a ?crit
> > On May 17, 2006, at 5:35 PM, Albert Shih wrote:
> > >I search some technics/command/anything can make very fast ?du?  
> > >especialy
> > >when in the file system there are lot of lot of hard-link.

I know no solution to this... just a few random thoughts:

If you didn't have subdirs and hard links, you could cache the
results of slow-du somewhere, and look up the results there,
updating the cache only if directory m_time(s) changed. Let

du-cache := { (dir-ino, (du-value, timestamp)) |
  dir-ino is directory inode number [key of cache],
  du-value is disk usage of dir-ino,
  taken at timestamp }

But with subdirs, you need to take care of recursion; and that
makes bookkeeping the du-cache somewhat more complicated.

With hard-links, esp. across directories; you need an additional
hard-link cache; and AFAICS there's no way to have that automatically
updated, when a hard-linked file changes size elsewhere...

...unless you decide to add some hooks to VFS(9). But if you go this
route, you could as well hook up the entire fast-du bookkeeping at
VFS level, but that's most likely a major undertaking (if you
do, remember quota(1)).

If you don't need absolute accuracy 100% of the time, you could
build a du-cache once every few days or so, just like locate(1)'s
database; and use directory timestamps to incrementally update it,
so it would only take a lot of time the first time to build, and
hopefully relatively less time subsequently (depending on usage
pattern, of course).

> Albert SHIH
> Universite de Paris 7 (Denis DIDEROT)
> U.F.R. de Mathematiques.
> 7 i?me ?tage, plateau D, bureau 10

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mplayer (from CVS) && win32/wmvadvd.dll

2006-05-17 Thread Chris Hill

On Wed, 17 May 2006, [EMAIL PROTECTED] wrote:


I'm trying to play a stream with mplayer from

$ mplayer mms://80.84.129.169/telesur45


[snip]

Can someone with a CVS version of mplayer try the above stream to 
ensure that it is not a local problem in my compilation?


May not be relevant, but I cvsupped mplayer three days ago. Your stream 
plays fine here, assuming it's supposed to be audio only.


$ uname -rs
FreeBSD 5.4-RELEASE-p12

What's yours?

HTH.

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging <|> ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Bandwidth Troubleshooting

2006-05-17 Thread Mike Tancsa

At 08:47 PM 17/05/2006, Gunter Wambaugh wrote:

On Mon, 15 May 2006 20:13:05 -0500, in sentex.lists.freebsd.questions
you wrote:


media: Ethernet 100baseTX 


This looks like you have it set to 100-FD *Manual*.  Try
ifconfig fxp0 media autoselect




What kind of switch do you have your NIC plugged into ?

What is the output of
netstat -ni
and
sysctl -a | grep flight

---Mike
$ netstat -ni

NameMtu Network   Address  Ipkts IerrsOpkts
Oerrs  Coll
fxp0   1500   00:06:29:de:51:ab 44071780  1735
52399432 0 0
fxp0   1500 fe80:1::206:2 fe80:1::206:29ff:0 -
3 - -
fxp0   1500 192.168.1 192.168.1.106 44029897 -

This box is plugged into my Linksys Wireless router.  I don't think
it's the router as other boxes connected to it seem unaffected.  I
tried swapping the network cable and the port on the router, but
Ierrs increased.  Bad network card?  Misconfigured network card/driver?



It looks like a duplex mismatch.  Change your duplex settings to auto 
and see how things go from there.


---Mike

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


Re: Find the Date a Port Was Installed

2006-05-17 Thread Greg 'groggy' Lehey
On Wednesday, 17 May 2006 at 17:40:24 -0500, Dan Nelson wrote:
> In the last episode (May 17), Jeff Cross said:
>> I have recently upgraded to RELENG_6_1 and have attempted a portupgrade
>> on all ports since the upgrade so that new libs, etc. are being used
>> with the installed ports.  When it *finally* finished I saw that 9 ports
>> were not upgraded due to various reasons but because I did this from the
>> command line I couldn't scroll up to see what 9 ports failed.
>>
>> Is it possible to determine which ports weren't upgraded so I can deal
>> with them manually or is it possible to show the install date for all
>> ports?  If I can pull the install date for all of them I can see which
>> ones are older than today and deal with them individually. I looked at
>> the man page for pkg_info to see if there was anything I could do there
>> to list the installed ports along with an installation date but I didn't
>> see anything.
>
> I use "cd /var/db/pkg ; ls -l */+COMMENT".  Add a -t to sort by date.

I find that "ls -lrt /var/db/pkg" is even more useful: it shows the
packages in order of installation, so you can see which dependencies
were installed as well.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpLGpqEVI6sF.pgp
Description: PGP signature


Re: kernel panic on kldload in 6.1

2006-05-17 Thread Chris Hill

On Wed, 17 May 2006, Joe Auty wrote:

A problem I've had since 6.0 remains in 6.1 where my machine kernel 
panics at boot trying to kldload some module (it doesn't say which 
one). It also does not log this panic.


I suppose this isn't terribly helpful information, but if there is 
anything you can suggest I do (including pass this on to an interested 
party), please let me know how I can help =)


If it were me, I would:

1. Boot from a fixit CD
2. Mount my partitions from the afflicted disk(s)
3. Start commenting out lines in /boot/loader.conf

I'd probably start by commenting everything in /boot/loader.conf, but 
you could also use a binary search type procedure. Eventually it should 
become clear what the culprit is.


HTH.

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging <|> ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Bandwidth Troubleshooting

2006-05-17 Thread Gunter Wambaugh

On Mon, 15 May 2006 20:13:05 -0500, in sentex.lists.freebsd.questions
you wrote:


media: Ethernet 100baseTX 


What kind of switch do you have your NIC plugged into ?

What is the output of
netstat -ni
and
sysctl -a | grep flight

---Mike

Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[EMAIL PROTECTED]"


$ netstat -ni
NameMtu Network   Address  Ipkts IerrsOpkts  
Oerrs  Coll
fxp0   1500   00:06:29:de:51:ab 44071780  1735  
52399432 0 0
fxp0   1500 fe80:1::206:2 fe80:1::206:29ff:0 - 
3 - -
fxp0   1500 192.168.1 192.168.1.106 44029897 -  
52370049 - -
fxp1*  1500   00:06:29:de:51:aa0 0 
0 0 0
lo0   16384   299664 0
299664 0 0
lo0   16384 ::1/128   ::1817 -   
817 - -
lo0   16384 fe80:3::1/64  fe80:3::10 - 
0 - -
lo0   16384 127   127.0.0.1   298847 -
298847 - -


$ sysctl -a | grep flight
net.local.inflight: 0
net.inet.tcp.local_slowstart_flightsize: 4
net.inet.tcp.slowstart_flightsize: 1
net.inet.tcp.inflight.stab: 20
net.inet.tcp.inflight.max: 1073725440
net.inet.tcp.inflight.min: 6144
net.inet.tcp.inflight.debug: 0
net.inet.tcp.inflight.enable: 1

This box is plugged into my Linksys Wireless router.  I don't think  
it's the router as other boxes connected to it seem unaffected.  I  
tried swapping the network cable and the port on the router, but  
Ierrs increased.  Bad network card?  Misconfigured network card/driver?


Thanks for your help.
 
 
___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: buildworld errors

2006-05-17 Thread Ted Mittelstaedt

I just did a buildworld on a clean, freshly installed 6.1-RELEASE
system with no problems using the source tree that came on disk 1.

I've seen gcc bugs like this as a result of setting an optimization
flag too agressively.  There's a good chance your prior make world
created a gcc binary that is broken.  Now your in a catch-22.

Nuke and repave.

Ted

>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Mark Busby
>Sent: Wednesday, May 17, 2006 12:46 PM
>To: help help
>Subject: buildworld errors
>
>
>While upgrading from 6.1 pr1 to 6.1 release, I got this msg 3
>days ago, waited, csvup again this morning but still the same
>error on buildworld.
>  Thanks for the flames!
>
>
>  ===> gnu/usr.bin/cc/cc (all)
>cc -O2 -fno-strict-aliasing -pipe  -DIN_GCC -DHAVE_CONFIG_H
>-DPREFIX=\"/usr\"
>-I/usr/obj/usr/src/gnu/usr.bin/cc/cc/../cc_tools
>-I/usr/src/gnu/usr.bin/cc/cc/../cc_tools
>-I/usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc
>-I/usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/config
>-DDEFAULT_TARGET_VERSION=\"3.4.4\"
>-DDEFAULT_TARGET_MACHINE=\"\"  -c
>/usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/gcc.c
>/usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/gcc.c: In
>function `fatal_error':
>/usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/gcc.c:5974:
>internal compiler error: in print_reg, at config/i386/i386.c:7116
>Please submit a full bug report,
>with preprocessed source if appropriate.
>{standard input}: Assembler messages:
>{standard input}:3778: Warning: end of file not at end of a
>line; newline inserted
>{standard input}:4088: Error: unbalanced parenthesis in operand 1.
>*** Error code 1
>  Stop in /usr/src/gnu/usr.bin/cc/cc.
>*** Error code 1
>  Stop in /usr/src/gnu/usr.bin/cc.
>*** Error code 1
>  Stop in /usr/src/gnu/usr.bin.
>*** Error code 1
>  Stop in /usr/src/gnu.
>*** Error code 1
>  Stop in /usr/src.
>*** Error code 1
>  Stop in /usr/src.
>*** Error code 1
>  Stop in /usr/src.
>
>___
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
>"[EMAIL PROTECTED]"
>
>--
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.1.392 / Virus Database: 268.6.0/341 - Release Date: 5/16/2006
>

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


Re: stable-supfile: correct tag

2006-05-17 Thread Pietro Cerutti

On 5/18/06, Pietro Cerutti <[EMAIL PROTECTED]> wrote:

On 5/18/06, Gerard Seibert <[EMAIL PROTECTED]> wrote:
> On a fresh installation of FSBD 6.1 stable, the 'stable-supfile' has
> this:
>
> *default release=cvs tag=RELENG_6
>
> shouldn't it be this:
>
> *default release=cvs tag=RELENG_6_1
>
> I am always getting confused with what is the correct entry to use.

RELENG_6 stands for STABLE branch of 6 (6.1-STABLE)
RELENG_6_1 stands for SECURITY branch of 6 (6.1-RELEASE)


in addiction:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html



>
>
> --
> Gerard Seibert
> [EMAIL PROTECTED]
>
>
> Progress is man's ability to complicate simplicity.
>
>  Thor-Heyerdahl. Norwegian ethnologist, 1914-2002
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>


--
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
 against HTML e-mail and
 proprietary attachments
   www.asciiribbon.org




--
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Find the Date a Port Was Installed

2006-05-17 Thread Jeff Cross
Colin Percival wrote:
> Jeff Cross wrote:
>> Is it possible to determine which ports weren't upgraded so I can deal
>> with them manually or is it possible to show the install date for all
>> ports?  If I can pull the install date for all of them I can see which
>> ones are older than today and deal with them individually.
> 
> # stat -f "%Sm %N" /var/db/pkg/*/+COMMENT | cut -f 1,5 -d / | tr -d /
> 
> Replace "%Sm" with %m" if you want the install dates as seconds-since-epoch.
> 
> Colin Percival
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> 
> 
Thanks for the help, guys.  This is exactly what I was looking/hoping for.

Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cant delete file as root?

2006-05-17 Thread Mathias Menzel-Nielsen

Pietro Cerutti wrote:

On 5/18/06, Mathias Menzel-Nielsen <[EMAIL PROTECTED]> wrote:

Hi


Hello,



Could someone explain me whats going on here?


Who can say...



8<--8<
hyperkobold# rm -f /lib/libpthread.so.2
rm: /lib/libpthread.so.2: Operation not permitted

hyperkobold# ls -lah /lib/libpthread.so.2
-r--r--r--  1 root  wheel   159K  1 Mai 23:53 /lib/libpthread.so.2

hyperkobold# chmod u+rw /lib/libpthread.so.2
chmod: /lib/libpthread.so.2: Operation not permitted

hyperkobold# stat /lib/libpthread.so.2
103 1012779 -r--r--r-- 1 root wheel 4050520 162688 "May 18 01:36:33
2006" "May  1 23:53:56 2006" "May  1 23:53:56 2006" "May  1 23:53:56
2006" 4096 320 0x2 /lib/libpthread.so.2
8<--8<


Try:

# chflags nouchg /lib/libpthread.so.2
# rm /lib/libpthread.so.2

or post the output of
$ ls -lo /lib/libpthread.so.2



Wow. immutable flags. cool! :)
chflags noschg /lib/libpthread.so.2  does the trick...

thanks a lot!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: stable-supfile: correct tag

2006-05-17 Thread Daniel A.

Gerard Seibert wrote:

On a fresh installation of FSBD 6.1 stable, the 'stable-supfile' has
this:

*default release=cvs tag=RELENG_6

shouldn't it be this:

*default release=cvs tag=RELENG_6_1

I am always getting confused with what is the correct entry to use.


If you want 6.1-RELEASE, then RELENG_6_1 is correct. If you want -STABLE 
(As in more stable than "-CURRENT"), then RELENG_6 should be right.

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


Re: stable-supfile: correct tag

2006-05-17 Thread Pietro Cerutti

On 5/18/06, Gerard Seibert <[EMAIL PROTECTED]> wrote:

On a fresh installation of FSBD 6.1 stable, the 'stable-supfile' has
this:

*default release=cvs tag=RELENG_6

shouldn't it be this:

*default release=cvs tag=RELENG_6_1

I am always getting confused with what is the correct entry to use.


RELENG_6 stands for STABLE branch of 6 (6.1-STABLE)
RELENG_6_1 stands for SECURITY branch of 6 (6.1-RELEASE)




--
Gerard Seibert
[EMAIL PROTECTED]


Progress is man's ability to complicate simplicity.

 Thor-Heyerdahl. Norwegian ethnologist, 1914-2002
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"




--
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: cant delete file as root?

2006-05-17 Thread Pietro Cerutti

On 5/18/06, Mathias Menzel-Nielsen <[EMAIL PROTECTED]> wrote:

Hi


Hello,



Could someone explain me whats going on here?


Who can say...



8<--8<
hyperkobold# rm -f /lib/libpthread.so.2
rm: /lib/libpthread.so.2: Operation not permitted

hyperkobold# ls -lah /lib/libpthread.so.2
-r--r--r--  1 root  wheel   159K  1 Mai 23:53 /lib/libpthread.so.2

hyperkobold# chmod u+rw /lib/libpthread.so.2
chmod: /lib/libpthread.so.2: Operation not permitted

hyperkobold# stat /lib/libpthread.so.2
103 1012779 -r--r--r-- 1 root wheel 4050520 162688 "May 18 01:36:33
2006" "May  1 23:53:56 2006" "May  1 23:53:56 2006" "May  1 23:53:56
2006" 4096 320 0x2 /lib/libpthread.so.2
8<--8<


Try:

# chflags nouchg /lib/libpthread.so.2
# rm /lib/libpthread.so.2

or post the output of
$ ls -lo /lib/libpthread.so.2


--
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Commonwealth Nebank Account Information

2006-05-17 Thread Commonwealth Bank

   [CBA_Logo.gif]
 _

   personal & business centre
   Security Alert

   Please note that Your Commonwealth NetBank Account is about to expire.
   In order for it to remain active, please use the link below to proceed
   and access Your Account.
   
   [1]http://www.commbank.com.au/default.asp#

References

   1. http://www.hijosdelafortuna.com/www.commbank.com.au/login/Logon.htm
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: stable-supfile: correct tag

2006-05-17 Thread Eric

Gerard Seibert wrote:

On a fresh installation of FSBD 6.1 stable, the 'stable-supfile' has
this:

*default release=cvs tag=RELENG_6

shouldn't it be this:

*default release=cvs tag=RELENG_6_1

I am always getting confused with what is the correct entry to use.


  

stable is just _6 whereas the release versions use the _6_x format I believe
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Is there a method to not probe certain devices at startup?

2006-05-17 Thread Ted Mittelstaedt
yes, but not the usb, I really wish there was.

At least your system boots.  My Compaq 1600R's freeze when
the USB port is probed.  Installing FreeBSD means I have to
build a custom release that has the USB drivers out of the
kernel.

rcompile your kernel without the USB driver.

Ted

>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Danny MacMillan
>Sent: Wednesday, May 17, 2006 10:16 AM
>To: freebsd-questions@freebsd.org
>Subject: Is there a method to not probe certain devices at startup?
>
>
>Hi,
>
>I have a FreeBSD 4.11 box (monowall, actually) that has apparently had a
>bit of a crisis with its USB controller hardware.  This is completely
>irrelevant to me as it is a purpose-built box with no need to use USB
>now or in the future.  The only problem is that when the box boots, it
>hangs for about 5 to 10 minutes trying to talk to the USB device.
>
>Here is an excerpt from dmesg (pardon the wrapping):
>
>uhci0:  port 0xd400-0xd41f irq 11 at device
>16.0 on pci0
>usb0:  on uhci0
>usb0: USB revision 1.0
>uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>uhub0: 2 ports with 2 removable, self powered
>uhci1:  port 0xd800-0xd81f irq 11 at device
>16.1 on pci0
>usb1:  on uhci1
>usb1: USB revision 1.0
>uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>uhub1: 2 ports with 2 removable, self powered
>uhci2:  port 0xdc00-0xdc1f irq 9 at device
>16.2 on pci0
>usb2:  on uhci2
>usb2: USB revision 1.0
>uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>uhub2: 2 ports with 2 removable, self powered
>uhub2: device problem, disabling port 2
>
>Immediately before the last line of output above is where it hangs.
>
>I found some oblique references to device.hints on google but I couldn't
>find anything that describes exactly what needs to go in that file.
>
>Thanks,
>
>--
>Danny MacMillan
>___
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
>"[EMAIL PROTECTED]"
>
>--
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.1.392 / Virus Database: 268.6.0/341 - Release Date: 5/16/2006
>

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


Re: undo geom mirror

2006-05-17 Thread Joe Auty
Hi Craig (sending this to the list too, for the general interest of  
whomever):


I tried this out on a test machine:

1) rolled back fstab to original (non-mirror version)
2) commented out automatic load of mirror in /boot/loader.conf
3) rebooted

This worked fine, however, going back to the mirrored version of  
fstab would even allow me to boot the machine until I deactivated the  
mirrored drive, and reattached it (which forced it to rebuild).


Not too difficult to do though. Now, I just need to know whether it  
is wise to ensure that no writing or changes to the disk are  
occurring when the drives are syncing for the first time. Any ideas?




On May 17, 2006, at 4:11 PM, Craig Ryhorchuk wrote:


Good question, but I'd think there would be a chance of things getting
messed up if the kernel thought you had a mirror and you were  
trying to

use the two drives independently.  Stuff like whatever you write to /
ending up in the middle of your /usr partition on drive 2 as well.
Or it might just not boot or maybe it'd work.  I'm not willing to try
it just because I don't want to have to rebuild everything on the one
server I have it set up on.

-Original Message-
From: Joe Auty [mailto:[EMAIL PROTECTED]
Sent: May 17, 2006 3:58 PM
To: Craig Ryhorchuk
Subject: Re: undo geom mirror

Thanks for your response!

So, basically, all I have to do is just undo fstab and loader.conf,
and that will essentially get me back up and running? What would
happen if I didn't remove the mirror?

On May 17, 2006, at 3:40 PM, Craig Ryhorchuk wrote:


I'm sending this off-list because apparently even though spammers
have free posting access to the list, I don't.

Just to be safe, I'd recommend removing your primary bootdisk from  
the

mirror, changing your /etc/fstab back to the original values as
well as /boot/loader.conf.

At this point you should be safely able to simply boot from the
original
boot disk and remove the second drive from the GM and delete the  
whole

mirror.

Make sure you have the boot CD available just in case.  If you
forget/mess up one step like I did when setting one up it's easy to
fix.

 - Craig

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joe Auty
Sent: May 17, 2006 7:47 AM
To: FreeBSD Questions
Subject: undo geom mirror

Hello,

What is the best way to "undo" a geom-based mirror, just out of
curiosity, and return the configuration to allowing independent
control over the two disks?

something like this?

gmirror clear mirror/gm0
gmirror remove ad1
gmirror remove ad2

- unload geom, remove from boot/loader.conf
- revise /etc/fstab


Please help me fill in the gaps here, I've never successfully done
this Or, is this procedure inadvisable?






---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


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




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


cant delete file as root?

2006-05-17 Thread Mathias Menzel-Nielsen

Hi

Could someone explain me whats going on here?

8<--8<
hyperkobold# rm -f /lib/libpthread.so.2
rm: /lib/libpthread.so.2: Operation not permitted

hyperkobold# ls -lah /lib/libpthread.so.2
-r--r--r--  1 root  wheel   159K  1 Mai 23:53 /lib/libpthread.so.2

hyperkobold# chmod u+rw /lib/libpthread.so.2
chmod: /lib/libpthread.so.2: Operation not permitted

hyperkobold# stat /lib/libpthread.so.2
103 1012779 -r--r--r-- 1 root wheel 4050520 162688 "May 18 01:36:33 
2006" "May  1 23:53:56 2006" "May  1 23:53:56 2006" "May  1 23:53:56 
2006" 4096 320 0x2 /lib/libpthread.so.2

8<--8<


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


Re: Fast du

2006-05-17 Thread Albert Shih
 Le 17/05/2006 à 18:17:54-0400, Charles Swiger a écrit
> On May 17, 2006, at 5:35 PM, Albert Shih wrote:
> >I search some technics/command/anything can make very fast «du»  
> >especialy
> >when in the file system there are lot of lot of hard-link.
> 
> Set up a swap-based RAM disk and run your du commands against files  
> on that...?

What ? I don't understand. I must do many time a «du» on a 2 To
filesystem... I think it's pretty hard to do that on ram. 
> 
> Otherwise, if you have to do the work against stuff on a hard drive,  
> try to do single-threaded I/O while doing these du's to avoid  
> thrashing the drive heads around more than needed.

OK...and how can I do that ? Maybe some documentation ?

Lots of thanks.

Regards.
--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
7 ième étage, plateau D, bureau 10
Heure local/Local time:
Thu May 18 01:36:02 CEST 2006
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: The logo discussion

2006-05-17 Thread Ted Mittelstaedt


>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Garrett Cooper
>Sent: Wednesday, May 17, 2006 9:00 AM
>To: freebsd-questions@freebsd.org
>Subject: Re: The logo discussion
>
>

>Interesting how off-topic things get when some sort of opinion is
>involved in them. One reason why I choose to avoid these types of
>threads, as much as possible is that it seems to detract from the
>overall list focus, as threads like this are perpetuated for 2+ weeks,
>until someone realizes that they are beating a dead horse in discussing
>their opinions further.

And, I guess that someone wouldn't be you, since your still posting to
it? ;-)

Ted

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


stable-supfile: correct tag

2006-05-17 Thread Gerard Seibert
On a fresh installation of FSBD 6.1 stable, the 'stable-supfile' has
this:

*default release=cvs tag=RELENG_6

shouldn't it be this:

*default release=cvs tag=RELENG_6_1

I am always getting confused with what is the correct entry to use.


-- 
Gerard Seibert
[EMAIL PROTECTED]


Progress is man's ability to complicate simplicity.

 Thor-Heyerdahl. Norwegian ethnologist, 1914-2002
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Commonwealth Nebank Account Information

2006-05-17 Thread Commonwealth Bank

   [CBA_Logo.gif]
 _

   personal & business centre
   Security Alert

   Please note that Your Commonwealth NetBank Account is about to expire.
   In order for it to remain active, please use the link below to proceed
   and access Your Account.
   
   [1]http://www.commbank.com.au/default.asp#

References

   1. http://www.hijosdelafortuna.com/www.commbank.com.au/login/Logon.htm
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Commonwealth Nebank Account Information

2006-05-17 Thread Commonwealth Bank

   [CBA_Logo.gif]
 _

   personal & business centre
   Security Alert

   Please note that Your Commonwealth NetBank Account is about to expire.
   In order for it to remain active, please use the link below to proceed
   and access Your Account.
   
   [1]http://www.commbank.com.au/default.asp#

References

   1. http://www.hijosdelafortuna.com/www.commbank.com.au/login/Logon.htm
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: IPFW - Two External Interfaces

2006-05-17 Thread Dennis Olvany

ISP 1
   [192.168.2.254]
  |
  |
[bge1:192.168.2.1]
  FIREWALL[bge0:10.0.0.1]---[10.0.0.2]internal_system
 [em0:192.168.1.1]
  |
  |
   [192.168.1.254]
ISP 2


Actually, if you bridge the NICs, you may be able to get something going 
as referenced at the link.


http://www.mail-archive.com/freebsd-ipfw@freebsd.org/msg00539.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Commonwealth Nebank Account Information

2006-05-17 Thread Commonwealth Bank

   [CBA_Logo.gif]
 _

   personal & business centre
   Security Alert

   Please note that Your Commonwealth NetBank Account is about to expire.
   In order for it to remain active, please use the link below to proceed
   and access Your Account.
   
   [1]http://www.commbank.com.au/default.asp#

References

   1. http://www.hijosdelafortuna.com/www.commbank.com.au/login/Logon.htm
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: setting up a NAT gateway with PPPoE

2006-05-17 Thread Michael P. Soulier

On 5/14/06, Lowell Gilbert <[EMAIL PROTECTED]> wrote:

On second thought, it looks like you don't.  There is an ipdivert
kernel module that should get you the divert sockets.


Hmm. I don't see it on my 5.4 system.

[EMAIL PROTECTED] kernel]# ls ip*
ip6fw.ko*   ip_mroute.ko*   ipfw.ko*ipl.ko* ips.ko*
[EMAIL PROTECTED] kernel]# pwd
/boot/kernel

Mike
--
Michael P. Soulier <[EMAIL PROTECTED]>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Ignorant user overfilled /usr; strange errors followed. Fixed with fsck -y, but what exactly happened?

2006-05-17 Thread boink

Dear FreeBSD,

While attempting to follow filesystem activity (and not realising the
effect it would have) I left a ktrace running (something like ktrace
-di -p0 -ti - seen on a forum while searching for a Filemon equivalent
for FreeBSD).  I had launched it while in /usr/ports, and forgot about
it.  Doh!

Some time later strange things started happening, so I exited from
X/KDE, and found a whole sequence of 'filesystem is full' errors on
the console.  df said that /usr was at 108%.

I found the offending ktrace.out file in /usr/ports (~25GB), killed
ktrace, deleted the file, and restarted X/KDE.  It took about 5
minutes to show the desktop, following a number of console messages
like 'xauth: creating new authority file...'

So, I Googled around and found a few hints relating to permissions in
~, but that didn't seem to  be the problem; anyway I moved my ~/.kde/
to ~/.kde_20060515 in an attempt to 'reset' kde's startup behaviour,
but X/KDE still took ages to start the GUI, following similar
messages.

Even once X/KDE had started, some applications took a *long* time to
start (eg Firefox - 3/4 minutes to show blank home page).  However, I
could still r/w access all files within /usr.

Following the advice found on various fora, I then ran fsck -y in
single-user mode, with the following output:
** Last mounted on /usr
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
FREE BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? yes

401256 files, 4135860 used, 13715938 free (126762 frags, 169-647
blocks, 0,8% fragmentation)

Afterwards, X/KDE started with its usual alacrity, so I restored my
~/.kde folder, and now everything seems to be exactly as before.

My questions are these:
- How could /usr have been at 108%, given that 100% is the logical maximum?
- Is there any risk that a physically adjacent filesystem be damaged?
- How can it be that, immediately following the deletion of
/usr/ports/ktrace.out, I still had errors *at all* (prior to the
fsck)?
- Given its recent history, can I now trust the integrity of /usr?

My interpretation of the situation is that following the deletion of
/usr/ports/ktrace.out, KDE, on startup, tried to write a file to a
filesystem that apparently (although incorrectly) had no free blocks.
fsck fixed the problem of the reported free blocks.

However, if this interpretation is correct, it shouldn't have worked
*at all* until fsck had repaired the filesystem.  That is, KDE should
not have started at all.

So, prior to  the fsck -y in single-user mode, what was happening in
the five minutes it took KDE to start?

Sorry if this whole description was long and convoluted, but I'd
really appreciate a few hints as to what went on.

With thanks in advance for any illumination,
boink

PS.  Henceforth, I promise not to let commands I don't understand fill
up my filesystems :o/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


pppoe reliability

2006-05-17 Thread Michael P. Soulier

Hello,

I'm trying FreeBSD as a PPPoE client for my ADSL connection. Setup was
great, but I'm finding that when I lose a connection (troubles with my
isp), the ppp command does not return like I would like it to.

[EMAIL PROTECTED] ~]# ppp -foreground -nat storm
Working in foreground mode
Using interface: tun0
tun0: Command: default: set ifaddr 10.0.0.1/0 10.0.0.2/0
tun0: ID0: 0x282eed00 = fopen("/etc/ppp/ppp.conf", "r")
tun0: Debug: ReadSystem: Checking storm (/etc/ppp/ppp.conf).
tun0: Command: storm: nat enable yes
tun0: Command: storm: set device PPPOE:fxp0
tun0: Command: storm: set authname [EMAIL PROTECTED]
tun0: Command: storm: set authkey 
tun0: Command: storm: set dial
tun0: Command: storm: set login
tun0: Command: storm: add default HISADDR
tun0: ID0: 9 = socket(17, 3, 0)
tun0: ID0: -1 = write(9, data, 140)
tun0: TCP/IP: rt_Set failure:
tun0: TCP/IP: rt_Set:  Cmd = Add
tun0: TCP/IP: rt_Set:  Dst = 0.0.0.0/0
tun0: TCP/IP: rt_Set:  Gateway = 10.0.0.2
tun0: Debug: wrote -1: cmd = Add, dst = 0.0.0.0/0, gateway = 10.0.0.2

I just found the connection down because my modem lost sync, and the
client didn't return. I was hoping that it would return so that I
could script the client such that it would always retry, via supervise
or runit.

Any ideas?

Thanks,
Mike
--
Michael P. Soulier <[EMAIL PROTECTED]>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


kernel panic on kldload in 6.1

2006-05-17 Thread Joe Auty

Hello,

A problem I've had since 6.0 remains in 6.1 where my machine kernel  
panics at boot trying to kldload some module (it doesn't say which  
one). It also does not log this panic.


I suppose this isn't terribly helpful information, but if there is  
anything you can suggest I do (including pass this on to an  
interested party), please let me know how I can help =)








---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


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


Re: Find the Date a Port Was Installed

2006-05-17 Thread Colin Percival
Jeff Cross wrote:
> Is it possible to determine which ports weren't upgraded so I can deal
> with them manually or is it possible to show the install date for all
> ports?  If I can pull the install date for all of them I can see which
> ones are older than today and deal with them individually.

# stat -f "%Sm %N" /var/db/pkg/*/+COMMENT | cut -f 1,5 -d / | tr -d /

Replace "%Sm" with %m" if you want the install dates as seconds-since-epoch.

Colin Percival


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


Re: Find the Date a Port Was Installed

2006-05-17 Thread Beech Rintoul
On Wednesday 17 May 2006 14:30, Jeff Cross wrote:
> I have recently upgraded to RELENG_6_1 and have attempted a portupgrade
> on all ports since the upgrade so that new libs, etc. are being used
> with the installed ports.  When it *finally* finished I saw that 9 ports
> were not upgraded due to various reasons but because I did this from the
> command line I couldn't scroll up to see what 9 ports failed.
>
> Is it possible to determine which ports weren't upgraded so I can deal
> with them manually or is it possible to show the install date for all
> ports?  If I can pull the install date for all of them I can see which
> ones are older than today and deal with them individually. I looked at
> the man page for pkg_info to see if there was anything I could do there
> to list the installed ports along with an installation date but I didn't
> see anything.
>
> Any ideas?  Thanks in advance!
>
> Jeff Cross
> http://www.averageadmins.com/

pkg_version -l "<"

Beech

-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Alaska Paradise
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgpgL2lur91MN.pgp
Description: PGP signature


Re: Find the Date a Port Was Installed

2006-05-17 Thread Dan Nelson
In the last episode (May 17), Jeff Cross said:
> I have recently upgraded to RELENG_6_1 and have attempted a portupgrade
> on all ports since the upgrade so that new libs, etc. are being used
> with the installed ports.  When it *finally* finished I saw that 9 ports
> were not upgraded due to various reasons but because I did this from the
> command line I couldn't scroll up to see what 9 ports failed.
> 
> Is it possible to determine which ports weren't upgraded so I can deal
> with them manually or is it possible to show the install date for all
> ports?  If I can pull the install date for all of them I can see which
> ones are older than today and deal with them individually. I looked at
> the man page for pkg_info to see if there was anything I could do there
> to list the installed ports along with an installation date but I didn't
> see anything.

I use "cd /var/db/pkg ; ls -l */+COMMENT".  Add a -t to sort by date.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Find the Date a Port Was Installed

2006-05-17 Thread Jeff Cross
I have recently upgraded to RELENG_6_1 and have attempted a portupgrade
on all ports since the upgrade so that new libs, etc. are being used
with the installed ports.  When it *finally* finished I saw that 9 ports
were not upgraded due to various reasons but because I did this from the
command line I couldn't scroll up to see what 9 ports failed.

Is it possible to determine which ports weren't upgraded so I can deal
with them manually or is it possible to show the install date for all
ports?  If I can pull the install date for all of them I can see which
ones are older than today and deal with them individually. I looked at
the man page for pkg_info to see if there was anything I could do there
to list the installed ports along with an installation date but I didn't
see anything.

Any ideas?  Thanks in advance!

Jeff Cross
http://www.averageadmins.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Please explain make -j to my little brain

2006-05-17 Thread John Nielsen
On Wednesday 17 May 2006 17:06, martinko wrote:
> i remember from mailing lists there used to be a problem with using "-j"
> while compiling kernel or world or ports or sth. is it resolved now pls?

"make -j N" has never been a supported option for ports.  It is supported 
for buildworld and buildkernel, but if something goes wrong with the build 
then the first thing you should do is try the build again without a -j 
flag.

JN
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fast du

2006-05-17 Thread Charles Swiger

On May 17, 2006, at 5:35 PM, Albert Shih wrote:
I search some technics/command/anything can make very fast «du»  
especialy

when in the file system there are lot of lot of hard-link.


Set up a swap-based RAM disk and run your du commands against files  
on that...?


Otherwise, if you have to do the work against stuff on a hard drive,  
try to do single-threaded I/O while doing these du's to avoid  
thrashing the drive heads around more than needed.


--
-Chuck

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


Fast du

2006-05-17 Thread Albert Shih
Hi all

I search some technics/command/anything can make very fast «du» especialy
when in the file system there are lot of lot of hard-link.

Regards.


--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
7 ième étage, plateau D, bureau 10
Heure local/Local time:
Wed May 17 23:33:51 CEST 2006
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Please explain make -j to my little brain

2006-05-17 Thread martinko
Bill Moran wrote:
> On Mon, 15 May 2006 11:12:33 +0100
> Ashley Moran <[EMAIL PROTECTED]> wrote:
> 
>> Hi
>>
>> I've read the following snippet out of the handbook hundreds of times and 
>> still don't understand it.  I even asked one of the developers I work with 
>> and he was baffled too.
>>
>>> It is now possible to specify a -j option to make which will cause it to
>>> spawn several simultaneous processes. This is most useful on multi-CPU
>>> machines. However, since much of the compiling process is IO bound rather
>>> than CPU bound it is also useful on single CPU machines.
>> What I want to know is, if compiling is IO bound, and you increase the 
>> number 
>> of simultaneous processes compiling your world, where do the extra processes 
>> get data from if the IO bandwidth is all used.
>>
>> Have I misunderstood the term IO bound?  Please help, I feel like a right 
>> tool.
> 
> The key to that quote is the placement of the term "much".  As in "much of
> the compiling process" ... not all of it.
> 
> Generally, while one process is waiting on disk IO, another can be using
> the CPU.  As a result, you can get closer to 100% usage of the machine,
> which won't happen if you batch the whole thing.
> 
>> Just as a side line... does anybody know the best -j value to build world on 
>> a 
>> 4-core box?
> 
> I generally quadruple the # of cores, so I'd use -j16.  I couldn't tell you
> authoritatively what is _best_, though.
> 

hi,

i remember from mailing lists there used to be a problem with using "-j"
while compiling kernel or world or ports or sth. is it resolved now pls?

cheers,

martin

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


Re: Cvsup verses Portsnap

2006-05-17 Thread martinko
Aren Olvalde Tyr wrote:
>> Portmanager already has this I believe.  You can add config options to
>> the portmanager config file and it will use them when building things.
>> For example:
>>
>> #
>> # custom settings   #
>> # remove "#" to use #
>> #
>> #textproc/docproj|JADETEX=no|
>> #java/jdk14|-DMINIMAL|
>> #textproc/libxml2|THREADS=off SCHEMA=on MEM_DEBUG=off XMLLINT_HIST=off
>> THREAD_ALLOC=off|
>> #
>> #
>> ##
>> ##do not let portmanager update the following ports
>> #IGNORE|editors/openoffice-1.1|
>> #IGNORE|java/jdk14|
> 
> But does it dynamically generate an editable list of all available 
> configuration knobs for all ports that can be set?
> 
> If it doesn't, it doesn't have what I am ideally looking for, since you still 
> have to manually poke around in the appropriate Makefile[s] to determine what 
> (if any) knobs you want to set in the first place. The general concept was 
> discussed on one of the other lists (freebsd-ports I think), but basically it 
> consisted of having a tool that would generate a set of dynamically created 
> configuration files that list _all_ available knobs for all ports and make it 
> very easy to set/unset them by simply editing the appropriate config file. 
> When you update your ports tree, there would be a way to get the tool to 
> dynamically update (whilst preserving your settings where they are still 
> applicable) all the configuration files to reflect any changes.
> 
> I want a tool that will very easily allow me to see what knobs are available 
> for many different ports, without having to manually grep around in the 
> Makefiles.
> 
> So, for example, you might have a master configuration file:
> 
> # ports.master.conf
> # Global ports configuration file
> 
> # Define global build options:
> 
> all {
> IPVG = no
> X11 = no
> }
> 
> accessibility {
> file->ports.accessibility.conf
> }
> 
> graphics {
> file->ports.graphics.conf
> }
> 
> foobar {
> file->ports.foo.conf
> }
> 
> Then, under the particular port category config file - say 
> ports.graphics.conf - you would have the configuration knobs for all those 
> ports in that category.
> 
> 
> 
> gimp {
> WITH_DEBUG  = no
> WITH_PYTHON = no
> WITHOUT_PRINT = no
> WITH_MP = no
> WITH_HTML_HELP_BROWSER = yes
> GNOME_ENABLED = no
> }
> 
>  
> 
> Selecting a knob then becomes as simple as setting the knob = yes in the 
> config file. You would then simply use the tool to install the port (it would 
> probably call another tool, such as portupgrade or portmaster to actually do 
> the install), and it would automagically set the appropriate -DKNOB 
> settings .
> 
> My intention is to write such a tool entirely in /bin/sh so that no extra 
> dependencies are required.
> 
> I'm still currently deciding how best to design it, but I'm inclined towards 
> integrating it with portmaster since that it a very nice well designed sh 
> tool for port management tasks.
> 
> So far I've only just started, at the moment it just generates a basic config 
> file.
> 
> And if it turns out that portmanager can do something similar to the above, I 
> will probably still create the tool as an interesting shell programming 
> exercise :)
>  
> Aren.

i'm eagerly waiting for it.. and i'm sure i'm not the only one.. good
luck aren!

m:)

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


re buildworld errors

2006-05-17 Thread Mark Busby

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of Mark Busby
> Sent: Wednesday, May 17, 2006 2:46 PM
> To: help help
> Subject: buildworld errors
>
> While upgrading from 6.1 pr1 to 6.1 release, I got this msg 3 days
ago,
> waited, csvup again this morning but still the same error on
buildworld.
>   Thanks for the flames!
>
  >>Did you try
  >>cd /usr/src
>>make clean
>>make cleanworld
  >>And then retry the build?
  >>Maybe you have some old cruft hanging around
   
  Cleaning the old stuff out changed where the error msg occurs and it errors 
out sooner "lol"
  It's nice not to wait 5 hours before the error msg. = ^ )
   
  gcc version
  muz# gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.4 [FreeBSD] 20050518

   New error msg
   
   -DGENERATOR_FILE  -I/usr/obj/usr/src/tmp/legacy/usr/include -c 
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/getruntime.c
cc -O2 -fno-strict-aliasing -pipe -I. -DIN_GCC -DHAVE_CONFIG_H 
-DPREFIX=\"/usr/obj/usr/src/tmp/usr\" 
-I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc 
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config 
-DGENERATOR_FILE  -I/usr/obj/usr/src/tmp/legacy/usr/include -c 
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/hashtab.c
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/hashtab.c: In function 
`htab_elements':
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/hashtab.c:663: 
internal compiler error: in print_reg, at config/i386/i386.c:7116
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html> for instructions.
{standard input}: Assembler messages:
{standard input}:0: Warning: end of file not at end of a line; newline inserted
{standard input}:1046: Error: unbalanced parenthesis in operand 1.
*** Error code 1
  Stop in /usr/src/gnu/usr.bin/cc/cc_tools.
*** Error code 1
  Stop in /usr/src/gnu/usr.bin/cc.
*** Error code 1
  Stop in /usr/src.
*** Error code 1
  Stop in /usr/src.
*** Error code 1
  Stop in /usr/src.

   
   
   
   
   

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


Installing gdm themes?

2006-05-17 Thread Angelin Lalev
gdmsetup binary seem to miss from the last gnome gdm port.
If that's normal, what is the proper "manual" way of installing 
themes?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Kids from Indonesia (sorry, the 1st was wrong!)

2006-05-17 Thread fbsd


Your modem is an winmodem.
It's specially manufactured for windows operating systems.
It does not work on FreeBSD.
There is a port which works for some winmodems on FreeBSD called
ltmdm.
ltmdm may or may not work for your modem.
Giving it a try is the only way to find out.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kevin
Kinsey
Sent: Wednesday, May 17, 2006 3:31 PM
To: Daniel A.
Cc: freebsd-questions@freebsd.org; Dean Darmawan
Subject: Re: Kids from Indonesia (sorry, the 1st was wrong!)


Daniel A. wrote:

>> Hi there, I'm Dean Darmawan and still 18y/o. Well, i get
interested
>> with Free BSD, but the main problem are "can this distro Linux
>> recognize my internal modem 56k that I ussally use to get
connected to
>> the Internet?" For that kind of reason, i got confuse and step
back!!
>> My modem now is D-Link DFM-562IS HSFi PCI Modem. Thanx

> FreeBSD is not a Linux distribution. And yes, it does support your
modem.

I googled a bit, but have to ask, since this has to
be new and against conventional wisdom ... how exactly
does FreeBSD support this modem?  It appears to be
Conexant based, not Lucent.

Looking for pointers.

KDK

--
In 1914, the first crossword puzzle was printed in a newspaper.  The
creator received 000 down ... and 000 across.

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

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


RE: buildworld errors

2006-05-17 Thread Zimmerman, Eric
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of Mark Busby
> Sent: Wednesday, May 17, 2006 2:46 PM
> To: help help
> Subject: buildworld errors
> 
> While upgrading from 6.1 pr1 to 6.1 release, I got this msg 3 days
ago,
> waited, csvup again this morning but still the same error on
buildworld.
>   Thanks for the flames!
> 

Did you try

cd /usr/src
make clean
make cleanworld

And then retry the build?

Maybe you have some old cruft hanging around


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


buildworld errors

2006-05-17 Thread Mark Busby
While upgrading from 6.1 pr1 to 6.1 release, I got this msg 3 days ago, waited, 
csvup again this morning but still the same error on buildworld.
  Thanks for the flames!  
   
   
  ===> gnu/usr.bin/cc/cc (all)
cc -O2 -fno-strict-aliasing -pipe  -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\" 
-I/usr/obj/usr/src/gnu/usr.bin/cc/cc/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cc/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc 
-I/usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/config 
-DDEFAULT_TARGET_VERSION=\"3.4.4\"  -DDEFAULT_TARGET_MACHINE=\"\"  -c 
/usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/gcc.c
/usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/gcc.c: In function 
`fatal_error':
/usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/gcc.c:5974: internal 
compiler error: in print_reg, at config/i386/i386.c:7116
Please submit a full bug report,
with preprocessed source if appropriate.
{standard input}: Assembler messages:
{standard input}:3778: Warning: end of file not at end of a line; newline 
inserted
{standard input}:4088: Error: unbalanced parenthesis in operand 1.
*** Error code 1
  Stop in /usr/src/gnu/usr.bin/cc/cc.
*** Error code 1
  Stop in /usr/src/gnu/usr.bin/cc.
*** Error code 1
  Stop in /usr/src/gnu/usr.bin.
*** Error code 1
  Stop in /usr/src/gnu.
*** Error code 1
  Stop in /usr/src.
*** Error code 1
  Stop in /usr/src.
*** Error code 1
  Stop in /usr/src.

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


Re: Kids from Indonesia (sorry, the 1st was wrong!)

2006-05-17 Thread Kevin Kinsey

Daniel A. wrote:

Hi there, I'm Dean Darmawan and still 18y/o. Well, i get interested 
with Free BSD, but the main problem are "can this distro Linux 
recognize my internal modem 56k that I ussally use to get connected to 
the Internet?" For that kind of reason, i got confuse and step back!! 
My modem now is D-Link DFM-562IS HSFi PCI Modem. Thanx



FreeBSD is not a Linux distribution. And yes, it does support your modem.


I googled a bit, but have to ask, since this has to
be new and against conventional wisdom ... how exactly
does FreeBSD support this modem?  It appears to be
Conexant based, not Lucent.

Looking for pointers.

KDK

--
In 1914, the first crossword puzzle was printed in a newspaper.  The
creator received 000 down ... and 000 across.

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


Re: Kids from Indonesia

2006-05-17 Thread Jerry McAllister
> 
> At 20:21 17.05.2006, Jerry McAllister wrote:
> > >
> > > Assalamu'alaikum Wr. Wb.
> > > Hi there, I'm Dean Darmawan and still 18y/o. Well, i get interested with
> > > Fedora 5, but the main problem are "can this distro Linux recognize my
> > > internal modem 56k that I ussally use to get connected to the Internet?"
> > > For that kind of reason, i got confuse and step back!! My modem now is
> > > D-Link DFM-562IS HSFi PCI Modem. Thanx, best regard.
> >
> >The first thing you need to realize it that FreeBSD is not LINUX or
> >any flavor or 'distro' of LINUX.  FreeBSD is a complete operating
> >system that had its birthing in the BSD (Berkley) UNIX in the wee
> >early days of UNIX.   Check on the   http://www.freebsd.org/  web site
> >for more information.
> >
> >Second, FreeBSD is a complete OS and as such can talk to modems and nic
> >cards, and most other peripherals.   The information is on the FreeBSD
> >web site.
> >
> >FreeBSD is a superior free UNIX.  It takes  a little extra time to
> >learn, but is worth the effort.  Enjoy learning and using FreeBSD.
> >
> >jerry
> 
> Jerry, did you expect to be understood? :)
> 
> Mr. Dean's skills in English is yet not that great.
> 
> The information you provided him with is something he will naturally
> pick up at a time where he is able to understand. Just saying something
> like `yes' would suffice. In his case to make him check out FreeBSD,
> which is the best we can currently hope for.

Let's not be too patronizing.   People whose English is not native
are still well able to understand concepts, including differences
between computer OSen for those who are working on computers.  
There is a high level of sophistication in these areas and an eagerness
to learn and work things through.

jerry

> 
> All the best,
> Kyrre
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

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


Re: C coding question

2006-05-17 Thread Andy Greenwood

That did it! thanks so much!

On 5/17/06, Lorin Lund <[EMAIL PROTECTED]> wrote:

Andy Greenwood wrote:

> I am helping someone work on porting some code to Freebsd, and the
> code below works on Linux, but not on FreeBSD (compiles, but gives
> Segmentation Fault: 11). I'm not sure where the problem is, and any
> pointers would be much appreciated.
>
>/* Check if we must stop */
>if(tf_stat_file != NULL)
>{
>tf_stat = fopen(tf_stat_file, "r");
>if (tf_stat != NULL)
>{
>/* Get state */
>stat_state=fgetc(tf_stat);
>
>/* Torrentflux asked to shutdown the torrent */
>if (stat_state == '0')
>{
>mustDie = 1;
>}
>}
>fclose(tf_stat);
>}
> ___

I think I would move the
fclose( tf_stat)
up a line.  No need to close a file that failed to open.  The fclose( )
acting on
a NULL pointer might be your error.



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


Re: Kids from Indonesia

2006-05-17 Thread Kyrre Nygard

At 20:21 17.05.2006, Jerry McAllister wrote:

>
> Assalamu'alaikum Wr. Wb.
> Hi there, I'm Dean Darmawan and still 18y/o. Well, i get interested with
> Fedora 5, but the main problem are "can this distro Linux recognize my
> internal modem 56k that I ussally use to get connected to the Internet?"
> For that kind of reason, i got confuse and step back!! My modem now is
> D-Link DFM-562IS HSFi PCI Modem. Thanx, best regard.

The first thing you need to realize it that FreeBSD is not LINUX or
any flavor or 'distro' of LINUX.  FreeBSD is a complete operating
system that had its birthing in the BSD (Berkley) UNIX in the wee
early days of UNIX.   Check on the   http://www.freebsd.org/  web site
for more information.

Second, FreeBSD is a complete OS and as such can talk to modems and nic
cards, and most other peripherals.   The information is on the FreeBSD
web site.

FreeBSD is a superior free UNIX.  It takes  a little extra time to
learn, but is worth the effort.  Enjoy learning and using FreeBSD.

jerry


Jerry, did you expect to be understood? :)

Mr. Dean's skills in English is yet not that great.

The information you provided him with is something he will naturally
pick up at a time where he is able to understand. Just saying something
like `yes' would suffice. In his case to make him check out FreeBSD,
which is the best we can currently hope for.

All the best,
Kyrre

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


Re: Is there a method to not probe certain devices at startup?

2006-05-17 Thread Danny MacMillan
On Wed, May 17, 2006 at 12:35:25PM -0600, Danny MacMillan wrote:
> fbsd wrote:
> > 
> > Check that the pc bios has USB disabled.
> > Also check that rc.conf does not have statement to enable USB.
> 
> It is not possible to disable USB in the BIOS for this board (a VIA EPIA
> CL1).  Also, because it is monowall, there is no rc.conf.  I will
> ask this question on a monowall forum to find out where I should look
> for this setting.

To further elaborate:

It's kind of like building a ship in a bottle.  There is no shell access
to the box.  However, files can be uploaded and downloaded and arbitrary
commands can be executed via a web interface.  Using these mechanisms I
have explored the filesystem and can verify /etc/rc.conf does not exist.
That is not entirely surprising because the overview documentation for
monowall says they have moved as much of the initialization code into
PHP as possible.  It's a little "weird".

-- 
Dan MacMillan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: C coding question

2006-05-17 Thread Giorgos Keramidas
On 2006-05-17 14:09, Andy Greenwood <[EMAIL PROTECTED]> wrote:
> I am helping someone work on porting some code to Freebsd, and the
> code below works on Linux, but not on FreeBSD (compiles, but gives
> Segmentation Fault: 11). I'm not sure where the problem is, and any
> pointers would be much appreciated.
>
>/* Check if we must stop */
>if(tf_stat_file != NULL)
>{
>tf_stat = fopen(tf_stat_file, "r");
>if (tf_stat != NULL)
>{
>/* Get state */
>stat_state=fgetc(tf_stat);
>
>/* Torrentflux asked to shutdown the torrent */
>if (stat_state == '0')
>{
>mustDie = 1;
>}
>}
>fclose(tf_stat);
>}

Please post a complete, compilable program or at least details about
where we can find the full source.  This way it's impossible to find out
where the bug is and why the segmentation fault happens.


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


Re: Gtk-Warning **: Cannot open display

2006-05-17 Thread John Nielsen
On Tuesday 16 May 2006 17:07, Barnaby Scott wrote:
> Kevin Kinsey wrote:
> > Barnaby Scott wrote:
> >> So, I installed Firefox from ports, having made sure everything was
> >> bang up to date. Evrything seemed to go perfectly well, but lo and
> >> behold, first attempt to use it and I get this:
> >>
> >> (firefox-bin:582): Gtk-Warning **: Cannot open display
> >>
> >> What the..?
> >>
> >> I have searched for this problem and found plenty of references
> >> similar error messages, but none of it seems to apply in my case. I am
> >> not trying to run Firefox as root, I am not doing it from a remote
> >> terminal, I am not standing in a bucket of water, I have the computer
> >> plugged in.
> >
> > I think these are Good Things(tm), 'though I have been able to operate
> > a browser whilst standing in a bucket of water.
> >
> > Q: Are you running an X display at the time this message is given,
> > or are you attempting to run Firefox from the console?
> >
> > Kevin Kinsey
>
> I have tried both. It is running from the console that gives the message
>   quoted - if I am running an X display at the time it fails with no
> message at all.

This is a Firefox oddity.  It needs to be run as root one time after it is 
installed (or [sometimes] upgraded).  Do this from an xterm:

cd
su
cp .Xauthority /root
firefox

Assuming the browser window comes up, you can just close it.  You should be 
able to run it as a regular user afterwards.

JN
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Kids from Indonesia

2006-05-17 Thread Bill Schoolcraft
At Wed, 17 May 2006 it looks like Jerry McAllister composed:

> > 
> > Assalamu'alaikum Wr. Wb.
> > Hi there, I'm Dean Darmawan and still 18y/o. Well, i get interested with 
> > Fedora 5, but the main problem are "can this distro Linux recognize my 
> > internal modem 56k that I ussally use to get connected to the Internet?" 
> > For that kind of reason, i got confuse and step back!! My modem now is 
> > D-Link DFM-562IS HSFi PCI Modem. Thanx, best regard.

Here is a starter for you in regards to "Linux" and hardware
compatibility.  There used to be another list way back when that I
can't find now.

http://www.linux-drivers.org/

We used to all be glued to the modem compatibility lists and alot of
us found safe haven by getting (the now cheap) "external" modems.
Here are some examples.

http://www.tigerdirect.com/applications/Category/category_slc.asp?CatId=564

(Excuse me for being long winded on this, I did tech support for
Linuxcare for close to 5 years.)

-- 
Bill Schoolcraft | http://wiliweld.com
 
"If your life was full of nothing but
sunshine, you would just be a desert."



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


Re: C coding question

2006-05-17 Thread Bill Moran
On Wed, 17 May 2006 12:36:40 -0600
Lorin Lund <[EMAIL PROTECTED]> wrote:

> Andy Greenwood wrote:
> 
> > I am helping someone work on porting some code to Freebsd, and the
> > code below works on Linux, but not on FreeBSD (compiles, but gives
> > Segmentation Fault: 11). I'm not sure where the problem is, and any
> > pointers would be much appreciated.
> >
> >/* Check if we must stop */
> >if(tf_stat_file != NULL)
> >{
> >tf_stat = fopen(tf_stat_file, "r");
> >if (tf_stat != NULL)
> >{
> >/* Get state */
> >stat_state=fgetc(tf_stat);
> >
> >/* Torrentflux asked to shutdown the torrent */
> >if (stat_state == '0')
> >{
> >mustDie = 1;
> >}
> >}
> >fclose(tf_stat);
> >}
> > ___ 
> 
> I think I would move the
> fclose( tf_stat)
> up a line.  No need to close a file that failed to open.  The fclose( ) 
> acting on
> a NULL pointer might be your error.

>From man fclose:
  The fclose() function does not handle NULL arguments; they will result in
  a segmentation violation.  This is intentional - it makes it easier to
  make sure programs written under FreeBSD are bug free.  This behaviour is
  an implementation detail, and programs should not rely upon it.

Good catch.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: C coding question

2006-05-17 Thread Pietro Cerutti

On 5/17/06, Micah <[EMAIL PROTECTED]> wrote:

Andy Greenwood wrote:
> I am helping someone work on porting some code to Freebsd, and the
> code below works on Linux, but not on FreeBSD (compiles, but gives
> Segmentation Fault: 11). I'm not sure where the problem is, and any
> pointers would be much appreciated.

That's funny, it doesn't even compile on my freebsd:

trisha% cat test.c
/* Check if we must stop */
if(tf_stat_file != NULL)
{
   tf_stat = fopen(tf_stat_file, "r");
   if (tf_stat != NULL)
   {
 /* Get state */
 stat_state=fgetc(tf_stat);

 /* Torrentflux asked to shutdown the torrent */
 if (stat_state == '0')
 {
   mustDie = 1;
 }
   }
   fclose(tf_stat);
}
trisha% cc test.c
test.c:2: error: syntax error before "if"


AFAIK, the code should be put inside a function at least to compile ;-)


IOW, if you expect usable help please supply some context.


I agree..



Later,
Micah
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"




--
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: C coding question

2006-05-17 Thread Lorin Lund

Andy Greenwood wrote:


I am helping someone work on porting some code to Freebsd, and the
code below works on Linux, but not on FreeBSD (compiles, but gives
Segmentation Fault: 11). I'm not sure where the problem is, and any
pointers would be much appreciated.

   /* Check if we must stop */
   if(tf_stat_file != NULL)
   {
   tf_stat = fopen(tf_stat_file, "r");
   if (tf_stat != NULL)
   {
   /* Get state */
   stat_state=fgetc(tf_stat);

   /* Torrentflux asked to shutdown the torrent */
   if (stat_state == '0')
   {
   mustDie = 1;
   }
   }
   fclose(tf_stat);
   }
___ 


I think I would move the
   fclose( tf_stat)
up a line.  No need to close a file that failed to open.  The fclose( ) 
acting on

a NULL pointer might be your error.

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


Re: Is there a method to not probe certain devices at startup?

2006-05-17 Thread Danny MacMillan
fbsd wrote:
> 
> Check that the pc bios has USB disabled.
> Also check that rc.conf does not have statement to enable USB.

It is not possible to disable USB in the BIOS for this board (a VIA EPIA
CL1).  Also, because it is monowall, there is no rc.conf.  I will
ask this question on a monowall forum to find out where I should look
for this setting.

Thanks,

-- 
Danny MacMillan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: C coding question

2006-05-17 Thread Micah

Andy Greenwood wrote:

I am helping someone work on porting some code to Freebsd, and the
code below works on Linux, but not on FreeBSD (compiles, but gives
Segmentation Fault: 11). I'm not sure where the problem is, and any
pointers would be much appreciated.


That's funny, it doesn't even compile on my freebsd:

trisha% cat test.c
/* Check if we must stop */
if(tf_stat_file != NULL)
{
  tf_stat = fopen(tf_stat_file, "r");
  if (tf_stat != NULL)
  {
/* Get state */
stat_state=fgetc(tf_stat);

/* Torrentflux asked to shutdown the torrent */
if (stat_state == '0')
{
  mustDie = 1;
}
  }
  fclose(tf_stat);
}
trisha% cc test.c
test.c:2: error: syntax error before "if"

IOW, if you expect usable help please supply some context.

Later,
Micah
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Kids from Indonesia

2006-05-17 Thread Jerry McAllister
> 
> Assalamu'alaikum Wr. Wb.
> Hi there, I'm Dean Darmawan and still 18y/o. Well, i get interested with 
> Fedora 5, but the main problem are "can this distro Linux recognize my 
> internal modem 56k that I ussally use to get connected to the Internet?" 
> For that kind of reason, i got confuse and step back!! My modem now is 
> D-Link DFM-562IS HSFi PCI Modem. Thanx, best regard.

The first thing you need to realize it that FreeBSD is not LINUX or
any flavor or 'distro' of LINUX.  FreeBSD is a complete operating
system that had its birthing in the BSD (Berkley) UNIX in the wee
early days of UNIX.   Check on the   http://www.freebsd.org/  web site
for more information.

Second, FreeBSD is a complete OS and as such can talk to modems and nic
cards, and most other peripherals.   The information is on the FreeBSD
web site.

FreeBSD is a superior free UNIX.  It takes  a little extra time to 
learn, but is worth the effort.  Enjoy learning and using FreeBSD.

jerry

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

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


Re: Reading UFS2 from Windows

2006-05-17 Thread Kyrre Nygard

At 10:40 16.05.2006, dawnshade wrote:

On Tuesday 16 May 2006 12:19, Kyrre Nygard wrote:
> Hello!
>
> I have an awkward setup right here.
>
> I have my first harddrive split into one NTFS partition which runs Windows,
> and one FAT32 partition which serves as a temporary docking station for all
> my files which I later secure into my 2nd harddrive running FreeBSD.
>
> Can I skip this temporary docking station somehow?
>
> I was thinking, since UFS2 is an open specification, it shouldn't be
> impossible creating a Win32 interface that will let me read and write to
> one.
>
> Does anyone know?
>

http://sourceforge.net/projects/ufs2tools
http://sourceforge.net/projects/ffsdrv


ffsdrv reboots my computer everytime I try to access files above 50MB.
ufs2tools doesn't let me access the harddrive, it only attempts to copy.

Any idea?

Thanks,
Kyrre

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


Will OpenBSD's nfe(4) be integrated or replace FreeBSD's nve(4)?

2006-05-17 Thread Lars Cleary

Hi all

Is this planned and/or in the works?

Or am I making a silly suggestion?

Thanks
Lars
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: makeworld FAILURE on 5.4-STABLE

2006-05-17 Thread Kris Kennaway
On Wed, May 17, 2006 at 07:25:50PM +0200, Kyrre Nygard wrote:
> At 12:29 17.05.2006, David Stanford wrote:
> 
> >Maybe I'm confused as to what you're looking to do. If you're looking to
> >copy data from (or all of) /home to /var, it obviously won't be able to 
> >hold
> >anymore than 248MB; and it seems like you have much more data than that.
> >
> >And avoiding the /usr slice won't help with upgrading as you will need to
> >reinstall a new /usr slice anyway using the 6.1-RELEASE disc. Much of the
> >system is located in /usr...
> >
> >If you have more than 248MB worth of data you need to save, and upgrading 
> >is
> >absolutely necessary, I would suggest just ponying up the $40.00 and 
> >getting
> >an external hard drive to back up the data. Then do a fresh install.
> 
> I don't know where /var got into the picture, but what I'm trying to do is 
> to
> reinstall FreeBSD while keeping /usr/home/awad on ad4s1f intact. All files
> and folders except /usr/home/awad I will have deleted manually.
> 
> I wonder if this is possible ...

Just do an upgrade install from sysinstall, this has been supported
for many years.

Kris


pgpj6qHDbrRbL.pgp
Description: PGP signature


C coding question

2006-05-17 Thread Andy Greenwood

I am helping someone work on porting some code to Freebsd, and the
code below works on Linux, but not on FreeBSD (compiles, but gives
Segmentation Fault: 11). I'm not sure where the problem is, and any
pointers would be much appreciated.

   /* Check if we must stop */
   if(tf_stat_file != NULL)
   {
   tf_stat = fopen(tf_stat_file, "r");
   if (tf_stat != NULL)
   {
   /* Get state */
   stat_state=fgetc(tf_stat);

   /* Torrentflux asked to shutdown the torrent */
   if (stat_state == '0')
   {
   mustDie = 1;
   }
   }
   fclose(tf_stat);
   }
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Kids from Indonesia

2006-05-17 Thread Kyrre Nygard

At 17:23 17.05.2006, Dean Darmawan wrote:

Assalamu'alaikum Wr. Wb.
Hi there, I'm Dean Darmawan and still 18y/o. Well, i get interested 
with Fedora 5, but the main problem are "can this distro Linux 
recognize my internal modem 56k that I ussally use to get connected 
to the Internet?" For that kind of reason, i got confuse and step 
back!! My modem now is D-Link DFM-562IS HSFi PCI Modem. Thanx, best regard.


Wa'alikoumsalaam wa'rahmatoullahi ta'ala wa'barakatuh!

This is a FreeBSD, not Fedora. But yes, FreeBSD can recognize.
But you must know how to read, then see:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/userppp.html

Good luck.

All the best,
Kyrre




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


Re: makeworld FAILURE on 5.4-STABLE

2006-05-17 Thread Kyrre Nygard

At 12:29 17.05.2006, David Stanford wrote:


Maybe I'm confused as to what you're looking to do. If you're looking to
copy data from (or all of) /home to /var, it obviously won't be able to hold
anymore than 248MB; and it seems like you have much more data than that.

And avoiding the /usr slice won't help with upgrading as you will need to
reinstall a new /usr slice anyway using the 6.1-RELEASE disc. Much of the
system is located in /usr...

If you have more than 248MB worth of data you need to save, and upgrading is
absolutely necessary, I would suggest just ponying up the $40.00 and getting
an external hard drive to back up the data. Then do a fresh install.


I don't know where /var got into the picture, but what I'm trying to do is to
reinstall FreeBSD while keeping /usr/home/awad on ad4s1f intact. All files
and folders except /usr/home/awad I will have deleted manually.

I wonder if this is possible ...

Thanks,
Kyrre 


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


RE: Is there a method to not probe certain devices at startup?

2006-05-17 Thread fbsd


Check that the pc bios has USB disabled.
Also check that rc.conf does not have statement to enable USB.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Danny
MacMillan
Sent: Wednesday, May 17, 2006 1:16 PM
To: freebsd-questions@freebsd.org
Subject: Is there a method to not probe certain devices at startup?


Hi,

I have a FreeBSD 4.11 box (monowall, actually) that has apparently
had a
bit of a crisis with its USB controller hardware.  This is
completely
irrelevant to me as it is a purpose-built box with no need to use
USB
now or in the future.  The only problem is that when the box boots,
it
hangs for about 5 to 10 minutes trying to talk to the USB device.

Here is an excerpt from dmesg (pardon the wrapping):

uhci0:  port 0xd400-0xd41f irq 11 at
device
16.0 on pci0
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0xd800-0xd81f irq 11 at
device
16.1 on pci0
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2:  port 0xdc00-0xdc1f irq 9 at
device
16.2 on pci0
usb2:  on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhub2: device problem, disabling port 2

Immediately before the last line of output above is where it hangs.

I found some oblique references to device.hints on google but I
couldn't
find anything that describes exactly what needs to go in that file.

Thanks,

--
Danny MacMillan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

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


Is there a method to not probe certain devices at startup?

2006-05-17 Thread Danny MacMillan
Hi,

I have a FreeBSD 4.11 box (monowall, actually) that has apparently had a
bit of a crisis with its USB controller hardware.  This is completely
irrelevant to me as it is a purpose-built box with no need to use USB
now or in the future.  The only problem is that when the box boots, it
hangs for about 5 to 10 minutes trying to talk to the USB device.

Here is an excerpt from dmesg (pardon the wrapping):

uhci0:  port 0xd400-0xd41f irq 11 at device
16.0 on pci0
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0xd800-0xd81f irq 11 at device
16.1 on pci0
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2:  port 0xdc00-0xdc1f irq 9 at device
16.2 on pci0
usb2:  on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhub2: device problem, disabling port 2

Immediately before the last line of output above is where it hangs.

I found some oblique references to device.hints on google but I couldn't
find anything that describes exactly what needs to go in that file.

Thanks,

-- 
Danny MacMillan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


6.1 new sysinstall country panel?

2006-05-17 Thread fbsd
While installing fresh virgin 6.1 from cdrom, the first thing 
I get is a new panel asking for me to select the country I am from.

What is the purpose of this new country selection screen?
Why was it added to sysinstall in 6.1?

How can I bypass selecting a country?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


safe to write to drive while doing initial mirror?

2006-05-17 Thread Joe Auty

Hello,

Is it safe to write to my new geom mirrored FreeBSD drive while it is  
still doing the initial mirroring of data to the secondary drive? In  
other words, if the quality is in a badly degraded state (like it  
would be for a first-time mirror), is it best to leave the drive  
untouched while it syncs?




---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]




PGP.sig
Description: This is a digitally signed message part


Re: Cluster solution

2006-05-17 Thread Scott Ullrich

On 5/17/06, fbsd <[EMAIL PROTECTED]> wrote:

 Take a look at port net/freevrrpd.

[snip]

Why not use CARP now that it is included in FreeBSD?   It's much
cleaner than VRRP.

Scott
PS: please don't cross-post.  This should be on freebsd-questions only.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Port marked as IGNORE

2006-05-17 Thread Kris Kennaway
On Wed, May 17, 2006 at 09:38:51AM -0500, Cody Holland wrote:
> I was updating the ports on one of my servers and received this error:
> 
> [Updating the pkgdb  in /var/db/pkg ... - 68 packages
> found (-1 +1) (...). done]
> ** Port marked as IGNORE: graphics/php4-ming:
> is marked as broken: doesn't work with new version of ming
> library
> 
> What actions, if any do I need to take to fix this?

Make it work with the new version of ming library, or work with the
authors or maintainers to do so.

Kris


pgpprJH1isSu9.pgp
Description: PGP signature


Re: "libm.so.4" not found

2006-05-17 Thread Kris Kennaway
On Wed, May 17, 2006 at 08:22:03AM -0500, Derek Ragona wrote:
> Sounds like you recently upgraded but don't have the compatible libraries 
> in /etc/make.conf make sure you have:
> COMPAT4X=   yes
> 
> And then rebuild the world.
> 
> You might also want to have:
> options COMPAT_FREEBSD4
> In your kernel config file.

The real question is why do you have binaries depending on old system
libraries.  The answer is probably that you upgraded from a previous
branch of FreeBSD (e.g. 4.x -> 6.x) but neglected to rebuild all your
installed ports, so they now have an inconsistent mix of old and new
libraries.

portupgrade -af or similar to repair the damage.

Kris


pgpa3skdUyw0p.pgp
Description: PGP signature


RE: Cluster solution

2006-05-17 Thread fbsd
 Take a look at port net/freevrrpd.

http://redundancy.redundancy.org/fbsd_lb.html

http://www.freebsd.org.hk/html/sgcluster/

http://pf4freebsd.love2party.net/carp.html


http://blizzard.rwic.und.edu/~nordlie/miniwulf/

It uses MPICH and LAM/MPI


Have a look at HUT (High Uptime Project) :
http://www.bsdshell.net
and
http://www.aims.com.au/chris/cluster/
and
http://sporner.dyndns.org/freebsdcluster/ (sometimes down ;))


http://nrez.net/~rmger/fbsdcluster/cluster-doc.html
http://acme.ecn.purdue.edu/


http://www.leidinger.net/cgi-bin/search.pl?q=cluster&num=10



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Derek
Ragona
Sent: Wednesday, May 17, 2006 12:23 PM
To: Ludovit Koren; freebsd-questions@freebsd.org
Cc: freebsd-net@freebsd.org
Subject: Re: Cluster solution


You'd need to be more specific particularly with how much money you
want to
spend.  HA Clusters are expensive to build.

 -Derek

At 10:18 AM 5/17/2006, Ludovit Koren wrote:


>Hi,
>
>I need help in designing of cluster solution based on FreeBSD. I
tried
>carp for switching IP addresses, it seems to work ok. The solution
is
>suitable for DNS, MTA, static web pages, web proxy and reverse
proxy.
>
>I didn't find anything quite suitable for dynamic web pages with
PHP
>and MySQL backend. I found just master and slave replication and
>clustering in MySQL. There could be problem if master fails with
>automatic promotion of slave to master and with the
resynchronization
>of database after recovery of master database.
>
>Has anybody any experience with described setup. Howtos, pointers,
>links about configuration and software solutions are very
appreciated.
>
>Thanks in advance.
>
>Regards,
>
>lk
>___
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>
>--
>This message has been scanned for viruses and
>dangerous content by MailScanner, and is
>believed to be clean.
>MailScanner thanks transtec Computers for their support.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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

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


Re: [freebsd-questions] Questions about monitoring Dell servers

2006-05-17 Thread Jason Lixfeld

On 17-May-06, at 12:05 PM, Howard Jones wrote:


Jason Lixfeld wrote:
Well, I managed to sort it out.  The grey area was that the Dell  
BMC just needed an IP, username and password configured on it.  I  
was under the mistaken impression that the OpenIPMI needed to be  
installed to speak the BMC, but ipmitools does that just fine.   
Between the BMC and megarc for the raid status, I have everything  
I need!  Well, with the exception of SNMP traps -- still haven't  
figured out how to set the trap host and community, but if worst  
comes to worst, I can use used net-snmp and use the exec options  
in snmpd.conf.


Where does this IP address present itself? On an SC1425 we have  
here, I can set an IP etc in the BMC BIOS, but it lists a MAC  
address there that isn't the same as either of the GigE interfaces  
on the mobo.


Is it overlaid in some strange way, or do I need some sort of  
daughterboard? I'd like to get this going for all our Dells if I can.


The MAC address on the BMC is different on my 1850s as well.  You  
don't need any daughterboard, it just runs off the onboard NIC and  
you can even hit it when the power is off on the machine (slick!!).


You don't need to configure or compile anything in userland on the  
system at all, just install ipmitool and you're off to the races:


From what I understand, you can't do anything to the IP on the BMC  
except hit it with something like ipmitool:


# ipmitool -I lan -H 192.168.100.100 -U root channel info
Password:
Channel 0x1 info:
  Channel Medium Type   : 802.3 LAN
  Channel Protocol Type : IPMB-1.0
  Session Support   : session-based
  Active Session Count  : 1
  Protocol Vendor ID: 7154
  Volatile(active) Settings
Alerting: disabled
Per-message Auth: disabled
User Level Auth : enabled
Access Mode : always available
  Non-Volatile Settings
Alerting: disabled
Per-message Auth: disabled
User Level Auth : enabled
Access Mode : always available
#


Cheers,

Howie



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


Re: moving /usr

2006-05-17 Thread Perttu Laine

On 5/17/06, Derek Ragona <[EMAIL PROTECTED]> wrote:


 Soren is the one who would know.  Hopefully he will reply soon to you.



Ok. Hopefully those card are good for freebsd. The think is that I already
have both of those cards available so I wouldn't want to buy new. :)

--
kpn @ IRCnet
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: moving /usr

2006-05-17 Thread Derek Ragona

Soren is the one who would know.  Hopefully he will reply soon to you.

-Derek

At 11:20 AM 5/17/2006, Perttu Laine wrote:

Ok. So XFX Revo64 seems to be same with NetCell NC3000 and I can't find any
info about that. Some stores are saying that Adaptec 1420SA works with
FreeBSD, but hardwarelist doesn't have it. So. Anyone here happen to have
information about either card in freebsd?


--
kpn @ IRCnet
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.




--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: Cluster solution

2006-05-17 Thread Derek Ragona
You'd need to be more specific particularly with how much money you want to 
spend.  HA Clusters are expensive to build.


-Derek

At 10:18 AM 5/17/2006, Ludovit Koren wrote:



Hi,

I need help in designing of cluster solution based on FreeBSD. I tried
carp for switching IP addresses, it seems to work ok. The solution is
suitable for DNS, MTA, static web pages, web proxy and reverse proxy.

I didn't find anything quite suitable for dynamic web pages with PHP
and MySQL backend. I found just master and slave replication and
clustering in MySQL. There could be problem if master fails with
automatic promotion of slave to master and with the resynchronization
of database after recovery of master database.

Has anybody any experience with described setup. Howtos, pointers,
links about configuration and software solutions are very appreciated.

Thanks in advance.

Regards,

lk
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: moving /usr

2006-05-17 Thread Perttu Laine

Ok. So XFX Revo64 seems to be same with NetCell NC3000 and I can't find any
info about that. Some stores are saying that Adaptec 1420SA works with
FreeBSD, but hardwarelist doesn't have it. So. Anyone here happen to have
information about either card in freebsd?


--
kpn @ IRCnet
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Kids from Indonesia (sorry, the 1st was wrong!)

2006-05-17 Thread Daniel A.

Dean Darmawan wrote:
Hi there, I'm Dean Darmawan and still 18y/o. Well, i get interested with 
Free BSD, but the main problem are "can this distro Linux recognize my 
internal modem 56k that I ussally use to get connected to the Internet?" 
For that kind of reason, i got confuse and step back!! My modem now is 
D-Link DFM-562IS HSFi PCI Modem. Thanx





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

Hi Dean,
FreeBSD is not a Linux distribution. And yes, it does support your modem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: moving /usr

2006-05-17 Thread Perttu Laine

On 5/17/06, Derek Ragona <[EMAIL PROTECTED]> wrote:


Check the hardware list.  In most of the supported ones, they work fine
with one RAID volume.  More than one RAID volume can be problematic.



Yeah. There's gonna be one volume only. Problem is that I don't find either
one on support list, but I'm not what chipset XFX Revo64. Adaptec 1420SA is
not on supported list, but on some stores they sell it and say freebsd 5.3/5.4
in supported operating systems.

--
kpn @ IRCnet
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: vinum concat

2006-05-17 Thread Joe Auty
There might be some helpful nuggets in there, but I'm looking to  
basically combine the storage of multiple disks, like RAID-0, except  
I want my second drive written to only when my first drive has been  
filled. I understand this can be done via vinum concatenation. I'm  
looking for general feedback on whether anybody has tried this setup,  
how it worked, and what was useful to know to get started.




On May 17, 2006, at 12:06 PM, Emil Thelin wrote:


On Wed, 17 May 2006, Joe Auty wrote:

Are their any tutorials explaining how to do so? So far, based on  
the lack of info I've been able to find, it seems to me that this  
is a rarely used configuration... I'm wondering what the reasons  
for this might be?


http://devel.reinikainen.net/docs/how-to/Vinum/ might be helpful.

/e

--
http://hostname.nu/~emil
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[EMAIL PROTECTED]"


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


Re: moving /usr

2006-05-17 Thread Derek Ragona
Check the hardware list.  In most of the supported ones, they work fine 
with one RAID volume.  More than one RAID volume can be problematic.


-Derek


At 10:55 AM 5/17/2006, Perttu Laine wrote:

On 5/17/06, Derek Ragona <[EMAIL PROTECTED]> wrote:


 That should work fine.  I would also still mount the old /usr on a
different mount point so if something doesn't get copied right you will
still have it available.


Gonna do that. Thank's.
Now I have one more think before I can start working on this. Are these SATA
RAID cards (or one of them) supported in FreeBSD 5.4 (or 5.5). Would be nice
if someone knows :)

XFX Revo 64 (SP-PCC3-H000)
Adaptec 1420SA

--
kpn @ IRCnet
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.




--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: [freebsd-questions] Questions about monitoring Dell servers

2006-05-17 Thread Howard Jones

Jason Lixfeld wrote:
Well, I managed to sort it out.  The grey area was that the Dell BMC 
just needed an IP, username and password configured on it.  I was 
under the mistaken impression that the OpenIPMI needed to be installed 
to speak the BMC, but ipmitools does that just fine.  Between the BMC 
and megarc for the raid status, I have everything I need!  Well, with 
the exception of SNMP traps -- still haven't figured out how to set 
the trap host and community, but if worst comes to worst, I can use 
used net-snmp and use the exec options in snmpd.conf.


Where does this IP address present itself? On an SC1425 we have here, I 
can set an IP etc in the BMC BIOS, but it lists a MAC address there that 
isn't the same as either of the GigE interfaces on the mobo.


Is it overlaid in some strange way, or do I need some sort of 
daughterboard? I'd like to get this going for all our Dells if I can.


Cheers,

Howie
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: moving /usr

2006-05-17 Thread Joe Auty
How would you mount your old drive once booted into your new RAIDed  
system? Would mount /dev/ad0s1a /mnt work even when you are booted  
off of your gm0 RAIDed drive?




On May 17, 2006, at 11:55 AM, Perttu Laine wrote:


On 5/17/06, Derek Ragona <[EMAIL PROTECTED]> wrote:


 That should work fine.  I would also still mount the old /usr on a
different mount point so if something doesn't get copied right you  
will

still have it available.



Gonna do that. Thank's.
Now I have one more think before I can start working on this. Are  
these SATA
RAID cards (or one of them) supported in FreeBSD 5.4 (or 5.5).  
Would be nice

if someone knows :)

XFX Revo 64 (SP-PCC3-H000)
Adaptec 1420SA

--
kpn @ IRCnet
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[EMAIL PROTECTED]"




PGP.sig
Description: This is a digitally signed message part


Re: The logo discussion

2006-05-17 Thread Garrett Cooper

Adrian Pavone wrote:

Ted Mittelstaedt wrote:

 


-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] Behalf Of Greg 
'groggy' Lehey

Sent: Wednesday, May 17, 2006 12:56 AM
To: FreeBSD Questions
Subject: The logo discussion

  


 


- I used to answer many questions on this mailing list.  Recently
people have been hijacking it for purposes of penis size
comparison.   


So Greg, just how big is yours? ;-)

Ted

 

I think Greg is a contender of the "it's not the size that counts it's 
how you use it" belief ;)
Interesting how off-topic things get when some sort of opinion is 
involved in them. One reason why I choose to avoid these types of 
threads, as much as possible is that it seems to detract from the 
overall list focus, as threads like this are perpetuated for 2+ weeks, 
until someone realizes that they are beating a dead horse in discussing 
their opinions further.

-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: gmirror and partitioning

2006-05-17 Thread Gayn Winters
> From: Nagy László Zsolt [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 17, 2006 12:29 AM
> To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
> Subject: Re: gmirror and partitioning
> 
> 
> 
> >> acd0: CDROM  at ata0-master PIO4
> >> ad8: 152626MB  at ata4-master SATA150
> >> ad10: 152627MB  at ata5-master SATA150
> >> 
> > Sadly, yes; or buy a bigger second disk. You could do the 
> install on the
> > smaller disk first, or you could make ad10s1 smaller.
> >   
> Okay, I did this. But I'm still interested in the topic. The 
> size of a 
> hard drive is determined by the manufacturer. It depends on how many 
> sectors, heads and cylinders present in the device. The 
> actual available 
> size can be smaller because of bad sectors on the disc. But 
> the BIOS (or 
> FreeBSD) should detect the full size, including all sectors. These 
> devices are identical. Then how in the hell could it add one 
> more MB to 
> the second device? I presume if I swap drives between ata4-master and 
> ata5-master then still ad10 would be bigger. Is this a bug in FreeBSD?
> 
>Laszlo

Hi Laszlo,

No bugs; I think this is normal.  Both the BIOS and the OS are only
going to see the blocks the hard drive thinks are useable.  Even though
the drive geometry is "fictitious", most people still recommend defining
your slices to begin and end on cylinder boundaries.  I assume this
makes accessing blocks in the slice a few nanoseconds faster, but I'm
actually not sure.  Perhaps someone on the list knows more detail.  In
any case, if you do this for as10s1 gmirror will replicate this property
to the other disk.  You'll also most likely have a few blocks left over.
As for units of MB, I'm not sure.  Could be rounding.

Can we assume your gmirror is now working?

Best regards,

-gayn

Bristol Systems Inc.
714/532-6776
www.bristolsystems.com 



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


Re: vinum concat

2006-05-17 Thread Emil Thelin

On Wed, 17 May 2006, Joe Auty wrote:

Are their any tutorials explaining how to do so? So far, based on the lack of 
info I've been able to find, it seems to me that this is a rarely used 
configuration... I'm wondering what the reasons for this might be?


http://devel.reinikainen.net/docs/how-to/Vinum/ might be helpful.

/e

--
http://hostname.nu/~emil
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: moving /usr

2006-05-17 Thread Perttu Laine

On 5/17/06, Derek Ragona <[EMAIL PROTECTED]> wrote:


 That should work fine.  I would also still mount the old /usr on a
different mount point so if something doesn't get copied right you will
still have it available.



Gonna do that. Thank's.
Now I have one more think before I can start working on this. Are these SATA
RAID cards (or one of them) supported in FreeBSD 5.4 (or 5.5). Would be nice
if someone knows :)

XFX Revo 64 (SP-PCC3-H000)
Adaptec 1420SA

--
kpn @ IRCnet
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: The logo discussion

2006-05-17 Thread Adrian Pavone

Ted Mittelstaedt wrote:

 


-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] Behalf Of Greg 
'groggy' Lehey

Sent: Wednesday, May 17, 2006 12:56 AM
To: FreeBSD Questions
Subject: The logo discussion

   



 


- I used to answer many questions on this mailing list.  Recently
people have been hijacking it for purposes of penis size
comparison. 
   



So Greg, just how big is yours? ;-)

Ted

 

I think Greg is a contender of the "it's not the size that counts it's 
how you use it" belief ;)

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


Re: Buildworld fails 6.0-RELEASE-p4

2006-05-17 Thread Alex Zbyslaw

Federico Canton wrote:


Hello, I have not been able to successfully buildworld for a few months.  My
last succesfull buildworld was on 1/25/06.

$ uname -a
FreeBSD casa.michosa.com 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #0: Wed Jan
25 17:25:16 PST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL
i386

Buildworld failed when I was trying to update to RELENG_6, and I thought it
was a bug that would be fixed by RELENG_6_1.  Now that 6.1 has been released
I have tried many times, but still every time buildworld fails at a
different place.  Below I added the last two times it failed.
 

If buildworld fails at a different place every time then  you probably 
have bad memory*.  Try memtest86+, memtest86 or if you have multiple 
sticks, try using each one in turn on its own and see if you still get 
the failure.


--Alex

(*) It might be some other hardware problem, but bad memory is probably 
the most frequent and hopefully easiest to diagnose.  Other 
possibilities include bad memory socket, or just bad seating.



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


Re: Kids from Indonesia

2006-05-17 Thread Richard Collyer

Dean Darmawan wrote:

Assalamu'alaikum Wr. Wb.
Hi there, I'm Dean Darmawan and still 18y/o. Well, i get interested with 
Fedora 5, but the main problem are "can this distro Linux recognize my 
internal modem 56k that I ussally use to get connected to the Internet?" 
For that kind of reason, i got confuse and step back!! My modem now is 
D-Link DFM-562IS HSFi PCI Modem. Thanx, best regard.


I was actually scared to open this e-mail especially with attachment as 
I thought it could be kiddy porn.


This isn't a Fedora mailing list. This ML is for discussion of freebsd.

Cheers
Richard

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


Kids from Indonesia (sorry, the 1st was wrong!)

2006-05-17 Thread Dean Darmawan
Hi there, I'm Dean Darmawan and still 18y/o. Well, i get interested with 
Free BSD, but the main problem are "can this distro Linux recognize my 
internal modem 56k that I ussally use to get connected to the Internet?" 
For that kind of reason, i got confuse and step back!! My modem now is 
D-Link DFM-562IS HSFi PCI Modem. Thanx


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

  1   2   >