Re: QEMU + FreeBSD

2009-06-26 Thread Adam Vande More
On Fri, Jun 26, 2009 at 9:37 AM, Jim  wrote:

> I have installed FreeBSD 7.2 on my notebook in the last week, and
> installed QEmu as well.
>
> I cannot seem to get the network interface working. It works on my
> desktop machine, but that is running 7.0
>
> looking around, I tried to find some other options, and went here:
> http://wiki.freebsd.org/qemu
>
> and got stuck at this step:
>  # sysctl net.link.ether.bridge_cfg=fxp0,tap0
>  # sysctl net.link.ether.bridge.enable=1
>
> because nothing matching "net.link.ether.bridge*" exists.
>
> Does anyone know of a current good setup document?
>
> thanks,
> -Jim Stapleton
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>

There is vde2 port for it depending networking needs,  standard dhcp/nat
slirp type should work straight from standard install of qemu though.

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


Re: torrents.freebsd.org

2009-06-26 Thread Peter


Chris Cowart wrote:
> Hello,
> 
> I'm currently trying to setup a bittorrent tracker to distribute files,
>

Hi,

Try http://www.freenas.org/ --> it comes with web panel and has
Bittorent module along other modules.

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


Re: Which latex should I install

2009-06-26 Thread Polytropon
On Fri, 26 Jun 2009 20:53:46 -0400, Daniel Underwood  
wrote:
> Polytropon, here is the problem I was having:
> 
> 
> Granted, that's not much to go on :)

Ah, I see, the famous xcolor package. Okay, I have to admit that I
never used it before, so no problem for teTeX from the ports.
Until now, I was fine with usepackage(color) and usepackage(colortbl),
then rowcolor, columncolor and cellcolor, and finally colorbox.
Seems that I am not a color-power-user. :-)



-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: The question of moving vi to /bin

2009-06-26 Thread Daniel Underwood
> That's a very good suggestion. But let's take into mind that we
> do need the most advanced and modern MICROS~1 technology, so
> FreeBSD should include a pirated copy of "Windows 7" in order
> to run the latest and most expensive pirated copy of "Office",
> programmed in Java, running through "Flash". With music. And
> dancing puppies.

Hah!  I'll have to use this paragraph.  Hilarious. :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Which latex should I install

2009-06-26 Thread Daniel Underwood
Polytropon, here is the problem I was having:


Granted, that's not much to go on :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: The question of moving vi to /bin

2009-06-26 Thread Erich Dollansky
Hi,

On 27 June 2009 am 07:08:01 Polytropon wrote:
> On Fri, 26 Jun 2009 15:40:50 +0800, Erich Dollansky 
 wrote:
> > On 26 June 2009 pm 14:01:02 Polytropon wrote:
> > > Maybe this is because vi scared me when using WEGA (which
> > > is the GDR's equivalent of UNIX System III, run on the
> > > P8000
> >
> > was this the russian PDP-11?
>
> I'm not sure if there was a PDP-11 compatible system.
> Contruction mostly concentrated on IBM compatibles (and I don't
> mean PCs with that, of course). Maybe there's something
> USSR-special with a russian name (Iskra, Minsk, erm, no the
> Minsk wasn't a PDP-like...).
>
there was a PDP copy available but it is not mentioned on this 
site:

> http://www.robotrontechnik.de/index.htm?/html/computer/k1840.ht
>m
>
> And finally, he invented God, the Heaven, the Hell (delivered
> in small packages called "Windows"), the universe, life and
> everything. Children get educated that way, at least in today's
> german schools. :-)

A real bad development, also here.

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


Re: Which latex should I install

2009-06-26 Thread Polytropon
On Fri, 26 Jun 2009 09:32:31 -0400, Daniel Underwood  
wrote:
> Hopefully Polytropon will chime in on this, but I had to install
> TeXLive for everything to work.

Ere I am, J. H., the ghost in the machine. :-)

I've never tried TeXLive, I have to admit, because I NEVER had ANY
problem using the teTeX package. And yes, I don't build it from
source because pkg_add -r is so much comfortable.

There are some tools that are a good "put aside" for teTeX, such
as xpdf (which brings also pdftotext), and gv, dvitty, xdvi.



> Suggestion: try teTeX.  If you encounter problems, then install TeXLive.

It would be nice to hear what - in such a case - has been the
problem with teTeX that TeXLive then solved. As I said, I never
found myself in such a situation, and I'm using LaTeX for
nearly everything.




-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: The question of moving vi to /bin

2009-06-26 Thread Polytropon
On Fri, 26 Jun 2009 15:40:50 +0800, Erich Dollansky  wrote:
> On 26 June 2009 pm 14:01:02 Polytropon wrote:
> > Maybe this is because vi scared me when using WEGA (which is
> > the GDR's equivalent of UNIX System III, run on the P8000
> 
> was this the russian PDP-11?

I'm not sure if there was a PDP-11 compatible system. Contruction
mostly concentrated on IBM compatibles (and I don't mean PCs
with that, of course). Maybe there's something USSR-special
with a russian name (Iskra, Minsk, erm, no the Minsk wasn't
a PDP-like...).

There in fact was a system compatible to DEC's VAX architecture,
the robotron K1840:

http://www.robotrontechnik.de/index.htm?/html/computer/k1840.htm

It did not only have software support for VAX (with its OS
SVP1800), but as well for UNIX (with its OS MUTOS1800).

As far as I know, the russians (i. e. the soviets) participated,
like every country in the RGW, in manufacturing computers. From
the USSR, especially processors were delivered, while other
countries "specialized" on other fields, such as the GDR on
magnetic tape units.

The P8000 was manufactured by EAW in Berlin in the GDR. It was a
UNIX System III multi-user workstation environment, used mostly
for application programming.

http://www.robotrontechnik.de/index.htm?/html/computer/p8000.htm
http://www.robotrontechnik.de/index.htm?/html/computer/p8000compact.htm

I still own such a system and would like to get it working some
day (one P8000 and one P8000 compact).

So much for today's history lesson. :-)



> > multi-user workstation). Well, we were all young, many many
> > years in the distant past. :-)
> 
> You want to say 'yesterday'?

No. Yesterday, all my troubles seemed so far away. :-) Being
into that "computer stuff" makes you feel old, even when you're
young, because you've already seen everything...



> > When Bill G. arrives at the pearly gate, ol' Pete won't ask
> > him what he did do, instead send him to MICROS~1 C:\HELL.EXE
> > with the advice to click on the devil to start the everlasting
> > pain. :-)
> 
> I do not think so. He will go directly to heaven. Why? He made all 
> computer users pray that no data get lost when the machine 
> freezes again.

And finally, he invented God, the Heaven, the Hell (delivered in
small packages called "Windows"), the universe, life and everything.
Children get educated that way, at least in today's german
schools. :-)




-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: my kernel is not build/install

2009-06-26 Thread Kent Stewart
On Friday 26 June 2009 01:25:58 pm fo...@pisem.net wrote:
> On Friday 26 June 2009 12:50:22 pm Rolf G Nielsen wrote:
> > Кирилл А. Фомин wrote:
> > > Здравствуйте, Rolf.
> > >
> > > In my first mail i attach my config file. Latest i attach full console
> > > output.
> > >
> > > Вы писали 26 июня 2009 г., 23:35:14:
> > >> Brent Bloxam wrote:
> > >>> fo...@pisem.net wrote:
> >  When I make my kernel (make kernel KERNCONF=KERNEL) it stop whith
> >   Error code 1
> > >>>
> > >>> According to Chapter 8.5 of the handbook
>
> 
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html):
> > 1.
> >    Change to the /usr/src directory:
> >    # cd /usr/src
> > 
> > 2.
> >    Compile the kernel:
> >    # make buildkernel KERNCONF=MYKERNEL
> > 
> > 3.
> >    Install the new kernel:
> >    # make installkernel KERNCONF=MYKERNEL
> > >>>
> > >>> You need to use `make buildkernel`, not `make kernel`
> > >>> ___
> > >>> freebsd-questions@freebsd.org mailing list
> > >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > >>> To unsubscribe, send any mail to
> > >>> "freebsd-questions-unsubscr...@freebsd.org"
> > >>
> > >> According to the makefile, "make kernel" does "make buildkernel" +
> > >> "make installkernel", so that shouldn't be the problem. Your question
> > >> is very vague. Could you please attach the complete output (or at
> > >> least the last portion of it, e.g. 10-15 lines or so).
> >
> > First, please do not reply to me only. Put the list on CC, in case
> > somebody else has some insight on the matter.
> >
> > I looked at the kernel config file, but it is pretty difficult to see
> > what is wrong, without either knowing all the options by heart or
> > comparing it to the NOTES files. Moreover, I am sorry, but I cannot find
> >   the console output that you say you attached. Either I am blind or it
> > got stripped somewhere on the way.
>
> He has umass
>
> # USB support
> deviceuhci# UHCI PCI->USB interface
> deviceohci# OHCI PCI->USB interface
> deviceehci# EHCI PCI->USB interface (USB 2.0)
> deviceusb # USB Bus (required)
> #device   udbp# USB Double Bulk Pipe devices
> deviceugen# Generic
> deviceuhid# "Human Interface Devices"
> deviceukbd# Keyboard
> deviceulpt# Printer
> deviceumass   # Disks/Mass storage - Requires scbus 
> and da
>
> But in his "SCSI peripherals" he has scbus and da commented out.
>
> Kent

>May be Kent Stewart wright, cose http://dumpz.org/10103/. I try compile the 
>my kernel whith the all "SCSI peripherals" uncomment. 

You need to add the error messages. You got stdout and what was wrong was 
still missing.

I have a script that I use to do a build[world, kernel] that 
uses /var/log/build. I added build to ..\log. It does nothing more than

make buildkernel KERNCONF=FREEBSD1 2>&1 | 
tee /var/log/build/bkernel-`date "+%Y%m%d-%H%M"`.log

It leaves a complete log everytime I build a kernel. Your options would be 
different and I also use csh.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: Adding data to existing CD/DVD

2009-06-26 Thread Lowell Gilbert
Carmel NY  writes:

> I have tried both xfburn and cdrecord; however, I cannot figure out how
> to add data to an existing CD, or create a CD that I can later add data
> to. It seems that once the CD is written to, this disc is closed. I
> have seen a few options that allow writing to the disk multiple times;
> however, they are then only viewable on a FreeBSD system. I need to
> create discs that are viewable on multiple OS's and that I can add data
> to after the initial burn. Using mkisofs creates an ISO that makes
> adding data to impossible as far as I can tell.

You need to *not* fixate the disk, and on subsequent sessions you need
to tell mkisofs where to start the new image.  The burning command also
needs to know that it's a multi-session disk.  See the "-C" option for
mkisofs, and the "-multi" option for cdrecord.

My crib sheet for burning disks provides an example:

# first session
TZ=UTC-5 mkisofs -R $filenames |cdrecord -v driveropts=burnfree -multi
-data -tao -

#other sessions
OFST=`cdrecord -msinfo`
echo $OFST
TZ=UTC-5 mkisofs -M $dv -C $OFST -R $filenames |cdrecord -v
driveropts=burnfree -tao -multi -data -eject -

> On windows, it is easily done. I just cannot get a handle on how to do
> it on FreeBSD. Maybe I need a different program?

Certainly the sysutils/k3b port makes it much simpler.  But the command
line is quite easy too, now that I have a working script written down.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Editor in minimal system (was Re: The question of moving vi to /bin)

2009-06-26 Thread Gary Kline
On Fri, Jun 26, 2009 at 09:59:28AM +0200, Jonathan McKeown wrote:
> This whole thread only really got started because I questioned Manish Jain's 
> assertion that there was no editor available in /bin.
> 
> To summarise:
> 
> There are several editors available ranging from ed (49604 bytes) and ee 
> (60920 bytes) (both with two library dependencies) to emacs (in ports; 
> 5992604 bytes and 50 library dependencies in my installation) and probably 
> beyond.
> 
> One of them, ed, is available in /bin and therefore in single-user mode.
> 
> Two of them, ed and vi, are available in /rescue and therefore in single-user 
> mode even when something horrible happens and libraries are broken (although
> /rescue/vi is currently slightly broken itself due to the termcap issue which 
> is being fixed in -CURRENT and I hope will be MFC'd).
> 
> Anyone who wants /usr/bin/vi available in single-user mode can install 
> FreeBSD 
> with one large partition; or mount /usr once in single-user mode.
> 
> The original poster suggested that the fix for not having vi in /bin was not 
> to have any editor at all in /rescue, which comprehensively misses the point 
> of /rescue.
> 
> The only argument that's been advanced for moving vi seems to be ``vi should 
> be in /bin because that's how I want it''. I find that argument unconvincing, 
> but it's not up to me. I'm open to a sensible argument, if anyone has one.
> 
> Jonathan


What about making it be a build option?  Or at least symlink the
static vi in /rescue to /bin...?  I mean we have 1.5TB drives
now! 3700 blocks is a burp.  A small burp.

For that matter, why not have the option of moving the majority
of /rescue to /bin?  I've only had to use the rescue floppy a few
times, but did so only because i needed grep and vi to edit
/etc/fsck ...  And major, irksome desl using cat and ed to look
at that file.  And a few others in /etc.


gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
   For FBSD list: http://transfinite.thought.org/slicejourney.php
The 4.98a release of Jottings: http://jottings.thought.org/index.php

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


Re: Re: my kernel is not build/install

2009-06-26 Thread fomin


On Friday 26 June 2009 12:50:22 pm Rolf G Nielsen wrote:
> Кирилл А. Фомин wrote:
> > Здравствуйте, Rolf.
> >
> > In my first mail i attach my config file. Latest i attach full console
> > output.
> >
> > Вы писали 26 июня 2009 г., 23:35:14:
> >> Brent Bloxam wrote:
> >>> fo...@pisem.net wrote:
>  When I make my kernel (make kernel KERNCONF=KERNEL) it stop whith 
>  Error code 1
> >>>
> >>> According to Chapter 8.5 of the handbook
> >>>
> >>> 
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html):
> 1.
>    Change to the /usr/src directory:
>    # cd /usr/src
> 
> 2.
>    Compile the kernel:
>    # make buildkernel KERNCONF=MYKERNEL
> 
> 3.
>    Install the new kernel:
>    # make installkernel KERNCONF=MYKERNEL
> >>>
> >>> You need to use `make buildkernel`, not `make kernel`
> >>> ___
> >>> freebsd-questions@freebsd.org mailing list
> >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >>> To unsubscribe, send any mail to
> >>> "freebsd-questions-unsubscr...@freebsd.org"
> >>
> >> According to the makefile, "make kernel" does "make buildkernel" + "make
> >> installkernel", so that shouldn't be the problem. Your question is very
> >> vague. Could you please attach the complete output (or at least the last
> >> portion of it, e.g. 10-15 lines or so).
>
> First, please do not reply to me only. Put the list on CC, in case
> somebody else has some insight on the matter.
>
> I looked at the kernel config file, but it is pretty difficult to see
> what is wrong, without either knowing all the options by heart or
> comparing it to the NOTES files. Moreover, I am sorry, but I cannot find
>   the console output that you say you attached. Either I am blind or it
> got stripped somewhere on the way.

He has umass

# USB support
device  uhci# UHCI PCI->USB interface
device  ohci# OHCI PCI->USB interface
device  ehci# EHCI PCI->USB interface (USB 2.0)
device  usb # USB Bus (required)
#device udbp# USB Double Bulk Pipe devices
device  ugen# Generic
device  uhid# "Human Interface Devices"
device  ukbd# Keyboard
device  ulpt# Printer
device  umass   # Disks/Mass storage - Requires scbus and da

But in his "SCSI peripherals" he has scbus and da commented out.

Kent
-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html



May be Kent Stewart wright, cose http://dumpz.org/10103/. I try compile the my 
kernel whith the all "SCSI peripherals" uncomment.






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


Re: my kernel is not build/install

2009-06-26 Thread Rolf G Nielsen

Brent Bloxam wrote:

fo...@pisem.net wrote:
When I make my kernel (make kernel KERNCONF=KERNEL) it stop whith  
Error code 1


According to Chapter 8.5 of the handbook 
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html): 




   1.
  Change to the /usr/src directory:
  # cd /usr/src

   2.
  Compile the kernel:
  # make buildkernel KERNCONF=MYKERNEL

   3.
  Install the new kernel:
  # make installkernel KERNCONF=MYKERNEL



You need to use `make buildkernel`, not `make kernel`
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"






According to the makefile, "make kernel" does "make buildkernel" + "make 
installkernel", so that shouldn't be the problem. Your question is very 
vague. Could you please attach the complete output (or at least the last 
portion of it, e.g. 10-15 lines or so).


--

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


Re: my kernel is not build/install

2009-06-26 Thread Maciej Milewski
Dnia piątek 26 czerwiec 2009 o 21:27:58 Brent Bloxam napisał(a):
> fo...@pisem.net wrote:
> > When I make my kernel (make kernel KERNCONF=KERNEL) it stop whith 
> > Error code 1
> According to Chapter 8.5 of the handbook
> (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-
building.html):
> >1.
> >   Change to the /usr/src directory:
> >   # cd /usr/src
> >2.
> >   Compile the kernel:
> >   # make buildkernel KERNCONF=MYKERNEL
> >3.
> >   Install the new kernel:
> >   # make installkernel KERNCONF=MYKERNEL
> You need to use `make buildkernel`, not `make kernel`
From /usr/src/Makefile:
# kernel  - buildkernel + installkernel.
This shouldtn't be the main problem.

You should look for full log from kernel building. f.ex. run:
cd /usr/src; make buildkernel | tee kernel_compilation.log
and search in this log for an error in this log.

Cheers,
Maciej Milewski

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


Re: my kernel is not build/install

2009-06-26 Thread Kent Stewart
On Friday 26 June 2009 12:50:22 pm Rolf G Nielsen wrote:
> Кирилл А. Фомин wrote:
> > Здравствуйте, Rolf.
> >
> > In my first mail i attach my config file. Latest i attach full console
> > output.
> >
> > Вы писали 26 июня 2009 г., 23:35:14:
> >> Brent Bloxam wrote:
> >>> fo...@pisem.net wrote:
>  When I make my kernel (make kernel KERNCONF=KERNEL) it stop whith 
>  Error code 1
> >>>
> >>> According to Chapter 8.5 of the handbook
> >>>
> >>> 
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html):
> 1.
>    Change to the /usr/src directory:
>    # cd /usr/src
> 
> 2.
>    Compile the kernel:
>    # make buildkernel KERNCONF=MYKERNEL
> 
> 3.
>    Install the new kernel:
>    # make installkernel KERNCONF=MYKERNEL
> >>>
> >>> You need to use `make buildkernel`, not `make kernel`
> >>> ___
> >>> freebsd-questions@freebsd.org mailing list
> >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >>> To unsubscribe, send any mail to
> >>> "freebsd-questions-unsubscr...@freebsd.org"
> >>
> >> According to the makefile, "make kernel" does "make buildkernel" + "make
> >> installkernel", so that shouldn't be the problem. Your question is very
> >> vague. Could you please attach the complete output (or at least the last
> >> portion of it, e.g. 10-15 lines or so).
>
> First, please do not reply to me only. Put the list on CC, in case
> somebody else has some insight on the matter.
>
> I looked at the kernel config file, but it is pretty difficult to see
> what is wrong, without either knowing all the options by heart or
> comparing it to the NOTES files. Moreover, I am sorry, but I cannot find
>   the console output that you say you attached. Either I am blind or it
> got stripped somewhere on the way.

He has umass

# USB support
device  uhci# UHCI PCI->USB interface
device  ohci# OHCI PCI->USB interface
device  ehci# EHCI PCI->USB interface (USB 2.0)
device  usb # USB Bus (required)
#device udbp# USB Double Bulk Pipe devices
device  ugen# Generic
device  uhid# "Human Interface Devices"
device  ukbd# Keyboard
device  ulpt# Printer
device  umass   # Disks/Mass storage - Requires scbus and da

   
But in his "SCSI peripherals" he has scbus and da commented out.

Kent
-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: my kernel is not build/install

2009-06-26 Thread Rolf G Nielsen

Кирилл А. Фомин wrote:

Здравствуйте, Rolf.

In my first mail i attach my config file. Latest i attach full console
output.

Вы писали 26 июня 2009 г., 23:35:14:


Brent Bloxam wrote:

fo...@pisem.net wrote:
When I make my kernel (make kernel KERNCONF=KERNEL) it stop whith  
Error code 1
According to Chapter 8.5 of the handbook 
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html): 




   1.
  Change to the /usr/src directory:
  # cd /usr/src

   2.
  Compile the kernel:
  # make buildkernel KERNCONF=MYKERNEL

   3.
  Install the new kernel:
  # make installkernel KERNCONF=MYKERNEL


You need to use `make buildkernel`, not `make kernel`
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"







According to the makefile, "make kernel" does "make buildkernel" + "make
installkernel", so that shouldn't be the problem. Your question is very
vague. Could you please attach the complete output (or at least the last
portion of it, e.g. 10-15 lines or so).







First, please do not reply to me only. Put the list on CC, in case 
somebody else has some insight on the matter.


I looked at the kernel config file, but it is pretty difficult to see 
what is wrong, without either knowing all the options by heart or 
comparing it to the NOTES files. Moreover, I am sorry, but I cannot find 
 the console output that you say you attached. Either I am blind or it 
got stripped somewhere on the way.


--

Rolf Nielsen

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


Re: my kernel is not build/install

2009-06-26 Thread Brent Bloxam

fo...@pisem.net wrote:

When I make my kernel (make kernel KERNCONF=KERNEL) it stop whith  Error 
code 1


According to Chapter 8.5 of the handbook 
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html):



   1.
  Change to the /usr/src directory:
  # cd /usr/src

   2.
  Compile the kernel:
  # make buildkernel KERNCONF=MYKERNEL

   3.
  Install the new kernel:
  # make installkernel KERNCONF=MYKERNEL



You need to use `make buildkernel`, not `make kernel`
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


my kernel is not build/install

2009-06-26 Thread fomin
When I make my kernel (make kernel KERNCONF=KERNEL) it stop whith  Error 
code 1














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

Re: Restrict process(es) to single core

2009-06-26 Thread Daniel Underwood
That's great, thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Restrict process(es) to single core

2009-06-26 Thread David N
2009/6/27 Chuck Swiger :
> On Jun 26, 2009, at 10:40 AM, Daniel Underwood wrote:
>>
>> Suppose I'm running a multi-threaded program that's utilizing both
>> cores of my CPU.  I'm not interested in it's speed, however, and would
>> like to free up another core for general purpose. Is there a way
>> (without altering/recompiling the program, obviously) to restricting a
>> process and its children to a single core?
>
> The simple way would be to use renice to change the process priority; other
> normal processes you run would get CPU first, but this task would be able to
> use all system resources if nothing else is.  I'm not sure whether FreeBSD
> currently has a way to bind tasks to only running on a subset of available
> CPUs (ie, CPUSETs mechanism in Linux, set CPU affinity in Windows, etc).
>
> Regards,
> --
> -Chuck
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>

If you're running FreeBSD 7.1 or up, theres a program called cpuset.
man cpuset

I think that's what you're after. Allows binding of process to certain CPUs.

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


Re: Restrict process(es) to single core

2009-06-26 Thread Chuck Swiger

On Jun 26, 2009, at 10:40 AM, Daniel Underwood wrote:

Suppose I'm running a multi-threaded program that's utilizing both
cores of my CPU.  I'm not interested in it's speed, however, and would
like to free up another core for general purpose. Is there a way
(without altering/recompiling the program, obviously) to restricting a
process and its children to a single core?


The simple way would be to use renice to change the process priority;  
other normal processes you run would get CPU first, but this task  
would be able to use all system resources if nothing else is.  I'm not  
sure whether FreeBSD currently has a way to bind tasks to only running  
on a subset of available CPUs (ie, CPUSETs mechanism in Linux, set CPU  
affinity in Windows, etc).


Regards,
--
-Chuck

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


torrents.freebsd.org

2009-06-26 Thread Chris Cowart
Hello,

I'm currently trying to setup a bittorrent tracker to distribute files,
such as patches, to users when they're stuck behind our captive portal.
My experience over the last several weeks is that the software is flaky,
the documentation is poor, and no projects are being actively maintained
(or at least, projects in the FreeBSD ports tree). 

I'm getting the feeling that you need to be a member of an elite,
invitation-only group that performs heavy customizations every time a
tracker is installed.

I found net-p2p/bnbt and I thought it was the way to go. I somehow
managed to get it setup in the dev environment, load some torrents to be
tracked, and away we went. When I tried to reproduce this success in our
testing environment, I failed miserably. I can no longer figure out what
I did to get bnbt to load the torrents (apparently it was more
complicated than just dropping them off in the allowed_dir). I
discovered from a ktrace that bnbt is indeed scanning my allowed_dir on
startup and periodically after that, but it won't list the torrents in
the web interface, and it tells clients "requested download is not
authorized for use with this tracker".

I'm hoping to find somebody who's successfully running bnbt for some
pointers. If nothing else, I'd love to get in touch with the operators
of torrents.freebsd.org to find out what they're doing.

Thanks for any help,

-- 
Chris Cowart
Network Technical Lead
Network & Infrastructure Services, RSSP-IT
UC Berkeley


pgpL1Mud44fTt.pgp
Description: PGP signature


vde qemu write: No buffer space available

2009-06-26 Thread Adam Vande More
I'm having issues with high network throughput with vde and qemu.  There are
two qemu vm's each running debian lenny and they are configured for drbd.
The vm's work fine until drbd is started then the networking fails.  The
only message I get(on the host side) is

write: No buffer space available

which is echoed to console, and nothing appears in the logs.  I believe this
to be an issue with vde, but I can't be certain because I can't seem to find
any way to turn on more extensive logging.  Anyone have an idea how to
resolve this?

Thanks,

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


Adding data to existing CD/DVD

2009-06-26 Thread Carmel NY

I have tried both xfburn and cdrecord; however, I cannot figure out how
to add data to an existing CD, or create a CD that I can later add data
to. It seems that once the CD is written to, this disc is closed. I
have seen a few options that allow writing to the disk multiple times;
however, they are then only viewable on a FreeBSD system. I need to
create discs that are viewable on multiple OS's and that I can add data
to after the initial burn. Using mkisofs creates an ISO that makes
adding data to impossible as far as I can tell.

On windows, it is easily done. I just cannot get a handle on how to do
it on FreeBSD. Maybe I need a different program?

-- 
Carmel
car...@hotmail.com

If you wish to live wisely, ignore sayings -- including this one.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Re: Re: Which latex should I install

2009-06-26 Thread af300wsm

On Jun 26, 2009 10:40am, Roland Smith  wrote:

On Fri, Jun 26, 2009 at 03:27:51PM +0100, Anton Shterenlikht wrote:



> On Fri, Jun 26, 2009 at 10:21:37AM -0400, Daniel Underwood wrote:



> > > Is there a FBSD port of TeXLive?



> >



> > No, but it's not necessary. Just go here



> > http://www.tug.org/texlive/acquire.html> and download the DVD image.



>



> well.. I'll wait for some kind sole to put a texlive port together.



> Tetex port has been enough for me for some years now.





The thing is that teTeX hasn't been updated in years. It has in fact



been deprecated in favor of TeXLive. This is not a big problem with the



basic TeX engine, because that doesn't change that much. But pdfTeX (a



TeX that generates PDF output instead of DVI) has been evolving



rapidly. And you'll miss out on several years of updates of the macro



packages (like LaTeX and ConTeXt).





Another consideration is that TeXLive contains a much larger choice of



additional packages than teTeX.





So I would advise you to install TeXLive. The latest DVD comes with



FreeBSD binaries.





Look at the mailing list archives for threads called "LaTeX oder teTeX"



in October 2007, and "Installing latest version of LaTeX" in June



2009. In those threads I've posted some instructions on how to get



TeXLive to work. Installation is pretty easy, but you have to change



login.conf and manpath.conf to use the binaries and manpages. Normally



TeXLive keeps everything under its own tree (/usr/local/texlive), so it



won't mess up the trees /usr/local/{bin,share,...}. Do _not_ tell the



installer to put symbolic links in /usr/local/bin! That way removing



TeXLive is as easy as removing /usr/local/texlive.





Roland



Thanks Roland. Looks like TeXLive it is.

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


Restrict process(es) to single core

2009-06-26 Thread Daniel Underwood
Suppose I'm running a multi-threaded program that's utilizing both
cores of my CPU.  I'm not interested in it's speed, however, and would
like to free up another core for general purpose. Is there a way
(without altering/recompiling the program, obviously) to restricting a
process and its children to a single core?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: vde2 tap brings down external networking

2009-06-26 Thread Adam Vande More
On Thu, Jun 25, 2009 at 2:54 PM, Adam Vande More wrote:

> I'm trying to network a couple of qemu vm together and to the outside
> world.  After much pain and gnashing of teeth I found a setup that works
> temporarily.  I start both vm's with a command similar to this:
> vde_switch -hub -tap /dev/tap0
> chmod -R 666 /var/run/vde.ctl
> vdeqemu -vga cirrus -localtime -hda linux-boot-0.img -hdb linux-boot-1.img
> \
> -hdc linux-data-0.img -hdd linux-data-1.img -m 392 -boot c -kernel-kqemu
>
> ipfw divert and natd are present.
>
> ifconfig looks like this:
>
> midco# ifconfig
> xl0: flags=8802 metric 0 mtu 1500
> options=9
> ether 00:04:76:d2:50:25
> media: Ethernet 10baseT/UTP (10baseT/UTP )
> status: active
> nfe0: flags=8943 metric 0
> mtu 1500
> options=19b
> ether 00:04:4b:04:01:28
> inet 208.107.54.67 netmask 0xfe00 broadcast 208.107.55.255
> media: Ethernet autoselect (100baseTX )
> status: active
> lo0: flags=8049 metric 0 mtu 16384
> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
> inet6 ::1 prefixlen 128
> inet 127.0.0.1 netmask 0xff00
> bridge0: flags=8843 metric 0 mtu
> 1500
> ether e6:56:26:6d:f8:f8
> inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255
> id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
> maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200
> root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
> member: nfe0 flags=143
> ifmaxaddr 0 port 2 priority 128 path cost 20
>
> ipfw show:
> midco# ipfw show
> 65535 1483037 1334261656 allow ip from any to any
>
> once I add tap0 to bridge0 I have only a few minutes to access my external
> network.  Once it goes down, I am unable to revive via normal methods eg
> /etc/rc.d/netif restart && /etc/rc.d/routed restart.  Anything going to
> external network timeouts, but tap/vm stuff is great.  Even destroying
> vm's/bridge/tap and bringing everything up doesn't restore networking, I
> have to reboot.  netstat -nr looks the same before and after.
> midco# netstat -nr
> Routing tables
>
> Internet:
> DestinationGatewayFlagsRefs  Use  Netif Expire
> default208.107.54.1   UGS 0   591581   nfe0
> 127.0.0.1  127.0.0.1  UH  0   24lo0
> 192.168.0.0/24 link#4 UC  00 bridge
> 208.107.54.0/23link#2 UC  00   nfe0
> 208.107.54.1   00:13:5f:05:e3:d9  UHLW20   nfe0   1198
>
> Internet6:
> Destination   Gateway   Flags
> Netif Expire
> ::1   ::1   UHL
> lo0
> fe80::%lo0/64 fe80::1%lo0   U
> lo0
> fe80::1%lo0   link#3UHL
> lo0
> ff01:3::/32   fe80::1%lo0   UC
> lo0
> ff02::%lo0/32 fe80::1%lo0   UC
> lo0
>
> /var/log/messages only had arp stuff relating to bridge which I suppressed.
>
> Thanks,
>
> PS bring up qemu networking in multicast mode to achieve this hangs my
> cable modem.
>
> --
> Adam Vande More
>

Disabling divert rule fixed it, but unable to get nat to work

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


Device naming on scbus using isp

2009-06-26 Thread Brent Bloxam
I'm wondering about how device names are assigned on scbus, specifically 
when using the isp driver. It seems to me that there's potential when an 
HBA has access to multiple LUNs that on boot the scbus will have entries 
in /dev scrambled compared to the previous run (thus messing up mounts). 
My experience so far has been that da0 will be assigned to the first 
target scanned, da1 to the second, etc. Is this generally something 
countered with device.hints? If a LUN were to go away, but a device hint 
pointing to the target:unit remained, would that cause any issues on boot?


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


Re: Re: Which latex should I install

2009-06-26 Thread Roland Smith
On Fri, Jun 26, 2009 at 03:27:51PM +0100, Anton Shterenlikht wrote:
> On Fri, Jun 26, 2009 at 10:21:37AM -0400, Daniel Underwood wrote:
> > > Is there a FBSD port of TeXLive?
> > 
> > No, but it's not necessary.  Just go here
> >  and download the DVD image.
> 
> well.. I'll wait for some kind sole to put a texlive port together.
> Tetex port has been enough for me for some years now.

The thing is that teTeX hasn't been updated in years. It has in fact
been deprecated in favor of TeXLive. This is not a big problem with the
basic TeX engine, because that doesn't change that much. But pdfTeX (a
TeX that generates PDF output instead of DVI) has been evolving
rapidly. And you'll miss out on several years of updates of the macro
packages (like LaTeX and ConTeXt).

Another consideration is that TeXLive contains a much larger choice of
additional packages than teTeX.

So I would advise you to install TeXLive. The latest DVD comes with
FreeBSD binaries.

Look at the mailing list archives for threads called "LaTeX oder teTeX"
in October 2007, and "Installing latest version of LaTeX" in June
2009. In those threads I've posted some instructions on how to get
TeXLive to work. Installation is pretty easy, but you have to change
login.conf and manpath.conf to use the binaries and manpages. Normally
TeXLive keeps everything under its own tree (/usr/local/texlive), so it
won't mess up the trees /usr/local/{bin,share,...}. Do _not_ tell the
installer to put symbolic links in /usr/local/bin! That way removing
TeXLive is as easy as removing /usr/local/texlive.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpbX9jB78X2J.pgp
Description: PGP signature


troubleshooting sudden memory spikes

2009-06-26 Thread Zbigniew Szalbot

Hello,

I have a 7.2 FreeBSD server that has recently started to exhibit some 
strange behaviour. For a few days (since Monday) the number of inactive 
memory is constantly on the rise. When it gets to a certain level 
(around 1300-1400M), the system will start swapping, the inactvie memory 
gets released and free memory jumps to about 1300-1500M.


You can see some graphs here to better realise what I am trying to describe:
http://www.slowo.pl/_files/mem/

I was once able to see the memory spike occuring and I noticed that 
proftpd was intensively being used at that time. We have implemented 
some changes to proftpd setup to make sure it does not cause trouble. 
However, the spikes still occur.


I am wondering how to troubleshoot it. Where would you start looking to 
solve the problem?


I am suspecting:
1/ proftpd still causes some kind of a problem on one jail
2/ at least one website is quite buggy and generates a lot of entries in 
error.log so maybe it is the site?

3/ something about the jail system which was added about two weeks ago?

As of writing this email...
last pid: 85820;  load averages:  0.20,  0.17,  0.17   up 16+00:10:51 
17:30:49

73 processes:  1 running, 72 sleeping
CPU:  2.5% user,  0.0% nice,  0.8% system,  0.2% interrupt, 96.5% idle
Mem: 256M Active, 1393M Inact, 234M Wired, 61M Cache, 112M Buf, 50M Free
Swap: 4492M Total, 285M Used, 4207M Free, 6% Inuse


The system is not very busy (load average above is quite typical for 
that machine) and prior to Monday it has never swapped. For the whole 
year I haven't managed to use more than 2MB of swap space. But this 
changed this Monday.


I would like to find out what causes such behaviour so your suggestions 
are very much appreciated!


Thank you and have a nice weekend!

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


QEMU + FreeBSD

2009-06-26 Thread Jim
I have installed FreeBSD 7.2 on my notebook in the last week, and
installed QEmu as well.

I cannot seem to get the network interface working. It works on my
desktop machine, but that is running 7.0

looking around, I tried to find some other options, and went here:
http://wiki.freebsd.org/qemu

and got stuck at this step:
 # sysctl net.link.ether.bridge_cfg=fxp0,tap0
 # sysctl net.link.ether.bridge.enable=1

because nothing matching "net.link.ether.bridge*" exists.

Does anyone know of a current good setup document?

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


Re: Re: Which latex should I install

2009-06-26 Thread Anton Shterenlikht
On Fri, Jun 26, 2009 at 10:21:37AM -0400, Daniel Underwood wrote:
> > Is there a FBSD port of TeXLive?
> 
> No, but it's not necessary.  Just go here
>  and download the DVD image.

well.. I'll wait for some kind sole to put a texlive port together.
Tetex port has been enough for me for some years now.

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


Re: Re: Which latex should I install

2009-06-26 Thread Daniel Underwood
> There is... but not an official one. Romain Tartière made a special
> form of ports tree, to be integrated with the 'official' tree for
> TeXLive.

I didn't know that.  I've had no problems with the generic version though.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Re: Which latex should I install

2009-06-26 Thread Chris Rees
2009/6/26 Anton Shterenlikht :
> On Fri, Jun 26, 2009 at 09:32:31AM -0400, Daniel Underwood wrote:
>> Hopefully Polytropon will chime in on this, but I had to install
>> TeXLive for everything to work.
>>
>> Suggestion: try teTeX.  If you encounter problems, then install TeXLive.
>
> Is there a FBSD port of TeXLive?
>

There is... but not an official one. Romain Tartière made a special
form of ports tree, to be integrated with the 'official' tree for
TeXLive.

It's found at http://code.google.com/p/freebsd-texlive/wiki/Installing

I'm supposed to be doing work on it involving porting LyX... but I'm
committed to other stuff at the moment too :(

Chris


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Re: Which latex should I install

2009-06-26 Thread Anton Shterenlikht
On Fri, Jun 26, 2009 at 09:32:31AM -0400, Daniel Underwood wrote:
> Hopefully Polytropon will chime in on this, but I had to install
> TeXLive for everything to work.
> 
> Suggestion: try teTeX.  If you encounter problems, then install TeXLive.

Is there a FBSD port of TeXLive? 

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


Re: The question of moving vi to /binHi,

2009-06-26 Thread Chris Rees
2009/6/26 Glen Barber :
> On Fri, Jun 26, 2009 at 12:11 AM, Polytropon wrote:
>> On Fri, 26 Jun 2009 12:03:21 +0800, Erich Dollansky  
>> wrote:
>>> What kind of editor do you need for rescue? Just edit one or two
>>> lines in some config file to allow the full system to start
>>> again.
>>>
>>> Rescue does not need an editor programmers are used to edit their
>>> source files.
>>
>> I won't say anything different. For the usual "maintenance and
>> get the damn thing working again" tasks the /rescue editor,
>> especially vi, should be enough. Commands are i, a, and :wq.
>
> Don't forget about dd ;)
>
>
> --
> Glen Barber

Or

:wq!

for when it _just_ _won't_ _write_!

Chris

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Re: Which latex should I install

2009-06-26 Thread Daniel Underwood
Hopefully Polytropon will chime in on this, but I had to install
TeXLive for everything to work.

Suggestion: try teTeX.  If you encounter problems, then install TeXLive.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Re: Which latex should I install

2009-06-26 Thread af300wsm

On Jun 26, 2009 6:41am, Daniel Underwood  wrote:

I recently went through the ropes of installing latex on my FreeBSD



machine. You may the discussion I had helpful.





See # 256 and below, from here:



http://docs.freebsd.org/mail/archive/2009/freebsd-questions/20090607.freebsd-questions.html>




Thanks for the link to the previous discussion. So, should I use the  
TeXLive or teTeX given by Polytropon?


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


Re: Which latex should I install

2009-06-26 Thread Daniel Underwood
I recently went through the ropes of installing latex on my FreeBSD
machine.  You may the discussion I had helpful.

See # 256 and below, from here:

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


kernel panic - umount xfs partition

2009-06-26 Thread Zbigniew Komarnicki
Hello,

I have a Dabian 5.0 and FreeBSD 7.2-RELEASE-p2 on i386 athlon-xp. I have two  
partitions under Debian. They are xfs file system.

So I mount it from FreeBSD

# mount -t xfs -o ro /dev/ad0s1 /mnt
# ls /mnt
# umount /mnt

Everything is OK, but now I  do the following

# mount -t xfs -o ro /dev/ad0s2 /mnt
# ls /mnt
# cp /mnt/my_file /home/zbigniew

when cp finish the system was frozen and after a while do reboot.
After reboot I saw coredump on the swap file.

This is only for me or also maybe you have such problem. My system is for 
desktop usage. I work at school. 


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


Editor in minimal system (was Re: The question of moving vi to /bin)

2009-06-26 Thread Jonathan McKeown
This whole thread only really got started because I questioned Manish Jain's 
assertion that there was no editor available in /bin.

To summarise:

There are several editors available ranging from ed (49604 bytes) and ee 
(60920 bytes) (both with two library dependencies) to emacs (in ports; 
5992604 bytes and 50 library dependencies in my installation) and probably 
beyond.

One of them, ed, is available in /bin and therefore in single-user mode.

Two of them, ed and vi, are available in /rescue and therefore in single-user 
mode even when something horrible happens and libraries are broken (although
/rescue/vi is currently slightly broken itself due to the termcap issue which 
is being fixed in -CURRENT and I hope will be MFC'd).

Anyone who wants /usr/bin/vi available in single-user mode can install FreeBSD 
with one large partition; or mount /usr once in single-user mode.

The original poster suggested that the fix for not having vi in /bin was not 
to have any editor at all in /rescue, which comprehensively misses the point 
of /rescue.

The only argument that's been advanced for moving vi seems to be ``vi should 
be in /bin because that's how I want it''. I find that argument unconvincing, 
but it's not up to me. I'm open to a sensible argument, if anyone has one.

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


Re: The question of moving vi to /bin

2009-06-26 Thread Chris Rees
2009/6/25 Gary Gatten :
> I like M$ "Notepad" - is there a version of that for FBSD? Actually the old 
> "edit" from dos is sweet too
>

I'll humour you... gedit is similar and better than notepad for BSD,
but there's nothing like 'edit' (actually a stripped down QBasic)
AFAIK. Maybe you should write one! Perhaps the closest thing there is
ee.

Chris



--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?



-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: xfburn fails with 'Undefined symbol "__malloc_lock"'

2009-06-26 Thread Markus Hoenicka

Quoting Manolis Kiagias :


Upgrading between major versions requires all installed ports to be
rebuilt, so they get linked to the new versions of the libraries.
I suppose you missed this step, older apps may still work but there is a
problem installing new ones.

Please see the instructions at the end of section 24.2.3 (portupgrade etc):



This is why I'm at a loss here. I upgraded the base system from the  
sources and then used portupgrade -af to rebuild all installed  
packages. Right after upgrading the base system, essentially  
everything from X to Emacs was broken (I tried, just for the heck of  
it). After running portupgrade, these problems were all fixed - except  
for xfburn.



(AFAIR,  if you upgraded via source, you will also need to run make
delete-old-libs in /usr/src after successfully recompiling ports)


I'll try that, as I've never seen this before. I definitely didn't do that.

regards,
Markus

--
Markus Hoenicka
markus.hoeni...@cats.de
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de


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