Re: Differences between netgraph nodes in 4.x and 5.x

From: Paolo Pisati (flag_at_libero.it)
Date: 07/29/03

  • Next message: Max Khon: "Re: Differences between netgraph nodes in 4.x and 5.x'"
    Date: Tue, 29 Jul 2003 12:30:42 +0200
    To: FreeBSD_Net <freebsd-net@FreeBSD.ORG>
    
    

    On Mon, Jul 28, 2003 at 07:13:04PM -0700, Julian Elischer wrote:
    >
    > If you want to send me the node you have writen I can
    > make the diffs and send it back :-)

    thanks Julian, but i prefer to do it myself,
    cause i want to understand how the hell netgraph works... =)
     
    btw, i think i did the converion and it was quite straightforward,
    but i've still a little problem that i didn't have in 5.x:

    if i try to unload my module, change the internals, compile
    and use it again, it fails! =P

    I think it's a problem in the shutdown/disconnect
    part of my work, cause this is what i get:

    ngctl mkpeer rl0: tee lower right
    ngctl: send msg: File exists

    actually tee is my own node, i didn't yet change the name
    to classifier but it's my node.

    And while you are listening, i can show u something else... =)

    I have NETGRAPH in my kernel, and this is what i get when i
    try to load ng_ether the first time:

    [root@newluxor root]# kldload ng_ether
    module_register: module netgraph already exists!
    linker_file_sysinit "netgraph.ko" failed to register! 17
    kldload: can't load ng_ether: Exec format error
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    it fails to load the node...

    [root@newluxor root]# kldload ng_ether

    while the second time it works... =O

    [root@newluxor root]# kldunload ng_ether
    kldunload: can't unload file: Device busy

    and if i try to unload it, it always says that it's busy:
    i think this is due to the inability to delete
    an interface, isn't it?

    nothing really nasty, but maybe you didn't know... =)

    thank you & bye.

    -- 
    Paolo
    GUFI: http://www.gufi.org
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
    

  • Next message: Max Khon: "Re: Differences between netgraph nodes in 4.x and 5.x'"

    Relevant Pages

    • Re: Poser? What happens to empty pages in a database unload/load?
      ... At my company, several time each weekend, a database is unloaded at ... squeezed out of the load. ... I unload the table and load it back and now all those empty pages are ... Art S. Kagel ...
      (comp.databases.informix)
    • Re: Seltsames Problem mit Form.release
      ... Geht das auch im Load? ... Und passend zum allerersten Even Loadkommt als letztes Unload. ... deren erstes Event Initund letztes Event Destroy() ist. ... QueryUnload() ...
      (microsoft.public.de.fox)
    • Re: Poser? What happens to empty pages in a database unload/load?
      ... Beau Nanaz wrote: ... squeezed out of the load. ... all empty but I still have data in pages 1001-2000 of the tablespace. ... I unload the table and load it back and now all those empty pages are ...
      (comp.databases.informix)
    • Re: More UAW Horror Stories
      ... the driver has two options. ... I would have had to return the load to the shipper? ... unload or want walmart to do it. ... And if I wanted a lumper to unload my truck, I had to pay for it. ...
      (misc.transport.trucking)
    • Re: kldload: cant load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.253
      ... Subject: kldload: can't load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.253 ... I can't use my maxtor basic 640gb external harddrive on Freebsd amd64 ... How did you install the fusefs-kmod was it from a package or did you ...
      (freebsd-questions)