Re: freebsd has problems with bios

2005-10-13 Thread Peter Clutton
 The bios has 4 modes auto, large, lba, chs in which to access the
 hard disk. I ttried all 4 modes and it  doesn't solve the problem.

No, i didn't say to try different bios modes. I said (which fdisk also
says) that you should:
1. Go into the bios, see what it reports as the CHS
2. Reboot  (i thought this part was a given to get back to Fdisk)
3. When you get up to the fdisk section, enter the CHS value given to
you by the bios
using the g key, and writing it manually.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


6.0-rc1 problems with aliased interface

2005-10-13 Thread Luciano Musacchio
Hi,
I've just migrated from 5.4 to 6.0-rc1 (to make wireless work through 
ndisgen... and it did :), but now I'm having a problem with dhcp. I'm 
googling now for some solution, the problem is (it seems not to be a problem, 
just a lot of /etc changes I will have to get used to):

I cannot have the same interface to take its data from the dhcp server AND at 
the same time to take an alias address, with 5.4 i had:

ifconfig_vr1=DHCP
ifconfig_vr1_alias0=inet 192.168.0.1/24

in /etc/rc.conf. I understand that we've changed dhclient, so i ran 
/etc/rc.d/netif restart and I get the same problem, dmesg -a says:

Oct 13 03:03:41 chiba dhclient[978]: connection closed
Oct 13 03:03:41 chiba dhclient[978]: exiting.

and then, I lose the configuration for the interface,

any help would be fine, i keep on reading anyway,

thanks ppl, you're the best
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portmanager

2005-10-13 Thread Igor Robul

RW wrote:




I'm probably missing something, because I can't see what the problem is.

crontab(5) says you can define environmental variables in a crontab; and the 
default system crontab already has a PATH variable pre-defined, although it 
doesn't include /usr/local/bin in the path.
 


But you may not wish export PATH with /usr/local/bin to all your cron jobs.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: help with shell script

2005-10-13 Thread Peter Matulis

--- Peter Matulis [EMAIL PROTECTED] wrote:

 
 --- Philip Hallstrom [EMAIL PROTECTED] wrote:
 
   1. This gives me the amount of space (kB) taken up by the 10 largest 
   ports:
  
   $ pkg_info -as | grep ^[0-9] | sort -gr | head -10 | cut -c 1-6
  
   2. Using one figure from above list I produce the details of the 
   corresponding port:
  
   $ pkg_info -as | grep -B3 240695
  
   Output:
   --
   Information for linux_base-8-8.0_6:
  
   Package Size:
   240695  (1K-blocks)
   --
  
   I would like the output of the script to be the above but for all ten 
   ports (~40 lines;
  insert
   a blank line between each?).  I know I need some sort of iteration but I 
   am rusty on
  scripting.
   Can anyone help?
  
  This should get you close... if you want only the top 10 just add more 
  pipes to the end with sort and head...
  
  
  #!/bin/sh
  
  newline='\
  '
  
  pkg_info -as | \
   tr '\n' ' ' | \
   sed -e 's/Package Size://g' \
   -e s/(1K-blocks)/$newline/g |\
   sed -e 's/^  *Information for //'
  
 
 What I need is the size as the first item (not the second) on each line.  
 Then I can use
 sort.

Allrighty, I employed some awk to get a good enough output:


#!/bin/sh

newline='\
'

pkg_info -as | \
 tr '\n' ' ' | \
 sed -e 's/Package Size://g' \
 -e s/(1K-blocks)/$newline/g | \
 tr ':' ' ' | \
 awk '{print$4,   ,$3}' | \
 sort -gr | \
 head -30


Thanks.






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Adding new pccard device entries to FreeBSD 6, how?

2005-10-13 Thread Nikolas Britton
Hello all,

I'm trying to get FreeBSD 6 working with my Prism 3 based SMC 2532W-B
wireless cards. I've added the device entries into the system but I
must be doing something wrong, it's still not working. The SMC2532W-B
cards are re-branded Zcom XI-330H (Prism 3) and XI-325H (Prism 2.5)
cards. I know for a fact that the SMC card works with FreeBSD 4.11, in
hostap mode, because I'm using one of them right now with the PLX PCI
to PCMCIA bridge controller that came with the old 3Com 3CRWE777A
wireless cards..

dmesg output:
cbb0: RF5C475 PCI-CardBus Bridge at device 2.0 on pci2
cardbus0: CardBus bus on cbb0
pccard0: 16-bit PCCard bus on cbb0
pccard0: unknown card (manufacturer=0xd601, product=0x0010,
function_type=6) at function 0
pccard0:CIS info: SMC, SMC2532W-B EliteConnect Wireless Adapter, ,

--

/sys/dev/pccard/pccarddevs:
The vendor id matches ELSA (0xd601) so I added an entry to the ELSA
products section:
product ELSA XI330_IEEE  0x0010 XI330 Wireless LAN

After that I added PCMCIA_CARD(ELSA, XI330_IEEE), to
/sys/dev/wi/if_wi_pccard.c

I also added to /etc/pccard.conf:
# SMC's SMC2532W-B EliteConnect Wireless Adapter
card SMC SMC2532W-B EliteConnect Wireless Adapter
config  auto wi ?
insert  /etc/pccard_ether $device start
remove  /etc/pccard_ether $device stop

I read something about running make -f Makefile.pccarddevs but when
I run it it can't find the makefile I need help, thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Geom Mirror/FS corruption problem

2005-10-13 Thread Barry Jeung
Well I managed to create the problem myself, but I'm going to need some help 
to fix it, if it can be fixed.


Have a i386 5.4 box with a geom mirror. Been running fine for a few months. 
Determined to ruin BSD's reputation for stability, I removed 'swapoff=yes' 
from rc.conf. A few reboots later, I install the dovecot port, and notice 
that even though I changed one of the config files, it's still reading the 
default settings. Played with that and rebooted a few more times. Noticed 
clamav and mysql weren't starting at boot anymore. Clamav was complaining 
about permissions on the log files and the definition databases. Checked 
permissions, everything looked ok. chown clamav:clamav and chmod 777 out of 
frustration and still nothing. make deinstall on the port and deleted all 
remnants. make install, same problem. Seems my mirror is out of sync or 
something. Ran fsck -f a few times, no complaints. Forced a rebuild of the 
mirror overnite. Still having the same issues. Is this fixable or is it 
hosed? I'm leaning towards the later =/. TIA 


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


Re: help with shell script

2005-10-13 Thread Parv
in message [EMAIL PROTECTED],
wrote Philip Hallstrom thusly...

 #!/bin/sh
 
 newline='\
 '
 
 pkg_info -as | \
 tr '\n' ' ' | \
 sed -e 's/Package Size://g' \
 -e s/(1K-blocks)/$newline/g |\
 sed -e 's/^  *Information for //'

Holy cow, i was going about it all wrong!  No wonder it was taking
me too long for this; i was parsing some things instead of removing
others.


  - Parv

-- 

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


Re: help with shell script

2005-10-13 Thread Parv
in message [EMAIL PROTECTED],
wrote Peter Matulis thusly...

Could your please wrap lines around 69 or so characters?

 What I need is the size as the first item (not the second) on each
 line.  Then I can use sort.

You can easily specify the column|key to sort on via -k flag ...

  { echo polka 1 ; echo dot 4; } \
  | sort -k2,2nr



  - Parv

-- 

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


Re: proxy server

2005-10-13 Thread Igor Robul

Efren Bravo wrote:


Hi,

I want to install a proxy server to manage these features: http cache,
content filtering (forbidden words, ActiveX, java, url. etc), users,
groups, ips' control access, time ranges to ie access.  
 
I want to hear some suggestions based on your experiences.  
 


You can try oops proxy server ( /usr/ports/www/oops ).
It works fine for me (more than 100 users)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd has problems with bios

2005-10-13 Thread Kamal R. Prasad
I was replying to both you and Andrew R. Andrew mentioned the hw may  
be unstable.
I did enter the same values provided by BIOS -but it doesn't solve  
the problem.

Most likely, the bios on my motherboard is not compaible with freebsd.

regards
-kamal

On 13-Oct-05, at 11:35 AM, Peter Clutton wrote:


The bios has 4 modes auto, large, lba, chs in which to access the
hard disk. I ttried all 4 modes and it  doesn't solve the problem.



No, i didn't say to try different bios modes. I said (which fdisk also
says) that you should:
1. Go into the bios, see what it reports as the CHS
2. Reboot  (i thought this part was a given to get back to Fdisk)
3. When you get up to the fdisk section, enter the CHS value given to
you by the bios
using the g key, and writing it manually.



Kamal R. Prasad
UNIX systems consultant
http://www.kamalprasad.com/
[EMAIL PROTECTED]



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


Re: FreeBSD 5.4-STABLE / 6.0 audio drivers for Intel 82801FB/FR/FW/FRW Intel High Deficition Audio Controller

2005-10-13 Thread Miles Keaton
 Looking for audio drivers for Intel 82801FB/FR/FW/FRW Intel High
 Deficition Audio Controller.

 There is no driver for High Definition sound controller. But you can use
 a program to get sound. It's called Open Sound System. It works most of
 the sound controllers. I am not able to use it for high definition.


Yeah - I checked with them.  Unfortunately they still don't support
this card for FreeBSD.  (As of October 2005)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Why is my DVD /dev/cd0 instead of /dev/acd0 after recompiling kernel?!?

2005-10-13 Thread Olaf Greve

Hi,

Well, yesterday the inevitable finally happened: I lost my 
'custom-kernel-compilation' virginity. :)


Indeed, when trying to burn a DVD using growisofs I quickly found out 
(tnx Google!) that I had to add the atapicam device to the kernel.


This was done based on what I read here:
http://www.freebsdforums.org/forums/showthread.php?t=152goto=nextnewest
http://lists.freebsd.org/pipermail/freebsd-questions/2003-November/026484.html

Now, similarly to what is described in those threads, on my box the DVD 
is now also solely accessible through /dev/cd0 instead of /dev/acd0 
(what it previously was).


Does anyone have any idea why this is?

Also: I just changed the entry for this device to cd0 in /etc/fstab such 
that the command mount /cdrom works again.


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


Re: FreeBSD 5.2.1-STABLE boot problem

2005-10-13 Thread Kris Kennaway
On Thu, Oct 13, 2005 at 08:50:19AM +0300, Sergey Khenkin wrote:
 Hi All,
 
 I ran into a problem installing FreeBSD 5.2.1-STABLE on an old PC
 (Am5x86, 133MHz, 40M RAM, 700M HDD).
 After I finish the install and reboot the PC under FreeBSD it fails to
 load the kernel. Here's what is on the screen (manually copied):
 
 Loading /boot/defaults/loader.conf
 /boot/kernel/kernel text=0x45d64c -
 elf32_loadexec: archsw.readin failed
 /boot/kernel/kernel text=0x45d64c -
 elf32_loadexec: archsw.readin failed
 /boot/kernel/kernel text=0x45d64c -
 elf32_loadexec: archsw.readin failed
 Unable to find a kernel!
 |
 Hit [Enter] to boot immediately, or any other key for command prompt.
 Booting [/boot/kernel/kernel] ...
 /boot/kernel/kernel text=0x45d64c -
 elf32_loadexec: archsw.readin failed
 can't load 'kernel'
 
 I successfully installed the same system on several other modern PCs.
 Can anyone assist me in solving this problem and making FreeBSD boot
 up?

Step 1: Try a modern release of FreeBSD like 5.4.  5.2.1 was an early
adopter's release not intended for production use.

Kris


pgpWlc0gCSUZG.pgp
Description: PGP signature


Re: Why is my DVD /dev/cd0 instead of /dev/acd0 after recompiling kernel?!?

2005-10-13 Thread Beecher Rintoul
On Wednesday 12 October 2005 11:45 pm, Olaf Greve wrote:
 Hi,

 Well, yesterday the inevitable finally happened: I lost my
 'custom-kernel-compilation' virginity. :)

 Indeed, when trying to burn a DVD using growisofs I quickly found out
 (tnx Google!) that I had to add the atapicam device to the kernel.

 This was done based on what I read here:
 http://www.freebsdforums.org/forums/showthread.php?t=152goto=nextnewest
 http://lists.freebsd.org/pipermail/freebsd-questions/2003-November/026484.h
tml

 Now, similarly to what is described in those threads, on my box the DVD
 is now also solely accessible through /dev/cd0 instead of /dev/acd0
 (what it previously was).

 Does anyone have any idea why this is?

From atapicam(4):
The ATAPI/CAM module allows ATAPI devices (CD-ROM, CD-RW, DVD drives,
 floppy drives such as Iomega Zip, tape drives) to be accessed through the
 SCSI subsystem, cam(4).

SCSI CD/DVD devices are labeled as cd, atapi devices are labeled acd.


 Also: I just changed the entry for this device to cd0 in /etc/fstab such
 that the command mount /cdrom works again.


---
Beech Rintoul - System Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \ 
---













pgpj38NtqryAL.pgp
Description: PGP signature


Re: Xauth - bad hostname

2005-10-13 Thread Enrique Ayesta Perojo
El Osteguna 13 Urria 2005 05:23, James S Blankenship escribió:
 I've successfully installed FreeBSD 5.4, and have X running. But I get the
 error message Xauth bad hostname when logging out of gnome, and when
 starting gnome, so gnome doesn't run as well as it could. How can I fix
 this? Sysinstall?

 Best regards,
 James

It happens because your machine doesn't have a FQDN, to solve it, you can 
edit /etc/hosts and change the line concerning to localhost to something 
like:

127.0.0.1   localhost localhost.my.domain machine_name.domain.name


pgpEyuk2kFZTm.pgp
Description: PGP signature


Re: Intel(R) PRO/wireless 2200BG unavailable on FreeBSD 6 ?

2005-10-13 Thread Enrique Ayesta Perojo
El Asteazkena 12 Urria 2005 04:03, YuHong escribió:
 hi
 Is Intel PRO wireless 2200BG available on FreeBSD 6?

   I install this card like this, but it's unavailable.

   1. append ``device iwi'' to my kernel configure file and reinstall
   kernel,  then Intel card delected by FreeBSD when reboot.

 
 iwi0: Intel(R) PRO/Wireless 2200BG mem 0xc0214000-0xc0214fff irq 11 at
 device 2.0 on pci2
 iwi0: Ethernet address: 00:0e:35:20:58:1b
 

   2. install ports '/usr/ports/net/iwi-firmware'
   3. iwicontrol iwi0 -d /usr/local/share/iwi-firmware -m bss
   4. ifconfig iwi0 up
   The indicator light always off, never on.

   is somthing i losted? thanks for your help.
   please excuse me for my poor english.

Have you tried to connect it to the WiFi network? I have the same problem with 
the indicator led at the laptop, but the interface works perfectrly.


pgpv30FJPAj7N.pgp
Description: PGP signature


Re: FreeBSD 5.4-STABLE / 6.0 audio drivers for Intel 82801FB/FR/FW/FRW Intel High Deficition Audio Controller

2005-10-13 Thread Andrew P.
On 10/13/05, Miles Keaton [EMAIL PROTECTED] wrote:
  Looking for audio drivers for Intel 82801FB/FR/FW/FRW Intel High
  Deficition Audio Controller.

  There is no driver for High Definition sound controller. But you can use
  a program to get sound. It's called Open Sound System. It works most of
  the sound controllers. I am not able to use it for high definition.


 Yeah - I checked with them.  Unfortunately they still don't support
 this card for FreeBSD.  (As of October 2005)
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


After spending a few years with FreeBSD, you'll learn to
actually check if a piece of hardware is supported
before buying it.

One of the most popular points against FreeBSD is
hardware support. Taking into account the fact
that many local PC/server vendors try to assemble
boxes using bleeding-edge hardware, and most
people blindly buy it, there's no wonder to that.


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


Re: freebsd has problems with bios

2005-10-13 Thread Andrew P.
On 10/13/05, Kamal R. Prasad [EMAIL PROTECTED] wrote:
 I was replying to both you and Andrew R. Andrew mentioned the hw may
 be unstable.
 I did enter the same values provided by BIOS -but it doesn't solve
 the problem.
 Most likely, the bios on my motherboard is not compaible with freebsd.

 regards
 -kamal



In fact FreeBSD bypasses BIOS and interacts directly
with a disk controller. Could you tell us the exact vendor
and make of your motherboard. It's an interesting case.


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


Staircaseeffect with HP Deskjet Plus

2005-10-13 Thread Stevan Tiefert

Hello list,

when I want to print an ASCII-text via lpr to my HP Deskjet Plus I got a 
staircaseeffect on my printer. I asked HP for support but they answered: 
 ... the support stopped nine years ago... Ups :-(


I think that a solution with a2ps and gs is too crazy and too slow when 
I print a biiig manual-page. I expect that I need a specific 
input-filter for my printer. But which one?


With regars
Stevan Tiefert

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


Re: Staircaseeffect with HP Deskjet Plus

2005-10-13 Thread Michael Hughes
On Thu, 13 Oct 2005 13:03:08 +0200
Stevan Tiefert [EMAIL PROTECTED] wrote:

 Hello list,
 
 when I want to print an ASCII-text via lpr to my HP Deskjet Plus I got
 a  staircaseeffect on my printer. I asked HP for support but they
 answered: 
   ... the support stopped nine years ago... Ups :-(
 
 I think that a solution with a2ps and gs is too crazy and too slow
 when  I print a biiig manual-page. I expect that I need a specific 
 input-filter for my printer. But which one?
 
 With regars
 Stevan Tiefert
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 

Stevan,
  You need to send the printer ESCk2G.  Where ESC=escape. This sets
NL=CR_NL.

-- 
Michael Hughes  Log Home living is the best
[EMAIL PROTECTED]

Temperatures:
Outside: 53.5 House: 70.3 Computer room: 73.6


pgp3KAZtWZjbc.pgp
Description: PGP signature


Upgrading to freebsd 5.4 STABLE from 5.3 kernel panic, what do i do to get data back?

2005-10-13 Thread Alex
Hello list!

I have been successfully been running 5.3 for a couple of weeks when i
decided i should upgrade to 5.4 stable. Now the make world went fine
except mergemaster complaining it couldn't find usr/src/etc or something
similar. I made make buildkernel wich also went fine. But when I booted
into my upgraded system I got kernel panic, so I made another restart
and this time it went ok.

Yestoday I removed SCSI card and DAT tape and NIC so I can have them in
my main server.

Now i cant get past this:

freebsd 5.4-stable

kernel trap 12 with interupts disabled

Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x9
fault code = supervisor write, page not present
instruction pointer = 0x8 :0xc077c073
stack pointer = 0x10 :0xc0c20d00
frame pointer = 0x10 :0xc0c20d0c
code segment = base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = resume, IOPL = 0
current process = 0 ()
trap number = 12
panic: page fault
Uptime: 1s

So my attack-plan is to reinstall system from scratch and never do make
buildworld  make buildkernel again, BUT, I have a whole lot of
information remaining on both disks that are in right now. From what I
could see in the installer, fbsd installer wont let me install in a
different directory with filesystem still intact like windows
doesor does it?

Please help! :)

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


Re: Upgrading to freebsd 5.4 STABLE from 5.3 kernel panic, what do i do to get data back?

2005-10-13 Thread Enrique Ayesta Perojo
El Osteguna 13 Urria 2005 14:49, Alex escribió:
 Hello list!

 I have been successfully been running 5.3 for a couple of weeks when i
 decided i should upgrade to 5.4 stable. Now the make world went fine
 except mergemaster complaining it couldn't find usr/src/etc or something
 similar. I made make buildkernel wich also went fine. But when I booted
 into my upgraded system I got kernel panic, so I made another restart
 and this time it went ok.

 Yestoday I removed SCSI card and DAT tape and NIC so I can have them in
 my main server.

 Now i cant get past this:

 freebsd 5.4-stable

 kernel trap 12 with interupts disabled

 Fatal trap 12: page fault while in kernel mode
 fault virtual address = 0x9
 fault code = supervisor write, page not present
 instruction pointer = 0x8 :0xc077c073
 stack pointer = 0x10 :0xc0c20d00
 frame pointer = 0x10 :0xc0c20d0c
 code segment = base 0x0, limit 0xf, type 0x1b
 = DPL 0, pres 1, def32 1, gran 1
 processor eflags = resume, IOPL = 0
 current process = 0 ()
 trap number = 12
 panic: page fault
 Uptime: 1s

 So my attack-plan is to reinstall system from scratch and never do make
 buildworld  make buildkernel again, BUT, I have a whole lot of
 information remaining on both disks that are in right now. From what I
 could see in the installer, fbsd installer wont let me install in a
 different directory with filesystem still intact like windows
 doesor does it?

 Please help! :)

You don't need to reinstall from scratch. Get into the boot loader prompt and 
type boot kernel.old, this way you'll boot the old 5.3 kernel. Once there, 
update your src tree and perform the upgrade following the instructions in 
the 20.4.1 chapter of the handbook:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


LDAP tutorial

2005-10-13 Thread Sasa Stupar

Hi!

Can someone provide me a link for a good tutorial for installing and 
configuring a LDAP server on FBSD 5.4?


Regards,
Sasa

pgpM5kXqbh3An.pgp
Description: PGP signature


Re: portmanager

2005-10-13 Thread RW
On Thursday 13 October 2005 07:17, Igor Robul wrote:
 RW wrote:
 I'm probably missing something, because I can't see what the problem is.
 
 crontab(5) says you can define environmental variables in a crontab; and
  the default system crontab already has a PATH variable pre-defined,
  although it doesn't include /usr/local/bin in the path.

 But you may not wish export PATH with /usr/local/bin to all your cron jobs.

You don't need to. Variable definitions only apply to the lines that come 
after them - and a variable may be redefined.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CDROM Unknown Transfer Error crashes system

2005-10-13 Thread Wayne Witzke

Lowell Gilbert wrote:

Wayne Witzke [EMAIL PROTECTED] writes:



I'm a little confused...  I thought I had RELENG_5_4.  uname -a says:

FreeBSD wlaptop 5.4-RELEASE FreeBSD 5.4-RELEASE #1: Thu Oct  6
21:18:29 EDT 2005
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/WLAPTOP  i386

Isn't this RELENG_5_4?



It was, but some patches have been applied since the release was
made.  I was suggesting RELENG_5, not RELENG_5_4; in other words, the
branch that will eventually become the 5.5 release.


I'll see if I can't figure out how to do this, then.  I had no idea that 
I wasn't running the most current.






Lowell Gilbert wrote:




Is there anything that I can do to capture more information the next
time my computer reboots spontaneously?


Try to get a crash dump.  There's more information on it in the
Handbook.  And some related information on panic analysis (if you can
get it to that point) in the FAQ.



I'll try that, it doens't sound too difficult.  Just so I know, if I
was going to see a kernel panic message, I'd be seeing one before the
computer reboots, right?



I thought that was what you were describing in earlier messages.


I'm *NOT* getting anything of this form (from the FAQ):

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x40
fault code  = supervisor read, page not present
instruction pointer = 0x8:0xf014a7e5
stack pointer   = 0x10:0xf4ed6f24
frame pointer   = 0x10:0xf4ed6f28
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 80 (mount)
interrupt mask  =
trap number = 12
panic: page fault

All I get is the single line error message in the system log:

acd0: unknown transfer phase

and then the computer drops to a POST and reboots.  I see nothing on my 
screen between the error and the POST.


One of the diagnostic steps that the FAQ mentions is to trace the 
instruction pointer.  My assumption was that if the system was going to 
give me a message like that, I'd see it before the POST, but I wanted to 
make sure that I didn't need to be looking for that message in a log 
somewhere, or changing a configuration option somewhere to make the 
system generate an error message of that form, because I definitely 
don't see that before the POST.


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


RE: proxy server

2005-10-13 Thread Brian E. Conklin
We use Squid www.squid-cache.org and SquidGuard www.squidguard.org.

Squid is authenticating against a Windows Active Directory domain. And
squidGuard is performing all of our filtering.

Works fantastic!

Brian E. Conklin, MCP+I, MCSE
Director of Information Services
Mason General Hospital
http://www.masongeneral.com


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Efren Bravo
 Sent: Wednesday, October 12, 2005 3:34 PM
 To: freeBSD 
 Subject: proxy server
 
 
 Hi,
 
 I want to install a proxy server to manage these features: http cache,
 content filtering (forbidden words, ActiveX, java, url. etc), users,
 groups, ips' control access, time ranges to ie access.  
   
 I want to hear some suggestions based on your experiences.  
   
 Thanks...
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
=
Mason General Hospital
901 Mt. View Drive
PO Box 1668
Shelton, WA 98584
http://www.masongeneral.com
(360) 426-1611
=
This message is intended for the sole use of the individual and entity
to whom it is addressed and may contain information that is privileged,
confidential and exempt from disclosure under applicable law. If you
are not the addressee nor authorized to receive for the addressee, you
are hereby notified that you may not use, copy, disclose or distribute
to anyone this message or any information contained in the message. If
you have received this message in error, please immediately notify the
sender and delete the message.

Replying to this message constitutes consent to electronic monitoring
of this message.

Thank you.

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


How can I cut and paste from xterm _into_ another program ? (NOTE - I am not an IDIOT)

2005-10-13 Thread Spec
couldn't see if you got an answer to this but I just found out that you 
can do it (in fedora/xfce anyway)  You select text you want to copy in 
xterm, move focus to where you want to paste it and then press mouse 
button 5 on my logitech mouse, so just press all mouse buttons on your 
mouse, one will probably/possibly (at a guess) paste text.

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


Re: 5.4 on a Dell D800

2005-10-13 Thread Wayne Witzke

Bob Middaugh wrote:

On Behalf Of Wayne Witzke


Ugo Bellavance wrote:


Hi,

   I tried installing 5.4 on my Dell D800 laptop.  After the


first 

boot, my keyboard stopped working.  I don't know what to do 


from now 


or if it is even worth the effort.  Should I try 6.0RC?


I have 5.4 installed on a 2 year old Dell D800 laptop and so 
far everything works perfectly except for my CDROM (which I'm 
beginning to think is failing anyway).




Hi Wayne, can you post your kernel config file, or tell us what
devices you're using for sound and the wireless nic?  My wireless nic
is an Intel 2200BG, I don't know if they're the same for all D800's,
mine is only about a year old.  Thanks,
Bob


Well, my wireless nic is a DELL TrueMobile 1300 (it's a rebranded 
Broadcom card, I think), and the audio is a SigmaTel STAC9750/51 AC97 
Codec.  At least, that's what dmesg is telling me about my sound card, 
and since I'm listening to music right now I can only assume it's right.


In order to get the audio working, I had to add the following line to 
/boot/loader.conf:


snd_ich_load=YES

My wireless nic is an 802.11b/g card, and in order to get it to work, I 
had to go the Project Evil route.


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

That gets the device up and running, but you also have to figure out 
what your ssid is and set that using ifconfig for ndis0.


But, heh, but doing a quick search to find out where to specify ssid in 
configuration options to make it pick that up automatically on boot, I 
ran across this:


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

I get the impression that you might want to try this first.  It looks 
like it might be a bit more specific to your hardware.


Hope this helps!

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


Re: How can I cut and paste from xterm _into_ another program ? (NOTE - I am not an IDIOT)

2005-10-13 Thread Will Maier
On Thu, Oct 13, 2005 at 03:11:29PM +0100, Spec wrote:
 couldn't see if you got an answer to this but I just found out
 that you can do it (in fedora/xfce anyway).

This is a feature of the graphical environment (X windows), not the
operating system or, AFAIK, the window manager.

 You select text you want to copy in xterm, move focus to where you
 want to paste it and then press mouse button 5 on my logitech
 mouse, so just press all mouse buttons on your mouse, one will
 probably/possibly (at a guess) paste text.

The traditional binding is 'Mouse 3', which often is the scroll
wheel or both left and right buttons pressed simultaneously. This
may differ depending on the mouse.

-- 

o--{ Will Maier }--o
| jabber:[EMAIL PROTECTED] | email:[EMAIL PROTECTED] |
| [EMAIL PROTECTED] | [EMAIL PROTECTED] |
*--[ BSD Unix: Live Free or Die ]--*

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


Re: CDROM Unknown Transfer Error crashes system

2005-10-13 Thread Lowell Gilbert
Wayne Witzke [EMAIL PROTECTED] writes:

 Lowell Gilbert wrote:
  Wayne Witzke [EMAIL PROTECTED] writes:
 
 I'm a little confused...  I thought I had RELENG_5_4.  uname -a says:
 
 FreeBSD wlaptop 5.4-RELEASE FreeBSD 5.4-RELEASE #1: Thu Oct  6
 21:18:29 EDT 2005
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/WLAPTOP  i386
 
 Isn't this RELENG_5_4?
  It was, but some patches have been applied since the release was
  made.  I was suggesting RELENG_5, not RELENG_5_4; in other words, the
  branch that will eventually become the 5.5 release.
 
 I'll see if I can't figure out how to do this, then.  I had no idea
 that I wasn't running the most current.

What you are running is the more recent release.  But FreeBSD's
developers have continued to modify code in the six months or so since
then.  

 Lowell Gilbert wrote:
 
 Is there anything that I can do to capture more information the next
 time my computer reboots spontaneously?
 
 Try to get a crash dump.  There's more information on it in the
 Handbook.  And some related information on panic analysis (if you can
 get it to that point) in the FAQ.
 
 
 I'll try that, it doens't sound too difficult.  Just so I know, if I
 was going to see a kernel panic message, I'd be seeing one before the
 computer reboots, right?
  I thought that was what you were describing in earlier messages.
 
 I'm *NOT* getting anything of this form (from the FAQ):
 
   Fatal trap 12: page fault while in kernel mode
   fault virtual address   = 0x40
   fault code  = supervisor read, page not present
   instruction pointer = 0x8:0xf014a7e5
   stack pointer   = 0x10:0xf4ed6f24
   frame pointer   = 0x10:0xf4ed6f28
   code segment= base 0x0, limit 0xf, type 0x1b
   = DPL 0, pres 1, def32 1, gran 1
   processor eflags= interrupt enabled, resume, IOPL = 0
   current process = 80 (mount)
   interrupt mask  =
   trap number = 12
   panic: page fault
 
 All I get is the single line error message in the system log:
 
 acd0: unknown transfer phase
 
 and then the computer drops to a POST and reboots.  I see nothing on
 my screen between the error and the POST.

Ah.  A spontaneous reboot, not a panic.  Sorry I misunderstood.

 One of the diagnostic steps that the FAQ mentions is to trace the
 instruction pointer.  My assumption was that if the system was going
 to give me a message like that, I'd see it before the POST, but I
 wanted to make sure that I didn't need to be looking for that message
 in a log somewhere, or changing a configuration option somewhere to
 make the system generate an error message of that form, because I
 definitely don't see that before the POST.

A debugging kernel may help.  

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


Re: freebsd has problems with bios

2005-10-13 Thread Lowell Gilbert
Kamal R. Prasad [EMAIL PROTECTED] writes:

 I have verified integrity of the hard disk and this problem shows up
 on a new samsung 1604N hard disk too. It is a hard disk independet
 problem.
 
 On 13-Oct-05, at 5:49 AM, Peter Clutton wrote:
 
  For some reason, the values of hard disk geometry (cylinders/head/
  sectors( are not accrptable to fdisk and when i agree to using
  freebsd 's idea of disk geometryt, during sysinstall -I get an
  error:-0
  UDMA_100 error:READWRITE Failure ICRC error.
 
 
 
  Usually fdsisk asks you to check what the bios reports as the CHS
  and enter that
  manually, using the g option i believe. Have you tried this?
 
 The bios has 4 modes auto, large, lba, chs in which to access the
 hard disk. I ttried all 4 modes and it  doesn't solve the problem.
  However as stated above, and looking at those errors, this may be a
  hardware problem.
 
 The hardware is stable and I expect any hard disk to give the same
 error essentially because the interaction between bios and freebsd is
 the cause of the problem.

A CRC error?  Doesn't seem likely.  Why do you say so?  It's not
like FreeBSD is using the BIOS at all at that point...

Personally, I'd try another ATA cable; that's the most frequent cause
of this particular symptom.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How can I cut and paste from xterm _into_ another program ? (NOTE - I am not an IDIOT)

2005-10-13 Thread Doug Poland
On Thu, Oct 13, 2005 at 09:20:20AM -0500, Will Maier wrote:
 On Thu, Oct 13, 2005 at 03:11:29PM +0100, Spec wrote:
  couldn't see if you got an answer to this but I just found out
  that you can do it (in fedora/xfce anyway).
 
 This is a feature of the graphical environment (X windows), not the
 operating system or, AFAIK, the window manager.
 
  You select text you want to copy in xterm, move focus to where you
  want to paste it and then press mouse button 5 on my logitech
  mouse, so just press all mouse buttons on your mouse, one will
  probably/possibly (at a guess) paste text.
 
 The traditional binding is 'Mouse 3', which often is the scroll
 wheel or both left and right buttons pressed simultaneously. This
 may differ depending on the mouse.
 

SHIFTINSERT also works quite nicely for pasting from the keyboard.

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


ftp problem -ipfw with natd

2005-10-13 Thread Efren Bravo
Hi,

I've problem with ipfw with natd to access from internal network to
internet ftp sites. From fbsd box i can access to ftp sites.

vr0 = out interface
6.34.60.15 = mi pc (winXP)
8668 = natd == Why on this rule ntad is tranlated to 8668?

My rules:
-
...
00070 divert 8668 ip from any to any in via vr0
00100 check-state
...
00131 skipto 15000 tcp from me to any out via vr0 setup keep-state
00132 skipto 15000 tcp from 6.34.60.0/24{9,13,15} to any out via vr0 setup
keep-state
...
15000 divert 8668 ip from any to any out via vr0
15005 allow log logamount 5 ip from any to any
65535 deny ip from any to any


Thanks...


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


Re: Raid Controller Control

2005-10-13 Thread Ugo Bellavance

Vampire D wrote:

If we use a raid controller such as 3ware (twe), how do you determine when a
drive fails and which one fails? Is there any standard accross all raid
controllers for monitoring this?


Install 3ware's software if you use 3ware.  They have a freebsd version 
For others, I don't know.


--
Ugo

- Please don't send a copy of your reply by e-mail.  I read the list.
- Please avoid top-posting, long signatures and HTML, and cut the 
irrelevant parts in your replies.


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


Re: ftp problem -ipfw with natd

2005-10-13 Thread Chuck Swiger

Efren Bravo wrote:

Hi,

I've problem with ipfw with natd to access from internal network to
internet ftp sites. From fbsd box i can access to ftp sites.

vr0 = out interface
6.34.60.15 = mi pc (winXP)
8668 = natd == Why on this rule ntad is tranlated to 8668?

My rules:
-
...
00070 divert 8668 ip from any to any in via vr0


8668 is a local port which is commonly used for IPFW to redirect or divert 
traffic to natd, which is listening there.  You can change IPFW and natd to use 
another port number, which can even be useful if you want to run two copies of 
natd.


Anyway, to get FTP to work right through natd, you either need to use PASV 
(passive-mode FTP), or you need to put a punch_fw rule in your natd config 
file, like so:


punch_fw 1:1000

...where 1 is the starting rule number, and may need to be adjusted 
depending on your IPFW ruleset.


--
-Chuck

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


Re: Why is my DVD /dev/cd0 instead of /dev/acd0 after recompiling kernel?!?

2005-10-13 Thread Frank Staals

Beecher Rintoul wrote:


On Wednesday 12 October 2005 11:45 pm, Olaf Greve wrote:
 


snip

 


Also: I just changed the entry for this device to cd0 in /etc/fstab such
that the command mount /cdrom works again.

   



---
Beech Rintoul - System Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \ 
---



 

I also have a DVD wirter in my system, and I can access it both on 
/dev/cd0 and on /dev/acd0, in fact I'm only using the cd0 when using 
growisofs, I can still mount on /dev/acd0 so you should probably also be 
able to ...


--
-Frank Staals


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


Re: freebsd has problems with bios

2005-10-13 Thread Kamal R. Prasad
The motherboard is from American Megatrends Corp and it runs Award  
Bios.

I am pasting below info from dmesg below:-
--
CPU: AMD Athalon(tm) XP(1468.47-Mhz 686 class CPU)
   Origin = AuthenticAMD Id = 0x662 Stepping = 2
   Features -0x383f9ffFPu,VME,DE,PSE,F\PSE,TSC
,MSR,PAE,MCE,CXU,SEP,MTER,PGE,MCA,CMOV,PAT,PSE36,MMx,FXSR,SSE
  AMD Features=0xc0480800SYSCALL,MP,MMX+,3DNoq+,3DNow
..
npx0:[FAST]
npx0: math coprocessor on motherboard
npx0: INT 16 interface
acpi0: VIA694 AWRDACPI on motherboard
...
ata0: ATA channel0 on atapci0
ata1: ATA Channel 1 on ataci0
ad0: Samsung SP1604N TM100-30 at ata0-master UDMA100
acd0: dvd r drive at ata0-slave UDMA33
ad2: 39083MB Maxtor 4D040H2 DAH017K0 at ata1-master UDMA100
ad0: WARTNING -READ_DMA UDMA ICRC error (retrying request) LBA=63
..
ad0: FAILURE -READ_DMA status=51READY,DSC,ERROR  
error=84ICRC,ABORTED LBA=63

ad2: WARTNING -READ_DMA UDMA ICRC error (retrying request) LBA=63
..
ad2: FAILURE -READ_DMA status=51READY,DSC,ERROR error=84ICRC,ABORTED
-
sector 63 is where the first partition starts.
Both discs work perfectly in windows XP  and the -and if there was a  
cable/hw [roblem it would have shown during their functioning under  
windows xp.


pl. let me know if you need any more info from the system.

thanks
-kamal

On 13-Oct-05, at 3:54 PM, Andrew P. wrote:


On 10/13/05, Kamal R. Prasad [EMAIL PROTECTED] wrote:


I was replying to both you and Andrew R. Andrew mentioned the hw may
be unstable.
I did enter the same values provided by BIOS -but it doesn't solve
the problem.
Most likely, the bios on my motherboard is not compaible with  
freebsd.


regards
-kamal





In fact FreeBSD bypasses BIOS and interacts directly
with a disk controller. Could you tell us the exact vendor
and make of your motherboard. It's an interesting case.


Thanks,
Andrew P.



Kamal R. Prasad
UNIX systems consultant
http://www.kamalprasad.com/
[EMAIL PROTECTED]



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


Problem installing MySQL server 4.1.14

2005-10-13 Thread Matt Singerman
Hi all,

I am trying to install MySQL server 4.1 on a FreeBSD 5.2.1-RELEASE machine,
but am getting an error when attempting to do so:

/var/tmp//ccxUtLNl.o: In function `thr_alarm':
/var/tmp//ccxUtLNl.o(.text+0x343): undefined reference to `pthread_equal'
/var/tmp//ccxUtLNl.o(.text+0x366): undefined reference to `pthread_kill'
/var/tmp//ccxUtLNl.o: In function `process_alarm_part2':
/var/tmp//ccxUtLNl.o(.text+0x580): undefined reference to `pthread_equal'
/var/tmp//ccxUtLNl.o(.text+0x597): undefined reference to `pthread_kill'
/var/tmp//ccxUtLNl.o(.text+0x637): undefined reference to `pthread_equal'
/var/tmp//ccxUtLNl.o(.text+0x64e): undefined reference to `pthread_kill'
/var/tmp//ccxUtLNl.o: In function `end_thr_alarm':
/var/tmp//ccxUtLNl.o(.text+0x73f): undefined reference to `pthread_equal'
/var/tmp//ccxUtLNl.o(.text+0x766): undefined reference to `pthread_kill'
/var/tmp//ccxUtLNl.o(.text+0x7c4): undefined reference to
`pthread_cond_timedwait'
/var/tmp//ccxUtLNl.o: In function `thr_alarm_kill':
/var/tmp//ccxUtLNl.o(.text+0x894): undefined reference to `pthread_equal'
/var/tmp//ccxUtLNl.o(.text+0x8d3): undefined reference to `pthread_kill'
/var/tmp//ccxUtLNl.o: In function `main':
/var/tmp//ccxUtLNl.o(.text+0x10b0): undefined reference to
`pthread_attr_init'
/var/tmp//ccxUtLNl.o(.text+0x10c3): undefined reference to
`pthread_attr_setscope'
/var/tmp//ccxUtLNl.o(.text+0x10d6): undefined reference to
`pthread_attr_setdetachstate'
/var/tmp//ccxUtLNl.o(.text+0x10e9): undefined reference to
`pthread_attr_setstacksize'
/var/tmp//ccxUtLNl.o(.text+0x1117): undefined reference to `pthread_create'
/var/tmp//ccxUtLNl.o(.text+0x1156): undefined reference to
`pthread_attr_setscope'
/var/tmp//ccxUtLNl.o(.text+0x11b6): undefined reference to `pthread_create'
/var/tmp//ccxUtLNl.o(.text+0x11ff): undefined reference to
`pthread_attr_destroy'
libmysys.a(my_pthread.o): In function `my_pthread_getprio':
my_pthread.o(.text+0x1b): undefined reference to `pthread_getschedparam'
libmysys.a(my_pthread.o): In function `my_pthread_attr_setprio':
my_pthread.o(.text+0x4a): undefined reference to
`pthread_attr_setschedparam'
*** Error code 1

Stop in /usr/ports/databases/mysql41-server/work/mysql-4.1.14/mysys.
*** Error code 1

Stop in /usr/ports/databases/mysql41-server/work/mysql-4.1.14.
*** Error code 1

Stop in /usr/ports/databases/mysql41-server/work/mysql-4.1.14.
*** Error code 1

Stop in /usr/ports/databases/mysql41-server.

(sorry if that is too much information, or not enough).

This machine has not had MySQL installed on it in the past. Any ideas what
it could be?

Thanks,

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


Re: tcp_fsm.h: sending FIN or FIN+ACK in Closing state

2005-10-13 Thread Chuck Swiger

Vishal M wrote:

I have a question on Simulataneous TCP close.

According to the TCP state machine mentioned in
TCP/IP Illustrated - Vol 2, pg 806; TCP stack is
supposed to just send out an ACK before transitioning
into CLOSING state.

However, according to tcp_outflags[] array shown on pg
807, fig #24.16; the associated flags are FIN+ACK.

I looked at 4.x FreeBSD codebase and it sends out
FIN+ACK while transitioning to CLOSING state (inside
tcp_outflags[] defined in tcp_fsm.h file).

Question:
- Could someone please let me know the correct
behavior i.e should we send out just an ACK or FIN+ACK
while transitioning into CLOSING state?


The RFC suggests sending out bare FIN packets, but it is not required, and it 
is more efficient to set the FIN in the last data packet you need to send to 
flush the queue before closing, resulting in a FIN+ACK packet rather than two 
packets.


This is not directly connected to the notion of simultaneous TCP closing, 
BTW.  :-)


--
-Chuck

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


Re: Moving down from amd64 to i386 ??

2005-10-13 Thread Stefan Cars

Hi!

After doing some testing this is what I found out:


1) Exchanging memory on the machine did not work. Same error.
2) Trying it on another 64 bit machine with same FreeBSD (RC1) creates 
EXACT same problem
3) Installing the i386 version of RC1 instead of amd64 on the same 
machines and it works terrific. No crash.



The bt is always the same and it always crash the same, look here:

#784 0x in ?? ()
#785 0x247c8d48002454ff in ?? ()
#786 0x01a1c0c748006a10 in ?? ()
#787 0x66fdebf4050f in ?? ()
#788 0x90909066 in ?? ()
#789 0x7fffe778 in ?? ()
#790 0x0006 in ?? ()
#791 0x7fffe7b0 in ?? ()
#792 0x0017 in ?? ()
Cannot access memory at address 0x8000


Greg 'groggy' Lehey wrote:

On Wednesday, 12 October 2005 at  9:27:17 +0200, Stefan Cars wrote:


Hi!

We are having troubles with MySQL 4.1 on a amd64 (it's crashing
randomly with Seg fault, signal 11. gdb bt says: Cannot access
memory at address 0x8000). We have got information saying
this is a 64bit related issue and should be fixed by using the i386
version instead of amd64 (this is an Intel Xeon).



Where did you get that information from?



What is the way to go when moving from amd64 to i386 ?



If you mean how do I install an i386 kernel on this machine, I can't
think of any way except to start from scratch.  It would be a good
idea to install a separate disk, so you can access the configuration
files and the database on the old disk.  But before doing this, I'd be
very interested in knowing what the problem is.  Is the backtrace
always the same?  Where does it crash?

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

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


Re: Nessus no longer open source

2005-10-13 Thread Dinesh Nair


On 10/12/05 01:00 Ted Mittelstaedt said the following:

The authors, of course.

Stand the problem on it's head.  Where are the Nessus people going to
find customers for Nessus 3?  From Nessus 2 users.  If they let the
Nessus 2 codebase go to pot then people will stop using it, and they lose
a valuable source of sales leads.


let's hope they think this way. at the same time, this may also be a call 
for new blood to assist in the continuation of nessus 2.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: proxy server

2005-10-13 Thread Andrew P.
On 10/13/05, Dave [EMAIL PROTECTED] wrote:
 Hi,
 I've been checking out this thread on squid. I've got squid right now doing
 transparent proxying with pf and that is working reat! But i'd like to
 extend it to do what your doing:
 ftp-proxying, currently i use ftp-proxy out of inetd and only passive client
 connections from behind the nat work, active doesn't
 addblocking, i'll take your suggestion and use adzap
 and i'd like to use dansguardian for content filtering, but it requires
 apache on the gateway box i don't know if i like that, is there a way around
 that dependency?
 Do you have a howto or notes for setting all this up?
 Thanks.
 Dave.


Not really. In fact it wasn't me who set this all up,
I just happen to manage it all now. You'll have
to read through all squid faqs to make it shine.

Adzap doesn't require anything at all (except for
perl, of course), but it doesn't harm if you have
a local webserver to serve some static content.
thttpd is the right solution for this, but Apache
won't hurt even on a very loaded production
server.

You'll also want to process squid logs. If you
have a spare box - that's fine, you can do it
all there. But we've found it quite comfortable
to do all processing on the proxy itself,
in the night. We use calamaris and sarg
(and it helps to have apache on the proxy,
to the results), and we're looking at other
analyzers, too.

I don't remember any major problem with
our proxy (except for some failing hardware),
there's nothing tricky in setting it up and
maintaining it. If you'll have a specific
issue, I'll be very glad to try and help you out.


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


Re: Nessus no longer open source

2005-10-13 Thread Aaron Peterson
On 10/13/05, Dinesh Nair [EMAIL PROTECTED] wrote:
...snip...
 this may also be a call for new blood to assist in the continuation of nessus 
 2.
...snip...

I would tend to take it that way.

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


Re: Patch vs. Upgrade

2005-10-13 Thread David Kirchner
On 10/12/05, David Kirchner [EMAIL PROTECTED] wrote:
 On 10/12/05, Andrew P. [EMAIL PROTECTED] wrote:
  That's just not true. Cvsupping to something like
  RELENG_5_4 will do exactly the same thing as
  a patch, only it's the hassle-free way. You see
  a sec-advisory, you type cvsup -g -L 2 mysup
  recompile what's suggested in the advisory, or
  the whole world - and you're done.

 cvsupping to RELENG_5_4 will include all of those patches, not just
 the one you just read about. So if you had to avoid installing a patch
 for some reason (you had a local solution, or something, it happens
 sometimes) then you need to avoid using the cvsup method.

I just tried this again to verify. cvsuping to RELENG_5_4 gives you
5.4-STABLE, which includes _many_ things not found in the
5.4-RELEASE-p?? branch. I'm not saying people shouldn't upgrade to
5.4-STABLE (although I do think efforts should be directed towards
including bugfixes in the 5.4-RELEASE-p?? branch) but that they should
be aware that cvsup'ing to RELENG_5_4 will give them a very different
result to patching the specific security advisory patches.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


newbie ports question

2005-10-13 Thread makisupa
I seem to be getting myself in trouble repeatedly...I'm sure someone can
help...

Fresh install of 6.0 RC1, gnome 2.12 from marcus's tb, freshly cvsupped
ports.  I need to install some little apps like gaim and pan.  when
running 'make install clean' for these ports i'll get a message that the
correct version of port X is not installed.  Problem is make says i need
a newer version but the version numbers indicate i've got a newer
version than what its looking for.  Then a little part about
'FORCE_PACKAGE_REGISTER.'  There is an example of this below this
message.  If i use this it will install the older version of the
dependencies or at least register them.  I say this on the last system
that i hosed...2 copies of the same package would be registered.  Not
good. How should i *properly* install these ports?  As in what's not
going to get me in trouble?


===  Installing for glib-2.6.6
===   glib-2.6.6 depends on file: /usr/local/bin/perl5.8.7 - found
===   glib-2.6.6 depends on executable: pkg-config - found
===   glib-2.6.6 depends on shared library: intl - found
===   Generating temporary packing list
===  Checking if devel/glib20 already installed
===   An older version of devel/glib20 is already installed
(glib-2.8.3)
  You may wish to ``make deinstall'' and install this port again
  by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of devel/glib20
  without deleting it first, set the variable FORCE_PKG_REGISTER
  in your environment or the make install command line.
*** Error code 1

Stop in /usr/ports/devel/glib20.
*** Error code 1

Stop in /usr/ports/accessibility/atk.
*** Error code 1

Stop in /usr/ports/textproc/gtkspell2.
*** Error code 1

Stop in /usr/ports/net/gaim.


Thanks for the help.  Loving my BSD laptop so far...just straightening
some things out.

/mak. 

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


Re: Problem installing MySQL server 4.1.14

2005-10-13 Thread Dinesh Nair



On 10/13/05 23:46 Matt Singerman said the following:

I am trying to install MySQL server 4.1 on a FreeBSD 5.2.1-RELEASE machine,
but am getting an error when attempting to do so:


sounds like it's not finding the threads library, either the native threads 
or linuxthreads. linuxthreads is a port in devel/linuxthreads. you'd need 
to give -DWITH_LINUXTHREADS to the mysql make if you're using linuxthreads.


(in a test i did on freebsd 4.3 a long, long time ago, mysql 3.x with 
linuxthreads outperformed the native pthreads by a very big margin. i had a 
blog post with my performance results, but have since lost it)


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd has problems with bios

2005-10-13 Thread Andrew P.
On 10/13/05, Kamal R. Prasad [EMAIL PROTECTED] wrote:
 The motherboard is from American Megatrends Corp and it runs Award
 Bios.
 I am pasting below info from dmesg below:-
 --
 CPU: AMD Athalon(tm) XP(1468.47-Mhz 686 class CPU)
 Origin = AuthenticAMD Id = 0x662 Stepping = 2
 Features -0x383f9ffFPu,VME,DE,PSE,F\PSE,TSC
 ,MSR,PAE,MCE,CXU,SEP,MTER,PGE,MCA,CMOV,PAT,PSE36,MMx,FXSR,SSE
AMD Features=0xc0480800SYSCALL,MP,MMX+,3DNoq+,3DNow
 ..
 npx0:[FAST]
 npx0: math coprocessor on motherboard
 npx0: INT 16 interface
 acpi0: VIA694 AWRDACPI on motherboard
 ...
 ata0: ATA channel0 on atapci0
 ata1: ATA Channel 1 on ataci0
 ad0: Samsung SP1604N TM100-30 at ata0-master UDMA100
 acd0: dvd r drive at ata0-slave UDMA33
 ad2: 39083MB Maxtor 4D040H2 DAH017K0 at ata1-master UDMA100
 ad0: WARTNING -READ_DMA UDMA ICRC error (retrying request) LBA=63
 ..
 ad0: FAILURE -READ_DMA status=51READY,DSC,ERROR
 error=84ICRC,ABORTED LBA=63
 ad2: WARTNING -READ_DMA UDMA ICRC error (retrying request) LBA=63
 ..
 ad2: FAILURE -READ_DMA status=51READY,DSC,ERROR error=84ICRC,ABORTED
 -
 sector 63 is where the first partition starts.
 Both discs work perfectly in windows XP  and the -and if there was a
 cable/hw [roblem it would have shown during their functioning under
 windows xp.

 pl. let me know if you need any more info from the system.

 thanks
 -kamal


Do you honestly believe that a leading BIOS vendor
would manufacture a motherboard and install a
BIOS from its main competitor?

Anyway, AMI does not manufacture motherboards
which support AMD processors.

Your controller is probably recognized as
atapci0: VIA 8233 UDMA100 controller ...

It is fully supported, there's no doubt about that.
I'll bet you have some problem with cables,
they can claim to be ATA100-compatible, but
you should try other ones, maybe more expensive
ones. Windows and Linux might have a better
(in some ways) driver implementation, which
somehow handles faulty cables (by more
aggressive CRC recovery mechanisms, for
example).

When you check your cables, recheck them,
and redo it all over again - and you're dead
sure that they are in top-notch condition
(please, try at least two different 80-conductor
ones, I mean apart from those that are there
already, and at least one 40-conductor cable),
you should try upgrading to at least RELENG_5
(5-stable), or better yet RELENG_6 (6-current).
In case the problem persists you can try to
reopen pr i386/62687:
http://www.freebsd.org/cgi/query-pr.cgi?pr=62687
or to send a new pr, which references this old
one.

Thanks for your time. Post here any follow-ups,
I'll try to help you.


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


Conexant amc audio problem under FreeBSD 6.0 RC1

2005-10-13 Thread Peter Sutty
HI!

I have laptop HP nx6125 with sound card Conexant amc audio on board.
OS FreeBSD 6.0 RC1  amd64.

After dmesg you can see:
pci0: multimedia,audio at device 20.5 (no driver attached).

This HW is probably not suported in FreeBSD,but producent writes,the sound card 
is Sound Blaster compatible,so i tried:

1.kldload /boot/kernel/snd*.ko ,
2.compile new kernel with 
device sound
device snd_sbc
device snd_sb16,
3.riptide driver (is only for linux x86),
4.driver from www.opensound.com (there is a driver for amd64,but only for 
freebsd 5.4, not higher).

But nothing helped?!

If you can help mi, write to me, please?!

Thanks a lot,  Peter!





Aktivujte si neobmedzenu mailovu schranku na www.pobox.sk!


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


Re: Patch vs. Upgrade

2005-10-13 Thread Andrew P.
On 10/13/05, David Kirchner [EMAIL PROTECTED] wrote:
 On 10/12/05, David Kirchner [EMAIL PROTECTED] wrote:
  On 10/12/05, Andrew P. [EMAIL PROTECTED] wrote:
   That's just not true. Cvsupping to something like
   RELENG_5_4 will do exactly the same thing as
   a patch, only it's the hassle-free way. You see
   a sec-advisory, you type cvsup -g -L 2 mysup
   recompile what's suggested in the advisory, or
   the whole world - and you're done.
 
  cvsupping to RELENG_5_4 will include all of those patches, not just
  the one you just read about. So if you had to avoid installing a patch
  for some reason (you had a local solution, or something, it happens
  sometimes) then you need to avoid using the cvsup method.

 I just tried this again to verify. cvsuping to RELENG_5_4 gives you
 5.4-STABLE, which includes _many_ things not found in the
 5.4-RELEASE-p?? branch. I'm not saying people shouldn't upgrade to
 5.4-STABLE (although I do think efforts should be directed towards
 including bugfixes in the 5.4-RELEASE-p?? branch) but that they should
 be aware that cvsup'ing to RELENG_5_4 will give them a very different
 result to patching the specific security advisory patches.


I don't see a single reason why I shouldn't ask
the BSD daemon to flame the hell out of you :-)

Try again to verify. And again. Again then. And
if you think that 5 times are enough, you might
be right. But they are not enough for you.

Currently:

RELENG_5_4 = 5.4-RELEASE-p*
RELENG_5 = 5.4-STABLE

What's so hard about remembering that? My
sense of humour is depleted, honestly.

Browse through the CVS if you don't believe
your eyes:

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/conf/newvers.sh
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Intel HighDefinition Audio Controller

2005-10-13 Thread Pedro Madsen

Hi,

i have a soundcard Intel High DefiNition Audio and can`t find driver to 
make up... a generic HighDefinition driver was developed by NetBSD team, 
his name is Azalia. Is it possible run this NetBSD driver on FreeBSD, 
with adaptitons or something?


More info about Azalia in 
http://netbsd.gw.com/cgi-bin/man-cgi?azalia++NetBSD-current


Thanx for your attention,

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


Re: newbie ports question

2005-10-13 Thread Andrew P.
On 10/13/05, makisupa [EMAIL PROTECTED] wrote:
 I seem to be getting myself in trouble repeatedly...I'm sure someone can
 help...

 Fresh install of 6.0 RC1, gnome 2.12 from marcus's tb, freshly cvsupped
 ports.  I need to install some little apps like gaim and pan.  when
 running 'make install clean' for these ports i'll get a message that the
 correct version of port X is not installed.  Problem is make says i need
 a newer version but the version numbers indicate i've got a newer
 version than what its looking for.  Then a little part about
 'FORCE_PACKAGE_REGISTER.'  There is an example of this below this
 message.  If i use this it will install the older version of the
 dependencies or at least register them.  I say this on the last system
 that i hosed...2 copies of the same package would be registered.  Not
 good. How should i *properly* install these ports?  As in what's not
 going to get me in trouble?


 ===  Installing for glib-2.6.6
 ===   glib-2.6.6 depends on file: /usr/local/bin/perl5.8.7 - found
 ===   glib-2.6.6 depends on executable: pkg-config - found
 ===   glib-2.6.6 depends on shared library: intl - found
 ===   Generating temporary packing list
 ===  Checking if devel/glib20 already installed
 ===   An older version of devel/glib20 is already installed
 (glib-2.8.3)
   You may wish to ``make deinstall'' and install this port again
   by ``make reinstall'' to upgrade it properly.
   If you really wish to overwrite the old port of devel/glib20
   without deleting it first, set the variable FORCE_PKG_REGISTER
   in your environment or the make install command line.
 *** Error code 1

 Stop in /usr/ports/devel/glib20.
 *** Error code 1

 Stop in /usr/ports/accessibility/atk.
 *** Error code 1

 Stop in /usr/ports/textproc/gtkspell2.
 *** Error code 1

 Stop in /usr/ports/net/gaim.


 Thanks for the help.  Loving my BSD laptop so far...just straightening
 some things out.

 /mak.

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


I'd start with installing portupgrade, and trying to
portupgrade -arR. I'm sure there's another solution,
though.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Intel HighDefinition Audio Controller

2005-10-13 Thread Andrew P.
On 10/13/05, Pedro Madsen [EMAIL PROTECTED] wrote:
 Hi,

 i have a soundcard Intel High DefiNition Audio and can`t find driver to
 make up... a generic HighDefinition driver was developed by NetBSD team,
 his name is Azalia. Is it possible run this NetBSD driver on FreeBSD,
 with adaptitons or something?

 More info about Azalia in
 http://netbsd.gw.com/cgi-bin/man-cgi?azalia++NetBSD-current

 Thanx for your attention,

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


Yes, it is possible. I think someone is working on it
already or at least seriously planning to work on it.
You can do it yourself, if you have some time and
some lust for glory (and for gratitude of course).

Opensound proprietary drivers will probably support
Azalia on FreeBSD soon.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Patch vs. Upgrade

2005-10-13 Thread David Kirchner
On 10/13/05, Andrew P. [EMAIL PROTECTED] wrote:
 I don't see a single reason why I shouldn't ask
 the BSD daemon to flame the hell out of you :-)

 Try again to verify. And again. Again then. And
 if you think that 5 times are enough, you might
 be right. But they are not enough for you.

You're right. Damn, I must have done the wrong thing. I upgraded to
RELENG_5 I guess. (It's hard to know, since the server panics when you
run reboot or shutdown -r, and is not immediately in front of me). I
screwed up.

The reason I thought the way I did was that I saw something like
'bsnmpd' show up in mergemaster, but it looks like that only arrives
when you upgrade to RELENG_5. Sorry Cody, sorry list.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Patch vs. Upgrade

2005-10-13 Thread Andrew P.
On 10/13/05, David Kirchner [EMAIL PROTECTED] wrote:
 On 10/13/05, Andrew P. [EMAIL PROTECTED] wrote:
  I don't see a single reason why I shouldn't ask
  the BSD daemon to flame the hell out of you :-)
 
  Try again to verify. And again. Again then. And
  if you think that 5 times are enough, you might
  be right. But they are not enough for you.

 You're right. Damn, I must have done the wrong thing. I upgraded to
 RELENG_5 I guess. (It's hard to know, since the server panics when you
 run reboot or shutdown -r, and is not immediately in front of me). I
 screwed up.

 The reason I thought the way I did was that I saw something like
 'bsnmpd' show up in mergemaster, but it looks like that only arrives
 when you upgrade to RELENG_5. Sorry Cody, sorry list.


No problem at all :-)

Maybe we can help you so that your server behaves
better. There are hundreds of techs subscribed to
this list, who eat headless servers for breakfast. If
you do have a problem, start a new thread, please.

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


Re: newbie ports question

2005-10-13 Thread Robert Huff

Andrew P. writes:

   ===  Installing for glib-2.6.6
   ===   glib-2.6.6 depends on file: /usr/local/bin/perl5.8.7 - found
   ===   glib-2.6.6 depends on executable: pkg-config - found
   ===   glib-2.6.6 depends on shared library: intl - found
   ===   Generating temporary packing list
   ===  Checking if devel/glib20 already installed
   ===   An older version of devel/glib20 is already installed
   (glib-2.8.3)
 You may wish to ``make deinstall'' and install this port again
 by ``make reinstall'' to upgrade it properly.
 If you really wish to overwrite the old port of devel/glib20
 without deleting it first, set the variable FORCE_PKG_REGISTER
 in your environment or the make install command line.
  
  I'd start with installing portupgrade, and trying to
  portupgrade -arR. I'm sure there's another solution,
  though.

Installing (and using) portupgrade is a good idea;
unfortunately, it will not stop you from getting bit by this problem
occasionally.
My quick fix:

pd /usr/ports/devel/glib20
make deinstall
make install
assuming in stall finished correctly make distclean
popd

(Assumes *csh as the shell.)


Robert Huff

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


gmirror insert question

2005-10-13 Thread Alban Hertroys
I can't seem to get gmirror insert to work. I have these partitions 
/dev/ad8s2d and /dev/ad10s2d that I want to mirror (among others). I 
did as follows (from single user mode):


$ gmirror label -v -b load var /dev/ad8s2d
$ gmirror insert var ad10s2d

But ad10s2d fails to synchronize (error 1), and the mirror stays 
degraded (even though there's only 1 partition in it; isn't that a bit 
odd?).


The exact output is (typed over from the console):

GEOM_MIRROR[1]: Adding disk ad10s2d to var.
GEOM_MIRROR[0]: Provider ad10s2d detected.
GEOM_MIRROR[0]: Device var: rebuilding provider ad10s2d.
GEOM_MIRROR[0]: Synchronization request failed (error=1). 
ad10s2d[WRITE(offset=0, length=131072)]

GEOM_MIRROR[0]: Device var: provider ad10s2d disconnected.
GEOM_MIRROR[0]: Device var: rebuilding provider ad10s2d stopped.
GEOM_MIRROR[1]: Consumer mirror/var destroyed.
GEOM_MIRROR[1]: Consumer ad10sd destroyed.

The same goes for /, /usr and /home. I'd like to get this working. In 
addition I would like to create some striped partitions in a similar 
way; for /tmp, /usr/obj and /usr/ports - I think those'll be run async 
w/o softupdates.


Any help appreciated.

Alban Hertroys  http://solfertje.student.utwente.nl
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 This person has performed an illegal operation
 and will be shot down.

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


Re: tcp_fsm.h: sending FIN or FIN+ACK in Closing state

2005-10-13 Thread Vishal M

Hi Chuck:

Thanks for your reply.

My question was basically related to Simultaneous
close case wherein both sides initiate a TCP close
almost at the same time, resulting in FINs crossing 
each other.

In FIN_WAIT1 state, on receiving FIN from the peer, we
transition into CLOSING state and send out an ACK.
My question was related to this ACK pkt. 

The RFC and Richard Stevens Vol-2 (pg 808) suggests
just sending an ACK whereas FreeBSD code (in
tcp_fsm.h) and also Stevens Vol-2 (pg 809) suggests
sending FIN+ACK. I am not clear on this...which is the
correct behavior? 

Could someone please give any pointers.

Thanks,
Vishal.

--- Chuck Swiger [EMAIL PROTECTED] wrote:

 Vishal M wrote:
  I have a question on Simulataneous TCP close.
  
  According to the TCP state machine mentioned in
  TCP/IP Illustrated - Vol 2, pg 806; TCP stack is
  supposed to just send out an ACK before
 transitioning
  into CLOSING state.
  
  However, according to tcp_outflags[] array shown
 on pg
  807, fig #24.16; the associated flags are FIN+ACK.
  
  I looked at 4.x FreeBSD codebase and it sends out
  FIN+ACK while transitioning to CLOSING state
 (inside
  tcp_outflags[] defined in tcp_fsm.h file).
  
  Question:
  - Could someone please let me know the correct
  behavior i.e should we send out just an ACK or
 FIN+ACK
  while transitioning into CLOSING state?
 
 The RFC suggests sending out bare FIN packets, but
 it is not required, and it 
 is more efficient to set the FIN in the last data
 packet you need to send to 
 flush the queue before closing, resulting in a
 FIN+ACK packet rather than two 
 packets.
 
 This is not directly connected to the notion of
 simultaneous TCP closing, 
 BTW.  :-)
 
 -- 
 -Chuck
 
 ___
 freebsd-questions@freebsd.org mailing list

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





__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems with cyrus-sasl2 port

2005-10-13 Thread fbsg

Hi all,

I'm in trouble with the sasl2 port. Calling saslpasswd2  I obtain 
allways the same error mesage :
   saslpasswd2: error deleting entry from sasldb: DB_NOTFOUND: No 
matching key/data pair found


#saslpasswd2 -c admin

I do a single test
If I delete the sasl database /usr/local/etc/sasldb2
saslpasswd2 create a new database file with the good access rights

According to the newsgroups mailing lists this is a hot topic,
can anyone help me?

Thanks


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


Re: distcc and cross-compiling for FreeBSD on Linux/Solaris

2005-10-13 Thread Andrew P.
Today i had success compiling:

firefox on Debian/i386 with
gcc version 3.4.5 20050821 (prerelease) (Debian 3.4.4-8)
(worked out-of-the-box)

squid on FC4/amd64 with
gcc version 4.0.1 20050727 (Red Hat 4.0.1-5)
(required CFLAGS+=-m32 in /etc/make.conf
on the distcc client)

Both firefox and squid work flawlessly on
FreeBSD/i386 6.0-BETA5.

My roadmap is to build world and kernel
on both Linuxes (with other gcc versions)
and then to try and do it all on Solaris 10,
sparc64.

Wish me luck :-)


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


Re: tcp_fsm.h: sending FIN or FIN+ACK in Closing state

2005-10-13 Thread Chuck Swiger

Vishal M wrote:
[ ... ]

My question was basically related to Simultaneous
close case wherein both sides initiate a TCP close
almost at the same time, resulting in FINs crossing 
each other.


Yes.  But it's not apparent that the way you can handle FIN is much different 
in this case versus that of only one side closing, they are considering that 
case for the sake of completeness in the RFC and Stevens.



In FIN_WAIT1 state, on receiving FIN from the peer, we
transition into CLOSING state and send out an ACK.
My question was related to this ACK pkt. 


The RFC and Richard Stevens Vol-2 (pg 808) suggests
just sending an ACK whereas FreeBSD code (in
tcp_fsm.h) and also Stevens Vol-2 (pg 809) suggests
sending FIN+ACK. I am not clear on this...which is the
correct behavior? 


Both are.

So long as you've received all of the sent data up through the FIN from the 
other side, and so long as you drain any unsent traffic on your side, it 
doesn't matter whether you send a FIN+ACK with the last data traffic or whether 
you ACK without a FIN, and then send a bare FIN seperately.


--
-Chuck

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


NFS hangs (client) when rebooted server tries to [re]mount filesystem

2005-10-13 Thread Brian J. McGovern
All,
I'm seeing an odd problem while using a FreeBSD system as a Solaris
jumpstart system. If I run a client box through the process, its fine the first
time. However, if there is an error, or I'm testing, subsequent passes 
hang up right around the time it should be trying to do an NFS mount. Rebooting
the server (FreeBSD 5.4) and restarting the jumpstart process on the client
cleans the issue up, and it runs through again (once) fine.

Upon running showmount localhost after a good pass, I see that the 
server is registered, even after its been booted, powered off for some time,
etc. I expect this is because its not properly doing a unmount. However, the
registration can persist for days.

I don't have the lock or stat daemons running (didn't see a need),
but that may be next on my things to do.

Has anyone seen this before? Is there a way to flush this list, or
see what may be causing the client to lock up? I've seen the notes in the
bootparams file about setting up an all-0s alias for SunOS broadcast, and have
done that, as well.

Suggestions?

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


Watchdog timeouts and motherboard

2005-10-13 Thread Eric Cho
I have been getting watchdog timeouts on one of my computers with
FreeBSD versions greater than 5.2.1-RELEASE. It originally had an old
nic (dc0) but I switched to a Netgear FA311 (sis0) but I still get
watchdog timeouts. When I boot with an install cd/floppies I tell it
to configure for DHCP, but in the second terminal I get some watchdog
timeouts, then it puts me into the configure screen without ip
address/etc filled in. When I input the values by hand it still
doesn't work. The cards themselves are fine as far as I know, because
they work alright in linux. Putting the nic in a different PCI slot
didn't seem to help either. There was a post on freebsd-hackers, I
think, that had a patch for some kernel code to fix this or a similar
problem, but that didn't help.

Could this problem have anything to do with the motherboard? Should I
try updating the bios? This is an x86 computer.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


stale NFS file handle

2005-10-13 Thread Chris Burchell
FreeBSD 5.3-RELEASE

I'm trying to connect to a Cygwin-based NFS server running on a remote
Windows server machine.

When I run (as root):

mkdir /some/dir
mount -t nfs foo.bar:/pub /some/dir

I do not get an error.  But when I cd to /some/dir I get an error
message that reads:

/some/dir: Stale NFS file handle.


Any suggestions on how to resolve this?  I have not been able to find
anything of help in the archives, and I'm not very familiar with the NFS
client options despite my RTFM of the manpage mount(8)

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


Upgrading to freebsd 5.4 STABLE from 5.3 kernel panic, what do i do to get data back?

2005-10-13 Thread Alex
Hello list!

I have been successfully been running 5.3 for a couple of weeks when i
decided i should upgrade to 5.4 stable. Now the make world went fine
except mergemaster complaining it couldn't find usr/src/etc or something
similar. I made make buildkernel wich also went fine. But when I booted
into my upgraded system I got kernel panic, so I made another restart
and this time it went ok.

Yestoday I removed SCSI card and DAT tape and NIC so I can have them in
my main server.

Now i cant get past this:

freebsd 5.4-stable

kernel trap 12 with interupts disabled

Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x9
fault code = supervisor write, page not present
instruction pointer = 0x8 :0xc077c073
stack pointer = 0x10 :0xc0c20d00
frame pointer = 0x10 :0xc0c20d0c
code segment = base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = resume, IOPL = 0
current process = 0 ()
trap number = 12
panic: page fault
Uptime: 1s

So my attack-plan is to reinstall system from scratch and never do make
buildworld  make buildkernel again, BUT, I have a whole lot of
information remaining on both disks that are in right now. From what I
could see in the installer, fbsd installer wont let me install in a
different directory with filesystem still intact like windows
doesor does it?

UPDATE:

I have now done what has been advised, to do boot kernel.old at the boot
loader prompt, and I get the same error...running out of options here...
:/

Please help! :)

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


2 keyboards, 2 mice, 2 monitors with 1 PC; possible?

2005-10-13 Thread Rob

Hi,

I'm using 5-Stable right now.

I wonder if FreeBSD allows me to have two
independent users working on the same PC,
by using two monitors, two keyboards and
two mice, all connected to a single PC.

xorg supports dual-head, which could be
a starting point.

But how about the keyboards and mice?
Should that be one keyboard/mouse pair as PS/2,
and a second pair as USB? How would that
be detected and controlled?

Is such a setup supported by the FreeBSD kernel?
Has someone tried this?

Regards,
Rob.






__ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: newbie ports question

2005-10-13 Thread Peter Matulis
 I'd start with installing portupgrade, and trying to
 portupgrade -arR. I'm sure there's another solution,
 though.

What is the use of specifying the 'r' switch when using the 'a'
switch?

# portupgrade -ar

Since all installed ports are targeted wouldn't installed ports that
depend on another installed port be upgraded anyway (if necessary)?

I understand the reasoning behind using the 'R' switch with 'a'
since
there may be new ports that are not installed that are required by
installed ports. 






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: newbie ports question

2005-10-13 Thread Gregory Nou

Andrew P. wrote:

On 10/13/05, makisupa [EMAIL PROTECTED] wrote:


I seem to be getting myself in trouble repeatedly...I'm sure someone can
help...

Fresh install of 6.0 RC1, gnome 2.12 from marcus's tb, freshly cvsupped
ports.  I need to install some little apps like gaim and pan.  when
running 'make install clean' for these ports i'll get a message that the
correct version of port X is not installed.  Problem is make says i need
a newer version but the version numbers indicate i've got a newer
version than what its looking for.  Then a little part about
'FORCE_PACKAGE_REGISTER.'  There is an example of this below this
message.  If i use this it will install the older version of the
dependencies or at least register them.  I say this on the last system
that i hosed...2 copies of the same package would be registered.  Not
good. How should i *properly* install these ports?  As in what's not
going to get me in trouble?


===  Installing for glib-2.6.6
===   glib-2.6.6 depends on file: /usr/local/bin/perl5.8.7 - found
===   glib-2.6.6 depends on executable: pkg-config - found
===   glib-2.6.6 depends on shared library: intl - found
===   Generating temporary packing list
===  Checking if devel/glib20 already installed
===   An older version of devel/glib20 is already installed
(glib-2.8.3)
 You may wish to ``make deinstall'' and install this port again
 by ``make reinstall'' to upgrade it properly.
 If you really wish to overwrite the old port of devel/glib20
 without deleting it first, set the variable FORCE_PKG_REGISTER
 in your environment or the make install command line.
*** Error code 1

Stop in /usr/ports/devel/glib20.
*** Error code 1

Stop in /usr/ports/accessibility/atk.
*** Error code 1

Stop in /usr/ports/textproc/gtkspell2.
*** Error code 1

Stop in /usr/ports/net/gaim.


Thanks for the help.  Loving my BSD laptop so far...just straightening
some things out.

/mak.

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




I'd start with installing portupgrade, and trying to
portupgrade -arR. I'm sure there's another solution,
though.


I would suggest installing every port with :
portinstall -vRP directory_of_the_port/name_of_the_port

e.g. portinstall -vRP net/gaim

That will update all needed ports when necessary, fetching a precompiled 
version, or if not possible, downloading and compiling it from source. 
As I like verbosity, I put the -v.


Hope it helps,

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


sh Scripting - String Manipulation

2005-10-13 Thread Drew Tomlinson
I'm working on a script that reads a directory using 'find' and its 
'-exec' primary to create a symlink to the file.  So for example, I have 
the following command:


find /multimedia/Pictures -iname *.jpg -print

This command returns a bunch of filenames.  Here's an example of one:

/multimedia/Pictures/2005 Kimberly  Rich/IMG_1210.JPG

What I'd like to is get '-exec' to run this command:

ln -s /multimedia/Pictures/2005 Kimberly  Rich/IMG_1210.JPG 2005 
Kimberly  Rich/IMG_1210.JPG


What is the best way to manipulate this string?  And then what is the 
right syntax for -exec?  I'm an extreme newbie when it comes to shell 
scripting.  Will this work?  Are the better ways to do this than using 
find.


Thanks for your help,

Drew

--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books,  More!

http://www.alchemistswarehouse.com

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


Re: newbie ports question

2005-10-13 Thread makisupa
On Thu, 2005-10-13 at 14:21 -0400, Robert Huff wrote:
 Andrew P. writes:
 
===  Installing for glib-2.6.6
===   glib-2.6.6 depends on
file: /usr/local/bin/perl5.8.7 - found
===   glib-2.6.6 depends on executable: pkg-config -
found
===   glib-2.6.6 depends on shared library: intl - found
===   Generating temporary packing list
===  Checking if devel/glib20 already installed
===   An older version of devel/glib20 is already
installed
(glib-2.8.3)
  You may wish to ``make deinstall'' and install this
port again
  by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of
devel/glib20
  without deleting it first, set the variable
FORCE_PKG_REGISTER
  in your environment or the make install command
line.
   
   I'd start with installing portupgrade, and trying to
   portupgrade -arR. I'm sure there's another solution,
   though.

What good will portupgrade it do here?  Obviously I must not
properly understand what its doing...but in the error message I
have a newer version of the dependency than the port calls for
and the port misidentifies this.  If there was a newer port of
say 'pan' that had newer dependencies .. ie. the one's i already
have than i'd be golden.  But why wouldn't cvsup'ing take care
of that?  Like i said...you're dealing with a newb here.  I am
obviously missunderstanding something...
 
   Installing (and using) portupgrade is a good idea;
 unfortunately, it will not stop you from getting bit by this
problem
 occasionally.
   My quick fix:
 
   pd /usr/ports/devel/glib20
   make deinstall
   make install
   assuming in stall finished correctly make distclean
   popd
   
   (Assumes *csh as the shell.)
 
 
   Robert Huff
 
Can we teach a man to fish here?  I with you until after
'deinstall'. What does make distclean and popd do?  Googled a
bit and got unsatisfactory answers. I am simply using the
default shell.  This is how i got in trouble before...make
deinstall and then make install clean of glib20.  Then gnome
will be unable to start complaining of missing a libgtk.so.o
file (that's not the exact name).  Since there was a new rc1 and
i was just experimenting i blew the install away and went with
the new.  I'm not too keen on doing that again...

Thanks again,
Mak.

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



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


Re: Mysql server not able to stay running on anything but Linux?

2005-10-13 Thread Chad Leigh -- Shire.Net LLC


On Oct 12, 2005, at 2:16 PM, NMH wrote:


 Hi
  I am stuck with a delema and I feel like a damn
troll. But.. I have a Mysql Database that I posted
about earlier. It seems that it is only able to not
die by running on BSD 4.11 with Linux Threads. My boss
is convinced this means that Linux is better for MySQL
and wants that installed now.
 We even got a support contact from Mysql that so far
has gotten us nothing for almost a month while our
production database server died up to 3 times a day.
(and lots of we're looking into it's)



does the mysql error log have anything of interest in it related to  
the crashes?


in your mysl/var dir ending in .err

Chad


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[EMAIL PROTECTED]


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


MySQL crashes on amd64 (was: Moving down from amd64 to i386 ??)

2005-10-13 Thread Greg 'groggy' Lehey
[Sequence recovered--see http://www.lemis.com/email/email-format.html]

On Thursday, 13 October 2005 at 17:56:11 +0200, Stefan Cars wrote:
 Greg 'groggy' Lehey wrote:
 On Wednesday, 12 October 2005 at  9:27:17 +0200, Stefan Cars wrote:

 Hi!

 We are having troubles with MySQL 4.1 on a amd64 (it's crashing
 randomly with Seg fault, signal 11. gdb bt says: Cannot access
 memory at address 0x8000). We have got information saying
 this is a 64bit related issue and should be fixed by using the i386
 version instead of amd64 (this is an Intel Xeon).

 Where did you get that information from?

I'd still like to know an answer to this question.

 What is the way to go when moving from amd64 to i386 ?

 If you mean how do I install an i386 kernel on this machine, I can't
 think of any way except to start from scratch.  It would be a good
 idea to install a separate disk, so you can access the configuration
 files and the database on the old disk.  But before doing this, I'd be
 very interested in knowing what the problem is.  Is the backtrace
 always the same?  Where does it crash?

 After doing some testing this is what I found out:

 1) Exchanging memory on the machine did not work. Same error.
 2) Trying it on another 64 bit machine with same FreeBSD (RC1) creates
 EXACT same problem
 3) Installing the i386 version of RC1 instead of amd64 on the same
 machines and it works terrific. No crash.

Hmm.  That's interesting.  This is obviously not a hardware issue.

 The bt is always the same and it always crash the same, look here:

 #784 0x in ?? ()
 #785 0x247c8d48002454ff in ?? ()
 #786 0x01a1c0c748006a10 in ?? ()
 #787 0x66fdebf4050f in ?? ()
 #788 0x90909066 in ?? ()
 #789 0x7fffe778 in ?? ()
 #790 0x0006 in ?? ()
 #791 0x7fffe7b0 in ?? ()
 #792 0x0017 in ?? ()
 Cannot access memory at address 0x8000

Without function names instead of ??, it's impossible to say what's
happening here.  You'd need to build with debug symbols.

Since you've been told that this is an issue, it would be good to know
more.  As we've mentioned on other threads, there are reasons to
believe that there are problems with the threading libraries, but
currently we don't have enough information to investigate them.  Note
that the other recent thread refers to problems running in the
configuration you have just installed: see
http://bugs.mysql.com/bug.php?id=12251 for more details.  If you see
anything similar, please let us know.

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


pgpFPIYmROwPT.pgp
Description: PGP signature


dvdauthor on 5.4

2005-10-13 Thread Dave

Hello,
I'm trying to make a dvd video under 5.4 on an i386 system. When i give the 
command:

dvdauthor -o outputdir -t filename.mpg
i get a core dump. This has happened twice and i'm hoping it is not a sign 
of failing memory as this box has expensive ram.
   Basically i'm trying to make a dvd video out of two files, one video 
being an .avi file the other an .mpg file, neither is working.

Thanks.
Dave.

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


Re: 2 keyboards, 2 mice, 2 monitors with 1 PC; possible?

2005-10-13 Thread Greg 'groggy' Lehey
On Thursday, 13 October 2005 at 14:21:44 -0700, Rob wrote:

 I'm using 5-Stable right now.

 I wonder if FreeBSD allows me to have two independent users working
 on the same PC, by using two monitors, two keyboards and two mice,
 all connected to a single PC.

 xorg supports dual-head, which could be
 a starting point.

 But how about the keyboards and mice?
 Should that be one keyboard/mouse pair as PS/2,
 and a second pair as USB? How would that
 be detected and controlled?

 Is such a setup supported by the FreeBSD kernel?
 Has someone tried this?

I've certainly used multiple monitors, multiple mice and a single
keyboard in a single user environment, and that works fine.  I've also
run multiple X servers on the same machine.  X configuration allows
you to specify which device to use.  The only part I'm hazy about is
how to map the keyboard definition to hardware devices.  Looking at
/dev, however, I see:

  crw---  1 root  wheel3,  63 Sep 11 15:52 /dev/kbd0
  crw---  1 root  wheel3,  31 Sep 11 15:52 /dev/sysmouse

I just tried plugging in a USB keyboard and got this:

  crw---  1 root  wheel3,  63 Sep 11 15:52 /dev/kbd0
  crw---  1 root  wheel3, 195 Sep 11 15:52 /dev/kbd1
  crw---  1 root  wheel3,  31 Sep 11 15:52 /dev/sysmouse

(yes, the date *must* be wrong).  This looks very promising, but as
long as it was plugged in, X only responded to /dev/kbd1.  When I
disconnected it, /dev/kbd0 responded again.  So possibly there's some
issue with the keyboard mapping.

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


pgpj5WzXVsokJ.pgp
Description: PGP signature


Re: sh Scripting - String Manipulation

2005-10-13 Thread Kirk Strauser
On Thursday 13 October 2005 06:04 pm, Drew Tomlinson wrote:

 What I'd like to is get '-exec' to run this command:

 ln -s /multimedia/Pictures/2005 Kimberly  Rich/IMG_1210.JPG 2005
 Kimberly  Rich/IMG_1210.JPG

The easiest way I've found is to simply change into /multimedia/Pictures 
before running find, then refer ln back to your original directory.

Say that you want the links to be made inside /home/drew .  Instead of running 
find from their, do:

$ cd /multimedia/Pictures
$ find -iname '*.jpg' -exec ln -s {} /home/drew

There - you've removed any need for string manipulation with a simple cd.
-- 
Kirk Strauser


pgphjbvRhfxKN.pgp
Description: PGP signature


Xauth / gnome error

2005-10-13 Thread James S Blankenship
I keep getting this error when gnome starts could not
lookup address .ontrca.adelphia.net  and when I
shutdown X I get the error: Xauth bad display name
.ontrca.adelphia.net:0 in remove command.  I tried
changing /etc/hosts from the default
localhost.my.domain to localhost.ontrca.adelphia.net
http://localhost.ontrca.adelphia.net,
but have the same error.  Do you know how I might
remedy this?

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


Re: 2 keyboards, 2 mice, 2 monitors with 1 PC; possible?

2005-10-13 Thread Rob


--- Greg 'groggy' Lehey [EMAIL PROTECTED] wrote:

 On Thursday, 13 October 2005 at 14:21:44 -0700, Rob
 wrote:
 
  I'm using 5-Stable right now.
 
  I wonder if FreeBSD allows me to have two
  independent users working
  on the same PC, by using two monitors, two
  keyboards and two mice,
  all connected to a single PC.
 
  xorg supports dual-head, which could be
  a starting point.
 
  But how about the keyboards and mice?
  Should that be one keyboard/mouse pair as PS/2,
  and a second pair as USB? How would that
  be detected and controlled?
 
  Is such a setup supported by the FreeBSD kernel?
  Has someone tried this?
 
 I've certainly used multiple monitors, multiple mice
 and a single
 keyboard in a single user environment, and that
 works fine.  I've also
 run multiple X servers on the same machine.  X
 configuration allows
 you to specify which device to use.  The only part
 I'm hazy about is
 how to map the keyboard definition to hardware
 devices.  Looking at
 /dev, however, I see:
 
   crw---  1 root  wheel3,  63 Sep 11 15:52
 /dev/kbd0
   crw---  1 root  wheel3,  31 Sep 11 15:52
 /dev/sysmouse
 
 I just tried plugging in a USB keyboard and got
 this:
 
   crw---  1 root  wheel3,  63 Sep 11 15:52
 /dev/kbd0
   crw---  1 root  wheel3, 195 Sep 11 15:52
 /dev/kbd1
   crw---  1 root  wheel3,  31 Sep 11 15:52
 /dev/sysmouse
 
 (yes, the date *must* be wrong).  This looks very
 promising, but as
 long as it was plugged in, X only responded to
 /dev/kbd1.  When I
 disconnected it, /dev/kbd0 responded again.  So
 possibly there's some
 issue with the keyboard mapping.

Thanks so much for the helpful response.
Sounds good indeed, though I myself have to dig a
bit deeper into the technical and configurational
aspects of all this.
I asked here first, because I wanted to avoid to
run against the impossible when I will be trying
to understand and actually do these kind of things.

When googled on this issue, I got only Linux
related sites . The main issue there appears to
be that the standard kernel can only handle one
single keyboard. A not-so-trivial hack to the
Linux kernel is needed for two keyboards

Does your observation above tell me that the
standard FreeBSD kernel (as of 5-Stable) is
already capable of handling more than one
keyboard?

Regards,
Rob.




__ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xauth / gnome error

2005-10-13 Thread Joe Marcus Clarke
On Thu, 2005-10-13 at 19:04 -0700, James S Blankenship wrote:
 I keep getting this error when gnome starts could not
 lookup address .ontrca.adelphia.net  and when I
 shutdown X I get the error: Xauth bad display name
 .ontrca.adelphia.net:0 in remove command.  I tried
 changing /etc/hosts from the default
 localhost.my.domain to localhost.ontrca.adelphia.net
 http://localhost.ontrca.adelphia.net,
 but have the same error.  Do you know how I might
 remedy this?

See http://www.freebsd.org/gnome/docs/faq2.html#q20 for what you need to
do to fix the hostname resolution issues for GNOME.

Joe
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


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


Re: Xauth / gnome error

2005-10-13 Thread James S Blankenship
Thanks. Pardon me if this is a stupid question, but I don't know what my
machines host name is; I used DHCP during installation, and believe that it
may have been named .ontrca.adelphia.net by default. How can I determine the
localhost name and/or change it? Otherwise, you've provided me with great
information with the gnome doc.

Regards,
James

On 10/13/05, Joe Marcus Clarke [EMAIL PROTECTED] wrote:

 On Thu, 2005-10-13 at 19:04 -0700, James S Blankenship wrote:
  I keep getting this error when gnome starts could not
  lookup address .ontrca.adelphia.net and when I
  shutdown X I get the error: Xauth bad display name
  .ontrca.adelphia.net:0 in remove command. I tried
  changing /etc/hosts from the default
  localhost.my.domain to 
  localhost.ontrca.adelphia.nethttp://localhost.ontrca.adelphia.net
  http://localhost.ontrca.adelphia.net,
  but have the same error. Do you know how I might
  remedy this?

 See http://www.freebsd.org/gnome/docs/faq2.html#q20 for what you need to
 do to fix the hostname resolution issues for GNOME.

 Joe
 --
 PGP Key : http://www.marcuscom.com/pgp.asc



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


Re: Xauth / gnome error

2005-10-13 Thread Joe Marcus Clarke
On Thu, 2005-10-13 at 19:34 -0700, James S Blankenship wrote:
 Thanks. Pardon me if this is a stupid question, but I don't know what my
 machines host name is; I used DHCP during installation, and believe that it
 may have been named .ontrca.adelphia.net by default. How can I determine the
 localhost name and/or change it? Otherwise, you've provided me with great
 information with the gnome doc.

The hostname command will tell you your hostname.  You can change it
with the same command, and set it permanently in /etc/rc.conf.  See the
man pages for hostname(1) and rc.conf(5) for more details.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc


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


Re: 2 keyboards, 2 mice, 2 monitors with 1 PC; possible?

2005-10-13 Thread Micah

Rob wrote:


--- Greg 'groggy' Lehey [EMAIL PROTECTED] wrote:



On Thursday, 13 October 2005 at 14:21:44 -0700, Rob
wrote:


I'm using 5-Stable right now.

I wonder if FreeBSD allows me to have two
independent users working
on the same PC, by using two monitors, two
keyboards and two mice,
all connected to a single PC.

xorg supports dual-head, which could be
a starting point.

But how about the keyboards and mice?
Should that be one keyboard/mouse pair as PS/2,
and a second pair as USB? How would that
be detected and controlled?

Is such a setup supported by the FreeBSD kernel?
Has someone tried this?


I've certainly used multiple monitors, multiple mice
and a single
keyboard in a single user environment, and that
works fine.  I've also
run multiple X servers on the same machine.  X
configuration allows
you to specify which device to use.  The only part
I'm hazy about is
how to map the keyboard definition to hardware
devices.  Looking at
/dev, however, I see:

 crw---  1 root  wheel3,  63 Sep 11 15:52
/dev/kbd0
 crw---  1 root  wheel3,  31 Sep 11 15:52
/dev/sysmouse

I just tried plugging in a USB keyboard and got
this:

 crw---  1 root  wheel3,  63 Sep 11 15:52
/dev/kbd0
 crw---  1 root  wheel3, 195 Sep 11 15:52
/dev/kbd1
 crw---  1 root  wheel3,  31 Sep 11 15:52
/dev/sysmouse

(yes, the date *must* be wrong).  This looks very
promising, but as
long as it was plugged in, X only responded to
/dev/kbd1.  When I
disconnected it, /dev/kbd0 responded again.  So
possibly there's some
issue with the keyboard mapping.



Thanks so much for the helpful response.
Sounds good indeed, though I myself have to dig a
bit deeper into the technical and configurational
aspects of all this.
I asked here first, because I wanted to avoid to
run against the impossible when I will be trying
to understand and actually do these kind of things.

When googled on this issue, I got only Linux
related sites . The main issue there appears to
be that the standard kernel can only handle one
single keyboard. A not-so-trivial hack to the
Linux kernel is needed for two keyboards

Does your observation above tell me that the
standard FreeBSD kernel (as of 5-Stable) is
already capable of handling more than one
keyboard?

Regards,
Rob.


Check out 
http://www.google.com/search?hl=enlr=as_qdr=allq=+site:lists.freebsd.org+freebsd+multiple+keyboards

A few minutes of reading suggests:
FreeBSD recognizes multiple keyboards.
Console can only accept input from one keyboard at a time.
You can read input from the keyboard that is not in use.
Setting up X may be tricky.

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


Re: FreeBSD 5.4-STABLE / 6.0 audio drivers for Intel 82801FB/FR/FW/FRW Intel High Deficition Audio Controller

2005-10-13 Thread Miles Keaton
 After spending a few years with FreeBSD, you'll learn to
 actually check if a piece of hardware is supported
 before buying it.
 One of the most popular points against FreeBSD is
 hardware support. Taking into account the fact
 that many local PC/server vendors try to assemble
 boxes using bleeding-edge hardware, and most
 people blindly buy it, there's no wonder to that.


I dunno... I gotta disagree.  I've been with FreeBSD for 5 years now
and this is the first time I've ever found it not supporting some
hardware.

I had eventually come to the conclusion that FreeBSD seems to support
EVERYTHING under the sun, and that people who thought otherwise were
just going on outdated info.

Maybe I've just never been bleeding-edge before.  :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Strange problem with MacOS 9 and isc-dhcpd

2005-10-13 Thread J. Seth Henry
I realize this is probably not really a FreeBSD question, but I was hoping
someone had seen this before.

 

I am running isc-dhcpd 3.0.1.r14_6 on a FreeBSD 4.11-REL machine. This box
also serves as the primary gateway router and firewall (and general network
services machine).

 

All of my *nix and Windows machines get IP's just fine from the DHCP server,
but for some reason, my G3 Mac running Mac OS 9.2.2 won't get its reserved
address.

 

Although I use DHCP, I have assigned each machine (MAC address) a fixed IP 
DNS entry. The DHCP server is to simplify maintenance. So, for example, the
file server uses DHCP, but is always mapped to 192.168.1.2. The Mac,
however, is either refused, or refuses to take its preset address, and ends
up obtaining one in the guest pool.

 

I can upgrade to Mac OS X.2, but have been hesitant, as this is an older
machine with only built-in video. I also hate to sink any more money into
such an old system. I could just statically map the address, but that would
defeat the purpose of the DHCP server - which was to avoid hardcoding
network settings.

 

Is there a way to sweet talk either the DHCP server, or the Mac, into taking
the reserved address?

 

Thanks!

-Seth

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


Re: Strange problem with MacOS 9 and isc-dhcpd

2005-10-13 Thread Kris Anderson
Grrr, darn Google, sorry for the top posting.
 
Check is out and read about the dhcp bug and see if it affects you.
http://www.macwindows.com/MacOS9.html
 

J. Seth Henry [EMAIL PROTECTED] wrote:

I realize this is probably not really a FreeBSD question, but I was hoping
someone had seen this before.



I am running isc-dhcpd 3.0.1.r14_6 on a FreeBSD 4.11-REL machine. This box
also serves as the primary gateway router and firewall (and general network
services machine).



All of my *nix and Windows machines get IP's just fine from the DHCP server,
but for some reason, my G3 Mac running Mac OS 9.2.2 won't get its reserved
address.



Although I use DHCP, I have assigned each machine (MAC address) a fixed IP 
DNS entry. The DHCP server is to simplify maintenance. So, for example, the
file server uses DHCP, but is always mapped to 192.168.1.2. The Mac,
however, is either refused, or refuses to take its preset address, and ends
up obtaining one in the guest pool.



I can upgrade to Mac OS X.2, but have been hesitant, as this is an older
machine with only built-in video. I also hate to sink any more money into
such an old system. I could just statically map the address, but that would
defeat the purpose of the DHCP server - which was to avoid hardcoding
network settings.



Is there a way to sweet talk either the DHCP server, or the Mac, into taking
the reserved address?


-
 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sh Scripting - String Manipulation

2005-10-13 Thread Paul Schmehl
--On October 13, 2005 4:04:45 PM -0700 Drew Tomlinson 
[EMAIL PROTECTED] wrote:



I'm working on a script that reads a directory using 'find' and its
'-exec' primary to create a symlink to the file.  So for example, I have
the following command:


find /multimedia/Pictures -iname *.jpg -print | cut -d'/' -f4

You'll have to play with the field value (-f) to get the right location, 
but this would return only the filename.


This command returns a bunch of filenames.  Here's an example of one:

/multimedia/Pictures/2005 Kimberly  Rich/IMG_1210.JPG

What I'd like to is get '-exec' to run this command:


I don't understand what you're trying to do here.


ln -s /multimedia/Pictures/2005 Kimberly  Rich/IMG_1210.JPG 2005
Kimberly  Rich/IMG_1210.JPG

Are you trying to create symlinks in a different directory?  If so, why not 
do this?


ln -s dir1/ dir2/

Then, when you add new files to dir1/ they will automatically show up in 
dir2/ because the dir is symlinked rather than the individual files.


What exactly are you trying to accomplish?

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 6.0 What's new

2005-10-13 Thread Vampire D
Anyone know where I can find such a file, I have been digging all over
freebsd.org http://freebsd.org and I can't find any mention to what is new
in this release.

--
Do the actors on Unsolved Mysteries ever get arrested because they look
just like the criminal they are playing?

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


Re: FreeBSD 6.0 What's new

2005-10-13 Thread Kris Anderson


--- Vampire D [EMAIL PROTECTED] wrote:

 Anyone know where I can find such a file, I have
 been digging all over
 freebsd.org http://freebsd.org and I can't find
 any mention to what is new
 in this release.

Check here:
http://www.freebsd.org/relnotes.html

Look for 6.0.

Hope that helps.




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.0 What's new

2005-10-13 Thread Kevin Kinsey

Vampire D wrote:


Anyone know where I can find such a file, I have been digging all over
freebsd.org http://freebsd.org and I can't find any mention to what is new
in this release.

 



Apart from the releng team's material, pretty good read here:

   http://www.osnews.com/story.php?news_id=10951

Found, interestingly enough, by entering new features for FreeBSD 6.0
into a fairly well-known search engine ;-)

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


Re: newbie ports question

2005-10-13 Thread Andrew P.
On 10/14/05, makisupa [EMAIL PROTECTED] wrote:
 What good will portupgrade it do here?  Obviously I must not
 properly understand what its doing...but in the error message I
 have a newer version of the dependency than the port calls for
 and the port misidentifies this.  If there was a newer port of
 say 'pan' that had newer dependencies .. ie. the one's i already
 have than i'd be golden.  But why wouldn't cvsup'ing take care
 of that?  Like i said...you're dealing with a newb here.  I am
 obviously missunderstanding something...


You'll want to look through ports manpage. It only takes
a minute to read, but saves you a lifetime of questions.

As I understand, you're dealing with kind of bug in
glib20 port. You might be lucky enough so that
portupgrade will get over it - and fix everything.

By the way, did you update the INDEX files in
/usr/ports? Run portsdb -uUF to fetch and install a
fresh index. Do it every time after cvsupping your
ports tree.

For now, try:

# cd /usr/ports/sysutils/portupgrade
# make install
If it fails, post the errors here, please
# cvsup -g -L 2 your-ports-supfile
# portsdb -uUF
# portversion -l\
Show's what's outdated
# portupgrade -arR
Tries to upgrade what's outdated
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dvdauthor on 5.4

2005-10-13 Thread Mark Kane

Dave wrote:

Hello,
I'm trying to make a dvd video under 5.4 on an i386 system. When i give 
the command:

dvdauthor -o outputdir -t filename.mpg
i get a core dump. This has happened twice and i'm hoping it is not a 
sign of failing memory as this box has expensive ram.
   Basically i'm trying to make a dvd video out of two files, one video 
being an .avi file the other an .mpg file, neither is working.

Thanks.
Dave.


You might try man dvdauthor or Google for dvdauthor documentation. The 
function of dvdauthor is to take MPEG-2 PS files and turn them into a 
format that you can write to a DVD. This means that you can't use AVI 
files with dvdauthor. You must first convert those avi's to the proper 
MPEG-2 PS format. For this I use a GUI tool on my desktop machine called 
Avidemux. You could also use ffmpeg or mencoder though.


Once you have it in MPEG-2 PS, THEN you use dvdauthor to make the DVD 
video files. An example command would be:


% dvdauthor -f filename.mpg -o DVD -t

I don't think this core dumping has to do with RAM. I think the program 
is just crashing when you give it invalid input files. If you do get 
proper MPEG-2 files into dvdauthor and it still dumps like that, I would 
contact the dvdauthor people and help them debug it. I run dvdauthor on 
5.4 (amd64) without any problems.


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