LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux/XP dual boot problem (https://www.linuxquestions.org/questions/linux-newbie-8/linux-xp-dual-boot-problem-483312/)

CJohnM 09-13-2006 11:29 PM

Linux/XP dual boot problem
 
I run Fedora as a single OS but I also have an XP/Debian dual boot on another box - this was from my first attempt at installing linux about 6 months ago, and although Debian boots I can't start X (stuck with the command line).

I believe the problem stems from the Intel865 chipset on my system (http://www.chzsoft.com.ar/855patch.html). The situation is complicated because I'm on a wireless network and can't seem to connect to that from within Debian, so even though these patches are available I can't download them (I tried installing one by hand from a CD but it didn't work).

So, to get to the point: are there any other distros that cope better with the Intel865 chipset, and would it be safe to install one over Debian? I still want to keep XP, so don't want to erase all partitions. My other system is an old Dell Optiplex with an Intel celeron chipset, and Fedora works fine on that.

Many thanks in advance

stress_junkie 09-14-2006 12:10 AM

The Debian machine probably doesn't have the X software installed. You can install it by running the apt-get utility as in:
Code:

apt-get kde
That will install both X and KDE.

CJohnM 09-15-2006 10:16 AM

Hi,

Thanks for that, but I do actually have X installed - it tries to start, but fails.

Nylex 09-15-2006 10:19 AM

Please post relevant error messages.

CJohnM 09-16-2006 01:48 AM

Luckily I can access my linux partition from Windows, so here's my xorg.conf file, and what I think is the relevant bit of my Xorg.0 log file -

Code:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#  sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
        FontPath        "/usr/share/X11/fonts/misc"
        FontPath        "/usr/share/X11/fonts/cyrillic"
        FontPath        "/usr/share/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/share/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/X11/fonts/Type1"
        FontPath        "/usr/share/X11/fonts/CID"
        FontPath        "/usr/share/X11/fonts/100dpi"
        FontPath        "/usr/share/X11/fonts/75dpi"
        # paths to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
        Load        "GLcore"
        Load        "bitmap"
        Load        "ddc"
        Load        "dri"
        Load        "extmod"
        Load        "freetype"
        Load        "glx"
        Load        "int10"
        Load        "type1"
        Load        "vbe"
EndSection

Section "InputDevice"
        Identifier        "Generic Keyboard"
        Driver                "kbd"
        Option                "CoreKeyboard"
        Option                "XkbRules"        "xorg"
        Option                "XkbModel"        "pc105"
        Option                "XkbLayout"        "gb"
EndSection

Section "InputDevice"
        Identifier        "Configured Mouse"
        Driver                "mouse"
        Option                "CorePointer"
        Option                "Device"                "/dev/input/mice"
        Option                "Protocol"                "ImPS/2"
        Option                "Emulate3Buttons"        "true"
        Option                "ZAxisMapping"                "4 5"
EndSection

Section "Device"
        Identifier        "Intel Corporation 82865G Integrated Graphics Device"
        Driver                "i810"
        BusID                "PCI:0:2:0"
        VideoRam        32768
EndSection

Section "Monitor"
        Identifier        "Generic Monitor"
        Option                "DPMS"
        HorizSync        31-80
        VertRefresh        56-75
EndSection

Section "Screen"
        Identifier        "Default Screen"
        Device                "Intel Corporation 82865G Integrated Graphics Device"
        Monitor                "Generic Monitor"
        DefaultDepth        24
        SubSection "Display"
                Depth                1
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier        "Default Layout"
        Screen                "Default Screen"
        InputDevice        "Generic Keyboard"
        InputDevice        "Configured Mouse"
EndSection

Section "DRI"
        Mode        0666
EndSection

I edited the VideoRam in the above by hand, trying various settings, but none has worked so far.

Code:

(...)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
[drm] failed to load kernel module "i915"
(II) I810(0): [drm] drmOpen failed
(EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.
(II) I810(0): Updated framebuffer allocation size from 5120 to 8192 kByte
(II) I810(0): Updated pixmap cache from 512 scanlines to 1280 scanlines
(II) I810(0): 0x84453c4: Memory at offset 0x00020000, size 8192 kBytes
(II) I810(0): 0x84b5828: Memory at offset 0x07fff000, size 4 kBytes
(II) I810(0): 0x84280a0: Memory at offset 0x07ffb000, size 16 kBytes
(II) I810(0): 0x8541904: Memory at offset 0x00000000, size 128 kBytes
(II) I810(0): 0x8445404: Memory at offset 0x07fea000, size 64 kBytes
(II) I810(0): 0x84280c8: Memory at offset 0x07ffa000, size 4 kBytes
(II) I810(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(WW) I810(0): Extended BIOS function 0x5f05 failed.
(II) I810(0): xf86BindGARTMemory: bind key 4 at 0x000df000 (pgoffset 223)
(II) I810(0): xf86BindGARTMemory: bind key 0 at 0x07fff000 (pgoffset 32767)
(II) I810(0): xf86BindGARTMemory: bind key 1 at 0x07ffb000 (pgoffset 32763)
(II) I810(0): xf86BindGARTMemory: bind key 3 at 0x07fea000 (pgoffset 32746)
(II) I810(0): xf86BindGARTMemory: bind key 2 at 0x07ffa000 (pgoffset 32762)
(II) I810(0): Setting refresh with VBE 3 method.
(II) I810(0): Display plane A is enabled and connected to Pipe A.
(II) I810(0): Enabling plane A.
(II) I810(0): Display plane A is now enabled and connected to Pipe A.
(II) I810(0): PIPEACONF is 0x80000000
(II) I810(0): Mode bandwidth is 47 Mpixel/s
(II) I810(0): maxBandwidth is 1528 Mbyte/s, pipe bandwidths are 252 Mbyte/s, 0 Mbyte/s
(II) I810(0): Using XFree86 Acceleration Architecture (XAA)
        Screen to screen bit blits
        Solid filled rectangles
        8x8 mono pattern filled rectangles
        Indirect CPU to Screen color expansion
        Solid Horizontal and Vertical Lines
        Offscreen Pixmaps
        Setting up tile and stipple cache:
                32 128x128 slots
                12 256x256 slots
(==) I810(0): Backing store disabled
(==) I810(0): Silken mouse enabled
(II) I810(0): Initializing HW Cursor
(**) Option "dpms"
(**) I810(0): DPMS enabled
(II) I810(0): direct rendering: Failed
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(**) Option "CoreKeyboard"
(**) Generic Keyboard: Core Keyboard
(**) Option "Protocol" "standard"
(**) Generic Keyboard: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Generic Keyboard: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Generic Keyboard: XkbModel: "pc105"
(**) Option "XkbLayout" "gb"
(**) Generic Keyboard: XkbLayout: "gb"
(**) Option "CustomKeycodes" "off"
(**) Generic Keyboard: CustomKeycodes disabled
(**) Option "Protocol" "ImPS/2"
(**) Configured Mouse: Device: "/dev/input/mice"
(**) Configured Mouse: Protocol: "ImPS/2"
(**) Option "CorePointer"
(**) Configured Mouse: Core Pointer
(**) Option "Device" "/dev/input/mice"
(EE) xf86OpenSerial: Cannot open device /dev/input/mice
        No such device.
(EE) Configured Mouse: cannot open input device
(EE) PreInit failed for input device "Configured Mouse"
(II) UnloadModule: "mouse"
(WW) No core pointer registered
(II) XINPUT: Adding extended input device "Generic Keyboard" (type: KEYBOARD)
No core pointer

Fatal server error:
failed to initialize core devices

Please consult the The X.Org Foundation support
        at http://wiki.X.Org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

(WW) I810(0): Successfully set original devices
(WW) I810(0): Setting the original video mode instead of restoring
        the saved state
(WW) I810(0): Extended BIOS function 0x5f05 failed.
(II) I810(0): BIOS call 0x5f05 not supported, setting refresh with VBE 3 method.
(II) I810(0): xf86UnbindGARTMemory: unbind key 4
(II) I810(0): xf86UnbindGARTMemory: unbind key 0
(II) I810(0): xf86UnbindGARTMemory: unbind key 1
(II) I810(0): xf86UnbindGARTMemory: unbind key 3
(II) I810(0): xf86UnbindGARTMemory: unbind key 2
(WW) I810(0): Successfully set original devices (2)

Hope that helps.

rickh 09-16-2006 01:57 AM

What kind of mouse do you have?

CJohnM 09-17-2006 06:16 PM

Hi,

My box is a Dell Dimension3000, and I've got a standard Dell 3-button optical mouse. I just changed to an old IBM 2-button rollerball one, then

Code:

dpkg-reconfigure xserver-xorg
but got the same error message. I really think the problem is with the i865 chipset.

JimBass 09-17-2006 07:42 PM

I very much doubt it is a problem with the chipset. Did X ever work for you? If it did, then the problem is that your X configuration became messed up somehow.

You have this in the xorg.conf file
Quote:

Section "Device"
Identifier "Intel Corporation 82865G Integrated Graphics Device"
Driver "i810"
BusID "PCI:0:2:0"
VideoRam 32768
EndSection
Googleing for Intel Corporation 82865G Integrated Graphics Device and xorg.conf has almost 150 hits, including one here at linuxquestions, http://www.linuxquestions.org/questi...d.php?t=480138

That suggests very strongly that you simply have some bad values somewhere within your xorg.conf file. Look at the logs, and try and fix the problems.

I also doubt it is related to the amount of video ram. it seems more like a resolution or horizontal/verticle refresh thing.

Peace,
JimBass

NoStop 09-18-2006 01:40 AM

Try changing this:

Driver "i810"
BusID "PCI:0:2:0"
VideoRam 32768

To this for now:

Driver "vesa"

and see whether that gets you into the GUI.

I don't understand why your device driver is "i810" but xorg is trying to load kernel module "i915"? Seems like something amiss there.

Do you have a program called xorgconf on your system? If you do, you might try running that and maybe it'll force the loading of the correct device driver if you choose "i810" when running the program?


Cheers.

CJohnM 09-18-2006 11:09 AM

OK cheers guys, I'll try your suggestions and let you know how it turns out (think I've already tried configuring for vesa, but I'll have another go).

Chris


All times are GMT -5. The time now is 05:41 PM.