Re: Some problems installing dragonFly BSD. Can anybody help?

2011-05-09 Thread Ivan Uemlianin

Dear Justin

On 07/05/2011 01:14, Justin Sherrill wrote:



5. I was expecting FVWM as the window manager: I thought the docs said
that was the default. Presumably I can change the window manager.
Should it have been FVWM? Is the fact that I got TWM instead a symptom
that some config was wrong?


If the original poster was running as a newly created user rather than
root, that may be why.  I don't think the default GUI config is added
to new user profiles; just the root one present at install.


That's exactly what was happening, thanks.  Just now I logged in as root 
and started X, and got fvwm.  Also, exiting X back to the console went 
smoothly.


One thing that happened both times: on startx, the laptop screen filled 
with semi-random-looking blocks of colour for a split second before 
going into the wm.  I think I've seen this before on some linux 
installs.  Presumably X is configured to some default (vesa?) and not 
the particular graphics card, screen, etc., I have on my laptop.


I'll go through comments as time allows, ironing out the glitches on my 
laptop, and write up once everything's working.  As no-one has said 
anything like you have completely ballsed up your installation! I 
shan't reinstall (unless advised otherwise).


Although installing DragonFly on a virtual machine (e.g., VirtualBox) is 
a good idea, many of my symptoms seem to be to do with the particular 
hardware of the laptop. so I'll continue with the real machine for now.


Thanks again to everyone for help.

Best wishes

Ivan



--

Ivan A. Uemlianin
Speech Technology Research and Development

i...@llaisdy.com
 www.llaisdy.com
 llaisdy.wordpress.com
 www.linkedin.com/in/ivanuemlianin

Froh, froh! Wie seine Sonnen, seine Sonnen fliegen
 (Schiller, Beethoven)



Re: Some problems installing dragonFly BSD. Can anybody help?

2011-05-09 Thread Matthias Rampke

On Montag, 9. Mai 2011 at 09:47, Ivan Uemlianin wrote:
 One thing that happened both times: on startx, the laptop screen filled 
 with semi-random-looking blocks of colour for a split second before 
 going into the wm. I think I've seen this before on some linux 
 installs. Presumably X is configured to some default (vesa?) and not 
 the particular graphics card, screen, etc., I have on my laptop.
I don't think that's anything to worry about … I've once seen what I had on 
screen before the last reboot, so I guess this is just random contents of video 
RAM being displayed before anything is drawn over them.


On Samstag, 7. Mai 2011 at 17:44, Justin Sherrill wrote:
 This is a new bug, then, cause I think the original ath(4) problem is fixed. 
 I don't have the right laptop and wireless combo to test. In any case, you 
 may want to file a report including the network encryption type.

From what I can tell from [1] this has not been fixed. I can still file a 
report if that helps? Also note that I have control over the WLAN router 
(other than my flatmates kicking me when I kill their internet), so if I can 
provide any additional info / try anything out let me know.


Re: IO APIC

Disabling IO APIC didn't help with the SMP kernel, it complains about lapic 
initialization before dropping to the debugger (is there a LAPIC loader 
tunable? I can't find any documentation on this or hw.apic_io_enable). Are SMP 
kernels on UP machines *supposed* to work anyway?


-matthiasr




[1] 
http://gitweb.dragonflybsd.org/dragonfly.git/history/HEAD:/sys/dev/netif/ath 


Re: Some problems installing dragonFly BSD. Can anybody help?

2011-05-09 Thread Justin Sherrill
I agree on the random video RAM contents thing - that would have been
my first guess.

The wireless connection Matt and I both had trouble with, with ath(4),
was using WPA2, though I don't know the device.  If you want to try
different setups and see what works and what doesn't, that would make
a useful report.

Maybe set sysctl kern.emergency_intr_enable=1?  I don't remember if
that's already been suggested, or if that would apply in this case.

On Mon, May 9, 2011 at 4:49 AM, Matthias Rampke
matthias.ram...@googlemail.com wrote:

 On Montag, 9. Mai 2011 at 09:47, Ivan Uemlianin wrote:
 One thing that happened both times: on startx, the laptop screen filled
 with semi-random-looking blocks of colour for a split second before
 going into the wm. I think I've seen this before on some linux
 installs. Presumably X is configured to some default (vesa?) and not
 the particular graphics card, screen, etc., I have on my laptop.
 I don't think that's anything to worry about … I've once seen what I had on 
 screen before the last reboot, so I guess this is just random contents of 
 video RAM being displayed before anything is drawn over them.


 On Samstag, 7. Mai 2011 at 17:44, Justin Sherrill wrote:
 This is a new bug, then, cause I think the original ath(4) problem is fixed. 
 I don't have the right laptop and wireless combo to test. In any case, you 
 may want to file a report including the network encryption type.

 From what I can tell from [1] this has not been fixed. I can still file a 
 report if that helps? Also note that I have control over the WLAN router 
 (other than my flatmates kicking me when I kill their internet), so if I can 
 provide any additional info / try anything out let me know.


 Re: IO APIC

 Disabling IO APIC didn't help with the SMP kernel, it complains about lapic 
 initialization before dropping to the debugger (is there a LAPIC loader 
 tunable? I can't find any documentation on this or hw.apic_io_enable). Are 
 SMP kernels on UP machines *supposed* to work anyway?


 -matthiasr




 [1] 
 http://gitweb.dragonflybsd.org/dragonfly.git/history/HEAD:/sys/dev/netif/ath




Re: Some problems installing dragonFly BSD. Can anybody help?

2011-05-07 Thread Matthias Rampke

On Fri, 6 May 2011, Justin Sherrill wrote:


sysctl net.wlan.force_swcrypto=1 may help.

http://leaf.dragonflybsd.org/mailarchive/commits/2010-11/msg00169.html


Works for me. Thank you!

-matthiasr


Re: Some problems installing dragonFly BSD. Can anybody help?

2011-05-07 Thread Justin Sherrill
This is a new bug, then, cause I think the original ath(4) problem is
fixed.  I don't have the right laptop and wireless combo to test.  In any
case, you may want to file a report including the network encryption type.
 On May 7, 2011 4:16 AM, Matthias Rampke matth...@rampke.de wrote:
 On Fri, 6 May 2011, Justin Sherrill wrote:

 sysctl net.wlan.force_swcrypto=1 may help.

 http://leaf.dragonflybsd.org/mailarchive/commits/2010-11/msg00169.html

 Works for me. Thank you!

 -matthiasr


Re: Some problems installing dragonFly BSD. Can anybody help?

2011-05-06 Thread Tomas Bodzar
At least output of dmesg, pciconf and probably pictures of those
debugger output will be fine.

On Fri, May 6, 2011 at 3:30 PM, Ivan Uemlianin i...@llaisdy.com wrote:
 Dear All

 I am installing DragonFly BSD onto a Thinkpad X60.  Actually, I have
 installed it, but perhaps not correctly.  Below are my symptoms.  Please can
 anybody help with any of them?

 Some background:  I am fairly familiar with Unix-like operating systems
 (long time fan of Debian GNU/Linux; currently using MacOS X), but I don't
 have a sysadmin background.  One of my reasons for installing DragonFly BSD
 is to learn.  I plan to blog as I go (e.g., I've just written a note on
 getting the image onto a USB stick:
 http://llaisdy.wordpress.com/2011/05/06/dragonfly-bsd-copying-the-image-onto-a-usb-stick-under-macos-x/).

 I installed dfly-i386-gui-2.10.1_REL.img from a USB stick.

 Symptoms:

 Major:

 1.  After the post-installation configuration step, I chose reboot. While
 rebooting, the system seemed to crash and I ended up inside a debugger.
  However, after a successful shutdown and reboot, the system seemed to run
 OK.

 2.  During configuration dhcp seemed to find the network (at least, a
 dialogue appeared, giving me some info ending with Status: Active), but
 after I'd rebooted into X and launched Firefox, Firefox could not find
 external urls.  So, perhaps dhcp didn't work and I should configure the
 network manually.

 3.  The window manager is TWM.  On exiting TWM, the screen froze and didn't
 return me to the console.  I had to go to another console and kill X
 manually.

 Minor:

 4.  I don't think I set the correct keyboard map (and/or screen map?). Most
 of the keyboard works as it should, but shift-3 does not produce the
 expected £ --- it doesn't produce anything, so maybe the keyboard map is
 OK but the screen map is wrong?

 5. I was expecting FVWM as the window manager: I thought the docs said that
 was the default.  Presumably I can change the window manager. Should it have
 been FVWM?  Is the fact that I got TWM instead a symptom that some config
 was wrong?

 All in all, it doesn't look very healthy.  Can anybody indicate what might
 have gone wrong?  Or, if I re-install, what signals I should be looking out
 for?

 With thanks and best wishes

 Ivan


 --
 
 Ivan A. Uemlianin
 Speech Technology Research and Development

                    i...@llaisdy.com
                     www.llaisdy.com
                         llaisdy.wordpress.com
                     www.linkedin.com/in/ivanuemlianin

    Froh, froh! Wie seine Sonnen, seine Sonnen fliegen
                     (Schiller, Beethoven)
 




Re: Some problems installing dragonFly BSD. Can anybody help?

2011-05-06 Thread Matthias Rampke
On Freitag, 6. Mai 2011 at 15:30, Ivan Uemlianin wrote:
Dear All
 
 I am installing DragonFly BSD onto a Thinkpad X60.
I recently installed on a X40, so let's see. There is also a page on the 
Website about the T42[1] and the X61s[2], especially most of the latter should 
apply to your case as well.
 Symptoms:
 
 Major:
 
 1. After the post-installation configuration step, I chose reboot. 
 While rebooting, the system seemed to crash and I ended up inside a 
 debugger. However, after a successful shutdown and reboot, the system 
 seemed to run OK.
From what I gather SMP Kernels with IO APIC enabled don't work. I just settled 
on using UP since I only have one core anyway. You may try setting 
hw.apic_io_enable=0 in /boot/loader.conf
 
 2. During configuration dhcp seemed to find the network (at least, a 
 dialogue appeared, giving me some info ending with Status: Active), 
 but after I'd rebooted into X and launched Firefox, Firefox could not 
 find external urls. So, perhaps dhcp didn't work and I should configure 
 the network manually.
Is this on the WLAN? Which card? I'm having massive trouble getting ath(4) to 
work with most WLAN routers, e.g. I don't receive the DHCPOFFERs from my home 
WLAN. My phone's WiFi hotspot (Motorola Milestone / CyanogenMod 6) works 
perfectly, though. I'm sorry I haven't gotten around to reporting this properly 
yet.
 
 3. The window manager is TWM. On exiting TWM, the screen froze and 
 didn't return me to the console. I had to go to another console and 
 kill X manually.
When it freezes, what does /var/log/Xorg.0.log say? 
 
 Minor:
 
 4. I don't think I set the correct keyboard map (and/or screen map?). 
 Most of the keyboard works as it should, but shift-3 does not produce 
 the expected £ --- it doesn't produce anything, so maybe the keyboard 
 map is OK but the screen map is wrong?
Which layout are you expecting to use, and what are the respective lines in 
/etc/rc.conf? 
 
 5. I was expecting FVWM as the window manager: I thought the docs said 
 that was the default. Presumably I can change the window manager. 
 Should it have been FVWM? Is the fact that I got TWM instead a symptom 
 that some config was wrong?
Probably ... (I'm not using the GUI image, so rather wild guessing here).

You could
a) check that FVWM2 is installed (just run fvwm2 from within twm)
b) add exec fvwm2 as the last line of your $HOME/.xsession (and check that it 
is the *only* exec line, of course)
 
 All in all, it doesn't look very healthy. Can anybody indicate what 
 might have gone wrong? Or, if I re-install, what signals I should be 
 looking out for?
It's not so bad :)

Regards,
matthiasr


[1] http://www.dragonflybsd.org/docs/user/ThinkpadT42/
[2] http://www.dragonflybsd.org/docs/user/ThinkpadX61s/





Re: Some problems installing dragonFly BSD. Can anybody help?

2011-05-06 Thread Ivan Uemlianin

Dear Tomas and Matthias

Thanks for these leads.  I'll investigate and report back.

Best wishes

Ivan


--

Ivan A. Uemlianin
Speech Technology Research and Development

i...@llaisdy.com
 www.llaisdy.com
 llaisdy.wordpress.com
 www.linkedin.com/in/ivanuemlianin

Froh, froh! Wie seine Sonnen, seine Sonnen fliegen
 (Schiller, Beethoven)



Re: Some problems installing dragonFly BSD. Can anybody help?

2011-05-06 Thread Krzysztof Langer
Maybe you should try no-gui DFBSD image, perhaps in VirtualBox (?) - it works 
fine on Mac OS X.

That way, you can install  configure all your needed stuff from the ground up 
(xorg, window manager, pkgsrc etc.) and copy most config files on your real DF 
system.

Klanger


Dnia 6-05-2011 o godz. 16:41 Ivan Uemlianin napisał(a):
 Dear Tomas and Matthias
 
 Thanks for these leads.  I'll investigate and report back.
 
 Best wishes
 
 Ivan
 
 
 --
 
 Ivan A. Uemlianin
 Speech Technology Research and Development
 
  i...@llaisdy.com
   www.llaisdy.com
   llaisdy.wordpress.com
   www.linkedin.com/in/ivanuemlianin
 
  Froh, froh! Wie seine Sonnen, seine Sonnen fliegen
   (Schiller, Beethoven)
 





Re: Some problems installing dragonFly BSD. Can anybody help?

2011-05-06 Thread Ivan Uemlianin
That's a good idea (and I have vbox to hand).  Many of the problems 
relate to the particular hardware (e.g., configuring the network), but I 
could at least iron out the other problems.  Thanks


Ivan


On 06/05/2011 15:54, Krzysztof Langer wrote:

Maybe you should try no-gui DFBSD image, perhaps in VirtualBox (?) - it works 
fine on Mac OS X.

That way, you can install  configure all your needed stuff from the ground up 
(xorg, window manager, pkgsrc etc.) and copy most config files on your real DF 
system.

Klanger


Dnia 6-05-2011 o godz. 16:41 Ivan Uemlianin napisał(a):

Dear Tomas and Matthias

Thanks for these leads.  I'll investigate and report back.

Best wishes

Ivan


--

Ivan A. Uemlianin
Speech Technology Research and Development

  i...@llaisdy.com
   www.llaisdy.com
   llaisdy.wordpress.com
   www.linkedin.com/in/ivanuemlianin

  Froh, froh! Wie seine Sonnen, seine Sonnen fliegen
   (Schiller, Beethoven)








--

Ivan A. Uemlianin
Speech Technology Research and Development

i...@llaisdy.com
 www.llaisdy.com
 llaisdy.wordpress.com
 www.linkedin.com/in/ivanuemlianin

Froh, froh! Wie seine Sonnen, seine Sonnen fliegen
 (Schiller, Beethoven)



Re: Some problems installing dragonFly BSD. Can anybody help?

2011-05-06 Thread Matthias Rampke
On Freitag, 6. Mai 2011 at 16:03, Matthias Rampke wrote:
From what I gather SMP Kernels with IO APIC enabled don't work. I just settled 
on using UP since I only have one core anyway. You may try setting 
hw.apic_io_enable=0 in /boot/loader.conf
Sorry, that wasn't worded well. I meant to say that SMP + IO APIC doesn't seem 
to work with x40/x60-ish ThinkPads, so this is very probably a ThinkPad 
specific issue, not a DragonFly issue.

-matthiasr