Re: [ATAng?] ad1 disappeared again

2003-12-03 Thread Chris Faulhaber
On Wed, Dec 03, 2003 at 09:55:56AM +0100, Soren Schmidt wrote:
 It seems Chris Faulhaber wrote:
  I have been seeing the same issue since August with a different,
  but similiar, set of drives:
  
  ad0: 57241MB ST360015A [116301/16/63] at ata0-master UDMA100
  ad1: 57241MB ST360015A [116301/16/63] at ata0-slave UDMA100
  
  Under -CURRENT only the first drive is seen; RELENG_4 still works
  fine.
 
 Could you try this patch and get back to me with the result please:
 

Works for me:

GEOM: create disk ad0 dp=0xc6972c60
ad0: 57241MB ST360015A [116301/16/63] at ata0-master UDMA100
GEOM: create disk ad1 dp=0xc6972b60
ad1: 57241MB ST360015A [116301/16/63] at ata0-slave UDMA100

 Index: ata-lowlevel.c
 ===
 RCS file: /home/ncvs/src/sys/dev/ata/ata-lowlevel.c,v
 retrieving revision 1.23
 diff -u -r1.23 ata-lowlevel.c
 --- ata-lowlevel.c  2 Nov 2003 22:04:53 -   1.23
 +++ ata-lowlevel.c  3 Dec 2003 07:50:44 -
 @@ -575,7 +575,7 @@
 }
 }
 }
 -   if (stat1  ATA_S_BUSY) {
 +   if (!((mask == 0x03)  (stat0  ATA_S_BUSY))  (stat1  ATA_S_BUSY)) {
 ATA_IDX_OUTB(ch, ATA_DRIVE, ATA_D_IBM | ATA_SLAVE);
 DELAY(10);
 
 -S?ren
.. but it works under windows!!
 

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [ATAng?] ad1 disappeared again

2003-12-01 Thread Chris Faulhaber
On Wed, Nov 26, 2003 at 01:00:47PM +0900, NAKAJI Hiroyuki wrote:
 Hi,
 
 I'm preparing new machine with 5-current. First, I installed a snapshot on
 Feb 21 2003. It works well. From the beginning of this week, I started
 updating it to the latest, and found the problem.
 
...
 ad0: 38166MB ST340810A [77545/16/63] at ata0-master UDMA100
 ad1: 38166MB ST340810A [77545/16/63] at ata0-slave UDMA100

I have been seeing the same issue since August with a different,
but similiar, set of drives:

ad0: 57241MB ST360015A [116301/16/63] at ata0-master UDMA100
ad1: 57241MB ST360015A [116301/16/63] at ata0-slave UDMA100

Under -CURRENT only the first drive is seen; RELENG_4 still works
fine.

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org


pgp0.pgp
Description: PGP signature


Re: strace and CURRENT?

2003-03-03 Thread Chris Faulhaber
On Mon, Mar 03, 2003 at 11:27:09PM +0200, Atte Peltomaki wrote:
 Installed from ports, I get 
 
 strace: open(/proc/..., ...): No such file or directory
 trouble opening proc file
 

Try mounting the /proc fs.

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org


pgp0.pgp
Description: PGP signature


Re: Current issues

2002-12-11 Thread Chris Faulhaber
On Wed, Dec 11, 2002 at 08:59:04AM -0800, Marcus Reid wrote:
 Hi:
 
 I made the jump to CURRENT this morning (via a fresh -RC1 install) and
 made the following observations.
 
 1. Thought I toggled newfs off on the partition where /home was mounted.
It went ahead and zapped it anyway. Good thing for backups..
 
 2. USB doesn't work with my chipset. I have an Asus A7V with VIA chipset.
Kernel messages follow. Please contact me if I can assist in debugging.
 

I get the same errors on my Asus A7V333 yet my usb mouse works:

jedgar@darkstar:~$ dmesg | grep ^u
uhci0: VIA 83C572 USB controller port 0xb400-0xb41f irq 5 at device 9.0 on pci0
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub0: port error, restarting port 1
uhub0: port error, giving up port 1
uhub0: port error, restarting port 2
uhub0: port error, giving up port 2
uhci1: VIA 83C572 USB controller port 0xb000-0xb01f irq 11 at device 9.1 on pci0
usb1: VIA 83C572 USB controller on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub1: port error, restarting port 1
uhub1: port error, giving up port 1
uhub1: port error, restarting port 2
uhub1: port error, giving up port 2
uhci2: VIA 83C572 USB controller port 0xa000-0xa01f irq 9 at device 17.2 on pci0
usb2: VIA 83C572 USB controller on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhub2: port error, restarting port 1
uhub2: port error, giving up port 1
uhub2: port error, restarting port 2
uhub2: port error, giving up port 2
ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
uhci3: VIA 83C572 USB controller port 0x9800-0x981f irq 9 at device 17.3 on pci0
usb3: VIA 83C572 USB controller on uhci3
usb3: USB revision 1.0
uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
uhub3: port error, restarting port 1
uhub3: port error, giving up port 1
uhub3: port error, restarting port 2
uhub3: port error, giving up port 2
jedgar@darkstar:~$ sudo usbdevs -v  
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), VIA(0x), rev 
1.00
 port 1 powered
 port 2 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), VIA(0x), rev 
1.00
 port 1 powered
 port 2 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), VIA(0x), rev 
1.00
 port 1 powered
 port 2 addr 2: low speed, power 98 mA, config 1, USB-PS/2 Optical Mouse(0xc00e), 
Logitech(0x046d), rev 11.10
Controller /dev/usb3:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), VIA(0x), rev 
1.00
 port 1 powered
 port 2 powered
jedgar@darkstar:~$ 

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org



msg48534/pgp0.pgp
Description: PGP signature


Re: a queston about ACL acl_type_t

2002-11-08 Thread Chris Faulhaber
On Fri, Nov 08, 2002 at 11:17:39AM +0800, kai ouyang wrote:
 Hi,
  I am trying to understand the ACL implementation in FreeBSD-Current. I 
 have a question about ACL.
  in acl.h, there are some acl_type_t value macro:
 /*
 * Possible valid values for acl_type_t arguments.
 */
 #define   ACL_TYPE_ACCESS 0x
 #define   ACL_TYPE_DEFAULT 0x0001
 #define   ACL_TYPE_AFS0x0002
 #define   ACL_TYPE_CODA   0x0003
 #define   ACL_TYPE_NTFS   0x0004
 #define   ACL_TYPE_NWFS   0x0005
 
 But I am not sure what's means.

See the POSIX.1e draft[1] for detailed explanations.  Basically we
support access ACL's on files and directories allowing discretionary
access control and default ACL's on directories which determine the
default access ACL's on any files and directories created below it.

 in the 'setfacl' source, I found the usage:
 If we want to control a directory,
  acl[ACL_TYPE_DEFAULT] = acl_get_file(filename, ACL_TYPE_DEFAULT);
 if we want to sontrol a file,
  acl[DEFAULT_ACL] = NULL;
 Why?
 What's the difference among those macros?
 Why must a directory object reserve two acl_t_structs, and a file only need 
 one?
 

Because directories may have both default and access ACL's whereas
files may only have access ACL's.

[1] http://wt.xpilot.org/publications/posix.1e/

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org



msg46340/pgp0.pgp
Description: PGP signature


Re: setfacl requirements?

2002-11-08 Thread Chris Faulhaber
On Fri, Nov 08, 2002 at 09:38:17AM -0500, Dan Pelleg wrote:
 
 
  I'm trying to use setfacl - just the example that's in the manpage. All I
 ever get is:
 setfacl: acl_get_file() failed: Operation not supported
 
  getfacl seems to work fwiw.
 
 Same results on UFS and UFS2 filesystems. I have UFS_ACL, also tried
 UFS_EXTATTR. -current as of about a week ago.
 
  Any clue?
 

Are ACL's enabled on the filesystem per /sys/ufs/ufs/README.acls?

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org



msg46345/pgp0.pgp
Description: PGP signature


Re: Why is xe building while commented out?

2002-02-26 Thread Chris Faulhaber

On Tue, Feb 26, 2002 at 03:28:19PM -0600, Stephen L. Palmer wrote:
 Kernel build on a fresh (26 Feb 2002 - ~15:00 CDT) -current is failing
 with an *** Error code 2 in the xe module.  This module is commented out of my
 config.  Why would 'make -j4 buildkernel KERNCONF=MIDEARTH' try to build a
 driver for a pccard I've commented out of the config?  I don't have any of
 the pccard/pcmcia stuff active as this is a desktop system.
 
 Non-SMP if it matters.
 

All modules are built by default, not just those listed in the
kernel config (which is for the kernel only).  To only build
specific modules, use the MODULES_OVERRIDE option (see NOTES).
And since you are using the -j flag to make, it is quite
possible that the parallel compiles are obscuring the actual
error and that xe is not (necessarily) the problem.

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org



msg35345/pgp0.pgp
Description: PGP signature


Re: Why isn't PAM_smb available for FreeBSD?

2002-02-15 Thread Chris Faulhaber

On Fri, Feb 15, 2002 at 04:26:20PM -0800, Hiten Pandya wrote:
 hi all,
 
 I was wondering, after seeing that Linux has pam_smb, why can't
 FreeBSD have it too.  I can get the pam_smb compiling under FreeBSD,
 from http://www.samba.org, so I was wondering why it isn't in our
 CVS tree.
 

See ports/security/pam_smb

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org



msg34783/pgp0.pgp
Description: PGP signature


Re: current.freebsd.org down?

2002-02-11 Thread Chris Faulhaber


--ZPt4rx8FFjLCG7dd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Feb 07, 2002 at 04:44:36PM +0100, Miguel Mendez wrote:
 Hi,
=20
 I know this is probably offtopic but is there any problem with=20
 current.freebsd.org at the moment? I've been unable to log in for almost =
an=20
 hour, the ftp daemon is up, it just doesn't allow me in and I was about t=
o=20
 load -CURRENT on my laptop.
=20
 Any idea?
=20

It does seem to be having problems.  In the interim, you can
use snapshots.jp.freebsd.org...

--=20
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org

--ZPt4rx8FFjLCG7dd
Content-Type: application/pgp-signature
Content-Disposition: inline

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (FreeBSD)
Comment: FreeBSD: The Power To Serve

iEYEARECAAYFAjxiobgACgkQObaG4P6BelBAbwCghAdvjcqlbhuCigI5Rg0Lqtdr
wpMAoJN3+ZpCDt7VAldOzVB3YX+nnpCY
=cqXV
-END PGP SIGNATURE-

--ZPt4rx8FFjLCG7dd--

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: current.freebsd.org down?

2002-02-07 Thread Chris Faulhaber

On Thu, Feb 07, 2002 at 04:44:36PM +0100, Miguel Mendez wrote:
 Hi,
 
 I know this is probably offtopic but is there any problem with 
 current.freebsd.org at the moment? I've been unable to log in for almost an 
 hour, the ftp daemon is up, it just doesn't allow me in and I was about to 
 load -CURRENT on my laptop.
 
 Any idea?
 

It does seem to be having problems.  In the interim, you can
use snapshots.jp.freebsd.org...

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org



msg34299/pgp0.pgp
Description: PGP signature


Re: undefined reference to `pfs_statfs'

2002-01-08 Thread Chris Faulhaber

On Tue, Jan 08, 2002 at 11:48:44PM -, ADRIAN.BROWNE wrote:
 Anyone got any ideas
 
 kern.version: FreeBSD 5.0-20020102-CURRENT #0: Wed Jan  2 12:00:48 GMT 2002
 
 
 
 make failed on
 
 /usr/src/sys/i386/compile/WARSPITE/../../../fs/procfs/procfs.c(.data+0x6c):
 undefined reference to `pfs_root'
 /usr/src/sys/i386/compile/WARSPITE/../../../fs/procfs/procfs.c(.data+0x74):
 undefined reference to `pfs_statfs'
 *** Error code 1
 
 source updated by cvs on 8-1-2002 still failed :(
 

You need 'options PSEUDOFS' for PROCFS (see the 20011203 UPDATING
entry).

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org



msg33464/pgp0.pgp
Description: PGP signature


Re: Inconsistencies in *stat() for files with ACLs

2001-12-02 Thread Chris Faulhaber

On Mon, Dec 03, 2001 at 01:52:19AM +0100, Daniel Rock wrote:
 Robert Watson schrieb:
  That said, I won't argue it's intuitive unless you know about the behavior
  already, and it probably should be documented in the stat(2) man page.  If
  you're interested in discussing these semantics, it might be worth raising
  it on the POSIX.1e mailing list ([EMAIL PROTECTED]).  A number of
  people involved in writing the spec are there, and in the past it has been
  a successful forum for discussing ambiguities (not to mention mistakes) in
  the spec.
 
 I don't have access to the POSIX spec. I only found some early drafts. Without
 detailed knowledge of these internals I wouldn't be a good participant in
 this discussion.
 

See http://wt.xpilot.org/publications/posix.1e/download.html for
.pdf's, .ps's, and .nroff's of the last drafts (.1e and .2c).
http://www.TrustedBSD.org/ also has links to the posix1e mailing
lists and other resources.

 But what about some additions to ls: In Solaris - if the file has additional
 ACLs - the permissions are followed by a plus sign (see above). So you know:
 To get full information you have to use getfacl.
 

See http://www.fxp.org/jedgar/ACL/ for patches to enable ACL support
for cp, ls, and mv.  For ls, the patch simply changes the string
obtained from stat(2).  In the future stat(2)/strmode(3) will
support ACL's natively.

Also, I committed a patch recently to the gnuls port to give it
support ala the aformentioned ls patch.

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org



msg32675/pgp0.pgp
Description: PGP signature


ACPI-related hangs during boot (fwd)

2001-09-05 Thread Chris Faulhaber

No response from [EMAIL PROTECTED]

On my eMachines 600ix with the recent ACPI changes there is now
a 2-4 minute pause during boot followed by some ACPI-related
error messages:

...
acpi0: PTLTDRSDT   on motherboard
acpi0: power button is handled as a fixed feature programming model.
Timecounter ACPI  frequency 3579545 Hz
--- pause here ---
ACPI-0190: *** Error: ExAllocateNameString: name allocation failure
can't fetch resources for \\_SB_.PCI0.LPC0.SIO_.COMA - AE_AML_OPERAND_TYPE
ACPI-0190: *** Error: ExAllocateNameString: name allocation failure
can't fetch resources for \\_SB_.PCI0.LPC0.SIO_.COMB - AE_NO_MEMORY
ACPI-0190: *** Error: ExAllocateNameString: name allocation failure
can't fetch resources for \\_SB_.PCI0.LPC0.SIO_.IRDA - AE_NO_MEMORY
ACPI-0190: *** Error: ExAllocateNameString: name allocation failure
can't fetch resources for \\_SB_.PCI0.LPC0.SIO_.BASK - AE_NO_MEMORY
ACPI-0190: *** Error: ExAllocateNameString: name allocation failure
can't fetch resources for \\_SB_.PCI0.LPC0.SIO_.FDC_ - AE_NO_MEMORY
ACPI-0190: *** Error: ExAllocateNameString: name allocation failure
can't fetch resources for \\_SB_.PCI0.LPC0.SIO_.SPP_ - AE_NO_MEMORY
-0538: *** Error: Could not allocate an object descriptor
can't fetch resources for \\_SB_.PCI0.LPC0.SIO_.EPCP - AE_NO_MEMORY
ACPI-0190: *** Error: ExAllocateNameString: name allocation failure
can't fetch resources for \\_SB_.PCI0.LPC0.SIO_.ECP_ - AE_NO_MEMORY
ACPI-0190: *** Error: ExAllocateNameString: name allocation failure
can't fetch resources for \\_SB_.PCI0.LPC0.SIO_.EPP_ - AE_NO_MEMORY
ACPI-0190: *** Error: ExAllocateNameString: name allocation failure
can't fetch resources for \\_SB_.PCI0.LPC0.SIO_.GAME - AE_NO_MEMORY
can't fetch resources for \\_SB_.PCI0.LPC0.SIO_.MIDI - AE_NO_MEMORY
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
acpi_cpu0: CPU on acpi0
acpi_pcib0: Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: PCI bus on acpi_pcib0
...

I am also seeing failed probe messages that were not present before
the ACPI changes (fdc0 and ppc1); otherwise the system seems to
functional normally.  Full dmesg as follows, verbose upon request.

Copyright (c) 1992-2001 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.0-CURRENT #166: Fri Aug 31 13:00:17 EDT 2001
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/SPASM
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 598187142 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (598.19-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x683  Stepping = 3
  
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real memory  = 133103616 (129984K bytes)
avail memory = 123543552 (120648K bytes)
Preloaded elf kernel kernel at 0xc05d6000.
Preloaded elf module snd_cs4281.ko at 0xc05d609c.
Preloaded elf module snd_pcm.ko at 0xc05d6140.
Preloaded elf module agp.ko at 0xc05d61e0.
Preloaded elf module acpi.ko at 0xc05d627c.
Pentium Pro MTRR support enabled
WARNING: Driver mistake: destroy_dev on 154/0
Using $PIR table, 8 entries at 0xc00fdf40
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: PTLTDRSDT   on motherboard
acpi0: power button is handled as a fixed feature programming model.
Timecounter ACPI  frequency 3579545 Hz
ACPI-0190: *** Error: ExAllocateNameString: name allocation failure
can't fetch resources for \\_SB_.PCI0.LPC0.SIO_.COMA - AE_AML_OPERAND_TYPE
ACPI-0190: *** Error: ExAllocateNameString: name allocation failure
can't fetch resources for \\_SB_.PCI0.LPC0.SIO_.COMB - AE_NO_MEMORY
ACPI-0190: *** Error: ExAllocateNameString: name allocation failure
can't fetch resources for \\_SB_.PCI0.LPC0.SIO_.IRDA - AE_NO_MEMORY
ACPI-0190: *** Error: ExAllocateNameString: name allocation failure
can't fetch resources for \\_SB_.PCI0.LPC0.SIO_.BASK - AE_NO_MEMORY
ACPI-0190: *** Error: ExAllocateNameString: name allocation failure
can't fetch resources for \\_SB_.PCI0.LPC0.SIO_.FDC_ - AE_NO_MEMORY
ACPI-0190: *** Error: ExAllocateNameString: name allocation failure
can't fetch resources for \\_SB_.PCI0.LPC0.SIO_.SPP_ - AE_NO_MEMORY
-0538: *** Error: Could not allocate an object descriptor
can't fetch resources for \\_SB_.PCI0.LPC0.SIO_.EPCP - AE_NO_MEMORY
ACPI-0190: *** Error: ExAllocateNameString: name allocation failure
can't fetch resources for \\_SB_.PCI0.LPC0.SIO_.ECP_ - AE_NO_MEMORY
ACPI-0190: *** Error: ExAllocateNameString: name allocation failure
can't fetch resources for \\_SB_.PCI0.LPC0.SIO_.EPP_ - AE_NO_MEMORY
ACPI-0190: *** Error: ExAllocateNameString: name allocation failure
can't fetch resources for \\_SB_.PCI0.LPC0.SIO_.GAME - AE_NO_MEMORY
can't fetch resources for \\_SB_.PCI0.LPC0.SIO_.MIDI - AE_NO_MEMORY
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
acpi_cpu0: CPU on acpi0

Re: DEVFS behaviour

2001-07-05 Thread Chris Faulhaber

On Thu, Jul 05, 2001 at 07:57:41AM +0200, Riccardo Torrini wrote:
 Maybe this is a stupid(?) question, but how DEVFS is supposed
 to work with softlink?  How can I make them reboot-resistant?
 

See /etc/rc.devfs (which should probably be referenced in devfs(5)).

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org

 PGP signature


Re: Problems with psm probing twice.

2001-06-18 Thread Chris Faulhaber

On Mon, Jun 18, 2001 at 02:13:37PM +0100, Josef Karthauser wrote:
 Hi,
 
 I upgraded the windows software for my laptop touchpad the other day and
 now I can't get it to work properly under FreeBSD.
 
 It appears to probe twice for some reason, and I'm not kernel savey
 enough to know how to fix it.
 
 Here's the dmesg:
   psm0: PS/2 Mouse irq 12 on atkbdc0
   psm0: model Generic PS/2 mouse, device ID 0
   psm1: unable to allocate the IRQ resource (12).
 
 The mouse movement is jerky; I'm assuming that interrupt routing is
 broken for the device.
 
 Can some kind soul point me in the right direction please?
 

Commenting hints.psm.0.* and hint.atkbd.0.* from /boot/device.hints
(http://docs.freebsd.org/cgi/getmsg.cgi?fetch=84052+0+current/freebsd-current)
works here.

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org

 PGP signature


Re: lock order reversals, anyone?

2001-05-03 Thread Chris Faulhaber

On Thu, May 03, 2001 at 07:31:50AM -0700, Matthew Jacob wrote:
 
 T-o-T about 24 hours ago:
 
  lock order reversal
   1st lockmgr interlock last acquired @ /usr/src/sys/kern/kern_lock.c:239
   2nd 0xfe0025df8548 process lock @ /usr/src/sys/kern/kern_exit.c:542
   3rd 0xfeaab8d0 lockmgr interlock @
 /usr/src/sys/kern/kern_lock.c:239
  acquiring duplicate lock of same type: allproc
   1st @ /usr/src/sys/kern/kern_proc.c:609
   2nd @ /usr/src/sys/kern/kern_proc.c:146
  lock order reversal
   1st vnode interlock last acquired @ /usr/src/sys/ufs/ffs/ffs_vfsops.c:397
   2nd 0xfc80f218 mntvnode @ /usr/src/sys/ufs/ffs/ffs_vfsops.c:464
   3rd 0xfe0026918080 vnode interlock @ /usr/src/sys/kern/vfs_subr.c:1881
  pid 288 (nsrexecd), uid 0: exited on signal 11 (core dumped)
 
 (oh, yeah, a 4.1 built executable is dying, charming)
 

Don't know about your 4.1 executable, but the lock order reversals
are a well known issue:

http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=161827+165415+/usr/local/www/db/text/2001/freebsd-current/20010429.freebsd-current

and

http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=91622+94620+/usr/local/www/db/text/2001/freebsd-current/20010422.freebsd-current


-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org

 PGP signature


Re: No MAKEDEV?

2001-04-16 Thread Chris Faulhaber

On Mon, Apr 16, 2001 at 12:36:10PM -0700, walt wrote:
 I just upgraded a fresh install of 4.2 to CURRENT.  Everything
 seemed to go great until I discovered that I have only a small
 subset of the standard entries in /dev and there is no
 /dev/MAKEDEV or /dev/MAKEDEV.local.
 
 I re-cvsup'd again this morning and repeated the entire
 makeworld makekernel installkernel installworld mergemaster
 cycle a second time.
 
 It all went great except that I still have no MAKEDEV in /dev
 and very few entries in /dev, all of which are dated today.
 

devfs(5)

 I've tried using 'install' to move /usr/src/etc/MAKEDEV into
 /dev, and tried cp and mv and even did a 'make distribution'
 from /usr/src/etc and always get an 'operation not supported'
 error message.
 
 I did all these things in single-user mode, BTW.
 
 Second question:  what is the status of /stand/sysinstall?
 I see that the new version is in /usr/sbin.  Is the old
 location obsolete?
 

See /usr/src/UPDATING for all the answers :)

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org

 PGP signature


Re: No MAKEDEV?

2001-04-16 Thread Chris Faulhaber

On Mon, Apr 16, 2001 at 03:51:19PM -0400, Chris Faulhaber wrote:
 On Mon, Apr 16, 2001 at 12:36:10PM -0700, walt wrote:
  Second question:  what is the status of /stand/sysinstall?
  I see that the new version is in /usr/sbin.  Is the old
  location obsolete?
  
 
 See /usr/src/UPDATING for all the answers :)
 

Ok, I lied.  Yes, /usr/sbin is the new location for sysinstall...

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org

 PGP signature


Re: third party shared library and ldconfig

2001-04-01 Thread Chris Faulhaber

On Sat, Mar 31, 2001 at 10:20:25PM -0800, Steve Kargl wrote:
 I recently installed NAGWare's Fortran 95 compiler, 
 and it installed its shared libraries into
 /usr/local/lib/NAGWare.  To get the compiler to work,
 I of course needed to use "ldconfig -m".  When I rebooted
 the system, I found that the ldconfig portion of /etc/rc
 does not recurse into subdirectories of /usr/local/lib
 (which is probably a Good Thing), so I had to manually
 run "ldconfig -m" to add /usr/local/lib/NAGWare.
 
 There appear to be several options:
 
   (6) Like mysql322-client, add a shell script in ${PREFIX}/etc/rc.d
   that performs the 'ldconfig -m' at startup

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org

 PGP signature


Re: buildworld still failing when going current

2001-01-01 Thread Chris Faulhaber

On Mon, Jan 01, 2001 at 01:51:50PM -0500, Raymond Hicks wrote:
 Thanks guy that worked for me although now when I make buildkernel
 KERNEL=GENERIC I get the following errors.. = something greater must be
 wrong? 
 
 mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/dev
 -I@/../include -I/usr/obj/usr/src/i386/usr/include
 /usr/src/sys/modules/md/../../dev/md/md.c
 In file included from /usr/src/sys/modules/md/../../dev/md/md.c:28:
 @/sys/vnode.h:522: vnode_if.h: No such file or directory
 mkdep: compile failed
 *** Error code 1
 

Check cvs-all.  This was fixed a few hours ago.

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: make buildworld fails after cvsup

2000-12-31 Thread Chris Faulhaber

On Sun, Dec 31, 2000 at 07:56:22PM +0200, User Sja wrote:
  I am cvsup to current last night and this morning the make buildworld
  giving following errors..  anyone have similar or know what this is?
 
  uudecode  /usr/src/share/tabset/xerox1720.uu
  uudecode  /usr/src/share/tabset/xerox1730.uu
  uudecode  /usr/src/share/tabset/xerox1730-lm.uu
  uudecode  /usr/src/share/tabset/zenith29.uu
  === share/termcap
  ex - /usr/src/share/termcap/termcap.src  /usr/src/share/termcap/reorder  
/dev/null
  Segmentation fault - core dumped
 
 Hmm, ex is crashing...  Does "vi" also core dump on you?
 
 There may be a bit of fallout from the recent removal
 of "CIRCLEQ"s (see /usr/include/sys/queue.h).
 
 How does this patch look to everyone:
 
 RCS file: /usr/cvs/src/lib/libc/db/mpool/mpool.c,v
 retrieving revision 1.6
 diff -u -r1.6 mpool.c

green already committed that fix yesterday.  Does this still happen when
building with rev. 1.7 ?

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Problem building -current kernel with read-only /usr/src.

2000-12-23 Thread Chris Faulhaber

On Sat, Dec 23, 2000 at 12:24:51AM -0800, Matt Dillon wrote:
 While trying to run 'make depend' in /usr/src/sys/compile/BLAH I got:
 
 === 3dfx
 @ - /FreeBSD/FreeBSD-current/src/sys
 ln: @: Read-only file system
 *** Error code 1
 

Wouldn't using the buildkernel/installkernel targets be more appropriate
for a read-only source-tree?

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: PAM issues with login.

2000-12-12 Thread Chris Faulhaber

On Tue, Dec 12, 2000 at 11:56:03AM -0800, Glen Gross wrote:
 I previously posted this to stable, but received no response.  Has anyone seen 
 this?
 
 After my latest make world, I find I am now experiencing some PAM error when I
 log in:
 
 Dec  8 10:22:33 bsd login: auth_pam: Module is unknown
 Dec  8 16:14:17 bsd login: unable to dlopen(/lib/security/pam_deny.so)
 Dec  8 16:14:17 bsd login: [dlerror: Shared object "libc.so.6" not found]
 Dec  8 16:14:17 bsd login: adding faulty module: /lib/security/pam_deny.so

Are you sure this is not a Linux system?  FreeBSD doesn't have
/lib/security/pam_deny.so nor libc.so.6.

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: cvs commit: src/sys/dev/pci isa_pci.c

2000-12-10 Thread Chris Faulhaber

On Sun, Dec 10, 2000 at 03:15:19AM -0800, Mike Smith wrote:
 msmith  2000/12/10 03:15:19 PST
 
   Modified files:
 sys/dev/pci  isa_pci.c 
   Log:
   The ICH2 reports itself as a PCI:ISA bridge, so don't special-case it
   here.
   

On a related(?) note, my 810 (ICH) hasn't seen pci devices for a few
days.  By removing the ICH line from isa_pci.c, the warnings go away,
but nothing is seen.  Full dmesg's can be found at:
  http://www.fxp.org/~jedgar/FreeBSD/ICH/

--- dmesg.beforeSun Dec 10 17:46:54 2000
+++ dmesg.after Sun Dec 10 17:48:23 2000
@@ -1,18 +1,17 @@
 Copyright (c) 1992-2000 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.0-20001203-CURRENT #0: Sun Dec  3 08:04:02 GMT 2000
-[EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC
+FreeBSD 5.0-CURRENT #5: Sun Dec 10 17:45:49 EST 2000
+[EMAIL PROTECTED]:/usr/src/sys/compile/ARTEMIS
 Timecounter "i8254"  frequency 1193182 Hz
 CPU: Pentium III/Pentium III Xeon/Celeron (598.19-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
   
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
 real memory  = 65994752 (64448K bytes)
-avail memory = 59174912 (57788K bytes)
-Preloaded elf kernel "kernel" at 0xc04f6000.
+avail memory = 59691008 (58292K bytes)
+Preloaded elf kernel "kernel" at 0xc0477000.
 Pentium Pro MTRR support enabled
 md0: Malloc disk
-WARNING: Driver mistake: destroy_dev on 154/0
 Using $PIR table, 8 entries at 0xc00fdf40
 apm0: APM BIOS on motherboard
 apm0: found APM BIOS v1.2, connected at v1.2
@@ -20,14 +19,14 @@
 npx0: INT 16 interface
 pcib0: Intel 82810 (i810 GMCH) Host To Hub bridge at pcibus 0 on motherboard
 pci0: PCI bus on pcib0
-pci0: Intel 82810 (i810 GMCH) SVGA controller at 1.0 irq 10
-pcib1: Intel 82801AA (ICH) Hub to PCI bridge at device 30.0 on pci0
+vga_pci0: VGA-compatible display device mem 
+0xf400-0xf407,0xf800-0xfbff irq 10 at device 1.0 on pci0
+pcib1: PCI-PCI bridge at device 30.0 on pci0
 pci1: PCI bus on pcib1
-pci1: unknown card (vendor=0x1013, dev=0x6005) at 9.0 irq 11
-pci1: unknown card (vendor=0x131f, dev=0x2030) at 13.0 irq 9
-fxp0: Intel Pro 10/100B/100+ Ethernet port 0x3000-0x301f mem 
0xf420-0xf42f,0xf430-0xf4300fff irq 10 at device 14.0 on pci1
-fxp0: Ethernet address 00:90:27:3a:1c:89
-isab0: Intel 82801AA (ICH) PCI to LPC bridge at device 31.0 on pci0
+** REDUNDANT ISA BRIDGE MATCH FOR DEVICE 0x24108086
+** Please report to [EMAIL PROTECTED]
+** REDUNDANT ISA BRIDGE MATCH FOR DEVICE 0x24108086
+** Please report to [EMAIL PROTECTED]
+isab0: PCI-ISA bridge at device 31.0 on pci0
 isa0: ISA bus on isab0
 atapci0: Intel ICH ATA66 controller port 0x1800-0x180f at device 31.1 on pci0
 ata0: at 0x1f0 irq 14 on atapci0
@@ -37,7 +36,9 @@
 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
-pci0: unknown card (vendor=0x8086, dev=0x2413) at 31.3 irq 9
+ichsmb0: Intel 82801AA (ICH) SMBus controller port 0x1810-0x181f irq 9 at device 
+31.3 on pci0
+smbus0: System Management Bus on ichsmb0
+smb0: SMBus general purpose I/O on smbus0
 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
 atkbd0: AT Keyboard irq 1 on atkbdc0
 kbd0 at atkbd0
@@ -63,6 +64,7 @@
 unknown: PNP0501 can't assign resources
 unknown: PNP0700 can't assign resources
 unknown: PNP0401 can't assign resources
+IP Filter: v3.4.13 initialized.  Default = pass all, Logging = enabled
 ad0: 14598MB SAMSUNG SV1533D [29660/16/63] at ata0-master UDMA66
 acd0: CDROM SAMSUNG CD-ROM SC-140 at ata1-master using PIO4
 Mounting root from ufs:/dev/ad0s2a

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



unexpected vn driver lock

2000-12-03 Thread Chris Faulhaber

I ran a 'make release' last night on -current (NODOC and NOPORTS set).
This morning, I find the following:

unexpected vn driver lock: 0xc6312500: type VREG, usecount 2, writecount 1, refcount 
270, flags (VOBJBUF)
tag VT_UFS, ino 492145, on dev #ad/0x40004 (116, 262148) lock type inode: EXCL 
(count 1) by pid 4
unexpected vn driver lock: 0xc6312500: type VREG, usecount 2, writecount 1, refcount 
253, flags (VOBJBUF)
tag VT_UFS, ino 492145, on dev #ad/0x40004 (116, 262148) lock type inode: EXCL 
(count 1) by pid 4
unexpected vn driver lock: 0xc65ed500: type VREG, usecount 2, writecount 1, refcount 
212, flags (VOBJBUF)
tag VT_UFS, ino 492149, on dev #ad/0x40004 (116, 262148) lock type inode: EXCL 
(count 1) by pid 4

The release seemed to have completed successfully, though.

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: world only broken for me?

2000-12-01 Thread Chris Faulhaber

On Fri, Dec 01, 2000 at 05:52:34PM -0600, Michael Harnois wrote:
 === usr.bin/mklocale
 yacc -d /usr/src/usr.bin/mklocale/yacc.y
 cp y.tab.c yacc.c
 lex -t  /usr/src/usr.bin/mklocale/lex.l  lex.c
 rm -f .depend
 mkdep -f .depend -a-I/usr/src/usr.bin/mklocale 
-I/usr/obj/usr/src/i386/usr/include  yacc.c lex.c
 /usr/src/usr.bin/mklocale/lex.l:48: y.tab.h: No such file or directory
 mkdep: compile failed
 *** Error code 1
 

Fixed a few hours ago:

obrien  2000/12/01 11:36:17 PST
 
  Modified files:
usr.bin/mklocale Makefile
  Log:
  Grrr... GCC 2.95.2 and 2.96 just will not agree what the default include
  search paths are.  So add the requirements of both. :-(


-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: /etc/defaults/rc.conf

2000-11-06 Thread Chris Faulhaber

On Tue, Nov 07, 2000 at 01:02:03AM +0200, Giorgos Keramidas wrote:
 On Mon, Nov 06, 2000 at 03:37:01PM -0500, Forrest Aldrich wrote:
  It would be useful to have back the program specification variable for 
  inetd.  Currently we have:
  
  inetd_enable="YES"  # Run the network daemon dispatcher (or NO).
  inetd_flags="-wW"   # Optional flags to inetd
  
  and the /etc/rc.* files assume the use of the stock inetd.  Where some 
  people choose to use alternative inetd-like programs such as xinetd.
 [...]
 
 Nice idea!  And the fix is simple.  The included patch will correct it :-)
 

You forgot the patch(es) to the port(s) this would affect (e.g. xinetd).
The affected ports would need their ${PREFIX}/etc/rc.d files removed
(otherwise you would start them twice) along with a message letting the
installer know how to start it properly.

 [ do we really need to cross-post this? ]
 

No, -stable removed.

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Doc. for maintaining /etc stuff?

2000-10-29 Thread Chris Faulhaber

On Mon, Oct 30, 2000 at 10:52:22AM +0800, Donny Lee wrote:
 
  Hi there,
 
  Is there any doc. for maintaining /etc stuff?  especially focused
  on after time to time of cvsups, make worlds and kernels? 
 
  BTW, my fbsd box is just back from a newly cvsup, world  kernel,
  mfs and random device seem back to work fine now.
 

http://www.freebsd.org/handbook/makeworld.html (18.4.7) recommends
mergemaster(8)

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Options for IPFilter

2000-10-03 Thread Chris Faulhaber

On Tue, Oct 03, 2000 at 02:50:35PM -0400, Forrest Aldrich wrote:
 Since IPFilter is integrated as an option into the OS, can we get a better 
 config in the rc.* scripts so that we can define which filter to use (ipfw 
 or ipfilter) and appropriate options.
 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=20202

-- 
-
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message