Click to See Complete Forum and Search --> : Debian - first time installation


satimis
12-10-2003, 05:20 AM
Hi all folks,

I installed Debian 3.0 on a PII-box for test purpose. Everything seemed going on smoothly, except following problems found after installation.

1) X-server could not start

At time of installation I have no idea what chip to be selected for the old graphic card - Maxi Gamer Phoenix, Voodoo Banshee resulting in X-window failed to start (I just selected S3Visage)

# startx
error popup

/var/log/XFree86.log attached

2) Monitor = NEC Multisync XV15+
During installation no request for entering monitor detail

3) The PC has both CDRom and CDWriter
CDRom - slave to Primary IDE
CDWriter - master to Secondary IDE

One of them could not be detected

Under /dev/
only cdrom shown, no cdrom1 indicated.


Kindly advise
1) what chip to be selected and what command shall be used to make this adjustment including monitor config.

2) How to add CDWriter/CDRom to this box

Thanks in advance.

B.R.
satimis

deathadder
12-10-2003, 06:33 AM
1)
have to tried to reconfigure X? As root run

dpkg-reconfigure xserver-xfree86

you will need the following information 1) Refresh Rates 2) the PCI address of your graohics card, PCI:01:00:0 for instance run lspci to find that

2) dpkg-reconfigure xserver-xfree86 will ask for that

3) Is the CD-RW SCSI? If its SCSI you'll probably have to recompile your kernel

satimis
12-10-2003, 06:58 AM
Originally posted by deathadder
1)
have to tried to reconfigure X? As root run

dpkg-reconfigure xserver-xfree86

you will need the following information 1) Refresh Rates 2) the PCI address of your graohics card, PCI:01:00:0 for instance run lspci to find that

2) dpkg-reconfigure xserver-xfree86 will ask for that

3) Is the CD-RW SCSI? If its SCSI you'll probably have to recompile your kernel
Hi,

Thanks for your advice.

Re 1) and 2) I will try later. The problem is the chip set. At time of installation I have been asked to select the chip set of the graphic card. I have no idea and selected S3Vsage.

Re 3) It is an IDE CDWriter. On RH it can be detected as cdrom1.
(Remark: I have another mobile hard drive on this box runnin RH9.0)

B.R.
satimis

satimis
12-10-2003, 12:39 PM
Hi,

Further to my last posting, X-server starts now. But following problems still remain

1) Mouse - optical mouse
Selecting /dev/input/mice, X-server can't start
Selecting /dev/psaux, X-server starts but mouse dies. Toggling between 'init3' and 'init5' impossible. Had to force-reset the PC

Now I am using a PS/2 mouse instead with /dev/psaux setting

2) Cdwriter.
# ls -l /dev/cdrom /dev/cdrom -> hda
# df
showing / = /dev/hdc2
# ln -s /dev/hdb /dev/cdrom1
# ls -l /dev/cdrom1
total 0
Edit /etc/fstab
can't mount /dev/cdwriter

I am not sure whether cdrom1 has been symbolic linked to /dev/hdb. If YES how to remove it to try /dev/hdd etc.

3) # shutdown -h now
is not power down.

Kindly advise how to fix these problems. Thanks in advance.

B.R.
satimis

je_fro
12-10-2003, 01:57 PM
Is that a USB optical mouse? I'f so you'll need to apt-get hotplug, start hotplug and then unplug/replug your mouse.

3) The PC has both CDRom and CDWriter
CDRom - slave to Primary IDE
CDWriter - master to Secondary IDE


To find out what these devices are, do:
dmesg | less

Then use the names directly, or make links like:

ln -s /dev/you/want/to/link /dev/linkname

deathadder
12-10-2003, 02:23 PM
3) # shutdown -h now
is not power down.

Do you mean that it does not turn the computer off automagically and waits for you to press the power button? I so try loading the apm module, still need to get that working myself, or do u mean that the command itself is not working? Have you tried a 'halt' as root?

Also I had to load the following modules to get my USB optical mouse to work:

input
hid
keybdev
usbmouse
usbcore
usb-uhci
mouse-dev

Lucas_Maximus
12-10-2003, 07:02 PM
for the cd-wirting to work in linux scsi emulation i believe must be built into the kernel.

ACPI needs to be included in the kernel because the kernel doesn't know how to turn the system off.

satimis
12-10-2003, 11:15 PM
Originally posted by je_fro
Is that a USB optical mouse? I'f so you'll need to apt-get hotplug, start hotplug and then unplug/replug your mouse.



To find out what these devices are, do:
dmesg | less

Then use the names directly, or make links like:

ln -s /dev/you/want/to/link /dev/linkname
Hi,

Thanks for your advice.

1) Is it
a. run "apt-get hotplug" on Konsole window as root
b. run "start hotplug" also on Konsole window as root
c. turn off the PC
d. unplug PS/2 mouse and replug USB mouse
e. turn on the PC letting the OS to detect the USB mouse.

Thanks.

B.R.
satimis

satimis
12-10-2003, 11:21 PM
Originally posted by deathadder
3) # shutdown -h now
is not power down.

Do you mean that it does not turn the computer off automagically and waits for you to press the power button? I so try loading the apm module, still need to get that working myself, or do u mean that the command itself is not working? Have you tried a 'halt' as root?

Also I had to load the following modules to get my USB optical mouse to work:

input
hid
keybdev
usbmouse
usbcore
usb-uhci
mouse-dev
Hi,

Thanks for your advice.

1) Yes, I have to turn off the power manually by pressing the power button.

I execute "shutdown -h now" as root on Konsole window. -h=halt. It works on RH.

2) How to check following modules having been loaded;

input
hid
keybdev
usbmouse
usbcore
usb-uhci
mouse-dev

If any one missing how to load it.

Thanks

B.R.
satimis

deathadder
12-11-2003, 04:13 AM
I believe to list the that are loaded modules its 'cat /proc/modules' I'm going from memory here

To load a module you need to do a 'modprobe <modulename>', as root ofcourse, also try a 'modprobe apm' to see if that fixes your poweroff.

1) Is it
a. run "apt-get hotplug" on Konsole window as root
b. run "start hotplug" also on Konsole window as root
c. turn off the PC
d. unplug PS/2 mouse and replug USB mouse
e. turn on the PC letting the OS to detect the USB mouse.

Try booting with the USB mouse plugged in and the run steps a,b, and then unplugged the mouse and plugg it back in, if the mouse is detected you will get a message about a USB device being connected, can't remember the complete message though

mrBen
12-11-2003, 04:33 AM
You can run the lsmod command to see what modules are currently loaded.

If you have apt-getted the hotplug module, then apt-get will set it up to be started when you boot, and will also start it upon installation - no need for reboot.

When you plug in your USB mouse, you should see a message in dmesg, plus hotplug should load the relevant modules for you.

When I got my USB Trackball, all I needed to do (also on Debian, with hotplug installed) was restart X and it was working fine.

HTH

satimis
12-22-2003, 01:53 AM
Originally posted by mrBen
You can run the lsmod command to see what modules are currently loaded.

If you have apt-getted the hotplug module, then apt-get will set it up to be started when you boot, and will also start it upon installation - no need for reboot.

When you plug in your USB mouse, you should see a message in dmesg, plus hotplug should load the relevant modules for you.

When I got my USB Trackball, all I needed to do (also on Debian, with hotplug installed) was restart X and it was working fine.

HTH
Hi,

Thanks for your advice.

Season's Greetings and B.R.
satimis