recover data from damaged msdos fat32 partition

2008-12-20 Thread Fbsd1
I know i can mount fat32 partition using mount_msdos command. But my 
msdos fat32 partition is a bad disk with corrupted fat table.


Question is can i use freebsd to recover data from this msdos fAT32 disk

What tools do you suggest to use?

___
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: Snow in my Server

2008-12-20 Thread Anthony M. Rasat
Gary Hartl wrote:
Help, I'm in southern Ontario and I have 20cm of snow 
on my freebsd 7-release server.

Are you kidding?

IT seems to be causeing some http outages.

My FBSD 6-.0 doesn't seem to be affected thou.


Any suggestions,

Move it here?

-- 

Regards,

Anthony M. Rasat
Manager - Technical, Network and Support Division
PT. Jawa Pos National Network
Graha Pena Jawa Pos Group Building, 5th floor
Jln. Raya Kebayoran Lama 12, Jakarta Selatan 12210
Indonesia.-
Phone 02132185562
Phone 081574217035
Fax 02153651465
Web http://www.jpnn.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: recover data from damaged msdos fat32 partition

2008-12-20 Thread Jeff Laine
On Sat, Dec 20, 2008 at 04:16:38PM +0800, Fbsd1 wrote:
 I know i can mount fat32 partition using mount_msdos command. But my 
 msdos fat32 partition is a bad disk with corrupted fat table.
 
 Question is can i use freebsd to recover data from this msdos fAT32 disk
 
 What tools do you suggest to use?
 

I believe it's a job for fsck_msdosfs(8) 

-- 
Best regards,
Jeff

() X-mas ribbon campaign
/\

___
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: Why no dvd isos?

2008-12-20 Thread Octavian Ionescu

hi,

if you really need dvd iso you can follow the instructions here

http://it.toolbox.com/blogs/bsd-guru/creating-your-own-freebsd-70-dvd-22791

--
Octavian


Quoting Alan Batie a...@batie.org:


m...@sentex.net wrote:


There are DVD versions available
ftp://ftp.freebsd.org//pub/FreeBSD/releases/i386/ISO-IMAGES/7.1/7.1-RC1-i386-dvd1.iso.gz


That's the only version that seems to, but thanks!  It looks like
they're coming...




___
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: Backing Up ZFS

2008-12-20 Thread Peter Schuller
 I'm just curious at what others are currently doing to back up huge
 amounts of data. eg. 2TB and onwards.

I'm using rdiff-backup and some scripting to backup ZFS
snapshots. Other than the use of the ZFS snapshots there's nothing
special about it. If your use case is suitable for rdiff-backup, using
it with ZFS is a nice combination. For 2 TB+ I do suspect you would
want to divide that up into multiple distinct rdiff-backup sets and
indeed dependening on situation you may still have a problem with
performance.

In general I don't know that there is a lot ZFS specific to know about
backups other than the availability of snapshots, and other than the
potential to use zfs send/receive.

Personally I am reluctant to use ZFS send/receive at this stage,
because it is too dependent on ZFS. I would love to use it for
maintaining a hot standby machine, or having an almost-realtime backup
in the best case senario. But I would probably want a generic non-ZFS
specific backup as my primary backup as well. One risk that you want
to target with ZFS is that of a bug in ZFS itself; such bugs could
conceivably be such that it affects your zfs send/receive backup.

You mention:

 3. ZFS - Remote ZFS using RSync (Living in Australia, there are
 limits on data transfer of a few hundred GB per month, to costs are
 prohibitive)

rdiff-backup will be good in this senario too, giving you a rolling
window of history in addition to an up-to-date mirror. It does do
incremental updates including applying the rsync algorithm on
individual files. It is definitely slower, in terms of CPU usage, than
rsync however so if you have massive amounts of small files you may
feel there is an issue. That said, I'm using it regularly to backup
millions of files (e.g. collections of Maildir mailboxes).

I mention rdiff-backup but of course there are plenty of others. I
just happen to prefer rdiff-backup, mostly because of it's rsync
mirror + history semantics and completely trivial setup.

-- 
/ Peter Schuller

PGP userID: 0xE9758B7D or 'Peter Schuller peter.schul...@infidyne.com'
Key retrieval: Send an E-Mail to getpgp...@scode.org
E-Mail: peter.schul...@infidyne.com Web: http://www.scode.org



pgp3geOfKDD0f.pgp
Description: PGP signature


Re: Snow in my Server

2008-12-20 Thread Reko Turja

Help, I'm in southern Ontario and I have 20cm of snow on my freebsd
7-release server.

IT seems to be causeing some http outages.


Great, natural and energy saving form of water cooling! Just 
disconnect all the fans and overclock to your hearts content!


-Reko 


___
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: linux_base question

2008-12-20 Thread Boris Samorodov
On Wed, 17 Dec 2008 19:03:45 -0800 Chris wrote:

 I just updated ports and have the following shown
 linux_base-f7
 linux_base-f8

I'd use this one if you cat't use linux_base-fc4. AFAIC this port has a
fixed libc which works better with linuxulator. Please read
/usr/ports/UPDATING for more information about non-default linux base
ports (linux_base-6,7,8).

You can't use FreeBSD-6.x though.

 linux_base-fc4
 linux_base-fc6
 (and several Gentoo)


WBR
-- 
bsam
___
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: linux_base question

2008-12-20 Thread Boris Samorodov
On Thu, 18 Dec 2008 22:43:22 +1000 Da Rock wrote:

 If this is the case, what is the difference between the ports?

Well, just what they are: ports for Fedora Core 6, Fedora 7 and
Fedora 8.

 Do the libraries change?

Sure, some libraries changes did occure. At least minor versions
were. A more detailed information you may discover the differencies
looking at makefiles and pkg-plist files.

 Supporting software?

Hw, compat.linux.osrelease should be set to 2.6.16.

 Can freebsd effectively emulate any kernel version?

No, the default is 2.4.2 and a planned one (not default and not fully
supported, but in a good shape so far) is 2.6.16.


WBR
-- 
bsam
___
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: general question about setting up gateway

2008-12-20 Thread Roger Olofsson



Richard Yang skrev:

hi,
i am trying to use freebsd as my home network gateway to the internet.
any good reference i should know besides what's in the handbook?
thanks

rich
___
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





No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.9.19/1857 - Release Date: 2008-12-19 10:09




Hello Richard,

The first step is really easy - assuming you have a FreeBSD with two 
nics in it - edit /etc/rc.conf and comment out the line that starts with 
'defaultrouter=' and then add a line saying 'gateway_enable=YES.


The second step is a bit more complicated - you will have to decide on a 
firewall and a NAT mechanism. Depending on your choice here you will 
have to do various things to implement it.


The handbook is a good start when chosing firewall  - 
http://www.freebsd.org/doc/en/books/handbook/firewalls.html .


There are alot of other additional information spread out on the 
(w)internet - here's a couple:


ipfilter
http://freebsd.peon.net/tutorials/21/

ipfilter and pf resources
http://www.obfuscation.org/ipf/

pf
http://web.irtnog.org/howtos-orig/freebsd-firewall

I hope this will help you get started.

Greetings
/Roger


___
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: Snow in my Server

2008-12-20 Thread Ott Köstner

Gary Hartl wrote:

Help, I'm in southern Ontario and I have 20cm of snow on my freebsd
7-release server.

IT seems to be causeing some http outages.

My FBSD 6-.0 doesn't seem to be affected thou.


Any suggestions,
  

First, make sure Your ports tree is up to date:
# csup -h cvsup.xx.freebsd.org /usr/share/examples/cvsup/ports-supfile

Check the snow version:
# pkg_version -v|grep snow

Maybe your snow needs upgrade:
# portupgrade snow

See what software is using snow:
# portversion -rv snow

If you do not snow any more, just:
# pkg_delete snow

;)
Greetings!



___
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


mount DVD - invalid argument

2008-12-20 Thread Max Russell
I have two DVD drives on my machine.

m...@~: grep acd /var/run/dmesg.boot
acd0: DVDR PIONEER DVD-RW DVR-111D/1.19 at ata1-master UDMA66
acd1: DMA limited to UDMA33, device found non-ATA66 cable
acd1: DVDROM ASUS DVD-E616A2/1.03 at ata1-slave UDMA33

the optical section of my fstab is like this:

/dev/acd0 /cdrom cd9660 ro,noauto 0 0
/dev/acd1 /cdrom cd9660 ro,noauto 0 0

however, when I try and mount a DVD, I get the following:

m...@~: sudo mount_cd9660 -s 0 /dev/acd0 /cdrom
mount_cd9660: /dev/acd0: Invalid argument

I have been able to mount CDs.

If I'm missing something really obvious, any help would be appreciated.

ta

Max
___
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


geom lvm class - glvm

2008-12-20 Thread Franck Royer
 Hi,

I found this entry on the official website :

http://www.freebsd.org/news/status/r...0-2007-12.html
http://www.freebsd.org/news/status/report-2007-10-2007-12.html

But I didn't find any other information about the geom lvm class or glvm.

How can i activate it in the kernel ? Is here any tools about it ?

Thank
___
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: mount DVD - invalid argument

2008-12-20 Thread Wojciech Puchar


m...@~: grep acd /var/run/dmesg.boot
acd0: DVDR PIONEER DVD-RW DVR-111D/1.19 at ata1-master UDMA66
acd1: DMA limited to UDMA33, device found non-ATA66 cable
acd1: DVDROM ASUS DVD-E616A2/1.03 at ata1-slave UDMA33

the optical section of my fstab is like this:

/dev/acd0 /cdrom cd9660 ro,noauto 0 0
/dev/acd1 /cdrom cd9660 ro,noauto 0 0



isn't it better just to have

/dev/acd0 /dvdr cd9660 ro,noauto 0 0
/dev/acd1 /dvd cd9660 ro,noauto 0 0

to avoid all the mess?
___
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: Snow in my Server

2008-12-20 Thread Mario Lobo
On Saturday 20 December 2008 08:02:53 Ott Köstner wrote:
 Gary Hartl wrote:
  Help, I'm in southern Ontario and I have 20cm of snow on my freebsd
  7-release server.
 
  IT seems to be causeing some http outages.
 
  My FBSD 6-.0 doesn't seem to be affected thou.
 
 
  Any suggestions,

 First, make sure Your ports tree is up to date:
 # csup -h cvsup.xx.freebsd.org /usr/share/examples/cvsup/ports-supfile

 Check the snow version:
 # pkg_version -v|grep snow

 Maybe your snow needs upgrade:
 # portupgrade snow

 See what software is using snow:
 # portversion -rv snow

 If you do not snow any more, just:
 # pkg_delete snow

 ;)
 Greetings!



And don't forget to upgrade the nvidia driver !!

Merry Xmas Everybody !
-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE)
___
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


[6.3/Asterisk + Zaptel] Unloading module for upgrade?

2008-12-20 Thread Gilles
Hello

Since the Ports collection showed that there were more recent versions
of Asterisk and Zaptel, I tried to compile/install Zaptel, but it
fails, even after stopping Zaptel cleanly, and even after stopping
Asterisk itself:

=
# kldstat
Id Refs AddressSize Name
 1   14 0xc040 7a05b0   kernel
 35 0xc2caa000 32000zaptel.ko
 41 0xc2ce 7000 qozap.ko
 51 0xc2ce7000 2tau32pci.ko
 61 0xc2d09000 5000 wcfxo.ko
 71 0xc2d0e000 a000 wcfxs.ko
 91 0xc2d26000 c000 wct4xxp.ko
=
# /usr/local/etc/rc.d/zaptel stop
 zaptelkldunload: can't find file wcte12xp.ko: No such file or
directory
kldunload: can't find file wcte11xp.ko: No such file or directory
kldunload: can't find file wct1xxp.ko: No such file or directory
kldunload: can't find file wctdm24xxp.ko: No such file or directory
kldunload: can't find file wctdm.ko: No such file or directory
kldunload: can't unload file: Device busy
=
# kldunload zaptel
kldunload: can't unload file: Device busy
=
# kldunload qozap
# kldunload wcfxo
# kldunload wcfxs
# kldunload wct4xxp
# kldunload zaptel 
kldunload: can't unload file: Device busy
=
# kldunload -f zaptel
kldunload: can't unload file: Device busy
=
Dec 20 14:21:39 freebsd kernel: kldunload: attempt to unload file that
was loaded by the kernel
=

What is the right way to upgrade Zaptel, without rebooting the host?

Thank you.

___
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: [6.3/Asterisk + Zaptel] Unloading module for upgrade?

2008-12-20 Thread Gilles
On Sat, 20 Dec 2008 14:25:28 +0100, Gilles gilles.gana...@free.fr
wrote:
Since the Ports collection showed that there were more recent versions
of Asterisk and Zaptel, I tried to compile/install Zaptel, but it
fails, even after stopping Zaptel cleanly, and even after stopping
Asterisk itself:

After rebooting, I lose the SSH connection when typing ztcf -vv, and
I see the following error message in /var/log/messages:

Dec 20 14:37:21 freebsd kernel: Zapata Telephony Interface Registered
on major 196
Dec 20 14:37:21 freebsd kernel: Zaptel Version: zaptel-bsd-ng v0.0.1
Dec 20 14:37:21 freebsd kernel: Zaptel Echo Canceller: MG2
Dec 20 14:37:21 freebsd kernel: wctdm0 port 0xb400-0xb4ff mem
0xf500-0xf5000fff irq 9 at device 11.0 on pci2
Dec 20 14:37:21 freebsd kernel: wctdm0: [FAST]
Dec 20 14:37:21 freebsd kernel: Freshmaker version: 71
Dec 20 14:37:21 freebsd kernel: Freshmaker passed register test
Dec 20 14:37:21 freebsd kernel: Module 0: Installed -- AUTO FXO (FCC
mode)
Dec 20 14:37:21 freebsd kernel: Module 1: Not installed
Dec 20 14:37:21 freebsd kernel: Module 2: Not installed
Dec 20 14:37:21 freebsd kernel: Module 3: Not installed
Dec 20 14:37:21 freebsd kernel: Found a Wildcard TDM: Wildcard TDM400P
REV E/F (1 modules)
Dec 20 14:37:21 freebsd kernel: link_elf: symbol te11xp_init undefined

Thank you.

___
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


mount_msdosfs -o large?

2008-12-20 Thread Chris Whitehouse

Hi,

I have a 250gb usb hard disk formatted fat32. With just mount_msdosfs I get

%mount_msdosfs /dev/da0s1 mnt/usb
mount_msdosfs: /dev/da0s1: Disk too big, try '-o large' mount option: 
Invalid argument


The large option does seem to work:

%mount_msdosfs -o large /dev/da0s1 mnt/usb
%mount
...
/dev/da0s1 on /usr/home/chrisw/mnt/usb (msdosfs, local, nosuid, mounted 
by chrisw)

%

However I can't find anything about the large option in man pages for 
mount, mount_msdosfs or fstab.


Would this be suitable text to go in the -o options section of 
mount_msdosfs(8)?



large
Mount a filesystem larger than 128gb

WARNING: This uses at least 32 bytes of kernel memory (which is not
reclaimed until the FS is unmounted) for each file on disk to map
between the 32-bit inode numbers used by VFS and the 64-bit
pseudo-inode numbers used internally by msdosfs. This is only
safe to use in certain controlled situations (e.g. read-only FS
with less than 1 million files).
Since the mappings do not persist across unmounts (or reboots), these
filesystems are not suitable for exporting through NFS, or any other
application that requires fixed inode numbers.

I got the warning out of /sys/fs/msdosfs/msdosfs_vfsops.c on my
FreeBSD eco 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #1: Tue Dec 16 
18:28:48 GMT 2008 r...@eco:/usr/obj/usr/src/sys/GENERIC  i386 box.


Thanks

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


Re: Snow in my Server

2008-12-20 Thread Steve Bertrand
prad wrote:

 i'm surprised that people actually still live in southern ontario.
 
 despite all the imaginative suggestions, this is obviously an issue that
 should be submitted through the form here:
 http://www.freebsd.org/send-pr.html
 you will note that beastie is using something like a shovel in the pic,
 so you can use this fact to strengthen your case.

Ouch!

Steve
___
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: Linking libraries for compat_linux

2008-12-20 Thread Boris Samorodov
On Fri, 19 Dec 2008 09:46:03 -0800 Chris wrote:

This question is may be better unswered at emulation@ ML.

 I've bumped into a library I can't resolve and I must have a disconnect
 in how the linux_compat works because I can't see how it could be
 solved.
 I have the following:
 * compat_linux enabled in the kernel,
 * /usr/ports/emulators/linux_base_fc7
 * sysctl kern.fallback_elf_brand=3
 * rpm2cpio to alter rpms
 * cpio to create the directories and place the files where they
 belong in /compat/linux.

 I have a program that now has all it's libraries resolved but one in
 preparation to attempt to run the Linux Quickbooks install on FreeBSD.
 The ldd output, prior to installing /usr/ports/devel/fam (a required
 shared
 library) looks like this.

 ldd ./opt/qbes7/util/qbmonitord
 ./opt/qbes7/util/qbmonitord:
 libfam.so.0 = not found
 libpthread.so.0 = /lib/libpthread.so.0 (0x28072000)
 libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x28088000)
 libm.so.6 = /lib/libm.so.6 (0x28171000)
 libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x28198000)
 libc.so.6 = /lib/libc.so.6 (0x281a4000)
 /lib/ld-linux.so.2 (0x28054000)

 I install fam to get rid of the not found, perform the following link:
   ln /usr/local/lib/libfam.so.0 /compat/linux/lib/libfam.so.0

 and then I get this:

 ldd ./opt/qbes7/util/qbmonitord
 ./opt/qbes7/util/qbmonitord:
 ./opt/qbes7/util/qbmonitord: error while loading shared libraries: /
 lib/libfam.so.0: ELF file OS ABI invalid
 ./opt/qbes7/util/qbmonitord: exit status 127

 which kind of makes sense since this library is not a linux library.
 I'd read
 that I don't need to brandelf -t linux a library but I tried that
 anyway,
 realizing it was likely meaningless (or harmful). It didn't help of
 course.

 My next thought was to try and get a libfam.so.0 binary from a linux
 distro
 but stopped when it occurred to me that it would be illogical since
 fam uses
 kqueue on FreeBSD rather than something called imon. imon is not
 available
 for FreeBSD so a linux version shouldn't be able to function if it
 expects that. On
 FreeBSD, fam configures itself to not use imon.

 What is the appropriate course of action to get a linux flavor shared
 library
 for fam (or anything which runs into such conflicts) that will work
 on FreeBSD
 yet be recognized as suitable for linux under the compat mode?

Try to create and use linux-fam port.


WBR
-- 
bsam
___
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


LPRng cannot open connection...

2008-12-20 Thread luizbcampos
  Trying to use LPRng printing spooler, it shows:

   $ lpq lpd

Printer ip2200_usb...@localhost (dest localhost@/dev/ulpt0)
Queue : no printable jobs in queue
Printer 'localhost@/dev/ulpt0' cannot open connection
-getconnection: cannot get address for '/dev/ulpt0'


   Does anyone know how to solve this?
___
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: geom lvm class - glvm

2008-12-20 Thread Ivan Voras
Franck Royer wrote:
  Hi,
 
 I found this entry on the official website :
 
 http://www.freebsd.org/news/status/r...0-2007-12.html
 http://www.freebsd.org/news/status/report-2007-10-2007-12.html
 
 But I didn't find any other information about the geom lvm class or glvm.
 
 How can i activate it in the kernel ? Is here any tools about it ?

It's still here, it's just been renamed to geom_linux_lvm to avoid
confusion with possible future native LVM.



signature.asc
Description: OpenPGP digital signature


Re: mount DVD - invalid argument

2008-12-20 Thread Patrick Lamaizière
Le Sat, 20 Dec 2008 11:45:49 +,
Max Russell thedoss...@googlemail.com a écrit :

 I have two DVD drives on my machine.
 
 m...@~: grep acd /var/run/dmesg.boot
 acd0: DVDR PIONEER DVD-RW DVR-111D/1.19 at ata1-master UDMA66
 acd1: DMA limited to UDMA33, device found non-ATA66 cable
 acd1: DVDROM ASUS DVD-E616A2/1.03 at ata1-slave UDMA33
 
 the optical section of my fstab is like this:
 
 /dev/acd0 /cdrom cd9660 ro,noauto 0 0
 /dev/acd1 /cdrom cd9660 ro,noauto 0 0
 
 however, when I try and mount a DVD, I get the following:
 
 m...@~: sudo mount_cd9660 -s 0 /dev/acd0 /cdrom
 mount_cd9660: /dev/acd0: Invalid argument
 
 I have been able to mount CDs.
 
 If I'm missing something really obvious, any help would be
 appreciated.

Some DVDs are in UDF format.
Use mount_udf(8).
___
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: Video driver

2008-12-20 Thread Warren Block

On Thu, 18 Dec 2008, Alain BATARD wrote:


I am M. Alain BATARD and i work in a formation center.
For my Unix course i use Freebsd (V 7), we recently change our computers for
laptops (Compaq 6820s) these computers are equipped with integrated video :
ATI Mobility Radeon X1350, after looking for drivers to launch Xorg, i can
only use the very poor video in VGA mode, is there any possibilities to find
the good driver even by using xorgconfig or manually ?


Try x11-drivers/ati and x11-drivers/radeonhd from ports.  Robert Noland 
has been working hard at support for more and better Radeons, but those 
changes and the new xorg won't come out until sometime after 7.1 is 
released.  The FreeBSD X11 mailing list will probably be more helpful 
for xorg problems:


http://lists.freebsd.org/pipermail/freebsd-x11/

-Warren Block * Rapid City, South Dakota USA
___
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


Network Stack Code Re-write (Possible motivations...?)

2008-12-20 Thread Martes G Wigglesworth
Greetings List.

If I am sending to the wrong list, then please let me know what would
have been a more appropriate choice.

I am attempting to research what is meant when, I saw that Juniper had
re-written the network stack from the base freebsd network stack, to
what is used in JUNOS.  What exactly is meant by this?  What is included
in the network stack, when mentioned that it was completely re-written? 

I am a budding computer scientist, and would like to know where to start
investigating how this would be done, and why they felt that the defacto
network-centric OS for decades needed to be rewritten?

Was this simply so they could rename the portions that they wrote as
their own, in a business-savvy decision making process, or was it
necessary from a technical standpoint?

Any input would be appreciated, and if this question is too broad, then
please point me in the right direction to make further inquiries.

Thanks

Respectfully,
-- 
Martes G Wigglesworth mar...@mgwigglesworth.com
M.G. Wigglesworth,LLC

___
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: geom lvm class - glvm

2008-12-20 Thread Franck Royer
Ivan Voras a écrit :
 Franck Royer wrote:
   
  Hi,

 I found this entry on the official website :

 http://www.freebsd.org/news/status/r...0-2007-12.html
 http://www.freebsd.org/news/status/report-2007-10-2007-12.html

 But I didn't find any other information about the geom lvm class or glvm.

 How can i activate it in the kernel ? Is here any tools about it ?
 

 It's still here, it's just been renamed to geom_linux_lvm to avoid
 confusion with possible future native LVM.
   
Thank you but what do you mean ? Because When I add option
GEOM_LINUX_LVM in the kernel configuration, this option is refused. And
when I try a kldload geom_linux_lvm the module is still not found.

Franck

___
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: Network Stack Code Re-write (Possible motivations...?)

2008-12-20 Thread Wojciech Puchar


I am attempting to research what is meant when, I saw that Juniper had
re-written the network stack from the base freebsd network stack, to
what is used in JUNOS.  What exactly is meant by this?  What is included
in the network stack, when mentioned that it was completely re-written?


ask juniper what it means ;)

anyway - in FreeBSD it's still original network stack not juniper one.



I am a budding computer scientist, and would like to know where to start
investigating how this would be done, and why they felt that the defacto
network-centric OS for decades needed to be rewritten?

because they wanted to ;) again - ask juniper about it.


Probably because FreeBSD stack does not assume existence of any 
routing-dedicated hardware, while for sure in high end routers there are 
such things.


maybe they do mixer software-hardware routing.

anyway it seems strange i would rather use FreeBSD running computer as 
control plane for hardware router, that would fill routing tables in 
router's chips memory.



Was this simply so they could rename the portions that they wrote as
their own, in a business-savvy decision making process, or was it
necessary from a technical standpoint?


ones again - ask juniper! it's wrong place to ask why someone else wanted 
something else!!!


FreeBSD is FREE, and - contrary to GNU communists licence, does not 
require to share any code derived from FreeBSD sources.
There is nothing to prevent you to use FreeBSD code (except gnu parts) 
modified as you like, hidden or not as you like whereever you like.

___
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: mount_msdosfs -o large?

2008-12-20 Thread Wojciech Puchar

chrisw)
%

However I can't find anything about the large option in man pages for mount, 
mount_msdosfs or fstab.


Would this be suitable text to go in the -o options section of 
mount_msdosfs(8)?



large
Mount a filesystem larger than 128gb

WARNING: This uses at least 32 bytes of kernel memory (which is not
reclaimed until the FS is unmounted) for each file on disk to map
between the 32-bit inode numbers used by VFS and the 64-bit
pseudo-inode numbers used internally by msdosfs. This is only
safe to use in certain controlled situations (e.g. read-only FS
with less than 1 million files).
Since the mappings do not persist across unmounts (or reboots), these
filesystems are not suitable for exporting through NFS, or any other
application that requires fixed inode numbers.



please do sent-pr with that.

it is missing important part of manual.
___
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: [6.3/Asterisk + Zaptel] Unloading module for upgrade?

2008-12-20 Thread Wojciech Puchar

# kldunload -f zaptel
kldunload: can't unload file: Device busy
=
Dec 20 14:21:39 freebsd kernel: kldunload: attempt to unload file that
was loaded by the kernel
=
What is the right way to upgrade Zaptel, without rebooting the host?


please stop asterisk first to be able to reload zaptel.
you can't unload used module!
___
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: geom lvm class - glvm

2008-12-20 Thread Franck Royer
Apparently, the option is only available on freebsd-8.0.

I will check If I can compile a Freebsd-8.0 kernel on a freebsd-7.0 just
for getting the files from my lvm and then going back on a stable kernel.

Franck

Franck Royer a écrit :
 Ivan Voras a écrit :
   
 Franck Royer wrote:
   
 
  Hi,

 I found this entry on the official website :

 http://www.freebsd.org/news/status/r...0-2007-12.html
 http://www.freebsd.org/news/status/report-2007-10-2007-12.html

 But I didn't find any other information about the geom lvm class or glvm.

 How can i activate it in the kernel ? Is here any tools about it ?
 
   
 It's still here, it's just been renamed to geom_linux_lvm to avoid
 confusion with possible future native LVM.
   
 
 Thank you but what do you mean ? Because When I add option
 GEOM_LINUX_LVM in the kernel configuration, this option is refused. And
 when I try a kldload geom_linux_lvm the module is still not found.

 Franck

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

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


Re: geom lvm class - glvm

2008-12-20 Thread Ivan Voras
2008/12/20 Franck Royer royer.fra...@gmail.com:
 Apparently, the option is only available on freebsd-8.0.

/boot/kernel/geom_linux_lvm.ko is present in 7-STABLE.

 I will check If I can compile a Freebsd-8.0 kernel on a freebsd-7.0 just
 for getting the files from my lvm and then going back on a stable 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


Re: mount_msdosfs -o large?

2008-12-20 Thread Chris Whitehouse

Wojciech Puchar wrote:

chrisw)
%

However I can't find anything about the large option in man pages for 
mount, mount_msdosfs or fstab.


Would this be suitable text to go in the -o options section of 
mount_msdosfs(8)?



large
Mount a filesystem larger than 128gb

WARNING: This uses at least 32 bytes of kernel memory (which is not
reclaimed until the FS is unmounted) for each file on disk to map
between the 32-bit inode numbers used by VFS and the 64-bit
pseudo-inode numbers used internally by msdosfs. This is only
safe to use in certain controlled situations (e.g. read-only FS
with less than 1 million files).
Since the mappings do not persist across unmounts (or reboots), these
filesystems are not suitable for exporting through NFS, or any other
application that requires fixed inode numbers.



please do sent-pr with that.

it is missing important part of manual.



done

C
___
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: Snow in my Server

2008-12-20 Thread Gennady Kudryashoff
Just try to remove old-stoned CGA video adapter.

GH Help, I'm in southern Ontario and I have 20cm of snow on my freebsd
GH 7-release server.
GH 
GH IT seems to be causeing some http outages.
GH 
GH My FBSD 6-.0 doesn't seem to be affected thou.
GH 
GH 
GH Any suggestions,


___
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: recover data from damaged msdos fat32 partition

2008-12-20 Thread michael



Jeff Laine wrote:

On Sat, Dec 20, 2008 at 04:16:38PM +0800, Fbsd1 wrote:
  
I know i can mount fat32 partition using mount_msdos command. But my 
msdos fat32 partition is a bad disk with corrupted fat table.


Question is can i use freebsd to recover data from this msdos fAT32 disk

What tools do you suggest to use?




I believe it's a job for fsck_msdosfs(8) 

  

google foremost
___
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: Network Stack Code Re-write (Possible motivations...?)

2008-12-20 Thread Martes G Wigglesworth
Thank you very much for the intuitive commentary.

Sorry for making the inquiry so specific to Juniper, however, I could
not think of another source that would be a good example.  I fully
understand how the inquiries appeared, however, thanks for answering
what you could.  

The inquiry was meant to be more general, so I apologize for making it
seem Juniper specific.

However, the intuitive list member response strikes again.

Thanks alot for you input.

I, as you, can't really figure out why they felt, years ago, that they
needed to re-invent the wheel.

Please give anymore insight if you have it.


On Sat, 2008-12-20 at 11:32 -0500, Wojciech Puchar wrote:
 
  I am attempting to research what is meant when, I saw that Juniper had
  re-written the network stack from the base freebsd network stack, to
  what is used in JUNOS.  What exactly is meant by this?  What is included
  in the network stack, when mentioned that it was completely re-written?
 
 ask juniper what it means ;)
 
 anyway - in FreeBSD it's still original network stack not juniper one.
 
 
  I am a budding computer scientist, and would like to know where to start
  investigating how this would be done, and why they felt that the defacto
  network-centric OS for decades needed to be rewritten?
 because they wanted to ;) again - ask juniper about it.
 
 
 Probably because FreeBSD stack does not assume existence of any 
 routing-dedicated hardware, while for sure in high end routers there are 
 such things.
 
 maybe they do mixer software-hardware routing.
 
 anyway it seems strange i would rather use FreeBSD running computer as 
 control plane for hardware router, that would fill routing tables in 
 router's chips memory.
 
  Was this simply so they could rename the portions that they wrote as
  their own, in a business-savvy decision making process, or was it
  necessary from a technical standpoint?
 
 ones again - ask juniper! it's wrong place to ask why someone else wanted 
 something else!!!
 
 FreeBSD is FREE, and - contrary to GNU communists licence, does not 
 require to share any code derived from FreeBSD sources.
 There is nothing to prevent you to use FreeBSD code (except gnu parts) 
 modified as you like, hidden or not as you like whereever you like.
 

___
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


portmanager looping on libtool on 6.2 - 6.3 upgrade

2008-12-20 Thread Alex Kirk

Hello All,

I'm in the process of bringing a production web/mail server up to  
FreeBSD 7.0 from 6.2. After practicing the process on a non-production  
box set up in essentially the same manner, I discovered that the only  
major issue to look out for was the fact that I needed to hold back  
the upgrade of Python, since the CMS system running on the box will  
die if it doesn't have Python 2.4 specifically.


So last night, I got the actual OS brought from 6.2 - 6.3, and then  
looked for a different method of port upgrading than I'd used on the  
development system, since even specifying ports to exclude via  
portmanager's -ip option didn't seem to work well when going from  
6.3 - 7.0. I ran across some articles that told me that I could do  
ports one at a time, confirming upgrades of dependencies, with a  
command such as:


portmanager editors/emacs -l -ui -f

I was able to get some ports, such as bash, upgraded using this  
method. However, I've now reached a point where virtually everything I  
try to upgrade is now failing, because it's dependent on libtool,  
which is stuck in some sort of infinite upgrade loop. Attempting to  
upgrade it manually via the same command line as above (replacing  
editors/emacs with devel/libtool15), I end up with output like this:


ok to update/rebuild /devel/libtool15 libtool-1.5.26 (yes/no/auto yes  
to all) [y/n/a] [y]?

y

[lots of trimmed-out building activity, followed by two more times  
asking me if it's OK to update/rebuild libtool]



MGPMrUpdate 0.4.1_9 command: #1 of 14  cd /usr/ports/devel/libtool15  
 make -V OPTIONS


reverting bsd.port.mk patch -=cd /usr/ports/Mk; patch -R   
/usr/local/share/portmanager/patch-bsd.port.mk-0.3.6;

Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--
|--- /usr/ports/Mk/bsd.port.mk  Tue Nov  8 01:02:51 2005
|+++ bsd.port.mkWed Nov 16 02:16:57 2005
--
Patching file bsd.port.mk using Plan A...
Hunk #1 failed at 2049.
1 out of 1 hunks failed--saving rejects to bsd.port.mk.rej
done
rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: @comment ORIGIN:  
not found in /var/db/pkg/bsdpan-MIME-tools-5.420/+CONTENTS

bsdpan-MIME-tools-5.420 installation is corrupt!
recomend running pkg_delete -f  
bsdpan-MIME-tools-5.420 then manually reinstalling this port


 Port Status Report forced mode

1 :libtool-1.5.26  /devel/libtool15 
MISSING


skipping libtool-1.5.26 /devel/libtool15 marked IGNORE reason:  
looping, 3rd attempt at make


portmanager 0.4.1_9 INFO: finished with some ports not updated  if  
--log was used see /var/log/portmanager.log



I've tried simply going into /usr/ports/devel/libtool15 and running  
suod make install clean, and I end up with this output:


===  Installing for libtool-1.5.26
===   Generating temporary packing list
===  Checking if devel/libtool15 already installed
===   libtool-1.5.26 is already installed
  You may wish to ``make deinstall'' and install this port again
  by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of devel/libtool15
  without deleting it first, set the variable FORCE_PKG_REGISTER
  in your environment or the make install command line.
*** Error code 1

Stop in /usr/ports/devel/libtool15.

I'm very nervous about deinstalling it and reinstalling, or doing a  
forced reinstall, because so much appears to be dependent on libtool,  
and the last thing I want to do is bork a busy production box so bad  
that I have to physically go to the data center and hit up the console  
to fix it (especially since I'm not sure I could get in there over the  
weekend, and I'm flying out of town for the holidays on Monday morning).


Does anyone have any advice on how to get this fixed? The system  
appears to be fully functional in the meantime, so it's not a huge  
rush to get things upgraded, but obviously I'd rather progress sooner  
rather than later.


Alex Kirk



This message was sent using IMP, the Internet Messaging Program.
___
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: Linking libraries for compat_linux

2008-12-20 Thread Chris


On Dec 20, 2008, at 6:05 AM, Boris Samorodov wrote:


On Fri, 19 Dec 2008 09:46:03 -0800 Chris wrote:

This question is may be better unswered at emulation@ ML.



Oops, I didn't ever notice that list as I've never needed Linux before.
I hate to trouble development lists with an operational issue but this
one is starting to look like an incompatibility that is beyond me.
The Linux and FreeBSD versions of gamin both fail on inotify_init.
Not having the source to the program I'm trying to run makes it
very difficult to fix even though the functionality is there (perhaps  
even

superior) on FreeBSD.

I ended up using the linux libfam.so.0 from the gamin distribution
for Fedora 9. Using it's server fails instantly, using the freebsd port
version, the server doesn't fail until the Linux client library attempts
to connect. Then it too gets inotify_init not implemented. The
Fam list appears to be defunct and I've not yet tried the direct mail
contact to the gamin development page. I'm assuming the answer
would be that you use native FreeBSD libfam.so on FreeBSD and
the linux version on Linux. I've no way to tell the Intuit daemon to
do that because of the ABI error and I presume there is an
underlying reason why a native library can't be used by a linux
binary.

I will try the other list if no one has run into a similar problem with
other Linux apps. I may be kicking a dead horse but it seems others
have talked about using FreeBSD in this manner and it makes it an
interesting challenge. The time I'm investing in this is probably not
any more time that it would take to configure and secure an openSUSE
or Fedora system (having never bothered with them before). Plus
it would mean not adding an additional server into my net just for
a trivial SMB/file monitoring application.

Thanks for the response.

I've bumped into a library I can't resolve and I must have a  
disconnect

in how the linux_compat works because I can't see how it could be
solved.
I have the following:
* compat_linux enabled in the kernel,
* /usr/ports/emulators/linux_base_fc7
* sysctl kern.fallback_elf_brand=3
* rpm2cpio to alter rpms
* cpio to create the directories and place the files where they
belong in /compat/linux.



I have a program that now has all it's libraries resolved but one in
preparation to attempt to run the Linux Quickbooks install on  
FreeBSD.

The ldd output, prior to installing /usr/ports/devel/fam (a required
shared
library) looks like this.



ldd ./opt/qbes7/util/qbmonitord
./opt/qbes7/util/qbmonitord:
libfam.so.0 = not found
libpthread.so.0 = /lib/libpthread.so.0 (0x28072000)
libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x28088000)
libm.so.6 = /lib/libm.so.6 (0x28171000)
libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x28198000)
libc.so.6 = /lib/libc.so.6 (0x281a4000)
/lib/ld-linux.so.2 (0x28054000)


I install fam to get rid of the not found, perform the following  
link:

ln /usr/local/lib/libfam.so.0 /compat/linux/lib/libfam.so.0



and then I get this:



ldd ./opt/qbes7/util/qbmonitord
./opt/qbes7/util/qbmonitord:
./opt/qbes7/util/qbmonitord: error while loading shared libraries: /
lib/libfam.so.0: ELF file OS ABI invalid
./opt/qbes7/util/qbmonitord: exit status 127



which kind of makes sense since this library is not a linux library.
I'd read
that I don't need to brandelf -t linux a library but I tried that
anyway,
realizing it was likely meaningless (or harmful). It didn't help of
course.



My next thought was to try and get a libfam.so.0 binary from a linux
distro
but stopped when it occurred to me that it would be illogical since
fam uses
kqueue on FreeBSD rather than something called imon. imon is not
available
for FreeBSD so a linux version shouldn't be able to function if it
expects that. On
FreeBSD, fam configures itself to not use imon.



What is the appropriate course of action to get a linux flavor shared
library
for fam (or anything which runs into such conflicts) that will work
on FreeBSD
yet be recognized as suitable for linux under the compat mode?


Try to create and use linux-fam port.


I also tried this but it appears that gamin is a more recent  
implementation.

It also provides the libfam.so.0.




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




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


Re: Network Stack Code Re-write (Possible motivations...?)

2008-12-20 Thread Lowell Gilbert
Martes G Wigglesworth mar...@mgwigglesworth.com writes:

 I am attempting to research what is meant when, I saw that Juniper had
 re-written the network stack from the base freebsd network stack, to
 what is used in JUNOS.  What exactly is meant by this?  What is included
 in the network stack, when mentioned that it was completely re-written? 

 I am a budding computer scientist, and would like to know where to start
 investigating how this would be done, and why they felt that the defacto
 network-centric OS for decades needed to be rewritten?

 Was this simply so they could rename the portions that they wrote as
 their own, in a business-savvy decision making process, or was it
 necessary from a technical standpoint?

I work for a different router manufacturer, so I have little knowledge
of Juniper internals, but I have had to worry about interoperability
issues, so I've worked with Juniper gear for testing.  Also, my general
knowledge of similar issues on other routers is very likely to apply to
the tradeoffs that Juniper made in choosing and developing its stack
software. 

I very much doubt that marketing issues were a significant issue.
Off-the-shelf OS networking has always fallen short of supporting
high-end (or even, um, medium-end) hardware routing platforms.  There is
reason to hope that this is changing, but it has always been the case so
far.

As someone else already mentioned in this thread, supporting hardware
offload for forwarding is a major issue.  Core routers (or even
provider-edge routers) depend on most of the packet forwarding being
done in proprietary hardware. Operating system IP stacks don't support
this very well; all of the routers I've worked on used the kernel IP
stack only for packets going to and from the kernel itself, and used a
different stack for what I call transit packets -- those that are
only being forwarded by the local system.  

Another issue is router virtualization.  Although FreeBSD has made some
recent progress in supporting multiple IP instances, none of this
capability was available when Juniper was deciding to base its operating
system on FreeBSD.  

It is also important to note that having a rewritten IP stack doesn't
mean that a system isn't using the original IP stack as well.  A number
of routers I've seen do this; they have thoroughly custom IP code for
doing routing, but the local OS kernel in the router still uses the
native stack for its own communications.

I apologize if this message isn't clear; I was avoiding any information
specific to the systems I currently work on, and I may have fuzzed
things out a bit too much.

Be well.
-- 
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: dump and soft-updates question

2008-12-20 Thread Lowell Gilbert
Gema niskazhu gemoc...@gmail.com writes:

 Hi!

 I-ve got a question about dump | restore on soft-updates managed slice.

 When we dump smth on soft updates slice where it actualy(mechanicaly) dump
 it?

The output of the dump is controlled by a command-line switch (-f).  
In the absence of the switch, it defaults to $RMT, but that is rarely
applicable any more.  Soft updates do not affect this.

 Because I-ve forgot to turn of soft-updates off on my backup hdd and dump
 img on it =)

That is not an issue.  Dumping a live filesystem is, but having soft
upates active on the filesystem does not make things significantly worse
than they would have been anyway.

 After that i vas quet surprised because it ate 16 Gigs of / but du\df cant
 show anything about.

Can you be more specific?  Where were you dumping to?  

 what is situated in this 16 Gigs.

Is it possible that your dump went to /dev/rmt because you failed to
supply an alternative destination?  

-- 
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: Network Stack Code Re-write (Possible motivations...?)

2008-12-20 Thread Wojciech Puchar

Thank you very much for the intuitive commentary.

Sorry for making the inquiry so specific to Juniper, however, I could
not think of another source that would be a good example.  I fully
understand how the inquiries appeared, however, thanks for answering
what you could.
can't you simply ask some juniper employee? anyway - from where did you 
got that info about network stack being rewritten?




I, as you, can't really figure out why they felt, years ago, that they
needed to re-invent the wheel.


once again - first ask WHAT EXACTLY FreeBSD is doing in their router?

a) just preparing tables for router chips? - then FreeBSD's network stack 
is OK

b) actually performing part of routing activity cooperating with ASIC's?
if so - rewriting/modifying network stack was needed for sure.
___
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: Network Stack Code Re-write (Possible motivations...?)

2008-12-20 Thread Wojciech Puchar

I very much doubt that marketing issues were a significant issue.
Off-the-shelf OS networking has always fallen short of supporting


it wasn't made for that.


As someone else already mentioned in this thread, supporting hardware
offload for forwarding is a major issue.  Core routers (or even
provider-edge routers) depend on most of the packet forwarding being
done in proprietary hardware. Operating system IP stacks don't support
this very well; all of the routers I've worked on used the kernel IP
stack only for packets going to and from the kernel itself, and used a
different stack for what I call transit packets -- those that are
only being forwarded by the local system.


as higher speed routers are hardware - why OS has to do ANY work on 
routing?


it's just there to prepare routing tables in format required for routing 
ASIC's and put them there!

___
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


porting problem....

2008-12-20 Thread Gary Kline

Guys, thanks to an unnamed firm studio I've got a database of some 
nature
that isn't supposed to be given away.  It worked fine until version 5 or
6.  I couldn't figure it out and quit using it favor of other free or
[ick] web services--- the web stuff delayed me for up to minutes.  My
local copy was immediate and i could get on with my writing.

I thought it might be that the offset into the database had changed.
But now i don't think so.  i just changed this ancient, pre 90's,
def from off_t to long.  same problem.

Here is my printout from minutes ago.  it's the same as when this failed
several years ago.

Why I'm using this as a database rather than some public is that the way
my syllabic database program is written, it depends on THIS (copuright)
database.

// error output:


   /usr/local/src/ :cwfoobarwebster/src
findWord(FILE *f =(05005707040), char *word = [look])
./def can't find 'look'
offt = (-1)


whether out off_t or long/int, I'm still reaching FAR, FAR into the
FILE *f quite far.

I never dug into the code until a few years ago when it broke on
recompile.  it's ugly, ugly, *Ugly* code, probably hacked in a day.
You wouldn't believe ...

if anybody is out there who thinks he can help and has time,
let's take this off-list.  i don't want the
CIA/NSAFBI/B*sh to have me extraordinarily renditioned..



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 2.17a 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


Status of hyperthreading in FreeBSD

2008-12-20 Thread Brett Glass
Netbooks based on Intel's Atom microprocessor are turning into 
big hits this Christmas season. The Atom, a super-low-power x86 
processor, is an in-order machine, which means that except for a 
few special cases it can spend a lot of time waiting for data to 
arrive when it encounters a cache miss. So, hyperthreading may make 
sense on this kind of processor as compared to one with out-of-order execution.


Which raises a question: What's the status of FreeBSD's support for 
hyperthreading? As far as I know, after it was revealed that some 
processes on a machine with hyperthreading could spy on others, 
and also that hyperthreading didn't always improve performance on 
high end processors, the feature was turned off by default. But on 
single-user machines, or on servers where the CPU was likely to be 
shared by two processes that were both privileged anyway, it might 
make sense to re-enable it. But has this feature of the scheduler 
been maintained well enough for this to be a good idea? If not, 
would it worth looking into updating it so that FreeBSD runs well on the Atom?


--Brett Glass

___
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: Status of hyperthreading in FreeBSD

2008-12-20 Thread michael



Brett Glass wrote:
Netbooks based on Intel's Atom microprocessor are turning into big 
hits this Christmas season. The Atom, a super-low-power x86 processor, 
is an in-order machine, which means that except for a few special 
cases it can spend a lot of time waiting for data to arrive when it 
encounters a cache miss. So, hyperthreading may make sense on this 
kind of processor as compared to one with out-of-order execution.


Which raises a question: What's the status of FreeBSD's support for 
hyperthreading? As far as I know, after it was revealed that some 
processes on a machine with hyperthreading could spy on others, and 
also that hyperthreading didn't always improve performance on high end 
processors, the feature was turned off by default. But on single-user 
machines, or on servers where the CPU was likely to be shared by two 
processes that were both privileged anyway, it might make sense to 
re-enable it. But has this feature of the scheduler been maintained 
well enough for this to be a good idea? If not, would it worth looking 
into updating it so that FreeBSD runs well on the Atom?


--Brett Glass

as far as i know, just enabling smp will allow ht to function. also, i 
don't know if intel changed ht in the new atom processor, they could have.

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

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


Re: Network Stack Code Re-write (Possible motivations...?)

2008-12-20 Thread Lowell Gilbert
Wojciech Puchar woj...@wojtek.tensor.gdynia.pl writes:

 I very much doubt that marketing issues were a significant issue.
 Off-the-shelf OS networking has always fallen short of supporting

 it wasn't made for that.

It can be.  I've written portable IP stacks intended for exactly this
purpose.  The routing tables are generally set up in userspace
regardless, so it's not a big problem to send the same data to multiple
stacks where each stack is supporting a different application.

 As someone else already mentioned in this thread, supporting hardware
 offload for forwarding is a major issue.  Core routers (or even
 provider-edge routers) depend on most of the packet forwarding being
 done in proprietary hardware. Operating system IP stacks don't support
 this very well; all of the routers I've worked on used the kernel IP
 stack only for packets going to and from the kernel itself, and used a
 different stack for what I call transit packets -- those that are
 only being forwarded by the local system.

 as higher speed routers are hardware - why OS has to do ANY work on
 routing?

 it's just there to prepare routing tables in format required for
 routing ASIC's and put them there!

Mostly, yes.  But the system still has to be network manageable.  That
requires that it send and receive packets.  Doing so requires using the
same routing information that the forwarding engines are using to
forward packets in the same address space.  The kernel *does* still need
to know routes to any of its destinations.

Another possible implementation is, as you say, to have the kernel send
everything out the same way and not know anything about the forwarding
tables.  This does, as the original poster said, imply that you're
throwing out the capabilities of a stack that you built into your system
from the ground up.

-- 
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: Status of hyperthreading in FreeBSD

2008-12-20 Thread Wojciech Puchar
Netbooks based on Intel's Atom microprocessor are turning into big hits 
this Christmas season. The Atom, a super-low-power x86 processor, is an 
in-order machine, which means that except for a few special cases it can 
spend a lot of time waiting for data to arrive when it encounters a cache 
miss. So, hyperthreading may make sense on this kind of processor as compared 
to one with out-of-order execution.


Which raises a question: What's the status of FreeBSD's support for 
hyperthreading?

for FreeBSD it's just like 2 processors.
___
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: Network Stack Code Re-write (Possible motivations...?)

2008-12-20 Thread Wojciech Puchar

I very much doubt that marketing issues were a significant issue.
Off-the-shelf OS networking has always fallen short of supporting


it wasn't made for that.


It can be.  I've written portable IP stacks intended for exactly this
Of course it can. i just write that FreeBSD network stack WASN'T MADE for 
that.

not if it can or not.


routing ASIC's and put them there!


Mostly, yes.  But the system still has to be network manageable.  That
requires that it send and receive packets.  Doing so requires using the
same routing information that the forwarding engines are using to
forward packets in the same address space.  The kernel *does* still need
to know routes to any of its destinations.


but kernel doesn't forward much packets.
___
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: Network Stack Code Re-write (Possible motivations...?)

2008-12-20 Thread RW
On Sat, 20 Dec 2008 13:35:35 -0500
Martes G Wigglesworth mar...@mgwigglesworth.com wrote:


 However, the intuitive list member response strikes again.
 
 Thanks alot for you input.
 
 I, as you, can't really figure out why they felt, years ago, that they
 needed to re-invent the wheel.


Bear in mind that such companies may have a range of products, that
range from something not unlike a pc with lots of interfaces up to
something with multiple levels of embedded processors each running their
own OSes. In the latter case you need a network stack that's
largely OS independent, so it can spread itself across the
(non-symmetric) processors. You may also need to be able to separate
fast-path, slow-path and control path for high performance.

Once you have done all that, you've left the native OS stacks unused,
leaving them available for the user interface or in some cases
communication between sub-systems. This separation is good on security
grounds too, it's preferable not to have network management in-band.
___
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: Network Stack Code Re-write (Possible motivations...?)

2008-12-20 Thread Martes G Wigglesworth
A year, or two, ago, I found such information buried within the Juniper
website; however, upon recent attempts at further investigation, both
for learning about certifications, and subject matter for this topic, I
am unable to locate said information.  The historic Juniper blurbs
were very informative.  I am sure that the information is still
available, however, I have not been successful in locating it.

As for the suggested avenues of investigation, I have not had any coding
or employment experience at that level of router development so I don't
have the level of specific knowledge-base to make such an inquiry about
said reference tables.  I also do not have $10-$20K or more to purchase
a Juniper router box, so there would not much real motivation to answer
my inquiries if I were to be able to get into contact with a sales rep
with enough knowledge of the system code to have information to give me.
I am very much making an initial inquiry in attempting to get that level
of experience, hence my inquiry to the list.  I am simply trying to make
my own inquiries about the general case, so as to gain knowledge of what
routes to take to gain said coding/development experience via
experimentation, etc... (Please excuse the pun.)

Thanks for the input, though.


On Sat, 2008-12-20 at 20:53 +0100, Wojciech Puchar wrote:
  Thank you very much for the intuitive commentary.
 
  Sorry for making the inquiry so specific to Juniper, however, I could
  not think of another source that would be a good example.  I fully
  understand how the inquiries appeared, however, thanks for answering
  what you could.
 can't you simply ask some juniper employee? anyway - from where did you 
 got that info about network stack being rewritten?
 
 
  I, as you, can't really figure out why they felt, years ago, that they
  needed to re-invent the wheel.
 
 once again - first ask WHAT EXACTLY FreeBSD is doing in their router?
 
 a) just preparing tables for router chips? - then FreeBSD's network stack 
 is OK
 b) actually performing part of routing activity cooperating with ASIC's?
 if so - rewriting/modifying network stack was needed for sure.
 

___
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: Network Stack Code Re-write (Possible motivations...?)

2008-12-20 Thread Martes G Wigglesworth
Thanks again for further information on this topic.

Where can I find more information this as a research topic.  I am
talking about Academic/PHD-level information or industry-level
information.  

(I mean that I am looking at this from a knowledge-base expansion point
of view, so don't filter out possible academic avenues because that is
where I am mostly coming from in the first place.)

Is this the realm where I would have to be one of those
six-figure-income embedded programmers to really get my teeth into the
subject, or what???  It is OK, you can be honest, hehehe...

Thanks again for all the informative comments, list...

On Sat, 2008-12-20 at 22:20 +, RW wrote:
 On Sat, 20 Dec 2008 13:35:35 -0500
 Martes G Wigglesworth mar...@mgwigglesworth.com wrote:
 
 
  However, the intuitive list member response strikes again.
  
  Thanks alot for you input.
  
  I, as you, can't really figure out why they felt, years ago, that they
  needed to re-invent the wheel.
 
 
 Bear in mind that such companies may have a range of products, that
 range from something not unlike a pc with lots of interfaces up to
 something with multiple levels of embedded processors each running their
 own OSes. In the latter case you need a network stack that's
 largely OS independent, so it can spread itself across the
 (non-symmetric) processors. You may also need to be able to separate
 fast-path, slow-path and control path for high performance.
 
 Once you have done all that, you've left the native OS stacks unused,
 leaving them available for the user interface or in some cases
 communication between sub-systems. This separation is good on security
 grounds too, it's preferable not to have network management in-band.
 

___
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: Network Stack Code Re-write (Possible motivations...?)

2008-12-20 Thread Lowell Gilbert
Wojciech Puchar woj...@wojtek.tensor.gdynia.pl writes:

 I very much doubt that marketing issues were a significant issue.
 Off-the-shelf OS networking has always fallen short of supporting

 it wasn't made for that.

 It can be.  I've written portable IP stacks intended for exactly this
 Of course it can. i just write that FreeBSD network stack WASN'T MADE
 for that.
 not if it can or not.

I had deliberately worked around this topic because FreeBSD's routing
table implementation has made considerable strides in virtualization
lately (for which, as far as I know, the credit is almost entirely due
to Julian Elischer), and this will probably turn out to make it more
useful for commercial routers.  So far, however, these changes are
irrelevant to the historical question of Juniper's use of FreeBSD code.

 routing ASIC's and put them there!

 Mostly, yes.  But the system still has to be network manageable.  That
 requires that it send and receive packets.  Doing so requires using the
 same routing information that the forwarding engines are using to
 forward packets in the same address space.  The kernel *does* still need
 to know routes to any of its destinations.

 but kernel doesn't forward much packets.

It may not not forward any, but your statement that all it does with IP
is put data into ASICs is still generally incorrect.  It generally does
*send* and *receive* packets, and as such it needs routing information.

It is possible to use a FreeBSD kernel without the IP stack (and this
has been done on particularly deeply embedded processors).  However,
commercial routers generally do not use their OS kernel this way -- it
is far more common that the kernel does send and receive packets within
its native IP stack.  That forwarding data is usually coordinated with
the entity managing the routing data, although sometimes the management
is done completely out-of-band, in which case the kernel's forwarding
data need not have any connection with the data driven into the
forwarding hardware.

-- 
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: handbook suggestion

2008-12-20 Thread oklahoma



First, let me say that I find FreeBSD to be the best of all the free 
Unices

-- and it is due to the excellent and practical documentation.

That said, there is an easy way to make FreeBSD easier for the home user.
There are a number of suggestions/methods of doing things in the handbook
that are appropriate for the business user that are not needed or useful 
for

the home user.

As an example, both the usb drive and scanner sections give instructions 
for

allowing others besides root to mount/use the respective hardware.  Both
suggestions give advice that restrict the enabling to just one group.  For
home use it would be easier to just allow any user to mount/use hardware.

A sidebar or some such giving alternatives for personal/home users would 
be

nice.

Thanks,
--dr


IMHO FreeBSD documentation lack a section in wich are described case studies 
and

recommendations for particular problems.

___
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: nessus report

2008-12-20 Thread Paul Schmehl
--On December 19, 2008 11:32:51 PM -0600 Richard Yang 
kusanagiy...@gmail.com wrote:




hi,
when i ran nessus against my bsd box, nessus can detect the remote host
is
up.
i don't understand how nessus can detect it...
does anyone know how it is done?
thanx



There are several ways to detect if a host is up.  Responses to icmp 
packets is one.  Almost all hosts will respond to pings unless they're 
prevented by a firewall.


Another way is the type of response to a probe of a port.  Sometimes 
services will respond differently if they're firewalled than if they're 
not listening on a particular port.  Also, very few computers have no 
ports at all listening.  For example, most unix boxes will be running 
syslogd and listening on port udp/514.  That is the default for that 
daemon.  Unless you reconfigured syslogd to listen on localhost only, it 
will respond to probes.


Sometimes a host will respond to a problem with RSETs.  It's very, very 
hard to configure a box in such a way that it's impossible to detect that 
it's up and running.


Run sockstat and look at what's listening on your computer.  Then see if 
you can figure out how to get it to stop listening on those ports.


Paul Schmehl (pa...@utdallas.edu)
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Gigabyte Motherboard Bios Setup

2008-12-20 Thread Ivan Carey

Hello,
I have a Gigabyte GA-965P-DS3P motherboard.
I am having troubles installing and running FreeBSD.
What are the preferred BIOS settings for this motherboard

Thanks,
Ivan
___
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: geom lvm class - glvm

2008-12-20 Thread Franck Royer
Ivan Voras a écrit :
 2008/12/20 Franck Royer royer.fra...@gmail.com:
   
 Apparently, the option is only available on freebsd-8.0.
 

 /boot/kernel/geom_linux_lvm.ko is present in 7-STABLE.
   
Sorry, but it's not the case on my freebsd.
my uname -a : FreeBSD methrilla-test.home 7.0-RELEASE FreeBSD
7.0-RELEASE #0: Fri Dec 12 21:54:37 GMT 2008
r...@methrilla-test.home:/usr/obj/usr/src/sys/ZFS  i386

How did you do that ?
   
 I will check If I can compile a Freebsd-8.0 kernel on a freebsd-7.0 just
 for getting the files from my lvm and then going back on a stable 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
   

___
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: geom lvm class - glvm

2008-12-20 Thread Ivan Voras
2008/12/21 Franck Royer royer.fra...@gmail.com:
 Ivan Voras a écrit :
 2008/12/20 Franck Royer royer.fra...@gmail.com:

 Apparently, the option is only available on freebsd-8.0.


 /boot/kernel/geom_linux_lvm.ko is present in 7-STABLE.

 Sorry, but it's not the case on my freebsd.
 my uname -a : FreeBSD methrilla-test.home 7.0-RELEASE FreeBSD
 7.0-RELEASE #0: Fri Dec 12 21:54:37 GMT 2008
 r...@methrilla-test.home:/usr/obj/usr/src/sys/ZFS  i386

 How did you do that ?

Probably by using 7-STABLE, not 7.0-RELEASE :)
___
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

portaudit and periodic

2008-12-20 Thread kareemy
I am using FreeBSD 7-RELEASE. I installed portaudit. The FreeBSD
handbook stated that during the install process, the configuration
files for periodic will be updated, permitting portaudit output in the
daily security runs.

portaudit was not run in my daily security runs. There is no mention
of portaudit in /etc/periodic.conf or /etc/defaults/periodic.conf. I
read /usr/local/etc/periodic/security/410.portaudit and found that it
references 3 variables:
daily_status_security_portaudit_enable
daily_status_security_portaudit_expiry
daily_status_security_portaudit_user

I can't find those variables defined anywhere in any periodic.conf
file. I understand I can just manually add
daily_status_security_portaudit_enable=YES to my periodic.conf and
be good to go. But I am wondering about the discrepancy with the
Freebsd handbook.

Is the FreeBSD handbook out of date or incorrect in this regard or is
there another reason why portaudit didn't update the periodic config
files?

Thanks,
Kareem Dana
___
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: geom lvm class - glvm

2008-12-20 Thread Franck Royer
Ivan Voras a écrit :
 2008/12/21 Franck Royer royer.fra...@gmail.com:
   
 Ivan Voras a écrit :
 
 2008/12/20 Franck Royer royer.fra...@gmail.com:

   
 Apparently, the option is only available on freebsd-8.0.

 
 /boot/kernel/geom_linux_lvm.ko is present in 7-STABLE.

   
 Sorry, but it's not the case on my freebsd.
 my uname -a : FreeBSD methrilla-test.home 7.0-RELEASE FreeBSD
 7.0-RELEASE #0: Fri Dec 12 21:54:37 GMT 2008
 r...@methrilla-test.home:/usr/obj/usr/src/sys/ZFS  i386

 How did you do that ?
 

 Probably by using 7-STABLE, not 7.0-RELEASE :)
   
Good point, I didn't see the difference, I'm still a newbie in Freebsd
:) Thank you !
 

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

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


The FreeBSD Diary: 2008-11-30 - 2008-12-20

2008-12-20 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 

These are the articles posted during this period:

2-Dec : Obscuring smtp auth headers
 If you consider your smtp-auth location to be private, this is what you 
want. 
 http://freebsddiary.org/smtp-headers-rewrite-auth.php?2


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

___
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: Gigabyte Motherboard Bios Setup

2008-12-20 Thread Tom Marchand


On Dec 20, 2008, at 6:38 PM, Ivan Carey wrote:


Hello,
I have a Gigabyte GA-965P-DS3P motherboard.
I am having troubles installing and running FreeBSD.
What are the preferred BIOS settings for this motherboard

Thanks,
Ivan



What type of troubles are you encountering?
___
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: portaudit and periodic

2008-12-20 Thread kareemy
I believe I am incorrect. I checked further and it looks like
$daily_status_security_portaudit_enable defaults to YES in the
portaudit script so it should run fine. Everything seems to be
working. I don't know why I thought it wasn't running before. Sorry
for the trouble. Thanks.

On Sat, Dec 20, 2008 at 5:42 PM, kareemy kare...@gmail.com wrote:
 I am using FreeBSD 7-RELEASE. I installed portaudit. The FreeBSD
 handbook stated that during the install process, the configuration
 files for periodic will be updated, permitting portaudit output in the
 daily security runs.

 portaudit was not run in my daily security runs. There is no mention
 of portaudit in /etc/periodic.conf or /etc/defaults/periodic.conf. I
 read /usr/local/etc/periodic/security/410.portaudit and found that it
 references 3 variables:
 daily_status_security_portaudit_enable
 daily_status_security_portaudit_expiry
 daily_status_security_portaudit_user

 I can't find those variables defined anywhere in any periodic.conf
 file. I understand I can just manually add
 daily_status_security_portaudit_enable=YES to my periodic.conf and
 be good to go. But I am wondering about the discrepancy with the
 Freebsd handbook.

 Is the FreeBSD handbook out of date or incorrect in this regard or is
 there another reason why portaudit didn't update the periodic config
 files?

 Thanks,
 Kareem Dana

___
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: Network Stack Code Re-write (Possible motivations...?)

2008-12-20 Thread RW
On Sat, 20 Dec 2008 17:54:24 -0500
Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote:

 However,
 commercial routers generally do not use their OS kernel this way -- it
 is far more common that the kernel does send and receive packets
 within its native IP stack.  

If I'm understanding you right, I'm surprised by that (the native part).
It make any proprietary software less portable.  You're also tying your
code into third-party internals, which sounds like a maintenance
problem. I would have thought that the likes of Cisco and Alcatel
etc would would have reusable codebases that abstract the OS and
minimize OS dependencies.

What's the advantage, don't routers usually lead OS's in terms
of new protocol support?
___
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


[6.3] Missing portdowngrade?

2008-12-20 Thread Gilles
Hello

I need to downgrade a software from the Ports collection because
it's buggy on my hardware, but the portdowngrade utility doesn't
seem to exist in the 6.3 Ports:

=
# cd /usr/ports/sysutils/portdowngrade
-bash: cd: /usr/ports/sysutils/portdowngrade: No such file or
directory
=

Does it mean this utility isn't available for 6.3? Is there an
alternative?

Thank you.

___
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


Sed question

2008-12-20 Thread Gary Kline
how can i delete, say, lines 8,9,and 10 from 200 files
using sed?  Is it

sed '8,10d' file newfile
or is there a better way?

tia,

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 2.17a 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: Sed question

2008-12-20 Thread Giorgos Keramidas
On Sat, 20 Dec 2008 21:34:10 -0800, Gary Kline kl...@thought.org wrote:
 how can i delete, say, lines 8,9,and 10 from 200 files
 using sed?  Is it

 sed '8,10d' file newfile
 or is there a better way?

Use in-place editing:

  keram...@kobe:/tmp$ cat -n foo
   1  foo
   2  bar
   3  baz
  keram...@kobe:/tmp$ sed -i '' -e '2d' foo
  keram...@kobe:/tmp$ cat -n foo
   1  foo
   2  baz
  keram...@kobe:/tmp$

Look at the manpage of sed for more details about the -i option, and
consider using backup files while you are running tests.  In-place
editing is very cool, but it can also make changes that are difficult
to recover from.

___
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: [6.3] Missing portdowngrade?

2008-12-20 Thread Michael Powell
Gilles wrote:

 Hello
 
 I need to downgrade a software from the Ports collection because
 it's buggy on my hardware, but the portdowngrade utility doesn't
 seem to exist in the 6.3 Ports:
 
 =
 # cd /usr/ports/sysutils/portdowngrade
 -bash: cd: /usr/ports/sysutils/portdowngrade: No such file or
 directory
 =
 
 Does it mean this utility isn't available for 6.3? Is there an
 alternative?
 
 Thank you.
 

Try looking in /usr/ports/ports-mgmt/portdowngrade instead.

-Mike



___
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: [6.3] Missing portdowngrade?

2008-12-20 Thread Gilles
On Sun, 21 Dec 2008 00:43:49 -0500, Michael Powell
nightre...@verizon.net wrote:
Try looking in /usr/ports/ports-mgmt/portdowngrade instead.

Thanks Mike, that did it. I successfully downgraded Zaptel and
Asterisk to stable versions of the Ports collection.

___
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: Sed question

2008-12-20 Thread prad
On Sat, 20 Dec 2008 21:34:10 -0800
Gary Kline kl...@thought.org wrote:

 or is there a better way?

nothing specific to add for your particular issue, but this link may
be useful in the future for sed:
http://sed.sourceforge.net/grabbag/tutorials/

-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
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: Sed question

2008-12-20 Thread Corey Chandler

Gary Kline wrote:

how can i delete, say, lines 8,9,and 10 from 200 files
using sed?  Is it

sed '8,10d' file newfile
or is there a better way?

  

I'd stick it in a for loop using inplace editing, but yes. :-)

___
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


[solved] Re: usb-stick accessible, but doesn't boot

2008-12-20 Thread clemens fischer
On Fri, 19 Dec 2008 22:29:15 +0100 clemens fischer wrote:

 My USB-stick (trekstore, identifies as USB DISK SMI Corporation) is
 sliced using sade(8), labelled using bsdlabel, accessible using mount
 /dev/da0s1a /mnt/usb, it has kernel and world, but doesn't boot.

The problem had nothing to do with kernel features or setup, except for
etc/fstab.  I had a what I thought quicksimple md for /var: md /var
mfs rw,-s100M,noatime 0 0, but this doesn't account for all the preset
stuff in /var needed to run a system.

The current version looks like:

  # /etc/fstab
  #
  /dev/ad6s2b noneswap sw 0 0
  /dev/da0s1a /   ufs  rw,noatime 1 1
  /dev/da0s1g /home   ufs  rw,noatime,noexec 0 0
  /dev/da0s1f /usrufs  rw,noatime 0 0
  md  /tmpmfs rw,-s24M,noatime 0 0
  md  /var/runmfs rw,-s4M,noatime 0 0
  md  /var/logmfs rw,-s32M,noatime 0 0
  #
  proc /proc procfs rw 0 0

Of course the directory structure had been setup with make
DESTDIR=/mnt/usb/ufs distrib-dirs distribution.

-c

___
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