SAME: Re: need help; cacti fails to build on 7.2-R, p4....

2009-11-25 Thread Gary Kline
On Wed, Nov 25, 2009 at 04:08:07PM -0800, Gary Kline wrote:
 
 
 Can anybody clue me in why cacti isn't building?  I obv'ly see the
 stderr's, but want to know What now
 
 This is after the 3D screen stuff.
 
 
 checking whether to build static libraries... yes
 checking for vasprintf... yes
 checking for ssize_t... yes
 checking for pkg-config... /usr/local/bin/pkg-config
 checking pkg-config is at least version 0.9.0... yes
 checking for XCB... configure: error: Package requirements (xcb =
 1.4) were not met:
 
 Requested 'xcb = 1.4' but version of XCB is 1.2


Well, I just fixed this, but rebuilding cacti still fails

 
 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 installed software in a non-standard prefix.
 
 Alternatively, you may set the environment variables XCB_CFLAGS
 and XCB_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.


tHIS I doesn't understand.  Maybe it's time for a portupgrade
on my brand new system..   This stuff is the biggest
turnoff with FBSD.  In fat, it's the only one, since server
are supposed to be workhorses.


(*)


 
 ===  Script configure failed unexpectedly.
 Please report the problem to ntar...@cs.uoi.gr [maintainer] and attach
 the
 /usr/ports/x11/xcb-util/work/xcb-util-0.3.6/config.log including the
 output
 of the failure of your make command. Also, it might be a good idea to
 provide
 an overview of all packages installed on your system (e.g. an `ls
 /var/db/pkg`).
 *** Error code 1
 
 Stop in /usr/ports/x11/xcb-util.
 *** Error code 1
 
 Stop in /usr/ports/graphics/cairo.
 *** Error code 1
 
 Stop in /usr/ports/graphics/cairo.
 *** Error code 1
 
 Stop in /usr/ports/databases/rrdtool.
 *** Error code 1
 
 Stop in /usr/ports/databases/rrdtool.
 *** Error code 1
 
 Stop in /usr/ports/net-mgmt/cacti.
 r...@ethic:/usr/ports/net-mgmt/cacti#  
 
 -- 
Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Misfortune doesn't improve anyone.  That is a fable to reassure the
  afflicted.  A life of hardship humiliates man and forces him to expend
 all his energy on resisting its deadly pressure.  If a man comes out of
 it improved, it only means that he has spent an enormous amount of energy
 on improving in spite of everything.  Just think what he might have done 
 without that pressure. --Jiri Mucha, *Living and Partly Living*
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
   Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Misfortune doesn't improve anyone.  That is a fable to reassure the
 afflicted.  A life of hardship humiliates man and forces him to expend
all his energy on resisting its deadly pressure.  If a man comes out of
it improved, it only means that he has spent an enormous amount of energy
on improving in spite of everything.  Just think what he might have done 
without that pressure. --Jiri Mucha, *Living and Partly Living*


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


Re: need help; cacti fails to build on 7.2-R, p4....

2009-11-25 Thread Vaibhav Gavane
Upgrade x11/libxcb
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: SAME: Re: need help; cacti fails to build on 7.2-R, p4....

2009-11-25 Thread Vaibhav Gavane
On Thu, Nov 26, 2009 at 9:31 AM, Gary Kline kl...@thought.org wrote:

tHIS I doesn't understand.  Maybe it's time for a portupgrade
on my brand new system..   This stuff is the biggest
turnoff with FBSD.  In fat, it's the only one, since server
are supposed to be workhorses.


If you were installing cacti for the first time, i.e. with portinstall, then
according to the manual, the dependencies should have been automatically
upgraded. Either your ports tree itself was out of date or there is
something wrong with portupgrade. If you suspect the latter, consider giving
portmaster a try.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: need help with nvidia drivers

2009-11-04 Thread Daniel C. Dowse
On Tue, 3 Nov 2009 13:55:34 -0800 (PST)
Super Biscuit super_bisq...@yahoo.com wrote:

 I'm not able to use the glx settings on my computer.
 RGB comes back as a double buffer error.
 

Hi,

sorry but with that kind of questioning you won`t get any response,
that includes your other posts as well. 
you should all ways try to describe the problem more specified.
you should post your configs (/etc./X11/xorg.conf) and hardware specs
(dmesg) and os release version( uname -a ) ,and the driver version
you have installed, too.

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


greets 

daniel

-- 
[ The only reality is virtual ] 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: need help with nvidia drivers

2009-11-04 Thread Super Biscuit
The reason for multiple posts and the titles is because The original post was 
considered spam by the freebsd-questions mailing list and webmaster. It had all 
of the relevant information in it.
Next time you may want ask me why I do something before making an uninformed 
and asinine response.

Here is the information you asked for: %uname -a
FreeBSD pocket-peoples.xxx.xxx.xxx.xxx 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri 
May  1 08:49:13 UTC 2009 
r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386


--- On Wed, 11/4/09, Daniel C. Dowse dcdo...@gmx.net wrote:

From: Daniel C. Dowse dcdo...@gmx.net
Subject: Re: need help with nvidia drivers
To: Super Biscuit super_bisq...@yahoo.com
Cc: freebsd-questions@freebsd.org
Date: Wednesday, November 4, 2009, 9:52 AM

On Tue, 3 Nov 2009 13:55:34 -0800 (PST)
Super Biscuit super_bisq...@yahoo.com wrote:

 I'm not able to use the glx settings on my computer.
 RGB comes back as a double buffer error.
 

Hi,

sorry but with that kind of questioning you won`t get any response,
that includes your other posts as well. 
you should all ways try to describe the problem more specified.
you should post your configs (/etc./X11/xorg.conf) and hardware specs
(dmesg) and os release version( uname -a ) ,and the driver version
you have installed, too.

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


greets 

daniel

-- 
[ The only reality is virtual ]          



  

xorg.conf
Description: Binary data
Copyright (c) 1992-2009 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 7.2-RELEASE #0: Fri May  1 08:49:13 UTC 2009
r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
module_register: module dc/miibus already exists!
Module dc/miibus failed to register: 17
module_register: module pci/dc already exists!
Module pci/dc failed to register: 17
module_register: module cardbus/dc already exists!
Module cardbus/dc failed to register: 17
module_register: module miibus/dcphy already exists!
Module miibus/dcphy failed to register: 17
module_register: module miibus/pnphy already exists!
Module miibus/pnphy failed to register: 17
module_register: module uhub/ums already exists!
Module uhub/ums failed to register: 17
module_register: module rl/miibus already exists!
Module rl/miibus failed to register: 17
module_register: module cardbus/rl already exists!
Module cardbus/rl failed to register: 17
module_register: module pci/rl already exists!
Module pci/rl failed to register: 17
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Sempron(tm) Processor 3400+ (1989.82-MHz 686-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  = 1877934080 (1790 MB)
avail memory = 1818591232 (1734 MB)
ACPI APIC Table: HP-CPC AWRDACPI
ioapic0 Version 2.1 irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: HP-CPC AWRDACPI on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, 6fdf (3) failed
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 32-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: PCI-PCI bridge at device 2.0 on pci0
pci1: PCI bus on pcib1
vgapci0: VGA-compatible display port 0xef00-0xef7f mem 
0xfa00-0xfaff,0xd000-0xdfff,0xf800-0xf9ff irq 18 at 
device 0.0 on pci1
nvidia0: GeForce 8400 GS on vgapci0
vgapci0: child nvidia0 requested pci_enable_busmaster
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
nvidia0: [GIANT-LOCKED]
nvidia0: [ITHREAD]
atapci0: ATI IXP400 SATA150 controller port 
0xff00-0xff07,0xfe00-0xfe03,0xfd00-0xfd07,0xfc00-0xfc03,0xfb00-0xfb0f mem 
0xfe02f000-0xfe02f1ff irq 22 at device 18.0 on pci0
atapci0: [ITHREAD]
ata2: ATA channel 0 on atapci0
ata2: [ITHREAD]
ata3: ATA channel 1 on atapci0
ata3: [ITHREAD]
ohci0: ATI SB400 USB Controller mem 0xfe02e000-0xfe02efff at device 19.0 on 
pci0
ohci0: [GIANT-LOCKED]
ohci0: [ITHREAD]
usb0: OHCI version 1.0, legacy support
usb0: ATI SB400 USB Controller on ohci0
usb0: USB revision 1.0
uhub0: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0
uhub0: 4 ports with 4 removable, self powered
ohci1: ATI SB400 USB Controller mem 0xfe02d000-0xfe02dfff at device 19.1 on 
pci0
ohci1: [GIANT-LOCKED]
ohci1

Re: need help with nvidia drivers

2009-11-04 Thread Daniel C. Dowse

Hi 

in xorg.conf

Section Module
Load   dbe
Load   extmod
Load   type1
Load   freetype
Load   glx
Load   dri -- REMOVE THIS !
 
Have you checked out this link before ?
http://us.download.nvidia.com/freebsd/173.14.12/README/index.html


On Wed, 4 Nov 2009 04:29:14 -0800 (PST)
Super Biscuit super_bisq...@yahoo.com wrote:

 The reason for multiple posts and the titles is because The original post was 
 considered spam by the freebsd-questions mailing list and webmaster. It had 
 all of the relevant information in it.
 Next time you may want ask me why I do something before making an uninformed 
 and asinine response.
 
 Here is the information you asked for: %uname -a
 FreeBSD pocket-peoples.xxx.xxx.xxx.xxx 7.2-RELEASE FreeBSD 7.2-RELEASE #0: 
 Fri May  1 08:49:13 UTC 2009 
 r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
 
 
 --- On Wed, 11/4/09, Daniel C. Dowse dcdo...@gmx.net wrote:
 
 From: Daniel C. Dowse dcdo...@gmx.net
 Subject: Re: need help with nvidia drivers
 To: Super Biscuit super_bisq...@yahoo.com
 Cc: freebsd-questions@freebsd.org
 Date: Wednesday, November 4, 2009, 9:52 AM
 
 On Tue, 3 Nov 2009 13:55:34 -0800 (PST)
 Super Biscuit super_bisq...@yahoo.com wrote:
 
  I'm not able to use the glx settings on my computer.
  RGB comes back as a double buffer error.
  

best regards

daniel

-- 
[ The only reality is virtual ] 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: need help with nvidia drivers

2009-11-04 Thread Super Biscuit
The following files do not exist on my system
/compat/linux/sbin/modprobe
/dev/nvidia1
/dev/nvidia2
%nvidia-settings --glxinfo
GLX Information for pocket-peoples.net.:0.0:
Segmentation fault


--- On Wed, 11/4/09, Daniel C. Dowse dcdo...@gmx.net wrote:

From: Daniel C. Dowse dcdo...@gmx.net
Subject: Re: need help with nvidia drivers
To: Super Biscuit super_bisq...@yahoo.com
Cc: freebsd-questions@freebsd.org
Date: Wednesday, November 4, 2009, 1:50 PM


Hi 

in xorg.conf

Section Module
    Load           dbe
    Load           extmod
    Load           type1
    Load           freetype
    Load           glx
    Load           dri -- REMOVE THIS !
 
Have you checked out this link before ?
http://us.download.nvidia.com/freebsd/173.14.12/README/index.html


On Wed, 4 Nov 2009 04:29:14 -0800 (PST)
Super Biscuit super_bisq...@yahoo.com wrote:

 The reason for multiple posts and the titles is because The original post was 
 considered spam by the freebsd-questions mailing list and webmaster. It had 
 all of the relevant information in it.
 Next time you may want ask me why I do something before making an uninformed 
 and asinine response.
 
 Here is the information you asked for: %uname -a
 FreeBSD pocket-peoples.xxx.xxx.xxx.xxx 7.2-RELEASE FreeBSD 7.2-RELEASE #0: 
 Fri May  1 08:49:13 UTC 2009 
 r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
 
 
 --- On Wed, 11/4/09, Daniel C. Dowse dcdo...@gmx.net wrote:
 
 From: Daniel C. Dowse dcdo...@gmx.net
 Subject: Re: need help with nvidia drivers
 To: Super Biscuit super_bisq...@yahoo.com
 Cc: freebsd-questions@freebsd.org
 Date: Wednesday, November 4, 2009, 9:52 AM
 
 On Tue, 3 Nov 2009 13:55:34 -0800 (PST)
 Super Biscuit super_bisq...@yahoo.com wrote:
 
  I'm not able to use the glx settings on my computer.
  RGB comes back as a double buffer error.
  

best regards

daniel

-- 
[ The only reality is virtual ]          




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


Re: need help with nvidia drivers

2009-11-04 Thread Super Biscuit
I downloaded and installed the driver from nvidia with better results.
Now, I have a problem of a broken screen and a workable area of 320x240.
I added the the Modes to the xorg.conf file with no change in results.


--- On Wed, 11/4/09, Daniel C. Dowse dcdo...@gmx.net wrote:

From: Daniel C. Dowse dcdo...@gmx.net
Subject: Re: need help with nvidia drivers
To: Super Biscuit super_bisq...@yahoo.com
Cc: freebsd-questions@freebsd.org
Date: Wednesday, November 4, 2009, 1:50 PM


Hi 

in xorg.conf

Section Module
    Load           dbe
    Load           extmod
    Load           type1
    Load           freetype
    Load           glx
    Load           dri -- REMOVE THIS !
 
Have you checked out this link before ?
http://us.download.nvidia.com/freebsd/173.14.12/README/index.html


On Wed, 4 Nov 2009 04:29:14 -0800 (PST)
Super Biscuit super_bisq...@yahoo.com wrote:

 The reason for multiple posts and the titles is because The original post was 
 considered spam by the freebsd-questions mailing list and webmaster. It had 
 all of the relevant information in it.
 Next time you may want ask me why I do something before making an uninformed 
 and asinine response.
 
 Here is the information you asked for: %uname -a
 FreeBSD pocket-peoples.xxx.xxx.xxx.xxx 7.2-RELEASE FreeBSD 7.2-RELEASE #0: 
 Fri May  1 08:49:13 UTC 2009 
 r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
 
 
 --- On Wed, 11/4/09, Daniel C. Dowse dcdo...@gmx.net wrote:
 
 From: Daniel C. Dowse dcdo...@gmx.net
 Subject: Re: need help with nvidia drivers
 To: Super Biscuit super_bisq...@yahoo.com
 Cc: freebsd-questions@freebsd.org
 Date: Wednesday, November 4, 2009, 9:52 AM
 
 On Tue, 3 Nov 2009 13:55:34 -0800 (PST)
 Super Biscuit super_bisq...@yahoo.com wrote:
 
  I'm not able to use the glx settings on my computer.
  RGB comes back as a double buffer error.
  

best regards

daniel

-- 
[ The only reality is virtual ]          




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


Re: need help with nvidia drivers

2009-11-04 Thread Daniel C. Dowse
On Wed, 4 Nov 2009 15:22:42 -0800 (PST)
Super Biscuit super_bisq...@yahoo.com wrote:

 I downloaded and installed the driver from nvidia with better results.
 Now, I have a problem of a broken screen and a workable area of 320x240.
 I added the the Modes to the xorg.conf file with no change in results.
 
 

Have you run nvidia-xconfig ? 


best regards

daniel 
-- 
[ The only reality is virtual ] 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: need help with nvidia drivers

2009-11-04 Thread Super Biscuit
Yes, I did.
I'm thinking that it may be the metamode option.

--- On Thu, 11/5/09, Daniel C. Dowse dcdo...@gmx.net wrote:

From: Daniel C. Dowse dcdo...@gmx.net
Subject: Re: need help with nvidia drivers
To: Super Biscuit super_bisq...@yahoo.com
Cc: freebsd-questions@freebsd.org
Date: Thursday, November 5, 2009, 12:01 AM

On Wed, 4 Nov 2009 15:22:42 -0800 (PST)
Super Biscuit super_bisq...@yahoo.com wrote:

 I downloaded and installed the driver from nvidia with better results.
 Now, I have a problem of a broken screen and a workable area of 320x240.
 I added the the Modes to the xorg.conf file with no change in results.
 
 

Have you run nvidia-xconfig ? 


best regards

daniel 
-- 
[ The only reality is virtual ]          




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


Re: need help with nvidia drivers

2009-11-04 Thread Daniel C. Dowse
On Wed, 4 Nov 2009 16:15:46 -0800 (PST)
Super Biscuit super_bisq...@yahoo.com wrote:

 Yes, I did.
 I'm thinking that it may be the metamode option.
 
 --- On Thu, 11/5/09, Daniel C. Dowse dcdo...@gmx.net wrote:
 

Hi,

well i don`t know, i don`t have any modes specified in xorg.conf here
is what my xorg.conf looks like with geforce fx5500 . 
Sorry but i think i can`t help you any further :-( , maybe you can
join #nvidia on irc.freenode and ask there or use some freebsd
related irc channel on any irc network you may like.

 
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeis...@builder65)  Thu Jul 17 18:26:36 
PDT 2008

[snip]

Section Monitor
Identifier Monitor0
VendorName Unknown
ModelName  Unknown
HorizSync   30.0 - 110.0
VertRefresh 50.0 - 150.0
Option DPMS
EndSection

Section Device
Identifier Device0
Driver nvidia
VendorName NVIDIA Corporation
Option   NvAGP 1
Option   Coolbits 1
Option TripleBuffer True
Option RenderAccel  True
Option AllowGLXWithComposite True
Option EnableAGPSBA 1
Option EnableAGPFW  0
Option   GLX1
EndSection

Section Screen
Identifier Screen0
Device Device0
MonitorMonitor0
DefaultDepth24
Option PixmapCacheSize 20
Option AllowSHMPixmaps 0
SubSection Display
EndSubSection
EndSection


P.S.

i noticed that your quoting is not very good, try to tell your
mail-user-agent to quote a lil` better ;-)

bye 

daniel

-- 
[ The only reality is virtual ] 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: need help with nvidia drivers

2009-11-04 Thread Super Biscuit
I fixed by using the following method.
Opened the properties and set the screen resolution.
Opened firefox and downloaded the old xorg.conf I sent you earlier.
Logged out and then back in as root.
Used kate to copy the screen layout from the downloaded file to the active 
xorg.conf file.
Saved and restarted x.

Believe it or not, I did need you to walk me through the process. There were 
quite a few things I wasn't able to notice on my own.
Thanks a lot and all that.

--- On Thu, 11/5/09, Daniel C. Dowse dcdo...@gmx.net wrote:

From: Daniel C. Dowse dcdo...@gmx.net
Subject: Re: need help with nvidia drivers
To: Super Biscuit super_bisq...@yahoo.com
Cc: freebsd-questions@freebsd.org
Date: Thursday, November 5, 2009, 12:39 AM

On Wed, 4 Nov 2009 16:15:46 -0800 (PST)
Super Biscuit super_bisq...@yahoo.com wrote:

 Yes, I did.
 I'm thinking that it may be the metamode option.
 
 --- On Thu, 11/5/09, Daniel C. Dowse dcdo...@gmx.net wrote:
 

Hi,

well i don`t know, i don`t have any modes specified in xorg.conf here
is what my xorg.conf looks like with geforce fx5500 . 
Sorry but i think i can`t help you any further :-( , maybe you can
join #nvidia on irc.freenode and ask there or use some freebsd
related irc channel on any irc network you may like.

 
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeis...@builder65)  Thu Jul 17 18:26:36 
PDT 2008

[snip]

Section Monitor
    Identifier     Monitor0
    VendorName     Unknown
    ModelName      Unknown
    HorizSync       30.0 - 110.0
    VertRefresh     50.0 - 150.0
    Option         DPMS
EndSection

Section Device
    Identifier     Device0
    Driver         nvidia
    VendorName     NVIDIA Corporation
    Option        NvAGP 1
    Option         Coolbits 1
    Option         TripleBuffer True
    Option         RenderAccel  True
    Option         AllowGLXWithComposite True
    Option         EnableAGPSBA 1
    Option        EnableAGPFW  0
    Option        GLX      1
EndSection

Section Screen
    Identifier     Screen0
    Device         Device0
    Monitor        Monitor0
    DefaultDepth    24
    Option         PixmapCacheSize 20
    Option         AllowSHMPixmaps 0
    SubSection     Display    
    EndSubSection
EndSection


P.S.

i noticed that your quoting is not very good, try to tell your
mail-user-agent to quote a lil` better ;-)

bye 

daniel

-- 
[ The only reality is virtual ]          




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


need help with nvidia drivers

2009-11-03 Thread Super Biscuit
I'm not able to use the glx settings on my computer.
RGB comes back as a double buffer error.



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


need help: crashing appears to be caused by/within console screen saver

2009-07-24 Thread Edward Sanford Sutton, III
  I do not know where I should ask for help but I have core files from July 
24, 23, 21 (x2), 19, 16 (x2) and May 17. All of the July crashes appear 
similar. The May crash was unrelated but shows that things were relatively 
stable until the first of these glitches. I am currently using the nvidia 
driver version 180.60 from ports on FreeBSD 7.2-RELEASE #0.
  The crashes typically take place when running through port rebuilds and 
upgrades, which I often do from the 3rd terminal. It usually occurs when I am 
away, but I just saw it where it looked like it was going to load the 
terminal screen saver and the screen just sat blank for maybe 10 seconds and 
then the system was restarting. I have since unloaded logo_saver.ko but would 
still like to resolve the source of the crashes if possible.
  Any suggestions where I should go from here and what other information would 
be helpful? At the end I copied a kgdb with a backtrace; It is what lead me 
to see that it crashed each time as the screen saver was activating (or so it 
now seems likely).
Thanks again,
Edward Sutton


# kgdb kernel.debug /var/crash/vmcore.22
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-marcel-freebsd...

Unread portion of the kernel message buffer:
panic: pmap_mapdev: Couldn't alloc kernel virtual memory
cpuid = 0
Uptime: 11h49m19s
Physical memory: 2031 MB
Dumping 233 MB: 218 202 186 170 154 138 122 106 90 74 58 42 26 10

Reading symbols from /boot/kernel/splash_bmp.ko...Reading symbols 
from /boot/kernel/splash_bmp.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/splash_bmp.ko
Reading symbols from /boot/kernel/vesa.ko...Reading symbols 
from /boot/kernel/vesa.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/vesa.ko
Reading symbols from /boot/kernel/geom_vinum.ko...Reading symbols 
from /boot/kernel/geom_vinum.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/geom_vinum.ko
Reading symbols from /boot/kernel/linux.ko...Reading symbols 
from /boot/kernel/linux.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/linux.ko
Reading symbols from /boot/kernel/snd_ich.ko...Reading symbols 
from /boot/kernel/snd_ich.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/snd_ich.ko
Reading symbols from /boot/kernel/sound.ko...Reading symbols 
from /boot/kernel/sound.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/sound.ko
Reading symbols from /boot/kernel/aio.ko...Reading symbols 
from /boot/kernel/aio.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/aio.ko
Reading symbols from /boot/kernel/sem.ko...Reading symbols 
from /boot/kernel/sem.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/sem.ko
Reading symbols from /boot/modules/nvidia.ko...done.
Loaded symbols for /boot/modules/nvidia.ko
Reading symbols from /boot/modules/kqemu.ko...done.
Loaded symbols for /boot/modules/kqemu.ko
Reading symbols from /boot/modules/ltmdm.ko...done.
Loaded symbols for /boot/modules/ltmdm.ko
Reading symbols from /boot/kernel/acpi.ko...Reading symbols 
from /boot/kernel/acpi.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/acpi.ko
Reading symbols from /boot/kernel/linprocfs.ko...Reading symbols 
from /boot/kernel/linprocfs.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/linprocfs.ko
Reading symbols from /boot/kernel/logo_saver.ko...Reading symbols 
from /boot/kernel/logo_saver.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/logo_saver.ko
Reading symbols from /usr/local/modules/rtc.ko...done.
Loaded symbols for /usr/local/modules/rtc.ko
#0  doadump () at pcpu.h:196
196 __asm __volatile(movl %%fs:0,%0 : =r (td));
(kgdb) bt
#0  doadump () at pcpu.h:196
#1  0xc0590dbf in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2  0xc0591084 in panic (fmt=Variable fmt is not available.
) at /usr/src/sys/kern/kern_shutdown.c:574
#3  0xc07ffc54 in pmap_mapdev_attr (pa=3489660928, size=268435456, mode=0)
at /usr/src/sys/i386/i386/pmap.c:4349
#4  0xc07ffcfe in pmap_mapdev (pa=3489660928, size=268435456)
at /usr/src/sys/i386/i386/pmap.c:4366
#5  0xc09b51d5 in vesa_set_mode (adp=0xc08e5620, mode=259)
at /usr/src/sys/modules/vesa/../../i386/isa/vesa.c:835
#6  0xc642ea58 in logo_saver (adp=0xc08e5620, blank=1)
at /usr/src/sys/modules/syscons/logo/../../../dev/syscons/logo/logo_saver.c:117
#7  0xc04909f6 in splash (adp=0xc08e5620, on=1)
at /usr/src/sys/dev/fb/splash.c:211
#8  0xc04da60c in scsplash_saver (sc=0xc08f2960, show=1)
at /usr/src/sys/dev/syscons/syscons.c:1957
#9  0xc04dc72e in scrn_timer (arg=0xc08f2960)
at /usr/src/sys/dev/syscons/syscons.c:1767
#10 0xc05a27af in softclock (dummy=0x0) 
at /usr/src/sys/kern/kern_timeout.c:274
#11 

Re: Need help for acroread8

2009-03-22 Thread Boris Samorodov
Hi,


Manish Jain invalid.poin...@gmail.com writes:

 Hello Boris,

You are top-posting again. :-(

 I can't really explain how, but I have got acroread8 up and running on
 my system. All I did was deinstall and reinstall pango and
 linux-pango. I then created the following 2 symlinks :

 /compat/linux/etc/pango/pango.modules - 
 /compat/linux/etc/pango/i686-redhat-linux-gnu/pango.modules

 /compat/linux/usr/bin/pango-querymodules - 
 /compat/linux/usr/bin/pango-querymodules-32

 Then I ran /compat/linux/usr/bin/pango-querymodules as root, which
 populated pango.modules.

Neither of those files should present at the system if you install
linux programs via ports/packages (if they do, please, reproduce it
and file a PR):
. /compat/linux/etc/pango/pango.modules;
. /compat/linux/usr/bin/pango-querymodules;
. /compat/linux/usr/bin/pango-querymodules.

All those files are autocreated by the port/package:
. /compat/linux/usr/bin/pango-querymodules-32;
. /compat/linux/etc/pango/i686-redhat-linux-gnu/pango.modules.

 Once that happened, to my surprise, acroread
 fired up and ran seamlessly.

The port system do it for you automatically. Hence, you should
find out how did you manage to get there earlier to not get there
in the future.

 It still gives the warning about the
 missing libgnomebreakpad.so, like all other linux inherited
 applications do, but that appears to be harmless.

 Thanks for all the help.

 Regards
 Manish Jain
 invalid.poin...@gmail.com



 Boris Samorodov wrote:
 Manish Jain invalid.poin...@gmail.com writes:

 Hello Boris,

 I followed your leads and I am now left with the following :

 Please, show what exactly you have done. And give output of
 two commands from those URLs. And try to not top-post. Otherwise
 you yourself won't understand the email.

  Gtk-Message: Failed to load module gnomebreakpad:
 libgnomebreakpad.so: cannot open shared object file: No such file or
 directory
 
  (acroread:41717): Pango-WARNING **: No builtin or
 dynamically loaded modules
  were found. Pango will not work correctly. This probably means
  there was an error in the creation of:
'/etc/pango/pango.modules'
  You may be able to recreate this file by running pango-querymodules.
 
  (acroread:41717): Pango-CRITICAL **:
 _pango_engine_shape_shape: assertion `PANGO_IS_FONT (font)' failed
 
  Pango-ERROR **: file shape.c: line 75 (pango_shape):
 assertion failed: (glyphs-num_glyphs  0)
  aborting...
 
  [1]+  Exit 1  acroread

 'locate libgnomebreakpad' gives :
 /usr/local/lib/gtk-2.0/modules/libgnomebreakpad.la
 /usr/local/lib/gtk-2.0/modules/libgnomebreakpad.so

 So, these would be the FreeBSD versions of the library and not the
 linux ones, which would be the ones acroread would be looking for.
 However this does not seem to a fatal error. linux-ymessenger also
 reports the same error but loads and runs successfully.

 Effectively, I am left with the pango error, which is fatal indeed and
 I have no idea how to get around. I would give up on acroread and try
 something else but for 2 reasons :

 1) acroread is more sophisticated than anything else available
 2) this has partly become an ego issue at my end.

 Any help would be greatly appreciated.

 Thanks in advance
 Manish Jain
 invalid.poin...@gmail.com


 Boris Samorodov wrote:
 On Tue, 17 Mar 2009 06:33:23 +0530 Manish Jain wrote:

 Anyway, if anyone has any clue how to get me out of this acroread
 mess, I would be really grateful.
 Those URLs may be a good start for you:
 http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/194334.html
 http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/194354.html


 WBR

 WBR

WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Need help for acroread8

2009-03-21 Thread Manish Jain


Hello Boris,

I can't really explain how, but I have got acroread8 up and running 
on my system. All I did was deinstall and reinstall pango and 
linux-pango. I then created the following 2 symlinks :


/compat/linux/etc/pango/pango.modules - 
/compat/linux/etc/pango/i686-redhat-linux-gnu/pango.modules


/compat/linux/usr/bin/pango-querymodules - 
/compat/linux/usr/bin/pango-querymodules-32


Then I ran /compat/linux/usr/bin/pango-querymodules as root, which 
populated pango.modules. Once that happened, to my surprise, 
acroread fired up and ran seamlessly. It still gives the warning 
about the missing libgnomebreakpad.so, like all other linux 
inherited applications do, but that appears to be harmless.


Thanks for all the help.

Regards
Manish Jain
invalid.poin...@gmail.com



Boris Samorodov wrote:

Manish Jain invalid.poin...@gmail.com writes:


Hello Boris,

I followed your leads and I am now left with the following :


Please, show what exactly you have done. And give output of
two commands from those URLs. And try to not top-post. Otherwise
you yourself won't understand the email.


 Gtk-Message: Failed to load module gnomebreakpad:
libgnomebreakpad.so: cannot open shared object file: No such file or
directory

 (acroread:41717): Pango-WARNING **: No builtin or  
dynamically loaded modules
 were found. Pango will not work correctly. This probably means
 there was an error in the creation of:
   '/etc/pango/pango.modules'
 You may be able to recreate this file by running pango-querymodules.

 (acroread:41717): Pango-CRITICAL **:
_pango_engine_shape_shape: assertion `PANGO_IS_FONT (font)' failed

 Pango-ERROR **: file shape.c: line 75 (pango_shape):
assertion failed: (glyphs-num_glyphs  0)
 aborting...

 [1]+  Exit 1  acroread

'locate libgnomebreakpad' gives :
/usr/local/lib/gtk-2.0/modules/libgnomebreakpad.la
/usr/local/lib/gtk-2.0/modules/libgnomebreakpad.so

So, these would be the FreeBSD versions of the library and not the
linux ones, which would be the ones acroread would be looking for.
However this does not seem to a fatal error. linux-ymessenger also
reports the same error but loads and runs successfully.

Effectively, I am left with the pango error, which is fatal indeed and
I have no idea how to get around. I would give up on acroread and try
something else but for 2 reasons :

1) acroread is more sophisticated than anything else available
2) this has partly become an ego issue at my end.

Any help would be greatly appreciated.

Thanks in advance
Manish Jain
invalid.poin...@gmail.com


Boris Samorodov wrote:

On Tue, 17 Mar 2009 06:33:23 +0530 Manish Jain wrote:


Anyway, if anyone has any clue how to get me out of this acroread
mess, I would be really grateful.

Those URLs may be a good start for you:
http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/194334.html
http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/194354.html


WBR


WBR

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


Re: Need help for acroread8

2009-03-20 Thread Manish Jain


Hello Boris,

I followed your leads and I am now left with the following :

	 Gtk-Message: Failed to load module gnomebreakpad: 
libgnomebreakpad.so: cannot open shared object file: No such file or 
directory


 (acroread:41717): Pango-WARNING **: No builtin or  
dynamically loaded modules
 were found. Pango will not work correctly. This probably means
 there was an error in the creation of:
   '/etc/pango/pango.modules'
 You may be able to recreate this file by running pango-querymodules.

	 (acroread:41717): Pango-CRITICAL **: _pango_engine_shape_shape: 
assertion `PANGO_IS_FONT (font)' failed


	 Pango-ERROR **: file shape.c: line 75 (pango_shape): assertion 
failed: (glyphs-num_glyphs  0)

 aborting...

 [1]+  Exit 1  acroread

'locate libgnomebreakpad' gives :
/usr/local/lib/gtk-2.0/modules/libgnomebreakpad.la
/usr/local/lib/gtk-2.0/modules/libgnomebreakpad.so

So, these would be the FreeBSD versions of the library and not the 
linux ones, which would be the ones acroread would be looking for.
However this does not seem to a fatal error. linux-ymessenger also 
reports the same error but loads and runs successfully.


Effectively, I am left with the pango error, which is fatal indeed 
and I have no idea how to get around. I would give up on acroread 
and try something else but for 2 reasons :


1) acroread is more sophisticated than anything else available
2) this has partly become an ego issue at my end.

Any help would be greatly appreciated.

Thanks in advance
Manish Jain
invalid.poin...@gmail.com


Boris Samorodov wrote:

On Tue, 17 Mar 2009 06:33:23 +0530 Manish Jain wrote:


Anyway, if anyone has any clue how to get me out of this acroread
mess, I would be really grateful.


Those URLs may be a good start for you:
http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/194334.html
http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/194354.html


WBR

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


Re: Need help for acroread8

2009-03-20 Thread Boris Samorodov
Manish Jain invalid.poin...@gmail.com writes:

 Hello Boris,

 I followed your leads and I am now left with the following :

Please, show what exactly you have done. And give output of
two commands from those URLs. And try to not top-post. Otherwise
you yourself won't understand the email.

Gtk-Message: Failed to load module gnomebreakpad:
 libgnomebreakpad.so: cannot open shared object file: No such file or
 directory
   
(acroread:41717): Pango-WARNING **: No builtin or
 dynamically loaded modules
were found. Pango will not work correctly. This probably means
there was an error in the creation of:
  '/etc/pango/pango.modules'
You may be able to recreate this file by running pango-querymodules.
   
(acroread:41717): Pango-CRITICAL **:
 _pango_engine_shape_shape: assertion `PANGO_IS_FONT (font)' failed
   
Pango-ERROR **: file shape.c: line 75 (pango_shape):
 assertion failed: (glyphs-num_glyphs  0)
aborting...
   
[1]+  Exit 1  acroread

 'locate libgnomebreakpad' gives :
 /usr/local/lib/gtk-2.0/modules/libgnomebreakpad.la
 /usr/local/lib/gtk-2.0/modules/libgnomebreakpad.so

 So, these would be the FreeBSD versions of the library and not the
 linux ones, which would be the ones acroread would be looking for.
 However this does not seem to a fatal error. linux-ymessenger also
 reports the same error but loads and runs successfully.

 Effectively, I am left with the pango error, which is fatal indeed and
 I have no idea how to get around. I would give up on acroread and try
 something else but for 2 reasons :

 1) acroread is more sophisticated than anything else available
 2) this has partly become an ego issue at my end.

 Any help would be greatly appreciated.

 Thanks in advance
 Manish Jain
 invalid.poin...@gmail.com


 Boris Samorodov wrote:
 On Tue, 17 Mar 2009 06:33:23 +0530 Manish Jain wrote:

 Anyway, if anyone has any clue how to get me out of this acroread
 mess, I would be really grateful.

 Those URLs may be a good start for you:
 http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/194334.html
 http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/194354.html


 WBR

WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Need help for acroread8

2009-03-19 Thread Boris Samorodov
On Tue, 17 Mar 2009 06:33:23 +0530 Manish Jain wrote:

 Anyway, if anyone has any clue how to get me out of this acroread
 mess, I would be really grateful.

Those URLs may be a good start for you:
http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/194334.html
http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/194354.html


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Need help for acroread8

2009-03-17 Thread Albert Shih
 Le 17/03/2009 à 06:33:23+0530, Manish Jain a écrit
 
 Hi all,
 
 After browsing mailing lists for hours, I was finally able to 
 install acroread8 on my FreeBSD 7.1R system. But it STILL does not 
 start. Attached below is the output (repeated messages removed) :
 
use kpdf (in /usr/ports/graphics/kdegraphics3) or okular
(/usr/ports/graphics/kdegraphics4).

It'work very fine. 

I drop acroread since 5.x

Regards.


-- 
Albert SHIH
SIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
Heure local/Local time:
Mar 17 mar 2009 15:57:26 CET
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Need help for acroread8

2009-03-17 Thread Ricardo Jesus

Manish Jain wrote:


Hi all,

After browsing mailing lists for hours, I was finally able to install 
acroread8 on my FreeBSD 7.1R system. But it STILL does not start. 
Attached below is the output (repeated messages removed) :



Gtk-Message: Failed to load module gnomebreakpad:
  libgnomebreakpad.so: cannot open shared object file: No such file or 
directory


(acroread:9218): GdkPixbuf-WARNING **: Cannot open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders':

  No such file or directory


(acroread:9218): GdkPixbuf-WARNING **: Error loading XPM image loader: 
Image type 'xpm' is not supported


(acroread:9218): GLib-GObject-CRITICAL **: g_object_ref: assertion 
`G_IS_OBJECT (object)' failed


(acroread:9218): Gdk-CRITICAL **: gdk_window_set_icon_list: assertion 
`GDK_IS_PIXBUF (pixbuf)' failed


(acroread:9218): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: 
assertion `pixbuf != NULL' failed


(acroread:9218): Pango-WARNING **: No builtin or dynamically loaded 
modules

were found. Pango will not work correctly. This probably means
there was an error in the creation of:
  '/etc/pango/pango.modules'
You may be able to recreate this file by running pango-querymodules.

(acroread:9218): Pango-CRITICAL **: _pango_engine_shape_shape: 
assertion `PANGO_IS_FONT (font)' failed


Pango-ERROR **: file shape.c: line 75 (pango_shape): assertion failed: 
(glyphs-num_glyphs  0)

aborting...

[2]+  Exit 1  acroread


My loader.conf has linux_load=YES, rc.conf has linux_enable=YES, 
linprocfs_enable=YES and fstab has an entry for linproc. I downloaded 
the latest ports tarball yesterday, did a 'portupgrade -rf 
emulators/linux_base-fc4', and [re]installed a number of ports (pango, 
linux-pango, cairo, linux-cairo, gdk-pixbuf, linux-gdk-pixbuf, pixman 
and may be a couple more). Then I installed acroread8.  But it still 
does not start, as you can from the message above.


Actually, there is at least one bug in the port as the message reveals. 
At runtime, acroread8 tries to look for /etc/pango/pango.modules, which 
- because of the port's linux heritage - translates to 
/compat/linux/etc/pango/pango.modules. This path is incorrect, at least 
with linux_base-fc4 - with which the correct  path turns out to be 
/compat/linux/etc/pango/i686-redhat-linux-gnu/pango.modules in my case. 
The user has to fix it with a symlink himself.


I am beginning to wonder why can't FreeBSD simply put on the 
distribution media binary packages for programs that almost everyone 
uses these days (thunderbird, acroread) and which take an immense amount 
of time/effort to build. The FreeBSD DVD is more than half empty and I 
am sure nobody would mind spending a couple of hours extra at 
download-time what possibly might save a couple of weeks and a whole lot 
of headaches at install-time.


Anyway, if anyone has any clue how to get me out of this acroread mess, 
I would be really grateful.


Thanks in advance
Manish Jain
invalid.poin...@gmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org


I like epdfview, xpdf and kpdf (under KDE). Under Gnome epdfview and 
evince are very good alternative.


Personally I've never used Acrobat Reader in any Unix-like system, but 
some people do have specific needs. If that's you case please raise a 
PR, otherwise just give a chance to other applications.


If want to save building time stick with packages (smaller download and 
no compiling) but don't mix ports and packages if possible.


Regards,
Ricardo Jesus.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Need help for acroread8

2009-03-16 Thread Manish Jain


Hi all,

After browsing mailing lists for hours, I was finally able to 
install acroread8 on my FreeBSD 7.1R system. But it STILL does not 
start. Attached below is the output (repeated messages removed) :



Gtk-Message: Failed to load module gnomebreakpad:
 libgnomebreakpad.so: cannot open shared object file: No such file 
or directory


(acroread:9218): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file 
'/etc/gtk-2.0/gdk-pixbuf.loaders':

 No such file or directory


(acroread:9218): GdkPixbuf-WARNING **: Error loading XPM image loader: Image 
type 'xpm' is not supported

(acroread:9218): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT 
(object)' failed

(acroread:9218): Gdk-CRITICAL **: gdk_window_set_icon_list: assertion 
`GDK_IS_PIXBUF (pixbuf)' failed

(acroread:9218): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf 
!= NULL' failed

(acroread:9218): Pango-WARNING **: No builtin or dynamically loaded modules
were found. Pango will not work correctly. This probably means
there was an error in the creation of:
  '/etc/pango/pango.modules'
You may be able to recreate this file by running pango-querymodules.

(acroread:9218): Pango-CRITICAL **: _pango_engine_shape_shape: assertion 
`PANGO_IS_FONT (font)' failed

Pango-ERROR **: file shape.c: line 75 (pango_shape): assertion failed: 
(glyphs-num_glyphs  0)
aborting...

[2]+  Exit 1  acroread


My loader.conf has linux_load=YES, rc.conf has linux_enable=YES, 
linprocfs_enable=YES and fstab has an entry for linproc. I 
downloaded the latest ports tarball yesterday, did a 'portupgrade 
-rf emulators/linux_base-fc4', and [re]installed a number of ports 
(pango, linux-pango, cairo, linux-cairo, gdk-pixbuf, 
linux-gdk-pixbuf, pixman and may be a couple more). Then I installed 
acroread8.  But it still does not start, as you can from the message 
above.


Actually, there is at least one bug in the port as the message 
reveals. At runtime, acroread8 tries to look for 
/etc/pango/pango.modules, which - because of the port's linux 
heritage - translates to /compat/linux/etc/pango/pango.modules. This 
path is incorrect, at least with linux_base-fc4 - with which the 
correct  path turns out to be 
/compat/linux/etc/pango/i686-redhat-linux-gnu/pango.modules in my 
case. The user has to fix it with a symlink himself.


I am beginning to wonder why can't FreeBSD simply put on the 
distribution media binary packages for programs that almost everyone 
uses these days (thunderbird, acroread) and which take an immense 
amount of time/effort to build. The FreeBSD DVD is more than half 
empty and I am sure nobody would mind spending a couple of hours 
extra at download-time what possibly might save a couple of weeks 
and a whole lot of headaches at install-time.


Anyway, if anyone has any clue how to get me out of this acroread 
mess, I would be really grateful.


Thanks in advance
Manish Jain
invalid.poin...@gmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Need help for acroread8

2009-03-16 Thread bf




--- On Mon, 3/16/09, Manish Jain invalid.poin...@gmail.com wrote:

 From: Manish Jain invalid.poin...@gmail.com
 Subject: Need help for acroread8
 To: freebsd-questions@freebsd.org, bf20...@yahoo.com
 Date: Monday, March 16, 2009, 9:03 PM
 Hi all,
 
 After browsing mailing lists for hours, I was finally able
 to install acroread8 on my FreeBSD 7.1R system. But it STILL
 does not start. Attached below is the output (repeated
 messages removed) :
 
  Gtk-Message: Failed to load module
 gnomebreakpad:
  libgnomebreakpad.so: cannot open shared object file:
 No such file or directory
  
  (acroread:9218): GdkPixbuf-WARNING **: Cannot open
 pixbuf loader module file
 '/etc/gtk-2.0/gdk-pixbuf.loaders':
  No such file or directory
  
  (acroread:9218): GdkPixbuf-WARNING **: Error loading
 XPM image loader: Image type 'xpm' is not supported
  
  (acroread:9218): GLib-GObject-CRITICAL **:
 g_object_ref: assertion `G_IS_OBJECT (object)' failed
  
  (acroread:9218): Gdk-CRITICAL **:
 gdk_window_set_icon_list: assertion `GDK_IS_PIXBUF
 (pixbuf)' failed
  
  (acroread:9218): GdkPixbuf-CRITICAL **:
 gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed
  
  (acroread:9218): Pango-WARNING **: No builtin or
 dynamically loaded modules
  were found. Pango will not work correctly. This
 probably means
  there was an error in the creation of:
'/etc/pango/pango.modules'
  You may be able to recreate this file by running
 pango-querymodules.
  
  (acroread:9218): Pango-CRITICAL **:
 _pango_engine_shape_shape: assertion `PANGO_IS_FONT
 (font)' failed
  
  Pango-ERROR **: file shape.c: line 75 (pango_shape):
 assertion failed: (glyphs-num_glyphs  0)
  aborting...
  
  [2]+  Exit 1  acroread
 
 My loader.conf has linux_load=YES, rc.conf has
 linux_enable=YES, linprocfs_enable=YES and fstab has an
 entry for linproc. I downloaded the latest ports tarball
 yesterday, did a 'portupgrade -rf
 emulators/linux_base-fc4', and [re]installed a number of
 ports (pango, linux-pango, cairo, linux-cairo, gdk-pixbuf,
 linux-gdk-pixbuf, pixman and may be a couple more). Then I
 installed acroread8.  But it still does not start, as you
 can from the message above.
 
 Actually, there is at least one bug in the port as the
 message reveals. At runtime, acroread8 tries to look for
 /etc/pango/pango.modules, which - because of the port's
 linux heritage - translates to
 /compat/linux/etc/pango/pango.modules. This path is
 incorrect, at least with linux_base-fc4 - with which the
 correct  path turns out to be
 /compat/linux/etc/pango/i686-redhat-linux-gnu/pango.modules
 in my case. The user has to fix it with a symlink himself.
 
 I am beginning to wonder why can't FreeBSD simply put
 on the distribution media binary packages for programs that
 almost everyone uses these days (thunderbird, acroread) and
 which take an immense amount of time/effort to build. The
 FreeBSD DVD is more than half empty and I am sure nobody
 would mind spending a couple of hours extra at download-time
 what possibly might save a couple of weeks and a whole lot
 of headaches at install-time.
 
 Anyway, if anyone has any clue how to get me out of this
 acroread mess, I would be really grateful.
 
 Thanks in advance
 Manish Jain
 invalid.poin...@gmail.com


The DVD is new. Until fairly recently, only CDs were built, and
so the people making the distribution were somewhat conservative
in their choice of software to include.  And with a big DVD
image both users and FreeBSD servers will have to cope with more
network traffic. Also, everyone has their own ideas about what
to include, and you can't satisfy everyone.  I have been using
FreeBSD for years now and I have never used any of the software
that you mention.

In this case, though, there is another constraint: the Adobe
software has a more restrictive license which forbids
redistribution, without going through the trouble of 
obtaining a Distribution License Agreement, renewing the
license, determining whether you are in complicance, etc, etc.
The FreeBSD project is generally opposed to using such software,
and in any case they don't want to be burdened with legal
rigmarole and expense.  So you should complain to Adobe (good
luck! ;) ) about this, not FreeBSD.  (If you do, you can tell
Adobe to get off their asses and build native FreeBSD binaries,
so that you won't have to jump through all these hoops.)

Have you examined your alternatives?  There are a number of other
PDF readers in Ports that don't have restrictive licenses, and
don't require Linux emulation, and will serve just as well except
perhaps on some very new PDF files with special features that
aren't all that commmon and may not work anyway:

1) print/ghostscript, either by itself, or with one of it's many front-ends:
print/gv
print/gspdf
print/gsview
...

2) a graphics/poppler based front-end:
graphics/epdfview
graphics/evince
...

3) graphics/xpdf

4) print/pdf-renderer

etc.

Likewise, there are many alternatives to Thunderbird

Re: Start-up of freeBSD need help with one question.

2009-01-24 Thread Lowell Gilbert
Bob Falanga rfalang@gmail.com writes:

 When I try to configure a printer, CUPS requires a user id, my own or root.
 But it will not accept either.
 Interestingly, at boot up time I saw CUPS started three times but cannot
 find where all the requests for start is.
 I added a line in rd.conf to start CUPS but that is the only place.

I'd try to solve the second problem before the first (for me, the root
password works fine; although normally, I don't *have* a valid password
on the root account).

The correct way to start cups from rc.conf is:
cupsd_enable=YES
Is that how you do it? 

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Start-up of freeBSD need help with one question.

2009-01-23 Thread Bob Falanga
When I try to configure a printer, CUPS requires a user id, my own or root.
But it will not accept either.
Interestingly, at boot up time I saw CUPS started three times but cannot
find where all the requests for start is.
I added a line in rd.conf to start CUPS but that is the only place.

Bob Falanga
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: NEED HELP FOR SUITABLE VERSION

2008-12-12 Thread Nguyen Tam Chinh
On Fri, Dec 12, 2008 at 11:21 AM, Sahil Tandon sa...@tandon.net wrote:
 hitech resources wrote:

 *HI, i have PowerEdge(TM) 840, Quad Core Xeon Pro X3220 Processor, so what
 is the suitable version of FreeBSD i could use. I actually want to use it
 for server purposes. TQ

 7


And amd64 also :)

-- 
With best regards,
Chinh Nguyen

***
FreeBSD - The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: NEED HELP FOR SUITABLE VERSION

2008-12-12 Thread Jerry McAllister
On Fri, Dec 12, 2008 at 10:55:49AM +0800, hitech resources wrote:

 *HI, i have PowerEdge(TM) 840, Quad Core Xeon Pro X3220 Processor, so what
 is the suitable version of FreeBSD i could use. I actually want to use it
 for server purposes. TQ

Go with the latest RELEASE.  If you can wait a short time, or reinstall
after experimenting a while, go with 7.1.   

jerry

 -- 
 *
 *Regards*
 Mohd Shamsi Hafiz
 Hi-Technology Resources
 Pekan Sungai Nibong
 45400 Sekinchan
 Selangor, Malaysia
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


NEED HELP FOR SUITABLE VERSION

2008-12-11 Thread hitech resources
*HI, i have PowerEdge(TM) 840, Quad Core Xeon Pro X3220 Processor, so what
is the suitable version of FreeBSD i could use. I actually want to use it
for server purposes. TQ
-- 
*
*Regards*
Mohd Shamsi Hafiz
Hi-Technology Resources
Pekan Sungai Nibong
45400 Sekinchan
Selangor, Malaysia
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: NEED HELP FOR SUITABLE VERSION

2008-12-11 Thread Sahil Tandon
hitech resources wrote:

 *HI, i have PowerEdge(TM) 840, Quad Core Xeon Pro X3220 Processor, so what
 is the suitable version of FreeBSD i could use. I actually want to use it
 for server purposes. TQ

7

-- 
Sahil Tandon sa...@tandon.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


need help with disklabel, expected rawoffset 0, found 32

2008-10-21 Thread Per olof Ljungmark
Hi,

I think sysinstall? got it wrong here and I get the complaint in the
subject line on boot. This is amd64 if that matters. Nothing edited by hand.

I must admit I don't fully understand what is going on here, found 32
but the offsets are 63...

Filesystem on LSI controller amr(4):

# /dev/amrd0s1a:
type: ESDI
disk: amrd0s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 65535
sectors/unit: 2929674240
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  4194304   634.2BSD 2048 16384 28528
  b:  8388608  4194367  swap
  c: 2929661532   63unused0 0 # raw part,
don't edit
  d: 31457280 125829754.2BSD 2048 16384 28528
  e:  2097152 440402554.2BSD 2048 16384 28528
  f: 41943040 461374074.2BSD 2048 16384 28528
  g: 2841581148 880804474.2BSD 2048 16384 28528
bsdlabel: partition c doesn't start at 0!
bsdlabel: partition c doesn't cover the whole unit!
bsdlabel: An incorrect partition c may cause problems for standard
system utilities


Filesystem on SmartArray controller ciss(4):

# /dev/da0s1d:
type: SCSI
disk: da0s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 53544
sectors/unit: 860192344
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  c: 860184297   63unused0 0 # raw part,
don't edit
  d: 860184297   634.2BSD 2048 16384 28528
bsdlabel: partition c doesn't start at 0!
bsdlabel: partition c doesn't cover the whole unit!
bsdlabel: An incorrect partition c may cause problems for standard
system utilities

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


Re: need help with disklabel, expected rawoffset 0, found 32

2008-10-21 Thread Michel Talon

Per olof Ljungmark wrote:

 I must admit I don't fully understand what is going on here ...

The c partition should cover exactly the slice. For example, my ad0s1
is like that:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 81915372 (39997 Meg), flag 80 (active)
Now let us look at the label on this slice:
lilas# disklabel ad0s1
# /dev/ad0s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  104857604.2BSD 2048 16384 8 
  b:  4126240  1048576  swap
  c: 819153720unused0 0 # raw part,
don't edit
  d:  4159488  51748164.2BSD 2048 16384 28552 
  e: 72581068  93343044.2BSD 2048 16384 28552 

You can see that the c) partition starts at offset 0 and has exactly the
size 81915372 reported above. In your case you start at offset 63.

Note that the first partition a) should start at offset 16 (see the
offset entry in man bsdlabel) but this is not enforced in sysinstall.



-- 

Michel TALON

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


Re: need help with disklabel, expected rawoffset 0, found 32

2008-10-21 Thread Jerry McAllister
On Tue, Oct 21, 2008 at 09:53:52AM +0200, Per olof Ljungmark wrote:

 Hi,
 
 I think sysinstall? got it wrong here and I get the complaint in the
 subject line on boot. This is amd64 if that matters. Nothing edited by hand.
 
 I must admit I don't fully understand what is going on here, found 32
 but the offsets are 63...
 
 Filesystem on LSI controller amr(4):
 
 # /dev/amrd0s1a:
 type: ESDI
 disk: amrd0s1
 label:
 flags:
 bytes/sector: 512
 sectors/track: 63
 tracks/cylinder: 255
 sectors/cylinder: 16065
 cylinders: 65535
 sectors/unit: 2929674240
 rpm: 3600
 interleave: 1
 trackskew: 0
 cylinderskew: 0
 headswitch: 0   # milliseconds
 track-to-track seek: 0  # milliseconds
 drivedata: 0
 
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a:  4194304   634.2BSD 2048 16384 28528
   b:  8388608  4194367  swap
   c: 2929661532   63unused0 0 # raw part,
 don't edit
   d: 31457280 125829754.2BSD 2048 16384 28528
   e:  2097152 440402554.2BSD 2048 16384 28528
   f: 41943040 461374074.2BSD 2048 16384 28528
   g: 2841581148 880804474.2BSD 2048 16384 28528
 bsdlabel: partition c doesn't start at 0!
 bsdlabel: partition c doesn't cover the whole unit!
 bsdlabel: An incorrect partition c may cause problems for standard
 system utilities

I do not know what is causing this, but I think the offset of the 'c'
partition (and the first real partition (a in this case)) should be 0
I have seen this a couple of times a long time ago and don't remember
what happened other than I think I just arbitrarily set those offsets 
to 0 and it worked.

Can you try booting up the fixit shell and hitting the disk with
a manual fdisk and bsdlabel to see what happens.  

Also, you might try doing the dd(1) thing  
  dd if=/dev/zero of=/dev/amrd0 bs=512 count=1000
before the fdisk and then another one after creating the slices manually
  dd if=/dev/zero of=/dev/amrd0s1 bs=512 count=1000
Note, that count value is arbitrary.

That should clean up any junk on the drive.

Also, I haven't seen/dealt with a disk device called amrd0 before.  It 
appears to be something from one of the raid setups?  So, maybe doing 
the dd thing might mangle that although, once it is a device, it 
should work the same as a drive.   I ain't rich enough to have one of
those raids to play with, though, so if someone else says otherwise,
believe them.

jerry


 
 
 Filesystem on SmartArray controller ciss(4):
 
 # /dev/da0s1d:
 type: SCSI
 disk: da0s1
 label:
 flags:
 bytes/sector: 512
 sectors/track: 63
 tracks/cylinder: 255
 sectors/cylinder: 16065
 cylinders: 53544
 sectors/unit: 860192344
 rpm: 3600
 interleave: 1
 trackskew: 0
 cylinderskew: 0
 headswitch: 0   # milliseconds
 track-to-track seek: 0  # milliseconds
 drivedata: 0
 
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   c: 860184297   63unused0 0 # raw part,
 don't edit
   d: 860184297   634.2BSD 2048 16384 28528
 bsdlabel: partition c doesn't start at 0!
 bsdlabel: partition c doesn't cover the whole unit!
 bsdlabel: An incorrect partition c may cause problems for standard
 system utilities
 
 ___
 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: need help with disklabel, expected rawoffset 0, found 32

2008-10-21 Thread Per olof Ljungmark

Jerry McAllister wrote:

On Tue, Oct 21, 2008 at 09:53:52AM +0200, Per olof Ljungmark wrote:


Hi,

I think sysinstall? got it wrong here and I get the complaint in the
subject line on boot. This is amd64 if that matters. Nothing edited by hand.

I must admit I don't fully understand what is going on here, found 32
but the offsets are 63...


snip


I do not know what is causing this, but I think the offset of the 'c'
partition (and the first real partition (a in this case)) should be 0
I have seen this a couple of times a long time ago and don't remember
what happened other than I think I just arbitrarily set those offsets 
to 0 and it worked.


Can you try booting up the fixit shell and hitting the disk with
a manual fdisk and bsdlabel to see what happens.  

Also, you might try doing the dd(1) thing  
  dd if=/dev/zero of=/dev/amrd0 bs=512 count=1000

before the fdisk and then another one after creating the slices manually
  dd if=/dev/zero of=/dev/amrd0s1 bs=512 count=1000
Note, that count value is arbitrary.

That should clean up any junk on the drive.

Also, I haven't seen/dealt with a disk device called amrd0 before.  It 
appears to be something from one of the raid setups?  So, maybe doing 
the dd thing might mangle that although, once it is a device, it 
should work the same as a drive.   I ain't rich enough to have one of

those raids to play with, though, so if someone else says otherwise,
believe them.


This is a backup server that uses da0 as a spool disk, we recreated that 
one so it looks ok. However, we still see expected rawoffset 0, found 
32 when booting and shutdown. It appears to me that sysinstall rewrote 
the MBR for amrd0 even if to my best knowledge it was not touched by us.


Below is some information in case someone with insight might see the 
issue. Please let me know what more I can provide, thanks!



camcontrol devlist -v
scbus0 on ciss0 bus 0:
COMPAQ RAID 5  VOLUME OK at scbus0 target 0 lun 0 (pass0,da0)
scbus1 on ciss0 bus 32:
scbus2 on mpt0 bus 0:
HP UHDL-LTO 0014 at scbus2 target 0 lun 0 (pass1,ch0)
HP Ultrium 2-SCSI F68W   at scbus2 target 5 lun 0 (sa0,pass2)
 at scbus2 target -1 lun -1 ()
scbus3 on mpt1 bus 0:
QUANTUM DLT VS160 2200   at scbus3 target 2 lun 0 (sa1,pass3)
QUANTUM DLT VS160 2200   at scbus3 target 3 lun 0 (sa2,pass4)
 at scbus3 target -1 lun -1 ()
scbus4 on amr0 bus 0:
SEAGATE ST3300655LC 0003 at scbus4 target 0 lun 0 (pass5)
SEAGATE ST3300655LC 0003 at scbus4 target 1 lun 0 (pass6)
SEAGATE ST3300655LC 0003 at scbus4 target 2 lun 0 (pass7)
SEAGATE ST3300655LC 0003 at scbus4 target 3 lun 0 (pass8)
SEAGATE ST3300655LC 0003 at scbus4 target 4 lun 0 (pass9)
SEAGATE ST3300655LC 0003 at scbus4 target 5 lun 0 (pass10)
scbus-1 on xpt0 bus 0:
 at scbus-1 target -1 lun -1 (xpt0)

disklabel -A amrd0s1:

# /dev/amrd0s1:
type: ESDI
disk: amrd0s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 65535
sectors/unit: 2929674240
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  419430404.2BSD 2048 16384 28528
  b:  8388608  4194304  swap
  c: 29296615320unused0 0 # raw part, 
don't edit

  d: 31457280 125829124.2BSD 2048 16384 28528
  e:  2097152 440401924.2BSD 2048 16384 28528
  f: 41943040 461373444.2BSD 2048 16384 28528
  g: 2841581148 880803844.2BSD 2048 16384 28528
disklabel: partition c doesn't cover the whole unit!
disklabel: An incorrect partition c may cause problems for standard 
system utilities


disklabel -A da0s1
# /dev/da0s1:
type: unknown
disk: amnesiac
label:
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 255
sectors/cylinder: 8160
cylinders: 105414
sectors/unit: 860184297
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  c: 8601842970unused0 0 # raw part, 
don't edit

  d: 860184233   634.2BSD 2048 16384 28528

fdisk -tv
*** Working on device /dev/amrd0 ***
parameters extracted from in-core disklabel are:
cylinders=182363 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=182363 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, 

Need help with - FreeBSD 7 FTP Config for Drupal Development

2008-10-19 Thread Bruce Wade
Hello,

Today I did a clean install of FreeBSD 7.

Installed and configured:
Apache: 2.2.9
MySQL Server: 5.0.67
PHP: 5.2.6
Drupal: 6.5

Everything is working with the default install and I can browse my server
from other computers. I am able to upload new modules to
drupal/sites/all/modules/{module_name} However I have a problem when
uploaded themes to drupal/sites/all/themes/{theme_name} for some reason the
server gets an access denied error. [Note: this happens when I ftp from
Vista and upload.] Seems that I have not set up the FTP correctly.

For FTP I am using: Pure - FTPD server 1.0.21

Basicly I need to know how to configure the ftp so when I upload a file to
the theme directory the website can still access the directory.

drupal is installed at: /usr/local/www/drupal6
permissions:
drwxr-xr-x 9 root www 512 drupal6
/sites/all/modules
drwxr-xr-x 4 root www 512 modules
/sites/all/themes
drwxr-xr-x 2 root www 512 themes

I have even tried changing the owner for the drupal6 folder and all sub
folders/files to the user I am logging in as but that still did not solve
the problem.

Here is what exactly happens. When I upload a new theme into the correct
directory then log into drupal the theme is seen in the list of available
themes, so that means the server is seeing the files. Once I activate the
theme my web page goes completely white. If I then delete the new theme
folder, the web page shows up again stating that the theme.inc file failed
because of access denied. It is strange that with the same process modules
work with no problem.

Any suggestions?
I am still fairly new to FreeBSD maybe it is something simple with
permissions that I have overlooked.

Regards,
-- 
Bruce Wade
Webmaster -
http://www.warplydesigned.com - Game Development
http://www.kaisingthong.com - Muay Thai Kick Boxing
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need help installing on SATA

2008-10-13 Thread Joseph Olatt
On Fri, Oct 10, 2008 at 11:06:51PM -0500, Conrad J. Sabatier wrote:
 Does anyone know the magic incantation that will permit me to install 
 FreeBSD on this new machine of mine (nVidia chipset, SATA1 disk 
 controller)?
 
 I've been trying for a week or so now, with no luck.  Just out of 
 curiosity, I downloaded and ran Ubuntu 8.x, and it recognized all of 
 my hardware automatically.  The FreeBSD installer (both in 7.x and 
 8.x), though, can't find my hard drive or CD-ROM.
 
 I *really* don't want to have to resort to Linux, not after using 
 FreeBSD for 12 years now, but if I can't find a solution to this 
 problem, I'll have no choice.  :-(
 
 Thanks for any advice.


Hello Conrad,

Recently I had a similar problem. My motherboard is:

NVIDIA MCP73

Fortunately, the above motherboard also has an ATA controller. So I
installed an ATA drive and installed FreeBSD 7.x.

Later I tried to patch the ata drivers but didn't get it right. See the
following thread:

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=101821+0+archive/2008/freebsd-stable/20080921.freebsd-stable

 
Later on, Andrey V. Elsukov provided a patch. See the following thread:

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=206853+0+archive/2008/freebsd-stable/20080928.freebsd-stable


I can now see the SATA drive (thanks to Andrey V. Elsukov) that is 
installed in the system with Ubuntu. But I'm still have some issues 
with the DVD Writer that is also connected to the SATA controller. I'm
getting read errors when I try to view a DVD. I haven't had the time 
to research it yet.

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


Re: Need help installing on SATA

2008-10-12 Thread Conrad J. Sabatier


On 10 Oct 2008 at 22:08, Brian wrote:

 Conrad J. Sabatier wrote:
  Does anyone know the magic incantation that will permit me to install 
  FreeBSD on this new machine of mine (nVidia chipset, SATA1 disk 
  controller)?
  
  I've been trying for a week or so now, with no luck.  Just out of 
  curiosity, I downloaded and ran Ubuntu 8.x, and it recognized all of 
  my hardware automatically.  The FreeBSD installer (both in 7.x and 
  8.x), though, can't find my hard drive or CD-ROM.

[snip]

 Can u not get thru the install, or do you have issues afterwards?
 I make it thru the install ok, but when I upgrade to stable, I have 
 problems due to numbering changes.
 I'd suggest using google or the freebsd website to search for your 
 motherboard model and some other search terms.
 You'll probably be told to check the supported hw list to start with.

No, the install process breaks down when I go to the disk 
partitioning screen, as no useable disks are being found at all.

I'll try to gather more detailed info on my hardware and try asking 
again.  Also will try 7.1-BETA, although I'm rather pessimistic since 
I've already tried the latest CURRENT snapshot with the same results.
:-(

Conrad



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


Re: Need help installing on SATA

2008-10-11 Thread Jerry
On Sat, 11 Oct 2008 04:17:24 -0700
Jeremy Chadwick [EMAIL PROTECTED] wrote:

People will use whatever gets the job done for them.  If it doesn't,
users *will* switch to another operating system, and there is
absolutely nothing wrong with that.  Why?  Because reality states:
solving problems is more important than advocacy or superiority.

I could not have said it better myself. While the hobbyist can afford
to spend whatever time they have available on their hobby; in a business
environment, results are what matter first and foremost. Neither
software nor hardware, irregardless of cost, is of any use if it does
not work, and work well. A pseudo elitist attitude is just not
acceptable in a corporate atmosphere.

-- 
Jerry
[EMAIL PROTECTED]

Bubble Memory, n.: A derogatory term, usually referring to a person's
intelligence.  See also vacuum tube.


signature.asc
Description: PGP signature


Re: Need help installing on SATA

2008-10-11 Thread Wojciech Puchar

they're committing a sin by using another operating system.  Open source
is about freedom of choice -- if FreeBSD doesn't work for you or get the
job done, and Linux does, then use Linux!  If Windows works for you, use
Windows!  There's absolutely no shame in that.  Blind, one-sided


except when it's not advocacy but superiority, for example i would rather 
seek other hardware than run linux.

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


Re: Need help installing on SATA

2008-10-11 Thread Jeremy Chadwick
On Fri, Oct 10, 2008 at 11:06:51PM -0500, Conrad J. Sabatier wrote:
 Does anyone know the magic incantation that will permit me to install 
 FreeBSD on this new machine of mine (nVidia chipset, SATA1 disk 
 controller)?

This information is too vague.  We need to know *exactly*:

1) What motherboard model,
2) What SATA controller you're using (nVidia chipset is too vague),
3) If you're using BIOS-level RAID or not,
4) What version of 7.x you're trying to install.

Please note that FreeBSD often does not support brand-spanking-new
hardware.  For example, there are Asus motherboards out right now
which use a Marvell ATA/PATA controller which FreeBSD does not have
support for.  Linux adopts brand-spanking-new hardware much quicker than
we do.

Finally, these problems are difficult to solve; it's a chicken-and-egg
problem.  Even if you can get into the Fixit CD's Fixit# prompt and
type dmesg, you probably don't have serial console or anything hooked
up, so getting us the dmesg output would be very difficult.

 I've been trying for a week or so now, with no luck.  Just out of 
 curiosity, I downloaded and ran Ubuntu 8.x, and it recognized all of 
 my hardware automatically.  The FreeBSD installer (both in 7.x and 
 8.x), though, can't find my hard drive or CD-ROM.

There have been *tons* of changes to the ATA/SATA layer between
different 7.x versions.  I would urge you to try 7.1-BETA (do not let
the term BETA scare you away) and see if it works for you:

ftp://ftp4.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/7.1/
ftp://ftp4.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/7.1/

There are some of us which have this problem on CURRENT (8.0).  For
example, in my case, my Promise TX4310 card is not even seen on the PCI
bus during boot-up, while it works just fine in RELENG_7.

 I *really* don't want to have to resort to Linux, not after using 
 FreeBSD for 12 years now, but if I can't find a solution to this 
 problem, I'll have no choice.  :-(

I'm not sure why people resort to saying things like this, like somehow
they're committing a sin by using another operating system.  Open source
is about freedom of choice -- if FreeBSD doesn't work for you or get the
job done, and Linux does, then use Linux!  If Windows works for you, use
Windows!  There's absolutely no shame in that.  Blind, one-sided
advocacy only harms open source projects.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Re: Need help installing on SATA

2008-10-11 Thread Jeremy Chadwick
On Sat, Oct 11, 2008 at 12:44:03PM +0200, Wojciech Puchar wrote:
 they're committing a sin by using another operating system.  Open source
 is about freedom of choice -- if FreeBSD doesn't work for you or get the
 job done, and Linux does, then use Linux!  If Windows works for you, use
 Windows!  There's absolutely no shame in that.  Blind, one-sided

 except when it's not advocacy but superiority, for example i would rather 
 seek other hardware than run linux.

What the OP described is definitely advocacy; I've been using FreeBSD
for 12 years and insert-sympathetic-cry-here.

The sooner users and system administrators stop toting this my-os
rocks!  It's better than yours!  It's better than other-os! attitude
the more mature and serious said operating system will appear to the
world, and to commercial vendors.

Speaking solely with regards to Linux: it has the upper hand in many
regards.  As someone who used Linux from 1992 until 1997, and switched
to BSD, I have experience in both worlds.  Linux today has:

- More kernel developers that know the innards well.  FreeBSD has no
  where near the quantity of said kernel folks, which means our guys
  are over-worked and stressed most of the time, and if a key person
  goes on hiatus, there's no guarantee issues will get dealt with while
  they are gone (see below),

- Multiple (read: more than one) kernel developers who are dedicated
  to parts of the kernel.  FreeBSD has many very key/important pieces
  which are maintained by *one individual ONLY*.  If that individual is
  busy with their job, real life, out sick, or even death (yes, this
  has happened!), it means that a key part of the kernel ends up being
  neglected for an indefinite amount of time (usually years),

- Full support from hardware manufacturers/vendors.  Linux developers
  are able to get development/test-bed cards (and usually documentation)
  for developing a new driver, sometimes for hardware/chips that aren't
  even on the market yet.  FreeBSD *very* rarely, if ever, gets this.
  We resort to looking at NetBSD or OpenBSD code (and they are in the
  same boat we are), hoping they have support for said hardware.  If
  not, we resort to looking at Linux code (which is immensely different
  from ours).  Vendors often ignore us.  I can expand on why I believe
  this is, but I have no example cases to back my opinions up,

- Turn-around time on fixes or bugs is significantly faster than ours,
  especially in kernel-land.  This is a direct result of having more
  regularly-operating eyes,

- Larger user base.  This means more bug reports, which I consider a
  good thing -- it means more things are getting fixed,

- More user-friendly interface pieces.  There are many aspects of
  FreeBSD which require knowledge of C, or require that someone write
  a C wrapper to get certain pieces of data from the kernel.  Linux
  has numerous methods which allow someone using Python or Ruby or
  Perl to access said data.  FreeBSD can accomplish this, there's
  nothing stopping us except time/effort, so it's not really a
  negative against FreeBSD; but people *are* picking Linux because
  of this,

- A significantly different attitude when it comes to support.  Back
  when I used Linux, the attitude was *horrible* (which is why I
  moved to BSD), but it has improved greatly in the past 10 years.
  I can expand on this if need be, but you'll just have to trust me
  for now.  One of the attitudes we have which is very unrealistic is
  you have the source, you can fix it yourself -- I'd say 80% of
  our community does not have the ability (or time) to do this.  It is
  rude and unprofessional of us to expect this of our users.

This is reality, I'm sorry to say; no form of advocacy, T-shirt-wearing,
or blogging FreeBSD rocks! will change it.  In my opinion, it's better
to embrace the above facts (because nothing is perfect, Linux
included!), and try to improve on them.

People will use whatever gets the job done for them.  If it doesn't,
users *will* switch to another operating system, and there is absolutely
nothing wrong with that.  Why?  Because reality states: solving problems
is more important than advocacy or superiority.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Need help installing on SATA

2008-10-10 Thread Conrad J. Sabatier
Does anyone know the magic incantation that will permit me to install 
FreeBSD on this new machine of mine (nVidia chipset, SATA1 disk 
controller)?

I've been trying for a week or so now, with no luck.  Just out of 
curiosity, I downloaded and ran Ubuntu 8.x, and it recognized all of 
my hardware automatically.  The FreeBSD installer (both in 7.x and 
8.x), though, can't find my hard drive or CD-ROM.

I *really* don't want to have to resort to Linux, not after using 
FreeBSD for 12 years now, but if I can't find a solution to this 
problem, I'll have no choice.  :-(

Thanks for any advice.



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


Re: Need help installing on SATA

2008-10-10 Thread Brian

Conrad J. Sabatier wrote:
Does anyone know the magic incantation that will permit me to install 
FreeBSD on this new machine of mine (nVidia chipset, SATA1 disk 
controller)?


I've been trying for a week or so now, with no luck.  Just out of 
curiosity, I downloaded and ran Ubuntu 8.x, and it recognized all of 
my hardware automatically.  The FreeBSD installer (both in 7.x and 
8.x), though, can't find my hard drive or CD-ROM.


I *really* don't want to have to resort to Linux, not after using 
FreeBSD for 12 years now, but if I can't find a solution to this 
problem, I'll have no choice.  :-(


Thanks for any advice.


Can u not get thru the install, or do you have issues afterwards?
I make it thru the install ok, but when I upgrade to stable, I have 
problems due to numbering changes.
I'd suggest using google or the freebsd website to search for your 
motherboard model and some other search terms.

You'll probably be told to check the supported hw list to start with.

Brian

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


Re: need help debugging port mapping/server setup

2008-08-15 Thread Kevin Smith
Thanks to Doug and help from others..problem solved...
With the help of tcpdump, I learned that packets from ssh were arriving at
the host, however the port was being blocked by the local firewall which I
configured to open.  The packet forwarding from the router was working all
the time.




On Sun, Aug 10, 2008 at 4:06 PM, Kevin Smith [EMAIL PROTECTED] wrote:

 I have my freebsd system configured with a static IP behind an Apple
 Airport Extreme router using ethernet connection rather than wireless.
  I am trying to set up dynamic dns (with dyndns.com service) and I
 would like to open port 80 and others so that I can use my freebsd
 system as a web server.

 My freebsd system is set up with ddclient to associate dynamic ip
 address of router (I have DHCP connection to my ISP,  the local
 connnection to my freebsd sytem is static ip address.

 Everything appears to be working and I am able to try to telnet the
 dyndns hostname and it returns the correct address of my router, but
 it does not appear that the router is forwarding the port request to
 the freebsd system.  The port tools on the website for dyndns.com
 return that the ports I am testing  are closed.  (80, 21, 23)

 How do I debug this ?  The AE router as a syslog that I have set for
 the highest level of debugging, but I do not see any port mapping
 requests in the.  The router is set of for NAT enabled and I have
 entered the static IP address of my freebsd system associated with the
 desired ports that I want.  A call to my ISP confirmed (at least they
 told me) that they do not block any ports.

 Any ideas on where to start ?

 Thanks!

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


need help debugging port mapping/server setup

2008-08-10 Thread Kevin Smith
I have my freebsd system configured with a static IP behind an Apple
Airport Extreme router using ethernet connection rather than wireless.
 I am trying to set up dynamic dns (with dyndns.com service) and I
would like to open port 80 and others so that I can use my freebsd
system as a web server.

My freebsd system is set up with ddclient to associate dynamic ip
address of router (I have DHCP connection to my ISP,  the local
connnection to my freebsd sytem is static ip address.

Everything appears to be working and I am able to try to telnet the
dyndns hostname and it returns the correct address of my router, but
it does not appear that the router is forwarding the port request to
the freebsd system.  The port tools on the website for dyndns.com
return that the ports I am testing  are closed.  (80, 21, 23)

How do I debug this ?  The AE router as a syslog that I have set for
the highest level of debugging, but I do not see any port mapping
requests in the.  The router is set of for NAT enabled and I have
entered the static IP address of my freebsd system associated with the
desired ports that I want.  A call to my ISP confirmed (at least they
told me) that they do not block any ports.

Any ideas on where to start ?

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


Need help to compile netlogin client

2008-07-19 Thread Kevin JR
It must login first with a client before surf into Internet for me. The client 
can be compiled well under linux, however, it failed under freebsd due to the 
following code dealing with acquire ip/mac information:

[CODE]
static void getAddr(int sockfd, struct usrinfoSet *pui)
{
    struct ifreq addr;

    memset(addr, 0x0, sizeof addr);
    strcpy(addr.ifr_name, pui - dev);

    if (ioctl(sockfd, SIOCGIFADDR, (char *)addr) == -1) {
        perror(ioctl);
        exit(EXIT_FAILURE);
    }

    strcpy(pui - ip, inet_ntoa(((struct sockaddr_in *)addr.ifr_addr) - 
sin_addr));

    memset(addr, 0, sizeof addr);
    strcpy(addr.ifr_name, (*pui).dev);

    if(ioctl(sockfd, SIOCGIFHWADDR, (char *)addr) == -1) {
        perror(ioctl);
        exit(EXIT_FAILURE);
    }

    memcpy(pui - mac, addr.ifr_hwaddr.sa_data, 0x6);
}
[/CODE]

The full source and client are attached.

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: need help with boot forth

2008-07-18 Thread Victor Sudakov
Victor Sudakov wrote:
 
 I am setting up a jumpstart server for networked FreeBSD installation
 (tftp only). My /tftpboot/boot/loader.rc is rather simple:
 
 load /boot/kernel
 load /boot/acpi.ko
 load -t mfs_root /boot/mfsroot
 set vfs.root.mountfrom=ufs:/dev/md0c
 boot
 
 It works fine with a custom kernel (with statically compiled in device 
 hints). 
 
 However, I would like to use a stock kernel, so I need to tftp download
 device.hints and set the kernel environment accordingly. Could you
 please help me with the loader.rc code that will do that?

I have found out that putting device hints into loader.rc in the form
of loader environment variables:

set hint.fdc.0.at=isa
set hint.fdc.0.port=0x3F0
set hint.fdc.0.irq=6
set hint.fdc.0.drq=2
set hint.fd.0.at=fdc0
set hint.fd.0.drive=0
set hint.fd.1.at=fdc0
set hint.fd.1.drive=1
set hint.ata.0.at=isa
set hint.ata.0.port=0x1F0
set hint.ata.0.irq=14

does the job. 

However, if some Forth guru shows me how to tftp download and parse
/tftpboot/boot/device.hints, I'd be most grateful.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


need help with boot forth

2008-07-15 Thread Victor Sudakov
Colleagues,

I am setting up a jumpstart server for networked FreeBSD installation
(tftp only). My /tftpboot/boot/loader.rc is rather simple:

load /boot/kernel
load /boot/acpi.ko
load -t mfs_root /boot/mfsroot
set vfs.root.mountfrom=ufs:/dev/md0c
boot

It works fine with a custom kernel (with statically compiled in device hints). 

However, I would like to use a stock kernel, so I need to tftp download
device.hints and set the kernel environment accordingly. Could you
please help me with the loader.rc code that will do that?

Thank you in advance.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:[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: Install failure for 7.0-RELEASE (Need help!)

2008-07-12 Thread David Gurvich
I have an A7N266 that had issues with the nvidia driver loading before
the loader prompt and causing a reboot.  The same board also had issues
with wired ethernet working reliably. 

 I installed solaris 10 and then opensolaris 2008.05.  Both worked well.
I installed opensolaris as I wanted newer versions of some software.
The hardware is well supported, only gnome is available, flash9 works
well, and updating the system and packages is annoying. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Install failure for 7.0-RELEASE (Need help!)

2008-07-11 Thread Mel
On Thursday 10 July 2008 23:50:36 Ronald F. Guilmette wrote:

 I have an older system that I've been running 6.1-RELEASE on for a
 long long time now.  I want to upgrade it to run 7.0-RELEASE.
 (CPU = AMD Athlon XP 2000, Motherboard = ASUS A7N266-VM/AA.)

 OK, so I install a new hard drive (known good /practically new) and
 I'm ready to do a fresh install of 7.0-RELEASE onto this fresh new
 blank drive.


 acd0: CDROM ATAPI CD-ROM MAX 58X/Ver9.05N at ata1-master UDMA33
 acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00
 GEOM_LABEL: Label for provider acd0 is iso9660/FreeBSD_Install.
 acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00

Errm, so don't install from cd. You have a working 6.1 system. Use csup 
with /usr/share/examples/cvsup/standard-supfile as your template, set a real 
host, change tag to RELENG_7_0, change prefix to /usr/RELENG_7_0/src, 
mkdir -p /usr/RELENG_7_0/src and get the source 
csup -L2 /path/to/standard-supfile.

Format the new disk using the chapter on this topic from the handbook and make 
sure the slice is bootable. Mount the drive's root on /mnt, usr and var and 
whatever else you had partitions made for below that and read the entry in 
UPDATING under COMMON ITEMS that describes To cross-install current onto a 
seperate partition.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Install failure for 7.0-RELEASE (Need help!)

2008-07-11 Thread Ronald F. Guilmette

No, it's not the cable.  The cable works just fine, which is why I
_am_ able to make it all the way down until late in the Stage 3 boot,
*and* also why I _acn_m get all of the way down to the install menu
(while using the same drive  cable) when I boot from an old 6.1-RELEASE
install disk.

I have also now checked that it isn't a problem with the CD ROM drive.
I _was_ able to boot and get all of the way own to the install menu
using the exact same CD _and_ the exact same CD ROM drive on a
different Athlon XP based system that I have.

So it seems clear to me that the problem is that 7.0-RELEASE just
doesn't get along with the motherboard and/or chipset that happens
to be in this one particular system.  (Again, the motherboard is
an ASUS A7N266-VM/AA  I don't know offhand what chipset that has
on it, but I do know that it has intergrated on-board graphics.)

Lookie here!  I'm apparently not the only one who has gotten this
exact same problem, also with an Athlon XP 2000:

  http://www.mail-archive.com/freebsd-questions@freebsd.org/msg190114.html

Hummm... yea.  OK.  This is definitely NOT just me having this problem:

   http://www.freebsd.org/cgi/query-pr.cgi?pr=113160

Seems that the real problem may have nothing at all to do with the READ_BIG
errors on the CD ROM drive just prior to the point where the mountroot
prompt comes up.  There is a whole 'nother problem that I was being distracted
from by those CD read errors (which are apparenntly recoverable... at least
as shown by a different Athlon system I have where I _can_ get to the 7.0
Install menu).

Sigh.  So I guess I'll have to file a real PR on this because the suggested
fix for PR 113160 simply won't work for me... the BIOS on this particular
ASUS motherboard has been customized by ASUS and it provides no way to
disable the 15M-16M memory hole.  :-(  Major bummer.

Regards,
rfg

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


Install failure for 7.0-RELEASE (Need help!)

2008-07-10 Thread Ronald F. Guilmette

This is drivin' me nuts.  I hope somebody can pass me a clue.

I have an older system that I've been running 6.1-RELEASE on for a
long long time now.  I want to upgrade it to run 7.0-RELEASE.
(CPU = AMD Athlon XP 2000, Motherboard = ASUS A7N266-VM/AA.)

OK, so I install a new hard drive (known good /practically new) and
I'm ready to do a fresh install of 7.0-RELEASE onto this fresh new
blank drive.

The problem is that the bleedin' *[EMAIL PROTECTED] 7.0-RELEASE install disk 
(#1)
seems to be trying to do some new and fancy schmancy stuff as regards to
reading stuff off the installation CD that prior releases did not do.
(I've checked with the exact same hardware, and I can still boot/install
from an old 6.1-RELEASE CD with no problems.  So the software has changed,
obviously, and not in a good way.)

Basically, I get down past the so-called Stage 3 boot loader prompt
and then I'm actually booting the 7.0 OS from the CD ROM drive and
regardless of which CD ROM drive I use... I've already tried several...
and regardless of which burned copy of 7.0-RELEASE install disk #1 I
try to use (I have tried at least two... one know to be good from a
prior install on a different machine) I always get the same results...

acd0: CDROM ATAPI CD-ROM MAX 58X/Ver9.05N at ata1-master UDMA33
acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00
GEOM_LABEL: Label for provider acd0 is iso9660/FreeBSD_Install.
acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00


... whreupon the install process dies with some other messages that
I doubt are of any importance to what is happening here.  The real problem
seems to clearly be the failure of these big reads off the CD that this
new 7.0-RELEASE is trying to do as part of the install process.

Can anybody help?

I've been Googling around for acd0: FAILURE - READ_BIG ILLEGAL REQUEST
for half the day already and I'm no wiser about this problem than when
I started.

What the bleep does this message actually mean?  And what the devil is
actually causing it?  More importantly, how can I get it to go away so
that I can just simply complete my install of 7.0-RELEASE onto this
system?

A little help would be appreciated.


Regards,
rfg


P.S.  Before anybody asks to see my dmesg output, please remember that
I'm trying to do an install, and I'm not even getting fully booted up.
So I have no way to capture, let alone share a dmesg log.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Install failure for 7.0-RELEASE (Need help!)

2008-07-10 Thread David Gurvich
Have you tried mounting the iso on the existing system and using
sysinstall to partition and install 7.0 on the new hard drive?  

There may be a problem with the ide controller or ide cable.  Have you
tried swapping cables?  

You could also do a minimal 6.3 install with no additional packages as
you say that cd works.  Then do 'freebsd-update -r 7.0-RELEASE
upgrade'.  See the man page on freebsd-update.  Afterwords either
pkg_add -r, sysinstall, or use the ports to install packages.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


URGENT: Need help rebuilding iir RAID5 array with failed drive

2008-06-26 Thread Garrett Cooper
Hello,
  First off sorry for the cross-post. I typically don't do this
but this is an important question, so please bear with me. I'm just
trying to get more eyes on the subject so I can (maybe) get a reply
quicker...
  I'm running 8-CURRENT on my machine and it appears that one of
the disks in my RAID5 array has taken a nose dive (BIOS recognizes
that it exists, but Intel Matrix Manager claims that the disk is an
Offline Member). After doing some reading it appears that it's
kaput, so I need to get a replacement disk to fix this one...
  That aside, I need to determine how to rebuild the array in a
Unix environment because Intel only provides instructions for how to
use their Windows matrix manager. If anyone can point me to some links
or provide me with some pointers on how to correct this issue, I'd owe
you a lot; in fact the next time you come by Santa Cruz, CA I'll
gladly treat you to some beers or something else you might want :)...
Linux solutions (if there isn't a proper one for FreeBSD) are valid,
as long as the core data remains uncorrupted and I can do what I need
to from a LiveCD. I'm just scared to boot up OS and have it do some
irrevocable operation like fsck -y and assume parity errors are ok or
something along those lines  (I don't remember if I set rc.conf to
fsck -y and I know I can change that from single-user mode, but I want
to play things conservatively if at all possible) :\...
  Filesystem is UFS2 with softupdates of course.
  Point proven that I need to backup my data more often :(...
TIA,
-Garrett

PS If replying on the questions@ list, please CC me as I'm not
subscribed to that list.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: URGENT: Need help rebuilding iir RAID5 array with failed drive

2008-06-26 Thread Sean Cavanaugh
Most GOOD RAID cards will let you rebuild an array from the card BIOS outside 
the OS.
Some will even do it automatically, if you replace the failed drive, while the 
system is fully up and running (of course it slaughters your drive access speed 
while it rebuilds the data on the new drive)
If your RAID card can only interact with the drives from within an OS, I would 
highly suggest getting a better RAID card to save you trouble in the future.
 
the fact that you have the array as RAID 5 shows that you haven't lost any data 
and should not get any data errors as far as the OS can see.
-Sean Cavanaugh
 



 Date: Thu, 26 Jun 2008 06:49:19 -0700 From: [EMAIL PROTECTED] To: [EMAIL 
 PROTECTED]; freebsd-questions@freebsd.org CC:  Subject: URGENT: Need help 
 rebuilding iir RAID5 array with failed drive  Hello, First off sorry for 
 the cross-post. I typically don't do this but this is an important question, 
 so please bear with me. I'm just trying to get more eyes on the subject so I 
 can (maybe) get a reply quicker... I'm running 8-CURRENT on my machine and 
 it appears that one of the disks in my RAID5 array has taken a nose dive 
 (BIOS recognizes that it exists, but Intel Matrix Manager claims that the 
 disk is an Offline Member). After doing some reading it appears that it's 
 kaput, so I need to get a replacement disk to fix this one... That aside, I 
 need to determine how to rebuild the array in a Unix environment because 
 Intel only provides instructions for how to use their Windows matrix 
 manager. If anyone can point me to some links or provide me with some 
 pointers on how to correct this issue, I'd owe you a lot; in fact the next 
 time you come by Santa Cruz, CA I'll gladly treat you to some beers or 
 something else you might want :)... Linux solutions (if there isn't a proper 
 one for FreeBSD) are valid, as long as the core data remains uncorrupted and 
 I can do what I need to from a LiveCD. I'm just scared to boot up OS and 
 have it do some irrevocable operation like fsck -y and assume parity errors 
 are ok or something along those lines (I don't remember if I set rc.conf to 
 fsck -y and I know I can change that from single-user mode, but I want to 
 play things conservatively if at all possible) :\... Filesystem is UFS2 with 
 softupdates of course. Point proven that I need to backup my data more often 
 :(... TIA, -Garrett  PS If replying on the questions@ list, please CC me 
 as I'm not subscribed to that list. 
 ___ 
 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: URGENT: Need help rebuilding iir RAID5 array with failed drive

2008-06-26 Thread Derek Ragona

At 08:49 AM 6/26/2008, Garrett Cooper wrote:

Hello,
  First off sorry for the cross-post. I typically don't do this
but this is an important question, so please bear with me. I'm just
trying to get more eyes on the subject so I can (maybe) get a reply
quicker...
  I'm running 8-CURRENT on my machine and it appears that one of
the disks in my RAID5 array has taken a nose dive (BIOS recognizes
that it exists, but Intel Matrix Manager claims that the disk is an
Offline Member). After doing some reading it appears that it's
kaput, so I need to get a replacement disk to fix this one...
  That aside, I need to determine how to rebuild the array in a
Unix environment because Intel only provides instructions for how to
use their Windows matrix manager. If anyone can point me to some links
or provide me with some pointers on how to correct this issue, I'd owe
you a lot; in fact the next time you come by Santa Cruz, CA I'll
gladly treat you to some beers or something else you might want :)...
Linux solutions (if there isn't a proper one for FreeBSD) are valid,
as long as the core data remains uncorrupted and I can do what I need
to from a LiveCD. I'm just scared to boot up OS and have it do some
irrevocable operation like fsck -y and assume parity errors are ok or
something along those lines  (I don't remember if I set rc.conf to
fsck -y and I know I can change that from single-user mode, but I want
to play things conservatively if at all possible) :\...
  Filesystem is UFS2 with softupdates of course.
  Point proven that I need to backup my data more often :(...
TIA,
-Garrett

PS If replying on the questions@ list, please CC me as I'm not
subscribed to that list.



Most of the intel RAID functions can be accessed through the BIOS console 
too.  It isn't as pretty as the GUI versions but has the same functions.


The drives are labeled so the RAID controller will know a drive was 
replaced.  You just need to tell the controller to add it to the array and 
rebuild the array.


-Derek

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

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


Re: URGENT: Need help rebuilding iir RAID5 array with failed drive

2008-06-26 Thread Casey Scott

- Derek Ragona [EMAIL PROTECTED] wrote:

 At 08:49 AM 6/26/2008, Garrett Cooper wrote:
 Hello,
First off sorry for the cross-post. I typically don't do this
 but this is an important question, so please bear with me. I'm just
 trying to get more eyes on the subject so I can (maybe) get a reply
 quicker...
I'm running 8-CURRENT on my machine and it appears that one
 of
 the disks in my RAID5 array has taken a nose dive (BIOS recognizes
 that it exists, but Intel Matrix Manager claims that the disk is an
 Offline Member). After doing some reading it appears that it's
 kaput, so I need to get a replacement disk to fix this one...
That aside, I need to determine how to rebuild the array in a
 Unix environment because Intel only provides instructions for how to
 use their Windows matrix manager. If anyone can point me to some
 links
 or provide me with some pointers on how to correct this issue, I'd
 owe
 you a lot; in fact the next time you come by Santa Cruz, CA I'll
 gladly treat you to some beers or something else you might want
 :)...
 Linux solutions (if there isn't a proper one for FreeBSD) are valid,
 as long as the core data remains uncorrupted and I can do what I
 need
 to from a LiveCD. I'm just scared to boot up OS and have it do some
 irrevocable operation like fsck -y and assume parity errors are ok
 or
 something along those lines  (I don't remember if I set rc.conf to
 fsck -y and I know I can change that from single-user mode, but I
 want
 to play things conservatively if at all possible) :\...
Filesystem is UFS2 with softupdates of course.
Point proven that I need to backup my data more often :(...
 TIA,
 -Garrett
 
 PS If replying on the questions@ list, please CC me as I'm not
 subscribed to that list.
 
 
 Most of the intel RAID functions can be accessed through the BIOS
 console 
 too.  It isn't as pretty as the GUI versions but has the same
 functions.
 
 The drives are labeled so the RAID controller will know a drive was 
 replaced.  You just need to tell the controller to add it to the array
 and 
 rebuild the array.

I haven't seen an Intel card in a while, but if you see an initialize 
option, DON'T USE IT. On other cards it exists, and destroys the volume.

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


Re: URGENT: Need help rebuilding iir RAID5 array with failed drive

2008-06-26 Thread Garrett Cooper
On Thu, Jun 26, 2008 at 7:30 AM, Casey Scott [EMAIL PROTECTED] wrote:

 - Derek Ragona [EMAIL PROTECTED] wrote:

 At 08:49 AM 6/26/2008, Garrett Cooper wrote:
 Hello,
First off sorry for the cross-post. I typically don't do this
 but this is an important question, so please bear with me. I'm just
 trying to get more eyes on the subject so I can (maybe) get a reply
 quicker...
I'm running 8-CURRENT on my machine and it appears that one
 of
 the disks in my RAID5 array has taken a nose dive (BIOS recognizes
 that it exists, but Intel Matrix Manager claims that the disk is an
 Offline Member). After doing some reading it appears that it's
 kaput, so I need to get a replacement disk to fix this one...
That aside, I need to determine how to rebuild the array in a
 Unix environment because Intel only provides instructions for how to
 use their Windows matrix manager. If anyone can point me to some
 links
 or provide me with some pointers on how to correct this issue, I'd
 owe
 you a lot; in fact the next time you come by Santa Cruz, CA I'll
 gladly treat you to some beers or something else you might want
 :)...
 Linux solutions (if there isn't a proper one for FreeBSD) are valid,
 as long as the core data remains uncorrupted and I can do what I
 need
 to from a LiveCD. I'm just scared to boot up OS and have it do some
 irrevocable operation like fsck -y and assume parity errors are ok
 or
 something along those lines  (I don't remember if I set rc.conf to
 fsck -y and I know I can change that from single-user mode, but I
 want
 to play things conservatively if at all possible) :\...
Filesystem is UFS2 with softupdates of course.
Point proven that I need to backup my data more often :(...
 TIA,
 -Garrett
 
 PS If replying on the questions@ list, please CC me as I'm not
 subscribed to that list.


 Most of the intel RAID functions can be accessed through the BIOS
 console
 too.  It isn't as pretty as the GUI versions but has the same
 functions.

 The drives are labeled so the RAID controller will know a drive was
 replaced.  You just need to tell the controller to add it to the array
 and
 rebuild the array.

 I haven't seen an Intel card in a while, but if you see an initialize
 option, DON'T USE IT. On other cards it exists, and destroys the volume.

 Casey

Sean, Casey, and Derek:

Thanks for the replies so far.

Yeah, I stay away from things that say Initialize, Delete Array,
etc :). Part of my concern came from the fact that I got a kernel
panic the last time I tried to boot into FreeBSD, but that may have
been because one of my disks was disconnected and the bzero attempt
was polling some address out of range (I was attempting to
troubleshoot the issue at the time).

I'm pretty fed up with Intel's ICH9R interface too so I'm hoping
(crosses fingers) that I'll be able to afford an Adaptec card of some
flavor that's compatible with -CURRENT. For that I'll ask for advice
on current@ later on which card to get...

It looks like my figuring out what to do in solving this issue will
only be solved by grabbing another drive and replacing the dead one.
Oh well, here goes for an RMA...

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


Re: URGENT: Need help rebuilding iir RAID5 array with failed drive

2008-06-26 Thread Derek Ragona

At 09:38 AM 6/26/2008, Garrett Cooper wrote:

On Thu, Jun 26, 2008 at 7:30 AM, Casey Scott [EMAIL PROTECTED] wrote:

 - Derek Ragona [EMAIL PROTECTED] wrote:

 At 08:49 AM 6/26/2008, Garrett Cooper wrote:
 Hello,
First off sorry for the cross-post. I typically don't do this
 but this is an important question, so please bear with me. I'm just
 trying to get more eyes on the subject so I can (maybe) get a reply
 quicker...
I'm running 8-CURRENT on my machine and it appears that one
 of
 the disks in my RAID5 array has taken a nose dive (BIOS recognizes
 that it exists, but Intel Matrix Manager claims that the disk is an
 Offline Member). After doing some reading it appears that it's
 kaput, so I need to get a replacement disk to fix this one...
That aside, I need to determine how to rebuild the array in a
 Unix environment because Intel only provides instructions for how to
 use their Windows matrix manager. If anyone can point me to some
 links
 or provide me with some pointers on how to correct this issue, I'd
 owe
 you a lot; in fact the next time you come by Santa Cruz, CA I'll
 gladly treat you to some beers or something else you might want
 :)...
 Linux solutions (if there isn't a proper one for FreeBSD) are valid,
 as long as the core data remains uncorrupted and I can do what I
 need
 to from a LiveCD. I'm just scared to boot up OS and have it do some
 irrevocable operation like fsck -y and assume parity errors are ok
 or
 something along those lines  (I don't remember if I set rc.conf to
 fsck -y and I know I can change that from single-user mode, but I
 want
 to play things conservatively if at all possible) :\...
Filesystem is UFS2 with softupdates of course.
Point proven that I need to backup my data more often :(...
 TIA,
 -Garrett
 
 PS If replying on the questions@ list, please CC me as I'm not
 subscribed to that list.


 Most of the intel RAID functions can be accessed through the BIOS
 console
 too.  It isn't as pretty as the GUI versions but has the same
 functions.

 The drives are labeled so the RAID controller will know a drive was
 replaced.  You just need to tell the controller to add it to the array
 and
 rebuild the array.

 I haven't seen an Intel card in a while, but if you see an initialize
 option, DON'T USE IT. On other cards it exists, and destroys the volume.

 Casey

Sean, Casey, and Derek:

Thanks for the replies so far.

Yeah, I stay away from things that say Initialize, Delete Array,
etc :). Part of my concern came from the fact that I got a kernel
panic the last time I tried to boot into FreeBSD, but that may have
been because one of my disks was disconnected and the bzero attempt
was polling some address out of range (I was attempting to
troubleshoot the issue at the time).

I'm pretty fed up with Intel's ICH9R interface too so I'm hoping
(crosses fingers) that I'll be able to afford an Adaptec card of some
flavor that's compatible with -CURRENT. For that I'll ask for advice
on current@ later on which card to get...

It looks like my figuring out what to do in solving this issue will
only be solved by grabbing another drive and replacing the dead one.
Oh well, here goes for an RMA...

TIA,
-Garrett
_


If you are looking to move up, look at the 3ware RAID cards.  Not sure 
which models work with FreeBSD, but these card do perform very well.


-Derek

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

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


Re: URGENT: Need help rebuilding iir RAID5 array with failed drive

2008-06-26 Thread Ryan Coleman

Derek Ragona wrote:

At 09:38 AM 6/26/2008, Garrett Cooper wrote:
On Thu, Jun 26, 2008 at 7:30 AM, Casey Scott [EMAIL PROTECTED] 
wrote:


 - Derek Ragona [EMAIL PROTECTED] wrote:

 At 08:49 AM 6/26/2008, Garrett Cooper wrote:
 Hello,
First off sorry for the cross-post. I typically don't do this
 but this is an important question, so please bear with me. I'm just
 trying to get more eyes on the subject so I can (maybe) get a reply
 quicker...
I'm running 8-CURRENT on my machine and it appears that one
 of
 the disks in my RAID5 array has taken a nose dive (BIOS recognizes
 that it exists, but Intel Matrix Manager claims that the disk is an
 Offline Member). After doing some reading it appears that it's
 kaput, so I need to get a replacement disk to fix this one...
That aside, I need to determine how to rebuild the array in a
 Unix environment because Intel only provides instructions for how to
 use their Windows matrix manager. If anyone can point me to some
 links
 or provide me with some pointers on how to correct this issue, I'd
 owe
 you a lot; in fact the next time you come by Santa Cruz, CA I'll
 gladly treat you to some beers or something else you might want
 :)...
 Linux solutions (if there isn't a proper one for FreeBSD) are valid,
 as long as the core data remains uncorrupted and I can do what I
 need
 to from a LiveCD. I'm just scared to boot up OS and have it do some
 irrevocable operation like fsck -y and assume parity errors are ok
 or
 something along those lines  (I don't remember if I set rc.conf to
 fsck -y and I know I can change that from single-user mode, but I
 want
 to play things conservatively if at all possible) :\...
Filesystem is UFS2 with softupdates of course.
Point proven that I need to backup my data more often :(...
 TIA,
 -Garrett
 
 PS If replying on the questions@ list, please CC me as I'm not
 subscribed to that list.


 Most of the intel RAID functions can be accessed through the BIOS
 console
 too.  It isn't as pretty as the GUI versions but has the same
 functions.

 The drives are labeled so the RAID controller will know a drive was
 replaced.  You just need to tell the controller to add it to the 
array

 and
 rebuild the array.

 I haven't seen an Intel card in a while, but if you see an 
initialize
 option, DON'T USE IT. On other cards it exists, and destroys the 
volume.


 Casey

Sean, Casey, and Derek:

Thanks for the replies so far.

Yeah, I stay away from things that say Initialize, Delete Array,
etc :). Part of my concern came from the fact that I got a kernel
panic the last time I tried to boot into FreeBSD, but that may have
been because one of my disks was disconnected and the bzero attempt
was polling some address out of range (I was attempting to
troubleshoot the issue at the time).

I'm pretty fed up with Intel's ICH9R interface too so I'm hoping
(crosses fingers) that I'll be able to afford an Adaptec card of some
flavor that's compatible with -CURRENT. For that I'll ask for advice
on current@ later on which card to get...

It looks like my figuring out what to do in solving this issue will
only be solved by grabbing another drive and replacing the dead one.
Oh well, here goes for an RMA...

TIA,
-Garrett
_ 


If you are looking to move up, look at the 3ware RAID cards.  Not sure 
which models work with FreeBSD, but these card do perform very well.


I'm happy with my HighPoint RocketRAIDs. HPT's site has the drives and 
they work in 7.

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


Re: URGENT: Need help rebuilding iir RAID5 array with failed drive

2008-06-26 Thread Randy Bush
 I'm pretty fed up with Intel's ICH9R interface too so I'm hoping
 (crosses fingers) that I'll be able to afford an Adaptec card of some
 flavor that's compatible with -CURRENT.
 If you are looking to move up, look at the 3ware RAID cards.  Not sure
 which models work with FreeBSD, but these card do perform very well.

these days, i get the most reliable simple non-raid card and run zfs
with a gmirrored root partition.

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


Need help with multicast routing over VPN

2008-05-28 Thread Michael Doyle
My organisation has successfully used FreeBSD to set up a VPN between  
three sites.


Now, in order to facilitate a phone system using VOIP between two of  
those sites, I have

attempted to enable multi-cast routing between those sites.

I looked at the mrouted manual, and attempted to configure it properly  
insofar as I understood it.
I also re-compiled the kernels of the firewalls to enable multicast  
routing.


I have not succeeded in getting the phone systems to see eachothers'  
multicast packets, and after
several attempts, all I have done is to crash the firewalls, and annoy  
my staff members.


If someone has done this sort of thing before, I would be prepared to  
send my config files to them
for review (/etc/rc.conf, /etc/ipsec.conf, /etc/mrouted.conf, /usr/ 
local/etc/racoon/racoon.conf and /etc/rc.firewall

are the files I think are of interest).

Both systems are running FreeBSD 6.3-stable as of friday of last week.

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


Need help with apache22

2008-05-04 Thread Bob Falanga
I have installed apache22 on my computer which is operating with PCBSD. When
a
start is executed I get the following response and apache doesn't
start,  Can't find libthr.so.3, needed by libthr.so.2.

Can someone help?

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


SOLVED - Re: Need help with error building lang/guile

2008-04-22 Thread Norberto Meijome
On Tue, 22 Apr 2008 00:22:41 +1000
Norberto Meijome [EMAIL PROTECTED] wrote:

 Hi everyone,
 For a while now i've been unable to upgrade to the latest lang/guile port. I 
 am
 running 7.0-STABLE (world and kernel up to date about twice weekly) on x86. my
 current guile is 
 
 guile-1.6.8_3   GNU Ubiquitous Intelligent Language for Extension
 
[...]
 ---
 make distclean; make 
 [...]
 
[...]
 scmconfig.h.tmp ./gen-scmconfig  scmconfig.h.tmp Segmentation fault (core
 dumped) gmake[2]: *** [scmconfig.h] Error 139 gmake[2]: Leaving directory
 `/usr/ports/lang/guile/work/guile-1.8.4/libguile' gmake[1]: *** 
 [all-recursive]
 Error 1 gmake[1]: Leaving directory `/usr/ports/lang/guile/work/guile-1.8.4'
 gmake: *** [all] Error 2
 *** Error code 2
 
 Stop in /usr/ports/lang/guile.
 
[...]

Short answer : uninstall (corrupted?) linuxthreads package.

full story, for the archive...

ok, so I figured i needed to dig deeper...
- i enable debugging ( CFLAGS+= -ggdb in /etc/make.conf)
- I built libc (only that) with debug symbols (  sudo make  -DDEBUG_FLAGS=-g  
in /usr/src/lib/libc , and DEBUG_FLAGS=-g in /etc/make.conf so the libs are not 
stripped on make install)

when I run gdb, i got this...

[EMAIL PROTECTED] [Wed Apr 23 01:38:52 2008]
/usr/ports/lang/guile/work/guile-1.8.4/libguileESC[0m^B
ESCkESC\# ESC[Kgdb gen-scESCgmconfig gen-ESCgscmconfig.cESCgore 
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-marcel-freebsd...
Core was generated by `gen-scmconfig'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/liblthread.so.6...done.
Loaded symbols for /usr/local/lib/liblthread.so.6
Reading symbols from /usr/local/lib/libgmp.so.7...done.
Loaded symbols for /usr/local/lib/libgmp.so.7
Reading symbols from /lib/libcrypt.so.4...done.
Loaded symbols for /lib/libcrypt.so.4
Reading symbols from /lib/libm.so.5...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /usr/local/lib/libltdl.so.4...done.
Loaded symbols for /usr/local/lib/libltdl.so.4
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x2804b4a7 in ___tls_get_addr () from /libexec/ld-elf.so.1
(gdb) bt
#0  0x2804b4a7 in ___tls_get_addr () from /libexec/ld-elf.so.1
#1  0x2816fa9b in malloc () from /lib/libc.so.7
#2  0x2808be69 in _pthread_mutex_destroy () from /usr/local/lib/liblthread.so.6
#3  0x2808bf27 in _pthread_mutex_trylock () from /usr/local/lib/liblthread.so.6
#4  0x0002 in ?? ()
#5  0x in ?? ()
#6  0x in ?? ()
#7  0x281f6858 in ?? () from /lib/libc.so.7
#8  0x0003 in ?? ()
#9  0xbbc00118 in ?? ()
#10 0x2816faeb in malloc () from /lib/libc.so.7
Previous frame inner to this frame (corrupt stack?)

Which doesnt mean much at all to me 

but the mention of /usr/local/lib/liblthread.so.6 caught my eye as I hadn't 
seen it before... it turned out it belonged to package linuxthreads. I checked 
the package, nothing depended on it... and I didn't have my local package 
(which possibly points to a v old package in my box)... so i uninstalled 
it...and presto, fixed - rebuilt port with no other problems

Best,
B
_
{Beto|Norberto|Numard} Meijome

If it's there, and you can see it, it's real.
If it's not there, and you can see it, it's virtual.
If it's there, and you can't see it, it's transparent.
If it's not there, and you can't see it, you erased it.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Need help with error building lang/guile

2008-04-21 Thread Norberto Meijome
Hi everyone,
For a while now i've been unable to upgrade to the latest lang/guile port. I am
running 7.0-STABLE (world and kernel up to date about twice weekly) on x86. my
current guile is 

guile-1.6.8_3   GNU Ubiquitous Intelligent Language for Extension

and wants to upgrade to 1.8.4. Going by the date of the package built for
1.6.8_3 , it was built when under FreeBSD 6.3. As far as I can tell, i've
upgraded every other component of my laptop...

The error i get is :

---
make distclean; make 
[...]

Making all in goops
gmake[3]: Entering directory `/usr/ports/lang/guile/work/guile-1.8.4/oop/goops'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/usr/ports/lang/guile/work/guile-1.8.4/oop/goops'
gmake[3]: Entering directory `/usr/ports/lang/guile/work/guile-1.8.4/oop'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/usr/ports/lang/guile/work/guile-1.8.4/oop'
gmake[2]: Leaving directory `/usr/ports/lang/guile/work/guile-1.8.4/oop'
Making all in libguile
gmake[2]: Entering directory `/usr/ports/lang/guile/work/guile-1.8.4/libguile'
Generating libpath.h...
sed  ./version.h.in  version.h.tmp \
  -e s:@-GUILE_MAJOR_VERSION-@:1: \
  -e s:@-GUILE_MINOR_VERSION-@:8: \
  -e s:@-GUILE_MICRO_VERSION-@:4:
mv version.h.tmp version.h
if [ no = yes ]; then \
cc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -c -o gen-scmconfig.o
gen-scmconfig.c; \ else \  
cc -DHAVE_CONFIG_H -I. -I.. -I.. -I..  -I/usr/local/include
-O2 -fno-strict-aliasing -pipe -march=pentium-m -Wall -Wmissing-prototypes
-Werror -c -o gen-scmconfig.o gen-scmconfig.c; \ fi if [ no = yes ]; then \
cc -o gen-scmconfig gen-scmconfig.o; \
else \  
/bin/sh ../libtool --tag=CC   --mode=link cc  -O2
-fno-strict-aliasing -pipe -march=pentium-m -Wall -Wmissing-prototypes -Werror
-L/usr/local/lib -o gen-scmconfig gen-scmconfig.o  -llthread -lgmp -lcrypt -lm
-lltdl ; \ fi mkdir .libs cc -O2 -fno-strict-aliasing -pipe -march=pentium-m
-Wall -Wmissing-prototypes -Werror -o gen-scmconfig gen-scmconfig.o
-L/usr/local/lib -llthread /usr/local/lib/libgmp.so -lcrypt
-lm /usr/local/lib/libltdl.so   -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath
-Wl,/usr/local/lib rm -f scmconfig.h.tmp cat ./scmconfig.h.top 
scmconfig.h.tmp ./gen-scmconfig  scmconfig.h.tmp Segmentation fault (core
dumped) gmake[2]: *** [scmconfig.h] Error 139 gmake[2]: Leaving directory
`/usr/ports/lang/guile/work/guile-1.8.4/libguile' gmake[1]: *** [all-recursive]
Error 1 gmake[1]: Leaving directory `/usr/ports/lang/guile/work/guile-1.8.4'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/lang/guile.

I run ktrace on the gen-scmconfig that is dying on me:

[EMAIL PROTECTED] [Mon Apr 21 22:28:36 2008]
/usr/ports/lang/guile/work/guile-1.8.4/libguile
# ktrace ./gen-scmconfig  scmconfig.h.tmp
Segmentation fault: 11 (core dumped)

and the calls before the core dump are:
 89607 gen-scmconfig RET   sigprocmask 0
 89607 gen-scmconfig CALL  __sysctl(0xbfbfea28,0x2,0x281fb920,0xbfbfea34,0,0)
 89607 gen-scmconfig RET   __sysctl 0
 89607 gen-scmconfig CALL  __sysctl(0xbfbfe538,0x2,0x2820807c,0xbfbfe540,0,0)
 89607 gen-scmconfig RET   __sysctl 0
 89607 gen-scmconfig CALL  __sysctl(0xbfbfe588,0x2,0xbfbfe594,0xbfbfe598,0,0)
 89607 gen-scmconfig RET   __sysctl 0
 89607 gen-scmconfig CALL  readlink(0x281e8e40,0xbfbfe627,0x400)
 89607 gen-scmconfig NAMI  /etc/malloc.conf
 89607 gen-scmconfig RET   readlink -1 errno 2 No such file or directory
 89607 gen-scmconfig CALL  issetugid
 89607 gen-scmconfig RET   issetugid 0
 89607 gen-scmconfig CALL  break(0x810)
 89607 gen-scmconfig RET   break 0
 89607 gen-scmconfig PSIG  SIGSEGV SIG_DFL
 89607 gen-scmconfig NAMI  gen-scmconfig.core

The full ktrace.out can be found at 
http://www.meijome.net/files/freebsd/libguile_smconfig_ktrace.out.gz

I have no malloc.conf . I am not too sure whether it is safe to create any as
per malloc.conf... I tried with an empty file with no improvement on the
outcome.

My libmap.conf is all commented out.

I've rebuilt each dependency of lang/guile, including gmake and tried after each
individual upgrade, no change.

My /etc/make.conf can be found in
http://www.meijome.net/files/freebsd/20080422_make.conf

Any points would be greatly appreciated :)
B
_
{Beto|Norberto|Numard} Meijome

Imagination is more important than knowledge.
  Albert Einstein, On Science

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: need help getting lpr/lpt working again.

2008-02-16 Thread Frank Shute
On Fri, Feb 15, 2008 at 12:47:30PM -0800, Gary Kline wrote:

 
   People,
 
   Can anybody clue me in on getting my hp500 working?
   I don't care if I use CUPS or the old way with  lpd and lpr.
   There is no /dev/lpt0 in /dev, and /etc/devfs.* does  not 
   create this file.   
 
   So, first question is: how to create /dev/lpt0, mod 0666/
   I've used /etc/printcap and postscript successfully for years.
 
   thanks,
 
   gary

Have you put:

lpd_enable=YES

in /etc/rc.conf and tried starting up the daemon?

-- 

 Frank 


 Contact info: http://www.esperance-linux.co.uk/misc/contact.html 

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


Re: need help getting lpr/lpt working again.

2008-02-15 Thread Roland Smith
On Fri, Feb 15, 2008 at 12:47:30PM -0800, Gary Kline wrote:
 
   People,
 
   Can anybody clue me in on getting my hp500 working?
   I don't care if I use CUPS or the old way with  lpd and lpr.
   There is no /dev/lpt0 in /dev, and /etc/devfs.* does  not 
   create this file.   

For future reference; the /etc/devfs.* files don't create devices. They
only set permissions and create links. Devices are created when the
proper hardware is detected by a built-in driver or a loaded module.

There have been several HP 500 printers over the years. There was the
original deskjet 500, or the designjet 500 plotter. What do you have?

What kind of connection does your printer have to your computer?
Parallel, USB or network?  Does 'dmesg|grep lpt' return anything?
 
   So, first question is: how to create /dev/lpt0, mod 0666/

Devfs should create it for you, unless you built a custom kernel without
the lpt or ppc or ppbus devices (for a parallel printer), or the
parallel port is switched of in the bios or malfunctioning.

If your printer connects via USB, you should look for ulpt devices instead.

   I've used /etc/printcap and postscript successfully for years.

It sounds to me that you problem is a bit earlier in the chain than
/etc/printcap. 

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)


pgpRwEIpVFSzT.pgp
Description: PGP signature


need help getting lpr/lpt working again.

2008-02-15 Thread Gary Kline

People,

Can anybody clue me in on getting my hp500 working?
I don't care if I use CUPS or the old way with  lpd and lpr.
There is no /dev/lpt0 in /dev, and /etc/devfs.* does  not 
create this file.   

So, first question is: how to create /dev/lpt0, mod 0666/
I've used /etc/printcap and postscript successfully for years.

thanks,

gary


-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: Need help with backup shell script

2008-01-16 Thread Andreas Widerøe Andersen
On Nov 21, 2007 2:55 PM, Valerio Daelli [EMAIL PROTECTED] wrote:

 On Nov 21, 2007 2:39 PM, Andreas Widerøe Andersen [EMAIL PROTECTED]
 wrote:
  Hi,
 
  I'm working on a shell script that will let me attach (mount) an
  external USB 2.0 harddrive and to my FreeBSD 6.2 server and perform a
  full backup of /backup on my server (all files and subfolders) once or
  twice a week (whenever I run the cronjob). The script must be able to
  run through a cronjob and the drive must be mounted and unmounted
  after each job (I will swap between two drives of the same type and
  size). The script must also remove folders/files older than 30 days.
 
  Does anyone use a script like this today that they can share? I'm not
  a shell scripter myself so any help is highly appreciated.
 
  Here's my rough idea/sketch:
 
  #! /bin/sh
 
  $MOUNT = /external
  $DATE= date_today
 
  mount usb_drive $MOUNT
  cd /$MOUNT
  rm all files forlders older than 30 days
  mkdir /$DATE
  cp -fr /backup to /$MOUNT/$DATE
  cd
  unmount
 
 
 ---
 #!/bin/sh

 MOUNT=/external
 DATE=`date +%Y%m%d%H%M`

 mount /dev/da2 $MOUNT #Change device name
 find $MOUNT -mtime +30 -delete
 mkdir $MOUNT/$DATE
 cp -rp /backup/* $MOUNT/$DATE
 umount /external
 ---

 Bye

 Valerio Daelli


Hi again and thanks for the replies to my question.

I have finally rebuilt world and compiled a new kernel since I didn't have
USB support and SCSI/da support in my previous kernel. I have also used your
suggestion and created this script that I can run from command line or as a
cronjob:

#!/bin/sh

MOUNT=/external
DATE=`date +%Y%m%d%H%M`

mount /dev/da0 $MOUNT #Change device name
find $MOUNT -mtime +30 -delete
mkdir $MOUNT/$DATE
rsync -rlpgoD /backup/ $MOUNT/$DATE
umount /external

dmesg shows:

umass0: Generic USB Storage Device, rev 2.00/0.00, addr 2
umass0: Get Max Lun not supported (TIMEOUT)
da0 at umass-sim0 bus 0 target 0 lun 0
da0: SAMSUNG HD501LJ 0-10 Fixed Direct Access SCSI-2 device
da0: 1.000MB/s transfers
da0: 476940MB (976773168 512 byte sectors: 255H 63S/T 60801C)

When I try to run my script I get this prompt back:

mount: /dev/da0 on /external: incorrect super block

(allthough the script seems to continue to run).

Am I doing something wrong here or do I need to I need to use one of the
other from /dev:

ls -la /dev
[snip]
crw-r-   1 root   operator0,  92 Jan 12 03:42 da0
crw-r-   1 root   operator0,  93 Jan 12 03:28 da0s1
crw-r-   1 root   operator0,  98 Jan 12 03:28 da0s1c
crw-r-   1 root   operator0,  99 Jan 12 03:28 da0s1d

Thanks for any help here!

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


Re: Need help with backup shell script

2008-01-16 Thread Jim Bow

Andreas Widerøe Andersen wrote:

#!/bin/sh

MOUNT=/external
DATE=`date +%Y%m%d%H%M`

mount /dev/da0 $MOUNT #Change device name
find $MOUNT -mtime +30 -delete
mkdir $MOUNT/$DATE
rsync -rlpgoD /backup/ $MOUNT/$DATE
umount /external

When I try to run my script I get this prompt back:

mount: /dev/da0 on /external: incorrect super block


This fails because you are trying to mount the raw(?) drive and mount is 
unable to detect what file system it is (by looking at the partition's 
super block).



Am I doing something wrong here or do I need to I need to use one of the
other from /dev:


You want to use /dev/da0s1d - the main partition on slice 1 on the drive.

Sorry, I dont remember the explanation as to why you must use da0s1d 
instead of da0s1c, but it goes something along the lines of c partition 
being a shorthand notation for the entire slice, whereas letter d marks 
the first partition on the slice.


Maybe someone here can clarify this?

Hope this helps.



Jim Bow

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


setting up slave server with Zoneedit need help

2007-12-01 Thread cuongvt

I have a `internal' network visible only internally. Let say: hanhnhu.local.
This is my master for the local zone. 
I registered 'vuhanhnhu.com' domain with my registrar and pointed it to
zoneedit nameservers: ns3.zoneedit.com and 
ns9.zoneedit.com. I'm using NAT. 
So how can I set up slave with zoneedit for vuhanhnhu.com zone?
Thanks you very much.
below is my files related to local internal DNS:
File named.conf:
options {
directory   /etc/namedb;
pid-file/var/run/named/pid;
dump-file   /var/dump/named_dump.db;
statistics-file /var/stats/named.stats;
listen-on   { 192.168.0.1; 127.0.0.1; };
forwarders {
210.245.0.131;
};
};

zone hanhnhu.local in {
typemaster;
filegrv.zone;
};

zone 0.168.192.in-addr.arpa in {
typemaster;
filegrv.rev;
};

zone localhost in {
typemaster;
filelocal.zone;
};

zone 0.0.127.in-addr.arpa in {
typemaster;
filelocal.rev;
};

zone . {
typehint;
filenamed.root;
};
--
File grv.zone
$TTL3600
@   IN  SOA hanhnhu.local.  root.hanhnhu.local. (
212201  ; Selial
10800   ; Refresh 3 hours
3600; Retry 1 hour
360 ; Expire 1000 hours
86400   ; Minimum 24 hours
)

IN  NS  hanhnhu.local.
IN  A   192.168.0.1

; hosts
localhost   IN  A   127.0.0.1
windows1IN  A   192.168.0.253
windows2IN  A   192.168.0.254

; aliases
www IN  CNAME   hanhnhu.local.
ftp IN  CNAME   hanhnhu.local.
mailIN  CNAME   hanhnhu.local.
-
File grv.rev:
$TTL3600
@   IN  SOA hanhnhu.local.  root.hanhnhu.local. (
212201  ; Selial
10800   ; Refresh 3 hours
3600; Retry 1 hour
360 ; Expire 1000 hours
86400   ; Minimum 24 hours
)
IN  NS  hanhnhu.local.
; hosts
1   IN  PTR hanhnhu.local.
253 IN  PTR windows1.hanhnhu.local.  
254 IN  PTR windows2.hanhnhu.local.

-- 
View this message in context: 
http://www.nabble.com/setting-up-slave-server-with-Zoneedit-need-help-tf4930698.html#a14112921
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Need help with backup shell script

2007-11-21 Thread Andreas Widerøe Andersen
Hi,

I'm working on a shell script that will let me attach (mount) an
external USB 2.0 harddrive and to my FreeBSD 6.2 server and perform a
full backup of /backup on my server (all files and subfolders) once or
twice a week (whenever I run the cronjob). The script must be able to
run through a cronjob and the drive must be mounted and unmounted
after each job (I will swap between two drives of the same type and
size). The script must also remove folders/files older than 30 days.

Does anyone use a script like this today that they can share? I'm not
a shell scripter myself so any help is highly appreciated.

Here's my rough idea/sketch:

#! /bin/sh

$MOUNT = /external
$DATE= date_today

mount usb_drive $MOUNT
cd /$MOUNT
rm all files forlders older than 30 days
mkdir /$DATE
cp -fr /backup to /$MOUNT/$DATE
cd
unmount

Thanks for your help!
Best regards,
Andreas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need help with backup shell script

2007-11-21 Thread Valerio Daelli
On Nov 21, 2007 2:39 PM, Andreas Widerøe Andersen [EMAIL PROTECTED] wrote:
 Hi,

 I'm working on a shell script that will let me attach (mount) an
 external USB 2.0 harddrive and to my FreeBSD 6.2 server and perform a
 full backup of /backup on my server (all files and subfolders) once or
 twice a week (whenever I run the cronjob). The script must be able to
 run through a cronjob and the drive must be mounted and unmounted
 after each job (I will swap between two drives of the same type and
 size). The script must also remove folders/files older than 30 days.

 Does anyone use a script like this today that they can share? I'm not
 a shell scripter myself so any help is highly appreciated.

 Here's my rough idea/sketch:

 #! /bin/sh

 $MOUNT = /external
 $DATE= date_today

 mount usb_drive $MOUNT
 cd /$MOUNT
 rm all files forlders older than 30 days
 mkdir /$DATE
 cp -fr /backup to /$MOUNT/$DATE
 cd
 unmount


---
#!/bin/sh

MOUNT=/external
DATE=`date +%Y%m%d%H%M`

mount /dev/da2 $MOUNT #Change device name
find $MOUNT -mtime +30 -delete
mkdir $MOUNT/$DATE
cp -rp /backup/* $MOUNT/$DATE
umount /external
---

Bye

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


Need help with backup shell script

2007-11-21 Thread Robert Huff

=?ISO-8859-1?Q?Andreas_Wider=F8e_Andersen?= writes:

  Does anyone use a script like this today that they can share? I'm
  not a shell scripter myself so any help is highly appreciated.

My current scripts are appended; constructive criticism is
welcome.
And the key to = 30 days would involve find.



Robert Huff

   full_backup 

#!/bin/sh 

#set -x

#
#  Set variables
#

PATH=/bin:/sbin:/usr/sbin:/bin:/usr/bin

echo Backup started. at `date`

DUMP_DATE=`date | awk '{printf %d.%s.%d\n, $6, $2, $3}'`
DUMP_DAY=`date | awk '{print $1}'`
DUMP_LEVEL=0
DUMP_CACHE=32
DUMP_DEVICE=/backup
DUMPDATES_FILE=/etc/dumpdates
export DUMP_DATE DUMP_DAY DUMP_LEVEL DUMP_CACHE DUMPDATES_FILE


#make the drive available

#mount /dev/da3a /backup
mount $DUMP_DEVICE
if [ $? -eq 0 ];
then
echo /backup clean
else
fsck -y $DUMP_DEVICE
fsck $DUMP_DEVICE
echo /backup cleaned
mount $DUMP_DEVICE
fi
echo Disk mounted
cd $DUMP_DEVICE/$DUMP_DAY
echo Using `pwd`
chflags -R noschg .

/etc/backup/dump_root
/etc/backup/dump_var
/etc/backup/dump_usr

# show disk usage

du -k $DUMP_DEVICE/$DUMP_DAY

# Clean up and go home

cd /tmp
sleep 5
umount $DUMP_DEVICE
echo Disk unmounted.

echo Backup complete. at `date`


   dump_usr

#! /bin/sh 

#set -x

#  Set variables

PATH=/bin:/sbin:/usr/sbin:/bin:/usr/bin

#
#  backup /usr
#

if [ ! -d usr ];
then mkdir usr
fi
cd usr
if [ $? -eq 0 ];
then
pwd
LINES=`ls -al /backup/$DUMP_DAY/usr | wc -l`
   if [ $LINES -ne 3 ];
  then
  rm -r * 
   fi
   echo Usr
   dump $DUMP_LEVEL -D $DUMPDATES_FILE -C $DUMP_CACHE -Lau -f 
$DUMP_DATE.usr.dump /usr 
   if [ $? -eq 0 ];
  then
#
#Compressing the weekly isn't worth the effort
# (takes too long relative to space reclaimed)
#   
  if [ $DUMP_LEVEL -ne 0 ];
  then
  echo Compressing with gzip...
  gzip $DUMP_DATE.usr.dump
# echo Compressing ...
# tar -czf $DUMP_DATE.usr.dump.tgz $DUMP_DATE.usr.dump 
 \
# rm $DUMP_DATE.usr.dump
  echo done
  fi
   else
   echo Dump suceeded.
   fi
   cd ..
fi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need help with backup shell script

2007-11-21 Thread Valerio Daelli
 ---
 #!/bin/sh

 MOUNT=/external
 DATE=`date +%Y%m%d%H%M`

 mount /dev/da2 $MOUNT #Change device name
 find $MOUNT -mtime +30 -delete
 mkdir $MOUNT/$DATE
 cp -rp /backup/* $MOUNT/$DATE
 umount /external
 ---

Please substitute the line starting with 'cp' with this one:

rsync -rlpgoD /backup/ $MOUNT/$DATE

(you must portinstall rsync as well)
since 'cp -rp' preserve modification times as well while 'rsync -rlpgoD'
preserve permission but not mtime.
Sorry

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


Re: Need help with backup shell script

2007-11-21 Thread Lowell Gilbert
Robert Huff [EMAIL PROTECTED] writes:

   And the key to = 30 days would involve find.

I like to put the date in the names of the backup files.
That way the date is a little less fragile...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Need help with bootloader

2007-11-19 Thread Victor M. Blood
Hi, All.

I'm add to /sys/boot/i386/boot2/boot2.c
in function dskread(...) some `debug' output
when it search for needle slice in loop if dsk.slice==0
  printf(Found %u\n, dp[i].dp_typ);

then FreeBSD loadsup by pressing key F2 in boot0 menu
F1. dos
F2. FreeBSD

\key pres
boot: 0:ad(0,0,a)Found: 7
Found: 165
/\- normaly boot

else if BSD loadsup from ntldr boot file /boot/boot1, bootstrup
aborted by 'Invalid slice' and command
boot: 0:ad(0,0,a)Found 113
Found 102
Found 102
Found 112

No /boot/loader
... Failed !!!

why? Can any one help me to understand this !?

drvread in both bootstrap processes must read sector 0 on drv 0, or be
failed and report error! But it's seems to be work normaly.

-- 
With all regards, Victor M. Blood. mailto: [EMAIL PROTECTED]
FTN: 2:5024/[EMAIL PROTECTED], ICQ#3567656




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


Re: Botched X.org upgrade, need help

2007-11-12 Thread Tom Russo
On Fri, Nov 09, 2007 at 03:26:15AM +, we recorded a bogon-computron 
collision of the [EMAIL PROTECTED] flavor, containing:
 On Thursday 08 November 2007, Andrew Falanga said:
  On Nov 8, 2007 12:37 PM, Warren Block [EMAIL PROTECTED] wrote:
   On Thu, 8 Nov 2007, Andrew Falanga wrote:
Well, at last I think it's botched.  I really was following the
   directions
[...]
  (WW) Warning, couldn't open module pcidata
  (II) UnloadModule: pcidata
  (EE) Failed to load module pcidata (module does not exist, 0)
 
  Fatal server error:
  Unable to load required base modules, Exiting...
 

I had a very similar experience, with the X server reporting missing modules
immediately after I thought I'd followed the upgrade instructions to the 
letter (including the portupgrade -a, migrating all the /usr/X11R6 stuff with 
mergebase, and various nvidia-driver caveats).  Turns out that in my case the 
xorg-drivers and xorg-fonts ports had not been added by the upgrade process, 
probably because I had a missing metaport in my previous install.  That was
the one block of caveats I apparently missed.  In the end, I was able to 
just do a make install of the xorg metaport and it picked up the missing 
two, then I was back in business.

Perhaps that's what's going on with you?  Or perhaps not --- I see you also
mentioned you hadn't updated ModulePath, and perhaps that was the only reason
you are having problems?  I didn't see a follow-up saying that was it. 

-- 
Tom RussoKM5VY   SAR502   DM64ux  http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236 AHTB#1 http://kevan.org/brain.cgi?DDTNM
And, isn't sanity really just a one-trick pony anyway? I mean all you get is
 one trick, rational thinking, but when you're good and crazy, oooh, oooh,
 oooh, the sky is the limit!  --- The Tick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Botched X.org upgrade, need help

2007-11-10 Thread Andrew Falanga
On Nov 9, 2007 7:00 AM, Adam J Richardson [EMAIL PROTECTED] wrote:

 Andrew Falanga wrote:
 Hi Andy,

 I botched my 6.9-7.2 upgrade too. It's easy to do even if you follow the
 instructions. Can't remember what the problem was now, certainly it was
 something no one else had, typical. :^) Ah well, all fixed now anyway.

 It's easy to botch even a simple install of X. Took me a while to learn
 that you have to install 1) Xorg, 2) mesa-demos, 3) nVidia driver, in
 that order (assuming you want mesa-demos, of course).

 Regards,
 Adam J Richardson



Thanks.  Unfortunately, I'm using amd64 and the nVidia driver isn't yet
ported (there was a thread on the reason why quite some time ago, it's
something to do with FreeBSD internally).

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


Re: Botched X.org upgrade, need help

2007-11-09 Thread Adam J Richardson

Andrew Falanga wrote:

Well, at last I think it's botched.  I really was following the directions
(I have the script file as UPDATING suggests to prove it :-), but the
upgrade didn't work as the X server failed to start after I rebooted.  I'm
hoping some kind person here will know the answer before I e-mail the list
mentioned in that section of UPDATING.  Anyway, that's basically, what
happened.  I have kdm set to start on bootup and it complained that X failed
to start.

When I got to the point of portupgrade -aP in the UPDATING section for
X.org 6.9 - 7.2; I decided to go with that command instead of portupgrade
-a thinking that by now, even for amd64, the packages would be available.
Perhaps a bad assumption.  Anyway, once that completed, the stats reported
by portupgrade were disconcerting but I thought that it was ok and
continued.  portupgrade reported that only 2 packages were porcessed, most
were ignored with 50 some skipped and 1 failed.

I then proceeded to the mergebase.sh script, ran that and when I was
satisfied that all was done as expected, I rebooted my machine.  Well,
that's when X failed to start.  So, how would I go about correcting this
problem?

Andy


Hi Andy,

I botched my 6.9-7.2 upgrade too. It's easy to do even if you follow the 
instructions. Can't remember what the problem was now, certainly it was 
something no one else had, typical. :^) Ah well, all fixed now anyway.


It's easy to botch even a simple install of X. Took me a while to learn 
that you have to install 1) Xorg, 2) mesa-demos, 3) nVidia driver, in 
that order (assuming you want mesa-demos, of course).


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


Re: Botched X.org upgrade, need help

2007-11-08 Thread Roland Smith
On Thu, Nov 08, 2007 at 07:58:39AM -0700, Andrew Falanga wrote:
 I then proceeded to the mergebase.sh script, ran that and when I was
 satisfied that all was done as expected, I rebooted my machine.  Well,
 that's when X failed to start.  So, how would I go about correcting this
 problem?

Look at /var/log/Xorg.0.log to see what exactly is the problem.

While you're busy solving the problem, it is best to log into a shell
instead of xdm.

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)


pgpbX0Ni1sAUy.pgp
Description: PGP signature


Botched X.org upgrade, need help

2007-11-08 Thread Andrew Falanga
Well, at last I think it's botched.  I really was following the directions
(I have the script file as UPDATING suggests to prove it :-), but the
upgrade didn't work as the X server failed to start after I rebooted.  I'm
hoping some kind person here will know the answer before I e-mail the list
mentioned in that section of UPDATING.  Anyway, that's basically, what
happened.  I have kdm set to start on bootup and it complained that X failed
to start.

When I got to the point of portupgrade -aP in the UPDATING section for
X.org 6.9 - 7.2; I decided to go with that command instead of portupgrade
-a thinking that by now, even for amd64, the packages would be available.
Perhaps a bad assumption.  Anyway, once that completed, the stats reported
by portupgrade were disconcerting but I thought that it was ok and
continued.  portupgrade reported that only 2 packages were porcessed, most
were ignored with 50 some skipped and 1 failed.

I then proceeded to the mergebase.sh script, ran that and when I was
satisfied that all was done as expected, I rebooted my machine.  Well,
that's when X failed to start.  So, how would I go about correcting this
problem?

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


Re: Botched X.org upgrade, need help

2007-11-08 Thread Warren Block

On Thu, 8 Nov 2007, Andrew Falanga wrote:


Well, at last I think it's botched.  I really was following the directions
(I have the script file as UPDATING suggests to prove it :-), but the
upgrade didn't work as the X server failed to start after I rebooted.  I'm
hoping some kind person here will know the answer before I e-mail the list
mentioned in that section of UPDATING.  Anyway, that's basically, what
happened.  I have kdm set to start on bootup and it complained that X failed
to start.

When I got to the point of portupgrade -aP in the UPDATING section for
X.org 6.9 - 7.2; I decided to go with that command instead of portupgrade
-a thinking that by now, even for amd64, the packages would be available.
Perhaps a bad assumption.  Anyway, once that completed, the stats reported
by portupgrade were disconcerting but I thought that it was ok and
continued.  portupgrade reported that only 2 packages were porcessed, most
were ignored with 50 some skipped and 1 failed.

I then proceeded to the mergebase.sh script, ran that and when I was
satisfied that all was done as expected, I rebooted my machine.  Well,
that's when X failed to start.  So, how would I go about correcting this
problem?


You'll at least have to do a portupgrade -a to get all the ports that 
still need to be built.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Botched X.org upgrade, need help

2007-11-08 Thread Andrew Falanga
On Nov 8, 2007 12:37 PM, Warren Block [EMAIL PROTECTED] wrote:

 On Thu, 8 Nov 2007, Andrew Falanga wrote:

  Well, at last I think it's botched.  I really was following the
 directions
  (I have the script file as UPDATING suggests to prove it :-), but the
  upgrade didn't work as the X server failed to start after I rebooted.
  I'm
  hoping some kind person here will know the answer before I e-mail the
 list
  mentioned in that section of UPDATING.  Anyway, that's basically, what
  happened.  I have kdm set to start on bootup and it complained that X
 failed
  to start.
 
  When I got to the point of portupgrade -aP in the UPDATING section for
  X.org 6.9 - 7.2; I decided to go with that command instead of
 portupgrade
  -a thinking that by now, even for amd64, the packages would be
 available.
  Perhaps a bad assumption.  Anyway, once that completed, the stats
 reported
  by portupgrade were disconcerting but I thought that it was ok and
  continued.  portupgrade reported that only 2 packages were porcessed,
 most
  were ignored with 50 some skipped and 1 failed.
 
  I then proceeded to the mergebase.sh script, ran that and when I was
  satisfied that all was done as expected, I rebooted my machine.  Well,
  that's when X failed to start.  So, how would I go about correcting this
  problem?

 You'll at least have to do a portupgrade -a to get all the ports that
 still need to be built.

 -Warren Block * Rapid City, South Dakota USA



I was wondering about that.  Can I do that although I've completed the
instructions for the X.org update?  That is, I've already run that script
they mention at the end and /usr/X11R6 is now a symlink to /usr/local.
Also, I did a pkg_info | grep xorg and it looks like everything was upgraded
to 7.3 ok.

At any rate, here's what the log file said when X.org tried to load.

X.Org X Server 1.4.0
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 6.2-RELEASE-p7 amd64
Current Operating System: FreeBSD sniper 6.2-RELEASE-p7 FreeBSD
6.2-RELEASE-p7 #1: Sat Sep  8 13:37:08 MDT 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
amd64
Build Date: 08 November 2007  01:09:22AM

Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Thu Nov  8 19:28:38 2007
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout X.org Configured
(**) |--Screen Screen0 (0)
(**) |   |--Monitor Monitor0
(**) |   |--Device Card0
(**) |--Input Device Mouse0
(**) |--Input Device Keyboard0
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory /usr/X11R6/lib/X11/fonts/CID/ does not exist.
Entry deleted from font path.
(==) Including the default font path
/usr/local/lib/X11/fonts/misc/,/usr/local/lib/X11/fonts/TTF/,/usr/local/lib/X11/fonts/OTF,/usr/local/lib/X11/fonts/Type1/,/usr/local/lib/X11/fonts/100dpi/,/usr/local/lib/X11/fonts/75dpi/.
(**) FontPath set to:
/usr/X11R6/lib/X11/fonts/misc/,
/usr/X11R6/lib/X11/fonts/TTF/,
/usr/X11R6/lib/X11/fonts/Type1/,
/usr/X11R6/lib/X11/fonts/75dpi/,
/usr/X11R6/lib/X11/fonts/100dpi/,
/usr/local/lib/X11/fonts/misc/,
/usr/local/lib/X11/fonts/TTF/,
/usr/local/lib/X11/fonts/OTF,
/usr/local/lib/X11/fonts/Type1/,
/usr/local/lib/X11/fonts/100dpi/,
/usr/local/lib/X11/fonts/75dpi/
(**) RgbPath set to /usr/X11R6/lib/X11/rgb
(**) ModulePath set to /usr/X11R6/lib/modules
(II) Loader magic: 0x67eda0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.3
X.Org Video Driver: 2.0
X.Org XInput driver : 2.0
X.Org Server Extension : 0.3
X.Org Font Renderer : 0.5
(II) Loader running on freebsd
(II) LoadModule: pcidata
(WW) Warning, couldn't open module pcidata
(II) UnloadModule: pcidata
(EE) Failed to load module pcidata (module does not exist, 0)

Fatal server error:
Unable to load required base modules, Exiting...


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


Re: Botched X.org upgrade, need help

2007-11-08 Thread Beech Rintoul
On Thursday 08 November 2007, Andrew Falanga said:
 On Nov 8, 2007 12:37 PM, Warren Block [EMAIL PROTECTED] wrote:
  On Thu, 8 Nov 2007, Andrew Falanga wrote:
   Well, at last I think it's botched.  I really was following the
 
  directions
 
   (I have the script file as UPDATING suggests to prove it :-),
   but the upgrade didn't work as the X server failed to start
   after I rebooted.
 
   I'm
 
   hoping some kind person here will know the answer before I
   e-mail the
 
  list
 
   mentioned in that section of UPDATING.  Anyway, that's
   basically, what happened.  I have kdm set to start on bootup
   and it complained that X
 
  failed
 
   to start.
  
   When I got to the point of portupgrade -aP in the UPDATING
   section for X.org 6.9 - 7.2; I decided to go with that command
   instead of
 
  portupgrade
 
   -a thinking that by now, even for amd64, the packages would be
 
  available.
 
   Perhaps a bad assumption.  Anyway, once that completed, the
   stats
 
  reported
 
   by portupgrade were disconcerting but I thought that it was ok
   and continued.  portupgrade reported that only 2 packages were
   porcessed,
 
  most
 
   were ignored with 50 some skipped and 1 failed.
  
   I then proceeded to the mergebase.sh script, ran that and when
   I was satisfied that all was done as expected, I rebooted my
   machine.  Well, that's when X failed to start.  So, how would I
   go about correcting this problem?
 
  You'll at least have to do a portupgrade -a to get all the ports
  that still need to be built.
 
  -Warren Block * Rapid City, South Dakota USA

 I was wondering about that.  Can I do that although I've completed
 the instructions for the X.org update?  That is, I've already run
 that script they mention at the end and /usr/X11R6 is now a symlink
 to /usr/local. Also, I did a pkg_info | grep xorg and it looks like
 everything was upgraded to 7.3 ok.

 At any rate, here's what the log file said when X.org tried to
 load.

 X.Org X Server 1.4.0
 Release Date: 5 September 2007
 X Protocol Version 11, Revision 0
 Build Operating System: FreeBSD 6.2-RELEASE-p7 amd64
 Current Operating System: FreeBSD sniper 6.2-RELEASE-p7 FreeBSD
 6.2-RELEASE-p7 #1: Sat Sep  8 13:37:08 MDT 2007
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 amd64
 Build Date: 08 November 2007  01:09:22AM

 Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
 Module Loader present
 Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 (==) Log file: /var/log/Xorg.0.log, Time: Thu Nov  8 19:28:38
 2007 (==) Using config file: /etc/X11/xorg.conf
 (==) ServerLayout X.org Configured
 (**) |--Screen Screen0 (0)
 (**) |   |--Monitor Monitor0
 (**) |   |--Device Card0
 (**) |--Input Device Mouse0
 (**) |--Input Device Keyboard0
 (==) Automatically adding devices
 (==) Automatically enabling devices
 (WW) The directory /usr/X11R6/lib/X11/fonts/CID/ does not exist.
 Entry deleted from font path.
 (==) Including the default font path
 /usr/local/lib/X11/fonts/misc/,/usr/local/lib/X11/fonts/TTF/,/usr/l
ocal/lib/X11/fonts/OTF,/usr/local/lib/X11/fonts/Type1/,/usr/local/li
b/X11/fonts/100dpi/,/usr/local/lib/X11/fonts/75dpi/. (**) FontPath
 set to:
 /usr/X11R6/lib/X11/fonts/misc/,
 /usr/X11R6/lib/X11/fonts/TTF/,
 /usr/X11R6/lib/X11/fonts/Type1/,
 /usr/X11R6/lib/X11/fonts/75dpi/,
 /usr/X11R6/lib/X11/fonts/100dpi/,
 /usr/local/lib/X11/fonts/misc/,
 /usr/local/lib/X11/fonts/TTF/,
 /usr/local/lib/X11/fonts/OTF,
 /usr/local/lib/X11/fonts/Type1/,
 /usr/local/lib/X11/fonts/100dpi/,
 /usr/local/lib/X11/fonts/75dpi/
 (**) RgbPath set to /usr/X11R6/lib/X11/rgb
 (**) ModulePath set to /usr/X11R6/lib/modules
 (II) Loader magic: 0x67eda0
 (II) Module ABI versions:
 X.Org ANSI C Emulation: 0.3
 X.Org Video Driver: 2.0
 X.Org XInput driver : 2.0
 X.Org Server Extension : 0.3
 X.Org Font Renderer : 0.5
 (II) Loader running on freebsd
 (II) LoadModule: pcidata
 (WW) Warning, couldn't open module pcidata
 (II) UnloadModule: pcidata
 (EE) Failed to load module pcidata (module does not exist, 0)

 Fatal server error:
 Unable to load required base modules, Exiting...

From UPDATING:

If you plan on keeping your current /etc/X11/xorg.conf, make sure you
change ModulePath to /usr/local/lib/xorg/modules prior to running X.

Otherwise, just move /etc/X11/xorg.conf and restart X you can then add 
in your video configs from the original.

Beech


-- 
---
Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.FreeBSD.org/releases/6.2R/announce.html

Re: Botched X.org upgrade, need help

2007-11-08 Thread Andrew Falanga
On Nov 8, 2007 8:03 PM, Beech Rintoul [EMAIL PROTECTED] wrote:

 From UPDATING:

 If you plan on keeping your current /etc/X11/xorg.conf, make sure you
 change ModulePath to /usr/local/lib/xorg/modules prior to running X.

 Otherwise, just move /etc/X11/xorg.conf and restart X you can then add
 in your video configs from the original.

 Beech


Well, that's what I get for not reading down far enough in the Caveats
section.  Thanks for the tip.

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


Re: PPPoE config FreeBSD. Need help

2007-10-20 Thread Boris Samorodov
On Sat, 20 Oct 2007 10:00:27 +0500 Babek Ismayilov wrote:

 i need to configure PPPoE in FreeBSD 6.2.

 I tested but it didn't work out. I'm want to show you the result of the
 command:

 web# ppp
 Working in interactive mode
 Using interface: tun0
 ppp ON web dial Internet
 ppp ON web ping box.az
 Warning: ping: Invalid command
 Warning: ping: Failed 1
 ppp ON web
 ppp ON web pppd
 Warning: pppd: Invalid command
 Warning: pppd: Failed 1
 ppp ON web quit
 web# pppd

There is a very good diagnostic file /var/log/ppp.log . You may
populate it by the needed info. (Hint: man ppp)

 Here is rc.conf


 rc.conf


 # -- sysinstall generated deltas -- # Fri Oct 19 16:25:38 2007
 # Created: Fri Oct 19 16:25:38 2007
 # Enable network daemons for user convenience.
 # Please make all changes to this file, not to /etc/defaults/rc.conf.
 # This file now contains just the overrides from /etc/defaults/rc.conf.
 #defaultrouter=172.16.200.1
 hostname=web.pronet
 ifconfig_rl0=inet 172.16.200.201 netmask 255.255.255.0
 inetd_enable=YES
 linux_enable=YES
 sshd_enable=YES
 usbd_enable=YES
 ppp_interface=rl1
 ppp_enable=YES
 ppp_mode=ddial
 ppp_nat=NO
 ppp_profile=primus
 network_interfaces=rl1 lo0
 ifconfig_rl1=inet 10.0.0.1 netmask 255.255.255.0

Where did you get info for rl0, rl1 interface?
Why did you disable rl0 interface with network_interfaces=?
(Hint: there is no need for _PPPoE_ in any those ip-addresses)

 ppp.conf

Is it a copy-n-paste problem that you don't have a space before
commands? I.e.:
-
default:
 set log Phase Chat LCP IPCP CCP tun command
-

 #
 # PPP Sample Configuration File
 # Originally written by Toshiharu OHNO
 # Simplified 5/14/1999 by [EMAIL PROTECTED]
 #
 # See /usr/share/examples/ppp/ for some examples
 #
 # $FreeBSD: src/etc/ppp/ppp.conf,v 1.10 2004/11/19 17:12:56 obrien Exp $
 #

 default:
 set log Phase Chat LCP IPCP CCP tun command
 ident user-ppp VERSION (built COMPILATIONDATE)

 # Ensure that device references the correct serial port
 # for your modem. (cuad0 = COM1, cuad1 = COM2)
 #
 set device PPPoE:rl1

 set speed 115200
 set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
 \\ AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT
 set timeout 180 # 3 minute idle timer (the default)
 enable dns # request DNS info (for resolv.conf)

 papchap:
 #
 # edit the next three lines and replace the items in caps with
 # the values which have been assigned by your ISP.
 #

 primus:

 set authname pronet
 set authkey 3060683

 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR # Add a (sticky) default route


 added there lines to GENERIC:

The needed modules should have been loaded automagically.

 # Enables PPPoE
   options NETGRAPH
   options NETGRAPH_SOCKET
   options NETGRAPH_PPPOE

 But still didnt work out.


 Please give some advice.

Please take a look at /usr/share/examples/ppp.conf.sample. There is a
good example. Just two labels and a some ten commands. Insert your
values and get your PPPoE.


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


PPPoE config FreeBSD. Need help

2007-10-19 Thread Babek Ismayilov
Hi,

i need to configure PPPoE in FreeBSD 6.2.

I tested but it didn't work out. I'm want to show you the result of the
command:

web# ppp
Working in interactive mode
Using interface: tun0
ppp ON web dial Internet
ppp ON web ping box.az
Warning: ping: Invalid command
Warning: ping: Failed 1
ppp ON web
ppp ON web pppd
Warning: pppd: Invalid command
Warning: pppd: Failed 1
ppp ON web quit
web# pppd


Here is rc.conf


rc.conf


# -- sysinstall generated deltas -- # Fri Oct 19 16:25:38 2007
# Created: Fri Oct 19 16:25:38 2007
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
#defaultrouter=172.16.200.1
hostname=web.pronet
ifconfig_rl0=inet 172.16.200.201 netmask 255.255.255.0
inetd_enable=YES
linux_enable=YES
sshd_enable=YES
usbd_enable=YES
ppp_interface=rl1
ppp_enable=YES
ppp_mode=ddial
ppp_nat=NO
ppp_profile=primus
network_interfaces=rl1 lo0
ifconfig_rl1=inet 10.0.0.1 netmask 255.255.255.0



ppp.conf

#
# PPP Sample Configuration File
# Originally written by Toshiharu OHNO
# Simplified 5/14/1999 by [EMAIL PROTECTED]
#
# See /usr/share/examples/ppp/ for some examples
#
# $FreeBSD: src/etc/ppp/ppp.conf,v 1.10 2004/11/19 17:12:56 obrien Exp $
#

default:
set log Phase Chat LCP IPCP CCP tun command
ident user-ppp VERSION (built COMPILATIONDATE)

# Ensure that device references the correct serial port
# for your modem. (cuad0 = COM1, cuad1 = COM2)
#
set device PPPoE:rl1

set speed 115200
set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\\ AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT
set timeout 180 # 3 minute idle timer (the default)
enable dns # request DNS info (for resolv.conf)

papchap:
#
# edit the next three lines and replace the items in caps with
# the values which have been assigned by your ISP.
#

primus:

set authname pronet
set authkey 3060683

set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR # Add a (sticky) default route




added there lines to GENERIC:

# Enables PPPoE
  options NETGRAPH
  options NETGRAPH_SOCKET
  options NETGRAPH_PPPOE

But still didnt work out.


Please give some advice.

-- 
Your sincerely,
Babek Ismayilov
Information Technology Specialist

Contacts:
Mobile: (+994 55) 7574768
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Need help/advice with gmirror after server crash

2007-10-02 Thread Alexey A. Ukhov

Hello all colleagues.

I have the following problem.
I had server with 2 SATA drives worked in gmirror.
Recently we had crash of third (system) HDD.
After FreeBSD reinstalation I see in dmesg:
ad2: 238475MB Seagate ST3250620A 3.AAD at ata1-master UDMA100
ad3: 238475MB Seagate ST3250620A 3.AAD at ata1-slave UDMA100

And do not see any UFS file slices, partitions, etc.

In /dev I have only /dev/ad2 and /dev/ad3

Mounting is impossible also:
*sml# mount /dev/ad2 /mnt*
mount: /dev/ad2: Operation not permitted

Here is some output of fdisk usage:
*sml# fdisk /dev/ad2*
*** Working on device /dev/ad2 ***
parameters extracted from in-core disklabel are:
cylinders=484521 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=484521 heads=16 sectors/track=63 (1008 blks/cyl)

fdisk: invalid fdisk partition table found
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
   start 63, size 488397105 (238475 Meg), flag 80 (active)
   beg: cyl 0/ head 1/ sector 1;
   end: cyl 168/ head 15/ sector 63
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED

*sml# fdisk /dev/ad3*
*** Working on device /dev/ad3 ***
parameters extracted from in-core disklabel are:
cylinders=484521 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=484521 heads=16 sectors/track=63 (1008 blks/cyl)

fdisk: invalid fdisk partition table found
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
   start 63, size 488397105 (238475 Meg), flag 80 (active)
   beg: cyl 0/ head 1/ sector 1;
   end: cyl 168/ head 15/ sector 63
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED

Some ideas what to do with it?
How to restore my data?

Thanks in advance,
Alexey

P.S.: with stupid trick I see that data are still there:
*sml# dd if=/dev/ad2 count=1000|strings*
/home
/usr/local/vpopmail
1000+0 records in
1000+0 records out
512000 bytes transferred in 0.139311 secs (3675228 bytes/sec)

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


Re: Need help/advice with gmirror after server crash

2007-10-02 Thread Eric Crist


On Oct 2, 2007, at 12:46 PMOct 2, 2007, Alexey A. Ukhov wrote:


Hello all colleagues.

I have the following problem.
I had server with 2 SATA drives worked in gmirror.
Recently we had crash of third (system) HDD.
After FreeBSD reinstalation I see in dmesg:
ad2: 238475MB Seagate ST3250620A 3.AAD at ata1-master UDMA100
ad3: 238475MB Seagate ST3250620A 3.AAD at ata1-slave UDMA100

And do not see any UFS file slices, partitions, etc.

In /dev I have only /dev/ad2 and /dev/ad3

Mounting is impossible also:
*sml# mount /dev/ad2 /mnt*
mount: /dev/ad2: Operation not permitted


I'm guessing you reinstalled FreeBSD on another drive, and are trying  
to get your data partition back.  Did you remember to load the GEOM  
kernel module for gmirror?  If this isn't loaded, you won't be able  
to work with the drives.


IIRC, you can load it by either adding geom_mirror_load=YES to / 
boot/loader.conf or by typeing 'gmirror' at the command line.  You  
should then be able to mount /dev/mirror/gmX, where X is the mirror  
number.


HTH
-
Eric F Crist
Secure Computing Networks


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


japanese/samaba3 need help

2007-09-22 Thread vuthecuong
When I portinstall japanese/samba3 I got following error. My ports are 
up to date
by portsnap. I have no clue to solve this :( Could anyone give me some 
hints?


---  Installing 'ja-samba-3.0.25a,1' from a port (japanese/samba3)
---  Building '/usr/ports/japanese/samba3'
===  Cleaning for ja-samba-3.0.25a,1
===  NOTICE: This version of port has changed location of Samba password
===  NOTICE: (smbpasswd) directory. Files in '/usr/local/private'
===  NOTICE: have moved to '/usr/local/etc/samba'.
===  ---
===  Run 'make config' to (re)configure the port
===  ---
===  Extracting for ja-samba-3.0.25a,1
===  NOTICE: This version of port has changed location of Samba password
===  NOTICE: (smbpasswd) directory. Files in '/usr/local/private'
===  NOTICE: have moved to '/usr/local/etc/samba'.
===  ---
===  Run 'make config' to (re)configure the port
===  ---
= MD5 Checksum OK for samba-3.0.25a.tar.gz.
= SHA256 Checksum OK for samba-3.0.25a.tar.gz.
= MD5 Checksum OK for samba-3.0.25a-i18n-20070614.bz2.
= SHA256 Checksum OK for samba-3.0.25a-i18n-20070614.bz2.
===  Patching for ja-samba-3.0.25a,1
===  Applying distribution patches for ja-samba-3.0.25a,1
===  Applying FreeBSD patches for ja-samba-3.0.25a,1
1 out of 1 hunks failed--saving rejects to aclocal.m4.rej
= Patch patch-aclocal.m4 failed to apply cleanly.
= Patch(es) patch-Makefile.in applied cleanly.
*** Error code 1

Stop in /usr/ports/japanese/samba3.
*** Error code 1

Stop in /usr/ports/japanese/samba3.
   ! japanese/samba3(patch error)
---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed



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


Re: japanese/samaba3 need help

2007-09-22 Thread Paul Schmehl

--On September 23, 2007 3:24:09 PM +0700 vuthecuong [EMAIL PROTECTED] wrote:


When I portinstall japanese/samba3 I got following error. My ports are
up to date
by portsnap. I have no clue to solve this :( Could anyone give me some
hints?

---  Installing 'ja-samba-3.0.25a,1' from a port (japanese/samba3)
---  Building '/usr/ports/japanese/samba3'
===  Cleaning for ja-samba-3.0.25a,1
===  NOTICE: This version of port has changed location of Samba password
===  NOTICE: (smbpasswd) directory. Files in '/usr/local/private'
===  NOTICE: have moved to '/usr/local/etc/samba'.
===  ---
===  Run 'make config' to (re)configure the port
===  ---
===  Extracting for ja-samba-3.0.25a,1
===  NOTICE: This version of port has changed location of Samba password
===  NOTICE: (smbpasswd) directory. Files in '/usr/local/private'
===  NOTICE: have moved to '/usr/local/etc/samba'.
===  ---
===  Run 'make config' to (re)configure the port
===  ---
= MD5 Checksum OK for samba-3.0.25a.tar.gz.
= SHA256 Checksum OK for samba-3.0.25a.tar.gz.
= MD5 Checksum OK for samba-3.0.25a-i18n-20070614.bz2.
= SHA256 Checksum OK for samba-3.0.25a-i18n-20070614.bz2.
===  Patching for ja-samba-3.0.25a,1
===  Applying distribution patches for ja-samba-3.0.25a,1
===  Applying FreeBSD patches for ja-samba-3.0.25a,1
1 out of 1 hunks failed--saving rejects to aclocal.m4.rej
= Patch patch-aclocal.m4 failed to apply cleanly.
= Patch(es) patch-Makefile.in applied cleanly.
*** Error code 1
 Stop in /usr/ports/japanese/samba3.
*** Error code 1
 Stop in /usr/ports/japanese/samba3.
! japanese/samba3(patch error)
---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed

The first thing I would try is make distclean and make rmconfig.  Then try 
building the port again.


Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: need help using ndis and inconv

2007-09-08 Thread Terrence Wilson
When I enter the command:
# rehash

Nothing happens. I still can't run the iconv command. In fact, I don't 
see an iconv executable file anywhere. I installed it as a package, and 
when I run the command:
# pkg_info -L iconv-2.0_3 | less

I get a list of files -- mainly .so files and .cct files in the 
/usr/local/lib and /usr/local/libexec/iconv directories. The only 
executable files are a biconv file and a iconv_mktbl, which is perl 
script text executable.

I'm not sure what to do. Again, my main objective of to get ndis to 
convert a windows driver for my wireless nic card so I can use it on my 
Free BSD system.

When I run the command:
# biconv

I get the system sends back this message:
/libexec/ld-elf.so.1: Shared object libbiconv.so.2 not found, 
required by biconv. I'm not sure it matters, but libbiconv.so.2 is 
in the /usr/local/lib/ directory.

At this point I am totally lost. What else can I do to get iconv and 
ndis running?



Shantanoo Mahajan wrote:



On 08-Sep-07, at 5:17 AM, Terrence Wilson wrote:

 I need whatever help I can get to use ndis to converter wireless nic
 card so I can use it on my laptop. it seems that I don't have iconv
 working properly. I go into the ndisgen program by typing the command:

 # ndisgen

 The program opens and gives a list of options. I choose option 3:
 Convert driver. The program then asks me to type in the path to the
 .inf file. So I type:

 /cdrom/DRIVER/bcmwl5.inf

 The program then says This .INF file appears to be in Unicode. The
 iconv(1) utility does not appear to be installed. Please install this
 utility or convert the .INF file to ASCII and run this utility.

 So, I downloaded the iconv-2.0_3.tbz package and run the command:

 # pkg_add iconv-2.0_3.tbz

 Then I try ndisgen again and I get the above error message again. When
 I type in the command

 # pkg_info -L iconv-2.0_3 | less

 I get a list of files including biconv, iconv_mktbl, biconv.h, etc.  
 But
 when I enter the command:

 # iconv

 I get the message: Command not found.

Run following command if you have csh/tcsh as your shell:
# rehash

and then try the iconv command again.

regards,
shantanoo
___
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]


need help using ndis and inconv

2007-09-07 Thread Terrence Wilson
I need whatever help I can get to use ndis to converter wireless nic 
card so I can use it on my laptop. it seems that I don't have iconv 
working properly. I go into the ndisgen program by typing the command:

# ndisgen

The program opens and gives a list of options. I choose option 3: 
Convert driver. The program then asks me to type in the path to the 
.inf file. So I type:

/cdrom/DRIVER/bcmwl5.inf

The program then says This .INF file appears to be in Unicode. The 
iconv(1) utility does not appear to be installed. Please install this 
utility or convert the .INF file to ASCII and run this utility.

So, I downloaded the iconv-2.0_3.tbz package and run the command:

# pkg_add iconv-2.0_3.tbz

Then I try ndisgen again and I get the above error message again. When 
I type in the command

# pkg_info -L iconv-2.0_3 | less

I get a list of files including biconv, iconv_mktbl, biconv.h, etc. But 
when I enter the command:

# iconv

I get the message: Command not found.

Since it seems that the main problem now is getting iconv to run, the 
question is do I have it installed correctly? Do I need to change any 
environment variables to get the system to run it? How do I do this so 
that it runs automatically inside the ndisgen program, since this what 
it seems like the system is trying to do? Thanks for any help. 
  Please note, although no boardcode and smiley buttons are 
shown, they are still useable 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: need help using ndis and inconv

2007-09-07 Thread Shantanoo Mahajan


On 08-Sep-07, at 5:17 AM, Terrence Wilson wrote:


I need whatever help I can get to use ndis to converter wireless nic
card so I can use it on my laptop. it seems that I don't have iconv
working properly. I go into the ndisgen program by typing the command:

# ndisgen

The program opens and gives a list of options. I choose option 3:
Convert driver. The program then asks me to type in the path to the
.inf file. So I type:

/cdrom/DRIVER/bcmwl5.inf

The program then says This .INF file appears to be in Unicode. The
iconv(1) utility does not appear to be installed. Please install this
utility or convert the .INF file to ASCII and run this utility.

So, I downloaded the iconv-2.0_3.tbz package and run the command:

# pkg_add iconv-2.0_3.tbz

Then I try ndisgen again and I get the above error message again. When
I type in the command

# pkg_info -L iconv-2.0_3 | less

I get a list of files including biconv, iconv_mktbl, biconv.h, etc.  
But

when I enter the command:

# iconv

I get the message: Command not found.


Run following command if you have csh/tcsh as your shell:
# rehash

and then try the iconv command again.

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


Need help: TACACS+

2007-08-29 Thread Mukul Priyadarshi

Hello,

We are planning to use TACACS+ for user authentication of an application serve. 
The pictorial description of our requirement is shown below:
Server 1
With go global server, PAM and TACACS+


Application server


[cid:image013.gif@01C7EAEC.68F81A20][cid:[EMAIL PROTECTED]
NW


NW


[cid:image015.gif@01C7EAEC.68F81A20][cid:[EMAIL PROTECTED]:[EMAIL PROTECTED]   
[cid:image021.jpg@01C7EAEC.68F81A20] [cid:image019.gif@01C7EAEC.68F81A20]   
 [cid:image022.gif@01C7EAEC.68F81A20]
X Terminal
With go global client





Server2 with authentication database


   
[cid:image024.jpg@01C7EAEC.68F81A20]





System Specifications
Server 1:
  sun 5 server v 250
  TCP/IP connectivity - yes
  28.8 Kbps or higher network connection - yes
  128 MB RAM (8 MB for first user, 4.5 MB - yes
  additional RAM per concurrent user, plus RAM -
  required by published applications)
   200 MB hard disk space - Yes
  Go global server installed Version :  2-1-5-732

X terminal:
  Native X (UNIX/Linux) clients - yes
  X11 client - Yes
  Internet Explorer or Netscape plug-in - yes
  Go global client  installed Version :  2.1.5.732

Server2 with authentication database:
  UNIX server.  No configuration details available so far

Our Query:
Can user profiles (Username and Password) that are present in Application 
server be automatically uploaded on the Server2 with authentication database, 
with the help of TACACS+ protocol?

Please provide us the required input at the earliest.
It shall be of great help if you could revert back to us. Looking forward to 
response from your end.

Regards,
Mukul Priyadarshi
CONTACT PHONE NUMBER: 020 - 22974606
CONTACT EMAIL ADDRESS:[EMAIL PROTECTED]



 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not to copy, disclose, or distribute this e-mail or its contents to any other 
person and any such actions are unlawful. This e-mail may contain viruses. 
Infosys has taken every reasonable precaution to minimize this risk, but is not 
liable for any damage you may sustain as a result of any virus in this e-mail. 
You should carry out your own virus checks before opening the e-mail or 
attachment. Infosys reserves the right to monitor and review the content of all 
messages sent to or from this e-mail address. Messages sent to or from this 
e-mail address may be stored on the Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

RE: Policy - based Routing problem Need help

2007-08-07 Thread Narek Gharibyan
Thank you very much,

Relaying on your help reach to success but rules differ from yours a little
bit. My working rules listed below:

ipfw add fwd A all from ${inet1}:${imask1} to any out recv ${iif1}
ipfw add fwd B all from ${inet}:${imask} to any out recv ${iif}
ipfw add fwd G all from any to ${inet1}:${imask1} out via ${iif1}
ipfw add fwd H all from any to ${inet}:${imask} out via ${iif}
ipfw add fwd A all from ${onet1}:${omask1} to any out
ipfw add fwd B all from ${onet}:${omask} to any out
ipfw add fwd A all from ${inet1}:${imask1} to any out
ipfw add fwd B all from ${inet}:${imask} to any out


The only problem last is when someone (from provider A) try to access ftp
server via B it connects but didn't do Get Directory command. Ipfw doesn't
matter I checked. I think it is specification of ftp- data 20 port
(connection opening problem). Can you describe me how it take place via 20
port or find the wrong line in ipfw fwd rules?

Best regards,
Narek
 

-Original Message-
From: Julian Elischer [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 30, 2007 2:02 AM
To: Narek Gharibyan
Subject: Re: Policy - based Routing problem Need help

Narek Gharibyan wrote:
 Yes your written rules are correct, You think exactly
 I want to do ALSO
 
 1. Packets coming from ISP-B (B network)into C SHOULD go out only via xx0
 (as they came)

# make sure WE can talk to the back nets
# and ourself
ipfw add 1 allow ip from any to any via lo0

ipfw add 2 allow ip from me to G
ipfw add 3 allow ip from me to H
# the next 2 rules are not actually needed as any packets 
# going to G and H will go the right way anyhow.
# ipfw add 4 fwd (G) ip from any to G out recv xx0
# ipfw add 5 fwd (H) ip from any to H out recv xx1

# The next rules ARE needed.
ipfw add 6 fwd (A) ip from G to any out recv yy0
ipfw add 7 fwd (B) ip from H to any out recv yy1
ipfw add 8 fwd (A) ip from (C) to any out
ipfw add 9 fwd (B) ip from (D) to any out


 2. Packets coming from ISP-A (A network) into D Should go out only via xx1
 (as they came)
 
 Saying by another words packets should leave my network via interface they
 came. 
 
 3. Packets coming from E should go out via xx0
 4. Packets coming from F should go out via xx1
 
 Also I try from inside to forward packets without default gateway using
via
 A or B with the commands
 
 Ipfw add fwd A all from G to any xmit (or via) xx0 
 
 and it didn't work, I've compiled my kernel with IPFIREWALL,
 IPFIREWALL_FORWARD, and set net.inet.ip.forwarding=1 in sysctl.conf.
Surely
 I will try your configuration on Monday, but it seems ipfw fwd nothing do
 forwarding. So how to write for reaching the results (1.,2.,3.,4.)?
 
 Regards,
 Narek
 
 -Original Message-
 From: Julian Elischer [mailto:[EMAIL PROTECTED] 
 Sent: Sunday, July 29, 2007 1:49 PM
 To: Narek Gharibyan
 Subject: Re: Policy - based Routing problem Need help
 
 Narek Gharibyan wrote:
 The right drawing is that one below

___  ___
 -[ISP-A](A)(C)[xx0 yy0](E)--(G)[NAT]
   [ FBSD  ][   Windows ](X)-LAN
 -[ISP-B](B)(D)[xx1 yy1](F)--(H)[NAT]
 ~~~  ~~~

 We can't use only FreeBSD box, we need also use Windows box, due to our
 company's policy. So you suggestion is not an option. I think we need a
 different solution.
 
 ok.
 
 now that we have established the exact layout,
 what is it exactly that you want to do?
 
 I gather that you want packets that come into D to go out of F
 and packets that come in through C should go out via E
 
 this is achieved by:
 ipfw add 1 fwd (G) ip from any to G out recv xx0
 ipfw add 2 fwd (H) ip from any to H out recv xx1
 
 what else do  you wish it to do?
 
 Regards,
 Narek


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


Re: Policy - based Routing problem Need help

2007-08-07 Thread Julian Elischer

Narek Gharibyan wrote:

Thank you very much,

Relaying on your help reach to success but rules differ from yours a little
bit. My working rules listed below:

ipfw add fwd A all from ${inet1}:${imask1} to any out recv ${iif1}
ipfw add fwd B all from ${inet}:${imask} to any out recv ${iif}


the following two rules shouldnto be needed if your routes are correct.


ipfw add fwd G all from any to ${inet1}:${imask1} out via ${iif1}
ipfw add fwd H all from any to ${inet}:${imask} out via ${iif}



I don't know what onet is..

ipfw add fwd A all from ${onet1}:${omask1} to any out
ipfw add fwd B all from ${onet}:${omask} to any out
ipfw add fwd A all from ${inet1}:${imask1} to any out
ipfw add fwd B all from ${inet}:${imask} to any out


The only problem last is when someone (from provider A) try to access ftp
server via B it connects but didn't do Get Directory command. Ipfw doesn't
matter I checked. I think it is specification of ftp- data 20 port
(connection opening problem). Can you describe me how it take place via 20
port or find the wrong line in ipfw fwd rules?


ftp is a problem as it negotiates new ports for data.
That is why people use Passive mode FTP.  it doesn't do that.



Best regards,
Narek
 


-Original Message-
From: Julian Elischer [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 30, 2007 2:02 AM

To: Narek Gharibyan
Subject: Re: Policy - based Routing problem Need help

Narek Gharibyan wrote:

Yes your written rules are correct, You think exactly
I want to do ALSO

1. Packets coming from ISP-B (B network)into C SHOULD go out only via xx0
(as they came)


# make sure WE can talk to the back nets
# and ourself
ipfw add 1 allow ip from any to any via lo0

ipfw add 2 allow ip from me to G
ipfw add 3 allow ip from me to H
# the next 2 rules are not actually needed as any packets 
# going to G and H will go the right way anyhow.

# ipfw add 4 fwd (G) ip from any to G out recv xx0
# ipfw add 5 fwd (H) ip from any to H out recv xx1

# The next rules ARE needed.
ipfw add 6 fwd (A) ip from G to any out recv yy0
ipfw add 7 fwd (B) ip from H to any out recv yy1
ipfw add 8 fwd (A) ip from (C) to any out
ipfw add 9 fwd (B) ip from (D) to any out



2. Packets coming from ISP-A (A network) into D Should go out only via xx1
(as they came)

Saying by another words packets should leave my network via interface they
came. 


3. Packets coming from E should go out via xx0
4. Packets coming from F should go out via xx1

Also I try from inside to forward packets without default gateway using

via

A or B with the commands

Ipfw add fwd A all from G to any xmit (or via) xx0 


and it didn't work, I've compiled my kernel with IPFIREWALL,
IPFIREWALL_FORWARD, and set net.inet.ip.forwarding=1 in sysctl.conf.

Surely

I will try your configuration on Monday, but it seems ipfw fwd nothing do
forwarding. So how to write for reaching the results (1.,2.,3.,4.)?

Regards,
Narek

-Original Message-
From: Julian Elischer [mailto:[EMAIL PROTECTED] 
Sent: Sunday, July 29, 2007 1:49 PM

To: Narek Gharibyan
Subject: Re: Policy - based Routing problem Need help

Narek Gharibyan wrote:

The right drawing is that one below

   ___  ___
-[ISP-A](A)(C)[xx0 yy0](E)--(G)[NAT]
  [ FBSD  ][   Windows ](X)-LAN
-[ISP-B](B)(D)[xx1 yy1](F)--(H)[NAT]
~~~  ~~~

We can't use only FreeBSD box, we need also use Windows box, due to our
company's policy. So you suggestion is not an option. I think we need a
different solution.

ok.

now that we have established the exact layout,
what is it exactly that you want to do?

I gather that you want packets that come into D to go out of F
and packets that come in through C should go out via E

this is achieved by:
ipfw add 1 fwd (G) ip from any to G out recv xx0
ipfw add 2 fwd (H) ip from any to H out recv xx1

what else do  you wish it to do?


Regards,
Narek



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


RE: Need help with GNU assembly

2007-06-18 Thread Ted Mittelstaedt

http://asm.sourceforge.net/intro.html



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Patil, Kiran
 Sent: Thursday, June 14, 2007 2:11 PM
 To: freebsd-questions@freebsd.org
 Cc: Patil, Kiran
 Subject: Need help with GNU assembly
 
 
 Hi All,
 
  
 
 I am trying to use GNU assembly. I am trying simple thing such as ,
 moving content of memory location into general purpose register (ax).
 
  
 
 I have following code :
 
  
 
 struct context {
 
  
 
 unsigned long mask[8];
 
 } CONTEXT;
 
  
 
 int main()
 
 {
 
 CONTEXT sr;
 
 sr.mask[5] = 0x8FED;
 
  
 
 __asm ( movw %0, %ax : : m (*(unsigned
 short*)sr.mask[5]) );
 
 return 0;
 
 }
 
  
 
 Compiler complains with error bad substitution directive in asm
 instruction.
 
  
 
 I tried changing the code something like this :
 
  
 
 __asm ( movw %0, %ax : : m (*(unsigned short*)sr.mask+5) );
 
  
 
 Still error is same, then I tried following:
 
  
 
 Unsigned short* ptemp = sr.mask[5];
 
 __asm ( movw %0, %ax : : m (*(unsigned short*)ptemp) );
 
 But still no luck, compiler reported same error as mentioned above
 
  
 
 Any help is appreciated. Please let me know where I am mistake.
 
  
 
 Thanks,
 
 -- Kiran P.
 
 ___
 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: Need help with GNU assembly

2007-06-17 Thread Ted Mittelstaedt

http://user.nj.net/~tms/hello.html

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Patil, Kiran
 Sent: Thursday, June 14, 2007 2:11 PM
 To: freebsd-questions@freebsd.org
 Cc: Patil, Kiran
 Subject: Need help with GNU assembly
 
 
 Hi All,
 
  
 
 I am trying to use GNU assembly. I am trying simple thing such as ,
 moving content of memory location into general purpose register (ax).
 
  
 
 I have following code :
 
  
 
 struct context {
 
  
 
 unsigned long mask[8];
 
 } CONTEXT;
 
  
 
 int main()
 
 {
 
 CONTEXT sr;
 
 sr.mask[5] = 0x8FED;
 
  
 
 __asm ( movw %0, %ax : : m (*(unsigned
 short*)sr.mask[5]) );
 
 return 0;
 
 }
 
  
 
 Compiler complains with error bad substitution directive in asm
 instruction.
 
  
 
 I tried changing the code something like this :
 
  
 
 __asm ( movw %0, %ax : : m (*(unsigned short*)sr.mask+5) );
 
  
 
 Still error is same, then I tried following:
 
  
 
 Unsigned short* ptemp = sr.mask[5];
 
 __asm ( movw %0, %ax : : m (*(unsigned short*)ptemp) );
 
 But still no luck, compiler reported same error as mentioned above
 
  
 
 Any help is appreciated. Please let me know where I am mistake.
 
  
 
 Thanks,
 
 -- Kiran P.
 
 ___
 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]


Need help with GNU assembly

2007-06-14 Thread Patil, Kiran
Hi All,

 

I am trying to use GNU assembly. I am trying simple thing such as ,
moving content of memory location into general purpose register (ax).

 

I have following code :

 

struct context {

 

unsigned long mask[8];

} CONTEXT;

 

int main()

{

CONTEXT sr;

sr.mask[5] = 0x8FED;

 

__asm ( movw %0, %ax : : m (*(unsigned
short*)sr.mask[5]) );

return 0;

}

 

Compiler complains with error bad substitution directive in asm
instruction.

 

I tried changing the code something like this :

 

__asm ( movw %0, %ax : : m (*(unsigned short*)sr.mask+5) );

 

Still error is same, then I tried following:

 

Unsigned short* ptemp = sr.mask[5];

__asm ( movw %0, %ax : : m (*(unsigned short*)ptemp) );

But still no luck, compiler reported same error as mentioned above

 

Any help is appreciated. Please let me know where I am mistake.

 

Thanks,

-- Kiran P.

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


<    1   2   3   4   5   6   7   8   >