Open Tech Support
Open 

Tech Support Community
Back to HomeCommunityReviewsGuidesDownloadsLinkageMarketplaceContact Us

 »  Forum Navigation

Home
Post a Question
About Our Site
Support Our Site

What is this site?
Who are we?

Tolitz.Com - The Cynic Eye of the Third World Guy

Enhanced with Snapshots

 

 »  Advertisement


Go Back   Open Tech Support Community > SUPPORT FORUMS > Software




Reply

 

LinkBack Thread Tools
Old 06-03-2006, 08:55 AM   #1 (permalink)

I Live in OTS
 
FadedMaster's Avatar
 
Join Date: Aug 2003
Location: Wisconsin
Posts: 1,716


VT6421L SATA PCI Card

I have a SATA/ATA PCI card with the VIA VT6421L chipset. I'm running Mandrake Linux 10.1. I'm unable to get the drivers from VIA's site to work, here's what I get when using the console:

Code:
gcc -c -DVIA_LINUX -DMULTIPLE_CARD_SUPPORT -DMODULE -D__KERNEL__=1 -O -DMODVERSIONS -I/usr/src/linux/include -I/usr/src/linux/include/asm -I/usr/src/linux/drivers/scsi -Wall  viapubraid.c
In file included from viapubraid.h:9,
                 from viapubraid.c:21:
/usr/include/linux/modversions.h:1:2: #error "======================================================="
/usr/include/linux/modversions.h:2:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/modversions.h:3:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/modversions.h:4:2: #error ""
/usr/include/linux/modversions.h:5:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/modversions.h:6:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/modversions.h:7:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/modversions.h:8:2: #error "currently running kernel. They should only be"
/usr/include/linux/modversions.h:9:2: #error "included via other system header files - user space"
/usr/include/linux/modversions.h:10:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/modversions.h:11:2: #error "<asm/*.h> as well."
/usr/include/linux/modversions.h:12:2: #error ""
/usr/include/linux/modversions.h:13:2: #error "To build kernel modules please do the following:"
/usr/include/linux/modversions.h:14:2: #error ""
/usr/include/linux/modversions.h:15:2: #error " o Have the kernel sources installed"
/usr/include/linux/modversions.h:16:2: #error ""
/usr/include/linux/modversions.h:17:2: #error " o Make sure that the symbolic link"
/usr/include/linux/modversions.h:18:2: #error "   /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/modversions.h:19:2: #error "   the matching kernel source directory"
/usr/include/linux/modversions.h:20:2: #error ""
/usr/include/linux/modversions.h:21:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/modversions.h:22:2: #error "   /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/modversions.h:23:2: #error ""
/usr/include/linux/modversions.h:24:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/modversions.h:25:2: #error "   compiler option to use the correct include files:"
/usr/include/linux/modversions.h:26:2: #error ""
/usr/include/linux/modversions.h:27:2: #error "   -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/modversions.h:28:2: #error ""
/usr/include/linux/modversions.h:29:2: #error "   instead of"
/usr/include/linux/modversions.h:30:2: #error ""
/usr/include/linux/modversions.h:31:2: #error "   -I/usr/include/linux"
/usr/include/linux/modversions.h:32:2: #error ""
/usr/include/linux/modversions.h:33:2: #error "   Please adjust the Makefile accordingly."
/usr/include/linux/modversions.h:34:2: #error "======================================================="
In file included from viapubraid.h:23,
                 from viapubraid.c:21:
/usr/src/linux/include/linux/blk.h:1:2: warning: #warning this file is obsolete, please use <linux/blkdev.h> instead
In file included from /usr/src/linux/include/linux/irq.h:20,
                 from /usr/src/linux/include/asm/hardirq.h:6,
                 from /usr/src/linux/include/linux/interrupt.h:12,
                 from /usr/src/linux/include/asm/highmem.h:24,
                 from /usr/src/linux/include/linux/highmem.h:14,
                 from /usr/src/linux/include/linux/pagemap.h:10,
                 from /usr/src/linux/include/linux/blkdev.h:10,
                 from /usr/src/linux/include/linux/blk.h:2,
                 from viapubraid.h:23,
                 from viapubraid.c:21:
/usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directoryIn file included from /usr/src/linux/include/asm/hardirq.h:6,
                 from /usr/src/linux/include/linux/interrupt.h:12,
                 from /usr/src/linux/include/asm/highmem.h:24,
                 from /usr/src/linux/include/linux/highmem.h:14,
                 from /usr/src/linux/include/linux/pagemap.h:10,
                 from /usr/src/linux/include/linux/blkdev.h:10,
                 from /usr/src/linux/include/linux/blk.h:2,
                 from viapubraid.h:23,
                 from viapubraid.c:21:
/usr/src/linux/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/src/linux/include/linux/irq.h:72,
                 from /usr/src/linux/include/asm/hardirq.h:6,
                 from /usr/src/linux/include/linux/interrupt.h:12,
                 from /usr/src/linux/include/asm/highmem.h:24,
                 from /usr/src/linux/include/linux/highmem.h:14,
                 from /usr/src/linux/include/linux/pagemap.h:10,
                 from /usr/src/linux/include/linux/blkdev.h:10,
                 from /usr/src/linux/include/linux/blk.h:2,
                 from viapubraid.h:23,
                 from viapubraid.c:21:
/usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
In file included from viapubraid.c:21:
viapubraid.h:55:16: sd.h: No such file or directory
In file included from viapubraid.h:56,
                 from viapubraid.c:21:
/usr/src/linux/drivers/scsi/hosts.h:1:2: warning: #warning "This file is obsolete, please use <scsi/scsi_host.h> instead"
In file included from viapubraid.c:21:
viapubraid.h:57:23: constants.h: No such file or directory
In file included from viapubraid.c:22:
viaprvdef.h:89: error: syntax error before '*' token
viapubraid.c:76: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
viapubraid.c:76: warning: data definition has no type or storage class
viapubraid.c: In function `viaraid_intr':
viapubraid.c:85: error: `io_request_lock' undeclared (first use in this function)
viapubraid.c:85: error: (Each undeclared identifier is reported only once
viapubraid.c:85: error: for each function it appears in.)
viapubraid.c: In function `viaraid_Detect':
viapubraid.c:163: warning: implicit declaration of function `pci_present'
viapubraid.c: At top level:
viapubraid.c:250: error: syntax error before '*' token
viapubraid.c: In function `viaraid_BiosParam':
viapubraid.c:259: error: `disk' undeclared (first use in this function)
viapubraid.c:262: error: `geom' undeclared (first use in this function)
viapubraid.c: In function `TaskQueue':
viapubraid.c:321: error: structure has no member named `host'
viapubraid.c:322: error: structure has no member named `target'
viapubraid.c:323: error: structure has no member named `lun'
viapubraid.c: In function `via_request_irq':
viapubraid.c:498: warning: passing arg 2 of `request_irq' from incompatible pointer type
viapubraid.c: At top level:
viapubraid.c:550: warning: initialization from incompatible pointer type
viapubraid.c:550: error: unknown field `command' specified in initializer
viapubraid.c:550: warning: initialization from incompatible pointer type
viapubraid.c:550: error: unknown field `use_new_eh_code' specified in initializer
make: *** [viapubraid.o] Error 1
[nickolas@localhost driver]$ su
Password:
[root@localhost driver]# make
gcc -c -DVIA_LINUX -DMULTIPLE_CARD_SUPPORT -DMODULE -D__KERNEL__=1 -O -DMODVERSIONS -I/usr/src/linux/include -I/usr/src/linux/include/asm -I/usr/src/linux/drivers/scsi -Wall  viapubraid.c
In file included from viapubraid.h:9,
                 from viapubraid.c:21:
/usr/include/linux/modversions.h:1:2: #error "======================================================="
/usr/include/linux/modversions.h:2:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/modversions.h:3:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/modversions.h:4:2: #error ""
/usr/include/linux/modversions.h:5:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/modversions.h:6:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/modversions.h:7:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/modversions.h:8:2: #error "currently running kernel. They should only be"
/usr/include/linux/modversions.h:9:2: #error "included via other system header files - user space"
/usr/include/linux/modversions.h:10:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/modversions.h:11:2: #error "<asm/*.h> as well."
/usr/include/linux/modversions.h:12:2: #error ""
/usr/include/linux/modversions.h:13:2: #error "To build kernel modules please do the following:"
/usr/include/linux/modversions.h:14:2: #error ""
/usr/include/linux/modversions.h:15:2: #error " o Have the kernel sources installed"
/usr/include/linux/modversions.h:16:2: #error ""
/usr/include/linux/modversions.h:17:2: #error " o Make sure that the symbolic link"
/usr/include/linux/modversions.h:18:2: #error "   /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/modversions.h:19:2: #error "   the matching kernel source directory"
/usr/include/linux/modversions.h:20:2: #error ""
/usr/include/linux/modversions.h:21:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/modversions.h:22:2: #error "   /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/modversions.h:23:2: #error ""
/usr/include/linux/modversions.h:24:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/modversions.h:25:2: #error "   compiler option to use the correct include files:"
/usr/include/linux/modversions.h:26:2: #error ""
/usr/include/linux/modversions.h:27:2: #error "   -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/modversions.h:28:2: #error ""
/usr/include/linux/modversions.h:29:2: #error "   instead of"
/usr/include/linux/modversions.h:30:2: #error ""
/usr/include/linux/modversions.h:31:2: #error "   -I/usr/include/linux"
/usr/include/linux/modversions.h:32:2: #error ""
/usr/include/linux/modversions.h:33:2: #error "   Please adjust the Makefile accordingly."
/usr/include/linux/modversions.h:34:2: #error "======================================================="
In file included from viapubraid.h:23,
                 from viapubraid.c:21:
/usr/src/linux/include/linux/blk.h:1:2: warning: #warning this file is obsolete, please use <linux/blkdev.h> instead
In file included from /usr/src/linux/include/linux/irq.h:20,
                 from /usr/src/linux/include/asm/hardirq.h:6,
                 from /usr/src/linux/include/linux/interrupt.h:12,
                 from /usr/src/linux/include/asm/highmem.h:24,
                 from /usr/src/linux/include/linux/highmem.h:14,
                 from /usr/src/linux/include/linux/pagemap.h:10,
                 from /usr/src/linux/include/linux/blkdev.h:10,
                 from /usr/src/linux/include/linux/blk.h:2,
                 from viapubraid.h:23,
                 from viapubraid.c:21:
/usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directoryIn file included from /usr/src/linux/include/asm/hardirq.h:6,
                 from /usr/src/linux/include/linux/interrupt.h:12,
                 from /usr/src/linux/include/asm/highmem.h:24,
                 from /usr/src/linux/include/linux/highmem.h:14,
                 from /usr/src/linux/include/linux/pagemap.h:10,
                 from /usr/src/linux/include/linux/blkdev.h:10,
                 from /usr/src/linux/include/linux/blk.h:2,
                 from viapubraid.h:23,
                 from viapubraid.c:21:
/usr/src/linux/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/src/linux/include/linux/irq.h:72,
                 from /usr/src/linux/include/asm/hardirq.h:6,
                 from /usr/src/linux/include/linux/interrupt.h:12,
                 from /usr/src/linux/include/asm/highmem.h:24,
                 from /usr/src/linux/include/linux/highmem.h:14,
                 from /usr/src/linux/include/linux/pagemap.h:10,
                 from /usr/src/linux/include/linux/blkdev.h:10,
                 from /usr/src/linux/include/linux/blk.h:2,
                 from viapubraid.h:23,
                 from viapubraid.c:21:
/usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
In file included from viapubraid.c:21:
viapubraid.h:55:16: sd.h: No such file or directory
In file included from viapubraid.h:56,
                 from viapubraid.c:21:
/usr/src/linux/drivers/scsi/hosts.h:1:2: warning: #warning "This file is obsolete, please use <scsi/scsi_host.h> instead"
In file included from viapubraid.c:21:
viapubraid.h:57:23: constants.h: No such file or directory
In file included from viapubraid.c:22:
viaprvdef.h:89: error: syntax error before '*' token
viapubraid.c:76: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
viapubraid.c:76: warning: data definition has no type or storage class
viapubraid.c: In function `viaraid_intr':
viapubraid.c:85: error: `io_request_lock' undeclared (first use in this function)
viapubraid.c:85: error: (Each undeclared identifier is reported only once
viapubraid.c:85: error: for each function it appears in.)
viapubraid.c: In function `viaraid_Detect':
viapubraid.c:163: warning: implicit declaration of function `pci_present'
viapubraid.c: At top level:
viapubraid.c:250: error: syntax error before '*' token
viapubraid.c: In function `viaraid_BiosParam':
viapubraid.c:259: error: `disk' undeclared (first use in this function)
viapubraid.c:262: error: `geom' undeclared (first use in this function)
viapubraid.c: In function `TaskQueue':
viapubraid.c:321: error: structure has no member named `host'
viapubraid.c:322: error: structure has no member named `target'
viapubraid.c:323: error: structure has no member named `lun'
viapubraid.c: In function `via_request_irq':
viapubraid.c:498: warning: passing arg 2 of `request_irq' from incompatible pointer type
viapubraid.c: At top level:
viapubraid.c:550: warning: initialization from incompatible pointer type
viapubraid.c:550: error: unknown field `command' specified in initializer
viapubraid.c:550: warning: initialization from incompatible pointer type
viapubraid.c:550: error: unknown field `use_new_eh_code' specified in initializer
make: *** [viapubraid.o] Error 1
I'm quite new to Linux, so any help is greatly appreciated. I believe the card itself is a Syba card. Cheap, yes. Haha. It works in Windows XP, and shows up as an unknown device on here.

-----------------------------
Desktop: Windows 7 Ultimate x64
CoolerMaster Centurion 534
Asus P5B Deluxe (w/ WiFi)
Intel Core 2 Duo E6600
4GB Corsair XMS2 PC2 6400
300GB 10000 RPM VeolciRaptor
250GB 7200 RPM SATA Maxtor
2 x 1TB WD MyBooks
BFG GeForce 8800 GT OC 512MB
630w Corsair PSU

Laptop: HP dv6885se
FadedMaster is offline   Reply With Quote
Sponsored Links
Old 06-03-2006, 04:29 PM   #2 (permalink)

I Live in OTS
 
FadedMaster's Avatar
 
Join Date: Aug 2003
Location: Wisconsin
Posts: 1,716


Re: VT6421L SATA PCI Card

Okay, I switched to SuSE 10.1. It's recognized, and it can read my hard drive that's hooked up to the card, but I'm not sure how I would go about mounting it.

It's showing up under /dev/sda1 and sda2. I'm not quite sure how to get them to mount. It's one drive with two partitoins.

EDIT: Alright, I found out how to mount the partitions. They're mounted, however, they're read-only, and can only be accessed by the root user. I tried logging in as the root user and changing the settings so that it is "owned" by my standard user account, however it tells me that it is read only. I checked the information of the partition using Partitioner, and the box for it to be read-only is unchecked. So now I'm out of ideas. I don't have a huge problem with it being read-only, however, the problem is that I cannot access it under my normal user account.

-----------------------------
Desktop: Windows 7 Ultimate x64
CoolerMaster Centurion 534
Asus P5B Deluxe (w/ WiFi)
Intel Core 2 Duo E6600
4GB Corsair XMS2 PC2 6400
300GB 10000 RPM VeolciRaptor
250GB 7200 RPM SATA Maxtor
2 x 1TB WD MyBooks
BFG GeForce 8800 GT OC 512MB
630w Corsair PSU

Laptop: HP dv6885se

Last edited by FadedMaster; 06-03-2006 at 05:03 PM..
FadedMaster is offline   Reply With Quote
Old 06-05-2006, 01:44 PM   #3 (permalink)

Gentoo Linux User
 
Ion Silverbolt's Avatar
 
Join Date: Jun 2000
Location: US
Posts: 5,391


Re: VT6421L SATA PCI Card

What does it say in your fstab file? If any of those drives are ntfs, they will only be read only unless you have write support in the kernel.

-----------------------------
www.netbooklinux.org
Ion Silverbolt is offline   Reply With Quote
Old 06-05-2006, 06:43 PM   #4 (permalink)

I Live in OTS
 
FadedMaster's Avatar
 
Join Date: Aug 2003
Location: Wisconsin
Posts: 1,716


Re: VT6421L SATA PCI Card

I restarted the computer and now they show up and work just fine. Haha. But now I'm having issues with AmaroK. It crashes, and I'm sure it has something to do with the system thingy that I'm using to play the music. I tried all of them, Helix, Gstreamer, etc. I can get Banshee to play WMAs but not MP3s using Gstreamer. It's strange. I can't get it to play MP3s though, and I've tried several MP3 plug ins for Gstreamer.

EDIT: Oh yes, I also forgot to mention that Banshee will randomly experience an error. Usually when it goes to the next track I will recieve an error message. I'm currently on my Windows XP partition so I can't type up the error, I'll type it up later. But it will also randomly happen during some songs. And then there are newer WMA files (ones I believe that are encoded with 9.1 audio), that don't work.

-----------------------------
Desktop: Windows 7 Ultimate x64
CoolerMaster Centurion 534
Asus P5B Deluxe (w/ WiFi)
Intel Core 2 Duo E6600
4GB Corsair XMS2 PC2 6400
300GB 10000 RPM VeolciRaptor
250GB 7200 RPM SATA Maxtor
2 x 1TB WD MyBooks
BFG GeForce 8800 GT OC 512MB
630w Corsair PSU

Laptop: HP dv6885se
FadedMaster is offline   Reply With Quote
Reply

Bookmarks

Thread Tools


Similar Threads

Thread Thread Starter Forum Replies Last Post
buying video card, advice needed rabidgecko Hardware 48 04-28-2006 05:08 PM
DVD Decoder Card & Memory Questions stephentony Hardware 7 03-26-2006 05:08 PM
Sound card stops Graphics card from working cmitsys Hardware 2 10-20-2005 07:31 AM
3D Games/nVIDIA Demos only run stable when sound card is disabled or removed...HELP!! Lester Hardware 3 08-17-2001 06:37 AM







Powered by vBulletin® Version 3.8.2. Copyright © 2000-2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2
Copyright 2000-2008 Open Tech Support.  All Rights Reserved.  Site Design and Development by Tolitz Rosel.