Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VIA VT6120/6121/VT6122 GE NIC, kernel panic
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
tiketti
n00b
n00b


Joined: 29 Apr 2003
Posts: 32
Location: Finland

PostPosted: Sun Apr 09, 2006 10:40 am    Post subject: VIA VT6120/6121/VT6122 GE NIC, kernel panic Reply with quote

Just got ZyXEL GN650-T GE NIC (VIA VT6120/VT6121/VT6122 based by lspci) for free and ofcourse throwed it in to my SB1000.

Kernel driver compiles and loads just fine, as module and as build-in. But, when I try to activate the card, ie. use ifconfig or eth-script from /etc/init.d with /etc/conf.d/net, every time I get kernel panic:

Kernel panic - not syncing: Irrecoverable deferred error trap

But no dump nor nothing else on screen or in logs, system just hangs there.

Code:
# lspci
00:00.0 Host bridge: Sun Microsystems Computer Corp. Schizo PCI Bus Module
00:04.0 SCSI storage controller: QLogic Corp. QLA2200 64-bit Fibre Channel Adapter (rev 05)
0001:00:00.0 Host bridge: Sun Microsystems Computer Corp. Schizo PCI Bus Module
0001:00:01.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
0001:00:02.0 Ethernet controller: VIA Technologies, Inc. VT6120/VT6121/VT6122 Gigabit Ethernet Adapter (rev 01)
0001:00:05.0 Bridge: Sun Microsystems Computer Corp. RIO EBUS (rev 01)
0001:00:05.1 Ethernet controller: Sun Microsystems Computer Corp. RIO GEM (rev 01)
0001:00:05.2 FireWire (IEEE 1394): Sun Microsystems Computer Corp. RIO 1394 (rev 01)
0001:00:05.3 USB Controller: Sun Microsystems Computer Corp. RIO USB (rev 01)
0001:00:06.0 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 37)
0001:00:06.1 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 37)

Code:

Eth1 related parts from dmesg:

VIA Networking Velocity Family Gigabit Ethernet Adapter Driver Ver. 1.13
Copyright (c) 2002, 2003 VIA Networking Technologies, Inc.
Copyright (c) 2004 Red Hat Inc.
eth1: VIA Networking Velocity Family Gigabit Ethernet Adapter
eth1: Ethernet Address: 00:A0:C5:38:9B:76

Code:

# emerge --info
Portage 2.1_pre7-r4 (default-linux/sparc/sparc64/2006.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15.6 sparc64)
=================================================================
System uname: 2.6.15.6 sparc64 sun4u
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=ultrasparc3 -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=ultrasparc3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portagSYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="sparc X alsa apache2 arts avi berkdb bitmap-fonts bzip2 crypt dba dga dlloader dri dvd dvdread eds encode esd fbcon foomaticdb fortran gcc64 gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 ieee1394 imlib jpeg jpeg2k libwww mad mikmod motif mp3 mpeg msn mysql ncurses nls nptl ogg opengl oss pam pdflib perl php png python qt readline sdl spell ssl tcpd threads truetype truetype-fonts type1-fonts udev unicode usb vorbis xml xml2 xmms xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
e"


Otherwise the system is stable as rock. Any ideas?
_________________
Gentoo on x86, sparc, alpha, amd64, embedded
Back to top
View user's profile Send private message
tiketti
n00b
n00b


Joined: 29 Apr 2003
Posts: 32
Location: Finland

PostPosted: Mon Apr 10, 2006 4:33 pm    Post subject: Reply with quote

Ok, did my home work properly and found the obivious reason for velocity driver to cause kernel panic with sparc platform

/usr/src/linux/drivers/net/via-velocity.c wrote:

* TODO
* Big-endian support


And latest velocity driver I found from viaarena says:

CPU Supported
==========
This driver supports x86 and AMD64 based linux system.


Velocity driver should be masked from kernel config on big endian machines until someone rewrites the driver to support big endian platforms too.
_________________
Gentoo on x86, sparc, alpha, amd64, embedded
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum