Author Topic: some linux help  (Read 1741 times)

Harkin

  • Hydlaa Citizen
  • *
  • Posts: 466
    • View Profile
some linux help
« on: January 15, 2005, 09:03:32 pm »
so i just installed Gentoo.... from stage 1... what was i thinking? well at least it works..took me a good 36 hours to install Gentoo, Xorg, KDE and all the other stuff

but first I need some help

my mouse: its plugged in USB, and for some reason I read that linux only reads scroll wheels off of PS/2, is it true? or is their a way to change that?

btw, I didnt configure my kernel, using 2.6.10 with genkernel ... so i guessed it would have found it and enabled it... but I NEED my scroll wheel

also ive been having some video problems... in the manual it said put in a VGA=792 in the boot config for 1024x768 32bit, but everytime its starts it says code not found, should i just remove it? or what should i change it too

i know i sound like a linux noob, but last time i ran linux i had a USB->PS/2 converter on my mouse, and well frankly.. i lost it :/
I am just a figment of you imagination and a byproduct of the worse accident ever... ... or so my mommy says!
Imagine your life ripped to hundreds of shreds, then think about how you just stepped in poo, welcome to my world.

-Scott

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #1 on: January 15, 2005, 09:42:18 pm »
To get your mouse wheel working, you need to edit your xorg.conf/XF86Config file in /etc/X11:

Quote



# **********************************************************************
# Core Pointer\'s InputDevice section
# **********************************************************************

Section \"InputDevice\"

# Identifier and driver

    Identifier  \"Mouse1\"
    Driver      \"mouse\"
    Option \"Protocol\"    \"IMPS/2\"
    Option \"Device\"      \"/dev/psaux\"
    Option \"ZAxisMapping\" \"4 5\" <- add this line




I don\'t use framebuffer on my console, so I can\'t help you with this one. But check your /etc/lilo.conf if you use lilo, there should be examples included.


Back to Planeshift again \\o/

lynx_lupo

  • Veteran
  • *
  • Posts: 1431
  • Sorbus aria!
    • View Profile
    • Linux pri nas
(No subject)
« Reply #2 on: January 16, 2005, 12:03:05 am »
Try a lower code? Remember, the lilo stuff only matters until you run X, then the xorg.conf display settings will be used.
"Amor sceleratus habendi"- Ovid
"First they ignore you, then they laugh at you, then they fight you, then you eat them." -Godzilla

Harkin

  • Hydlaa Citizen
  • *
  • Posts: 466
    • View Profile
(No subject)
« Reply #3 on: January 16, 2005, 12:47:29 am »
i use grub :\\

and the 792 came from the gentoo installation manual :\\

EDIT: btw, thanks my scroll wheel works now

now to fix my sound problem... :)
« Last Edit: January 16, 2005, 12:49:45 am by Harkin »
I am just a figment of you imagination and a byproduct of the worse accident ever... ... or so my mommy says!
Imagine your life ripped to hundreds of shreds, then think about how you just stepped in poo, welcome to my world.

-Scott

Dejari

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
(No subject)
« Reply #4 on: January 16, 2005, 01:00:32 am »
Run (as root) \'alsaconf\'.

Harkin

  • Hydlaa Citizen
  • *
  • Posts: 466
    • View Profile
(No subject)
« Reply #5 on: January 18, 2005, 03:36:08 am »
grrr... i\'ve gotten my mouse, videocard, sound and planeshift to work ...

i dont to just use windows to print.. so why wont my printer work?!?!

i follow the gentoo tutorial to the letter, i get to test my printer no good.. so i go along and finish.. i still cant print, i try using the KDE setup config, no go... it never seems to receive what im sending it... i blame lexmark for this travesty, they provide nothing on linux on their site  X(

so anyone out there can help me? i have a Lexmark 1150 printer/scanner combo connected through usb?
I am just a figment of you imagination and a byproduct of the worse accident ever... ... or so my mommy says!
Imagine your life ripped to hundreds of shreds, then think about how you just stepped in poo, welcome to my world.

-Scott

lynx_lupo

  • Veteran
  • *
  • Posts: 1431
  • Sorbus aria!
    • View Profile
    • Linux pri nas
(No subject)
« Reply #6 on: January 18, 2005, 09:58:52 am »
"Amor sceleratus habendi"- Ovid
"First they ignore you, then they laugh at you, then they fight you, then you eat them." -Godzilla

Harkin

  • Hydlaa Citizen
  • *
  • Posts: 466
    • View Profile
(No subject)
« Reply #7 on: January 18, 2005, 08:38:08 pm »
bottom one i tried before, no go... top one doesnt seem to work following the directions, always comes out to say
 
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors

so i guess ill still have to depend on windows for some things :(
I am just a figment of you imagination and a byproduct of the worse accident ever... ... or so my mommy says!
Imagine your life ripped to hundreds of shreds, then think about how you just stepped in poo, welcome to my world.

-Scott

Seytra

  • Forum Addict
  • *
  • Posts: 2052
  • No system can compensate lack of common sense.
    • View Profile
(No subject)
« Reply #8 on: January 19, 2005, 05:07:19 am »
You didn\'t happen to not do this:
Quote
From the top guide
The installer is for rpm so need to first edit z600cups-1.0-1.i386.gz.sh and remove the shell script from the top


?
It is a bit more complex, actually:
1) unzip and un-tar the downloaded file. This will give the actual z600cups-1.0-1.i386.gz.sh file (and some other junk that I don\'t care about).
Now, use some hex editor (or maybe dd) to remove the script from the beginning of the file (including the 0A after the \"END_OF_STUB\", totalling to 4692 bytes), save, and now you rename it.

dd command for removing (copying, actually), including renaming:
\"dd bs=1 skip=4692 if=z600cups-1.0-1.gz.sh of=z660cups.tgz\"
(takes ages due to blocksize, which could be optimised but I\'m too lazy ATM ;) )
« Last Edit: January 19, 2005, 05:55:43 am by Seytra »

Harkin

  • Hydlaa Citizen
  • *
  • Posts: 466
    • View Profile
(No subject)
« Reply #9 on: January 28, 2005, 02:27:49 am »
aye... got debian running, runs nice :) besides a few problems...

it seems i cant find an nvidia kernel module, anywhere to get one? i need it to install drivers

kernel: im running 2.6.8-k7 at the moment, but want to compile my own... but everytime i reboot into it i get

VFS: Cannot mount /dev/hda2 ... please put a correct root=

something like that, then it hits a kernel panic, and dont ask me stupid questions i have ext3 enabled, which is what is being used... i really didnt remove anything, just modded the sound/video/lan stuff...

also why cant i hear anything from any movie in xine?

EDIT: had to redo alsaconf to get xmms to work :) xine is still buggin though :/
« Last Edit: January 28, 2005, 03:00:58 am by Harkin »
I am just a figment of you imagination and a byproduct of the worse accident ever... ... or so my mommy says!
Imagine your life ripped to hundreds of shreds, then think about how you just stepped in poo, welcome to my world.

-Scott

lynx_lupo

  • Veteran
  • *
  • Posts: 1431
  • Sorbus aria!
    • View Profile
    • Linux pri nas
(No subject)
« Reply #10 on: January 28, 2005, 08:56:02 am »
Fix your /etc/lilo.conf; the block for the new kernel - as it says, the root parameter is missing/bad.

You build the nvidia module when you install the driver.
"Amor sceleratus habendi"- Ovid
"First they ignore you, then they laugh at you, then they fight you, then you eat them." -Godzilla

Harkin

  • Hydlaa Citizen
  • *
  • Posts: 466
    • View Profile
(No subject)
« Reply #11 on: January 28, 2005, 06:10:10 pm »
im running GRUB in the MBR ... i make my kernel into a .deb package then install it using kpkg, it updates the menu.lst by itself, using the same stuff as the others, just a different kernel...
I am just a figment of you imagination and a byproduct of the worse accident ever... ... or so my mommy says!
Imagine your life ripped to hundreds of shreds, then think about how you just stepped in poo, welcome to my world.

-Scott

lynx_lupo

  • Veteran
  • *
  • Posts: 1431
  • Sorbus aria!
    • View Profile
    • Linux pri nas
(No subject)
« Reply #12 on: January 28, 2005, 07:09:52 pm »
Don\'t you use gentoo? Anyway, whyTF would anyone want to package a kernel first, then install it (excluding packagers)?

man grub || links http://www.google.com
"Amor sceleratus habendi"- Ovid
"First they ignore you, then they laugh at you, then they fight you, then you eat them." -Godzilla

Harkin

  • Hydlaa Citizen
  • *
  • Posts: 466
    • View Profile
(No subject)
« Reply #13 on: January 29, 2005, 04:20:41 am »
stupid blasted peace of crap, if it didnt take about 20 hours to install gentoo i may go back but... grr... why cant i get a new kernel to work, i got the new 2.6.8-2-k7 thorugh apt and also the 2.6.8 source which is what im using... i configure it to my system then i make it into a .deb package then install the .deb package for the ease and it updates GRUB automatically, prefectly matching the k7 and the old 2.4 kernel fine, except it has no initrd... which there is none for my new kernel... but i get an error on it trying to mount my partition, (hd0,1) or hda2 whatever you want to call it... something about an unreadable block... 7 tries and still wont work! and if i cant remove rivafb from it i cant install nvidia drivers! pain in the butt!

if there is anyone who can help me configure the kernel right, or anything, it would be greatly appreciated! :D

EDIT:
Quote

VFS: Cannot open root device \"hda2\" or unknown-block(0,0)
Please append a correct \"root=\" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)


but of course the \"root=\" option is the same as the regular 2.6.8-2-k7 kernel... which is what I am using right now

BIG EDIT: I got the nvidia drivers to work on 2.6.8-2-k7, installed the headers and linked to linux... installed fine, works now, but bleh it works and my screensaver doesnt lag anymore, still want to know what\'s up with the kernels I complile myself.
« Last Edit: January 29, 2005, 08:42:11 am by Harkin »
I am just a figment of you imagination and a byproduct of the worse accident ever... ... or so my mommy says!
Imagine your life ripped to hundreds of shreds, then think about how you just stepped in poo, welcome to my world.

-Scott

lynx_lupo

  • Veteran
  • *
  • Posts: 1431
  • Sorbus aria!
    • View Profile
    • Linux pri nas
(No subject)
« Reply #14 on: January 29, 2005, 11:35:56 am »
I can\'t help you much with debian. Never trust scripts that you don\'t understand or have written yourself. :P

You don\'t need initrd, unless you\'re using stuf like genkernel or bootsplash.
"Amor sceleratus habendi"- Ovid
"First they ignore you, then they laugh at you, then they fight you, then you eat them." -Godzilla