[Yaird-devel] Bug#345374: via82cxxx not correctly detected ?

Jesus Climent jesus.climent at hispalinux.es
Wed Jan 4 23:31:50 UTC 2006


Hi.

When upgrading to yaird + linux-image-2.6.{14,15} i suffer from no dma since
yaird does not seem to find my via82cxxx ide controler.

output from initrd's init (relevant part):

/sbin/insmod '/lib/modules/2.6.15-1-686/kernel/drivers/usb/core/usbcore.ko'
/sbin/insmod '/lib/modules/2.6.15-1-686/kernel/drivers/usb/host/uhci-hcd.ko'
/sbin/insmod '/lib/modules/2.6.15-1-686/kernel/drivers/usb/host/ehci-hcd.ko'
/sbin/insmod '/lib/modules/2.6.15-1-686/kernel/drivers/usb/input/usbhid.ko'
/sbin/insmod '/lib/modules/2.6.15-1-686/kernel/drivers/input/mousedev.ko'
/sbin/insmod '/lib/modules/2.6.15-1-686/kernel/drivers/input/evdev.ko'
/sbin/insmod '/lib/modules/2.6.15-1-686/kernel/drivers/ide/ide-core.ko'
/sbin/insmod '/lib/modules/2.6.15-1-686/kernel/drivers/ide/ide-generic.ko'
/sbin/insmod '/lib/modules/2.6.15-1-686/kernel/drivers/ide/ide-disk.ko'
mkbdev '/dev/hda' 'hda'
mkbdev '/dev/hda2' 'hda/hda2'
/sbin/insmod '/lib/modules/2.6.15-1-686/kernel/fs/mbcache.ko'
/sbin/insmod '/lib/modules/2.6.15-1-686/kernel/fs/jbd/jbd.ko'
/sbin/insmod '/lib/modules/2.6.15-1-686/kernel/fs/ext3/ext3.ko'

However:

data at bishop:/tmp/tmp $ lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8378 [KM400/A] Chipset Host Bridge
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
0000:00:08.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 08)
0000:00:08.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 08)
0000:00:0a.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 80)
0000:00:0a.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 80)
0000:00:0f.0 IDE interface: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
0000:00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
0000:00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
0000:01:00.0 VGA compatible controller: Matrox Graphics, Inc. G400/G450 (rev 82)

Once I recreate the initrc.img file and reboot, with the following entries:

...
/sbin/insmod '/lib/modules/2.6.15-1-686/kernel/drivers/input/evdev.ko'
/sbin/insmod '/lib/modules/2.6.15-1-686/kernel/drivers/ide/ide-core.ko'
/sbin/insmod '/lib/modules/2.6.15-1-686/kernel/drivers/ide/pci/via82cxxx.ko'
/sbin/insmod '/lib/modules/2.6.15-1-686/kernel/drivers/ide/ide-disk.ko'
/sbin/insmod '/lib/modules/2.6.15-1-686/kernel/drivers/ide/ide-generic.ko'
mkbdev '/dev/hda' 'hda'
...

Everything starts working fine (DMA related):

bishop:~# hdparm /dev/hda

/dev/hda:
 multcount    =  0 (off)
 IO_support   =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)
 geometry     = 65535/16/63, sectors = 117231408, start = 0

Cheers,

-- 
Jesus Climent                                      info:www.pumuki.org
Unix SysAdm|Linux User #66350|Debian Developer|2.6.14|Helsinki Finland
GPG: 1024D/86946D69 BB64 2339 1CAA 7064 E429  7E18 66FC 1D7F 8694 6D69

Do us a favor...I know it's difficult for you...but please, stay here, 
and try not to do anything...stupid.
		--Jack Sparrow (Pirates of the Caribbean)




More information about the Yaird-devel mailing list