Re: portmanager -s deletes ports?

2007-05-24 Thread Heinrich Rebehn

Norberto Meijome wrote:

On Wed, 23 May 2007 09:53:39 +0200
Heinrich Rebehn [EMAIL PROTECTED] wrote:

This is weird! A program that is supposed to show the *status* of 
installed ports should never arbitrarily *remove* ports. 


I agree that is not clear why it is removing ports without warning. 

I consider this 
a severe bug. Luckily, this was on a server system where X11 is not 
crucial. I really don't want to imagine the hassle i would have had if 
portmanager had removed exim or apache or samba or ...


I think the chances of that ever happening are pretty low - do you think any of
them would get removed from ports?  The fact that xorg-manpages was being
orphaned is clearly documented in kris@ entry in ports/UPDATING.

the solution is simple, dont use that tool , at least in the form you are using
it.



Program has a bug -- don't use it. Strange logic, but at least easier 
then filing a bug report ;-)


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


Re: portmanager -s deletes ports?

2007-05-23 Thread Heinrich Rebehn

RW wrote:

On Tue, 22 May 2007 09:39:33 +0200
Heinrich Rebehn [EMAIL PROTECTED] wrote:


Hi list,

i use

#  portmanager -s|grep OLD | sort -t: -k2

occasionally to see which ports need upgrading. Ports tree is
cvsup'ed each night.

I then noticed that almost *all* X11 manpages had been deleted. :-(

The portmanager manpage reads:

  o   -s or --status
   status of installed ports

My Question: how is it possible that this command *deletes* any ports?
I am aware that there have been big changes to X11 recently, but 
nevertheless, something like this should not happen.


That port has been removed from the tree. Portmanger will prompt you to
remove it and then do it automatically after a timeout. It's not really
intended to be machine-readable output.


This is weird! A program that is supposed to show the *status* of 
installed ports should never arbitrarily *remove* ports. I consider this 
a severe bug. Luckily, this was on a server system where X11 is not 
crucial. I really don't want to imagine the hassle i would have had if 
portmanager had removed exim or apache or samba or ...


pkg_version -vl will give you a list of out of date ports.


Thanks for this hint :-)

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


portmanager -s deletes ports?

2007-05-22 Thread Heinrich Rebehn

Hi list,

i use

#  portmanager -s|grep OLD | sort -t: -k2

occasionally to see which ports need upgrading. Ports tree is cvsup'ed 
each night.


Today the above command seemed to take forever and also gave an error 
message:


MGPMrTimer timeout started signal -=14

When i hit ^C i got:

[EMAIL PROTECTED] [~] # pkg_delete: unexec command for 'rm -f 
/usr/X11R6/man/cat1/xset.1.gz /usr/X11R6/man/cat1/xset.1 
/usr/X11R6/man/cat1/xset.1.gz /usr/X11R6/man/cat1/xset.1.gz.gz 
/usr/X11R6/man/cat1/xset.1.gz.bz2' failed

pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)

I then noticed that almost *all* X11 manpages had been deleted. :-(

The portmanager manpage reads:

 o   -s or --status
  status of installed ports

My Question: how is it possible that this command *deletes* any ports?
I am aware that there have been big changes to X11 recently, but 
nevertheless, something like this should not happen.


Or is there anything that i have missed?

Kind regards,

--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

Phone : +49/421/218-4664
Fax   :-3341

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


Error upgrading python from ports

2006-10-10 Thread Heinrich Rebehn

Hi list,

/usr/ports/UPDATING reads:

20061009: 

  AFFECTS: users of any ports using Python 

  AUTHOR: [EMAIL PROTECTED] 




  After upgrading of lang/python, you must rebuild all its consumer 

  ports to make them get ready to Python 2.5. 




  To do this, you will need to: 

pkgdb -uf  cd /usr/ports/lang/python  make 
upgrade-site-packages



Doing this yields:

---  Updating the pkgdb
[Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ... - 147 
packages found (-0 +147) 
... 
done]

Please install sysutils/portupgrade.
*** Error code 1

Stop in /usr/ports/lang/python.
[EMAIL PROTECTED] [/usr/ports/lang/python] # pkg_info -Ix portupgrade
portupgrade-2.1.3.3_1,2 FreeBSD ports/packages administration and 
management tool s



What's wrong?

--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

Phone : +49/421/218-4664
Fax   :-3341
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Recommendation for 1000BASE-SX card?

2006-06-01 Thread Heinrich Rebehn

Danial Thom wrote:

 The intel cards that use the EM driver are the
best performing cards in FreeBSD that we've
tested. We've test cards made by the same company
that use the broadcom controllers and the intel
cards are substantially better (ie use less CPU
passing the same amount of traffic). 


Be careful using on-board controllers. Usually
vendors, for some reason, don't wire them to the
pci-x bus. Most supermicro boards wire the em
controllers to the 32bit/33mhz bus and the tyan
and supermicro opteron boards we've tested wire
the broadcoms to a shared 1x PCI-E, both of which
will not only give you poor performance, but are
not capable of running full gigabit rates.

DT



The Intel card would be an INTEL Pro1000MF, right? This would be quite
expensive (~ EUR 430), but good performance and stability would warrant
that.
ATM, we are using the onboard controller (Broadcom BCM5704C wired to the
pci-x bus). I did not have opportunity to do performance measurements,
but we do have problems with our Linkpro 1000SX/1000TX converters, the
3rd of which has already died.
That's why i want to give a PCI-X card with fiber interface a try.

The 3com 996-SX is somewhat cheaper, does anyone have experience with
that one?

Thanks for all your replies :-)

Heinrich

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


Re: Recommendation for 1000BASE-SX card?

2006-06-01 Thread Heinrich Rebehn

Danial Thom wrote:


--- Heinrich Rebehn [EMAIL PROTECTED]
wrote:


Danial Thom wrote:

 The intel cards that use the EM driver are

the

best performing cards in FreeBSD that we've
tested. We've test cards made by the same

company

that use the broadcom controllers and the

intel

cards are substantially better (ie use less

CPU
passing the same amount of traffic). 


Be careful using on-board controllers.

Usually

vendors, for some reason, don't wire them to

the

pci-x bus. Most supermicro boards wire the em
controllers to the 32bit/33mhz bus and the

tyan

and supermicro opteron boards we've tested

wire

the broadcoms to a shared 1x PCI-E, both of

which

will not only give you poor performance, but

are

not capable of running full gigabit rates.

DT


The Intel card would be an INTEL Pro1000MF,
right? This would be quite
expensive (~ EUR 430), but good performance and
stability would warrant
that.
ATM, we are using the onboard controller
(Broadcom BCM5704C wired to the
pci-x bus). I did not have opportunity to do
performance measurements,
but we do have problems with our Linkpro
1000SX/1000TX converters, the
3rd of which has already died.
That's why i want to give a PCI-X card with
fiber interface a try.


No, that would be the 1000MT, the MF is a fiber
card I believe. They are about US$120. in the US.


Our building has fiber cabling, that's why i am looking for a fiber 
card. The 1000SX/1000TX converters that we use are just to unreliable.


How do you know its wired to the PCI-X bus, since
I don't believe that the controller has a way of
reporting the way that the intel controller does?
What MB do you have?


It is a Tyan Thunder K8SD Pro S2882-D

http://www.tyan.com/products/html/thunderk8sdpro_spec.html

The spec says that the BCM5704C is connected to PCI-X Bridge A 
(64Bit,100MHz).


Also keep in mind that the bge driver is a piece
of crap; driver quality is a much more telling
factor in these free OS's than the card in many
cases. The EM and FXP are the only drivers worth
anything (mainly because neither were written by
mass-driver mill man Bill Paul).


That really sounds bad. I wonder if others can confirm that.


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


Recommendation for 1000BASE-SX card?

2006-05-31 Thread Heinrich Rebehn

Hi list,

can anyone recommend a 1000BASE-SX ethernet adapter for PCI-X slot, that
is well supported by FreeBSD-amd64?.
I want to use it in a TYAN Thunder K8SD Pro (S2882-D) board.

TIA,

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
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]


problem wiring down scsi device

2006-04-14 Thread Heinrich Rebehn

Hi list,

In our server we have a icp vortex scsi controller (iir0) and an
external firewire disk.
In /boot/device.hints i specified:

hint.scbus.0.at=iir0

to prevent the firewire disk from becoming device da0 if powered on 
during boot.

This has been working for quite some time now.

But today, when the server rebooted after a crash, it did not. The 
firewire disk became device da0, causing fsck to fail.


In /var/run/dmesg.boot i saw these messages:

iir0: ICP Disk Array Controller mem 0xff5fc000-0xff5f irq 26 at 
device 2.0 on pci2
Ambiguous scbus configuration for iir0 bus 1, cannot wire down.  The 
kernel config entry for scbus0 should specify a controller bus.

Scbus will be assigned dynamically.
Ambiguous scbus configuration for iir0 bus 2, cannot wire down.  The 
kernel config entry for scbus0 should specify a controller bus.

Scbus will be assigned dynamically.

What does this mean? Searching the ML archive and google did not bring 
up any answers.


BTW, this happens after i replaced the P4 CPU with a AMD64.

OS version is 5.4-RELEASE-p13

I am attaching /var/run/dmesg.boot. BTW: anybody know why dmesg returns 
nothing?

[EMAIL PROTECTED] [~] # dmesg
[EMAIL PROTECTED] [~] #


Thanks for any help,

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

Phone : +49/421/218-4664
Fax   :-3341

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.4-RELEASE-p13 #20: Wed Apr  5 18:07:37 CEST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ANTSRV1
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Opteron(tm) Processor 246 (1993.11-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0xf5a  Stepping = 10
  
Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
  AMD Features=0xe050NX,AMIE,LM,DSP,3DNow!
real memory  = 2147418112 (2047 MB)
avail memory = 2095964160 (1998 MB)
ACPI APIC Table: A M I  OEMAPIC 
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 Version 1.1 irqs 0-23 on motherboard
ioapic1 Version 1.1 irqs 24-27 on motherboard
ioapic2 Version 1.1 irqs 28-31 on motherboard
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: A M I OEMRSDT on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
cpu0: ACPI CPU on acpi0
acpi_throttle0: ACPI CPU Throttling on cpu0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 6.0 on pci0
pci3: ACPI PCI bus on pcib1
ohci0: OHCI (generic) USB controller mem 0xfeafc000-0xfeafcfff irq 19 at 
device 0.0 on pci3
usb0: OHCI version 1.0, legacy support
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: OHCI (generic) USB controller mem 0xfeafd000-0xfeafdfff irq 19 at 
device 0.1 on pci3
usb1: OHCI version 1.0, legacy support
usb1: OHCI (generic) USB controller on ohci1
usb1: USB revision 1.0
uhub1: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
fwohci0: VIA Fire II (VT6306) port 0xa800-0xa87f mem 0xfeafe000-0xfeafe7ff 
irq 16 at device 4.0 on pci3
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 8.
fwohci0: EUI64 00:10:dc:00:00:3e:03:5f
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: IEEE1394(FireWire) bus on fwohci0
sbp0: SBP-2/SCSI over FireWire on firewire0
fwe0: Ethernet over FireWire on firewire0
if_fwe0: Fake Ethernet address: 02:10:dc:3e:03:5f
fwe0: Ethernet address: 02:10:dc:3e:03:5f
fwe0: if_start running deferred for Giant
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc1, gen=1, CYCLEMASTER mode
firewire0: 2 nodes, maxhop = 1, cable IRM = 1 (me)
firewire0: bus manager 1 (me)
atapci0: SiI 3114 SATA150 controller port 
0xa880-0xa88f,0xac00-0xac03,0xb800-0xb807,0xb880-0xb883,0xbc00-0xbc07 mem 
0xfeafec00-0xfeafefff irq 19 at device 5.0 on pci3
ata2: channel #0 on atapci0
ata3: channel #1 on atapci0
ata4: channel #2 on atapci0
ata5: channel #3 on atapci0
pci3: display, VGA at device 6.0 (no driver attached)
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci1: AMD 8111 UDMA133 controller port 
0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: channel #0 on atapci1
ata1: channel #1 on atapci1
pci0: serial bus, SMBus at device 7.2 (no driver attached)
pci0: bridge at device 7.3 (no driver attached)
pcib2: ACPI PCI-PCI bridge at device 10.0 on pci0
pci2: ACPI PCI bus on pcib2
iir0: ICP Disk Array Controller mem 0xff5fc000-0xff5f irq 26 at device 
2.0

Panic booting from 6.1-BETA4-amd64-disc1

2006-04-07 Thread Heinrich Rebehn

Hi list,

i wanted to try out 64 bit support on my ASUS A8V Deluxe with
AMD Athlon(tm) 64 X2 Dual Core Processor 3800+

I downloaded 6.1-BETA4-amd64-disc1.iso from the FreeBSD ftp site, burned 
a disc an booted from it.


However, it failed:


Waiting 5 seconds for SCSI devices to settle

panic: sym: VTOBUS FAILED

Booting with ACPI disabled or safe mode did not help.

Googling and searching the ML did not show any hints.

Any ideas?
--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

Phone : +49/421/218-4664
Fax   :-3341
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


exim does not compile on amd64

2006-04-07 Thread Heinrich Rebehn

Hi list,

i installed 6.1-BETA4-amd64 on an AMD64 and it works fine so far.
However i cannot compile exim[-ldap2] from ports:

[EMAIL PROTECTED] [~] # portupgrade exim-ldap2
---  Upgrading 'exim-ldap2-4.60' to 'exim-ldap2-4.61_1' (mail/exim-ldap2)
---  Building '/usr/ports/mail/exim-ldap2'
===  Cleaning for perl-5.8.8
===  Cleaning for openldap-client-2.2.30
===  Cleaning for libiconv-1.9.2_2
===  Cleaning for exim-ldap2-4.61_1
===  Vulnerability check disabled, database not found
===  Extracting for exim-ldap2-4.61_1
= MD5 Checksum OK for exim/exim-4.61.tar.bz2.
= SHA256 Checksum OK for exim/exim-4.61.tar.bz2.
===   exim-ldap2-4.61_1 depends on file: /usr/local/bin/perl5.8.8 - found
===  Patching for exim-ldap2-4.61_1
===   exim-ldap2-4.61_1 depends on file: /usr/local/bin/perl5.8.8 - found
===  Applying FreeBSD patches for exim-ldap2-4.61_1
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to OS/Makefile-FreeBSD.rej
= Patch patch-OS::Makefile-FreeBSD failed to apply cleanly.
*** Error code 1

Stop in /usr/ports/mail/exim-ldap2.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade3499.0 make DEPENDS_TARGET=package

** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! mail/exim-ldap2 (exim-ldap2-4.60) (patch error)
---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
[EMAIL PROTECTED] [~] #


Is this a known problem?
--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

Phone : +49/421/218-4664
Fax   :-3341
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: exim does not compile on amd64

2006-04-07 Thread Heinrich Rebehn

Lowell Gilbert wrote:

Heinrich Rebehn [EMAIL PROTECTED] writes:



Hi list,

i installed 6.1-BETA4-amd64 on an AMD64 and it works fine so far.
However i cannot compile exim[-ldap2] from ports:

[EMAIL PROTECTED] [~] # portupgrade exim-ldap2
---  Upgrading 'exim-ldap2-4.60' to 'exim-ldap2-4.61_1' (mail/exim-ldap2)
---  Building '/usr/ports/mail/exim-ldap2'
===  Cleaning for perl-5.8.8
===  Cleaning for openldap-client-2.2.30
===  Cleaning for libiconv-1.9.2_2
===  Cleaning for exim-ldap2-4.61_1
===  Vulnerability check disabled, database not found
===  Extracting for exim-ldap2-4.61_1
= MD5 Checksum OK for exim/exim-4.61.tar.bz2.
= SHA256 Checksum OK for exim/exim-4.61.tar.bz2.
===   exim-ldap2-4.61_1 depends on file: /usr/local/bin/perl5.8.8 - found
===  Patching for exim-ldap2-4.61_1
===   exim-ldap2-4.61_1 depends on file: /usr/local/bin/perl5.8.8 - found
===  Applying FreeBSD patches for exim-ldap2-4.61_1
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to OS/Makefile-FreeBSD.rej
= Patch patch-OS::Makefile-FreeBSD failed to apply cleanly.
*** Error code 1

Stop in /usr/ports/mail/exim-ldap2.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade3499.0 make DEPENDS_TARGET=package
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! mail/exim-ldap2 (exim-ldap2-4.60) (patch error)
---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
[EMAIL PROTECTED] [~] #


Is this a known problem?



No, it's strictly on your end.  You have a stale patch in the port
skeleton.  The easy approach is to delete the whole port and re-cvsup.


Thanks, that did the trick. I was using the ports from the install cd 
and had forgotten to update them first.


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


a2ps -P display not working

2005-10-24 Thread Heinrich Rebehn
Hello all,

I installed a2ps-a4-4.13b_3, but it does not work when using with -P
display.
First i had to correct 2 errors in /usr/local/etc/a2ps.cfg:

[EMAIL PROTECTED] [/usr/local/etc] # diff a2ps.cfg a2ps.cfg~
194c194
 Variable: ghostview gv --antialias --arguments -dNOPLATFONTS
---
 Variable: ghostview gv -antialias -arguments -dNOPLATFONTS

Still, gv does not show any pages. Any ideas what else could be wrong?

5.4-RELEASE-p8, ports are current.

Cheers,
Heinrich

--
Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

Phone : +49/421/218-4664
Fax   :-3341
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem with default ACLs and mask

2005-10-12 Thread Heinrich Rebehn
Hi list,

I want to use ACLs to enable the group wiss to delete all files that a
lab user has created in his home directory /export/homes/lab/a1.
I set up ACLs as follows:

[EMAIL PROTECTED] [/export/homes/lab] # getfacl a1
#file:a1
#owner:624
#group:1022
user::rwx
group::---
group:wiss:rwx
mask::rwx
other::---
[EMAIL PROTECTED] [/export/homes/lab] # getfacl -d a1
#file:a1
#owner:624
#group:1022
user::rwx
group::---
group:wiss:rwx
mask::rwx
other::---

Now we create a directory in ~a1:

[EMAIL PROTECTED] [/export/homes/lab] # cd a1
[EMAIL PROTECTED] [/export/homes/lab/a1] # mkdir d
[EMAIL PROTECTED] [/export/homes/lab/a1] # getfacl d
#file:d
#owner:0
#group:1022
user::rwx
group::---
group:wiss:rwx  # effective: r-x
mask::r-x
other::---

The mask has not been inherited from the upper level directory!

The next directory has been created by the user extracting a tar ball:

[EMAIL PROTECTED] [/export/homes/lab/a1] # getfacl STonX-0.6.5/
#file:STonX-0.6.5/
#owner:624
#group:1022
user::rwx
group::---
group:wiss:rwx  # effective: --x
mask::--x
other::---

In this case, the wiss group can not even read the directory.

So, my idea to enable the wiss group to manage the lab user's files does
not seem to work.

Am i doing something wrong here? Why is the mask not propagated?
Any hint would be greately appreciated.

I am using 5.4-RELEASE-p7, the filesystem is UFS2.
-- 

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

Phone : +49/421/218-4664
Fax   :-3341
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 2. try: nfsd send error -1

2005-08-18 Thread Heinrich Rebehn
Lowell Gilbert wrote:
 Heinrich Rebehn [EMAIL PROTECTED] writes:
 
 
Aug 17 12:15:11 antsrv1 kernel: nfsd send error -1
Aug 17 12:15:11 antsrv1 last message repeated 8 times

I got several of theese errors in my /var/log/messages. Can someone
tell me what this means?
 
 
 The socket send syscall got interrupted (by a signal, maybe?).  It
 should be restartable, but I don't see whether it gets handled, so
 apparently the kernel just ignores it.
 

Thanks for your reply, Lowell.
Can this cause data loss when transferring a file via nfs?

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


2. try: nfsd send error -1

2005-08-17 Thread Heinrich Rebehn
Hi list,

Aug 17 12:15:11 antsrv1 kernel: nfsd send error -1
Aug 17 12:15:11 antsrv1 last message repeated 8 times

I got several of theese errors in my /var/log/messages. Can someone
tell me what this means?
-- 

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

Phone : +49/421/218-4664
Fax   :-3341


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


2. try: nfsd send error -1

2005-08-17 Thread Heinrich Rebehn
Hi list,

Aug 17 12:15:11 antsrv1 kernel: nfsd send error -1
Aug 17 12:15:11 antsrv1 last message repeated 8 times

I got several of theese errors in my /var/log/messages. Can someone
tell me what this means?
-- 

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

Phone : +49/421/218-4664
Fax   :-3341

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


Re: Problem with isc-dhcp3-server and etherboot

2005-07-28 Thread Heinrich Rebehn

Jörg Reisenweber wrote:

Moin Heinrich,

Am 27.07.2005 um 16:53 schrieb Heinrich Rebehn:

- Is there any way to downgrade to a previous version? (In this  case 
i was lucky that there still was an old binary package)



I just saw portdowngrade (/usr/ports/sysutils/portdowngrade - http:// 
sourceforge.net/projects/portdowngrade/) in the ports collection.  Maybe 
it's worth a look.


- Is there any config file i can change to make '-b' the default  for 
portupgrade?



You may set the PORTUPGRADE variable in your environment according to  
the portupgrade manpage.



Thanks, i missed that one. I will also try out portdowngrade

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


Problem with isc-dhcp3-server and etherboot

2005-07-27 Thread Heinrich Rebehn

Hi list,

after upgrading isc-dhcp3-server to 3.0.3, my etherboot bootprom (5.4.0, 
PXE) stopped working. It reports No IP Address.


Has anyone else observed this? (I will also report this to the etherboot 
ML).


After downgrading the package to 3.0.1.r14_6, etherboot is working again.

Some questions concerning portupgrade:
- Is there any way to downgrade to a previous version? (In this case i 
was lucky that there still was an old binary package)
- Is there any config file i can change to make '-b' the default for 
portupgrade?
- I noticed that portupgrade stops dhcp before upgrading, but does not 
start it again afterwards. Is this expected behaviour?


Thanks for your help,

Heinrich Rebehn

--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

Phone : +49/421/218-4664
Fax   :-3341
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /dev/ufs

2005-07-15 Thread Heinrich Rebehn

Dan Nelson wrote:

In the last episode (Jul 14), Heinrich Rebehn said:


Hmm, it does not work:

[EMAIL PROTECTED] [~] # kldstat
Id Refs AddressSize Name
19 0xc040 3c8ed4   kernel
2   14 0xc07c9000 56270acpi.ko
31 0xc3c38000 17000linux.ko
41 0xc961 4000 geom_label.ko
51 0xc918f000 2000 geom_vol_ffs.ko
[EMAIL PROTECTED] [~] # tunefs -L backup /dev/da1s1a
[EMAIL PROTECTED] [~] # tunefs -p /dev/da1s1a
tunefs: volume label: (-L) backup
[EMAIL PROTECTED] [~] # ls /dev/ufs
ls: /dev/ufs: No such file or directory

The filesystem is freshly newfs'ed and the partitions have not been
resized.



Try unloding and reloading geom_label.ko; I don't know if it is smart
enough to realize that the tunefs command added a label.  If that
doesn't work you'll have to start adding G_LABEL_DEBUG calls to
/sys/geom/label/g_label_ufs.c and figure out exactly where it's
failing.
 


geom_label cannot be unloaded:

[EMAIL PROTECTED] [~] # kldstat
Id Refs AddressSize Name
 18 0xc040 3c8ed4   kernel
 2   14 0xc07c9000 56270acpi.ko
 31 0xc3c38000 17000linux.ko
 41 0xc961 4000 geom_label.ko
[EMAIL PROTECTED] [~] # kldunload geom_label
kldunload: can't unload file: Operation not supported
[EMAIL PROTECTED] [~] #

Am i missing something?
Rebooting is not a good option since this is our main server.

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


Re: /dev/ufs

2005-07-15 Thread Heinrich Rebehn

Heinrich Rebehn wrote:

Dan Nelson wrote:


In the last episode (Jul 14), Heinrich Rebehn said:


Hmm, it does not work:

[EMAIL PROTECTED] [~] # kldstat
Id Refs AddressSize Name
19 0xc040 3c8ed4   kernel
2   14 0xc07c9000 56270acpi.ko
31 0xc3c38000 17000linux.ko
41 0xc961 4000 geom_label.ko
51 0xc918f000 2000 geom_vol_ffs.ko
[EMAIL PROTECTED] [~] # tunefs -L backup /dev/da1s1a
[EMAIL PROTECTED] [~] # tunefs -p /dev/da1s1a
tunefs: volume label: (-L) backup
[EMAIL PROTECTED] [~] # ls /dev/ufs
ls: /dev/ufs: No such file or directory

The filesystem is freshly newfs'ed and the partitions have not been
resized.




Try unloding and reloading geom_label.ko; I don't know if it is smart
enough to realize that the tunefs command added a label.  If that
doesn't work you'll have to start adding G_LABEL_DEBUG calls to
/sys/geom/label/g_label_ufs.c and figure out exactly where it's
failing.
 



geom_label cannot be unloaded:

[EMAIL PROTECTED] [~] # kldstat
Id Refs AddressSize Name
 18 0xc040 3c8ed4   kernel
 2   14 0xc07c9000 56270acpi.ko
 31 0xc3c38000 17000linux.ko
 41 0xc961 4000 geom_label.ko
[EMAIL PROTECTED] [~] # kldunload geom_label
kldunload: can't unload file: Operation not supported
[EMAIL PROTECTED] [~] #

Am i missing something?
Rebooting is not a good option since this is our main server.

I forgot to # glabel stop -v backup, after that i could unload the 
module. However, i found out that i can more easily achive my goal by 
wiring down scsi unit numbers with kernel environment hints.

Thanks for your help,

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


/dev/ufs

2005-07-14 Thread Heinrich Rebehn

Hi all,

I am trying to mount disks by label. The glabel(8) manpage suggests:

   tunefs -L data /dev/da4s1a
   mount /dev/ufs/data /mnt/data

I tried that, but i don't see a /dev/ufs at all. Does it have to be 
mounted? If so, how?


I use FreeBSD 5.4-RELEASE-p4

Thanks for any suggestions.

Heinrich
--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

Phone : +49/421/218-4664
Fax   :-3341
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /dev/ufs

2005-07-14 Thread Heinrich Rebehn

Dan Nelson wrote:

In the last episode (Jul 14), Heinrich Rebehn said:


I am trying to mount disks by label. The glabel(8) manpage suggests:

  tunefs -L data /dev/da4s1a
  mount /dev/ufs/data /mnt/data

I tried that, but i don't see a /dev/ufs at all. Does it have to be
mounted? If so, how?



Make sure you have the geom_label module loaded, or have options
GEOM_LABEL in your kernel config file.  It's also a bit sensitive; if
your filesystem doesn't completely fill the partition it's in, you
won't get a label, so if you have resized partitions and not yet run
growfs it won't show up.


Hmm, it does not work:

[EMAIL PROTECTED] [~] # kldstat
Id Refs AddressSize Name
 19 0xc040 3c8ed4   kernel
 2   14 0xc07c9000 56270acpi.ko
 31 0xc3c38000 17000linux.ko
 41 0xc961 4000 geom_label.ko
 51 0xc918f000 2000 geom_vol_ffs.ko
[EMAIL PROTECTED] [~] # tunefs -L backup /dev/da1s1a
[EMAIL PROTECTED] [~] # tunefs -p /dev/da1s1a
tunefs: ACLs: (-a) disabled
tunefs: MAC multilabel: (-l)   disabled
tunefs: soft updates: (-n) disabled
tunefs: maximum blocks per file in a cylinder group: (-e)  2048
tunefs: average file size: (-f)16384
tunefs: average number of files in a directory: (-s)   64
tunefs: minimum percentage of free space: (-m) 1%
tunefs: optimization preference: (-o)  time
tunefs: should optimize for space with minfree  8%
tunefs: volume label: (-L) backup
[EMAIL PROTECTED] [~] # ls /dev/ufs
ls: /dev/ufs: No such file or directory

The filesystem is freshly newfs'ed and the partitions have not been resized.

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


Re: copying data from external disk freezes with errors and halts system

2005-07-01 Thread Heinrich Rebehn

dave wrote:

Hello,
I've got a 5.4-RELEASE box with a usb2 connected hard disk. On this disk
which is formatted ext2fs is about 8 gigs of data i want to copy over. I
mount the disk readonly and issue
cp -R
well around the 1.2g mark i start getting
cmd_errors cp -R
in /var/log/messages and i have to kill the process. The specific command
is:
cd /mnt
cp -R * /backup/data
I then try it with tar
tar -cf - | (cd /backup/data; tar -xf -)
This gets up to about 5.4g then the errors start again. I thought about dump
but am not sure if that can read ext2 filesystems.
Thanks.
Dave.



Hi Dave,

are you using the ehci driver in order to get USB2 support? According to 
the manpage the driver is still unfinished and buggy. When i tried it 
about a year ago, it repeatedly hung or crashed my machine. You could 
try USB1, it's slow, but it works. Or use firewire, if your disks 
supports it.


Regards,

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

Phone : +49/421/218-4664
Fax   :-3341
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


xosview no longer working

2005-06-30 Thread Heinrich Rebehn

Hi all,

I compiled xosview from ports, but when i try to run it, i get:

[EMAIL PROTECTED] [~] # xosview
xosview: kvm_nlist() lookup failed for symbol '_intr_countp'.
xosview: safe_kvm_read() was attempted on EA 0

[EMAIL PROTECTED] [~] #

Any ideas? The box runs 5.3-RELEASE-p15 with SMP
--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

Phone : +49/421/218-4664
Fax   :-3341
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: imap-uw crashes

2005-06-11 Thread Heinrich Rebehn

Heinrich Rebehn wrote:

Hi List,

I have just installed imap-uw from ports, but when i try to read mail 
using Mozilla, imapd crashes:


Jun  9 16:01:06 antsrv1 imapd
Jun  9 16:01:06 antsrv1 in free():
Jun  9 16:01:06 antsrv1 error:
Jun  9 16:01:06 antsrv1 chunk is already free
Jun  9 16:01:06 antsrv1 kernel: pid 79836 (imapd), uid 0: exited on 
signal 6 (core dump


Is this a known problem?

I am running 5.3-RELEASE-p15


Is anybody using imap-uw at all?

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


imap-uw crashes

2005-06-09 Thread Heinrich Rebehn

Hi List,

I have just installed imap-uw from ports, but when i try to read mail 
using Mozilla, imapd crashes:


Jun  9 16:01:06 antsrv1 imapd 

Jun  9 16:01:06 antsrv1 in free(): 

Jun  9 16:01:06 antsrv1 error: 

Jun  9 16:01:06 antsrv1 chunk is already free 

Jun  9 16:01:06 antsrv1 kernel: pid 79836 (imapd), uid 0: exited on 
signal 6 (core dump


Is this a known problem?

I am running 5.3-RELEASE-p15
--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

Phone : +49/421/218-4664
Fax   :-3341
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Cannot enable ACLs

2005-05-30 Thread Heinrich Rebehn

Hi list,

I have no luck trying to enable ACLs on my UFS2 filesystem:

#

[EMAIL PROTECTED] [~] # mount -u -o ro /export/linux/root
[EMAIL PROTECTED] [~] # mount|grep linux/root
/dev/da0s1a on /export/linux/root (ufs, NFS exported, local, read-only, 
soft-updates)


[EMAIL PROTECTED] [~] # tunefs -a enable /export/linux/root
tunefs: ACLs set
[EMAIL PROTECTED] [~] # tunefs -p /export/linux/root
tunefs: ACLs: (-a) enabled
tunefs: MAC multilabel: (-l)   disabled
tunefs: soft updates: (-n) enabled
tunefs: maximum blocks per file in a cylinder group: (-e)  2048
tunefs: average file size: (-f)16384
tunefs: average number of files in a directory: (-s)   64
tunefs: minimum percentage of free space: (-m) 8%
tunefs: optimization preference: (-o)  time
tunefs: volume label: (-L)

[EMAIL PROTECTED] [~] # mount -u -o rw /export/linux/root
[EMAIL PROTECTED] [~] # mount|grep linux/root
/dev/da0s1a on /export/linux/root (ufs, NFS exported, local, soft-updates)
[EMAIL PROTECTED] [~] # tunefs -p /export/linux/root
tunefs: ACLs: (-a) disabled
tunefs: MAC multilabel: (-l)   disabled
tunefs: soft updates: (-n) enabled
tunefs: maximum blocks per file in a cylinder group: (-e)  2048
tunefs: average file size: (-f)16384
tunefs: average number of files in a directory: (-s)   64
tunefs: minimum percentage of free space: (-m) 8%
tunefs: optimization preference: (-o)  time
tunefs: volume label: (-L)

[EMAIL PROTECTED] [~] # mount|grep linux/root
/dev/da0s1a on /export/linux/root (ufs, NFS exported, local, soft-updates)
[EMAIL PROTECTED] [~] #

##

As you can see, if i mount the fs r/o, i can enable ACLs, but as soon as 
i remount r/w again, ACLs are disabled again.

According to the handbook, this should work.
What am i missing?

[EMAIL PROTECTED] [~] # uname -a
FreeBSD antsrv1.ant.uni-bremen.de 5.3-RELEASE-p15 FreeBSD 
5.3-RELEASE-p15 #13: Fri May 13 09:35:22 CEST 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ANTSRV1  i386


Regards,

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

Phone : +49/421/218-4664
Fax   :-3341
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[Almost solved] Cannot enable ACLs

2005-05-30 Thread Heinrich Rebehn

Heinrich Rebehn wrote:

Hi list,

I have no luck trying to enable ACLs on my UFS2 filesystem:

#

[EMAIL PROTECTED] [~] # mount -u -o ro /export/linux/root
[EMAIL PROTECTED] [~] # mount|grep linux/root
/dev/da0s1a on /export/linux/root (ufs, NFS exported, local, read-only, 
soft-updates)


[EMAIL PROTECTED] [~] # tunefs -a enable /export/linux/root
tunefs: ACLs set
[EMAIL PROTECTED] [~] # tunefs -p /export/linux/root
tunefs: ACLs: (-a) enabled
tunefs: MAC multilabel: (-l)   disabled
tunefs: soft updates: (-n) enabled
tunefs: maximum blocks per file in a cylinder group: (-e)  2048
tunefs: average file size: (-f)16384
tunefs: average number of files in a directory: (-s)   64
tunefs: minimum percentage of free space: (-m) 8%
tunefs: optimization preference: (-o)  time
tunefs: volume label: (-L)

[EMAIL PROTECTED] [~] # mount -u -o rw /export/linux/root
[EMAIL PROTECTED] [~] # mount|grep linux/root
/dev/da0s1a on /export/linux/root (ufs, NFS exported, local, soft-updates)
[EMAIL PROTECTED] [~] # tunefs -p /export/linux/root
tunefs: ACLs: (-a) disabled
tunefs: MAC multilabel: (-l)   disabled
tunefs: soft updates: (-n) enabled
tunefs: maximum blocks per file in a cylinder group: (-e)  2048
tunefs: average file size: (-f)16384
tunefs: average number of files in a directory: (-s)   64
tunefs: minimum percentage of free space: (-m) 8%
tunefs: optimization preference: (-o)  time
tunefs: volume label: (-L)

[EMAIL PROTECTED] [~] # mount|grep linux/root
/dev/da0s1a on /export/linux/root (ufs, NFS exported, local, soft-updates)
[EMAIL PROTECTED] [~] #

##

As you can see, if i mount the fs r/o, i can enable ACLs, but as soon as 
i remount r/w again, ACLs are disabled again.

According to the handbook, this should work.
What am i missing?

[EMAIL PROTECTED] [~] # uname -a
FreeBSD antsrv1.ant.uni-bremen.de 5.3-RELEASE-p15 FreeBSD 
5.3-RELEASE-p15 #13: Fri May 13 09:35:22 CEST 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ANTSRV1  i386



I found out what i was missing:
kernel: WARNING: /export/linux/root was not properly dismounted

After doing an fsck which found and corrected some errors, i tried again.
Now tunefs reports:
[EMAIL PROTECTED] [~] # tunefs -p /export/linux/root
tunefs: ACLs: (-a) disabled
tunefs: MAC multilabel: (-l)   disabled
tunefs: soft updates: (-n) enabled
tunefs: maximum blocks per file in a cylinder group: (-e)  2048
tunefs: average file size: (-f)16384
tunefs: average number of files in a directory: (-s)   64
tunefs: minimum percentage of free space: (-m) 8%
tunefs: optimization preference: (-o)  time
tunefs: volume label: (-L)

Yet mount says:

  [EMAIL PROTECTED] [~] # mount|grep linux/root
/dev/da0s1a on /export/linux/root (ufs, NFS exported, local, 
soft-updates, acls)


And ACLs *do* work:

[EMAIL PROTECTED] [/export/linux/root/debian/usr/local/share] # ls -ld 
wallpaper/
drwxrwxr-x+ 2 root  wheel  512 May 30 16:05 wallpaper/
[EMAIL PROTECTED] [/export/linux/root/debian/usr/local/share] # getfacl 
wallpaper
#file:wallpaper
#owner:0
#group:0
user::rwx
user:rebehn:rwx
group::r-x
mask::rwx
other::r-x

User rebehn is able to write to the directory wallpaper.

Strange, that tunefs still reports that acls are disabled.


--Heinrich

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


/usr/bin/lpr and /usr/local/bin/lpr

2005-05-19 Thread Heinrich Rebehn
Sorry if this is a FAQ, but i could not find an answer in handbook, 
ml-archive or google:

I have three printing systems installed on my FreeBSD-5.3 system:
- FreeBSD lpr
- LPRng
- cups-lpr
The fact that LPRng and cups-lpr install the lpr binary in the same 
place is not the problem here. :-)

What can become annoying is that there are two lpr binaries in PATH:
/usr/bin/lpr and /usr/local/bin/lpr. Depending on your PATH you get one 
or the other.
Renaming /usr/bin/lpr to lpr.old only helps until the next make world 
creates a new /usr/bin/lpr.

Is there a solution that is independent of PATH and
make world-resistent? Maybe remove the old BSD lpr from the base 
system into a package that one may install or not?

Or is there a way to keep make world from installing certain binaries 
(which, in turn, would have to be cvs update-resistent?)

Thanks for any thoughts,
Heinrich
--
Heinrich Rebehn
University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /usr/bin/lpr and /usr/local/bin/lpr

2005-05-19 Thread Heinrich Rebehn
Rob wrote:
Heinrich Rebehn wrote:
Sorry if this is a FAQ, but i could not find an
answer in handbook, ml-archive or google:
I have three printing systems installed on my
FreeBSD-5.3 system:
- FreeBSD lpr
- LPRng
- cups-lpr
Or is there a way to keep make world from
installing certain binaries (which, in turn,
would have to be cvs update-resistent?)

'man make.conf' and search for NO_LPR.
Thanks. I missed that one. Contains a wealth of handy options.
Remove the lp-related stuff from /usr/bin/ and
put
   CUPS_OVERWRITE_BASE=yes
I could not find this one in the manpage. I assume that the binaries in 
/usr/bin will be overwritten?

   NO_LPR=yes
in make.conf, so that the next 'make world' does
not put them there anymore.
Rob.
Thanks,
Heinrich
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


OpenAFS server for FreeBSD ?

2005-02-28 Thread Heinrich Rebehn
Hi all,
i just wanted to know if there is an OpenAFS server available for 
FreeBSD. I found only a client in the ports and also nothing about it in 
the ml archive

Regards,
Heinrich Rebehn
University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Annoying ports problem

2005-02-17 Thread Heinrich Rebehn
Hi list,
I have run into an annoying problem several times when upgrading ports.
Say, if i want to upgrade gstreamer-plugins, i do:
# cd /usr/ports/multimedia/gstreamer-plugins
# make
This pulls in some dependencies, for example gnomevfs2. gnnomevfs2 will 
compile fine, but then stops because it wants to install gnomevfs2 
instead of reinstalling it:

===   An older version of devel/gnomevfs2 is already installed 
(gnomevfs2-2.9.91)
  You may wish to ``make deinstall'' and install this port again
  by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of devel/gnomevfs2
  without deleting it first, set the variable FORCE_PKG_REGISTER
  in your environment or the make install command line.
*** Error code 1

Since i have run into this several times, i must be missing something 
substantial. What is it?

Regards,
--
Heinrich Rebehn
University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Annoying ports problem

2005-02-17 Thread Heinrich Rebehn
Eric Kjeldergaard wrote:
On Thu, 17 Feb 2005 10:45:36 +0100, Heinrich Rebehn
[EMAIL PROTECTED] wrote:
Hi list,
I have run into an annoying problem several times when upgrading ports.
Say, if i want to upgrade gstreamer-plugins, i do:
# cd /usr/ports/multimedia/gstreamer-plugins
# make
This pulls in some dependencies, for example gnomevfs2. gnnomevfs2 will
compile fine, but then stops because it wants to install gnomevfs2
instead of reinstalling it:
===   An older version of devel/gnomevfs2 is already installed
(gnomevfs2-2.9.91)
  You may wish to ``make deinstall'' and install this port again
  by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of devel/gnomevfs2
  without deleting it first, set the variable FORCE_PKG_REGISTER
  in your environment or the make install command line.
*** Error code 1
Since i have run into this several times, i must be missing something
substantial. What is it?

Just make will make the program and try to install it as if it were
the first time.  When it detects the older version, it will want you
to do make deinstall  make reinstall.  For upgrading ports, you
may want to look at /usr/ports/sysutils/portupgrade.

It makes no difference wether i use make or portupgrade. As soon as 
ether of them decide that another package that the make candidate 
depends on, has to be upgraded, the error occurs with that package.

--
Heinrich Rebehn
University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to setup DVD, CD and Floppy Drives

2005-01-18 Thread Heinrich Rebehn
Brian John wrote:
Hello,
I have a DVD writer, a CD writer and a floppy drive in my PC.  Since I
don't know what file system that a media will use until I put it in the
drive, how do I set it up in fstab?  This is what it looks like right
now for these devices:
/dev/acd0   /cdrom  autorw,noauto   0   0
/dev/acd1   /cdrom1 autorw,noauto   0   0
/dev/fd0/floppy autorw,noauto   0   0
The problem is, when I click on a device, it says: mount: exec
mount_auto not found in /sbin:/usr/sbin: No such file or directory
Please check that the disk is entered correctly.
Also, I am using KDE 3.3.
How can I get this to work?
Thanks
/Brian
AFAIK, there is no mount option auto in FreeBSD (as opposed to linux).
You will have to specify the fstype (cd9660 or msdosfs) explicitly.
Heinrich Rebehn
University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to use X without installing X?

2005-01-13 Thread Heinrich Rebehn
albi wrote:
Richard Morse wrote:
Apparently, in order to run the installer for 9i, it needs X.  But, I 
figure it shouldn't need all of X, because I intend to connect via 
`ssh -X` from a different computer which is running X to actualy do 
the display.  However, even once I've installed 'x11/xorg-libraries', 
when I `ssh -X` to the box $DISPLAY is not set.

did you enable X-forwarding in the sshd-config ? afaik indeed only the 
X-libraries are needed to make remote X over ssh work

For X-forwarding to work, you need to have /usr/X11R6/bin/xauth on your 
server. That is, you have to install xorg-clients too.

--
Heinrich Rebehn
University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cam_simq_alloc undefined

2005-01-07 Thread Heinrich Rebehn
Kris Kennaway wrote:
On Thu, Jan 06, 2005 at 10:34:02AM +0100, Heinrich Rebehn wrote:

I need to load the scsi stuff as modules, because otherwise i have to 
reboot after every change to the raid controller's configuration (which 
i am playing with ATM). Or is there another way to have the kernel 
rescan the raid controller for disks?

camcontrol rescan? ;)
Kris
Hi Kris,
i tried 'camcontrol rescan all' but it did not work. New drives were not 
recognized. Seems like reboot is the way to go..

Surely not :(
Kris
What other options do i have then ???
Heinrich
--
Heinrich Rebehn
University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cam_simq_alloc undefined

2005-01-06 Thread Heinrich Rebehn
Kris Kennaway wrote:
On Wed, Jan 05, 2005 at 04:26:12PM +0100, Heinrich Rebehn wrote:
Hi list,
i use 5.3-RELEASE-p2.
When i try to load module iir for my ICP raid controller, i get:
[EMAIL PROTECTED] [~] # kldload iir
kldload: can't load iir: No such file or directory
[EMAIL PROTECTED] [~] #
dmesg shows that 'cam_simq_alloc' is undefined. However, module cam.ko, 
which exports cam_simq_alloc is loaded:

[EMAIL PROTECTED] [~] # kldstat
Id Refs AddressSize Name
14 0xc040 37a5b0   kernel
2   14 0xc077b000 537f0acpi.ko
31 0xc37f1000 31000cam.ko
[EMAIL PROTECTED] [~] #
[EMAIL PROTECTED] [/boot/kernel] # nm cam.ko|grep cam_simq_alloc
e70c T cam_simq_alloc
[EMAIL PROTECTED] [/boot/kernel] #
What am i missing here?
I need to load the scsi stuff as modules, because otherwise i have to 
reboot after every change to the raid controller's configuration (which 
i am playing with ATM). Or is there another way to have the kernel 
rescan the raid controller for disks?

camcontrol rescan? ;)
Kris
Hi Kris,
i tried 'camcontrol rescan all' but it did not work. New drives were not 
recognized. Seems like reboot is the way to go..

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


Re: SMP and NFS

2005-01-06 Thread Heinrich Rebehn
Erik Norgaard wrote:
M wrote:
I have a system that is being used as a high performance NFS server
FreeBSD nfs2 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #1: Tue Jan  4  
19:14:40 EST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/NFS  i386

Two CPUs (tried hyperthreading and not), 4 GB of memory
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2400.10-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf29  Stepping = 9
   
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE 
,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HT
T,TM,PBE
  Hyperthreading: 2 logical CPUs
real memory  = 4160225280 (3967 MB)
avail memory = 4073271296 (3884 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  6

The NFS exported filesystem is on a Q-Logic FC card
isp0: Qlogic ISP 2312 PCI FC-AL Adapter port 0x4000-0x40ff mem  
0xf830-0xf8300fff irq 28 at device 3.0 on pci3
isp0: [GIANT-LOCKED]

The disk is formated UFS2 and is big, but not *that* big yet
/dev/da1s1d 471860682 206516934 22759489448%/usr/local/export
Every 12  hours or so the system crashes with a hard lock and no 
error  messages in /var/log/messages or on the screen. I've moved all 
the  disks to a duplicate system. If it continues to lock hard what's 
the  possibility the issue is SMP?

See this message from yesterday (submitted to announce):
ftp://ftp.freebsd.org/pub/FreeBSD/ERRATA/notices/FreeBSD-EN-05:01.nfs.asc
In short, update your system.
Cheers, Erik
Since i am going to set up a SMP NFS server too, i would be interested 
if this really solves the OP's problem. After all, he is talking about a 
hard lock with no messages.., as opposed to a kernel panic, which in 
my understanding always produces messages.

Heinrich Rebehn
University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cam_simq_alloc undefined

2005-01-05 Thread Heinrich Rebehn
Hi list,
i use 5.3-RELEASE-p2.
When i try to load module iir for my ICP raid controller, i get:
[EMAIL PROTECTED] [~] # kldload iir
kldload: can't load iir: No such file or directory
[EMAIL PROTECTED] [~] #
dmesg shows that 'cam_simq_alloc' is undefined. However, module cam.ko, 
which exports cam_simq_alloc is loaded:

[EMAIL PROTECTED] [~] # kldstat
Id Refs AddressSize Name
 14 0xc040 37a5b0   kernel
 2   14 0xc077b000 537f0acpi.ko
 31 0xc37f1000 31000cam.ko
[EMAIL PROTECTED] [~] #
[EMAIL PROTECTED] [/boot/kernel] # nm cam.ko|grep cam_simq_alloc
e70c T cam_simq_alloc
[EMAIL PROTECTED] [/boot/kernel] #
What am i missing here?
I need to load the scsi stuff as modules, because otherwise i have to 
reboot after every change to the raid controller's configuration (which 
i am playing with ATM). Or is there another way to have the kernel 
rescan the raid controller for disks?

Thanks for any hints,
Heinrich Rebehn
University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: perl-tk no longer working

2004-06-23 Thread Heinrich Rebehn
Heinrich Rebehn wrote:
Bill Campbell wrote:
On Mon, Jun 21, 2004, Heinrich Rebehn wrote:
Hi list,
I rolled my own perl-tk script for adding/removing users on our 
cluster and it has been running fine for some years now.
But when i wanted to use it today, it died with:

My SWAG is that you've updated perl recently, but not updated the 
perl::Tk
modules.  Running two versions of perl on the same machine is possible 
(we
do it under the OpenPKG.org packagement system all the time), but can
easily lead to problems like this.


[EMAIL PROTECTED] [~] # usrmgr/usrmgr.pl
[the usual messages about unused variables]
X Error of failed request:  BadAtom (invalid Atom parameter)
Major opcode of failed request:  18 (X_ChangeProperty)
Atom id in failed request:  0x1a6
Serial number of failed request:  12
Current serial number in output stream:  15
I have no clue what this could be. Other X11 apps run fine. I am 
logged in via ssh -X.
Versions:
FreeBSD 5.2.1-RELEASE-p8
p5-Tk-804.027
perl-5.6.1_15   Practical Extraction and Report Language
perl-5.8.4  Practical Extraction and Report Language

2 versions of perl? Is this ok?
Does anyone have an idea?
Regards,
Heinrich

Problem solved: It was not the perl upgrade, it is the X server which is 
to blame. I recently upgraded the Linux installation on my workstation 
and there seems to be a problem with xfree there. I did not get 
suspicious until i tried running the script under Linux and got exactly 
the same error message. Moving to another workstation with a different 
version of xfree solved the problem.

Just for the records: There seems to be a problem with SSH's X11 
redirection. If i use the (not recommended)

linuxhost $ xhost +freebsdhost
ssh [EMAIL PROTECTED]
freebsdhost # export DISPLAY=linuxhost:0
freebsdhost # usrmgr/usrmgr.pl
to have my perlTk script displaying on my Linux workstation, it works. 
If i login with

linuxhost $ ssh -X [EMAIL PROTECTED]
freebsdhost # usrmgr/usrmgr.pl
i get the above error.
This is of course a problem with Linux's ssh client - i am posting this 
only in case someone else encounters this problem.

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


Re: perl-tk no longer working

2004-06-23 Thread Heinrich Rebehn
Heinrich Rebehn wrote:
Heinrich Rebehn wrote:
Bill Campbell wrote:
On Mon, Jun 21, 2004, Heinrich Rebehn wrote:
Hi list,
I rolled my own perl-tk script for adding/removing users on our 
cluster and it has been running fine for some years now.
But when i wanted to use it today, it died with:


My SWAG is that you've updated perl recently, but not updated the 
perl::Tk
modules.  Running two versions of perl on the same machine is 
possible (we
do it under the OpenPKG.org packagement system all the time), but can
easily lead to problems like this.


[EMAIL PROTECTED] [~] # usrmgr/usrmgr.pl
[the usual messages about unused variables]
X Error of failed request:  BadAtom (invalid Atom parameter)
Major opcode of failed request:  18 (X_ChangeProperty)
Atom id in failed request:  0x1a6
Serial number of failed request:  12
Current serial number in output stream:  15
I have no clue what this could be. Other X11 apps run fine. I am 
logged in via ssh -X.
Versions:
FreeBSD 5.2.1-RELEASE-p8
p5-Tk-804.027
perl-5.6.1_15   Practical Extraction and Report Language
perl-5.8.4  Practical Extraction and Report Language

2 versions of perl? Is this ok?
Does anyone have an idea?
Regards,
Heinrich

Problem solved: It was not the perl upgrade, it is the X server which 
is to blame. I recently upgraded the Linux installation on my 
workstation and there seems to be a problem with xfree there. I did 
not get suspicious until i tried running the script under Linux and 
got exactly the same error message. Moving to another workstation with 
a different version of xfree solved the problem.

Just for the records: There seems to be a problem with SSH's X11 
redirection. If i use the (not recommended)

linuxhost $ xhost +freebsdhost
ssh [EMAIL PROTECTED]
freebsdhost # export DISPLAY=linuxhost:0
freebsdhost # usrmgr/usrmgr.pl
to have my perlTk script displaying on my Linux workstation, it works. 
If i login with

linuxhost $ ssh -X [EMAIL PROTECTED]
freebsdhost # usrmgr/usrmgr.pl
i get the above error.
This is of course a problem with Linux's ssh client - i am posting this 
only in case someone else encounters this problem.

--Heinrich
This will hopefully be the last update: use the -Y flag for newer ssh 
versions, and the problems are solved.

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


Re: perl-tk no longer working

2004-06-22 Thread Heinrich Rebehn
Bill Campbell wrote:
On Mon, Jun 21, 2004, Heinrich Rebehn wrote:
Hi list,
I rolled my own perl-tk script for adding/removing users on our cluster 
and it has been running fine for some years now.
But when i wanted to use it today, it died with:

My SWAG is that you've updated perl recently, but not updated the perl::Tk
modules.  Running two versions of perl on the same machine is possible (we
do it under the OpenPKG.org packagement system all the time), but can
easily lead to problems like this.

[EMAIL PROTECTED] [~] # usrmgr/usrmgr.pl
[the usual messages about unused variables]
X Error of failed request:  BadAtom (invalid Atom parameter)
Major opcode of failed request:  18 (X_ChangeProperty)
Atom id in failed request:  0x1a6
Serial number of failed request:  12
Current serial number in output stream:  15
I have no clue what this could be. Other X11 apps run fine. I am logged 
in via ssh -X.
Versions:
FreeBSD 5.2.1-RELEASE-p8
p5-Tk-804.027
perl-5.6.1_15   Practical Extraction and Report Language
perl-5.8.4  Practical Extraction and Report Language

2 versions of perl? Is this ok?
Does anyone have an idea?
Regards,
Heinrich
Problem solved: It was not the perl upgrade, it is the X server which is 
to blame. I recently upgraded the Linux installation on my workstation 
and there seems to be a problem with xfree there. I did not get 
suspicious until i tried running the script under Linux and got exactly 
the same error message. Moving to another workstation with a different 
version of xfree solved the problem.

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


perl-tk no longer working

2004-06-21 Thread Heinrich Rebehn
Hi list,
I rolled my own perl-tk script for adding/removing users on our cluster 
and it has been running fine for some years now.
But when i wanted to use it today, it died with:

[EMAIL PROTECTED] [~] # usrmgr/usrmgr.pl
[the usual messages about unused variables]
X Error of failed request:  BadAtom (invalid Atom parameter)
  Major opcode of failed request:  18 (X_ChangeProperty)
  Atom id in failed request:  0x1a6
  Serial number of failed request:  12
  Current serial number in output stream:  15
I have no clue what this could be. Other X11 apps run fine. I am logged 
in via ssh -X.
Versions:
FreeBSD 5.2.1-RELEASE-p8
p5-Tk-804.027
perl-5.6.1_15   Practical Extraction and Report Language
perl-5.8.4  Practical Extraction and Report Language

2 versions of perl? Is this ok?
Does anyone have an idea?
Regards,
Heinrich
--
Heinrich Rebehn
University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


installworld fails

2004-05-11 Thread Heinrich Rebehn
Hi list,

I have done installworld almost a dozen times on my server and never had 
any problems. But today it yields:


# make installworld
mkdir -p /tmp/install.gvzcdM1s
for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep find 
grep  ln make mkdir mtree mv pwd_mkdb rm sed sh sysctl  test true uname 
wc zic; do  cp `which $prog` /tmp/install.gvzcdM1s;  done
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386 
 CPUTYPE=  GROFF_BIN_PATH=/usr/obj/usr/src/i386/legacy/usr/bin 
GROFF_FONT_PATH=/usr/obj/usr/src/i386/legacy/usr/share/groff_font 
GROFF_TMAC_PATH=/usr/obj/usr/src/i386/legacy/usr/share/tmac 
PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/tmp/install.gvzcdM1s 
make -f Makefile.inc1 reinstall
--
 Making hierarchy
--
cd /usr/src; make -f Makefile.inc1 hierarchy
cd /usr/src/etc;make distrib-dirs
mtree -deU  -f /usr/src/etc/mtree/BSD.root.dist -p /
mtree -deU  -f /usr/src/etc/mtree/BSD.var.dist -p /var
mail changed
type expected dir found link
mtree -deU  -f /usr/src/etc/mtree/BSD.usr.dist -p /usr
mtree -deU  -f /usr/src/etc/mtree/BSD.include.dist  -p /usr/include
mtree -deU  -f /usr/src/etc/mtree/BSD.sendmail.dist -p /
cd /; rm -f /sys; ln -s usr/src/sys sys
cd /usr/share/man/en.ISO8859-1; ln -sf ../man* .
cd /usr/share/man;  set - `grep ^[a-zA-Z] /usr/src/etc/man.alias`; 
while [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s $2 $1;  shift; shift; 
 done
cd /usr/share/openssl/man;  set - `grep ^[a-zA-Z] 
/usr/src/etc/man.alias`;  while [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s 
$2 $1;  shift; shift;  done
cd /usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* .
cd /usr/share/nls;  set - `grep ^[a-zA-Z] /usr/src/etc/nls.alias`; 
while [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s $2 $1;  shift; shift; 
 done

--
 Installing everything..
--
cd /usr/src; make -f Makefile.inc1 install
=== share/info
=== include
creating osreldate.h from newvers.sh
touch: not found
*** Error code 127
##
Yes, the system clock is running correct, and /usr/bin/touch exists. Why 
is tocu not found anyhow?

Any ideas?

- Heinrich

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: installworld fails

2004-05-11 Thread Heinrich Rebehn
I forgot the FreeBSD version: 5.2.1-RELEASE-p6

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


Solved: installworld fails

2004-05-11 Thread Heinrich Rebehn
Sorry for the noise, /usr/obj is a link to another disk which i had not 
mounted in single user mode :-(

- Heinrich

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


Re: Recommended USB 2.0 controller fr. 5.2+

2004-04-08 Thread Heinrich Rebehn
Bernd Walter wrote:
On Tue, Apr 06, 2004 at 01:58:42PM +0200, Heinrich Rebehn wrote:

Bernd Walter wrote:
[snip]
Apr  3 12:32:32 antsrv1 kernel: da1: 19077MB (39070080 512 byte sectors: 
255H 63S/T 2432C)
Apr  3 12:33:03 antsrv1 login: ROOT LOGIN (root) ON ttyv0
Apr  3 12:38:08 antsrv1 syslogd: kernel boot file is /boot/kernel/kernel
Apr  3 12:38:08 antsrv1 kernel: panic: ehci_abort_xfer: not in process 
context


OK - we have an abort_xfer without any reason given.
The panic is because the aborted transfer doesn't exist, which could
mean that someone aborted an already completed transfer.
Can you please add USB_DEBUG to your kernel and retry.

I did, but with USB_DEBUG the system reproducibly crashes during boot:


Without a stacktrace or at least the last kernel messages this output
is almost useless.

kernel: 
kernel: 
kernel: Fatal trap 12: page fault while in kernel mode 
kernel: cpuid = 0; apic id = 00 
kernel: fault virtual address   = 0xd 
kernel: fault code  = supervisor write, page not present 
kernel: instruction pointer = 0x8:0xc0535482 
kernel: stack pointer   = 0x10:0xeaccfbb0 
kernel: frame pointer   = 0x10:0xeaccfbc8 
kernel: code segment= base 0x0, limit 0xf, type 0x1b 
kernel: = DPL 0, pres 1, def32 1, gran 1 
kernel: processor eflags= interrupt enabled, resume, IOPL = 0 
kernel: current process = 246 (sysctl) 
kernel: trap number = 12 
kernel: panic: page fault 
kernel: cpuid = 0; 
kernel: 
kernel: syncing disks, buffers remaining... 6564 6564 6563 6563 6563 
6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 
6563 6563 6563


You have 6563 dirty buffers when it crashed?
That's amazing - so you are at least already on the way getting
multiuser - otherwise everything is still read-only.
I can't guess what services, etc.. you are starting - you really have
to tell what happens.
The normal startup procedure was executing, dunno what was running at 
the exact time of the crash.

Anyway, i tossed in a firewire card (VIA VT6306) and it's running 
perfect, no problems so far.

Thanks for your help anyway.

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


Re: Recommended USB 2.0 controller fr. 5.2+

2004-04-06 Thread Heinrich Rebehn
Bernd Walter wrote:

[snip]

Apr  3 12:32:32 antsrv1 kernel: da1: 19077MB (39070080 512 byte sectors: 
255H 63S/T 2432C)
Apr  3 12:33:03 antsrv1 login: ROOT LOGIN (root) ON ttyv0
Apr  3 12:38:08 antsrv1 syslogd: kernel boot file is /boot/kernel/kernel
Apr  3 12:38:08 antsrv1 kernel: panic: ehci_abort_xfer: not in process 
context


OK - we have an abort_xfer without any reason given.
The panic is because the aborted transfer doesn't exist, which could
mean that someone aborted an already completed transfer.
Can you please add USB_DEBUG to your kernel and retry.

I did, but with USB_DEBUG the system reproducibly crashes during boot:

kernel: 

kernel: 

kernel: Fatal trap 12: page fault while in kernel mode 

kernel: cpuid = 0; apic id = 00 

kernel: fault virtual address   = 0xd 

kernel: fault code  = supervisor write, page not present 

kernel: instruction pointer = 0x8:0xc0535482 

kernel: stack pointer   = 0x10:0xeaccfbb0 

kernel: frame pointer   = 0x10:0xeaccfbc8 

kernel: code segment= base 0x0, limit 0xf, type 0x1b 

kernel: = DPL 0, pres 1, def32 1, gran 1 

kernel: processor eflags= interrupt enabled, resume, IOPL = 0 

kernel: current process = 246 (sysctl) 

kernel: trap number = 12 

kernel: panic: page fault 

kernel: cpuid = 0; 

kernel: 

kernel: syncing disks, buffers remaining... 6564 6564 6563 6563 6563 
6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 
6563 6563 6563



kernel: giving up on 6557 buffers 

kernel: Uptime: 3m22s 



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


Re: Recommended USB 2.0 controller fr. 5.2+

2004-04-05 Thread Heinrich Rebehn
Bernd Walter wrote:
On Mon, Mar 22, 2004 at 02:09:01PM +0100, Peter Schuller wrote:

So - if I want a USB 2 controller that works fine with FreeBSD, which one
shojuld I get / which chipset should it be using?
To be more specific I found a controllre by Q-Tec (425U) wtih a Via VT6202 
chipset. Anyone know if this will work?


NEC Controllers are known to work.
Never tested any of the VIA ones.
Hi,

i am using a NEC USB2 controller and am just about to give up on using 
it. I don't know if it's the controller, the disk or the ehci driver.
However, man ehci(4) states that The driver is not finished and is 
quite buggy. This seems to be true. I get all sorts of trouble ranging 
from hangs during boot to system crashes.
I am reverting back to USB1 although its terribly slow.

FreeBSD 5.2.1-RELEASE-p3

usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb2 usb3
usb4: NEC uPD 720100 USB 2.0 controller on ehci0
usb4: USB revision 2.0
uhub4: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 3 ports with 3 removable, self powered
umass0: Maxtor OneTouch, rev 2.00/2.00, addr 2
umass0: Get Max Lun not supported (STALLED)
GEOM: create disk da0 dp=0xc82ad450
da0 at umass-sim0 bus 0 target 0 lun 0
da0: Maxtor OneTouch 0200 Fixed Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 239371MB (490232832 512 byte sectors: 255H 63S/T 30515C)
Sorry i can't report anything posivtive on this.

Heinrich

--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Recommended USB 2.0 controller fr. 5.2+

2004-04-05 Thread Heinrich Rebehn
Bernd Walter wrote:
On Mon, Apr 05, 2004 at 02:58:33PM +0200, Heinrich Rebehn wrote:

i am using a NEC USB2 controller and am just about to give up on using 
it. I don't know if it's the controller, the disk or the ehci driver.
However, man ehci(4) states that The driver is not finished and is 
quite buggy. This seems to be true. I get all sorts of trouble ranging 
from hangs during boot to system crashes.
I am reverting back to USB1 although its terribly slow.

FreeBSD 5.2.1-RELEASE-p3

usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb2 usb3
usb4: NEC uPD 720100 USB 2.0 controller on ehci0
usb4: USB revision 2.0
uhub4: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 3 ports with 3 removable, self powered
umass0: Maxtor OneTouch, rev 2.00/2.00, addr 2
umass0: Get Max Lun not supported (STALLED)
GEOM: create disk da0 dp=0xc82ad450
da0 at umass-sim0 bus 0 target 0 lun 0
da0: Maxtor OneTouch 0200 Fixed Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 239371MB (490232832 512 byte sectors: 255H 63S/T 30515C)
Sorry i can't report anything posivtive on this.


And I can't see anything wrong with your log.

Sorry, the log should only show what hardware i am using.
I could not find any log for the hangs, probably because it occurs while 
the kernel is starting and i have to press reset, so it never gets 
written to a logfile.

The crash happend when i hotplugged an MP3 Jukebox and tried to mount it:

Apr  3 12:32:26 antsrv1 kernel: umass1: ARCHOS ARCHOS USB2.0 (P4a), rev 
2.00/11.01, addr 3
Apr  3 12:32:32 antsrv1 kernel: GEOM: create disk da1 dp=0xca5f0850
Apr  3 12:32:32 antsrv1 kernel: da1 at umass-sim1 bus 1 target 0 lun 0
Apr  3 12:32:32 antsrv1 kernel: da1: HITACHI_ DK23EA-20 00K5 Fixed 
Direct Access SCSI-0 device
Apr  3 12:32:32 antsrv1 kernel: da1: 1.000MB/s transfers
Apr  3 12:32:32 antsrv1 kernel: da1: 19077MB (39070080 512 byte sectors: 
255H 63S/T 2432C)
Apr  3 12:33:03 antsrv1 login: ROOT LOGIN (root) ON ttyv0
Apr  3 12:38:08 antsrv1 syslogd: kernel boot file is /boot/kernel/kernel
Apr  3 12:38:08 antsrv1 kernel: panic: ehci_abort_xfer: not in process 
context
Apr  3 12:38:08 antsrv1 kernel: cpuid = 0;
Apr  3 12:38:08 antsrv1 kernel:
Apr  3 12:38:08 antsrv1 kernel: syncing disks, buffers remaining... 6418 
6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 
6418 6418 6418 6418 6418
Apr  3 12:38:08 antsrv1 kernel: giving up on 3004 buffers
Apr  3 12:38:08 antsrv1 kernel: Uptime: 22h44m54s

Also, i get I/O-errors and the disk is inaccessible after having worked 
ok for days. Rebooting the machine fixes this.

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


Re: Recommended USB 2.0 controller fr. 5.2+

2004-04-05 Thread Heinrich Rebehn
Bernd Walter wrote:
On Mon, Apr 05, 2004 at 05:09:32PM +0200, Heinrich Rebehn wrote:

Bernd Walter wrote:

On Mon, Apr 05, 2004 at 02:58:33PM +0200, Heinrich Rebehn wrote:


i am using a NEC USB2 controller and am just about to give up on using 
it. I don't know if it's the controller, the disk or the ehci driver.
However, man ehci(4) states that The driver is not finished and is 
quite buggy. This seems to be true. I get all sorts of trouble ranging 

from hangs during boot to system crashes.

I am reverting back to USB1 although its terribly slow.

FreeBSD 5.2.1-RELEASE-p3

usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb2 usb3
usb4: NEC uPD 720100 USB 2.0 controller on ehci0
usb4: USB revision 2.0
uhub4: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 3 ports with 3 removable, self powered
umass0: Maxtor OneTouch, rev 2.00/2.00, addr 2
umass0: Get Max Lun not supported (STALLED)
GEOM: create disk da0 dp=0xc82ad450
da0 at umass-sim0 bus 0 target 0 lun 0
da0: Maxtor OneTouch 0200 Fixed Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 239371MB (490232832 512 byte sectors: 255H 63S/T 30515C)
Sorry i can't report anything posivtive on this.


And I can't see anything wrong with your log.

Sorry, the log should only show what hardware i am using.
I could not find any log for the hangs, probably because it occurs while 
the kernel is starting and i have to press reset, so it never gets 
written to a logfile.

The crash happend when i hotplugged an MP3 Jukebox and tried to mount it:

Apr  3 12:32:26 antsrv1 kernel: umass1: ARCHOS ARCHOS USB2.0 (P4a), rev 
2.00/11.01, addr 3
Apr  3 12:32:32 antsrv1 kernel: GEOM: create disk da1 dp=0xca5f0850
Apr  3 12:32:32 antsrv1 kernel: da1 at umass-sim1 bus 1 target 0 lun 0
Apr  3 12:32:32 antsrv1 kernel: da1: HITACHI_ DK23EA-20 00K5 Fixed 
Direct Access SCSI-0 device


SCSI-0 - how funny - there was never a SCSI revision 0.
If we would have been strict then da driver wouldn't attach, because
it can't really know a SCSI-0 direct access.
At least a disk should be SCSI-1 with CCS which is the first revision
that definied the command set.

Apr  3 12:32:32 antsrv1 kernel: da1: 1.000MB/s transfers


Also not very smart - but harmless.


Apr  3 12:32:32 antsrv1 kernel: da1: 19077MB (39070080 512 byte sectors: 
255H 63S/T 2432C)
Apr  3 12:33:03 antsrv1 login: ROOT LOGIN (root) ON ttyv0
Apr  3 12:38:08 antsrv1 syslogd: kernel boot file is /boot/kernel/kernel
Apr  3 12:38:08 antsrv1 kernel: panic: ehci_abort_xfer: not in process 
context


OK - we have an abort_xfer without any reason given.
The panic is because the aborted transfer doesn't exist, which could
mean that someone aborted an already completed transfer.
Can you please add USB_DEBUG to your kernel and retry.
I will, if i find an opportunity. Problem is that the machine is our 
main server and each crash dirties all our filesystems. Luckily, 5.2.1 
permits fsck in the background, so we don't have 30 min. downtime 
anymore. I hope i can retry this week.


Apr  3 12:38:08 antsrv1 kernel: cpuid = 0;
Apr  3 12:38:08 antsrv1 kernel:
Apr  3 12:38:08 antsrv1 kernel: syncing disks, buffers remaining... 6418 
6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 
6418 6418 6418 6418 6418
Apr  3 12:38:08 antsrv1 kernel: giving up on 3004 buffers
Apr  3 12:38:08 antsrv1 kernel: Uptime: 22h44m54s


A stack trace would be fine too so we see the function issuing the
abort.
The cause might be with USB-1.1 too, but not triggered because of less
speed.

Also, i get I/O-errors and the disk is inaccessible after having worked 
ok for days. Rebooting the machine fixes this.


Which kind of IO errors?
USB / SCSI / DA / Application?
This i from ktrace tunefs -p /dev/da0s1a

  4640 tunefs   RET   read 0
  4640 tunefs   CALL  stat(0xbfbfea4a,0xbfbfe5a0)
  4640 tunefs   NAMI  /dev/da0s1a
  4640 tunefs   RET   stat 0
  4640 tunefs   CALL  open(0xbfbfea4a,0,0)
  4640 tunefs   NAMI  /dev/da0s1a
  4640 tunefs   RET   open -1 errno 5 Input/output error
  4640 tunefs   CALL  write(0x2,0xbfbfdf30,0x8)
  4640 tunefs   GIO   fd 2 wrote 8 bytes
   tunefs: 
  4640 tunefs   RET   write 8
  4640 tunefs   CALL  write(0x2,0xbfbfdf50,0x2a)
  4640 tunefs   GIO   fd 2 wrote 42 bytes
   /dev/da0s1a: could not open special device
  4640 tunefs   RET   write 42/0x2a
-- Heinrich
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Recommended USB 2.0 controller fr. 5.2+

2004-04-05 Thread Heinrich Rebehn
Bernd Walter wrote:
On Mon, Apr 05, 2004 at 05:45:00PM +0200, Heinrich Rebehn wrote:

Bernd Walter wrote:

Which kind of IO errors?
USB / SCSI / DA / Application?
This i from ktrace tunefs -p /dev/da0s1a

 4640 tunefs   RET   read 0
 4640 tunefs   CALL  stat(0xbfbfea4a,0xbfbfe5a0)
 4640 tunefs   NAMI  /dev/da0s1a
 4640 tunefs   RET   stat 0
 4640 tunefs   CALL  open(0xbfbfea4a,0,0)
 4640 tunefs   NAMI  /dev/da0s1a
 4640 tunefs   RET   open -1 errno 5 Input/output error
 4640 tunefs   CALL  write(0x2,0xbfbfdf30,0x8)
 4640 tunefs   GIO   fd 2 wrote 8 bytes
  tunefs: 
 4640 tunefs   RET   write 8
 4640 tunefs   CALL  write(0x2,0xbfbfdf50,0x2a)
 4640 tunefs   GIO   fd 2 wrote 42 bytes
  /dev/da0s1a: could not open special device
 4640 tunefs   RET   write 42/0x2a


Yes - but that's symptoms - there must be a USB and/or SCSI error too.

That's what i found in  the logfile:

(I had just mounted the device on /export/backup). Mount reported 
unexpected softupdates inconsistency and i issued tunefs -p 
/dev/da0s1a to check if i had really enabled softupdates)

Apr  5 13:43:56 antsrv1 kernel: WARNING: /export/backup was not properly 
dismounted 

Apr  5 13:45:21 antsrv1 kernel: ehci_idone: need toggle update 

Apr  5 13:45:25 antsrv1 kernel: ehci_idone: need toggle update 

Apr  5 13:46:02 antsrv1 fsck: /dev/twed1s1e: Reclaimed: 0 directories, 0 
files, 8 fragments 

Apr  5 13:46:02 antsrv1 fsck: /dev/twed1s1e: 1103265 files, 105407382 
used, 21632531 free (256971 frags, 2671945 blocks, 0.2% fragmentation) 

Apr  5 14:05:00 antsrv1 cron[4146]: login_getclass: unknown class 
'des_users' 

Apr  5 14:37:10 antsrv1 kernel: ehci_idone: need toggle update 

Apr  5 14:37:14 antsrv1 kernel: ehci_idone: need toggle update 

Apr  5 14:37:20 antsrv1 kernel: (da0:umass-sim0:0:0:0): Synchronize 
cache failed, status == 0x4, scsi status == 0x0 

Apr  5 14:37:29 antsrv1 kernel: Opened disk da0 - 5 

Apr  5 14:37:59 antsrv1 last message repeated 3 times 

Apr  5 14:38:19 antsrv1 last message repeated 2 times 





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


Re: apache+mod_ssl + php4 crashes

2004-03-26 Thread Heinrich Rebehn
Matthew Seaman wrote:
On Thu, Mar 25, 2004 at 02:27:02PM +0100, Heinrich Rebehn wrote:


I tried substituting libc_r with libkse (there is no libpthread on 
5.2.1-RELEASE-p3). Still no good. httpd dumps core. :-(


Yes.  I now have heard that the new threading libraries have been
deemed good enough to be made part of the system, so libc_r is the
place for all threaded programs to link against, and the libkse and
libpthread stuff is basically obsolete.
 

I did an lsof for the httpd process (with php4 commented out) and it 
shows no sign of any two modules using different threading libraries:


So the core dump is only happening when mod_php is enabled?  Do you
have the command line version of php installed (you get this with
lang/php4, but not www/mod_php4), and does the crash still happen with
that?  If so, try:
% /usr/local/bin/php  E_O_F
? ? phpinfo() ?
? E_O_F
(The ? at the start of those lines is a shell prompt, which might
appear as  in some shell.  Either way, don't type that character.)
That should print out a large amount of information about your PHP setup.

Hmmm... Probably the next thing to try is simply rebuilding the
mod_php4 port.  I'm fairly certain there is some sort of shlib
conflict or missing shlib which is making everything fall over.  Try
only enabling the minimum number of options you can in the PHP config.
	Cheers,

	Matthew

I experimented with PHP config options and found out:

make -DWITH_CTYPE -DWITH_OVERLOAD -DWITH_PCRE -DWITH_POSIX 
-DWITH_SESSION -DWITH_TOKENIZER -DWITH_XML -DWITH_ZLIB == httpd runs

make -DWITH_CTYPE -DWITH_OVERLOAD -DWITH_PCRE -DWITH_POSIX 
-DWITH_SESSION -DWITH_TOKENIZER -DWITH_XML -DWITH_ZLIB -DWITH_DOMXML == 
httpd dumps core

So DOMXML seems to be the problem, but why??? What is it good for anyhow?

-- Heinrich

--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apache+mod_ssl + php4 crashes

2004-03-25 Thread Heinrich Rebehn
Matthew Seaman wrote:
On Wed, Mar 17, 2004 at 02:20:34PM +0100, Heinrich Rebehn wrote:


this is the ldd output:

[EMAIL PROTECTED] [/usr/local/libexec/apache] # ldd ./libphp4.so
./libphp4.so:
[...]

   libc_r.so.5 = /usr/lib/libc_r.so.5 (0x287fd000)


H... Which OS version are you building this on?  If it's
5.2.1-RELEASE, I think that libc_r.so.5 should be replaced by
libpthread.so.N -- and one exceedingly annoying problem is that in a
dynamically linked program like Apache, parts of it can end up being
linked against libpthread, and other parts can be linked against
libc_r, which will cause the whole thing to crash.
One solution is to use /etc/libmap.conf to substiture libpthread for
libc_r during the dynamic link stage of program startup. See
libmap.conf(5).  /etc/libmap.conf should contain something like:
 libpthread.so.1 libpthread.so.1 # Everything uses 'libpthread'
 libpthread.so   libpthread.so
 libc_r.so.5 libpthread.so.1 # Everything that uses 'libc_r'
 libc_r.so   libpthread.so   # now uses 'libpthread'
Of course, the ultimate solution is to fix all of the ports and
recompile them so that they automatically link against the correct
threading library.
	Cheers,

	Matthew

Hi Matthew,

I tried substituting libc_r with libkse (there is no libpthread on 
5.2.1-RELEASE-p3). Still no good. httpd dumps core. :-(

I did an lsof for the httpd process (with php4 commented out) and it 
shows no sign of any two modules using different threading libraries:

# lsof|grep 76767|grep /lib|awk '{print $9}'
/libexec/ld-elf.so.1
/lib/libcrypt.so.2
/usr/local/lib/libmm.so.13
/lib/libc.so.5
/usr/local/libexec/apache/mod_mmap_static.so
/usr/local/libexec/apache/mod_vhost_alias.so
/usr/local/libexec/apache/mod_env.so
/usr/local/libexec/apache/mod_define.so
/usr/local/libexec/apache/mod_log_config.so
/usr/local/libexec/apache/mod_mime_magic.so
/usr/local/libexec/apache/mod_mime.so
/usr/local/libexec/apache/mod_negotiation.so
/usr/local/libexec/apache/mod_status.so
/usr/local/libexec/apache/mod_info.so
/usr/local/libexec/apache/mod_include.so
/usr/local/libexec/apache/mod_autoindex.so
/usr/local/libexec/apache/mod_dir.so
/usr/local/libexec/apache/mod_cgi.so
/usr/local/libexec/apache/mod_asis.so
/usr/local/libexec/apache/mod_imap.so
/usr/local/libexec/apache/mod_actions.so
/usr/local/libexec/apache/mod_speling.so
/usr/local/libexec/apache/mod_userdir.so
/usr/local/libexec/apache/mod_alias.so
/usr/local/libexec/apache/mod_rewrite.so
/usr/local/libexec/apache/mod_access.so
/usr/local/libexec/apache/mod_auth.so
/usr/local/libexec/apache/mod_auth_anon.so
/usr/local/libexec/apache/mod_auth_db.so
/usr/local/libexec/apache/mod_digest.so
/usr/local/libexec/apache/libproxy.so
/usr/local/libexec/apache/mod_cern_meta.so
/usr/local/libexec/apache/mod_expires.so
/usr/local/libexec/apache/mod_headers.so
/usr/local/libexec/apache/mod_usertrack.so
/usr/local/libexec/apache/mod_unique_id.so
/usr/local/libexec/apache/mod_setenvif.so
/usr/local/libexec/apache/mod_layout.so
/usr/local/libexec/apache/libssl.so
/usr/lib/libssl.so.3
/lib/libcrypto.so.3
# ldd /usr/local/libexec/apache/libphp4.so
/usr/local/libexec/apache/libphp4.so:
libcrypto.so.3 = /lib/libcrypto.so.3 (0x282fc000)
libssl.so.3 = /usr/lib/libssl.so.3 (0x2840a000)
libcrypt.so.2 = /lib/libcrypt.so.2 (0x2843c000)
libmcal.so = /usr/local/lib/libmcal.so (0x28455000)
libc-client4.so.8 = /usr/local/lib/libc-client4.so.8 (0x28464000)
libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x2851d000)
libexpat.so.5 = /usr/local/lib/libexpat.so.5 (0x2860c000)
libpq.so.3 = /usr/local/lib/libpq.so.3 (0x2862c000)
libmysqlclient.so.12 = 
/usr/local/lib/mysql/libmysqlclient.so.12 (0x28647000)
libmcrypt.so.8 = /usr/local/lib/libmcrypt.so.8 (0x2866a000)
libltdl.so.4 = /usr/local/lib/libltdl.so.4 (0x2869d000)
libldap.so.2 = /usr/local/lib/libldap.so.2 (0x286a5000)
liblber.so.2 = /usr/local/lib/liblber.so.2 (0x286cd000)
libpam.so.2 = /usr/lib/libpam.so.2 (0x286d8000)
libintl.so.6 = /usr/local/lib/libintl.so.6 (0x286df000)
libz.so.2 = /lib/libz.so.2 (0x286e8000)
libm.so.2 = /lib/libm.so.2 (0x286f6000)
libxml2.so.5 = /usr/local/lib/libxml2.so.5 (0x2870f000)
libc_r.so.5 = /usr/lib/libkse.so.1 (0x28808000)

Any other clues??

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


Re: apache+mod_ssl + php4 crashes

2004-03-25 Thread Heinrich Rebehn
Matthew Seaman wrote:
On Thu, Mar 25, 2004 at 02:27:02PM +0100, Heinrich Rebehn wrote:


I tried substituting libc_r with libkse (there is no libpthread on 
5.2.1-RELEASE-p3). Still no good. httpd dumps core. :-(


Yes.  I now have heard that the new threading libraries have been
deemed good enough to be made part of the system, so libc_r is the
place for all threaded programs to link against, and the libkse and
libpthread stuff is basically obsolete.
 

I did an lsof for the httpd process (with php4 commented out) and it 
shows no sign of any two modules using different threading libraries:


So the core dump is only happening when mod_php is enabled?  Do you
have the command line version of php installed (you get this with
lang/php4, but not www/mod_php4), and does the crash still happen with
that?  If so, try:
% /usr/local/bin/php  E_O_F
? ? phpinfo() ?
? E_O_F
(The ? at the start of those lines is a shell prompt, which might
appear as  in some shell.  Either way, don't type that character.)
That should print out a large amount of information about your PHP setup.
You can view it at http://www.ant.uni-bremen.de/~rebehn/php.log
Hmmm... Probably the next thing to try is simply rebuilding the
mod_php4 port.  I'm fairly certain there is some sort of shlib
conflict or missing shlib which is making everything fall over.  Try
only enabling the minimum number of options you can in the PHP config.
I will try that.
Thanks for your help,
Heinrich
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Cannot find libpthread on 5.2.1-RELEASE-p3

2004-03-22 Thread Heinrich Rebehn
Hi list,

this is all i get when searching for libpthread on my system:

# find /usr -name 'libpthread*'
/usr/src/lib/libpthread
/usr/compat/linux/lib/libpthread-0.9.so
/usr/compat/linux/lib/libpthread.so.0
# find /lib -name 'libpthread*'
#
How do i install libpthread? What am i missing?

Thanks for any help!
--
Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apache+mod_ssl + php4 crashes

2004-03-18 Thread Heinrich Rebehn
Matthew Seaman wrote:
On Wed, Mar 17, 2004 at 02:20:34PM +0100, Heinrich Rebehn wrote:


this is the ldd output:

[EMAIL PROTECTED] [/usr/local/libexec/apache] # ldd ./libphp4.so
./libphp4.so:
[...]

   libc_r.so.5 = /usr/lib/libc_r.so.5 (0x287fd000)


H... Which OS version are you building this on?  If it's
5.2.1-RELEASE, I think that libc_r.so.5 should be replaced by
libpthread.so.N -- and one exceedingly annoying problem is that in a
dynamically linked program like Apache, parts of it can end up being
linked against libpthread, and other parts can be linked against
libc_r, which will cause the whole thing to crash.
One solution is to use /etc/libmap.conf to substiture libpthread for
libc_r during the dynamic link stage of program startup. See
libmap.conf(5).  /etc/libmap.conf should contain something like:
 libpthread.so.1 libpthread.so.1 # Everything uses 'libpthread'
 libpthread.so   libpthread.so
 libc_r.so.5 libpthread.so.1 # Everything that uses 'libc_r'
 libc_r.so   libpthread.so   # now uses 'libpthread'
Of course, the ultimate solution is to fix all of the ports and
recompile them so that they automatically link against the correct
threading library.
	Cheers,

	Matthew

Hi Matthew,

for some reason i do not have libpthread on my system:

[EMAIL PROTECTED] [~] # find /usr -name 'libpthread*'
/usr/src/lib/libpthread
/usr/compat/linux/lib/libpthread-0.9.so
/usr/compat/linux/lib/libpthread.so.0
[EMAIL PROTECTED] [~] # find /lib -name 'libpthread*'
[EMAIL PROTECTED] [~] #
This is strange, because /usr/src/lib/libpthread exists. Should i simply 
go there and do 'make install' ?

And yes, i use 5.2.1-RELEASE-p1.

Your other suggestion about editing /etc/make.conf unfortunately did not 
help.

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


apache+mod_ssl + php4 crashes

2004-03-17 Thread Heinrich Rebehn
Hi list,

I have trouble running apache with php4.
when i try to start httpd, it crashes with signal 11.
If i remove php4 from httpd.conf, apache runs fine.
Installed packages:
apache+mod_ssl-1.3.29+2.8.16_1 The Apache 1.3 webserver with SSL/TLS 
functionality
php4-4.3.4_7PHP Scripting Language (Apache Module and CLI)
php4-horde-4.3.4_7  A default PHP configured for the Horde framework

Any ideas?

--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apache+mod_ssl + php4 crashes

2004-03-17 Thread Heinrich Rebehn
Jorn Argelo wrote:
Log files are your friends ... give us an output of
/var/log/httpd-error.log
Cheers,

Jorn

On 3/18/2004, Heinrich Rebehn [EMAIL PROTECTED] wrote:


Hi list,

I have trouble running apache with php4.
when i try to start httpd, it crashes with signal 11.
If i remove php4 from httpd.conf, apache runs fine.
Installed packages:
apache+mod_ssl-1.3.29+2.8.16_1 The Apache 1.3 webserver with SSL/TLS
functionality
php4-4.3.4_7PHP Scripting Language (Apache Module and CLI)
php4-horde-4.3.4_7  A default PHP configured for the Horde framework
Any ideas?


Unfortunately, no log file is created. httpd dies immediately on startup 
and creates a httpd.core file. But i have too little experience to 
evaluate the core.

BTW, i forgot: i am running 5.2.1-RELEASE-p1

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


Re: apache+mod_ssl + php4 crashes

2004-03-17 Thread Heinrich Rebehn
Matthew Seaman wrote:
On Wed, Mar 17, 2004 at 11:11:05AM +0100, Heinrich Rebehn wrote:

Hi list,

I have trouble running apache with php4.
when i try to start httpd, it crashes with signal 11.
If i remove php4 from httpd.conf, apache runs fine.
Installed packages:
apache+mod_ssl-1.3.29+2.8.16_1 The Apache 1.3 webserver with SSL/TLS 
functionality
php4-4.3.4_7PHP Scripting Language (Apache Module and CLI)
php4-horde-4.3.4_7  A default PHP configured for the Horde framework

Any ideas?


This often comes about because one of the 3rd party apache loadable
modules you're using is looking for a shared library which it cannot
find.
Try this:

# cd /usr/local/libexec/apache
ldd ./libphp4.so
If there are any shared libraries 'not found' then you need to either
install them, or use 'ldconfig -m dirname' to add the correct
directories to the systems list of places to find shared libraries.
To make that persist across reboots, ad the directories to the end of
the list given for the 'ldconfig_paths' variable in /etc/rc.conf (take
care when doing that, as if you screw up ldconfig, then virtually
nothing will work on your system).
Hmmm... looking at the port Makefiles, I don't think you should be
able to install both lang/php4 and lang/php4-horde simultaneously.
However, so long as you compile php4 with at least the settings:
WITH_DOMXML=yes
WITH_GETTEXT=   yes
WITH_SESSION=   yes
WITH_MCRYPT=yes
WITH_MYSQL= yes
WITH_OPENLDAP=  yes
WITH_IMAP=  yes
WITH_MCAL=  yes
WITH_FTP=   yes
then you can use either one of those ports.

	Cheers,

	Matthew

Hi Matthew,

this is the ldd output:

[EMAIL PROTECTED] [/usr/local/libexec/apache] # ldd ./libphp4.so
./libphp4.so:
libcrypto.so.3 = /lib/libcrypto.so.3 (0x282f2000)
libssl.so.3 = /usr/lib/libssl.so.3 (0x2840)
libcrypt.so.2 = /lib/libcrypt.so.2 (0x28432000)
libmcal.so = /usr/local/lib/libmcal.so (0x2844b000)
libc-client4.so.8 = /usr/local/lib/libc-client4.so.8 (0x2845a000)
libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28513000)
libexpat.so.5 = /usr/local/lib/libexpat.so.5 (0x28602000)
libpq.so.3 = /usr/local/lib/libpq.so.3 (0x28622000)
libmysqlclient.so.12 = 
/usr/local/lib/mysql/libmysqlclient.so.12 (0x2863d000)
libmcrypt.so.8 = /usr/local/lib/libmcrypt.so.8 (0x2866)
libltdl.so.4 = /usr/local/lib/libltdl.so.4 (0x28693000)
libldap.so.2 = /usr/local/lib/libldap.so.2 (0x2869b000)
liblber.so.2 = /usr/local/lib/liblber.so.2 (0x286c3000)
libpam.so.2 = /usr/lib/libpam.so.2 (0x286ce000)
libintl.so.6 = /usr/local/lib/libintl.so.6 (0x286d5000)
libz.so.2 = /lib/libz.so.2 (0x286de000)
libm.so.2 = /lib/libm.so.2 (0x286ec000)
libxml2.so.5 = /usr/local/lib/libxml2.so.5 (0x28705000)
libc_r.so.5 = /usr/lib/libc_r.so.5 (0x287fd000)

I have also deinstalled php4 and php4-horde and then reinstalled php4.
Still no luck :-( httpd still crashes with signal 11
This whole setup used to work once, but since some portupgrade or 4.9 - 
5.2.1 httpd crashes.

	Heinrich

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


Re: apache+mod_ssl + php4 crashes

2004-03-17 Thread Heinrich Rebehn
Jerry McAllister wrote:
Jorn Argelo wrote:

Log files are your friends ... give us an output of
/var/log/httpd-error.log
Cheers,

Jorn

On 3/18/2004, Heinrich Rebehn [EMAIL PROTECTED] wrote:



Hi list,

I have trouble running apache with php4.
when i try to start httpd, it crashes with signal 11.
If i remove php4 from httpd.conf, apache runs fine.
Installed packages:
apache+mod_ssl-1.3.29+2.8.16_1 The Apache 1.3 webserver with SSL/TLS
functionality
php4-4.3.4_7PHP Scripting Language (Apache Module and CLI)
php4-horde-4.3.4_7  A default PHP configured for the Horde framework
Any ideas?


Unfortunately, no log file is created. httpd dies immediately on startup 
and creates a httpd.core file. But i have too little experience to 
evaluate the core.


Did you also check /var/log/messages?  
An immediate total crash might log something there.

jerry
/var/log/messages:

Mar 17 14:15:58 antsrv1 kernel: pid 8209 (httpd), uid 0: exited on 
signal 11 (core dumped)
Mar 17 14:18:20 antsrv1 kernel: pid 8225 (httpd), uid 0: exited on 
signal 11 (core dumped)

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


ufs_rename: fvp == tvp (can't happen)

2004-02-23 Thread Heinrich Rebehn
Hi,

i am getting the above errors on my FreeBSD 5.2.1-RC2 machine. I 
searched the web about this, but could not find any explanation. Is this 
serious?

Regards,
--
Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: UNEXPECTED SOFTUPDATES INCONSISTENCY

2004-02-22 Thread Heinrich Rebehn
Lowell Gilbert wrote:
Heinrich Rebehn [EMAIL PROTECTED] writes:


I have had the above error 2 times now during fsck after an unclean
shutdown. fsck -y yielded tons of entries in lost+found.
man (7) tuning says that softupdates guarantees filesystem consistency
in case of crash, but thousands of lost files tell a different story.
Did i miss anything? Or should i disable softupdates for important data?


Make sure you've disabled write caching on the drive firmware
itself... 
Does this also apply for RAID disks (twe)? Also, there is no word about 
this in man tuning(7). Is this more of a guess or is softupdates 
definately dangerous with wite cache enabled? I have also used 
softupdates with 4.9 and did not get these errors.


The system is running FreeBSD 5.2.1-RC2


I hope you have read the Early Adopter's Guide:
http://www.freebsd.org/releases/5.2R/early-adopter.html
Yes i have and after asking others on this list, got the impression that 
5.2 is usable for the most common hardware and applications. But now i 
am seriously considering going back to 4.9

Thanks very much for your reply :-)

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


Re: Hardware or software error ?

2004-02-22 Thread Heinrich Rebehn
Lowell Gilbert wrote:
Heinrich Rebehn [EMAIL PROTECTED] writes:


Hi list,

does anybody have a clue, if the following is a hard or software error?

#
 syslogd: kernel boot file is /boot/kernel/kernel
 kernel:
 kernel:
 kernel: Fatal trap 12: page fault while in kernel mode
 kernel: cpuid = 0; apic id = 00
 kernel: fault virtual address   = 0x4
 kernel: fault code  = supervisor read, page not present
 kernel: instruction pointer = 0x8:0xc0533f98
 kernel: stack pointer   = 0x10:0xe11f6b3c
 kernel: frame pointer   = 0x10:0xe11f6b64
 kernel: code segment= base 0x0, limit 0xf, type 0x1b
 kernel: = DPL 0, pres 1, def32 1, gran 1
 kernel: processor eflags= interrupt enabled, resume, IOPL = 0
 kernel: current process = 29 (swi1: net)
 kernel: trap number = 12
 kernel: panic: page fault
 kernel: cpuid = 0;
 kernel:
 kernel: syncing disks, buffers remaining...
 kernel:
 kernel: Fatal trap 12: page fault while in kernel mode
 kernel: cpuid = 0; apic id = 00
 kernel: fault virtual address   = 0x4
 kernel: fault code  = supervisor read, page not present
 kernel: instruction pointer = 0x8:0xc0533f98
 kernel: stack pointer   = 0x10:0xe124bbcc
 kernel: frame pointer   = 0x10:0xe124bbf4
 kernel: code segment= base 0x0, limit 0xf, type 0x1b
 kernel: = DPL 0, pres 1, def32 1, gran 1
 kernel: processor eflags= interrupt enabled, resume, IOPL = 0
 kernel: current process = 26 (irq15: xl0 ata1+)
 kernel: trap number = 12
 kernel: panic: page fault
 kernel: cpuid = 0;
 kernel: Uptime: 3d10h11m49s
#
The system is running FreeBSD 5.2.1-RC2


More likely to be a software problem, although it could be either.  
Could you take a kernel dump to the -CURRENT list?
I'm afraid my system is not set up to enable crash dumps. I must admit 
that i never cared about this, and unfortunately, the default install 
does not seem to enable it either. If i am wrong: where would i find the 
dump?

Also, since this is our main server, i prefer going back to 4.9 which 
seems to be more solid than 5.2 :-(. I simply don't have time to do more 
experiments.

Thank ayou for your help anyway.

	Heinrich

--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hardware or software error ?

2004-02-22 Thread Heinrich Rebehn
Lowell Gilbert wrote:
Heinrich Rebehn [EMAIL PROTECTED] writes:


Hi list,

does anybody have a clue, if the following is a hard or software error?

#
 syslogd: kernel boot file is /boot/kernel/kernel
 kernel:
 kernel:
 kernel: Fatal trap 12: page fault while in kernel mode
 kernel: cpuid = 0; apic id = 00
 kernel: fault virtual address   = 0x4
 kernel: fault code  = supervisor read, page not present
 kernel: instruction pointer = 0x8:0xc0533f98
 kernel: stack pointer   = 0x10:0xe11f6b3c
 kernel: frame pointer   = 0x10:0xe11f6b64
 kernel: code segment= base 0x0, limit 0xf, type 0x1b
 kernel: = DPL 0, pres 1, def32 1, gran 1
 kernel: processor eflags= interrupt enabled, resume, IOPL = 0
 kernel: current process = 29 (swi1: net)
 kernel: trap number = 12
 kernel: panic: page fault
 kernel: cpuid = 0;
 kernel:
 kernel: syncing disks, buffers remaining...
 kernel:
 kernel: Fatal trap 12: page fault while in kernel mode
 kernel: cpuid = 0; apic id = 00
 kernel: fault virtual address   = 0x4
 kernel: fault code  = supervisor read, page not present
 kernel: instruction pointer = 0x8:0xc0533f98
 kernel: stack pointer   = 0x10:0xe124bbcc
 kernel: frame pointer   = 0x10:0xe124bbf4
 kernel: code segment= base 0x0, limit 0xf, type 0x1b
 kernel: = DPL 0, pres 1, def32 1, gran 1
 kernel: processor eflags= interrupt enabled, resume, IOPL = 0
 kernel: current process = 26 (irq15: xl0 ata1+)
 kernel: trap number = 12
 kernel: panic: page fault
 kernel: cpuid = 0;
 kernel: Uptime: 3d10h11m49s
#
The system is running FreeBSD 5.2.1-RC2


More likely to be a software problem, although it could be either.  
Could you take a kernel dump to the -CURRENT list?
I'm afraid my system is not set up to enable crash dumps. I must admit
that i never cared about this, and unfortunately, the default install
does not seem to enable it either. If i am wrong: where would i find the
dump?
Also, since this is our main server, i prefer going back to 4.9 which
seems to be more solid than 5.2 :-(. I simply don't have time to do more
experiments.
Update: This morning's crash (which i forget in the mail before):

#
ntpd[470]: too many recvbufs allocated (40) 

cron[8309]: login_getclass: unknown class 'des_users' 

syslogd: kernel boot file is /boot/kernel/kernel 

kernel: 

kernel: 

kernel: Fatal trap 12: page fault while in kernel mode 

kernel: cpuid = 0; apic id = 00 

kernel: fault virtual address   = 0x4c 

kernel: fault code  = supervisor read, page not present 

kernel: instruction pointer = 0x8:0xc04cc807 

kernel: stack pointer   = 0x10:0xe2a8 

kernel: frame pointer   = 0x10:0xe2c8 

kernel: code segment= base 0x0, limit 0xf, type 0x1b 

kernel: = DPL 0, pres 1, def32 1, gran 1 

kernel: processor eflags= interrupt enabled, resume, IOPL = 0 

kernel: current process = 38 (usbtask) 

kernel: trap number = 12 

kernel: panic: page fault 

kernel: cpuid = 0; 

kernel: 

kernel: syncing disks, buffers remaining... 7137 7117 7117 7117 7117 
7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 
7117 7117
kernel: giving up on 4591 buffers 

kernel: Uptime: 14h28m36s 

kernel: (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 
0x34, scsi status == 0x88


The giving up on   Buffers is also typical for 5.2. I rarely had 
it with 4.9. Unfortunately, all disks are marked dirty then, even if it 
is only 1 buffer.

Thank ayou for your help anyway.

	Heinrich

--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hardware or software error ?

2004-02-22 Thread Heinrich Rebehn
Lowell Gilbert wrote:
Heinrich Rebehn [EMAIL PROTECTED] writes:


Hi list,

does anybody have a clue, if the following is a hard or software error?

#
 syslogd: kernel boot file is /boot/kernel/kernel
 kernel:
 kernel:
 kernel: Fatal trap 12: page fault while in kernel mode
 kernel: cpuid = 0; apic id = 00
 kernel: fault virtual address   = 0x4
 kernel: fault code  = supervisor read, page not present
 kernel: instruction pointer = 0x8:0xc0533f98
 kernel: stack pointer   = 0x10:0xe11f6b3c
 kernel: frame pointer   = 0x10:0xe11f6b64
 kernel: code segment= base 0x0, limit 0xf, type 0x1b
 kernel: = DPL 0, pres 1, def32 1, gran 1
 kernel: processor eflags= interrupt enabled, resume, IOPL = 0
 kernel: current process = 29 (swi1: net)
 kernel: trap number = 12
 kernel: panic: page fault
 kernel: cpuid = 0;
 kernel:
 kernel: syncing disks, buffers remaining...
 kernel:
 kernel: Fatal trap 12: page fault while in kernel mode
 kernel: cpuid = 0; apic id = 00
 kernel: fault virtual address   = 0x4
 kernel: fault code  = supervisor read, page not present
 kernel: instruction pointer = 0x8:0xc0533f98
 kernel: stack pointer   = 0x10:0xe124bbcc
 kernel: frame pointer   = 0x10:0xe124bbf4
 kernel: code segment= base 0x0, limit 0xf, type 0x1b
 kernel: = DPL 0, pres 1, def32 1, gran 1
 kernel: processor eflags= interrupt enabled, resume, IOPL = 0
 kernel: current process = 26 (irq15: xl0 ata1+)
 kernel: trap number = 12
 kernel: panic: page fault
 kernel: cpuid = 0;
 kernel: Uptime: 3d10h11m49s
#
The system is running FreeBSD 5.2.1-RC2


More likely to be a software problem, although it could be either.  
Could you take a kernel dump to the -CURRENT list?
I'm afraid my system is not set up to enable crash dumps. I must admit
that i never cared about this, and unfortunately, the default install
does not seem to enable it either. If i am wrong: where would i find the
dump?
Also, since this is our main server, i prefer going back to 4.9 which
seems to be more solid than 5.2 :-(. I simply don't have time to do more
experiments.
Update: This morning's crash (which i forget in the mail before):

#
ntpd[470]: too many recvbufs allocated (40)
cron[8309]: login_getclass: unknown class 'des_users'

syslogd: kernel boot file is /boot/kernel/kernel

kernel:

kernel:

kernel: Fatal trap 12: page fault while in kernel mode

kernel: cpuid = 0; apic id = 00

kernel: fault virtual address   = 0x4c

kernel: fault code  = supervisor read, page not present

kernel: instruction pointer = 0x8:0xc04cc807

kernel: stack pointer   = 0x10:0xe2a8

kernel: frame pointer   = 0x10:0xe2c8

kernel: code segment= base 0x0, limit 0xf, type 0x1b

kernel: = DPL 0, pres 1, def32 1, gran 1

kernel: processor eflags= interrupt enabled, resume, IOPL = 0

kernel: current process = 38 (usbtask)

kernel: trap number = 12

kernel: panic: page fault

kernel: cpuid = 0;

kernel:

kernel: syncing disks, buffers remaining... 7137 7117 7117 7117 7117
7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117
7117 7117
kernel: giving up on 4591 buffers
kernel: Uptime: 14h28m36s

kernel: (da0:umass-sim0:0:0:0): Synchronize cache failed, status ==
0x34, scsi status == 0x88

The giving up on   Buffers is also typical for 5.2. I rarely had
it with 4.9. Unfortunately, all disks are marked dirty then, even if it
is only 1 buffer.
Update:

I changed my mind and will continue to try 5.2. I disabled softupdates 
to get rid of the softupdates inconsistency error and set up the 
machine to enable crash dumps, as described in
http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html
I also clocked down the AMD XP1800+ CPU to 100 MHz bus clock to reduce 
possible hardware instability.
All we have to now is wait for the next crash ;-)

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


Re: UNEXPECTED SOFTUPDATES INCONSISTENCY

2004-02-22 Thread Heinrich Rebehn
Gabriel Ambuehl wrote:
Hello Heinrich,

Sunday, February 22, 2004, 5:00:27 PM, you wrote:

Why that? I can imagine that i lose data in case of a power failure, but
why in case of a crash?


Well I guess the card COULD still commit the data, however, who knows
if it actually does it?

And why is write cache only dangerous with softupdates, as you wrote above?


IIRC softupdates relies on the assumption that when the softupdate
changes return, they really ARE on the disk. It's the same with most
RDBMS: because they go to great lengths to ensure the journal is in an
ok state they need to know for sure that the data they wrote to it
actually made it to disk.

Since i found no word about disabling write cache in the FreeBSD
handbook or in man tuning(7), i would really like to know, if this is
just a rumour, or where does it come from?


I can't say for sure, but I have little confidence in write caching
anyhow. It changes semantics the system relies on, for one.


Best regards,
 Gabriel
Gabriel,
what you write does make sense, although i really can't understand why 
this important info is not in the FreeBSD documentation.
I have disabled write cache, but i will keep softupdates disabled as 
well for now, and see how the system behaves.

Thanks for your help,

	Heinrich

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


Hardware or software error ?

2004-02-21 Thread Heinrich Rebehn
Hi list,

does anybody have a clue, if the following is a hard or software error?

#
 syslogd: kernel boot file is /boot/kernel/kernel
 kernel:
 kernel:
 kernel: Fatal trap 12: page fault while in kernel mode
 kernel: cpuid = 0; apic id = 00
 kernel: fault virtual address   = 0x4
 kernel: fault code  = supervisor read, page not present
 kernel: instruction pointer = 0x8:0xc0533f98
 kernel: stack pointer   = 0x10:0xe11f6b3c
 kernel: frame pointer   = 0x10:0xe11f6b64
 kernel: code segment= base 0x0, limit 0xf, type 0x1b
 kernel: = DPL 0, pres 1, def32 1, gran 1
 kernel: processor eflags= interrupt enabled, resume, IOPL = 0
 kernel: current process = 29 (swi1: net)
 kernel: trap number = 12
 kernel: panic: page fault
 kernel: cpuid = 0;
 kernel:
 kernel: syncing disks, buffers remaining...
 kernel:
 kernel: Fatal trap 12: page fault while in kernel mode
 kernel: cpuid = 0; apic id = 00
 kernel: fault virtual address   = 0x4
 kernel: fault code  = supervisor read, page not present
 kernel: instruction pointer = 0x8:0xc0533f98
 kernel: stack pointer   = 0x10:0xe124bbcc
 kernel: frame pointer   = 0x10:0xe124bbf4
 kernel: code segment= base 0x0, limit 0xf, type 0x1b
 kernel: = DPL 0, pres 1, def32 1, gran 1
 kernel: processor eflags= interrupt enabled, resume, IOPL = 0
 kernel: current process = 26 (irq15: xl0 ata1+)
 kernel: trap number = 12
 kernel: panic: page fault
 kernel: cpuid = 0;
 kernel: Uptime: 3d10h11m49s
#
The system is running FreeBSD 5.2.1-RC2

Thank you for your help.
--
Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


UNEXPECTED SOFTUPDATES INCONSISTENCY

2004-02-21 Thread Heinrich Rebehn
Hi list,

I have had the above error 2 times now during fsck after an unclean 
shutdown. fsck -y yielded tons of entries in lost+found.
man (7) tuning says that softupdates guarantees filesystem consistency 
in case of crash, but thousands of lost files tell a different story.
Did i miss anything? Or should i disable softupdates for important data?

The system is running FreeBSD 5.2.1-RC2

Cheers,
Heinrich
--
Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Hardware or software error ?

2004-02-21 Thread Heinrich Rebehn
Hi list,

does anybody have a clue, if the following is a hard or software error?

#
 syslogd: kernel boot file is /boot/kernel/kernel
 kernel:
 kernel:
 kernel: Fatal trap 12: page fault while in kernel mode
 kernel: cpuid = 0; apic id = 00
 kernel: fault virtual address   = 0x4
 kernel: fault code  = supervisor read, page not present
 kernel: instruction pointer = 0x8:0xc0533f98
 kernel: stack pointer   = 0x10:0xe11f6b3c
 kernel: frame pointer   = 0x10:0xe11f6b64
 kernel: code segment= base 0x0, limit 0xf, type 0x1b
 kernel: = DPL 0, pres 1, def32 1, gran 1
 kernel: processor eflags= interrupt enabled, resume, IOPL = 0
 kernel: current process = 29 (swi1: net)
 kernel: trap number = 12
 kernel: panic: page fault
 kernel: cpuid = 0;
 kernel:
 kernel: syncing disks, buffers remaining...
 kernel:
 kernel: Fatal trap 12: page fault while in kernel mode
 kernel: cpuid = 0; apic id = 00
 kernel: fault virtual address   = 0x4
 kernel: fault code  = supervisor read, page not present
 kernel: instruction pointer = 0x8:0xc0533f98
 kernel: stack pointer   = 0x10:0xe124bbcc
 kernel: frame pointer   = 0x10:0xe124bbf4
 kernel: code segment= base 0x0, limit 0xf, type 0x1b
 kernel: = DPL 0, pres 1, def32 1, gran 1
 kernel: processor eflags= interrupt enabled, resume, IOPL = 0
 kernel: current process = 26 (irq15: xl0 ata1+)
 kernel: trap number = 12
 kernel: panic: page fault
 kernel: cpuid = 0;
 kernel: Uptime: 3d10h11m49s
#
The system is running FreeBSD 5.2.1-RC2

Thank you for your help.
--
Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB2 external hard drive too slow ....

2004-02-14 Thread Heinrich Rebehn
Antoine Jacoutot wrote:
On Friday 13 February 2004 16:02, Heinrich Rebehn wrote:

Hi Ivan,
did you get any reply to your posting? I am having the same problem:
Maxtor 250 GB external USB2 drive, Belkin USB2 card, FreeBSD 5.1, but i
get only  1MB/sec.
Does FreeBSD support USB 2.0 at all?


Did you add device ehci in your kernel config file ?
That's what enable USB2 support if I'm not mistaken.
But beware, I compiled my system (5.2.1-RC2)  with this option and now USB 
crashes totally.

I'm afraid, mine too (5.2.1-RC2). System just reboots without any 
message. Also, after reboot, my USB disk was not reachable anymore until 
i cycled power of the disk.
man(4) ehci seems to be correct here:
	The driver is not finished and is quite buggy. :-(

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


Re: USB2 external hard drive too slow ....

2004-02-13 Thread Heinrich Rebehn
ivan georgiev wrote:
Hi,

I just bought 80GB WD USB2 hard drive. Everything works. I have 
formated it with ext2 file system, so that I can share file with 
linux. But the problem is that it is very slow compared to linux. 
When I transfered some files under linux the speed of the transfer is 
somewhere around 10MB/s but under freebsd (5-1p10) it is not more 
than 1MB/s :(

Is it running in USB1 mode? Can I make it run faster?

Thanks for your help.

Ivan

Hi Ivan,
did you get any reply to your posting? I am having the same problem: 
Maxtor 250 GB external USB2 drive, Belkin USB2 card, FreeBSD 5.1, but i 
get only  1MB/sec.

Does FreeBSD support USB 2.0 at all?

Thanks for any help

	Heinrich

--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB2 external hard drive too slow ....

2004-02-13 Thread Heinrich Rebehn
Heinrich Rebehn wrote:
ivan georgiev wrote:

Hi,

I just bought 80GB WD USB2 hard drive. Everything works. I have 
formated it with ext2 file system, so that I can share file with 
linux. But the problem is that it is very slow compared to linux. When 
I transfered some files under linux the speed of the transfer is 
somewhere around 10MB/s but under freebsd (5-1p10) it is not more than 
1MB/s :(

Is it running in USB1 mode? Can I make it run faster?

Thanks for your help.

Ivan

Hi Ivan,
did you get any reply to your posting? I am having the same problem: 
Maxtor 250 GB external USB2 drive, Belkin USB2 card, FreeBSD 5.1, but i 
get only  1MB/sec.

Does FreeBSD support USB 2.0 at all?

Thanks for any help

Heinrich

Sorry, i should have done some more research before asking. I compiled 
in the ehci device and am now getting  10MB/sec.

	Heinrich

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


Recommendations for newfs parameters for UFS2 ?

2004-01-27 Thread Heinrich Rebehn
Hi list,

Are there any recommendations for the blocksize, bytes/i-node, and
cylinders/group parameters when newfs'ing an UFS2 filesystem?
I am afraid of ending up with a fs with Gigs of space and no inodes 
left, or a fs that is heavily fragmented and slow.

Which params should i use for a
- 10G
- 100G
- 500G
filesystem?

I read man(7) tuning but would like to hear about some real experiences.

Thanks very much for your help!

Heinrich
--
Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How dangerous is 5.2 for production use

2004-01-23 Thread Heinrich Rebehn
Hi list,

I am considering switching our production server from 4.9 to 5.2. 
production means that it serves some 20 people at our university 
institute.
Unfortunately the machine crashes occasionally which would be tolerable 
if it was up again immediately. However the fsck of our 300+500 GB RAIDs 
takes almost an hour and that's why i want to switch to 5.x because it 
fscks in the background.
The machine is an ASUS A7V333 with AMD XP 1800+ and 512 MB RAM, 3ware 
7500 RAID.
It provides the 'usual' services:
- NFS
- Samba
- IMAP
- SMTP
- LPD printing
- Mailman
- HTTP
- Postgres
- LDAP User, mail aliases, automount info
- IMP Webmail

So, no fancy hard- or software, i guess.
Would it be very hazardous to sitch to 5.2 already now?
Another thing: Is there any point in converting the filesystems to UFS2 
(in a later step)?

Thanks for any insight,

Heinrich
--
Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Background fsck only for UFS2??

2004-01-23 Thread Heinrich Rebehn
Hi list,

Does anyone know if the background fsck feature of 5.x is also available 
for UFS filesystems or is it only for UFS2?

Heinrich
--
Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How dangerous is 5.2 for production use

2004-01-23 Thread Heinrich Rebehn
Matthew Seaman wrote:
On Fri, Jan 23, 2004 at 09:49:34AM +, Peter Risdon wrote:

Matthew Seaman wrote:
 

Certainly. You will find it better suited to the large filesystems
you have than UFS1.  I also have a vague feeling that background fsck
is a UFS2 feature, but I can't find documentation to either confirm or
deny that.


I'm sure this is right. If one of my 5.* machines has an un-clean 
shutdown it states that it is starting background fsck checks as it 
completes its boot process.


Hmmm... After searching through any number of web pages, I must
conclude that background fsck(8) works on all versions of UFS on 5.x.
Conclusion drawn this way because if it didn't it would be documented
as not working, or there would be any number of messages on mailing
lists asking why doesn't it work?  Also, background fsck(8) depends on
the 'snapshotting' feature of UFS, which comes out of the soft-updates
functionality definitely available in both UFS1 and UFS2.
One of these days I really must get my hands on a 5.x system.

	Cheers,

	Matthew

I did some searching too and bgfsck does seem to be available for UFS.
I'll install 5.2 on my machine today and test myself..
Heinrich
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Automatic mounting of removable meadia

2003-10-23 Thread Heinrich Rebehn
Christopher T. Johnson wrote:
Heinrich Rebehn wrote:


Yes. Although it does not provide automatic mounting upon insertion of 
the disk (like windows does), it would be a solution.
Unfortunately man amd does not say anything about the format of the 
map for a local device and i was unable to find anything in 
/usr/share/examples. Can anyone give me an example?
This article provides a tutorial for adding this functionality using amd. 
It may be a little out-of-date, but it has worked for me in the past.

	http://www.daemonnews.org/200202/automounting.html

This solution mounts the media on access, and unmounts it on quiescence. 
Not exactly like windows does, but still useful.

Hope this helps.

~brian


I use amd for doing just this.  it works for most cases.  My map file looks like
cdrom   type:=cdfs;dev:=/dev/acd0c;addopts:=ro
floppy  type:=pcfs;dev:=/dev/fd0
zip type:=ufs;dev:=/dev/da0s1a
pczip   type:=pcfs;dev:=/dev/da0s4
pczipF  type:=pcfs;dev:=/dev/da0
flash   type:=pcfs;dev:=/dev/da0s1
(minus the NFS filesystems)

This works for everything but the type:=ufs.  When amd mounts a unix filesystem
it will never unmount it.  I had to patch amd to unmount ufs.
My amd.conf is the default.  The parameters for amd are:
/usr/sbin/amd -p -a /.amd_mnt -l syslog /u /etc/amd.u
Best,
-Chris
Thank you very much, it works perfect. I also added -c 5 -w 10 to have 
the disk quickly unmounted when it is no longer used.

man (8) amd, as other posters suggested does not say anything about 
the format of the maps.

Also, thanks for the link to the tutorial in deamonnews, but the 
solution provided above looks simpler to me

Heinrich

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


Re: A couple of ATI video questions

2003-10-22 Thread Heinrich Rebehn
andi payn wrote:
Hi again. I've got a few more questions, this time about ATI Mach64/Rage
video support.
Under Linux (until the 2.4.22 kernel's ServerWorks fix broke mtrr
support on my machine), I was able to get xv and DRI support on my
system (ATI 3D Rage IIc), over a number of versions of XF86 (previously
with the gatos ati.2 drivers, but those are now part of the core XF86
distribution).
Under FreeBSD-5.1, using XFree86-Server-4.3.0_11 from the ports
collection, I'm not getting either. I checked the XF86Config file, and
everything's fine there. 

Looking at xfree86.0.log, the dri module and the ati module are both
getting loaded, and there are no gross write-combining errors like I've
seen recently in linux. But when I run (e.g.) glxgears, I get:
  Xlib:  extension XFree86-DRI missing on display :0.0.
Similarly, xvinfo finds X-Video extension 2.2, but finds no
xv-compatible adaptors present. And I have no idea how to track down why
this is happening. (For example, unlike linux 2.4.22, write-combining
works under FreeBSD 5.1.)
I'm having problems with xvidix, as well. In particular, when I try to
use xvidix output from mplayer, it completely hangs my system. Under
linux, xvidix works fine (other than spraying some visual noise over
other windows if I don't run full-screen). I can't find much
documentation on xvidix anywhere (just a single rambling file in the
mplayer distribution, duplicated on the mplayer website).
I'm also having svgalib problems. I can't get it to accept anything
better than the 1024x768x64K setting. It recognizes a Mach 64/Rage card
and loads the newer driver, just as in linux, but it rejects all higher
modelines. In svgalib under linux (and in X in both OS's), I can use
1600x1200x64K (and even higher resolutions). I haven't dug into the code
too deep yet.
Also, once you've grabbed a new vt in svgalib, stdout and stderr both
goes to that vt, so there's no way to log errors, etc. And once the
program has completed and you've switched back to your original console
(or X) there's no way to get back to the dead vt to see what was left
there.
Also, if an svgalib program locks up while it's got virtual console
switching locked, there seems to be no way to recover other than to ssh
into the machine from outside and kill [-9] the program. Usually, this
works, although in one case, it apparently froze up the machine
completely (no response from the keyboard--even the lock-leds went
dead--or over the network), and I had to hard-reset.
Most of that last question probably has nothing to do with svgalib, but
with differences between linux's and BSD's vt's Under linux, I could
forcibly switch vt's, kill everything running on the console, or even
kill the vt (I might have to type blind for a few seconds, but I could
get things fixed). If I ssh'd in, I could use chvt to bring up a usable
console to fix things remotely. Does FreeBSD have equivalents to any of
this functionality?
Anyway, again, any help, or pointers to where to get help, would be
appreciated.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Hi,

to get the xv extension working i had to install the gatos driver. Just 
copied the linux binary to /usr/X11R6/lib/modules/drivers. Now xvinfo gives:

[EMAIL PROTECTED] [~]: xvinfo
X-Video Extension version 2.2
screen #0
  Adaptor #0: ATI mach64 Video Overlay
number of ports: 1
port base: 61
operations supported: PutImage
supported visuals:
  depth 24, visualID 0x23
  depth 24, visualID 0x24
  depth 24, visualID 0x25
  depth 24, visualID 0x26
  depth 24, visualID 0x27
  depth 24, visualID 0x28
  depth 24, visualID 0x29
  depth 24, visualID 0x2a
number of attributes: 17
  XV_DEVICE_ID (range 0 to -1)
  client gettable attribute (current value is 90)
  XV_LOCATION_ID (range 0 to -1)
[snip]

Watching movies fullscreen works fine.

Can't saya anything about DRI or svgalib though.

HTH,
Heinrich
--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Automatic mounting of removable meadia

2003-10-22 Thread Heinrich Rebehn
Lowell Gilbert wrote:
Heinrich Rebehn [EMAIL PROTECTED] writes:


Is it possible to automatically mount media when they are inserted?
From the GNOME 2.4 documentation (Nautilus, 1.8.1:To mount Media):

If your system is not configured to mount the device automatically,
you must mount the device manually. Right-click on the desktop, then
choose Disks-device-name. For example, to mount a floppy diskette,
choose Disks-Floppy. An object that represents the media is added to
the desktop.

So, how can i configure FreeBSD to mount the device automatically?


amd(8)
Yes. Although it does not provide automatic mounting upon insertion of 
the disk (like windows does), it would be a solution.
Unfortunately man amd does not say anything about the format of the 
map for a local device and i was unable to find anything in 
/usr/share/examples. Can anyone give me an example?


Unfortunately, the GNOME way to manually mount media via an entry in
/etc/fstab does not work under FreeBSD since the mountpoint must be
owned by the user, which is difficult to configure for a multiuser
system.


No, it's not.  You can either have each user have a mountpoint in
their own home directory, or you can use a common mountpoint which
gets forced to the ownership of the user in the login procedure
(typically via fbtab(5) or the XFree86 login, e.g. xdm's GiveConsole
script).  You have to be careful with security, but it's not very
different from letting ordinary users mount media in the first place.
Thanks for these hints.

Heinrich

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


mjpegtools won't compile

2003-10-14 Thread Heinrich Rebehn
Hi lists,

when i try to compile the mjpegtools port under 5.1, i get:

##
Making all in lavtools
gmake[2]: Entering directory 
`/usr/ports/multimedia/mjpegtools/work/mjpegtools-1.6.1/lavtools'
source='lav2divx.cpp' object='lav2divx.o' libtool=no \
depfile='.deps/lav2divx.Po' tmpdepfile='.deps/lav2divx.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include 
-DG_LOG_DOMAIN=\lavtools\ -DLAVPLAY_VERSION=\1.6.1\ 
-I/usr/X11R6/include -I /usr/X11R6/include -I../utils 
-I/usr/local/include/avifile -I/usr/X11R6/include/gtk12 
-I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include 
-D_THREAD_SAFE  -O -pipe -mcpu=pentiumpro -c -o lav2divx.o `test -f 
'lav2divx.cpp' || echo './'`lav2divx.cpp
In file included from lav2divx.cpp:80:
/usr/local/include/getopt.h:115: declaration of C function `int getopt()'
   conflicts with
/usr/include/unistd.h:377: previous declaration `int getopt(int, char* 
const*,
   const char*)' here
In file included from libavifile.h:51,
 from lav2divx.cpp:92:
/usr/local/include/avifile/fourcc.h:4:2: warning: #warning Use #include 
avm_fourcc.h instead
gmake[2]: *** [lav2divx.o] Error 1
gmake[2]: Leaving directory 
`/usr/ports/multimedia/mjpegtools/work/mjpegtools-1.6.1/lavtools'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/ports/multimedia/mjpegtools/work/mjpegtools-1.6.1'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/multimedia/mjpegtools.
###
Is anybody able to compile this?

Heinrich
--
Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading to 4.9 CVS vs. binary?

2003-09-25 Thread Heinrich Rebehn
Matthew Seaman wrote:
On Wed, Sep 24, 2003 at 01:46:19PM +0200, Heinrich Rebehn wrote:

Is RELENG_4_9 already available at all?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html

does not mention it. That's why i am tracking RELENG_4.


Not yet.  RELENG_4_9/4.9-RELEASE is expected in the near future.  This
whole thread was a rare, but none the less welcome, example of people
making plans well in advance of taking action.
Yes, that should be done more often..

While we're at it: Will it be possible to upgrade from 4.9 to 5.x via CSV?

Heinrich

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


Re: Upgrading to 4.9 CVS vs. binary?

2003-09-24 Thread Heinrich Rebehn
Matthew Seaman wrote:
On Tue, Sep 23, 2003 at 10:26:54AM -0700, Scott Schappell wrote:

It seems that 4.9 is rapidly on its way to becoming RELEASE, which is a good
thing.  I'm currently running 4.8-p3 on my production server, and I don't
have a spare to build then move over, so it will be an in place upgrade.
Which upgrade path would be the best? CVS or installing from a binary ISO
CD?
If CVS, I'm assuming I need to add *default  tag=RELENG_4_9  when it's
released to my cvsup file to grab it, or do I need to start tracking
stable RELENG_4?
My hunch is CVS will be the better way to do it, and the last time I tried
upgrading the system with a binary, it exploded (learned then don't do a
binary upgrade when it's running the kernel and multiuser, thank god for
backups).
What is the recommendation of folks on this list?


To go from RELENG_4_8 to RELENG_4_9, probably the simplest and least
hassleful method is to cvsup the RELENG_4_9 sources, and then do a
normal {build,install}{world,kernel} job.  There's not much point in
your tracking RELENG_4, unless you want to practice at upgrading.
Is RELENG_4_9 already available at all?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html

does not mention it. That's why i am tracking RELENG_4.

-- Heinrich

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


Kernel from RELENG_4 as of 13-OCT-2003 broken?

2003-09-18 Thread Heinrich Rebehn
Hi list,

i upgrade my sources every night from CVS using the RELENG_4 tag.
The changes from 13-OCT seem to have broken something.
When i booted the newly compiled kernel and tried to do a
cd /usr/src; make -j4 buildworld

the system froze after some 10 minutes and i had to press RESET.
No errors were reported. This happended twice.
Apart from that, the system seemed to run normal.
I then booted the kernel as of 10-OCT and buildworld was ok.
The changes were:

P share/examples/cvsup/cvs-supfile
P share/examples/cvsup/ports-supfile
P share/examples/cvsup/refuse
P share/examples/cvsup/refuse.README
P sys/kern/uipc_mbuf.c
P sys/netinet/ip_output.c
P sys/sys/mbuf.h
Are there any known issues with this?

I am attaching dmesg output and will happily supply more info if required :-)

Regards,

Heinrich Rebehn
--
Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
   3937 Feb 10  2003 a2ps-print.el
Waiting (max 60 seconds) for system process `vnlru' to stop...stopped
Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped
Waiting (max 60 seconds) for system process `syncer' to stop...stopped

syncing disks... 
done
m 555   rarpd Copyright (c) 1992-2003 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 4.9-PRERELEASE #4: Thu Sep 11 13:49:53 CEST 2003
[EMAIL PROTECTED]:/export/huge/usr/obj/usr/src/sys/ANTSRV1
Timecounter i8254  frequency 1193182 Hz
CPU: AMD Athlon(TM) XP1800+ (1544.67-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x662  Stepping = 2
  
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
  AMD Features=0xc040AMIE,DSP,3DNow!
real memory  = 1073659904 (1048496K bytes)
avail memory = 1041371136 (1016964K bytes)
Preloaded elf kernel kernel at 0xc0371000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 11 entries at 0xc00f1770
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Host to PCI bridge on motherboard
pci0: PCI bus on pcib0
pcib1: AcerLabs M5247 PCI-PCI(AGP Supported) bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: ATI model 5046 graphics accelerator at 0.0 irq 11
atapci0: AcerLabs Aladdin ATA100 controller port 0xb400-0xb40f at device 4.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
isab0: AcerLabs M1533 portable PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
xl0: 3Com 3c905B-TX Fast Etherlink XL port 0xa400-0xa47f mem 0xe880-0xe880007f 
irq 15 at device 9.0 on pci0
xl0: Ethernet address: 00:50:04:3c:aa:1c
miibus0: MII bus on xl0
xlphy0: 3Com internal media interface on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl1: 3Com 3c905C-TX Fast Etherlink XL port 0xa000-0xa07f mem 0xe800-0xe87f 
irq 10 at device 10.0 on pci0
xl1: Ethernet address: 00:04:76:28:70:0e
miibus1: MII bus on xl1
xlphy1: 3c905C 10/100 internal PHY on miibus1
xlphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
twe0: 3ware Storage Controller port 0x9800-0x980f mem 
0xe700-0xe77f,0xe780-0xe78f irq 11 at device 12.0 on pci0
twe0: 8 ports, Firmware FE7X 1.05.01.034, BIOS BE7X 1.08.00.040
ahc0: Adaptec 2940 Ultra SCSI adapter port 0x9400-0x94ff mem 0xe680-0xe6800fff 
irq 9 at device 13.0 on pci0
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
chip1: AcerLabs M15x3 Power Management Unit at device 17.0 on pci0
orm0: Option ROMs at iomem 
0xc-0xcafff,0xcc000-0xcc7ff,0xd-0xd0fff,0xd4000-0xd47ff on isa0
pmtimer0 on isa0
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
ad0: DMA limited to UDMA33, non-ATA66 cable or device
ad0: 39266MB IC35L040AVVN07-0 [79780/16/63] at ata0-master UDMA33
acd0: CDROM LTN382 at ata0-slave PIO4
Waiting 15 seconds for SCSI devices to settle
twed0: Unit 0, RAID0, Normal on twe0
twed0: 478742MB (980465408 sectors)
twed1: Unit 2, RAID5, Normal on twe0
twed1: 293215MB (600505600 sectors)
twe0: command interrupt
sa0 at ahc0 bus 0

Re: how

2003-09-18 Thread Heinrich Rebehn
  wrote:
How to boot FreeBSD by Windows XP loader?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
1. Use a more meaningful subject line. You will get more answers if you do.
2. Searching with Google freebsd windows dual boot gave the following link 
(among others):

http://www.experts-exchange.com/Operating_Systems/Open_BSD/Q_20560610.html

This seems to be a good starting point.

Kind Regards,

	Heinrich

--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xdm config files overwritten after upgrading Xfree86-clients from ports

2003-09-08 Thread Heinrich Rebehn
Matthew Seaman wrote:
On Fri, Sep 05, 2003 at 01:45:03PM +0200, Heinrich Rebehn wrote:

Matthew Seaman wrote:


However, I just keep a backup copy of the /usr/X11R6/lib/X11/xdm
directory handy:
  # cd /usr/X11R6/lib/X11/
  # rsync -avx --delete xdm/ xdm.bak/
	Cheers,

	Matthew

Ok, this would help for xdm. I wonder however, how many other packages are 
out there with similar behaviour and what other directories i should have a 
copy of handy.

Or, to put it this way: I would like a port/package system that i can rely 
on :-)


In practice, this really doesn't bite port/package users very often.
The Porter's Handbook states:
If your port requires some configuration files in PREFIX/etc, do
not just install them and list them in pkg-plist. That will cause
pkg_delete to delete files carefully edited by the user and a new
installation to wipe them out.
Instead, install sample files with a suffix (filename.sample will
work well) and print out a message pointing out that the user has
to copy and edit the file before the software can be made to work.
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/dads-config.html)
I filed a pr against XFree86-clients. See what happens...

which perhaps should be generalized to configuration files installed
anywhere, rather than just under PREFIX/etc.
Of all the ports I have installed, which is several hundred
encorporating general desktop usage, web serving, databases, etc., the
only ones I've had problems with regarding trashing my original
configuration files are XFree86-4-clients and the Horde, Imp, Turba
etc. group of web apps.  (These last, to be fair, always preserve my
config files as filename.previous and updates do tend to involve
non-compatible changes to the configuration file contents.)
This is good to hear. Otherwise i would have considered moving to Debian/Linux. :-)

The only other Gotcha! of this type is when a /usr/local/etc/rc.d
startup script gets changed to the new rc.subr(8) style.  Previously
those scripts were generally held to be configurable files and you had
to copy the sample file into place, edit it and make sure it was
executable before the service would be set up to auto-start on reboot.
With the new rc_subr style, the script doesn't need to be edited, but
you generally have to add some lines to /etc/rc.conf to enable the
service.
	Cheers,

	Matthew

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


Re: Question on CVS Branches

2003-09-08 Thread Heinrich Rebehn
Chuck Swiger wrote:
Heinrich Rebehn wrote:

Chuck Swiger wrote:
[ ... ]

6-sec% touch ~/.cvspass
7-sec% cvs -d :pserver:[EMAIL PROTECTED]:/home/ncvs login
Logging in to :pserver:[EMAIL PROTECTED]:2401/home/ncvs
CVS password:
[ Use anoncvs for the password. ]

8-sec% cvs -d :pserver:[EMAIL PROTECTED]:/home/ncvs co src
cvs server: Updating src
U src/COPYRIGHT
U src/MAINTAINERS
U src/Makefile
U src/Makefile.inc1
U src/README
U src/UPDATING
cvs server: Updating src/bin
^C...


This looks like you still have to type in the password from the terminal.
I would like to update the source each night from a cron job.
Is there really no way to do that?


I had to enter the password for the cvs login; the CVS checkout 
operation did not require a password.

How do you enter a password from within a cron job?

Heinrich

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


xdm config files overwritten after upgrading Xfree86-clients from ports

2003-09-05 Thread Heinrich Rebehn
Hi lists,

I upgraded Xfree86-clients from ports using portupgrade today and noticed that 
xdm was no longer working afterwards.
After some searching i found that the config files in /usr/X11R6/lib/X11/xdm had 
been overwritten.

Since i had a similar problem with another port the other day, i want to ask:

- Is this expected behaviour?
- Should i manually inspect my config files after each portupgrade?
- Or is this just a bug in XFree86-clients (and possibly some other ports)?
Luckily, my changes to the config files were only minor, so i did not have to 
restore them from tape :-)

Anyway it's annoying..

Regards,
--
Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xdm config files overwritten after upgrading Xfree86-clients from ports

2003-09-05 Thread Heinrich Rebehn
Matthew Seaman wrote:
On Fri, Sep 05, 2003 at 12:59:38PM +0200, Heinrich Rebehn wrote:

Hi lists,

I upgraded Xfree86-clients from ports using portupgrade today and noticed 
that xdm was no longer working afterwards.
After some searching i found that the config files in 
/usr/X11R6/lib/X11/xdm had been overwritten.

Since i had a similar problem with another port the other day, i want to 
ask:

- Is this expected behaviour?
- Should i manually inspect my config files after each portupgrade?
- Or is this just a bug in XFree86-clients (and possibly some other ports)?
Luckily, my changes to the config files were only minor, so i did not have 
to restore them from tape :-)

Anyway it's annoying..


Yes, I've been bitten by this in the past.  In theory you can avoid
re-installing the xdm config files by:
% make install InstallXdmConfig=NO

or by adding that variable to the MAKE_ARGS array in
/usr/local/etc/pkgtools.conf is you're a portupgrade(1) user.
However, I just keep a backup copy of the /usr/X11R6/lib/X11/xdm
directory handy:
# cd /usr/X11R6/lib/X11/
# rsync -avx --delete xdm/ xdm.bak/
	Cheers,

	Matthew

Ok, this would help for xdm. I wonder however, how many other packages are out 
there with similar behaviour and what other directories i should have a copy of 
handy.

Or, to put it this way: I would like a port/package system that i can rely on :-)

- Heinrich

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


Unable to install mailman from ports

2003-09-03 Thread Heinrich Rebehn
Hi list,

I am trying to install mailman from the ports tree.
Make install ends with:
...
Compiling /usr/local/mailman/Mailman/htmlformat.py ...
Compiling /usr/local/mailman/Mailman/i18n.py ...
Compiling /usr/local/mailman/Mailman/versions.py ...
Traceback (most recent call last):
  File bin/update, line 48, in ?
from Mailman import MailList
  File /usr/local/mailman/Mailman/MailList.py, line 49, in ?
from Mailman.Archiver import Archiver
  File /usr/local/mailman/Mailman/Archiver/__init__.py, line 17, in ?
from Archiver import *
  File /usr/local/mailman/Mailman/Archiver/Archiver.py, line 36, in ?
from Mailman.i18n import _
  File /usr/local/mailman/Mailman/i18n.py, line 52, in ?
set_language()
  File /usr/local/mailman/Mailman/i18n.py, line 34, in set_language
_translation = gettext.translation('mailman', mm_cfg.MESSAGES_DIR,
AttributeError: 'module' object has no attribute 'MESSAGES_DIR'
*** Error code 1
Stop in /usr/ports/mail/mailman/work/mailman-2.1.2.
*** Error code 1
Stop in /usr/ports/mail/mailman.

What's wrong here? Can someone please help??

--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341


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


Configuration files after portupgrade horde and imp

2003-09-03 Thread Heinrich Rebehn
Hi lists,

I just upgraded horde and php on our server via portupgrade.
After the upgrade nothing was working anymore, it was impossible to login to 
horde anymore.
I noticed that my horde/imp configuration files had been replced by the default 
files. My old files had been saved as filename.bak.

Is this expected behaviour? Wouldn't it be better to leave the config files 
intact and install the new ones as filename.dist.new or something similar?
This way the application would still be working after the upgrade and i would 
have time to inspect the new default config files for changes without being 
disturbed by users complaining that they can't use their webmail interface anymore?

Kind regards,
--
Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question on CVS Branches

2003-09-01 Thread Heinrich Rebehn
Chuck Swiger wrote:
[EMAIL PROTECTED] wrote:

Quoting Chuck Swiger [EMAIL PROTECTED]:

The documentation for CVS is not especially well-known for being 
inclusive. Are you using CVS over SSH or in pserver mode?  The first 
case requires you to
set up password-less SSH authentication via ssh-keygen, the latter 
uses the cvs
login mechanism.


I use CVSROOT=:pserver:[EMAIL PROTECTED]:/home/ncvs.
Is it possible to specify the password on the command line with cvs 
login (it
isn't secret anyhow)?


6-sec% touch ~/.cvspass
7-sec% cvs -d :pserver:[EMAIL PROTECTED]:/home/ncvs login
Logging in to :pserver:[EMAIL PROTECTED]:2401/home/ncvs
CVS password:
[ Use anoncvs for the password. ]

8-sec% cvs -d :pserver:[EMAIL PROTECTED]:/home/ncvs co src
cvs server: Updating src
U src/COPYRIGHT
U src/MAINTAINERS
U src/Makefile
U src/Makefile.inc1
U src/README
U src/UPDATING
cvs server: Updating src/bin
^C...
This looks like you still have to type in the password from the terminal.
I would like to update the source each night from a cron job.
Is there really no way to do that?
With OpenBSD i can simply do:

# export [EMAIL PROTECTED]:/cvs
# cvs co -rOPENBSD_3_3 src/sys
cvs server: Updating src/sys
U src/sys/Makefile
cvs server: Updating src/sys/adosfs
U src/sys/adosfs/adlookup.c
U src/sys/adosfs/adosfs.h
U src/sys/adosfs/adutil.c
U src/sys/adosfs/advfsops.c
U src/sys/adosfs/advnops.c
cvs server: Updating src/sys/altq
^C
without the need to type in a password.

Seems i have to use CVSUP on FreeBSD..

- Heinrich

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


Re: Question on CVS Branches

2003-08-29 Thread Heinrich Rebehn
Simon Barner wrote:
Is RELENG_4 to be considered stable? I.e. can i use it for production?


Well, that depends. At the moment, -stable has (or had) some stability problems
since some enhancements for huge memory systems ( 4gb) where merged
from -current).
I think the best for production system is the latest security branch,
i.e. RELENG_4_8 which is the latest release (4.8-RELEASE) + all the
security fixes that have been released so far. -stable aka. RELENG_4
contains those fixes + other bug fixes + feature enhancements, that
might cause problems once in a while.

Also i am still a bit unsure, what CURRENT, RELEASE and STABLE mean.
From other OS's, i know that Release means for production use.
But 5.x-RELEASE is said to be not for production.


The FreeBSD 5.x releases were made in order to provide a solid test
basis for the very latest branch of FreeBSD. Although it runs very
stable for a lot of people, more conservative users that do not need any
of the new features in FreeBSD 5.x are recommended stay with FreeBSD 4.x
at the present.
Regards,
 Simon
Thank you. Yet another question: I would like to update my source tree 
automatically each night. However the cvs login requires a password to be typed 
in. Is there any way to automate this? Strangely, the cvs man page does not even 
mention the login command.
I know that cvsup would be an alternative, i'm just used to using cvs from 
OpenBSD (where no login is required).

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


Re: Question on CVS Branches

2003-08-28 Thread Heinrich Rebehn
Viktor Lazlo wrote:
On Tue, 26 Aug 2003, Heinrich Rebehn wrote:


Hi,

please forgive me if this is a FAQ, but just what is the meaning of the RELENG_4
branch? Is it more current then RELENG_4_7 or RELENG_4_8 ?
What should i use if i want to get security patches for my 4.7-RELEASE-p4
installation?
What would happen if i use RELENG_4 ?


RELENG_4 is the development branch for FreeBSD-STABLE. RELENG_4_7 and
RELENG_4_8 are the security fix branches for those releases.  If you want
to track the most current code, use RELENG_4.  If you just want to ensure
your system is updated with the latest security patches for your release
use RELENG_4_7, or RELENG_4_8 if you want to upgrade.
Cheers,

Viktor



Is RELENG_4 to be considered stable? I.e. can i use it for production?

Also i am still a bit unsure, what CURRENT, RELEASE and STABLE mean.
From other OS's, i know that Release means for production use.
But 5.x-RELEASE is said to be not for production.
Is STABLE more stable than RELEASE?
Thanks for any insight

	Heinrich

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


Question on CVS Branches

2003-08-26 Thread Heinrich Rebehn
Hi,

please forgive me if this is a FAQ, but just what is the meaning of the RELENG_4 
branch? Is it more current then RELENG_4_7 or RELENG_4_8 ?
What should i use if i want to get security patches for my 4.7-RELEASE-p4 
installation?
What would happen if i use RELENG_4 ?

Thanks for your patience, if this is a FAQ.

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: newfs parameters for a 500 GB volume ?

2003-04-03 Thread Heinrich Rebehn
Jan Grant wrote:

On Thu, 3 Apr 2003, Heinrich Rebehn wrote:

 

Hi,

I am repeating the post below, because it obviously hasn't made it to
the list (at least i did not get it back from the list).
Can someone please give me some advice, because i will be setting up the
discs today.
Thank you

Hi,

I am going to set up a RAID 0 array with two 250G drives, making 500G.
Which newfs parameters would you recommend for it?
   

As many cylinders per group as possible. I think newfs has an infinity
setting to pick the right number.
 

I am afraid of ending up with a fs with Gigs of space and no inodes
left, or a fs that is heavily fragmented and slow.
Reading the newfs manpage didn't quit help me, it explains all switches
The files on the volume will be 2 MB average.
   

There's a bytes per inode setting that you can plug this figure into.
You might want to be a little more generous with inodes than that (give
yourself some elbow room). You need inodes for symlinks and directories
too.
 

Thank you for your reply. I have reread the manpage and would go for:
- blocksize   = 64 kB
- fragsize= 64/8 = 8 kB
- bytes/inode   = 16 kB
Are these values reasonable or should i use higher values (because the 
disk is so large?)

Heinrich

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


Re: newfs parameters for a 500 GB volume ?

2003-04-03 Thread Heinrich Rebehn
Jan Grant wrote:

On Thu, 3 Apr 2003, Heinrich Rebehn wrote:

 

Thank you for your reply. I have reread the manpage and would go for:
- blocksize   = 64 kB
- fragsize= 64/8 = 8 kB
- bytes/inode   = 16 kB
Are these values reasonable or should i use higher values (because the
disk is so large?)
   

I'd turn bytes per inode up to 200k or so - there's a paragraph in man
7 tuning on this.
If the application is critical then benchmarking real use as closely
as possible will enable you to find optimal sizes for stripes, and is
probably time well spent.
 

Oh, i had forgotten the tuning(7) manpage. Neiter newfs nore tunefs 
contain a refrence to it!
Having read it, i am not so sure about the blocksize any more.I
t says that going higher that 16K can make the fs slower. Does this 
still hold true?
As for bytes/inode, i would now use 262144.
Striping will be done by a 3ware escalade raid controller, which (i 
*think*) does not give me much choices about the stripesize.

Heinrich

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


newfs parameters for a 500 GB volume ?

2003-04-02 Thread Heinrich Rebehn
Hi,

I am going to set up a RAID 0 array with two 250G drives, making 500G.
Which newfs parameters would you recommend for it?
I am afraid of ending up with a fs with Gigs of space and no inodes 
left, or a fs that is heavily fragmented and slow.
Reading the newfs manpage didn't quit help me, it explains all switches
The files on the volume will be 2 MB average.

Thank you for any suggestions or pointers.

--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
E-mail: mailto:[EMAIL PROTECTED]
Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


newfs parameters for a 500 GB volume ?

2003-04-02 Thread Heinrich Rebehn
Hi,

I am repeating the post below, because it obviously hasn't made it to 
the list (at least i did not get it back from the list).

Can someone please give me some advice, because i will be setting up the 
discs today.

Thank you

Hi,

I am going to set up a RAID 0 array with two 250G drives, making 500G.
Which newfs parameters would you recommend for it?
I am afraid of ending up with a fs with Gigs of space and no inodes
left, or a fs that is heavily fragmented and slow.
Reading the newfs manpage didn't quit help me, it explains all switches
The files on the volume will be 2 MB average.
Thank you for any suggestions or pointers.

--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
E-mail: mailto:[EMAIL PROTECTED]
Phone : +49/421/218-4664
Fax   :-3341


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


Re: disklabel and ext2

2003-03-21 Thread Heinrich Rebehn
synrat wrote:
I can't delete 2 linux partitions from a drive using disklabel.
No matter what /dev/ad0 slices I try to edit, linux partitions don't show
up, but fdisk thinks differently.  I can easily delete and recreate the
first 2 partitions as slices 1 and 2, but can't get rid of the other 2.
Thanx in advance.
below is fdisk output for /dev/ad0
 data for partition 1 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 63, size 40949622 (19994 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 40949685, size 2040255 (996 Meg), flag 80 (active)
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
sysid 131,(Linux filesystem)
start 42989940, size 33206355 (16214 Meg), flag 0
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 254/ sector 63
The data for partition 4 is:
sysid 130,(Linux swap or Solaris x86)
start 76196295, size 1975995 (964 Meg), flag 0
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 254/ sector 63
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message
AFAIK you cannot delete Linux partitions using disklabel. Disklabel is only for 
editing the slices _inside_ the FreeBSD partitions.
You must delete the partitions using fdisk (which i have never before used).
I think it's easier using Linux fdisk (or /stand/sysinstall)

Heinrich

--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
E-mail: mailto:[EMAIL PROTECTED]
Phone : +49/421/218-4664
Fax   :-3341
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


  1   2   >