Re: sys/boot/boot0/boot0.S - r186598

2011-01-10 Thread Tom Judge
On 01/09/2011 04:44 PM, Luigi Rizzo wrote: > On Sun, Jan 09, 2011 at 12:57:24PM -0600, Tom Judge wrote: >> On 09/01/2011 12:33, Luigi Rizzo wrote: >>> On Sun, Jan 09, 2011 at 12:39:28AM -0600, Tom Judge wrote: >>>> Hi, >>>> >>>> Today I

Re: sys/boot/boot0/boot0.S - r186598

2011-01-09 Thread Tom Judge
On 09/01/2011 12:33, Luigi Rizzo wrote: > On Sun, Jan 09, 2011 at 12:39:28AM -0600, Tom Judge wrote: >> Hi, >> >> Today I ran into an issue where setting the default slice with boot0cfg >> -s is broken. > a few questions inline: > Output inline, full script log att

Re: sys/boot/boot0/boot0.S - r186598

2011-01-09 Thread Tom Judge
On 09/01/2011 04:38, Daniel Braniss wrote: >> There was a post on the embedded list that suggested this work around: >> echo 'a 2' | fdisk -f /dev/stdin ad0 >> boot0cfg -s 2 ad0 >> >> There are 2 issues with this: >> 1) It can't be done without setting kern.geom.debugflags to 0x10. >> 2) It

sys/boot/boot0/boot0.S - r186598

2011-01-08 Thread Tom Judge
Hi, Today I ran into an issue where setting the default slice with boot0cfg -s is broken. This is related to a section of this revision: + commit Warner's patch "orb $NOUPDATE,_FLAGS(%bp)" to avoid writing to disk in case of a timeout/default choice; This issue is quite well documented in bin

Re: Panic in vm_map_stack

2010-03-26 Thread Tom Judge
sed; 766 pr->pr_full_mem_usage = full_mem_used; 767 mtx_unlock(&pr->pr_mtx); 768 } 769 Tom Kostik Belousov wrote: > On Fri, Mar 26, 2010 at 06:13:02PM +, Tom Judge wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Hi, >> &

Panic in vm_map_stack

2010-03-26 Thread Tom Judge
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I am seeing the following rare but re occurring panic in the vm_map_stack code. I have the core file and symbols available should more information be required. Tom - > $ uname -a FreeBSD XXX 7.1-RELEASE-p4 FreeBSD 7.1-RELEASE-p4 #0 @718:

Re: "global" TCP_NODELAY?

2009-10-12 Thread Tom Judge
Ivan Voras wrote: Sergey Smitienko wrote: Ivan Voras пишет: I'm trying to work around some extreme brain damageness in PHP (yes, it sucks) which doesn't have a way to set TCP_NODELAY on stream sockets so I'm wondering what are my other options? Is there a way to set TCP_NODELAY system-wide?

Kernel Thread Lock Question

2009-10-05 Thread Tom Judge
Do I need to hold the per thread lock here? (This is for 7.1) PROC_LOCK(p); //mtx_lock_spin(&sched_lock); breakout = 0; FOREACH_THREAD_IN_PROC(p, td) { thread_lock(td); if (!TD_ON_RUNQ(td) && !TD_IS_RUNNING(td) && !TD_IS_SLEEPING(td)) { breakout = 1; thre

Re: Help debugging: Fatal kernel mode data abort: 'External Linefetch Abort (P)'

2009-10-05 Thread Tom Judge
Olivier Houchard wrote: Hi Olivier, I have tried the patch and here are the boot results: I fail to see how it happens. Could you printf the value of sc->sc_mem once set in i80321_pci_attach(), and if it appears to be 0, the value of i80321_softc->sc_owin[0].owin_xlate_lo at the differ

Re: Help debugging: Fatal kernel mode data abort: 'External Linefetch Abort (P)'

2009-09-29 Thread Tom Judge
Mark Tinguely wrote: I don't know anything about the code other than what I read today ... It appears from you boot traces the owin[0].owin_xlate_[lo | hi] values should be fine in iq80321.c - an "VERBOSE_INIT_ARM" would confirm it. You might want to test if the "sc" pointer in iq80321.c has th

Re: Help debugging: Fatal kernel mode data abort: 'External Linefetch Abort (P)'

2009-09-29 Thread Tom Judge
Olivier Houchard wrote: On Tue, Sep 29, 2009 at 02:05:14AM +, Tom Judge wrote: Hi Olivier, I have switched out the std file and am now using std.i80219 but am still having issues. I think the problems are the pci memory mappings in the controller devices. On linux em0 gets mapped as

Re: Help debugging: Fatal kernel mode data abort: 'External Linefetch Abort (P)'

2009-09-28 Thread Tom Judge
Tom Judge wrote: Olivier Houchard wrote: On Mon, Sep 28, 2009 at 06:55:38PM +, Tom Judge wrote: Hi, I am working on getting FreeBSD to boot on a new ARM based board, and am hitting this issue any time I load a driver for the PCI based devices on the board. My current code can be

Re: Help debugging: Fatal kernel mode data abort: 'External Linefetch Abort (P)'

2009-09-28 Thread Tom Judge
Olivier Houchard wrote: On Mon, Sep 28, 2009 at 06:55:38PM +, Tom Judge wrote: Hi, I am working on getting FreeBSD to boot on a new ARM based board, and am hitting this issue any time I load a driver for the PCI based devices on the board. My current code can be found here: http

Help debugging: Fatal kernel mode data abort: 'External Linefetch Abort (P)'

2009-09-28 Thread Tom Judge
Hi, I am working on getting FreeBSD to boot on a new ARM based board, and am hitting this issue any time I load a driver for the PCI based devices on the board. My current code can be found here: http://www.tomjudge.com/tmp/em7210.patch Here is the back trace of the problem (which i can repe

USB Device identification in dmesg and usbconfig

2009-09-23 Thread Tom Judge
Hi, I have been working on getting at least some support for the Function (F1-12) keys on my MS Natural 4000 keyboard. Here is the original PR on the subject: usb/116947. My patch can be found here: http://svn.tomjudge.com/freebsd/patches/ms-natural-4000/usb-natural4000.patch and I have subm

Adding support for the Intel SS4000-E NAS aka the EM-7210

2009-09-23 Thread Tom Judge
Hi, Sorry for the cross post but i didn't get any bites on arm@ so I am gonna try my luck here. I am trying to add support for the Intel SS4000-E/EM7210 to FreeBSD, I have copied all of the files for the EP80219 as this seems to be what the board is based on, and modified the interrupt assignm

Re: SCSI and SAN

2007-10-04 Thread Tom Judge
Sharad Chandra wrote: Hello, How to distinguish if /dev/da* devices are internal scsi drivers or LUNs of external SAN? Is there any tool? Thanks for any advice. Sharad Chandra ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/m

Re: two-way terminal multiplexing

2007-08-30 Thread Tom Judge
Simias wrote: "djembe nazar" <[EMAIL PROTECTED]> writes: I am trying to work out a way to do the following for a "FreeBSD teaching environment": The intention is to have two terminals, one above the other. The bottom terminal shows one's own commands and output like an ordinary xterm whilst th

Re: vlan taggging on etherchannel

2007-08-21 Thread Tom Judge
Arne Schwabe wrote: Tom Judge schrieb: Mohacsi Janos wrote: Dear All, What is the recommended way to configure vlan interfaces on etherchannel bonded interfaces in a failure mode. I found, that etherchannel is supported by ng_fec(4) (but not exactly what I want) and also found that there

Re: vlan taggging on etherchannel

2007-08-21 Thread Tom Judge
Mohacsi Janos wrote: Dear All, What is the recommended way to configure vlan interfaces on etherchannel bonded interfaces in a failure mode. I found, that etherchannel is supported by ng_fec(4) (but not exactly what I want) and also found that there two? way of configuring vlans: vlan(4) a

Re: FreeBSD & Hot pluggable disks (SATA?)

2007-07-26 Thread Tom Judge
Dag-Erling Smørgrav wrote: "Stephen Hocking" <[EMAIL PROTECTED]> writes: Have been looking at FreeNAS (http://www.freenas.org/) and thinking about the iSCSI portion of it. At the moment the box requires you to shutdown when a disk fails in order to replace it. Is this a feature of the GEOM RAID

Re: alias netmask bug?

2007-07-24 Thread Tom Judge
Jeremy Chadwick wrote: On Tue, Jul 24, 2007 at 03:34:54AM +0300, Evren Yurtesen wrote: I remember from earlier versions of FreeBSD that it had a restriction about alias IP netmasks (somewhere in 3.x,4.x days)... as explained here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/

Re: Insufficient locking in log() / kvprintf() / somewhere?

2007-07-20 Thread Tom Judge
Romain Tartière wrote: Hello FreeBSD hackers! I recently got some apache problems (maybe just forgetting to restart it after an update, but it is not the interest of this e-mail) and each httpd process was segfaulting as soon as created. I got surprising things like that in my systems log: ===

Re: DPS Initial Ideas

2007-05-13 Thread Tom Judge
Dag-Erling Smørgrav wrote: Michel Talon <[EMAIL PROTECTED]> writes: Seriously, the FreeBSD package system is in great need of a profound overhaul, pretending it works well is complete denial of reality. Perhaps, but I seriously doubt that you are the correct person for the job. DES This is ex

Re: NFS based /usr prevents normal startup due to slow net init

2007-03-09 Thread Tom Judge
Steven Hartland wrote: Another observation from my recent dealings with using NFS based /usr is that the remote critical mounts via nfs dont always give the network enough time to initialise before running. The first error displayed is: Mounting NFS file systems:mount_nfs: nfs1: hostname nor serv

Re: LDAP integration

2007-01-08 Thread Tom Judge
VANHULLEBUS Yvan wrote: On Sun, Jan 07, 2007 at 05:59:35PM -0600, Z.C.B. wrote: I was just wondering. How many people here have given lots of though about integrating FreeBSD configuration with LDAP. I've just begun looking at it a lot more and was curious as to what other people think in this a

Re: [patch] Path MTU Discovery when routing over IPSec connections

2006-11-15 Thread Tom Judge
Bjoern A. Zeeb wrote: On Wed, 15 Nov 2006, Tom Judge wrote: I'll handle this. From your patch I assume you are on RELENG_6. In HEAD that part had been re-written already. I have to check if the entire code path could be MFCed or just your change needs to be applied but it'll h

[patch] Path MTU Discovery when routing over IPSec connections

2006-11-15 Thread Tom Judge
I have been looking into some problems with PMTU Discovery when routing packets over IPSec (gif) tunnels, I have submitted the details to the open PR kern/91412 but have had no response as to whether my patch is the correct solution to the problem. The problem occurs when sys/netinet/ip_input.