hi
Am 02.07.2018 um 09:24 schrieb Claudio Jeker:
> On Sun, Jul 01, 2018 at 06:26:04AM +0200, Holger Glaess wrote:
>> hi
>>
>>
>> normaly work this on intel ,
>>
>> farin# cat /etc/hostname.lo2
>>
>> rdomain 2
>> inet 127.0.0.1/8
> This stopped working some time ago. Now lo2 is automatically created when
> rdomain 2 is created. The problem is that actually /etc/netstart is
> creating the loopback interface first and so when trying to create lo2 for
> rdomain 2 the code fails.
i renumberd my rdomains from 1 to 10 and so on , and then they boot
as espected.
> For now I suggest you remove '/etc/hostname.lo2' and move the route
> commands to '/etc/hostname.cnmac3' along with
> '!/sbin/ifconfig lo2 inet 127.0.0.1/8'
>
> This needs to be reconsidered, I wanted to auto assign loopback networks
> on all lo(4) interfaces which are auto created but failed until now.
> Will look into this at g2k18 again
>
> Also you can use rcctl to boot services in different rdomains.
> Symlink the ftp-proxy rc script to e.g. ftp-proxy_r2
> rcctl enable ftp-proxy_r2
> rcctl set ftp-proxy_r2 rtable 2
> rcctl start ftp-proxy_r2
since when is this rcctl enhancement working ?
in my current from 29.6. is not
holger
>
>> !/sbin/route -n -T 2 exec /usr/sbin/ftp-proxy -D 7
>> !/sbin/route -n -T 2 add default 127.0.0.1
>>
>>
>> farin# cat /etc/hostname.cnmac3
>>
>> rdomain 2
>> inet 192.168.132.252/24
>> up
>>
>>
>> but if i boot the Edgerouter , i got 3 times the message
>>
>> ifconfig: SIOCSIFRDOMAIN: File exists
>>
>>
>> and cnmac3 ist not in rdomain 2
>>
>>
>> if do an manual
>>
>> sh /etc/netstart cnmac3
>>
>> everything is fine.
>>
>>
>> i use 6.3 current see dmesg bellow
>>
>>
>> any clue for me ?
>>
>> holger
>>
>>
>>
>> Copyright (c) 1982, 1986, 1989, 1991, 1993
>> The Regents of the University of California. All rights reserved.
>> Copyright (c) 1995-2018 OpenBSD. All rights reserved.
>> https://www.OpenBSD.org
>>
>> OpenBSD 6.3-current (GENERIC.MP) #0: Sun Jun 24 03:55:02 UTC 2018
>> visa@octeon:/usr/src/sys/arch/octeon/compile/GENERIC.MP
>> real mem = 1073741824 (1024MB)
>> avail mem = 1038057472 (989MB)
>> mainbus0 at root: board 20300 rev 1.20
>> cpu0 at mainbus0: CN70xx/CN71xx CPU rev 0.2 1000 MHz, CN70xx/CN71xx FPU rev
>> 0.0
>> cpu0: cache L1-I 78KB 39 way D 32KB 32 way, L2 1024KB 8 way
>> cpu1 at mainbus0: CN70xx/CN71xx CPU rev 0.2 1000 MHz, CN70xx/CN71xx FPU rev
>> 0.0
>> cpu1: cache L1-I 78KB 39 way D 32KB 32 way, L2 1024KB 8 way
>> cpu2 at mainbus0: CN70xx/CN71xx CPU rev 0.2 1000 MHz, CN70xx/CN71xx FPU rev
>> 0.0
>> cpu2: cache L1-I 78KB 39 way D 32KB 32 way, L2 1024KB 8 way
>> cpu3 at mainbus0: CN70xx/CN71xx CPU rev 0.2 1000 MHz, CN70xx/CN71xx FPU rev
>> 0.0
>> cpu3: cache L1-I 78KB 39 way D 32KB 32 way, L2 1024KB 8 way
>> clock0 at mainbus0: int 5
>> octcrypto0 at mainbus0
>> iobus0 at mainbus0
>> simplebus0 at iobus0: "soc"
>> octciu0 at simplebus0
>> octcib0 at simplebus0: max-bits 23pass out quick on $wlan_vif inet proto udp from $fritzbox_wan to 192.168.133.0/24 rtable 1
>> octcib1 at simplebus0: max-bits 12
>> octcib2 at simplebus0: max-bits 6
>> octcib3 at simplebus0: max-bits 15
>> octcib4 at simplebus0: max-bits 4
>> octcib5 at simplebus0: max-bits 11
>> octcib6 at simplebus0: max-bits 11
>> cn30xxsmi0 at simplebus0
>> octxctl0 at simplebus0: DWC3 rev 0x250a
>> xhci0 at octxctl0, xHCI 1.0
>> usb0 at xhci0: USB revision 3.0
>> uhub0 at usb0 configuration 1 interface 0 "Generic xHCI root hub" rev
>> 3.00/1.00 addr 1
>> octxctl1 at simplebus0: DWC3 rev 0x250a
>> xhci1 at octxctl1, xHCI 1.0
>> usb1 at xhci1: USB revision 3.0
>> uhub1 at usb1 configuration 1 interface 0 "Generic xHCI root hub" rev
>> 3.00/1.00 addr 1
>> com0 at simplebus0: ns16550a, 64 byte fifo
>> com0: console
>> com1 at simplebus0: ns16550a, 64 byte fifo
>> com1: probed fifo depth: 0 bytes
>> octmmc0 at simplebus0
>> sdmmc0 at octmmc0: 8-bit, mmc high-speed
>> sdmmc1 at octmmc0: 8-bit, mmc high-speedpass out quick on $wlan_vif inet proto udp from $fritzbox_wan to 192.168.133.0/24 rtable 1
>> octrng0 at iobus0 base 0x1400000000000 irq 0
>> cn30xxgmx0 at iobus0 base 0x1180008000000
>> cnmac0 at cn30xxgmx0: SGMII, address fc:ec:da:40:fa:42
>> ukphy0 at cnmac0 phy 4: Generic IEEE 802.3u media interface, rev. 2: OUI
>> 0x0001c1, model 0x000c
>> cnmac1 at cn30xxgmx0: SGMII, address fc:ec:da:40:fa:43
>> ukphy1 at cnmac1 phy 5: Generic IEEE 802.3u media interface, rev. 2: OUI
>> 0x0001c1, model 0x000c
>> cnmac2 at cn30xxgmx0: SGMII, address fc:ec:da:40:fa:44
>> ukphy2 at cnmac2 phy 6: Generic IEEE 802.3u media interface, rev. 2: OUI
>> 0x0001c1, model 0x000c
>> cnmac3 at cn30xxgmx0: SGMII, address fc:ec:da:40:fa:45
>> ukphy3 at cnmac3 phy 7: Generic IEEE 802.3u media interface, rev. 2: OUI
>> 0x0001c1, model 0x000c
>> cn30xxgmx1 at iobus0 base 0x1180010000000
>> cnmac4 at cn30xxgmx1: SGMII, address fc:ec:da:40:fa:46
>> ukphy4 at cnmac4 phy 8: Generic IEEE 802.3u media interface, rev. 0: OUI
>> 0x0001c1, model 0x0027
>> cnmac5 at cn30xxgmx1: SGMII, address fc:ec:da:40:fa:47
>> ukphy5 at cnmac5 phy 9: Generic IEEE 802.3u media interface, rev. 0: OUI
>> 0x0001c1, model 0x0027
>> /dev/ksyms: Symbol table not valid.
>> umass0 at uhub0 port 2 configuration 1 interface 0 "Generic USB3.0 Card
>> Reader" rev 3.00/15.32 addr 2
>> umass0: using SCSI over Bulk-Only
>> scsibus0 at umass0: 2 targets, initiator 0
>> sd0 at scsibus0 targ 1 lun 0: <Generic, STORAGE DEVICE, 1532> SCSI4 0/direct
>> removable serial.05e30749000000001532
>> sd0: 61056MB, 512 bytes/sector, 125042688 sectors
>> sdmmc1: can't enable card
>> scsibus1 at sdmmc0: 2 targets, initiator 0
>> sd1 at scsibus1 targ 1 lun 0: <Sandisk, SEM04G, 0000> SCSI2 0/direct
>> removable
>> sd1: 3776MB, 512 bytes/sector, 7733248 sectors
>> vscsi0 at root
>> scsibus2 at vscsi0: 256 targets
>> softraid0 at root
>> scsibus3 at softraid0: 256 targets
>> boot device: sd0
>> root on sd0a (1e8c6ddb499f7a0a.a) swap on sd0b dump on sd0b
>> WARNING: No TOD clock, believing file system.
>> WARNING: CHECK AND RESET THE DATE!
>>
>> Automatic boot in progress: starting file system checks.
>> /dev/sd0a (1e8c6ddb499f7a0a.a): file system is clean; not checking
>> /dev/sd0l (1e8c6ddb499f7a0a.l): file system is clean; not checking
>> /dev/sd0d (1e8c6ddb499f7a0a.d): file system is clean; not checking
>> /dev/sd0f (1e8c6ddb499f7a0a.f): file system is clean; not checking
>> /dev/sd0g (1e8c6ddb499f7a0a.g): file system is clean; not checking
>> /dev/sd0h (1e8c6ddb499f7a0a.h): file system is clean; not checking
>> /dev/sd0k (1e8c6ddb499f7a0a.k): file system is clean; not checking
>> /dev/sd0j (1e8c6ddb499f7a0a.j): file system is clean; not checking
>> /dev/sd0e (1e8c6ddb499f7a0a.e): file system is clean; not checking
>> setting tty flags
>> pf enabled
>> net.inet.ip.forwarding: 0 -> 1
>> net.inet6.ip6.forwarding: 0 -> 1
>> net.inet6.icmp6.nd6_debug: 0 -> 0
>> net.inet.ipcomp.enable: 0 -> 1
>> net.pipex.enable: 0 -> 1
>> net.inet.gre.allow: 0 -> 1
>> net.inet.ip.ifq.maxlen: 2048 -> 2048
>> net.inet6.ip6.ifq.maxlen: 2048 -> 4096
>> net.inet.gre.wccp: 0 -> 1
>> net.inet.udp.recvspace: 41600 -> 262144
>> net.inet.udp.sendspace: 9216 -> 262144
>> starting network
>> ifconfig: SIOCSIFRDOMAIN: File exists
>> ifconfig: SIOCSIFRDOMAIN: File exists
>> ifconfig: SIOCSIFRDOMAIN: File exists
>> add net default: gateway 127.0.0.1
>> add net default: gateway 127.0.0.1
>> add net default: gateway 127.0.0.1
>> reordering libraries: done.
>> starting early daemons: syslogd pflogd unbound ntpd.
>> starting RPC daemons:.
>> savecore: /bsd: kvm_read: version misread
>> checking quotas: done.
>> kvm_mkdb: can't open /dev/ksyms
>> clearing /tmp
>> kern.securelevel: 0 -> 1
>> creating runtime link editor directory cache.
>> preserving editor files.
>> starting network daemons: sshd dhcpd smtpd.
>> starting package daemons: siproxd dhcpd2(failed).
>> starting local daemons: cron.
>> Sun Jul 1 06:15:17 CEST 2018
>>
>>
>>
>>
>>
No comments:
Post a Comment