Re: UUID in fstab.

2013-08-26 Thread John Baldwin
gt; Is there a way to have both the /dev/XXXpYY and /dev/gptid/ present > in /dev/ Not currently. freebsd-geom@ is probably the best place to ask that question. -- John Baldwin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/

Re: Kernel Panic - Unix socket communication in kernel module

2013-08-23 Thread John Baldwin
ht away.) If you need to wait for all local filesystems to be mounted, then you will need to have some userland utility poke your module via a sysctl/ioctl/etc. after the filesystems are mounted (you could use a custom rc.d script for this). -- John Baldwin ___

Re: UUID in fstab.

2013-08-23 Thread John Baldwin
uld also try to update your fstab to use /dev/gptid/ directly instead of /dev/XXXpYY and reboot. If it works I believe the /dev/XXXpYY names will now be gone from /dev and the /dev/gptid names present instead. -- John Baldwin ___ freebsd-questions@freebsd

Re: Failed to allocate receive buffer problem

2013-06-25 Thread John Baldwin
e configuration issues? Do you see memory allocation errors in netstat -m? Specifically this line: 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) If so, it may be that the IPoIB layer has an mbuf leak. The rest of netstat - m might be useful here

Re: How to compile ipoib module manually?

2013-06-05 Thread John Baldwin
IB module is missing in /sys/modules. > > 1. Where can I find it? > > 2. How can I compile ipoib support? You will have to create one. You should be able to use the existing module Makefiles as a guide. -- John Baldwin ___

Re: How to switch Datgram/Connected mtu modes?

2013-05-29 Thread John Baldwin
ctories at FreeBSD. Wat shall I do? Have you tried looking for dev.ib.0 sysctls? It looks like the OFED bits in FreeBSD map Linux sysfs entries to sysctl nodes, but I don't have a box with IB handy to see what it looks like at runtime. -- John Baldwin ___

Re: building custom kernel on -current: unknown option "COMPAT_LINUX"

2013-02-14 Thread John Baldwin
. The > modules seems to build fine without having to > fiddle about with kernel config jiggerypokey. COMPAT_LINUX will work on amd64 eventually and will be used for 64-bit Linux binaries (COMPAT_LINUX32 is to run Linux/i386 binaries on FreeBSD/amd64). -- John Baldwin _

Re: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash

2012-05-31 Thread John Baldwin
0 > irq14: ata0 34 0 > irq18: em0 mpt0 1189748491218 > cpu0: timer 2174263198400 > Total 3364012124619 > > > I'm doing my best to ge

Re: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash

2012-05-31 Thread John Baldwin
On Wednesday, May 30, 2012 3:56:02 pm Mark Felder wrote: > On Wed, 30 May 2012 12:17:07 -0500, John Baldwin wrote: > > > > > Humm, can you test it with 2 CPUs? > > > > We primarily only run with 1 CPU. We have seen it crash on multiple CPU > VMs. Also, Dane F

Re: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash

2012-05-30 Thread John Baldwin
(all consistent with your hang). (And that is from your Ctrl-Alt-Esc) Do you only have one CPU in this VM? If not, do you know which threads the other CPUs were running (e.g. do you have ps7.png, etc.)? -- John Baldwin ___ freebsd-questions@freebsd.or

Re: MFP recommendations

2011-08-15 Thread John Baldwin
SD? And would one of the HP models by a "safe" choice? Yes, anything that works with hplip (which is in ports) will work great with cups in KDE, OpenOffice, etc. I currently use some MFC OfficeJet thinigie at home with hplip. -- John Baldwin

Re: 8.1-RELEASE hangs on reboot

2010-12-01 Thread John Baldwin
set_driver+0x7c > device_attach() at device_attach+0x19b > bus_generic_attach() at bus_generic_attach+0x1a > pci_attach() at pci_attach+0xf1 The free() should be the free to free the softc but that implies it had a previous driver and softc. Maybe add some debug info to d

Re: msk0 interface stops working when downloading

2010-11-29 Thread John Baldwin
to > mskc0: [ITHREAD] When I've seen this on my netbook I did a tcpdump on another machien on the same hub and found that my msk0 device was spewing an endless stream of pause frames. I've only had this problem with a gigE switch, it works fine for me on a 10/100 switch. -- Jo

Re: LSI 9211 driver

2010-11-15 Thread John Baldwin
t; driver for this card (been seen google hits on many missing the support > for this driver). > > Drivers for linux and solars are availabe on LSI.com, but not for fbsd. > > Thank you very much in advance. Did you try the mps(4) driver from HEAD? -- John Baldwin

Re: random FreeBSD panics

2010-03-29 Thread John Baldwin
ave to be very careful to make sure it works in odd places. Probably a lot of this could be solved by deferring things like trap_fatal() until panic() has already been called (which is bde's preferred solution I think). -- John Baldwin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: freebsd-update(8) under sparc64? Why is it not available?

2010-03-29 Thread John Baldwin
be available in ever-increasing speeds. Err, release cross-building does work AFAIK. ru@ worked on it many years ago. Have you tried it and run into problems? -- John Baldwin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mail

Re: random FreeBSD panics

2010-03-29 Thread John Baldwin
sysutils/memtest86+ > overnight, to double verify I also executed Windows Memory Diagnostic test > for four times. None of them reported errors. Can anyone here suggest any > solution. You can still have bad RAM even if those do not fail. -- John Baldwin _

Re: FreeBSD NFS client goes into infinite retry loop

2010-03-24 Thread John Baldwin
On Tuesday 23 March 2010 7:03:06 pm Rick Macklem wrote: > > On Tue, 23 Mar 2010, John Baldwin wrote: > > > > > Ah, I had read that patch as being a temporary testing hack. If you think > > that would be a good approach in general that would be ok with me. > &g

Re: FreeBSD NFS client goes into infinite retry loop

2010-03-23 Thread John Baldwin
t; errors to ESTALE in the NFS server. (It seems simpler than chasing down > cases in all the underlying file systems?) Ah, I had read that patch as being a temporary testing hack. If you think that would be a good approach in general that would be ok with me. -- John Baldwin __

Re: FreeBSD NFS client goes into infinite retry loop

2010-03-22 Thread John Baldwin
On Monday 22 March 2010 12:44:04 pm Steve Polyack wrote: > On 03/22/10 12:00, John Baldwin wrote: > > On Monday 22 March 2010 11:47:43 am Steve Polyack wrote: > > > >> On 03/22/10 10:52, Steve Polyack wrote: > >> > >>> On 3/19/2010 11:27 PM

Re: FreeBSD NFS client goes into infinite retry loop

2010-03-22 Thread John Baldwin
-0400 > +++ src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c > 2010-03-22 16:25:21.0 -0400 > @@ -1246,7 +1246,7 @@ > dprintf("getting %llu [%u mask %llx]\n", object, fid_gen, gen_mask); > if (err = zfs_zget(zfsvfs, obj

Re: FreeBSD NFS client goes into infinite retry loop

2010-03-22 Thread John Baldwin
== --- zfs_vfsops.c(revision 205334) +++ zfs_vfsops.c(working copy) @@ -1256,7 +1256,7 @@ dprintf("znode gen (%u) != fid gen (%u)\n", zp_gen, fid_gen); VN_RELE(ZTOV(zp)); ZFS_EXIT(zfsvfs); -

Re: FreeBSD NFS client goes into infinite retry loop

2010-03-19 Thread John Baldwin
if you do not use some sort of locking protocol to resolve the race. The infinite retries sound like a client-side issue. Have you been able to try a newer OS version on a client to see if it still causes the same behavior? -- John Baldwin ___ freeb

Re: Automated kernel crash reporting system

2010-03-05 Thread John Baldwin
gt; freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > > > > > _______

Re: 8.0 on new hardware and a few errors, should I be worried?

2010-03-01 Thread John Baldwin
e these ranges because they are already claimed by apic0 and ram0. The important point is that some device claims them. It doesn't really matter which one does. -- John Baldwin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.or

Re: booting off GPT partitions

2010-01-28 Thread John Baldwin
ks ran into bugs until the ZFS GPT boot code was all made 64-bit clean and that they have since booted > 2TB ZFS volumes ok. -- John Baldwin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: booting off GPT partitions

2010-01-27 Thread John Baldwin
However, FreeBSD has its own BIOS-based bootstrap that can handle GPT-labelled disks. I doubt the SuperMicro tech is familiar with that case. I thought I heard that some folks had added GPT support to grub as well. -- John Baldwin ___ freebsd-

Re: GPT Support on Freebsd

2008-10-30 Thread John Baldwin
On Wednesday 29 October 2008 06:20:15 pm Franck wrote: > 2008/10/29 John Baldwin <[EMAIL PROTECTED]>: > > On Wednesday 29 October 2008 05:39:27 pm Franck wrote: > >> Hi, > >> > >> Thank you for help. I provide you the maximum information about my >

Re: GPT Support on Freebsd

2008-10-29 Thread John Baldwin
On Wednesday 29 October 2008 11:52:19 am Franck Royer wrote: > John Baldwin a écrit : > > On Wednesday 29 October 2008 07:42:18 am Lowell Gilbert wrote: > > > >> Franck Royer <[EMAIL PROTECTED]> writes: > >> > >> > >>> Can I oblig

Re: GPT Support on Freebsd

2008-10-29 Thread John Baldwin
On Wednesday 29 October 2008 07:42:18 am Lowell Gilbert wrote: > Franck Royer <[EMAIL PROTECTED]> writes: > > > Can I oblige pcbsd to look the gpt table instead of the msdos one ? How > > can I access to my fifth partition ? > > John Baldwin (jhb) has been working

Re: page fault while in kernel mode

2008-10-21 Thread John Baldwin
On Tuesday 21 October 2008 03:22:28 pm Robert Fitzpatrick wrote: > On Tue, 2008-10-21 at 15:09 -0400, John Baldwin wrote: > > Alternatively, you could just remove the 'device adv' line from your > > kernel > > config rather than adding lots of 'nodevic

Re: page fault while in kernel mode

2008-10-21 Thread John Baldwin
On Tuesday 21 October 2008 02:47:11 pm Jeremy Chadwick wrote: > On Tue, Oct 21, 2008 at 02:35:22PM -0400, Robert Fitzpatrick wrote: > > On Tue, 2008-10-21 at 12:03 -0400, John Baldwin wrote: > > > Some drivers don't work with PAE (see all the 'nodevice' lines >

Re: page fault while in kernel mode

2008-10-21 Thread John Baldwin
On Monday 20 October 2008 08:52:07 pm Robert Fitzpatrick wrote: > On Mon, 2008-10-20 at 13:45 -0400, John Baldwin wrote: > > > i386 cannot address more than 4GB unless the kernel is built with > > PAE > > > mode enabled. This isn't enabled in GENERIC for many (j

Re: page fault while in kernel mode

2008-10-20 Thread John Baldwin
e work. > > I would love to figure out this BTX halted issue instead...any ideas > > on that? > > Boot loader problems are difficult to figure out/debug for reasons which > should be obvious. I'm CC'ing John Baldwin here, who has experience > with BTX. He

Re: FreeBSD 7 and ESXi

2008-10-14 Thread John Baldwin
hine. > | > |Ah, so the truth comes out... :-) > | > |Have you brought this fact up with the VMware folks? They're quite a > |nice bunch, I wouldn't be surprised if they provided a hotfix for you > |for this problem. > > This will be my next step. > I s

Re: kernel profiling: spinlock_exit consumes 36% CPU time.

2008-10-08 Thread John Baldwin
or not it is high depends on the workload. -- John Baldwin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: kernel profiling: spinlock_exit consumes 36% CPU time.

2008-10-07 Thread John Baldwin
t spinlock_exit consumes over 36% CPU time while it > seems a very simple function. It's because the intr_restore() re-enables interrupts and the resulting time spent executing the handlers for any pending interrupts are attributed to spinlock_exit(). -- John Baldwin

Re: irq19 interrupt storm?

2008-09-18 Thread John Baldwin
On Wednesday 17 September 2008 05:17:27 pm John Baldwin wrote: > On Wednesday 17 September 2008 11:00:24 am Scott Gasch wrote: > > You're right: atapci1, atapci2, fwohci0 and uhci4 are all sharing the same > > irq (19) while irqs 20, 21, 22 at least seem completely unused

Re: irq19 interrupt storm?

2008-09-17 Thread John Baldwin
8 49072 > > > > I think the ++ here indicates that two or more devices are sharing this > > interrupt. Try doing "grep irq.*19 /var/run/dmesg.boot" to see which > > ones. One of these devices could be the culprit. > > > > --- > > Gary Jennejohn > > >

Re: Adding device to FreeBSD 6.3-STABLE

2008-08-01 Thread John Baldwin
st copy over and compile). However, zyd(4) is a wireless driver and the net80211 wireless networking stack is quite different in 6.x vs 7.0, so that is where it would be complicated to backport the driver. I'm not intimately familiar with net80211 in either branch, so I'm unsure h

Re: how to suspend/wake-up a FreeBSD machine?

2008-01-04 Thread John Baldwin
d_switch_state: Invalid argument This is because this sysctl is not an on/off, but it takes an Sx state to suspend to when you close the lid. So if you set this to S1 it will try to enter S1 when you close the lid, etc. For example: sysctl hw.acpi.lid_switch_state=S3 Would make

Re: what causes error -- ELF interpreter /libexec/ld-elf.so.1 not found

2007-06-14 Thread John Baldwin
the build time of the kernel, we just let the user set it to whatever and if they set it too high things break until they lower it. You can even set this at boot time via 'kern.maxdsiz' tunable in the loader w/o needing to recompile. -- John Baldwin __

Re: what causes error -- ELF interpreter /libexec/ld-elf.so.1 not found

2007-06-13 Thread John Baldwin
On Tuesday 12 June 2007 09:20:02 pm Jin Guojun wrote: > John Baldwin wrote: > On Saturday 09 June 2007 08:53:18 pm Jin Guojun [VFFS] wrote: > > I believe that this is a memory sub-system bug somewhere because > anything equal to or below 1G > > options MAX

Re: what causes error -- ELF interpreter /libexec/ld-elf.so.1 not found

2007-06-12 Thread John Baldwin
> > > Can anyone explain why this can cause /libexec/ld-elf.so.1 not seen > > for some program? This is setting aside 2GB for malloc which leaves only 1GB for all of mmap and stack. You probably don't have enough address space to map your binary. -- John Baldwin _

Re: IBM / FreeBSD Install problem

2007-04-23 Thread John Baldwin
On Monday 23 April 2007 02:51:19 pm Mark Tinguely wrote: > > > John Baldwin <[EMAIL PROTECTED]> says: > > > > APIC IDs are not programmable (well, they are on I/O APICs, but not local=20 > > APICs). However, I am working on patches to support all valid

Re: IBM / FreeBSD Install problem

2007-04-23 Thread John Baldwin
er APIC IDs were assigned to IOAPICs. > > I don't know, you'd have to ask jhb@ about the details. APIC IDs are not programmable (well, they are on I/O APICs, but not local APICs). However, I am working on patches to support all valid APIC IDs for both mptable and MADT. Bumping u

Re: Fatal trap 30: reserved (unknown) fault while in kernel mode

2007-01-11 Thread John Baldwin
e: 3m52s > ahc0: WARNING no command for scb 79 (cmdcmplt) > QOUTPOS = 235 You need to put 'ddb' in your kernel and run 'show lapic' and 'show apic' and provide a verbose dmesg. -- John Baldwin ___ freebsd-questions@freebsd

Re: LSI SAS adapter

2006-10-09 Thread John Baldwin
pter though as I can't find references to that specific adapter. If you had the PCI device ID that would be very helpful. -- John Baldwin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Booting problem

2006-06-29 Thread John Baldwin
e of comment in > boot.conf for it to boot, but I can't access it without booting into > it. > > Any hint? Use /boot/loader rather than /boot/kernel/kernel at the boot2 prompt. -- John Baldwin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Unable to get SIIG PCI serial card to work

2006-03-17 Thread John Baldwin
On Friday 17 March 2006 03:40 am, Clayton Scott Kern wrote: > on 03-16-2006, John Baldwin wrote: > > On Thursday 16 March 2006 05:24 pm, Clayton Scott Kern wrote: > > > on 03-16-2006, John Baldwin wrote: > > > > Ok, can you get a dmesg from a boot with your custom ker

Re: Unable to get SIIG PCI serial card to work

2006-03-16 Thread John Baldwin
On Thursday 16 March 2006 05:24 pm, Clayton Scott Kern wrote: > on 03-16-2006, John Baldwin wrote: > > Ok, can you get a dmesg from a boot with your custom kernel with puc in > > it and the output from kldstat -v with that kernel booted? > > Here's the info you requested.

Re: Unable to get SIIG PCI serial card to work

2006-03-16 Thread John Baldwin
On Thursday 16 March 2006 15:33, Clayton Scott Kern wrote: > on 03-16-2006, John Baldwin wrote: > > On Thursday 16 March 2006 13:41, Clayton Scott Kern wrote: > > > First, I added _device puc_ to my kernel config file and built and > > > installed the new kernel. >

Re: Unable to get SIIG PCI serial card to work

2006-03-16 Thread John Baldwin
ewhat lame as it means the puc module is basically useless. I'm not sure if this has been made better since 6.0. -- John Baldwin <[EMAIL PROTECTED]> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org

Re: rsh fails: [WAS] pvm connection problems

2005-11-30 Thread John Baldwin
ough I've defined the trusted hosts on each box both in > $HOME/.rhosts and in /etc/hosts.equiv. > I've also uncommented the shell lines in /etc/inetd.conf to no avail. > > What should I do to enable the (mistrusted) rsh connection? > > Vittorio Do you have inetd ena

Re: Bash scripting -- Usage of arrays

2005-11-29 Thread John Baldwin
On Tuesday 29 November 2005 04:49 pm, Jayesh Jayan wrote: > Hi John, > > I already have bash installed from ports. It is bash 2.05b. Then use 'bash foo.sh' :) -- John Baldwin <[EMAIL PROTECTED]> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Pow

Re: Bash scripting -- Usage of arrays

2005-11-29 Thread John Baldwin
sh from ports, or you can write your scripts in sh without using bash extensions. For example, with sh you can do things like: array="zero one to three four" for x in $array; do echo $x done However, you can't easily get the count of items. You could maybe

Re: HTT/SMP Dual Xeon systems unstable

2004-12-15 Thread John Baldwin
your best bet as it will get you down to 2 CPUs which should work much better. HTT also isn't but so useful anyways for most workloads. The instability problems have just been fixed in HEAD and will hopefully be MFC'd for 5.4 btw. -- John Baldwin <[EMAIL PROTECTED]> <

Re: FreeBSD 5.2.1 kernel w/ SMP under high load = panic

2004-08-02 Thread John Baldwin
gt; boot() called on cpu#0 > uptime: 9s Unfortunately, I'd really need the backtrace to see how to fix this panic. -- John Baldwin <[EMAIL PROTECTED]> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org _

RE: Set boot loader to boot off CD manually

2003-12-09 Thread John Baldwin
something like: ok unload all ok load /boot/new/kernel ok load -t mfs_root /boot/new/mfsroot ok boot -- John Baldwin <[EMAIL PROTECTED]> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ __

Re: PIII SMP

2003-07-31 Thread John Baldwin
to make SSE instructions the build > default also bit me on one of my machines without SSE support. Humm, is this in the kernel? -- John Baldwin <[EMAIL PROTECTED]> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.o

Re: PIII SMP

2003-07-30 Thread John Baldwin
equire this change. Adding support for xAPICs isn't going to break P3 machines. Less FUD please. One of my test machines is a dual ppro 200 and although I haven't booted it in a while it ran current just fine the last time I tried. -- John Baldwin <[EMAIL PROTECTED]> <><

Re: "Safely" removing USB hard drive

2003-06-09 Thread John Baldwin
x27;. eject is what I use to disconnect my firewire iPod for example. -- John Baldwin <[EMAIL PROTECTED]> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ ___ [EMAIL PROTECTED] m

RE: intalling from cds

2003-01-31 Thread John Baldwin
erns), and > install the 'standard mbr' on the da0, I seem to be stuck going back to the > 'choose the drive' > > afd0 > da0 > da1 > > menue without getting to the the disklable editor > > What am I doing wrong? thanks Use Tab to move down t

Re: USB Keychain storage

2002-10-23 Thread John Baldwin
g a 'camcontrol eject da2' and see if that works. That works for my iPod with the firewire support in current. -- John Baldwin <[EMAIL PROTECTED]> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscrib

Re: i-buddie

2002-10-10 Thread John Baldwin
d with to work right. I had to add bogus horizontal and vertical refresh rates for X to work right on my laptop. -- John Baldwin <[EMAIL PROTECTED]> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message