Re: edgerouter poe panics when bringing network up at boot

2024-07-07 Thread Visa Hankala
On Sat, Jul 06, 2024 at 11:11:43AM +0200, Landry Breuil wrote: > Le Tue, Jul 02, 2024 at 07:50:56PM +, Miod Vallat a écrit : > > > hi, > > > > > > playing with 7.5 on an edgerouter poe, it panics at boot: > > > > Congratulations, you've reached a divide by zero in the kernel. > > > > This is

Re: edgerouter poe panics when bringing network up at boot

2024-07-06 Thread Landry Breuil
Le Tue, Jul 02, 2024 at 07:50:56PM +, Miod Vallat a écrit : > > hi, > > > > playing with 7.5 on an edgerouter poe, it panics at boot: > > Congratulations, you've reached a divide by zero in the kernel. > > This is caused by cn30xxgmx_rgmii_speed() setting the local variable > `baudrate' to z

Re: edgerouter poe panics when bringing network up at boot

2024-07-04 Thread Visa Hankala
On Thu, Jul 04, 2024 at 01:06:49PM +0200, Landry Breuil wrote: > Le Wed, Jul 03, 2024 at 02:31:02PM +, Visa Hankala a écrit : > > On Wed, Jul 03, 2024 at 03:02:52PM +0200, Landry Breuil wrote: > > > Le Tue, Jul 02, 2024 at 07:50:56PM +, Miod Vallat a écrit : > > > > > hi, > > > > > > > > >

Re: edgerouter poe panics when bringing network up at boot

2024-07-04 Thread Landry Breuil
Le Wed, Jul 03, 2024 at 02:31:02PM +, Visa Hankala a écrit : > On Wed, Jul 03, 2024 at 03:02:52PM +0200, Landry Breuil wrote: > > Le Tue, Jul 02, 2024 at 07:50:56PM +, Miod Vallat a écrit : > > > > hi, > > > > > > > > playing with 7.5 on an edgerouter poe, it panics at boot: > > The condi

Re: edgerouter poe panics when bringing network up at boot

2024-07-03 Thread Visa Hankala
On Wed, Jul 03, 2024 at 03:02:52PM +0200, Landry Breuil wrote: > Le Tue, Jul 02, 2024 at 07:50:56PM +, Miod Vallat a écrit : > > > hi, > > > > > > playing with 7.5 on an edgerouter poe, it panics at boot: > > > > Congratulations, you've reached a divide by zero in the kernel. > > > > This is

Re: edgerouter poe panics when bringing network up at boot

2024-07-03 Thread Miod Vallat
> digging in the archives, i found > https://marc.info/?l=openbsd-bugs&m=151063517020444&w=2 which seems to > say that it'd be better to apparently skip that port (and that there's > no hope for the two remaining ports ?) Good work digging into the archives, I was not aware of that previous report

Re: edgerouter poe panics when bringing network up at boot

2024-07-03 Thread Landry Breuil
Le Tue, Jul 02, 2024 at 07:50:56PM +, Miod Vallat a écrit : > > hi, > > > > playing with 7.5 on an edgerouter poe, it panics at boot: > > Congratulations, you've reached a divide by zero in the kernel. > > This is caused by cn30xxgmx_rgmii_speed() setting the local variable > `baudrate' to z

Re: edgerouter poe panics when bringing network up at boot

2024-07-02 Thread Miod Vallat
> hi, > > playing with 7.5 on an edgerouter poe, it panics at boot: Congratulations, you've reached a divide by zero in the kernel. This is caused by cn30xxgmx_rgmii_speed() setting the local variable `baudrate' to zero (with an XXX comment) prior to dividing by it. The following diff sweeps th

Re: edgerouter poe panics when bringing network up at boot

2024-07-02 Thread Landry Breuil
Le Tue, Jul 02, 2024 at 09:31:42PM +0200, Landry Breuil a écrit : > hi, > > playing with 7.5 on an edgerouter poe, it panics at boot: > > starting network > > Trap cause = 13 Frame 0x98ba79b8 > Trap PC 0x8108f438 RA 0x8108f41c fault 0x9fc9ae078 > cn30xxgmx_rgmii_speed+0x2

edgerouter poe panics when bringing network up at boot

2024-07-02 Thread Landry Breuil
hi, playing with 7.5 on an edgerouter poe, it panics at boot: starting network Trap cause = 13 Frame 0x98ba79b8 Trap PC 0x8108f438 RA 0x8108f41c fault 0x9fc9ae078 cn30xxgmx_rgmii_speed+0x270 (c0004870,b4b2685682005875,10,7e683fa7441755a4) ra 0x810919ac