Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12367 Discussions

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

Altera_Forum
Honored Contributor I
763 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 I
65 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 :/
Reply