RE: Time changed back to old daylight savings

2007-03-29 Thread Don O'Neil
Ok... Well, I rebooted the server, and still it's an hour behind:

kermit# /usr/sbin/ntpdate -v -b 0.us.pool.ntp.org
28 Mar 23:17:15 ntpdate[1429]: ntpdate 4.2.0-a Mon Aug  7 17:44:27 UTC 2006
(1)
28 Mar 23:17:17 ntpdate[1429]: step time server 199.103.21.233 offset
3580.00057

Any ideas now? If the CMOS clock is off, could this be affecting the
operation?  

-Original Message-
From: Chuck Swiger [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 28, 2007 12:02 PM
To: Don O'Neil
Cc: FreeBSD Mailing List
Subject: Re: Time changed back to old daylight savings

On Mar 28, 2007, at 11:53 AM, Don O'Neil wrote:
 So it looks like my zone info files are correct... could the ntp pool 
 be off for some reason, or does ntpdate need to be updated?

 28 Mar 10:53:51 ntpdate[90706]: ntpdate 4.2.0-a Mon Aug  7 17:44:27 
 UTC 2006
 (1)

Nope, the NTP protocol uses GMT (or UTC, if you prefer that name)
exclusively.

However, once you've updated the timezone files, you either need to restart
all of the processes which have cached the old TZ file info, or simply
reboot.  You might find running ntpdate -b to reset your clock once before
starting ntpd will help correctly sync if your local clock is one hour off
(depends on whether your BIOS is trying to keep local time or GMT
time)...see man adjkerntz.

--
-Chuck


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


Anyone using Sunbird?

2007-03-29 Thread Leslie Jensen
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)
---

Because of some mistakes I made I've done

pkg_deinstall -rR gettext

Rebuild all the ports I needed, then I saw this problem and I tried both

portupgrade -Rf sunbird

and

portmaster -r sunbird

But it core dumps anyway.

Any suggestions on how to solve this?

Thanks

/Leslie
___
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 Pietro Cerutti

On 3/29/07, Leslie Jensen [EMAIL PROTECTED] wrote:

I've got a problem with Sunbird (Mozilla calender app) since the gettext
upgrade.

It core dumps at start


I have similar problems with the whole mozilla family (firefox,
thunderbird, sunbird), which every now and then seg-fault and keep on
seg-faulting no matter what I do, unless I reboot the machine...

... so, have you tried rebooting?

I'm sorry, I don't have any clue of what the cause could be..



Thanks

/Leslie


--
Pietro Cerutti

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
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 Andrew Pantyukhin

On 3/29/07, 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)
---

Because of some mistakes I made I've done

pkg_deinstall -rR gettext

Rebuild all the ports I needed, then I saw this problem and I tried both

portupgrade -Rf sunbird

and

portmaster -r sunbird

But it core dumps anyway.

Any suggestions on how to solve this?


The definitive solution would be to:
1. Update your system (rebuild world and kernel)
2. pkg_delete -a
3. Update your ports
4. cd /usr/ports/deskutils/sunbird  make install clean

But it'll take some time.

You can also try linux-sunbird if you want to.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD-6.1 Server rebooting due to high mbufs usage

2007-03-29 Thread Tek Bahadur Limbu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dear All,

I am quite new to FreeBSD in general. I need some help and suggestions from you 
guys.

I have squid proxy server running on a FreeBSD-6.1 (amd) box. I have been 
facing this problem for sometime now. It's related to mbufs. For some reasons, 
my mbufs usage is extremely high. This high mbufs usage causes slow responses 
from Squid and in rare occasions, it even causes my server to reboot. 

This FreeBSD squid box serves about 3000-4000 users.

Server specs are:

Dell 430 Intel(R) Pentium(R) D CPU 3.00GHz-Dual CPU
real memory  = 2145959936 (2046 MB)
bge0: Broadcom BCM5751 Gigabit Ethernet
traffic load: 10Mb/s (through satellite)

[EMAIL PROTECTED] netstat -m

66713/2677/69390 mbufs in use (current/cache/total)
66686/2210/68896/0 mbuf clusters in use (current/cache/total/max)
66686/2178 mbuf+clusters out of packet secondary zone in use (current/cache)
0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/0 9k jumbo clusters in use (current/cache/total/max)
0/0/0/0 16k jumbo clusters in use (current/cache/total/max)
150050K/5089K/155139K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0/0/0 sfbufs in use (current/peak/max)
0 requests for sfbufs denied
0 requests for sfbufs delayed
0 requests for I/O initiated by sendfile
0 calls to protocol drain routines


/etc/sysctl.conf:

kern.maxfilesperproc=8192
kern.ipc.somaxconn=8192
kern.maxprocperuid=8192
net.inet.ip.portrange.hifirst=1
net.inet.ip.portrange.first=3
net.inet.ip.portrange.last=65535
net.inet.tcp.recvspace=65535
net.inet.tcp.sendspace=65535
net.inet.tcp.blackhole=2
net.inet.udp.blackhole=1
net.inet.ip.fw.verbose_limit=5000
net.inet.icmp.icmplim=0
net.inet.tcp.msl=3000
net.isr.direct=1
vfs.read_max=16

/boot/loader.conf:

kern.ipc.nmbclusters=0
kern.maxusers=0
kern.maxfiles=16384
kern.maxproc=8192

Relevant Kernel Options:

options IPFIREWALL  
options IPFIREWALL_VERBOSE 
options IPFIREWALL_FORWARD  
options IPFIREWALL_VERBOSE_LIMIT=5000
options IPFIREWALL_FORWARD_EXTENDED 

options MSGMNB=16384
options MSGMNI=41
options MSGSEG=2049
options MSGSSZ=64
options MSGTQL=2048
options SHMSEG=128
options SHMMNI=192
options SHMMAX=33554432
options SHMMIN=1
options SHMALL=8192

options HZ=1000  #Polling Enabled 


Note: Running IPFW. Also my other FreeBSD-4.x servers don't seem to suffer from 
this problem. They have almost the same IPFW, Squid and Sysctl configs. 

Any ideas and suggestions will be highly appreciated. 

Thanking you...


- -- 


With best regards and good wishes,

Yours sincerely,

Tek Bahadur Limbu

(TAG/TDG Group)
Jwl Systems Department

Worldlink Communications Pvt. Ltd.

Jawalakhel, Nepal

http://www.wlink.com.np
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQFGC3msVrOl+eVhOvYRAu3nAJ46kZHHN+fIPdbpbGG3KVzgf6j4wgCeKUDh
zK+pEfPyMMpbFMaC+FoytWo=
=vB/K
-END PGP SIGNATURE-
___
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 Andriy Babiy
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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mysqli vs mysql

2007-03-29 Thread Spil Oss

Hi all,

(Questions towards the end of the mail)

Recently I've been looking at my web-applications and all of them
support both mysql and mysqli php-modules (i.e. phpMyAdmin, roundcube,
gallery2).

Both php5-mysql and php5-mysqli ports are installed on my system.
Only phpMyAdmin offers a knob for mysqli, the other ports support
mysqli but have no knob in the port.
To my knowledge, the mysqli php-module does not depend on the mysql
php-module in any way.

Setting WITH_MYSQLI for phpMyAdmin will add a dependency to the mysqli
php-module, and leave the dependency on the mysql php-module in place.

Should it be possible for these ports to depend on either mysql or
mysqli in addition to depending on both of them (for those that want
that)?
Should the knob be WITH_MYSQLI, if set use mysqli, if not set fall
back to whatever the port's default mysql-connection?
Should the knob WITH_MYSQL be used to depend on both MYSQL and MYSQLI
if both are set?

I would be happy to supply the maintainers with patches to these ports.

Kind regards,

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


Re: Can iostat(8) report on gmirror devices?

2007-03-29 Thread Vince
Doug Poland wrote:
 Hello,
 
 I've grown quite fond of iostat(8) for monitoring various i386 6.x
 servers and  have several boxes using gmirror(8).  It appears that
 iostat will not accept things like gm0 as a drive argument.  Is that
 a feature or am I missing something.
 
 
Not sure about iostat but you might be able to use gstat as a replacement.

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


Re: Sierra Wireless AirCard 555 drivers (?), and NDIS...

2007-03-29 Thread Volker
On 03/29/07 06:42, Amarendra Godbole wrote:
 Hi,
 
 This might be a slightly offtopic question - I have a bunch of Sierra
 Wireless AirCard 555 driver/firmware files, and I am unable to figure
 out which is the correct .inf file, or which are the remaining
 firmware files. I could only recognize the driver, which had a .sys
 extension. These files are: Air555.sys, mdmac555.cat, mfac555.cat,
 netac555.inf, MFAC555.INF, mdmac555.inf, netac555.cat. None of the
 .inf files give a clue as to which one really belongs to the .sys
 file.
 
 Hence, I tried building the ko, using ndisgen utility, by specifying
 .sys as the driver, and netac555.inf as the corresponding .inf files.
 Then I specified all the remaining files  as additional firmware
 files. ndisgen happily built the kernel object, and I was able to
 insert it too...
 
 ...butno device appeared, no nothing in the syslog too! This
 leaves me wondering if I specified the incorrect files...
 
 Does anyone have an idea as to which will be the correct .inf file,
 and which are the firmware files? I'd appreciate help here, I can also
 send these file offlist for inspection. Thanks in advance!

Amarendra,

I don't know exactly that card, but similar ones and I doubt it's a
card with a network interface. If I'm not at fault with this, even
under Windows it's being seen as either a tty device or a modem
device. You should have a look at ubsa(4).

HTH,

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


SATA DVD-RW drive not recognised by FreeBSD

2007-03-29 Thread Martin Moeller
Hi all,

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?

**
** MY KERNEL VERSION**
**

FreeBSD medea.exsomnis.de 6.2-STABLE FreeBSD 6.2-STABLE #2: Fri Mar  2
07:16:55 CET 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/KERNEL
amd64

**
** OUTPUT OF dmesg  **
**

attached file (dmesg.txt)

-- 
Mit freundlichen Grüßen
Martin Möller [EMAIL PROTECTED]
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-STABLE #2: Fri Mar  2 07:16:55 CET 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/KERNEL
ACPI APIC Table: Nvidia AWRDACPI
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 Processor 3500+ (2211.34-MHz K8-class CPU)
  Origin = AuthenticAMD  Id = 0x20ff2  Stepping = 2
  
Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
  Features2=0x1SSE3
  AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow!+,3DNow!
  AMD Features2=0x1LAHF
real memory  = 1073676288 (1023 MB)
avail memory = 1027543040 (979 MB)
ioapic0 Version 1.1 irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: Nvidia AWRDACPI on motherboard
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi0: Power Button (fixed)
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
cpu0: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pci0: memory at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 1.0 on pci0
isa0: ISA bus on isab0
pci0: serial bus, SMBus at device 1.1 (no driver attached)
ohci0: OHCI (generic) USB controller mem 0xcc102000-0xcc102fff at device 2.0 
on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 10 ports with 10 removable, self powered
ehci0: NVIDIA nForce4 USB 2.0 controller mem 0xfeb0-0xfeb000ff at device 
2.1 on pci0
ehci0: [GIANT-LOCKED]
usb1: EHCI version 1.0
usb1: companion controller, 4 ports each: usb0
usb1: NVIDIA nForce4 USB 2.0 controller on ehci0
usb1: USB revision 2.0
uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 10 ports with 10 removable, self powered
umass0: Verbatim Store 'n' Go Pro, rev 2.00/2.00, addr 2
pcm0: nVidia nForce4 port 0xd400-0xd4ff mem 0xcc101000-0xcc101fff irq 20 at 
device 4.0 on pci0
pcm0: Avance Logic ALC850 AC97 Codec
atapci0: nVidia nForce CK804 UDMA133 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 6.0 on pci0
ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
atapci1: nVidia nForce CK804 SATA300 controller port 
0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xd000-0xd00f mem 
0xcc10-0xcc100fff irq 21 at device 7.0 on pci0
ata2: ATA channel 0 on atapci1
ata3: ATA channel 1 on atapci1
pcib1: ACPI PCI-PCI bridge at device 9.0 on pci0
pci5: ACPI PCI bus on pcib1
pci5: multimedia, video at device 7.0 (no driver attached)
pci5: multimedia at device 7.1 (no driver attached)
ath0: Atheros 5212 mem 0xcb00-0xcb00 irq 18 at device 8.0 on pci5
ath0: Ethernet address: 00:0f:3d:ab:91:e2
ath0: mac 5.9 phy 4.3 radio 4.6
atapci2: SiI 3114 SATA150 controller port 
0x9000-0x9007,0x9400-0x9403,0x9800-0x9807,0x9c00-0x9c03,0xa000-0xa00f mem 
0xcb014000-0xcb0143ff irq 19 at device 10.0 on pci5
ata4: ATA channel 0 on atapci2
ata5: ATA channel 1 on atapci2
ata6: ATA channel 2 on atapci2
ata7: ATA channel 3 on atapci2
skc0: Marvell Gigabit Ethernet port 0xa400-0xa4ff mem 0xcb01-0xcb013fff 
irq 17 at device 12.0 on pci5
skc0: Marvell Yukon Lite Gigabit Ethernet rev. (0x9)
sk0: Marvell Semiconductor, Inc. Yukon on skc0
sk0: Ethernet address: 00:17:31:a6:a0:e4
miibus0: MII bus on sk0
e1000phy0: Marvell 88E1000 Gigabit PHY on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto
pcib2: ACPI PCI-PCI bridge at device 11.0 on pci0
pci4: ACPI PCI bus on pcib2
pcib3: ACPI PCI-PCI bridge at device 12.0 on pci0
pci3: ACPI PCI bus on pcib3
pcib4: ACPI PCI-PCI bridge at device 13.0 on pci0
pci2: ACPI PCI bus on pcib4
pci2: display, VGA at device 0.0 (no 

fxp0 oversize frame problem

2007-03-29 Thread Halid Faith
Hello

I use FreeBSD 6.2-RELEASE #1 as a gateway server.
I have been receving a error message in /var/log/messages twice a month
recently;
kernel: fxp0: discard oversize frame (ether type 800 flags 3 len 1515  max
1514)

As that problem has become, the concerning ethernet card has slow down very
much. I have been to reboot the server.

My ifconfig is below;
fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
inet 192.168.1.1 netmask 0xfff8 broadcast 192.168.1.255
ether 00:90:27:d5:f6:3f
media: Ethernet 100baseTX full-duplex
status: active

What is the problem?
Do I have to increase MTU value of the fxp0 card?
What shall I do ?

Thanks

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



Period Reboots Without Any Reason

2007-03-29 Thread ExTaZyTi

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.

I have added dumpdev=auto in my /etc/rc.conf ..and now reboots again my
computer without any reason..

Mar 28 18:53:54 extremebg kernel: acd0: CDROM HL-DT-ST CD-ROM
GCR-8520B/1.00 at ata1-master PIO4
Mar 28 18:53:54 extremebg kernel: Trying to mount root from ufs:/dev/ad0s1a
Mar 28 18:53:54 extremebg kernel: WARNING: / was not properly dismounted
Mar 28 18:53:54 extremebg savecore: no dumps found

this is in /var/log/messages

in dir /var/crash:

%cd /var/crash
%ls
minfree
%cat minfree
2048
%

this is in my log files .. i can't find dump info .. only Mar 28 18:53:54
extremebg savecore: no dumps found ..
please help to fix this problem. I using FreeBSD for more 3 years and work
fine but this is serious error :(
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re:skype

2007-03-29 Thread Joseba Sanchez

Date: Wed, 21 Mar 2007 02:23:21 +0300
From: Boris Samorodov [EMAIL PROTECTED]
Subject: Re: Skype
To: Joseba Sanchez [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii

On Tue, 20 Mar 2007 17:19:34 +0100 (CET) Joseba Sanchez wrote:

 I have a problem with the sound device and skype. I have a HP compaq 
nx9005, that works fine (I think) with the snd_t4dwave driver (I can 
hear music with xmms, and so on).

 Mundaka# cat /dev/sndstat
 FreeBSD Audio Driver (newpcm)
 Installed devices:
 pcm0: Acer Labs M5451 at io 0x8400 irq 5  (4p/1r/0v channels duplex 
default)

 I have installed skype from /usr/ports/net/skype. The software makes 
the phone call and chat works fine, but I cannot listen what the other 
person says and he doesn't hear what I say. I can also hear my voice in 
the output of my computer, and in the second call, I receive the next 
message:

 [EMAIL PROTECTED] /usr/home/joseba]$ skype_bin
 read error, res = 0 , handle = 30
 /dev/dsp-1: Device or resource busy

Do you have /compat/linux/dev directory and/or mount devfs on it? Show
your ls -l /compat/linux/dev.

I haven't got the /compat/linux/dev directory:

[EMAIL PROTECTED] /usr/home/joseba]$ ls -l /compat/linux/dev
ls: /compat/linux/dev: No such file or directory

And of course, I haven't got anything mounted on it:

[EMAIL PROTECTED] /usr/home/joseba]$ mount
/dev/ad0s2a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad0s2e on /tmp (ufs, local, soft-updates)
/dev/ad0s2f on /usr (ufs, local, soft-updates)
/dev/ad0s2d on /var (ufs, local, soft-updates)
/dev/ad0s1 on /mnt/winXP (msdosfs, local)

 I have been reading the small documentation that skype has on his 
website and I see that it works with the oss mixer using the /dev/dsp. I 
have tried to modify the values of the /dev/dsp0.0 to 0.4 with the 
xfce4-mixer, and impossible. All of them are down and I cannot wake up them, 
they fall down. Using the mixer command I see that all of them are in 
the same situation, the same as mixer0.

 Any help, please?

I have also seen that when skype shows the alarm, it kills a channel:

[EMAIL PROTECTED] /usr/home/joseba]$ dmesg | grep pcm
pcm0: Acer Labs M5451 port 0x8400-0x84ff mem 0xd0005000-0xd0005fff 
irq 5 at device 6.0 on pci0
pcm0: Conexant CX20468 AC97 Codec
pcm0: [GIANT-LOCKED]
pcm0:record:0:dsp0.0: record interrupt timeout, channel dead

Can you explain me or tell me a link to read how to configurate this 
directory well to make skype work fine?

I have installed gnome2 and the Volume control names the sound device 
Unknow volume control 1(Oss mixer). Is it important? I don't know if I 
need something else to configure the sound correctly.

Also, when I see the processes involved with skype, I obtain the following (5 
different skype_bin):

bash-2.05b$ ps -aux | grep skype
joseba 80724  0.0  7.8 28188 14564  ??  S12:54PM   0:09.05 skype_bin
joseba 80725  0.0  7.8 28188 14564  ??  S12:54PM   0:00.04 skype_bin
joseba 80748  0.0  7.8 28188 14564  ??  I12:54PM   0:00.03 skype_bin
joseba 80749  0.0  7.8 28188 14564  ??  S12:54PM   0:21.12 skype_bin
joseba 80750  0.0  0.0 28188 14556  ??  IW   - 0:00.00 skype_bin
joseba 37525  0.0  0.4  1592   824  p2  S+1:47PM   0:00.00 grep skype

I received also the help of Pietro Cerutti, who told me to do the next:
try setting the sysctl OID
dev.pcm.0.vchans=4

but my system hasn't got that variable.

bash-2.05b$ sysctl -a | grep pcm
hw.snd.pcm0.buffersize: 4096
hw.snd.pcm0.vchans: 0
dev.pcm.0.%desc: Acer Labs M5451
dev.pcm.0.%driver: pcm
dev.pcm.0.%location: slot=6 function=0 handle=\_SB_.PCI0.AUDI
dev.pcm.0.%pnpinfo: vendor=0x10b9 device=0x5451 subvendor=0x103c 
subdevice=0x0024 class=0x040100
dev.pcm.0.%parent: pci0

Thanks a lot for your knowledge and patient. 


-

LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD on IBM Blade HS21

2007-03-29 Thread Nejc Škoberne

Hello,


Try waiting about 30 minutes, there was a nasty timeout problem here
when I tried it - you might have the same. Google for my posts on
freebsd-stable mailing list.


Okay, it really seems it's the nasty timeout I am facing (I booted into
the verbose mode and it's the controller which causes the waits). I have
tried to find that thread but wasn't really successful.

Did you manage to get rid of the timeout after all?

Thanks,
Nejc
___
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
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

 
-
 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: Help

2007-03-29 Thread Marcel Erz

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
___
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]


time problems

2007-03-29 Thread bram

Hi all,

I am running 6.1-RELEASE-p2-AMD64 on a dual AMD opteron system.
Lately (after installing a twa-3ware raid controller I think) time just 
stops.

We leave at work one evening and the clock is set ok.
The next morning the clock is set at 3 o'clock instead of 8 o'clock, 
sometimes there is no clock anymore,
when we type date, it just returns to the next line without any output 
whatsoever.


This is very annoying, I've set a crontab task every 5 minutes to 
re-update the date but it does not help (wich leads to my believe that 
time has stopped).


So, what could this be, and can I work around the problem ?

Every service this machine runs stops working at such a time (no ssh 
etc), the local keyboard still works.


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


How to handle forthcoming PR originator e-mail address

2007-03-29 Thread Dmitry Pryanishnikov


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]


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]


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 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: freebsd-questions@freebsd.org
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: 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: 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]


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: 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]


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: 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'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: 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: 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


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: 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


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


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]


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]


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]


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]


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: 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]


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]


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]


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]


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: 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: 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]


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 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


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: 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 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: 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: 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: 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: 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]


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: 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]


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: 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 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: 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: 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: 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]


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: 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]


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: 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]


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: 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]


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: 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: 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: 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]


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 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]


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 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: 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: 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 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: 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]


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: 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]


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: 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


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: 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]


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: 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: 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: 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: 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 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: 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]


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: 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: 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: 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]


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
   MonitorMonitor0
   SubSection Display
   Viewport   0 0
   Depth 16
   Modes1280x1024
   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: 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]


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]


  1   2   >