View previous topic :: View next topic |
Author |
Message |
jwm224 Tux's lil' helper
Joined: 27 May 2015 Posts: 118 Location: Pennsylvania
|
Posted: Tue Jun 02, 2015 4:14 pm Post subject: Integrated Graphics. starx returns no screen. ? |
|
|
I'm having trouble with xorg drivers.
returns: no screens found.
I issued the command:
and, it showed my integrated video:
Code: |
VGA compatible controller Silicon Integrated Systems [sis] 661/741/760
PCI/AGP or 662/761Gx PCIE VGA display adapter (prog-if 00 [VGA controller])
subsystem: hewlett-Packard Company Device 2a06
flags: 66MHz, medium devsel, IRQ 12
BIST result: 00
Memory at e0000000 (32-bit, prefetchable) [size=128M]
Memory at ed000000 (32-bit, non-prefetchable) [size=128M]
I/O ports at 9000 [size=128]
Expansion ROM at <unassigned> [disabled]
Capabilities: [40] Power Management version 2
Capibilities [50] AGP version 3.0
|
There's no kernel drivers or modules listed below it.
I tried installed the x11 drivers. It doesn't seem to be apart of the package. I tried:
Code: | genkernel --menuconfig all |
I configured it the best I could. I did read there could be possible conflicts in the kernel.
My hands are in the air. Anyone have a solution or a direction with this?
I'm also getting this error:
Code: |
INIT: Id "s0" respawning too fast: disabled for 5 minutes
INIT: Id "s1" respawning too fast: disabled for 5 minutes
|
Which I read was just a bus port listening with no response. I doubt the two are related, but I figured I would post. I've been reading up on a solution for both for sometime.
I tried messing with /etc/inittab by commenting out the two lines. I still receive the error.
Thanks all |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Tue Jun 02, 2015 4:44 pm Post subject: |
|
|
make and model of the machine?
https://wiki.gentoo.org/wiki/Xorg/Guide
information needed, boot to the command line, login as root, run: Code: | emerge wgetpaste
lspci -k | wgetpaste
emerge --info | wgetpaste
wgetpaste /usr/src/linux/.config
startx
wgetpaste /var/log/Xorg.0.log | post the url's returned _________________ Defund the FCC. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54234 Location: 56N 3W
|
Posted: Tue Jun 02, 2015 4:47 pm Post subject: |
|
|
jwm224,
startx will have left behind a log file called /var/log/Xorg.0.log.
Make friends with wgetpaste and put it on the web.
Tell us the link.
The log will tell what Xorg actually did when it tried to start.
heh DONAHUE beat me to it. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
jwm224 Tux's lil' helper
Joined: 27 May 2015 Posts: 118 Location: Pennsylvania
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54234 Location: 56N 3W
|
Posted: Tue Jun 02, 2015 10:08 pm Post subject: |
|
|
jwm224,
The log lists all the drivers that suit your graphics chip,
Code: | [ 15071.340] (==) Matched sis as autoconfigured driver 0
[ 15071.340] (==) Matched modesetting as autoconfigured driver 1
[ 15071.340] (==) Matched fbdev as autoconfigured driver 2
[ 15071.340] (==) Matched vesa as autoconfigured driver 3
[ 15071.340] (==) Assigned the driver to the xf86ConfigLayout
[ 15071.340] (II) LoadModule: "sis" | then tries to load them one at a time and finds that they are all missing.
I suspect that your VIDEO_CARDS= entry in make.conf is incorrect or not set.
It needs to include sis. Check and fix that then Code: | emerge -1 xf86-video-sis | This will patch things up without rebuilding Xorg.
Your lspci paste returns a 404 error but you log shows that you have a SiS661FX/M661FX/741/M741/760/M760 PCI/AGP VGA Display Adapter
Your kernel looks OK for that.
Do startx again and post the log if it fails again.
Failing differently will be progress. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
jwm224 Tux's lil' helper
Joined: 27 May 2015 Posts: 118 Location: Pennsylvania
|
Posted: Tue Jun 02, 2015 10:20 pm Post subject: |
|
|
I won't emerge. It says it's an ebuild scheduled for merge, a blocked package by xorg-drivers-1.16.
I think I tried that earlier. |
|
Back to top |
|
|
jwm224 Tux's lil' helper
Joined: 27 May 2015 Posts: 118 Location: Pennsylvania
|
Posted: Tue Jun 02, 2015 10:28 pm Post subject: |
|
|
Code: | --buildpkgonly --nodeps |
I added this extension. I just looked it up.
It's compiling now. |
|
Back to top |
|
|
jwm224 Tux's lil' helper
Joined: 27 May 2015 Posts: 118 Location: Pennsylvania
|
Posted: Tue Jun 02, 2015 10:29 pm Post subject: |
|
|
no good.
failed compile phase. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54234 Location: 56N 3W
|
Posted: Tue Jun 02, 2015 10:37 pm Post subject: |
|
|
jwm224,
What does Code: | emerge -pv xorg-drivers | tell you.
It should be offering to build xf86-video-sis too.
--buildpkgonly isn't useful to you. Had it succeeded, you would have had a binary package in /usr/portage/packages but it would not be installed on your system.
--nodeps builds the packages but not anything it depends on. This can get you out a a hole sometimes but not during a new install, unless you already have all the packages that xf86-video-sis depends on. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
jwm224 Tux's lil' helper
Joined: 27 May 2015 Posts: 118 Location: Pennsylvania
|
Posted: Wed Jun 03, 2015 1:14 am Post subject: |
|
|
It shows all the flags (which I could add in manually, if you think that would help.) Sis isn't on the list. They're all depicted as drivers I don't need from what I understand, aside from the three in red text (evdev, keyboard and mouse.) Everything listed under VIDEO_CARDS is blue text with a negative dash as a prefix. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed Jun 03, 2015 3:50 am Post subject: |
|
|
the ebuild for xorg-drivers includes the line PDEPEND="!<=x11-drivers/xf86-video-sis-0.10.7 . The most recent version is x11-drivers/xf86-video-sis-0.10.7 Thus there is no version of x11-drivers/xf86-video-sis-0.10.7 which can be emerged without a block. Except emerge --nodeps xf86-video-sis-0.10.7 will bypass the block; but compile will fail with /var/tmp/portage/x11-drivers/xf86-video-sis-0.10.7/work/xf86-video-sis-0.10.7/src/sis_driver.c:60:22: fatal error: mibstore.h: No such file or directory
#include "mibstore.h" . https://bugs.gentoo.org/show_bug.cgi?id=444442 and its comments note various problems with the sis driver. last gentoo maintenance was 07/2012? last xf86 maintenance was 11/2014. patch work needed on the sis driver and the xorg-driver ebuild unless the sis driver gets a version bump as well as patches. Could be fun but I have no sis card. _________________ Defund the FCC. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed Jun 03, 2015 6:32 am Post subject: |
|
|
Boot to the command line
login as root
Code: | eselect kernel list | if needed, run eselect kernel set <desired kernel version> Code: | nano /usr/portage/x11-base/xorg-drivers/xorg-drivers-1.16.ebuild | edit last line !<=x11-drivers/xf86-video-sis-0.10.7 to read !<x11-drivers/xf86-video-sis-0.10.7 Code: | ebuild /usr/portage/x11-base/xorg-drivers/xorg-drivers-1.16.ebuild digest |
Code: | nano /usr/portage/x11-base/xorg-drivers/xorg-drivers-1.17.ebuild | edit next to last line !<=x11-drivers/xf86-video-sis-0.10.7 to read !<x11-drivers/xf86-video-sis-0.10.7 Code: | ebuild /usr/portage/x11-base/xorg-drivers/xorg-drivers-1.17.ebuild digest | These changes should remove the block as long as either ebuild is effective.
Proceed to create and install patches:
Code: | ebuild /usr/portage/x11-drivers/xf86-video-sis/xf86-video-sis-0.10.7.ebuild clean
ebuild /usr/portage/x11-drivers/xf86-video-sis/xf86-video-sis-0.10.7.ebuild fetch
ebuild /usr/portage/x11-drivers/xf86-video-sis/xf86-video-sis-0.10.7.ebuild unpack
mkdir /var/tmp/portage/x11-drivers/xf86-video-sis-0.10.7/work/xf86-video-sis-0.10.7-2
cp -aR /var/tmp/portage/x11-drivers/xf86-video-sis-0.10.7/work/xf86-video-sis-0.10.7* /var/tmp/portage/x11-drivers/xf86-video-sis-0.10.7/work/xf86-video-sis-0.10.7-2
wget -o /root/Downloads/xf86-video-sis-stable-master.zip https://github.com/gununu/xf86-video-sis-stable/archive/master.zip
unzip /root/Downloads/xf86-video-sis-stable-master.zip
cp -aR /root/Downloads/xf86-video-sis-stable-master/src/* /var/tmp/portage/x11-drivers/xf86-video-sis-0.10.7/work/xf86-video-sis-0.10.7-2/src
cd /var/tmp/portage/x11-drivers/xf86-video-sis-0.10.7/work
diff -Naru xf86-video-sis-0.10.7 xf86-video-sis-0.10.7-2 > triennial_update.patch
mkdir --parents /etc/portage/patches/x11-drivers/xf86-video-sis-0.10.7
cp -a triennial_update.patch /etc/portage/patches/x11-drivers/xf86-video-sis-0.10.7
patch -Np1 -d xf86-video-sis-0.10.7 < triennial_update.patch
ebuild /usr/portage/x11-drivers/xf86-video-sis/xf86-video-sis-0.10.7.ebuild install
cd
ebuild /usr/portage/x11-drivers/xf86-video-sis/xf86-video-sis-0.10.7.ebuild qmerge
reboot
startxfce4
emerge xf86-video-sis
reboot
startxfce4 | If carefully followed these steps will eliminate the xorg-driver block and allow the sis driver to compile. Whether the driver will run, I do not know. No sis card here. Setting VIDEO_CARDS=sis has no effect.
Edit to add rebuilding the digests for xorg-drivers _________________ Defund the FCC.
Last edited by DONAHUE on Thu Jun 04, 2015 11:22 pm; edited 2 times in total |
|
Back to top |
|
|
jwm224 Tux's lil' helper
Joined: 27 May 2015 Posts: 118 Location: Pennsylvania
|
Posted: Wed Jun 03, 2015 9:24 am Post subject: |
|
|
I was playing around with the drivers before I saw these last two posts. I downloaded and compiled "vesa", as I saw in the xorg.0.log file as a missing module. With vesa loaded, the screen goes black, flashes like, it wants to start, and then I get: "caught signal 4 illegal instruction". I tried messing with the xorg.conf file to set the monitor's resolution, thinking that might fix the error. I wasn't sure if the results I got were from a bad driver, or a poorly mapped out xorg.conf file, or both.
I'll give this patch a play in a bit. Although, I looked at those two locations, and didn't see either ebuild listed.
Thanks for all the feedback. |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Wed Jun 03, 2015 12:35 pm Post subject: |
|
|
"caught signal 4 illegal instruction" in most cases means you've set wrong C{XX}FLAGS for your machine. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Wed Jun 03, 2015 12:38 pm Post subject: |
|
|
Yep he did. Already told him on another thread that he needed to recompile everything.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
jwm224 Tux's lil' helper
Joined: 27 May 2015 Posts: 118 Location: Pennsylvania
|
Posted: Wed Jun 03, 2015 1:02 pm Post subject: |
|
|
I apologize there, John. I thinking, this guy never told me that. I just now seen the tail end of your June 1st post. I'm giving it a go. We'll see what happens.
Quote: | Keep in mind that you may have produced code paths with invalid instructions in them that just haven't crashed yet merely by accident. At some point, I'd recommend recompiling everything, starting with the toolchain
Code: | emerge -1v linux-headers glibc gcc | then proceeding to the @system setand finishing up with what you've installed Code: | emerge -ev @selected | Note that set math deficiencies in Portage mean that the latter two groups cannot be expressed without causing a fair amount of redundant recompilation, but then CPU cycles are cheap.
- John
|
Thanks again,
I'll post the outcome,
Jay |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed Jun 03, 2015 1:27 pm Post subject: |
|
|
edited the patching post above to add rebuilding the digests for xorg-drivers.
https://bugs.gentoo.org/show_bug.cgi?id=551042 submits a patch for xf86-video-sis-0.10.7 _________________ Defund the FCC. |
|
Back to top |
|
|
jwm224 Tux's lil' helper
Joined: 27 May 2015 Posts: 118 Location: Pennsylvania
|
Posted: Thu Jun 04, 2015 5:03 pm Post subject: |
|
|
I recompiled everything.
I think my networking is still fudged. I'm half afraid to mess with the settings, because it took me 4 days to get it working, and I'm still unsure what I had done. But, I'm at the step for wget. I run wget and it gives me an ascii text file that reads failed network is unreachable.
I ran
and it only shows my loopback address. I can ping google, but trying: for instance gives: "connect: network unreachable".
trying this: Code: | route add default gw <routerip> |
tells me:
SIOCADDRT: network is unreachable
My etc/resolv.conf file has ipv6 nameservers in place. Before to get my network to work, which (to what extent I'm unsure) I'd have to put namesservers in manually and they were ipv4. I tried putting in the ipv4 alternatives in place of the ipv6. It didn't like that; I had no functionality what so ever. I couldn't ping google.
I'm using dhcp to start the connection, and wpa_supplicant is in place as well.
when I run it shows:
wlan0 no wirless extentions
enp0s4 no wirless extentions
lo no wirless extentions
I'm going to end up dangling in my room over this network.
Last edited by jwm224 on Thu Jun 04, 2015 5:24 pm; edited 1 time in total |
|
Back to top |
|
|
jwm224 Tux's lil' helper
Joined: 27 May 2015 Posts: 118 Location: Pennsylvania
|
|
Back to top |
|
|
jwm224 Tux's lil' helper
Joined: 27 May 2015 Posts: 118 Location: Pennsylvania
|
Posted: Thu Jun 04, 2015 7:06 pm Post subject: |
|
|
I'm in the process of doing a make menuconfig with the protocol ipv6 unchecked. I hope this resolves the issue. What a pain! |
|
Back to top |
|
|
jwm224 Tux's lil' helper
Joined: 27 May 2015 Posts: 118 Location: Pennsylvania
|
Posted: Thu Jun 04, 2015 10:12 pm Post subject: |
|
|
@ Donahue
Should this step:
Code: | diff -Naru xf86-video-sis-0.10.7 xf86-video-sis-0.10.7-2 > kernel-4.1.0-rc3.patch |
say:
Code: | diff -Naru xf86-video-sis-0.10.7 xf86-video-sis-0.10.7-2 > triennial_update.patch |
I got errors both ways saying "Failed Patch: ${patchname}!".
https://bpaste.net/show/39164083de04
I finally got the Internet working with ipv4 protocol.
Thanks,
Jay |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Thu Jun 04, 2015 11:16 pm Post subject: |
|
|
diff -Naru xf86-video-sis-0.10.7 xf86-video-sis-0.10.7-2 > triennial_update.patch is correct
diff -Naru xf86-video-sis-0.10.7 xf86-video-sis-0.10.7-2 > kernel-4.1.0-rc3.patch is not
very sorry _________________ Defund the FCC. |
|
Back to top |
|
|
jwm224 Tux's lil' helper
Joined: 27 May 2015 Posts: 118 Location: Pennsylvania
|
Posted: Thu Jun 04, 2015 11:30 pm Post subject: |
|
|
That's fine.
I think I finally got the patch installed properly.
the code rolled by with the patch installing...
no errors.[/code]
I ran:
Code: | emerge xf86-video-sis |
And, it still showed blocked packages.
Anything I should try? |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Thu Jun 04, 2015 11:51 pm Post subject: |
|
|
if it is still the xorg-drivers-1.16.0 that blocks Code: | emerge -1av --nodeps xf86-video-sis | should bypass it. A semi-permanent fix: Code: | nano /usr/portage/x11-base/xorg-drivers/xorg-drivers-1.16.ebuild | edit last line !<=x11-drivers/xf86-video-sis-0.10.7 to read !<x11-drivers/xf86-video-sis-0.10.7 Code: | ebuild /usr/portage/x11-base/xorg-drivers/xorg-drivers-1.16.ebuild digest |
Code: | nano /usr/portage/x11-base/xorg-drivers/xorg-drivers-1.17.ebuild | edit next to last line !<=x11-drivers/xf86-video-sis-0.10.7 to read !<x11-drivers/xf86-video-sis-0.10.7 Code: | ebuild /usr/portage/x11-base/xorg-drivers/xorg-drivers-1.17.ebuild digest | These changes should remove the block as long as either ebuild is effective.
A gentoo developer has semi-promised a version upgrade that should be a permanent fix. When a version upgrade appears and causes a problem remove /etc/portage/patches/x11-drivers/xf86-video-sis-0.10.7/triennial_update.patch . _________________ Defund the FCC. |
|
Back to top |
|
|
jwm224 Tux's lil' helper
Joined: 27 May 2015 Posts: 118 Location: Pennsylvania
|
Posted: Fri Jun 05, 2015 12:14 am Post subject: |
|
|
That worked as far as installing it.
I'm still receiving "Caught signal 4 (illegal instruction). Server aborting"
I ran theses steps: Code: |
emerge -1v linux-headers glibc gcc
emerge -ev @system
emerge -ev @selected |
And, ran through all the unblocking instructions. I'm stuck.
Man, I really want this to work. |
|
Back to top |
|
|
|