Building a DDB friendly kernel/drivers?

2009-03-27 Thread Alexander Sack
Hi Folks: I'm debugging an issue with a third-party driver that causes an NMI during driver initialization. It only occurs for one version of the driver thus far. I want to isolate what triggers the NMI and generally get a feel for the initialization of the hardware. I'm running a 6.x-amd64 ker

Going realmode in kernel drivers?

2003-11-24 Thread Peter B
i386/FreeBSD-4.x/lkm. How does one get into 'realmode' inside a kernel driver? The reason for the need is a tight timeing loop that measures the lenght of pulses. And disableing interrupts is just not enough. Target cpu's are AMD K5 + AMD XP. Asfair when reading cycles per opcode. The number of

Re: New kernel drivers

1999-08-10 Thread Julian Elischer
On Tue, 10 Aug 1999, eT wrote: > Joe Groff wrote: > > > I have a device 'foo' which I'm working on. What files do I need to edit so > > that config recognizes foo as a > > controller/pseudo-device/device/disk/whatever? > > Take a look at /usr/src/sys/i386/files.i386. You device driver files

Re: New kernel drivers

1999-08-09 Thread Julian Elischer
On Tue, 10 Aug 1999, eT wrote: > Joe Groff wrote: > > > I have a device 'foo' which I'm working on. What files do I need to edit so > > that config recognizes foo as a controller/pseudo-device/device/disk/whatever? > > Take a look at /usr/src/sys/i386/files.i386. You device driver files > ne

Re: New kernel drivers

1999-08-09 Thread eT
Joe Groff wrote: > I have a device 'foo' which I'm working on. What files do I need to edit so > that config recognizes foo as a controller/pseudo-device/device/disk/whatever? Take a look at /usr/src/sys/i386/files.i386. You device driver files need to have an entry in this file. Also make sur

Re: New kernel drivers

1999-08-09 Thread eT
Joe Groff wrote: > I have a device 'foo' which I'm working on. What files do I need to edit so > that config recognizes foo as a controller/pseudo-device/device/disk/whatever? Take a look at /usr/src/sys/i386/files.i386. You device driver files need to have an entry in this file. Also make sur

New kernel drivers

1999-08-09 Thread Joe Groff
I have a device 'foo' which I'm working on. What files do I need to edit so that config recognizes foo as a controller/pseudo-device/device/disk/whatever? Thanks! -Joe To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message

New kernel drivers

1999-08-09 Thread Joe Groff
I have a device 'foo' which I'm working on. What files do I need to edit so that config recognizes foo as a controller/pseudo-device/device/disk/whatever? Thanks! -Joe To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

RE: Kernel Drivers

1999-07-11 Thread Wyatt, Anthony
> -Original Message- > From: David E. Cross [mailto:cro...@cs.rpi.edu] > Sent: Monday, July 12, 1999 1:14 PM > To: Greg Lehey > Cc: Anthony Wyatt; FreeBSD Hackers; cro...@cs.rpi.edu > Subject: Re: Kernel Drivers > > Hmm... perhaps if Anthony is willing we can

Re: Kernel Drivers

1999-07-11 Thread David E. Cross
Hmm... perhaps if Anthony is willing we can use his experience to help us further document the procedure for writing a FreeBSD PCI device driver? -- David Cross | email: cro...@cs.rpi.edu Systems Administrator/Research Programmer | Web: http://www.cs.rpi.edu/~crossd

Re: Kernel Drivers

1999-07-11 Thread Greg Lehey
[redirecting to -hackers] On Monday, 12 July 1999 at 12:44:18 +1000, Anthony Wyatt wrote: > Hi, >I really don't know where to post this message, so if there is a better > place please let me know. Well, to quote the frequent posting to this newsgroup, If the question is of a general nat

RE: Kernel Drivers

1999-07-11 Thread Wyatt, Anthony
> -Original Message- > From: David E. Cross [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 12, 1999 1:14 PM > To: Greg Lehey > Cc: Anthony Wyatt; FreeBSD Hackers; [EMAIL PROTECTED] > Subject: Re: Kernel Drivers > > Hmm... perhaps if Anthony is willing we can

Re: Kernel Drivers

1999-07-11 Thread David E. Cross
Hmm... perhaps if Anthony is willing we can use his experience to help us further document the procedure for writing a FreeBSD PCI device driver? -- David Cross | email: [EMAIL PROTECTED] Systems Administrator/Research Programmer | Web: http://www.cs.rpi.edu/~crossd

Re: Kernel Drivers

1999-07-11 Thread Greg Lehey
[redirecting to -hackers] On Monday, 12 July 1999 at 12:44:18 +1000, Anthony Wyatt wrote: > Hi, >I really don't know where to post this message, so if there is a better > place please let me know. Well, to quote the frequent posting to this newsgroup, If the question is of a general na