Re: Device Driver Deleopment
From: Poul-Henning Kamp (phk_at_phk.freebsd.dk)
Date: 01/22/04
- Previous message: Bob Pickles: "Device Driver Deleopment"
- In reply to: Bob Pickles: "Device Driver Deleopment"
- Next in thread: Bob Pickles: "Re: Device Driver Deleopment"
- Reply: Bob Pickles: "Re: Device Driver Deleopment"
- Reply: Bob Pickles: "Re: Device Driver Deleopment"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Bob Pickles <bpickles@sbs.com> Date: Thu, 22 Jan 2004 22:08:52 +0100
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"
- Previous message: Bob Pickles: "Device Driver Deleopment"
- In reply to: Bob Pickles: "Device Driver Deleopment"
- Next in thread: Bob Pickles: "Re: Device Driver Deleopment"
- Reply: Bob Pickles: "Re: Device Driver Deleopment"
- Reply: Bob Pickles: "Re: Device Driver Deleopment"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Device Driver Deleopment
... Looking for some help with FreeBSD 5.1, I am new to this but I am ... Problem
that I am having, is that in my device driver, it see's my PCI card, but when ... Looked
at the /dev mount and even devfs fails. ... Bob Pickles ... (freebsd-arch) - Re: kern/99979: Get Ready for Kernel Module in C++
... We can judge whether a C++ feature can or cannot be imported into FreeBSD ...
kernel by assemble code generated by GNU CC. ... But the "object model" is still
obscure to understand no matter how many ... But how difficult to write a device driver
for FreeBSD? ... (freebsd-hackers) - Re: FreeBSD on embedded systems
... Bob Pickles wrote: ... > driver for one of our products for a French
company over 1 year ... FreeBSD is a nice stable platform, ... > There are many
Intel based VME and cPCI system Single Board Computers ... (freebsd-arch) - Reserving large contiguous block of RAM for device
... I am in the process of porting a Linux device driver to FreeBSD. ...
Is there an existing method to reserve a large block of RAM early ... (freebsd-hackers) - Re: Continuation of the Mach Microkernel
... The device driver ... as is the interface between the network
... > project goal to reimplement FreeBSD but with a Mach-based kernel. ... (freebsd-arch)