Re: X won't work

2009-05-06 Thread BOG BOG
May this is not the case but it might be possible to have many instances of the 
server ending with the same error.

Try killing all instances, and then try again.

If there are many instances, trying to start another one merely fails because 
there already exists /tmp/.X0-lock

>From the bottom of the error message it seems it is a lock problem.

And then again may be this is not the case.

--- On Wed, 5/6/09, x x  wrote:

> From: x x 
> Subject: X won't work
> To: misc@openbsd.org
> Date: Wednesday, May 6, 2009, 1:06 AM
> it's an old Intel video on Inspiron from 2003. I already
> uncommented
> machdep.allowaperture=2, and when I type startx I get
> 
> xauth: creating new authority file /root/.serverauth.24871
> 
> X.Org X Server 1.5.3
> Release Date: 5 November 2008
> X Protocol Version 11, Revision 0
> Build Operating System: OpenBSD 4.5 i386
> Current Operating System: OpenBSD lengsel.vc.shawcable.net
> 4.5 GENERIC#0
> i386
> Build Date: 05 May 2009 03:10:16PM
> 
> Before reporting problems, check http://wiki.x.org
> to make sure that you have the latest version.
> Markers: (--) probed, (**) from config file, (==) default
> setting,
> (++) from command line, (!!) notice, (II) informational,
> (WW) warning, (EE) error, (NI) not implemented, (??)
> unknown.
> (==) Log file: "/var/log/Xorg.0.log", Time: Tue
> May 5 18:00:43 2009
> (EE) Unable to locate/open config file
> New driver is "intel"
> (==) Using default built-in configuration (30 lines)
> (EE) Failed to load module "fbdev" (module does
> not exist, 0)
> Error in I830WaitLpRing(), timeout for 2 seconds
> pgetbl_ctl: 0x1ffe0001 getbl_err: 0x0021
> ipeir: 0x iphdr: 0x54f6
> LP ring tail: 0x9fe0 head: 0xa000 len: 0x0001f001
> start
> 0x
> eir: 0x esr: 0x0010 emr: 0xff7b
> instdone: 0xff41 instpm: 0x
> memmode: 0x instps: 0x0820
> hwstam: 0xeffe ier: 0x0042 imr: 0xffbf iir: 0x
> Ring at virtual 0x8bd7d000 head 0xa000 tail 0x9fe0 count
> 32760
> Ring at virtual 0x8bd7d000 head 0xa000 tail 0x9fe0 count
> 32760
> 9f00:  MI_NOOP 1
> 9f04:  MI_NOOP 1
> 9f08:  MI_N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ff4:  MI_NOOP 1
> 9ff8:  MI_NOOP 1
> 9ffc:  MI_NOOP 1
> Ring end
> space: 24 wanted 32
> 
> Fatal server error:
> lockup
> 
> giving up.
> xinit: Connection refused (errno 61): unable to connect to
> X server
> xinit: No such process (errno 3): Server error.



Re: Fujitsu-siemens machine freezes

2009-01-28 Thread BOG BOG
Hello,

I have followed your suggestions regarding -current.

amd64 -current (GENERIC.MP) does no longer hangs when trying to detach re0, but 
now, re0 is sometimes detected correctly and sometimes not:

I give the messages in both cases:
Failure:
re0 an pci2 dev0 function 0 "Realtek 8168" rev 0x02: RTL8168C/8111C (0x3c00), 
apic2 int 16 (irq 11), address 00:19:99:54:31:7f
re0: PHY write failed
re0: PHY write failed
re0: no PHY found!
re0: reset never completed!
re0 detached

Success:
re0 an pci2 dev0 function 0 "Realtek 8168" rev 0x02: RTL8168C/8111C (0x3c00), 
apic2 int 16 (irq 11), address 00:19:99:54:31:7f
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2

the controller is: 10/100/1000 MBit/s Realtek RTL8111C, so i think the kernel 
sometimes initializes the controller with a driver and sometimes with a 'close 
enough driver', and in the later case it works.

i will also try tonight a freshly backed i386 release, which initially failed 
to build due to a link error(but the kernel and userland completed flawlessly), 
however a second attempt with a new update from cvs completed successfully.

i'll let you now the results.

thank you for your support,

bogdan

p.s.
please let me know if somebody needs the port 8283 opened anymore.



Re: Fujitsu-siemens machine freezes

2009-01-27 Thread BOG BOG
Hello everybody,

yes Sam, you are right, but this bios is a little bit different, there is only 
a setting regarding SATA: SATA0 legacy. with this option enabled, the kernel 
detects the hard drive, but is not able to initialize it in order to be 
partitioned . So i disabled this option and it is working properly (this 
happens for both kernels and i think that legacy code is no longer supported by 
the kernels, which is not an issue).

I tried an official image i386 installation image on different media and has 
the same problem.

I tried the amd64 kernel and it works flawlessly, and detects more cpu flags 
than i386 kernel(including NX flag); thanks Stuart for this suggestion.

The system is up and running, showing both cores on top command. Very nice.

I put both dmesg on these addresses:
http://swordfish.rotld.ro:8283/dmesgs/amd64_44_dmesg
http://swordfish.rotld.ro:8283/dmesgs/i386_44_dmesg

There are two issues regarding both kernels:
1. command 'halt' does halts the system but the keyboard, which is on usb, does 
not responds anymore, so the system cannot be restarted. but this is not a 
problem, as 'reboot', 'shutdown -r now' reboots the system properly, and 'halt 
-p' halts the system and shuts down the power, which is what i want;
2. the lan controller on board i think is faulty causing both kernels to panic. 
this si not a problem because i disabled it from bios, as i want to buy a real 
network card. the diagnose message is (i wrote it down on a piece of paper):
panic: config_detach: force detach of re0 failed (45).
i am not able to do any 'trace' an 'ps' commands, here, in this situation, 
because the keyboard freezes.


please let me know if the above dmesg messages are accessible through that 
address and port configuration as it might be filtered.

this is my machine at work and it is not supposed to be visible from outside, 
but hey we a trying to solve an issue here, so if we can make it visible, why 
not do so? just let me know if you can access it.

Thank you very much for your support and suggestions

bogdan



Re: Fujitsu-siemens machine freezes

2009-01-26 Thread BOG BOG
I tried to install OpenBSD4.4 i386.

The instalation image was created by me, and it worked fine for an update from 
4.3 to 4.4. version, but on different machine, the one i worked on.

I'll try to get a stick and save the dmesg for fujitsu machine.

Thank you for your suggestions



--- On Mon, 1/26/09, Kenneth R Westerback  wrote:

> From: Kenneth R Westerback 
> Subject: Re: Fujitsu-siemens machine freezes
> To: "BOG BOG" 
> Date: Monday, January 26, 2009, 4:12 AM
> On Sun, Jan 25, 2009 at 11:51:19PM -0800, BOG BOG wrote:
> > Hello,
> > 
> > In this weekend i bought a fujitsu-siemens machine,
> with the following
> > configuration:
> > Pentium Core duo Intel E2200, 2.20 Ghz
> > FSB 800 Mhz
> > 3 Gb ram:
> >  2 GB (1 module(s) with 2 GB, DDR2), 800 MHz
> >  1 GB (1 module(s) with 1 GB, DDR2), 800 MHz
> > 
> > Hdd 500 Gb, Serial ATA II
> > 
> > The following is copy/paste from the data sheet(found
> here:
> >
> http://sp.fujitsu-siemens.com/dmsp/docs/ds-esprimo-p3510.pdf)
> > 
> > Mainboard typeD2750
> > Formfactor5BTX
> > Chipset   Intel. G31
> > Processor socket  LGA 775
> > Processor quantity maximum1
> > System bus (FSB / HT / QPI)   up to 1333 MHz
> > Memory slots  2 DIMM (DDR2)
> > Supported capacity RAM (max.) 8 GB
> > Memory frequency  800 MHz
> > Memory notes  With future modules.
> >   Dual channel support.
> >   For dual channel
> performance, 2 memory
> >   modules have to be
> ordered. Capacity per
> >   channel has to be the
> same.
> > LAN   10/100/1000 MBit/s
> Realtek RTL8111C
> > BIOS version  Phoenix 6.0
> > BIOS features BIOS Flash EPROM update
> by software
> >   Recovery BIOS
> > Audio codec   Realtek ALC262
> > Audio featuresHigh Definition audio
> > 
> > 
> > The problem is that after the process of creating the
> partitions, and copying
> > the base modules, the machine freezes.
> > 
> > I do not install xserver modules, as I want it to be a
> server, an right after
> > the game44.tgz module is copied on the hard drive, the
> system freezes.
> > 
> > I tried to exclude game44.tgz, in a new installation
> process, and after
> > man44.tgz, the system freezes.
> > 
> > I really do not understand the problem, because the
> hard drive as well as cd
> > drive are detected and properly initialized.
> > 
> > Unfortunately, I do not have the dmesg
> > 
> > I do not want to put other os on this machine, because
> i like OpenBSD.
> > 
> > I really apreciate any help in this direction,
> > 
> > Thank you very much,
> > 
> > bogdan
> 
> What version of OpenBSD are you trying to install? If it
> isn't a
> -current snapshot then please try a -current snapshot.
> 
> Are you trying to install i386 OpenBSD or amd64 OpenBSD? In
> either
> case try the other one. :-).
> 
> A dmesg would really help.
> 
>  Ken



Re: Fujitsu-siemens machine freezes

2009-01-26 Thread BOG BOG
Thank you for your answer.

I'll try to follow the suggestions you have made.

Sorry for not using the correct mailing list.


--- On Mon, 1/26/09, Stuart Henderson  wrote:

> From: Stuart Henderson 
> Subject: Re: Fujitsu-siemens machine freezes
> To: "BOG BOG" 
> Cc: misc@openbsd.org, t...@openbsd.org
> Date: Monday, January 26, 2009, 4:03 AM
> [ Moving to misc@openbsd.org, tech@ is for 'Discussion
> of technical
> topics for OpenBSD developers and advanced users. This is
> not a "tech
> support" forum, do not use it as such.'
>  ]
> 
> On 2009/01/25 23:51, BOG BOG wrote:
> > Hello,
> > 
> > In this weekend i bought a fujitsu-siemens machine,
> with the following
> > configuration:
> 
> From your description you could be trying any of these:
> 
> i386 4.4, amd64 4.4, i386 -current, amd64 -current.
> 
> Try a different one. If it still fails with -current you
> will need
> to get dmesg out of the machine somehow, see FAQ 4.15 (you
> can use a
> USB stick instead a floppy disk, it will probably show up
> as /dev/sd0i).



Re: Fujitsu-siemens machine freezes

2009-01-26 Thread BOG BOG
hello,

i'll try to extract the dmesg out that machine.

tonight i want to try also the amd64 install image, and i want to make dmesg 
dump for both i386 and amd64.

thank you for answering,

bogdan



--- On Mon, 1/26/09, Jasper Lievisse Adriaanse  wrote:

> From: Jasper Lievisse Adriaanse 
> Subject: Re: Fujitsu-siemens machine freezes
> To: "BOG BOG" 
> Date: Monday, January 26, 2009, 4:38 AM
> On Sun, Jan 25, 2009 at 11:51:19PM -0800, BOG BOG wrote:
> > Hello,
> > 
> > In this weekend i bought a fujitsu-siemens machine,
> with the following
> > configuration:
> > Pentium Core duo Intel E2200, 2.20 Ghz
> > FSB 800 Mhz
> > 3 Gb ram:
> >  2 GB (1 module(s) with 2 GB, DDR2), 800 MHz
> >  1 GB (1 module(s) with 1 GB, DDR2), 800 MHz
> > 
> > Hdd 500 Gb, Serial ATA II
> > 
> > The following is copy/paste from the data sheet(found
> here:
> >
> http://sp.fujitsu-siemens.com/dmsp/docs/ds-esprimo-p3510.pdf)
> > 
> > Mainboard typeD2750
> > Formfactor5BTX
> > Chipset   Intel. G31
> > Processor socket  LGA 775
> > Processor quantity maximum1
> > System bus (FSB / HT / QPI)   up to 1333 MHz
> > Memory slots  2 DIMM (DDR2)
> > Supported capacity RAM (max.) 8 GB
> > Memory frequency  800 MHz
> > Memory notes  With future modules.
> >   Dual channel support.
> >   For dual channel
> performance, 2 memory
> >   modules have to be
> ordered. Capacity per
> >   channel has to be the
> same.
> > LAN   10/100/1000 MBit/s
> Realtek RTL8111C
> > BIOS version  Phoenix 6.0
> > BIOS features BIOS Flash EPROM update
> by software
> >   Recovery BIOS
> > Audio codec   Realtek ALC262
> > Audio featuresHigh Definition audio
> > 
> > 
> > The problem is that after the process of creating the
> partitions, and copying
> > the base modules, the machine freezes.
> > 
> > I do not install xserver modules, as I want it to be a
> server, an right after
> > the game44.tgz module is copied on the hard drive, the
> system freezes.
> > 
> > I tried to exclude game44.tgz, in a new installation
> process, and after
> > man44.tgz, the system freezes.
> > 
> > I really do not understand the problem, because the
> hard drive as well as cd
> > drive are detected and properly initialized.
> > 
> > Unfortunately, I do not have the dmesg
> > 
> > I do not want to put other os on this machine, because
> i like OpenBSD.
> > 
> > I really apreciate any help in this direction,
> > 
> > Thank you very much,
> > 
> > bogdan
> hi,
> 
> a dmesg is absolutely needed to diagnose your problem (or
> rather the
> computer's ;-) )
> could you perhaps make pictures of the dmesg?
> 
> cheers,
> jasper
> 
> -- 
> "Intelligence should guide our actions, but in harmony
> with the
>   texture of the situation at hand"
> -- Francisco Varela