Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
startx can't find "screens"
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
silent_Walker
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2012
Posts: 100
Location: forums.gentoo.org

PostPosted: Sun Oct 14, 2012 3:19 pm    Post subject: Reply with quote

Code:
          CPU0       CPU1       
  0:        617          1   IO-APIC-edge      timer
  1:         24       1451   IO-APIC-edge      i8042
  2:          0          0    XT-PIC-XT-PIC    cascade
 11:          0          0    XT-PIC-XT-PIC    radeon
 12:          1          3   IO-APIC-edge      i8042
 16:          0          2   IO-APIC-fasteoi   ohci_hcd:usb3, ohci_hcd:usb4
 17:          0          0   IO-APIC-fasteoi   ehci_hcd:usb1
 18:          4        228   IO-APIC-fasteoi   ohci_hcd:usb5, ohci_hcd:usb6
 19:          0         15   IO-APIC-fasteoi   ehci_hcd:usb2
 22:         12        828   IO-APIC-fasteoi   ahci
 43:         17        777   PCI-MSI-edge      eth0
NMI:          0          0   Non-maskable interrupts
LOC:    1817005    1816616   Local timer interrupts
SPU:          0          0   Spurious interrupts
PMI:          0          0   Performance monitoring interrupts
IWI:          0          0   IRQ work interrupts
RTR:          0          0   APIC ICR read retries
RES:       5142       4431   Rescheduling interrupts
CAL:          7         21   Function call interrupts
TLB:        522        468   TLB shootdowns
ERR:          0
MIS:          0



18 is ohci_hcd:usb5, ohci_hcd:usb6

radeon is irq 11
_________________
^.^
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54214
Location: 56N 3W

PostPosted: Sun Oct 14, 2012 3:52 pm    Post subject: Reply with quote

silent_Walker,

Thats probably a good choice as I see from your dmesg
Code:
[drm] Initialized drm 1.1.0 20060810
[drm] radeon defaulting to kernel modesetting.
[drm] radeon kernel modesetting enabled.
radeon 0000:01:05.0: can't find IRQ for PCI INT B; probably buggy MP table
so the system can't find an IRQ for your video card anyway.

Read the file /usr/src/linux/Documentation/kernel-parameters.txt It comes down to some trial and error. These are all options you can pass to your kernel at boot time.
For testing, edit the kernel line by pressing 'e' at the grub screen. Try only one at at time. In most cases, several options do not make sense.

Code:
acpi=noirq
acpi=off
acpi_apic_instance=2
irqfixup
irqpoll
try each of those in order, one at a time. When the system comes up, check for the IRQ xx and nobody cared in dmesg and the speed of responsiveness of the system.
You should already have tried irqpoll. If none of those work, it gets harder as you need to try kernel rebuilds but there is not a lot left.

Flashing the BIOS is both risky and may not fix it anyway, so thats very much a last ditch thing to try, even if you can find a newer BIOS.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
silent_Walker
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2012
Posts: 100
Location: forums.gentoo.org

PostPosted: Sun Oct 14, 2012 4:09 pm    Post subject: Reply with quote

unfortunately none worked.
_________________
^.^
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54214
Location: 56N 3W

PostPosted: Sun Oct 14, 2012 4:50 pm    Post subject: Reply with quote

silent_Walker,

You have lost 2 USB root hubs then.

This is a safe expreriment to try provided you do not depend on a USB keyboard and mouse for control of your system.
Its also safe if you can log in from another system using ssh to regain control.

Its hardware dependent ... some USB subsystems have Transaction Translation, some don't if you do, you can use the EHCI driver for USB1 devices too.
Turn on
Code:
  │    <*>   EHCI HCD (USB 2.0) support                                 │ │ 
  │ │    [*]   Root Hub Transaction Translators                           │ │ 
  │ │    [*]   Improved Transaction Translator scheduling 
and turn off
Code:
< >   OHCI HCD support


If your USB1 devices still work (keyboards, mice, older webcams ... ) you have Transaction translation.

dmesg will show things like
Code:
[    2.374831] usb 1-6.1: new low-speed USB device number 3 using ehci_hcd
[    2.566381] usb 1-6.2: new full-speed USB device number 4 using ehci_hcd
which is two usb1 devices using the EHCI driver.
This may work around your problem by not using IRQ 18.

It will not solve the missing Radeon IRQ though
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
silent_Walker
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2012
Posts: 100
Location: forums.gentoo.org

PostPosted: Sun Oct 14, 2012 5:21 pm    Post subject: Reply with quote

Configured the kernel and turned of irqpoll rebooted and dmesg does not show irq 18: nobody cared (try booting with the "irqpoll" option)
_________________
^.^
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54214
Location: 56N 3W

PostPosted: Sun Oct 14, 2012 5:30 pm    Post subject: Reply with quote

silent_Walker,

Thats progress then, as long as your USB 1.0 devices still work.

OK lets try Xorg. Make sure that /etc/X11/xorg.conf does not exist - rename it if it does, so its not used, then do startx.
Post the /var/log/Xorg.0.log file you get after the startx command. Its too big for a forums post, so put it on a pastebin.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
silent_Walker
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2012
Posts: 100
Location: forums.gentoo.org

PostPosted: Sun Oct 14, 2012 5:39 pm    Post subject: Reply with quote

xorg.conf does not exist
Log :
bpaste.net/show/51193
_________________
^.^
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54214
Location: 56N 3W

PostPosted: Sun Oct 14, 2012 5:55 pm    Post subject: Reply with quote

silent_Walker,

It was all going really well until
Code:
[   254.375] drmOpenDevice: node name is /dev/dri/card0
[   254.392] drmOpenByBusid: Searching for BusID pci:0000:01:05.0
[   254.392] drmOpenDevice: node name is /dev/dri/card0
[   254.408] drmOpenByBusid: drmOpenMinor returns -1


Does the file /dev/dri/card0 exist?
What are its permissions?

Please post your current kernel .config too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
silent_Walker
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2012
Posts: 100
Location: forums.gentoo.org

PostPosted: Sun Oct 14, 2012 9:14 pm    Post subject: Reply with quote

Under the dev directory I do not have a dri directory, however I do have a device file called card0. It has superuser privliges, I believe. Also all of the other device files are under the dev dir.

current kernel config is here:

bpaste.net/show/51246
_________________
^.^
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54214
Location: 56N 3W

PostPosted: Sun Oct 14, 2012 9:36 pm    Post subject: Reply with quote

silent_Walker,

Lets see if your /dev/card0 is what Xorg is looking for. This is a test only, it won't stick over reboots.
Make the dri directory and make it contain a symlink to /dev/card0

Code:
mkdir /dev/dri
ln -s /dev/card0 /dev/dri/card0


If that keeps Xorg happy when you startx, we know the problem but not the fix.

Code:
ls -l /dev/card0
should belong to root and be in the video group.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
silent_Walker
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2012
Posts: 100
Location: forums.gentoo.org

PostPosted: Sun Oct 14, 2012 9:58 pm    Post subject: Reply with quote

startx does start succesfully now :D However it just sits at a black screen with the X cursor and the entire system hangs, the caps and num lock keys wont even turn off also none of the function keys work either.

Here is my latest X log

http://bpaste.net/show/51255/
_________________
^.^


Last edited by silent_Walker on Tue Oct 16, 2012 1:57 am; edited 1 time in total
Back to top
View user's profile Send private message
silent_Walker
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2012
Posts: 100
Location: forums.gentoo.org

PostPosted: Tue Oct 16, 2012 12:02 am    Post subject: Reply with quote

Looked through the forums and found an old thread that depicted the same problem that I am having and it was solved through
"eselect opengl set ati"
That however did not work, because accorrding to eselect I have no GPU drives loaded besides opengl.
_________________
^.^
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Tue Oct 16, 2012 2:42 am    Post subject: Reply with quote

That 51255 log shows only successful server termination, though the odd thing is that no input devices are getting activated, nor any input drivers are getting loaded.
Is xf86-input-evdev emerged ?
Is udev running ? If so, what does 'udevadm info' print about i.e. your mouse ?
Back to top
View user's profile Send private message
silent_Walker
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2012
Posts: 100
Location: forums.gentoo.org

PostPosted: Tue Oct 16, 2012 9:53 pm    Post subject: Reply with quote

VoidMage wrote:
That 51255 log shows only successful server termination, though the odd thing is that no input devices are getting activated, nor any input drivers are getting loaded.
Is xf86-input-evdev emerged ?
Is udev running ? If so, what does 'udevadm info' print about i.e. your mouse ?


I do have xf86-input-evdev emerged and udevadm info says missing option
_________________
^.^
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Tue Oct 16, 2012 10:11 pm    Post subject: Reply with quote

:roll: 'udevadm info --help', 'man udevadm'...

Though chances are the server quits simply cause you aren't running any clients (like i.e. a window manager).
Back to top
View user's profile Send private message
silent_Walker
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2012
Posts: 100
Location: forums.gentoo.org

PostPosted: Wed Oct 17, 2012 1:58 am    Post subject: Reply with quote

VoidMage wrote:
:roll: 'udevadm info --help', 'man udevadm'...

Though chances are the server quits simply cause you aren't running any clients (like i.e. a window manager).


I do have compiz in my .xinitrc and desktop does display with a cursor but the mouse and keyboard will not work in a X environment.
_________________
^.^
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54214
Location: 56N 3W

PostPosted: Wed Oct 17, 2012 4:59 pm    Post subject: Reply with quote

silent_Walker,

Move your ~/.xinitrc out of the way for now.
Do
Code:
emerge -1 twm xterm xclock
and run startx with no xorg.conf and no ~/.xinitrc

You should get twm, displaying three xterms and an analogue clock. This is a standard test of Xorg.

Homework: Why is the -1 in the emerge command above?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
silent_Walker
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2012
Posts: 100
Location: forums.gentoo.org

PostPosted: Thu Oct 18, 2012 12:25 am    Post subject: Reply with quote

The -1 in emerge means it will emerge the package as normal but the package will not update.

Without .xinitrc the server just quits.
_________________
^.^
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54214
Location: 56N 3W

PostPosted: Sat Oct 20, 2012 10:50 am    Post subject: Reply with quote

silent_Walker,

Correct. In this instance, the packages will not be added to your world file, (hence will not be updated) and will be removed by emerge --depclean.
Thats good as they are only intended for testing and will be removed in the normal course of system maintainence.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum