LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-06-2005, 08:17 AM   #1
jolphil
Member
 
Registered: May 2002
Location: central florida
Distribution: Linux Mint, ,Mageia,Ubuntu
Posts: 453

Rep: Reputation: 33
Wink Coming to terms with Debian sarge


Hi All,
After a week of xserver failures with woody,dastrike suggested that I upgrade to sarge..More modern and better able to handle my GeForceFX5600 ddr graphics agp card..Done...and now online with Debian sarge..
Very unfamiliar with the ways of Debian, I have several problems with my install..
First, I have no USB support and don't know how to get it to work..I keep all my data to configure linux on it(USB jump drive) and is needed to save me tons of work..Possibly use Knoppix?
Second, I have no sound although it appears to have loaded my onboard sound drivers..MB AsusP4P800 with AD1985 snd..Uses i810 snd driver I think..
Third, my mouse is incorrect, and is shown as a three button type but without the scroll wheel,my actual mouse is the(ms optical explorer ps/2)..I really miss that..
Finally in the future I will want to install the nvidia drivers for my card but that is not necessarily the first priority..My xserver is a bit unstable at the moment but works..
A healthy list to be sure but I have time to learn..
What I need now is some guidance as to what path to follow to solve the above glitches..I am not even sure as to the proper order to proceed..
Thank you for all your help in advance..
jolphil
 
Old 03-06-2005, 09:20 AM   #2
APB_4
Member
 
Registered: Nov 2004
Distribution: KDE Neon User edition; Manjaro; OpenSUSE Leap
Posts: 298

Rep: Reputation: 31
Well with the first one look at your rc.hotplug file in /etc/rc.d it should be executable. For the mouse one have you run xorgconfig or XF86config? If you have you can manually edit the xorg.conf or XF86.conf file.
 
Old 03-06-2005, 09:29 AM   #3
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Quote:
I have no USB support
Did you begin your Sarge installation with "linux26" to get the 2.6.x kernel? If not, you may want to upgrade the kernel using apt-get before you do anything else.

USB support is mainly managed in Debian with the hotplug utility. To see if hotplug is installed, do the following:
Code:
dpkg -l hotplug
If hotplug is installed, you can simply plug in your USB storage media and reboot. Then dmesg should tell you what device the kernel associates the USB media with (probably /dev/sda1). After finding out the correct device, you can mount it as usual:
Code:
mount -t vfat -o user,rw /dev/sda1 /mnt
 
Old 03-06-2005, 10:02 AM   #4
dastrike
Member
 
Registered: Apr 2004
Location: Stockholm, Sweden
Distribution: Debian 'sid'
Posts: 250

Rep: Reputation: 30
USB support: discover should have loaded the basic USB support already for your hardware.
With Linux 2.6:
uhci_hcd - the kernel module for the USB 1.1 UHCI interface (some motherboards use UHCI)
ohci_hcd - the kernel module for the USB 1.1 OCHI interface (some motherboards use OHCI)
ehci_hcd - the kernel module for the USB 2.0 interface (for motherboards with USB 2.0)
So if the motherboard only has USB 1.1 support, typically only one of the uhci_hcd or ochi_hcd modules are loaded.
If the motherboard has USB 2.0 support, then typically the ehci_hcd module is loaded, and one of the uhci_hcd or ochi_hcd modules.

Execute
Code:
lsmod | grep ^[uoe]hci_
to see what USB interface modules you have loaded currently.
Note: this is for Linux 2.6. In 2.4 IIRC the USB modules are slightly differently named.


Mounting an USB drive:
Manually (assuming that the USB disk appears as /dev/sda, and mounted on /mnt/usbdisk) :
Code:
mount -t vfat /dev/sda1 /mnt/usbdisk
Adding entry to /etc/fstab for smoother mounting:
Code:
/dev/sda1   /mnt/usbdisk    vfat    noauto,user,exec,dmask=002,fmask=113    0     0
If the USB disk does not appear as /dev/sda, use the command sg_map -i to see what it appears as. You need the package sg3-utils installed and the kernel module sg loaded to be able to to execute that command.
Example of output:
Code:
phobos:~# sg_map -i
/dev/sg0  /dev/sda
/dev/sg1  /dev/sdb
/dev/sg2  /dev/sdc  Generic   STORAGE DEVICE    0128
/dev/sg3  /dev/sdd  Generic   STORAGE DEVICE    0128
/dev/sg4  /dev/sde  Generic   STORAGE DEVICE    0128
/dev/sg5  /dev/sdf  Generic   STORAGE DEVICE    0128
/dev/sg6  /dev/sdg  USB 2.0   Mobile Disk       1.00
In this output: sda and sdb are my two SATA drives, sdc through sdf is a flash card reader and sdg is my USB "thumbdrive" disk.



Sound: Always a bit tricky to diagnose like this...
First: apt-get install alsa-utils, then run alsaconf and select some sensible choices, and then it should start working more or less... Use alsamixer to make sure the channels have volume and are not muted.



Mouse:
You need to set the buttons to 7 and the protocol to ExplorerPS/2 in the mouse config in XF86Config-4, and make sure you have the ZAxisMapping set for buttons 4 and 5 for the scrolling to work properly.
Example: my MS IntelliMouse Optical (the same applies for MS IntelliMouse Explorer as well):
Code:
Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ExplorerPS/2"
        Option          "Buttons"               "7"
        Option          "ZAxisMapping"          "4 5"
EndSection
If your mouse is connected through the PS/2 port, replace the /dev/input/mice in above with /dev/psaux


Regarding Nvidia's drivers, I have written instructions for one method of installation of them: http://serios.net/content/debian/nvi...ay-drivers.php

Last edited by dastrike; 03-06-2005 at 10:07 AM.
 
Old 03-06-2005, 10:46 AM   #5
jolphil
Member
 
Registered: May 2002
Location: central florida
Distribution: Linux Mint, ,Mageia,Ubuntu
Posts: 453

Original Poster
Rep: Reputation: 33
Thanks for the info..I
I did not install the 2.6 kernel..I had the 2.4 kernel..
I used apt-get to install the 2.6.8-2-686 kernel and it seemed to install fine ..
During the initial boot screen both the 2.6 and 2.4 kernels are listed but the 2.6 throws me into xserver hell..GDM will not start ..
The 2,4 kernel boots with xserver..Thats what I am using now to write this..
I did a (2.6 kernel boot) "dpkg-reconfigure xserver-xfree86" and used all the same numbers I used before but no go..I guess I will have to tweak it further..Now I have to go out for a while to take the wife shopping but I will try again tonight..
Thanks,
jolphil
BTW Debian seems like a very nice system..loads of software..I just have to learn it's ins and outs..
 
Old 03-06-2005, 11:35 AM   #6
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
You can check the error messages in /var/log/XFree86.0.log to see why GDM refuses to start with the 2.6.x kernel. My guess is that the problem has something to do with the mouse settings, which are a bit different between 2.4.x and 2.6.x kernels. You can install the mdetect package (if you haven't got it already), which adds a mouse autoconfiguration option to the "dpkg-reconfigure xserver-xfree86" script. If you want to disable GDM temporarily, you can install the sysvconfig utility and use it to easily disable/enable any services (such as GDM) that are started during boot time.

Last edited by Dead Parrot; 03-06-2005 at 11:58 AM.
 
Old 03-06-2005, 12:05 PM   #7
dastrike
Member
 
Registered: Apr 2004
Location: Stockholm, Sweden
Distribution: Debian 'sid'
Posts: 250

Rep: Reputation: 30
I think I may have found a solution to the beyond annoying problem of X refusing to start like that... Install udev (apt-get install udev) and reboot and it should start working - at least I managed to get it working just now like that on a test installation which was upgraded from 'woody' to 'sarge' (with kernel upgraded to 2.6) experienced just that kind of problem with X refusing to start.

I need to test some more to see whether this is a definitive solution or not to that beyond annoying issue.
 
Old 03-06-2005, 05:42 PM   #8
jolphil
Member
 
Registered: May 2002
Location: central florida
Distribution: Linux Mint, ,Mageia,Ubuntu
Posts: 453

Original Poster
Rep: Reputation: 33
Hi Guys,
Well earlier I had the 2.4 kernel working but not the 2.6..During the
try of starting x on the 2.6 I hosed both xservers and cannot get to the GUI on either...
I am not real good(allright just plain bad) at the command line ..So if it does not work at first
or second try somehow I manage to Fry it..
I am not feeling too cocky at the moment..Thus I will rest tonight and later on try a fresh install with the 2.6 kernel..
I am not sure how I missed it in the first place(cd netinst) but my Suse and MDK both installed with it..I will erase the drive and start fresh..My head is spinning with"xservers " that wont work..
I want you guys to know I really appreciate your efforts..I have not given up but just need to catch my breath and think this over..
Thanks again,
jolphil
 
Old 03-06-2005, 06:20 PM   #9
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Take your time. The command line can be a friendly place once you get to know it better.

To install Debian with the 2.6.x kernel you need to boot the installer CD with the command:
Code:
linux26
When you first plug the CD in and boot it, it will give you a prompt that says "boot:" and if you want to see all available boot options, you can at this point press some of the function keys F1-F10. But just typing linux26 and pressing Enter will do the trick.
 
Old 03-15-2005, 03:23 AM   #10
1702fp
Member
 
Registered: Feb 2005
Location: California
Distribution: Slackware
Posts: 82

Rep: Reputation: 15
Subscribes to thread
 
Old 03-15-2005, 06:36 PM   #11
Deeze
Member
 
Registered: Dec 2004
Distribution: Debian - Sarge -- Slackware 10.1 - Dropline
Posts: 154

Rep: Reputation: 30
My first guess on the xserver not coming up is *video driver*. You have to reinstall the nvidia drivers after a kernel change... or at least, I've always had to.
 
  


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
Coming back to Debian michapma Debian 8 11-08-2005 05:47 AM
Ubuntu reuse /home/directory coming from MEPIS/debian? lefty.crupps Ubuntu 3 10-11-2005 08:40 PM
when is the next release of debian coming out? (etch?) gus6464 Debian 5 09-19-2005 02:46 PM
Linkage Error with Libraries coming as Debian packages stackoverflow32 Linux - Software 0 08-05-2004 04:16 PM
Should I get debian ready now or later? (new motherboard coming) r3dhatter Debian 3 03-21-2004 03:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:55 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