FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 12-12-2008, 01:27 AM
Christoph Fritsche
 
Default Bug#508527: 2.6.26-11 oops on initial NIC (via-velocity) setup

Package: kernel
Version: 2.6.26-11
Tags: lenny

I get an kernel oops while booting lenny after dist-upgrading from etch. The oops occurs when usually the VT6120/VT6121/VT6122 Gigabit Ethernet Adapter (via-velocity) is getting configured. Its 100% reproducible, booting a fresh weekly build lenny installer result in the same crashes.

---8<---
[ 60.663481] BUG: unable to handle kernel NULL pointer dereference at 00000000
[ 60.664009] IP: [<00000000>]
[ 60.664009] *pde = 00000000
[ 60.664009] Oops: 0000 [#1] SMP
[ 60.664009] Modules linked in: dm_crypt crypto_blkcipher dm_snapshot dm_mirror dm_log dm_mod via_rng rng_core loop evdev tpm_infineon tpm tpm_bios serio_raw snd_pcm sns
[ 60.664009]
[ 60.664009] Pid: 2062, comm: ifconfig Not tainted (2.6.26-1-686 #1)
[ 60.664009] EIP: 0060:[<00000000>] EFLAGS: 00010046 CPU: 0
[ 60.664009] EIP is at 0x0
[ 60.664009] EAX: 000000a3 EBX: 00003d20 ECX: 01bd7000 EDX: c0372940
[ 60.664009] ESI: c0372940 EDI: 00000000 EBP: 000000a3 ESP: f7b1fe50
[ 60.664009] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[ 60.664009] Process ifconfig (pid: 2062, ti=f7b1e000 task=f744f940 task.ti=f7b1e000)
[ 60.664009] Stack: c0105f3a f7847000 f74019c0 f7847c10 000080d0 c01042a7 f7847000 000000fc
[ 60.664009] 00001000 f74019c0 f7847c10 000080d0 00000000 0000007b 0000007b 000000d8
[ 60.664009] ffffff5c c0171d01 00000060 00010216 f77963e0 00000000 f7b38100 f7afc000
[ 60.664009] Call Trace:
[ 60.664009] [<c0105f3a>] do_IRQ+0x4d/0x63
[ 60.664009] [<c01042a7>] common_interrupt+0x23/0x28
[ 60.664009] [<c0171d01>] __kmalloc+0x9c/0xb2
[ 60.664009] [<f88426b0>] velocity_init_td_ring+0x32/0xe1 [via_velocity]
[ 60.664009] [<f8843848>] velocity_open+0x16d/0x20f [via_velocity]
[ 60.664009] [<c0259d26>] dev_open+0x64/0x95
[ 60.664009] [<c0258c14>] dev_change_flags+0x92/0x13b
[ 60.664009] [<c0292a1e>] devinet_ioctl+0x232/0x52c
[ 60.664009] [<c024e71b>] sock_ioctl+0x19f/0x1c1
[ 60.664009] [<c024e57c>] sock_ioctl+0x0/0x1c1
[ 60.664009] [<c017e3f0>] vfs_ioctl+0x1c/0x5d
[ 60.664009] [<c017e67b>] do_vfs_ioctl+0x24a/0x261
[ 60.664009] [<c017e6d3>] sys_ioctl+0x41/0x5a
[ 60.664009] [<c0103853>] sysenter_past_esp+0x78/0xb1
[ 60.664009] =======================
[ 60.664009] Code: Bad EIP value.
[ 60.664009] EIP: [<00000000>] 0x0 SS:ESP 0068:f7b1fe50
[ 60.664009] Kernel panic - not syncing: Fatal exception in interrupt
--->8---



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 12-24-2008, 02:49 PM
Moritz Muehlenhoff
 
Default Bug#508527: 2.6.26-11 oops on initial NIC (via-velocity) setup

reassign 508527 linux-2.6
thanks

On Fri, Dec 12, 2008 at 03:27:19AM +0100, Christoph Fritsche wrote:
> Package: kernel
> Version: 2.6.26-11
> Tags: lenny
>
> I get an kernel oops while booting lenny after dist-upgrading from etch. The
> oops occurs when usually the VT6120/VT6121/VT6122 Gigabit Ethernet Adapter
> (via-velocity) is getting configured. Its 100% reproducible, booting a fresh
> weekly build lenny installer result in the same crashes.

This is likely fixed by upstream commit
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3c4dc7115dfdb9e0450b7a3b0649948 f5356d4af

Could test, whether this fixes the problem for you, so that it can
be considered for a point update of the kernel?

Cheers,
Moritz



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 12-27-2008, 02:00 AM
"junk mail"
 
Default Bug#508527: 2.6.26-11 oops on initial NIC (via-velocity) setup

I had the same issue, the kernel would oops as soon as it loaded the via driver (every time).* I did not pull patches out of git, as was requested of the original bug submitter, I just pulled the via-velocity.(c|h) out of 2.6.28, and diffed them against what was in debian's 2.6.26 source package.* It did not look like anything would prevent the newer version from being used, so I replaced the via-velocity.* files in the debian source package.*


Works great, so far.* So, the bug does appear to be an upstream one, that has been fixed.

I did this before reading the bug report, but not sure those patches in git would address the issue.* Unless I am reading things wrong, it looks like they were committed before 2.6.26 was released.



g
 
Old 01-04-2009, 11:26 PM
Christoph Fritsche
 
Default Bug#508527: 2.6.26-11 oops on initial NIC (via-velocity) setup

Thanks Moritz and "junk mail" for pointing out.

I can confirm both ways do work. Taking via-velocity.* from git or 2.6.28
sources will fix this issue.

I pulled the current version of via-velocity.* from git diffed and patched
against linux-source-2.6.26. I did some basic testing like sending jumbo
frames and putting some load to the NIC.

It looks like the 2.6.28 kernel makes not use of the latest git version of
via-velocity.* nevertheless it works too.

Have fun
Christoph



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-13-2010, 12:38 PM
Ben Hutchings
 
Default Bug#508527: 2.6.26-11 oops on initial NIC (via-velocity) setup

On Wed, 2010-01-13 at 14:05 +0100, Bill Allombert wrote:
> On Sun, Dec 27, 2009 at 12:53:43AM +0000, Ben Hutchings wrote:
> > There is a pending stable update to Debian 5.0 "lenny" that may
> > fix this issue. Please test it. You will need to add the
> > stable-proposed-updates suite to your APT sources, e.g. add this
> > line to /etc/apt/sources.list:
> >
> > deb http://ftp.debian.org/debian lenny-proposed-updates main
> >
> > Then run:
> >
> > apt-get update
> > apt-get install linux-image-2.6.26-2-amd64=2.6.26-21
>
> Hello Ben, I am the submitter of 508923.
> I have installed the 32bit kernel on my VIA C7 (VIA C7 does not do 64bit)
> (linux-image-2.6.26-2-i686=2.6.26-21) and it does not fix this issue,
> the kernel crashes in the same way. The changelog does not mention any
> fix to via-velocity though.

I'm sorry, my previous message was sent in error. The potential fix for
via-velocity was added after 2.6.26-21. If you are willing to rebuild
the kernel, please check out
<svn://svn.debian.org/wsvn/kernel/dists/lenny/linux-2.6/> and follow the
instructions at
<http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-common-official> (aside from running apt-get source!).

Ben.

--
Ben Hutchings
The generation of random numbers is too important to be left to chance.
- Robert Coveyou
 

Thread Tools




All times are GMT. The time now is 11:25 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org