SliTaz SliTaz Forum

You are not logged in.

#1 2014-01-19 18:51:13

indigo
Member
Registered: 2014-01-18
Posts: 3

Cannot startx

Hi,

I am able to install Slitaz-4.0 ISO which allows me to connect and gives me internet access. It is installed on an old Toshiba satellite laptop, with 128 MB ram (https://www.bjassociates.com/4000cds.htm).

I am unable to start X, and the error message disappears too quickly for me to be able to see. It does seem to be video card related though. The card seems to be "Chips & Technologies HiQVideo 65555 Graphics Controller" from the site. Would you expect this to be supported ?

Can you please tell me what information to provide in order to debug this.

Thanks.

Offline

#2 2014-01-19 22:31:01

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: Cannot startx

it is supported by the xorg driver xf86-video-chips https://www.archlinux.org/packages/extra/i686/xf86-video-chips/ which does not exist until now in SliTaz

perhaps somebody will compile it:

http://cgit.freedesktop.org/xorg/driver/xf86-video-chips/

Offline

#3 2014-01-20 06:52:00

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Cannot startx

Download:

http://www.mediafire.com/download/tolew8dfcgpx2wb/xorg-xf86-video-chips-1.2.5.tazpkg

If you have problem after installing:

[c]less /var/log/Xorg.0.log[/c]

Verify the chips driver is loading

If not add to /etc/X11/xorg.conf.d/60-Device.conf

Driver "chips"

More Info: http://doc.slitaz.org/en:guides:xorg-xvesa / Configuring X

Write the log to file and attach to Reply if you need more help.

[c]cat /var/log/Xorg.0.log > xorg.log.txt[/c]

Offline

#4 2014-01-22 21:31:11

indigo
Member
Registered: 2014-01-18
Posts: 3

Re: Cannot startx

Hi,

Thanks a lot for the suggestions. I'm struggling with this though.

I tried downloading the file to a USB drive, but I can't see the usb device once inserted.

I tried installing the livecd to the hdd, so I could copy the driver file.  But following these instructions, http://doc.slitaz.org/en:handbook:installation

I get a problem where

#mount /dev/hda2 /mnt/target

gives me "attempt to access beyond end of device".

Thanks once again.

Offline

#5 2014-01-23 08:44:24

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: Cannot startx

the usb stick is always sdxx

so it should be #mount /dev/sda1 /mnt/flash

check with # fdisk -l   how the device is called

Offline

#6 2014-01-23 17:40:04

indigo
Member
Registered: 2014-01-18
Posts: 3

Re: Cannot startx

Hi,

Thanks once again, but fdisk only shows /dev/hda devices. So I guess the USB flash device isn't picked up.

Any other sueggestions for what I should do here - should I try and cook my own ISO which has the necessary video driver included ?

Also, any ideas as to the problem I have on writing to the HDD, mentioned above :

#mount /dev/hda2 /mnt/target

gives me "attempt to access beyond end of device".

Thanks.

Offline

#7 2014-01-23 17:51:40

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Cannot startx

Google search indicates "attempt to access beyond end of device" could be a partioning/formating error or drive failure.

If the flash drive partion/format is corrupt or the flash drive memory is failing it won't appear in the output of [c]fdisk -l[/c]

Offline

#8 2014-04-02 20:12:51

monz
Member
Registered: 2014-04-02
Posts: 5

Re: Cannot startx

I have an old Toshiba 4025cdt laptop, which uses the Chips and Technologies F65555 HiQVPro (rev c6) VGA controller. I installed Slitaz 3.0 on this computer and everything worked fine, including X. But I just did # tazpkg set-release stable to make it upgrade to version 4.0, and I am able to log in to the command-line but X does not work.

I tried downloading Mojo's .tazpkg for the chips driver in the link above, but tazpkg will not install it. The error says "line 2958: can't open '/tmp/tazpkg-2259/18057/recept' .. and the numbers change when I try again.

I also downloaded the Arch package, used xz to unzip it, then tried to run # tazpkg convert on the resulting .tar file, but got the error: "Unsupported format".

As a last resort, I did # tar -xf on the Arch .tar file, then copied the chips_drv.so file to /usr/lib/X11/modules/drivers, and manually changed the driver in the /etc/X11/xorg.conf.d/60-Device.conf .. but X still does not work.

When I try to start slim, I get a message that Slim is starting, but there is no X display. When I run the startx command, it says:

(EE) module ABI major version (15) doesn't match the server's version (8)

(EE) Failed to load module "chips" (module requirement mismatch, 0)

(EE) No drivers available.

Fatal server error:

no screens found

PLEASE HELP!

Offline

#9 2014-04-03 13:07:34

Guest
Guest

Re: Cannot startx

Sounds like your module does not match your kernel version.

#10 2014-04-03 22:47:42

monz
Member
Registered: 2014-04-02
Posts: 5

Re: Cannot startx

@fatmac: Yes, I already guessed that that is the problem, so thanks for confirming. So how can I get X working on this machine?

Offline

#11 2014-04-03 23:50:49

sixofeight
Member
Registered: 2013-07-02
Posts: 234

Re: Cannot startx

@monz

---> but tazpkg will not install it <---

maybe a corrupt Download ?

I just installed the "xorg-xf86-video-chips-1.2.5.tazpkg"

( md5 = 62586eb627573f2b5e773024ebeb3141 ) without any errors.(Sz4 stable)

root@slitaz:/home/tux# tazpkg -i /home/tux/Download/xorg-xf86-video-chips-1.2.5.tazpkg

Installation of : xorg-xf86-video-chips

=================================================

Copying xorg-xf86-video-chips...                                     [ OK ]

Extracting xorg-xf86-video-chips...                                  [ OK ]

Extracting the pseudo fs... (lzma)                                   [ OK ]

Installing xorg-xf86-video-chips...                                  [ OK ]

Removing all tmp files...                                            [ OK ]

=================================================

xorg-xf86-video-chips (1.2.5) is installed.

Offline

#12 2014-04-04 07:54:43

monz
Member
Registered: 2014-04-02
Posts: 5

Re: Cannot startx

Duh .. I had first tried saving the .tazpkg using my command-line Links browser, on the Toshiba 4025cdt. But javascript doesn't work on that and so what I got was the link to the download webpage, which is what I tried to install. After getting the correct file, it works for me now. So thanks for the help.

BUT ... the screen resolution is not correct. It is a little smaller than the full screen, with approximately 3 cm of black screen around each side of the X display. How can I find out what my current resolution is, and how can I fix it to fill the whole screen correctly?

Update .. I've done some research and it looks like the Toshiba 4025cdt has XGA graphics, which would be 1024x768 resolution.

I tried the suggestions I read here:

http://forum.slitaz.org/topic/max-screen-resolution-800x600-in-slitaz-40

I removed the "Depth 24" subsection, and added the "Modes 1024x768" line to the "Depth 16" subsection, but I still get the same small display.

Offline

#13 2014-04-05 15:35:51

christophe
Member
Registered: 2011-04-17
Posts: 432

Re: Cannot startx

What I have successfully done in the past when struggling with X is boot Ubuntu, which manages to handle the whole thing as expected, copy the X configuration files, and then use them within Slitaz wink

Offline

#14 2014-04-07 15:30:08

monz
Member
Registered: 2014-04-02
Posts: 5

Re: Cannot startx

Thanks to christophe for that tip .. but I doubt if Ubuntu would ever be able to run on this old machine .. it does have a CD drive, so I'll pop in an Ubuntu CD and give it a try.

Offline

#15 2014-04-07 15:54:56

monz
Member
Registered: 2014-04-02
Posts: 5

Re: Cannot startx

No joy .. I could not get this machine to boot from any of the CDs I tried (Mint, Xubuntu, Centos, all quite old, trying to match the Slitaz 4 kernel) .. evn though the BIOS boot-priority setting is "FDD->CD->HDD". Any other ideas?

Offline

#16 2014-04-07 16:20:12

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Cannot startx

Versions of ubuntu after lucid won't run on older cpu i486,i586 without cmov instruction.

Xorg-server doesn't write a xorg.conf unless [c]X -configure[/c] is run manually or called by a script.

tazx is the script in slitaz which calls up X -configure and attempts to setup xorg on boot. In slitaz-4 it splits xorg.conf into a file for each section preceded by a number and installs them to /etc/X11/xorg.conf.d

Satellite 4025CDT specs:

http://support.toshiba.com/support/staticContentDetail?contentId=638220&isFromTOCLink=false

Video memory is 2MB

Resolution

Colors Support

Full Screen 1024 x 768 64K colors

Maximum full screen resolution is 1024x768 with 64k colors which is 16-bit high color is possible.

I would remove any configuration you made to /etc/X11/xorg.conf

Delete all /var/log/Xorg.*.log files so a fresh one is created.

These tools in combination with /var/log/Xorg.*.log give information needed to maybe improve the configuration.

Open terminal as root.

[c]tazpkg -gi xorg-xwininfo[/c]

xwininfo

Click + mouse cursor in xwindow

Post the output.

[c]tazpkg -gi xorg-xdpyinfo[/c]

[c]xdpyinfo > xdpyinfo.txt[/c]

[c]cat /var/log/Xorg.0.log > xorg.log.txt[/c]

Attach xdpyinfo.txt and xorg.log.txt to your reply.

If tools report 24-bit color at lower resolution than 1024x768 we force to 16-bit color with DefaultDepth 16 in 70-Screen.conf to enable increased resolution to 1024x768

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.021 seconds, 7 queries executed - Memory usage: 1.57 MiB (Peak: 1.77 MiB) ]