Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 346083

Summary: kernel oops while loading via82cxxx
Product: Gentoo Release Media Reporter: Michael Lange <gentoobugs>
Component: EverythingAssignee: Gentoo Release Team <releng>
Status: RESOLVED FIXED    
Severity: normal CC: esigra, kernel
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 334341    
Bug Blocks:    

Description Michael Lange 2010-11-19 15:23:38 UTC
i can't boot from latest livecd (autobuild) because i get a kernel oops with via_init_one failure
my mainboard has a "VIA VT6415" chip connected to the ide-cdrom with the install-cd 
the install-cd use the kernel 2.6.34-gentoo-r12
so i found this on http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.35-git11.log

commit 2a800b7bd926c739c07c1690579f03bbd6f1b5a3
Author: Yann Dirson <ydirson@altern.org>
Date:   Sun Jul 18 16:11:06 2010 -0700

    via82cxxx: fix typo for VT6415 PCIE PATA IDE Host Controller support.
    
    Without this fix, init of the via82cxxx driver causes a oops with a
    stack resembling the one below, and the boot blocks between init of
    USB devices and launch of init (was easy to bisect by booting with
    init=/bin/sh).
    
     Pid: 279, comm: work_for_cpu Not tainted 2.6.34.1-00003-ga42ea77 #2
     Call Trace:
      [<ffffffff81045691>] ? warn_slowpath_common+0x76/0x8c
      [<ffffffff810456f9>] ? warn_slowpath_fmt+0x40/0x45
      [<ffffffff812eb5a1>] ? printk+0x40/0x47
      [<ffffffff8108e1fd>] ? enable_irq+0x3e/0x64
      [<ffffffffa0003900>] ? ide_probe_port+0x55c/0x589 [ide_core]
      [<ffffffffa0003f22>] ? ide_host_register+0x273/0x628 [ide_core]
      [<ffffffffa00083e3>] ? ide_pci_init_two+0x4da/0x5c5 [ide_core]
      [<ffffffff8106117e>] ? up+0xe/0x36
      [<ffffffff81045d7e>] ? release_console_sem+0x17e/0x1ae
      [<ffffffff812d945b>] ? klist_iter_exit+0x14/0x1e
      [<ffffffff8120ed23>] ? bus_find_device+0x75/0x83
      [<ffffffffa0022832>] ? via_init_one+0x269/0x28a [via82cxxx]
      [<ffffffffa00223a2>] ? init_chipset_via82cxxx+0x0/0x1ea [via82cxxx]
      [<ffffffff81059f25>] ? do_work_for_cpu+0x0/0x1b
      [<ffffffff81190c65>] ? local_pci_probe+0x12/0x16
      [<ffffffff81059f30>] ? do_work_for_cpu+0xb/0x1b
      [<ffffffff8105d0dd>] ? kthread+0x75/0x7d
      [<ffffffff810097e4>] ? kernel_thread_helper+0x4/0x10
      [<ffffffff8105d068>] ? kthread+0x0/0x7d
      [<ffffffff810097e0>] ? kernel_thread_helper+0x0/0x10
     ---[ end trace 89c8cb70379b5bda ]---
    
    The typo was introduced in a354ae8747d0687093ce244e76b15b6174d2f098,
    and affects 2.6.33-rc4 and later.
    
    Signed-off-by: Yann Dirson <ydirson@altern.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>


Reproducible: Always

Steps to Reproduce:
1. boot latest install-cd on a mainboard with VIA VT6415
2.
3.

Actual Results:  
failed to boot from cd

Expected Results:  
boot from cd
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2010-12-01 18:14:45 UTC
@kernel:

Any chance of getting a backport of this to the 2.6.34 kernel series or when do you expect us to have a stable 2.6.35 or later kernel marked stable?
Comment 2 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2010-12-02 04:13:42 UTC
Actually we already have a stable 2.6.35 kernel for x86 and amd64 should be done soon.
Comment 3 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-06-19 13:46:39 UTC
As we got new kernel versions marked stable, I expect this to be fixed.
Feel free to reopen the bug if you hit this again.