Re: usbd config file parse behaviour

2004-03-25 Thread Bernd Walter
On Fri, Mar 26, 2004 at 10:27:39AM +1100, Sam Lawrance wrote: > Hi, > > usbd's present behaviour when reading usbd.conf is to scan from top to > bottom and use the first match. > > What if it was changed to use the last, most specific match? That is, > the last match with the most of (product, ve

Re: kldstat and module ref count

2004-03-25 Thread Toni Andjelkovic
On Fri, Mar 26 2004 (09:15:26 +1100), Sam Lawrance wrote: > I've tried to find the answer to this but am stuck. How can I prevent a > kld module being unloaded if it is still in use? > > Filesystem modules give "device busy" if you try to kldunload them while > still in use. Any sort of quick poin

Re: Question regarding shell user creation at login time

2004-03-25 Thread Ganbold
Hi, I tested my perl script, C program in FreeBSD 4.9, all work just fine. I checked OpenSSH version and: FreeBSD 4.9 - > OpenSSH_3.5p1 FreeBSD-20030924 FreeBSD 5.2-CURRENT - > OpenSSH_3.8p1 FreeBSD-20040226 Is this difference causing the problem? Should I change somethin

Re: Diagnosing unrecognized hardware

2004-03-25 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> "Brian O'Shea" <[EMAIL PROTECTED]> writes: : Hello Warner, : : --- "M. Warner Losh" <[EMAIL PROTECTED]> wrote: : > : > Basically, you add it to sys/dev/pccard/pccarddevs, run make -f : > Makefile.pccarddevs in that directory, then add the line you talke

Re: Diagnosing unrecognized hardware

2004-03-25 Thread Brian O'Shea
Hello Warner, --- "M. Warner Losh" <[EMAIL PROTECTED]> wrote: > > Basically, you add it to sys/dev/pccard/pccarddevs, run make -f > Makefile.pccarddevs in that directory, then add the line you talked > about in your other email to if_wi_pccard.c. The first part of this > is desirable reguardless

Re: Intel i8xx watchdog driver

2004-03-25 Thread Bruce M Simpson
Correction... On Thu, Mar 25, 2004 at 11:26:59PM +, Bruce M Simpson wrote: > I wrote code to unlock the SMM within FreeBSD last summer on an IBM T22 ^^ discover and map. > with the 440BX chipset. Here it is. Half asleep here. Doh! BMS ___

Re: Intel i8xx watchdog driver

2004-03-25 Thread Bruce M Simpson
On Thu, Mar 25, 2004 at 05:40:33PM -0500, Don Bowman wrote: > SMI under freebsd? Ha ha... Good luck! It didn't look very > easy. The SMM, for those who don't know it, is a virtual > 86, real-mode thing, at a location in ram which is locked > and unaccessible unless you are in smm mode :) If you > a

usbd config file parse behaviour

2004-03-25 Thread Sam Lawrance
Hi, usbd's present behaviour when reading usbd.conf is to scan from top to bottom and use the first match. What if it was changed to use the last, most specific match? That is, the last match with the most of (product, vendor) specified. The idea is that it makes it programmatically easy to add

[Fwd: [Fwd: Re: ATA/CHS problem]]

2004-03-25 Thread Roman Kurakin
S?ren Schmidt wrote: Roman Kurakin wrote: This is not an LBA request. ATA driver thinks that I have 80G CHS device, cause it's ATA_FLAG_54_58 is zero. (This decision is incorrect, we shouldn't relay on this flag). I've checked another seagate 80G drive in CHS mode(by driver hacking), and prob

RE: Intel i8xx watchdog driver

2004-03-25 Thread Don Bowman
From: Doug Ambrisko [mailto:[EMAIL PROTECTED] > Don Bowman writes: > | The Intel ICH3 (and probably all) has the feature it can > | issue an SMI on first count-down to 0, then a hard reset > | on 2nd. What we did was implement an SMM handler (in bios) > | that, when called due to watchdog, issued a

Re: Intel i8xx watchdog driver

2004-03-25 Thread Doug Ambrisko
Don Bowman writes: | The Intel ICH3 (and probably all) has the feature it can | issue an SMI on first count-down to 0, then a hard reset | on 2nd. What we did was implement an SMM handler (in bios) | that, when called due to watchdog, issued an NMI and did | a return from smm. | In FreeBSD, an NMI

kldstat and module ref count

2004-03-25 Thread Sam Lawrance
Hi, I've tried to find the answer to this but am stuck. How can I prevent a kld module being unloaded if it is still in use? Filesystem modules give "device busy" if you try to kldunload them while still in use. Any sort of quick pointer in the right direction would be much appreciated. Cheers -

Re: Diagnosing unrecognized hardware

2004-03-25 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> "Brian O'Shea" <[EMAIL PROTECTED]> writes: : Sorry for being unclear. I didn't mean to say that those changes worked, : I was asking if they were correct so far. Also, I asked where I should : specify the product id, because I suspect that I need to add

RE: Intel i8xx watchdog driver

2004-03-25 Thread Don Bowman
From: Doug Ambrisko [mailto:[EMAIL PROTECTED] > Scott Long writes: > | In reading the code, it appears that it is indeed an ICHx > service and > | not limited to just i8xx chipsets. I have a few issues with how the > | probe and attach are done, and I'm addressing these in a > private mail > | r

Re: Diagnosing unrecognized hardware

2004-03-25 Thread Brian O'Shea
Hello Warner, Sorry for being unclear. I didn't mean to say that those changes worked, I was asking if they were correct so far. Also, I asked where I should specify the product id, because I suspect that I need to add that to some other table (please see the end of my comments in my previous e-

Re: Intel i8xx watchdog driver

2004-03-25 Thread Doug Ambrisko
Scott Long writes: | In reading the code, it appears that it is indeed an ICHx service and | not limited to just i8xx chipsets. I have a few issues with how the | probe and attach are done, and I'm addressing these in a private mail | right now. It's funny that I was reading the Intel ICH5 docs l

Re: Diagnosing unrecognized hardware

2004-03-25 Thread M. Warner Losh
I just committed something to current based on your telling me that this works. Can you try my changes there? Warner ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PR

Re: Diagnosing unrecognized hardware

2004-03-25 Thread Brian O'Shea
Hello Warner, et al, It looks like I need to add the following lines to /usr/src/sys/dev/pccard/pccarddevs.h: #define PCMCIA_PRODUCT_DLINK_DWL650 0x #define PCMCIA_CIS_DLINK_DWL650 { "D-Link", \ "DWL-650 Wireless PC Card RevP ISL37101P-10", NULL, NULL } #define

Re: Intel i8xx watchdog driver

2004-03-25 Thread Scott Long
Doug Ambrisko wrote: Scott Long writes: | Wm. Daryl Hawkins wrote: | > I've written a driver for the Intel i8xx TCO watchdog timer for both | > FreeBSD-CURRENT and FreeBSD-STABLE. | | This is wonderful. I'd be happy to test it and shepherd it in. Does it | support the intel 750x chips also? A

Re: Intel i8xx watchdog driver

2004-03-25 Thread Doug Ambrisko
Scott Long writes: | Wm. Daryl Hawkins wrote: | > I've written a driver for the Intel i8xx TCO watchdog timer for both | > FreeBSD-CURRENT and FreeBSD-STABLE. | | This is wonderful. I'd be happy to test it and shepherd it in. Does it | support the intel 750x chips also? All ICH chips that I'v

Re: Intel i8xx watchdog driver

2004-03-25 Thread Scott Long
Wm. Daryl Hawkins wrote: I've written a driver for the Intel i8xx TCO watchdog timer for both FreeBSD-CURRENT and FreeBSD-STABLE. This is my first driver and it's only seen limited testing, so proceed with caution! The FreeBSD-CURRENT package contains a loadable kernel module and was written to w

RE: Intel i8xx watchdog driver

2004-03-25 Thread Wm. Daryl Hawkins
Yes. The version for current hasn't seen as much testing as the version for stable. I only have one or two test boxes with current on them, but it seems to be working just fine with watchdogd. -- Daryl -Original Message- From: Poul-Henning Kamp [mailto:[EMAIL PROTECTED] Sent: Thursday

Re: Intel i8xx watchdog driver

2004-03-25 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, "Wm. Da ryl Hawkins" writes: > >I've written a driver for the Intel i8xx TCO watchdog timer for >both FreeBSD-CURRENT and FreeBSD-STABLE. Is this written against the API in -current ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED]

Re: Diagnosing unrecognized hardware

2004-03-25 Thread Julian Elischer
On Wed, 24 Mar 2004, Fred Clift wrote: > On Mon, 22 Mar 2004, M. Warner Losh wrote: > > > : pccard0: (manufacturer=0x000b, product=0x7110) at function 0 > > : pccard0:CIS info: D-Link, DWL-650 Wireless PC Card RevP, ISL37101P-10 > > > > Looks like this isn't a supported card. You can add

Intel i8xx watchdog driver

2004-03-25 Thread Wm. Daryl Hawkins
I've written a driver for the Intel i8xx TCO watchdog timer for both FreeBSD-CURRENT and FreeBSD-STABLE. This is my first driver and it's only seen limited testing, so proceed with caution! The FreeBSD-CURRENT package contains a loadable kernel module and was written to work with Poul-Henning

Re: Diagnosing unrecognized hardware

2004-03-25 Thread Fred Clift
On Mon, 22 Mar 2004, M. Warner Losh wrote: > : pccard0: (manufacturer=0x000b, product=0x7110) at function 0 > : pccard0:CIS info: D-Link, DWL-650 Wireless PC Card RevP, ISL37101P-10 > > Looks like this isn't a supported card. You can add it to > if_wi_pccard.c and see if that helps. Changes

Question regarding shell user creation at login time

2004-03-25 Thread Ganbold
Hi, I'm using FreeBSD 5.2-CURRENT and I'm trying to write a small C program which in turn calls perl script. Perl script creates user account. I created user called "new" and put new.c and new.pl into its directory. Then I changed shell for user new to point to /home/new/new. The idea is I want