DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 31st May 2013
spermwhale_warrior spermwhale_warrior is offline
Port Guard
 
Join Date: May 2013
Posts: 16
Thanked 0 Times in 0 Posts
Question right after installation X starts and the screen darkens forever.

Hi.
I am new here since I got NBSD on my laptop a few days ago.
The screen become black and doesn't respond anymore.
I can see a few console line from X right before it darkens,
but redirected to some files, the error output is empty, and
the regular output contains mere binary data, while the 'file' command
doesn't recognize.
So I am stuck with it and I can't what's behind.
What more could I do to figure out the problem ?
I precise I am far from being a full fledged debugger,
though I could be if precise instructions are given.

with thanks, S_P
Reply With Quote
  #2   (View Single Post)  
Old 1st June 2013
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,135
Thanked 182 Times in 149 Posts
Default

How did you start X? Did you configure XDM for a graphical logon? See
http://netbsd.org/docs/guide/en/chap-x.html#chap-x-xdm

Considering the issues you are having and assuming this is a new install you could try a reinstall and do a standard text-only logon for easier sorting out this the problem with X.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #3   (View Single Post)  
Old 1st June 2013
spermwhale_warrior spermwhale_warrior is offline
Port Guard
 
Join Date: May 2013
Posts: 16
Thanked 0 Times in 0 Posts
Default

I did not have configured xdm for a graphical logon,
but now I've done, and nothing has changed.
This is a new install, but I logged in in CLI from the start.
Every time I start startx or let the XDM service at startup run,
the screen turn off.
At the end of the script of the command 'Xorg -configure',
is output 'Number of created screens does not match number of
detected devices. Configuration failed.'
What else can I do ?
Reply With Quote
  #4   (View Single Post)  
Old 1st June 2013
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 552
Thanked 14 Times in 13 Posts
Default

Quote:
Originally Posted by spermwhale_warrior View Post
At the end of the script of the command 'Xorg -configure',
is output 'Number of created screens does not match number of
detected devices. Configuration failed.'
What else can I do ?
Although the 'Xorg -configure' fails, does it leave behind an xorg.conf.new with anything useful in it at all? I am thinking you could try to write your own xorg.conf file by hand, and that could be a place to start working from.

Also, if you could attach a dmesg output that might help people identify pieces of your hardware.
Reply With Quote
  #5   (View Single Post)  
Old 2nd June 2013
spermwhale_warrior spermwhale_warrior is offline
Port Guard
 
Join Date: May 2013
Posts: 16
Thanked 0 Times in 0 Posts
Default

CPU MAD Athlon MV-40,
carte graphique ATI Radeon RS690 X1270 IGP
HP Pavillon dvd2 Notebook PC ( F.27 )
There is also plenty of warning about ACPI, but without it
I couldn't even reach the login invite.

Code:
ACPI Warning: For \_SB_.PCI0.P2P_._PRT: Return Package has no elements (empty) (20110623/nspredef-507)
ACPI Error: [OSYS] Namespace lookup failure, AE_NOT_FOUND (20110623/psargs-392)
ACPI Error: Method parse/execution failed [\_SB_.PCI0.ACEL._STA] (Node 0xfffffe80772e2e50), AE_NOT_FOUND (20110623/psparse-560)
ACPI Error: [OSYS] Namespace lookup failure, AE_NOT_FOUND (20110623/psargs-392)
ACPI Error: Method parse/execution failed [\_SB_.PCI0.ACEL._STA] (Node 0xfffffe80772e2e50), AE_NOT_FOUND (20110623/psparse-560)
ACPI Error: [OSYS] Namespace lookup failure, AE_NOT_FOUND (20110623/psargs-392)
ACPI Error: Method parse/execution failed [\_SB_.PCI0.ACEL._STA] (Node 0xfffffe80772e2e50), AE_NOT_FOUND (20110623/psparse-560)
It produces a xorg.conf. I never put my nose into X, so I am not sure.
I think it's a dull one, because at the "Monitor Section" no true value of the fields
are given, just things as "Monitor0", "Monitor Vendor" and the likes.

Last edited by spermwhale_warrior; 2nd June 2013 at 10:22 AM.
Reply With Quote
  #6   (View Single Post)  
Old 2nd June 2013
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 552
Thanked 14 Times in 13 Posts
Default

Quote:
Originally Posted by spermwhale_warrior View Post
It produces a xorg.conf. I never put my nose into X, so I am not sure.
I think it's a dull one, because at the "Monitor Section" no true value of the fields
are given, just things as "Monitor0", "Monitor Vendor" and the likes.
Given that you are able to run "Xorg -configure", it sounds like you are able to log in at the console. That's good.

The empty-ish monitor section in xorg.conf.new is nothing to worry about. Usually the settings needed for a modern monitor can be auto-detected, so there's no need to fill a lot in there.

My general aim is to suggest trying to make an xorg.conf based around the VESA video driver. This should be stable and might get X working for you (if there are no other problems). VESA has a reputation of being slow, and may not have high enough resolution for a large desktop monitor (e.g., 1920x1080). But you have a laptop, if it's a typical 1366x768, that's supported by VESA driver (I use it on my laptop). As for speed I find the VESA driver fast enough to play videos ... the radeon hardware in the laptop is probably just that powerful.

It still would be good to see your dmesg, xorg.conf.new and Xorg.0.log as suggested by J65nko. If you are not familiar enough with unix commands to gather and attach these to your post, let us know where the difficult points are and we can walk you through it.
Reply With Quote
  #7   (View Single Post)  
Old 2nd June 2013
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,135
Thanked 182 Times in 149 Posts
Default

What I meant in my post is to not use the graphical XDM login because that tries/use X Window.

Do I under you correctly that if you disable ACPI you cannot do a 'normal' text-only login?
and that by leaving ACPI on you can a text-based login?

Rephrasing the request of IdOp:

Does # Xorg -configure' produce a xorg.conf.new file? If yes please post it.
Also the output of /var/log/Xorg.0.log. Because this file can be quite long, paste it on something like http://pastebin.ca/ with an expiration date of 1 month

If you want to have this resolved quickly you could ask on a NetBSD irc channel.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #8   (View Single Post)  
Old 3rd June 2013
spermwhale_warrior spermwhale_warrior is offline
Port Guard
 
Join Date: May 2013
Posts: 16
Thanked 0 Times in 0 Posts
Post

I do can text-only logon.
Here is Xorg.0.log : http://pastebin.ca/2388469
It is more funny for me and those who could have the same problem as me;
It doesn't matter if it's not done the mere day, because I have an other reliable PC.
Let's do it together !
And here is xorg.conf.new :
Code:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/X11R7/lib/modules"
	FontPath     "/usr/X11R7/lib/X11/fonts/misc/"
	FontPath     "/usr/X11R7/lib/X11/fonts/TTF/"
	FontPath     "/usr/X11R7/lib/X11/fonts/Type1/"
	FontPath     "/usr/X11R7/lib/X11/fonts/75dpi/"
	FontPath     "/usr/X11R7/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
	Load  "dbe"
	Load  "dri"
	Load  "dri2"
	Load  "extmod"
	Load  "glx"
	Load  "record"
	Load  "shadow"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "wsmouse"
	Option	    "Device" "/dev/wsmouse"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "Dac8Bit"            	# [<bool>]
        #Option     "BusType"            	# [<str>]
        #Option     "CPPIOMode"          	# [<bool>]
        #Option     "CPusecTimeout"      	# <i>
        #Option     "AGPMode"            	# <i>
        #Option     "AGPFastWrite"       	# [<bool>]
        #Option     "AGPSize"            	# <i>
        #Option     "GARTSize"           	# <i>
        #Option     "RingSize"           	# <i>
        #Option     "BufferSize"         	# <i>
        #Option     "EnableDepthMoves"   	# [<bool>]
        #Option     "EnablePageFlip"     	# [<bool>]
        #Option     "NoBackBuffer"       	# [<bool>]
        #Option     "DMAForXv"           	# [<bool>]
        #Option     "FBTexPercent"       	# <i>
        #Option     "DepthBits"          	# <i>
        #Option     "PCIAPERSize"        	# <i>
        #Option     "AccelDFS"           	# [<bool>]
        #Option     "IgnoreEDID"         	# [<bool>]
        #Option     "CustomEDID"         	# [<str>]
        #Option     "DisplayPriority"    	# [<str>]
        #Option     "PanelSize"          	# [<str>]
        #Option     "ForceMinDotClock"   	# <freq>
        #Option     "ColorTiling"        	# [<bool>]
        #Option     "VideoKey"           	# <i>
        #Option     "RageTheatreCrystal" 	# <i>
        #Option     "RageTheatreTunerPort" 	# <i>
        #Option     "RageTheatreCompositePort" 	# <i>
        #Option     "RageTheatreSVideoPort" 	# <i>
        #Option     "TunerType"          	# <i>
        #Option     "RageTheatreMicrocPath" 	# <str>
        #Option     "RageTheatreMicrocType" 	# <str>
        #Option     "ScalerWidth"        	# <i>
        #Option     "RenderAccel"        	# [<bool>]
        #Option     "SubPixelOrder"      	# [<str>]
        #Option     "ClockGating"        	# [<bool>]
        #Option     "VGAAccess"          	# [<bool>]
        #Option     "ReverseDDC"         	# [<bool>]
        #Option     "LVDSProbePLL"       	# [<bool>]
        #Option     "AccelMethod"        	# <str>
        #Option     "DRI"                	# [<bool>]
        #Option     "ConnectorTable"     	# <str>
        #Option     "DefaultConnectorTable" 	# [<bool>]
        #Option     "DefaultTMDSPLL"     	# [<bool>]
        #Option     "TVDACLoadDetect"    	# [<bool>]
        #Option     "ForceTVOut"         	# [<bool>]
        #Option     "TVStandard"         	# <str>
        #Option     "IgnoreLidStatus"    	# [<bool>]
        #Option     "DefaultTVDACAdj"    	# [<bool>]
        #Option     "Int10"              	# [<bool>]
        #Option     "EXAVSync"           	# [<bool>]
        #Option     "ATOMTVOut"          	# [<bool>]
        #Option     "R4xxATOM"           	# [<bool>]
        #Option     "ForceLowPowerMode"  	# [<bool>]
        #Option     "DynamicPM"          	# [<bool>]
        #Option     "NewPLL"             	# [<bool>]
        #Option     "ZaphodHeads"        	# <str>
	Identifier  "Card0"
	Driver      "radeon"
	BusID       "PCI:1:5:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection
Reply With Quote
  #9   (View Single Post)  
Old 3rd June 2013
punk0x29a punk0x29a is offline
Port Guard
 
Join Date: May 2013
Posts: 22
Thanked 0 Times in 0 Posts
Default

hmmm... I'm not an expert, but I think that radeon driver is blanking a monitor...
Hmmm... Check out vesa, maybe it'll work...


edit1
Uh, sorry... IdOp said it already
edit2
My suspicion may be easy to falsify: When "blank" X starts up, open up a terminal "blindly" in some keyboard-driven WM and try to, dunno... Killall X or sth ;-)

Last edited by punk0x29a; 3rd June 2013 at 09:04 PM.
Reply With Quote
Old 3rd June 2013
shep shep is offline
ISO Quartermaster
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 577
Thanked 9 Times in 9 Posts
Default

The Debian ati wiki indicates that Radeon S690 cards need firmware. I think the first step is to verify that you have the firmware - your dmesg may be helpful.

The other thing that looks odd in the xorg.conf is
Quote:
Identifier "Card0"
Driver "radeon"
BusID "PCI:1:5:0"
the BusID. Is this consistent with # pcidump? A corresponding command in linux is lspci and a BUSid for a HP Pavilion notebook in this Arch wiki
Quote:
01:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 3400 Series
Subsystem: Hewlett-Packard Company Device 3600
PCI:1:00.0 looks more typical.

Last edited by shep; 3rd June 2013 at 09:54 PM.
Reply With Quote
Old 3rd June 2013
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,135
Thanked 182 Times in 149 Posts
Default

According to the Xorg.0.log you posted at pastebin.ca, (lines 580-585), X should be able to do these resolutions
Code:
[  1084.171] (II) RADEON(0): Modeline "1280x800"x60.0   69.30  1280 1296 1344 1353  800 801 804 854 -hsync -vsync (51.2 kHz)
[  1084.171] (II) RADEON(0): Modeline "1280x720"x59.9   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync (44.8 kHz)
[  1084.171] (II) RADEON(0): Modeline "1152x768"x59.8   71.75  1152 1216 1328 1504  768 771 781 798 -hsync +vsync (47.7 kHz)
[  1084.171] (II) RADEON(0): Modeline 
x59.9   63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync (47.8 kHz)
[  1084.171] (II) RADEON(0): Modeline "800x600"x59.9   38.25  800 832 912 1024  600 603 607 624 -hsync +vsync (37.4 kHz)
[  1084.171] (II) RADEON(0): Modeline "640x480"x59.4   23.75  640 664 720 800  480 483 487 500 -hsync +vsync (29.7 kHz)

So you can edit the Screen Section into something like this:
Code:
Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes "1280x720" "1152x768" "1024x768"
        EndSubSection
EndSection
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
Old 3rd June 2013
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 552
Thanked 14 Times in 13 Posts
Default

I was about to post a couple of ideas (one was how to try vesa), but the above posts are full of good ideas to check out. So I will wait before posting, in case it is not needed, and to avoid an overflow of information to spermwhale_warrior all at one time.
Reply With Quote
Old 4th June 2013
spermwhale_warrior spermwhale_warrior is offline
Port Guard
 
Join Date: May 2013
Posts: 16
Thanked 0 Times in 0 Posts
Default

I am effrayed that to understand 'man pcictl' is for now, beyond my reach.
Here is the output of dmesg
Code:
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 6.0.1 (GENERIC)
total memory = 1917 MB
avail memory = 1847 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
Hewlett-Packard HP Pavilion dv2 Notebook PC      (F.27    )
mainbus0 (root)
cpu0 at mainbus0 apid 0: AMD Athlon(tm) Neo Processor MV-40, id 0x70ff2
cpu0: SVM disabled by the BIOS
ioapic0 at mainbus0 apid 1: pa 0xfec00000, version 21, 24 pins
acpi0 at mainbus0: Intel ACPICA 20110623
acpi0: X/RSDT: OemId <HPQOEM,SLIC-MPC,06040000>, AslId < LTP,00000000>
ACPI Warning: For \_SB_.PCI0.P2P_._PRT: Return Package has no elements (empty) (20110623/nspredef-507)
ACPI Error: [OSYS] Namespace lookup failure, AE_NOT_FOUND (20110623/psargs-392)
ACPI Error: Method parse/execution failed [\_SB_.PCI0.ACEL._STA] (Node 0xfffffe80772e2e50), AE_NOT_FOUND (20110623/psparse-560)
ACPI Error: [OSYS] Namespace lookup failure, AE_NOT_FOUND (20110623/psargs-392)
ACPI Error: Method parse/execution failed [\_SB_.PCI0.ACEL._STA] (Node 0xfffffe80772e2e50), AE_NOT_FOUND (20110623/psparse-560)
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI Error: [OSYS] Namespace lookup failure, AE_NOT_FOUND (20110623/psargs-392)
ACPI Error: Method parse/execution failed [\_SB_.PCI0.ACEL._STA] (Node 0xfffffe80772e2e50), AE_NOT_FOUND (20110623/psparse-560)
hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
acpiec0 at acpi0 (EC, PNP0C09): io 0x62,0x66
acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
acpibut1 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
acpilid0 at acpi0 (LID, PNP0C0D): ACPI Lid Switch
MEMR (PNP0C02) at acpi0 not configured
acpiacad0 at acpi0 (AC, ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (BAT0, PNP0C0A-1): ACPI Battery
acpibat0:  Hewlett-Packard  Li rechargeable battery
acpibat0: granularity: low->warn 0.483 Wh, warn->full 0.483 Wh
attimer1 at acpi0 (TIME, PNP0100): io 0x40-0x43 irq 0
pckbc1 at acpi0 (KBC0, PNP0303) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (MSE0, AUI2400) (aux port): irq 12
SYSR (PNP0C02) at acpi0 not configured
MEM (PNP0C01) at acpi0 not configured
acpivga0 at acpi0 (VGA): ACPI Display Adapter
acpiout0 at acpivga0 (CRT, 0x0100): ACPI Display Output Device
acpiout1 at acpivga0 (LCD, 0x0110): ACPI Display Output Device
acpiout1: brightness levels: 0 10 20 30 40 50 60 70 80 90 100
acpiout2 at acpivga0 (TVO, 0x0210): ACPI Display Output Device
acpivga0: connected output devices:
acpivga0:   0x0100 (acpiout0): Ext. Monitor, head 0, bios detect
acpivga0:   0x0110 (acpiout1): LCD Panel, head 0, bios detect
acpivga0:   0x0210 (acpiout2): Unknown Output Device, head 0, bios detect
ACEL (HPQ0004) at acpi0 not configured
acpiwmi0 at acpi0 (WMID, PNP0C14-0): ACPI WMI Interface
wmihp0 at acpiwmi0: HP WMI mappings
acpitz0 at acpi0 (TZ01): cpu0
acpitz0: levels: critical 95.0 C, hot 90.0 C, passive 88.0 C, passive cooling
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: vendor 0x1002 product 0x7910 (rev. 0x00)
ppb0 at pci0 dev 1 function 0: vendor 0x1002 product 0x7912 (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 5 function 0: vendor 0x1002 product 0x791f (rev. 0x00)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
radeondrm0 at vga0: ATI Radeon RS690 X1270 IGP
radeondrm0: Initialized radeon 1.29.0 20080613
ppb1 at pci0 dev 6 function 0: vendor 0x1002 product 0x7916 (rev. 0x00)
ppb1: PCI Express 1.0 <Root Port of PCI-E Root Complex>
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
vendor 0x14e4 product 0x4315 (miscellaneous network, revision 0x01) at pci2 dev 0 function 0 not configured
ppb2 at pci0 dev 7 function 0: vendor 0x1002 product 0x7917 (rev. 0x00)
ppb2: PCI Express 1.0 <Root Port of PCI-E Root Complex>
pci3 at ppb2 bus 8
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
re0 at pci3 dev 0 function 0: RealTek 8100E/8101E/8102E/8102EL PCIe 10/100BaseTX (rev. 0x02)
re0: interrupting at ioapic0 pin 19
re0: Ethernet address 00:21:cc:37:cc:15
re0: using 256 tx descriptors
rlphy0 at re0 phy 7: RTL8201L 10/100 media interface, rev. 1
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ixpide0 at pci0 dev 18 function 0: ATI Technologies IXP IDE Controller (rev. 0x00)
ixpide0: bus-master DMA support present
ixpide0: primary channel configured to native-PCI mode
ixpide0: using ioapic0 pin 21 for native-PCI interrupt
atabus0 at ixpide0 channel 0
ixpide0: secondary channel configured to native-PCI mode
atabus1 at ixpide0 channel 1
ohci0 at pci0 dev 19 function 0: vendor 0x1002 product 0x4387 (rev. 0x00)
ohci0: interrupting at ioapic0 pin 16
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
ohci1 at pci0 dev 19 function 1: vendor 0x1002 product 0x4388 (rev. 0x00)
ohci1: interrupting at ioapic0 pin 17
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
ohci2 at pci0 dev 19 function 2: vendor 0x1002 product 0x4389 (rev. 0x00)
ohci2: interrupting at ioapic0 pin 18
ohci2: OHCI version 1.0, legacy support
usb2 at ohci2: USB revision 1.0
ohci3 at pci0 dev 19 function 3: vendor 0x1002 product 0x438a (rev. 0x00)
ohci3: interrupting at ioapic0 pin 17
ohci3: OHCI version 1.0, legacy support
usb3 at ohci3: USB revision 1.0
ohci4 at pci0 dev 19 function 4: vendor 0x1002 product 0x438b (rev. 0x00)
ohci4: interrupting at ioapic0 pin 18
ohci4: OHCI version 1.0, legacy support
usb4 at ohci4: USB revision 1.0
ehci0 at pci0 dev 19 function 5: vendor 0x1002 product 0x4386 (rev. 0x00)
ehci0: applying AMD SB600/SB700 USB freeze workaround
ehci0: interrupting at ioapic0 pin 19
ehci0: dropped intr workaround enabled
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: ohci0 ohci1 ohci2 ohci3 ohci4
usb5 at ehci0: USB revision 2.0
piixpm0 at pci0 dev 20 function 0: vendor 0x1002 product 0x4385 (rev. 0x14)
piixpm0: interrupting at SMI, polling
iic0 at piixpm0: I2C bus
ixpide1 at pci0 dev 20 function 1: ATI Technologies IXP IDE Controller (rev. 0x00)
ixpide1: I/O access disabled at device
hdaudio0 at pci0 dev 20 function 2: HD Audio Controller
hdaudio0: interrupting at ioapic0 pin 16
hdafg0 at hdaudio0: Sigmatel 92HD75B2X5
hdafg0: DAC00 2ch: Speaker [Built-In], HP Out [Jack]
hdafg0: ADC01 2ch: Mic In [Built-In]
hdafg0: 2ch/2ch 44100Hz 48000Hz 88200Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
audio0 at hdafg0: full duplex, playback, capture, independent
pcib0 at pci0 dev 20 function 3: vendor 0x1002 product 0x438d (rev. 0x00)
ppb3 at pci0 dev 20 function 4: vendor 0x1002 product 0x4384 (rev. 0x00)
pci4 at ppb3 bus 14
pci4: i/o space, memory space enabled
pchb1 at pci0 dev 24 function 0: vendor 0x1022 product 0x1100 (rev. 0x00)
pchb2 at pci0 dev 24 function 1: vendor 0x1022 product 0x1101 (rev. 0x00)
pchb3 at pci0 dev 24 function 2: vendor 0x1022 product 0x1102 (rev. 0x00)
pchb4 at pci0 dev 24 function 3: vendor 0x1022 product 0x1103 (rev. 0x00)
amdtemp0 at pchb4: AMD CPU Temperature Sensors (K8: core rev DH-G2, socket AM2)
isa0 at pcib0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
attimer1: attached to pcppi0
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: HLT, lat   0 us, pow     0 mW
acpicpu0: C2: I/O, lat  18 us, pow     0 mW
acpicpu0: C3: I/O, lat  83 us, pow     0 mW
acpicpu0: P0: FFH, lat 100 us, pow 10000 mW, 1600 MHz
acpicpu0: P1: FFH, lat 100 us, pow  5000 mW,  800 MHz
acpicpu0: T0: I/O, lat   1 us, pow     0 mW, 100 %
acpicpu0: T1: I/O, lat   1 us, pow     0 mW,  88 %
acpicpu0: T2: I/O, lat   1 us, pow     0 mW,  76 %
acpicpu0: T3: I/O, lat   1 us, pow     0 mW,  64 %
acpicpu0: T4: I/O, lat   1 us, pow     0 mW,  52 %
acpicpu0: T5: I/O, lat   1 us, pow     0 mW,  40 %
acpicpu0: T6: I/O, lat   1 us, pow     0 mW,  28 %
acpicpu0: T7: I/O, lat   1 us, pow     0 mW,  16 %
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
acpiacad0: AC adapter online.
uhub0 at usb0: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb1: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub2 at usb2: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhub3 at usb3: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
uhub4 at usb4: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub4: 2 ports with 2 removable, self powered
uhub5 at usb5: vendor 0x1002 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub5: 10 ports with 10 removable, self powered
uvideo0 at uhub5 port 8 configuration 1 interface 0: Vista Point hp webcam, rev 2.00/0.46, addr 2
video0 at uvideo0: Vista Point hp webcam, rev 2.00/0.46, addr 2
wd0 at atabus0 drive 0
wd0: <ST9250320AS>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sectors
ubt0 at uhub0 port 2
ubt0: Broadcom Corp HP Integrated Module, rev 2.00/1.00, addr 2
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(ixpide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
umass0 at uhub5 port 10 configuration 1 interface 0
umass0: Generic USB2.0-CRW, rev 2.00/58.88, addr 3
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <Generic-, Multi-Card, 1.00> disk removable
sd0: drive offline
sd0: unable to open device, error = 19
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex, playback, capture
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
umass1 at uhub5 port 1 configuration 1 interface 0
umass1: JetFlash Mass Storage Device, rev 2.00/11.00, addr 4
umass1: using SCSI over Bulk-Only
scsibus1 at umass1: 2 targets, 1 lun per target
sd1 at scsibus1 target 0 lun 0: <JetFlash, Transcend 4GB, 1100> disk removable
sd1: 3861 MB, 7872 cyl, 16 head, 63 sec, 512 bytes/sect x 7907328 sectors
sd0(umass0:0:0:0):  Check Condition on CDB: 0x00 00 00 00 00 00
    SENSE KEY:  Not Ready
     ASC/ASCQ:  Medium Not Present

sd1: detached
scsibus1: detached
umass1: detached
umass1: at uhub5 port 1 (addr 4) disconnected
umass1 at uhub5 port 1 configuration 1 interface 0
umass1: JetFlash Mass Storage Device, rev 2.00/11.00, addr 4
umass1: using SCSI over Bulk-Only
scsibus1 at umass1: 2 targets, 1 lun per target
sd1 at scsibus1 target 0 lun 0: <JetFlash, Transcend 4GB, 1100> disk removable
sd1: 3861 MB, 7872 cyl, 16 head, 63 sec, 512 bytes/sect x 7907328 sectors
And for xorg.conf.new,
there is numerous "Screen Section" whose I don't understand the utility either.
Should I fill in all sections of this name ?
Reply With Quote
Old 7th June 2013
gezley gezley is offline
New User
 
Join Date: May 2009
Posts: 4
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by spermwhale_warrior View Post
Here is the output of dmesg
Code:
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 6.0.1 (GENERIC)
Try the recently released 6.1 instead.
Reply With Quote
Old 4th June 2013
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,135
Thanked 182 Times in 149 Posts
Default

You only need 1 single Screen section. Try the one that I posted
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
Old 4th June 2013
shep shep is offline
ISO Quartermaster
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 577
Thanked 9 Times in 9 Posts
Default

The Radeon firmware is coded into the kernel in NetBSD/OpenBSD and is being loading.
The BusID PCI:1:5:0 is also correct. J65nko post is the next step.

Alternatively you can look for working xorg.conf for a similar laptop in NetBSD. On a quick search I found this published, working, xorg.conf for a HP Pavilion laptop with an ati card. It is for OpenBSD but the device naming conventions are the same.
Reply With Quote
Old 4th June 2013
spermwhale_warrior spermwhale_warrior is offline
Port Guard
 
Join Date: May 2013
Posts: 16
Thanked 0 Times in 0 Posts
Default

I did the changes you advised,
plus I change the radeon driver for the vesa one.
The result is, that X doesn't start anymore, leaving the screen alone.
Here is the new xorg.0.log, which changed a little : http://pastebin.ca/2389280
Now, he said he finds no screens ...
Reply With Quote
Old 4th June 2013
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 552
Thanked 14 Times in 13 Posts
Default

Quote:
Originally Posted by spermwhale_warrior View Post
I did the changes you advised,
plus I change the radeon driver for the vesa one.
Did you try J65nko's "Screen" section with the radeon driver?

Another question: If/when you get into the black screen, can you hit Ctrl+Alt+Backspace and get back to a terminal?

Quote:
Now, he said he finds no screens ...
Question for all: Is it possible the video BIOS doesn't support VESA??
Reply With Quote
Old 4th June 2013
shep shep is offline
ISO Quartermaster
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 577
Thanked 9 Times in 9 Posts
Default

I am also going to assume that the link to the xorg.conf I posted also did not work.

There is another option which is to try the x11/xf86-video-radeonhd driver.
You would remove xf86-video-radeon and install xf86-video-radeonhd. Then edit the xorg.conf as described in the OpenBSD upgrade guide.
Reply With Quote
Old 5th June 2013
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 552
Thanked 14 Times in 13 Posts
Default

Quote:
Originally Posted by shep;47609There is another option which is to try the [nport
x11/xf86-video-radeonhd[/nport] driver. You would remove xf86-video-radeon and install xf86-video-radeonhd. Then edit the xorg.conf as described in the OpenBSD upgrade guide.
That assumes that modular Xorg was installed, I think. If instead X was installed from the NetBSD distribution sets, one could try the radeonhd driver that's already installed. Either way it's a good idea as this driver seems targeted at the kind of chip he has.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why does the screen shift right ? sw2wolf OpenBSD General 1 30th March 2012 03:56 AM
LCD Screen Resolution mgh21 General Hardware 3 3rd September 2011 07:23 PM
GNU Free Call starts development, aims to be a Skype alternative J65nko News 8 17th March 2011 12:30 AM
Xorg starts with numlock on Mantazz FreeBSD Ports and Packages 6 10th July 2009 02:17 AM
executing commands for all users when X starts with KDM caesius FreeBSD General 2 20th October 2008 09:03 AM


All times are GMT. The time now is 01:04 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick