LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-22-2006, 04:26 PM   #1
byteframe
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 62

Rep: Reputation: 15
Quick VIA chipset question, Support for K8T890 ?


I'm looking at the A8V-E Deluxe to replace my socket 754 K8V-Deluxe. The names themselve seem to indicated a similiartiy. With the k8v Ive enjoyed in-kernel linux support, and with the supplied, K8T800/8237 chipset combination, and I was wondering If I would stop having such great support with the a8v-e's K8T890/VT8237R combination. I would bet that I should be fine, but just in case, is their anything to worry about/ look into?

I will be using SATA and the IDE, no RAID, and have been using the via-sata driver with my k8v. Dont care about the integrated audio, as I use a sound blaster.

thanks.
 
Old 06-22-2006, 08:38 PM   #2
byteframe
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 62

Original Poster
Rep: Reputation: 15
Bump Bump Bump
 
Old 07-22-2006, 05:01 AM   #3
pcmcginty
LQ Newbie
 
Registered: Jul 2006
Posts: 1

Rep: Reputation: 0
I think I have a similiar setup ... the Asus M2V board. Actually I am having problems using IDE DVD drive. There is a noticable latency in the system when the drive is being accessed, I think related to lack of DMA ... I'm looking into it now.

Here is my lspci output ...

Code:
00:00.0 Host bridge: VIA Technologies, Inc. Unknown device 0351
00:00.1 Host bridge: VIA Technologies, Inc. Unknown device 1351
00:00.2 Host bridge: VIA Technologies, Inc. Unknown device 2351
00:00.3 Host bridge: VIA Technologies, Inc. Unknown device 3351
00:00.4 Host bridge: VIA Technologies, Inc. Unknown device 4351
00:00.5 PIC: VIA Technologies, Inc. Unknown device 5351
00:00.6 Host bridge: VIA Technologies, Inc. Unknown device 6238
00:00.7 Host bridge: VIA Technologies, Inc. Unknown device 7351
00:01.0 PCI bridge: VIA Technologies, Inc. Unknown device b999
00:02.0 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller
00:03.0 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller
00:03.1 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller
00:03.2 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller
00:03.3 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller
00:0f.0 IDE interface: VIA Technologies, Inc. VT8237A SATA 2-Port Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 07)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237A PCI to ISA Bridge
00:11.7 Host bridge: VIA Technologies, Inc. VT8251 Ultra VLINK Controller
00:13.0 PCI bridge: VIA Technologies, Inc. VT8237A PCI to PCIE Bridge
00:13.1 PCI bridge: VIA Technologies, Inc. VT8237A PCI to PCI Bridge
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
02:00.0 VGA compatible controller: nVidia Corporation GeForce 6200 TurboCache(TM) (rev a1)
07:01.0 Class 0403: VIA Technologies, Inc. VIA High Definition Audio Controller (rev 10)
08:06.0 Ethernet controller: Intel Corporation 82541PI Gigabit Ethernet Controller (rev 05)
 
Old 08-04-2006, 02:08 AM   #4
McBruce
LQ Newbie
 
Registered: Aug 2006
Posts: 1

Rep: Reputation: 0
Hi, I was just trying to set up a friend's new system, which has an asus M2V, and VIA K8T890 chipset. At the moment, I'm trying to install ubuntu 6.06 (cause she needs something easy to use), but it doesn't seem to be recognising either the sata controller (ie it doesn't recognise the hard drive), and it doesn't appear to recognise the inbuilt ethernet either.

This is vexing me. : (

Anybody have any ideas of whether this is a ubuntu problem, or a more general problem?
 
Old 08-05-2006, 03:15 AM   #5
cmcginty
LQ Newbie
 
Registered: Feb 2002
Posts: 9

Rep: Reputation: 0
I was able to solve my issues with the DMA. This error was actually due to the south bridge VT8237A not being detected properly. I found a patch online that fixes this issue, but requires you to rebuild the kerenl. This doesn't help you for a fresh install though. If possible you could try installing to a PATA drive and then upgrade the kernel to get the SATA drives working.

The patch is located here:

http://forums.viaarena.com/messagevi...&enterthread=y

The ASUS website has source code for a kernel module that will enable the ethernet. I tried this out, but I was seeing data corruptions and hangs when using NFS shares. I had to get a PCI ethernet card. Until ASUS comes out with better drivers or new ones are written, I don't think there is much hope for getting it working.

Last edited by cmcginty; 08-05-2006 at 03:18 AM.
 
Old 08-06-2006, 12:06 AM   #6
byteframe
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 62

Original Poster
Rep: Reputation: 15
What kernel were you using before that patch?
 
Old 08-07-2006, 11:28 PM   #7
cmcginty
LQ Newbie
 
Registered: Feb 2002
Posts: 9

Rep: Reputation: 0
It was 2.6.17.6 I think.
 
Old 08-08-2006, 01:05 AM   #8
byteframe
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 62

Original Poster
Rep: Reputation: 15
Ordered the a8v-se-e or whatever, here goes.
 
Old 08-10-2006, 09:59 PM   #9
jcliburn
Member
 
Registered: Dec 2003
Location: Mississippi, USA
Distribution: Fedora
Posts: 435

Rep: Reputation: 33
I had to go through some gyrations to get FC5 installed on the M2V. There's no kernel support yet for the SATA controller. I had to hack the driver and manually apply it during the install. Every kernel upgrade requires a driver rebuild and a new initrd in order to boot from SATA.

I used the NIC driver that came with the motherboard (I compiled it from source), but it doesn't build in 2.6.17 kernels (and beyond) without a patch. I have the patch if anyone wants it. This also has to be rebuilt with each new kernel upgrade.

Don't buy the M2V unless you don't mind doing this sort of thing. Get the M2N instead.
 
Old 08-18-2006, 03:05 PM   #10
phaniramj
LQ Newbie
 
Registered: Aug 2006
Posts: 3

Rep: Reputation: 0
M2V NIC on kernel 2.6.17

Since I bought the Motherboard.. I have to stick with it.. can you please send me NIC patch.

Thanks
Phani
 
Old 08-18-2006, 08:44 PM   #11
jcliburn
Member
 
Registered: Dec 2003
Location: Mississippi, USA
Distribution: Fedora
Posts: 435

Rep: Reputation: 33
Quote:
Originally Posted by phaniramj
Since I bought the Motherboard.. I have to stick with it.. can you please send me NIC patch.
I'm happy with the board; the kernel just needs to catch up.

The NIC patch is nothing more than replacing all occurrences of "tso_size" with "gso_size" in at_main.c.

Let me know if you run into problems.

Jay
 
Old 08-19-2006, 02:17 PM   #12
phaniramj
LQ Newbie
 
Registered: Aug 2006
Posts: 3

Rep: Reputation: 0
Smile Thanks a lot

That fix is working. Thank you very much
 
Old 08-21-2006, 09:47 PM   #13
phaniramj
LQ Newbie
 
Registered: Aug 2006
Posts: 3

Rep: Reputation: 0
One more Question

Quote:
Originally Posted by jcliburn
I'm happy with the board; the kernel just needs to catch up.

The NIC patch is nothing more than replacing all occurrences of "tso_size" with "gso_size" in at_main.c.

Let me know if you run into problems.

Jay

Jay,

I know I am asking more questions, but you are the only person who I think knows the in and out of the M2V motherboard.

How did you get the SATA Working.. Did you use the patch provided in VIA website and can you give a very little description on how u did it and the last one is can we use the Marvell SATA controller for booting and if so where can I get the driver or the patch for the kernel.

I sincerely thank you for your help.

Thanks
Phani
 
Old 08-22-2006, 08:17 AM   #14
jcliburn
Member
 
Registered: Dec 2003
Location: Mississippi, USA
Distribution: Fedora
Posts: 435

Rep: Reputation: 33
No, I didn't use anything provided on the Via website. I just made a one-line change to the sata_via driver in the FC5 2054 kernel source that caused the kernel to recognize the SATA controller. The complicated part is getting the installer to suck in the modified sata_via driver so it can see the controller in order to install the OS. Once the OS is installed, you have to modify it, too, because it doesn't know about the SATA controller, either.

I wrote this howto more as a reminder for myself than anything else. Hopefully it'll help, although I realize it's not well formatted. Note that this procedure is focused on *booting* FC5 from a SATA drive, not booting from an IDE drive and just enabling SATA after the fact.

Contact me by email at jcliburn at gmail dot com for instructions on obtaining the prebuilt driver files you'll need.

PREREQUISITES:
1. A working system with a floppy drive to which you'll copy driver files.
2. The target (Asus M2V) system must also have a floppy drive from which you'll copy driver files.
3. The desired target system OS must be FC5.x86_64.
4. The hard disk must be a non-RAID SATA drive. This procedure won't work for IDE/PATA drives, nor was it written for SATA RAID drives. I have a single SATA drive installed in my M2V system.
5. You must be willing to rebuild the sata_via module each time you update your kernel. This means you'll also need to download kernel source with each kernel update and rebuild/reinstall the module and update initrd BEFORE you reboot following a kernel update.


PROCEDURE:
* Get libata.ko and sata_via.ko.
* Copy libata.ko and sata_via.ko to a floppy disk.

The remaining steps are executed on the target (Asus M2V) system.

* Insert the FC5.x86_64 install disk. (DVD is easiest.)
* Reboot.
* At the boot prompt, press Enter.
* Select the language and such when prompted.
* Eventually, since the installer can't detect your hard drive, you'll be asked to choose the drivers manually. DON'T PRESS ANYHTING ON THIS WINDOW! Just let it sit.
* Press ctrl-alt-F2; you'll be presented with a shell terminal.
* Insert your floppy disk containing the drivers.
* Execute the following commands:
mkdir /mnt/fd
mount /dev/fd0 /mnt/fd
modprobe /mnt/fd/libata.ko
modprobe /mnt/fd/sata_via.ko
umount /mnt/fd

* Eject the floppy disk.
* Now press ctrl-alt-F1 to return to the install screen.
* Click "No" in the "choose driver install" window.
* Proceed with normal FC5 installation. After the installation is complete, the DVD tray will eject and you'll be asked to reboot. DON'T REMOVE THE DVD, AND DON'T REBOOT!
* Reinsert the DVD. We need to boot from it again and copy our drivers to the hard drive.
* Reboot.
* At the boot prompt, enter "linux rescue".
* Select the language and such when prompted.
* Eventually, since the installer can't detect your hard drive, you'll be asked to choose the drivers manually. DON'T PRESS ANYHTING ON THIS WINDOW! Just let it sit.
* Press ctrl-alt-F2; you'll be presented with a shell window.
* Insert your floppy disk containing the drivers.
* Execute the following commands:
mkdir /mnt/fd
mount /dev/fd0 /mnt/fd
modprobe /mnt/fd/libata.ko
modprobe /mnt/fd/sata_via.ko
umount /mnt/fd

* DON'T EJECT THE FLOPPY DISK.
* Now press ctrl-alt-F1 to return to the install screen.
* Click "No" in the "choose driver install" window.
* When prompted whether you want to chroot /mnt/sysimage, click "Continue". You'll be presented with a shell prompt.
* Enter "chroot /mnt/sysimage". You can now alter files on your hard drive.
* Execute these commands:
cd /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/scsi
cp libata.ko libata.ko.orig
cp sata_via.ko sata_via.ko.orig
mount /dev/fd0 /mnt
cp /mnt/libata.ko .
cp /mnt/sata_via.ko .
umount /mnt
cd /etc
vi modprobe.conf and add this line:
alias scsi_hostadapter sata_via
Save and exit vi.
cd /boot
mv initrd-2.6.15-1.2054_FC5.img initrd-2.6.15-1.2054_FC5.img.orig
mkinitrd --preload=libata initrd-2.6.15-1.2054_FC5.img 2.6.15-1.2054_FC5

* Eject the DVD.
* Eject the floppy disk.
* Enter the following commands:
exit
exit

* The system should now reboot to FC5 on your SATA drive.
 
Old 08-24-2006, 08:06 AM   #15
witto
LQ Newbie
 
Registered: Aug 2006
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by jcliburn
No, I didn't use anything provided on the Via website. I just made a one-line change to the sata_via driver in the FC5 2054 kernel source that caused the kernel to recognize the SATA controller. The complicated part is getting the installer to suck in the modified sata_via driver so it can see the controller in order to install the OS. Once the OS is installed, you have to modify it, too, because it doesn't know about the SATA controller, either.

...

Contact me by email at jcliburn at gmail dot com for instructions on obtaining the prebuilt driver files you'll need.
Hi Jay,

Could you tell us what change did you make to the sata_via driver?
I've been trying since yesterday to get it to work but all I've got is a 120 sec countdown before a segfault while trying to load the driver I've compiled.

Thanks for your help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Quick question for adding smb support to Cups tgo Linux - Software 6 01-31-2007 05:17 AM
Ubuntu on A8V-E (VIA K8T890) dkarmelk Linux - Hardware 0 11-24-2005 04:32 PM
chipset support for fedora c1 tarheel92x Fedora 2 04-14-2004 12:37 PM
Intel chipset support sojeurn Linux - Hardware 1 05-12-2003 01:56 AM
Recompiling RH 7.1 to disable DMA support - chipset doesn't support properly arby73 Linux - Newbie 0 06-13-2001 10:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration