The FreeBSD Diary: 2004-11-07 - 2004-11-27

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


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

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


Re: Custom Kernel

2004-11-28 Thread Joshua Tinnin
On Saturday 27 November 2004 11:49 pm, Rem Roberti [EMAIL PROTECTED] 
wrote:
Joshua Tinnin wrote:

 On Saturday 27 November 2004 11:27 pm, Rem Roberti
 [1][EMAIL PROTECTED] wrote:


 I sent this message to Joshua back channel, and realized that I should
 have also sent it to the group.

 Rem

 

 Thanks, Joshua. Here's the requested stuff, starting with the output of
 uname -a:

 snip

 Next, the configuration file itself:

 #
 # GENERIC -- Generic kernel configuration file for FreeBSD/i386

 snip

 # PCI Ethernet NICs that use the common MII bus controller code.
 # NOTE: Be sure to keep the 'device miibus' line in order to use these
 NICs!
 #device miibus # MII bus support
 

 snip

 device vr # VIA Rhine, Rhine II

 snip

 Finally, the error message:

 snip

 ../../../dev/usb/if_aue.c:105:23: miibus_if.h: No such file or directory


 OK, you need to uncomment the device miibus line (marked above). It has to
 be enabled if you want to enable VIA Rhine support, which you have in your
 config.

 - jt


No dice.  I made the change to the file, uncommenting the device
miibus line, and I receive the same error message.
Rem

Hmmm ... well, what, exactly, are you typing when you build the kernel? Also, 
are you sure you changed the correct config file (for instance, in the 
handbook it instructs you how to make a symbolic link to a file in another 
location)? If you made a symbolic link and have your original file somewhere 
else, does ls -l /usr/src/sys/i386/conf show the link going to the correct 
file? I know these might sound like silly questions, but I'm not at all sure 
what could be causing this otherwise.

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


maestro3 sound problem on Dell Inspiron 4000

2004-11-28 Thread Jason W. Barnes

I have been unable to get sound to work on my Dell Inspiron 4000
under FreeBSD 5.3.  Until last Tuesday I was running 4-STABLE, under which
sound would work, but only after I had put the computer to sleep (zzz),
and then brought it back up.  Before that, any attempt to play sound
resulted in an application that thought it was playing sound, but no
actual audio emanations from the laptop.
Under 5.3, I have the snd_maestro3_load=YES in my loader.conf,
and a kldstat confirms that maestro3 and its attendant modules are indeed
loaded and seem to be functioning.  Here's an output of /dev/sndstat:

FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: ESS Technology Maestro3 at io 0xd800 irq 5 kld snd_maestro3 (4p/1r/0v 
channels duplex default)

I have tried the same sleep trick that worked in 4-STABLE to
recover sound usage, but it does not work in this case, even though the
computer's sleep and recovery therefrom seem normal.  When the computer
first boots, it emits a loud beep, implying that the sound *is* working at
initial bootup, but must be messed up later in the boot process.
I have become quite exasperated with this problem.  I was
wondering if any of you out there in mailing-list-land might have
encountered a similar problem, or have any ideas as to what I might try to
fix my issue.  For reference I have included a copy of dmesg below my
signature.
Thanks in advance for any help you might have,

- Jason Barnes

Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.3-RELEASE #1: Sun Nov 28 00:18:14 MST 2004
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/tc14.2004.Nov.25
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel Pentium III (701.59-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x686  Stepping = 6
  
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real memory  = 268353536 (255 MB)
avail memory = 252932096 (241 MB)
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: DELL CPi R   on motherboard
Timecounter ACPI-safe frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
cpu0: ACPI CPU (2 Cx states) on acpi0
acpi_tz0: Thermal Zone on acpi0
acpi_acad0: AC Adapter on acpi0
acpi_cmbat0: Control Method Battery on acpi0
acpi_cmbat1: Control Method Battery on acpi0
acpi_lid0: Control Method Lid Switch on acpi0
acpi_button0: Power Button on acpi0
acpi_button1: Sleep Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel 82443BX (440 BX) host to PCI bridge mem 0xf400-0xf7ff at 
device 0.0 on pci0
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
cbb0: TI1420 PCI-CardBus Bridge at device 3.0 on pci0
cardbus0: CardBus bus on cbb0
pccard0: 16-bit PCCard bus on cbb0
cbb1: TI1420 PCI-CardBus Bridge at device 3.1 on pci0
cardbus1: CardBus bus on cbb1
pccard1: 16-bit PCCard bus on cbb1
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 UDMA33 controller port 
0x860-0x86f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0xdce0-0xdcff irq 11 at 
device 7.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: bridge, PCI-unknown at device 7.3 (no driver attached)
pcm0: ESS Technology Maestro3 port 0xd800-0xd8ff mem 0xf3ffe000-0xf3ff 
irq 5 at device 8.0 on pci0
pcm0: failed: rid 0x10 is ioport, requested 3
pcm0: [GIANT-LOCKED]
pcm0: SigmaTel STAC9721/23 AC97 Codec
pci0: simple comms at device 16.0 (no driver attached)
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
fdc0: floppy drive controller (FDE) port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on 
acpi0
fdc0: [FAST]
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
orm0: ISA Option ROM at iomem 0xc-0xc on isa0
pmtimer0 on isa0
ppc0: parallel port not found.
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter TSC frequency 701593381 Hz quality 800
Timecounters tick every 10.000 msec
ndis0: Wireless-G Notebook Adapter mem 

Re: Custom Kernel

2004-11-28 Thread Rem Roberti
Okay, it turns out that I was editing the wrong file. Instead of editing 
the configuration file that was in the /etc/src/sys/i386/conf directory, 
I was editing the configuration file that I had redirected to a new 
directory, as indicated by the handbook. I guess I was under the 
impression (newbie!) that having created a symbolic link somehow allowed 
me to edit the redirected file. Anyway, once I edited the correct 
configuration file I was able to go ahead with the compilation and the 
install. Everything worked perfectly, and the system rebooted without 
incident---and faster.

Rem

Rem Roberti wrote:
Joshua Tinnin wrote:
On Saturday 27 November 2004 11:27 pm, Rem Roberti [EMAIL PROTECTED] 
wrote:
 

I sent this message to Joshua back channel, and realized that I should
have also sent it to the group.
Rem

Thanks, Joshua. Here's the requested stuff, starting with the output of
uname -a:
   

snip
 

Next, the configuration file itself:
#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
   

snip
 

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these
NICs!
#device miibus # MII bus support
   


snip
 

device vr # VIA Rhine, Rhine II
   

snip
 

Finally, the error message:
   

snip
 

../../../dev/usb/if_aue.c:105:23: miibus_if.h: No such file or directory
   

OK, you need to uncomment the device miibus line (marked above). It has to be 
enabled if you want to enable VIA Rhine support, which you have in your 
config.

- jt
 


No dice. I made the change to the file, uncommenting the device miibus 
line, and I receive the same error message.

Rem

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


installing gcc in 5.3 Release

2004-11-28 Thread [EMAIL PROTECTED]
Dear Fellows,
I have installed FreeBSD 5.3 Release!
I tried to run an executable from Linux. 
In linux this files takes: 3442 milliseconds to run. //g++-3.4.3
In freebsd it needs  : 5992 milliseconds to run. 

So I tried to recompile the file in freebsd 
and it also needed 5992 milliseconds to run.
But it was compiled with the native compiler g++-3.4.2 of freebsd 5.3.
So I decided to install from source gcc-3.4.3 in /usr/local in FreeBSD.
This is something which is a routine since I have done it millions of times in 
Linux! The commands I used are the following:

#cd /usr/local
#mkdir GCC-3.4.3
#tar xvjf gcc-3.4.3.tar.bz2
#cd GCC-3.4.3
# ../gcc-3.4.3/configure --prefix=/usr/local/GCC-3.4.3/ --program-suffix=-3.4.3 
--enable-languages=c,c++,f77

This was complited without any problems!!!
The build command though,

#make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 
-fno-implicit-templates' bootstrap-lean

broke when the program was trying to run 
byacc. The error message showed that it didn't recognized 
byacc --something! It reported:
error, usage: yacc .

So I think that byacc has different syntax in freebsd! 

Does anybody know how to fix that?

Thanks in advance!
Drosos.




_
http://www.mailbox.gr ÁðïêôÞóôå äùñåÜí ôï ìïíáäéêü óáò e-mail.
http://www.thesuperweb.gr Website ìå ÁóöáëÝò Controlpanel áðü 6 Euro êáé äþñï 
ôï domain óáò!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


installing gcc in 5.3 Release

2004-11-28 Thread [EMAIL PROTECTED]
Dear Fellows,
I have installed FreeBSD 5.3 Release!
I tried to run an executable from Linux. 
In linux this files takes: 3442 milliseconds to run. //g++-3.4.3
In freebsd it needs  : 5992 milliseconds to run. 

So I tried to recompile the file in freebsd 
and it also needed 5992 milliseconds to run.
But it was compiled with the native compiler g++-3.4.2 of freebsd 5.3.
So I decided to install from source gcc-3.4.3 in /usr/local in FreeBSD.
This is something which is a routine since I have done it millions of times in 
Linux! The commands I used are the following:

#cd /usr/local
#mkdir GCC-3.4.3
#tar xvjf gcc-3.4.3.tar.bz2
#cd GCC-3.4.3
# ../gcc-3.4.3/configure --prefix=/usr/local/GCC-3.4.3/ --program-suffix=-3.4.3 
--enable-languages=c,c++,f77

This was complited without any problems!!!
The build command though,

#make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 
-fno-implicit-templates' bootstrap-lean

broke when the program was trying to run 
byacc. The error message showed that it didn't recognized 
byacc --something! It reported:
error, usage: yacc .

So I think that byacc has different syntax in freebsd! 

Does anybody know how to fix that?

Thanks in advance!
Drosos.




_
http://www.mailbox.gr ÁðïêôÞóôå äùñåÜí ôï ìïíáäéêü óáò e-mail.
http://www.thesuperweb.gr Website ìå ÁóöáëÝò Controlpanel áðü 6 Euro êáé äþñï 
ôï domain óáò!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


installing gcc in 5.3 Release

2004-11-28 Thread [EMAIL PROTECTED]
Dear Fellows,
I have installed FreeBSD 5.3 Release!
I tried to run an executable from Linux. 
In linux this files takes: 3442 milliseconds to run. //g++-3.4.3
In freebsd it needs  : 5992 milliseconds to run. 

So I tried to recompile the file in freebsd 
and it also needed 5992 milliseconds to run.
But it was compiled with the native compiler g++-3.4.2 of freebsd 5.3.
So I decided to install from source gcc-3.4.3 in /usr/local in FreeBSD.
This is something which is a routine since I have done it millions of times in 
Linux! The commands I used are the following:

#cd /usr/local
#mkdir GCC-3.4.3
#tar xvjf gcc-3.4.3.tar.bz2
#cd GCC-3.4.3
# ../gcc-3.4.3/configure --prefix=/usr/local/GCC-3.4.3/ --program-suffix=-3.4.3 
--enable-languages=c,c++,f77

This was complited without any problems!!!
The build command though,

#make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 
-fno-implicit-templates' bootstrap-lean

broke when the program was trying to run 
byacc. The error message showed that it didn't recognized 
byacc --something! It reported:
error, usage: yacc .

So I think that byacc has different syntax in freebsd! 

Does anybody know how to fix that?

Thanks in advance!
Drosos.




_
http://www.mailbox.gr ÁðïêôÞóôå äùñåÜí ôï ìïíáäéêü óáò e-mail.
http://www.thesuperweb.gr Website ìå ÁóöáëÝò Controlpanel áðü 6 Euro êáé äþñï 
ôï domain óáò!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Custom Kernel

2004-11-28 Thread Joshua Tinnin
fixed top-posting

On Sunday 28 November 2004 01:25 am, Rem Roberti [EMAIL PROTECTED] wrote:
 Rem Roberti wrote:
  Joshua Tinnin wrote:
 On Saturday 27 November 2004 11:27 pm, Rem Roberti [EMAIL PROTECTED]
 
 wrote:
 I sent this message to Joshua back channel, and realized that I should
 have also sent it to the group.
 
 Rem
 
 
 
 Thanks, Joshua. Here's the requested stuff, starting with the output of
 uname -a:
 
 snip
 
 Next, the configuration file itself:
 
 
 #
 # GENERIC -- Generic kernel configuration file for FreeBSD/i386
 
 snip
 
 # PCI Ethernet NICs that use the common MII bus controller code.
 # NOTE: Be sure to keep the 'device miibus' line in order to use these
 NICs!
 #device miibus # MII bus support
 
 
 
 snip
 
 device vr # VIA Rhine, Rhine II
 
 snip
 
 Finally, the error message:
 
 snip
 
 ../../../dev/usb/if_aue.c:105:23: miibus_if.h: No such file or directory
 
 OK, you need to uncomment the device miibus line (marked above). It has
  to be enabled if you want to enable VIA Rhine support, which you have in
  your config.
 
 - jt
 
  No dice. I made the change to the file, uncommenting the device miibus
  line, and I receive the same error message.

 Okay, it turns out that I was editing the wrong file. Instead of editing
 the configuration file that was in the /etc/src/sys/i386/conf directory,
 I was editing the configuration file that I had redirected to a new
 directory, as indicated by the handbook. I guess I was under the
 impression (newbie!) that having created a symbolic link somehow allowed
 me to edit the redirected file.

Well, if you're going to make a symbolic link so that you're changes don't get 
wiped out with the next update, what you want to do is create the link 
in /etc/src/sys/i386/conf and point it to your file like so:

# cd /usr/src/sys/i386/conf
# ln -s /path/to/YOURKERN

This way, you should be able to (if you use vim):

# vim /path/to/YOURKERN

and edit your configuration file without touching the source conf folder.

When you ln -l /usr/src/sys/i386/conf you should see something like this:

lrwxr-xr-x  1 root  wheel 22 Jun 23 12:17 YOURKERN - /path/to/YOURKERN

If not, or if it points to the wrong place, then move your existing correct 
kernel configuration file to someplace you will remember (you can use your 
home dir if you want), and make a symbolic link as described above (make sure 
to delete any that aren't correct first). It's better that way, as otherwise 
the next time you cvsup your source, you might wipe out your custom config 
file.

 Anyway, once I edited the correct 
 configuration file I was able to go ahead with the compilation and the
 install. Everything worked perfectly, and the system rebooted without
 incident---and faster.

Excellent. Glad to be of help.

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


rj-45 connector

2004-11-28 Thread johne edw
dear sir,
i've 3 computers and  i want to connect  them togather as a workgroup
network via a hub. i know that the both ends of cable must have the same 
sequense of color .please advice me if that the color sequence of wires 
connected to rj-45 connector is important or not?..i mean, in another word, is 
there a special sequense of color ? or any sequense of color will be valid when 
the both ends have the same color sequense ?
i wish that response will come on soonbest regards



-
Do you Yahoo!?
 Take Yahoo! Mail with you! Get it on your mobile phone.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Make search dead in ports?

2004-11-28 Thread Mark Rowlands
Sometime fairly recently, make search in  ports stopped working.

I have installed sysutils/p5-FreeBSD-Portindex-1.1 so I suspected this
was the villain but after removing INDEX and INDEX.db and doing a make
index and portsdb -Uu make search still doesnt work.



FreeBSD 4.10-STABLE #1: Wed Oct  6 21:27:47 CEST 2004
Perl 5.8.5
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Printing

2004-11-28 Thread Khairil Yusof
On Sat, 2004-11-27 at 12:12 -0800, gabriel wrote:
 Nice, thanks for the replies guys. I was looking into this printer.
 
 http://h10010.www1.hp.com/wwpc/us/en/sm/WF06b/18972-238444-410635-12085-f57-90805-90810-90811.html
 
 HP PSC 2175 All-in-One (Q3068A)

I have an older model PSC 2110.

Printing works via hpijs and cups (download the ppd from
linuxprinting.org and put it in /usr/local/share/cups/model)

Copying function works (no software required)

Scanning requires hpoj port, which works for freebsd 4.x but not in 5.x.
In 5.x the scanner is not detected by hpoj utilities. I can confirm it
for this exact model, but this is the situation it seems for other PSC
models on 5.x.

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


Re: Custom Kernel

2004-11-28 Thread Joshua Tinnin
On Sunday 28 November 2004 01:41 am, Joshua Tinnin [EMAIL PROTECTED] 
wrote:
 When you ln -l /usr/src/sys/i386/conf you should see something like this:

Of course, that was supposed to be ls -l ...

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


Re: rj-45 connector

2004-11-28 Thread Ian Moore
On Sun, 28 Nov 2004 20:25, johne edw wrote:
 dear sir,
 i've 3 computers and  i want to connect  them togather as a workgroup
 network via a hub. i know that the both ends of cable must have the same
 sequense of color .please advice me if that the color sequence of wires
 connected to rj-45 connector is important or not?..i mean, in another word,
 is there a special sequense of color ? or any sequense of color will be
 valid when the both ends have the same color sequense ? i wish that
 response will come on soonbest regards

This is rather OT, but...
Yes, the order is important, the cable will probably work at low speeds over 
short distances as long as both ends are the same, but will be unreliable at 
high speeds or longer distances unless you follow the correct order.

Basically there are 2 standards, EIA/TIA-568A and EIA/TIA-568B.
In Australia  probably in Europe I suspect, the preferred standard is the A 
standard. I think the US might use the B standard?

EIA/TIA-568A standard:
1 Green/White
2 Green
3 Orange/White
4 Blue
5 Blue/White
6 Orange
7 Brown/White
8 Brown

(see diagram below for pin numbers)
NB, the Blue pair is reversed - that's not a typo!
Both ends are wired up the same way, BUT, if you want to connect 2 network 
cards directly together without a hub, you would need to use a crossover 
cable which looks like the above on one end, but the other end is wired like 
this:

1 Orange/White
2 Orange
3 Green/White
4 Blue
5 Blue/White
6 Green
7 Brown/White
8 Brown

Pin numbers are like this (looking at the connector with the tab underneath 
and the cable coming from the left)

   |---|
   |   | 1
   |   | 2
---|   | 3
   |   | 4
   |   | 5
---|   | 6
   |   | 7
   |   | 8
   |---|

Hope that makes sense.

Cheers,
-- 
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpM5Z1johpU0.pgp
Description: PGP signature


what does rm // delete?

2004-11-28 Thread Oliver Fuchs
Hi,

I had a directory which contained the following:

ls showed me simple this: ? with 0 bytes
ls -axl showed me nothing

So I tried to delete the directory but could not succeed with rm -R
because the directory is not empty. I changed to the directory and tried
to delete everything inside with rm * but also did not succeed. It seemed
that the file had no name. So than I did a mistake and wanted to delete the
file with no name with the operation:

rm -R //

This was a big mistake which I noticed soon enough (some files in /bin were
deleted). I could repair the damage but what I want to know is what exactly
is

rm -R //

deleting. It seems that it is deleting everything?

Thanx in advance

Oliver

-- 
... don't touch the bang bang fruit
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Timezone conversion

2004-11-28 Thread Jimmy Mäkelä | Loopia Webbhotell AB
Hi
I'm trying to convert a date from one timezone into another using the 
date-command, but I can't seem to get it to work.

The problem can be illustrated as below, though in reality I get the date 
from another source of course, otherwise I wouldn't have to do this.

Take a date in some timezone other than your own, in this example I generate 
the current time in UTC:
TZ=UTC date +%d %b %Y %H:%M:%S %z
28 Nov 2004 12:02:18 +
Try to use date -j to convert a date of this format into the default 
display-format:
TZ=CET date -j -f %d %b %Y %H:%M:%S %z 28 Nov 2004 12:02:18 +
Warning: Ignoring 5 extraneous characters in date string (+)
Sun Nov 28 12:02:18 CET 2004
The result is wrong of course because the timezone is ignored even though i 
specify %z in the format-string. The date in CET should be 13:02:18.

Now the question; does anyone know why the %z is ignored? Am I missing 
something, and if so what?

The man-page for the -f parameter states Parsing is done using 
strptime(3). and since strptime allows %z I was assuming that the example 
above should work.

I would be really thankful for some help in getting around this.
Thanks in advance.
Best regards,
Jimmy Mäkelä 

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


Re: Is this a hole in my firewall?

2004-11-28 Thread Giorgos Keramidas
On 2004-11-28 04:48, Jonathon McKitrick [EMAIL PROTECTED] wrote:
 On Sun, Nov 28, 2004 at 03:31:35AM +0200, Giorgos Keramidas wrote:
 : AFAIK, rule 00300 will never be hit by packets going out tun0 as long as
 : you also have rule 00200 in there.

 Hmmm here's a run after having the laptop running for a bit.  I don't
 see why 200 doesn't cover the case either.

 [EMAIL PROTECTED]:~# ipfw show
 001000   0 check-state
 00200 6709 1277079 allow ip from me to any keep-state out xmit tun0
 00300 2093  645797 allow ip from any to any keep-state out xmit tun0

Oops!  That doesn't look good, unless I'm missing something about the
way 'me' works.

It's probably a good idea to send what you have so far to the
freebsd-ipfw people.


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


Re: I can not install FreeBSD 5.3 in an old Pentium 100 MHz

2004-11-28 Thread Ramiro Aceves
Hello Ted:
Thanks for your help. I tried that before without success. I am going to 
download 4.10 floppies and I will tell you the result.
Thanks.

Ramiro.

Ted Mittelstaedt wrote:
See
http://www.freebsd.org/cgi/man.cgi?query=acpisektion=4manpath=FreeBSD+5.3-
RELEASE
particularly the section:
 To disable the acpi driver completely, set the kernel environment vari-
 able hint.acpi.0.disabled to 1.
This should be done in the loader prompt.  When you get the message:
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [kernel] in 9 seconds... _
hit any other key for the command prompt then turn off acpi.
If this doesen't work, try loading FreeBSD 4.10
Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ramiro Aceves
Sent: Saturday, November 27, 2004 3:04 AM
To: [EMAIL PROTECTED]
Subject: I can not install FreeBSD 5.3 in an old Pentium 100 MHz
Hello dear FreeBSD friends.
I am Ramiro from Spain.This is my first post to the list. I am a regular
Debian GNU/Linux user, but I have been tempted to try FreeBSD. I have
installed it successfully on my 1200 MHz Athlon computer booting from
the CDROM drive and I like it, but I can not install it in an old
Pentium 100 MHz fujitsu computer. This old machine can not boot from the
CDROM, so I tried to boot with the floppies. I have prepared the 3
floppies several times and I stil can not install it.
I boot with the boot.flp floppy ok. I insert kern1.flp and it loads
ok. I insert kern2.flp and it loads ok. I was prompted to insert
boot.flp floppy again and it shows the logo screen with the booting
options. If I choose the default (with no acpi), the computers shudenly
restarts without being able to see any message. The remaining options
cause the same machine reboot. I can enter into the loader prompt.
¿What can I do?
Any help will be apreciated.
Sorry for my bad english.
Ramiro.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]


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


Re: what does rm // delete?

2004-11-28 Thread Mark Ovens
Oliver Fuchs wrote:
Hi,
I had a directory which contained the following:
ls showed me simple this: ? with 0 bytes
ls -axl showed me nothing
So I tried to delete the directory but could not succeed with rm -R
because the directory is not empty. I changed to the directory and tried
to delete everything inside with rm * but also did not succeed. It seemed
that the file had no name. So than I did a mistake and wanted to delete the
file with no name with the operation:
rm -R //
This was a big mistake which I noticed soon enough (some files in /bin were
deleted). I could repair the damage but what I want to know is what exactly
is
rm -R //
deleting. It seems that it is deleting everything?
It is, you're  recursively deleting / - multiple '/' are treated as one; try
cd //usr//bin
To delete the rogue file try
rm -i *
in the directory the file is in, answering 'n' for all other files.
If that fails, try copying everything you need in the directory it is in 
to somewhere else then recursively deleting the directory

rm -rf /path/to/dir/with/rogue/file
HTH
Mark
Thanx in advance
Oliver

---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0448-1, 26/11/2004
Tested on: 28/11/2004 12:58:15
avast! - copyright (c) 2000-2004 ALWIL Software.
http://www.avast.com

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


RE: rj-45 connector

2004-11-28 Thread Joseph H. Fry
Look it up on the web... There are many many sites with good
illustrations and such.

Keep in mind that most people use the 568b standards.

Just google for 568b wiring and one of the first few sites will probably
be readable by you.

 Joe Fry 
([EMAIL PROTECTED])


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of johne edw
 Sent: Sunday, November 28, 2004 4:55 AM
 To: [EMAIL PROTECTED]
 Subject: rj-45 connector


 dear sir,
 i've 3 computers and  i want to connect  them togather as a
 workgroup network via a hub. i know that the both ends of
 cable must have the same sequense of color .please advice me
 if that the color sequence of wires connected to rj-45
 connector is important or not?..i mean, in another word, is
 there a special sequense of color ? or any sequense of color
 will be valid when the both ends have the same color sequense
 ? i wish that response will come on soonbest regards



 -
 Do you Yahoo!?
  Take Yahoo! Mail with you! Get it on your mobile phone.
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/free bsd-questions

 To unsubscribe, send any mail to
 [EMAIL PROTECTED]



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


Re: error downloading

2004-11-28 Thread Lowell Gilbert
Vijay Anand [EMAIL PROTECTED] writes:

 It is a local IP.Plz help me.

Ah.  So you are running your own cvsweb installation; that wasn't
at all clear from the original message.  I'm afraid I don't know
anything about the cvsweb software itself; however, the first step is
obviously to check on the hints that the software gave you along with
the error message:

  Error Error: Unexpected output from cvs co: cvs [checkout aborted]: 
  Absolute module reference invalid: `/Motolog/MotoLogDLL.vbp' 
  Check whether the directory /cm/vault/automation_utilities/CVSROOT exists 
  and the script has write-access to the CVSROOT/history file if it exists.
  The script needs to place lock files in the directory the file is in as 
  well. 

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


Re: error downloading

2004-11-28 Thread Vijay Anand
Error msg doesnt show any hints on the line of code it throws the 
error..!




Lowell Gilbert [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
11/28/2004 08:02 PM
Please respond to freebsd-questions

 
To: Vijay Anand [EMAIL PROTECTED]
cc: [EMAIL PROTECTED]
Subject:Re: error downloading


Vijay Anand [EMAIL PROTECTED] writes:

 It is a local IP.Plz help me.

Ah.  So you are running your own cvsweb installation; that wasn't
at all clear from the original message.  I'm afraid I don't know
anything about the cvsweb software itself; however, the first step is
obviously to check on the hints that the software gave you along with
the error message:

  Error Error: Unexpected output from cvs co: cvs [checkout aborted]: 
  Absolute module reference invalid: `/Motolog/MotoLogDLL.vbp' 
  Check whether the directory /cm/vault/automation_utilities/CVSROOT 
exists 
  and the script has write-access to the CVSROOT/history file if it 
exists.
  The script needs to place lock files in the directory the file is in 
as 
  well. 


__




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


Re: Mysql Error 1135

2004-11-28 Thread Lowell Gilbert
Akhthar Parvez. K [EMAIL PROTECTED] writes:

 I am getting following error message while accessing mysql.
 
 ERROR 1135: Can't create a new thread (errno 35). If you are not out of 
 available memory, you can consult the manual for a possible OS-dependent bug
 
 What could be the problem? I know that the problem is due to resources are
 temporarily unavaliable. But how can I fix this issue so that it won't come 
 back.

Well, first you need to figure out if you have run out of system
memory or not.  If so, then add a swap file.  If not, then see if
there are process limits affecting you.

 NOTHING IS IMPOSSIBLE
 Because Impossible itself says
 I'M POSSIBLE

Let me know when you have FreeBSD running on an abacus.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: rj-45 connector

2004-11-28 Thread Chris Hill
On Sun, 28 Nov 2004, johne edw wrote:
please advice me if that the color sequence of wires connected to 
rj-45 connector is important or not?..i mean, in another word, is 
there a special sequense of color ? or any sequense of color will be 
valid when the both ends have the same color sequense ?
http://en.wikipedia.org/wiki/TIA-568B
--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging | ]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: install partitioning advice needed

2004-11-28 Thread Lowell Gilbert
baldyeti [EMAIL PROTECTED] writes:

 Using a FreeBSD 4.6 CD I have, I'd like to install on an
 older system (P200). The machine has a 4 GB IDE drive and
 another 4 Gb attached via SCSI. These seem to be recognised
 as da0 and ad0.

[Vice versa, actually...]

 The SCSI adapter has no ROM, and is not
 directly bootable. I thus suppose FreeBSD - and any OS under
 the circumstances - needs at least one little boot slice on
 the 1st (IDE) drive. I could free about 400 Mb on that drive,
 in an extended partition. Can FreeBSD be started from an
 extended partition, or will it need a primary one, and which
 filesystem(s) needs reside on the startup disk, with which
 recommended minimum size?

FreeBSD can't boot out of a logical partition.  You probably could
install to the second disk, and just boot from a boot manager
installed on the first disk, or from floppies.  These are a bit tricky
for beginners, though.  

With release 4.6, you could easily get away with a 50MB root partition
on the first drive.  4.6 is distinctly outdated, though.  Your easiest
path is probably to go with a fairly smart bootloader.  I understand
that GAG is pretty good: http://gag.sourceforge.net/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: installing gcc in 5.3 Release

2004-11-28 Thread Bill Moran
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
[...]
 So I decided to install from source gcc-3.4.3 in /usr/local in FreeBSD.
 This is something which is a routine since I have done it millions of times 
 in Linux! The commands I used are the following:
 
 #cd /usr/local
 #mkdir GCC-3.4.3
 #tar xvjf gcc-3.4.3.tar.bz2
 #cd GCC-3.4.3
 # ../gcc-3.4.3/configure --prefix=/usr/local/GCC-3.4.3/ 
 --program-suffix=-3.4.3 --enable-languages=c,c++,f77

Try cd /usr/ports/devel/gcc34  make install

Make sure your ports tree is up to date first, and you'll get the latest
GCC 3.4.4.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


discjuggler cdi image

2004-11-28 Thread arden
Hi all 

I've been given a dvd of images that are in disc juggler *.cdi format 

Ive googled around but not found any working solution I have no windows 

m/c here so any help would be appreciated  

Arden

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


lcdproc port

2004-11-28 Thread Mark Cullen
Just to tell you I got the newest version of lcdproc to compile (0.4.5). 
I don't have an LCD ready yet, so I don't know if it works.. but it 
compiles now.

Attached is a tar of the patches in the 'files' directory. It seems 
there was no need for patch-port anymore, so I removed that and fixed 
the configure patch.

Perhaps someone can test it out and update the port?
--
Internet Explorer? Try FireFox at http://www.mozilla.org/products/firefox/
Outlook Express? Try ThunderBird at 
http://www.mozilla.org/products/thunderbird/


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


Help with IPFW + NATD + Passive FTP

2004-11-28 Thread James A. Coulter
Hoping someone can provide a solution to the following problem:
I am using a FBSD 4.10 box as a gateway/router/firewall between a cable 
modem and my home lan and its been working great for several months.  
All machines behind my firewall are able to connect to the outside world 
for http, e-mail, ping, ssh, and active ftp transfers

Last night I installed FBSD 4.10 on a box behind the firewall.  The 
installation went fine, but when I attempted to install some packages 
via the FBSD ports collection I ran into the known problem establishing 
passive FTP connections through IPFW with NATD enabled.  I am able to 
establish ftp connections, but when the client switches to passive mode 
the connection hangs.  So I am unable to use the ports collection or 
cvsup on the FBSD box behind the firewall

I have been googling for several hours and found lots of references, but 
all the solutions I have found appear to be about allowing passive FTP 
connections on the box running IPFW and NATD (which my ruleset already 
allows - no problems using ports or cvsup from the 
gateway/router/firewall).  I've tried several different configurations 
in the IPFW ruleset, but so far no luck.

Here is my IPFW ruleset and my rc.conf.  Hoping someone can point out 
the error of my ways.

TIA,
Jim
#!/bin/sh
 Start of IPFW rules file ###
# Flush out the list before we begin.
ipfw -q -f flush
# Set rules command prefix
cmd=ipfw -q add
skip=skipto 800
pif=dc1 # public interface name of Nic card
 # facing the public internet
#
# No restrictions on Inside Lan Interface for private network
# Change xl0 to your Lan Nic card interface name
#
$cmd 005 allow all from any to any via dc0
#
# No restrictions on Loopback Interface
#
$cmd 010 allow all from any to any via lo0
#
# check if packet is inbound and nat address if it is
#
$cmd 014 divert natd ip from any to any in via $pif
#
# Allow the packet through if it has previous been added to the
# the dynamic rules table by a allow keep-state statement.
#
$cmd 015 check-state
#
# Interface facing Public internet (Outbound Section)
# Interrogate session start requests originating from behind the
# firewall on the private network or from this gateway server
# destine for the public internet.
#
# Allow out access to my ISP's Domain name server.
# x.x.x.x must be the IP address of your ISP's DNS
# Dup these lines if your ISP has more than one DNS server
# Get the IP addresses from /etc/resolv.conf file
$cmd 020 $skip udp from any to 193.0.14.129 53 out via $pif keep-state
$cmd 021 $skip udp from any to 68.1.18.25 53 out via $pif keep-state
$cmd 022 $skip udp from any to 68.10.16.30 53 out via $pif keep-state
$cmd 023 $skip udp from any to 68.105.161.20 53 out via $pif keep-state
$cmd 024 $skip tcp  from any to 193.0.14.129 53 out via $pif setup 
keep-state
$cmd 025 $skip tcp  from any to 68.1.18.25 53 out via $pif  setup 
keep-state
$cmd 026 $skip tcp  from any to 68.10.16.30 53 out via $pif  setup 
keep-state
$cmd 027 $skip tcp  from any to 68.105.161.20 53 out via $pif  setup 
keep-state
# Allow out access to my ISP's DHCP server for cable/DSL configurations.
$cmd 030 $skip udp from any to 172.19.17.22 67 out via $pif keep-state

# Allow out non-secure standard www function
$cmd 040 $skip tcp from any to any 80 out via $pif setup keep-state
# Allow out secure www function https over TLS SSL
$cmd 050 $skip tcp from any to any 443 out via $pif setup keep-state
# Allow out send  get email function
$cmd 060 $skip tcp from any to any 25 out via $pif setup keep-state
$cmd 061 $skip tcp from any to any 110 out via $pif setup keep-state
# Allow out FBSD (make install  CVSUP) functions
# Basically give user root GOD privileges.
$cmd 070 $skip tcp from me to any out via $pif setup keep-state uid root
$cmd 071 $skip tcp from me to any out via $pif setup keep-state uid 
jacoulter

# Tried this to allow passive ftp from behind firewall - didn't work
#$cmd 073 $skip tcp from any to any out via $pif setup keep-state uid root
#$cmd 074 $skip tcp from any to any out via $pif setup keep-state uid 
jacoulter

# Allow out ping
$cmd 080 $skip icmp from any to any out via $pif keep-state
# Allow out Time
$cmd 090 $skip tcp from any to any 37 out via $pif setup keep-state
# Allow out nntp news (IE: news groups)
$cmd 100 $skip tcp 

Cyrus-SASL2-2.1.20 MySQL crypt'ed passwords

2004-11-28 Thread klr
Hi,

Could anyone make this setup work? The patch for 2.1.19 applies cleanly to
the ports tree and I can build sasl, but it ignores the settings on
smtpd.conf (mainly password_format: crypt).

I can auth @ SMTP using the encrypted password I find at the database, but
no luck using the plaintext password (which cyrus-sasl should then crypt
and check vs the database). -- Meaning the patch is having no effect, it
is only checking the password feeded vs the database...

Is there any way to have SMTP auth working with MySQL / crypt-stored
passwords using postfix+cyrus-sasl2 ?



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


Re: rj-45 connector

2004-11-28 Thread John Barbieri
The sequence is important if your running high speed, like GigE, since 
each pair of wires is wound a bit different for the others.

The sequence is:
white/orange
orange
white/green
blue
white/blue
green
white/brown
brown
This is when holding the connector face down (eg, the clip is facing down)
http://yoda.uvi.edu/InfoTech/rj45.htm

johne edw wrote:
dear sir,
i've 3 computers and  i want to connect  them togather as a workgroup
network via a hub. i know that the both ends of cable must have the same 
sequense of color .please advice me if that the color sequence of wires 
connected to rj-45 connector is important or not?..i mean, in another word, is 
there a special sequense of color ? or any sequense of color will be valid when 
the both ends have the same color sequense ?
i wish that response will come on soonbest regards

-
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


Re: lcdproc port

2004-11-28 Thread Bill Moran
Mark Cullen [EMAIL PROTECTED] wrote:

 Just to tell you I got the newest version of lcdproc to compile (0.4.5). 
 I don't have an LCD ready yet, so I don't know if it works.. but it 
 compiles now.
 
 Attached is a tar of the patches in the 'files' directory. It seems 
 there was no need for patch-port anymore, so I removed that and fixed 
 the configure patch.
 
 Perhaps someone can test it out and update the port?

[EMAIL PROTECTED] would be the proper place to post this, as it doesn't
seem to have a maintainer currently.

Thanks!

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


JDK Issues

2004-11-28 Thread Jake Stride
I seem unable to install JDK14:

portupgrade -NRP jdk
---  Found 4 ports matching 'jdk':
java/jdk11
java/jdk12
java/jdk13
java/jdk14
Install 'java/jdk11'? [yes] no
Install 'java/jdk12'? [yes] no
Install 'java/jdk13'? [yes] no
Install 'java/jdk14'? [yes] yes
** Port marked as IGNORE: java/jdk14:
is forbidden: Vulnerabilities in the browser plugin

How do I go about ensuring that I can install this please?

Thanks

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


hdd error

2004-11-28 Thread Marta Resende
everytime i compile any program, or make world, it gives me that:
ad0: WARNING - WRITE_DMA ICRC error (retrying request) LBA=74623
anyone knows what's that ?thx
_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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


Re: USB mouse support

2004-11-28 Thread jason
Trey Sizemore wrote:
I've just installed FreeBSD 5.3 on my desktop machine (P4 2.8GHz with 
512MB RAM) and cannot get my mouse pointer to move in KDE.  It is a 
Microsoft Wireless Optical 2.0 mouse (USB) and I have the following 
section in my /etc/X11/xorg.conf file:

Driver mouse
Option Protocol Auto
Option Device /dev/sysmouse
Option Buttons 7
Option ZAxisMapping 4 5
I have installed FreeBSD from the disc 1 ISO file and installed 
everything by default.  I have not done a kernel recomple at this point.

Is this an issue with my xorg.conf file or a USB issue that requires a 
kernel recompile?  I did not see anything helpful in the Using X11 in 
the manual.

Thanks for the input!
-Trey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

FreeBSD supports the mouse in your system, not x.  All xorg.conf is 
doing is telling x where the mouse is and how to talk to it.  You can 
use a mouse on the command line in FreeBSD to cut and paste.  That is 
just to cool.

Try this command:
$ dmesg | grep ums
Do you get a similar result as below?
ums0: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM), rev 
1.10/3.00, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.

Also try this if yours is different:
Section InputDevice
# Identifier and driver
   Identifier  Mouse1
   Driver  mouse
   Option ProtocolAuto
   Option Device  /dev/sysmouse
   Option  ZAxisMapping 4 5

EndSection

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


Re: rj-45 connector

2004-11-28 Thread jason
johne edw wrote:
dear sir,
i've 3 computers and  i want to connect  them togather as a workgroup
network via a hub. i know that the both ends of cable must have the same 
sequense of color .please advice me if that the color sequence of wires 
connected to rj-45 connector is important or not?..i mean, in another word, is 
there a special sequense of color ? or any sequense of color will be valid when 
the both ends have the same color sequense ?
i wish that response will come on soonbest regards

-
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Also you may want to buy a switch if you have not already got a hub.  
The effective bandwidth between your computers would be like 100mb/3 
with a hub.  Better yet you could use a BSD machince as a 
switch/router/internet gateway for your work group.  You'll just need a 
few extra network cards for it, but I think the least expensive way of 
doing it would be a hub.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Make search dead in ports?

2004-11-28 Thread Kris Kennaway
On Sun, Nov 28, 2004 at 10:47:58AM +0100, Mark Rowlands wrote:
 Sometime fairly recently, make search in  ports stopped working.
 
 I have installed sysutils/p5-FreeBSD-Portindex-1.1 so I suspected this
 was the villain but after removing INDEX and INDEX.db and doing a make
 index and portsdb -Uu make search still doesnt work.

Doesn't work isn't a helpful description of the error.

Kris


pgpnCcYcmWK5Z.pgp
Description: PGP signature


RE: Cyrus-SASL2-2.1.20 MySQL crypt'ed passwords

2004-11-28 Thread Marcel de Reuver

 Could anyone make this setup work? The patch for 2.1.19 applies cleanly to
 the ports tree and I can build sasl, but it ignores the settings on
 smtpd.conf (mainly password_format: crypt).

 I can auth @ SMTP using the encrypted password I find at the database, but
 no luck using the plaintext password (which cyrus-sasl should then crypt
 and check vs the database). -- Meaning the patch is having no effect, it
 is only checking the password feeded vs the database...

 Is there any way to have SMTP auth working with MySQL / crypt-stored
 passwords using postfix+cyrus-sasl2 ?



 smtpd.conf 
pwcheck_method: auxprop
mech_list: PLAIN LOGIN
auxprop_plugin: sql
srp_mda: md5
password_format: crypt
sql_engine: mysql
sql_hostnames: localhost
sql_database: postfix
sql_user: X
sql_passwd: X
sql_verbose: yes
sql_select: SELECT password FROM mailbox WHERE username = '[EMAIL PROTECTED]'
-

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


Re: Remembering defines for port upgrades.

2004-11-28 Thread RW
On Saturday 27 November 2004 22:55, Adam Fabian wrote:
Is there any other/better way to remember build options so
 that I don't have to remember them every time I build a port?

If you use portupgrade, put your options in /usr/local/etc/pkgtools.conf where 
there is a section in whch they can be defined per port rather than globally. 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Cyrus-SASL2-2.1.20 MySQL crypt'ed passwords

2004-11-28 Thread klr
That is exactly my smtpd.conf , I don't understand why it doesn't work :/

The password_format directive was incorporated on 2.1.20 ?




 Could anyone make this setup work? The patch for 2.1.19 applies cleanly
 to
 the ports tree and I can build sasl, but it ignores the settings on
 smtpd.conf (mainly password_format: crypt).

 I can auth @ SMTP using the encrypted password I find at the database,
 but
 no luck using the plaintext password (which cyrus-sasl should then crypt
 and check vs the database). -- Meaning the patch is having no effect, it
 is only checking the password feeded vs the database...

 Is there any way to have SMTP auth working with MySQL / crypt-stored
 passwords using postfix+cyrus-sasl2 ?



  smtpd.conf 
 pwcheck_method: auxprop
 mech_list: PLAIN LOGIN
 auxprop_plugin: sql
 srp_mda: md5
 password_format: crypt
 sql_engine: mysql
 sql_hostnames: localhost
 sql_database: postfix
 sql_user: X
 sql_passwd: X
 sql_verbose: yes
 sql_select: SELECT password FROM mailbox WHERE username = '[EMAIL PROTECTED]'
 -

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



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


VPN software

2004-11-28 Thread alexei kozlov
Hello, list.
Just learning the FreeBSD and have one question:
currently I am behind the firewall, and to go to  internet I (my ISP) 
setup VPN in windowsxp.

On one of my low profile machine (450MHz, K6-II) I set up FreeBSD.  I 
setup ethernet adapter and can connect to other machines. But I can not 
go out to internet . I new that I need setup vpn in FBSD, but I do not 
know which one, since I found at least three vpn programs. Which program 
do you use ?

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


Solved: Lost MBR/wrong disk geometry

2004-11-28 Thread Erik Norgaard
Erik Norgaard wrote:
Jeremy Faulkner wrote:
'fdisk -B' didn't work?
Nope :-( I have installed gpart, it complians*
dd if=/dev/zero of=/dev/ad0 bs=512 count=32
fdisk -BI ad0
dd if=/dev/zero of=/dev/ad0s1 bs=512 count=32
bsdlabel -w -B ad0s1
did the job. I think I shouldn't have specified -w in the last command 
because it created a root partition taking the whole disk which I then 
had to delete.

But, at least I'm up booting :-)
Cheers, Erik
--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB mouse support

2004-11-28 Thread Mark Ovens
On Sat November 27 2004 22:26, Trey Sizemore wrote:
 Mark Ovens wrote:
  Trey Sizemore wrote:
  I've just installed FreeBSD 5.3 on my desktop machine (P4 2.8GHz with
  512MB RAM) and cannot get my mouse pointer to move in KDE.  It is a
  Microsoft Wireless Optical 2.0 mouse (USB) and I have the following
  section in my /etc/X11/xorg.conf file:
 
  Driver mouse
  Option Protocol Auto
  Option Device /dev/sysmouse
  Option Buttons 7
  Option ZAxisMapping 4 5
 
  I have installed FreeBSD from the disc 1 ISO file and installed
  everything by default.  I have not done a kernel recomple at this point.
 
  Is this an issue with my xorg.conf file or a USB issue that requires
  a kernel recompile?  I did not see anything helpful in the Using X11
  in the manual.
 
  They don't work :-( I have to run mine on PS/2 via an adaptor. There
  is a patch in http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/70607 to
  fix this. I tried the first version of the patch; the mouse worked but
  there were other problems. There have been several modifications done
  to the patch since then that I haven't tried.

 I've just tried mine by using the PS/2 adaptor and it's not working here
 either.  The light on the 'base station' doesn't stay on.  Is your
 xorg.conf different than mine?


Slightly:

Identifier  Mouse1
Driver  mouse
Option Protocolsysmouse
Option Device  /dev/sysmouse

OptionButtons 5
OptionZAxisMapping 4 5

I don't use the tiltwheel - it annoys me - hence Buttons set to 5

Regards,

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


Re: Make Depend

2004-11-28 Thread Gert Cuykens
On Sun, 28 Nov 2004 18:57:51 +0100, Gert Cuykens [EMAIL PROTECTED] wrote:
 On Sat, 27 Nov 2004 15:44:52 -0500 (EST), John Mills
 
 
 [EMAIL PROTECTED] wrote:
  Freebies -
 
 
 
  On Sat, 27 Nov 2004, Conrad J. Sabatier wrote:
 
   On Sat, 27 Nov 2004 09:43:17 +0100, Gert Cuykens
   [EMAIL PROTECTED] wrote:
  
A Makefile rule that typically scans all C/C++ source files in a
directory, and generates rules that indicate that an object file
depends on certain header files, and must be recompiled if they are
recompiled.
   
i dont understand this. how can a object depend on something that is
not compiled yet? Would the freebsd world not be a happier place if
make did the dependancy thingies what ever they are automatically ?
   ...
 
 
   Re: dependencies, it should be simple to understand if you give it a
   moment's thought.  Let's say you have a file main.c that calls
   functions in foo.c.  In order for main.c to compile and link properly
   to create a complete, executable program, it's absolutely essential that
   foo.c be compiled and linked in as well.
 
   What Makefile dependencies are about is ensuring that, if a change is
   made to foo.c, it will be recompiled and relinked with main.c to
   guarantee that the final executable is up to date in all respects.
 
  Certainly a sensible point, but not the way I understood 'makedepend' to
  work.
 
  As Conrad said, 'make' can be directed to compare the currency of the
  files upon which a particular product file (compiled object, library,
  executable, or other type) depends, so that all product files for which
  the components have changed _are_ rebuilt, but a maximum number of product
  files (i.e., unchanged objects being linked into a library) are
  unnecessarily rebuilt. Many of these rules I put in manually.
 
  'make' only knows some 'generic' rules (what is done to change a *.c into
  a *.o, for example), plus the explicit dependencies I have written into my
  Makefile. 'makedepend' is a way to automatically generate the
  file-specific rules that can be deduced from a [source] file's own
  contents: usually those secondary files that are brought into it by
  '#include' pragmas. These auxiliary rules are written onto the Makefile
  and become part of it. These files are not necessarily separately
  compiled; I find your definition a bit misleading on this.
 
  'makedepend' is given a list of files to scan, and places to look for
  included files. My 'depend' rule looks like this:
 
  +++
  depend:
  makedepend -- $(CFLAGS) -- $(SRCS) -- $(INCLUDES)
 
  # DO NOT DELETE THIS LINE -- make  depend  depends  on it.
 
  +++
 
  That funky last line really tells 'makedepend' where it should write the
  new rules onto my Makefile. Before using a Makefile on a group of sources,
  or when source files are added to the build, I remove all the generate
  rules which have been added below the '# DO NOT DELETE ...' line and
  rebuild the 'depend' target - which is the Makefile itself:
 
   $ make depend
 
  Typical rules automagically added by 'makedepend' are:
 
  +++
  ...
  BufRing.o: ../Llcommon/SEBase.h StdAfx.h BufRing.h
  Camera.o: ../Llcommon/SEBase.h StdAfx.h ../Llcommon/commonStruct.h
  Camera.o: ../Llcommon/secureeye.h ../Llcommon/memCtrl.h
  Camera.o: ../Llcommon/retCodes.h ../Llcommon/LiveShare.h Camera.h
  Camera.o: ../Llcommon/Common.h Pump.h BufRing.h CamData.h Snap.h INet.h
  Camera.o: Player.h
  INet.o: ../Llcommon/SEBase.h StdAfx.h /usr/include/stdlib.h
  ...
  +++
 
  The effect of these added rules is that if I change [say] 'BufRing.h' then
  do 'make all', 'BufRing.c' and 'Camera.c' would be recompiled, but not
  necessarily 'INet.c'
 
  'make' isn't very bright, but (like 'cpp') it can be _very_ handy.
 
   - John Mills
 [EMAIL PROTECTED]
 
 
 
 so we have some machine code A  from a compiled object file and we
 have machine code B from a other compiled object file. While A is
 running it points to B to do some stuff.
 
 so if i understand it right without make depend we would had to
 recompile A and B if A needed some source changes. with make depend we
 only need to recompile A
 
that also means make depend is only a shortcut, if i dont use make
depend and just do make it will just compile everything right ?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Timezone conversion

2004-11-28 Thread
Jimmy Mkel | Loopia Webbhotell AB wrote:
Hi
I'm trying to convert a date from one timezone into another using the 
date-command, but I can't seem to get it to work.

The problem can be illustrated as below, though in reality I get the 
date from another source of course, otherwise I wouldn't have to do this.

Take a date in some timezone other than your own, in this example I 
generate the current time in UTC:

TZ=UTC date +%d %b %Y %H:%M:%S %z
28 Nov 2004 12:02:18 +
Try to use date -j to convert a date of this format into the default 
display-format:

TZ=CET date -j -f %d %b %Y %H:%M:%S %z 28 Nov 2004 12:02:18 +
Warning: Ignoring 5 extraneous characters in date string (+)
Sun Nov 28 12:02:18 CET 2004
The result is wrong of course because the timezone is ignored even 
though i specify %z in the format-string. The date in CET should be 
13:02:18.

Now the question; does anyone know why the %z is ignored? Am I missing 
something, and if so what?

The man-page for the -f parameter states Parsing is done using 
strptime(3). and since strptime allows %z I was assuming that the 
example above should work.

I would be really thankful for some help in getting around this.
Thanks in advance.
Best regards,
Jimmy Mkel
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


Try the following:
1. Output date in seconds from epoch
SECONDS=$(date ...  +%s)
2. Change the time zone.
TZ=CET
 export TZ
 date -r  $SECONDS
Best regards,
Alexander Derevianko.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Error message with 'portupgrade'

2004-11-28 Thread Gerard Seibert
I just updated to FreeBSD 5.3. While running 'portupgrade' the following
non fatal error message is displayed:

Vulnerability check disabled, dada base not found

I do not remember seeing this when I had version 5.2.1 installed.
Obviously I have forgotten to do something, but I cannot remember what.
Could someone kindly assist me?

Thanks!


Gerard E. Seibert
[EMAIL PROTECTED]


An appeaser is one who feeds a crocodile--hoping it will eat him last.

--Sir Winston Leonard Spencer Churchill

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


Re: Error message with 'portupgrade'

2004-11-28 Thread Kris Kennaway
On Sun, Nov 28, 2004 at 01:18:55PM -0500, Gerard Seibert wrote:
 I just updated to FreeBSD 5.3. While running 'portupgrade' the following
 non fatal error message is displayed:
 
 Vulnerability check disabled, dada base not found
 
 I do not remember seeing this when I had version 5.2.1 installed.
 Obviously I have forgotten to do something, but I cannot remember what.
 Could someone kindly assist me?

man portaudit

Kris


pgpELnK1wf7I8.pgp
Description: PGP signature


Re: Error message with 'portupgrade'

2004-11-28 Thread Chris
Gerard Seibert wrote:
I just updated to FreeBSD 5.3. While running 'portupgrade' the following
non fatal error message is displayed:
Vulnerability check disabled, dada base not found
I do not remember seeing this when I had version 5.2.1 installed.
Obviously I have forgotten to do something, but I cannot remember what.
Could someone kindly assist me?
Thanks!
Gerard E. Seibert
[EMAIL PROTECTED]
Install portaudit
--
Best regards,
Chris
The repairman will never have seen a model quite like
yours before.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error message with 'portupgrade'

2004-11-28 Thread Kris Kennaway
On Sun, Nov 28, 2004 at 10:26:02AM -0800, Kris Kennaway wrote:
 On Sun, Nov 28, 2004 at 01:18:55PM -0500, Gerard Seibert wrote:
  I just updated to FreeBSD 5.3. While running 'portupgrade' the following
  non fatal error message is displayed:
  
  Vulnerability check disabled, dada base not found
  
  I do not remember seeing this when I had version 5.2.1 installed.
  Obviously I have forgotten to do something, but I cannot remember what.
  Could someone kindly assist me?
 
 man portaudit

Er, by which I mean, 'see the portaudit port'.

Kris




pgpLPnRdQ1x5a.pgp
Description: PGP signature


Re: USB mouse support

2004-11-28 Thread Trey Sizemore
Mark Ovens wrote:
On Sat November 27 2004 22:26, Trey Sizemore wrote:
 

Mark Ovens wrote:
   

Trey Sizemore wrote:
 

I've just installed FreeBSD 5.3 on my desktop machine (P4 2.8GHz with
512MB RAM) and cannot get my mouse pointer to move in KDE.  It is a
Microsoft Wireless Optical 2.0 mouse (USB) and I have the following
section in my /etc/X11/xorg.conf file:
Driver mouse
Option Protocol Auto
Option Device /dev/sysmouse
Option Buttons 7
Option ZAxisMapping 4 5
I have installed FreeBSD from the disc 1 ISO file and installed
everything by default.  I have not done a kernel recomple at this point.
Is this an issue with my xorg.conf file or a USB issue that requires
a kernel recompile?  I did not see anything helpful in the Using X11
in the manual.
   

They don't work :-( I have to run mine on PS/2 via an adaptor. There
is a patch in http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/70607 to
fix this. I tried the first version of the patch; the mouse worked but
there were other problems. There have been several modifications done
to the patch since then that I haven't tried.
 

I've just tried mine by using the PS/2 adaptor and it's not working here
either.  The light on the 'base station' doesn't stay on.  Is your
xorg.conf different than mine?
   

Slightly:
   Identifier  Mouse1
   Driver  mouse
   Option Protocolsysmouse
   Option Device  /dev/sysmouse
   OptionButtons 5
   OptionZAxisMapping 4 5
I don't use the tiltwheel - it annoys me - hence Buttons set to 5
 

Hmmm...not sure why mine's not working then.  Is your mouse the wireless 
version?  Mine says Microsoft Wireless Mouse 2.0 (it's kind of a light 
purple color ).

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


Re: Timezone conversion

2004-11-28 Thread jimmy
Quoting [EMAIL PROTECTED]:
 Try the following:
 1. Output date in seconds from epoch
  SECONDS=$(date ...  +%s)
 2. Change the time zone.
  TZ=CET
   export TZ
   date -r  $SECONDS

Yes, but I have dates in the format specified in the earlier mail (with a
different timezone-offset) and want to convert them to the current timezone.
The first step was just to get an example.

So 28 Nov 2004 12:02:18 + in the example is not the current time, it is a
time which I got from an external source (and I can not assume that the date is
in UTC).

For your example to work the ... would still have to include %z in its
format-string, and this doesn't seem to work (if I'm not doing something
stupid, if so please tell me).

Thanks for your response anyway. Any more takers?

Best regards,
Jimmy Mäkelä
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what does rm // delete?

2004-11-28 Thread Parv
in message [EMAIL PROTECTED],
wrote Oliver Fuchs thusly...

 I had a directory which contained the following:

 ls showed me simple this: ? with 0 bytes
 ls -axl showed me nothing

Try ...

  ls -lia

... and then, note the inode number in left, your left that is, most
column which will be used in ...

  find . -inum noted inode number -type d -print0 \
  | xargs -0 rm -riv


 rm -R //

 This was a big mistake which I noticed soon enough (some files in
 /bin were deleted) ... what I want to know is what exactly is

 rm -R //

 deleting. It seems that it is deleting everything?

Yes, using '//' is same as '/' in some shells.  Try this in a sh-like
shell (sh, bash [23], ksh93) ...

  for shell in sh csh tcsh bash ksh93 blah
  do
shell=$(which $shell)
[ -z $shell ]   continue
echo checking shell $shell
$shell -c 'cd //usr///local/bin  echo $PWD  pwd'
echo
  done


... here is what i get in some shells (bash is bash 3) ...

  checking shell /bin/bash
  //usr/local/bin
  //usr/local/bin

  checking shell /usr/local/bin/ksh93
  /usr/local/bin
  /usr/local/bin


  - Parv

-- 

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


Re: what does rm // delete?

2004-11-28 Thread Chris
Oliver Fuchs wrote:
Hi,
I had a directory which contained the following:
ls showed me simple this: ? with 0 bytes
ls -axl showed me nothing
So I tried to delete the directory but could not succeed with rm -R
because the directory is not empty. I changed to the directory and tried
to delete everything inside with rm * but also did not succeed. It seemed
that the file had no name. So than I did a mistake and wanted to delete the
file with no name with the operation:
rm -R //
This was a big mistake which I noticed soon enough (some files in /bin were
deleted). I could repair the damage but what I want to know is what exactly
is
rm -R //
deleting. It seems that it is deleting everything?
Thanx in advance
Oliver
When you have a filename that is odd, I use the syntax:
rm whatever the file name is
 Enclosing it in  works well for me.
--
Best regards,
Chris
Forgive and remember.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to boot FreeBSD from a slave IDE disk

2004-11-28 Thread rain cip
Thanks, Joshua.  This appears to be the easiest way to add multiple OSs.  I 
installed gag and added another Linux OS parition in no time.  Great tool!
 
rain

Joshua Lokken [EMAIL PROTECTED] wrote:
On Thu, 25 Nov 2004 20:26:38 -0800 (PST), rain cip wrote:
 Hello,
 
 I hope I can get some help from this list to figure out how to boot FreeBSD 
 from a slave drive. My PC has two disks. The sysinstall sees both: ad0 and 
 ad3. My hardware configuration is such:
 
 ad0 -- primary IDE, master (all for Win2k)
 ad3 -- secondary IDE, slave (all for FreeBSD 5.3)
 
 

 
 I know I must have done something wrong. But what did I do wrong?

I'm not sure. I know that I use a tool called GAG to boot mutliple
OSes from assorted locations, and it has always worked very well for
me.

http://gag.sourceforge.net/

HTH,

-- 
Joshua Lokken
Open Source Advocate



-
Do you Yahoo!?
 The all-new My Yahoo! – What will yours do?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Kernel with PAE does not build

2004-11-28 Thread Axel S. Gruner
Hi,

we have in our IBM x345 Server 4GB of RAM. So we need the option PAE in
our kernel. 
But a buildkernel gave me:

/usr/src/sys/dev/amd/amd.c: In function `amd_action':
/usr/src/sys/dev/amd/amd.c:466: warning: cast from pointer to integer of
different size
*** Error code 1

Stop in /usr/obj/usr/src/sys/SFBACKUP.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

What could be the problem? 
FreeBSD 5.3-STABLE. 

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


Re: what does rm // delete?

2004-11-28 Thread Parv
in message [EMAIL PROTECTED],
wrote Parv thusly...

   for shell in sh csh tcsh bash ksh93 blah
^ ^
^ ^
Sorry, that blah shell was there only to test for existence of a
shell which i forgot to remove.  Of course.

   do
 shell=$(which $shell)
 [ -z $shell ]   continue
  ...
   done


  - Parv

-- 

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


Re: Make search dead in ports?

2004-11-28 Thread Kris Kennaway
On Sun, Nov 28, 2004 at 07:13:26PM +0100, Mark Rowlands wrote:
  
 
  -Original Message-
  From: Kris Kennaway [mailto:[EMAIL PROTECTED] 
  Sent: Sunday, November 28, 2004 5:27 PM
  To: Mark Rowlands
  Cc: [EMAIL PROTECTED]
  Subject: Re: Make search dead in ports?
  
  On Sun, Nov 28, 2004 at 10:47:58AM +0100, Mark Rowlands wrote:
   Sometime fairly recently, make search in  ports stopped working.
   
   I have installed sysutils/p5-FreeBSD-Portindex-1.1 so I 
  suspected this 
   was the villain but after removing INDEX and INDEX.db and 
  doing a make 
   index and portsdb -Uu make search still doesnt work.
  
  Doesn't work isn't a helpful description of the error.
  
  Kris
  
 
 That's true...sorry...stupid hat was on
 
 zero result...no error.. 

Can you do a 'ls -l /usr/ports/INDEX*' for me?

Kris



pgpLnaK7ciFl0.pgp
Description: PGP signature


Re: USB mouse support

2004-11-28 Thread Mark Ovens
On Sun November 28 2004 18:28, Trey Sizemore wrote:

 Hmmm...not sure why mine's not working then.  Is your mouse the wireless
 version?  Mine says Microsoft Wireless Mouse 2.0 (it's kind of a light
 purple color ).


Yes, same as mine.

You did change ''moused_port'' in /etc/rc.conf to /dev/psm0 when you connected 
it to the PS/2 port, didn't you?

Regards,

Mark


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


Re: USB mouse support

2004-11-28 Thread Trey Sizemore
Mark Ovens wrote:
On Sun November 28 2004 18:28, Trey Sizemore wrote:
 

Hmmm...not sure why mine's not working then.  Is your mouse the wireless
version?  Mine says Microsoft Wireless Mouse 2.0 (it's kind of a light
purple color ).
   

Yes, same as mine.
You did change ''moused_port'' in /etc/rc.conf to /dev/psm0 when you connected 
it to the PS/2 port, didn't you?

 

I'll have to check...I'm doing a portupgrade right now, so I'll have to 
check when that finishes.

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


Starting gconcat / gstripe at boot?

2004-11-28 Thread Mac Mason
So, I have a pair of disks I'd like to put into a mirror with /usr on
them; this is 5.3-RELEASE, so using vinum is out of the question.

It looks to me like gstripe will do the trick; all that is necessary is
that the module get loaded before boot tries to mount /usr.

Can this be done?

(I also have a concatenated pair I'd like to use for something else, but
 it's not boot-critical, and I imagine answering one question answers both)

Thanks!

--Mac

-- 
Mac Mason [EMAIL PROTECTED]
Computer Science '06  (909)-607-3129
Harvey Mudd College  


pgpEM1cbGAMUF.pgp
Description: PGP signature


Server throwing NMI ISA 20, EISA ff messages

2004-11-28 Thread dpk
We have various servers, with various versions of FreeBSD throwing these
NMI messages:

NMI ISA 3c, EISA ff
NMI ISA 2c, EISA ff
NMI ISA 20, EISA ff

There's no information about this anywhere that I can see, but at least
two other people have had the problem according to Google searches.

If tripwire is running while one of these messages appears, sometimes it
shows false alarms about files, indicating either memory or drive
controller problems, maybe?

At first we thought it might just be dodgy hardware. We were only getting
the first two errors on some of our older 2U white box machines. However,
this morning, we just got the third error (just prior to a complete
freeze) on a modern Dell 1750, 1GB RAM, 2.8Ghz.

The kernel source reveals nothing of use about what these errors could be.
Does anyone have a chart of what the numbers next to ISA mean, or have any
ideas where I should turn for answers?

Thanks! I'm off-list, so please Cc: me on any replies.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


APM and/or ppp doing strange things

2004-11-28 Thread Emil Khatib
Hi list. I've got a very strange problem with FreeBSD 4.10 and APM.
After waking up the machine after a zzz, ppp will dials up but nothing
works; I have no ftp access, www navigators don't work, etc ...
I've got FreeBSD installed on a HP Pavilion 8515. Everything else
seems to work just fine.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB mouse support

2004-11-28 Thread Mark Ovens
On Sun November 28 2004 19:35, Trey Sizemore wrote:
 Mark Ovens wrote:
 On Sun November 28 2004 18:28, Trey Sizemore wrote:
 Hmmm...not sure why mine's not working then.  Is your mouse the wireless
 version?  Mine says Microsoft Wireless Mouse 2.0 (it's kind of a light
 purple color ).
 
 Yes, same as mine.
 
 You did change ''moused_port'' in /etc/rc.conf to /dev/psm0 when you
  connected it to the PS/2 port, didn't you?

 I'll have to check...I'm doing a portupgrade right now, so I'll have to
 check when that finishes.


I've just applied the patch in PR kern/70607 and it works just fine - although 
I've not tested the tilt wheel because, as I said, I don't use it so I'm not 
sure how to set it up in FreeBSD.

Regards,

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


Re: USB mouse support

2004-11-28 Thread Trey Sizemore
Mark Ovens wrote:
On Sun November 28 2004 19:35, Trey Sizemore wrote:
 

Mark Ovens wrote:
   

On Sun November 28 2004 18:28, Trey Sizemore wrote:
 

Hmmm...not sure why mine's not working then.  Is your mouse the wireless
version?  Mine says Microsoft Wireless Mouse 2.0 (it's kind of a light
purple color ).
   

Yes, same as mine.
You did change ''moused_port'' in /etc/rc.conf to /dev/psm0 when you
connected it to the PS/2 port, didn't you?
 

I'll have to check...I'm doing a portupgrade right now, so I'll have to
check when that finishes.
   

I've just applied the patch in PR kern/70607 and it works just fine - although 
I've not tested the tilt wheel because, as I said, I don't use it so I'm not 
sure how to set it up in FreeBSD.

 

When you say it works fine, do you mean you've attached the mouse via 
USB?  I'm new to FreeBSD, so how do I apply this patch to get the mouse 
to work?

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


5.3-Release/Stable Problems with ichsmb

2004-11-28 Thread Jochen Keil
Hi all.
Recently i've got a dual Mainboard and one of the first things i tried 
was the smbus stuff.
I knew that i had to put device smb and device smbus in my kernel 
configuration file plus a specific driver.
After some googl'ing i figured out that i need the ichsmb driver in 
order to access the chip.

So i compiled a kernel with the smb and smp stuff and after rebooting i 
wondered why i didn't have /dev/smb?.
Loading the modules wasn't possible because they were already compiled 
into the kernel except the ichsmb module which gave me an error that 
there was no file called ichsmb.ko available.
Checking /boot/kernel i realized that this was true.
After compiling a second time (i updated to 5.3-release meanwhile) the 
error was still there an no /dev/smb? for me.
Looking into the make.conf manpage showed me that i could try with 
MODULES_OVERRIDE.
Trying make MODULES_OVERRIDE=ichsmb buildkernel KERNCONF=FOO ended 
with an error in ichsmb which isn't in /usr/src/sys/modules.
Playing around in the sources (trying to copy sys/dev/ichsmb to 
sys/modules, editing some Makefiles and so on) didn't give me better 
results.

I'm currently compiling a GENERIC Kernel (without SMP) with device 
smb/smbus/ichsmb but i don't expect to much from it because the module 
isn't available in a plain GENERIC.

You guys are my last hope is there a chance of getting ichsmb somehow 
compiled or am i doing something wrong?

Hope to hear from you real soon,
greetings,
Jochen Keil
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I can not install FreeBSD 5.3 in an old Pentium 100 MHz

2004-11-28 Thread Ramiro Aceves
Hello Ted and FreeBSD fans,
I have tried the FreeBSD 4.10 boot floppies and they work. I am still 
thinking about why 5.3 fails. I have tried some hint.*.*.*=*  that I 
found searching on the Internet but it does not work.

I would like installing FreeBSD in that old machine. I had Debian woody 
working well there.

Thanks.
Ramiro.

Ramiro Aceves wrote:
Hello Ted:
Thanks for your help. I tried that before without success. I am going to 
download 4.10 floppies and I will tell you the result.
Thanks.

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


Problems with WPC11 wirelss card on FreeBSD 4.10

2004-11-28 Thread Davis Doherty
I just put a fresh install of FreeBSD 4.10 from CD on my Presario 1610
laptop (ancient!), and I'm trying to get a Linksys WPC11 wireless card
working with my home network.

The wireless card uses the Prism 2 chipset, and was recognized when I
plugged it in. I did 'wicontrol -n my network SSID' and 'wicontrol -p
1'. I then tried to set up the card via DHCP in /stand/sysinstall, and
failed, so I set the network information manually. However, ifconfig -a
still showed status: no carrier. So I tried 'wicontrol -r 2432' thinking
that I might need to have the RTS set to agree with my wireless AP, but
still no luck. Except for a brief moment of connectivity, I remain unable
to connect.

All this took place about 5 feet from the AP, which is not using WEP, so
signal should not be an issue. Is there something I'm missing in my setup
here?

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


Re: Starting gconcat / gstripe at boot?

2004-11-28 Thread Christian Hiris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 28 November 2004 20:41, Mac Mason wrote:
 So, I have a pair of disks I'd like to put into a mirror with /usr on
 them; this is 5.3-RELEASE, so using vinum is out of the question.

 It looks to me like gstripe will do the trick;

If you want to run a mirror (raid1) w/o using gvinum, gmirror does the trick.  

 all that is necessary is 
 that the module get loaded before boot tries to mount /usr.

 Can this be done?

Yes! 'man 8 loader.conf' contains information on boot-time module loading.
An example - if you want geom_stripe.ko loading at boot-time just put the line 
'geom_stripe_load=YES' into your /boot/loader.conf. 

 (I also have a concatenated pair I'd like to use for something else, but
  it's not boot-critical, and I imagine answering one question answers both)

 Thanks!

 --Mac

- -- 
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBqkxu09WjGjvKU74RAu8EAJsGrG8380czle5sRJifyZSATEus+gCfVP2/
TzPHJKIMK+Q2C0uvptQjW20=
=65G5
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with WPC11 wirelss card on FreeBSD 4.10

2004-11-28 Thread Matthias Buelow
Davis Doherty wrote:
The wireless card uses the Prism 2 chipset, and was recognized when I
plugged it in. I did 'wicontrol -n my network SSID' and 'wicontrol -p
try setting the ssid with ifconfig, and see if that makes a difference.
--
  Matthias Buelow; [EMAIL PROTECTED],informatik.uni-wuerzburg}.de
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB mouse support

2004-11-28 Thread Trey Sizemore
Mark Ovens wrote:
On Sun November 28 2004 18:28, Trey Sizemore wrote:
 

Hmmm...not sure why mine's not working then.  Is your mouse the wireless
version?  Mine says Microsoft Wireless Mouse 2.0 (it's kind of a light
purple color ).
   

Yes, same as mine.
You did change ''moused_port'' in /etc/rc.conf to /dev/psm0 when you connected 
it to the PS/2 port, didn't you?
 

Actually, the only entries I have in /etc/rc.conf are:
ifconfig_vr0=DHCP
linux_enable=YES
usbd_enable=YES
What does this line look like?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Make search dead in ports?

2004-11-28 Thread Kris Kennaway
On Sun, Nov 28, 2004 at 11:16:13PM +0100, Mark Rowlands wrote:
On Sun, Nov 28, 2004 at 10:47:58AM +0100, Mark Rowlands wrote:
 Sometime fairly recently, make search in  ports 
  stopped working.
 
 I have installed sysutils/p5-FreeBSD-Portindex-1.1 so I
suspected this
 was the villain but after removing INDEX and INDEX.db and
doing a make
 index and portsdb -Uu make search still doesnt work.

Doesn't work isn't a helpful description of the error.

Kris

   
   That's true...sorry...stupid hat was on
   
   zero result...no error.. 
  
  Can you do a 'ls -l /usr/ports/INDEX*' for me?
  
  Kris
 
 Haha...you suspect I may be an idiot  ;-)...
 S'ok...it's not the first time..and I suspect not entirely
 grounded in fiction
 
 -rw-r--r--  1 root  wheel   6296046 Nov 28 05:37 /usr/ports/INDEX
 -rw-r--r--  1 root  wheel  13681664 Nov 28 05:43 /usr/ports/INDEX.db
 -rw-r--r--  1 root  wheel  13650944 Nov 26 05:22 /usr/ports/INDEX.db.old
 -rw-r--r--  1 root  wheel   6278054 Nov 26 05:21 /usr/ports/INDEX.old
 
 Other factors that may be of interest.  Same problem does not occur
 on  my 5.3 machine :-  cvsupped today and installed p5-portindex. 
 Make search works, Deleted INDEX* did a make index and portsdb -uU
 and make search works.
 
 Could it be related to which version of DB is in effect?
 (blind guesswork)

Does it work if you use 'make fetchindex' to get a pristine index?

Kris


pgpLKSeCpKhbu.pgp
Description: PGP signature


Re: JDK Issues

2004-11-28 Thread Lars Eighner
On Sun, 28 Nov 2004, Jake Stride wrote:
I seem unable to install JDK14:
portupgrade -NRP jdk
---  Found 4 ports matching 'jdk':
   java/jdk11
   java/jdk12
   java/jdk13
   java/jdk14
Install 'java/jdk11'? [yes] no
Install 'java/jdk12'? [yes] no
Install 'java/jdk13'? [yes] no
Install 'java/jdk14'? [yes] yes
** Port marked as IGNORE: java/jdk14:
   is forbidden: Vulnerabilities in the browser plugin
How do I go about ensuring that I can install this please?

If you can't figure this out for yourself, maybe you shouldn't
be told.  Anyway, comment out the forbidden line in the Makefile.
Well, that would work for most forbidden ports, but so far as
I can tell, jdk14 won't build anyway.  After a very long compile
it will come to a grinding halt with:
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
/usr/local/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/Curren
cyData.java:1:
'class' or 'in terface' expected
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
^
/usr/local/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/Curren
cyData.java:1:
unclosed chara cter literal
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
   ^
2 errors
gmake[4]: *** [.compile.classlist] Error 1
gmake[4]: Leaving directory
`/usr/local/ports/java/jdk14/work/j2se/make/java/java'
gmake[3]: *** [optimized] Error 2
gmake[3]: Leaving directory
`/usr/local/ports/java/jdk14/work/j2se/make/java/java'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/local/ports/java/jdk14/work/j2se/make/java'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/local/ports/java/jdk14/work/j2se/make'
gmake: *** [j2se-build] Error 2
*** Error code 2
Stop in /usr/local/ports/java/jdk14.
--
Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
http://www.io.com/~eighner/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB mouse support

2004-11-28 Thread Mark Ovens
On Sun November 28 2004 22:22, Trey Sizemore wrote:
 Mark Ovens wrote:
 On Sun November 28 2004 18:28, Trey Sizemore wrote:
 Hmmm...not sure why mine's not working then.  Is your mouse the wireless
 version?  Mine says Microsoft Wireless Mouse 2.0 (it's kind of a light
 purple color ).
 
 Yes, same as mine.
 
 You did change ''moused_port'' in /etc/rc.conf to /dev/psm0 when you
  connected it to the PS/2 port, didn't you?

 Actually, the only entries I have in /etc/rc.conf are:
 ifconfig_vr0=DHCP
 linux_enable=YES
 usbd_enable=YES

 What does this line look like?

Here's what I have:

moused_enable=yes # Run the mouse daemon.
moused_type=auto  # See man page for rc.conf(5) for available settings.
moused_port=/dev/ums0 # Set to your mouse port.
moused_flags= # Any additional flags to moused.

Regards,

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


/dev/dsp busy

2004-11-28 Thread doug
I need help in finding the reason for the /dev/dsp busy message. fstat does not
show any process using /dev/dsp.

I am running 5.3 with xorg, kde 3.3. When KDE starts, /dev/dsp tests busy which
directs arts to /dev/null. There are no processes using /dev/dsp. I can play
CDs using either kcd or 'cdcontrol -f /dev/acd0 play 1', so I think the sound
card is setup okay.

However something is wrong since 'cat filename  /dev/dsp' produces no sound.

My configuration:

ls -l /dev/dsp
crw-rw-rw-  1 root  wheel   30,   3 Nov 28 16:04 /dev/dsp

cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: ESS Technology Maestro-2E at I/O port 0x1400 irq 5 kld snd_maestro 
(4p/0r/0v channels duplex default)

loader.conf: snd_maestro_load=YES

dmesg:
  pcm0: ESS Technology Maestro-2E port 0x1400-0x14ff irq 5 at device 8.0 on 
pci0
  pcm0: SigmaTel STAC9721/23 AC97 Codec
  pcm0: [GIANT-LOCKED]
  pcm0: ESS Technology Maestro-2E port 0x1400-0x14ff irq 5 at device 8.0 on 
pci0
  pcm0: SigmaTel STAC9721/23 AC97 Codec
  pcm0: [GIANT-LOCKED]

Thanks for any pointers.


_
Douglas Denault
http://www.safeport.com
[EMAIL PROTECTED]
Voice: 301-469-8766
  Fax: 301-469-0601
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Cyrus-SASL2-2.1.20 MySQL crypt'ed passwords

2004-11-28 Thread klr
It is accessing the database properly.

SASL isn't even trying to check vs an encrypted password, if I feed it (at
the SMTP auth) with the encrypted password I find at the database, it will
accept it (like if it was a plaintext-password)



 That is exactly my smtpd.conf , I don't understand why it doesn't work
 :/

 The password_format directive was incorporated on 2.1.20 ?



   smtpd.conf 
  pwcheck_method: auxprop
  mech_list: PLAIN LOGIN
  auxprop_plugin: sql
  srp_mda: md5
  password_format: crypt
  sql_engine: mysql
  sql_hostnames: localhost
  sql_database: postfix
  sql_user: X
  sql_passwd: X
  sql_verbose: yes
  sql_select: SELECT password FROM mailbox WHERE username = '[EMAIL 
  PROTECTED]'
  -


 In this setup Sasl expects the passwords MD5 encrypted, not standaard UNIX
 crypt. Restart MySQL with the parameter --log and see what activity is
 logged.




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


RE: Make search dead in ports?

2004-11-28 Thread Mark Rowlands
 

 -Original Message-
 From: Kris Kennaway [mailto:[EMAIL PROTECTED] 
 Sent: Sunday, November 28, 2004 11:29 PM
 To: Mark Rowlands
 Cc: Kris Kennaway; [EMAIL PROTECTED]
 Subject: Re: Make search dead in ports?
 
 On Sun, Nov 28, 2004 at 11:16:13PM +0100, Mark Rowlands wrote:
 On Sun, Nov 28, 2004 at 10:47:58AM +0100, Mark Rowlands wrote:
  Sometime fairly recently, make search in  ports
   stopped working.
  
  I have installed sysutils/p5-FreeBSD-Portindex-1.1 so I
 suspected this
  was the villain but after removing INDEX and INDEX.db and
 doing a make
  index and portsdb -Uu make search still doesnt work.
 
 Doesn't work isn't a helpful description of the error.
 
 Kris
 

That's true...sorry...stupid hat was on

zero result...no error.. 
   
   Can you do a 'ls -l /usr/ports/INDEX*' for me?
   
   Kris
  
  Haha...you suspect I may be an idiot  ;-)...
  S'ok...it's not the first time..and I suspect not entirely 
  grounded in fiction
  
  -rw-r--r--  1 root  wheel   6296046 Nov 28 05:37 /usr/ports/INDEX
  -rw-r--r--  1 root  wheel  13681664 Nov 28 05:43 /usr/ports/INDEX.db
  -rw-r--r--  1 root  wheel  13650944 Nov 26 05:22 
 /usr/ports/INDEX.db.old
  -rw-r--r--  1 root  wheel   6278054 Nov 26 05:21 
 /usr/ports/INDEX.old
  
  Other factors that may be of interest.  Same problem does 
 not occur on  
  my 5.3 machine :-  cvsupped today and installed p5-portindex.
  Make search works, Deleted INDEX* did a make index and 
 portsdb -uU and 
  make search works.
  
  Could it be related to which version of DB is in effect?
  (blind guesswork)
 
 Does it work if you use 'make fetchindex' to get a pristine index?
 
 Kris


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


Re: Make search dead in ports?

2004-11-28 Thread Kris Kennaway
On Sun, Nov 28, 2004 at 11:44:05PM +0100, Mark Rowlands wrote:

  Does it work if you use 'make fetchindex' to get a pristine index?
  
  Kris
 
 
 That works fine

Something must be broken with your locally-built index then.  Can you
make it available on a website somewhere so I can download it?

Kris



pgpkEEs7OMNuv.pgp
Description: PGP signature


Re: The Complete FreeBSD: errata and addenda

2004-11-28 Thread Andy Firman
On Fri, Nov 26, 2004 at 05:02:00PM +, Greg Lehey wrote:
 Have you found a problem with the book, or maybe something confusing?  Please
 let me know: I'm constantly updating it.

I bought your book back in August...the 4th edition I think.
Great book!  I recently took on a job managing several FreeBSD
servers and the book brought me up to speed very quickly.
I am a former Linux addict and am now addicted to FreeBSD.

Just wanted to throw out a compliment in front of the group.

Andy


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


How to edit file in single user mode

2004-11-28 Thread Trey Sizemore
I made a typo in rc.conf and now am able to boot only into single user 
mode.  I thought vi would be available to edit the file, but cannot 
execute it (vi not found).  How can I edit my rc.conf at this point/

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


Re: How to edit file in single user mode

2004-11-28 Thread Fernando Gleiser
On Sun, 28 Nov 2004, Trey Sizemore wrote:

 I made a typo in rc.conf and now am able to boot only into single user
 mode.  I thought vi would be available to edit the file, but cannot
 execute it (vi not found).  How can I edit my rc.conf at this point/

After you drop into single user, say the magic words:

# mount -a

that will mount all the filesystems and then vi will be available.


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


Marked as Broken - where next?

2004-11-28 Thread Graham Bentley

 Hi All,

 I was follwing this tutorial http://www.bsdnews.org/01/vcd.php

 but was halted abruptly when the build of transcode required 
 mpeg4ip - which is marked as broken (Im running 5.3)

 So, I thought I would take a look at AcidRIP out of curiosity to 
 see if it could help make a VCD but got ;

 p5-ExtUtils-PkgConfig-1.05 is marked as broken: Configure fails

 Being a bit of a video / freebsd newbie I am at a loss as to
 where to go next or indeed interpret what the above is telling 
 me. Any help / advice would be appreciated.

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


Re: Starting gconcat / gstripe at boot?

2004-11-28 Thread Mac Mason
On Sun, Nov 28, 2004 at 11:08:29PM +0100, Christian Hiris wrote:
 An example - if you want geom_stripe.ko loading at boot-time just put the 
 line 
 'geom_stripe_load=YES' into your /boot/loader.conf. 

I actually just ended up adding the requisite options to my kernel; that
worked just fine as well. 

Thanks for the help!

--Mac

-- 
Julian Mac Mason[EMAIL PROTECTED]
Computer Science '06  (909)-607-3129
Harvey Mudd College  


pgpP7Z1OMXNDC.pgp
Description: PGP signature


Re: How to edit file in single user mode

2004-11-28 Thread Trey Sizemore
Fernando Gleiser wrote:
On Sun, 28 Nov 2004, Trey Sizemore wrote:
 

I made a typo in rc.conf and now am able to boot only into single user
mode.  I thought vi would be available to edit the file, but cannot
execute it (vi not found).  How can I edit my rc.conf at this point/
   

After you drop into single user, say the magic words:
# mount -a
that will mount all the filesystems and then vi will be available.
			Fer
 

D'ohsorry.  Dumb question, but thanks for answering anyway!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [OT] Re: Is this a sign of memory going bad?

2004-11-28 Thread Chuck Swiger
Adam Fabian wrote:
Does parity RAM reliably report on it's reliability?
Nope.  At least if you're talking about parity memory on FPM or EDO DRAM, 
which only has a fifty-fifty chance of even noticing an error, and a 1/9 
(~11%) chance of reporting an error with the parity bit itself.

Modern SDRAM and DDR memory with ECC will reliably detect and correct 
single-bit errors, will reliably detect two-bit errors, and even has a very 
good shot (~90+%?) of detecting larger multibit errors.

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


Re: Marked as Broken - where next?

2004-11-28 Thread Kris Kennaway
On Sun, Nov 28, 2004 at 11:20:30PM +, Graham Bentley wrote:
 
  Hi All,
 
  I was follwing this tutorial http://www.bsdnews.org/01/vcd.php
 
  but was halted abruptly when the build of transcode required 
  mpeg4ip - which is marked as broken (Im running 5.3)
 
  So, I thought I would take a look at AcidRIP out of curiosity to 
  see if it could help make a VCD but got ;
 
  p5-ExtUtils-PkgConfig-1.05 is marked as broken: Configure fails
 
  Being a bit of a video / freebsd newbie I am at a loss as to
  where to go next or indeed interpret what the above is telling 
  me. Any help / advice would be appreciated.

Talk to the port maintainer, the software authors, or failing that,
try to fix the problems yourself.  See http://pointyhat.freebsd.org if
you want to see the error logs.

Kris


pgpGT0n4iTjHg.pgp
Description: PGP signature


Re: Marked as Broken - where next?

2004-11-28 Thread Manuel Rabade Garcia
 On Sun, Nov 28, 2004 at 11:20:30PM +, Graham Bentley wrote:
  
   Hi All,
  
   I was follwing this tutorial http://www.bsdnews.org/01/vcd.php
  
   but was halted abruptly when the build of transcode required 
   mpeg4ip - which is marked as broken (Im running 5.3)
  
   So, I thought I would take a look at AcidRIP out of curiosity to 
   see if it could help make a VCD but got ;
  
   p5-ExtUtils-PkgConfig-1.05 is marked as broken: Configure fails
  
   Being a bit of a video / freebsd newbie I am at a loss as to
   where to go next or indeed interpret what the above is telling 
   me. Any help / advice would be appreciated.
 

mencvcd (included in mplayer) is a shell script that uses vcdimager,
cdrdao, mjpegtools and other stuff to create and burn a vcd from any
format that mplayer can play.

I was working in a separated port for it (because it have a lot of
dependencies besides the mplayer ones) and a little patching (change the
shell from sh to bash), but is also included in the current mplayer port
(under /usr/local/share/mplayer/tools/), I can send you what I have done
for an easy install :)

Greetings.

-- 
Manuel Rabade Garcia
 WWW - http://mig-29.net
 GPG - 1024D/AA3325C0 2002-09-30
 Fingerprint - D2E5 76E1 CE2D 8783 545D  1F41 399B 5765 AA33 25C0
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: hdd error

2004-11-28 Thread Chuck Swiger
Marta Resende wrote:
everytime i compile any program, or make world, it gives me that:
ad0: WARNING - WRITE_DMA ICRC error (retrying request) LBA=74623
anyone knows what's that ?thx
I'd try replacing your IDE cable.  Possibly something else is wrong, perhaps 
with your master/slave/CS jumper settings on your drive and other ATA devices, 
so double-check those too.

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


Re: USB mouse support

2004-11-28 Thread Trey Sizemore
Mark Ovens wrote:
On Sun November 28 2004 22:22, Trey Sizemore wrote:
 

Mark Ovens wrote:
   

On Sun November 28 2004 18:28, Trey Sizemore wrote:
 

Hmmm...not sure why mine's not working then.  Is your mouse the wireless
version?  Mine says Microsoft Wireless Mouse 2.0 (it's kind of a light
purple color ).
   

Yes, same as mine.
You did change ''moused_port'' in /etc/rc.conf to /dev/psm0 when you
connected it to the PS/2 port, didn't you?
 

Actually, the only entries I have in /etc/rc.conf are:
ifconfig_vr0=DHCP
linux_enable=YES
usbd_enable=YES
What does this line look like?
   

Here's what I have:
moused_enable=yes # Run the mouse daemon.
moused_type=auto  # See man page for rc.conf(5) for available settings.
moused_port=/dev/ums0 # Set to your mouse port.
moused_flags= # Any additional flags to moused.
 

OK...making some progress now.  I have these entries (except I'm using 
/dev/psm0 for the time being) and now the mouse is jumping to the upper 
left corner of the screen and flickering menus mysteriously.  Moving the 
mouse only causes the flickering.  I used another PS/2 connected mouse 
(wired this time - MS Optical USB) and it gave the exact same behavior).

Any ideas about what to check?  It appears my /etc/rc.conf and 
/etc/X11/xorg.conf (mouse section, at least) look identical to yours.  
I've been googling, but apparently not putting in the right combo of 
words (flickering, erratic, etc.).

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


Dear freebsd problem!

2004-11-28 Thread Rameez
Dear freebsd organization i downladed freebsd 5.3 legacy and all 4 discs i got 
there iso names are diferent indedd but when u burn them they all ahve same 
name except the boot disk whcih is fbsd_miniinst.iso so there si virtualy no 
way of telling if u got all 2 installation cd's or u sju got duplicates of 
miniinstall cds so nwo im wondering do ia hev 3 miniinstall discs or is it disc 
one disc 2 but jsu there anemd miniinstall adn second it woudl eb really 
helpful if u can tell me if i ahd a brand new pc and i wanted to install 
freebsd adn can i jsu use the miniinstall instead of all the other 2 iso's and 
can pzl get back to em on these error thank-you bvery much

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


Re: Mailing-lists behaviour on bounce

2004-11-28 Thread Chuck Swiger
Jeremie Le Hen wrote:
I recently have a problem with my primary mail server and some mails
have bounced today.  Now, everything seems to work.  I know that
FreeBSD mail servers handle a very large amount of mail addresses, so
I don't expect them to defer bounced mails for the next five days as
classical mail servers usually do.
You are confusing the way a 4xx temporary failure is handled versus the way a 
permanent 5xx error (resulting in a bounce) is handled.  The mail 
configuration will attempt to resend messages if it gets a 4xx.

However...
I checked my subscritions on the
Mailman interface on FreeBSD wedsite and my bounce score is actually
1.0.  I wonder whether I'm going to get the bounced mails later in the
night or if they are lost forever because of a drastic policy and I'll
have to browse the archives to read them.
...this implies that your mail server generated a 5xx error message, which 
means don't attempt to retry delivering this message.  What happened after 
that is normal, rather than the result of some drastic policy on the part of 
the FreeBSD listserver/MTA.

The mailing lists have archives available so that you can look for any 
messages you did not receiving during the problematic interval.  See the URLs 
in the header and footer of any message from the list.

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


Re: /dev/dsp busy

2004-11-28 Thread Jeremy Faulkner
[EMAIL PROTECTED] wrote:
I need help in finding the reason for the /dev/dsp busy message. fstat does not
show any process using /dev/dsp.
I am running 5.3 with xorg, kde 3.3. When KDE starts, /dev/dsp tests busy which
directs arts to /dev/null. There are no processes using /dev/dsp. I can play
CDs using either kcd or 'cdcontrol -f /dev/acd0 play 1', so I think the sound
card is setup okay.
However something is wrong since 'cat filename  /dev/dsp' produces no sound.
My configuration:
ls -l /dev/dsp
crw-rw-rw-  1 root  wheel   30,   3 Nov 28 16:04 /dev/dsp
cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: ESS Technology Maestro-2E at I/O port 0x1400 irq 5 kld snd_maestro 
(4p/0r/0v channels duplex default)
loader.conf: snd_maestro_load=YES
dmesg:
  pcm0: ESS Technology Maestro-2E port 0x1400-0x14ff irq 5 at device 8.0 on 
pci0
  pcm0: SigmaTel STAC9721/23 AC97 Codec
  pcm0: [GIANT-LOCKED]
  pcm0: ESS Technology Maestro-2E port 0x1400-0x14ff irq 5 at device 8.0 on 
pci0
  pcm0: SigmaTel STAC9721/23 AC97 Codec
  pcm0: [GIANT-LOCKED]
Thanks for any pointers.
try as root:
sysctl -w hw.snd.maxautovchans=4
--
Jeremy Faulkner [EMAIL PROTECTED]
Resume: http://www.gldis.ca/gldisater/resume.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel with PAE does not build

2004-11-28 Thread Trevor S. Cornpropst
On Tuesday 23 November 2004 06:00 am, Axel S. Gruner wrote:
 Hi,

 we have in our IBM x345 Server 4GB of RAM. So we need the option PAE in
 our kernel.
 But a buildkernel gave me:

 /usr/src/sys/dev/amd/amd.c: In function `amd_action':
 /usr/src/sys/dev/amd/amd.c:466: warning: cast from pointer to integer of
 different size
 *** Error code 1

 Stop in /usr/obj/usr/src/sys/SFBACKUP.
 *** Error code 1

 Stop in /usr/src.
 *** Error code 1

 Stop in /usr/src.

 What could be the problem?
 FreeBSD 5.3-STABLE.

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

If you only have 4GB of RAM you should not need PAE.

Make sure you have makeoptions NO_MODULES=yes in your kernel config file.
Read /usr/src/sys/i386/conf/PAE
Read man pae

HTH,

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


Re: Dear freebsd problem!

2004-11-28 Thread Adam Fabian
On Sun, Nov 28, 2004 at 07:52:13PM -0500, Rameez wrote:

 Dear freebsd organization i downladed freebsd 5.3 legacy and

4.10 is a legacy release.  5.3 is not.

 all 4 discs i got there iso names are diferent indedd but when
 u burn them they all ahve same name except the boot disk whcih

They are not exactly the same length.  I've never looked, but I'll
take your word for it when you say they aren't labelled after burning.
So, compare the number of bytes used on the disk to an ISO image size
and you'll see which is which, then you can label them.  miniinst
contains just enough to install FreeBSD, the first ISO contains
FreeBSD and some packages (a complete superset of the miniinst), and
the second CD is a bootable live CD.  Off of the top of my head, I
don't know what 4th ISO is in thi directory without checking the FTP
site.

This is probably all documented in the FreeBSD handbook, which you
should read the installation section of from FreeBSD's website.
-- 
Adam Fabian ([EMAIL PROTECTED])
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Dear freebsd problem!

2004-11-28 Thread AntonZ
Sorry, but how about just label them right after you burn them, one by one?

Best Regards, Anton


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam Fabian
Sent: Sunday, November 28, 2004 5:59 PM
To: Rameez
Cc: [EMAIL PROTECTED]
Subject: Re: Dear freebsd problem!

On Sun, Nov 28, 2004 at 07:52:13PM -0500, Rameez wrote:

 Dear freebsd organization i downladed freebsd 5.3 legacy and

4.10 is a legacy release.  5.3 is not.

 all 4 discs i got there iso names are diferent indedd but when
 u burn them they all ahve same name except the boot disk whcih

They are not exactly the same length.  I've never looked, but I'll
take your word for it when you say they aren't labelled after burning.
So, compare the number of bytes used on the disk to an ISO image size
and you'll see which is which, then you can label them.  miniinst
contains just enough to install FreeBSD, the first ISO contains
FreeBSD and some packages (a complete superset of the miniinst), and
the second CD is a bootable live CD.  Off of the top of my head, I
don't know what 4th ISO is in thi directory without checking the FTP
site.

This is probably all documented in the FreeBSD handbook, which you
should read the installation section of from FreeBSD's website.
-- 
Adam Fabian ([EMAIL PROTECTED])
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.802 / Virus Database: 545 - Release Date: 11/26/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.802 / Virus Database: 545 - Release Date: 11/26/2004
 

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


Re: How to boot FreeBSD from a slave IDE disk

2004-11-28 Thread Dev Tugnait
You can try out vlc i have had great success in playing dvds with it. 

* rain cip ([EMAIL PROTECTED]) wrote:
 Hello, 
  
 I hope I can get some help from this list to figure out how to boot FreeBSD 
 from a slave drive.  My PC has two disks.  The sysinstall sees both: ad0 and 
 ad3.  My hardware configuration is such:
  
 ad0 -- primary IDE, master  (all for Win2k)
 ad3 -- secondary IDE, slave (all for FreeBSD 5.3)
  
 No more device on the primary IDE while a CD drive acts as the master on the 
 secondary IDE.
  
 I used the entire space on ad3 for a FreeBSD 5.3 release installation while 
 the ad0 contains my old Win 2k.  The problem now is that I can't boot FreeBSD 
 at all even though I had selected install boot manager during the 
 installation.  The PC went straight to Win2k every time I booted.  I tried to 
 reboot from the distribution CDROM and used the FDISK utility to make sure 
 that the FreeBSD slice is flagged as A= but it did nothing.  In the BIOS 
 setting, I selected the slave drive, i.e. ad3, to be the first boot device, 
 and the ad0 to be second.  Still, I couldn't get to FreeBSD.
  
 It appears to me that I did not have the boot manager installed on the ad0.  
 But when I tried to install boot manager onto the ad0, the fdisk gave me no 
 hint where to write the MBR.  Basically what I did was:
  
 select install boot manager
 select ad0
 hit the q key
 select install boot manager
 select ad3
 hit the q key
  
 I know I must have done something wrong.  But what did I do wrong?
  
 rain
 
   
 -
 Do you Yahoo!?
  Yahoo! Mail - Helps protect you from nasty viruses.
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
+--==/\/\==--+   (__)  FreeBSD  
  
|   [EMAIL PROTECTED] |\\\'',)  The   
 
|Kernel  ESCAFLOWNE  |  \/  \ ^Power
  
| Web http://unixdaemon.org  |  .\._/_)To   
  
+--==\/\/==--+ Serve 

[ We've switched the bath sponge with a tribble. ] 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Playing DVD movies with Xine

2004-11-28 Thread Dev Tugnait
I guess i made a little error and mailed it in the wrong topic sorry. Try out 
vlc its good for dvds.
* RL ([EMAIL PROTECTED]) wrote:
 I just installed Xine from ports because I have been having very odd
 issues with ogle.  However, it says there is no demuxer plugin to
 handle /dev/acd0  Usually this means that the file format was not
 recognized when I attempt to play DVD movies.  Similarily, xine -p
 dvd:/ produces that same message, except it says there is no plugin
 available to handle dvd:/
 
 I'm lost :(
 Is there some plugin I'm missing? Where do I get it?
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
+--==/\/\==--+   (__)  FreeBSD  
  
|   [EMAIL PROTECTED] |\\\'',)  The   
 
|Kernel  ESCAFLOWNE  |  \/  \ ^Power
  
| Web http://unixdaemon.org  |  .\._/_)To   
  
+--==\/\/==--+ Serve 

[ We've switched the bath sponge with a tribble. ] 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing libgnome-2.8.0 (really trying galeon)

2004-11-28 Thread Lowell Gilbert
gabriel [EMAIL PROTECTED] writes:

 Hello guys!
 
 I'm trying to install galeon (the lastes port version) for like the
 tenth time and as always I haven't been successfull at all. When I try
 to install galeon it goes through its motions of installing
 dependencies and such until it reaches libgnome-2.8.0 and well, thats
 where all hell breaks loose.
 
 Here's a snip:
 ===  Building for libgnome-2.8.0_1
 gmake  all-recursive
 gmake[1]: Entering directory `/usr/ports/x11/libgnome/work/libgnome-2.8.0'
 Making all in libgnome
 gmake[2]: Entering directory
 `/usr/ports/x11/libgnome/work/libgnome-2.8.0/libgnome'
 gmake  all-am
 gmake[3]: Entering directory
 `/usr/ports/x11/libgnome/work/libgnome-2.8.0/libgnome'
 /bin/sh /usr/local/bin/libtool15 --mode=link cc -O -pipe 
 -L/usr/local/lib -o gnome-open  gnome-open.o libgnome-2.la -lpopt
 cc -O -pipe -o .libs/gnome-open gnome-open.o  -L/usr/local/lib
 ./.libs/libgnome-2.so -L/usr/X11R6/lib -lgnomevfs-2 -lbonobo-2
 -lbonobo-activation -lgconf-2 -lORBit-2 -lgobject-2.0 -lgmodule-2.0
 -lgthread-2.0 -lglib-2.0 -liconv -lesd -laudiofile -lm -lpopt
 -Wl,--rpath -Wl,/usr/X11R6/lib
 gmake[3]: Leaving directory
 `/usr/ports/x11/libgnome/work/libgnome-2.8.0/libgnome'
 gmake[2]: Leaving directory
 `/usr/ports/x11/libgnome/work/libgnome-2.8.0/libgnome'
 gmake[1]: Leaving directory `/usr/ports/x11/libgnome/work/libgnome-2.8.0'
 *** Error code 2
 
 Stop in /usr/ports/x11/libgnome.
 /snip

I don't see any signs of the actual errors in there.  Don't use '-j'
when reporting problems, and make sure you do a make clean before
starting the build.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with WPC11 wirelss card on FreeBSD 4.10

2004-11-28 Thread Davis Doherty
On Sun, 28 Nov 2004, Matthias Buelow wrote:


try setting the ssid with ifconfig, and see if that makes a difference.


I have already tried this (though I forgot to mention it), and it doesn't
seem to make a difference.

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


Re: USB mouse support

2004-11-28 Thread Robert Huff

Trey Sizemore writes:

  OK...making some progress now.  I have these entries (except I'm
  using /dev/psm0 for the time being) and now the mouse is jumping
  to the upper left corner of the screen and flickering menus
  mysteriously.  Moving the mouse only causes the flickering.  I
  used another PS/2 connected mouse (wired this time - MS Optical
  USB) and it gave the exact same behavior).

This sounds very like a known problem some time ago involving
the ACPI code,  I don't remember what the outcome was, but you
should check the archives of the questions@ and current@ lists for
more info.


Robert Huff


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


Re: Problems with WPC11 wirelss card on FreeBSD 4.10

2004-11-28 Thread Jonathan Ben Ari
Does the access point show that the client is associated to it?

I'm new to this list, so this may be a heretic question, but have you
tried the card in a Windows laptop to see if it works there?

On Sun, 28 Nov 2004 18:22:44 -0800 (PST), Davis Doherty
[EMAIL PROTECTED] wrote:
 On Sun, 28 Nov 2004, Matthias Buelow wrote:
 
 
 try setting the ssid with ifconfig, and see if that makes a difference.
 
 
 I have already tried this (though I forgot to mention it), and it doesn't
 seem to make a difference.
 
 -Davis
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: JDK Issues

2004-11-28 Thread Kent Stewart
On Sunday 28 November 2004 02:20 pm, Lars Eighner wrote:
 On Sun, 28 Nov 2004, Jake Stride wrote:
  I seem unable to install JDK14:
 
  portupgrade -NRP jdk
  ---  Found 4 ports matching 'jdk':
 java/jdk11
 java/jdk12
 java/jdk13
 java/jdk14
  Install 'java/jdk11'? [yes] no
  Install 'java/jdk12'? [yes] no
  Install 'java/jdk13'? [yes] no
  Install 'java/jdk14'? [yes] yes
  ** Port marked as IGNORE: java/jdk14:
 is forbidden: Vulnerabilities in the browser plugin
 
  How do I go about ensuring that I can install this please?

 If you can't figure this out for yourself, maybe you shouldn't
 be told.  Anyway, comment out the forbidden line in the Makefile.

 Well, that would work for most forbidden ports, but so far as
 I can tell, jdk14 won't build anyway.  After a very long compile
 it will come to a grinding halt with:

 Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
 location
 /usr/local/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/u
til/Curren cyData.java:1:
 'class' or 'in terface' expected
 Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
 location ^
 /usr/local/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/u
til/Curren cyData.java:1:
 unclosed chara cter literal
 Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
 location ^
 2 errors
 gmake[4]: *** [.compile.classlist] Error 1
 gmake[4]: Leaving directory
 `/usr/local/ports/java/jdk14/work/j2se/make/java/java'
 gmake[3]: *** [optimized] Error 2
 gmake[3]: Leaving directory
 `/usr/local/ports/java/jdk14/work/j2se/make/java/java'
 gmake[2]: *** [all] Error 1
 gmake[2]: Leaving directory
 `/usr/local/ports/java/jdk14/work/j2se/make/java' gmake[1]: *** [all]
 Error 1
 gmake[1]: Leaving directory
 `/usr/local/ports/java/jdk14/work/j2se/make' gmake: *** [j2se-build]
 Error 2
 *** Error code 2

 Stop in /usr/local/ports/java/jdk14.

There must be something missing on your system. It built just fine on 
mine. Of course, it just could be Murphy trying to confuse us :).

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >