linux-decnet-user Mailing List for DECnet for Linux
Brought to you by:
chrissie_c,
ph3-der-loewe
You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(8) |
Jun
(39) |
Jul
(30) |
Aug
(23) |
Sep
(9) |
Oct
(9) |
Nov
(30) |
Dec
(24) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(12) |
Feb
(4) |
Mar
(21) |
Apr
|
May
(3) |
Jun
(3) |
Jul
(13) |
Aug
(13) |
Sep
(18) |
Oct
(10) |
Nov
(25) |
Dec
(2) |
| 2002 |
Jan
(7) |
Feb
(14) |
Mar
(15) |
Apr
(29) |
May
(10) |
Jun
(23) |
Jul
(76) |
Aug
(52) |
Sep
(15) |
Oct
(47) |
Nov
(12) |
Dec
(1) |
| 2003 |
Jan
(5) |
Feb
(12) |
Mar
(21) |
Apr
(26) |
May
(66) |
Jun
(16) |
Jul
(13) |
Aug
(7) |
Sep
(21) |
Oct
(11) |
Nov
(4) |
Dec
(11) |
| 2004 |
Jan
(18) |
Feb
(1) |
Mar
(1) |
Apr
(20) |
May
(10) |
Jun
(4) |
Jul
(9) |
Aug
(9) |
Sep
|
Oct
(5) |
Nov
(13) |
Dec
(8) |
| 2005 |
Jan
(23) |
Feb
(2) |
Mar
(1) |
Apr
|
May
(11) |
Jun
(3) |
Jul
(5) |
Aug
(15) |
Sep
(3) |
Oct
(13) |
Nov
(2) |
Dec
(7) |
| 2006 |
Jan
(5) |
Feb
(8) |
Mar
(6) |
Apr
(6) |
May
|
Jun
|
Jul
(1) |
Aug
(5) |
Sep
(2) |
Oct
(6) |
Nov
|
Dec
(3) |
| 2007 |
Jan
|
Feb
(6) |
Mar
(3) |
Apr
(1) |
May
|
Jun
(5) |
Jul
(7) |
Aug
|
Sep
(7) |
Oct
(7) |
Nov
(4) |
Dec
(2) |
| 2008 |
Jan
(10) |
Feb
(5) |
Mar
(2) |
Apr
(2) |
May
|
Jun
|
Jul
(14) |
Aug
(3) |
Sep
(6) |
Oct
(7) |
Nov
|
Dec
|
| 2009 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
(2) |
May
(2) |
Jun
(1) |
Jul
(3) |
Aug
(15) |
Sep
(9) |
Oct
(1) |
Nov
(2) |
Dec
|
| 2010 |
Jan
|
Feb
(5) |
Mar
(2) |
Apr
|
May
(3) |
Jun
|
Jul
(5) |
Aug
(2) |
Sep
(6) |
Oct
(1) |
Nov
(15) |
Dec
|
| 2011 |
Jan
(4) |
Feb
(1) |
Mar
(11) |
Apr
|
May
|
Jun
(17) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
(8) |
| 2012 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
(8) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2013 |
Jan
(12) |
Feb
(15) |
Mar
(11) |
Apr
(1) |
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
(5) |
Jul
(1) |
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
|
| 2016 |
Jan
|
Feb
(14) |
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2017 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(1) |
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
(1) |
Nov
(3) |
Dec
|
| 2018 |
Jan
|
Feb
(3) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2019 |
Jan
(2) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(4) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
1
|
2
|
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
|
10
|
11
|
12
|
13
(3) |
14
(1) |
15
|
16
|
|
17
|
18
|
19
(1) |
20
|
21
|
22
|
23
|
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
|
From: Angela B. <am...@jb...> - 2007-06-19 12:56:59
|
I am posting this in the hope it will be of use to those trying to install
Decnet on Suse 10 (Linux 2.6).
Download unpack and build as per the top level README.
Execute scripts/setup.sh to configure your Decnet nodes.
Edit scripts/decnet.sh as follows:
1) Line 41 change the call
. /etc/rc.d/init.d/functions
to
. /etc/sysconfig/network/scripts/functions
2) After line 72 add
ifconfig $CCT allmulti
Then copy the script to /etc/init.d:
cp decnet.sh /etc/init.d/decnet
chkconfig --level 345 decnet on
Then install a config file for your eth device as follows:
cd /etc/sysconfig/network/
Find your config file for the current (non Decnet) hardware address of
your ethernet card:
ls ifcfg-eth*
Install this for the default device:
cp ifcfg-eth-id-XX\:XX\:XX\:XX\:XX\:XX ifcfg-ethN
where XX\:XX\:XX\:XX\:XX\:XX is the hardware address of your ethernet
device (filename completion will supply the correct name with escaped : in
straitforward configurations), and N is the device number given by
ifconfig - which must be the same as that specified in /etc/decnet.conf.
Then cross your fingers and reboot. It certainly worked for me.
Angela Bayley
|
|
From: vignesh b. <vig...@wi...> - 2007-06-14 10:34:39
|
Replacing (n & (n-1)) in the context of power of 2 checks
with is_power_of_2
Signed-off-by: vignesh babu <vig...@wi...>
---
diff --git a/net/decnet/dn_route.c b/net/decnet/dn_route.c
index a8bf106..0a67706 100644
--- a/net/decnet/dn_route.c
+++ b/net/decnet/dn_route.c
@@ -76,6 +76,7 @@
#include <linux/netfilter_decnet.h>
#include <linux/rcupdate.h>
#include <linux/times.h>
+#include <linux/log2.h>
#include <asm/errno.h>
#include <net/netlink.h>
#include <net/neighbour.h>
@@ -1792,7 +1793,7 @@ void __init dn_route_init(void)
do {
dn_rt_hash_mask = (1UL << order) * PAGE_SIZE /
sizeof(struct dn_rt_hash_bucket);
- while(dn_rt_hash_mask & (dn_rt_hash_mask - 1))
+ while(!is_power_of_2(dn_rt_hash_mask))
dn_rt_hash_mask--;
dn_rt_hash_table = (struct dn_rt_hash_bucket *)
__get_free_pages(GFP_ATOMIC, order);
--
Vignesh Babu BM
_____________________________________________________________
"Why is it that every time I'm with you, makes me believe in magic?"
|
|
From: Larry B. <ba...@us...> - 2007-06-13 20:33:04
|
Keith,
I'm the one that wrote the SuSE 9.3 instructions. I still run SuSE
9.3, so I cannot tell you what might have changed in SuSE 10. Maybe
someone else on the list has experience with SuSE 10.
Here's the changes I made to the linux-decnet files on my SuSE 9.3
system:
wavelet:/etc/sysconfig/network # diff /etc/init.d/decnet{.original,}
26c26,27
< daemons="dnetd phoned"
---
> #daemons="dnetd phoned"
> daemons="dnetd"
122,133d122
<
< # FIXME dirty hack for SUSE 9.1 kernel.
< # Add all known nodes to neighbor list
< # comments to st...@op...
<
< for NODE in $(grep ^node /etc/decnet.conf| awk '{print $2}')
< do
< /sbin/ip -f dnet neigh add $NODE dev $CCT
< done
<
< # end of dirty hack
<
wavelet:/etc/sysconfig/network # diff /etc/dnetd.conf{.original,}
0a1
> #
14c15
< FAL 17 Y none fal
---
> FAL 17 Y none fal -ae
16c17
< MAIL 27 N vmsmail vmsmaild
---
> #MAIL 27 N vmsmail vmsmaild
wavelet:/etc/sysconfig/network # diff /etc/decnet.proxy{.original,}
19a20,22
> samoa::system root
> tonga::system root
> willie::system root
20a24
> .*::.* nobody
Here's my ifcfg-eth0 file and the output of ifconfig eth0:
wavelet:/etc/sysconfig/network # cat ifcfg-eth0
BOOTPROTO='static'
BROADCAST='130.118.47.255'
IPADDR='130.118.45.145'
MTU=''
NAME='Intel PRO/1000 MT Desktop Adapter'
NETMASK='255.255.252.0'
NETWORK='130.118.44.0'
REMOTE_IPADDR=''
STARTMODE='auto'
UNIQUE='rBUF.Wcsi8V4ddI5'
USERCONTROL='no'
_nm_name='bus-pci-0000:00:0b.0'
# DECnet host address 54.145
LLADDR=AA:00:04:00:91:D8
# DECnet needs "allmulticast on"
LINK_OPTIONS="allmulticast on"
wavelet:/etc/sysconfig/network # ifconfig eth0
eth0 Link encap:Ethernet HWaddr AA:00:04:00:91:D8
inet addr:130.118.45.145 Bcast:130.118.47.255 Mask:
255.255.252.0
inet6 addr: fe80::a800:4ff:fe00:91d8/64 Scope:Link
UP BROADCAST RUNNING ALLMULTI MULTICAST MTU:1500 Metric:1
RX packets:45573422 errors:0 dropped:0 overruns:0 frame:0
TX packets:4878966 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3495503201 (3333.5 Mb) TX bytes:1669252893
(1591.9 Mb)
Base address:0xb400 Memory:da800000-da820000
Hope this helps.
Larry Baker
US Geological Survey
650-329-5608
ba...@us...
On Jun 13, 2007, at 8:20 AM, kei...@uk... wrote:
>
>
>
> I am encountering a problem when trying to implement Decnet on a
> SUSE 10 system.
>
> The kernel version is 2.6.16, therefore I assume it has appropriate
> decnet support included, so I haven't attempted any patch updates.
>
> I have followed all the instructions as detailed for loading DECnet
> on SuSE 9.3, from the "DECnet for Linux FAQ: Distributions", namely:
>
> 1) Downloaded and installed dnprogs-2.27-1.SUSE.i586.rpm
> 2) Created link for fal
> 3) edited /etc/init.d/decnet file for daemons to start
> 4) edited /etc/decnet.conf to declare executor/node names
> 5) edited /etc/dnetd.conf to modify objects
> 6) edited /etc/decnet.proxy for remote proxies
> 7) Copied and modified file ifcfg-eth0 (eth0 is the correct
> interface) to include the new address for the card
> 8) Updated kernel database
> 9) enabled decnet service
> 10) rebooted machine.
>
> After startup, the dnetd process is running but with no activity.
>
> The eth0 HWADDR is changed to reflect the new address entered into
> file ifcfg-eth0
>
> However, in the /var/log/boot.msg file the following message
> fragment appears:
>
> Starting DECnet...SIOCGIFINDEX: No such device
> SIOCGIFFLAGS: No such device
> /usr/sbin/setether: line 68: echo: write error: No such device
> done
>
> Not suprisingly, no commands work, ie after issuing eg dndir, the
> cursor just sits waiting
>
> What am I doing wrong??
>
> ----------------------------------------------------------------------
> ---
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Linux-decnet-user mailing list
> Lin...@li...
> https://lists.sourceforge.net/lists/listinfo/linux-decnet-user
|
|
From: Angela B. <am...@jb...> - 2007-06-13 17:06:25
|
It sounds to me as if the call to setether in /etc/init.d/decnet is
getting the wrong eth device, which it should get from /etc/decnet.conf.
You should not try to set the MAC address by any other means than by this
call to setether.
I have Linux Decnet running on Suse 10.0 but the following may be of some
help:
I could not get it to work by editing any /etc/sysconfig/network/ifcfg-eth
files. These should not be touched.
I had to add
ifconfig $CCT allmulti in the /etc/init.d/decnet as follows:
echo -n $"Starting DECnet: "
NODE=`grep executor /etc/decnet.conf| awk '{print $2}'`
echo "$NODE" > /proc/sys/net/decnet/node_address
CCT=`grep executor /etc/decnet.conf | awk '{print $6}'`
echo "$CCT" > /proc/sys/net/decnet/default_device
$prefix/sbin/setether $NODE $CCT $extra_interfaces
ifconfig $CCT allmulti
Make sure /etc/decnet.conf refers to the correct eth device, in your case
eth0. This is used by /etc/init.d/decnet as the parameter to setether to
change the MAC address. Don't try to alter
/etc/sysconfig/network/ifcfg-eth* to set the MAC address.
I hope this helps. It is the fruit of a lengthy but ultimately
successful struggle to get decnet working.
Angela Bayley
On Wed, 13 Jun 2007 kei...@uk... wrote:
>
>
>
> I am encountering a problem when trying to implement Decnet on a SUSE 10
> system.
>
> The kernel version is 2.6.16, therefore I assume it has appropriate
> decnet support included, so I haven't attempted any patch updates.
>
> I have followed all the instructions as detailed for loading DECnet on
> SuSE 9.3, from the "DECnet for Linux FAQ: Distributions", namely:
>
> 1) Downloaded and installed dnprogs-2.27-1.SUSE.i586.rpm
> 2) Created link for fal
> 3) edited /etc/init.d/decnet file for daemons to start
> 4) edited /etc/decnet.conf to declare executor/node names
> 5) edited /etc/dnetd.conf to modify objects
> 6) edited /etc/decnet.proxy for remote proxies
> 7) Copied and modified file ifcfg-eth0 (eth0 is the correct interface) to
> include the new address for the card
> 8) Updated kernel database
> 9) enabled decnet service
> 10) rebooted machine.
>
> After startup, the dnetd process is running but with no activity.
>
> The eth0 HWADDR is changed to reflect the new address entered into file
> ifcfg-eth0
>
> However, in the /var/log/boot.msg file the following message fragment
> appears:
>
> Starting DECnet...SIOCGIFINDEX: No such device
> SIOCGIFFLAGS: No such device
> /usr/sbin/setether: line 68: echo: write error: No such device
> done
>
> Not suprisingly, no commands work, ie after issuing eg dndir, the cursor
> just sits waiting
>
> What am I doing wrong??
>
>
>
|
|
From: <kei...@uk...> - 2007-06-13 15:21:05
|
<br><font size=2 face="sans-serif"><br> </font><font size=3 face="Utopia"><br> </font><font size=2 face="sans-serif">I am encountering a problem when trying to implement Decnet on a SUSE 10 system.</font> <br> <br><font size=2 face="sans-serif">The kernel version is 2.6.16, therefore I assume it has appropriate decnet support included, so I haven't attempted any patch updates.</font> <br> <br><font size=2 face="sans-serif">I have followed all the instructions as detailed for loading DECnet on SuSE 9.3, from the "DECnet for Linux FAQ: Distributions", namely:</font> <br> <br><font size=2 face="sans-serif">1) Downloaded and installed dnprogs-2.27-1.SUSE.i586.rpm</font> <br><font size=2 face="sans-serif">2) Created link for fal</font> <br><font size=2 face="sans-serif">3) edited /etc/init.d/decnet file for daemons to start</font> <br><font size=2 face="sans-serif">4) edited /etc/decnet.conf to declare executor/node names</font> <br><font size=2 face="sans-serif">5) edited /etc/dnetd.conf to modify objects</font> <br><font size=2 face="sans-serif">6) edited /etc/decnet.proxy for remote proxies</font> <br><font size=2 face="sans-serif">7) Copied and modified file ifcfg-eth0 (eth0 is the correct interface) to include the new address for the card</font> <br><font size=2 face="sans-serif">8) Updated kernel database</font> <br><font size=2 face="sans-serif">9) enabled decnet service</font> <br><font size=2 face="sans-serif">10) rebooted machine.</font> <br> <br><font size=2 face="sans-serif">After startup, the dnetd process is running but with no activity.</font> <br> <br><font size=2 face="sans-serif">The eth0 HWADDR is changed to reflect the new address entered into file ifcfg-eth0</font> <br> <br><font size=2 face="sans-serif">However, in the /var/log/boot.msg file the following message fragment appears:</font> <br> <br><font size=2 face="sans-serif">Starting DECnet...SIOCGIFINDEX: No such device</font> <br><font size=2 face="sans-serif">SIOCGIFFLAGS: No such device</font> <br><font size=2 face="sans-serif">/usr/sbin/setether: line 68: echo: write error: No such device</font> <br><font size=2 face="sans-serif">done</font> <br> <br><font size=2 face="sans-serif">Not suprisingly, no commands work, ie after issuing eg dndir, the cursor just sits waiting</font> <br> <br><font size=2 face="sans-serif">What am I doing wrong??<br> </font><font size=3 face="Utopia"><br> </font> |