RE: ad0: TIMEOUT - Is my disk dying?

2007-03-29 Thread Wood, Russell
> -Original Message-
> From: Guido Demmenie [mailto:[EMAIL PROTECTED]
> Sent: Friday, 30 March 2007 3:15 PM
> To: Wood, Russell
> Cc: FreeBSD Users Questions
> Subject: Re: ad0: TIMEOUT - Is my disk dying?
> 
> 
> On Mar 30, 2007, at 9:09 AM, Wood, Russell wrote:
> 
> >> -Original Message-
> >> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> >> [EMAIL PROTECTED] On Behalf Of Guido Demmenie
> >> Sent: Friday, 30 March 2007 3:00 PM
> >> To: Christian Walther
> >> Cc: FreeBSD Users Questions
> >> Subject: Re: ad0: TIMEOUT - Is my disk dying?
> >>
> >>
> >> On Mar 29, 2007, at 11:20 PM, Christian Walther wrote:
> >>
> >>> Hi,
> >>>
> >>> I'm seeing a lot of the following messages lately:
> >>>
> >>> Mar 29 21:02:01 pixie kernel: ad0: TIMEOUT - READ_DMA retrying (1
> >>> retry left) LBA=13554983
> >>> Mar 29 21:02:34 pixie kernel: ad0: TIMEOUT - READ_DMA retrying (1
> >>> retry left) LBA=35376691
> >>>
> >>
> >> You also might want to give smartmontools a try. This can be found
> >> in the portscollection (sysutils/smartmontools). This will query
> >> the SMART tool built in most IDE drives. You can let the harddrive
> >> do a selfcheck. And gather some statistics from your drive.
> >>
> >> --
> >> Guido
> >
> > When you have a suspected faulty hard drive, the last thing you
> > want to
> > do is use it.
> 
> > - Russell
> 
> Can you tell me why?
> 
> --
> Guido

Sure. If you install software when your hard drive has bad sectors then
the software your installing may be written around those areas, possibly
won't run properly (if at all) and cause the system to become unstable
which would then result in further data loss. Also, bad sectors are like
a disease and continue to `spread' the more it's used.

- Russell


DISCLAIMER:
Disclaimer.  This e-mail is private and confidential. If you are not the 
intended recipient, please advise us by return e-mail immediately, and delete 
the e-mail and any attachments without using or disclosing the contents in any 
way. The views expressed in this e-mail are those of the author, and do not 
represent those of this company unless this is clearly indicated. You should 
scan this e-mail and any attachments for viruses. This company accepts no 
liability for any direct or indirect damage or loss resulting from the use of 
any attachments to this e-mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ad0: TIMEOUT - Is my disk dying?

2007-03-29 Thread Guido Demmenie


On Mar 30, 2007, at 9:09 AM, Wood, Russell wrote:


-Original Message-
From: [EMAIL PROTECTED] [mailto:owner-freebsd-
[EMAIL PROTECTED] On Behalf Of Guido Demmenie
Sent: Friday, 30 March 2007 3:00 PM
To: Christian Walther
Cc: FreeBSD Users Questions
Subject: Re: ad0: TIMEOUT - Is my disk dying?


On Mar 29, 2007, at 11:20 PM, Christian Walther wrote:


Hi,

I'm seeing a lot of the following messages lately:

Mar 29 21:02:01 pixie kernel: ad0: TIMEOUT - READ_DMA retrying (1
retry left) LBA=13554983
Mar 29 21:02:34 pixie kernel: ad0: TIMEOUT - READ_DMA retrying (1
retry left) LBA=35376691



You also might want to give smartmontools a try. This can be found
in the portscollection (sysutils/smartmontools). This will query
the SMART tool built in most IDE drives. You can let the harddrive
do a selfcheck. And gather some statistics from your drive.

--
Guido


When you have a suspected faulty hard drive, the last thing you  
want to

do is use it.



- Russell


Can you tell me why?

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


RE: ad0: TIMEOUT - Is my disk dying?

2007-03-29 Thread Wood, Russell
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of Guido Demmenie
> Sent: Friday, 30 March 2007 3:00 PM
> To: Christian Walther
> Cc: FreeBSD Users Questions
> Subject: Re: ad0: TIMEOUT - Is my disk dying?
> 
> 
> On Mar 29, 2007, at 11:20 PM, Christian Walther wrote:
> 
> > Hi,
> >
> > I'm seeing a lot of the following messages lately:
> >
> > Mar 29 21:02:01 pixie kernel: ad0: TIMEOUT - READ_DMA retrying (1
> > retry left) LBA=13554983
> > Mar 29 21:02:34 pixie kernel: ad0: TIMEOUT - READ_DMA retrying (1
> > retry left) LBA=35376691
> >
> 
> You also might want to give smartmontools a try. This can be found
> in the portscollection (sysutils/smartmontools). This will query
> the SMART tool built in most IDE drives. You can let the harddrive
> do a selfcheck. And gather some statistics from your drive.
> 
> --
> Guido

When you have a suspected faulty hard drive, the last thing you want to
do is use it. If you want additional confirmation (which I doubt you
need as what you have printed is ample) then try Seatools from Seagate.
It's free and runs of a CDROM.

- Russell


DISCLAIMER:
Disclaimer.  This e-mail is private and confidential. If you are not the 
intended recipient, please advise us by return e-mail immediately, and delete 
the e-mail and any attachments without using or disclosing the contents in any 
way. The views expressed in this e-mail are those of the author, and do not 
represent those of this company unless this is clearly indicated. You should 
scan this e-mail and any attachments for viruses. This company accepts no 
liability for any direct or indirect damage or loss resulting from the use of 
any attachments to this e-mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ad0: TIMEOUT - Is my disk dying?

2007-03-29 Thread Guido Demmenie


On Mar 29, 2007, at 11:20 PM, Christian Walther wrote:


Hi,

I'm seeing a lot of the following messages lately:

Mar 29 21:02:01 pixie kernel: ad0: TIMEOUT - READ_DMA retrying (1
retry left) LBA=13554983
Mar 29 21:02:34 pixie kernel: ad0: TIMEOUT - READ_DMA retrying (1
retry left) LBA=35376691



You also might want to give smartmontools a try. This can be found
in the portscollection (sysutils/smartmontools). This will query
the SMART tool built in most IDE drives. You can let the harddrive
do a selfcheck. And gather some statistics from your drive.

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


Re: ad0: TIMEOUT - Is my disk dying?

2007-03-29 Thread Christian Walther

On 30/03/07, Wood, Russell <[EMAIL PROTECTED]> wrote:



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of Christian Walther
> Sent: Friday, 30 March 2007 5:21 AM
> To: FreeBSD Users Questions
> Subject: ad0: TIMEOUT - Is my disk dying?
>
> Hi,
>
> I'm seeing a lot of the following messages lately:
>
> Mar 29 21:02:01 pixie kernel: ad0: TIMEOUT - READ_DMA retrying (1
> retry left) LBA=13554983
> ...
> Mar 29 21:52:59 pixie kernel: ad0: TIMEOUT - READ_DMA retrying (1
> retry left) LBA=4663
>
>
> Christian

You have bad sectors on your hard drive. Buy a new one now if your data
is of any importance.



Thanks Russell, that was exactly what I was expecting.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: New to FreeBSD

2007-03-29 Thread Ivan Zenzerović

Hello, here I am again with another problem.

Thanks for your answers, I managed to setup my system, and now almost
everything works. Still, I must configure my printer (Hp LaserJet 6L), but
this is not the issue now. I have troubles with my monitor picture: if I set
up the monitor picture for windows with the buttons on my monitro, then on
FreeBSD my desktop goes always to right for a centimeter. Then again, if I
fix the position with my monitor buttons then on windows the picture goes on
the right (or left). What's the cause of this? Any solutions?

FreeBSD is great, I use it all the times, but still, I miss some programs
from windows (AutoCAD, SolidWorks, Catia). When I buy myself a lapotp, there
won't be windows

Thanks,
Ivan

On 3/28/07, Giorgos Keramidas <[EMAIL PROTECTED]> wrote:


On 2007-03-28 19:43, Ivan Zenzerovi? <[EMAIL PROTECTED]> wrote:
> Thanks, i managed to fix this by running the post install
> configuration with sysinstall. But I have another problem. Every time
> i start the system my soundcard won't work. I must tipe kldload
> snd_driver and then logoff and again logon in kde to get my soundcard
> working. How can i fix this?

Add the line:

snd_driver_load="YES"

in your /boot/loader.conf file.

This way the kernel will preload the sound driver modules when it boots,
and you won't have to load them manually.





--

---
"Correr, competir, eu levo isso no sangue, é parte da minha vida." - Ayrton
Senna
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


2 things....

2007-03-29 Thread Gary Kline

Guys,

I have two things to publicly mumble.  First--and this is
extremely preliminary--with the barest of first tests, gcc42
seems to be a quantum leap over the default gcc that's in
6.2.  Especially with -O3 and -funroll-loops.  At least 
weeks more testings.

Second, is there anybody to talk to about the ports/packages
upgrade deal?  Is this on tap for the summer-of-hacking feast, or
is it up to us?  We can cry, yelp, and complain until the cows
are *dead*; to no avail.   

gary

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Re: skype replacement

2007-03-29 Thread Andriy Babiy
> > Since skype requires some i386 binary, it doesn't build on amd64.
>
> Where did you manage to get the sources?
> Why didn't you give a try to use the port (/usr/ports/net/skype)?
> It works just fine at amd64 (COMPAT_IA32 and COMPAT_LINUX32
> should be used for kernel configuration).

Thank you. I didn't know about those parameters. I'll give it a try. 
Perhaps, if I add the parameters to the kernel configuration, 
linuxflashplugin will build on amd64 too?
Can it be applied to the kernel modules? I have an intergrated network card 
from Marvell. They provide i386 binary module only. Is it assumed to be 
working if I indicate these parameters; however I think they're helpless 
in this case.

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


Re: skype replacement

2007-03-29 Thread Andriy Babiy
> > Since skype requires some i386 binary, it doesn't build on amd64.
> > Could you advise me on what is available as a replacement? What
> > program do you use to implement p2p voice connection on amd64
> > machine?  Thank you in advance.
>
> hihi.  You may want to have a look at [1][2]Ekiga.  It's a really
> nice SIP and H.323 soft phone for GNOME.
>
> HTH!
>
>   1. http://www.freshports.org/net/ekiga/
>   2. http://www.gnomemeeting.org/

Thank you. If my webcam works with it, for me it might be better than 
skype.

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


Re: Moving paritions around

2007-03-29 Thread Garrett Cooper
John Levine wrote:
> I set up my laptop to dual boot between [EMAIL PROTECTED] and FreeBSD.  When I
> first set it up I made the partitions the same size, but since then I
> found I do a lot more with FreeBSD so I'd rather give it more space.
> 
> So the last time I had to reinstall Windows from scratch, I made its
> partition smaller.  Now there's a big chunk of free space between
> the two partitions.  Should I expect the following to work?
> 
> (back everything up, duh)
> 
> Boot from a CD, change the partition table to make the FreeBSD partition
> start right after the Windows partition
> 
> Use dd to move down the existing FreeBSD partition data so it starts
> at the beginning of the new partition
> 
> Use growfs to give the extra space to my /usr filesystem, which is at
> the end of the existing partition
> 
> Or should I just back it all up to a USB disk, reformat, and restore it,
> which will take considerably longer?
> 
> R's,
> John

It's like a sorting programming problem. In order to move objects of
similar sizes between 2 locations, you need 3 locations total : 1
destination, 1 target, and 1 temporary.

Similar ideologies apply here. You need to a) dump(3) the data from your
FreeBSD disk into a safe spot, and b) copy over all of your Windows
files into (another?) safe spot, then, c) install XP over from scratch
with the new scheme, and d) boot using a freebsd snapshot iso, copy all
of your files over again by "un-dump(3)'ing" them, and modify /etc/fstab
accordingly.

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


Re: Help

2007-03-29 Thread Garrett Cooper
Lumbu, Mfumuke wrote:
> Hi! Marcel,
>  
> I got a FreeBSD 6.1 release image that i'm running on VM player. Since
> all your FreeBSD images are asking for a password and i'm not in the
> sudoers file,so i'm not able to install packages. I was wondering if it
> was possible to load the VM image that i got in Deterlab. Or if you can
> grant me a sudoer privilege, i will be able to install packages on
> Deterlab FreeBSD images.
>  
> Thanks.
> 
> 
> *From:* Garrett Cooper [mailto:[EMAIL PROTECTED]
> *Sent:* Thu 3/29/2007 11:16 AM
> *To:* Lumbu, Mfumuke
> *Cc:* freebsd-questions@freebsd.org
> *Subject:* Re: Help
> 
> Marcel Erz wrote:
>> Hello!
>>
>> On which operating system? Do you have already an image for the VM player?
>> Is VM player already installed on you computer? For the future: Give us
>> more
>> information to figure out ur problems. It will help to get an answer!
>>
>> Marcel
>>
>>
>> On 3/28/07, Lumbu, Mfumuke <[EMAIL PROTECTED]> wrote:
>>>
>>> Hi!
>>>
>>> I want to play FreeBSD image with my VM player how can i do it?
>>> Thanks
> 
> This is a FreeBSD forum, not a VMware support forum. I think that they
> have one of those on the main site that you should look for.
> -Garrett
> 

Talk to whoever made the Freebsd images. The larger Freebsd community
doesn't distribute VMware player images.
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: samba and vista computers

2007-03-29 Thread Gerald Freymann
On Thu, 29 Mar 2007 13:10:01 -0700 (PDT)
[EMAIL PROTECTED] wrote:

>You should update your ports tree. The latest version available is
>3.0.24, and it's recommended because there was a format string error of
>some kind in <=3.0.23d.

 Ok, so I've updated my ports tree on my FreeBSD 6.2R system.

 I have managed to install the latest SAMBA3 port and I can now use
smbclient to view the shares on my Vista computer. I can even send print
jobs over to it, but on the Vista box, all I get is ERROR in the queue.

 If I go here:

http://hplip.sourceforge.net/supported_devices/inkjet_aio.html

 it says sure, HPLIP 0.9.5 supports the HP OfficeJet 5610.

 I got there from here:

http://openprinting.org/show_printer.cgi?recnum=HP-OfficeJet_5610

 I don't see HPLIP anywhere in ASPFILTER. Now I'm lost again.

 Mind you, I'm sure it said HPIJS was the best driver to choose, but it
comes up with error messages in the print queue on the Vista box.

 Been up all night trying to figure this out. Time for bed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Moving paritions around

2007-03-29 Thread John Levine
I set up my laptop to dual boot between [EMAIL PROTECTED] and FreeBSD.  When I
first set it up I made the partitions the same size, but since then I
found I do a lot more with FreeBSD so I'd rather give it more space.

So the last time I had to reinstall Windows from scratch, I made its
partition smaller.  Now there's a big chunk of free space between
the two partitions.  Should I expect the following to work?

(back everything up, duh)

Boot from a CD, change the partition table to make the FreeBSD partition
start right after the Windows partition

Use dd to move down the existing FreeBSD partition data so it starts
at the beginning of the new partition

Use growfs to give the extra space to my /usr filesystem, which is at
the end of the existing partition

Or should I just back it all up to a USB disk, reformat, and restore it,
which will take considerably longer?

R's,
John



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


dhcpd assigns address, but DNS resolvers and ping fail

2007-03-29 Thread David Benfell
Hello all,

Another in my mysterious problems list...

pf.conf is set up to allow icmp anywhere.  And dhcpd offers a
plausible IP address and gateway that the client (tested under
both Linux and Windows) accepts.

The client doesn't get the DNS resolver information and can't
ping anywhere, even by raw IP address, even to the router.  The
router also fails to ping the client.

This is FreeBSD stable, updated about a week ago.  dhcpd.conf
and pf.conf files are attached.

Any ideas?  Thanks!
-- 
David Benfell, LCP
[EMAIL PROTECTED]
---
Resume available at http://www.parts-unknown.org/
NOTE: I sign all messages with GnuPG (0DD1D1E3).
#   $OpenBSD: pf.conf,v 1.19 2003/03/24 01:47:28 ian Exp $
#
# See pf.conf(5) and /usr/share/pf for syntax and examples.
# Required order: options, normalization, queueing, translation, filtering.
# Macros and tables may be defined and used anywhere.
# Note that translation rules are first match while filter rules are last match.

# Macros: define common values, so they can be referenced and changed easily.
#ext_if="ext0"  # replace with actual external interface name i.e., dc0
ext_if="xl0"
#int_if="int0"  # replace with actual internal interface name i.e., dc1
int_if="dc0"
dmz_if="sf3"
voip_cfg_if="sf1"
pub_if="sf0"
local_if="lo0"
#lupin_if="sf1"
#internal_net="10.1.1.1/8"
internal_net="192.168.18.1/24"
external_addr="66.93.170.242"
internal_addr="192.168.18.1"
routable_subnet="66.93.170.241/28"
dmz_net="192.168.19.0/24"
dmz_addr="192.168.19.242"
voip_cfg="192.168.102.1"
voip_local="192.168.102.2"
mta_ad = "192.168.19.242"
mta_pt = "25"
dhcp_net="192.168.20.0/24"
#lupin_net="192.168.100.0/24"
public_admin_net="192.168.17.0/24"
starshine="216.240.40.160/27"
#allowed_nets="{ $starshine, $dmz_net, $internal_net }"
trusted_external="{ 12.22.55.0/24 64.0.0.0/4 134.154.0.0/16 216.240.40.161/27 }"
#   DoubletreeLocal  CSU Haywardstarshine.org   
   
earth_ext="66.93.170.243"
earth_dmz="192.168.19.243"
earth_int="192.168.18.43"
dnscache="192.168.19.4"
kindling_ext="66.93.170.244"
kindling_int="192.168.19.244"
home_ext="66.93.170.245"
home_int="192.168.18.44"
raven_ext="66.93.170.246"
raven_int="192.168.18.45"
lair_ext="66.93.170.247"
lair_int="192.168.18.46"
thunder_ext="66.93.170.248"
thunder_int="192.168.18.47"
voip_ext="66.93.170.254"
#lupin_ext="66.93.170.254"
non_routable="{ 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 169.254.0.0/16 }"
macintoshes="{ $lair_ext, $lair_int, $thunder_ext, $thunder_int }"
linux_pcs="{ $dnscache, $kindling_ext, $kindling_int, $home_ext, $home_int, 
$raven_ext, $raven_int }"
auth_local="{ $lair_ext, $lair_int, $thunder_ext, $thunder_int \
$earth_ext, $earth_dmz, $dnscache, $kindling_ext, $kindling_int, 
$home_ext, $home_int, $raven_ext, $raven_int }"
#lupin_router="192.168.100.1"
#lupin_net="192.168.100.0/24"
dmz_services="port { 4, http, ftp-data, ftp, domain, ntp }"
tcp_udp="proto { tcp, udp }"
in_out="{ in, out }"

# Tables: similar to macros, but more flexible for many addresses.
#table  { 10.0.0.0/8, !10.1.0.0/16, 192.168.0.0/24, 192.168.1.18 }

# Options: tune the behavior of pf, default values are given.
#set timeout { interval 30, frag 10 }
#set timeout { tcp.first 120, tcp.opening 30, tcp.established 86400 }
#set timeout { tcp.closing 900, tcp.finwait 45, tcp.closed 90 }
#set timeout { udp.first 60, udp.single 30, udp.multiple 60 }
#set timeout { icmp.first 20, icmp.error 10 }
#set timeout { other.first 60, other.single 30, other.multiple 60 }
#set limit { states 1, frags 5000 }
#set loginterface none
#set optimization normal
set block-policy drop
#set block-policy return
#set require-order yes

# Normalization: reassemble fragments and resolve or reduce traffic ambiguities.
#scrub in from any to any
scrub in all

# Queueing: rule-based bandwidth control.
#altq on $ext_if bandwidth 2Mb cbq queue { dflt, developers, marketing }
#altq on $ext_if bandwidth 1.5Mb cbq queue { dflt, tor }
#queue dflt bandwidth 5% cbq(default)
#queue developers bandwidth 80%
#queue marketing  bandwidth 15%
#queue dflt bandwidth 85% cbq(default) priority 3
#queue tor bandwidth 15% priority 1

# Translation: specify how addresses are to be mapped or redirected.
# nat: packets going out through $ext_if with source address $internal_net will
# get translated as coming from the address of $ext_if, a state is created for
# such packets, and incoming packets will be redirected to the internal address.

rdr on $ext_if proto tcp from  to any port smtp -> 127.0.0.1 port 8025

# block SMTP from Hotmail and other spammer networks
# hotmail.com
rdr on $ext_if proto tcp from 65.54/16 to any port smtp -> 127.0.0.1 port 8025
rdr on $ext_if proto tcp from 64.4/16 to any port smtp -> 127.0.0.1 port 8025
# prod-infinitum.com.mx
rdr on $ext_if proto tcp from 201.153.0.0/16 to any port smtp -> 127.0.0.1 port 
8025
# voyager.net
rdr on $ext_if proto tcp from 216.93.66.0/24 to any port smtp -> 127.0.0.1 port 
8025
#rdr on 

Intel D975XBX2 - BTX halted

2007-03-29 Thread Alexander Anderson
Hello.
I'm installing FreeBSD 6.2-RELEASE on a brand new system with Intel
D975XBX2 board. It seems that FreeBSD does not support the onboard Marvell
88SE6145 SATA controller. Could someone confirm this?

At first, when I tried to boot the installation CD, the loader hung very
early in the process with the message "BTX halted". But when I went to the
BIOS and disabled "Secondary SATA controller" (in Advanced, Peripheral
Configuration), the CD booted and the install began alright.

By the way, I did the BIOS upgrade (to version BX97520J.86A.2674), but
that didn't help.

Even though the board has another RAID controller (ICH7-R/ICH7-DH), I
really would like to get both of them working. This system is going to be
a server and I was going to hook up 6 hard drives to it: 2 as RAID1 and 4
as RAID5.

Now that I figured out what was causing the "BTX halted" error, I'm going
to complete the installation, and then try to enable the Marvell
controller back. Let's see if that works.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: change xorg video resolution

2007-03-29 Thread Greg 'groggy' Lehey
On Thursday, 29 March 2007 at 21:55:58 -0300, freenity wrote:
> Hello. I have a strange problem with my xorg configuration. It only runs at
> 1024x768, but I want to change it to 1280x1024. This is the screen section
> from my /etc/X11/xorg.conf
>
> Section "Screen"
>Identifier "Screen0"
>Device "Card0"
>Monitor"Monitor0"
>SubSection "Display"
>Viewport   0 0
>Depth 16
>Modes"1280x1024"
>EndSubSection
>SubSection "Display"
>Viewport   0 0
>Depth 16
>Modes   "1280x1024"
>EndSubSection

This is a duplicate of the previous subsection (same bit depth).

> But it steal running at 1024x768.

What does xdpyinfo say?  You should see something like

  depth of root window:24 planes

You will need a subsection entry for this depth.

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


pgp8TY1CywPw4.pgp
Description: PGP signature


Re: Is this a hard drive crash?

2007-03-29 Thread web

At 11:03 AM 3/29/2007, you wrote:

Janos Dohanics wrote:


I also ran the Seagate drive utility which found no problems with the
drive. When the same kind of crash happened again, I thought the problem
may be the IDE controller, I have replaced the motherboard.
Now it crashed again with the new motherboard - and I don't know what
should I do next: should I just replace an apparently good hard drive?


If you know the drive is good (e.g. by testing it in another machine), the 
first thing you should replace is the power supply. Weird drive behavior 
is often a sign of weak PSUs.


FWIW, I tested the power supply with an inexpensive power supply tester; it 
checked out. I guess I should replace it, nonetheless...



Also, if this is just a hard drive crash, shouldn't  the system keep
going?


So, you're saying that if a drive starts giving invalid or 
noninterpretable communications back to the IDE controller, causing the 
controller to wedge, which possibly brings down the PCI bus on which it's 
connecte, tied to the front side bus and the CPU, the OS should just 
continue? On what?


I guess you make a good point: the fact that the system wedges, points to 
something other than the drive. Still, it's always the same drive that quits...


Janos Dohanics


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


Re: as i progress with jails...

2007-03-29 Thread Chad Leigh -- Shire.Net LLC


On Mar 29, 2007, at 7:10 PM, Jonathan Horne wrote:

to test the behavior of both buildworld and updating ports with  
portupgrade, i started my project over, and rebuilt my jail host as  
FreeBSD 6.2-RELEASE.  within this, i configured 2 jails, and  
installed various ports that i run on other production systems  
(actually, i installed from a ports tree that i cvsup'd with date  
2007.01.01.01.01.01, so that i could legitimately test upgrading to  
todays copy).  today, i cvsup'd the sources on the host to 6.2- 
RELEASE-p3, and built world.  i installed world, and rebooted, but  
did not update either of the jails, just to see what would happen  
with the host running p3, and the jails running RELEASE.  to my  
surprise, both jails were running p3 when the host came back up.


so what am i missing about jail theory here?  how did that kernel  
get into my jails if i did not install it?


Jails all run on the base kernel


  what about the rest of userland?


That needs to be updated per jail.  I use a master jail I nullfs  
mount so I just ave to update userland once but if major etc changes  
happen still have to do that in each


Chad


at what version should i expect that to be at, at this point?

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


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


as i progress with jails...

2007-03-29 Thread Jonathan Horne
to test the behavior of both buildworld and updating ports with portupgrade, i 
started my project over, and rebuilt my jail host as FreeBSD 6.2-RELEASE.  
within this, i configured 2 jails, and installed various ports that i run on 
other production systems (actually, i installed from a ports tree that i 
cvsup'd with date 2007.01.01.01.01.01, so that i could legitimately test 
upgrading to todays copy).  today, i cvsup'd the sources on the host to 
6.2-RELEASE-p3, and built world.  i installed world, and rebooted, but did not 
update either of the jails, just to see what would happen with the host running 
p3, and the jails running RELEASE.  to my surprise, both jails were running p3 
when the host came back up.

so what am i missing about jail theory here?  how did that kernel get into my 
jails if i did not install it?  what about the rest of userland?  at what 
version should i expect that to be at, at this point?

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


Re: the art of pkgdb -F

2007-03-29 Thread RW
On Thu, 29 Mar 2007 16:41:06 -0400
Gerard Seibert <[EMAIL PROTECTED]> wrote:

> On Thu, 29 Mar 2007 20:40:05 +0100
> RW <[EMAIL PROTECTED]> wrote:
> 
> > Portmanager is really no better, the dependencies recorded in the
> > package database are also recursive. The big problem with gettext
> > was that a lot of port failed to build afterwards, leaving them
> > with a missing library.
> 
> I have had problems in the past getting 'portupgrade' to properly
> update all of the dependencies required when doing a major update;
> i.e., 'gettext'. 
> 
> On the other hand, I have never had a problem using 'portmanager'
> provided I used the '-p -f' flags.

Your missing the point that when portupgrade fails to upgrade the
dependent ports, it doesn't really matter because it has preserved
copies of the old libraries. That allows software built against the old
and new versions to co-exist until the underlying problem is fixed. 

I use portmanager myself, but no upgrade utility can guarantee that any
port will build. I got into this problem myself - I couldn't start KDE.
I got out of it by deleting gettext, reinstalling the old version with
pkg_add -r, and re-upgrading gettext with portupgrade.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


change xorg video resolution

2007-03-29 Thread freenity

Hello. I have a strange problem with my xorg configuration. It only runs at
1024x768, but I want to change it to 1280x1024. This is the screen section
from my /etc/X11/xorg.conf

Section "Screen"
   Identifier "Screen0"
   Device "Card0"
   Monitor"Monitor0"
   SubSection "Display"
   Viewport   0 0
   Depth 16
   Modes"1280x1024"
   EndSubSection
   SubSection "Display"
   Viewport   0 0
   Depth 16
   Modes   "1280x1024"
   EndSubSection

EndSection

But it steal running at 1024x768.
Thanks fro any ideas.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to handle forthcoming PR originator e-mail address

2007-03-29 Thread Danny Pansters
On Thursday 29 March 2007 23:22:28 Giorgos Keramidas wrote:
> On 2007-03-29 23:40, Dmitry Pryanishnikov <[EMAIL PROTECTED]> wrote:
> >On Thu, 29 Mar 2007, Giorgos Keramidas wrote:
> >>> I'm an originator of 4 open PRs and 9 closed ones. My e-mail address
> >>> will change soon. How should I handle the change to stay reachable
> >>> for people working on PRs? Sorry to bother the list with
> >>> (seems-to-be) a trivial question, I can't find reply in PR-related
> >>> articles.
> >>
> >> Point me to the PRs and I will use pr-edit to fix the email address.
> >
> >   Thank you, Gabor Kovesdan has already done it.
>
> Nice.
>
> >> This can also be done by any FreeBSD committer with ssh access to the
> >> FreeBSD cluster.
> >
> > I just thought that some kind of automatic tool should exist to
> > accomplish originator's e-mail change. After all, people _do_ change
> > their e-mails sometimes...
>
> Not really.  Gnats is very flexible in this; it allows manual editing of
> the bug report itself.  This is also one of its relatively annoying
> 'flaws' though.  Care must be taken when bug reports are manually
> modified by a committer, and there are not very many tools to automake

Also by a submitter. I recently learnt this: Never steep so low as to try and 
modify the (attached) patch rather than rolling a new PR, pasting in the same 
old text, etc. However tempting when you are PR'ing a series of 20 or so. But 
it will always bite you in the butt at some point!

Dan

> stuff like what you wanted to do.
>
> Anyway, I'm glad this has been resolved now :)
>
> ___
> 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: ad0: TIMEOUT - Is my disk dying?

2007-03-29 Thread Wood, Russell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of Christian Walther
> Sent: Friday, 30 March 2007 5:21 AM
> To: FreeBSD Users Questions
> Subject: ad0: TIMEOUT - Is my disk dying?
> 
> Hi,
> 
> I'm seeing a lot of the following messages lately:
> 
> Mar 29 21:02:01 pixie kernel: ad0: TIMEOUT - READ_DMA retrying (1
> retry left) LBA=13554983
> ...
> Mar 29 21:52:59 pixie kernel: ad0: TIMEOUT - READ_DMA retrying (1
> retry left) LBA=4663
> 
> 
> Christian

You have bad sectors on your hard drive. Buy a new one now if your data
is of any importance.

- Russell


DISCLAIMER:
Disclaimer.  This e-mail is private and confidential. If you are not the 
intended recipient, please advise us by return e-mail immediately, and delete 
the e-mail and any attachments without using or disclosing the contents in any 
way. The views expressed in this e-mail are those of the author, and do not 
represent those of this company unless this is clearly indicated. You should 
scan this e-mail and any attachments for viruses. This company accepts no 
liability for any direct or indirect damage or loss resulting from the use of 
any attachments to this e-mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Why is 'disklabel'ng a new drive so difficult?

2007-03-29 Thread Antony Mawer

On 30/03/2007 9:22 AM, Jerry McAllister wrote:

On Fri, Mar 30, 2007 at 08:07:23AM +1000, Antony Mawer wrote:

...
Is it important to use 16 as the offset still, or is this a historical 
piece of information that is no longer relevant? Or is this is a bug in 
disklabel that should be fixed?


As I indicated in another post in this thread, it appears to
be vestigial.I have never used it for a bsdlabel(disklabel)
being done on a slice - since 1998.


I just went back and re-read your other messages in the thread. I must 
have glossed over that part of them - my apologies! I too looked at my 
sysinstall-created labels, and they were all at offset of 0.


I actually started writing my own partitioning/labelling tool based on 
libdisk, as part of a custom install CD I was building, but discovered 
that it did not support non-disk devices (eg. gmirror)... I started 
looking at trying to hack support into libdisk to do so (and made some 
success), but in the end decided that it was probably a task better 
suited for someone that knows libdisk better than I...


As a result I went back to looking at fdisk/bsdlabel to see what I could 
do using them instead...



There seems to be a lot of left over stuff in the documentation and 
man pages for fdisk and bsdlabel (and disk formatting, partitioning
and booting in general).   Someone made a pass at cleaning them up 
about 6 years ago and that helped, but it could stand to be done some 
more.  If I felt knowledgeable enough, I would take a whack at it.  
But there are too many holes (not wholes) in my knowledge.   I would
guess from posts in the list that a lot of people are in that position - 
knowing a bunch of it, but not quite enough to be authoratative about it.


I have written several long replies to questions on this list that
could be the basis for FAQs or HowTo-s, but they still leave a lot
of things out and generalize or slide over lots of other things for
the sake of convenience, avoiding confusing a newbie and/or not being 
sure about all the details.


I can attest to that -- I would love to see a clear, newbie friendly 
explanation on disk geometry, and why it is/isn't relevant in this day 
and age. The big scary warnings sysinstall likes to throw up made me 
think it must have some significance, but from days of 
searching/reading, the general gist I came up with is that geometry was 
a largely obsolete concept (as most things use LBA for addressing, 
including /boot/mbr from what I could tell), largely only relevant if 
you have other operating systems on the drive, in which case all OSes 
needed to agree on the drive geometry in order for the fdisk slice table 
to make any sense to all of them...


In that case, can anyone comment with any knowledge if geometry 
"fix-ups" are only necessary if the drive is shared with non-FreeBSD 
operating systems? Or are they important for a drive (non-dangerously 
dedicated) with just a single FreeBSD slice on it?


If they are needed, should some of the sysinstall magic be added to the 
command line fdisk tool as well (as an option), so it can perform the 
same modifications if it detects non-sane BIOS C/H/S values?


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


Re: How Write To Win Drive?

2007-03-29 Thread Stan Cooper
# ntfs-3g /dev/ad0s1 /win
Failed to open /proc/filesystems: No such file or directory
modprobe: not found
Failed to open /proc/filesystems: No such file or directory
Failed to create /dev/fuse: No such file or directory
fuse: failed to open fuse device: No such file or directory

What am I doing wrong?
TIA,
Stan2

Vince <[EMAIL PROTECTED]> wrote: Stan Cooper wrote:
> Okay, making progress. The problem was the distro was copied before Dec 6, so 
> I had to rebuild the ports tree. That done, I built out fuesfs-ntfs. But I 
> still can't mount the drive. I edited /etc/fstab thus:
> 
> /dev/ad0s1/winfuserw00
> 
> I also tried "fusefs" in the above. Then I ran:
> 
> # mount_fusefs /dev/ad0s1 /win
> mount_fusefs: /dev/ad0s1 on /win: Operation not supported by device.
> 
> Am I screwed?
> TIA,
> Stan
> 
The command for fusefs-ntfs is ntfs-3g not mount_fusefs.
no idea how to have fstab use it as the example given in the manpage is
for linux.

Vince

>  
> -
>  Get your own web address.
>  Have a HUGE year through Yahoo! Small Business.
> ___
> 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]"


 
-
 Get your own web address.
 Have a HUGE year through Yahoo! Small Business.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD X11/GNOME/KDM issue

2007-03-29 Thread RW
On Thu, 29 Mar 2007 12:51:16 -0700 (PDT)
Joseph Marah <[EMAIL PROTECTED]> wrote:

> After install I looged in through GDM.  I saw everything
> KDE brought with it using GNOME interface and read the KDE mannual a
> bit.  Then I used the user administration tab and added myself as a
> user in addition to root. I also changed kde_enable = "YES"
> in /etc/rc.conf in place of  gdm_enable = "YES" hoping to be able to
> log back in using KDM.  

AFAIK KDE doesn't install a local rc.d script for KDM, so I'm
curious as to how you did that.

The FreeBSD hand book has a section on starting KDM ,and also on
starting KDE without a login manager, via startx.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


xorg broken after using portupgrade

2007-03-29 Thread E. J. Cerejo
I'm running FBSD release 6.2 and after updating my ports with portupgrade I can 
start xorg.  I'm getting this error message:

waiting for X server to shut down FreeFontPath: FPE 
"/usr/X11R6/lib/X11/fonts/misc/:unscaled" refcount is 2, should be 1; fixing.
X connection to :0.0 broken (explicit kill or server shutdown).


Has anyone any idea what might be the problem?

I deleted xorg and everything connected with it and compiled it anew and the 
same error happens.

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


Re: Why is 'disklabel'ng a new drive so difficult?

2007-03-29 Thread Jerry McAllister
On Fri, Mar 30, 2007 at 08:07:23AM +1000, Antony Mawer wrote:

> On 29/03/2007 6:41 AM, Kris Kennaway wrote:
> >On Wed, Mar 28, 2007 at 05:26:49PM -0300, Marc G. Fournier wrote:
> >>Just bought a new WD SATA drive: WDC WD5000YS-01MPB1 09.02E09
> >>
> >>Tried to disklabel it, and it gives me all kinds of warnings when I look 
> >>at it after running the disklabel:
> >>
> >>
> >>ganymede# bsdlabel -w ad4s1 auto
> >>ganymede# bsdlabel ad4s1c
> >># /dev/ad4s1c:
> >>8 partitions:
> >>#size   offsetfstype   [fsize bsize bps/cpg]
> >>  a: 976767986   79unused0 0
> >>  c: 976768002   63unused0 0 # "raw" part, 
> >>  don't edit
> >>partition a: partition extends past end of unit
> >>partition c: partition extends past end of unit
> >>bsdlabel: partition c doesn't start at 0!
> >>bsdlabel: An incorrect partition c may cause problems for standard system 
> >>utilities
> >>
> >>Even if I try to use /stand/sysinstall to do the fdisk, the end result 
> >>has 'issues' ...
> >>
> >>So, what is the generally accepted method of label'ng a new drive? :(
> >
> >I learned a useful trick the other day: you can use abbreviations like
> >"1g", also '*' to mean "automatically calculate".  See the manpage.
> 
> This timely thread came as I was experimenting with disklabel, and I 
> noticed in the man page it says this:
> 
> >offset  The offset of the start of the partition from the beginning of
> >the drive in sectors, or * to have bsdlabel calculate the 
> >correct
> >offset to use (the end of the previous partition plus one, 
> >ignor-
> >ing partition `c'.  For partition `c', * will be interpreted as
> >an offset of 0.  The first partition should start at offset 16,
> >because the first 16 sectors are reserved for metadata.
> 
> When I tried using "16" as the offset for my 'a' partition, I could no 
> longer user "*" on my last partition to make it auto-size... disklabel 
> then sized the partition so it went past the end of the disk. Presumably 
> it's not taking into account the starting offset when it does this (gm0 
> is a 3gb gmirror device, with a single slice created on it using fdisk):
> 
> $ bsdlabel -R /dev/mirror/gm0s1 /dev/stdin
> 8 partitions:
>   a:  2097152   164.2BSD
>   b:   102400*  swap
>   c:*0unused
>   d:   102400*4.2BSD
>   e:**4.2BSD
> partition e: partition extends past end of unit
> 
> However if I change the 'a' partition offset to 'e', it works:
> 
> $ bsdlabel -R /dev/mirror/gm0s1 /dev/stdin
> 8 partitions:
>   a:  209715204.2BSD
>   b:   102400*  swap
>   c:*0unused
>   d:   102400*4.2BSD
>   e:**4.2BSD
> $ disklabel /dev/mirror/gm0s1
> # /dev/mirror/gm0s1:
> 8 partitions:
> #size   offsetfstype   [fsize bsize bps/cpg]
>   a:  209715204.2BSD0 0 0
>   b:   102400  2097152  swap
>   c:  62813520unused0 0 # "raw"
>   d:   102400  21995524.2BSD0 0 0
>   e:  3979400  23019524.2BSD0 0 0
> 
> Is it important to use 16 as the offset still, or is this a historical 
> piece of information that is no longer relevant? Or is this is a bug in 
> disklabel that should be fixed?

As I indicated in another post in this thread, it appears to
be vestigial.I have never used it for a bsdlabel(disklabel)
being done on a slice - since 1998.

There seems to be a lot of left over stuff in the documentation and 
man pages for fdisk and bsdlabel (and disk formatting, partitioning
and booting in general).   Someone made a pass at cleaning them up 
about 6 years ago and that helped, but it could stand to be done some 
more.  If I felt knowledgeable enough, I would take a whack at it.  
But there are too many holes (not wholes) in my knowledge.   I would
guess from posts in the list that a lot of people are in that position - 
knowing a bunch of it, but not quite enough to be authoratative about it.

I have written several long replies to questions on this list that
could be the basis for FAQs or HowTo-s, but they still leave a lot
of things out and generalize or slide over lots of other things for
the sake of convenience, avoiding confusing a newbie and/or not being 
sure about all the details.

jerry

> 
> --Antony
> ___
> 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 PROTE

Re: Why is 'disklabel'ng a new drive so difficult?

2007-03-29 Thread Antony Mawer

On 29/03/2007 6:41 AM, Kris Kennaway wrote:

On Wed, Mar 28, 2007 at 05:26:49PM -0300, Marc G. Fournier wrote:

Just bought a new WD SATA drive: WDC WD5000YS-01MPB1 09.02E09

Tried to disklabel it, and it gives me all kinds of warnings when I look at it 
after running the disklabel:



ganymede# bsdlabel -w ad4s1 auto
ganymede# bsdlabel ad4s1c
# /dev/ad4s1c:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a: 976767986   79unused0 0
  c: 976768002   63unused0 0 # "raw" part, don't 
edit

partition a: partition extends past end of unit
partition c: partition extends past end of unit
bsdlabel: partition c doesn't start at 0!
bsdlabel: An incorrect partition c may cause problems for standard system 
utilities


Even if I try to use /stand/sysinstall to do the fdisk, the end result has 
'issues' ...


So, what is the generally accepted method of label'ng a new drive? :(


I learned a useful trick the other day: you can use abbreviations like
"1g", also '*' to mean "automatically calculate".  See the manpage.


This timely thread came as I was experimenting with disklabel, and I 
noticed in the man page it says this:



offset  The offset of the start of the partition from the beginning of
the drive in sectors, or * to have bsdlabel calculate the correct
offset to use (the end of the previous partition plus one, ignor-
ing partition `c'.  For partition `c', * will be interpreted as
an offset of 0.  The first partition should start at offset 16,
because the first 16 sectors are reserved for metadata.


When I tried using "16" as the offset for my 'a' partition, I could no 
longer user "*" on my last partition to make it auto-size... disklabel 
then sized the partition so it went past the end of the disk. Presumably 
it's not taking into account the starting offset when it does this (gm0 
is a 3gb gmirror device, with a single slice created on it using fdisk):


$ bsdlabel -R /dev/mirror/gm0s1 /dev/stdin
8 partitions:
  a:  2097152   164.2BSD
  b:   102400*  swap
  c:*0unused
  d:   102400*4.2BSD
  e:**4.2BSD
partition e: partition extends past end of unit

However if I change the 'a' partition offset to 'e', it works:

$ bsdlabel -R /dev/mirror/gm0s1 /dev/stdin
8 partitions:
  a:  209715204.2BSD
  b:   102400*  swap
  c:*0unused
  d:   102400*4.2BSD
  e:**4.2BSD
$ disklabel /dev/mirror/gm0s1
# /dev/mirror/gm0s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  209715204.2BSD0 0 0
  b:   102400  2097152  swap
  c:  62813520unused0 0 # "raw"
  d:   102400  21995524.2BSD0 0 0
  e:  3979400  23019524.2BSD0 0 0

Is it important to use 16 as the offset still, or is this a historical 
piece of information that is no longer relevant? Or is this is a bug in 
disklabel that should be fixed?


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


Re: About file systems and formats

2007-03-29 Thread Jerry McAllister
On Thu, Mar 29, 2007 at 02:25:57PM -0600, Andrew Falanga wrote:

> Yesterday while working on a problem at work, a colleague and I were talking
> about the various file systems and something that I have always wondered on
> is what are the various file systems doing when a format is being done.  For
> example, at home, my PC has 2 80gb drives.  One for Windows and the other
> for FreeBSD.  It took Windows nearly an hour (give or take) to format the
> 80gb drive.  On the other hand, it took FreeBSD little more than 3 - 5
> minutes to format its 80gb drive.

> 
> Both drives are similar in capability.  They are both 7200 rpm drives, etc.
> So what is so much different about NTFS from FFS?  Are the file systems
> really that different that MS's system is simply dog slow, or is the format
> for FreeBSD skipping some "integrity" checks on the surface of the drive or
> whatever (this assumes that the MS install process is actually doing this).
> Please understand, I intend only to find the answer to the question with
> this.  I'm looking for starting a "war" about who's file system rocks more
> than the other.  The idea of an integrity check was just speculation between
> my colleague and I because there such a speed difference in formatting
> things (once windows is installed) when choosing between a "Quick Format" or
> a "Full Format".

Unix systems such as FreeBSD do not usually do an actual 'format' in the
way we used to think of Format.   When you do a newfs on a FreeBSD partition
it is creating a filesystem by writing file system tables and copies of
those tables in specific places across the partition.   It makes use of
the low level format that is already put there by the manufacturer.
I don't really know how much of that MS does when it builds an NTFS
file system.

jerry

> 
> Can someone here offer some in depth information on this for me?  Thanks.
> 
> Andy
> 
> P.S. on a side note, but related to this, in what directories under the
> system sources will I find the source code for the FFS used by FreeBSD, and
> how are those modules structured?
> ___
> 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: About file systems and formats

2007-03-29 Thread Andrew Falanga

On 3/29/07, Ivan Voras <[EMAIL PROTECTED]> wrote:


Andrew Falanga wrote:
> Yesterday while working on a problem at work, a colleague and I were
> talking
> about the various file systems and something that I have always wondered
on
> is what are the various file systems doing when a format is being done.
> For
> example, at home, my PC has 2 80gb drives.  One for Windows and the
other
> for FreeBSD.  It took Windows nearly an hour (give or take) to format
the
> 80gb drive.  On the other hand, it took FreeBSD little more than 3 - 5
> minutes to format its 80gb drive.

This is too slow for the FreeBSD case. By default, Windows will do a
full format - in effect, will write zeroes all over the drive, with the
intent of checking if the drive is capable of it. Unix format (newfs)
will only initialize file system structures - in effect, will write out
(initially empty) file tables to the drive. This takes about 5-10
seconds on 250 GB drives, so 3-5 minutes you got is way too much.
There's no way of making newfs to the "checking" phase; there are
separate utilities for that.



Wow, I guess so!  I did this some time ago and was trying to be conservative
in my time table as I actually couldn't remember the exact time.



my colleague and I because there such a speed difference in formatting
> things (once windows is installed) when choosing between a "Quick
> Format" or
> a "Full Format".

Yes, Quick format will just write the file tables (this is simplified,
but you'll get the picture) on Windows, too.




Sounds like we were on track.  The system just creates the appropriate data
structures using newfs and one can use the smartmon Chuck mentioned to keep
track of the surface, i.e. looking for disk defects.

Thanks for the links to the source (Chuck).

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


Re: splitting a filesystem

2007-03-29 Thread Jerry McAllister
On Thu, Mar 29, 2007 at 10:50:19PM +0300, Evren Yurtesen wrote:

> Jerry McAllister wrote:
> 
> >On Thu, Mar 29, 2007 at 06:55:07PM +0300, Evren Yurtesen wrote:
> >
> >
> >>Hi,
> >>
> >>Is it possible to split an existing filesystem into smaller ones(1to2).
> >
> >
> >Well, sort of.
> >You can back everything up with dump(8)
> >Then delete the partition and make two in its place.
> >Then newfs the two new partitions to create filesystems of them.
> >Then restore(8) the parts of the old one you want on to the two
> >new ones.
> >
> >I wonder if it is worthwhile though.  
> >Just make two main directories and divide the stuff and don't
> >worry if they are both in the same partition.
> >
> 
> I am not worried about the data, I want to split /tmp filesystem so I can 
> mount it as /tmp and /var/tmp seperately.
> 
> Because I want to enable noexec on these and unreachable from each other, 
> it is necessary.

> 
> The problem was that I use open_basedir with php and session files are in 
> /var/tmp while open_basedir allows /tmp only and programs(like joomla) get 
> confused and say that they cant write to the session directory. But they 
> actually can because session files are created automatically by php, they 
> are
> just not able to set directory manually. (which is weird thing of php)

Well, this wouldn't make them unreachable from each other, but;
You could make a symlink from /var/tmp to tmp.   Then things could
read and write it with either directory name.
  cd /var
  mv tmp othertmp
  ln -s /tmp tmp

voila ---

jerry

> 
> Programs like joomla and oscommerce etc. work just fine but for example 
> joomla installer complains and my customers tell me that 'joomla says your 
> server is bad' :p
> 
> But now I think about it again if I put the open_basedir to /var/tmp which 
> gets preset in programs most used by my customers then I should set session 
> save path to /tmp and same problem would occur.
> 
> Anyhow :) it was a stupid idea... sorry to bother you all with it :)
> 
> Thanks,
> Evren
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to handle forthcoming PR originator e-mail address

2007-03-29 Thread Giorgos Keramidas
On 2007-03-29 23:40, Dmitry Pryanishnikov <[EMAIL PROTECTED]> wrote:
>On Thu, 29 Mar 2007, Giorgos Keramidas wrote:
>>> I'm an originator of 4 open PRs and 9 closed ones. My e-mail address
>>> will change soon. How should I handle the change to stay reachable
>>> for people working on PRs? Sorry to bother the list with
>>> (seems-to-be) a trivial question, I can't find reply in PR-related
>>> articles.
>>
>> Point me to the PRs and I will use pr-edit to fix the email address.
>
>   Thank you, Gabor Kovesdan has already done it.

Nice.

>> This can also be done by any FreeBSD committer with ssh access to the
>> FreeBSD cluster.
>
> I just thought that some kind of automatic tool should exist to
> accomplish originator's e-mail change. After all, people _do_ change
> their e-mails sometimes...

Not really.  Gnats is very flexible in this; it allows manual editing of
the bug report itself.  This is also one of its relatively annoying
'flaws' though.  Care must be taken when bug reports are manually
modified by a committer, and there are not very many tools to automake
stuff like what you wanted to do.

Anyway, I'm glad this has been resolved now :)

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


ad0: TIMEOUT - Is my disk dying?

2007-03-29 Thread Christian Walther

Hi,

I'm seeing a lot of the following messages lately:

Mar 29 21:02:01 pixie kernel: ad0: TIMEOUT - READ_DMA retrying (1
retry left) LBA=13554983
Mar 29 21:02:34 pixie kernel: ad0: TIMEOUT - READ_DMA retrying (1
retry left) LBA=35376691
Mar 29 21:04:42 pixie kernel: ad0: TIMEOUT - READ_DMA retrying (1
retry left) LBA=13574483
Mar 29 21:12:25 pixie kernel: ad0: TIMEOUT - WRITE_DMA retrying (1
retry left) LBA=2665375
Mar 29 21:12:56 pixie kernel: ad0: TIMEOUT - WRITE_DMA retrying (1
retry left) LBA=38935999
Mar 29 21:14:53 pixie kernel: ad0: TIMEOUT - READ_DMA retrying (1
retry left) LBA=2170339
Mar 29 21:15:36 pixie kernel: ad0: TIMEOUT - READ_DMA retrying (1
retry left) LBA=51982907
Mar 29 21:23:45 pixie kernel: ad0: TIMEOUT - WRITE_DMA retrying (1
retry left) LBA=415
Mar 29 21:24:57 pixie kernel: ad0: TIMEOUT - WRITE_DMA retrying (1
retry left) LBA=41387775
Mar 29 21:25:27 pixie kernel: ad0: TIMEOUT - READ_DMA retrying (1
retry left) LBA=38754719
Mar 29 21:26:02 pixie kernel: ad0: TIMEOUT - WRITE_DMA retrying (1
retry left) LBA=53056287
Mar 29 21:29:03 pixie kernel: ad0: TIMEOUT - WRITE_DMA retrying (1
retry left) LBA=34612991
Mar 29 21:38:25 pixie kernel: ad0: TIMEOUT - READ_DMA retrying (1
retry left) LBA=8346079
Mar 29 21:52:59 pixie kernel: ad0: TIMEOUT - READ_DMA retrying (1
retry left) LBA=4663

This is a IBM Thinkpad T23 with the original disk installed.
$ uname -a
FreeBSD pixie 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #0: Sat Mar 24
02:43:20 CET 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

I've searched the net to gather some evidence wet wether this is a
sign of a dying hard disk, but I'm still not sure. Some postings state
that this kind of message isn't that bad as long as there are retries
left and suggest a configuration error.
Well, the Laptop had it's own kernel configuration until recently (I
forgot to save some configuration files before I installed DesktopBSD)
so I kind tell wether the appearance of these messages relates to the
new installation in any way.

Is it possible that this is a configuration issue, or should I get a
replacement for the disk?

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


Re: About file systems and formats

2007-03-29 Thread Ivan Voras
Andrew Falanga wrote:
> Yesterday while working on a problem at work, a colleague and I were
> talking
> about the various file systems and something that I have always wondered on
> is what are the various file systems doing when a format is being done. 
> For
> example, at home, my PC has 2 80gb drives.  One for Windows and the other
> for FreeBSD.  It took Windows nearly an hour (give or take) to format the
> 80gb drive.  On the other hand, it took FreeBSD little more than 3 - 5
> minutes to format its 80gb drive.

This is too slow for the FreeBSD case. By default, Windows will do a
full format - in effect, will write zeroes all over the drive, with the
intent of checking if the drive is capable of it. Unix format (newfs)
will only initialize file system structures - in effect, will write out
(initially empty) file tables to the drive. This takes about 5-10
seconds on 250 GB drives, so 3-5 minutes you got is way too much.
There's no way of making newfs to the "checking" phase; there are
separate utilities for that.

> my colleague and I because there such a speed difference in formatting
> things (once windows is installed) when choosing between a "Quick
> Format" or
> a "Full Format".

Yes, Quick format will just write the file tables (this is simplified,
but you'll get the picture) on Windows, too.



signature.asc
Description: OpenPGP digital signature


Re: About file systems and formats

2007-03-29 Thread Chuck Swiger

On Mar 29, 2007, at 1:25 PM, Andrew Falanga wrote:
Both drives are similar in capability.  They are both 7200 rpm  
drives, etc.

So what is so much different about NTFS from FFS?


All sorts of things.  :-)


Are the file systems
really that different that MS's system is simply dog slow, or is  
the format
for FreeBSD skipping some "integrity" checks on the surface of the  
drive or
whatever (this assumes that the MS install process is actually  
doing this).


The Windows format is probably doing a bad sector scan and testing  
each and every sector during the format.  The Unix newfs/mkfs doesn't  
perform bad-sector checking, but you can invoke things like the  
smartmon utilities to perform disk checking later on.


Please understand, I intend only to find the answer to the question  
with
this.  I'm looking for starting a "war" about who's file system  
rocks more
than the other.  The idea of an integrity check was just  
speculation between

my colleague and I because there such a speed difference in formatting
things (once windows is installed) when choosing between a "Quick  
Format" or

a "Full Format".


A "quick format" is the Windows equivalent of what newfs does, yes.

P.S. on a side note, but related to this, in what directories under  
the
system sources will I find the source code for the FFS used by  
FreeBSD, and

how are those modules structured?


See:

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/ufs/ufs/

...versus other filesystems found here:

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/fs/

--
-Chuck

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


Re: UPDATE: Server hanged on VFS lock problem

2007-03-29 Thread Kris Kennaway
On Thu, Mar 29, 2007 at 09:20:30PM +0200, Andrea Venturoli wrote:
> Andrea Venturoli wrote:
> 
> >Is there a way I can get these dumps automatically, without entering 
> >DDB, since this is an unattended server?
> 
> I still don't know if it's possible to get dump and get going... I don't 
> think so, actually...
> Anyway I found debug.vfs_badlock_ddb=0 should allow this unattended box 
> to continue working.
> Now I just wonder what would happen if it did...

FYI I tried to contact you off-list but you posted with an invalid
address so I didn't bother.

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


About file systems and formats

2007-03-29 Thread Andrew Falanga

Yesterday while working on a problem at work, a colleague and I were talking
about the various file systems and something that I have always wondered on
is what are the various file systems doing when a format is being done.  For
example, at home, my PC has 2 80gb drives.  One for Windows and the other
for FreeBSD.  It took Windows nearly an hour (give or take) to format the
80gb drive.  On the other hand, it took FreeBSD little more than 3 - 5
minutes to format its 80gb drive.

Both drives are similar in capability.  They are both 7200 rpm drives, etc.
So what is so much different about NTFS from FFS?  Are the file systems
really that different that MS's system is simply dog slow, or is the format
for FreeBSD skipping some "integrity" checks on the surface of the drive or
whatever (this assumes that the MS install process is actually doing this).
Please understand, I intend only to find the answer to the question with
this.  I'm looking for starting a "war" about who's file system rocks more
than the other.  The idea of an integrity check was just speculation between
my colleague and I because there such a speed difference in formatting
things (once windows is installed) when choosing between a "Quick Format" or
a "Full Format".

Can someone here offer some in depth information on this for me?  Thanks.

Andy

P.S. on a side note, but related to this, in what directories under the
system sources will I find the source code for the FFS used by FreeBSD, and
how are those modules structured?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD X11/GNOME/KDM issue

2007-03-29 Thread Kevin Kinsey

Joseph Marah wrote:
 


[Snip description of issue, basically KDM/GDM
conflicting config or similar.]
 
  To cut matters short, I have been locked out of 
my system.  how can I get back in?  Any help will 
be appreciated.  Thanks.
   


Hi, Joseph!

I "wrapped" the text of your last paragraph, because
you had only placed newlines at the end of each paragraph.
It's helpful to place a newline every 72 characters or so.

In short, I've not got an answer for KDM, but you should
be able to drop to the console with CTL-ALT-BKSP --- and,
if that doesn't work, you should be able to access a virtual
console with CTL-F1, CTL-F2, etc.  Edit the offending file
(rc.conf?, /etc/ttys?) and try "kill -HUP `pgrep Xorg`".

And, if you can't get a virtual console, you'll want
to reboot into single-user mode, I guess.

HTH,

Kevin Kinsey
--
1 + 1 = 3, for large values of 1.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: the art of pkgdb -F

2007-03-29 Thread Gerard Seibert
On Thu, 29 Mar 2007 16:41:06 -0400
Gerard Seibert <[EMAIL PROTECTED]> wrote:

> On the other hand, I have never had a problem using 'portmanager'
> provided I used the '-p -f' flags.

OPPS, should have been '-p -u' flags.

-- 
Gerard


signature.asc
Description: PGP signature


Re: samba and vista computers

2007-03-29 Thread Bill Campbell
On Thu, Mar 29, 2007, Gerald Freymann wrote:
>On Thu, 29 Mar 2007 15:14:38 -0400
>Gerard Seibert <[EMAIL PROTECTED]> wrote:
>
>>I heard that Vista home was not designed for networking. You might be
>>better served by checking out an MS News forum regarding this problem. I
>>have often gotten better results regarding the use of MS products with
>>non-MS products from there.
>
> Oh no, Vista Home Premium is fine for basic home networks.
>
> After searching samba.org, I believe issues with Vista and Vista printer
>sharing are 'improved upon' in later releases, especially samba-3.0.25
>(and we are at 3.0.23).
>
> Since I can see the shares on the Xp box just fine, but can't see
>anything on the Vista box, I think I'll likely end up waiting for a newer
>release of Samba and trying again then.

It sounds like a variation on an old Microsoft saying ``the jobs
not done while Lotus(Samba) still runs''.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software, LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

Democracy must be sometihng more than two wolves and a sheep voting on what
to have for dinner -- James Bovard
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: the art of pkgdb -F

2007-03-29 Thread Gerard Seibert
On Thu, 29 Mar 2007 20:40:05 +0100
RW <[EMAIL PROTECTED]> wrote:

> Portmanager is really no better, the dependencies recorded in the
> package database are also recursive. The big problem with gettext
> was that a lot of port failed to build afterwards, leaving them with a
> missing library.

I have had problems in the past getting 'portupgrade' to properly
update all of the dependencies required when doing a major update;
i.e., 'gettext'. 

On the other hand, I have never had a problem using 'portmanager'
provided I used the '-p -f' flags.

Portmanager can update its list of ports that need updating on the fly.
I do not believe that either portupdate or portmaster have that ability.
I noticed that when doing the 'gettext' update, it twice recalculated
the number of ports that needed to have their dependencies updated.

It would probably behoove anyone prior to doing a massive update to
clean out the '/usr/ports/distfiles' directory and possibly running
'portsclean -C -D -l -PP' to insure that any old crud was not laying
around. It certainly couldn't hurt.

Just my 2 cents.



-- 
Gerard

Be careful how you get yourself involved with persons or
situations that can't bear inspection.


signature.asc
Description: PGP signature


Re: How to handle forthcoming PR originator e-mail address

2007-03-29 Thread Dmitry Pryanishnikov


Hello!

On Thu, 29 Mar 2007, Giorgos Keramidas wrote:

I'm an originator of 4 open PRs and 9 closed ones. My e-mail address
will change soon. How should I handle the change to stay reachable for
people working on PRs? Sorry to bother the list with (seems-to-be) a
trivial question, I can't find reply in PR-related articles.


Point me to the PRs and I will use pr-edit to fix the email address.


  Thank you, Gabor Kovesdan has already done it.


This can also be done by any FreeBSD committer with ssh access to the
FreeBSD cluster.


  I just thought that some kind of automatic tool should exist to accomplish
originator's e-mail change. After all, people _do_ change their e-mails
sometimes...


- Giorgos


Sincerely, Dmitry
--
Atlantis ISP, System Administrator
e-mail:  [EMAIL PROTECTED]
nic-hdl: LYNX-RIPE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ping

2007-03-29 Thread Michael Grant

I solved the ping problem.  I removed the 'keep state' from the
outgoing icmp rule and now pings work.  Thanks.

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


Re: How to retrieve installed version ?

2007-03-29 Thread Andy Greenwood

On 3/29/07, Bruno Costacurta <[EMAIL PROTECTED]> wrote:

Hello,
how to retrieve installed FreeBSD version ?


$ uname

see man uname for details.



Thanks.
-Bruno

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




--
--
I'm nerdy in the extreme and whiter than sour cream
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD X11/GNOME/KDM issue

2007-03-29 Thread Joseph Marah
I am new to FreeBSD and been out of touch with UNIX for a while.  I just bought 
a new system i386 (Intel 3.0 Ghz CPU, 2.0G mem, 500G disk space etc).  I think 
I successfully downloaded the install files and burnt my cds. I think I 
installed the system OK.  I think I installed X11 from ports. I then installed 
GNOME from ports( Maaan it took so long).
   
  I entered into /etc/rc.conf  gdm_enable = "YES" ...  shut down and 
loggen in through GDM successfully.
  Played with it for a while.  All utilities showed up fine.  I browsed the 
Internet too.
   
  Then I decided to try KDE and installed it from ports (took lng).  After 
install I looged in through GDM.  I saw everything KDE brought with it using 
GNOME interface and read the KDE mannual a bit.  Then I used the user 
administration tab and added myself as a user in addition to root.
   
  I also changed kde_enable = "YES" in /etc/rc.conf in place of  gdm_enable = 
"YES" hoping to be able to log back in using KDM.  I shutdown and restarted.  I 
got the KDM logon interface but the introduction showed my username I last 
added, as my default login.  I entered root as user but a message came saying 
"root logons are not allowed."  I tried logging in as myself and entered my 
correct password but I was sent to a window which read : Could not start 
kstartupconfig. Check your installation. I clicked OKAY.  This took me back to 
the KDM logon manager.  
   
  To cut matters short, I have been locked out of my system.  how can I get 
back in?  Any help will be appreciated.  Thanks.
   


Regards

Joseph Marah
**
"IF YOU THINK YOU HAVE EVERYTHING UNDER CONTROL YOU ARE NOT GOING FAST ENOUGH" 
- Mario Andretti, race car driver.
**
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to retrieve installed version ?

2007-03-29 Thread Amitabh Kant

Try "uname -a"

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


Re: ping

2007-03-29 Thread Michael Grant

On 3/29/07, Steve Bertrand <[EMAIL PROTECTED]> wrote:

Michael Grant wrote:
> I'm fairly sure the problem is not in ipf, something I've been running
> for years on other machines.  If run ipmon, it shows me what's being
> blocked and by which rule.  Pings are not being blocked by ipf.
>
> The relevent ipf rules are:
>
> block in log on em0 all head 100
> pass in quick proto icmp from any to any keep frags group 100
> block outon em0 all head 200
> pass out quick proto icmp all keep state keep frags group 200
>
> ipfw, which I didn't really intend on using but it seems to be enabled
> anyway, I have this:
>
> 1 allow icmp from any to any icmptypes 8 out
> 10100 allow icmp from any to any icmptypes 0 in
> 10200 allow icmp from any to any icmptypes 11 in
> 65535 allow ip from any to any
>
> Is there an equivalent of ipmon for ipfw?

# ipfw show

Also, during your tcpdump, did you see the icmp replies going back out,
or just coming in?


I saw the pings arriving but no response.


Steve



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


Re: samba and vista computers

2007-03-29 Thread youshi10




On Thu, 29 Mar 2007, Gerald Freymann wrote:


On Thu, 29 Mar 2007 15:14:38 -0400
Gerard Seibert <[EMAIL PROTECTED]> wrote:


I heard that Vista home was not designed for networking. You might be
better served by checking out an MS News forum regarding this problem. I
have often gotten better results regarding the use of MS products with
non-MS products from there.


Oh no, Vista Home Premium is fine for basic home networks.

After searching samba.org, I believe issues with Vista and Vista printer
sharing are 'improved upon' in later releases, especially samba-3.0.25
(and we are at 3.0.23).


You should update your ports tree. The latest version available is 3.0.24, and 
it's recommended because there was a format string error of some kind in 
<=3.0.23d.

-Garrett

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


Re: How to retrieve installed version ?

2007-03-29 Thread Derek Ragona

uname -a

-Derek


At 02:39 PM 3/29/2007, Bruno Costacurta wrote:

Hello,
how to retrieve installed FreeBSD version ?

Thanks.
-Bruno

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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: How to retrieve installed version ?

2007-03-29 Thread Peter A. Giessel
On 2007/03/29 11:39, Bruno Costacurta seems to have typed:
> Hello,
> how to retrieve installed FreeBSD version ?

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


How to retrieve installed version ?

2007-03-29 Thread Bruno Costacurta
Hello,
how to retrieve installed FreeBSD version ?

Thanks.
-Bruno

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


Re: the art of pkgdb -F

2007-03-29 Thread RW
On Thu, 29 Mar 2007 12:15:53 -0400
Gerard Seibert <[EMAIL PROTECTED]> wrote:

> On Wed, 28 Mar 2007 20:36:59 -0400
> "Michael P. Soulier" <[EMAIL PROTECTED]> wrote:
> 
> > On 28/03/07 RW said:
> > 
> > > The gettext upgrade is actually a good example of what portupgrade
> > > offers. With portupgrade the -rf option is advisable, but not
> > > essential, with portmaster, it's essential that the -r option is
> > > used, If it's not, or the upgrade fails to complete, you can
> > > end-up with not much more than the base-system working.  
> > 
> > Wow. You would think that such tools would prevent you from getting
> > into that situation.
> 
> That is the beauty of portmanager. Just using the -p flag will
> guarantee that all dependencies are updated, no matter how far down
> the dependency's tree. Using the -u -p combination will get everything
> working correctly, although in the case of the 'gettext' update, it
> can involve a large number of applications being updated.
>
Portmanager is really no better, the dependencies recorded in the
package database are also recursive. The big problem with gettext
was that a lot of port failed to build afterwards, leaving them with a
missing library.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: GTK filedialog crashes Firefox/Thunderbird

2007-03-29 Thread John Nielsen

Quoting cpghost <[EMAIL PROTECTED]>:


On Fri, Mar 23, 2007 at 01:44:09PM -0400, John Nielsen wrote:

On Friday 23 March 2007 11:02:46 am Frank Staals wrote:
> It seems that I'm having problems (again) with the GTK filedialog in
> Firefox/Thunderbird. It happens when saving or opening a file in Firefox
> or thunderbird resulting in a crash. What to do:
>
> - Open Firefox
> - Save a file, the save-file dialog comes up, Save or cancel it.
> - Save a file, when the file dialog comes up, file dialog hangs and
> after a second or something firefox crashes

I'm seeing the same behavior. I searched around on the web a while 
ago and saw
a report (on a firefox bug issue or mailinglist I think) from 
another FreeBSD
user about this. He later followed up to his own post saying that 
the problem

went away after he recompiled ALL of his ports. The thing that was
interesting is that he only saw the bad behavior under xfce (what WM are you
using, btw?).  I'm running xfce 4.4.0 and have the problem, but I haven't
gotten around to recompiling everything yet. I may or may not wait for the
modularXorg stuff to be committed before I do so...


I'm experiencing a similar problem with the GTK file save box. Under
fluxbox, the save box starts to grow and shrink horizontally by approx
40% of its size twice per second or so. The only way out of this is to
kill and restart Firefox. I don't know if other GTK-based programs are
affected though. Another data point: I'm too in the midst of the giant
gettext upgrade tango, so this could be temporary, until everything is
finally upgraded.


I just want to report that I'm no longer having a problem after a 
complete system refresh. I upgraded to -CURRENT (mostly for better 
gjournal support, not because of anything in this thread), uninstalled 
all my ports, deleted the /var/db/ports directory, removed /usr/X11R6 
entirely, set $X11BASE to /usr/local in /etc/make.conf, removed 
everything but a few config files in /usr/local, and installed 
everything again.


Between the firefox issue I was seeing, the gettext upgrade, and 
upgrading to -CURRENT I definitely needed to reinstall everything 
anyway. I decided to go ahead and make the X11BASE change so my life 
will be easier when the default gets changed. (I'm already running the 
experimental modularXorg ports tree.)


JN

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


Re: samba and vista computers

2007-03-29 Thread Gerald Freymann
On Thu, 29 Mar 2007 15:14:38 -0400
Gerard Seibert <[EMAIL PROTECTED]> wrote:

>I heard that Vista home was not designed for networking. You might be
>better served by checking out an MS News forum regarding this problem. I
>have often gotten better results regarding the use of MS products with
>non-MS products from there.

 Oh no, Vista Home Premium is fine for basic home networks.

 After searching samba.org, I believe issues with Vista and Vista printer
sharing are 'improved upon' in later releases, especially samba-3.0.25
(and we are at 3.0.23).

 Since I can see the shares on the Xp box just fine, but can't see
anything on the Vista box, I think I'll likely end up waiting for a newer
release of Samba and trying again then.

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


UPDATE: Server hanged on VFS lock problem

2007-03-29 Thread Andrea Venturoli

Andrea Venturoli wrote:

Is there a way I can get these dumps automatically, without entering 
DDB, since this is an unattended server?


I still don't know if it's possible to get dump and get going... I don't 
think so, actually...
Anyway I found debug.vfs_badlock_ddb=0 should allow this unattended box 
to continue working.

Now I just wonder what would happen if it did...


Futhermore, I got another dump like this and in both case I got to the 
conclusion that the userland situation is that cyrus-imapd is receiving 
a message which it has to forward to another host. This is probably 
irrelevant, but isn't it quite strange that on a busy 
mailserver/fileserver/a-lot-of-other things, both dumps come from 
exactly the same cronjob (logcheck, btw) sending a mail to the same address.




This is bt (which I forgot in the original message):


(kgdb) bt
#0  doadump () at pcpu.h:172
#1  0x80245a29 in boot (howto=260) at 
/usr/src/sys/kern/kern_shutdown.c:409
#2  0x802454bb in panic (fmt=0x803c5a09 "from debugger")
at /usr/src/sys/kern/kern_shutdown.c:565
#3  0x8017bb12 in db_panic (addr=0, have_addr=0, count=0, modif=0x0)
at /usr/src/sys/ddb/db_command.c:438
#4  0x8017c055 in db_command_loop () at 
/usr/src/sys/ddb/db_command.c:350
#5  0x8017df4d in db_trap (type=-1471015248, code=0)
at /usr/src/sys/ddb/db_main.c:222
#6  0x80262089 in kdb_trap (type=3, code=0, tf=0xa85217b0)
at /usr/src/sys/kern/subr_kdb.c:473
#7  0x80384c84 in trap (frame=
  {tf_rdi = 0, tf_rsi = -2139025408, tf_rdx = 1, tf_rcx = 1123776, tf_r8 = 
1048064, tf_r9 = 10, tf_rax = 27, tf_rbx = -1099401716568, tf_rbp = 
-1471014800, tf_r10 = -1471015040, tf_r11 = 4294967255, tf_r12 = -2143248681, 
tf_r13 = 0, tf_r14 = 0, tf_r15 = -1471014064, tf_trapno = 3, tf_addr = 0, 
tf_flags = -1099401716568, tf_err = 0, tf_rip = -2144986273, tf_cs = 8, 
tf_rflags = 642, tf_rsp = -1471014800, tf_ss = 16})
at /usr/src/sys/amd64/amd64/trap.c:442
#8  0x803709db in calltrap () at 
/usr/src/sys/amd64/amd64/exception.S:168
#9  0x80261b5f in kdb_enter (msg=0x0) at cpufunc.h:63
#10 0x802adb4d in assert_vop_elocked (vp=0xff00068d1ca8,
str=0x80409ed7 "VOP_WRITE") at /usr/src/sys/kern/vfs_subr.c:3436
#11 0x803b3eae in VOP_WRITE_APV (vop=0x0, a=0xa8521a10)
at vnode_if.c:709
#12 0x802b935c in vn_write (fp=0xff00130ecca8, 
uio=0xa8521b50,
active_cred=0x1, flags=0, td=0xff0023565000) at vnode_if.h:372
#13 0x80271b37 in dofilewrite (td=0xff0023565000, fd=22,
fp=0xff00130ecca8, auio=0xa8521b50, offset=1048064, flags=0)
at file.h:252
#14 0x80271e01 in kern_writev (td=0xff0023565000, fd=22,
auio=0xa8521b50) at /usr/src/sys/kern/sys_generic.c:402
#15 0x80271efa in write (td=0x0, uap=0x80811000)
at /usr/src/sys/kern/sys_generic.c:326
#16 0x803854a1 in syscall (frame=
  {tf_rdi = 22, tf_rsi = 34429279984, tf_rdx = 1208, tf_rcx = 6557696, 
tf_r8 = -2143273848, tf_r9 = 140737488336808, tf_rax = 4, tf_rbx = 1208, tf_rbp 
= 34429279984, tf_r10 = 1, tf_r11 = 642, tf_r12 = 0, tf_r13 = 22, tf_r14 = 312, 
tf_r15 = 0, tf_trapno = 12, tf_addr = 6652216, tf_flags = 34384627961, tf_err = 
2, tf_rip = 34384825260, tf_cs = 43, tf_rflags = 518, tf_rsp = 140737488336808, 
tf_ss = 35})
at /usr/src/sys/amd64/amd64/trap.c:792
#17 0x80370b78 in Xfast_syscall ()
at /usr/src/sys/amd64/amd64/exception.S:270
#18 0x0008017ecbac in ?? ()





I'd still appreciate if someone with more insight than me could comment 
this.


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


Re: splitting a filesystem

2007-03-29 Thread Evren Yurtesen

Jerry McAllister wrote:


On Thu, Mar 29, 2007 at 06:55:07PM +0300, Evren Yurtesen wrote:



Hi,

Is it possible to split an existing filesystem into smaller ones(1to2).



Well, sort of.
You can back everything up with dump(8)
Then delete the partition and make two in its place.
Then newfs the two new partitions to create filesystems of them.
Then restore(8) the parts of the old one you want on to the two
new ones.

I wonder if it is worthwhile though.  
Just make two main directories and divide the stuff and don't

worry if they are both in the same partition.



I am not worried about the data, I want to split /tmp filesystem so I can mount 
it as /tmp and /var/tmp seperately.


Because I want to enable noexec on these and unreachable from each other, it is 
necessary.


The problem was that I use open_basedir with php and session files are in 
/var/tmp while open_basedir allows /tmp only and programs(like joomla) get 
confused and say that they cant write to the session directory. But they 
actually can because session files are created automatically by php, they are

just not able to set directory manually. (which is weird thing of php)

Programs like joomla and oscommerce etc. work just fine but for example joomla 
installer complains and my customers tell me that 'joomla says your server is 
bad' :p


But now I think about it again if I put the open_basedir to /var/tmp which gets 
preset in programs most used by my customers then I should set session save path 
to /tmp and same problem would occur.


Anyhow :) it was a stupid idea... sorry to bother you all with it :)

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


Re: samba and vista computers

2007-03-29 Thread Gerry Freymann
On Thu, 29 Mar 2007 14:36:56 -0400
Gerard Seibert <[EMAIL PROTECTED]> wrote:

>On Thu, 29 Mar 2007 13:30:40 -0400
>Gerald Freymann <[EMAIL PROTECTED]> wrote:
>
>> Now that I have my nice new HP OfficeJet 5610 printer here, I'm
>> trying to print to it remotely (it's connected to my Vista Home
>> Premium computer).
>> 
>> smbclient doesn't seen to want to co-operate.
>> 
>> smbclient in free(): error: junk pointer, too high to make sense
>> Abort trap: 6 (core dumped)
>> 
>> I've got
>> 
>> samba-3.0.23c_2,1
>> samba-libsmbclient-3.0.23c
>> 
>> installed. Trying to use CUPS and APSFILTER. Not having any luck :-(
>
>Check the output of 'smbclient'. Make sure that samba can see your
>shared printer. See 'man smbclient' for further information.
>
>I am really surprised that apsfilter does not work. I have never had a
>problem with it printing to a remote printer on a Windows based machine.

 Yes, I've always had good luck with this configuration too.

 I believe the problem is Vista (Home Premium). 

 I can list the resources on my old P3 XP machine just fine with

smbclient -L 192.168.0.104

 (it asks for a password, which I enter).

 When I try to list the shares on the Vista box:

===[root] /usr/local/share/apsfilter > smbclient -L 192.168.0.20
Password:
smbclient in free(): error: junk pointer, too high to make sense
Abort trap: 6 (core dumped)

 and then I'm stuck :-(

 I had to hack the registry in the Vista machine in order for it to see
and use a share on my FreeBSD hard drive, and that works fine. But since
moving from XP to Vista, I can't seem to see or use any shares on the
Vista box from FreeBSD (and I have 6.2R now and the versions of samba
are noted above).

 I'm starting to look around samba.org but nothing is popping up just yet.

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


Re: ports and freebsd 4.11

2007-03-29 Thread Kris Kennaway
On Thu, Mar 29, 2007 at 11:47:12AM -0300, D G Teed wrote:
> Question: I read this in /usr/ports/UPDATE:
> 
> 20070205:
>  AFFECTS: all users of FreeBSD 4.X
>  AUTHOR: [EMAIL PROTECTED]
> 
>  The remnants of FreeBSD 4.X support have been removed from bsd.port.mk.
>  Any remaining users should _not_ get this or any subsequent updates.
> 
> Then I found this announcement:
> 
> http://www.freebsd.org/portmgr/policies_releng_4.html
> 
> What does that boil down to in end user English?
> I can't build things in ports if I'm running 4.11, or that
> I should never try to update packages from ports in 4.11?

The former.

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


Re: ping

2007-03-29 Thread Steve Bertrand
Michael Grant wrote:
> I'm fairly sure the problem is not in ipf, something I've been running
> for years on other machines.  If run ipmon, it shows me what's being
> blocked and by which rule.  Pings are not being blocked by ipf.
> 
> The relevent ipf rules are:
> 
> block in log on em0 all head 100
> pass in quick proto icmp from any to any keep frags group 100
> block outon em0 all head 200
> pass out quick proto icmp all keep state keep frags group 200
> 
> ipfw, which I didn't really intend on using but it seems to be enabled
> anyway, I have this:
> 
> 1 allow icmp from any to any icmptypes 8 out
> 10100 allow icmp from any to any icmptypes 0 in
> 10200 allow icmp from any to any icmptypes 11 in
> 65535 allow ip from any to any
> 
> Is there an equivalent of ipmon for ipfw?

# ipfw show

Also, during your tcpdump, did you see the icmp replies going back out,
or just coming in?

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


Re: samba and vista computers

2007-03-29 Thread Gerard Seibert
On Thu, 29 Mar 2007 13:30:40 -0400
Gerald Freymann <[EMAIL PROTECTED]> wrote:

> Now that I have my nice new HP OfficeJet 5610 printer here, I'm
> trying to print to it remotely (it's connected to my Vista Home
> Premium computer).
> 
> smbclient doesn't seen to want to co-operate.
> 
> smbclient in free(): error: junk pointer, too high to make sense
> Abort trap: 6 (core dumped)
> 
> I've got
> 
> samba-3.0.23c_2,1
> samba-libsmbclient-3.0.23c
> 
> installed. Trying to use CUPS and APSFILTER. Not having any luck :-(

Check the output of 'smbclient'. Make sure that samba can see your
shared printer. See 'man smbclient' for further information.

I am really surprised that apsfilter does not work. I have never had a
problem with it printing to a remote printer on a Windows based machine.


-- 
Gerard

I used to be an agnostic, but now I'm not so sure.


signature.asc
Description: PGP signature


Re: ping

2007-03-29 Thread Bill Moran
In response to "Michael Grant" <[EMAIL PROTECTED]>:
> 
> Is there
> On 3/29/07, Bill Moran <[EMAIL PROTECTED]> wrote:
> > In response to "Michael Grant" <[EMAIL PROTECTED]>:
> >
> > > A while ago I installed 6.1 on a box.  I noticed that I cannot ping
> > > this box even though I can log into it.  The pings are arriving at the
> > > box because I can see them with tcp dump.  They're not being blocked
> > > by ipf because nothing shows up in ipmon.  I added rules specifically
> > > to allow icmp in ipfw, even though ipfw was wide open allowing
> > > everything in and out.  My box still does not respond to pings.  Is
> > > there something I need to do to manually enable pings on freebsd 6?
> >
> > There is nothing special that needs done for FreeBSD 6 to respond to
> > pings.
> >
> > Are you using IPFW or ipfilter?  You seem to indicate that you're using
> > both, which would not be the best of ideas.  Post your firewall rules
> > so list members can have a look.  Are you sure the machine that is sending
> > pings is not firewalling off the ICMP responses?

Please don't top-post.

> I'm fairly sure the problem is not in ipf, something I've been running
> for years on other machines.  If run ipmon, it shows me what's being
> blocked and by which rule.  Pings are not being blocked by ipf.
> 
> The relevent ipf rules are:
> 
> block in log on em0 all head 100
> pass in quick proto icmp from any to any keep frags group 100
> block outon em0 all head 200
> pass out quick proto icmp all keep state keep frags group 200

Did you reduce your ruleset to just this and verify that the problem still
exists?  If not, please post the rules that are in effect at the time the
problem occurred.  

Partial rulesets are about as useful to problem diagnosis as a magic 8
ball.

> ipfw, which I didn't really intend on using but it seems to be enabled
> anyway, I have this:

Disable IPFW and see if the problem stops.  I'm fairly certain ipf and
IPFW are not designed to work together.  Even if they are, it adds a
lot of complexity to the problem that doesn't need to be there.

> 
> 1 allow icmp from any to any icmptypes 8 out
> 10100 allow icmp from any to any icmptypes 0 in
> 10200 allow icmp from any to any icmptypes 11 in
> 65535 allow ip from any to any
> 
> Is there an equivalent of ipmon for ipfw?
> 
> Michael Grant

-- 
Bill Moran
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: ping

2007-03-29 Thread Michael Grant

I'm fairly sure the problem is not in ipf, something I've been running
for years on other machines.  If run ipmon, it shows me what's being
blocked and by which rule.  Pings are not being blocked by ipf.

The relevent ipf rules are:

block in log on em0 all head 100
pass in quick proto icmp from any to any keep frags group 100
block outon em0 all head 200
pass out quick proto icmp all keep state keep frags group 200

ipfw, which I didn't really intend on using but it seems to be enabled
anyway, I have this:

1 allow icmp from any to any icmptypes 8 out
10100 allow icmp from any to any icmptypes 0 in
10200 allow icmp from any to any icmptypes 11 in
65535 allow ip from any to any

Is there an equivalent of ipmon for ipfw?

Michael Grant

Is there
On 3/29/07, Bill Moran <[EMAIL PROTECTED]> wrote:

In response to "Michael Grant" <[EMAIL PROTECTED]>:

> A while ago I installed 6.1 on a box.  I noticed that I cannot ping
> this box even though I can log into it.  The pings are arriving at the
> box because I can see them with tcp dump.  They're not being blocked
> by ipf because nothing shows up in ipmon.  I added rules specifically
> to allow icmp in ipfw, even though ipfw was wide open allowing
> everything in and out.  My box still does not respond to pings.  Is
> there something I need to do to manually enable pings on freebsd 6?

There is nothing special that needs done for FreeBSD 6 to respond to
pings.

Are you using IPFW or ipfilter?  You seem to indicate that you're using
both, which would not be the best of ideas.  Post your firewall rules
so list members can have a look.  Are you sure the machine that is sending
pings is not firewalling off the ICMP responses?

--
Bill Moran
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]"


route-map and IPFW fwd

2007-03-29 Thread Steve Bertrand

Hi all,

I think this may be more of a natd question, but I'm not sure.

I'll keep this as short as possible, so if anyone thinks they can help,
just ask for more info if required.

I have a dial-up pool on one interface of a Cisco router, and a DNS
server on a subnet on another int. The DNS server is to be re-ip'd (we
got our own ARIN allocation and need to return our MCI assigned IP's),
so I need to route-map incoming packets from the dun users pointing to
the old DNS server IP, to the new one.

The route-map on the Cisco works. The fwd on the DNS server properly
fwd's the packets sent to the old address to itself on the new address.
The DNS server properly formulates it's response, and the client
receives said response.

The problem is that the DNS server is sending the result back using it's
new IP (which is proper), however, a FreeBSD client will drop the packet
as it states something to the effect "expecting packet from
old.ip.addr.ess, but received from new.ip.addr.ess". I don't know if
Windows will barf, but even if it doesn't, I need a proper solution
until we can manually have our users change the hard coded DNS server info.

Can I force the FreeBSD DNS server to rewrite the src address on the
reply packet to the client so it appears as though it's coming from the
old IP? I've fooled with natd, but just can't get the configuration right.

TIA,

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


Re: interpreting uptime output

2007-03-29 Thread Jerry McAllister
On Thu, Mar 29, 2007 at 08:00:33PM +0200, Laszlo Nagy wrote:

> From the manual:
> >NAME
> > uptime -- show how long system has been running
> >
> >SYNOPSIS
> > uptime
> >
> >DESCRIPTION
> > The uptime utility displays the current time, the length of time 
> >the sys-
> > tem has been up, the number of users, and the load average of the 
> >system
> > over the last 1, 5, and 15 minutes.
> This is great, except that it does not tell me what "0.5" means? Example:
> 
> 1:41PM  up 5 days,  2:22, 4 users, load averages: 0.36, 0.42, 0.51
> 
> The only referenced material in the man page is w(1) which tells this:
> 
> > The load average numbers give the number of jobs in the run queue 
> averaged over 1, 5 and 15 minutes.
> 
> What are those "jobs"? I guess they are not processes. What is that "run 
> queue"? Which is better, the lower or the higher number?

They are processes waiting to be run and/or currently running.
Most things pop in and out so quickly that they are hardly noticable.
But their bits of time add up.

jerry

> 
> Thanks,
> 
>   Laszlo
> 
> ___
> 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: interpreting uptime output

2007-03-29 Thread Chuck Swiger

On Mar 29, 2007, at 11:11 AM, Laszlo Nagy wrote:
A job is a runnable process.  The run queue is a list containing  
the processes which are runnable at a particular time.  Lower  
numbers indicate lower CPU load.  From "man getloadavg":


Hmm. Somebody could modify the man page of uptime and add a  
reference to getloadavg. Do you think this would be a good  
improvement?


Sure:

--- src/usr.bin/w/uptime.1_orig   Thu Mar 29 14:15:10 2007
+++ src/usr.bin/w/uptime.1Thu Mar 29 14:15:32 2007
@@ -53,6 +53,7 @@
system name list
.El
.Sh SEE ALSO
+.Xr getloadavg 3 ,
.Xr w 1
.Sh HISTORY
The

By the way, thank you for the information. Since I have two  
processors now I know that I do not need to worry below 2.0. :-)


You're welcome...

--
-Chuck

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


Re: SATA DVD-RW drive not recognised by FreeBSD

2007-03-29 Thread Josh Carroll

I have some trouble with my SATA-DVDRW. It's not recognised in the boot
process, although I think all kernel settings are correct. A SATA
harddisk works fine. Is there a general issue with SATA-dvd burners?


At least in 6.x and I assume 6-STABLE (unless support has been MFC'd),
SATA ATAPI devices are not yet supported:

/usr/src/sys/dev/ata/ata-chipset.c:device_printf(ch->dev,
"SATA ATAPI devices not supported yet\n");

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


Re: splitting a filesystem

2007-03-29 Thread Jerry McAllister
On Thu, Mar 29, 2007 at 06:55:07PM +0300, Evren Yurtesen wrote:

> Hi,
> 
> Is it possible to split an existing filesystem into smaller ones(1to2).

Well, sort of.
You can back everything up with dump(8)
Then delete the partition and make two in its place.
Then newfs the two new partitions to create filesystems of them.
Then restore(8) the parts of the old one you want on to the two
new ones.

I wonder if it is worthwhile though.  
Just make two main directories and divide the stuff and don't
worry if they are both in the same partition.

jerry

> 
> Thanks,
> Evren
> ___
> 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: interpreting uptime output

2007-03-29 Thread Laszlo Nagy




A job is a runnable process.  The run queue is a list containing the 
processes which are runnable at a particular time.  Lower numbers 
indicate lower CPU load.  From "man getloadavg":


Hmm. Somebody could modify the man page of uptime and add a reference to 
getloadavg. Do you think this would be a good improvement?


By the way, thank you for the information. Since I have two processors 
now I know that I do not need to worry below 2.0. :-)


 Laszlo

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


Re: interpreting uptime output

2007-03-29 Thread Chuck Swiger

On Mar 29, 2007, at 11:00 AM, Laszlo Nagy wrote:
[ ...about the "uptime" command... ]
This is great, except that it does not tell me what "0.5" means?  
Example:


1:41PM  up 5 days,  2:22, 4 users, load averages: 0.36, 0.42, 0.51

The only referenced material in the man page is w(1) which tells this:

> The load average numbers give the number of jobs in the run queue  
averaged over 1, 5 and 15 minutes.


What are those "jobs"? I guess they are not processes. What is that  
"run queue"? Which is better, the lower or the higher number?


A job is a runnable process.  The run queue is a list containing the  
processes which are runnable at a particular time.  Lower numbers  
indicate lower CPU load.  From "man getloadavg":



DESCRIPTION
 The getloadavg() function returns the number of processes in  
the system
 run queue averaged over various periods of time.  Up to nelem  
samples are
 retrieved and assigned to successive elements of loadavg[].   
The system
 imposes a maximum of 3 samples, representing averages over the  
last 1, 5,

 and 15 minutes, respectively.



--
-Chuck

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


Re: interpreting uptime output

2007-03-29 Thread Bill Moran
In response to Laszlo Nagy <[EMAIL PROTECTED]>:

>  From the manual:
> > NAME
> >  uptime -- show how long system has been running
> >
> > SYNOPSIS
> >  uptime
> >
> > DESCRIPTION
> >  The uptime utility displays the current time, the length of time 
> > the sys-
> >  tem has been up, the number of users, and the load average of the 
> > system
> >  over the last 1, 5, and 15 minutes.
> This is great, except that it does not tell me what "0.5" means? Example:
> 
>  1:41PM  up 5 days,  2:22, 4 users, load averages: 0.36, 0.42, 0.51
> 
> The only referenced material in the man page is w(1) which tells this:
> 
>  > The load average numbers give the number of jobs in the run queue 
> averaged over 1, 5 and 15 minutes.
> 
> What are those "jobs"? I guess they are not processes. What is that "run 
> queue"? Which is better, the lower or the higher number?

Higher is a busier system.

See: http://en.wikipedia.org/wiki/Load_average

-- 
Bill Moran
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: How to handle forthcoming PR originator e-mail address

2007-03-29 Thread Giorgos Keramidas
On 2007-03-29 15:45, Dmitry Pryanishnikov <[EMAIL PROTECTED]> wrote:
> 
> Hello!
> 
> I'm an originator of 4 open PRs and 9 closed ones. My e-mail address
> will change soon. How should I handle the change to stay reachable for
> people working on PRs? Sorry to bother the list with (seems-to-be) a
> trivial question, I can't find reply in PR-related articles.

Point me to the PRs and I will use pr-edit to fix the email address.

This can also be done by any FreeBSD committer with ssh access to the
FreeBSD cluster.

- Giorgos



pgpXCIi86875x.pgp
Description: PGP signature


interpreting uptime output

2007-03-29 Thread Laszlo Nagy

From the manual:

NAME
 uptime -- show how long system has been running

SYNOPSIS
 uptime

DESCRIPTION
 The uptime utility displays the current time, the length of time 
the sys-
 tem has been up, the number of users, and the load average of the 
system

 over the last 1, 5, and 15 minutes.

This is great, except that it does not tell me what "0.5" means? Example:

1:41PM  up 5 days,  2:22, 4 users, load averages: 0.36, 0.42, 0.51

The only referenced material in the man page is w(1) which tells this:

> The load average numbers give the number of jobs in the run queue 
averaged over 1, 5 and 15 minutes.


What are those "jobs"? I guess they are not processes. What is that "run 
queue"? Which is better, the lower or the higher number?


Thanks,

  Laszlo

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


Re: How to handle forthcoming PR originator e-mail address

2007-03-29 Thread Gabor Kovesdan

Dmitry Pryanishnikov schrieb:


Hello!

  I'm an originator of 4 open PRs and 9 closed ones. My e-mail address 
will change soon. How should I handle the change to stay reachable for 
people

working on PRs? Sorry to bother the list with (seems-to-be) a trivial
question, I can't find reply in PR-related articles.

Sincerely, Dmitry

Hello Dmitry,

if the new address works now, you can send it to us. I can modify the 
headers of those open PRs, so that you receive any further feedback on that.


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


Re: error

2007-03-29 Thread Javier Henderson


On Mar 29, 2007, at 12:37 PM, Frank wrote:


hi,
   i try to start apache's SSL connection, but it display an error is

Syntax error on line 108 of  /usr/local/etc/apache2/ssl.conf:
SSLCertificateFile: file '/usr/local/etc/apache2/ssl.crt/ 
server.crt' does not exist or is empty


It means that the file server.crt does not exist in /usr/local/etc/ 
apache2/ssl.crt


One way to create it is to run "make cert" from the applicable Apache  
port directory.


-jav


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


Re: LD_LIBRARY_PATH

2007-03-29 Thread Giorgos Keramidas
On 2007-03-28 17:23, Charles Farinella <[EMAIL PROTECTED]> wrote:
> New to FreeBSD.  How can I update my LD_LIBRARY_PATH?
>
> In Linux I modify my /etc/ld.so.conf file and run ldconfig.  Is there
> an equivalent here?  A pointer to docs would be fine.

The *important* question, of course, is why do you need to set
LD_LIBRARY_PATH?

You can do this either in your shell startup scripts, or in
/etc/login.conf (for all users), but please before you do,
read the post at:

http://groups.google.com/group/comp.unix.solaris/msg/a8f9eeda832e17d2?dmode=source

It's a post I recently made to comp.unix.solaris with a detailed comment
about LD_LIBRARY_PATH usage in Solaris, but similar things apply to
programs compiled and installed on FreeBSD too.

HTH,
Giorgos

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


Re: ping

2007-03-29 Thread Bill Moran
In response to "Michael Grant" <[EMAIL PROTECTED]>:

> A while ago I installed 6.1 on a box.  I noticed that I cannot ping
> this box even though I can log into it.  The pings are arriving at the
> box because I can see them with tcp dump.  They're not being blocked
> by ipf because nothing shows up in ipmon.  I added rules specifically
> to allow icmp in ipfw, even though ipfw was wide open allowing
> everything in and out.  My box still does not respond to pings.  Is
> there something I need to do to manually enable pings on freebsd 6?

There is nothing special that needs done for FreeBSD 6 to respond to
pings.

Are you using IPFW or ipfilter?  You seem to indicate that you're using
both, which would not be the best of ideas.  Post your firewall rules
so list members can have a look.  Are you sure the machine that is sending
pings is not firewalling off the ICMP responses?

-- 
Bill Moran
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]"


samba and vista computers

2007-03-29 Thread Gerald Freymann
Now that I have my nice new HP OfficeJet 5610 printer here, I'm trying to
print to it remotely (it's connected to my Vista Home Premium computer).

smbclient doesn't seen to want to co-operate.

smbclient in free(): error: junk pointer, too high to make sense
Abort trap: 6 (core dumped)

I've got

samba-3.0.23c_2,1
samba-libsmbclient-3.0.23c

installed. Trying to use CUPS and APSFILTER. Not having any luck :-(

Any suggestions?

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


ping

2007-03-29 Thread Michael Grant

A while ago I installed 6.1 on a box.  I noticed that I cannot ping
this box even though I can log into it.  The pings are arriving at the
box because I can see them with tcp dump.  They're not being blocked
by ipf because nothing shows up in ipmon.  I added rules specifically
to allow icmp in ipfw, even though ipfw was wide open allowing
everything in and out.  My box still does not respond to pings.  Is
there something I need to do to manually enable pings on freebsd 6?

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


Re: error

2007-03-29 Thread Peter A. Giessel
On 2007/03/29 8:37, Frank seems to have typed:
> hi,
>i try to start apache's SSL connection, but it display an error is
> 
> Syntax error on line 108 of  /usr/local/etc/apache2/ssl.conf:
> SSLCertificateFile: file '/usr/local/etc/apache2/ssl.crt/server.crt' does not 
> exist or is empty

Just guessing here, but are you missing?:
/usr/local/etc/apache2/ssl.crt/server.crt

If you need to create a self-signed certificate, you might check out
this link:
http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html#selfcert
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Anyone using Sunbird?

2007-03-29 Thread Robert Huff
Robert Huff writes:

>  > I've got a problem with Sunbird (Mozilla calender app) since the gettext
>  > upgrade.
>  >
>  > It core dumps at start
>
>   I just checked, and am getting the same.
>   Rebuilding the port to see if that changes anything 

Rebuild done, problem persists.
Backtrace of core dump:

#0  0x48cffce3 in kill () at kill.S:2

2   RSYSCALL(kill)
[New LWP 100170]
(gdb) bt
#0  0x48cffce3 in kill () at kill.S:2
#1  0x48cffc82 in __raise (s=6) at /usr/src/lib/libc/gen/raise.c:46
#2  0x48cfe9a2 in abort () at /usr/src/lib/libc/stdlib/abort.c:65
#3  0x48e44488 in libintl_recursive_lock_init (lock=0x48e46c1c)
at ../../gettext-runtime/intl/lock.c:264
#4  0x48e44508 in libintl_recursive_lock_lock (lock=0x48e46c1c)
at ../../gettext-runtime/intl/lock.c:280
#5  0x48e3ff28 in _nl_load_domain (domain_file=0x49c70580, domainbinding=0x0)
at ../../gettext-runtime/intl/loadmsgcat.c:798
#6  0x48e3f6f5 in _nl_find_domain (dirname=0x0, locale=0xbfbfe0a0 "en", 
domainname=0xbfbfe0c0 "LC_MESSAGES/gtk20.mo", domainbinding=0x49ca02c0)
at ../../gettext-runtime/intl/finddomain.c:172
#7  0x48e427f6 in libintl_dcigettext (domainname=0x4857b5cc "gtk20", 
msgid1=0x485fa107 "Show GTK+ Options", msgid2=0x0, plural=0, n=0, 
category=6) at ../../gettext-runtime/intl/dcigettext.c:733
#8  0x48e3f40b in libintl_dcgettext (domainname=0x0, msgid=0x0, category=0)
at ../../gettext-runtime/intl/dcgettext.c:49
#9  0x48e3f440 in libintl_dgettext (domainname=0x0, msgid=0x0)
at ../../gettext-runtime/intl/dgettext.c:52
#10 0x484189d5 in IA__gtk_get_option_group (open_default_display=0)
at gtkmain.c:748
#11 0x48418ba0 in IA__gtk_parse_args (argc=0x0, argv=0x0) at gtkmain.c:854
#12 0x48418c40 in IA__gtk_init_check (argc=0x0, argv=0x0) at gtkmain.c:892
#13 0x48418c83 in IA__gtk_init (argc=0x0, argv=0x0) at gtkmain.c:930
#14 0x480a1c02 in XRE_main () from /usr/local/lib/sunbird/libxul.so
#15 0x08048804 in ?? ()
#16 0x0001 in ?? ()
#17 0xbfbfe58c in ?? ()
#18 0x08049980 in __progname ()
#19 0x080487dc in ?? ()
#20 0x080499b0 in __progname ()
#21 0x0001 in ?? ()
#22 0xbfbfe584 in ?? ()
#23 0x08048639 in _init ()


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: Time changed back to old daylight savings

2007-03-29 Thread Don O'Neil
Well, the file did exist, and when I deleted it and reran ntpdate it didn't
make a difference. The man page says that the file needs to exist if the
CMOS clock is set to local time, which it is. 

I tried running adjkerntz -a and -i and rebooting, but that didn't help
either. I'm totally at a loss as to what is going on here.

-Original Message-
From: Alex Zbyslaw [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 29, 2007 3:02 AM
To: Don O'Neil
Subject: Re: Time changed back to old daylight savings

Don O'Neil wrote:

>Ok... Well, I rebooted the server, and still it's an hour behind:
>
Don, I haven't followed this thread closely, so if this was suggested
before, apologies.  If it works, then  you can post back to the list.  
It's "off the wall" and may have nothing to do with your problem.

Is it possible that you have either created or deleted /etc/wall_cmos_clock?
That would account for a 1 hr difference even if all your timezone files
were correct.  See man adjkerntz.

I believe you need to reboot if you create/delete that file - there may be
some other way but I don't know it.

--Alex




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


error

2007-03-29 Thread Frank
hi,
   i try to start apache's SSL connection, but it display an error is

Syntax error on line 108 of  /usr/local/etc/apache2/ssl.conf:
SSLCertificateFile: file '/usr/local/etc/apache2/ssl.crt/server.crt' does not 
exist or is empty

regards,

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


splitting a filesystem

2007-03-29 Thread Evren Yurtesen

Hi,

Is it possible to split an existing filesystem into smaller ones(1to2).

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


static route

2007-03-29 Thread bernadette

Hi everybody,

I have a question for you :

Is it possible to setup a static route while the "routes not in table
but not freed" (obtained doing netstat -rs) value is not to 0 ?

By the way what does mean "routes not in table but not freed" ? (If I
knew how to make one, I would have done this test myself of course)

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


Re: the art of pkgdb -F

2007-03-29 Thread Gerard Seibert
On Wed, 28 Mar 2007 20:36:59 -0400
"Michael P. Soulier" <[EMAIL PROTECTED]> wrote:

> On 28/03/07 RW said:
> 
> > The gettext upgrade is actually a good example of what portupgrade
> > offers. With portupgrade the -rf option is advisable, but not
> > essential, with portmaster, it's essential that the -r option is
> > used, If it's not, or the upgrade fails to complete, you can end-up
> > with not much more than the base-system working.  
> 
> Wow. You would think that such tools would prevent you from getting
> into that situation.

That is the beauty of portmanager. Just using the -p flag will guarantee
that all dependencies are updated, no matter how far down the
dependency's tree. Using the -u -p combination will get everything
working correctly, although in the case of the 'gettext' update, it can
involve a large number of applications being updated.


-- 
Gerard

This must be morning. I never could get the hang of mornings.


signature.asc
Description: PGP signature


Re: Is this a hard drive crash?

2007-03-29 Thread Ivan Voras

Janos Dohanics wrote:


I also ran the Seagate drive utility which found no problems with the
drive. When the same kind of crash happened again, I thought the problem
may be the IDE controller, I have replaced the motherboard.

Now it crashed again with the new motherboard - and I don't know what
should I do next: should I just replace an apparently good hard drive?


If you know the drive is good (e.g. by testing it in another machine), 
the first thing you should replace is the power supply. Weird drive 
behavior is often a sign of weak PSUs.



Also, if this is just a hard drive crash, shouldn't  the system keep
going?


So, you're saying that if a drive starts giving invalid or 
noninterpretable communications back to the IDE controller, causing the 
controller to wedge, which possibly brings down the PCI bus on which 
it's connecte, tied to the front side bus and the CPU, the OS should 
just continue? On what?




signature.asc
Description: OpenPGP digital signature


Is this a hard drive crash?

2007-03-29 Thread Janos Dohanics

I have a FreeBSD 6.2-STABLE system with 2 gmirrors. The gmirrors are
arranged as gm0 consisting of ad0 and ad2 and gm1 consisting of ad1 and
ad3. gm0 has the / partition.

This system has crashed a couple of times recently. I got messages like
these on the terminal:

ad0: SETFEATURES ENABLE RCACHE taskqueue timeout - completing request
directly
ad0: SETFEATURES ENABLE WCACHE taskqueue timeout - completing request
directly
ad0: SET_MULTI taskqueue timeout - completing request directly
ad0: FAILURE - WRITE_DMA timed out LBA=3956063
panic: initiate_write_inodeblock_ufs2: already started

Upon reboot, gm0 could not find it's component ad2, but I could rebuild
the RAID after forget/insert.

I also ran the Seagate drive utility which found no problems with the
drive. When the same kind of crash happened again, I thought the problem
may be the IDE controller, I have replaced the motherboard.

Now it crashed again with the new motherboard - and I don't know what
should I do next: should I just replace an apparently good hard drive?

Also, if this is just a hard drive crash, shouldn't  the system keep
going?


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


Re: HP OfficeJet OJ5610

2007-03-29 Thread Roland Smith
On Thu, Mar 29, 2007 at 01:46:31AM -0700, Andriy Babiy wrote:
> On March 28, 2007, [EMAIL PROTECTED] wrote:
> > Today I see Staples has a HP OfficeJet OJ5610 Colour 4-in-1 printer on
> > at a reasonable price. It's all I need. Since I am soon due to replace
> > both of my print cartridges in the Lexmark, I figure I could just as
> > easily buy the HP printer instead, but I thought I would run this model
> > by the list members to see if it's compatible with FreeBSD, likely
> > through CUPS?
> 
> Have you checked if it is supported in hplip?
> /usr/ports/print/hplip

Check out http://www.linux-foundation.org/en/OpenPrinting, especially
http://openprinting.org/show_printer.cgi?recnum=HP-OfficeJet_5610

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpJKAdC7XHK5.pgp
Description: PGP signature


Re: skype replacement

2007-03-29 Thread Boris Samorodov
On Wed, 28 Mar 2007 19:44:58 -0700 Andriy Babiy wrote:

> Since skype requires some i386 binary, it doesn't build on amd64.

Where did you manage to get the sources?
Why didn't you give a try to use the port (/usr/ports/net/skype)?
It works just fine at amd64 (COMPAT_IA32 and COMPAT_LINUX32
should be used for kernel configuration).

> Could you advise me on what is available as a replacement? What program do 
> you use to implement p2p voice connection on amd64 machine?
> Thank you in advance.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can't work out which disk we are booting from

2007-03-29 Thread Jerry McAllister
On Thu, Mar 29, 2007 at 11:01:07AM +0800, Toupar wrote:

> Hi,
> When i install freebsd ,a problem occurred:
> 
> Can't work out which disk we are booting from.
> Guessed BIOS device 0x not found by probes defaulting to disk0:
> 
> What should i do?

Boot the disk1 CD and select the fixit disk.
Then run dmesg and look through the output.
You are looking for a device whose name looks something
like either   ad0  or  da0 
The number [0] on the end indicates which drive device.
All of the disk drives on the machine should show up in dmesg.
If you are using a raid controller, the names might be 
something like mfid0 but still include the da0, da1, ... identifiers
for the drives used in the raid.   In that case you only want to
use the mfid[n] identifier and not the individual device names.

Is there a reason you need to know the DIOS device numeric identifier?
I have never had to use it for anything.

jerry

> Thanks.
> ___
> 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: fsck fails on 6T system

2007-03-29 Thread Peter A. Giessel
On 2007/03/28 19:47, Pieter de Goeje seems to have typed:
> On woensdag 28 maart 2007, Dan D Niles wrote:
>> I am trying to fsck a 6T filesystem on a server that crashed.  I'm
>> running FreeBSD 6.2-p3.
>>
>> # fsck -t ufs -y /dev/da0
>> fsck_ufs: cannot alloc 1993797728 bytes for inoinfo
> Could you run 'limits' here? I suspect 'datasize' is too low.

It might also help to turn your swap space on:
http://www.freebsd.org/cgi/man.cgi?query=swapon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can cvs-sup Safely Upgrade a 5.3 System to 6.2?

2007-03-29 Thread Jerry McAllister
On Wed, Mar 28, 2007 at 09:39:14PM -0500, Martin McCormick wrote:

> The system is on, but not in production so I would like to
> upgrade it before we use it.

It should work fine if you fully follow the instructions in the handbook.

But, since the system is not yet in production, you may prefer to
do a fresh scratch build of 6.2 rather than an upgrade to it.  It
is likely to leave few artifacts behind.  

If you do a scratch 6.2 install, then, since it has been a while since 6.2 
was released and a few patches have come out since then, you should still
do a 'csup' and bring both the system and the ports completely 
up to the moment.  (Note that in 6.2 csup replaces cvsup)

You can csup to the  RELENG_6_2  or even to  RELENG_6  

Here is the relevant portion of my supfile.

  #   Command to run
  #   csup -g -L 2 supfile_name
  #
  *default host=cvsup.FreeBSD.org
  *default base=/var/db
  *default prefix=/usr
  *default tag=RELENG_6_2
  *default release=cvs 
  *default delete use-rel-suffix
  *default compress
  
  ## Main Source Tree.
  # The easiest way to get the main source tree is to use the "src-all"
  # mega-collection.  It includes all of the individual "src-*" collections.
  src-all
  
  ports-all tag=.
  
  doc-all tag=.

Then do the appropriate builds, installs, reboots and merges as described in 
the handbook.

Make sure you back up anything that you want to keep from the old system.
 
jerry

> 
> Many thanks.
> 
> Martin McCormick WB5AGZ  Stillwater, OK 
> Systems Engineer
> OSU Information Technology Department Network Operations Group
> ___
> 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: Help

2007-03-29 Thread Garrett Cooper
Marcel Erz wrote:
> Hello!
> 
> On which operating system? Do you have already an image for the VM player?
> Is VM player already installed on you computer? For the future: Give us
> more
> information to figure out ur problems. It will help to get an answer!
> 
> Marcel
> 
> 
> On 3/28/07, Lumbu, Mfumuke <[EMAIL PROTECTED]> wrote:
>>
>> Hi!
>>
>> I want to play FreeBSD image with my VM player how can i do it?
>> Thanks

This is a FreeBSD forum, not a VMware support forum. I think that they
have one of those on the main site that you should look for.
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ports and freebsd 4.11

2007-03-29 Thread D G Teed

Question: I read this in /usr/ports/UPDATE:

20070205:
 AFFECTS: all users of FreeBSD 4.X
 AUTHOR: [EMAIL PROTECTED]

 The remnants of FreeBSD 4.X support have been removed from bsd.port.mk.
 Any remaining users should _not_ get this or any subsequent updates.

Then I found this announcement:

http://www.freebsd.org/portmgr/policies_releng_4.html

What does that boil down to in end user English?
I can't build things in ports if I'm running 4.11, or that
I should never try to update packages from ports in 4.11?

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


Re: Anyone using Sunbird?

2007-03-29 Thread Robert Huff

Leslie Jensen <[EMAIL PROTECTED]> wrote:

> I've got a problem with Sunbird (Mozilla calender app) since the gettext
> upgrade.
>
> It core dumps at start
>
> ---
> sunbird &
> [1] 1168
> Abort trap (core dumped)
> ---

I just checked, and am getting the same.
Rebuilding the port to see if that changes anything 



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: Period Reboots Without Any Reason

2007-03-29 Thread Guido Demmenie

On Mar 29, 2007, at 1:28 PM, ExTaZyTi wrote:



Hi again,

My FreeBSD (6.2-STABLE) reboots without any reason for more times  
in the

month.
Last reboots "block the system for 10-20 seconds and then  
reboots.." i have

set this is my previous posts.
My PC is Intel Pentium3 866 MHz, 192 MB of RAM and 20 GB HDD. Using  
flavour

i386, without X, and don't have a monitor.



Might be your memory. Many random reboots are a sign of bad memory.

You can test your memory with memtest: http://www.memtest.org/
Just run it for several hours, if this does not give any errors it's  
not your

memory.

Only drawback of memtest is that you have to take your server offline  
and insert

the memtest boot floppy or iso.

--
Guido
www.rottnic.nl

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


Re: How to handle forthcoming PR originator e-mail address

2007-03-29 Thread Ted Mittelstaedt
wait till it changes then post an update to the pr using the webinterface

Ted

- Original Message - 
From: "Dmitry Pryanishnikov" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, March 29, 2007 4:45 AM
Subject: How to handle forthcoming PR originator e-mail address


>
> Hello!
>
>I'm an originator of 4 open PRs and 9 closed ones. My e-mail address
will
> change soon. How should I handle the change to stay reachable for people
> working on PRs? Sorry to bother the list with (seems-to-be) a trivial
> question, I can't find reply in PR-related articles.
>
> Sincerely, Dmitry
> -- 
> Atlantis ISP, System Administrator
> e-mail:  [EMAIL PROTECTED]
> nic-hdl: LYNX-RIPE
> ___
> 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: LD_LIBRARY_PATH

2007-03-29 Thread Charles Farinella

Josh Carroll wrote:

New to FreeBSD.  How can I update my LD_LIBRARY_PATH?



There are a couple of ways. First, you can look at
/etc/defaults/rc.conf for the default value of ldconfig_paths. On this
6.2-RELEASE system, it's set to:

ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib
/usr/local/lib/compat/pkg"

So you can edit /etc/rc.conf and append to that list. E.g. if you
wanted to add /usr/local/my_libs, you'd put the following in
/etc/rc.conf:

ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib
/usr/local/lib/compat/pkg /usr/local/my_libs"

Another possibility, based on a cursory read of /etc/rc.d/ldconfig,
would be to add the path to /etc/ld-elf.so.conf (which probably
doesn't exist by default).

Either way, once you've added your path, you'd run:

/etc/rc.d/ldconfig start

Which should add the libraries from the added path.


Thanks so much for your reply, I was not aware of /etc/defaults or it's 
contents.  Now I know.  :-)


I was able to correct my issue yesterday with 'ldconfig -m 
/path/to/libs' which adds the path to /var/run/ld-elf.so.hints.


thanks again.

--charlie

--

Charles Farinella
Appropriate Solutions, Inc. (www.AppropriateSolutions.com)
[EMAIL PROTECTED]
voice: 603.924.6079   fax: 603.924.8668

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


Re: How Write To Win Drive?

2007-03-29 Thread Vince
Stan Cooper wrote:
> Okay, making progress. The problem was the distro was copied before Dec 6, so 
> I had to rebuild the ports tree. That done, I built out fuesfs-ntfs. But I 
> still can't mount the drive. I edited /etc/fstab thus:
> 
> /dev/ad0s1/winfuserw00
> 
> I also tried "fusefs" in the above. Then I ran:
> 
> # mount_fusefs /dev/ad0s1 /win
> mount_fusefs: /dev/ad0s1 on /win: Operation not supported by device.
> 
> Am I screwed?
> TIA,
> Stan
> 
The command for fusefs-ntfs is ntfs-3g not mount_fusefs.
no idea how to have fstab use it as the example given in the manpage is
for linux.

Vince

>  
> -
>  Get your own web address.
>  Have a HUGE year through Yahoo! Small Business.
> ___
> 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   >