Process hangs on large pipe writes

2013-01-10 Thread Kevin Oberman
I have run into a problem after upgrading s system from 7.2 to 8.3
with a script that has worked correctly for about a decade. The
script, written in perl, starts about 25 processes to gather
information from a number of other systems. I create an array of
filehandles, one per remote system and then open each with an ssh
command:
$pid = open $fh, ssh -xa $_ command 2 1 |
I then set up a 30 second watchdog via sigalarm that will kill any
process that has not completed and exited and do a wait for each
process to complete with a waitpid.  (The processes normally all
complete in about 2 seconds.)

Each ssh command will return between about 14 and 32 KB of ASCII data,
written line at a time with lines of no more than 80- characters.. On
each run after the upgrade between 8 and 15 of the processes will hang
and only a portion of the data will be available when I read the
filehandle.

Anyone have any idea what could have changed between FreeBSD 7.2 and
8.3? It looks like a bug or a new limitation on pipe operations. I
don't know much about Perl internals, but I assume that no read is
done on the pipe until I attempt to read the filehandle, so I believe
it is some limit on writes to the pipe with no reads done.

I have modified the script to write to files instead of a pipe and it
is working again, but I would like to understand what broke my script.
-- 
R. Kevin Oberman, Network Engineer
E-mail: kob6...@gmail.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


Removing UFS label from root

2012-09-09 Thread Kevin Oberman
I added a label to my root fs some time ago. I really prefer the gpt
label and I have added it, but I can't figure out how to remove the
ufs label.

I boot single user and run 'tunefs -L  /dev/ada1p2' but I get an
unable to write superblock error. This is before mounting the drive
RW, but it is, of course, mounted RO. I tried setting the allow
foot-shooting debug flag, but it did not help.

Is my only hope to boot a live system? (I have no CD, so I guess I
could try a a thumb drive.)
-- 
R. Kevin Oberman, Network Engineer
E-mail: kob6...@gmail.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: Removing UFS label from root

2012-09-09 Thread Kevin Oberman
On Sun, Sep 9, 2012 at 6:49 PM, Warren Block wbl...@wonkity.com wrote:
 On Sun, 9 Sep 2012, Warren Block wrote:

 On Sun, 9 Sep 2012, Kevin Oberman wrote:

 I added a label to my root fs some time ago. I really prefer the gpt
 label and I have added it, but I can't figure out how to remove the
 ufs label.

 I boot single user and run 'tunefs -L  /dev/ada1p2' but I get an
 unable to write superblock error. This is before mounting the drive
 RW, but it is, of course, mounted RO.


 This worked in a VM when I tested it just now.  Maybe running fsck on that
 filesystem first will help.

Already tried that.

I know I was able to label it originally, so it does seem like
something must have changed, but I don't know what. I did use gpart to
expand my /usr partition and then used growfs to expand the FS, but I
did nothing to root and I was able to remove the labels on all of the
other partitions.

 Alternative thought: is ada1p2 actually a UFS filesystem?

Well, the fact that it has a ufs label, fstab show ufs and fsck runs
fsck_ufs are strong hints.
2. Name: ada1p2
   Mediasize: 1073741824 (1.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e2
   rawuuid: 43f0eafd-ba3a-11e0-b70a-f0def166a11e
   rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b
   label: root
   length: 1073741824
   offset: 86016
   type: freebsd-ufs
   index: 2
   end: 2097319
   start: 168
-- 
R. Kevin Oberman, Network Engineer
E-mail: kob6...@gmail.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: Removing UFS label from root

2012-09-09 Thread Kevin Oberman
On Sun, Sep 9, 2012 at 8:00 PM, Warren Block wbl...@wonkity.com wrote:
 On Sun, 9 Sep 2012, Kevin Oberman wrote:

 On Sun, Sep 9, 2012 at 6:49 PM, Warren Block wbl...@wonkity.com wrote:

 On Sun, 9 Sep 2012, Warren Block wrote:

 On Sun, 9 Sep 2012, Kevin Oberman wrote:

 I added a label to my root fs some time ago. I really prefer the gpt
 label and I have added it, but I can't figure out how to remove the
 ufs label.

 I boot single user and run 'tunefs -L  /dev/ada1p2' but I get an
 unable to write superblock error. This is before mounting the drive
 RW, but it is, of course, mounted RO.



 This worked in a VM when I tested it just now.  Maybe running fsck on
 that
 filesystem first will help.


 Already tried that.

 I know I was able to label it originally, so it does seem like
 something must have changed, but I don't know what. I did use gpart to
 expand my /usr partition and then used growfs to expand the FS, but I
 did nothing to root and I was able to remove the labels on all of the
 other partitions.


 Might there be a duplicate filesystem label of root on ada0 or another
 disk?

No joy. I checked all ufs partitions and none are root except for
/dev/ada1p2. All partitions on ada0 are ntfs. (It's my Windows disk.)

But, thanks for trying, Warren. I appreciate it.
-- 
R. Kevin Oberman, Network Engineer
E-mail: kob6...@gmail.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: HowTo easy use IPFW

2012-02-04 Thread Kevin Oberman
2012/2/4 Julian Elischer jul...@freebsd.org:
 On 2/2/12 1:33 AM, Коньков Евгений wrote:

 this is the mine script which helps me keep my firewall very clean and
 safe.

 It is easy to understand even if you have a thousands rules, I think =)

 please comment.

 PS. If anybody may, please put into ports tree. thank you.


 it would probably be get more response if it was in a file format we had
 heard of.. like tar..

 WTF is a .rar  file?

rar is a compression and archiving tool used commonly for bittorrent.
The tool to extract files is in port archivers/rar, but it's
commercial and a proprietary format. The free tool is only capable of
extracting, not compressing. It is reported that its compression is
very good, better than bzip2, xz and can even do a reasonable job of
compressing things like already compressed video formats. (Probably
why it became popular for bittorrent.)

R. Kevin Oberman, Network Engineer
E-mail: kob6...@gmail.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: OpenBGPd stability issue on FreebBSD 9-PRERELEASE

2011-11-27 Thread Kevin Oberman
On Sun, Nov 27, 2011 at 7:10 AM, Darren Baginski kick...@yandex.ru wrote:
 Hi!

 I'm having issues with OpenBGPd  openbgpd-4.9.20110612_1 running on  FreebBSD 
 9-PRERELEASE.
 BGP sessions flap for no reason every ~4hours, bgp sessions itself receive 
 only default form cisco router.
 FreeBSD 8.2 is not affected.
 How can I troubleshot this?

Start by looking at the logs on both ends. Why did the session get
torn down?  Which end triggered it? Without this information it is
impossible to figure much out.

If the logs don't provide a clue, you can capture the BGP traffic with
tcpdump and analyze with wireshark.
-- 
R. Kevin Oberman, Network Engineer
E-mail: kob6...@gmail.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


booteasy and GPT

2011-07-30 Thread Kevin Oberman
I have just created my first GPT structured FreeBSD system and it's
all working fine, but I
don't have any ability to allow me to select booting from another
partition or drive. I boot
the systems and the FreeBSD just boots with o option to boot from another disk.

I have /boot/pmbr loaded into the PMBR and gptboot into the
freebsd-boot partition. I'll
admit that I did this by rote and don't entirely understand how these
two files interact with
the UEFI BIOS to get the loader started. I have two disks and the
other has both an added
FreeBSD system (so I can start playing with 9-current) and Windows 7.

Is it possible to build a custom booteasy boot system with boot0cfg
or some other tool so
I can select the other disk, which is sliced in the traditional fashion?

Thanks!
-- 
R. Kevin Oberman, Network Engineer - Retired
E-mail: kob6...@gmail.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


Can gpart create ntfs and FAT-32 partitions?

2011-07-27 Thread Kevin Oberman
I want to create a GPT disk structure that has the following partitions:
MBR
NTFS (1.2G)
NTFS (200G)
FreeBSD OS (250G)
NTFS (15G)
FAT-32 (100G) (needs to be RW for W7 and FreeBSD and ntfs-3g is just
not stable enough)
FreeBSD data only (380G)

The NTFS partitions are to place the Windows7 system, recovery
partition (which I may
not use), and Lenovo's odd SYSTEM_DRV that is required for booting.
gpart has no
indications of how to create an NTFS or FAT partition. Any way to so
this? Or, should I
use W7 to do that and leave the space for the FreeBSD ones?
-- 
R. Kevin Oberman, Network Engineer - Retired
E-mail: kob6...@gmail.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: Skype with sound and video support :)

2011-05-17 Thread Kevin Oberman
 Date: Tue, 17 May 2011 10:38:58 +0300
 From: Ion-Mihai Tetcu ite...@freebsd.org
 Sender: owner-freebsd-emulat...@freebsd.org
 
 Hi,
 
 
 As you may have noticed skype ports were updated a few days ago.
 
 All skype ports were moved to net-im/:
 - skype12: unchanged, very old version (for FreeBSD 6)
 - skype20: last version with OSS support, that used to live in
 net/skype; the DISTFILE is gone from the vendor but if you happen to
 have it it would be a way of having sound w/o a need to upgrade your
 base OS
 - [RECOMANDED] skype: currently at 2.1.0.81 and the best supported
 - skype-devel: currently at 2.2.0.25, sounds is OK, video doesn't work
 
 In order to run either skype or skype-devel with fully working sound
 you need:
 - to run fc10 (most probably, please report what you can run with fc4):
 (OVERRIDE_LINUX_BASE_PORT=f10,OVERRIDE_LINUX_NONBASE_PORTS=f10
 in /etc/make.conf for systems that doesn't have it as default)
 - In order for Skype to work OK, you need your kernel and modules to be:
   - post 2011-05-03 in on HEAD
   - post 2011-05-08 in on 7,8-STABLE
 The port tries to catch if your system version is too old, but there's
 a ~3months window where because of a lack of OSVERSION bump, this is
 not possible. So please check; and PLEAE READ THE PKG_MESSAGE for
 setup details. For how to update your kernel/world, see:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
 
 IF YOUR OSVERSION IS NOT NEW ENOUGH, SOUND (ESPECIALLY MIC) WON'T WORK.
 
 If you run into problems, at very least we need to know the output of:
 
 $ uname -a; sysctl compat.linux | head -2; grep OVERRIDE_LINUX_ 
 /etc/make.conf; cat /compat/linux/etc/alsa/pcm/pcm-oss.conf
 
 the skype version you are using, and hardware details (eg. webcam) if
 related. I most probably will ignore any mail not containing this info
 since without it it's impossible to help.
 
 Please test your sound /video setup outside skype before blaming skype /
 mailing me.

Many thanks for all of the work that went into getting a modern version
of Skype working!

Please put the information in this message (or at least most of it) into
ports/UPDATING so a few less people running old kernels will be bitten
by the installation of the new Skype port.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: ober...@es.net  Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
___
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: Greybeards (Re: Netbooks BSD)

2010-10-20 Thread Kevin Oberman
 Date: Wed, 20 Oct 2010 00:47:38 -0700
 From: per...@pluto.rain.com
 Sender: owner-freebsd-mob...@freebsd.org
 
 Matthias Apitz g...@unixarea.de wrote:
  El d?a Tuesday, October 19, 2010 a las 07:29:46PM -0700, Gary Kline 
  escribi?:
 PS:  I really _was_ current on hardware stuff.  Back in the VAX
 780 days :-) 
  I booted my first UNIX V7 tape on a PDP-11 around 1982, I think.
 
 Gotcha beat :)  UNIX V6, PDP-11/34, RK05 disk cartridge, 1975.
 The whole runtime fit on one RK05.  The sources took a second one.

UNIX V6 on a PDP-11/40, 2xRK05 disk, 1975, but it was before the 11/34
came out, so I think I have you beat by a few weeks, at least. 

That said, my project moved away from Unix to DEC's RSX11-D and later
IAS, so I had little contact with Unix until about 1980 on a VAX11/750
at the UC-Davis Dept. of Applied Science running BSD 4.1(?).
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: ober...@es.net  Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
___
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: Netbooks BSD

2010-10-20 Thread Kevin Oberman
 Date: Wed, 20 Oct 2010 14:15:46 -0700
 From: Gary Kline kl...@thought.org
 Sender: owner-freebsd-mob...@freebsd.org
 
 On Wed, Oct 20, 2010 at 11:32:01AM -0700, David Brodbeck wrote:
  On Wed, Oct 20, 2010 at 10:32 AM, Gary Kline kl...@thought.org wrote:
          Sure, the optical uses [I think] a USB connector.  Pretty sure
          that all these tiny toys are made at one factory! and then
          labeled by the vendor.  If all the opticals are essentially
          the same, then great.
  
  I think they all pretty much follow the same standard. I've even had
  success using an IDE CD-ROM drive plugged into a USB-to-IDE adapter
  cable, before.
 
 
   That kinda makes me laugh, because isn't the idea of USB to 
   have *one* standard plug that fits into one jack?  --Seriously, 
   my favorite clicky keyboard is a PS/2 and I have a USB adaptor 
   that saved me.
 
   The thing about the memsticks is that on my tower cases, you
   have to get down and crawl around and find the jack...  Is there
   such a thing as a USB extender cable, say, a meter or two long?  

Sure. My SmartCard token is plugged into one on my desk. Not knowing
where you are I an only suggest Radio Shack or, if there is one near you,
Frys. You can easily order one on-line for a LARGE number of
vendors. Just remember that the maximum length of 5 meters.

I see prices for brand-name cables at about $8.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: ober...@es.net  Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
___
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: Root exploit for FreeBSD

2009-12-11 Thread Kevin Oberman
 Date: Fri, 11 Dec 2009 08:49:42 +
 From: Matthew Seaman m.sea...@infracaninophile.co.uk
 Sender: owner-freebsd-curr...@freebsd.org
 
 Polytropon wrote:
  On Fri, 11 Dec 2009 01:42:36 -0600, Sam Fourman Jr. sfour...@gmail.com 
  wrote:
  I have tried looking around and OpenBSD appears to be the undisputed
  #1 track record in terms of security and FreeBSD is #2 (I didn't count
  dragonflyBSD)
  
  VMS would be #0, then? :-)
 
 I dunno.  Haven't seen many MS-DOS exploits recently either...

I'm sure that there are systems happily running MSDOS, but I bet not too
many are networked.

I know that there is still a lot of VMS out there and that it has
remained a cash cow for HP. It lived on primarily in the banking and
financial sector, though I guess the use is dropping since HP recently
outsourced support to India and that lead to the retirement of the last
of the original VMS developers, Andy Goldstein. 

Also, the the end of TECO as Andy was responsible for porting it to
almost every platform DEC ever sold (RSX, RSTS, VMS, TOPS-10 and
TOPS-20, RT-11, and several others) and continued to maintain it until
his retirement. (Most readers of this list probably don't even remember
TECO.)

And, for may years VMS had major network security problems, especially
the infamous default DECNET/DECNET account that lead to may compromises
and the second major network worm, Worms Against Nuclear Killers. (I
won't use the acronym so as not to offend our British readers. I found
out about that when the BBC interviewed me about it and I was told that
I could not utter the word.)
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: ober...@es.net  Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
___
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: is there a laptop ?

2009-03-11 Thread Kevin Oberman
 Date: Thu, 12 Mar 2009 08:25:28 + (GMT)
 From: Saifi Khan saifi.k...@twincling.org
 Sender: owner-freebsd-mob...@freebsd.org
 
 On Wed, 11 Mar 2009, Chris Whitehouse wrote:
 
   
  HP nc6320 (google RH383ET) - most things work, including wifi and ethernet,
  except for the following:
  
 
 From HP site,
 
 Network
 Integrated Broadcom NetLink Gigabit Ethernet PCI Controller
 (10/100/1000 NIC)
 
 Wireless
 Broadcom 802.11a/b/g; Broadcom 802.11b/g; Bluetooth 2.0
 
 
 It seems to have the US-trash-com chipset !
 
 Do Atheros, Ralink, Realtek, Intel PRO/Wireless chipset work
 with FreeBSD ?

Atheros - if_ath
Ralink - if_ral
Realtek - Most if_re and if_rl
Intel PRO/Wireless - if_ipw, if_iwi, if_wpi

For the exact chips supported, see the man pages for the drivers.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: ober...@es.net  Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
___
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: portupgrade question

2008-05-14 Thread Kevin Oberman
 Date: Wed, 14 May 2008 12:35:03 +1000
 From: Fraser Tweedale [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 AN wrote:
  I installed openoffice 2.4.0 from ports with:
  make -DWITHOUT_MOZILLA install clean
  
  Now, when I do a portupgrade it tries to install mozilla:
  
  To build OOo, you should have a lot
  of free diskspace (~ 11GB) and memory (~ 2GB).
  If you want SDK and/or solver, please type make sdk and/or make solver
  = mozilla-source-1.7.5.tar.gz doesn't seem to exist in 
  /usr/ports/distfiles/openoffice.org2.
  = Attempting to fetch from 
  http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/.
   
  
  mozilla-source-1.7.5.tar.gz 0% of   36 MB  108 kBps^C
  fetch: transfer interrupted
  
  How do I portupgrade openoffice and get it to use the -DWITHOUT_MOZILLA 
  option from the command line? What is the correct way to do this?
  
  TIA
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 Set the following in /usr/local/etc/pkgtools.conf:
 
 MAKE_ARGS = {
   'editors/openoffice.org-2' = 'WITHOUT_MOZILLA=1',
 }
 
 frase
 

When I did this, I had to put in:
 'editors/openoffice.org*' = '-DWITH_SYSTEM_FREETYPE -DWITHOUT_MOZILLA',
  to get it to build the way I wanted it to. Without the '-D', it
simply didn't do anything.

It's easy to tell if it is working because the 'make config' will not
list the options that are defined. (This may be openoffice.org
specific.) If you see it list WITHOUT_MOZILLA in the options, it means
it will build with mozilla.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751


pgpbTZ5IQWuTs.pgp
Description: PGP signature


Re: ICH7R RAID1 support?

2008-04-17 Thread Kevin Oberman
 From: Tamouh H. [EMAIL PROTECTED]
 Date: Wed, 16 Apr 2008 19:34:55 -0400
 
  
 
  -Original Message-
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  Kevin Oberman
  Sent: April 16, 2008 6:03 PM
  To: [EMAIL PROTECTED]
  Subject: ICH7R RAID1 support?
  
  Can anyone confirm whether support for RAID1 on the ICH7R is 
  in FreeBSD?
  --
  R. Kevin Oberman, Network Engineer
  Energy Sciences Network (ESnet)
  Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
  E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
  Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
  
 
 Kevin, we tried out a Supermicro server which had ICH7R motherboard and RAID 
 was recognized fine. FreeBSD recognized all the drives as stand alone plus 
 the ar0 onboard controller.
 
 We're able to monitor it using atacontrol status ar0:
 
  atacontrol status ar0
 ar0: ATA RAID1 status: READY
  subdisks:
0 ad4  ONLINE
1 ad6  ONLINE
 
 Controller info:
 
 atapci0: Intel ICH7 UDMA100 controller port 
 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x30a0-0x30af at device 31.1 on pci0
 atapci1: Intel ICH7 SATA300 controller port 
 0x30e8-0x30ef,0x30dc-0x30df,0x30e0-0x30e7,0x30d8-0x30db,0x30b0-0x30bf mem 
 0xe400-0xe7ff irq 19 at device 31.2 on pci0
 

Thanks! This is what I had suspected, but it's good to have
confirmation.

Since the RAID is really software and not hardware, it might work as
well to just use gmirror and not worry about the on-board RAID.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751


pgpVo7NU8PYqU.pgp
Description: PGP signature


ICH7R RAID1 support?

2008-04-16 Thread Kevin Oberman
Can anyone confirm whether support for RAID1 on the ICH7R is in FreeBSD?
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751


pgpvfW3Y6OIiF.pgp
Description: PGP signature


Dial-up networking with Verizon Treo 700p or 755p

2008-04-12 Thread Kevin Oberman
Has anyone been able to get a Verizon 700p or 755p to connect to the
network with FreeBSD? I have Googled a bit and found nothing obvious,
but it should be possible.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751


pgpWpJVvw1Wff.pgp
Description: PGP signature


Re: Understanding Flags, Refs, Use, Expire in Routing Table

2008-03-28 Thread Kevin Oberman
 From: Robert Jesacher [EMAIL PROTECTED]
 Date: Fri, 28 Mar 2008 16:39:31 +0100
 Sender: [EMAIL PROTECTED]
 
 Hi Daniel,
 
 you find mostl of you questions answered in man netstat (the  
 relevant passage is posted below)
 The missing part is the expiry, which IMHO are the seconds, the ARP  
 entry is valid (after this time a new arp request would be issued)
 
 I hope this is the information you needed.

It makes following a thread really hard. It's all (mostly) Microsoft's fault!
 Why?
  I wish people would stop top-posting!

The Expire entry is the result of FreeBSD's unfortunate co-mingling
network layer routing information with layer 2 ARP information. The only
entries with Expire values are actually ARP entries. (Note the MAC
address os Gateway.)

Expire is in seconds remaining until the entry expires and is no longer
used.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751


pgpYyGAparmmn.pgp
Description: PGP signature


Unable to mount partition with ntfs-3g

2008-02-08 Thread Kevin Oberman
I would love to be able to mount my NTFS partition R/W, but the FreeBSD
NTFS support is read-only (or almost read-only), so I installed
fusefs-ntfs which I thought would allow this.

After installation (which also pulled in fusefs-kmod, fusefs-libs, and
libublio), I added fusefs_enable=yes to my rc.conf. Then, after
starting fusefs (which means loading the fuse kernel module), I tried:
# mount -t ntfs-3g /dev/ad0s1 /C
mount: /dev/ad0 : Operation not supported by device

I got the same message for a USB drive on /dev/da0.

Documentation on ntfs-3g is pretty limited. Did I miss something? I
really rather not convert my new USB disk to FAT32 if I don't have to.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751


pgpGnERq4hbHJ.pgp
Description: PGP signature


Re: Unable to mount partition with ntfs-3g

2008-02-08 Thread Kevin Oberman
 Date: Fri, 08 Feb 2008 23:11:37 +0100
 From: Dominic Fandrey [EMAIL PROTECTED]
 
 Kevin Oberman wrote:
  I would love to be able to mount my NTFS partition R/W, but the FreeBSD
  NTFS support is read-only (or almost read-only), so I installed
  fusefs-ntfs which I thought would allow this.
  
  After installation (which also pulled in fusefs-kmod, fusefs-libs, and
  libublio), I added fusefs_enable=yes to my rc.conf. Then, after
  starting fusefs (which means loading the fuse kernel module), I tried:
  # mount -t ntfs-3g /dev/ad0s1 /C
  mount: /dev/ad0 : Operation not supported by device
  
  I got the same message for a USB drive on /dev/da0.
  
  Documentation on ntfs-3g is pretty limited. Did I miss something? I
  really rather not convert my new USB disk to FAT32 if I don't have to.
 
 mount only calls a couple of file systems in the old fashioned way. One of 
 them is ntfs. What I did to be able to mount NTFS systems with mount -t 
 (obligatory if you want to use fstab to mount), I did the following:
 
 # mv /sbin/mount_ntfs /sbin/mount_ntfs.bak
 # ln -s /usr/sbin/mount_ntfs-3g /sbin/mount_ntfs
 
 This is one of my /etc/fstab entries
 /dev/ntfs/2vault  /mnt/vault  ntfs  rw,late,gid=5,umask=113,dmask=002  0  0
 

Cool! This is exactly what I was looking for. Since mount_ntfs-3g was
installed, I assumed that it would work with nmount, but I guess not.

Thanks very much! I think that this will solve all of my ntfs issues for
a while.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751


pgpb229eSxRHL.pgp
Description: PGP signature


Re: Unable to mount partition with ntfs-3g

2008-02-08 Thread Kevin Oberman
 Date: Sat, 09 Feb 2008 00:19:26 +0100
 From: Dominic Fandrey [EMAIL PROTECTED]
 
 Kevin Oberman wrote:
  Date: Fri, 08 Feb 2008 23:11:37 +0100
  From: Dominic Fandrey [EMAIL PROTECTED]
 
  Kevin Oberman wrote:
  I would love to be able to mount my NTFS partition R/W, but the FreeBSD
  NTFS support is read-only (or almost read-only), so I installed
  fusefs-ntfs which I thought would allow this.
 
  After installation (which also pulled in fusefs-kmod, fusefs-libs, and
  libublio), I added fusefs_enable=yes to my rc.conf. Then, after
  starting fusefs (which means loading the fuse kernel module), I tried:
  # mount -t ntfs-3g /dev/ad0s1 /C
  mount: /dev/ad0 : Operation not supported by device
 
  I got the same message for a USB drive on /dev/da0.
 
  Documentation on ntfs-3g is pretty limited. Did I miss something? I
  really rather not convert my new USB disk to FAT32 if I don't have to.
  mount only calls a couple of file systems in the old fashioned way. One of 
  them is ntfs. What I did to be able to mount NTFS systems with mount -t 
  (obligatory if you want to use fstab to mount), I did the following:
 
  # mv /sbin/mount_ntfs /sbin/mount_ntfs.bak
  # ln -s /usr/sbin/mount_ntfs-3g /sbin/mount_ntfs
 
  This is one of my /etc/fstab entries
  /dev/ntfs/2vault  /mnt/vault  ntfs  rw,late,gid=5,umask=113,dmask=002  0  0
 
  
  Cool! This is exactly what I was looking for. Since mount_ntfs-3g was
  installed, I assumed that it would work with nmount, but I guess not.
  
  Thanks very much! I think that this will solve all of my ntfs issues for
  a while.
 
 Just remember that you have to recreate the link after you do an
 installworld.

Yes. I already have to do this for other modified stuff. (I install a
new world about every other week.)


Thanks again,
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751


pgpZhKwDi2uYg.pgp
Description: PGP signature


Re: Help I borke my 7.0 AMD64

2007-09-24 Thread Kevin Oberman
 Date: Mon, 24 Sep 2007 22:36:57 +0300
 From: Abdullah Ibn Hamad Al-Marri [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 On 9/24/07, Kris Kennaway [EMAIL PROTECTED] wrote:
  Abdullah Ibn Hamad Al-Marri wrote:
   On 9/24/07, Kris Kennaway [EMAIL PROTECTED] wrote:
   Abdullah Ibn Hamad Al-Marri wrote:
   Hello,
  
   I used potsclean, and it broke my GCC enviroment.
   What is potsclean?
  
   I can't make buildworld anymore.
  
   stage 2.3: build tools
   --
   cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  INSTALL=sh
   /usr/src/tools/install.sh
   PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
WORLDTMP=/usr/obj/usr/src/tmp  MAKEFLAGS=-m /usr/src/tools/build/mk
   -m /usr/src/share/mk /usr/obj/usr/src/make.amd64/make -f
   Makefile.inc1  TARGET=amd64 TARGET_ARCH=amd64  DESTDIR=
   BOOTSTRAPPING=700052 -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS build-tools
   === bin/csh (obj,build-tools)
   grep 'ERR_' /usr/src/bin/csh/../../contrib/tcsh/sh.err.c | grep
   '^#define'  sh.err.h
   cc -E -O2 -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh
   -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh'
   -DHAVE_ICONV  -I/usr/obj/usr/src/tmp/legacy/usr/include
   /usr/src/bin/csh/../../contrib/tcsh/tc.const.c
   /usr/src/bin/csh/../../contrib/tcsh/sh.char.h
   /usr/src/bin/csh/config.h
   /usr/src/bin/csh/../../contrib/tcsh/config_f.h
   /usr/src/bin/csh/../../contrib/tcsh/sh.types.h sh.err.h -D_h_tc_const
   | grep 'Char STR' |  sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern
   Char \1[];/' |  sort  tc.const.h
   cc -o gethost  -L/usr/obj/usr/src/tmp/legacy/usr/lib -O2
   -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh
   -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh'
   -DHAVE_ICONV  -I/usr/obj/usr/src/tmp/legacy/usr/include
   /usr/src/bin/csh/../../contrib/tcsh/gethost.c
   /usr/bin/ld: cannot find -lgcc_s
   You will need to obtain another copy of this library.  Either you could
   download a 7.0 snapshot and extract it from that, or maybe just
   reinstall if that is more trouble than you want to deal with.
  
   Kris
  
   Sorry Kris, I meant portsclean, and it deleted stuff it shouldn't for
   the native GCC environment.
 
  That sounds pretty odd, are you sure you hadn't made changes to your
  /lib (e.g. symlinking libgcc_s to a port version)?  It should not be
  touching anything under /lib at all.
 
  Kris
 
 Yes, I didn't do anything else.
 
 ls
 geomlibalias_smedia.so  libcrypto.so.5
  libmd.so.4  libufs.so.4
 libalias.so.6   libatm.so.5 libdevstat.so.6
  libncurses.so.7 libumem.so.1
 libalias_cuseeme.so libavl.so.1 libedit.so.6
  libncursesw.so.7libutil.so.7
 libalias_dummy.so   libbegemot.so.3 libgeom.so.4
  libnvpair.so.1  libuutil.so.1
 libalias_ftp.so libbsdxml.so.3  libipsec.so.3
  libpcap.so.5libz.so.4
 libalias_irc.so libbsnmp.so.4   libipx.so.4
  libreadline.so.7libzfs.so.1
 libalias_nbt.so libc.so.7   libkiconv.so.3
  libsbuf.so.4libzpool.so.1
 libalias_pptp.solibcam.so.4 libkvm.so.4
  libssp.so.0
 libalias_skinny.so  libcrypt.so.4   libm.so.5
  libthr.so.3

What arguments did you give to portsclean? Specifically, did you tell it
to clean libraries (_L or --libclean)? Sounds like you yanked a library
out from under gcc. I tend to stick to -DC to avoid the possibility of
foot shooting. (I manage to do that too often, in any case.)
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751


pgp3hCJtlt4yD.pgp
Description: PGP signature


Re: Help I borke my 7.0 AMD64

2007-09-24 Thread Kevin Oberman
 Date: Mon, 24 Sep 2007 22:49:12 +0300
 From: Abdullah Ibn Hamad Al-Marri [EMAIL PROTECTED]
 
 On 9/24/07, Kevin Oberman [EMAIL PROTECTED] wrote:
   Date: Mon, 24 Sep 2007 22:36:57 +0300
   From: Abdullah Ibn Hamad Al-Marri [EMAIL PROTECTED]
   Sender: [EMAIL PROTECTED]
  
   On 9/24/07, Kris Kennaway [EMAIL PROTECTED] wrote:
Abdullah Ibn Hamad Al-Marri wrote:
 On 9/24/07, Kris Kennaway [EMAIL PROTECTED] wrote:
 Abdullah Ibn Hamad Al-Marri wrote:
 Hello,

 I used potsclean, and it broke my GCC enviroment.
 What is potsclean?

 I can't make buildworld anymore.

 stage 2.3: build tools
 --
 cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  INSTALL=sh
 /usr/src/tools/install.sh
 PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
  WORLDTMP=/usr/obj/usr/src/tmp  MAKEFLAGS=-m 
 /usr/src/tools/build/mk
 -m /usr/src/share/mk /usr/obj/usr/src/make.amd64/make -f
 Makefile.inc1  TARGET=amd64 TARGET_ARCH=amd64  DESTDIR=
 BOOTSTRAPPING=700052 -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS 
 build-tools
 === bin/csh (obj,build-tools)
 grep 'ERR_' /usr/src/bin/csh/../../contrib/tcsh/sh.err.c | grep
 '^#define'  sh.err.h
 cc -E -O2 -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh
 -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh'
 -DHAVE_ICONV  -I/usr/obj/usr/src/tmp/legacy/usr/include
 /usr/src/bin/csh/../../contrib/tcsh/tc.const.c
 /usr/src/bin/csh/../../contrib/tcsh/sh.char.h
 /usr/src/bin/csh/config.h
 /usr/src/bin/csh/../../contrib/tcsh/config_f.h
 /usr/src/bin/csh/../../contrib/tcsh/sh.types.h sh.err.h 
 -D_h_tc_const
 | grep 'Char STR' |  sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern
 Char \1[];/' |  sort  tc.const.h
 cc -o gethost  -L/usr/obj/usr/src/tmp/legacy/usr/lib -O2
 -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh
 -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh'
 -DHAVE_ICONV  -I/usr/obj/usr/src/tmp/legacy/usr/include
 /usr/src/bin/csh/../../contrib/tcsh/gethost.c
 /usr/bin/ld: cannot find -lgcc_s
 You will need to obtain another copy of this library.  Either you 
 could
 download a 7.0 snapshot and extract it from that, or maybe just
 reinstall if that is more trouble than you want to deal with.

 Kris

 Sorry Kris, I meant portsclean, and it deleted stuff it shouldn't for
 the native GCC environment.
   
That sounds pretty odd, are you sure you hadn't made changes to your
/lib (e.g. symlinking libgcc_s to a port version)?  It should not be
touching anything under /lib at all.
   
Kris
  
   Yes, I didn't do anything else.
  
   ls
   geomlibalias_smedia.so  libcrypto.so.5
libmd.so.4  libufs.so.4
   libalias.so.6   libatm.so.5 libdevstat.so.6
libncurses.so.7 libumem.so.1
   libalias_cuseeme.so libavl.so.1 libedit.so.6
libncursesw.so.7libutil.so.7
   libalias_dummy.so   libbegemot.so.3 libgeom.so.4
libnvpair.so.1  libuutil.so.1
   libalias_ftp.so libbsdxml.so.3  libipsec.so.3
libpcap.so.5libz.so.4
   libalias_irc.so libbsnmp.so.4   libipx.so.4
libreadline.so.7libzfs.so.1
   libalias_nbt.so libc.so.7   libkiconv.so.3
libsbuf.so.4libzpool.so.1
   libalias_pptp.solibcam.so.4 libkvm.so.4
libssp.so.0
   libalias_skinny.so  libcrypt.so.4   libm.so.5
libthr.so.3
 
  What arguments did you give to portsclean? Specifically, did you tell it
  to clean libraries (_L or --libclean)? Sounds like you yanked a library
  out from under gcc. I tend to stick to -DC to avoid the possibility of
  foot shooting. (I manage to do that too often, in any case.)
  --
  R. Kevin Oberman, Network Engineer
  Energy Sciences Network (ESnet)
  Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
  E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634
 
 I forced portsclean -L but why on the earth it did remove the gcc lib
 since it's not installed by the ports?
 
 Is there away to recover it now?

portsclean should never touch anything out of /usr/local/and base gcc
should not depend on anything in /usr/local. I'd suspect that setting an
environmental variable such as PORTSDIR might cause this, but that seem
unlikely to have happened without a serious intent.

Is it possible that you are not running the base gcc? ('which gcc' and 'gcc
-v') It should be in /usr/bin and the version for a recent current
should be 4.2.1 20070719.

Is it possible that the portsclean was merely coincidental? Could
something else have happened at about the same time?

As far as recovery goes, what does

Re: Help I borke my 7.0 AMD64

2007-09-24 Thread Kevin Oberman
 Date: Tue, 25 Sep 2007 02:44:33 +0300
 From: Abdullah Ibn Hamad Al-Marri [EMAIL PROTECTED]
 
 On 9/25/07, Mel [EMAIL PROTECTED] wrote:
  On Monday 24 September 2007 22:47:59 Abdullah Ibn Hamad Al-Marri wrote:
 
   Could you please put it somewhere where so that I could fetch it?
 
  Probably the safest way:
  pkg_add -r gcc-4.2.2_20070905.tbz
 
  Then set CC and CXX in /etc/make.conf to point to the installed gcc
  in /usr/local. This should get you through the build-tools stage. If it
  creates issues later on, you should have a libgcc_* in /usr/obj. In fact, I
  highly recommend pressing ctrl-c after gcc has been built and copy the
  missing library from /usr/obj to /usr/lib then unset CC and CXX
  in /etc/make.conf and re-run buildworld.
 
  I just looked on freebsd ftp servers, there's a package for amd64 arch and
  7-current dated Sep 15.
  --
  Mel
 
 Hello,
 
 I installed that.
 
 And it did the trick.
 
 I just don't want to take the risk now.
 
 I did these steps
 
 rm -r /usr/obj/*
 cd /usr/src
 make cleandir
 make cleanworld
 make -j7 buildworld
 
 I'm too worried, I may get broken world now.
 
 Shall I recopy libgcc_* from /obj again and rebuild the world again?
 since current libgcc_* is made by the gcc42 latest port.

If you use gcc 4.2.2 to buildworld, it does a two stage build. It starts
by building the base gcc (4.2.1) withe the default compiler and then
builds it again using the just built compiler. You should be fine if you
define CC as gcc422. It will only be used to build the gcc4.2.1
compiler. Once that is done, the make system will use only the newly
built version.

If you have removed /usr/obj/*, you can speed the build with -DNO_CLEAN.
(There is nothing to clean, but make will still try.) Since there is
nothing to clean, making cleandir and cleanworld looks unnecessary,
too. 

Unless you have a 6 core system, -j7 is probably excessive. Both my own
tests and those of others show that having one more build thread than
there are processors seems to be the sweet spot. (I don't recall if
anyone has tested at over 6 cores, though.)

I think I understand the build system, but I am far from a make(1) guru,
so. if I misunderstand any of it, hopefully those who are will chime in
with the right information.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751


pgpcGMMNJGEjT.pgp
Description: PGP signature


Re: Xine and mplayer will not install

2006-11-05 Thread Kevin Oberman
 Date: Sun, 5 Nov 2006 06:11:29 -0500 (EST)
 From: [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 After a new install of 6.2beta3 and Gnome2.14.2 I am unable to install 
 mplayer.  It fails with the following message:
 
 ===  Installing for mplayer-0.99.8_5
 ===   mplayer-0.99.8_5 depends on file: /usr/local/share/mplayer/skins - 
 found
 ===   mplayer-0.99.8_5 depends on file: 
 /usr/local/lib/win32/win32-codecs-3.1.0.p8_1,1 - not found
 ===Verifying install for 
 /usr/local/lib/win32/win32-codecs-3.1.0.p8_1,1 in 
 /usr/ports/multimedia/win32-codecs
 ===  win32-codecs-3.1.0.p8_1,1 is forbidden: Remote code execution: 
 http://vuxml.FreeBSD.org/24f6b1eb-43d5-11db-81e1-000e0c2e438a.html.
 *** Error code 1
 
 Stop in /usr/ports/multimedia/win32-codecs.
 *** Error code 1
 
 Stop in /usr/ports/multimedia/mplayer.
 
 Xine fails for the same reason.  Any suggestions for fixing this or 
 getting around it?

First, this should go to either the maintainers of the port in
question *win32-codecs, or to ports if there is no maintainer.

In this case, update win32-codecs without Quicktime and make sure that
the portaudit db is up to date. It will then build. There is a
vulnerability in the Quicktime codec, so as lint as it is not built
(and it is not, by default, in the new version), you should have no
problems. 

Since you were failing to build the latest version, I assume that the
database is out of date or that you chose to build it with Quicktime. To
change your build options, use cd /usr/ports/multimedia/win32-codecs 
make config.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751


pgpqxGO5cq5yJ.pgp
Description: PGP signature


Thread libraries and Perl

2006-09-28 Thread Kevin Oberman
I use a Perl program that uses GTK2 for its display. This means that it
uses the p5-Gtk2 port. Many GTK2 routines are threaded, and when they
are called, the rtld fails to resolve the symbol pthread_getschedparam
and the program exists.

I know that normally the inclusion of the threading libraries is done at
compile time for the main code which will be using threading routines in
libraries to which it is linked, but Perl is not compiled and, if I
don't do something to pull libpthread into the process, such as using
LD_PRELOAD, I will get the error.

My question is, what is the best way to do this? Should the Perl
bindings to the threaded libraries do it? (In this case, p5-Gtk2) or is
there a better way.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751


pgprVUKjrQe3n.pgp
Description: PGP signature


Re: What laptop do you recommend?

2006-03-14 Thread Kevin Oberman
 Date: Tue, 14 Mar 2006 01:07:32 -0500
 From: Parv [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 in message [EMAIL PROTECTED],
 wrote Norberto Meijome thusly...
 
  On Mon, 13 Mar 2006 10:32:40 -0300
  [EMAIL PROTECTED] wrote:
  
   I'm looking for a new, gruntier laptop. What laptop is known to work
   WELL with freeBSD? e.g.:
   
   ACPI with no problems (and as many features as possible)
   PATA / SATA with no problems
 
 I don't think Thinkpad has [SP]ATA things (yet).

From my T43:
atapci0: Intel ICH6 SATA150 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x18c0-0x18cf at device 31.2 on pci0
Since the drives are still PATA, I assume it uses a SATA/PATA chip for
the internal drives, but it may make SATA available to a docking station.

 
   all other basic stuff (graphics, NIC, Wireless g, sound,
   touchpad ,etc ) should work too, of course
 
 Thinkpad T42 is great in that regard, except that the use of dri w/
 suspend/resume causes lockup.  You would need to pick either dri or
 suspend/resume.
 
 If you can, try to get a laptop either without a 802.11g (so that
 you can decide which one to buy) or buy one supported by ath driver.
 I have T42 w/ Intel 2200BG card, and it using w/ iwi driver
 (net/iwi-firmware port).  Here, connected w/ Linksys WRT54G wireless
 router/switch/AP, iwi interface|driver needs to be reset just about
 every two hours (when i start getting TKIP ICV mismatch on decrypt
 message.

iwi (and its kin-folk) have been betting heavy work in HEAD over the
past week or two and, hopefully, things will improve. OTOH, I have two
colleagues using this card with Windows and they complain that it locks
up periodically and they have to disable and enable it to get it back,
so this may not be just a FreeBSD thing. There is also fairly new
firmware out (V3.0) which MAY fix some of these problems.

   Looking into either Intel duo Core or AMD64 chips.
 
 Can't say about Thinkpad on that.

I think the only ThinkPads with Core Duo are T60s, although I'm sure
other will follow. Don't know if Lenovo will ever go the AMD route, but
I sure hope they do. My AMD desktop is one amazing system!

   From what I've read, IBMs seem to have quite good support, so
   do DELLs
   (though they seem chunkier than other laptops). I usually get
   Toshiba, but I don't think they are so well supported.
 
 Boy do those Toshiba's TruBrite screen looked amazing (in a chain
 store).  On almost all the displayed laptops, however, the keyboards
 are buggered up, mainly on the right side.  Keys were shifted around
 or had really unusual area of key caps.  What is amazing about the
 messed up keyboard layout is that there was much wasted space on
 the sides (owning to the wider screen)  in front of the keyboard.

FWIW, I have been amazed at the brightness of my T43. It is MUCH
brighter than my trusty T30.

  What about DELL laptops? any model I should stick to?
 
 People generally advise to get one from business line (used to be
 Latitude for some time in past; don't know about the
 present/future), not the home one (Inspiron).
 
 
  Thinkpads are a bit pricey for me atm.
 
 T4[0-3]-generation should be affordable by now, around USD1[0-2]00.
 
 
  (Greg Lehey i think was using dells... could well be wrong...)
 
 Yes, some Dell Inspiron.

My wife has not been at all happy with her Latitude. Heavy and still not
robust. Unpleasant keyboard and very touchy touchpad. (This is from her
as I don't often use it.) I do love the 1600x1200 display, though!

For less expensive (and less powerful) ThinkPads, look at the R
series. No Core Duos there, but they start at about $800 new. No
touchpads (which I consider a plus), but a bit clunky compared to the T
series. 
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What laptop do you recommend?

2006-03-13 Thread Kevin Oberman
 Date: Mon, 13 Mar 2006 10:32:40 -0300
 From: [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 hi everyone,
 I'm looking for a new, gruntier laptop. What laptop is known to work
 WELL with freeBSD? e.g.:
 
 ACPI with no problems (and as many features as possible)
 PATA / SATA with no problems
 all other basic stuff (graphics, NIC, Wireless g, sound,
 touchpad ,etc ) should work too, of course
 
 Looking into either Intel duo Core or AMD64 chips.
 
 From what I've read, IBMs seem to have quite good support, so do DELLs
 (though they seem chunkier than other laptops). I usually get Toshiba,
 but I don't think they are so well supported.

I have a new Lenovo (IBM) T43 (266875U) that is working well.

If you get an integrated A/B/G card, it's Athros based and works very
well with FreeBSD and the wpa_supplicant.  The internal Winmodem is
useless, though. The GE is a Broadcom which works well. Graphics is an
ATI Radeon, so you will want to have Radeontool to turn it off.

ACPI has no problems and, if you load acpi_ibm, it provides lots of
features. Sound is snd_ich and works fine. I disable the touchpad, so I
really can't say much about it. If the touchpad is disabled, it has a 3
button mouse.

I have not been successful with a suspend/resume cycle while running
X. It seems to suspend, but never resumes when in X. If I'm on a vty, it
does resume, but the display characters are garbage.  vidcontrol mode
80x25 fixes it, though. I can probably stick this into rc.resume.

It's only a 2GHz Pentium-M, though. The new T60s are Core Duo systems,
but we don't have one, yet. One was just ordered last week, so I hope to
get to play with one soon.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xcdroast problem

2006-02-27 Thread Kevin Oberman
 Date: Mon, 27 Feb 2006 16:02:33 -0500 (EST)
 From: [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 
 
 On Mon, 27 Feb 2006, Scott T. Hildreth wrote:
 
  You must have upgraded your system to 6.X, so you need to recompile
  xcdroast  against the new libraries.
 
'portupgrade -f xcdroast'
 
  ..will work for you.
 
 
 
  On Mon, 2006-02-27 at 11:12 -0500, [EMAIL PROTECTED] wrote:
   I have been using xcdroast to burn DVDs without a problem.  recently,
   however, I have been unable to burn DVDs.  I think I found the problem:
  
   # /usr/X11R6/lib/xcdroast-0.98/bin/cdrecord.prodvd -version
   /libexec/ld-elf.so.1: Shared object libcam.so.2 not found, required by
   cdrecord.prodvd
  
   So, it seems that libcam.so.2 is missing.  How can I install it?
  
   TIA
   ___
   [EMAIL PROTECTED] mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
   To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 Thanks for your reply, I tried the command as suggested.  However, still
 no dvd capabilities:
 
 # /usr/X11R6/lib/xcdroast-0.98/bin/cdrecord.prodvd -version
 /libexec/ld-elf.so.1: Shared object libcam.so.2 not found, required by
 cdrecord.prodvd
 
 Do you know what program installs libcam.so.2, maybe I need to portupgrade
 that as well?  How do you determine which program uses libcam.so.2?

libcam.so is a part of the base OS. 

libcam.so.2 was the version present in FreeBSD V4. V6 has
libcam.so.3. Its sources are in /usr/src/lib/libcam and the library
should be in /usr/lib/libcam.so. In V4, it's really there. In V6, it's
in /lib with a symlink from /usr/lib.

If you built xcdroast after the upgrade, it should be linked against
libcam.so.3, not .2. If you install compat5x and compat4x ports, you
should get a copy of the .2 version in /usr/local/lib/compat.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X.org 6.9 doesn't work with NVidia 7800 GTX (fwd)

2006-01-26 Thread Kevin Oberman
 From: [EMAIL PROTECTED] (Mike O'Brien)
 Date: Thu, 26 Jan 2006 07:44:43 -0800
 Sender: [EMAIL PROTECTED]
 
 I sent this to freebsd-x11 and didn't hear a peep back,
 so I'm widening the net.
 
 I'm running FreeBSD 6-STABLE, cvsupped as of last night.  I upgraded
 the ports collection to X.org 6.9 at the same time.  Under the X
 that ships with 6-RELEASE, in the ISO image, and under X.org 6.9,
 the symptoms are the same.
 
 The hardware is an Athlon 4400+ CPU on an Asus motherboard and an
 NVIDIA 7800 GTX video card.
 
 I'm not running the NVidia FreeBSD driver (yet), preferring to see
 the VESA work first before stirring the pot.  If I run X -probeonly,
 I get a message that module fbdev cannot be found.  This message
 is, however, almost unreadable because the probing of the video
 card causes the console contrast to drop almost to zero.  The room
 has to be almost pitch-black before the remaining dim text can be
 read.  I have to reboot the machine to make the console brightness
 and contrast normal again.

I have the same chipset and CPU on an MSI mobo and had exactly the same
problem. Right down to the very low contrast video. I think VESA is
broken with this chipset.

I installed nvidia-driver and nvidia-xconfig. It worked
immediately. nvidia-xconfig modifies the existing xorg.conf (or
XF85Config) to work with the nvidia driver.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X.org 6.9 doesn't work with NVidia 7800 GTX (fwd)

2006-01-26 Thread Kevin Oberman
 Date: Thu, 26 Jan 2006 13:35:55 -0800
 From: Mike O'Brien [EMAIL PROTECTED]
 
 Kevin Oberman wrote:
 
 From: [EMAIL PROTECTED] (Mike O'Brien)
 Date: Thu, 26 Jan 2006 07:44:43 -0800
 Sender: [EMAIL PROTECTED]
 If I run X -probeonly,
 I get a message that module fbdev cannot be found.
 
 I installed nvidia-driver and nvidia-xconfig. It worked
 immediately. nvidia-xconfig modifies the existing xorg.conf (or
 XF85Config) to work with the nvidia driver.
   
 
 Do I need to worry about module 'fbdev' not found?
 That doesn't sound good and makes me wonder if X.org
 might be misconfigured out of the box.

fbdev is not used. You should not have it listed in the Modules
section. Several other modules are gone as their functionality has been
rolled into the base system. I suspect fbdev is such a obsolete.

If in doubt, use Xorg -configure and let nvidia-xconfig put in the nVidia
specific config into the output.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dangerous situation with shutdown process

2005-07-14 Thread Kevin Oberman
 Date: Thu, 14 Jul 2005 20:38:15 +0200
 From: Anatoliy Dmytriyev [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 Hello, everybody!
 
 I have found unusual and dangerous situation with shutdown process:
 I did a copy of 200 GB data on the 870 GB partition (softupdates is 
 enabled) by cp command.
 It took a lot of time when I did umount for this partition exactly after 
 cp, but procedure finished correctly.
 In case, if I did “shutdown –h(r)”, also exactly after cp, the shutdown 
 procedure waited for “sync” (umounting of the file system) but sync 
 process was terminated by  timeout, and fsck checked and did correction 
 of the file system after boot.
 
 System 5.4-stable, RAM 4GB, processor P-IV 3GHz.
 
 How can I fix it on my system?

SCSI or ATA? If it's ATA, turn off write cache with (atacontrol(8) or
the sysctl.

The problem is that disks lie about whether they have actually written
data. If the power goes off before the data is in cache, it's lost.

I am not sure if write-cache can be turned off on SCSI, but SCSI drives
seem less likely to lie about when the data is actually flushed to the
drive. 
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: upgrading form 4.2 to 5.x

2004-07-17 Thread Kevin Oberman
 Date: Sat, 17 Jul 2004 17:14:22 -0400
 From: epilogue [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 On Sat, 17 Jul 2004 14:50:13 +0200
 Remko Lodder [EMAIL PROTECTED] wrote:
 
  Brent Bailey wrote:
  
   Hello,
   My company has been asked to help with the upgrade of several Freebsd
   systems that are pretty old. The customer is running a file server
   samba also running apache running FBSD 4.2,  he wants to upgrade using
   cvsup  the make buildworld procedure to upgrade to 5.x. Im very
   familier with the make buildworld procedure however there have been
   significant changes between 4.2  5.x  so is this something that can be
   done without many problems ?
 
 hello brent,
 
 though i don't know anyone who has gone this route, i imagine it is
 possible.  the reason most people don't cvsup from 4.x to 5.x is because
 there is a fundamental change in the filesystem (details of which escape me
 now - check the release notes at freebsd.org).  by simply cvsupping, you
 will _not_ be able to take advantage of the new filesystem.
 
 if your customer insists upon 5.x, it would probably be best to prepare a
 full back-up then:
 
 a) take the machine down, make a fresh install of 5.x, then load back data.
 
 b) build and configure a parallel 5.x machine, load it with the backed-up
 data, then find a new use for the 4.x series machine.

I have gone this route a couple of times. It was an interesting exercise,
but not one I would recommend. It works, but things like the transition
from ufs to ufs2 and new threading libraries and LOTS more make it a
rough way to go. I think the advise to do a fresh install is the best
option if you go to 5, but I'd really recommend staying at 4.10 or
STABLE for now.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Reading from ATAPICAM DVD

2004-07-02 Thread Kevin Oberman
I am attempting to use DVD::RIP to rip a DVD (or a piece of one). It
tries to execute tcprobe -H 10 -i /dev/cd0c and fails with the error:
[fileinfo.c:118] file read error: Invalid argument
The code is (read(fdes, buf, bytes). (The value of bytes is 4.)

I also log a system error of:
dscheck(#cd/2): b_bcount 5 is not on a sector boundary (ssize 2048)

Is this an ATAPICAM or ATA issue or is it required that reads start at a
sector boundary? I assume that this code at least works on Linux systems
and I had always assumed that, even though the disk must start a
transfer at a sector boundary, the driver buffered the data to make it
appear as a byte stream. Maybe I'm confused.

Any suggestions on this are appreciated as I want to get a better idea
of what is happening before a report the problem.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: irq conflict laptop with 5.1-current

2003-10-23 Thread Kevin Oberman
 Date: Thu, 23 Oct 2003 13:45:28 +0200
 From: Ronald Klop [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 (Forwarding to -current; -questions and searching the net didn't give an 
 answer.)
 
 Hello,
 
 Running my laptop Compaq Armada 7400 with 5.1-CURRENT from about two days 
 ago.
 The OHCI (USB) is on IRQ 11 and the PCCARD/CARDBUS also.
 I now get a 'arp: unknown hardware address format (0x)' errors.
 The 0x can also be 0x2063 or oxfc00 or something else.
 I think it's an irq conflict, but don't know how to give the different 
 device other irq's.
 In 5.1-RELEASE it all worked ok.
 Any idea's? Is my idea about the irq conflict right or is it something 
 else?
 How van I solve this?

It's something else. On recent FreeBSD releases, both V4 and V5,
PCMCIA devices share the IRQ of the CardBus bridge. This is almost
fixed. You can use a sysctl to use the old ISA interrupts which are
not shared, but this is NOT a good idea.

Try 'vmstat -i' and notice that the various network cards and many
other PCI devices are not listed. Instead there is a 'mux' device
which is the shared interrupt. PCI devices may use either the shared
interrupt or a unique interrupt depending on how BIOS is configured,
but the PCMCIA devices (either PCcard or CardBus) have to use the same
IRQ as the bridge to which they are connected.

The probable cause is a memory conflict (as indicated by the
dmesg). This is being worked on, but, until it is fixed, you need to
specify a start address for the card's memory. It must be greater then
than the highest physical address of RAM and must not conflict with
that of other devices.

Add 'hw.cbb.start_memory=0x2000' to /boot/loader.conf and see if
that fixes it. If it does not, try other values. (If you have large
amounts of memory, you may need to start larger.)

You MAY also need to add
'hw.pci.allow_unsupported_io_range=1'. These need to be in
loader.conf. sysctl.conf will not work as it loads too late in the boot
sequence.

You also have some major ACPI issues that may be causing the
failure. If your system supports APM, try using that, instead. Or, at
least boot with ACPI disabled (hint.acpi.0.disabled=1 in
/boot/device.hints).

If you want to use APM, load the module in /boot/loader.conf and
enable it in /boot/device.hints.
--
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: A-DATA flash drive: Attempt to query device size failed

2003-08-06 Thread Kevin Oberman
 From: Igor B. Bykhalo [EMAIL PROTECTED]
 Date: Tue, 5 Aug 2003 14:18:50 +0400
 Sender: [EMAIL PROTECTED]
 
 I purchased the 256 MB A-DATA flash drive (USB 2.0 SpeedDrive),
 but the system can't query its size. Here is corresponding parts
 of system messages (boot -v):
 
 Aug  5 12:53:57 goshik /kernel: uhub1: A-DATA Technology Inc. USB Embedded Hub, 
 class 9/0, rev 2.00/0.01, addr 2
 Aug  5 12:53:58 goshik /kernel: uhub1: 1 port with 0 removable, self powered

Hmm. Looks like a hub as well as a storage device. I'm not too sure
what impact that might have.

 goshik# camcontrol inquiry da0
 pass0: A-DATA Flash 2.0 P1.0 Removable Direct Access SCSI-0 device
 pass0: Serial Number 
 pass0: 650KB/s transfers
 goshik# exit
 exit
 
  Script done on Tue Aug  5 13:42:17 2003
 
 I tried to add the following quirk to cam/scsi/scsi_da.c
 and rebuilt kernel, but nothing changed. (Actually,
 i tried also with only DA_Q_NO_6_BYTE, but this didn't help either)
 
 {
   /*
* A-DATA USB Flash 2.0 P1.0 SpeedDrive
*/
   {T_DIRECT, SIP_MEDIA_REMOVABLE, A-DATA, Flash Disk, *},
   /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
 }
 
 Can someone help me with this? I don't know what else
 to do...

I don't think the quirk is right. I'd try:
 {
   /*
* A-DATA USB Flash 2.0 P1.0 SpeedDrive
*/
   {T_DIRECT, SIP_MEDIA_REMOVABLE, A-DATA, Flas*, *},
   /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
 }

Also, you either need to append a comma to the close brace (if this is
inserted in the list of quirks) or append a comma to the prior entry
if you are placing this at the end of the quirks. (I suspect that you
did this, but it is not clear.)

I'm not too sure how many of the fixes in 5.0 have been MFC'ed to
STABLE. The 5.0 USB code has had a lot of work of late and most flash
drives just work, now. I imagine that most of these will get to STABLE
soon. The 10 byte command issue was just resolved in current last
week, so it should make it into STABLE in a couple of weeks unless
there is an issue with STABLE that I m not aware of.

If I missed something obvious, perhaps someone else can point it out.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dmesg showing wrong frequency (IBM T30)

2003-07-18 Thread Kevin Oberman
 Date: Fri, 18 Jul 2003 17:46:51 +0200
 From: Tobias Roth [EMAIL PROTECTED]
 
 On Fri, Jul 18, 2003 at 08:07:56AM -0700, Kevin Oberman wrote:
  Were you on AC or battery when you booted? 
  
  It seems that the T30 (and many other laptops from multiple vendors)
  does not change the CPU speed when APM/ACPI from FreeBSD tells it
  to. If I boot on battery, my system stays at 1.2 GHz and if I boot on
  AC power, the system runs 1.8 GHz. Changes to the power source made
  after it is up seem to have no effect.
 
 i was on AC all the time. i tried all combinations in the bios
 (speedstep on/off, max performance setting, ...), always the same.
 
 how do you detect what clockspeed your system runs at? did your dmesg
 ever show something close to 1.8GHz?
 
 also, windows is always detecting those 1.2GHz, which indicates for me
 that the problem is not within the freebsd apm/acpi implementation.
 i am compiling -current at the moment to see what acpi is reporting.
 
 but then, the system is going back to ibm anyway because the second ram
 slot dies (a known problem). this will possibly force them to switch
 the mainboard, and i will then see whether the new cpu gets detected
 differently (and maybe even my ovberheating problems will be solved).

I watch my CPU speed with the gkx86info plug-in for gkrellm. At this
time the plug-in in ports is for gnome1.4, but there is a gnome2
release available that I built and use on FreeBSD. (I really should
turn it into a port and submit it.)
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dmesg showing wrong frequency (IBM T30)

2003-07-18 Thread Kevin Oberman
 Date: Fri, 18 Jul 2003 19:24:20 +0200
 From: Tobias Roth [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 On Fri, Jul 18, 2003 at 06:22:27PM +0200, Poul-Henning Kamp wrote:
  What's wrong here is that the BIOS/ACPI firmware in your laptop
  runs your CPU at a reduced rate in order to make the battery last
  longer.
 
 it should NOT do this. I set the bios to disable speedstep and to
 'max performance' while on AC. also, i run apm and not acpi.
 
  It can also be that the case that the cooling solution (ie: fans,
  fins etc) does not work well enough and the ACPI code has slowed
  down the CPU in order to not melt anything [*].
 
 that was also one of my suspicions. the fan is brand new, ibm replaced
 it after i sent the unit in because of heat problems.
 
 could it be that the design of this laptop is bad, when it comes to
 heat conduction?
 
 shouldn't i get the full 1.8GHz when running on AC, and be able to
 do a buildworld without any sig11 on a hot summer day (~28 deg c room
 temp). those sig11 are just another thing that may be connected to my
 low cpu freq...

I have not had any issue running a buildworld on my T30 on a hot
day. (It hit 105 at my house yesterday and 103 at Lawrence Livermore
about 3 miles away.)

It runs at 1.8 GHz and takes under an hour to build CURRENT,
about 35% longer than it took with STABLE. No 11s sighted. It does get
HOT..too hot to really be a laptop unless you have well insulated
pants, but within spec for temperature. (At least with ACPI running
so that I can monitor the temperature.) The exhaust vent is blowing a
strong stream of very warm air.

I do see messages that the system is switching between performance and
economy mode when I switch from AC to battery, but the CPU pays no
attention and the speed stays unchanged under both APM and ACPI. :-(

It sounds like something is very wrong with your T30.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 4.4-REL to FreeBSD 4.8-STABLE upgrade problem.

2003-07-08 Thread Kevin Oberman
 Date: Mon, 07 Jul 2003 17:07:39 -0500
 From: Dustin Puryear [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 At 02:58 PM 7/7/2003 -0700, Freddie Cash wrote:
 On July 7, 2003 02:39 pm, you wrote:
   At 02:27 PM 7/7/2003 -0700, Freddie Cash wrote:
   On July 7, 2003 02:19 pm, you wrote:
   There is a blurb near the top that mentions running pwd_mkdb with
the -p option to rebuild the master password file.  I think this is
what is confusing you.
 
   My manpage must be outdated or just wrong then:
 
   # man mergemaster | grep -- -p
 the -p option to rebuild your password databases and recreate
 
 Read the begining of that sentence.  I'll bet it is talking about
 pwd_mkdb(8) and not mergemaster.
 
 Well crap. Still, my version doesn't mention anything about Pre-buildworld 
 mode so the pie on my face is at least tasty.
 
 Since you have already updated your source tree, read
 /usr/src/usr.sbin/mergemaster/mergemaster.8  That is the man page for
 /usr/src/usr.sbin/mergemaster/mergemaster.sh  That will explain
 everything, including when to run it using the -p parameter.  That
 would be pre-buildworld.
 
 Will do.
 
   Notice that there is no mention of mergemaster until step 6.
 
 The Makefile reads the same on my 4.8 system.  However, that should
 probably be updated, as every time I've seen a mention of mergemaster
 -p on any of the mailing lists, it has always occured before the
 buildworld.  (And that's the advice I've been following since the -p
 parameter was introduced.)
 
 Yes, updating the docs would be very helpful in situations.. oh, I don't 
 know.. like this one.

If you look at the source code (or were here when the -p option was
added to mergemaster, you would see that 'mergemaster -p' really just
runs mergemaster on a couple of files which could block installworld
from working if not already updated. At this time (in either STABLE or
CURRENT) it makes absolutely no difference whether it is run before or
after build of the world and kernel. It must be run before
installworld, although it only makes a difference on limited occasions.
(4.4 to 4.8 would be such a case.)

FWIW, the only files currently merged when the -p option is present
are the group and password files, but this list is subject to change
if needed. It is intended to be run before buildworld so that other
files can be included down the road if they are needed. But, at this
time, running it before installworld is all that is required.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Potentially **DANGEROUS** bug in 5.0 - 5.1

2003-06-10 Thread Kevin Oberman
What you are seeing is probably the most literal demonstration of bit
rot I can imagine. It sounds like the effect one gets from turning off
the drive to the LCD panel, but leaving the back-light on. It's very
odd looking.

Most likely something in XFree86 is telling the video card to do
something it does not like and, rather than drive the screen with
potentially damaging signals, it just turns off.

When you went from 4.8 to 5, did you hange versions of XFree86? Is the
XF86Config file changed? Sounds like something must have changed in
the XFree86 stuff that really upset the graphics system to the point it
simply turned off.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Any word of support for ICH3 (Agre) DSP modem

2003-03-03 Thread Kevin Oberman
Has any progress been made on supporting the newer Agre DSP based
Winmodems used in the ICH3 chips? 

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Max. file size for msdos partition

2003-02-09 Thread Kevin Oberman
How large a file can I create on a FAT32 msdos partition with FreeBSD Stable?

I would have expected to be able to create a 4GB-2 file, but seem to be 
limited to 2GB-1. Is there such a limit and, if not, any idea why I am unable 
to create a really large file? Is this a bug?

I did make a 4GB file by appending 2GB-1 onto a 2GB-1 file, but I can't seem 
to do much with this file.

Thanks,
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: ATA errors

2002-12-06 Thread Kevin Oberman
 Date: Fri, 06 Dec 2002 09:34:09 -0800
 From: Darren Pilgrim [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 Thomas T. Veldhouse wrote:
  Can anybody explain what has happened here?  My machine seems to be
  functioning normally.
  
  ad0: READ command timeout tag=0 serv=0 - resetting
  ata0: resetting devices .. ata0-slave: ATA identify retries exceeded
  done
 
 This is almost always the sign of a bad cable, but it can also be the 
 logic board on the drive dying (though much rarer).  Check your cables. 
   Better yet, go to your local hardware store and buy a new ATA/100-spec 
 cable, flat, not rounded, preferably with pull-loops.

One other common source is a damaged CD. Hit that one twice last
weekend and I was convinced that something was broken. Then I tried
reading on a Windows system and it failed, too. :-(

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: acd0: MODE_SENSE_BIG

2002-10-17 Thread Kevin Oberman
 From: Markku Kokko [EMAIL PROTECTED]
 Date: 17 Oct 2002 20:27:27 +0200
 Sender: [EMAIL PROTECTED]
 
 Hi everyone!
 
 I have a rather annoying trouble here.
 
 I can not mount any CD's at all, the machine just hangs.
 Hard reset is the only solution I've found so far.
 As you can see from my dmesg it gives some errors at the end.
 
 I saw somewhere about a bug in the acd driver, but that seems to be when
 you mount a drive and it gives the acd0: MODE_SENSE_BIG command timeout
 - resetting error.
 But this is at boot time already, no CD in the drive.
 This is the only device on that IDE controller.

I'm pretty sure that there is no reliable fix for this on 4.6.2. The
problem was not (hopefully) finally fixed until about a month ago. If
you upgrade to 4.7-Release or -Stable, it SHOULD be better.

Alternatively you might well get by with updating the drivers from
cvs. Be sure to get those from the stable branch, RELENG_4. Get all of
the files there that have been  updated in 2 months or less and odds
are pretty good. But this is always a bit risky as some dependencies
may have changed between 4.6.2 and now. It's probably easier to go to
4.7.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Linux emulation: acd0a is not a cooked ioctl CDROM

2002-10-09 Thread Kevin Oberman

 From: Lucky Green [EMAIL PROTECTED]
 Date: Tue, 8 Oct 2002 17:46:44 -0700
 Sender: [EMAIL PROTECTED]
 
 Nick wrote:
   Checking /dev/cdrom for cdrom...
   Testing /dev/cdrom for cooked ioctl() interface
   /dev/acd0a is not a cooked ioctl CDROM.
   Testing /dev/cdrom for SCSI interface
   /dev/cdrom is not a SCSI device
  
  That doesn't look quite right; CDROM devices are usually 
  accessed as /dev/acd0c in FreeBSD.
  
  Perhaps double check to see where the /dev/cdroma symlink points to.
 
 I have been able to rip from /dev/cdrom linking to /dev/acd0a using
 cdda2wav without a problem. I just changed /dev/cdrom to link to
 /dev/acd0c and am getting the same error.

This is a different problem. You should re-make the acd devices. This
is a result of changes to the ATA code that changed the minor mode of
the 'c' device inode from 2 to 0. Just:
cd /dev
rm acd0*
./MAKEDEV all

Then acd0c (and acd1c if you have two CDs) will work. This happens if
you don't run mergemaster or did not choose the option to re-make your
devices after running it when the change in MAKEDEV took place.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Linux emulation: acd0a is not a cooked ioctl CDROM

2002-10-09 Thread Kevin Oberman

 From: Lucky Green [EMAIL PROTECTED]
 Date: Tue, 8 Oct 2002 20:35:03 -0700
 Sender: [EMAIL PROTECTED]
 
 Lowell wrote:
  Lucky Green [EMAIL PROTECTED] writes:
  
   Nick wrote:
 Checking /dev/cdrom for cdrom...
 Testing /dev/cdrom for cooked ioctl() interface
 /dev/acd0a is not a cooked ioctl CDROM.
 Testing /dev/cdrom for SCSI interface
 /dev/cdrom is not a SCSI device

That doesn't look quite right; CDROM devices are usually
accessed as /dev/acd0c in FreeBSD.
  
  Only if they're ATAPI drives.  Which this poster said he had. 
   He also said he was using cdparanoia, which is, as the error 
  message said, specific to SCSI drives.  [On Linux, ATAPI 
  drives are supported by making them look like SCSI drives, so 
  it sort of works with cdparanoia, but on FreeBSD ATAPI drives 
  are supported directly.]
 
 Do you believe that the ATAPI/CAM patches at
 http://www.cuivre.fr.eu.org/~thomas/atapicam/ might make cdparanoia
 compatible with an ATAPI drive on FreeBSD? I guess that would mean the
 patches would have to provide the cooked ioctl that cdparanoia wants.
 
 I would be willing to install -CURRENT if that will make cdparanoia
 work.

You probably don't need to do this. -CURRENT is a BIG change and still
likely less stable than desired. 

The ATAPI/CAM patches are slated to be MFCed as soon as 4.7 is
released and the RELENG_4 branch is re-opened. The tree should be
re-opened this week unless an unexpected problem shows up, so I would
expect -STABLE to have ATAPI/COM support next week.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: startx crashes for non-root users on Free86 4.2.0/FreeBSD 4.6

2002-10-09 Thread Kevin Oberman

 From: Lowell Gilbert [EMAIL PROTECTED]
 Date: 08 Oct 2002 21:34:44 -0400
 Sender: [EMAIL PROTECTED]
 
 Cherie  John Carri [EMAIL PROTECTED] writes:
 
  even the most reputable Linux distros. My experience with my FreeBSD 4.6
  install has therefore been an unpleasant surprise. Has this been a
  common problem with this version, or is it something about my hardware?
 
 Neither, really.  It's a new security feature.  It's covered in the FAQ.

New? I think that it's been there ever since XFree86 V4 came to
FreeBSD. Of course, XFree86 V4 just became the default at 4.6, I
guess, but many people have been running it for months to support any
newer video cards.

That said, it is confusing and upsetting when this hits the first
time. And more so when you realize that you must re-install wrapper
every time you re-build your X server. But the security problems of
living without the wrapper are simply unacceptable.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Ping to broadcast ok from subnet, not ok otherwise

2002-10-09 Thread Kevin Oberman

 Date: Wed, 9 Oct 2002 15:41:21 -0600 (MDT)
 From: Nick Rogness [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 On Wed, 9 Oct 2002, TheGlenMann wrote:
 
  From the deft fingers of Nick Rogness...
   On Wed, 9 Oct 2002, TheGlenMann wrote:
  
   Hi all-
  
   (Is this list working right? - I'm getting lots of wierd stuff in the
   digests...but anyway...)
  
   Other attempts to find the answer to this have failed, hopefully this
   isn't too off-topic.
  
   We have several subnets connected via Frame Relay. Call them 10.10.1,
   10.10.2, 10.10.3, etc. On each, the gateway is the 254 address, e.g.,
   10.10.1.254.
  
   Sitting at a 10.10.1.n machine, I can ping the gateway 10.10.x.254 on
   every subnet. However, a ping to the broadcast address as
 ping -c1 10.10.x.255
   fails on some of the subnets (from outside that subnet). From within
   the subnet, the ping to the broadcast succeeds everywhere. Pings to
   known hosts (and 10.10.x.254) succeed always from everywhere.
  
   So, my question is, why would I be able to successfully ping to the
   broadcast address from within a subnet but not from outside the
   subnet, but only in certain cases? We have a mix of windows, FreeBSD,
   router, and other machines on each subnet. (I'm led to ask all this
   since where the broadcast doesn't work from outside the subnet,
   neither does DHCP, which is proving to be a real problem!)
  
 Do you have Cisco routers connecting your frame's together?
  
 
 
  We have a Cisco router for the T1 to the internet, but the frame routers
  are Motorola/Vanguard 320 with a Vanguard 6520 at our main location.
  I've looked at the settings on the 320's, but with no luck (I cannot
  access the 6520 at all - I'm locked out).
 
   The reason I asked is because cisco's 'no ip directed-broadcast'
   would be dropping these packets.  My guess is that the Vanguard is
   doing the same.  This was mentioned in a another email.
 
 
  I've was told by our vendor that Well, DHCP is known to 'just stop
  working' on the 320's...you need an expensive software upgrade. Not
  acceptable, since nothing changed. Vanguard (who bought the Motorola
  Vanguard equipment line) would not even think about the question for
  less than $600.
 
   If you are not getting DHCP requests through then you need to be
   running some sort of DHCP relay or rely on the router to forward
   these broadcast requests to your DHCP servers (which actually turn
   the broadcast into a unicast and forward it).
 
   Also, some OS's do not respond to directed broadcasts.

Responding to directed broadcasts by an end node is optional and some
don't. No router should ever forward directed broadcasts unless the
owner of the router deliberately turns on this (mis)feature. 

The older RFC (1122?) mandated that routers could turn it off but had
to default to forwarding. This was changed after SMURF attacks became
popular to MUST default to not forwarding. All routers I have used
recently do this correctly. (Cisco, Juniper, Foundry).

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: portupgrade problem

2002-10-08 Thread Kevin Oberman

 From: Tom Carrick [EMAIL PROTECTED]
 Date: 08 Oct 2002 12:56:36 +0100
 Sender: [EMAIL PROTECTED]
 
 That worked great, thanks. Can you give me some explanation on why (and
 how) this happens, and in what way it messes up?

When portupgrade is editing/modifying the ports database (not the
package database), it is subject to leaving the DB in a corrupt
condition if it is interrupted during the update. This includes a
crash.

portsdb -u is smart in that it check timestamps to see if a port has
changed since the db was last updated and, after corruption of this
sort, it thinks that the DB is current and does nothing. -f says to
force a update of the DB regardless of the timestamp, so that fixes
this sort of thing.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: /dev/urandom is randomly cool

2002-10-08 Thread Kevin Oberman

 Date: Tue, 8 Oct 2002 00:30:27 -0400 (EDT)
 From: Peter Leftwich [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 On Mon, 7 Oct 2002, Oliver Fromme wrote:
  Peter Leftwich [EMAIL PROTECTED] wrote:
On Sun, 6 Oct 2002, Fernando Gleiser wrote:
 On Sun, 6 Oct 2002, Mikko Ty=F6l=E4j=E4rvi wrote:
 
  In this particular case, you can use head instead of dd:
  tr -cd a-zA-Z0-9  /dev/urandom | head -c 8
 
 Thanks for that!  I was trying `cut -c` and didn't realize head had that
 flag.  Now I can generate 8 characters:
 
 # tr -cd a-zA-Z0-9  /dev/urandom | head -c 8 ; echo 
 0tXx3p3m
 
   ..and random phone numbers :)
 
 # tr -cd 0-9  /dev/urandom | head -c 10 ; echo 
 5031594488
 
 Why is this an entropy pool and not an entropy ocean?  Is there a way to
 cat /dev/dsp or analyze my soundcard's mic-in and sample randomness?

Just how random is your sound card input? That is very dependent on
details of the A-D conversion and it may be FAR from really
random. The system is, justifiably paranoid!

If you add some devices to the entropy generator, you will get an
entropy ocean! I recommend the keyboard and mouse for a
workstation. The network interface is USUALLY a good one. The disk
interface is possible, but can to be less random than is ideal. Clocks
are a bad idea. :-)

Use vmstat -i to get a list of interrupt sources on your system and
use rndcontrol to add them to the entropy engine.

# vmstat -i
interrupt   total   rate
ata0 irq143240348 10
ata1 irq15  4  0
mux irq11 1342389  4
pcm0 irq10   3401  0
fdc0 irq6   2  0
atkbd0 irq1 58469  0
psm0 irq12 872780  2
sio0 irq4  441098  1
clk irq0 31225225 99
rtc irq8 39970907128
Total77154623247

# rndcontrol -s 11 -s 1 -s 12
rndcontrol: setting irq 1
rndcontrol: setting irq 11
rndcontrol: setting irq 12
rndcontrol: interrupts in use: 1 11 12

This is a pretty good way to get some significant data into the
system. the mouse/keyboard are always the best choices. The network is
normally pretty good, although some activity is pretty regular, but
not to the degree that should impact entropy.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: floppy disk

2002-10-08 Thread Kevin Oberman

 Date: Mon, 07 Oct 2002 21:09:58 +0200 (CEST)
 From: [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 
 # mount /dev/fd0c /drives/fd
 grep: /etc/vfstab: No such file or directory
 grep: /etc/vfstab: No such file or directory
 mount: /dev/fd0c: Device not configured
 
 
 *** mount: /dev/fd0c: Device not configured ***
 
 
 hi, if the order mount means that the device is not
 configured,it has to be configured, isn't it?? so, how it has
 to be done?

FreeBSD does not have /etc/vfstab. It is a System V UNIX thing. If
mount is looking for it, something is badly awry.

The use of grep is also disturbing. mount(8) should not call grep.

Try alias mount and which mount. I suspect mount is executing some
shell script written for some other Unix system that tries to do
something clever by pre-parsing the vfstab file. Of course, this is
useless on FreeBSD. The alias command should return nothing and the
which command should return /sbin/mount.

The other very real possibility is that your system has been hacked
and the mount command has been subverted.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: /dev/urandom is randomly cool

2002-10-08 Thread Kevin Oberman

 Date: Tue, 8 Oct 2002 23:22:19 +0300
 From: Petri Riihikallio [EMAIL PROTECTED]
 
 Use vmstat -i to get a list of interrupt sources on your system and
 use rndcontrol to add them to the entropy engine.
 
 This is very interesting. I have just guessed my entropy interrupts.
 Thanks for the tip!
 
 # vmstat -i
 interrupt   total   rate
 ata0 irq143240348 10
 ata1 irq15  4  0
 mux irq11 1342389  4
 pcm0 irq10   3401  0
 fdc0 irq6   2  0
 atkbd0 irq1 58469  0
 psm0 irq12 872780  2
 sio0 irq4  441098  1
 clk irq0 31225225 99
 rtc irq8 39970907128
 Total77154623247
 
 ... but what does the 'mux' stand for? My laptop shows it, too. From 
 the context I guess it is network activity, but there is no such 
 device or kernel option. The NICs don't show up as themselves. man 
 vmstat didn't tell.

mux is the device name given to all devices using the shared PCI
interrupt. On most laptops all PCMCIA cards as well as the PCMCIA
controller(s) and USB controllers use a single interrupt (unless this
is disabled by sysctl). So this device covers anything you plug into a
PCMCIA slot and anything in a mini-PCI slot on most laptops or the PCI
on most desktops. You can usually track down what uses it by scanning
the dmesg output.

On my Dell desktop I see the graphics card, the Ethernet, and one USB
all use IRQ 11 and are included in the mux device.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Plug and Play USB?

2002-10-07 Thread Kevin Oberman

I there a way to access a umass device that is not plugged into the USB
until the system is up? I tried camcontrol and had no luck. It claims
that no devices were found. 

If the device (a 128 MB flash disk) is plugged in at boot time
everything works fine, but I don't want to always have it plugged in
when I boot up.

Thanks,

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Proper way to upgrade packaes from ports

2002-10-07 Thread Kevin Oberman

 Date: Mon, 07 Oct 2002 14:49:23 -0500
 From: Jack L. Stone [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 At 12:21 PM 10.7.2002 -0700, John Kozubik wrote:
 
 Rus,
 
 Please take a look at /usr/ports/sysutils/portupgrade, as it is the
 appropriate tool for these sort of upgrades.
 
 Circumstantial evidence over the years has led me to believe that most
 ports will actually successfully and without issue overwrite their
 previous iterations that were also installed via the ports tree (lynx,
 wget, things like that).
 
 -
 John Kozubik - [EMAIL PROTECTED] - http://www.kozubik.com
 
 

 If you don't mind first deinstalling the old port, then a simple way is to:
 # pkg_delete foo_1
 ...then cd /usr/ports/foo_2:
 #make install clean
 
 You are now up to date.


This ignores dependencies. If I upgrade some port but don't get the
dependencies as well, things can break. portupgrade was designed to
handle these.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Proper way to upgrade packaes from ports

2002-10-07 Thread Kevin Oberman

 Date: Mon, 07 Oct 2002 17:23:40 -0400
 From: Chris Snyder [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 Kent Stewart wrote:
 
I have usually done a pkg_version -c and know what needs to be updated. 
 
 I use the pkg_version -c method as well-- it seems so much simpler than 
 portupgrade, but am I missing something and/or running the risk of 
 breaking things?
 
 FWIW I think that keeping your ports/packages up-to-date could be 
 covered better in the Handbook, considering how important it is in terms 
 of security. There's no mention of either portupgrade or pkg_version in 
 the ports/packages coverage.

The -c option to pkg_version is NOT safe. The message it puts out
makes this clear. I think Bruce said that he was planning on pulling it
once portupgrade stabilized because it was just too dangerous.

It has no intelligence on the dependencies and does not always do
things in the proper order. To do this properly you need to completely
graph all dependencies and their versions and update from the bottom
of the graph. I think it was Bruce's comments on this that led knu to
write portupgrade.

I'm sure that portupgrade would be in the base system except for the
dependency on ruby, just as cvsup would if not for the Mobula III
requirement. But both are nearly essential to maintaining a robust
system.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: portupgrade freetype2 problem

2002-10-07 Thread Kevin Oberman

 From: Chip Wiegand [EMAIL PROTECTED]
 Date: 07 Oct 2002 16:01:35 -0700
 Sender: [EMAIL PROTECTED]
 
 I am trying to use portupgrade to upgrade freetype2 but am getting this
 error:
 
 chip# portupgrade freetype2
 [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 214
 packages found (-0 +1) . done]
 ---  Skipping 'print/freetype2' (freetype2-2.1.1) which has already
 been ignored
 ** The following packages were not installed or upgraded (*:skipped /
 !:failed)
 * print/freetype2 (freetype2-2.1.1)
 
 What do I have to do to fix this?

Try portversion -v | grep freetype2

I suspect that two versions are installed. You can fix this in two
ways. (The first is really a work-around.)

1. Run pkgdb -F and delete the old port when asked. This only deleted
   the port from the database. It does not delete any files.

2. pkg_delete -f freetype2-\*
   portinstall freetype2

The second method insures that everything is completely clean while
the former may leave some old cruft around. 

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Proper way to upgrade packaes from ports

2002-10-07 Thread Kevin Oberman

 From: Andrew Knapp [EMAIL PROTECTED]
 Date: Mon, 7 Oct 2002 18:18:22 -0400
 
 AFAIK, doesn't portupgrade come with another utility called portversion?
 I use portversion -r (for recursive) to figure out what packages I do
 need to upgrade. It gives a nice read-out of what to upgrade.

Yes, portversion is a part of portupgrade. It should do almost
anything pkg_version does except -c. I use portversion -vL= to check
on what needs updating. But I then usually do portupgrade -Rra which
will upgrade all ports that are out of date and do so in the correct
bottom-up order.

portupgrade also includes pkgtools which lets you establish routine
options you always use for installing a certain port. For example, the
make option to use the MGA driver for a Matrox card instead of the
XFree86 driver or to build Galeon with full mozilla. The file
/usr/local/etc/pkgtools.conf lets you stop automatic upgrade of some
ports and many other things to make keeping ports current quite easy.

The biggest down-side is the requirement that I run portsdb -Uu to
update the databases after a cvsup of the ports tree. This is a pretty
CPU intensive operation and can take a while on an older system.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: VIRUS in ISO images?

2002-10-06 Thread Kevin Oberman

 Date: Sat, 5 Oct 2002 00:58:24 +0200
 From: Hanspeter Roth [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
   On Oct 04 at 23:13, Olivier Boniteau spoke:
 
  I've taken a virus (bloodhound.mbr) in the following
  mirror:
 
 Where is the virus claimed to be located?
 
 I had an installation with the FreeBSD boot selector. And one 
 scanner (maybe norton 2 or 4) claimed there were a virus in the MBR.
 When I booted from another disk that scanner installation didn't
 complain about any virus...


Yes, this was a pet peeve of mine with Norton prior to V5. It
reported the MBR as infected with the bloodhound virus, but when you
looked up the virus at Symantec, it was simply something unexpected in
the MBR and the FreeBSD BootEasy MBR was not something Norton expected.

Norton stopped doing this when I went to V5 and I have not seen this
bogus warning since.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: burncd error

2002-10-04 Thread Kevin Oberman

 Date: Fri, 4 Oct 2002 22:49:45 +0200 (CEST)
 From: Marco Beishuizen [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 On Fri, 4 Oct 2002, the wise Oliver Fromme spoke, and said:
 
  Marco Beishuizen [EMAIL PROTECTED] wrote:
That did the trick. I wrote a file to the cd and fixate worked correctly.
At least I think it did, because when I want to mount the cd to look at
it, mount gives me an invalid argument error.
   
So my new problem is how to access a cd-rw with data on it.
 
  What kind of file did you write to the CD?  Of course, it
  has to be an image of a supported filesystem (usually an
  ISO9660 image), otherwise you wouldn't be able to mount it.
  You can only mount filesystems.
 
  To create an ISO9660 filesystem image, use mkisofs (from
  the ports collection).  Afterwards, use burncd to write
  that image to a CD-R or CD-RW.
 
  You can, of course, write an arbitrary file (a .tar file or
  whatever) to a CD, but then you can't mount it.  You can
  read it back with dd, though.
 
  Regards
 Oliver
 
 Yes, I wrote an arbitrary file to the cd. A .pdf file actually. I already
 thought the mount error had something to do with a missing filesystem or
 something like that.
 
 I want to use the cd-writer to make periodic backups of important files.
 The easiest thing to do would be to just copy the files with burncd,
 like I did with the .pdf file. But it looks that I have to do a bit more
 than that to use the cd-writer as a backup medium.
 
 I think I have to learn more about mkisofs and creating images etc. :-)

Under V5 we should have UDF support. If that gets finished, you will
have exactly this ability. Last I heard ti could only read but most of
the write code had been completed. Until then, only ISO 9660 is
supported on CDs. I suggest that you write this with the Rockridge
extensions to allow normal file names.

The command I use for this is:
mkisofs -allow-lower-case -allow-multidot -d -L -r -o ~/newcd.iso path
burncd -f /dev/acd0c blank
burncd -f -s 4 /dev/acd0c data ~/newcd.iso fixate

This should do the trick. I suspect that I may have a couple of
redundant options in the mkisofs line as -r might imply one or more of
the others. Please read the man page for mkisofs as -L may not be
appropriate.

The resulting CD should mount and look just like the original files on
the UFS disk.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: burncd error

2002-10-04 Thread Kevin Oberman

Sigh! Some days you just can't win. (Or type.)

I just read my own post and realized that I messed up the second
burncd command. the commands are:
mkisofs -allow-lower-case -allow-multidot -d -L -r -o ~/newcd.iso path
burncd -f /dev/acd0c blank
burncd -s 4 -f /dev/acd0c data ~/newcd.iso fixate
^^---Moved to the correct place!

TGIF!

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: burncd error

2002-10-04 Thread Kevin Oberman

 Date: Sat, 5 Oct 2002 00:29:48 +0200 (CEST)
 From: Marco Beishuizen [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 Thanks! It worked great. I have one remark though: the option
 -allow-lower-case wasn't recognised by mkisofs. Looking at the manpage
 it should be -allow-lowercase. :-) But this was of course one of those
 days...

I really should have done a cut and paste on the command or pulled in
my shell script that runs mkisofs, but it's on a different system and
it seemed easier to just type it in.
 
 Eventually, I didn't use the option -allow-lowercase, but the cd has no
 problems of using lowercase characters. All files I copied to the cd show
 up like the way they appear in FreeBSD.

I suspected that both -allow-lowercase and -allow-multidot were
implicit in -r, but I had never actually tried it.

 The remarkable thing was actually, that when I used the wrong option,
 mkisofs says it doesn't recognise the option, quits the program, and
 returns to the prompt in my xterm, but now my xterm shows up with
 unrecognisable characters (normally for me: root@hostname, now something
 like: %^(%^%(%^()_)_*).
 
 Did I hit a bug?

Could you have wound up using a different character set? If you do a
hard reset on the xterm, does it start working right? Do characters
echo correctly? I'll admit that I have never seen this.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: passwordless scp and cronjobs

2002-10-04 Thread Kevin Oberman

 Date: Fri, 04 Oct 2002 13:31:56 -0400
 From: Gerard Samuel [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 A few months ago, I had a cron job scp a file to another box within my
 lan.  It worked great and things were good.
 I dont remember why I turned it off, but Im trying to set it back up.
 Both boxes are running FBSD 4.6.2-Release.
 On the sending box -
 1.  ssh-keygen -t rsa  //Accept the defaults and leave the passphrase empty.
 2.  scp id_rsa.pub sys_dev@hivemind:  //SCP the public key over to the 
 recieving box to the user who is going to recieve the file from the cron 
 job.
 
 On the recieving box -
 1.  cp id_rsa.pub .ssh/authorized_keys2  // Copy the sender's public key 
 to .ssh/authorized_keys2
 
   From the sending box, I run my script using the -v option to scp to be 
 verbose.
 Here is the output of the script -
 
 Executing: program /usr/bin/ssh host hivemind, user sys_dev, command scp 
 -v -t .
 OpenSSH_3.4p1 FreeBSD-20020702, SSH protocols 1.5/2.0, OpenSSL 0x0090605f
 debug1: Reading configuration data /etc/ssh/ssh_config
 debug1: Applying options for *
 debug1: Rhosts Authentication disabled, originating port will not be 
 trusted.
 debug1: ssh_connect: needpriv 0
 debug1: Connecting to hivemind.trini0.org [192.168.0.2] port 22.
 debug1: Connection established.
 debug1: identity file /home/gsam/.ssh/identity type -1
 debug1: identity file /home/gsam/.ssh/id_rsa type 1
 debug1: identity file /home/gsam/.ssh/id_dsa type -1
 debug1: Remote protocol version 1.99, remote software version 
 OpenSSH_3.4p1 FreeBSD-20020702
 debug1: match: OpenSSH_3.4p1 FreeBSD-20020702 pat OpenSSH*
 debug1: Local version string SSH-1.5-OpenSSH_3.4p1 FreeBSD-20020702
 debug1: Waiting for server public key.
 debug1: Received server public key (768 bits) and host key (1024 bits).
 debug1: Host 'hivemind.trini0.org' is known and matches the RSA1 host key.
 debug1: Found key in /home/gsam/.ssh/known_hosts:1
 debug1: Encryption type: 3des
 debug1: Sent encrypted session key.
 debug1: cipher_init: set keylen (16 - 32)
 debug1: cipher_init: set keylen (16 - 32)
 debug1: Installing crc compensation attack detector.
 debug1: Received encrypted confirmation.
 debug1: Doing password authentication.
 [EMAIL PROTECTED]'s password:
 --
 
 Could someone point out to me where Im going wrong with this to have the 
 cron job complete successfully without entering a password.
 Thanks.

The most obvious thing is that you generated SSH V2 RSA keys, but the
connection in the example used SSH V1 and is only interested in V1 keys.

Check the Protocol line in $HOME/.ssh/config and/or
/etc/ssh/ssh_config on the client side and /etc/ssh/sshd_config on the
server side and make sure both use V2.

You can force SSH V2 with -oProtocol=2 on the command line according
to the man page. I have not tried this.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: passwordless scp and cronjobs

2002-10-04 Thread Kevin Oberman

 Date: Fri, 04 Oct 2002 15:48:56 -0400
 From: Gerard Samuel [EMAIL PROTECTED]
 
 I started the whole process again and added the SSH2 option to the 
 command line which now looks like this -
 scp -o 'Protocol=2' -v ~/temp/file.zip sys_dev@hivemind:

Good. This is now at least running V2 protocol.

 Towards the bottom you'll see its trying authentication methods, using 
 the public key as the first option.
 I would tend to believe if all were well, it shouldn't have to go past 
 that point.

This is absolutely correct. Unfortunately, the client lacks the
knowledge of why the publickey method was rejected. You can only tell
that the attempt failed.

I doubt that you will luck into the correct fix by shots at the config
file. Instead, get debug information from the server side. To do this
you will need root access to the server-side system.

On the server side:
% /usr/sbin/sshd -p 378 -d
This will start a new instance of the ssh daemon that will connect to
port 378. (If 378 is not available on your system, pick another port
512.) This instance will not fork a daemon and will print verbose
debug information.

Then add -P 378 to the scp on the client and try again. The daemon
debug information is usually enough to clarify what is failing.

Finally, I really get uncomfortable seeing un-encrypted private keys
being used. They are a significant vulnerability. I hope that the
account is in a jail or in some other way limited in access on the
destination system.

You might consider the use of .shosts and host authentication for
this. While there is a slightly greater possibility of spoofing, it is
probably safer than an open key that can get you to somewhere
vulnerable. 

Good luck.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

 debug1: send SSH2_MSG_SERVICE_REQUEST
 debug1: service_accept: ssh-userauth
 debug1: got SSH2_MSG_SERVICE_ACCEPT
 debug1: authentications that can continue: 
 publickey,password,keyboard-interactive
 debug1: next auth method to try is publickey
 debug1: try pubkey: /home/gsam/.ssh/id_rsa
This SHOULD have worked!
 debug1: authentications that can continue: 
 publickey,password,keyboard-interactive
 debug1: try privkey: /home/gsam/.ssh/id_dsa
 debug1: next auth method to try is keyboard-interactive
 Password:

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Q: continuing interrupted 'make buildworld'

2002-10-01 Thread Kevin Oberman

 Date: Tue, 1 Oct 2002 04:32:53 +0300
 From: Giorgos Keramidas [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 On 2002-09-30 17:31, John Mills [EMAIL PROTECTED] wrote:
  I would like to restart a 'make buildworld' without deleting or recreating
  any unnecesary files (i.e., after messing about in the source tree).
 
  How should I do this? (Is this the effect of 'make -DNOCLEAN buildworld'?)
 
 That should work.  It will rebuild a few things that you could
 probably avoid, but in general it works fine.

Try to interrupt the buildworld during a compile as the compiler will
not create the output file until the end of the operation and a
restart will re-run the interrupted compile.

Some other operations leave the system in an indeterminate state. For
example, when creating a library, the library is created and then
modules are added. IF the process is re-started, make(1) sees the
library with an updated time-stamp and goes on without loading the
remaining modules.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Copying directories contents

2002-10-01 Thread Kevin Oberman

 From: Beech Rintoul [EMAIL PROTECTED]
 Date: Tue, 1 Oct 2002 09:55:34 -0800
 Sender: [EMAIL PROTECTED]
 
 I'm need to take the contents including dotfiles from about 300 user 
 directories and move them into another set of identical directories on 
 another filesystem. Is there an easy script to do this? I dont want to 
 overwrite the contents of the target directories just add to them.
 Both filesystems are mounted on the source machine.

/usr/ports/net/rsync? It is vastly more efficient than copying
file-by-file or even than using rat(1) and copying the single
file. rsync(1) must be installed on both systems.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Character Devices vs. Block Devices

2002-10-01 Thread Kevin Oberman

 From: Weston M. Price [EMAIL PROTECTED]
 Date: Tue, 1 Oct 2002 15:19:59 +
 Sender: [EMAIL PROTECTED]
 
 Hello,

   A quick ls of my dev directory revealed that each one of my
 hard drives is considered a character device by the system. Example:
 
 crw-r-  2 root  operator  116, 0x00010002 Aug 19 16:09 /dev/ad0
 crw-r-  2 root  operator  116,   0 Aug 19 16:09 /dev/ad0a
 crw-r-  2 root  operator  116,   1 Aug 19 16:09 /dev/ad0b
 crw-r-  2 root  operator  116,   2 Aug 19 16:09 /dev/ad0c
 crw-r-  2 root  operator  116,   3 Aug 19 16:09 /dev/ad0d
 crw-r-  2 root  operator  116,   4 Aug 19 16:09 /dev/ad0e
 crw-r-  2 root  operator  116,   5 Aug 19 16:09 /dev/ad0f
 crw-r-  2 root  operator  116,   6 Aug 19 16:09 /dev/ad0g
 crw-r-  2 root  operator  116,   7 Aug 19 16:09 /dev/ad0h
 
 What I am confused about, aren't hard drives treated as block
 devices on most systems? What am I missing?

Nothing. I can't comment on most systems, but block devices were
eliminated from FreeBSD in V4.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Q: continuing interrupted 'make buildworld'

2002-10-01 Thread Kevin Oberman

 Date: Tue, 1 Oct 2002 17:03:31 -0400 (EDT)
 From: John Mills [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 Gary -
 
 On 1 Oct 2002, Gary W. Swearingen wrote:
 
  IIRC, when I've done make buildkernel (maybe buildworld) a second
  time (eg, to do benchmarks with two BIOS settings), the thing rebuilt
  the whole kernel again.  I've always wondered why.  I thought make 
  was supposed to use old files when possible.
 
 I suspect the target 'buildworld' has as a condition the target 'clean' or
 something similar. I started looking for the target definitions, but
 didn't find them.

Look in .usr/src/Makefile.inc1

It's actually rather more complicated that just having clean as a
dependency for buildworld/buildkernel. The idea is maximum safety and
building something with the complexity of the operating system
without knowledge of the state of EVERYTHING in the build is more
dangerous, si the default for building wither the kernel or the world
is to clean most everything up before starting.

Just some honest paranoia. It's really ugly to build a new OS and
discover that some stuff won't work. (Try living with a bad libc.) A
corrupt kernel is even worse.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: program to create partial invisable gifs

2002-10-01 Thread Kevin Oberman

 Date: Tue, 1 Oct 2002 01:11:50 -0400
 From: David Banning [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 Is there anything in the ports to create a gif image with invisable 
 edges?

While I'm not quite sure what you mean by invisable edges, but I'm
guessing you want a GIF with transparency. If so, ImageMagick can do
it, although the syntax can be tricky.

ImageMagick supports LOTS of APIs including Java, C, Perl, and
probably several others. (Of course, there is also command-line.) It
includes display tools for both Unix and Windows, but most only simple
operations are available from the display tools.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: HELP: telnet vs. security

2002-10-01 Thread Kevin Oberman

 Date: Tue, 01 Oct 2002 12:07:56 -0600
 From: Hal Lynch [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 I am running 4.4-RELEASE-p26.
 
 I am trying to telnet out to a CISCO router.  It looks as though
 my side is trying to set up some kind of kerberos authentication.
 See below.  How do I prevent this from happening?  The router
 doesn't have a clue.  I am not running kerberos.
 
 hal
 
 ##
   telnet some.cisco.router
 Trying some.ip.address...
 Connected to some.cisco.router.
 Escape character is '^]'.
 
 
 User Access Verification
 
 Password: Kerberos: No default realm defined for Kerberos!
 
 % Password:  timeout expired!

This is the normal operation. Telnet always tries to use Kerberos
authentication when the remote device supports it (which Cisco routers
do).

Have you considered reading the documentation? The FreeBSD team puts
considerable effort into keeping it up-to-date and complete so people
don't have to ask for help.
 -K  Specifies no automatic login to the remote system.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: system update

2002-10-01 Thread Kevin Oberman

 From: Toomas Aas [EMAIL PROTECTED]
 Date: Tue, 1 Oct 2002 20:03:28 +0300
 Sender: [EMAIL PROTECTED]
 
 Hi!
 
  the other question i have is what are the differnence between these two
  processes:
  config GENERIC
  cd ../../compile/GENERIC
  make depend; make; make install
 
 This is what you would do if you want to re-compile the generic kernel. 
 Since the generic kernel is already on your system, doing that doesn't 
 make much sense.
 
 If you need to customize your kernel, it is recommended that you copy 
 GENERIC to some other file, for instance CUSTOM, make changes to that 
 file and build new kernel from that instead of GENERIC.
 
  as oposed to a the build world process?
 
 The build world process rebuilds not only the kernel but the entire 
 operating system.

build world? make buildworld builds everything EXCEPT the kernel. I
suspect he means setting the current directory to /usr/src and doing a
make buildkernel.

If this is what was meant, building a new kernel through the use of
make(1) in /usr/src is the ONLY officially supported method. It should
always be used. 

On the other hand, manually running config and using the make in the
compile/KERNEL directory works fine and, assuming that you are only
changing the configuration and not updating any sources, works just as
well. I just find a single make kernel KERNCONF=KERNEL command
easier than the longer run of:
make
cd ../../compile/KERNEL
make depend
make
make install

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: xfree

2002-10-01 Thread Kevin Oberman

 From: Brian Henning [EMAIL PROTECTED]
 Date: Tue, 1 Oct 2002 15:15:51 -0500
 Sender: [EMAIL PROTECTED]
 
 Hello-
 i just installed XFree86-4.2 package and i am have problems finding the file
 XF86Setup script that does the graphic configuration of the mouse keyboard
 video card and monitor. can someone tell me where i can find it? or has the
 script changed to something else?
 thanks for the help,

You should be installing XFree86-4.2.1. It has several security fixes.

V4 of XFree86 no longer uses the XF86Setup program to generate the
configuration. The preferred way to generate simple configurations is
run the server with the -configure option. See 'man XFree86' for more
details. Then read 'man XF86Config' for documentation on the
configuration file details.

The file generated will be /etc/X11/XF86Config and may be edited for
more complex configurations such as multiple screens and non-default
color depths and resolutions.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: how to use 'dd' to create image of a hard drive?

2002-09-30 Thread Kevin Oberman

 Date: Mon, 30 Sep 2002 15:55:36 -0500
 From: Jack L. Stone [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 At 03:50 PM 9.30.2002 -0500, Pranav A. Desai wrote:
 
 Hi all!
 
  Can I use something like
 
 dd if=/dev/ad0 of=/dev/ad1
 
 to copy every thing from first drive to the second and be able to boot
 from the second drive? Do I need to specify block size ? The second drive
 doesnt have anything on it (filesystem or slices).
 
 Thanks
 
 -Pranav
 
 
 You would use this for IDE HDs:
 # dd if=/dev/ad0 of=/dev/ad1 bs=8192 #Change the bs switch to something
 that works best for you.
 
 Of importance is that ad1 be equal to or larger than ad0. If larger, then
 that larger portion will be unusable.

You can also use dd(1) on a slice:
dd bs=8192 if=/dev/ad0s1 of=/dev/ad2s2

Same size caveats apply. The output slice must fit and will be the
same size as the input slice. This is handy because you can copy one or
two slices to a smaller disk (as long as it has room for the slices)
and you can re-order slices.

I used to regularly backup my 12 GB drive to a 6 GB drive by copying
the first two slices, one Windows and one FreeBSD. Both were bootable
if I installed the disk in place of ad0. (Actually, it was bootable
from ad2, but required a stand alone boot to edit the fstab.)

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Audio IN to GnomeMeeting on FreeBSD

2002-09-27 Thread Kevin Oberman

I am trying to get GnomeMeeting to work properly ona FreeBSD 4.7RC
box. I have tried two different platforms, a Dell with ICH2 audio and
an IBM with Intel ICH3 sound. Both play sound just fine, but neither
seem to input and process audio from the mic input.

Both systems report about the same thing in /dev/sndstat:
pcm0: Intel 82801BA (ICH2) at io 0xd800, 0xdc40 irq 10 bufsz 16384 (1p/1r/0v 
channels duplex)
pcm0: Intel 82801CA (ICH3) at io 0x1c00, 0x18c0 irq 11 bufsz 16384 (1p/1r/0v 
channels duplex)

I am not at all experienced with audio drivers and how the capture
should work. I get no errors at all. Just no sound.

If I try to record sound with the Gnome sound recorder, I must kill
ESD. It then works, but I still get nothing into GnomeMeeting. :-( And
GnomeMeeting does not play the audio stream unless ESD is running.

Any ideas here?

Thanks,

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Unusual output from dmesg

2002-09-26 Thread Kevin Oberman

 From: Weston M. Price [EMAIL PROTECTED]
 Date: Thu, 26 Sep 2002 17:07:00 +
 Sender: [EMAIL PROTECTED]
 
 Hello,
   I was doing some checking today and found the following as a result of
 running dmesg:
 
 config di sn0
 No such device: sn0
 Invalid command or syntax.  Type `?' for help.
 config di lnc0
 No such device: lnc0
 Invalid command or syntax.  Type `?' for help.
 config di ie0
 No such device: ie0
 Invalid command or syntax.  Type `?' for help.
 config di fe0
 No such device: fe0
 Invalid command or syntax.  Type `?' for help.
 config di bt0
 No such device: bt0
 Invalid command or syntax.  Type `?' for help.
 config di aic0
 No such device: aic0
 Invalid command or syntax.  Type `?' for help.
 config di aha0
 No such device: aha0
 Invalid command or syntax.  Type `?' for help.
 config di adv0
 No such device: adv0
 Invalid command or syntax.  Type `?' for help.
 config q
 
 
 
 Can anyone tell me what is going on here? Thanks.

Well, almost certainly.

You installed FreeBSD on a system. You booted either the FreeBSD boot
floppy or the installation CD and went into the visual configuration
tool. You de-selected a bunch of things your system didn't have or need
to use for the install. You installed the system. You customized your
kernel and removed many devices not present or used on your
system. These include sn, lnc, ie, fe, bt, aic, aha, and adv.

The initial configuration from the floppy/CD created a system with a
/boot/kernel.conf that disabled all of these devices, but now that
these devices ar no longer present, they are errors.

To clean this up, edit /boot/kernel.conf and delete old entries. Don't
delete the terminating 'q'. Or, if you don't want anything in the
file, edit /boot/loader.conf and delete
'userconfig_script_load=YES'. I believe that this will cause the
system to not run kernel.conf, but I have never tried this.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: time off by 30 minutes

2002-09-20 Thread Kevin Oberman

 Date: Fri, 20 Sep 2002 23:50:56 +1000 (EST)
 From: Steven Goodwin [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 On Fri, 20 Sep 2002, Len Conrad wrote:
 
  
  
  Check your /etc/localtime is correct for your timezone.
  
  ln -s /usr/share/zoneinfo/America/ localtime
  
  where  is the correct location.
  
  rm /etc/localtime
  
  from /usr/share/zoneinfo/zone.tab:
  
  US  +415100-0873900 America/Chicago Central Time
  US  +450628-0873651 America/Menominee   Central Time - Michigan - 
  Wisconsin border
  US  +470659-1011757 America/North_Dakota/Center Central Time - 
  North Dakota - Oliver County
  
  I've tried rm old + ln new with all three of above, still 30 minutes late.
  
  Where else is this determined?
 
 I think the problem could be the -d (debug) option to ntpdate.  Try 
 
 ntpdate time.nist.gov
 
 as root and that should set your system clock to GMT.

I think that the one you want is:
ntpdate -b

That will force the system clock to reset even if it is off by more
than the maximum allowed step. It is normally used at boot time when
you want the time to be set correctly immediately since the existing
state of the clock is unknown.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Headless FreeBSD box - Serial Redirection Not Working

2002-09-19 Thread Kevin Oberman

 Date: Thu, 19 Sep 2002 12:39:08 -0400 (EDT)
 From: Jason Borkowsky [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 
 Greetings! I have FreeBSD 4.6.2-RELEASE running on a rackmount chassis, and
 I want to convert it to a headless box, with all console output redirected
 to the serial port. I have followed the directions in the FreeBSD handbook
 as follows:
 
 In my kernel, I have the flag 0x10 set on serial port 1 to make it a
 console:
 
 device  sio0at isa? port IO_COM1 flags 0x10 irq 4
 
 
 In my /boot.config file, I have the -P option set to probe for keyboard on
 booting, and then redirect the console appropriately.
 
 Now when I go to reboot the machine (with the keyboard removed), I see the
 following on my dumb terminal on the serial port
 
 /boot.config: -P
 Keyboard: no
 
 I then get the message saying Press [ENTER] to boot kernel or any other key
 to enter single user mode. I press enter, then I see:
 
 Booting kernel...
 
 I then do not get any more display on the serial port, and there is no
 display on the monitor, either. However, the box boots fine and I can get
 into it via telnet. The problem is I lost my console display on both the
 serial port and the monitor. Any idea why it stopped displaying to the
 serial port after leaving the boot loader and starting to boot the kernel?

There are at least a couple of ways to skin this cat, but I do this:
1. Set the console flag in the kernel:
device  sio0at isa? port IO_COM1 flags 0x30 irq 4

2. Set the boot.config to use loader:

# cat /boot.config 
0:da(0,a)/boot/loader

This will boot using the serial port as console. It will NOT use the
internal display device. No probe or anything like that. But it will
boot the loader, so you will have the countdown to hit a space and
enter commands or boot single-user easily.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: recovering ufs after fat games

2002-09-18 Thread Kevin Oberman

 Date: Tue, 17 Sep 2002 21:34:23 -0400
 From: Daemon [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
   I'm having the same problem ... followed the instructions at
   
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/install.html#WIN95-DAMAGED-BOOT-MANAGER
   and did Fixit# fdisk -B -b /boot/boot0 ad0 from the 4.6 CD live
   filesystem.  Now on reboot I get
 F3 = DOS
 F4 = FREEBSD
 
   If I choose F4 I get nothing but a beep.  If I choose F3 it
   boots into windows.  Any suggestions?

Is this a big disk? If the FreeBSD partition starts at a cylinder 
1023, this is what you  will see.

If this is the case, try:
boot0cfg -o packet -B ad0 (or whatever your boot disk is).

This is a sticky problem as older systems will not work with the
packet option and CHS boot access on large disks will fail if the boot
partition is too far into the disk. Unless your hardware is quite old,
packet should work fine. (Of course, you may want added options like
-m, but that's up to you.)

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: CDROM drive(s) suddenly gone

2002-09-18 Thread Kevin Oberman

 From: Weston M. Price [EMAIL PROTECTED]
 Date: Wed, 18 Sep 2002 00:43:01 +
 Sender: [EMAIL PROTECTED]
 
 Excellentmusic cd's work fine. My confusion on the subject sorry. Thanks
 for the help everyone

But nobody actually gave the complete answer, so some people will
continue to have some problems.

You know:
Don't mount music CDs!

You don't know that the device characteristics for ATAPI devices
changed in 4.6 and you need to delete /dev/acd0* and 
cd /dev; ./MAKEDEV acd0

You can check this with 'ls -l /dev/acd*' If the minor modes for the
'c' partition ar not 0 for acd0c and 8 for acd1c, you need to re-make
the devices.

Once this is done, you will be able to use /dev/acd0c as intended.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: recovering ufs after fat games

2002-09-18 Thread Kevin Oberman

 Date: Wed, 18 Sep 2002 18:11:53 -0400
 From: Daemon [EMAIL PROTECTED]
 
 On Wed, 18 Sep 2002 14:13:15 -0700
 Kevin Oberman [EMAIL PROTECTED] wrote:
 
   It's on a Dell Deminsion 4300 ... barely a year old and has a Maxtor 7200 40Gig 
hard drive.  I also tried going to the ../tool directory on the Install cd and 
doing bootisnt.exe boot.bin in the DOS prompt but that didn't work either.  
   Looking at the partitions in Partition Magic, I can see both partitions Active 
but can't boot into FreeBSD.  Also, if I try to boot into FreeBSD using the PQBoot 
program is shows what was F3=DOS as F3=??? upon reboot.  I have to load the 
Partition Magic restore floppies in order to make the DOS partition Active again so 
I can at least boot into Windows.
 

This system will definitely support packet bootstrap. Did you try:
boot0cfg -B -o packet ad0

This should do the trick for you.

The other option is to use Partition Magic to move the partitions
around so that the FreeBSD partition is at the front of the disk.

Last thought: is the drive configured in BIOS as LBA? I don't think the
Dell BIOS even has an option to make the disk CHS, but I don't have a
Dell handy to check it out at the moment. Any disk over 2 GB should be
accesses as LBA.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Channelized Ethernets

2002-09-18 Thread Kevin Oberman

I'm sure I have seen how to channelize two physical Ethernets in
FreeBSD. I was thinking it was with netgraph, but I don't see anything
in the man pages about how to set it up.

Anyone know how to do this?

Thanks,

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: long pause when SSH'ing to FreeBSD server

2002-09-17 Thread Kevin Oberman

 Date: Tue, 17 Sep 2002 14:46:47 -0700 (PDT)
 From: Bsd Neophyte [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 
 this happens intermittantly.
 
 i don't know why, but when i connect to my FreeBSD box using putty, there
 is an extremely long pause for the following:
 
 1. the login prompt to come up
 2. the password prompt to come up after i type in the username
 3. the connection to be established after i enter the password
 
 can anyone let me know how i can aleviate this pause problem?

It's almost certainly a DNS problem. Make sure that both forward and
reverse DNS is working for the names/addresses of both systems.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: long pause when SSH'ing to FreeBSD server

2002-09-17 Thread Kevin Oberman

 Date: Tue, 17 Sep 2002 16:20:22 -0700 (PDT)
 From: Bsd Neophyte [EMAIL PROTECTED]
 
 
 --- Kevin Oberman [EMAIL PROTECTED] wrote:
   1. the login prompt to come up
   2. the password prompt to come up after i type in the username
   3. the connection to be established after i enter the password
   
   can anyone let me know how i can aleviate this pause problem?
  
  It's almost certainly a DNS problem. Make sure that both forward and
  reverse DNS is working for the names/addresses of both systems.
 
 i use the ip address though... and i'm not using any dns services on the
 FreeBSD box (i really don't know how to set it up to begin with) does this
 still make it a dns problem?

Yes. ssh ALWAYS tries to resolve the ip address of the remote system.

Try entering the address of the remote system into /etc/hosts.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Availability of DRI on Radeon Mobility M7

2002-07-23 Thread Kevin Oberman

I DRI available for ATI Radeons? If so, can anyone tell me what needs
to be loaded/configured to do it? Running -stable and the current
XFree86 Server port.

Thanks,

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message