Re: icewm tools

2006-03-31 Thread Logan McNaughton
I installed qt from a package (pkg_add), Ill try that configure thing,
thanks

On 3/31/06, Norberto Meijome <[EMAIL PROTECTED]> wrote:
>
> On Fri, 31 Mar 2006 15:32:01 -0700
> "Logan McNaughton" <[EMAIL PROTECTED]> wrote:
>
> > Hey, ive tried to download and compile IceWM Control Panel, it
> > required python for an install shield, so I got python, and it needed
> > py-gtk, so I got py24-gtk from ports, all that went fine, I tried to
> > run the install shield, and it gave me errors about really strange
> > stuff
> >
> > So I tried IceWM Control Center, required qt, so I got qt,
>
> "how" did you "get" qt? /usr/ports/x11-toolkits/qt33 ?
>
> > but when i
> > ran ./configure, it says i dont have the qt libraries, any
> > suggestions?
>
> install the package or from port. If you have, you may have to pass an
> option to configure telling it where to find the QT libraries (as they
> would be in /usr/local/lib/... ./configure --help should help you out)
>
> beto
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: DVD-Slideshow

2006-03-31 Thread Chris Maness

[EMAIL PROTECTED] wrote:

Chris,

  

or you could symlink to: ( if you have linux compat enabled )

/usr/compat/linux/usr/bin/seq




will you let me know if this helped you?

will you relay the seq-patches to the portmaintainer?

regards,

usleep

  
I am going to be getting married this weekend, and I will be going on a 
honeymoon and unable to play with dvd-slideshow.


I will try it out when I get back...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Merging Groups

2006-03-31 Thread Wil Hatfield
Nevermind I got it.

audit:*:77:


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Wil Hatfield
Sent: Friday, March 31, 2006 8:08 PM
To: freebsd-questions@freebsd.org
Subject: Merging Groups


U I have a bad habit of not merging the /etc/group file. Can someone
send me over the line from your FBSD 6.0 install, for the new audit group?

Thanks,

--
Wil Hatfield


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



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


Re: Which xorg driver/setup to use to get all the buttons for a Logitech MX518

2006-03-31 Thread Jim Stapleton
I have IMWheel installed and setup, and below is the mouse setting for
my xorg.conf file, however. Buttons 1-7 work just perfectly, however,
8 mimics the wheel-down, and 9 and 10 refuse to do anything, no
matther what I do with imwheel or the utility that lets me remap the
buttons

Oh, and I was wrong in an earlier post, it isn't the driver that they
posted and I couldn't use, it was the protocol (ignore my terminology,
and not the sample mouse-config part with "evdev" in it).

current mouse section of xorg.conf

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "auto"
Option  "Device"   "/dev/sysmouse"
Option  "Buttons"  "10"
Option  "ZAxisMapping" "4 5"
EndSection


~/.imwheelrc

  none, Thumb1, Alt_R|Left
  none, Thumb2, Alt_R|Right
  none, Left, Alt_R|Left
  none, Right, Alt_R|Right


~/.xsession and ~/.xinitrc

exec startkde
imwheel -k -b "6789" &



I've tried using every variant of xmodmap that I could to alter the
mapping of 6-10, however, nothing gets buttons other than 6 and 7 to
work properly, and one of the others (I suspect it's 8) to mimic a
completely different button. Unfortunately, button 7 is the only
button that I don't like usin gon this mouse (hard to twist my hand to
press it).

By "not work properly", I mean that in any mapping other than the
default, (except reversing 6 and 7) with xmodmap, the buttons either
do nothing (normally), or act in a manner not previously specifice
(usually by mimicking a scroll up or down button). Mapping 9 and 10
into the place of 6 and 7 (i.e. ' xmodmap -e "pointer = 1 2 3 4 5 9 10
8 6 7" ' or ' xmodmap -e "pointer = 1 2 3 4 5 9 10 6 7 8" ') ensures
that no buttons beyond 5 work.

I strongly suspect that signals from buttons 8-10 aren't reaching the
software that handles them properly. 8 is either being misread or sent
wrong, 9 and 10 appear to simply be dropped.

Thanks,
-Jim





On 3/31/06, Garrett Cooper <[EMAIL PROTECTED]> wrote:
> Jim Stapleton wrote:
>
> >Aye, it's got a lot of buttons, and I've tried transferring several of
> >the config settings, however, none of the drivers they pointed to seem
> >to exist in BSD, and they also pointed to devices, again nonexistant
> >in bsd.
> >
> >example, one involves the following:
> >
> >Option "Device" "/dev/input/event1"
> >Option "Protocol" "evdev"
> >
> >
> >If I try to use evdev, x refuses to start, and says said module does
> >not exist in the log file. The other variants I've seen have similar
> >modules that I can't find and won't load.
> >
> >Thanks,
> >-Jim
> >
> >
> >
> >On 3/31/06, Norberto Meijome <[EMAIL PROTECTED]> wrote:
> >
> >
> >>On Fri, 31 Mar 2006 13:13:49 -0500
> >>"Jim Stapleton" <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >>
> >>>I've googled the problem in general, tried looking around xorg and
> >>>this site, but I couldn't find any useful information on getting my
> >>>MX518 working with all of it's buttons in BSD (were I to downgrade
> >>>back to Linux, I could, but I'd rather not do that, ports is much more
> >>>useful than the extra three buttons).
> >>>
> >>>
> >>Hey Jim
> >>i suppose this is a logitech mouse with lots of buttons? if you know it
> >>works with linux, why not transfer the config from linux to freebsd? (u
> >>dont need to install anything, just try knoppix). It should work out of
> >>the box (I believe moused is same across platforms, and xorg shouldn't
> >>worry too much about what OS it's being used under).
> >>
> >>otherwise, have u read man moused ?
> >>
> >>beto
> >>
> Many people in Linux (at least), use imwheel for utilizing all mouse
> buttons on their mice, unless they use an internal X program to set the
> values for 'key strokes' obtained from the mouse by themselves (kind of
> a royal pain, if you ask me). Try searching for "imwheel gentoo" on
> google if imwheel's included in ports (don't have my FreeBSD machine in
> front of me right now to verify).
> Also, if you're looking for the codes for your mouse's buttons, try
> using xev.
> -Garrett
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Merging Groups

2006-03-31 Thread Wil Hatfield
U I have a bad habit of not merging the /etc/group file. Can someone
send me over the line from your FBSD 6.0 install, for the new audit group?

Thanks,

--
Wil Hatfield


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


Re: ACPI disables network (why?)

2006-03-31 Thread Peter

--- "Donald J. O'Neill" <[EMAIL PROTECTED]> wrote:

> On Friday 31 March 2006 19:16, Peter wrote:
> > I've been meaning to ask this one for awhile.
> >
> > I'm running 5.4-STABLE and I cannot use my network card *without*
> > booting with ACPI enabled.  The net contains trouble with people
> > having this type of issue with Realtek cards and ACPI *enabled*.  I
> > have a Gigabyte m/b with an onbard adapter that is assigned the sk
> > driver.
> >
> > So the symptom is "watchdog timeout" during DHCP discovery at the
> > boot stage.  My networking is non-functional if I try to boot with
> > ACPI.
> >
> > dmesg says (during a successful boot):
> >
> > pcib2:  at device 14.0 on pci0
> > pci2:  on pcib2
> > skc0:  port 0xc000-0xc0ff mem
> > 0xfb00-0xfb003fff irq 19 at device 11.0 on pci2
> > skc0: Marvell Yukon Lite Gigabit Ethernet rev. (0x9)
> > sk0:  on skc0
> > sk0: Ethernet address: 00:0f:ea:ec:f1:4e
> > miibus0:  on sk0
> > e1000phy0:  on miibus0
> > e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
> > 1000baseTX-FDX, auto
> >
> > Any ideas?
> >
> > __
> 
> One thing you can check for in DMESG is irq storms, throttling
> offending device. If you see that, it means you've got devices that
don't want
> to share an irq, and you'll have to shuffle the cards on the pci bus
until that clears up.

Here is what I have for "irq".  It looks like irq 22 is being overused.

$ dmesg | grep irq
ioapic0  irqs 0-23 on motherboard
ohci0:  mem 0xfc003000-0xfc003fff irq 22
at device 2.0 on pci0
ohci1:  mem 0xfc004000-0xfc004fff irq 21
at device 2.1 on pci0
ehci0:  mem 0xfc005000-0xfc0050ff
irq 20 at device 2.2 on pci0
pcm0:  port 0xe000-0xe07f,0xdc00-0xdcff mem
0xfc001000-0xfc001fff irq 22 at device 6.0 on pci0
nvidia0:  mem
0xe000-0xefff,0xf800-0xf8ff irq 16 at device 0.0 on
pci1
skc0:  port 0xc000-0xc0ff mem
0xfb00-0xfb003fff irq 19 at device 11.0 on pci2
fdc0:  port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on
acpi0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
ppc0:  port 0x378-0x37f irq 7 on acpi0
atkbdc0:  port 0x64,0x60 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Best way to print photos

2006-03-31 Thread P.U.Kruppa


I didn't catch the complete thread, but perhaps I can help a 
little bit.


On Fri, 31 Mar 2006, M. Warner Losh wrote:


: > : > Thanks for the tips.  I have these ports installed, but am
: > : > tripping over something stupidly basic: what converts the
: > : > pict0001.jpg into something that can be fed to the hpijs driver
: > : > that will print?
: > : >
: > : > Warner
: Are you using cups? Or something else? If you have your printer working
: under cups, then I would think that gimp would print to it.

I have cups running.  I'd have thought that too, so I'm doing
something insanely stupid.  I can print to my other HP printer, but it
understands .ps natively.  If the answer to printing from gimp is
'just print a .ps' then I'm happy.

Once you have setup cups correctly you can simply type
# lpr your_image.jpg
and it will be printed out.


I can print test pages with the CUPS interface w/o a problem.  I'll
try directly printing a simple color PS document next.  I just
realized that I haven't tried to do that yet.

There might be a very simple reason for your problems:
Cups' lpr program lives in /usr/local/bin/lpr and thus will be 
shadowed  by FreeBSD's native /usr/bin/lpr .

Try something like
# /usr/local/bin/lpr your_image.jpg
If that works we will have to set some links and everything will 
be fine.


Regards,

Uli.



*
* Peter Ulrich Kruppa - Wuppertal - Germany *
*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ACPI disables network (why?)

2006-03-31 Thread Donald J. O'Neill
On Friday 31 March 2006 19:16, Peter wrote:
> I've been meaning to ask this one for awhile.
>
> I'm running 5.4-STABLE and I cannot use my network card *without*
> booting with ACPI enabled.  The net contains trouble with people
> having this type of issue with Realtek cards and ACPI *enabled*.  I
> have a Gigabyte m/b with an onbard adapter that is assigned the sk
> driver.
>
> So the symptom is "watchdog timeout" during DHCP discovery at the
> boot stage.  My networking is non-functional if I try to boot with
> ACPI.
>
> dmesg says (during a successful boot):
>
> pcib2:  at device 14.0 on pci0
> pci2:  on pcib2
> skc0:  port 0xc000-0xc0ff mem
> 0xfb00-0xfb003fff irq 19 at device 11.0 on pci2
> skc0: Marvell Yukon Lite Gigabit Ethernet rev. (0x9)
> sk0:  on skc0
> sk0: Ethernet address: 00:0f:ea:ec:f1:4e
> miibus0:  on sk0
> e1000phy0:  on miibus0
> e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
> 1000baseTX-FDX, auto
>
> Any ideas?
>
> __

One thing you can check for in DMESG is irq storms, throttling offending 
device. If you see that, it means you've got devices that don't want to 
share an irq, and you'll have to shuffle the cards on the pci bus until 
that clears up.

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


Re: Which xorg driver/setup to use to get all the buttons for a Logitech MX518

2006-03-31 Thread Garrett Cooper

Jim Stapleton wrote:


Aye, it's got a lot of buttons, and I've tried transferring several of
the config settings, however, none of the drivers they pointed to seem
to exist in BSD, and they also pointed to devices, again nonexistant
in bsd.

example, one involves the following:

Option "Device" "/dev/input/event1"
Option "Protocol" "evdev"


If I try to use evdev, x refuses to start, and says said module does
not exist in the log file. The other variants I've seen have similar
modules that I can't find and won't load.

Thanks,
-Jim



On 3/31/06, Norberto Meijome <[EMAIL PROTECTED]> wrote:
 


On Fri, 31 Mar 2006 13:13:49 -0500
"Jim Stapleton" <[EMAIL PROTECTED]> wrote:

   


I've googled the problem in general, tried looking around xorg and
this site, but I couldn't find any useful information on getting my
MX518 working with all of it's buttons in BSD (were I to downgrade
back to Linux, I could, but I'd rather not do that, ports is much more
useful than the extra three buttons).
 


Hey Jim
i suppose this is a logitech mouse with lots of buttons? if you know it
works with linux, why not transfer the config from linux to freebsd? (u
dont need to install anything, just try knoppix). It should work out of
the box (I believe moused is same across platforms, and xorg shouldn't
worry too much about what OS it's being used under).

otherwise, have u read man moused ?

beto

   Many people in Linux (at least), use imwheel for utilizing all mouse 
buttons on their mice, unless they use an internal X program to set the 
values for 'key strokes' obtained from the mouse by themselves (kind of 
a royal pain, if you ask me). Try searching for "imwheel gentoo" on 
google if imwheel's included in ports (don't have my FreeBSD machine in 
front of me right now to verify).
   Also, if you're looking for the codes for your mouse's buttons, try 
using xev.

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


Re: 6.0 APCI Config & PMAP

2006-03-31 Thread Donald J. O'Neill
On Friday 31 March 2006 18:55, Don O'Neil wrote:
> I am 'burning in' some hardware and drives before putting them into
> production using various tools (raidtest, etc...) and have a couple
> of questions..
>
> Occasionally under high load when doing the raid test, I see:
>
> collecting pv entries -- suggest increasing PMAP_SHPGPERPROC
>
> What does this mean, and what should I change it to to correct the
> problem? I also get the occasional error that it couldn't write to
> the device (twed) ... Everything seems to work ok though.
>
> Also, my motherboards APCI is horribly broken, I can boot ok without
> APCI if I select option 2 from the boot menu (it's a 'stock' 6.0
> install). How do I configure the system to boot without APCI
> automatically?
>
> Thanks!
>
> ___
Moving to 6-STABLE should fix APCI. It's about the first thing I do. 
After that, no problems with APCI.

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


Re: ATA Drive Issues

2006-03-31 Thread Norberto Meijome
On Fri, 31 Mar 2006 18:28:09 -0800
"Wil Hatfield" <[EMAIL PROTECTED]> wrote:

> > fair enough, but you should be able to use some of the performance
> > testing tools to hammer the server before pushing it live.
> 
> Suggestions for tools that REALLY hammer? 

if it's going to be a webserver, use ab (apache's benchmark tool) to
simulate high traffic. at the same time, you could run other tools on
the server itself (bonny (sp?) from memory, etc). building the kernel
(-j[num_cpuX2) ) seems like a nice way to add some load to the box...

do a search in /usr/ports/sysutils for benchmarking utils.

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


RE: ATA Drive Issues

2006-03-31 Thread Wil Hatfield
I'm not that frustrated.  ;-)

--
Wil Hatfield


-Original Message-
From: Anish Mistry [mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 6:42 PM
To: freebsd-questions@freebsd.org
Cc: Wil Hatfield
Subject: Re: ATA Drive Issues


On Friday 31 March 2006 21:28, Wil Hatfield wrote:
> Beto,
>
> > fair enough, but you should be able to use some of the
> > performance testing tools to hammer the server before pushing it
> > live.
>
> Suggestions for tools that REALLY hammer?
"make -j100 buildworld" is always fun :)

>
>
> --
> Wil Hatfield
>
>
>
> -Original Message-
> From: Norberto Meijome [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 31, 2006 5:17 PM
> To: Wil Hatfield
> Cc: freebsd-questions@freebsd.org
> Subject: Re: ATA Drive Issues
>
>
> On Fri, 31 Mar 2006 18:00:34 -0800
>
> "Wil Hatfield" <[EMAIL PROTECTED]> wrote:
> > Beto,
> >
> > I am currently trying to upgrade one without customers on it to
> > 6.0. But as was the problem with 5.4 the problems don't show up
> > until the machine is under high load.  So even under 6 I won't
> > have a clue if the issues are fixed until I get the customers on
> > it. So it doesn't make alot of difference.
>
> fair enough, but you should be able to use some of the performance
> testing tools to hammer the server before pushing it live.
>
> > I checked with the manufacturer or the machine and they assure me
> > that they installed brand new high quality 80/40 cables. But then
> > again what did I expect them to say. So do you know of a good
> > high quality 80/40 manufacture and where I can buy some new
> > cables? What's the best of the best?
>
> not really - i had my bad experience with cables, just went out,
> got the ones that a) weren't 10 for a buck , b) actually looked
> well built. I just went to my preferred provider here in town
> (eer... "online" actually...but they are local (Syd, AU) )
>
> > At Supermicro's recommendation I already phlashed to the latest
> > bios.
>
> cool - but my point was not to assume that new bios would be better
> - it may actually be a step backwards when combined with your other
> hardware and software.
>
> > Well it is good to know you think 6 is better than 5.4. But then
> > again you are running SATA and we all know 6 runs SATA better.
> > Hopefully it runs ATA better too.
>
> actually, that's the only box with SATA - all the others run PATA
> or SCSI.
> B
>
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

-- 
Anish Mistry
[EMAIL PROTECTED]
AM Productions http://am-productions.biz/


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


Re: ATA Drive Issues

2006-03-31 Thread Anish Mistry
On Friday 31 March 2006 21:28, Wil Hatfield wrote:
> Beto,
>
> > fair enough, but you should be able to use some of the
> > performance testing tools to hammer the server before pushing it
> > live.
>
> Suggestions for tools that REALLY hammer?
"make -j100 buildworld" is always fun :)

>
>
> --
> Wil Hatfield
>
>
>
> -Original Message-
> From: Norberto Meijome [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 31, 2006 5:17 PM
> To: Wil Hatfield
> Cc: freebsd-questions@freebsd.org
> Subject: Re: ATA Drive Issues
>
>
> On Fri, 31 Mar 2006 18:00:34 -0800
>
> "Wil Hatfield" <[EMAIL PROTECTED]> wrote:
> > Beto,
> >
> > I am currently trying to upgrade one without customers on it to
> > 6.0. But as was the problem with 5.4 the problems don't show up
> > until the machine is under high load.  So even under 6 I won't
> > have a clue if the issues are fixed until I get the customers on
> > it. So it doesn't make alot of difference.
>
> fair enough, but you should be able to use some of the performance
> testing tools to hammer the server before pushing it live.
>
> > I checked with the manufacturer or the machine and they assure me
> > that they installed brand new high quality 80/40 cables. But then
> > again what did I expect them to say. So do you know of a good
> > high quality 80/40 manufacture and where I can buy some new
> > cables? What's the best of the best?
>
> not really - i had my bad experience with cables, just went out,
> got the ones that a) weren't 10 for a buck , b) actually looked
> well built. I just went to my preferred provider here in town
> (eer... "online" actually...but they are local (Syd, AU) )
>
> > At Supermicro's recommendation I already phlashed to the latest
> > bios.
>
> cool - but my point was not to assume that new bios would be better
> - it may actually be a step backwards when combined with your other
> hardware and software.
>
> > Well it is good to know you think 6 is better than 5.4. But then
> > again you are running SATA and we all know 6 runs SATA better.
> > Hopefully it runs ATA better too.
>
> actually, that's the only box with SATA - all the others run PATA
> or SCSI.
> B
>
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

-- 
Anish Mistry
[EMAIL PROTECTED]
AM Productions http://am-productions.biz/


pgp49Wxe3ASSc.pgp
Description: PGP signature


RE: ATA Drive Issues

2006-03-31 Thread Wil Hatfield
Beto,

> fair enough, but you should be able to use some of the performance
> testing tools to hammer the server before pushing it live.

Suggestions for tools that REALLY hammer? 


--
Wil Hatfield



-Original Message-
From: Norberto Meijome [mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 5:17 PM
To: Wil Hatfield
Cc: freebsd-questions@freebsd.org
Subject: Re: ATA Drive Issues


On Fri, 31 Mar 2006 18:00:34 -0800
"Wil Hatfield" <[EMAIL PROTECTED]> wrote:

> Beto,
> 
> I am currently trying to upgrade one without customers on it to 6.0.
> But as was the problem with 5.4 the problems don't show up until the
> machine is under high load.  So even under 6 I won't have a clue if
> the issues are fixed until I get the customers on it. So it doesn't
> make alot of difference.

fair enough, but you should be able to use some of the performance
testing tools to hammer the server before pushing it live.

> 
> I checked with the manufacturer or the machine and they assure me
> that they installed brand new high quality 80/40 cables. But then
> again what did I expect them to say. So do you know of a good high
> quality 80/40 manufacture and where I can buy some new cables? What's
> the best of the best?

not really - i had my bad experience with cables, just went out, got
the ones that a) weren't 10 for a buck , b) actually looked well
built. I just went to my preferred provider here in town (eer...
"online" actually...but they are local (Syd, AU) ) 

> 
> At Supermicro's recommendation I already phlashed to the latest bios.
> 

cool - but my point was not to assume that new bios would be better -
it may actually be a step backwards when combined with your other
hardware and software.

> Well it is good to know you think 6 is better than 5.4. But then
> again you are running SATA and we all know 6 runs SATA better.
> Hopefully it runs ATA better too.

actually, that's the only box with SATA - all the others run PATA or
SCSI. 
B



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


Re: Which xorg driver/setup to use to get all the buttons for a Logitech MX518

2006-03-31 Thread Jim Stapleton
Aye, it's got a lot of buttons, and I've tried transferring several of
the config settings, however, none of the drivers they pointed to seem
to exist in BSD, and they also pointed to devices, again nonexistant
in bsd.

example, one involves the following:

Option "Device" "/dev/input/event1"
Option "Protocol" "evdev"


If I try to use evdev, x refuses to start, and says said module does
not exist in the log file. The other variants I've seen have similar
modules that I can't find and won't load.

Thanks,
-Jim



On 3/31/06, Norberto Meijome <[EMAIL PROTECTED]> wrote:
> On Fri, 31 Mar 2006 13:13:49 -0500
> "Jim Stapleton" <[EMAIL PROTECTED]> wrote:
>
> > I've googled the problem in general, tried looking around xorg and
> > this site, but I couldn't find any useful information on getting my
> > MX518 working with all of it's buttons in BSD (were I to downgrade
> > back to Linux, I could, but I'd rather not do that, ports is much more
> > useful than the extra three buttons).
>
>
> Hey Jim
> i suppose this is a logitech mouse with lots of buttons? if you know it
> works with linux, why not transfer the config from linux to freebsd? (u
> dont need to install anything, just try knoppix). It should work out of
> the box (I believe moused is same across platforms, and xorg shouldn't
> worry too much about what OS it's being used under).
>
> otherwise, have u read man moused ?
>
> beto
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ATA Drive Issues

2006-03-31 Thread Norberto Meijome
On Fri, 31 Mar 2006 18:00:34 -0800
"Wil Hatfield" <[EMAIL PROTECTED]> wrote:

> Beto,
> 
> I am currently trying to upgrade one without customers on it to 6.0.
> But as was the problem with 5.4 the problems don't show up until the
> machine is under high load.  So even under 6 I won't have a clue if
> the issues are fixed until I get the customers on it. So it doesn't
> make alot of difference.

fair enough, but you should be able to use some of the performance
testing tools to hammer the server before pushing it live.

> 
> I checked with the manufacturer or the machine and they assure me
> that they installed brand new high quality 80/40 cables. But then
> again what did I expect them to say. So do you know of a good high
> quality 80/40 manufacture and where I can buy some new cables? What's
> the best of the best?

not really - i had my bad experience with cables, just went out, got
the ones that a) weren't 10 for a buck , b) actually looked well
built. I just went to my preferred provider here in town (eer...
"online" actually...but they are local (Syd, AU) ) 

> 
> At Supermicro's recommendation I already phlashed to the latest bios.
> 

cool - but my point was not to assume that new bios would be better -
it may actually be a step backwards when combined with your other
hardware and software.

> Well it is good to know you think 6 is better than 5.4. But then
> again you are running SATA and we all know 6 runs SATA better.
> Hopefully it runs ATA better too.

actually, that's the only box with SATA - all the others run PATA or
SCSI. 
B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: icewm tools

2006-03-31 Thread Norberto Meijome
On Fri, 31 Mar 2006 15:32:01 -0700
"Logan McNaughton" <[EMAIL PROTECTED]> wrote:

> Hey, ive tried to download and compile IceWM Control Panel, it
> required python for an install shield, so I got python, and it needed
> py-gtk, so I got py24-gtk from ports, all that went fine, I tried to
> run the install shield, and it gave me errors about really strange
> stuff
> 
> So I tried IceWM Control Center, required qt, so I got qt, 

"how" did you "get" qt? /usr/ports/x11-toolkits/qt33 ?

> but when i
> ran ./configure, it says i dont have the qt libraries, any
> suggestions?

install the package or from port. If you have, you may have to pass an
option to configure telling it where to find the QT libraries (as they
would be in /usr/local/lib/... ./configure --help should help you out)

beto

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


RE: ATA Drive Issues

2006-03-31 Thread Wil Hatfield
Just never seen that before out of WD. Seen it with Seagate though. So I
guess it could happen. But there are 3 batches involved I believe. The 4
200GB could be from the same batch but unlikely. Purchased first two then
the second two a month later.

Wil Hatfield


-Original Message-
From: David Kelly [mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 5:54 PM
To: FreeBSD Questions
Cc: Wil Hatfield
Subject: Re: ATA Drive Issues



On Mar 31, 2006, at 6:25 PM, Wil Hatfield wrote:

> So are you saying that I have 5 new drives (a week old) all with
> the same
> problems? And S.M.A.R.T doesn't show any of the issues.
>
> I need to go play the lottery.  ;-)

Whats so strange about the notion of 5 identical new drives out of
the same batch having the same problem?

--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.




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


Re: 6.0 APCI Config & PMAP

2006-03-31 Thread Norberto Meijome
On Fri, 31 Mar 2006 16:55:29 -0800
"Don O'Neil" <[EMAIL PROTECTED]> wrote:

> I am 'burning in' some hardware and drives before putting them into
> production using various tools (raidtest, etc...) and have a couple of
> questions..
> 
> Occasionally under high load when doing the raid test, I see:
> 
> collecting pv entries -- suggest increasing PMAP_SHPGPERPROC
> 
> What does this mean, and what should I change it to to correct the
> problem? I also get the occasional error that it couldn't write to
> the device (twed) ... Everything seems to work ok though.

google? :)

anyway:
/usr/src/sys/i386/conf
$ less NOTES
[]
#
# Set the number of PV entries per process.  Increasing this can
# stop panics related to heavy use of shared memory.  However, that can
# (combined with large amounts of physical memory) cause panics at
# boot time due the kernel running out of VM space.
#
# If you're tweaking this, you might also want to increase the sysctls
# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target".
#
# The value below is the one more than the default.
#
options PMAP_SHPGPERPROC=201

[...]
> 
> Also, my motherboards APCI is horribly broken, I can boot ok without
> APCI if I select option 2 from the boot menu (it's a 'stock' 6.0
> install). How do I configure the system to boot without APCI
> automatically?

(FAQ)
/boot/device.hints,  change the following lines to
### APM vs ACPI
hint.apm.0.disabled="0"
hint.acpi.0.disabled="1"

/boot/loader.conf.local:
apm_load="YES"

(that's to enable APM instead of ACPI - if not a laptop, u can have
both off). ACPI shouldn't be compiled into the kernel, of coure.

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


RE: Upgrading 5.4 -> 6.0

2006-03-31 Thread Wil Hatfield
You're right my bad. I forgot to run make buildworld first. This chit
has me pretty frustrated.

Thanks,

Wil Hatfield


-Original Message-
From: Anish Mistry [mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 5:53 PM
To: freebsd-questions@freebsd.org
Cc: Wil Hatfield
Subject: Re: Upgrading 5.4 -> 6.0


On Friday 31 March 2006 20:41, Wil Hatfield wrote:
> Is there a process for upgrading from 5.4 to 6.0 via CVS? Or do I
> need to do this upgrade from CD?  Never received this error before.
>
>
> --
>
> >>> stage 1: configuring the kernel
>
> --
> cd /usr/src/sys/i386/conf;
> PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/lega
>cy/usr/bi
> n:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sb
>in:/usr/o
> bj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/u
>sr/sbin:/ usr/bin  config  -d /usr/obj/usr/src/sys/CUSTOM-KERNEL
> /usr/src/sys/i386/conf/CUSTOM-KERNEL
> ERROR: version of config(8) does not match kernel!
> config version = 500013, version required = 63
>
> Make sure that /usr/src/usr.sbin/config is in sync
> with your /usr/src/sys and install a new config binary
> before trying this again.
>
> If running the new config fails check your config
> file against the GENERIC or LINT config files for
> changes in config syntax, or option/device naming
> conventions
>
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
>
>
> --
> Wil Hatfield
You need to follow the correct procedure.
make buildworld && make kernel KERNCONF=CUSTOM-KERNEL
reboot to since user mode, mount the partitions
mergemaster -p && make installworld && mergemaster

--
Anish Mistry
[EMAIL PROTECTED]
AM Productions http://am-productions.biz/


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


RE: ATA Drive Issues

2006-03-31 Thread Wil Hatfield
Beto,

I am currently trying to upgrade one without customers on it to 6.0. But as
was the problem with 5.4 the problems don't show up until the machine is
under high load.  So even under 6 I won't have a clue if the issues are
fixed until I get the customers on it. So it doesn't make alot of
difference.

I checked with the manufacturer or the machine and they assure me that they
installed brand new high quality 80/40 cables. But then again what did I
expect them to say. So do you know of a good high quality 80/40 manufacture
and where I can buy some new cables? What's the best of the best?

At Supermicro's recommendation I already phlashed to the latest bios.

Well it is good to know you think 6 is better than 5.4. But then again you
are running SATA and we all know 6 runs SATA better. Hopefully it runs ATA
better too.

--
Wil Hatfield



-Original Message-
From: Norberto Meijome [mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 4:48 PM
To: Wil Hatfield
Cc: freebsd-questions@freebsd.org
Subject: Re: ATA Drive Issues


On Fri, 31 Mar 2006 15:43:35 -0800
"Wil Hatfield" <[EMAIL PROTECTED]> wrote:

> Ok I am just nervous about going to 6.x and putting these customers
> through this not once more, but twice when I have to go back to 4.x.

Sorry for asking the obvious, but why not try with 6 without any
customers on the servers? putting new hardware/software straight into
production seems to me like looking for troubles.

Anyway, back to the problem at hand, just because they ARE new doesn't
mean the cables/drives are NOT bad. Granted, that many drives in a bad
state would be weird...but not really if they are from the same
manufacturer's batch. smartmon clearing them would suggest that it's
cabling issue. seriously, TRYING new good quality cables from a
different provider can't be that hard/expensive?

alternatively, try different BIOS version. usually a new version of the
bIOS fixes problems. BUT I have a server (dual amd64 TYAN box,
2x SATA-I controllers with 4 SATA-II drives) which would simply not
boot with a newer version of the bios, so I left it at the original
BIOS (yes, keep backups of your BIOS upgrades! :-) .

FWIW, 6 is better than 5.4, at least for me.

good luck,
Beto



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


Re: ATA Drive Issues

2006-03-31 Thread David Kelly


On Mar 31, 2006, at 6:25 PM, Wil Hatfield wrote:

So are you saying that I have 5 new drives (a week old) all with  
the same

problems? And S.M.A.R.T doesn't show any of the issues.

I need to go play the lottery.  ;-)


Whats so strange about the notion of 5 identical new drives out of  
the same batch having the same problem?


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: Upgrading 5.4 -> 6.0

2006-03-31 Thread Anish Mistry
On Friday 31 March 2006 20:41, Wil Hatfield wrote:
> Is there a process for upgrading from 5.4 to 6.0 via CVS? Or do I
> need to do this upgrade from CD?  Never received this error before.
>
>
> --
>
> >>> stage 1: configuring the kernel
>
> --
> cd /usr/src/sys/i386/conf;
> PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/lega
>cy/usr/bi
> n:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sb
>in:/usr/o
> bj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/u
>sr/sbin:/ usr/bin  config  -d /usr/obj/usr/src/sys/CUSTOM-KERNEL
> /usr/src/sys/i386/conf/CUSTOM-KERNEL
> ERROR: version of config(8) does not match kernel!
> config version = 500013, version required = 63
>
> Make sure that /usr/src/usr.sbin/config is in sync
> with your /usr/src/sys and install a new config binary
> before trying this again.
>
> If running the new config fails check your config
> file against the GENERIC or LINT config files for
> changes in config syntax, or option/device naming
> conventions
>
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
>
>
> --
> Wil Hatfield
You need to follow the correct procedure.
make buildworld && make kernel KERNCONF=CUSTOM-KERNEL
reboot to since user mode, mount the partitions
mergemaster -p && make installworld && mergemaster

-- 
Anish Mistry
[EMAIL PROTECTED]
AM Productions http://am-productions.biz/


pgpt26KLmJIED.pgp
Description: PGP signature


Re: ATA Drive Issues

2006-03-31 Thread Norberto Meijome
On Fri, 31 Mar 2006 15:43:35 -0800
"Wil Hatfield" <[EMAIL PROTECTED]> wrote:

> Ok I am just nervous about going to 6.x and putting these customers
> through this not once more, but twice when I have to go back to 4.x.

Sorry for asking the obvious, but why not try with 6 without any
customers on the servers? putting new hardware/software straight into
production seems to me like looking for troubles.

Anyway, back to the problem at hand, just because they ARE new doesn't
mean the cables/drives are NOT bad. Granted, that many drives in a bad
state would be weird...but not really if they are from the same
manufacturer's batch. smartmon clearing them would suggest that it's
cabling issue. seriously, TRYING new good quality cables from a
different provider can't be that hard/expensive?

alternatively, try different BIOS version. usually a new version of the
bIOS fixes problems. BUT I have a server (dual amd64 TYAN box,
2x SATA-I controllers with 4 SATA-II drives) which would simply not
boot with a newer version of the bios, so I left it at the original
BIOS (yes, keep backups of your BIOS upgrades! :-) .

FWIW, 6 is better than 5.4, at least for me.

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


Re: Which xorg driver/setup to use to get all the buttons for a Logitech MX518

2006-03-31 Thread Norberto Meijome
On Fri, 31 Mar 2006 13:13:49 -0500
"Jim Stapleton" <[EMAIL PROTECTED]> wrote:

> I've googled the problem in general, tried looking around xorg and
> this site, but I couldn't find any useful information on getting my
> MX518 working with all of it's buttons in BSD (were I to downgrade
> back to Linux, I could, but I'd rather not do that, ports is much more
> useful than the extra three buttons).


Hey Jim
i suppose this is a logitech mouse with lots of buttons? if you know it
works with linux, why not transfer the config from linux to freebsd? (u
dont need to install anything, just try knoppix). It should work out of
the box (I believe moused is same across platforms, and xorg shouldn't
worry too much about what OS it's being used under).

otherwise, have u read man moused ?

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


Upgrading 5.4 -> 6.0

2006-03-31 Thread Wil Hatfield
Is there a process for upgrading from 5.4 to 6.0 via CVS? Or do I need to do
this upgrade from CD?  Never received this error before.


--
>>> stage 1: configuring the kernel
--
cd /usr/src/sys/i386/conf;
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bi
n:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/o
bj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/
usr/bin  config  -d /usr/obj/usr/src/sys/CUSTOM-KERNEL
/usr/src/sys/i386/conf/CUSTOM-KERNEL
ERROR: version of config(8) does not match kernel!
config version = 500013, version required = 63

Make sure that /usr/src/usr.sbin/config is in sync
with your /usr/src/sys and install a new config binary
before trying this again.

If running the new config fails check your config
file against the GENERIC or LINT config files for
changes in config syntax, or option/device naming
conventions

*** Error code 1

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

Stop in /usr/src.


--
Wil Hatfield


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


Re: Compiling Java 1.5

2006-03-31 Thread Norberto Meijome
On Sat, 1 Apr 2006 08:44:13 +1200
Jonathan Chen <[EMAIL PROTECTED]> wrote:

> If that doesn't work, you can installing the navtive linux-sun-jdk15
> to enable your build. FYI, if you had native JDK1.4 installed, that
> would work as well.

ah, but there's something else also... I had some problems building 1.5
too (havent got all the details - the disk in my brand new thinkpad
just died, so i lost a few of those notes  I keep around)... anyway, i
seem to remember some conflicts between the following ports:
libX11 
libXau
libXcursor
libXdmcp
libXfixes
libXrender
xproto (MAINLY this one)
xextensions

as they overwrite files installed by xorg-libraries. uninstalling
xproto (with -f) , then reinstalling xorglibraries seemed to get the
jdk15 build process further than before. (I'll try to put all this
conflicting libraries issue in an email soon...)

I had linprocfs mounted, linux.ko loaded and it was outside a jail

this was only 2 weeks ago. Interestinly enough, I went back to an older
laptop on which I had jdk15 installed from... hmm 2 months ago or
so... so it seems something has broken over the last few weeks, (but I
have no hard data to back this up with).

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


ACPI disables network (why?)

2006-03-31 Thread Peter
I've been meaning to ask this one for awhile.

I'm running 5.4-STABLE and I cannot use my network card *without*
booting with ACPI enabled.  The net contains trouble with people having
this type of issue with Realtek cards and ACPI *enabled*.  I have a
Gigabyte m/b with an onbard adapter that is assigned the sk driver.

So the symptom is "watchdog timeout" during DHCP discovery at the boot
stage.  My networking is non-functional if I try to boot with ACPI.

dmesg says (during a successful boot):

pcib2:  at device 14.0 on pci0
pci2:  on pcib2
skc0:  port 0xc000-0xc0ff mem
0xfb00-0xfb003fff irq 19 at device 11.0 on pci2
skc0: Marvell Yukon Lite Gigabit Ethernet rev. (0x9)
sk0:  on skc0
sk0: Ethernet address: 00:0f:ea:ec:f1:4e
miibus0:  on sk0
e1000phy0:  on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
1000baseTX-FDX, auto

Any ideas?

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


6.0 APCI Config & PMAP

2006-03-31 Thread Don O'Neil
I am 'burning in' some hardware and drives before putting them into
production using various tools (raidtest, etc...) and have a couple of
questions..

Occasionally under high load when doing the raid test, I see:

collecting pv entries -- suggest increasing PMAP_SHPGPERPROC

What does this mean, and what should I change it to to correct the problem?
I also get the occasional error that it couldn't write to the device (twed)
... Everything seems to work ok though.

Also, my motherboards APCI is horribly broken, I can boot ok without APCI if
I select option 2 from the boot menu (it's a 'stock' 6.0 install). How do I
configure the system to boot without APCI automatically?

Thanks!

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


RE: ATA Drive Issues

2006-03-31 Thread Wil Hatfield
David,

So are you saying that I have 5 new drives (a week old) all with the same
problems? And S.M.A.R.T doesn't show any of the issues.

I need to go play the lottery.  ;-)

--
Wil Hatfield


-Original Message-
From: David Kelly [mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 3:50 PM
To: FreeBSD Questions
Cc: Wil Hatfield
Subject: Re: ATA Drive Issues



On Mar 31, 2006, at 4:52 PM, fbsd_user wrote:

> Your problems may be caused by your HD starting to go bad.

I agree. Its the classic symptoms of cable, power supply noise, and/
or HD CPU going sour. I have a brand new drive here with similar
problems. And its twin from the same batch without.

--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.




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


Re: Video on webservers

2006-03-31 Thread Pgold
I guess that what he actually means is that the file is too big. And
if there is some way to reduce it, so that it's easier(faster, less
bandwidth usage) to download.
I don't know what is the best way.

Pedro.

On 3/31/06, Bill Moran <[EMAIL PROTECTED]> wrote:
> "Darryl Hoar" <[EMAIL PROTECTED]> wrote:
>
> > Greetings,
> > I have my own freebsd box that is a webserver (running apache).
> > My wife has a family oriented website on this server.  She has videos
> > that she has taken with dvd camcorder.  She used Ulead on her
> > windows machine to create mpg files but 6 minutes generates 200MB
> > files.
> >
> > What is a good technique to provide video's on a website ?
>
> Putting it on the webserver.
>
> However, I expect that there's another, hidden question here.  What is
> the problem that you're having?  Perhaps I'm slow today, but it seems
> like you're saying: "I'm going to do this, is that OK?"  If that's the
> case, then the answer is "yes".
>
> --
> Bill Moran
> Potential Technologies
> http://www.potentialtech.com
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Video on webservers

2006-03-31 Thread Bill Moran
"Darryl Hoar" <[EMAIL PROTECTED]> wrote:

> Greetings,
> I have my own freebsd box that is a webserver (running apache).
> My wife has a family oriented website on this server.  She has videos
> that she has taken with dvd camcorder.  She used Ulead on her
> windows machine to create mpg files but 6 minutes generates 200MB
> files.
> 
> What is a good technique to provide video's on a website ?

Putting it on the webserver.

However, I expect that there's another, hidden question here.  What is
the problem that you're having?  Perhaps I'm slow today, but it seems
like you're saying: "I'm going to do this, is that OK?"  If that's the
case, then the answer is "yes".

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


Re: ATA Drive Issues

2006-03-31 Thread David Kelly


On Mar 31, 2006, at 4:52 PM, fbsd_user wrote:


Your problems may be caused by your HD starting to go bad.


I agree. Its the classic symptoms of cable, power supply noise, and/ 
or HD CPU going sour. I have a brand new drive here with similar  
problems. And its twin from the same batch without.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: DHCPD config

2006-03-31 Thread Bill Moran
"fbsd_user" <[EMAIL PROTECTED]> wrote:
> 
> Let me see if I understand you correctly.
> 
> Your saying that dhcp client has no built in way to
> communicate to dhcpd the dns ip address it receives
> at boot time or during the normal lease update process?

Yes.

> That your suggesting the work around is to customize the
> dhclient-script code at the point where it determines the
> /etc/resolv.conf file gets deleted and re-written with the
> new dns ip address info, by adding code to parse into
> the dhcpd.conf file replacing the option line for
> dns ip addresses with the new ip address?

That was his suggestion, as I understood it.

> Well I looked at that script code and it's way above my
> ability to write script code at that level.

Good opportunity to learn some, if you've got a little time.

> The other suggestion of adding my own LAN DNS server
> is over kill because my LAN just has 2 pc's on it and
> the only purpose of the LAN is to share a single
> dynamic IP address from my ISP.

If you say so.  I don't find a cachine nameserver to _ever_ be
overkill.  In fact, I run one on my laptop _just_ for the laptop.
I do this because I've learned that I can never trust other folks
DNS to be reliable, and I never know who the laptop will be connected
to.  Personally, I recommend this route because it's not that difficult
and provices other advantages as well (speed being the one I noticed).

> There must be a lot of other people in the same boat as I
> am who have all ready customized the dhclient-script or
> more properly the /etc/dhclient-exit-hooks file to
> edit the dhcpd.conf file with the correct DNS ip address.
> 
> Do you know of any web sites that contain dhcp scripts?

No, but I think you're right that there are liable to be examples
out there.  Have you googled?

BTW: please don't top post.

> Kris Anderson <[EMAIL PROTECTED]> writes:
> 
> > I think the answer you are looking for lies in
> > dhclient-script. I noticed it futzes with resolv.conf.
> > If you happen to notice resolv.conf changing (You can
> > test this about by making a backup of resolv.conf,
> > erasing its contents and then rebooting the machine,
> > just for the sake of everything running properly and
> > seeing if the contents of resolv.conf get repopulated
> > with your ISPs DNS settings) then you can create a
> > script to grab the elements needed from the ISP and
> > drop them in to a file for dhcpd to read and then
> > SIGTERM dhcpd and restart it.
> 
> Basically, "have dhclient-script rewrite the dhcpd.conf".
> 
> Running your own nameserver and pointing the internal DHCP clients
> to
> it is another option, but slightly less resistant to failures.
> Doing
> both will get you the best of both worlds.
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> This message scanned by the Collaborative Fusion, Inc. PineApp.
> 


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


RE: ATA Drive Issues

2006-03-31 Thread Wil Hatfield
Yah but I didn't see it as being "fixed" in 6.x either. That is why I
mentioned the lack of acknowledgement. If there wasn't a bug acknowledged
and tracked how can it be fixed?  Perhaps none of the Write_DMA problemed
folks have gone to 6.x and when they finally do the problem with show up
again. Who knows.  I guess maybe I am supposed to be that person.

Ok I am just nervous about going to 6.x and putting these customers through
this not once more, but twice when I have to go back to 4.x.

So far I have the Write_DMA problems and Fatal Traps that claim /dev/ad0 to
be the problem. Three outages today. Maybe it is time to look into the
penguin.

--
Wil Hatfield


-Original Message-
From: Anish Mistry [mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 3:34 PM
To: freebsd-questions@freebsd.org
Cc: Wil Hatfield
Subject: Re: ATA Drive Issues


On Friday 31 March 2006 17:45, Wil Hatfield wrote:
> I was afraid Soren was going to be mentioned. Well shouldn't the
> FreeBSD 5.4 release information state that it isn't recommended for
> machines with ATA drives?  I really have no way of downgrading to
> 5.3 without losing a couple hundred customers over it.  But with
> all these filesystem freezes I guess I will eventually lose them
> anyways.
>
> Without the acknowledgement of the bugs and proper bug tracking I
> doubt that these issues are going to get fixed in 5.5 or 6.1
> either. It seems the ATA issues are being ignored. How can a
> release make it this far down the branch without fixing the good
> old ATA drive issues first?
ATA on 6.x and CURRENT are being maintained by Soren, just not 5.x.
Moving to 6.x should fix the problem.  Checking gnats only shows
outstanding WRITE_DMA issues for 5.x.

>
> Cheers,
>
> --
> Wil Hatfield
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Anish
> Mistry Sent: Friday, March 31, 2006 2:29 PM
> To: freebsd-questions@freebsd.org
> Cc: Wil Hatfield - HyperConX
> Subject: Re: ATA Drive Issues
>
> On Friday 31 March 2006 17:08, Wil Hatfield - HyperConX wrote:
> > What is the problem with 5.4 and ATA drives? I am running the
> > latest release of FreeBSD 5.4-RELEASE-p11.  I have two basic ATA
> > drives, no raids and no scsi anything. Every now and then under a
> > bit of load the harddrive freezes with either a kernel panic or a
> > Write_DMA error. I have to reboot the machine and run fsck -y to
> > recover. Sometimes I have to run it twice.
> >From my understanding ATA in 5.4 is slightly broken since Soren
> > hasn't
>
> actually touched that code.  The last time he touched the 5.x
> branch was for 5.3.  I had a weird issue with a 5.3->5.4 upgrade a
> while back.  My tape drive disappeared :(.  I didn't have time to
> investigate, so I just backed down to 5.3, which works fine while I
> work up a schedule to migrate to 6.X.
>
> --
> Anish Mistry
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

--
Anish Mistry


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


Re: ATA Drive Issues

2006-03-31 Thread Anish Mistry
On Friday 31 March 2006 17:45, Wil Hatfield wrote:
> I was afraid Soren was going to be mentioned. Well shouldn't the
> FreeBSD 5.4 release information state that it isn't recommended for
> machines with ATA drives?  I really have no way of downgrading to
> 5.3 without losing a couple hundred customers over it.  But with
> all these filesystem freezes I guess I will eventually lose them
> anyways.
>
> Without the acknowledgement of the bugs and proper bug tracking I
> doubt that these issues are going to get fixed in 5.5 or 6.1
> either. It seems the ATA issues are being ignored. How can a
> release make it this far down the branch without fixing the good
> old ATA drive issues first?
ATA on 6.x and CURRENT are being maintained by Soren, just not 5.x.  
Moving to 6.x should fix the problem.  Checking gnats only shows 
outstanding WRITE_DMA issues for 5.x.

>
> Cheers,
>
> --
> Wil Hatfield
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Anish
> Mistry Sent: Friday, March 31, 2006 2:29 PM
> To: freebsd-questions@freebsd.org
> Cc: Wil Hatfield - HyperConX
> Subject: Re: ATA Drive Issues
>
> On Friday 31 March 2006 17:08, Wil Hatfield - HyperConX wrote:
> > What is the problem with 5.4 and ATA drives? I am running the
> > latest release of FreeBSD 5.4-RELEASE-p11.  I have two basic ATA
> > drives, no raids and no scsi anything. Every now and then under a
> > bit of load the harddrive freezes with either a kernel panic or a
> > Write_DMA error. I have to reboot the machine and run fsck -y to
> > recover. Sometimes I have to run it twice.
> >From my understanding ATA in 5.4 is slightly broken since Soren
> > hasn't
>
> actually touched that code.  The last time he touched the 5.x
> branch was for 5.3.  I had a weird issue with a 5.3->5.4 upgrade a
> while back.  My tape drive disappeared :(.  I didn't have time to
> investigate, so I just backed down to 5.3, which works fine while I
> work up a schedule to migrate to 6.X.
>
> --
> Anish Mistry
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

-- 
Anish Mistry


pgpIfXzpnXLP8.pgp
Description: PGP signature


RE: ATA Drive Issues

2006-03-31 Thread Wil Hatfield
5 brand new harddrives all going bad within 5 hours of installing FreeBSD
5.4? Not likely. And as I said smarttools reports there are no issues with
any of the drives.

What size/type/manufacturer are your ATA drives that you are running 5.4
with?


--
Wil Hatfield


-Original Message-
From: fbsd_user [mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 2:52 PM
To: Wil Hatfield; freebsd-questions@freebsd.org
Subject: RE: ATA Drive Issues


Hay I am ran ata HD on 5.4 and now on 6.0 with out any problems.

Your problems may be caused by your HD starting to go bad.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Wil
Hatfield
Sent: Friday, March 31, 2006 5:46 PM
To: freebsd-questions@freebsd.org
Subject: RE: ATA Drive Issues


I was afraid Soren was going to be mentioned. Well shouldn't the
FreeBSD 5.4
release information state that it isn't recommended for machines
with ATA
drives?  I really have no way of downgrading to 5.3 without losing a
couple
hundred customers over it.  But with all these filesystem freezes I
guess I
will eventually lose them anyways.

Without the acknowledgement of the bugs and proper bug tracking I
doubt that
these issues are going to get fixed in 5.5 or 6.1 either. It seems
the ATA
issues are being ignored. How can a release make it this far down
the branch
without fixing the good old ATA drive issues first?

Cheers,

--
Wil Hatfield


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Anish
Mistry
Sent: Friday, March 31, 2006 2:29 PM
To: freebsd-questions@freebsd.org
Cc: Wil Hatfield - HyperConX
Subject: Re: ATA Drive Issues


On Friday 31 March 2006 17:08, Wil Hatfield - HyperConX wrote:
> What is the problem with 5.4 and ATA drives? I am running the
> latest release of FreeBSD 5.4-RELEASE-p11.  I have two basic ATA
> drives, no raids and no scsi anything. Every now and then under a
> bit of load the harddrive freezes with either a kernel panic or a
> Write_DMA error. I have to reboot the machine and run fsck -y to
> recover. Sometimes I have to run it twice.
>From my understanding ATA in 5.4 is slightly broken since Soren
hasn't
actually touched that code.  The last time he touched the 5.x branch
was for 5.3.  I had a weird issue with a 5.3->5.4 upgrade a while
back.  My tape drive disappeared :(.  I didn't have time to
investigate, so I just backed down to 5.3, which works fine while I
work up a schedule to migrate to 6.X.

--
Anish Mistry


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




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


Re: Best way to print photos

2006-03-31 Thread Norberto Meijome
On Fri, 31 Mar 2006 11:46:03 -0700 (MST)
"M. Warner Losh" <[EMAIL PROTECTED]> wrote:

> : Are you using cups? Or something else? If you have your printer
> working : under cups, then I would think that gimp would print to it.
> 
> I have cups running.  I'd have thought that too, so I'm doing
> something insanely stupid.  I can print to my other HP printer, but it
> understands .ps natively.  If the answer to printing from gimp is
> 'just print a .ps' then I'm happy.

Hi all,
I have gimp and cups running on my box. From gimp, all I need to do is
go to the option and select the (cups based) printer I want and off it 
goes. I actually did this yesterday with no problem. 
Photo quality printing and all that I havent been able to test/use yet, but I 
should in the near future. The comments about the
right driver and using any of the several options in Gimp's print
dialog would seem spot on

FreeBSD 6.1-PRERELEASE #0:
[EMAIL PROTECTED] [Sat Apr  1 08:53:56 2006]
~
$ pkg_info | grep cup
cups-1.1.23.0_1 The Common UNIX Printing System: Metaport to
install comple cups-base-1.1.23.0_8 The Common UNIX Printing System:
headers, libs, & daemons cups-lpr-1.1.23.0_1 The CUPS BSD and system V
compatibility binaries (lp* comma cups-pdf-1.7.4  A virtual printer
for CUPS to produce PDF files cups-pstoraster-8.15 Postscript
interpreter for CUPS printing to non-PS printers cups-samba-5.0.r3
The Common UNIX Printing System:  MS Windows client drivers
libgnomecups-0.2.2_1,1 Support library for gnome cups admistration


$ pkg_info | grep gimp
gimp-2.2.10_1,1 A GNU Image Manipulation Program
gimp-print-4.2.7_2  GIMP Print Printer Driver


When installing Cups, I remember seeing some instructions relating to
being able to print from GIMP... ah
yes, /usr/ports/print/cups-base/pkg-message: 
[]
**
PLEASE NOTE: 

To enable printing under Gimp do the following:
1) Uncomment application/octet-stream line in mime.types
2) Uncomment application/octet-stream line in mime.convs
3) Restart cupsd
[]

I don't particularly remember doing this... 

if everything in your system matches this, let me know what other info you want 
and I'm happy to share it.

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


Re: Can FreeBSD safely use a (un-booted from) drive that is invisible to the BIOS?

2006-03-31 Thread boink
Danny,

FWIW, my FBSD 6 is running on a new "80GB" IDE disk my Asus A7V266
(Athlon mobo from end-2001) thought was 8GB in size.  I set the disk
type to manual in the (latest) BIOS, and defined the geometry as seen
by sysinstall.

It's the only device on the primary channel, running as master, CD-ROM
is on the secondary.  The system boots (no dual boot) and runs fine,
although the drive isn't listed by the BIOS at POST (the CD-ROM is)
and all disk is visible to FBSD:

# df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad0s1a496M126M330M28%/
/dev/ad0s1d496M974K455M 0%/tmp
/dev/ad0s1e 34G7.0G 24G22%/usr
/dev/ad0s1f 34G4.5G 27G14%/var

However...
# cat /var/log/dmesg.yesterday  | grep ad0
ad0: setting PIO4 on VIA 8233 chip
ad0: setting UDMA100 on VIA 8233 chip
ad0: 76319MB  at ata0-master UDMA100
ad0: 156301488 sectors [155061C/16H/63S] 16 sectors/interrupt 1 depth queue
GEOM: new disk ad0
ad0: VIA check1 failed
ad0: Adaptec check1 failed
ad0: LSI (v3) check1 failed
ad0: LSI (v2) check1 failed
ad0: FreeBSD check1 failed
Trying to mount root from ufs:/dev/ad0s1a

... which it then succeeds to do.  I'm not sure how to interpret the
'check1 failed' notices, or what GEOM means by 'new disk' at every
boot; but as it works, I'm leaving it alone.

I'm not sure if this helps.  Why don't you partition the drive, copy
whatever data you have on ad0 to it, move it to another machine, and
see what happens? At least at this point you have nothing to lose.

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


RE: Can FreeBSD safely use a (un-booted from) drive that is invisible to the BIOS?

2006-03-31 Thread fbsd_user
sounds like you have hd jumpered as master on second
 ata controler but have HD on wrong ribbon nipple to match master
jumper.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Danny
MacMillan
Sent: Friday, March 31, 2006 5:37 PM
To: Bob Johnson
Cc: Danny MacMillan; [EMAIL PROTECTED];
freebsd-questions@freebsd.org
Subject: Re: Can FreeBSD safely use a (un-booted from) drive that is
invisible to the BIOS?


On Fri, Mar 31, 2006 at 03:48:57PM -0500, Bob Johnson wrote:
> On 3/31/06, Danny MacMillan <[EMAIL PROTECTED]> wrote:
> > [,,,]
> > ad0 is the boot drive.  It is recognized by the BIOS, obviously,
and
> > has been in the machine for some years.  ad2 is a new drive I
just
> > added to the machine yesterday.  It is not visible to the BIOS
at all.
> > If anyone can posit a reason it would not be visible to the
BIOS, I
> > would like to know the answer.  The BIOS supports LBA and ad0 is
more
> > than 8GB so it wouldn't appear to be the 8GB limit, and the next
limit
> > I am aware of is comfortably larger than 76GB.
>
> If ad2 were operating as the slave drive without a master on that
> controller, that could explain it, but that doesn't seem to be
what's
> happening here.
>

ad2 is the only device on the second controller and it is definitely
jumpered as master.  I also get the same behaviour when the second
drive
is attached as a slave on the first controller (e.g. as ad1).

Interestingly, attaching an ATAPI CD-ROM drive as slave on the first
controller works.

> Are you sure you don't have the second drive disabled in the BIOS
> somehow?

Positive.  It's an old BIOS, the options are limited, but it is set
to
"Auto" (choices Auto, User, and None).  I had a thought and changed
the
addressing mode from "Auto" to "LBA" but it made no difference.  The
only difference between selecting "Auto" and "None" in the BIOS is
that
when the setting is "Auto", the machine hangs at the following and
will
not boot:

Secondary Master: Detecting [Press F4 to skip]

At this point, the machine is completely stuck -- pressing F4 does
nothing, neither does pressing del> if I recall
correctly.
I have to power cycle it to get it to do anything.

Now that I'm going through this thought process, I have some vague
recollection that I used to have a second disk in there, but I had
to
remove it because it stopped working for some reason -- it exhibited
the same hang when detecting the second drive.  At the time it
didn't
occur to me to disable the drive in the BIOS to get the machine to
boot and just let FreeBSD access the drive directly.  Of course, it
doesn't speak favourably to the reliability of the hardware.

> > [...]
> >
> > Since I don't actually know what the BIOS thinks the geometry
is,
> > I got cold feet and decided to ask the list.  I don't =think= it
> > should matter, since the BIOS shouldn't ever touch the disk, at
least
> > as far as my understanding goes.
>
> FreeBSD uses BIOS routines to start the boot process, then uses
its
> own idea of what's on the disk.  So, as far as I know, you will
only
> have a problem if they are different enough to either cause the
boot
> process to fail, or on a dual boot system, to cause Windows to
think
> the partitions are in different places than does FreeBSD, or if
your
> BIOS is picky about the partition table.
>
> A few years ago I started ignoring that message and it's worked
for
> me.  I just let sysinstall do what it wants (I believe I started
that
> practice when a bug in sysinstall gave me no choice).  I *think*
that
> with modern block addressed, i/o buffered disks, on which the
> "physical geometry" is an illusion anyway, the only real problem
you
> can run into is different ideas of the total size of the disk,
i.e.
> where the last usable block is.  One "geometry" might give you a
few
> megabytes more than another geometry, but the difference is at the
end
> of the disk.  That isn't going to have any effect on booting
(assuming
> the BIOS is willing to start the boot process), and not likely to
even
> be a problem when dual booting.

I generally ignore the warning, too.  My only concern this time is
that
in a case where the drive is visible to the BIOS, at least if I get
it
spectacularly wrong I will find out right away.  Also the question
of
whether different BIOSes will assign the same geometry to the drive.

>
> >
> > I do have one concern.  This drive was purchased more or less to
act
> > as an emergency backup of the drive that's already in there.  If
ad0
> > ever fails, ad2 drive will have to be put in a new machine whose
BIOS
> > recognizes it in order to boot.  If I accept the mystery
geometry for
> > the drive today, will I later face a problem where the BIOS
disagrees
> > and the drive will be unbootable?
> >
>
> If my understanding is correct, it is unlikely to cause a problem,
but
> it might.  The BIOS routines will still be able to read the first
few
> sectors to start the boot process.  If your BIOS is so picky that
it
> no

RE: ATA Drive Issues

2006-03-31 Thread fbsd_user
Hay I am ran ata HD on 5.4 and now on 6.0 with out any problems.

Your problems may be caused by your HD starting to go bad.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Wil
Hatfield
Sent: Friday, March 31, 2006 5:46 PM
To: freebsd-questions@freebsd.org
Subject: RE: ATA Drive Issues


I was afraid Soren was going to be mentioned. Well shouldn't the
FreeBSD 5.4
release information state that it isn't recommended for machines
with ATA
drives?  I really have no way of downgrading to 5.3 without losing a
couple
hundred customers over it.  But with all these filesystem freezes I
guess I
will eventually lose them anyways.

Without the acknowledgement of the bugs and proper bug tracking I
doubt that
these issues are going to get fixed in 5.5 or 6.1 either. It seems
the ATA
issues are being ignored. How can a release make it this far down
the branch
without fixing the good old ATA drive issues first?

Cheers,

--
Wil Hatfield


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Anish
Mistry
Sent: Friday, March 31, 2006 2:29 PM
To: freebsd-questions@freebsd.org
Cc: Wil Hatfield - HyperConX
Subject: Re: ATA Drive Issues


On Friday 31 March 2006 17:08, Wil Hatfield - HyperConX wrote:
> What is the problem with 5.4 and ATA drives? I am running the
> latest release of FreeBSD 5.4-RELEASE-p11.  I have two basic ATA
> drives, no raids and no scsi anything. Every now and then under a
> bit of load the harddrive freezes with either a kernel panic or a
> Write_DMA error. I have to reboot the machine and run fsck -y to
> recover. Sometimes I have to run it twice.
>From my understanding ATA in 5.4 is slightly broken since Soren
hasn't
actually touched that code.  The last time he touched the 5.x branch
was for 5.3.  I had a weird issue with a 5.3->5.4 upgrade a while
back.  My tape drive disappeared :(.  I didn't have time to
investigate, so I just backed down to 5.3, which works fine while I
work up a schedule to migrate to 6.X.

--
Anish Mistry


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

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


Re: Reprocessing sendmail failed messages

2006-03-31 Thread Kris Anderson


--- Tim Traver <[EMAIL PROTECTED]> wrote:

> Kris,
> 
> thanks for your attempts, but I'm not sure you
> understand what I mean...
I understand, you have a lot of files in clientmque
and you want to send them out. Thus the submission of
what I found in google.
> I cannot run a queue manually on these messages
> because sendmail thinks 
> they are permanent errors. So any queue runs on
> these messages produce 
> nothing.
Check your maillog by the way and see what it says
about the messages.
Found something else (It talks about requeuing things
and offers a script)-
http://www.patoche.org/LTT/daemon/0073.html
> On this box we don't run a sendmail daemon. We only
> relay mail to 
> another server when the sendmail daemon gets called.
> That is why those 
> messages are in the clientmqueue dir instead of the
> regular mqueue dir.
> 
> My real issue is that I now have these bunch of
> messages that won't get 
> processed, because sendmail assumes they are
> permanent failures.
> 
> The q files are named with a capital Q in front of
> them, is this why 
> they are ignored ?
I happen to have a stuck message. So I'll see if I can
get the bugger sent off. Okay, I renamed the little
beast from Qf to qf and sendmail whined about it being
invalid or something. So I poked around in the mqueue
directory. In it I found two files:
dfk2VKp7im043605 (This is the body of the email)
qfk2VKp7im043605 (This is the sender stuff)

Unless you have the associated df file then it's lost.
But to veryify look inside a Qf file and see what
turns up. If you don't see the body of a message then
it looks like it is lost.

> Is there any one who knows how to revert and
> re-submit these messages ???

YAY! I did it!
backup your files first!
I took the above files, hopeing that the df & Qf pair
were there, in this case they were. If not already
shut down, turn off the queue from /etc/mail with a
make stop-mspq
Did I mention that it's a good idea at this point to
backup your queue? Back it up.
Rename all the Qf files to qf (or to test, just a df
qf pair)
ensure that group permissions are rw  (I don't know if
it is important but my guess it is because they are
going to have be erased by the queuer)
Start the queue back up with make start-mspq

Something you might want to try (again back your stuff
up and I didn't try this by the way)
rename all the files, move them to the mqueue
directory, chown them to
:daemon (they are
probably :smmsp Or something like that, but basicaly
make the group match the same group of a given
directory).

then try and tickle sendmail to sending the items off.
Probably sendmail -bp might kick it.

Anyway, hope something there helps. BTW, I looked
through sendmail source at queue.c and there's a flag
called bogus and if it's not true then sendmail stucks
an ugly message in your maillog about uid/gid not
matching. I think that has to do with the particular
group owner of a given queue directory and if things
aren't kosher then BAM! you get the ugly message. I
know I did.


Good luck.
~Mr. Anderson

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Path problem

2006-03-31 Thread Beech Rintoul
On Friday 31 March 2006 13:44, Gary Schenk wrote:
> Beech Rintoul wrote:
> > On Friday 31 March 2006 13:28, Gary Schenk wrote:
> >> OK, guys, I need help. what obvious thing am I missing here.
> >>
> >> Fresh install of seamonkey from a fresh ports update. I try to start
> >>
> >> seamonkey:
> >>  > seamonkey
> >>
> >> seamonkey: Command not found.
> >>
> >> OK. Now this:
> >>  > /usr/X11R6/bin/seamonkey
> >>
> >> Seamonkey starts.
> >>
> >> OK, must be the path:
> >>  > echo $PATH
> >>
> >> /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:
> >> /usr/local/bin:/usr/X11R6/bin:/home/gwschenk/bin
> >>
> >> It looks like it is in the path to me. Any ideas?
> >>
> >> Gary
> >
> > Try typing "rehash" (without the quotes) from your favorite shell.
> >
> > Beech
>
> Argh! I'm an idiot! I knew it was obvious. Thanks.
>
> Gary

No problem, we've all been there.

Beech

-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Mangohealth
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - XanGo - http://www.mangohealth.org
---













pgpdH34CLFJly.pgp
Description: PGP signature


Re: Path problem

2006-03-31 Thread Gary Schenk

Beech Rintoul wrote:

On Friday 31 March 2006 13:28, Gary Schenk wrote:

OK, guys, I need help. what obvious thing am I missing here.

Fresh install of seamonkey from a fresh ports update. I try to start

seamonkey:
 > seamonkey

seamonkey: Command not found.

OK. Now this:
 > /usr/X11R6/bin/seamonkey

Seamonkey starts.

OK, must be the path:
 > echo $PATH

/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:
/usr/local/bin:/usr/X11R6/bin:/home/gwschenk/bin

It looks like it is in the path to me. Any ideas?

Gary


Try typing "rehash" (without the quotes) from your favorite shell.

Beech



Argh! I'm an idiot! I knew it was obvious. Thanks.

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


RE: ATA Drive Issues

2006-03-31 Thread Wil Hatfield
I was afraid Soren was going to be mentioned. Well shouldn't the FreeBSD 5.4
release information state that it isn't recommended for machines with ATA
drives?  I really have no way of downgrading to 5.3 without losing a couple
hundred customers over it.  But with all these filesystem freezes I guess I
will eventually lose them anyways.

Without the acknowledgement of the bugs and proper bug tracking I doubt that
these issues are going to get fixed in 5.5 or 6.1 either. It seems the ATA
issues are being ignored. How can a release make it this far down the branch
without fixing the good old ATA drive issues first?

Cheers,

--
Wil Hatfield


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Anish Mistry
Sent: Friday, March 31, 2006 2:29 PM
To: freebsd-questions@freebsd.org
Cc: Wil Hatfield - HyperConX
Subject: Re: ATA Drive Issues


On Friday 31 March 2006 17:08, Wil Hatfield - HyperConX wrote:
> What is the problem with 5.4 and ATA drives? I am running the
> latest release of FreeBSD 5.4-RELEASE-p11.  I have two basic ATA
> drives, no raids and no scsi anything. Every now and then under a
> bit of load the harddrive freezes with either a kernel panic or a
> Write_DMA error. I have to reboot the machine and run fsck -y to
> recover. Sometimes I have to run it twice.
>From my understanding ATA in 5.4 is slightly broken since Soren hasn't
actually touched that code.  The last time he touched the 5.x branch
was for 5.3.  I had a weird issue with a 5.3->5.4 upgrade a while
back.  My tape drive disappeared :(.  I didn't have time to
investigate, so I just backed down to 5.3, which works fine while I
work up a schedule to migrate to 6.X.

--
Anish Mistry


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


Re: Can FreeBSD safely use a (un-booted from) drive that is invisible to the BIOS?

2006-03-31 Thread Danny MacMillan
On Fri, Mar 31, 2006 at 03:48:57PM -0500, Bob Johnson wrote:
> On 3/31/06, Danny MacMillan <[EMAIL PROTECTED]> wrote:
> > [,,,]
> > ad0 is the boot drive.  It is recognized by the BIOS, obviously, and
> > has been in the machine for some years.  ad2 is a new drive I just
> > added to the machine yesterday.  It is not visible to the BIOS at all.
> > If anyone can posit a reason it would not be visible to the BIOS, I
> > would like to know the answer.  The BIOS supports LBA and ad0 is more
> > than 8GB so it wouldn't appear to be the 8GB limit, and the next limit
> > I am aware of is comfortably larger than 76GB.
> 
> If ad2 were operating as the slave drive without a master on that
> controller, that could explain it, but that doesn't seem to be what's
> happening here.
> 

ad2 is the only device on the second controller and it is definitely
jumpered as master.  I also get the same behaviour when the second drive
is attached as a slave on the first controller (e.g. as ad1).

Interestingly, attaching an ATAPI CD-ROM drive as slave on the first
controller works.

> Are you sure you don't have the second drive disabled in the BIOS
> somehow?

Positive.  It's an old BIOS, the options are limited, but it is set to
"Auto" (choices Auto, User, and None).  I had a thought and changed the
addressing mode from "Auto" to "LBA" but it made no difference.  The
only difference between selecting "Auto" and "None" in the BIOS is that
when the setting is "Auto", the machine hangs at the following and will
not boot:

Secondary Master: Detecting [Press F4 to skip]

At this point, the machine is completely stuck -- pressing F4 does
nothing, neither does pressing del> if I recall correctly.
I have to power cycle it to get it to do anything.

Now that I'm going through this thought process, I have some vague
recollection that I used to have a second disk in there, but I had to
remove it because it stopped working for some reason -- it exhibited
the same hang when detecting the second drive.  At the time it didn't
occur to me to disable the drive in the BIOS to get the machine to
boot and just let FreeBSD access the drive directly.  Of course, it
doesn't speak favourably to the reliability of the hardware.

> > [...]
> >
> > Since I don't actually know what the BIOS thinks the geometry is,
> > I got cold feet and decided to ask the list.  I don't =think= it
> > should matter, since the BIOS shouldn't ever touch the disk, at least
> > as far as my understanding goes.
> 
> FreeBSD uses BIOS routines to start the boot process, then uses its
> own idea of what's on the disk.  So, as far as I know, you will only
> have a problem if they are different enough to either cause the boot
> process to fail, or on a dual boot system, to cause Windows to think
> the partitions are in different places than does FreeBSD, or if your
> BIOS is picky about the partition table.
> 
> A few years ago I started ignoring that message and it's worked for
> me.  I just let sysinstall do what it wants (I believe I started that
> practice when a bug in sysinstall gave me no choice).  I *think* that
> with modern block addressed, i/o buffered disks, on which the
> "physical geometry" is an illusion anyway, the only real problem you
> can run into is different ideas of the total size of the disk, i.e.
> where the last usable block is.  One "geometry" might give you a few
> megabytes more than another geometry, but the difference is at the end
> of the disk.  That isn't going to have any effect on booting (assuming
> the BIOS is willing to start the boot process), and not likely to even
> be a problem when dual booting.

I generally ignore the warning, too.  My only concern this time is that
in a case where the drive is visible to the BIOS, at least if I get it
spectacularly wrong I will find out right away.  Also the question of
whether different BIOSes will assign the same geometry to the drive.

> 
> >
> > I do have one concern.  This drive was purchased more or less to act
> > as an emergency backup of the drive that's already in there.  If ad0
> > ever fails, ad2 drive will have to be put in a new machine whose BIOS
> > recognizes it in order to boot.  If I accept the mystery geometry for
> > the drive today, will I later face a problem where the BIOS disagrees
> > and the drive will be unbootable?
> >
> 
> If my understanding is correct, it is unlikely to cause a problem, but
> it might.  The BIOS routines will still be able to read the first few
> sectors to start the boot process.  If your BIOS is so picky that it
> notices that the partition table claims to use bytes beyond what it
> thinks is the end of the disk (or some other imagined offense), and
> refuses to boot, then you might have a problem.  I've seen such picky
> BIOSes, but not for several years.  I think (hope) that manufacturers
> are learning that quibbling over such things doesn't make the system
> better.  If you were to change the geometry settings of a disk after
> you put a filesyst

Re: Path problem

2006-03-31 Thread Beech Rintoul
On Friday 31 March 2006 13:28, Gary Schenk wrote:
> OK, guys, I need help. what obvious thing am I missing here.
>
> Fresh install of seamonkey from a fresh ports update. I try to start
>
> seamonkey:
>  > seamonkey
>
> seamonkey: Command not found.
>
> OK. Now this:
>  > /usr/X11R6/bin/seamonkey
>
> Seamonkey starts.
>
> OK, must be the path:
>  > echo $PATH
>
> /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:
> /usr/local/bin:/usr/X11R6/bin:/home/gwschenk/bin
>
> It looks like it is in the path to me. Any ideas?
>
> Gary

Try typing "rehash" (without the quotes) from your favorite shell.

Beech

-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Mangohealth
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - XanGo - http://www.mangohealth.org
---













pgpDYy7YRigv5.pgp
Description: PGP signature


Re: Path problem

2006-03-31 Thread Micah

Gary Schenk wrote:

OK, guys, I need help. what obvious thing am I missing here.

Fresh install of seamonkey from a fresh ports update. I try to start 
seamonkey:


 > seamonkey
seamonkey: Command not found.

OK. Now this:
 > /usr/X11R6/bin/seamonkey

Seamonkey starts.

OK, must be the path:
 > echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:
/usr/local/bin:/usr/X11R6/bin:/home/gwschenk/bin

It looks like it is in the path to me. Any ideas?

Gary


Try "rehash"

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


icewm tools

2006-03-31 Thread Logan McNaughton
Hey, ive tried to download and compile IceWM Control Panel, it required
python for an install shield, so I got python, and it needed py-gtk, so I
got py24-gtk from ports, all that went fine, I tried to run the install
shield, and it gave me errors about really strange stuff

So I tried IceWM Control Center, required qt, so I got qt, but when i ran
./configure, it says i dont have the qt libraries, any suggestions?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ATA Drive Issues

2006-03-31 Thread Anish Mistry
On Friday 31 March 2006 17:08, Wil Hatfield - HyperConX wrote:
> What is the problem with 5.4 and ATA drives? I am running the
> latest release of FreeBSD 5.4-RELEASE-p11.  I have two basic ATA
> drives, no raids and no scsi anything. Every now and then under a
> bit of load the harddrive freezes with either a kernel panic or a
> Write_DMA error. I have to reboot the machine and run fsck -y to
> recover. Sometimes I have to run it twice.
From my understanding ATA in 5.4 is slightly broken since Soren hasn't 
actually touched that code.  The last time he touched the 5.x branch 
was for 5.3.  I had a weird issue with a 5.3->5.4 upgrade a while 
back.  My tape drive disappeared :(.  I didn't have time to 
investigate, so I just backed down to 5.3, which works fine while I 
work up a schedule to migrate to 6.X.

-- 
Anish Mistry


pgp0NZXsOaVjE.pgp
Description: PGP signature


Video on webservers

2006-03-31 Thread Darryl Hoar
Greetings,
I have my own freebsd box that is a webserver (running apache).
My wife has a family oriented website on this server.  She has videos
that she has taken with dvd camcorder.  She used Ulead on her
windows machine to create mpg files but 6 minutes generates 200MB
files.

What is a good technique to provide video's on a website ?

thanks,
D

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


Path problem

2006-03-31 Thread Gary Schenk

OK, guys, I need help. what obvious thing am I missing here.

Fresh install of seamonkey from a fresh ports update. I try to start 
seamonkey:


> seamonkey
seamonkey: Command not found.

OK. Now this:
> /usr/X11R6/bin/seamonkey

Seamonkey starts.

OK, must be the path:
> echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:
/usr/local/bin:/usr/X11R6/bin:/home/gwschenk/bin

It looks like it is in the path to me. Any ideas?

Gary

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


ATA Drive Issues

2006-03-31 Thread Wil Hatfield
What is the problem with 5.4 and ATA drives? I am running the latest release
of FreeBSD 5.4-RELEASE-p11.  I have two basic ATA drives, no raids and no
scsi anything. Every now and then under a bit of load the harddrive freezes
with either a kernel panic or a Write_DMA error. I have to reboot the
machine and run fsck -y to recover. Sometimes I have to run it twice.

As per several posts that were similar I have the following uneffectively
enabled in my loader.conf file.

hw.ata.ata_dma=0
hw.ata.atapi_dma=0

However, this hasn't fixed the problem. From the amount of issues similar to
mine I am going to take a whack at the fact that I don't think it is
strickly a DMA or drive issue. The DMA issue is just the result of a deeper
underlying problem. Maybe something in the kernel or drivers. This same
issue is relevant for 3 brand new Supermicro machines all running nearly the
same Western Digital drives. 4 drives are 200GB WDs and 1 is a 160GB WD. All
with brand new cables. Since this is all brand new equipment please don't
pass this off as a bad cable. It isn't.

As for the drives I have smarttools running on these systems now and there
are no bad sectors and the drive health is all clean. Absolutely no issues
as reported by smarttools. No changes in any of the attributes at all.

Here is some more info:

--dmesg.today snippet--

Copyright (c) 1992-2005 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.4-RELEASE-p11 #0: Tue Mar 28 17:18:36 PST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM-KERNEL
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.20GHz (3200.13-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf41  Stepping = 1
  Features=0xbfebfbff
  Hyperthreading: 2 logical CPUs
real memory  = 2146893824 (2047 MB)
avail memory = 2099638272 (2002 MB)
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  6
 cpu3 (AP): APIC ID:  7
ioapic0  irqs 0-23 on motherboard
ioapic1  irqs 24-47 on motherboard
ioapic2  irqs 48-71 on motherboard
ioapic3  irqs 72-95 on motherboard
ioapic4  irqs 96-119 on motherboard
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0:  on acpi0
cpu1:  on acpi0
cpu2:  on acpi0
cpu3:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pci0:  at device 0.1 (no driver attached)
pci0:  at device 1.0 (no driver attached)
pcib1:  irq 16 at device 2.0 on pci0
pci1:  on pcib1
pcib2:  irq 16 at device 3.0 on pci0
pci2:  on pcib2
pcib3:  at device 0.0 on pci2
pci3:  on pcib3
pci2:  at device 0.1 (no driver
attached)
pcib4:  at device 0.2 on pci2
pci4:  on pcib4
em0:  port
0x2000-0x203f mem 0xdd20-0xdd21 irq 54 at device 2.0 on pci4
em0: Ethernet address: 00:30:48:2c:c3:80
em0:  Speed:N/A  Duplex:N/A
em1:  port
0x2040-0x207f mem 0xdd22-0xdd23 irq 55 at device 2.1 on pci4
em1: Ethernet address: 00:30:48:2c:c3:81
em1:  Speed:N/A  Duplex:N/A
pci2:  at device 0.3 (no driver
attached)
pcib5:  irq 16 at device 4.0 on pci0
pci5:  on pcib5
pcib6:  at device 0.0 on pci5
pci6:  on pcib6
pci5:  at device 0.1 (no driver
attached)
pcib7:  at device 0.2 on pci5
pci7:  on pcib7
pci5:  at device 0.3 (no driver
attached)
pcib8:  irq 16 at device 6.0 on pci0
pci8:  on pcib8
pci0:  at device 29.0 (no driver attached)
pci0:  at device 29.1 (no driver attached)
pci0:  at device 29.2 (no driver attached)
pci0:  at device 29.3 (no driver attached)
pci0:  at device 29.7 (no driver attached)
pcib9:  at device 30.0 on pci0
pci9:  on pcib9
pci9:  at device 1.0 (no driver attached)
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port
0x14a0-0x14af,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0:  at device 31.3 (no driver attached)
acpi_button0:  on acpi0
atkbdc0:  port 0x64,0x60 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
fdc0:  port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
pmtimer0 on isa0
orm0:  at iomem 0xc8000-0xc8fff,0xc-0xc7fff on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounters tick every 10.000 msec
IP Filter: v3.4.35 initialized.  Default = block all, Logging = enabled
ipfw2 initialized, divert disabled, rule-based forwarding disabled, default
to deny, logging unlimited
ad0: 190782MB  [387621/16/63] at ata0-master
PIO4
ad1: 190782MB  [387621/16/63] at ata0-slave
P

ATA Drive Issues

2006-03-31 Thread Wil Hatfield - HyperConX
What is the problem with 5.4 and ATA drives? I am running the latest release
of FreeBSD 5.4-RELEASE-p11.  I have two basic ATA drives, no raids and no
scsi anything. Every now and then under a bit of load the harddrive freezes
with either a kernel panic or a Write_DMA error. I have to reboot the
machine and run fsck -y to recover. Sometimes I have to run it twice.

As per several posts that were similar I have the following uneffectively
enabled in my loader.conf file.

hw.ata.ata_dma=0
hw.ata.atapi_dma=0

However, this hasn't fixed the problem. From the amount of issues similar to
mine I am going to take a whack at the fact that I don't think it is
strickly a DMA or drive issue. The DMA issue is just the result of a deeper
underlying problem. Maybe something in the kernel or drivers. This same
issue is relevant for 3 brand new Supermicro machines all running nearly the
same Western Digital drives. 4 drives are 200GB WDs and 1 is a 160GB WD. All
with brand new cables. Since this is all brand new equipment please don't
pass this off as a bad cable. It isn't.

As for the drives I have smarttools running on these systems now and there
are no bad sectors and the drive health is all clean. Absolutely no issues
as reported by smarttools. No changes in any of the attributes at all.

Here is some more info:

--dmesg.today snippet--

Copyright (c) 1992-2005 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.4-RELEASE-p11 #0: Tue Mar 28 17:18:36 PST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM-KERNEL
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.20GHz (3200.13-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf41  Stepping = 1
  Features=0xbfebfbff
  Hyperthreading: 2 logical CPUs
real memory  = 2146893824 (2047 MB)
avail memory = 2099638272 (2002 MB)
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  6
 cpu3 (AP): APIC ID:  7
ioapic0  irqs 0-23 on motherboard
ioapic1  irqs 24-47 on motherboard
ioapic2  irqs 48-71 on motherboard
ioapic3  irqs 72-95 on motherboard
ioapic4  irqs 96-119 on motherboard
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0:  on acpi0
cpu1:  on acpi0
cpu2:  on acpi0
cpu3:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pci0:  at device 0.1 (no driver attached)
pci0:  at device 1.0 (no driver attached)
pcib1:  irq 16 at device 2.0 on pci0
pci1:  on pcib1
pcib2:  irq 16 at device 3.0 on pci0
pci2:  on pcib2
pcib3:  at device 0.0 on pci2
pci3:  on pcib3
pci2:  at device 0.1 (no driver
attached)
pcib4:  at device 0.2 on pci2
pci4:  on pcib4
em0:  port
0x2000-0x203f mem 0xdd20-0xdd21 irq 54 at device 2.0 on pci4
em0: Ethernet address: 00:30:48:2c:c3:80
em0:  Speed:N/A  Duplex:N/A
em1:  port
0x2040-0x207f mem 0xdd22-0xdd23 irq 55 at device 2.1 on pci4
em1: Ethernet address: 00:30:48:2c:c3:81
em1:  Speed:N/A  Duplex:N/A
pci2:  at device 0.3 (no driver
attached)
pcib5:  irq 16 at device 4.0 on pci0
pci5:  on pcib5
pcib6:  at device 0.0 on pci5
pci6:  on pcib6
pci5:  at device 0.1 (no driver
attached)
pcib7:  at device 0.2 on pci5
pci7:  on pcib7
pci5:  at device 0.3 (no driver
attached)
pcib8:  irq 16 at device 6.0 on pci0
pci8:  on pcib8
pci0:  at device 29.0 (no driver attached)
pci0:  at device 29.1 (no driver attached)
pci0:  at device 29.2 (no driver attached)
pci0:  at device 29.3 (no driver attached)
pci0:  at device 29.7 (no driver attached)
pcib9:  at device 30.0 on pci0
pci9:  on pcib9
pci9:  at device 1.0 (no driver attached)
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port
0x14a0-0x14af,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0:  at device 31.3 (no driver attached)
acpi_button0:  on acpi0
atkbdc0:  port 0x64,0x60 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
fdc0:  port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
pmtimer0 on isa0
orm0:  at iomem 0xc8000-0xc8fff,0xc-0xc7fff on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounters tick every 10.000 msec
IP Filter: v3.4.35 initialized.  Default = block all, Logging = enabled
ipfw2 initialized, divert disabled, rule-based forwarding disabled, default
to deny, logging unlimited
ad0: 190782MB  [387621/16/63] at ata0-master
PIO4
ad1: 190782MB  [387621/16/63] at ata0-slave
P

Re: freebsd log files

2006-03-31 Thread Benjamin Sobotta
On Friday 31 March 2006 08:25, Logan McNaughton wrote:
> What log file stors things like system shutdown notices and that, I want to
> run root-tail in my icewm background, and Im looking for the right log file
> to show, i tried /var/log/messages, but it doesnt show shutdown notices,
> can anyone help me out? thanks
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

Hey!

check out /etc/syslog.conf. You can specifiy what you want to log where. For 
example you could choose a console instead of a file.

cheers,

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


Re: jvmdiEnterTrace.cpp

2006-03-31 Thread Bill Moran
Aguiar Magalhaes <[EMAIL PROTECTED]> wrote:

> Hi List,
> 
> I´m compiling JDK 1.5 on freebsd 6.0 (using ports) and
> I've received a error, because the code
> jvmEnterTrace.cpp is break...
> 
> It's in
> /usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/generated/jvmtifiles/jvmdiEnterTrace.cpp
> 
> Can I download it again ??  Where ??
> 
> How can I fix it ??

In order to get any useful help you should provide a little more detail
on the problem.

Start by providing the exact commands you entered, as well as any and all
errors that you received.  Please cut/paste so messages are preserved
exactly.

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


Re: Best way to print photos

2006-03-31 Thread John Conover
Bob Johnson writes:
> On 3/31/06, M. Warner Losh <[EMAIL PROTECTED]> wrote:
> > : On Friday 31 March 2006 14:16, Bob Johnson wrote:
> > : >
> > : > The process works for printing JPEGs from web pages on my laser
> > : > printer (although not with HPIJS), and since the HPIJS driver is
> > : > supposed to autodetect photo paper in your printer, I would expect it
> > : > to "just work" for photos if you can print a web page with it.
> > :
> > : Unless the printer was capable of determining what sort of paper it was
> > : loaded with, I just don't see how the HPIJS driver would autodetect
> > : photopaper.
> >
> > It doesn't.  However, one of the CUPS settings is 'paper type' and
> > 'paper size'.  There's also print quality.  I can set those manually
> > and CUPS claims that the settings changes have taken effect.
> >
> 
> If HPIJS doesn't autodetect photo paper, you may not be able to print
> decent photos.  It may be that HPIJS detects the change, but doesn't
> tell CUPS about it.
> 
> You have me curious enough that I think getting our HP 4xxx (whatever
> it is) working with FreeBSD will be a project for this weekend.  The
> pinhole camera can wait another week, I guess.  If I learn anything
> useful, I'll let you know.
>

I don't know if its any help, but the Gimp has a menu for the kind of
paper put in the printer, and automatically changes gamma to
accommodate it, (at least on the Epson printers.) Of course, if you
aren't printing from Gimp, its not of much use.

John

-- 

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


RE: DHCPD config

2006-03-31 Thread fbsd_user

Let me see if I understand you correctly.

Your saying that dhcp client has no built in way to
communicate to dhcpd the dns ip address it receives
at boot time or during the normal lease update process?

That your suggesting the work around is to customize the
dhclient-script code at the point where it determines the
/etc/resolv.conf file gets deleted and re-written with the
new dns ip address info, by adding code to parse into
the dhcpd.conf file replacing the option line for
dns ip addresses with the new ip address?

Well I looked at that script code and it's way above my
ability to write script code at that level.

The other suggestion of adding my own LAN DNS server
is over kill because my LAN just has 2 pc's on it and
the only purpose of the LAN is to share a single
dynamic IP address from my ISP.

There must be a lot of other people in the same boat as I
am who have all ready customized the dhclient-script or
more properly the /etc/dhclient-exit-hooks file to
edit the dhcpd.conf file with the correct DNS ip address.

Do you know of any web sites that contain dhcp scripts?

***



Kris Anderson <[EMAIL PROTECTED]> writes:

> I think the answer you are looking for lies in
> dhclient-script. I noticed it futzes with resolv.conf.
> If you happen to notice resolv.conf changing (You can
> test this about by making a backup of resolv.conf,
> erasing its contents and then rebooting the machine,
> just for the sake of everything running properly and
> seeing if the contents of resolv.conf get repopulated
> with your ISPs DNS settings) then you can create a
> script to grab the elements needed from the ISP and
> drop them in to a file for dhcpd to read and then
> SIGTERM dhcpd and restart it.

Basically, "have dhclient-script rewrite the dhcpd.conf".

Running your own nameserver and pointing the internal DHCP clients
to
it is another option, but slightly less resistant to failures.
Doing
both will get you the best of both worlds.

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


Re: Best way to print photos

2006-03-31 Thread Bob Johnson
On 3/31/06, M. Warner Losh <[EMAIL PROTECTED]> wrote:
> In message: <[EMAIL PROTECTED]>
> "Donald J. O'Neill" <[EMAIL PROTECTED]> writes:
> : On Friday 31 March 2006 14:16, Bob Johnson wrote:
> : >
> : > The process works for printing JPEGs from web pages on my laser
> : > printer (although not with HPIJS), and since the HPIJS driver is
> : > supposed to autodetect photo paper in your printer, I would expect it
> : > to "just work" for photos if you can print a web page with it.
> : >
> : >

> : > ___
> :
> : Unless the printer was capable of determining what sort of paper it was
> : loaded with, I just don't see how the HPIJS driver would autodetect
> : photopaper.
>
> It doesn't.  However, one of the CUPS settings is 'paper type' and
> 'paper size'.  There's also print quality.  I can set those manually
> and CUPS claims that the settings changes have taken effect.
>
> Warner
>

If HPIJS doesn't autodetect photo paper, you may not be able to print
decent photos.  It may be that HPIJS detects the change, but doesn't
tell CUPS about it.

You have me curious enough that I think getting our HP 4xxx (whatever
it is) working with FreeBSD will be a project for this weekend.  The
pinhole camera can wait another week, I guess.  If I learn anything
useful, I'll let you know.

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


Re: Can FreeBSD safely use a (un-booted from) drive that is invisible to the BIOS?

2006-03-31 Thread Bob Johnson
On 3/31/06, Danny MacMillan <[EMAIL PROTECTED]> wrote:
> [,,,]
> ad0 is the boot drive.  It is recognized by the BIOS, obviously, and
> has been in the machine for some years.  ad2 is a new drive I just
> added to the machine yesterday.  It is not visible to the BIOS at all.
> If anyone can posit a reason it would not be visible to the BIOS, I
> would like to know the answer.  The BIOS supports LBA and ad0 is more
> than 8GB so it wouldn't appear to be the 8GB limit, and the next limit
> I am aware of is comfortably larger than 76GB.

If ad2 were operating as the slave drive without a master on that
controller, that could explain it, but that doesn't seem to be what's
happening here.

Are you sure you don't have the second drive disabled in the BIOS somehow?

> [...]
> At any rate ... it is not visible to the BIOS, but it is visible to
> FreeBSD.  Since I'm not booting from the drive, I think it shouldn't
> matter ... but when I use Fdisk from sysinstall I get the following
> familiar error message:
>
> |WARNING:  A geometry of 155061/16/63 for ad2 is incorrect.  Using  ¦
> ¦a more likely geometry.  If this geometry is incorrect or you  ¦
> ¦are unsure as to whether or not it's correct, please consult   ¦
> ¦the Hardware Guide in the Documentation submenu or use the ¦
> ¦(G)eometry command to change it now.   ¦
> ¦   ¦
> ¦Remember: you need to enter whatever your BIOS thinks the  ¦
> ¦geometry is!  For IDE, it's what you were told in the BIOS ¦
> ¦setup. For SCSI, it's the translation mode your controller is  ¦
> ¦using.  Do NOT use a ``physical geometry''.|
>
> Since I don't actually know what the BIOS thinks the geometry is,
> I got cold feet and decided to ask the list.  I don't =think= it
> should matter, since the BIOS shouldn't ever touch the disk, at least
> as far as my understanding goes.

FreeBSD uses BIOS routines to start the boot process, then uses its
own idea of what's on the disk.  So, as far as I know, you will only
have a problem if they are different enough to either cause the boot
process to fail, or on a dual boot system, to cause Windows to think
the partitions are in different places than does FreeBSD, or if your
BIOS is picky about the partition table.

A few years ago I started ignoring that message and it's worked for
me.  I just let sysinstall do what it wants (I believe I started that
practice when a bug in sysinstall gave me no choice).  I *think* that
with modern block addressed, i/o buffered disks, on which the
"physical geometry" is an illusion anyway, the only real problem you
can run into is different ideas of the total size of the disk, i.e.
where the last usable block is.  One "geometry" might give you a few
megabytes more than another geometry, but the difference is at the end
of the disk.  That isn't going to have any effect on booting (assuming
the BIOS is willing to start the boot process), and not likely to even
be a problem when dual booting.

>
> I do have one concern.  This drive was purchased more or less to act
> as an emergency backup of the drive that's already in there.  If ad0
> ever fails, ad2 drive will have to be put in a new machine whose BIOS
> recognizes it in order to boot.  If I accept the mystery geometry for
> the drive today, will I later face a problem where the BIOS disagrees
> and the drive will be unbootable?
>

If my understanding is correct, it is unlikely to cause a problem, but
it might.  The BIOS routines will still be able to read the first few
sectors to start the boot process.  If your BIOS is so picky that it
notices that the partition table claims to use bytes beyond what it
thinks is the end of the disk (or some other imagined offense), and
refuses to boot, then you might have a problem.  I've seen such picky
BIOSes, but not for several years.  I think (hope) that manufacturers
are learning that quibbling over such things doesn't make the system
better.  If you were to change the geometry settings of a disk after
you put a filesystem on it, you would likely trigger other issues, but
that's not what you're asking.

> Thank you for your kind attention.

Good luck,

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


Re: Best way to print photos

2006-03-31 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]>
"Donald J. O'Neill" <[EMAIL PROTECTED]> writes:
: On Friday 31 March 2006 14:16, Bob Johnson wrote:
: >
: > In principle, an application feeds it to CUPS, CUPS feeds it to
: > GhostScript, and GhostScript uses the HPIJS driver to print it. Or
: > something like that.  In practice, I use APSFILTER instead of CUPS,
: > and I haven't ever tried to do photo printing from FreeBSD, although
: > getting my wife's HP photo printer working with FreeBSD is on my list
: > of things to do this weekend, or next weekend, or maybe the weekend
: > after that.
: >
: > The process works for printing JPEGs from web pages on my laser
: > printer (although not with HPIJS), and since the HPIJS driver is
: > supposed to autodetect photo paper in your printer, I would expect it
: > to "just work" for photos if you can print a web page with it.
: >
: >
: > As for a specific application, The Gimp knows something about
: > printing photos, but again, I haven't actually done it.   Digikam
: > also looks very promising as a photo manipulation tool.  Anything
: > that can display it and knows how to print ought to do it (kview for
: > example?). I'm sure someone with actual experience can provide a more
: > complete answer.;-)
: >
: > So far, I've printed from the Gimp by writing the file to a USB
: > thumbdrive, and plugging that into the photo printer.  The Gimp will
: > let you define the picture dimensions in inches, which may be
: > necessary to get the printing results you want.  Otherwise you may
: > end up with a picture that is 1 x 1.5 inches, or one point by one
: > point, or a piece of an 8x10 printed on 4x6 paper, or any of several
: > other possible defaults I've managed to print in the past.  Some
: > printers also do bad things if the image has too many pixels (or
: > maybe bytes), so I've sometimes needed to reduce the image resolution
: > before printing.
: >
: > - Bob
: > ___
: 
: Unless the printer was capable of determining what sort of paper it was 
: loaded with, I just don't see how the HPIJS driver would autodetect 
: photopaper. 

It doesn't.  However, one of the CUPS settings is 'paper type' and
'paper size'.  There's also print quality.  I can set those manually
and CUPS claims that the settings changes have taken effect.

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


Re: IP Filter problems on 4.11-STABLE

2006-03-31 Thread Bernt Hansson

Erik Norgaard wrote:

B H wrote:
You have nat? 


Yes, and it's working.

are you routing traffic? 


Yes.

from where to where are you trying to connect,


 From the outside and in.


 From outside and in means from somewhere on the internet to the 
external interface on our fw? or to a natted server inside?


To the fw, trying to ssh in and telnetting to the popserver.



The outside ip is not in the range 82.182.0.0/16? you have blocked 
everything from that address space,, first in-rule.


Yes I know. That is a bunch of ms-dos boxes running all kinds of 
desises. Well I reverted to 4.10-RELEASE-p22 And now all is well.



Erik



Bernt

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


RE: Can FreeBSD safely use a (un-booted from) drive that is invisible to the BIOS?

2006-03-31 Thread fbsd_user
You have 2 problems here. bios not seeing the HD and
the old FBSD HD geometry WARNING.

For the FBSD HD geometry WARNING you can just let FBSD use what
ever it thinks it should be. This is not a problem.

Your bios problem is most likely a hardware config thing.

If the 2 HDs are on the same ribbon are the HD jumpers set
correctly, (master/slave for right nipple on the ribbon or both cs
for cable select)

Do you have a ata type cdrom drive on the ribbon?
Same thing about jumpers here to.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Danny
MacMillan
Sent: Friday, March 31, 2006 3:06 PM
To: freebsd-questions@freebsd.org
Subject: Can FreeBSD safely use a (un-booted from) drive that is
invisible to the BIOS?


Hi,

I have a machine with the following two drives (as listed in dmesg):

ad0: 12427MB  at ata0-master UDMA33
ad2: 76319MB  at ata1-master UDMA33

ad0 is the boot drive.  It is recognized by the BIOS, obviously, and
has been in the machine for some years.  ad2 is a new drive I just
added to the machine yesterday.  It is not visible to the BIOS at
all.
If anyone can posit a reason it would not be visible to the BIOS, I
would like to know the answer.  The BIOS supports LBA and ad0 is
more
than 8GB so it wouldn't appear to be the 8GB limit, and the next
limit
I am aware of is comfortably larger than 76GB.

At any rate ... it is not visible to the BIOS, but it is visible to
FreeBSD.  Since I'm not booting from the drive, I think it shouldn't
matter ... but when I use Fdisk from sysinstall I get the following
familiar error message:

|WARNING:  A geometry of 155061/16/63 for ad2 is incorrect.  Using
¦
¦a more likely geometry.  If this geometry is incorrect or you
¦
¦are unsure as to whether or not it's correct, please consult
¦
¦the Hardware Guide in the Documentation submenu or use the
¦
¦(G)eometry command to change it now.
¦
¦
¦
¦Remember: you need to enter whatever your BIOS thinks the
¦
¦geometry is!  For IDE, it's what you were told in the BIOS
¦
¦setup. For SCSI, it's the translation mode your controller is
¦
¦using.  Do NOT use a ``physical geometry''.
|

Since I don't actually know what the BIOS thinks the geometry is,
I got cold feet and decided to ask the list.  I don't =think= it
should matter, since the BIOS shouldn't ever touch the disk, at
least
as far as my understanding goes.

I do have one concern.  This drive was purchased more or less to act
as an emergency backup of the drive that's already in there.  If ad0
ever fails, ad2 drive will have to be put in a new machine whose
BIOS
recognizes it in order to boot.  If I accept the mystery geometry
for
the drive today, will I later face a problem where the BIOS
disagrees
and the drive will be unbootable?

Thank you for your kind attention.

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

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


Re: Best way to print photos

2006-03-31 Thread Bob Johnson
On 3/31/06, Donald J. O'Neill <[EMAIL PROTECTED]> wrote:
> On Friday 31 March 2006 14:16, Bob Johnson wrote:
> >
> > [...]
> > The process works for printing JPEGs from web pages on my laser
> > printer (although not with HPIJS), and since the HPIJS driver is
> > supposed to autodetect photo paper in your printer, I would expect it
> > to "just work" for photos if you can print a web page with it.

> > ___
>
> Unless the printer was capable of determining what sort of paper it was
> loaded with, I just don't see how the HPIJS driver would autodetect
> photopaper.
>
> Don

The documentation says that's exactly what happens.  The printer
detects it, and tells the driver.  On our HP printer, you switch a
lever to get it to print from the photo paper tray instead of the main
tray.  That may be what it detects, or maybe it's even smarter than
that.

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


Re: Compiling Java 1.5

2006-03-31 Thread Jonathan Chen
On Fri, Mar 31, 2006 at 10:35:24AM -0300, Aguiar Magalhaes wrote:
> Hi list,
> 
> I?ve received many good suggestions and I'm trying ...
> 
> Please, see this error... What can I do ??
> 
> Thanks,
> 
> Aguiar
> 
> - - - - - - - - - - - - -
> gmake[3]: Leaving directory
> `/usr/ports/java/jdk15/work/control/build/bsd-i586/h
> otspot-i586/tmp/bsd_i486_compiler2/product'
> gmake[3]: Entering directory
> `/usr/ports/java/jdk15/work/control/build/bsd-i586/
> hotspot-i586/tmp/bsd_i486_compiler2/product'
> /usr/local/linux-sun-jdk1.4.2/bin/javac -g -d

For some reason, the linux-jdk1.4 binaries isn't up to bootstrapping
your native JDK1.5 build. Check the following:
- don't build in a jail
- make sure the linuxalator is loaded
- make sure the linprocfs is mounted during your initial build

If that doesn't work, you can installing the navtive linux-sun-jdk15
to enable your build. FYI, if you had native JDK1.4 installed, that would
work as well.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
"I don't want to achive immortality through my works..
 I want to achieve it through not dying" - Woody Allen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Best way to print photos

2006-03-31 Thread Donald J. O'Neill
On Friday 31 March 2006 14:16, Bob Johnson wrote:
>
> In principle, an application feeds it to CUPS, CUPS feeds it to
> GhostScript, and GhostScript uses the HPIJS driver to print it. Or
> something like that.  In practice, I use APSFILTER instead of CUPS,
> and I haven't ever tried to do photo printing from FreeBSD, although
> getting my wife's HP photo printer working with FreeBSD is on my list
> of things to do this weekend, or next weekend, or maybe the weekend
> after that.
>
> The process works for printing JPEGs from web pages on my laser
> printer (although not with HPIJS), and since the HPIJS driver is
> supposed to autodetect photo paper in your printer, I would expect it
> to "just work" for photos if you can print a web page with it.
>
>
> As for a specific application, The Gimp knows something about
> printing photos, but again, I haven't actually done it.   Digikam
> also looks very promising as a photo manipulation tool.  Anything
> that can display it and knows how to print ought to do it (kview for
> example?). I'm sure someone with actual experience can provide a more
> complete answer.;-)
>
> So far, I've printed from the Gimp by writing the file to a USB
> thumbdrive, and plugging that into the photo printer.  The Gimp will
> let you define the picture dimensions in inches, which may be
> necessary to get the printing results you want.  Otherwise you may
> end up with a picture that is 1 x 1.5 inches, or one point by one
> point, or a piece of an 8x10 printed on 4x6 paper, or any of several
> other possible defaults I've managed to print in the past.  Some
> printers also do bad things if the image has too many pixels (or
> maybe bytes), so I've sometimes needed to reduce the image resolution
> before printing.
>
> - Bob
> ___

Unless the printer was capable of determining what sort of paper it was 
loaded with, I just don't see how the HPIJS driver would autodetect 
photopaper. 

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


Re: Reprocessing sendmail failed messages

2006-03-31 Thread Tim Traver

Kris,

thanks for your attempts, but I'm not sure you understand what I mean...

I cannot run a queue manually on these messages because sendmail thinks 
they are permanent errors. So any queue runs on these messages produce 
nothing.


On this box we don't run a sendmail daemon. We only relay mail to 
another server when the sendmail daemon gets called. That is why those 
messages are in the clientmqueue dir instead of the regular mqueue dir.


My real issue is that I now have these bunch of messages that won't get 
processed, because sendmail assumes they are permanent failures.


The q files are named with a capital Q in front of them, is this why 
they are ignored ?


Is there any one who knows how to revert and re-submit these messages ???

Thanks,

Tim.


Kris Anderson wrote:

--- Tim Traver <[EMAIL PROTECTED]> wrote:

  

Hi All,

ok, I know this isn't the right list, but I've
already tried the 
sendmail group, and no response, so I'm hoping that
there might be some 
sendmail gurus on this list that can help me...


After a temporary DNS outage, several machines that
we run have email
messages on them that sendmail attempted to relay to
our mail
cluster, but failed because they could not find the
host name of the
server they were relaying to.

So, now, I have hundreds of messages in the
clientmqueue directory that
are marked as having permanent fatal errors. The top
of the d file
looks like this :

   - The following addresses had permanent fatal
errors -
[EMAIL PROTECTED]
(reason: 550 Host unknown)

   - Transcript of session follows -
550 5.1.2 [EMAIL PROTECTED] Host unknown (Name
server:
..com: host not found)

I see that there are many of these message that are
important, and
want to save and send them.

Is there a way to get sendmail to re-attempt to send
these messages ? I
think it just ignores them right now because of
those lines.

Any help would be greatly appreciated,

Tim.
___
freebsd-questions@freebsd.org mailing list



http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  

To unsubscribe, send any mail to
"[EMAIL PROTECTED]"



Hey there Tim,

Found this with google.
http://lists.freebsd.org/pipermail/freebsd-questions/2004-June/049850.html

A Dr Matthew had this answer (read full text to see
what's up but here's a snippet)

If you end up with a load of messages stuck in
/var/spool/clientmqueue, you've got a similar problem
with not running
a MSP queue daemon.  The case is exactly analogous,
except that the
sendmail flags are in
/var/spool/clientmqueue/sm-client.pid and should
read:

/usr/sbin/sendmail -L sm-msp-queue -Ac -q30m

and you need to set 'sendmail_msp_queue_flags' in
/etc/rc.conf to
override them.

-

Hope that helps.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
  

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


Re: Thunderbird and Firefox dead after portupgrade

2006-03-31 Thread [EMAIL PROTECTED]
On 3/31/06, Micah <[EMAIL PROTECTED]> wrote:
> Wee-Sern Soo wrote:
> > http://www.mozilla.com/firefox/releases/1.5.0.1.html#issues
> >
> > It's a known issue.  Need to run as privileged user on all platforms,
> > the first time.
> >
> >
> > Yuan Jue wrote the following on 31/03/2006 4:46 PM:
> >> On Friday 31 March 2006 09:18, Donald J. O'Neill wrote:
> >>
> >>> This happened to me also, until I remembered this has happened before
> >>> and what to try.
> >>>
> >>> Login as root, start the GUI (mine is KDE), open a terminal program and
> >>> start firefox from there. After that, I had no problems. It's working
> >>> fine.
> >>>
> >>>
> >>
> >> works for me too. many thanks :)
> >>
> >>
>
> A workaround that the port could use is given on that page
>
> "If Firefox 1.5.0.1 is installed on a multi-user system in a location
> which is not writable by users, Firefox must be run once by a privileged
> user. If this is not desirable, an empty file must be created in the
> following directory:
> /extensions/[EMAIL PROTECTED]/chrome.manifest"
>

This sort of bizzare need to elevate general awareness
and spiritual enlightenment in the browser using
public is what drove me away from winders in the
first place.  I am not ranting against FreeBSD here.
mozilla/firefox/netscape need to pull their collective
heads out and build something that browses an interweb,
not a file-installing-platform for your base system.

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


Re: Best way to print photos

2006-03-31 Thread Bob Johnson
On 3/31/06, M. Warner Losh <[EMAIL PROTECTED]> wrote:
> In message: <[EMAIL PROTECTED]>
> "Bob Johnson" <[EMAIL PROTECTED]> writes:
> : On 3/31/06, M. Warner Losh <[EMAIL PROTECTED]> wrote:
> : > Let us suppose that I have a HP DeskJet 5850 that I can talk to via
> : > CUPS.  I can print test pages w/o any problem.
> : >
> : > What are my options to print photos and what kind of quality can I
> : > expect relative to Windows?
> : >
> :
> : According to
> http://www.linuxprinting.org/show_printer.cgi?recnum=HP-DeskJet_5850,
> : HP's HPIJS driver gives "excellent" photo quality with HP printers.
> : One reviewer says that the quality at high resolution isn't quite as
> : good as Windows, but it isn't clear whether that means high-resolution
> : "normal" mode, or photo mode, or both.
> :
> : ports/print/foomatic-db-hpijs and  /ports/print/hpijs
>
> Bob,
>
> Thanks for the tips.  I have these ports installed, but am tripping
> over something stupidly basic: what converts the pict0001.jpg into
> something that can be fed to the hpijs driver that will print?
>
> Warner
>

In principle, an application feeds it to CUPS, CUPS feeds it to
GhostScript, and GhostScript uses the HPIJS driver to print it. Or
something like that.  In practice, I use APSFILTER instead of CUPS,
and I haven't ever tried to do photo printing from FreeBSD, although
getting my wife's HP photo printer working with FreeBSD is on my list
of things to do this weekend, or next weekend, or maybe the weekend
after that.

The process works for printing JPEGs from web pages on my laser
printer (although not with HPIJS), and since the HPIJS driver is
supposed to autodetect photo paper in your printer, I would expect it
to "just work" for photos if you can print a web page with it.

As for a specific application, The Gimp knows something about printing
photos, but again, I haven't actually done it.   Digikam also looks
very promising as a photo manipulation tool.  Anything that can
display it and knows how to print ought to do it (kview for example?).
I'm sure someone with actual experience can provide a more complete
answer.;-)

So far, I've printed from the Gimp by writing the file to a USB
thumbdrive, and plugging that into the photo printer.  The Gimp will
let you define the picture dimensions in inches, which may be
necessary to get the printing results you want.  Otherwise you may end
up with a picture that is 1 x 1.5 inches, or one point by one point,
or a piece of an 8x10 printed on 4x6 paper, or any of several other
possible defaults I've managed to print in the past.  Some printers
also do bad things if the image has too many pixels (or maybe bytes),
so I've sometimes needed to reduce the image resolution before
printing.

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


idesk, rox, and icewm

2006-03-31 Thread Logan McNaughton
Okay, im trying to use icewm with rox and idesk, I start icewm, then start
rox pinboard, then idesk, but idesk always starts behind the rox pinboard
backdrop and I cant see the idesk. I went into winoptions for icewm, and
changed ROX-Pinboard.layer to behind (says to do that in the rox manual),
still cant see idesk, then i change idesk.layer to OnTop, still cant see it,
any suggestions?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Sendmail Patch Question

2006-03-31 Thread Sean Murphy



Giorgos Keramidas wrote:

On 2006-03-31 10:23, Sean Murphy <[EMAIL PROTECTED]> wrote:

Giorgos Keramidas wrote:

On 2006-03-31 10:00, Sean Murphy <[EMAIL PROTECTED]> wrote:

do I download it ASCII or Binary?

Patches are, in general, text-only files.

Ok I installed the patch and did the make and install according to the
instructions.  How do I check to see if the patch is applied?  does the
make install restart the sendmail daemon automatically?


Nope.  You can do that manually though:

# cd /etc/mail
# make restart

This should take care of it.

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



Ok I just did the make restart.  Everything is good but the version 
number did not change.  How do I know the patch was applied?  Is there 
some command I can use to check?

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


Can FreeBSD safely use a (un-booted from) drive that is invisible to the BIOS?

2006-03-31 Thread Danny MacMillan
Hi,

I have a machine with the following two drives (as listed in dmesg):

ad0: 12427MB  at ata0-master UDMA33
ad2: 76319MB  at ata1-master UDMA33

ad0 is the boot drive.  It is recognized by the BIOS, obviously, and
has been in the machine for some years.  ad2 is a new drive I just
added to the machine yesterday.  It is not visible to the BIOS at all.
If anyone can posit a reason it would not be visible to the BIOS, I
would like to know the answer.  The BIOS supports LBA and ad0 is more
than 8GB so it wouldn't appear to be the 8GB limit, and the next limit
I am aware of is comfortably larger than 76GB.

At any rate ... it is not visible to the BIOS, but it is visible to
FreeBSD.  Since I'm not booting from the drive, I think it shouldn't
matter ... but when I use Fdisk from sysinstall I get the following
familiar error message:

|WARNING:  A geometry of 155061/16/63 for ad2 is incorrect.  Using  ?
?a more likely geometry.  If this geometry is incorrect or you  ?
?are unsure as to whether or not it's correct, please consult   ?
?the Hardware Guide in the Documentation submenu or use the ?
?(G)eometry command to change it now.   ?
?   ?
?Remember: you need to enter whatever your BIOS thinks the  ?
?geometry is!  For IDE, it's what you were told in the BIOS ?
?setup. For SCSI, it's the translation mode your controller is  ?
?using.  Do NOT use a ``physical geometry''.|

Since I don't actually know what the BIOS thinks the geometry is,
I got cold feet and decided to ask the list.  I don't =think= it
should matter, since the BIOS shouldn't ever touch the disk, at least
as far as my understanding goes.

I do have one concern.  This drive was purchased more or less to act
as an emergency backup of the drive that's already in there.  If ad0
ever fails, ad2 drive will have to be put in a new machine whose BIOS
recognizes it in order to boot.  If I accept the mystery geometry for
the drive today, will I later face a problem where the BIOS disagrees
and the drive will be unbootable?

Thank you for your kind attention.

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


Re: Reprocessing sendmail failed messages

2006-03-31 Thread Robert Huff

Kris Anderson writes:

>  Found this with google.
>  http://lists.freebsd.org/pipermail/freebsd-questions/2004-June/049850.html
>  
>  A Dr Matthew had this answer (read full text to see what's up but
>  here's a snippet)
>  
>  If you end up with a load of messages stuck in
>  /var/spool/clientmqueue, you've got a similar problem with not
>  running a MSP queue daemon.  The case is exactly analogous,
>  except that the sendmail flags are in
>  /var/spool/clientmqueue/sm-client.pid and should read:
>  
>  /usr/sbin/sendmail -L sm-msp-queue -Ac -q30m
>  
>  and you need to set 'sendmail_msp_queue_flags' in /etc/rc.conf to
>  override them.

Or:
1) cd /etc/mail
2) make stop
3) make start
4) ps -ax | grep sendmand you should see something like:

 1153  ??  Ss 0:14.88 sendmail: accepting connections (sendmail)
 1156  ??  IWs0:00.00 sendmail: Queue [EMAIL PROTECTED]:30:00 for 
/var/spool/client
15854  p6  S+ 0:00.01 grep sendm


This method uses the same scripts invoked at boot, and will
automatically read the various "sendmail_" variables out of rc.conf.


Robert Huff


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


Re: formating a disk

2006-03-31 Thread Jerry McAllister
> 
>  Le 31/03/2006 à 06:34:16+0200, Albert Shih a écrit
> >  Le 30/03/2006  20:19:17-0500, Jerry McAllister a écrit
> > > > 
> > > 
> > > I wonder what exactly you mean by 'format'.
> > > We don't tend to use that word to mean making slices (fdisk), 
> > > partitions (disklabel/bsdlabel) or file systems (newfs).
> > > 
> > > Usually format refers to something done at the very low leval of
> > > the drive and is normally only done at the manufacturer nowdays.
> > > I expect you mean one or more of the others, but cannot say.
> > > 
> > > But, anyway, that is what you need to do - in that order.  
> > >   fdisk,  disk/abel/bsdlabel,  newfs
> > > 
> > > So, try and explain what you have done using these utilities if
> > > you have and if you haven't, then check them out and see if
> > > that helps.   If you really did a "format" under XP, then I think
> > > you can just start over with fdisk, but I haven't tried that on
> > > a hard disk much less a firewire device.
> > 
> > First I try to edit the slice with fdisk but when he need to write I've 
> > got
> > 
> > Information from DOS bootblock is:
> > 1: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
> > start 63, size 156296322 (76316 Meg), flag 80 (active)
> > beg: cyl 1/ head 1/ sector 1;
> > end: cyl 512/ head 254/ sector 63
> > 2: 
> > 3: 
> > 4: 
> > Should we write new partition table? [n] y
> > fdisk: Geom not found
> > [EMAIL PROTECTED] rc.d]#
> > 
> > What's that mean ?
> > How can I fix that ?
> > 
> I answer to myself
> 
> After
> 
>   dd if=/dev/zero of=/dev/da0 bs=1k count=100
> 
> it's ... not working but after
> 
>   dd if=/dev/zero of=/dev/da0 bs=1k count=10
> 
> everything work fine.

Ah, yes.   You got hit by that one.  I have a couple of times and almost
mentioned it, but was unsure of how you were using the terminology so I
didn't want to add any more to the issue just then.

I don't know just why that happens sometimes -- someone else might 
be able to explain.  Some fragment of left over data must confuse 
things.  But using the dd as you mention above does seem to fix it 
and that step is indicated in the bsdlabel man page, although not 
in a very enlightening manner.

So, good luck,

jerry

> 
> Thanks.
> 
> --
> Albert SHIH
> Universite de Paris 7 (Denis DIDEROT)
> U.F.R. de Mathematiques.
> 7 ième étage, plateau D, bureau 10
> Heure local/Local time:
> Fri Mar 31 21:41:04 CEST 2006
> 

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


Re: formating a disk

2006-03-31 Thread Albert Shih
 Le 31/03/2006 à 06:34:16+0200, Albert Shih a écrit
>  Le 30/03/2006  20:19:17-0500, Jerry McAllister a écrit
> > > 
> > 
> > I wonder what exactly you mean by 'format'.
> > We don't tend to use that word to mean making slices (fdisk), 
> > partitions (disklabel/bsdlabel) or file systems (newfs).
> > 
> > Usually format refers to something done at the very low leval of
> > the drive and is normally only done at the manufacturer nowdays.
> > I expect you mean one or more of the others, but cannot say.
> > 
> > But, anyway, that is what you need to do - in that order.  
> >   fdisk,  disk/abel/bsdlabel,  newfs
> > 
> > So, try and explain what you have done using these utilities if
> > you have and if you haven't, then check them out and see if
> > that helps.   If you really did a "format" under XP, then I think
> > you can just start over with fdisk, but I haven't tried that on
> > a hard disk much less a firewire device.
> 
> First I try to edit the slice with fdisk but when he need to write I've 
> got
> 
> Information from DOS bootblock is:
> 1: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
> start 63, size 156296322 (76316 Meg), flag 80 (active)
> beg: cyl 1/ head 1/ sector 1;
> end: cyl 512/ head 254/ sector 63
> 2: 
> 3: 
> 4: 
> Should we write new partition table? [n] y
> fdisk: Geom not found
> [EMAIL PROTECTED] rc.d]#
> 
> What's that mean ?
> How can I fix that ?
> 
I answer to myself


After

dd if=/dev/zero of=/dev/da0 bs=1k count=100

it's ... not working but after

dd if=/dev/zero of=/dev/da0 bs=1k count=10

everything work fine.

Thanks.


--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
7 ième étage, plateau D, bureau 10
Heure local/Local time:
Fri Mar 31 21:41:04 CEST 2006
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Portupgrad Problem

2006-03-31 Thread Peter

--- Cody Holland <[EMAIL PROTECTED]> wrote:

> Using FreeBSD 5.4-Stable #0.  Trying to update my ports using
> portsnap,
> pkg_version, and portupgrade.  All goes well until I get to
> portupgrade
> -arR.  All my ports update except for of them.  Here is the message I
> get:
> 
> # portupgrade -arR
> cd: can't cd to /usr/ports/archivers/pear-Archive_Tar
> cd: can't cd to /usr/ports/devel/pear-Console_Getopt
> cd: can't cd to /usr/ports/devel/pear-XML_RPC
> cd: can't cd to /usr/ports/devel/php4-pear
> ** Package 'php4-pear' has been removed from ports tree.
> ** Port directory not found: devel/php4-pear
> ** Package 'pear-Console_Getopt' has been removed from ports tree.
> ** Port directory not found: devel/pear-Console_Getopt
> ** Package 'pear-XML_RPC' has been removed from ports tree.
> ** Port directory not found: devel/pear-XML_RPC
> ** Package 'pear-Archive_Tar' has been removed from ports tree.
> ** Port directory not found: archivers/pear-Archive_Tar
> ** Listing the failed packages (*:skipped / !:failed)
> !  (php4-pear-4.4.1_1)  (port directory error)
> !  (pear-Console_Getopt-1.2)(port directory error)
> !  (pear-XML_RPC-1.4.3) (port directory error)
> !  (pear-Archive_Tar-1.3.1) (port directory error)
> --->  Packages processed: 0 done, 73 ignored, 0 skipped and 4 failed
> 
> I know this is telling me that there is no ports directory for these
> ports...and there isn't one.  I just don't know what to do, to
> correct
> this.  Any advice would greatly be appreciated.

Update your ports tree.  See the Handbook for this.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Python import not working after update

2006-03-31 Thread Tom Grove
I updated to 6.0-p6 and for some reason I can't run any python scripts 
that use import?  For example:


ImportError: Shared object "libmysqlclient_r.so.14" not found, required 
by "_mysql.so"


It seems like the python module for mysql can't find libraries it 
needs.  Any help would be much appreciated.


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


jvmdiEnterTrace.cpp

2006-03-31 Thread Aguiar Magalhaes
Hi List,

I´m compiling JDK 1.5 on freebsd 6.0 (using ports) and
I've received a error, because the code
jvmEnterTrace.cpp is break...

It's in
/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/generated/jvmtifiles/jvmdiEnterTrace.cpp

Can I download it again ??  Where ??

How can I fix it ??

Help me please,

Aguiar




___ 
Abra sua conta no Yahoo! Mail: 1GB de espaço, alertas de e-mail no celular e 
anti-spam realmente eficaz. 
http://br.info.mail.yahoo.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Starting privoxy at startup

2006-03-31 Thread Fabian Keil
Oliver Iberien <[EMAIL PROTECTED]> wrote:

> Sorry to drag this out, but I still have not got this to work. I've
> looked at the permissions of the files involved but nothing untoward
> shows up. I think. There is just the conf file and the stuff
> in /var/log, right? How should their permissions look?

If you comment out

\
1>/dev/null 2>&1

in the start script, Privoxy should give you a reason why it
doesn't start.

And no, Privoxy also needs at least read access to the filter
and action files. Read access to the templates will be appreciated
as well, but shouldn't cause start problems.

You probably want Privoxy to be able to write to the action files,
otherwise you can't modify them with the web interface.
 
> If I wanted to have two flags for privoxy in rc.conf -- the one below
> and one pointing to /usr/local/etc/privoxy/conf -- what would that
> look like? 

I believe you can change the configfile only in the start
script itself.

Fabian
-- 
http://www.fabiankeil.de/


signature.asc
Description: PGP signature


Re: Sendmail Patch Question

2006-03-31 Thread Giorgos Keramidas
On 2006-03-31 10:23, Sean Murphy <[EMAIL PROTECTED]> wrote:
> Giorgos Keramidas wrote:
> >On 2006-03-31 10:00, Sean Murphy <[EMAIL PROTECTED]> wrote:
> >>do I download it ASCII or Binary?
> >
> >Patches are, in general, text-only files.
>
> Ok I installed the patch and did the make and install according to the
> instructions.  How do I check to see if the patch is applied?  does the
> make install restart the sendmail daemon automatically?

Nope.  You can do that manually though:

# cd /etc/mail
# make restart

This should take care of it.

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


Re: flp wont load to floppies

2006-03-31 Thread Daan Vreeken [PA4DAN]
Hi A B,

On Friday 31 March 2006 19:02, A B wrote:
> 1)  either by copying to destop, then floppy,
>   or directly from FTP site,
>   the floppy disks does not have enough space for the
>   release 6.0 disks... boot, fixit, kern1.suggestions?

The *.flp files are byte-for-byte images of the floppy, not files you should 
place on a floppy. If you want to create FreeBSD install-floppies from DOS or 
Windows you need the "fdimage.exe" utility. You can find it on a FreeBSD ftp 
server in the "tools" directory.

For details on how to use "fdimage" see (section 1.3) :
http://www.freebsd.org/relnotes/6-STABLE/installation/i386/index.html

>   2)  I'm using a IBM Thinkpad 600e 400mHz without much sucess.
>   Will FreeBSD install on this machine?

It should. I run FreeBSD on much older systems.

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


Re: Reprocessing sendmail failed messages

2006-03-31 Thread Kris Anderson


--- Tim Traver <[EMAIL PROTECTED]> wrote:

> Hi All,
> 
> ok, I know this isn't the right list, but I've
> already tried the 
> sendmail group, and no response, so I'm hoping that
> there might be some 
> sendmail gurus on this list that can help me...
> 
> After a temporary DNS outage, several machines that
> we run have email
> messages on them that sendmail attempted to relay to
> our mail
> cluster, but failed because they could not find the
> host name of the
> server they were relaying to.
> 
> So, now, I have hundreds of messages in the
> clientmqueue directory that
> are marked as having permanent fatal errors. The top
> of the d file
> looks like this :
> 
>- The following addresses had permanent fatal
> errors -
> [EMAIL PROTECTED]
> (reason: 550 Host unknown)
> 
>- Transcript of session follows -
> 550 5.1.2 [EMAIL PROTECTED] Host unknown (Name
> server:
> ..com: host not found)
> 
> I see that there are many of these message that are
> important, and
> want to save and send them.
> 
> Is there a way to get sendmail to re-attempt to send
> these messages ? I
> think it just ignores them right now because of
> those lines.
> 
> Any help would be greatly appreciated,
> 
> Tim.
> ___
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 
Hey there Tim,

Found this with google.
http://lists.freebsd.org/pipermail/freebsd-questions/2004-June/049850.html

A Dr Matthew had this answer (read full text to see
what's up but here's a snippet)

If you end up with a load of messages stuck in
/var/spool/clientmqueue, you've got a similar problem
with not running
a MSP queue daemon.  The case is exactly analogous,
except that the
sendmail flags are in
/var/spool/clientmqueue/sm-client.pid and should
read:

/usr/sbin/sendmail -L sm-msp-queue -Ac -q30m

and you need to set 'sendmail_msp_queue_flags' in
/etc/rc.conf to
override them.

-

Hope that helps.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: DHCPD config

2006-03-31 Thread Lowell Gilbert
Kris Anderson <[EMAIL PROTECTED]> writes:

> I think the answer you are looking for lies in
> dhclient-script. I noticed it futzes with resolv.conf.
> If you happen to notice resolv.conf changing (You can
> test this about by making a backup of resolv.conf,
> erasing its contents and then rebooting the machine,
> just for the sake of everything running properly and
> seeing if the contents of resolv.conf get repopulated
> with your ISPs DNS settings) then you can create a
> script to grab the elements needed from the ISP and
> drop them in to a file for dhcpd to read and then
> SIGTERM dhcpd and restart it.

Basically, "have dhclient-script rewrite the dhcpd.conf".

Running your own nameserver and pointing the internal DHCP clients to
it is another option, but slightly less resistant to failures.  Doing
both will get you the best of both worlds.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Crash During FreeBSD compilation has left system unbootable

2006-03-31 Thread Kris Anderson


--- Paul Wilson <[EMAIL PROTECTED]> wrote:

> While working on a FreeBSD modification, during
> compiling it, the system
> hung completely.
> It was actually during the 'make install' stage,
> make had finished by this
> point.
> I had just added 'device atapicam' to my config file
> also (i doubt that's
> relevant tho?).
> 
> Upon reboot, none of my back-up kernels now boot.
> When I boot the half
> compiled
> kernel I get:
> 
> -
> When loading required module 'pci'
> int = 000  err = 0 efl = 000
> [etc...]
> 
> BTX Halted.
> -
> 
> When trying to boot my back up kernels, I get this
> error straight away:
> 
> --
> Fatal Trap 18: integer divide fault while in kernel
> mode.
> 
> intruction pointer = 0x20 : 0xc064f37a
> stack pointer   = 0x28 : 0xc0c20c84
> frame pointer  = 0x28 : 0xc0c20c94
> code segment= base 0x0, limit 0xf, type 0x1b
>= DPL, pres1, def32
> 
> processor eflags = interrupt enabled, resume, IOPL =
> 0
> current process   = 0()
> [thread pid 0 tid 0]
> Stopped at link_elf_lookup_symbol+0x16: divl 0x54
> (%ebx), % eax
> 
> db> trace
> Tracing pid 0 tid 0 td 0xc09322c0
> link_elf_lookup_symbol(c2275c00, c2255a60, c0c20cc0,
> c2255a60, 1c) at
> link_elf_lookup_symbol 0x56
> 
> link_elf_lookup_set(c2275c00, c0874da6, c0c20d4c,
> c0c20d50,0) at
> link_elf_lookup_set+0x56
> 
> link_file_lookup_set(c2275c00, c0874da6, c0c20d4c,
> c0c20d50,0) at
> link_file_lookup_set+0x54
> 
> linker_preload(0, c1ec00, c1e000,0,c0445255) at
> linker_preload + 0c1c3
> 
> mi_startup() at mi-startup + 0x96
> 
> begin() at begin +0x2c
> 
> db>
> --
> 
> I'd greatly appreciate if anyone can tell me if I
> can recover from this
> problem or if it's completely lost.
> 
> Thanks in advance,
> Paul
None of your kernels?
Found this in the handbook -
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-trouble.html

You might also want to see if you have a rescue disk
handy, the worst case you can do a reinstall of just
the kernel items and their sources.

Hope that helps.

~mr. anderson

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


kde plugins -- getting konqueror to play .wmv files?

2006-03-31 Thread Oliver Iberien
I have installed mplayer, its codecs, and kmplayer from the ports on FreeBSD 
6.0, and am trying to get konqueror to play embedded wmv's. 

I get an error saying that the plugin for application type x-mplayer2 has not 
been found. I checked the kmplayer port to see where it put the plugin. It's 
at /usr/local/lib/kde3/libkmplayerpart.so. I check the plugin paths. Not only 
is /usr/local/lib/kde3/ not included, konqueror seems to have registered only 
one plugin, "Netscape plugins." 

I add this path and tell it to scan for new plugins. It gets to 20%, then 
crashes, starts up and crashes, and does this a few more times. It seems to 
take chunks of my file associations with it, as I start getting random 
"application type octet-stream" errors when KDE applications start, and I 
have to go fix that 
(http://www.mepislovers.org/modules/newbb/viewtopic.php?topic_id=15061&forum=9).

Does anyone know how to get konqueror to accept plugins, this one especially, 
and get this to work?

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


Re: flp wont load to floppies

2006-03-31 Thread Andy Greenwood
right, if you are trying to copy the image directly to a fat16 (windows
format) floppy disk, you might run out of room because the fat16 fs takes up
some space on the disk. Also, the disks might be bad and be covered with bad
sectors that you can't use. Make sure you are doing it the right way and try
some other disks too. The last time I installed, I had to boot from floppy
and went through about 4 or 5 disks before I had enough good ones.

On 3/31/06, Jon Krause <[EMAIL PROTECTED]> wrote:
>
>
> - Original Message -
> From: "A B" Sent: Friday, March 31, 2006 12:02 PM
> Subject: flp wont load to floppies
>
>
> > 1)  either by copying to destop, then floppy,
> >   or directly from FTP site,
> >   the floppy disks does not have enough space for the
> >   release 6.0 disks... boot, fixit, kern1.suggestions?
> >
> >   2)  I'm using a IBM Thinkpad 600e 400mHz without much sucess.
> >   Will FreeBSD install on this machine?
> >
>
> Are you attempting to prepare these floppies on a "Windows * " machine?
> Are you following the directions in the handbook?
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html
>
> Specifically, using "fdimage" to copy the .flp files to (floppy)disk?
>
>
>
> >
> > -
> > New Yahoo! Messenger with Voice. Call regular phones from your PC for
> low,
> low rates.
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Reprocessing sendmail failed messages

2006-03-31 Thread Tim Traver

Hi All,

ok, I know this isn't the right list, but I've already tried the 
sendmail group, and no response, so I'm hoping that there might be some 
sendmail gurus on this list that can help me...


After a temporary DNS outage, several machines that we run have email
messages on them that sendmail attempted to relay to our mail
cluster, but failed because they could not find the host name of the
server they were relaying to.

So, now, I have hundreds of messages in the clientmqueue directory that
are marked as having permanent fatal errors. The top of the d file
looks like this :

  - The following addresses had permanent fatal errors -
[EMAIL PROTECTED]
   (reason: 550 Host unknown)

  - Transcript of session follows -
550 5.1.2 [EMAIL PROTECTED] Host unknown (Name server:
..com: host not found)

I see that there are many of these message that are important, and
want to save and send them.

Is there a way to get sendmail to re-attempt to send these messages ? I
think it just ignores them right now because of those lines.

Any help would be greatly appreciated,

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


Re: Starting privoxy at startup

2006-03-31 Thread Oliver Iberien
Sorry to drag this out, but I still have not got this to work. I've looked at 
the permissions of the files involved but nothing untoward shows up. I think. 
There is just the conf file and the stuff in /var/log, right? How should 
their permissions look?

If I wanted to have two flags for privoxy in rc.conf -- the one below and one 
pointing to /usr/local/etc/privoxy/conf -- what would that look like? 

Thanks,

Oliver

On Monday 27 March 2006 10:16, you wrote:
> > Still not working yet... Yes, thank you, I'll take you up on your offer
> > of a configuration file.
>
> Here's /usr/local/etc/privoxy.sh.  Remember, try just these two lines in
> /etc/rc.conf:
>
>  privoxy_enable="YES"
>  privoxy_flags="-- user privoxy"
>
> Pete
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: getop.h conflict when building audio/akode

2006-03-31 Thread Michael Nottebrock
Olivier Nicole schrieb:
>> Deinstall the libgnugetopt port - it's only needed on FreeBSD releases earl=
>> ier=20
>> than 5.x and causes buildtime errors on later versions (as you found out).
> 
> Thanks. After I managed to rebuild audio/akode, it seems that it was not
> depending on libgnugetopt anymore.
> 
> I cannot get rid of libgnugetopt though because it is needed for
> libmal (?) thatis needed for KDE.

You can. All functionality that libgnugetopt provides is now included in
FreeBSD's libc.

It's pretty unlikely that you have anything left on your system that
actually *links* to libgnugetopt by now - just deinstalling it and
deleting the recorded dependencies afterwards with pkgdb -F will most
likely work just fine. If you want to make absolutely sure, delete
libgnugetopt and then recompile every port that had a dependency on it
recorded.

Cheers,
-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org



signature.asc
Description: OpenPGP digital signature


Portupgrad Problem

2006-03-31 Thread Cody Holland
Using FreeBSD 5.4-Stable #0.  Trying to update my ports using portsnap,
pkg_version, and portupgrade.  All goes well until I get to portupgrade
-arR.  All my ports update except for of them.  Here is the message I
get:

# portupgrade -arR
cd: can't cd to /usr/ports/archivers/pear-Archive_Tar
cd: can't cd to /usr/ports/devel/pear-Console_Getopt
cd: can't cd to /usr/ports/devel/pear-XML_RPC
cd: can't cd to /usr/ports/devel/php4-pear
** Package 'php4-pear' has been removed from ports tree.
** Port directory not found: devel/php4-pear
** Package 'pear-Console_Getopt' has been removed from ports tree.
** Port directory not found: devel/pear-Console_Getopt
** Package 'pear-XML_RPC' has been removed from ports tree.
** Port directory not found: devel/pear-XML_RPC
** Package 'pear-Archive_Tar' has been removed from ports tree.
** Port directory not found: archivers/pear-Archive_Tar
** Listing the failed packages (*:skipped / !:failed)
!  (php4-pear-4.4.1_1)  (port directory error)
!  (pear-Console_Getopt-1.2)(port directory error)
!  (pear-XML_RPC-1.4.3) (port directory error)
!  (pear-Archive_Tar-1.3.1) (port directory error)
--->  Packages processed: 0 done, 73 ignored, 0 skipped and 4 failed

I know this is telling me that there is no ports directory for these
ports...and there isn't one.  I just don't know what to do, to correct
this.  Any advice would greatly be appreciated.

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


Re: Best way to print photos

2006-03-31 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]>
"Donald J. O'Neill" <[EMAIL PROTECTED]> writes:
: On Friday 31 March 2006 11:56, M. Warner Losh wrote:
: > In message: <[EMAIL PROTECTED]>
: >
: > "Donald J. O'Neill" <[EMAIL PROTECTED]> writes:
: > : On Friday 31 March 2006 10:37, M. Warner Losh wrote:
: > : > Bob,
: > : >
: > : > Thanks for the tips.  I have these ports installed, but am
: > : > tripping over something stupidly basic: what converts the
: > : > pict0001.jpg into something that can be fed to the hpijs driver
: > : > that will print?
: > : >
: > : > Warner
: > : > ___
: > :
: > : Gimp will do image manipulation as well as print, openoffice,
: > : several in kde - kuickshow for one, several in gnome. I just
: > : printed a jpg using kuickshow, so I know it will do it. Pretty
: > : much, once you've got the jpg off the camera, what you do with it
: > : depends on your preferences.
: >
: > gimp doesn't have my printer listed, and printing .ps to it fails. 
: > Is there some file I need to put somewhere?
: >
: > Warner
: 
: Are you using cups? Or something else? If you have your printer working 
: under cups, then I would think that gimp would print to it.

I have cups running.  I'd have thought that too, so I'm doing
something insanely stupid.  I can print to my other HP printer, but it
understands .ps natively.  If the answer to printing from gimp is
'just print a .ps' then I'm happy.

: I remember 
: when I was using an HP2000c, it wasn't listed under gimp either, but I 
: was able to install it there because I was able to use it with cups. 
: Failing that, there are other programs you can use to print the 
: adjusted jpg file, kuickshow is one, openoffice2.0.2 has several, kde 
: has several besides kuickshow, gnome2 has several.

I can print test pages with the CUPS interface w/o a problem.  I'll
try directly printing a simple color PS document next.  I just
realized that I haven't tried to do that yet.

: Warner, I know you are expert on FreeBSD, and know you know your way 
: around a computer at least as well as I do, if not better, I have 
: several emails from you concerning ACPI, and you show up in various 
: other lists that I belong to, so I know who you are. My question to you 
: is: do you have some hidden reason for showing up on questions and 
: acting like a newbie, or are you sincerely looking for help here. With 
: the hand holding your asking for, I'm beginning to wonder. If you do 
: in-fact, need the help, then you should know that without providing 
: information, that you haven't been volunteering, we aren't going to get 
: anywhere fast. 

The reason is that I've been trying to get printing working for
something like ages.  I've fought cups, hpijs, etc many times in the
past.  I picked bad times, in retrospect, to try to use these tools
since they were broken in some subtle way at the time.  I'm frustrated
and need a little hand-holding.  I think I might have earned a little
bit of it from the years of kernel related help I've given out :-).
I've not focused on printing on FreeBSD much at all since until the
latest color printer I got, good old lpr/lpd has been enough.

I'm not sure what information to provide.  I do understand its need.
I'm somewhat new to the image processing side of printing, so am
acting like a totale newbie because in some ways I am :-).

I'm doing multiple printer/scanner projects at the same time.  I have
a network connected HP LaserJet 2200 that's working great under both
lpr and cups.  I have a network connected HP DeskJet 5850 that's not
working at all under lpr/FreeBSD, but I can at least print test pages
on under CUPS.  It works great from Windows.  I also have a usb
connected HP OfficeJet 4200 scanner/printer/fax that I'm trying to get
scanning working on, but that's on a completely different
machine/different story :-).

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


bootable FreeBSD on USB-Flash-Drive [SOLUTION]

2006-03-31 Thread Grossmann Martin
a little success story with freebsd and a tiny usb stick:
[tried with FreeBSD 6.1-BETA4 install-cd and a kingston 256MB
usb-flash-drive]

prepare yourself to work on the command-line ;-)
- attach the usb-stick to the server
- boot the freebsd installation cd-rom
- go to the "fixit" shell
- CHECK YOUR DMESG WHAT DEVICE YOUR USB STICK ACTUALLY IS!!! (here /dev/da0)

create the future "/"-filesystem on your usb-drive:

wipe everything on the usb-drive:
# dd if=/dev/zero of=/dev/da0 bs=1m
create a new partition table on it with a default slice 1 and make it
bootable
# fdisk -BI /dev/da0
label it for booting freebsd:
# bsdlabel -wB /dev/da0s1
you'll have to edit the disklabel (sometimes you'll have to: # export
EDITOR=/mnt2/usr/bin/vi):
# bsdlabel -e /dev/da0s1
... and change partition a from "unused" to "4.2BSD" as partition type
create the future "/" a.k.a. root-filesystem on it:
# newfs -m 0 -o space /dev/da0s1a

mount the filesystem for installation:
# mount /dev/da0s1a /mnt

install freebsd on /mnt:
# export DESTDIR=/mnt
# cd /dist/
# for i in base manpages catpages
# do
#   cd $i; echo y|./install.sh; cd ..;
# done

go to the kernels directory and install a kernel of your choice:
[default is GENERIC kernel; change to "smp" for smp-machines]
# rmdir /mnt/boot/kernel
# cd kernels;
# cat generic.??|tar --unlink -xpzf - -C /mnt/boot
# cd /mnt/boot && mv GENERIC kernel

now, tell freebsd to mount the right root-filesystem:
# echo "/dev/da0  /  ufs  rw,noatime  1  1" >/mnt/etc/fstab

create your rc.conf.local in /mnt/etc to redefine some settings:
# cat 

Re: DHCPD config

2006-03-31 Thread Kris Anderson
--- fbsd_user <[EMAIL PROTECTED]> wrote:

> I use dhcp client to get the info needed from my ISP
> at boot time.
> I also run dhcpd for issuing ip address to my LAN.
> 
> In the dhcpd.conf file I have option statement for
> the
> ISP's dns ip address like this:
> 
> option domain-name-servers xx.168.xxx.6,
> xx.168.xxx.7;
> 
> the xx are just for this post.
> 
> How can I change this so dhcpd will automatically
> use the
> dns ip address the dhcp client gets so when the ISP
> changes
> the ip address of the dns to use the change will
> also effect dhcpd?
> 
> ___
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 
Hey there,

I think the answer you are looking for lies in
dhclient-script. I noticed it futzes with resolv.conf.
If you happen to notice resolv.conf changing (You can
test this about by making a backup of resolv.conf,
erasing its contents and then rebooting the machine,
just for the sake of everything running properly and
seeing if the contents of resolv.conf get repopulated
with your ISPs DNS settings) then you can create a
script to grab the elements needed from the ISP and
drop them in to a file for dhcpd to read and then
SIGTERM dhcpd and restart it.

In man dhcpd there is a hint about these two items:
omapi, dhcpctl. The omapi (A way to control the dhcpd
process without having to shut it down, or so the man
page claims) man page seems to exist while the dhcpctl
one does not, nor does the command exist (I was able
to find it in source though).

Hope that helps you in your quest.

~Mr. Anderson

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Sendmail Patch Question

2006-03-31 Thread Sean Murphy



Giorgos Keramidas wrote:

On 2006-03-31 10:00, Sean Murphy <[EMAIL PROTECTED]> wrote:

do I download it ASCII or Binary?


Patches are, in general, text-only files.

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



Ok I installed the patch and did the make and install according to the 
instructions.  How do I check to see if the patch is applied?  does the 
make install restart the sendmail daemon automatically?

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


Re: Best way to print photos

2006-03-31 Thread Donald J. O'Neill
On Friday 31 March 2006 11:56, M. Warner Losh wrote:
> In message: <[EMAIL PROTECTED]>
>
> "Donald J. O'Neill" <[EMAIL PROTECTED]> writes:
> : On Friday 31 March 2006 10:37, M. Warner Losh wrote:
> : > Bob,
> : >
> : > Thanks for the tips.  I have these ports installed, but am
> : > tripping over something stupidly basic: what converts the
> : > pict0001.jpg into something that can be fed to the hpijs driver
> : > that will print?
> : >
> : > Warner
> : > ___
> :
> : Gimp will do image manipulation as well as print, openoffice,
> : several in kde - kuickshow for one, several in gnome. I just
> : printed a jpg using kuickshow, so I know it will do it. Pretty
> : much, once you've got the jpg off the camera, what you do with it
> : depends on your preferences.
>
> gimp doesn't have my printer listed, and printing .ps to it fails. 
> Is there some file I need to put somewhere?
>
> Warner

Are you using cups? Or something else? If you have your printer working 
under cups, then I would think that gimp would print to it. I remember 
when I was using an HP2000c, it wasn't listed under gimp either, but I 
was able to install it there because I was able to use it with cups. 
Failing that, there are other programs you can use to print the 
adjusted jpg file, kuickshow is one, openoffice2.0.2 has several, kde 
has several besides kuickshow, gnome2 has several.

Warner, I know you are expert on FreeBSD, and know you know your way 
around a computer at least as well as I do, if not better, I have 
several emails from you concerning ACPI, and you show up in various 
other lists that I belong to, so I know who you are. My question to you 
is: do you have some hidden reason for showing up on questions and 
acting like a newbie, or are you sincerely looking for help here. With 
the hand holding your asking for, I'm beginning to wonder. If you do 
in-fact, need the help, then you should know that without providing 
information, that you haven't been volunteering, we aren't going to get 
anywhere fast. 

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


Which xorg driver/setup to use to get all the buttons for a Logitech MX518

2006-03-31 Thread Jim Stapleton
Hello, I had this listed in my question about the appropriate format
to ask many questions (which was answered this morning by a general
question format post to the group). At any rate, I figured I'd make a
fresh-clean question post that was less unpleasnt, and here it is.

I've googled the problem in general, tried looking around xorg and
this site, but I couldn't find any useful information on getting my
MX518 working with all of it's buttons in BSD (were I to downgrade
back to Linux, I could, but I'd rather not do that, ports is much more
useful than the extra three buttons).

At any rate, could someone tell me what driver to use, and what device
to point it to? Right now I just have the xorg defualt setup, with the
options to tell it to use the scroll wheel and 10 buttons (although
it's only able to handle 7).

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


Re: Sendmail Patch Question

2006-03-31 Thread Giorgos Keramidas
On 2006-03-31 10:00, Sean Murphy <[EMAIL PROTECTED]> wrote:
> do I download it ASCII or Binary?

Patches are, in general, text-only files.

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


Sendmail Patch Question

2006-03-31 Thread Sean Murphy

do I download it ASCII or Binary?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: flp wont load to floppies

2006-03-31 Thread Jon Krause

- Original Message - 
From: "A B" Sent: Friday, March 31, 2006 12:02 PM
Subject: flp wont load to floppies


> 1)  either by copying to destop, then floppy,
>   or directly from FTP site,
>   the floppy disks does not have enough space for the
>   release 6.0 disks... boot, fixit, kern1.suggestions?
>
>   2)  I'm using a IBM Thinkpad 600e 400mHz without much sucess.
>   Will FreeBSD install on this machine?
>

Are you attempting to prepare these floppies on a "Windows * " machine?
Are you following the directions in the handbook?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html

Specifically, using "fdimage" to copy the .flp files to (floppy)disk?



>
> -
> New Yahoo! Messenger with Voice. Call regular phones from your PC for low,
low rates.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

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


Re: Apache Httpd - Access error

2006-03-31 Thread Jim Stapleton
Have you tried setting up the part I have below here, which occures
right after the server admin email address? The example shows the info
for a test machine I have running on my network at home.


# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
ServerName 192.168.1.95:80



If I remember correctly, I had a similar problem (on a Windows test
machine) as to what you described, and I did not have the ServerName
set.


On 3/31/06, Rodrigo G. Tavares de Souza <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm getting a strange error when I try a direct access to a folder
> in the server.
> If I simple type the machine address in the browser, it works
> Ex: http://200.153.0.100 [it works]
> But, if I type the address with the folder/file name, it doesn't
> work. The address is
> translated to the machine name, getting an error, because the isn't a
> DNS to this address.
> I saw the httpd.conf, but there is no reference to machine name or
> domain.
>
> Ex: http://200.153.0.100/folder [automatic translated to]
> http://machine.domain.com/folder [it doesn't work]
>
>It also happen in the local network.
>
>What do I suppose to do?
>
> Best Regards,
> Rodrigo Souza
> Sao Paulo - Brazil
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   >