Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12600 Discussions

Kernel panic after 7 days, 18hours, 30minutes if VLAN is up

Altera_Forum
Honored Contributor II
1,113 Views

I always get a Kernel panic after 7 days, 18hours and 30 minutes (186 hours and half) when I have my ethernet connection with VLANs in the OS (nios2 nommu running kernel 2.6.39). If the ethernet connection is without VLAN, the system works fine. 

 

The crash moment is not traffic dependent, but some traffic is necessary for crashing, with no traffic the crash does not happen. 

 

The ethernet driver an adaptation of open_eth for the Altera UDP/IP Ethernet Core. 

 

Any help is welcome.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
415 Views

It must be something with the value of the jiffies and vlan-ethernet layer for the nios2 architecture with the kernel v.2.6.39.4. 

 

The problem appears when the jiffies reaches the value 0x04000000. Modifying INITIAL_JIFFIES it's possible to do fast tests doing the system go down (crashing) just when the system starts. 

I have tested it with the kernel v.3.5 and it doesn't happen :/
0 Kudos
Reply