Re: Device Driver Deleopment

From: Bob Pickles (BPICKLES_at_btconnect.com)
Date: 01/22/04

  • Next message: Mike Silbersack: "Updating callout_reset"
    To: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
    Date: Thu, 22 Jan 2004 21:38:13 -0000
    
    

    Poul

    I looked at other drivers and this has done the job... it installs now.

    I should have done this before.

    Many Thanks

    Bob
    ----- Original Message -----
    From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
    To: "Bob Pickles" <bpickles@sbs.com>
    Cc: <freebsd-arch@freebsd.org>
    Sent: Thursday, January 22, 2004 9:08 PM
    Subject: Re: Device Driver Deleopment

    > In message <018b01c3e12c$042b19d0$1d02a8c0@sdlbase>, "Bob Pickles" writes:
    > >Hi
    > >
    > >Looking for some help with FreeBSD 5.1, I am new to this but I am
    > >fairly quick to learn.
    > >
    > >Problem that I am having, is that in my device driver, it see's my PCI
    card, but when
    > >I call make_dev the system hangs, then resets.
    > >
    > >If I try to use mknod, then it fails also. Looked at the /dev mount and
    even devfs fails.
    > >Is there some form of protection here that I don't know about?
    > >How can I create a device on /dev?
    >
    > It sounds to me like you are calling make_dev() with wrong parameters,
    > all our other device drivers get this to work, so I suggest finding a
    > similar one and compare it to your own code.
    >
    > --
    > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
    > phk@FreeBSD.ORG | TCP/IP since RFC 956
    > FreeBSD committer | BSD since 4.3-tahoe
    > Never attribute to malice what can adequately be explained by
    incompetence.
    > _______________________________________________
    > freebsd-arch@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
    >
    > ***This message has been scanned for virus, spam, and undesirable
    content.***
    > ***For further information, contact your mail administrator.***

    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"


  • Next message: Mike Silbersack: "Updating callout_reset"

    Relevant Pages

    • Re: Explorer application error
      ... I read the event log and it seems to be ... > pointing to a device driver. ... Thebody of the error message remains the same but the ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: Device Driver Deleopment
      ... I'll look at the parameters on other pci drivers. ... Bob ... Subject: Device Driver Deleopment ... >>Problem that I am having, is that in my device driver, it see's my PCI ...
      (freebsd-arch)
    • Re: cd drive in use by: user
      ... > When I switch users with xp pro, I get a window ... > device driver for the CD/DVD drive? ... > Thanks, Bob ...
      (microsoft.public.windowsxp.security_admin)
    • RE: Windows 2003 log off very slow
      ... device driver or 3rd party addon. ... Are these servers all running the same hardware? ... >> just installs as a service and runs in the background. ...
      (microsoft.public.windows.server.general)
    • Re: Not very impressed so far
      ... I have installed XP Pro on 2 machineswith no problem I ... except for 1 device driver I took from WUD. ... Both installs were, however, clean installs. ... > Am very tempted to go back to WindowsME. ...
      (microsoft.public.windowsxp.general)