VectorLinux
December 19, 2014, 04:36:17 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: VL 6 Installed - Can't Install LILO - Don't Know How to Boot VL  (Read 3853 times)
frank1e
Member
*
Posts: 24


« on: October 05, 2009, 06:57:49 am »

When I finish installing VL 6 at the very end it asks me to install LILO to the MBR. It cant install to the mbr, not to a boot sector or to a floppy. Everytime I try it gives me an error message. I have the entire vl 6 installed but I cannot figure out how to make it boot!! Please help anyone. Here is the error message I was able to find it using a win xp program that lets me read the linux  drives.

Warning: Unable to determine video adapter in use in the present system.
Warning: Video adapter does not support VESA BIOS extensions needed for
  display of 256 colors.  Boot loader will fall back to TEXT only operation.
Warning: Device 0x0800: Inconsistent partition table, 1st entry
  CHS address in PT:  0:1:1  -->  LBA (60)
  LBA address in PT:  32  -->  CHS (0:0:33)
Fatal: Either FIX-TABLE or IGNORE-TABLE must be specified
If not sure, first try IGNORE-TABLE (-P ignore)

It doesn't give me any options after that. I guess I should mention the way I am installing is to start with I am using unetbootin program to help install from harddrive.  For some reason the vl gui install always freezes sio I've been doing the text install.  Man the entire install has completed. I just can;'t get LILO to install correctly and can't figure out a way to make it boot. Is there a program I can use to format a floppy to let it boot??  Or a way I can get to the linux shell so i can try to get a copy of the bootsect.lnx then I can use that to load linux with windows ntloadert but I need to first be able to access the linux drives.

I have just one harddrive. It is partitioned with C: which is 30 gigs and has win xp its ntfs the first partition. then a linux swap opartition 3 gigs, a linux root partition thats 5 gigs and a linux home partition thats 15 gigs all ext2.

  Sorry don't mean to offend anyone but I'm going to re-post this as a new thread so hopefully someones notices and can help me get this running Ive been at this wayyyy to long now.
Logged
hata_ph
Packager
Vectorian
****
Posts: 3261


-- Just being myself --


« Reply #1 on: October 05, 2009, 07:29:07 am »

try this...

http://forum.vectorlinux.com/index.php?topic=9992.0

btw, can you check in your PC BIOS HDD setting. Try play around with it and reinstall LILO.

http://ubuntuforums.org/showthread.php?t=860619

what display card you are using?
« Last Edit: October 05, 2009, 07:37:53 am by hata_ph » Logged
newt
Vectorian
****
Posts: 1132



« Reply #2 on: October 05, 2009, 08:06:19 am »

I'm just thinking out loud here, do not try any of this unless it can be corroborated by someone with certainty. Also, I have no idea how the 'unetbootin' process works or changes the procedure so this info may be way off target.

NOTE: This assumes you have an IDE hard drive and the primary master is the drive you've installed linux to (i.e. hda). This is very subjective and may not be the case.

-Boot to text installer
-exit the text installer to shell
-list your hard drive partition information (fdisk -l /dev/hda)
-mount your target partition (ex. mount /dev/hdaX /mnt/target)
-chroot to your target partition (ex. chroot /mnt/target /bin/bash)
-edit your /etc/lilo.conf for your system specifics (THE LILO ENTRIES NEED TO BE CORRECT!!)
-make sure you have an entry for your WindowsXP system (see below for example)
-save your edits
-install lilo to mbr (ex. lilo -v)
-if you get the same error message as before then try with the ignore-table option (ex. lilo -v -P ignore)
-you should a line of text saying 'writing boot sector', and no error messages.
-if all looks good, then type 'exit'
-at this point lilo should be installed. Rebooting should display lilo with your boot options (Vectorlinux and WinXP)

Example for Windows entry in lilo:
Quote
# Windows partition boot option
other = /dev/hda1
  label = WindowsXP
  table = /dev/hda
« Last Edit: October 05, 2009, 08:23:07 am by newt » Logged
frank1e
Member
*
Posts: 24


« Reply #3 on: October 05, 2009, 08:28:47 am »

try this...

http://forum.vectorlinux.com/index.php?topic=9992.0

btw, can you check in your PC BIOS HDD setting. Try play around with it and reinstall LILO.

http://ubuntuforums.org/showthread.php?t=860619

what display card you are using?

Ok dude nice link looks like he has the exact same problem. His solution was to run lilo -p.  But how do I do that? Lilo was installing from the vl 6 text installer not from a command prompt. I dont have any idea how to get to the command prompt yet cause I cant boot. I can only boot to windows. im stuck with a linux partition just sitting there that i cant access.  some way i can like make some kinda boot floppy so i can access lilo and run lilo -p?  And what directory would I have to be in to do that assuming I can figure out how to get to the shell / command prompt?  oh btw my video card is a nvidia 6200 agp I dont think thats the problem though i can handle that on my own later.
Logged
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #4 on: October 05, 2009, 08:31:45 am »

I ran into the same problem on a laptop I have.  For me the solution was to install Vectorlinux, without adding Windows to the bootlist.
Then once Vector is up and running, start vliloconf as root from the terminal.
For some reason the installer lilo configuration stumbled over adding windows to the boot menu, but running vliloconf after the install process worked just fine.

I realize this method is going to require a great deal of courage as your windows will be unaccessible if the second vliloconf does not set it up.  So maybe another member can come up with a less risky solution.

Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
frank1e
Member
*
Posts: 24


« Reply #5 on: October 05, 2009, 08:52:24 am »

I ran into the same problem on a laptop I have.  For me the solution was to install Vectorlinux, without adding Windows to the bootlist.
Then once Vector is up and running, start vliloconf as root from the terminal.
For some reason the installer lilo configuration stumbled over adding windows to the boot menu, but running vliloconf after the install process worked just fine.

I realize this method is going to require a great deal of courage as your windows will be unaccessible if the second vliloconf does not set it up.  So maybe another member can come up with a less risky solution.



dude you rock! after probably 14 hours of messing with this it works.  i installed lilo to the mbr and it installed fine by not adding one of the windows boot options.  turns out if i had known more about linux it was tyring to add some win on \dev\sda why a sata drive i have no clue i dont have one but im guessing thats what was screwing it up. i didnt know what sda was.  so i am 100% up and running.  well not 100%.  my graphics are setup perfectly I got sound. now for networking headaches.  i really dont think my wireless adapter is going to work in linux so im going to have to learn to network my other xp machine with this vector machine and get the internet that way. anyone got any links to point me in the right direction =) it's gonna be hell for a noob like me i can already tell. thanks to eveyrone who offered me help trying to get this vector linux running. and for the record it's way tighter than ubuntu.
« Last Edit: October 05, 2009, 09:41:37 am by frank1e » Logged
newt
Vectorian
****
Posts: 1132



« Reply #6 on: October 05, 2009, 09:38:25 am »

I've just tested this method and it's: 1) easy, 2) non-invasive, 3) leaves your windows bootloader alone, 4) allows you to boot from an ISO image, and 5) works. After testing this, I would recommend you give this a shot considering your circumstances and options.

EDIT (11/24/09): I have discovered one caveat, and it's that you will need to have sufficient ram to hold the ISO contents (i.e. ~700+ mb of free ram).  If you do not have the appropriate amount of ram the process will fail.  You can avoid loading the contents to ram, however you must then make sure the ISO is held in storage in a single contiguous chunk.

1. Download Grub4Dos: http://download.gna.org/grub4dos/grub4dos-0.4.4-2009-06-20.zip
2. Extract 'grldr' to your C: drive (right to C:, not in a directory) - not 'grldr.mbr'
3. Edit 'C:\boot.ini' and add this line to the bottom (notepad will work for editing): C:\grldr="Start GRUB4DOS"
    -Leave one blank line at the bottom of boot.ini
4. Open notepad and, in a new file, paste the menu.lst entries I've provided below, save the file to C: as 'menu.lst' (i.e. C:\menu.lst)
    -You'll need to change the 'Save as type:' to 'All Files' in order to have the .lst file extension.
5. Move your 'VL6.0-STD-Gold.iso' to C: (i.e. C:\VL6.0-STD-Gold.iso)
6. Reboot and choose the 'Start GRUB4DOS' option from the windows bootloader
7. Choose the 'VectorLinux 6 STD ISO' option from the Grub4Dos bootloader
    -this will boot the 'VL6.0-STD-Gold.iso' as though it were a CD
    -I think it's worth your time to reinstall over your current VL installation (recommended); you should be able to use the GUI installer also
    -Careful not to mess with your Windows partition!
(8. You could also add your currently installed system to Grub4Dos but we would need to know all the specifics of where it's installed)


menu.lst entries:
Code:
# This is a sample menu.lst file. You should make some changes to it.
# The old install method of booting via the stage-files has been removed.
# Please install GRLDR boot strap code to MBR with the bootlace.com
# utility under DOS/Win9x or Linux.

color blue/green yellow/red white/magenta white/magenta
timeout 30
default /default

title find and load NTLDR of Windows NT/2K/XP
fallback 1
find --set-root --ignore-floppies --ignore-cd /ntldr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /ntldr
chainloader /ntldr
savedefault --wait=2

title find and load CMLDR, the Recovery Console of Windows NT/2K/XP
fallback 2
find --set-root --ignore-floppies --ignore-cd /cmldr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /cmldr
chainloader /cmldr
#####################################################################
# write string "cmdcons" to memory 0000:7C03 in 2 steps:
#####################################################################
# step 1. Write 4 chars "cmdc" at 0000:7C03
write 0x7C03 0x63646D63
# step 2. Write 3 chars "ons" and an ending null at 0000:7C07
write 0x7C07 0x00736E6F
savedefault --wait=2

title VectorLinux 6 STD ISO
fallback 3
find --set-root /VL6.0-STD-Gold.iso
map /VL6.0-STD-Gold.iso (0xff) || map --mem /VL6.0-STD-Gold.iso (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2

title commandline
commandline

title floppy (fd0)
chainloader (fd0)+1
rootnoverify (fd0)

title back to dos
quit

title reboot
reboot

title halt
halt

« Last Edit: November 24, 2009, 10:02:47 am by newt » Logged
Daniel
Packager
Vectorian
****
Posts: 704


WWW
« Reply #7 on: October 05, 2009, 09:51:56 am »

A method you could use to boot your installed VL installation is to use a bootable VL install cd or live cd. When you boot off of a VL install cd, it will say something like "Press enter to begin the installation of VL x.x. If you are using this disk to boot a VL installation, type in: linux root = /dev/hda1 ro (where /dev/hda1 is your root partition)"
If you use the command format it gives you (which, I think, is the one I just listed) and then press enter, your VL installation should boot. If it doesn't, then something else besides lilo installation went wrong. If it works, you could use this method to boot your installed system and run vliloconf from there. HTH
Logged

The following sentence is true. The previous sentence is false.

VL 6.0 SOHO KDE-Classic on 2.3 Ghz Dual-core AMD with 3 Gigs of RAM
hata_ph
Packager
Vectorian
****
Posts: 3261


-- Just being myself --


« Reply #8 on: October 05, 2009, 04:21:19 pm »

For your wireless, pls provide your lspci, lsusb and lsmod....
Logged
frank1e
Member
*
Posts: 24


« Reply #9 on: October 05, 2009, 07:50:33 pm »

I've just tested this method and it's: 1) easy, 2) non-invasive, 3) leaves your windows bootloader alone, 4) allows you to boot from an ISO image, and 5) works. After testing this, I would recommend you give this a shot considering your circumstances and options.

1. Download Grub4Dos: http://download.gna.org/grub4dos/grub4dos-0.4.4-2009-06-20.zip
2. Extract 'grldr' to your C: drive (right to C:, not in a directory) - not 'grldr.mbr'
3. Edit 'C:\boot.ini' and add this line to the bottom (notepad will work for editing): C:\grldr="Start GRUB4DOS"
    -Leave one blank line at the bottom of boot.ini
4. Open notepad and, in a new file, paste the menu.lst entries I've provided below, save the file to C: as 'menu.lst' (i.e. C:\menu.lst)
    -You'll need to change the 'Save as type:' to 'All Files' in order to have the .lst file extension.
5. Move your 'VL6.0-STD-Gold.iso' to C: (i.e. C:\VL6.0-STD-Gold.iso)
6. Reboot and choose the 'Start GRUB4DOS' option from the windows bootloader
7. Choose the 'VectorLinux 6 STD ISO' option from the Grub4Dos bootloader
    -this will boot the 'VL6.0-STD-Gold.iso' as though it were a CD
    -I think it's worth your time to reinstall over your current VL installation (recommended); you should be able to use the GUI installer also
    -Careful not to mess with your Windows partition!
(8. You could also add your currently installed system to Grub4Dos but we would need to know all the specifics of where it's installed)


menu.lst entries:
Code:
# This is a sample menu.lst file. You should make some changes to it.
# The old install method of booting via the stage-files has been removed.
# Please install GRLDR boot strap code to MBR with the bootlace.com
# utility under DOS/Win9x or Linux.

color blue/green yellow/red white/magenta white/magenta
timeout 30
default /default

title find and load NTLDR of Windows NT/2K/XP
fallback 1
find --set-root --ignore-floppies --ignore-cd /ntldr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /ntldr
chainloader /ntldr
savedefault --wait=2

title find and load CMLDR, the Recovery Console of Windows NT/2K/XP
fallback 2
find --set-root --ignore-floppies --ignore-cd /cmldr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /cmldr
chainloader /cmldr
#####################################################################
# write string "cmdcons" to memory 0000:7C03 in 2 steps:
#####################################################################
# step 1. Write 4 chars "cmdc" at 0000:7C03
write 0x7C03 0x63646D63
# step 2. Write 3 chars "ons" and an ending null at 0000:7C07
write 0x7C07 0x00736E6F
savedefault --wait=2

title VectorLinux 6 STD ISO
fallback 3
find --set-root /VL6.0-STD-Gold.iso
map /VL6.0-STD-Gold.iso (0xff) || map --mem /VL6.0-STD-Gold.iso (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2

title commandline
commandline

title floppy (fd0)
chainloader (fd0)+1
rootnoverify (fd0)

title back to dos
quit

title reboot
reboot

title halt
halt



thanks for that info. I think thats similiar to the unetbootin i was using for windows. but im going to download that too because I know Im going to end up using it. right now I have vl 6 gold running. I need to get my wireless card working with ndiswrapper and also for some odd reason the nvidia propietary drivers installed and worked fine with vl 5.9 but didn't in vl 6 gold. i went to the shell and typed init 3 to exit x server and than ran the instyalled but it came up with problems. if you know anything about installing these drivers or someone else im going to attach a long copy of the log file nvidia gave me.

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Oct  5 09:49:06 2009

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  no precompiled interface: false
  no ncurses color        : false
  query latest driver ver : false
  OpenGL header files     : false
  no questions            : false
  silent                  : false
  no backup               : false
  kernel module only      : false
  sanity                  : false
  add this kernel         : false
  no runlevel check       : false
  no network              : false
  no ABI note             : false
  no RPMs                 : false
  force tls               : (not specified)
  force compat32 tls      : (not specified)
  X install prefix        : /usr/X11R6
  OpenGL install prefix   : /usr
  compat32 install prefix : (not specified)
  installer install prefix: /usr
  utility install prefix  : /usr
  kernel name             : (not specified)
  kernel include path     : (not specified)
  kernel source path      : (not specified)
  kernel output path      : (not specified)
  kernel install path     : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /tmp
  ftp mirror              : http://ftp://download.nvidia.com
  RPM file list           : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you li
   ke the installer to attempt to download a kernel interface for your kernel f
   rom the NVIDIA ftp site (http://ftp://download.nvidia.com)? (Answer: No)
-> No precompiled kernel interface was found to match your kernel; this means
   that the installer will need to compile a new kernel interface.
-> Kernel source path: '/lib/modules/2.6.27.12/source'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
   rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-
   agp.o os-interface.o os-registry.o nvidia.mod.o
   rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
   rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
   rm -f -rf .tmp_versions
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.27.12/sourc
   e SYSOUT=/lib/modules/2.6.27.12/build'...
   
   NVIDIA: calling KBUILD...
   make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.27.12/build KBUILD_VERBOSE=1 -C /l
   ib/modules/2.6.27.12/source SUBDIRS=/tmp/selfgz16396/NVIDIA-Linux-x86-1.0-71
   67-pkg1/usr/src/nv modules
   make -C /lib/modules/2.6.27.12/build \
      KBUILD_SRC=/usr/src/linux-2.6.27.12 \
      KBUILD_EXTMOD="/tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv"
   -f /usr/src/linux-2.6.27.12/Makefile \
      modules
   test -e include/linux/autoconf.h -a -e include/config/auto.conf || (      \
      echo;                        \
      echo "  ERROR: Kernel configuration is invalid.";      \
      echo "         include/linux/autoconf.h or include/config/auto.conf are mis
   sing.";   \
      echo "         Run 'make oldconfig && make prepare' on kernel src to fix it
   .";   \
      echo;                        \
      /bin/false)
   mkdir -p /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/.tmp_ver
   sions ; rm -f /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/.tm
   p_versions/*
   make -f /usr/src/linux-2.6.27.12/scripts/Makefile.build obj=/tmp/selfgz16396
   /NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv
   echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz16396/NV
   IDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv_compiler.h
     cc -Wp,-MD,/tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/.nv.
   o.d  -nostdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.2.3/include -D__
   KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.27.12/include -I/usr/src/
   linux-2.6.27.12/arch/x86/include -include include/linux/autoconf.h  -I/tmp/s
   elfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv -Wall -Wundef -Wstrict-
   prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-
   function-declaration -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -
   mpreferred-stack-boundary=2 -march=i586 -mtune=generic -ffreestanding -DCONF
   IG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asyn
   chronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -I/usr/src/lin
   ux-2.6.27.12/include/asm-x86/mach-default -Iinclude/asm-x86/mach-default -fn
   o-stack-protector -fomit-frame-pointer -Wdeclarati
   on-after-statement -Wno-pointer-sign  -I/tmp/selfgz16396/NVIDIA-Linux-x86-1.
   0-7167-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wch
   ar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-c
   ommon -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D_
   _KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -
   DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7167 -DNV_
   UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_CHA
   NGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DMODULE -D"KBUILD_STR
   (s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvi
   dia)" -c -o /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.o
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c
   In file included from /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/sr
   c/nv/nv.c:14:
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv-linux.h:17:26:
   error: linux/config.h: No such file or directory
   In file included from include/linux/bitops.h:17,
                    from include/linux/kernel.h:15,
                    from /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/sr
   c/nv/nv-linux.h:45,
                    from /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/sr
   c/nv/nv.c:14:
   include/asm/bitops.h: In function 'set_bit':
   include/asm/bitops.h:60: warning: pointer of type 'void *' used in arithmeti
   c
   include/asm/bitops.h: In function 'clear_bit':
   include/asm/bitops.h:97: warning: pointer of type 'void *' used in arithmeti
   c
   In file included from include/linux/list.h:6,
                    from include/linux/module.h:9,
                    from /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/sr
   c/nv/nv-linux.h:46,
                    from /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/sr
   c/nv/nv.c:14:
   include/linux/prefetch.h: In function 'prefetch_range':
   include/linux/prefetch.h:57: warning: pointer of type 'void *' used in arith
   metic
   In file included from include/linux/freezer.h:6,
                    from include/linux/fs.h:11,
                    from include/linux/poll.h:11,
                    from /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/sr
   c/nv/nv-linux.h:58,
                    from /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/sr
   c/nv/nv.c:14:
   include/linux/sched.h: In function 'object_is_on_stack':
   include/linux/sched.h:1975: warning: pointer of type 'void *' used in arithm
   etic
   In file included from include/asm/dma-mapping.h:9,
                    from include/linux/dma-mapping.h:52,
                    from include/asm-generic/pci-dma-compat.h:7,
                    from include/asm/pci.h:94,
                    from include/linux/pci.h:989,
                    from /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/sr
   c/nv/nv-linux.h:69,
                    from /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/sr
   c/nv/nv.c:14:
   include/linux/scatterlist.h: In function 'sg_virt':
   include/linux/scatterlist.h:199: warning: pointer of type 'void *' used in a
   rithmetic
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv-linux.h:89:27:
   error: asm/semaphore.h: No such file or directory
   In file included from /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/sr
   c/nv/nv-linux.h:90,
                    from /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/sr
   c/nv/nv.c:14:
   include/linux/highmem.h: In function 'zero_user_segments':
   include/linux/highmem.h:134: warning: pointer of type 'void *' used in arith
   metic
   include/linux/highmem.h:134: warning: pointer of type 'void *' used in arith
   metic
   include/linux/highmem.h:134: warning: pointer of type 'void *' used in arith
   metic
   include/linux/highmem.h:134: warning: pointer of type 'void *' used in arith
   metic
   include/linux/highmem.h:137: warning: pointer of type 'void *' used in arith
   metic
   include/linux/highmem.h:137: warning: pointer of type 'void *' used in arith
   metic
   include/linux/highmem.h:137: warning: pointer of type 'void *' used in arith
   metic
   include/linux/highmem.h:137: warning: pointer of type 'void *' used in arith
   metic
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv-linux.h:233:5:
   warning: "NV_ENABLE_MEM_TRACKING" is not defined
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv-linux.h:261:5:
   warning: "NV_ENABLE_MEM_TRACKING" is not defined
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv-linux.h:683:2:
   warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
   In file included from /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/sr
   c/nv/nv.c:14:
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv-linux.h: In fu
   nction 'NV_SET_PAGE_ATTRIB_UNCACHED':
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv-linux.h:1017:
   error: implicit declaration of function 'change_page_attr'
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c: At top leve
   l:
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:64: error: e
   xpected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:160: error:
   expected declaration specifiers or '...' before 'pm_request_t'
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:201: warning
   : initialization from incompatible pointer type
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:223:5: warni
   ng: "NV_ENABLE_MEM_TRACKING" is not defined
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c: In function
   'nvos_create_alloc':
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:294: error:
   'nv_pte_t_cache' undeclared (first use in this function)
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:294: error:
   (Each undeclared identifier is reported only once
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:294: error:
   for each function it appears in.)
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c: In function
   'nvos_free_alloc':
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:329: error:
   'nv_pte_t_cache' undeclared (first use in this function)
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c: In function
   'nvos_get_agp_device_by_class':
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:404: error:
   implicit declaration of function 'pci_find_class'
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:404: warning
   : assignment makes pointer from integer without a cast
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:409: warning
   : 'pci_find_slot' is deprecated (declared at include/linux/pci.h:545)
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:418: warning
   : assignment makes pointer from integer without a cast
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c: In function
   'nv_get_pci_device':
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:428: warning
   : 'pci_find_device' is deprecated (declared at include/linux/pci.h:543)
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:433: warning
   : 'pci_find_device' is deprecated (declared at include/linux/pci.h:543)
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c: In function
   'nvos_proc_create':
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:458: error:
   'proc_root_driver' undeclared (first use in this function)
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c: In function
   '__nv_enable_pat_support':
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:784: error:
   too many arguments to function 'smp_call_function'
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c: In function
   '__nv_disable_pat_support':
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:806: error:
   too many arguments to function 'smp_call_function'
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c: In function
   'nvidia_init_module':
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:970: error:
   implicit declaration of function 'pm_register'
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:970: error:
   'PM_PCI_DEV' undeclared (first use in this function)
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:970: error:
   'PM_SYS_VGA' undeclared (first use in this function)
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:970: warning
   : assignment makes pointer from integer without a cast
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:974: error:
   'nv_pte_t_cache' undeclared (first use in this function)
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:974: error:
   too many arguments to function 'kmem_cache_create'
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:1036: error:
   implicit declaration of function 'pm_unregister'
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:1045: error:
   void value not ignored as it ought to be
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c: In function
   'nvidia_exit_module':
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:1083: error:
   void value not ignored as it ought to be
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:1167:5: warn
   ing: "NV_ENABLE_MEM_TRACKING" is not defined
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:1175: error:
   'nv_pte_t_cache' undeclared (first use in this function)
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c: At top leve
   l:
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:1264: error:
   unknown field 'nopage' specified in initializer
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:1264: warnin
   g: initialization from incompatible pointer type
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c: In function
   'nv_kern_open':
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:1364: error:
   'SA_INTERRUPT' undeclared (first use in this function)
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:1364: error:
   'SA_SHIRQ' undeclared (first use in this function)
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:1365: warnin
   g: passing argument 2 of 'request_irq' from incompatible pointer type
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c: In function
   'nv_kern_mmap':
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:1541: error:
   implicit declaration of function 'remap_page_range'
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c: At top leve
   l:
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:1990: error:
   expected declaration specifiers or '...' before 'pm_request_t'
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c: In function
   'nv_kern_apm_event':
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:1999: error:
   'rqst' undeclared (first use in this function)
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:2023: error:
   'PM_RESUME' undeclared (first use in this function)
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:2028: error:
   'PM_SUSPEND' undeclared (first use in this function)
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c: In function
   'nv_agp_init':
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:3091: error:
   too few arguments to function 'agp_backend_acquire'
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:3093: error:
   too few arguments to function 'agp_backend_release'
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c: In function
   'nvos_count_devices':
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:3230: warnin
   g: assignment makes pointer from integer without a cast
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:3235: warnin
   g: assignment makes pointer from integer without a cast
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c: In function
   'nv_acpi_event':
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:3424: error:
   'PM_SUSPEND_MEM' undeclared (first use in this function)
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:3429: error:
   'PM_SUSPEND_ON' undeclared (first use in this function)
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c: In function
   'nv_kern_acpi_resume':
   /tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:3461: error:
   'PM_SUSPEND_ON' undeclared (first use in this function)
   make[4]: *** [/tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.
   o] Error 1
   make[3]: *** [_module_/tmp/selfgz16396/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/sr
   c/nv] Error 2
   make[2]: *** [sub-make] Error 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [module] Error 1
   make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed.  Please see the file
       '/var/log/nvidia-installer.log' for details.  You may find suggestions
       on fixing installation problems in the README available on the Linux
       driver download page at www.nvidia.com.

wow thats really long should I just attach files from now on?
Logged
frank1e
Member
*
Posts: 24


« Reply #10 on: October 05, 2009, 07:53:53 pm »

For your wireless, pls provide your lspci, lsusb and lsmod....

Ok Im almost sure that my wireless card will not work straight in linux but maybe possibly with ndiswraopper. Here is a copy of a couple commands that i knew to run and copied for you guys that know what your doing.

vector:/~
root:# lsmod | grep ndis
ndiswrapper           185500  0
vector:/~
root:#

root:# sudo modprobe ndiswrapper
vector:/~
root:# uname -rm
2.6.27.12 i686
vector:/~

root:# dmesg | grep -e ndis -e wlan
ndiswrapper version 1.54 loaded (smp=yes, preempt=yes)
usbcore: registered new interface driver ndiswrapper
usbcore: deregistering interface driver ndiswrapper
ndiswrapper version 1.54 loaded (smp=yes, preempt=yes)
usbcore: registered new interface driver ndiswrapper
vector:/~

root:# ndiswrapper -l lsusb
install/manage Windows drivers for ndiswrapper

usage: ndiswrapper OPTION
-i inffile       install driver described by 'inffile'
-a devid driver  use installed 'driver' for 'devid' (dangerous)
-r driver        remove 'driver'
-l               list installed drivers
-m               write configuration for modprobe
-ma              write module alias configuration for all devices
-mi              write module install configuration for all devices
-v               report version information

where 'devid' is either PCIID or USBID of the form XXXX:XXXX,
as reported by 'lspci -n' or 'lsusb' for the card


vector:/~
root:# ndiswrapper -l
ndiswdm : driver installed
   device (4317:0700) present
vector:/~


root:# lsusb
Bus 001 Device 005: ID 0402:5667 ALi Corp.
Bus 001 Device 004: ID 4317:0700 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 1532:0007 Razer USA, Ltd DeathAdder Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 050d:0815 Belkin Components Nostromo n52 HID SpeedPad Mouse Wheel
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
vector:/~
root:#

So it actually seems to show that ndiswrapper accepted my driver and claims the device is present. I didnt list it but when I type iwconfig it says

lo no wireless extensions
eth01 no wireless extensions


Any help would be glad to have thanks so far =)
Logged
hata_ph
Packager
Vectorian
****
Posts: 3261


-- Just being myself --


« Reply #11 on: October 05, 2009, 08:40:56 pm »

how about ifconfig -a?
Logged
nightflier
Administrator
Vectorian
*****
Posts: 4038



« Reply #12 on: October 06, 2009, 04:47:10 am »

About your nVidia problem: did you install the kernel sources?
Logged
frank1e
Member
*
Posts: 24


« Reply #13 on: October 06, 2009, 06:14:06 am »

About your nVidia problem: did you install the kernel sources?

Well I guess not? It asked me when I was running the installer if I wantesd to compile a new kernel or download one or something but the internet isnt working on linux yet so I couldnt. Honestly I still don't really know what a kernel is. I know its the main OS file but i dont know what file it is.  How do I know what to get?
Logged
nightflier
Administrator
Vectorian
*****
Posts: 4038



« Reply #14 on: October 06, 2009, 07:57:49 am »

The kernel source is an optional component during the installation. Look in /usr/src and see if you have a directory called linux-2.6.27.12 with 400+ MB of files in it.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!