Re: Unionfs patchset p19 commit?

2007-09-18 Thread Kurt Jaeger
Hi!

> >>I have a big hope to get merged into FreeBSD until
> >>7-RELEASE. Progress is step by step slowly, but going
> >>forward absolutely.  If you have interest in unionfs
> >>improvements, push your passion to re@ and fs@ committers ;-)
> >
> >Did you have a chance to look into this ?
> >
> >http://lists.freebsd.org/pipermail/freebsd-stable/2007-June/035798.html

> Already we have fixed above issue.
[...]

I'm compiling this patch on my test system right now.

Another issue is userland support for unionfs, e.g. in fstat,
as described on this page:

http://c0mplx.org/src/fstat-unionfs-patch/

Do you plan to analyse/investigate this topic ?

There's another topic if one uses unionfs in jail() setups: How to
backup the files, and only those files that a different from
the base ?

If I traverse a mounted unionfs, how do I know where data is coming
from, the lower mount or the higher mount ?

If I can't tell the difference, I'll backup quite a lot of stuff
multiple times.

I've experimented a little and found no easy way to tell lower
from upper unless I open the file (which sounds expensive). 
Have a look at http://c0mplx.org/src/isunionfs.c -- does this
sound like a way to go ?

-- 
[EMAIL PROTECTED]   +49 171 310137213 years to 
go !
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: usb mouse

2007-09-18 Thread Jan Henrik Sylvester

Vladimir Botka wrote:
> Can anybody help me please with usb mouse? There is uhid driver
> attached. Keyboard works fine.

When I once tried a Microsoft cordless USB mouse, I only got an uhid0, 
too. After some research, the best answer I found was this:


http://lists.freebsd.org/pipermail/freebsd-hardware/2006-July/003621.html

Later, I came across this, which might have something to do with it:

http://www.freebsd.org/cgi/query-pr.cgi?pr=63837&cat=

Since I had already given up on the MS mouse and replaced it with 
something civilized, I do not know if it is the same problem, if the 
"better" code from NetBSD got imported by now, and -- in case the former 
has to be answered with "no" -- if the patch is of any help.


If you do further research, I would like to hear of the results. Thanks.

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


Problems with FreeRADIUS in a jail

2007-09-18 Thread Scott Lambert
I've been trying to get FreeRADIUS 2.0 working inside a FreeBSD
6.2-STABLE jail.

The work I've been doing with the Alan DeKok of FreeRADIUS starts with
this message:

https://lists.freeradius.org/pipermail/freeradius-users/2007-September/065883.html

Here is the thread index :

https://lists.freeradius.org/pipermail/freeradius-users/2007-September/thread.html#65883

I am way out of my depth at this point.  I thought I had the problem
found yesterday in FreeRADIUS but Alan says what I did to "fix" it
shouldn't work at all.  He seems to think it is a jail problem.

Is anybody else testing the new version of FreeRADIUS in a jail?

I would greatly appreciate any help I can get on this topic.  

If someone wants to take a look at it, here is a script I am using to
get the current sources:


#!/bin/sh

DATE=`date +%Y%m%d`

fetch 
ftp://ftp.freeradius.org/pub/freeradius/snapshots/freeradius-server-snapshot-${DATE}.tar.bz2
tar -yxvf freeradius-server-snapshot-${DATE}.tar.bz2
rm -rf freeradius-server-snapshot
cp -rp freeradius-server-snapshot-${DATE} freeradius-server-snapshot


Thanks in advance!

-- 
Scott LambertKC5MLE   Unix SysAdmin
[EMAIL PROTECTED]

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


Re: usb mouse

2007-09-18 Thread Vladimir Botka
Dne Tue, 18 Sep 2007 11:01:40 -0500
Bruce Burden <[EMAIL PROTECTED]> napsal(a):

> On Tue, Sep 18, 2007 at 04:43:29PM +0200, Vladimir Botka wrote:
> > Hello,
> > 
> > Can anybody help me please with usb mouse? There is uhid driver
> > attached. Keyboard works fine.
> > 
>   So, what is not happening? Do you not have the mouse pointer
> on the console? In an X window? Is it not working in the z axis
> correctly?
> 
>   That the mouse is recognised is a good sign, usually, Getting
> it to work properly from there can be a bit annoying, but not
> impossible.
> 
>   Bruce

The problem is the uhid driver; ums should attache. Obviously?

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


comconsole trouble on ASUS A8VE-deluxe

2007-09-18 Thread Arno J. Klaassen

Hello,

I can't seem to get comconsole work on an ASUS A8VE-Deluxe MB :

 - I get the boot-menu, can escape to loader prompt
   and type, but no output once kernel starts booting

 - I tried (almost) all possible combinations of hint.sio.0.flags
   but no change, though 0x8 to recover sooner from lost output
   interrupts, *sometimes* gives blurbs of output

 - even pulling out the graphics card does not help

 - when in multi-user a good old "kermit" over cuad0 works OK

 - these are the relevant dmesg lines :

   sio0: configured irq 4 not in bitmap of probed irqs 0
   sio0: port may not be enabled
   sio0: irq maps: 0 0 0 0
   sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x30038 on 
acpi0
   sio0: type ST16650A, console
   ioapic0: routing intpin 4 (ISA IRQ 4) to vector 55

Anyone an idea of what to try next?
I tried uart(4) iso sio(4) and hint.uart.0.flags="0x10", no change,
but I'm not quite sure this is supposed to work on amd64-stable.

Thanx a lot in advance.

Arno


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


Re: usb mouse

2007-09-18 Thread Bruce Burden
On Tue, Sep 18, 2007 at 04:43:29PM +0200, Vladimir Botka wrote:
> Hello,
> 
> Can anybody help me please with usb mouse? There is uhid driver
> attached. Keyboard works fine.
> 
So, what is not happening? Do you not have the mouse pointer
on the console? In an X window? Is it not working in the z axis
correctly?

That the mouse is recognised is a good sign, usually, Getting
it to work properly from there can be a bit annoying, but not
impossible.

Bruce
-- 

  "I like bad!" Bruce BurdenAustin, TX.
- Thuganlitha
The Power and the Prophet
Robert Don Hughes

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


usb mouse

2007-09-18 Thread Vladimir Botka
Hello,

Can anybody help me please with usb mouse? There is uhid driver
attached. Keyboard works fine.

# usbdevs -d -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x),
Intel(0x), rev 1.00 uhub0
 port 1 powered
 port 2 addr 2: low speed, power 100 mA, config 1, USB Multimedia
Cordless Kit(0x5244), BTC(0x046e), rev 0.27 ukbd0
   uhid0
-- 
Vladimir Botka

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


Rare / random hangs with FreeBSD 6.2-RELEASE-p4

2007-09-18 Thread Gert Lynge
Hi

Running a FreeBSD 6.2 with mainly MySQL, Apache and PHP (kept up to date
with manual freebsd-update / portupgrade).

The hardware is SuperMicro SuperServer 5015MT+ with 2GB of ECC RAM and a
Intel Core 2 Quad 6700. Running a BIOS assisted soft mirror with SATA
disks...

After aprox 2 weeks the server hangs. There is no dumps at /var/crash as the
server seems to lock up while dumping. Details below - unfortunately I don't
always get a picture of the console as I'm not always the rebooter.
There is no hang-related notes i FreeBSD logs, and nothing at all in IPMI
and BIOS logs.

Earlier I had the server running with HTTP Accept Filters on, but then it
reboots 4-5 times a day! I've also been running xcache (php accelrator), but
that was disabled during the latest hang.

Do You have any suggestions?
Does this seems to be hardware or software related?
Anything I could try to figure out what is going on?
Unfortunately the server is in production.

Thank You for any help.

Regards
Gert Lynge

 Hang 1
panic: vm_fault: fault on nofault entry, addr: e92cf000
cpuid = 3
Uptime: 10d0h24m25s
Dumping 2046 MB (2 chunks)
  chunk 0: 1MB (150 pages) ... Ok
  chunk 1: 2046MB (523744 pages)_
---
 Hang 2:
Fatal trap 12: page fault while in kernel mode
Cupid = 2; apic id = 2
Fault virtual address = 0x5a
Fault code = supervisor read, page not present
Instruction pointer = 0x20:0xc07e40a3
Stack pointer = 0x28:0xe6a35b74
Frame pointer = 0x28:0xe6a35c40
Code segment = base 0x0, limit 0xf, type 0x1b
 = DPL 0, pres 1, def32 1, gran 1
Processor eflags = interrupt enabled, resume, IOPL = 0
Current process = 44 (pagezero)
Trap number = 12
Panic: page fault
Cupid = 2
Uptime 17d22h47m51s
Dumping 2048 MB (2 chunks)
  Chunk 0: 1MB (150 pages)ipfw: 
ipfw: xx
---
 uname -a
FreeBSD x.x.x 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:55:55
UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP
i386
---
 cat /etc/rc.conf
defaultrouter="x.x.x.x"
font8x14="cp865-8x14"
font8x16="cp865-8x16"
font8x8="cp865-8x8"
hostname="x.x.x"
ifconfig_em1="inet x.x.x.x  netmask x.x.x.x"
saver="daemon"
usbd_enable="YES"
keymap="danish.cp865"
keyrate="fast"
sshd_enable="YES"
firewall_enable="YES"
firewall_type="x"
firewall_logging="YES"
ntpd_enable="YES"
ntpd_sync_on_start="YES"
mysql_enable="YES"
apache22_enable="YES"
#apache22_http_accept_enable="YES"
inetd_enable="YES"
clear_tmp_enable="YES"
#log_in_vain="1"
sendmail_enable="YES"
rsyncd_enable="YES"
syslogd_flags="-a x.x.x.x/x:*"
clamav_freshclam_enable="YES"
local_startup="/usr/local/etc/rc.d"
dumpdev="/dev/ar0s1b"
---
 cat /var/run/dmesg.boot
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:55:55 UTC 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Quad CPUQ6700  @ 2.66GHz (2660.01-MHz 686-class
CPU)
  Origin = "GenuineIntel"  Id = 0x6fb  Stepping = 11
 
Features=0xbfebfbff
  Features2=0xe3bd,CX16,,>
  AMD Features=0x2000
  AMD Features2=0x1
  Cores per package: 4
real memory  = 2146304000 (2046 MB)
avail memory = 2095165440 (1998 MB)
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
ioapic0  irqs 0-23 on motherboard
ioapic1  irqs 24-47 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0:  on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0:  on acpi0
cpu1:  on acpi0
cpu2:  on acpi0
cpu3:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib1:  irq 16 at device 1.0 on pci0
pci1:  on pcib1
pcib2:  irq 17 at device 28.0 on pci0
pci9:  on pcib2
pcib3:  at device 0.0 on pci9
pci10:  on pcib3
pci9:  at device 0.1 (no driver
attached)
pcib4:  irq 17 at device 28.4 on pci0
pci13:  on pcib4
em0:  port
0x4000-0x401f mem 0xe020-0xe021 irq 16 at device 0.0 on pci13
em0: Ethernet address: 00:30:48:8d:1f:5e
pcib5:  irq 16 at device 28.5 on pci0
pci14:  on pcib5
em1:  port
0x5000-0x501f mem 0xe030-0xe031 irq 17 at device 0.0 on pci14
em1: Ethernet address: 00:30:48:8d:1f:5f
uhci0:  port 0x3000-0x301f irq 23 at device
29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0x3020-0x303f irq 19 at device
29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self pow