The kernel and the rest were out of sync -
that's why pppoe wasn't working.
Sorry for the wrong report.

On 3/9/06, Alexander Farber <[EMAIL PROTECTED]> wrote:
>
> I was following -current with my home gateway on a dual-CPU HP Kayak XAs
> (full dmesg attached), but since mid-February I'm unable to do it anymore,
> because when I boot a newly compiled kernel, I get these repeating messages:
>
> Mar  9 15:31:59 gate /bsd: pppoe0: phase network
> Mar  9 15:31:59 gate /bsd: pppoe0: phase terminate
> Mar  9 15:32:09 gate /bsd: pppoe0: phase dead
> Mar  9 15:32:09 gate /bsd: pppoe0: phase establish
> Mar  9 15:32:09 gate /bsd: pppoe0: phase dead
> Mar  9 15:32:10 gate /bsd: pppoe0: phase establish
> Mar  9 15:32:10 gate /bsd: pppoe0: up
> Mar  9 15:32:10 gate /bsd: pppoe0: phase network
> Mar  9 15:32:10 gate /bsd: pppoe0: phase terminate
> Mar  9 15:32:20 gate /bsd: pppoe0: phase dead
> Mar  9 15:32:20 gate /bsd: pppoe0: phase establish
> Mar  9 15:32:20 gate /bsd: pppoe0: phase dead
>
> and I just can't get my ADSL connection working
> until I move my old kernel back and reboot.
>
> With the old kernel I also often see theses messages,
> but they don't stop pppoe from working:
>
> Mar  8 15:57:13 gate /bsd: pcn0: framing error
> Mar  8 15:57:13 gate /bsd: pcn0: CRC error
> Mar  8 16:07:09 gate /bsd: pcn0: framing error
> Mar  8 16:07:09 gate /bsd: pcn0: CRC error
> Mar  8 16:42:11 gate /bsd: pcn0: framing error
> Mar  8 16:42:11 gate /bsd: pcn0: CRC error
> Mar  8 16:46:01 gate /bsd: pcn0: CRC error
> Mar  8 16:52:01 gate /bsd: pcn0: CRC error
> Mar  8 17:42:47 gate /bsd: pcn0: CRC error
> Mar  8 17:47:42 gate /bsd: pcn0: CRC error
> ......
> Mar  9 01:30:03 gate /bsd: Data modified on freelist: word 4 of object 
> 0xd114090
> 0 size 0xc0 previous type devbuf (0xdeadbeee != 0xdeadbeef)
> Mar  9 01:30:03 gate /bsd: Data modified on freelist: word 4 of object 
> 0xd0f5610
> 0 size 0xc0 previous type devbuf (0xdeadbeed != 0xdeadbeef)
> .......
> Mar  8 13:52:53 gate /bsd: piixpm0: timeout, status 0x1<BUSY>
> Mar  8 13:52:56 gate /bsd: piixpm0: timeout, status 0x1<BUSY>
> ........
>
> Here is my /etc/hostname.pppoe0:
>
> pppoedev pcn0
> !/sbin/ifconfig pcn0 up
> !/usr/sbin/spppcontrol \$if myauthproto=pap \
> [EMAIL PROTECTED] myauthkey=XXXXXX
> !/sbin/ifconfig \$if inet 0.0.0.0 0.0.0.1 netmask 0xffffffff
> !/sbin/route add default 0.0.0.1
> up
>
> And my ifconfig with the new (not-working) kernel:
>
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33224
>         groups: lo
>         inet 127.0.0.1 netmask 0xff000000
>         inet6 ::1 prefixlen 128
>         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
> pcn0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         lladdr 00:10:83:34:8d:a6
>         media: Ethernet autoselect (100baseTX full-duplex)
>         status: active
>         inet6 fe80::210:83ff:fe34:8da6%pcn0 prefixlen 64 scopeid 0x1
> re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         lladdr 00:c0:49:fa:2b:c4
>         media: Ethernet autoselect (100baseTX full-duplex)
>         status: active
>         inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
>         inet6 fe80::2c0:49ff:fefa:2bc4%re0 prefixlen 64 scopeid 0x2
> ral0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         lladdr 00:0e:2e:57:84:de
>         media: IEEE802.11 autoselect hostap (autoselect mode 11b hostap)
>         status: active
>         ieee80211: nwid OPENBSD chan 4 bssid 00:0e:2e:57:84:de 100dBm
>         inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
>         inet6 fe80::20e:2eff:fe57:84de%ral0 prefixlen 64 scopeid 0x3
> pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33224
> pfsync0: flags=0<> mtu 1460
> enc0: flags=0<> mtu 1536
> pppoe0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1492
>         dev: pcn0 state: session
>         sid: 0x1ba8 PADI retries: 0 PADR retries: 0 time: 00:00:05
>         groups: pppoe egress
>         inet 0.0.0.0 --> 0.0.0.1 netmask 0xffffffff
>         inet6 fe80::210:83ff:fe34:8da6%pppoe0 ->  prefixlen 64 scopeid 0x8
>
> Does anybody please have any suggestions?
>
> Regards
> Alex
>
> PS: My /etc/pf.conf:
>
> ext_if="pppoe0"
> wlan_if="ral0"
> lan_if="re0"
> int_ports = "{ domain bootps 445 137 138 139 }"
> int_tcp_ports = "{ 8080 4000 www https smtp 995 587 }"
> ext_tcp_ports = "{ www https }"
> priv_nets = "{ 127/8 192.168/16 172.16/12 10/8 }"
>
> set block-policy return
> set loginterface $ext_if
> set skip on lo
>
> scrub in
> scrub out on pppoe0 random-id max-mss 1440
>
> # transparent squid cache
> rdr on $wlan_if inet proto tcp from $wlan_if:network \
>         to ! $wlan_if port www -> 127.0.0.1 port 8080
> rdr on $lan_if inet proto tcp from $lan_if:network \
>         to ! $lan_if port www -> 127.0.0.1 port 8080
>
> nat on $ext_if inet from $wlan_if:network to any -> ($ext_if)
> nat on $ext_if inet from $lan_if:network to any -> ($ext_if)
>
> block in log
> pass out keep state
>
> pass in quick on $ext_if proto { tcp udp } \
>         from any to ($ext_if) user samba keep state
>
> block out quick log on $ext_if proto { tcp, udp } all user www
>
> block quick log on $ext_if to $priv_nets
> block drop quick on $ext_if from $priv_nets
> antispoof quick for { $wlan_if $lan_if }
>
> # coming from LAN
> pass in quick log on $lan_if
>
> # coming from WLAN
> pass in quick log on $wlan_if
>
> # coming from internet
> pass in on $ext_if proto tcp \
>         from any to ($ext_if) port $ext_tcp_ports keep state
>
> PPS: my dmesg with -current from today:
>
> OpenBSD 3.9-current (GENERIC.MP.gate) #0: Thu Mar  9 15:26:46 CET 2006
>     [EMAIL PROTECTED]:/sys/arch/i386/compile/GENERIC.MP.gate
> cpu0: Intel Pentium III ("GenuineIntel" 686-class, 512KB L2 cache) 499 MHz
> cpu0: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MM
> X,FXSR,SSE
> real mem  = 402227200 (392800K)
> avail mem = 359620608 (351192K)
> using 4278 buffers containing 20213760 bytes (19740K) of memory
> mainbus0 (root)
> bios0 at mainbus0: AT/286+(0f) BIOS, date 04/03/00, BIOS32 rev. 0 @ 0xfd7ac
> apm0 at bios0: Power Management spec V1.2
> apm0: AC on, battery charge unknown
> apm0: flags 30102 dobusy 0 doidle 1
> pcibios0 at bios0: rev 2.1 @ 0xfd720/0x8e0
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf30/176 (9 entries)
> pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB ISA" rev 0x00)
> pcibios0: PCI bus #2 is the last bus
> bios0: ROM list: 0xc0000/0x8000 0xc8000/0x3800 0xcb800/0x4000
> mainbus0: Intel MP Specification (Version 1.4) (HP       XU/XW       )
> cpu0 at mainbus0: apid 1 (boot processor)
> cpu0: apic clock running at 99 MHz
> cpu1 at mainbus0: apid 0 (application processor)
> cpu1: Intel Pentium III ("GenuineIntel" 686-class, 512KB L2 cache) 499 MHz
> cpu1: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MM
> X,FXSR,SSE
> mainbus0: bus 0 is type PCI
> mainbus0: bus 1 is type PCI
> mainbus0: bus 2 is type PCI
> mainbus0: bus 3 is type ISA
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 11, 24 pins
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x02
> ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x02
> pci1 at ppb0 bus 1
> vga1 at pci1 dev 0 function 0 "Texas Instruments 3DLabs Permedia 2" rev 0x11
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
> pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 
> wi
> red to compatibility, channel 1 wired to compatibility
> pciide0: channel 0 disabled (no drives)
> atapiscsi0 at pciide0 channel 1 drive 0
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <HITACHI, CDR-8435, 0010> SCSI0 5/cdrom 
> removable
> cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
> uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: apic 2 int 19 
> (irq
> 11)
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0
> uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x02: SMI
> iic0 at piixpm0
> iic0: addr 0x48 00=17 01=00 02=2d 03=32 04=32 05=32 06=32 07=32 08=17 09=00 
> 0a=2
> d 0b=32 0c=32 0d=32 0e=32 0f=32 10=17 11=00 12=2d 13=32 14=32 15=32 16=32 
> 17=32
> 18=17 19=00 1a=2d 1b=32 1c=32 1d=32 1e=32 1f=32 20=17 21=00 22=2d 23=32 24=32 
> 25
> =32 26=32 27=32 28=17 29=00 2a=2d 2b=32 2c=32 2d=32 2e=32 2f=32 30=17 31=00 
> 32=2
> d 33=32 34=32 35=32 36=32 37=32 38=17 39=00 3a=2d 3b=32 3c=32 3d=32 3e=17 
> 3f=32
> 40=17 41=00 42=2d 43=32 44=32 45=32 46=32 47=32 48=17 49=00 4a=2d 4b=32 4c=32 
> 4d
> =32 4e=17 4f=32 50=17 51=00 52=2d 53=32 54=32 55=32 56=32 57=32 58=17 59=00 
> 5a=2
> d 5b=32 5c=32 5d=32 5e=32 5f=32 60=17 61=00 62=2d 63=32 64=32 65=32 66=32 
> 67=32
> 68=17 69=00 6a=2d 6b=32 6c=32 6d=32 6e=32 6f=32 70=17 71=00 72=2d 73=32 74=32 
> 75
> =32 76=32 77=32 78=17 79=00 7a=2d 7b=32 7c=32 7d=32 7e=32 7f=32 80=17 81=00 
> 82=2
> d 83=32 84=32 85=32 86=32 87=32 88=17 89=00 8a=2d 8b=32 8c=32 8d=32 8e=32 
> 8f=32
> 90=17 91=00 92=2d 93=32 94=32 95=32 96=32 97=32 98=17 99=00 9a=2d 9b=32 9c=32 
> 9d
> =32 9e=32 9f=32 a0=17 a1=00 a2=2d a3=32 a4=32 a5=32 a6=32 a7=32 a8=17 a9=00 
> aa=2
> d ab=32 ac=32 ad=32 ae=32 af=32 b0=17 b1=00 b2=2d b3=32 b4=32 b5=32 b6=32 
> b7=32
> b8=17 b9=00 ba=2d bb=32 bc=32 bd=32 be=32 bf=32 c0=17 c1=00 c2=2d c3=32 c4=32 
> c5
> =32 c6=32 c7=32 c8=17 c9=00 ca=2d cb=32 cc=32 cd=32 ce=32 cf=32 d0=17 d1=00 
> d2=2
> d d3=32 d4=32 d5=32 d6=32 d7=32 d8=17 d9=00 da=2d db=32 dc=32 dd=32 de=32 
> df=32
> e0=17 e1=00 e2=2d e3=32 e4=32 e5=32 e6=32 e7=32 e8=17 e9=00 ea=2d eb=32 ec=32 
> ed
> =32 ee=32 ef=32 f0=17 f1=00 f2=2d f3=32 f4=32 f5=32 f6=32 f7=32 f8=17 f9=00 
> fa=2
> d fb=32 fc=32 fd=32 fe=17 ff=32
> iic0: addr 0x49 00=1b 01=00 02=37 03=3c 04=3c 05=3c 06=3c 07=3c 08=1b 09=00 
> 0a=3
> 7 0b=3c 0c=3c 0d=3c 0e=3c 0f=3c 10=1b 11=00 12=37 13=3c 14=3c 15=3c 16=3c 
> 17=3c
> 18=1b 19=00 1a=37 1b=3c 1c=3c 1d=3c 1e=3c 1f=3c 20=1b 21=00 22=37 23=3c 24=3c 
> 25
> =3c 26=3c 27=3c 28=1b 29=00 2a=37 2b=3c 2c=3c 2d=3c 2e=3c 2f=3c 30=1b 31=00 
> 32=3
> 7 33=3c 34=3c 35=3c 36=3c 37=3c 38=1b 39=00 3a=37 3b=3c 3c=3c 3d=3c 3e=1b 
> 3f=3c
> 40=1b 41=00 42=37 43=3c 44=3c 45=3c 46=3c 47=3c 48=1b 49=00 4a=37 4b=3c 4c=3c 
> 4d
> =3c 4e=1b 4f=3c 50=1b 51=00 52=37 53=3c 54=3c 55=3c 56=3c 57=3c 58=1b 59=00 
> 5a=3
> 7 5b=3c 5c=3c 5d=3c 5e=3c 5f=3c 60=1b 61=00 62=37 63=3c 64=3c 65=3c 66=3c 
> 67=3c
> 68=1b 69=00 6a=37 6b=3c 6c=3c 6d=3c 6e=3c 6f=3c 70=1b 71=00 72=37 73=3c 74=3c 
> 75
> =3c 76=3c 77=3c 78=1b 79=00 7a=37 7b=3c 7c=3c 7d=3c 7e=3c 7f=3c 80=1b 81=00 
> 82=3
> 7 83=3c 84=3c 85=3c 86=3c 87=3c 88=1b 89=00 8a=37 8b=3c 8c=3c 8d=3c 8e=3c 
> 8f=3c
> 90=1b 91=00 92=37 93=3c 94=3c 95=3c 96=3c 97=3c 98=1b 99=00 9a=37 9b=3c 9c=3c 
> 9d
> =3c 9e=3c 9f=3c a0=1b a1=00 a2=37 a3=3c a4=3c a5=3c a6=3c a7=3c a8=1b a9=00 
> aa=3
> 7 ab=3c ac=3c ad=3c ae=3c af=3c b0=1b b1=00 b2=37 b3=3c b4=3c b5=3c b6=3c 
> b7=3c
> b8=1b b9=00 ba=37 bb=3c bc=3c bd=3c be=3c bf=3c c0=1b c1=00 c2=37 c3=3c c4=3c 
> c5
> =3c c6=3c c7=3c c8=1b c9=00 ca=37 cb=3c cc=3c cd=3c ce=3c cf=3c d0=1b d1=00 
> d2=3
> 7 d3=3c d4=3c d5=3c d6=3c d7=3c d8=1b d9=00 da=37 db=3c dc=3c dd=3c de=3c 
> df=3c
> e0=1b e1=00 e2=37 e3=3c e4=3c e5=3c e6=3c e7=3c e8=1b e9=00 ea=37 eb=3c ec=3c 
> ed
> =3c ee=3c ef=3c f0=1b f1=00 f2=37 f3=3c f4=3c f5=3c f6=3c f7=3c f8=1b f9=00 
> fa=3
> 7 fb=3c fc=3c fd=3c fe=1b ff=3c
> ppb1 at pci0 dev 16 function 0 "DEC 21152 PCI-PCI" rev 0x03
> pci2 at ppb1 bus 2
> siop0 at pci2 dev 4 function 0 "Symbios Logic 53c875" rev 0x26: apic 2 int 17 
> (i
> rq 9), using 4K of on-board RAM
> scsibus1 at siop0: 16 targets
> sd0 at scsibus1 targ 0 lun 0: <QUANTUM, ATLAS IV 9 WLS, 0707> SCSI3
> 0/direct fixed
> sd0: 8683MB, 13816 cyl, 4 head, 321 sec, 512 bytes/sec, 17783240 sec total
> pcn0 at pci2 dev 5 function 0 "AMD 79c970 PCnet-PCI" rev 0x36, Am79c972, rev 
> 6:
> apic 2 int 18 (irq 9), address 00:10:83:34:8d:a6
> lxtphy0 at pcn0 phy 1: LXT970 10/100 PHY, rev. 1
> ukphy0 at pcn0 phy 31: Generic IEEE 802.3u media interface, rev. 1: OUI 
> 0x00001a
> , model 0x0001
> re0 at pci0 dev 17 function 0 "US Robotics USR997902" rev 0x10: apic 2 int 18 
> (i
> rq 9), address 00:c0:49:fa:2b:c4
> rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 0
> ral0 at pci0 dev 18 function 0 "Ralink RT2560" rev 0x01: apic 2 int 16 (irq 
> 9),
> address 00:0e:2e:57:84:de
> ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
> pciide1 at pci0 dev 19 function 0 "CMD Technology AAR-1210SA" rev 0x02: DMA
> pciide1: using apic 2 int 17 (irq 9) for native-PCI interrupt
> pciide1: port 0: device present, speed: 1.5Gb/s
> wd0 at pciide1 channel 0 drive 0: <SAMSUNG SP1614C>
> wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
> wd0(pciide1:0:0): using BIOS timings, Ultra-DMA mode 7
> isa0 at pcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pmsi0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pmsi0 mux 0
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> spkr0 at pcppi0
> npx0 at isa0 port 0xf0/16: using exception 16
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> biomask 0 netmask 0 ttymask 0
> pctr: 686-class user-level performance counters enabled
> mtrr: Pentium Pro MTRR support
> apm0: disconnected
> siop0: target 0 now using tagged 16 bit 20.0 MHz 16 REQ/ACK offset xfers
> dkcsum: sd0 matches BIOS drive 0x80
> dkcsum: wd0 matches BIOS drive 0x81
> root on sd0a
> rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
> pppoe0: phase establish
> pppoe0: phase network
> pppoe0: phase terminate
> pppoe0: phase dead
> pppoe0: phase establish
> pppoe0: phase dead
> pppoe0: phase establish
> pppoe0: up
> pppoe0: phase network
> pppoe0: phase terminate
> pppoe0: phase dead
> pppoe0: phase establish
> pppoe0: phase dead
> pppoe0: phase establish
> pppoe0: up
> pppoe0: phase network
> pppoe0: phase terminate
> pppoe0: phase dead
> pppoe0: phase establish
> pppoe0: phase dead
> pppoe0: phase establish
> pppoe0: up

Reply via email to