Re: howto kill x if x is running?
Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 27 years of service to the Unix community. On Sun, Sep 15, 2013 at 07:56:17AM +0100, Matthew Seaman wrote: > On 15/09/2013 07:20, Gary Kline wrote: > > > I've evidently had too many pain meds; this shelll script should > > be easy. say that I have a utility xxx running sometimes. xxx is > > soaking up a chunk of my load. I have to use top to find if > > xxx is running, then kill -9 to kill xxx and have a steady load of, > > say, between 0.10 and 0.15. what's the script that can do this? > > The classic answer to this is that you need to find the pid of your > 'xxx' process, and then kill it using that. Some combination of ps(1) > and grep(1) usually sufficed. > > However nowadays there's the very handy pkill(1): > > pkill -9 xxx > > Tying that in with the trigger based on system load: > > #!/bin/sh > > load=$(sysctl vm.loadavg | cut -d ' ' -f 3) > too_high=$(bc -e "$load > 0.15" < /dev/null) > > if [ $too_high = '1' ]; then > pkill -9 xxx > fi > > Note the use of bc(1) to compare floating point values -- the built-in > $((shell arithmetic)) or expr(1) only do integer arithmetic. > > One final point -- instead of killing the xxx process when the load gets > too high, you could simply renice(1) it to very low priority. Or even > better, use idprio(1). > > This won't actually affect the system load values much as 'system load' > is an average of the number of processes requesting a CPU time slice. > What it does do is mean that your 'xxx' process is always pretty much > the last process to get any CPU time -- so everything else should remain > responsive, and your xxx process will only run when the system is > otherwise idle. > > Cheers, > > Matthew thanks very much, gents. no, it wasnt my med; it was that I slept ttoo much:: Old age. "pkill -9 utility" works. the 0.15 or 0.10 were arbitrrary. the default load adverage should be even less since the box is just sitting here! ...well, it's replying to lookup, I suppose. tx again, gary > -- > Dr Matthew J Seaman MA, D.Phil. > > PGP: http://www.infracaninophile.co.uk/pgpkey > JID: matt...@infracaninophile.co.uk > -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-seven years of service to the Unix community. http://www.thought.org/HOPE ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: howto kill x if x is running?
On 15/09/2013 07:20, Gary Kline wrote: > I've evidently had too many pain meds; this shelll script should > be easy. say that I have a utility xxx running sometimes. xxx is > soaking up a chunk of my load. I have to use top to find if > xxx is running, then kill -9 to kill xxx and have a steady load of, > say, between 0.10 and 0.15. what's the script that can do this? The classic answer to this is that you need to find the pid of your 'xxx' process, and then kill it using that. Some combination of ps(1) and grep(1) usually sufficed. However nowadays there's the very handy pkill(1): pkill -9 xxx Tying that in with the trigger based on system load: #!/bin/sh load=$(sysctl vm.loadavg | cut -d ' ' -f 3) too_high=$(bc -e "$load > 0.15" < /dev/null) if [ $too_high = '1' ]; then pkill -9 xxx fi Note the use of bc(1) to compare floating point values -- the built-in $((shell arithmetic)) or expr(1) only do integer arithmetic. One final point -- instead of killing the xxx process when the load gets too high, you could simply renice(1) it to very low priority. Or even better, use idprio(1). This won't actually affect the system load values much as 'system load' is an average of the number of processes requesting a CPU time slice. What it does do is mean that your 'xxx' process is always pretty much the last process to get any CPU time -- so everything else should remain responsive, and your xxx process will only run when the system is otherwise idle. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matt...@infracaninophile.co.uk signature.asc Description: OpenPGP digital signature
Re: howto kill x if x is running?
On Sat, 14 Sep 2013 23:20:46 -0700, Gary Kline wrote: > say that I have a utility xxx running sometimes. xxx is > soaking up a chunk of my load. I have to use top to find if > xxx is running, then kill -9 to kill xxx and have a steady load of, > say, between 0.10 and 0.15. what's the script that can do this? Quick and dirty, needs adjustments. Repeat the following (endless loop, depending on the shell you're using): top -n | awk '/%/ { load=$11; sub("%", "", load); sub("\\.", "", load); if(load > 1000 && load < 1500) print $1 }' | xargs kill -9 The margin is coded in the conditional: 1000 means 10.00% WCPU (load 0.10), 1500 means 15.00% WCPU (load 0.15). You will have to set the "valid load" accordingly. Done some minor testing, killed my media player (as expected). I'm sure someone will present a much better, less dirtier approach to accomplish the requested task. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
howto kill x if x is running?
Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 27 years of service to the Unix community. guys, I've evidently had too many pain meds; this shelll script should be easy. say that I have a utility xxx running sometimes. xxx is soaking up a chunk of my load. I have to use top to find if xxx is running, then kill -9 to kill xxx and have a steady load of, say, between 0.10 and 0.15. what's the script that can do this? gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-seven years of service to the Unix community. http://www.thought.org/HOPE ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Laptop Fn key causes X (Gnome 2) to sleep immediately
At the moment it is not clear to me at which layer the issue is originated. In fact the acpi_ibm module doesn't work completely for the Lenovo X121e (brightness control with Fn+F8/F7 nonfunctional), so the issue might be related to this. I shall file a PR during the day. Kind regards, Matthias Zitat von Adrian Chadd : Right, but this sounds like some bug to send upstream. Or at least patch in our port(s) for this stuff. What keyboard / laptop has the key code '150' map to 'go to sleep' ? -adiran On 16 August 2013 17:09, Matthias Petermann wrote: Hi, a short update on this. I just found out: at least in Gnome 2 the behavior can be prevented by using the gconf-settings tool, changing the value of the key "/apps/gnome-power-manager/buttons/suspend" from "suspend" to "nothing". Seems like some ubuntu users had the same issue as I found the workaround there. Kind regards, Matthias Am 16.08.2013 08:44, schrieb Adrian Chadd: Hi! I'm glad someone else is seeing this! I have the same behaviour with KDE4 on my T60 and T400. If I go to run amiwm (because hey, Workbench is awesome!) it doesn't happen. .. and bah, I wish the resume worked for you. It works fine for me on T42i, T60, T400. -adrian On 15 August 2013 23:32, Matthias Petermann wrote: Hello, I have a Lenovo X121e running Current with X and the Gnome desktop. Beside other issues[1] there is a strange behavior of Gnome-Desktop (and GDM too). When I press "Fn" without any additional key, the device immediately goes to sleep. As the X121e cannot resume properly from sleep, this forces me to reboot. This problem appears to be only exist when using Gnome / GDM. Pure X with TWM doesn't have this issue. I already tried to re-map the Fn key (I found in some mailing this might have the keycode 150) to a "less dangerous" key: $ xmodmap -e "keycode 150 = Delete" this brought no change. Has anyone an idea if Gnome re-maps the keys in some way or how I can disable this? At the moment this is the only blocker to use this Laptop for daily work, as I tend to accidently touch the Fn key more often than I want to reboot ;-) Thanks in advance & kind regards, Matthias [1] http://docs.freebsd.org/cgi/getmsg.cgi?fetch=544740+551865+/usr/local/www/db/text/2013/freebsd-current/20130707.freebsd-current ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to " freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" -- Matthias Petermann ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Laptop Fn key causes X (Gnome 2) to sleep immediately
Am 17.08.2013 03:22, schrieb Polytropon: On Fri, 16 Aug 2013 18:07:25 -0700, Adrian Chadd wrote: What keyboard / laptop has the key code '150' map to 'go to sleep' ? My Sun Type 7 USB keyboard has the "Copy" key at code 150... :-) In my case it is a Lenovo X121e. Regards, Matthias ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Laptop Fn key causes X (Gnome 2) to sleep immediately
On Fri, 16 Aug 2013 18:07:25 -0700, Adrian Chadd wrote: > What keyboard / laptop has the key code '150' map to 'go to sleep' ? My Sun Type 7 USB keyboard has the "Copy" key at code 150... :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Laptop Fn key causes X (Gnome 2) to sleep immediately
Right, but this sounds like some bug to send upstream. Or at least patch in our port(s) for this stuff. What keyboard / laptop has the key code '150' map to 'go to sleep' ? -adiran On 16 August 2013 17:09, Matthias Petermann wrote: > Hi, > > a short update on this. I just found out: at least in Gnome 2 the behavior > can be prevented by using the gconf-settings tool, changing the value of > the key "/apps/gnome-power-manager/buttons/suspend" from "suspend" to > "nothing". Seems like some ubuntu users had the same issue as I found the > workaround there. > > Kind regards, > Matthias > > > Am 16.08.2013 08:44, schrieb Adrian Chadd: > > Hi! > > I'm glad someone else is seeing this! > > I have the same behaviour with KDE4 on my T60 and T400. If I go to run > amiwm (because hey, Workbench is awesome!) it doesn't happen. > > .. and bah, I wish the resume worked for you. It works fine for me on > T42i, T60, T400. > > > > -adrian > > > > On 15 August 2013 23:32, Matthias Petermann wrote: > >> >> Hello, >> >> I have a Lenovo X121e running Current with X and the Gnome desktop. >> Beside other issues[1] there is a strange behavior of Gnome-Desktop (and >> GDM too). When I press "Fn" without any additional key, the device >> immediately goes to sleep. As the X121e cannot resume properly from sleep, >> this forces me to reboot. >> >> This problem appears to be only exist when using Gnome / GDM. >> Pure X with TWM doesn't have this issue. >> >> I already tried to re-map the Fn key (I found in some mailing this might >> have the keycode 150) to a "less dangerous" key: >> $ xmodmap -e "keycode 150 = Delete" >> this brought no change. >> >> Has anyone an idea if Gnome re-maps the keys in some way or how I can >> disable this? At the moment this is the only blocker to use this Laptop for >> daily work, as I tend to accidently touch the Fn key more often than I want >> to reboot ;-) >> >> Thanks in advance & kind regards, >> Matthias >> >> >> [1] >> http://docs.freebsd.org/cgi/getmsg.cgi?fetch=544740+551865+/usr/local/www/db/text/2013/freebsd-current/20130707.freebsd-current >> ___ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscr...@freebsd.org" >> > > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Laptop Fn key causes X (Gnome 2) to sleep immediately
Hi, a short update on this. I just found out: at least in Gnome 2 the behavior can be prevented by using the gconf-settings tool, changing the value of the key "/apps/gnome-power-manager/buttons/suspend" from "suspend" to "nothing". Seems like some ubuntu users had the same issue as I found the workaround there. Kind regards, Matthias Am 16.08.2013 08:44, schrieb Adrian Chadd: Hi! I'm glad someone else is seeing this! I have the same behaviour with KDE4 on my T60 and T400. If I go to run amiwm (because hey, Workbench is awesome!) it doesn't happen. .. and bah, I wish the resume worked for you. It works fine for me on T42i, T60, T400. -adrian On 15 August 2013 23:32, Matthias Petermann <mailto:matth...@d2ux.org>> wrote: Hello, I have a Lenovo X121e running Current with X and the Gnome desktop. Beside other issues[1] there is a strange behavior of Gnome-Desktop (and GDM too). When I press "Fn" without any additional key, the device immediately goes to sleep. As the X121e cannot resume properly from sleep, this forces me to reboot. This problem appears to be only exist when using Gnome / GDM. Pure X with TWM doesn't have this issue. I already tried to re-map the Fn key (I found in some mailing this might have the keycode 150) to a "less dangerous" key: $ xmodmap -e "keycode 150 = Delete" this brought no change. Has anyone an idea if Gnome re-maps the keys in some way or how I can disable this? At the moment this is the only blocker to use this Laptop for daily work, as I tend to accidently touch the Fn key more often than I want to reboot ;-) Thanks in advance & kind regards, Matthias [1] http://docs.freebsd.org/cgi/getmsg.cgi?fetch=544740+551865+/usr/local/www/db/text/2013/freebsd-current/20130707.freebsd-current ___ freebsd-questions@freebsd.org <mailto:freebsd-questions@freebsd.org> mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org <mailto:freebsd-questions-unsubscr...@freebsd.org>" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Laptop Fn key causes X (Gnome 2) to sleep immediately
Hi, Am 16.08.2013 13:58, schrieb Polytropon: I have tested a Lenovo R61i running Xfce, and I don't experience the strange behaviour desribed. However, using the "xev" event tester, the keycode for the Fn key is being displayed as 227, and the KeyPress event is held (!) until the key is released, which means KeyPress and KeyRelease happen immediately after each other. Because my IBM T60p is still in the ICU, I can't test this, but I would assume to get a similar result. thanks, I just used xev (with X and only TWM). It reports the Fn key as keycode 150. Looks like this is different across the Thinkpad models. It would also be nice if "as much as possible" would work on the older models (including the "docking stations"), because Thinkpads seem to live much longer (and therefore will probably many more years in productive use), compared to their crappy "competitors" on the laptop market. :-) Agree :-) Regards, Matthias ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Laptop Fn key causes X (Gnome 2) to sleep immediately
On Fri, 16 Aug 2013 11:24:51 -0700, Adrian Chadd wrote: > ... xf86sleep as a keypress id? Yes, there are many of XF86... key symbols that can be associated to key codes. Probably this is some setting in Gnome or KDE (but not in other environments). You can use "xev" to check which symbol is associated to which key (or key combination, if this creates a new unique key event). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Laptop Fn key causes X (Gnome 2) to sleep immediately
... xf86sleep as a keypress id? -adrian On 16 August 2013 04:48, Grzegorz Blach wrote: > Hi, > > I also had problem with Fn key. > I'm using Lenovo T430 and Enlightenment desktop environment. > I resolved this issue by unbinding XF86Sleep in Enlightenment settings. > > Cheers, > Grzegorz Blach > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscr...@freebsd.org" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Laptop Fn key causes X (Gnome 2) to sleep immediately
Hi, I also had problem with Fn key. I'm using Lenovo T430 and Enlightenment desktop environment. I resolved this issue by unbinding XF86Sleep in Enlightenment settings. Cheers, Grzegorz Blach ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Laptop Fn key causes X (Gnome 2) to sleep immediately
On Fri, 16 Aug 2013 13:25:41 +0200, Matthias Petermann wrote: > Hi Adrian, > > Zitat von Adrian Chadd : > > > Hi! > > > > I'm glad someone else is seeing this! > > > > I have the same behaviour with KDE4 on my T60 and T400. If I go to run > > amiwm (because hey, Workbench is awesome!) it doesn't happen. > > > > .. and bah, I wish the resume worked for you. It works fine for me on T42i, > > T60, T400. > > Thanks for your response. The fact it happens also in KDE appears > interesting... so the root cause might exist in a component on top of > pure X which is shared by Gnome and KDE. I have tested a Lenovo R61i running Xfce, and I don't experience the strange behaviour desribed. However, using the "xev" event tester, the keycode for the Fn key is being displayed as 227, and the KeyPress event is held (!) until the key is released, which means KeyPress and KeyRelease happen immediately after each other. Because my IBM T60p is still in the ICU, I can't test this, but I would assume to get a similar result. > Hopefully some time suspend/resume will also work on the newer Lenovo > models (I would be curious if the wakeup problem is Intel/KMS only or > if also the NVidia models e.g. T430 NVS are affected). It would also be nice if "as much as possible" would work on the older models (including the "docking stations"), because Thinkpads seem to live much longer (and therefore will probably many more years in productive use), compared to their crappy "competitors" on the laptop market. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Laptop Fn key causes X (Gnome 2) to sleep immediately
Hi Adrian, Zitat von Adrian Chadd : Hi! I'm glad someone else is seeing this! I have the same behaviour with KDE4 on my T60 and T400. If I go to run amiwm (because hey, Workbench is awesome!) it doesn't happen. .. and bah, I wish the resume worked for you. It works fine for me on T42i, T60, T400. Thanks for your response. The fact it happens also in KDE appears interesting... so the root cause might exist in a component on top of pure X which is shared by Gnome and KDE. I will definitely do more investigation on this at the weekend. Hopefully some time suspend/resume will also work on the newer Lenovo models (I would be curious if the wakeup problem is Intel/KMS only or if also the NVidia models e.g. T430 NVS are affected). Kind regards, Matthias -- Matthias Petermann ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Laptop Fn key causes X (Gnome 2) to sleep immediately
Hi! I'm glad someone else is seeing this! I have the same behaviour with KDE4 on my T60 and T400. If I go to run amiwm (because hey, Workbench is awesome!) it doesn't happen. .. and bah, I wish the resume worked for you. It works fine for me on T42i, T60, T400. -adrian On 15 August 2013 23:32, Matthias Petermann wrote: > > Hello, > > I have a Lenovo X121e running Current with X and the Gnome desktop. Beside > other issues[1] there is a strange behavior of Gnome-Desktop (and GDM too). > When I press "Fn" without any additional key, the device immediately goes > to sleep. As the X121e cannot resume properly from sleep, this forces me to > reboot. > > This problem appears to be only exist when using Gnome / GDM. > Pure X with TWM doesn't have this issue. > > I already tried to re-map the Fn key (I found in some mailing this might > have the keycode 150) to a "less dangerous" key: > $ xmodmap -e "keycode 150 = Delete" > this brought no change. > > Has anyone an idea if Gnome re-maps the keys in some way or how I can > disable this? At the moment this is the only blocker to use this Laptop for > daily work, as I tend to accidently touch the Fn key more often than I want > to reboot ;-) > > Thanks in advance & kind regards, > Matthias > > > [1] http://docs.freebsd.org/cgi/**getmsg.cgi?fetch=544740+** > 551865+/usr/local/www/db/text/**2013/freebsd-current/20130707.** > freebsd-current<http://docs.freebsd.org/cgi/getmsg.cgi?fetch=544740+551865+/usr/local/www/db/text/2013/freebsd-current/20130707.freebsd-current> > __**_ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions<http://lists.freebsd.org/mailman/listinfo/freebsd-questions> > To unsubscribe, send any mail to "freebsd-questions-** > unsubscr...@freebsd.org " > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Laptop Fn key causes X (Gnome 2) to sleep immediately
Hello, I have a Lenovo X121e running Current with X and the Gnome desktop. Beside other issues[1] there is a strange behavior of Gnome-Desktop (and GDM too). When I press "Fn" without any additional key, the device immediately goes to sleep. As the X121e cannot resume properly from sleep, this forces me to reboot. This problem appears to be only exist when using Gnome / GDM. Pure X with TWM doesn't have this issue. I already tried to re-map the Fn key (I found in some mailing this might have the keycode 150) to a "less dangerous" key: $ xmodmap -e "keycode 150 = Delete" this brought no change. Has anyone an idea if Gnome re-maps the keys in some way or how I can disable this? At the moment this is the only blocker to use this Laptop for daily work, as I tend to accidently touch the Fn key more often than I want to reboot ;-) Thanks in advance & kind regards, Matthias [1] http://docs.freebsd.org/cgi/getmsg.cgi?fetch=544740+551865+/usr/local/www/db/text/2013/freebsd-current/20130707.freebsd-current ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Laptop Fn key causes X (Gnome 2) to sleep immediately
Hello, I have a Lenovo X121e running Current with X and the Gnome desktop. Beside other issues[1] there is a strange behavior of Gnome-Desktop (and GDM too). When I press "Fn" without any additional key, the device immediately goes to sleep. As the X121e cannot resume properly from sleep, this forces me to reboot. This problem appears to be only exist when using Gnome / GDM. Pure X with TWM doesn't have this issue. I already tried to re-map the Fn key (I found in some mailing this might have the keycode 150) to a "less dangerous" key: $ xmodmap -e "keycode 150 = Delete" this brought no change. Has anyone an idea if Gnome re-maps the keys in some way or how I can disable this? At the moment this is the only blocker to use this Laptop for daily work, as I tend to accidently touch the Fn key more often than I want to reboot ;-) Thanks in advance & kind regards, Matthias [1] http://docs.freebsd.org/cgi/getmsg.cgi?fetch=544740+551865+/usr/local/www/db/text/2013/freebsd-current/20130707.freebsd-current ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: X client without X server
Hi, > > Is there a way to install an X client without automatically > install an > > X server? > I don't use emacs, but you can quickly check, > prior to installing, what other ports will be > required, e.g. do > > make -C /usr/ports/ search name=emacs-24 After doing my homework, it seems that it happened only some years ago. I have some very old systems, that I have been upgrading again and again, without reconstructing from scratch; the old systems are carrying xorg-server along. On the newer machines that I installed, there is only X clients, no X servers. So the problem was only an old problem, I apologize for disturbing. Best regards, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: X client without X server
You can remove leaf ports using pkg_cutleaves once everything is installed. You can even remove pkg_cutleaves with pkg_cutleaves if you don't want it anymore. On Wed, Jul 3, 2013 at 11:44 PM, Olivier Nicole wrote: > Hi, > >> Just my 2¢ worth on this. Sure, one always wants to keep overhead low. But >> the days of limited RAM, small hard drives, etc...are long since behind us. > > My concern is when portupgrade -a. The more ports on the system, the > more likely the upgrade will fail. So I'd prefer to have as little > unused ports as possible. > > Not to mention that security wise, having unused ports sitting there > is not too good. > > Best regards, > > Olivier > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" -- Christopher J. Umina ch...@uminac.com 781 354 0535 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: X client without X server
Hi, > Just my 2¢ worth on this. Sure, one always wants to keep overhead low. But > the days of limited RAM, small hard drives, etc...are long since behind us. My concern is when portupgrade -a. The more ports on the system, the more likely the upgrade will fail. So I'd prefer to have as little unused ports as possible. Not to mention that security wise, having unused ports sitting there is not too good. Best regards, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: X client without X server
On 07/03/13 16:26, Bill Tillman wrote: [Vast snip.] Just my 2¢ worth on this. Sure, one always wants to keep overhead > low. But the days of limited RAM, small hard drives, etc...are long > since behind us. I remember in 1994 when and IT consultant came in > and built a Novell server for us with a whopping 1 GB hard drive. > And back then how we thought with a 1 GB hard drive we'd never run > out of space. Well these days one could easily run out of space with > such a small hard drive. But with today's systems having 2 or 3 TB > drives and GB's of RAM, something as trivial as X-Server should not > be a problem. If you don't need it, don't run it. But to worry about > the space it takes up is kind of a moot point these days. And like > some of the other replies mentioned, xterm may not require it, but > one of xterm's dependencies may. I run Asterisk routinely on my > systems and I'm always amazed at how installing one port requires > no less than 38 other ports to be installed as well. There's another reason beside space for not wanting to install a port unless it's definitely needed, especially on any machine that is world facing - security. If a port is installed but unused it might aid an attacker who gets part way into a system to get further privileges. If it's not installed it definitely can't be used for that. I apply the same principle to the base system on world visible servers - if it's not used and there's a src.conf option to remove it, it gets removed. As the old sysadmin joke goes: "Yes, I'm paranoid. But am I paranoid enough?" -- In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a new race of servants. Called Uruk-Oh-Hai in the Black Speech, they were cruel and delighted in torturing spelling and grammar. _Lord of the Rings 2.0, the Web Edition_ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: X client without X server
Date: Wed, 3 Jul 2013 08:26:09 -0700 (PDT) From: Bill Tillman Subject: Re: X client without X server xterm may not require it [xorg-server], but one of xterm's dependencies may. This is simply not true. xterm does not require xorg-server. I know because for years I've been using a setup where the X server and the clients live on different computers. There is certainly no xorg-server installed on the clients computer. So, if the OP says that in his setup xterm requires xorg-server, then something is clearly wrong with that setup and it's a good idea to fix it. This might be but a simptom of a larger problem, who knows. If it were me, I'd certainly want to get to the bottom of this. Anton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: X client without X server
Hello, It is usually not about disk space (though that is also not exactly free and unlimited either), but about compilation/update delays, ease of management, additional security risks, additional ways to fail for the system as a whole, etc. Not to mention simple elegance. Best wishes Eugene -Original Message- From: Bill Tillman Sent: Wednesday, July 03, 2013 7:26 PM To: freebsd-questions@freebsd.org Subject: Re: X client without X server Just my 2¢ worth on this. Sure, one always wants to keep overhead low. But the days of limited RAM, small hard drives, etc...are long since behind us. I remember in 1994 when and IT consultant came in and built a Novell server for us with a whopping 1 GB hard drive. And back then how we thought with a 1 GB hard drive we'd never run out of space. Well these days one could easily run out of space with such a small hard drive. But with today's systems having 2 or 3 TB drives and GB's of RAM, something as trivial as X-Server should not be a problem. If you don't need it, don't run it. But to worry about the space it takes up is kind of a moot point these days. And like some of the other replies mentioned, xterm may not require it, but one of xterm's dependencies may. I run Asterisk routinely on my systems and I'm always amazed at how installing one port requires no less than 38 other ports to be installed as well. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: X client without X server
On Jul 2, 2013, at 8:55 PM, Olivier Nicole wrote: > Hi, > > Is there a way to install an X client without automatically install an > X server? > > On all my systems, I throw xterm and emacs, as the primary tools I use > for management, but the display is always remote, I never, ever, run X > on the machine, but still it install X server, fonts and a lot of > useless junk like xcalc. > If you never run emacs in X11 mode, but instead run emacs within the XTerm, might I suggest that you look into the "emacs-nox11" package (/usr/ports/editors/emacs-nox11). This should cut down on the number of dependencies significantly, but if you run emacs directly as an X11 program, then "emacs-nox11" will not provide that functionality -- so this suggestion is [again] only helpful if you're used to just running emacs in the XTerm. On the vim side of things, I tend to shoot for "vim-lite" instead of "vim". Same reason, fewer dependencies. > Is there a way to install xterm and only the libraries that are needed > to run xterm? > You could always go the binary package route. force-install the binary package, then do an "ldd" on xterm to find out what's missing. Then compare what's missing to the packing-list's @pkgdep entries (/var/db/pkg/xterm*/+CONTENTS for non-pkgng systems; for pkgng systems, [guessing] pkg info -dx xterm) -- Devin _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: X client without X server
From: Anton Shterenlikht To: me...@bristol.ac.uk; olivier2...@gmail.com Cc: o...@cs.ait.ac.th; freebsd-questions@freebsd.org Sent: Wednesday, July 3, 2013 9:17 AM Subject: Re: X client without X server From olivier2...@gmail.com Wed Jul 3 13:09:25 2013 Anton, On Wed, Jul 3, 2013 at 5:47 PM, Anton Shterenlikht wrote: > Date: Wed, 3 Jul 2013 10:55:48 +0700 (ICT) > From: Olivier Nicole > To: freebsd-questions@freebsd.org > Subject: X client without X server > > Hi, > > Is there a way to install an X client without automatically install an > X server? > > On all my systems, I throw xterm and emacs, as the primary tools I use > for management, but the display is always remote, I never, ever, run X > on the machine, but still it install X server, fonts and a lot of > useless junk like xcalc. > > Is there a way to install xterm and only the libraries that are needed > to run xterm? > > TIA, > > Olivier > > I've been doing this for years. > What's the problem? > > Just install xterm, or whatever you need. > All the necessary libs will be pulled in, e.g.: > > $ pkg info -xd xterm > xterm-293: > xproto-7.0.24 > xextproto-7.2.1 > renderproto-0.11.1 > printproto-1.0.5 > libxcb-1.9.1 > libXrender-0.9.8 > libXpm-3.5.10 > libXp-1.0.2,1 > libXext-1.3.2,1 > libXdmcp-1.1.1 > libXau-1.0.8 > libX11-1.6.0,1 > libSM-1.2.1,1 > libICE-1.0.8,1 > kbproto-1.0.6 > libXt-1.1.4,1 > libXmu-1.1.1,1 > libXaw-1.0.11,2 > libXft-2.3.1 > fontconfig-2.9.0,1 > expat-2.0.1_2 > freetype2-2.4.12_1 > pkgconf-0.9.2_1 > pcre-8.33 > libpthread-stubs-0.3_3 > > Obviously xterm does not depend on xorg-server. But for some reason, xorg-server gets installed too. And tons of fonts, and ... It could be emacs, or cvsup, these are the 3 X Window clients I install. I don't use emacs, but you can quickly check, prior to installing, what other ports will be required, e.g. do make -C /usr/ports/ search name=emacs-24 You might be familiar with this already, but if not, the B-deps are those ports which are required to build your port, and R-deps are required to run your port. For emacs-24, both the default and the devel branches, you see that they depend on xorg-fonts-truetype-7.7_1 and lots of other libs, but not on xorg-server. net/cvsup has a lot fewer dependencies, again no xorg-server. In general X server is only required by the ports running on the graphical side - screen, mouse, kbd, etc., e.g.: $ pkg info -xr xorg-server xorg-server-1.7.7_8,1: xf86-input-keyboard-1.7.0 xf86-input-mouse-1.9.0 xf86-video-vesa-2.3.2 nvidia-driver-310.44_1 $ So I'd say something is wrong with your installation if xorg-server is being pulled in when you build emacs, xterm or cvsup. Post the output from "pkg info -aq". Maybe this will give us a hint. Anton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" Just my 2¢ worth on this. Sure, one always wants to keep overhead low. But the days of limited RAM, small hard drives, etc...are long since behind us. I remember in 1994 when and IT consultant came in and built a Novell server for us with a whopping 1 GB hard drive. And back then how we thought with a 1 GB hard drive we'd never run out of space. Well these days one could easily run out of space with such a small hard drive. But with today's systems having 2 or 3 TB drives and GB's of RAM, something as trivial as X-Server should not be a problem. If you don't need it, don't run it. But to worry about the space it takes up is kind of a moot point these days. And like some of the other replies mentioned, xterm may not require it, but one of xterm's dependencies may. I run Asterisk routinely on my systems and I'm always amazed at how installing one port requires no less than 38 other ports to be installed as well. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: X client without X server
From olivier2...@gmail.com Wed Jul 3 13:09:25 2013 Anton, On Wed, Jul 3, 2013 at 5:47 PM, Anton Shterenlikht wrote: > Date: Wed, 3 Jul 2013 10:55:48 +0700 (ICT) > From: Olivier Nicole > To: freebsd-questions@freebsd.org > Subject: X client without X server > > Hi, > > Is there a way to install an X client without automatically install an > X server? > > On all my systems, I throw xterm and emacs, as the primary tools I use > for management, but the display is always remote, I never, ever, run X > on the machine, but still it install X server, fonts and a lot of > useless junk like xcalc. > > Is there a way to install xterm and only the libraries that are needed > to run xterm? > > TIA, > > Olivier > > I've been doing this for years. > What's the problem? > > Just install xterm, or whatever you need. > All the necessary libs will be pulled in, e.g.: > > $ pkg info -xd xterm > xterm-293: > xproto-7.0.24 > xextproto-7.2.1 > renderproto-0.11.1 > printproto-1.0.5 > libxcb-1.9.1 > libXrender-0.9.8 > libXpm-3.5.10 > libXp-1.0.2,1 > libXext-1.3.2,1 > libXdmcp-1.1.1 > libXau-1.0.8 > libX11-1.6.0,1 > libSM-1.2.1,1 > libICE-1.0.8,1 > kbproto-1.0.6 > libXt-1.1.4,1 > libXmu-1.1.1,1 > libXaw-1.0.11,2 > libXft-2.3.1 > fontconfig-2.9.0,1 > expat-2.0.1_2 > freetype2-2.4.12_1 > pkgconf-0.9.2_1 > pcre-8.33 > libpthread-stubs-0.3_3 > > Obviously xterm does not depend on xorg-server. But for some reason, xorg-server gets installed too. And tons of fonts, and ... It could be emacs, or cvsup, these are the 3 X Window clients I install. I don't use emacs, but you can quickly check, prior to installing, what other ports will be required, e.g. do make -C /usr/ports/ search name=emacs-24 You might be familiar with this already, but if not, the B-deps are those ports which are required to build your port, and R-deps are required to run your port. For emacs-24, both the default and the devel branches, you see that they depend on xorg-fonts-truetype-7.7_1 and lots of other libs, but not on xorg-server. net/cvsup has a lot fewer dependencies, again no xorg-server. In general X server is only required by the ports running on the graphical side - screen, mouse, kbd, etc., e.g.: $ pkg info -xr xorg-server xorg-server-1.7.7_8,1: xf86-input-keyboard-1.7.0 xf86-input-mouse-1.9.0 xf86-video-vesa-2.3.2 nvidia-driver-310.44_1 $ So I'd say something is wrong with your installation if xorg-server is being pulled in when you build emacs, xterm or cvsup. Post the output from "pkg info -aq". Maybe this will give us a hint. Anton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: X client without X server
On Wed, 3 Jul 2013 18:07:11 +0700, Olivier Nicole wrote: > On Wed, Jul 3, 2013 at 6:03 PM, Polytropon wrote: > > On Wed, 3 Jul 2013 11:47:16 +0100 (BST), Anton Shterenlikht wrote: > >> [...] > >> Obviously xterm does not depend on xorg-server. > > > > But one of its dependencies might. > > That make no sense, xterm may (and certainly does) depend on the same > libraries as the X server, but there is no way xterm depends on X > server itself. That's what I would imagine too. But who knows what's going on in the strange realm of build dependencies and run dependencies... :-) > I can manually remove X server and the fonts and xclac... and the > system is still running very well (and updating without trying to > reinstall X server...) That should even work without a warning (as the libs for xterm would be kept, and those required by the X server _only_ could safely be removed). In case such a procedure is needed more often, a local patch could be added to the respective port that would remove the unneeded parts in the post-install phase. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: X client without X server
On Wed, Jul 3, 2013 at 6:03 PM, Polytropon wrote: > On Wed, 3 Jul 2013 11:47:16 +0100 (BST), Anton Shterenlikht wrote: >> $ pkg info -xd xterm >> xterm-293: >> xproto-7.0.24 >> xextproto-7.2.1 >> renderproto-0.11.1 >> printproto-1.0.5 >> libxcb-1.9.1 >> libXrender-0.9.8 >> libXpm-3.5.10 >> libXp-1.0.2,1 >> libXext-1.3.2,1 >> libXdmcp-1.1.1 >> libXau-1.0.8 >> libX11-1.6.0,1 >> libSM-1.2.1,1 >> libICE-1.0.8,1 >> kbproto-1.0.6 >> libXt-1.1.4,1 >> libXmu-1.1.1,1 >> libXaw-1.0.11,2 >> libXft-2.3.1 >> fontconfig-2.9.0,1 >> expat-2.0.1_2 >> freetype2-2.4.12_1 >> pkgconf-0.9.2_1 >> pcre-8.33 >> libpthread-stubs-0.3_3 >> >> Obviously xterm does not depend on xorg-server. > > But one of its dependencies might. That make no sense, xterm may (and certainly does) depend on the same libraries as the X server, but there is no way xterm depends on X server itself. I can manually remove X server and the fonts and xclac... and the system is still running very well (and updating without trying to reinstall X server...) Best regards, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: X client without X server
On Wed, 3 Jul 2013 11:47:16 +0100 (BST), Anton Shterenlikht wrote: > $ pkg info -xd xterm > xterm-293: > xproto-7.0.24 > xextproto-7.2.1 > renderproto-0.11.1 > printproto-1.0.5 > libxcb-1.9.1 > libXrender-0.9.8 > libXpm-3.5.10 > libXp-1.0.2,1 > libXext-1.3.2,1 > libXdmcp-1.1.1 > libXau-1.0.8 > libX11-1.6.0,1 > libSM-1.2.1,1 > libICE-1.0.8,1 > kbproto-1.0.6 > libXt-1.1.4,1 > libXmu-1.1.1,1 > libXaw-1.0.11,2 > libXft-2.3.1 > fontconfig-2.9.0,1 > expat-2.0.1_2 > freetype2-2.4.12_1 > pkgconf-0.9.2_1 > pcre-8.33 > libpthread-stubs-0.3_3 > > Obviously xterm does not depend on xorg-server. But one of its dependencies might. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: X client without X server
Anton, On Wed, Jul 3, 2013 at 5:47 PM, Anton Shterenlikht wrote: > Date: Wed, 3 Jul 2013 10:55:48 +0700 (ICT) > From: Olivier Nicole > To: freebsd-questions@freebsd.org > Subject: X client without X server > > Hi, > > Is there a way to install an X client without automatically install an > X server? > > On all my systems, I throw xterm and emacs, as the primary tools I use > for management, but the display is always remote, I never, ever, run X > on the machine, but still it install X server, fonts and a lot of > useless junk like xcalc. > > Is there a way to install xterm and only the libraries that are needed > to run xterm? > > TIA, > > Olivier > > I've been doing this for years. > What's the problem? > > Just install xterm, or whatever you need. > All the necessary libs will be pulled in, e.g.: > > $ pkg info -xd xterm > xterm-293: > xproto-7.0.24 > xextproto-7.2.1 > renderproto-0.11.1 > printproto-1.0.5 > libxcb-1.9.1 > libXrender-0.9.8 > libXpm-3.5.10 > libXp-1.0.2,1 > libXext-1.3.2,1 > libXdmcp-1.1.1 > libXau-1.0.8 > libX11-1.6.0,1 > libSM-1.2.1,1 > libICE-1.0.8,1 > kbproto-1.0.6 > libXt-1.1.4,1 > libXmu-1.1.1,1 > libXaw-1.0.11,2 > libXft-2.3.1 > fontconfig-2.9.0,1 > expat-2.0.1_2 > freetype2-2.4.12_1 > pkgconf-0.9.2_1 > pcre-8.33 > libpthread-stubs-0.3_3 > > Obviously xterm does not depend on xorg-server. But for some reason, xorg-server gets installed too. And tons of fonts, and ... It could be emacs, or cvsup, these are the 3 X Window clients I install. Best regards, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: X client without X server
Date: Wed, 3 Jul 2013 10:55:48 +0700 (ICT) From: Olivier Nicole To: freebsd-questions@freebsd.org Subject: X client without X server Hi, Is there a way to install an X client without automatically install an X server? On all my systems, I throw xterm and emacs, as the primary tools I use for management, but the display is always remote, I never, ever, run X on the machine, but still it install X server, fonts and a lot of useless junk like xcalc. Is there a way to install xterm and only the libraries that are needed to run xterm? TIA, Olivier I've been doing this for years. What's the problem? Just install xterm, or whatever you need. All the necessary libs will be pulled in, e.g.: $ pkg info -xd xterm xterm-293: xproto-7.0.24 xextproto-7.2.1 renderproto-0.11.1 printproto-1.0.5 libxcb-1.9.1 libXrender-0.9.8 libXpm-3.5.10 libXp-1.0.2,1 libXext-1.3.2,1 libXdmcp-1.1.1 libXau-1.0.8 libX11-1.6.0,1 libSM-1.2.1,1 libICE-1.0.8,1 kbproto-1.0.6 libXt-1.1.4,1 libXmu-1.1.1,1 libXaw-1.0.11,2 libXft-2.3.1 fontconfig-2.9.0,1 expat-2.0.1_2 freetype2-2.4.12_1 pkgconf-0.9.2_1 pcre-8.33 libpthread-stubs-0.3_3 Obviously xterm does not depend on xorg-server. Anton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
X client without X server
Hi, Is there a way to install an X client without automatically install an X server? On all my systems, I throw xterm and emacs, as the primary tools I use for management, but the display is always remote, I never, ever, run X on the machine, but still it install X server, fonts and a lot of useless junk like xcalc. Is there a way to install xterm and only the libraries that are needed to run xterm? TIA, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: install firefox without X
On Tue, Jun 18, 2013 at 8:41 AM, Pol Hallen wrote: > Hi all :-) > > I need use -X ssh and use firefox on remote machine: > > ssh -X -l user xxx host > > Is there a way to install firefox without X? or less ports possible > On a clean machine, setting WITHOUT_X11=yes in /etc/make.conf then using ports to install firefox eg "portmaster www/firefox" is going to be the easiest way to get a minimal install. Then only required X11 components will be pulled in(assuming the port tree is in a good state). Obviously X11 cannot be eliminated entirely on the headless system try to forward X11 apps. There is a reason you have to type "ssh -X" -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: install firefox without X
On 18 June 2013 14:01, Teske, Devin wrote: > On Jun 18, 2013, at 6:41 AM, Pol Hallen wrote: > > > Hi all :-) > > > > I need use -X ssh and use firefox on remote machine: > > > > ssh -X -l user xxx host > > > > Is there a way to install firefox without X? or less ports possible > > > > I indeed run Firefox using the above method from my servers (which aren't > running X) but X is still installed. > > It *should* be able to work in theory (I use xdialog from ports on > machines that don't have X installed; only xdialog and xauth). > > *** warning *** will uninstall X11 software *** warning *** > > pkg_delete -x xorg > > Maybe Firefox will still run (communicating with the X server running on > the local side of your ssh client), or maybe it will balk incessantly about > something. > > I do know however, that you'll need xauth installed regardless. > While you don't have to have xorg-server (or any of the various drivers) installed, you still need a fair bit: > pkg info -d firefox firefox-17.0.6,1 depends on: atk-2.6.0 binutils-2.23.1 bitstream-vera-1.10_5 cairo-1.10.2_5,2 compositeproto-0.4.2 damageproto-1.2.1 desktop-file-utils-0.21 dri2proto-2.8 encodings-1.0.4,1 expat-2.0.1_2 fixesproto-5.0 font-bh-ttf-1.0.3 font-misc-ethiopic-1.0.3 font-misc-meltho-1.0.3 font-util-1.3.0 fontconfig-2.9.0,1 freeglut-2.8.1 freetype2-2.4.12_1 gamin-0.1.10_5 gcc-4.6.3 gdk-pixbuf2-2.26.5_3 gettext-0.18.1.1_1 gio-fam-backend-2.34.3 glib-2.34.3 glproto-1.4.16 gmp-5.1.2 gnomehier-3.0 gobject-introspection-1.34.2 gtk-update-icon-cache-2.24.19 gtk-2.24.19 hicolor-icon-theme-0.12 hunspell-1.3.2_2 icu-50.1.2 inputproto-2.3 jasper-1.900.1_12 jbigkit-1.6 jpeg-8_4 kbproto-1.0.6 libGL-7.6.1_4 libGLU-7.6.1_2 libICE-1.0.8,1 libIDL-0.8.14_1 libSM-1.2.1,1 libX11-1.6.0,1 libXau-1.0.8 libXcomposite-0.4.4,1 libXcursor-1.1.14 libXdamage-1.1.4 libXdmcp-1.1.1 libXext-1.3.2,1 libXfixes-5.0.1 libXft-2.3.1 libXi-1.7.1_1,1 libXinerama-1.1.3,1 libXmu-1.1.1,1 libXrandr-1.4.1 libXrender-0.9.8 libXt-1.1.4,1 libXxf86vm-1.1.3 libdrm-2.4.17_1 libevent2-2.0.21 libffi-3.0.13 libfontenc-1.1.2 libiconv-1.14_1 libpciaccess-0.13.1_1 libpthread-stubs-0.3_3 libvpx-1.1.0 libxcb-1.9.1 libxml2-2.8.0_2 mkfontdir-1.0.7 mkfontscale-1.1.0 mpc-0.9 mpfr-3.1.2 ncurses-5.9_3 nspr-4.9.6 nss-3.14.3 pango-1.30.1 pciids-20130606 pcre-8.33 perl-threaded-5.16.3 pixman-0.28.2 pkgconf-0.9.2_1 png-1.5.16 python27-2.7.5_1 randrproto-1.4.0 renderproto-0.11.1 shared-mime-info-1.1 sqlite3-3.7.17_1 tiff-4.0.3 xcb-util-renderutil-0.3.8 xcb-util-0.3.9_1,1 xextproto-7.2.1 xf86vidmodeproto-2.3.1 xineramaproto-1.2.1 xorg-fonts-truetype-7.7 xproto-7.0.24 zip-3.0 NB: you might need more than that to build -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: install firefox without X
On Jun 18, 2013, at 6:41 AM, Pol Hallen wrote: > Hi all :-) > > I need use -X ssh and use firefox on remote machine: > > ssh -X -l user xxx host > > Is there a way to install firefox without X? or less ports possible > I indeed run Firefox using the above method from my servers (which aren't running X) but X is still installed. It *should* be able to work in theory (I use xdialog from ports on machines that don't have X installed; only xdialog and xauth). *** warning *** will uninstall X11 software *** warning *** pkg_delete -x xorg Maybe Firefox will still run (communicating with the X server running on the local side of your ssh client), or maybe it will balk incessantly about something. I do know however, that you'll need xauth installed regardless. -- Devin _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
install firefox without X
Hi all :-) I need use -X ssh and use firefox on remote machine: ssh -X -l user xxx host Is there a way to install firefox without X? or less ports possible thanks! Pol ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Trouble installing py-sqlite3 port for python3.x
Modulok gmail.com> writes: > > List, > > I'm *guessing* this is more of FreeBSD problem than a python one, so I'll ask > on this list. I'm trying to import sqlite3 in python3.2 on FreeBSD > 8.1-RELEASE and ran > into trouble: > > $ python3.2 > ... > >>> import sqlite3 > Traceback (most recent call last): > File "", line 1, in > File "/usr/local/lib/python3.2/sqlite3/__init__.py", line 23, in > from sqlite3.dbapi2 import * > File "/usr/local/lib/python3.2/sqlite3/dbapi2.py", line 26, in > [...] Solution : installing port named py-sqlite3 after configure for use with ptyhon3. Tuto here http://bind10.isc.org/wiki/SystemNotesFreeBSD ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
pfctl and verbosely listing tables not giving full output on 9.x
On some of my older systems, I try and view some tables verbosely as the manual describes: We can now use the table show command to output, for each address and packet direction, the number of packets and bytes that are being passed or blocked by rules referencing the table. The time at which the current accounting started is also shown with the ``Cleared'' line. # pfctl -t test -vTshow 129.128.5.191 Cleared: Thu Feb 13 18:55:18 2003 In/Block:[ Packets: 0Bytes: 0] In/Pass: [ Packets: 10 Bytes: 840 ] Out/Block: [ Packets: 0Bytes: 0] Out/Pass:[ Packets: 10 Bytes: 840 ] and I get what I would expect when I issue the command: # uname -r 8.3-RELEASE-p3 # pfctl -t spam -vTshow No ALTQ support in kernel ALTQ related functions disabled 61.156.238.56 Cleared: Mon May 27 16:06:03 2013 In/Block:[ Packets: 23 Bytes: 1673 ] In/Pass: [ Packets: 0 Bytes: 0 ] Out/Block: [ Packets: 0 Bytes: 0 ] Out/Pass:[ Packets: 0 Bytes: 0 ] 101.44.1.135 Cleared: Tue May 28 11:14:23 2013 In/Block:[ Packets: 21 Bytes: 1520 ] In/Pass: [ Packets: 0 Bytes: 0 ] Out/Block: [ Packets: 0 Bytes: 0 ] Out/Pass:[ Packets: 0 Bytes: 0 ] All of my newer systems seem to not be showing me the data I expect: # uname -rm 9.1-RELEASE-p3 amd64 # pfctl -t spam -vTshow No ALTQ support in kernel ALTQ related functions disabled 46.21.161.37 Cleared: Tue May 14 10:37:11 2013 46.29.248.152 Cleared: Sat May 25 03:47:26 2013 46.165.236.153 Cleared: Tue May 14 06:12:05 2013 [...] # uname -rm 9.1-RELEASE i386 # pfctl -t spam -vTshow No ALTQ support in kernel ALTQ related functions disabled 1.235.138.249 Cleared: Sat Apr 27 19:55:15 2013 27.50.140.140 Cleared: Fri Apr 26 13:43:11 2013 31.3.245.178 Cleared: Tue Apr 30 19:30:29 2013 [...] # uname -rm 9.1-RELEASE amd64 # pfctl -t spam -vTshow No ALTQ support in kernel ALTQ related functions disabled 46.29.248.152 Cleared: Sat May 25 03:49:12 2013 50.73.11.52 Cleared: Wed May 22 01:57:10 2013 61.132.228.240 Cleared: Sun May 19 23:46:07 2013 Can anyone confirm similar behaviour on their systems, or has anyone even tried? I didn't see any active PRs about this. Thanks, Philip ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: X breaks sound
On Tue, 2013-05-14 at 21:20 +0100, Anton Shterenlikht wrote: > Briefly, the sound works fine until X starts. > As soon as X starts, sound doesn't work until a reboot. Assumed pulseaudio should be installed, this likely is the culprit, if so, remove it. Hth, Ralf no, I haven't got it installed. Anton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: X breaks sound
On Tue, 2013-05-14 at 21:20 +0100, Anton Shterenlikht wrote: > Briefly, the sound works fine until X starts. > As soon as X starts, sound doesn't work until a reboot. Assumed pulseaudio should be installed, this likely is the culprit, if so, remove it. Hth, Ralf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
X breaks sound
Briefly, the sound works fine until X starts. As soon as X starts, sound doesn't work until a reboot. This is HP Compaq 6715s laptop. I'm running current r250633. I have this sound device: hdac0@pci0:0:20:2: class=0x040300 card=0x30c2103c chip=0x43831002 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices [AMD] nee ATI' device = 'SBx00 Azalia (Intel HDA)' class = multimedia subclass = HDA I use it with snd_hda(4): hdac0: mem 0xc000-0xc0003fff irq 16 at device 20. 2 on pci0 Until I start X, I can get sound e.g. via /dev/dsp, or play a cd with: dd if=/dev/cd0 of=/dev/dspcd bs=2352 As soon as I start X, either via xdm, or simply "X -config /roor/xorg.conf.new -retro" the sound does not work anymore until reboot. Instead I see on the console a very long stream of: hdac0: Unexpected unsolicited response from address 0: 00400083 hdac0: Unexpected unsolicited response from address 0: hdac0: Unexpected unsolicited response from address 0: 04a12020 hdac0: Unexpected unsolicited response from address 0: 1727 hdac0: Unexpected unsolicited response from address 0: 0020 hdac0: Unexpected unsolicited response from address 0: 00400187 hdac0: Unexpected unsolicited response from address 0: 0002 hdac0: Unexpected unsolicited response from address 0: 0e03 hdac0: Unexpected unsolicited response from address 0: 0181302e hdac0: Unexpected unsolicited response from address 0: 1737 etc. and sometimes: hdac0: Command timeout on address 0 hdac0: Reset setting timeout pcm0: chn_write(): pcm0:virtual:dsp0.vp0: play interrupt timeout, channel dead My graphics device is: vgapci0@pci0:1:5:0: class=0x03 card=0x30c2103c chip=0x791f1002 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices [AMD] nee ATI' device = 'RS690M [Radeon X1200 Series]' class = display subclass = VGA which is seen in dmesg as: vgapci0: port 0x4000-0x40ff mem 0xc010-0xc80f,0 xd020-0xd020,0xd030-0xd03f irq 19 at device 5.0 on pci1 vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 I use x11-drivers/xf86-video-ati port to drive it. In Xorg logs I see that the card is recognised correctly: (--) PCI:*(0:1:5:0) 1002:791f:103c:30c2 Advanced Micro Devices [AMD] nee ATI RS6 90M [Radeon X1200 Series] rev 0, Mem @ 0xc000/134217728, 0xd020/65536, 0 xd030/1048576, I/O @ 0x4000/256, BIOS @ 0x/65536 The only issue seems to be with DRM/DRI: drmOpenDevice: node name is /dev/dri/card0 Failed to change owner or group for file /dev/dri! 2: No such file or directory Failed to change owner or group for file /dev/dri/card0! 2: No such file or dire ctory drmOpenDevice: open result is -1, (No such file or directory) Failed to change owner or group for file /dev/dri/card0! 2: No such file or dire ctory drmOpenDevice: open result is -1, (No such file or directory) drmOpenDevice: Open failed [drm] failed to load kernel module "radeon" (EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM [dri] Disabling DRI. But I don't think this is related to the sound problem. Anyway, should I add radeon and drm to the kernel? Is it a good idea? I'd be grateful for any advice. Thanks Anton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: which X driver for NVIDIA Quadro FX 570M?
t61 is LEGO computer actually http://www.thinkwiki.org/wiki/Category:T61 Now you have to upgrade it :) 1) 15.4" 1920x1200 (WUXGA) widescreen 2) 8GB RAM 3) SSD 4) WIFI .../n adapter if you are sitting on HEAD I did only first and third and planning to put 8G RAM. On Mon, 2013-02-11 at 10:41 +, Anton Shterenlikht wrote: > From: paranormal > Subject: Re: which X driver for NVIDIA Quadro FX 570M? > To: freebsd-questions@freebsd.org > Date: Wed, 06 Feb 2013 03:23:40 +0200 > > I have t61p with mentioned card. > x11/nvidia-driver works well for me (at least quake, doom, compiz work). > > Thanks for all the replies. > > I bought a T61p for 220 GBP - what bliss! > > BIOS update - no problem > HEAD r246552 - no problem > wireless with iwn0: - no problem > sound with hdac0: - no problem > CD-RW with cd0: Removable CD-ROM SCSI-0 device > and sysutils/cdrtools-devel - no problem > X with nvidia0: and x11/nvidia-driver - no problem > flash as per > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html > (7.2.1.2 Firefox and Adobe Flash Plugin) - no problem > > In fact, no problems at all! > > I can't recommend it enough. > > Anton > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" signature.asc Description: This is a digitally signed message part
Revisiting Traceroute Through ipfw FreeBSD9.x
I immediately found several plausible examples of what to put in the firewall rules file and the following rules were set just after the local loopback address: ip="139.78.2.13" setup_loopback # Allow traceroute to function, but not to get in. ${fwcmd} add unreach port udp from any to ${ip} 33435-33524 # Allow some inbound icmps - echo reply, dest unreach, source quench, # echo, ttl exceeded. ${fwcmd} add allow icmp from any to any icmptypes 0,3,4,8,11 My thanks to previous posters for these rules. I still, however only get *traceroute: sendto: Permission denied traceroute: wrote 192.168.1.125 52 chars, ret=-1 I also did try: sysctl net.inet.udp.blackhole=0 then 1 and even 2 with no change. What else should I look at? The firewall rules are otherwise working as they should. Thank you. Martin McCormick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Booting from an aribrary disk in ZFS RAIDZ on 8.x
On Thu, Mar 07, 2013 at 03:11:29PM +1030, Shane Ambler wrote: > On 06/03/2013 14:54, Doug Poland wrote: > >On Wed, Mar 06, 2013 at 01:26:07PM +1030, Shane Ambler wrote: > >>On 06/03/2013 05:14, Doug Poland wrote: > > >>>I have 6 disks in a RAIDZ configuration. All disks were sliced the > >>>same with gpart (da(n)p1,p2,p3) with bootcode written to index 1, > >>>swap on index 2 and freebsd-zfs on index 3. > >>> > >>>Given this configuration, I should be able to boot from any of the > >>>6 disks in the RAIDZ. If this is a true statement, how do I make > >>>that happen from the loader prompt? > >> > >>You don't boot from an individual disk you boot from a zpool - all > >>disks are linked together making one zpool "disk". > >> > >Something has to pick a physical device from which to boot, does it > >not?. All the HP Smart Array 6i controller knows is I have 6 RAID 0 > >disks to present to the OS. > > I meant to add if the bootcode is installed on each disk then pointing > the bios to any individual disk as the primary boot device will lead > to the boot process loading the zpool. Installing it on each disk > gives the redundancy to match the raid in the zpool. If you only have > one disk with bootcode and it is the one that needs replacing then you > can't boot. Then having 100 disks in a pool with bootcode would be > overkill, but the consistency may be easier to maintain. > So in my case, the HP SmartArray doesn't allow me to choose an individual boot disk. So it's up to the controller to keep trying to boot from the next configured disk. I believe I'm going to craft a test to prove this out. > >I've had issues with this RAID controller in the past where it won't > >present the new disk to the OS. I've had to reboot, go into the > >RAID config and tell it it's a single RAID 0 device (stupid, I > >know). > > When you think about it, as a raid controller it shouldn't make > assumptions as to how to use the new disk, should it add it to an > existing raid set, replace a missing drive or show it as a new single > drive? Being able to specify per socket as permanently jbod could be > useful feature though. > One would think. I've been testing this on a similarly configured machine and the controller eventually presents a new drive to the OS. It takes a couple of minutes, but appears to work on this test box. > >The roll of /boot/zfs/zpool.cache is a mystery to me. I belive it > >somehow tells ZFS what devices are in use. What if a disk goes > >offline or is removed? > > > > As I understand it the zpool.cache contains the zpools mounted by the > system. After reboot it then re-imports each zpool in the cache. I > believe a recent commit enabled the vfs.root.mountfrom zpool to be > imported even if there was no cache available. > > From what I have heard and seen the data about the zpool it belongs to > and the role the disk plays in the zpool is stored on each disk and > duplicated at the beginning and end of the disk. In my early > experiments after starting clean even after gparting and zeroing out > the start of the disks, zpool still says it belongs to a pool. > If that's the case, I wonder about the wisdom of re-using a drive from my test configuration? My plan has been to prove this out on test and use the same disk from test and insert it into production. One would think ZFS is smart enough to recognize a "different" drive has been inserted, even if it has the same gpart structure and came from a pool with the same name. Thanks for your help. -- Regards, Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Booting from an aribrary disk in ZFS RAIDZ on 8.x
On 06/03/2013 14:54, Doug Poland wrote: On Wed, Mar 06, 2013 at 01:26:07PM +1030, Shane Ambler wrote: On 06/03/2013 05:14, Doug Poland wrote: I have 6 disks in a RAIDZ configuration. All disks were sliced the same with gpart (da(n)p1,p2,p3) with bootcode written to index 1, swap on index 2 and freebsd-zfs on index 3. Given this configuration, I should be able to boot from any of the 6 disks in the RAIDZ. If this is a true statement, how do I make that happen from the loader prompt? You don't boot from an individual disk you boot from a zpool - all disks are linked together making one zpool "disk". Something has to pick a physical device from which to boot, does it not?. All the HP Smart Array 6i controller knows is I have 6 RAID 0 disks to present to the OS. I meant to add if the bootcode is installed on each disk then pointing the bios to any individual disk as the primary boot device will lead to the boot process loading the zpool. Installing it on each disk gives the redundancy to match the raid in the zpool. If you only have one disk with bootcode and it is the one that needs replacing then you can't boot. Then having 100 disks in a pool with bootcode would be overkill, but the consistency may be easier to maintain. I'm guessing that you ask as your machine isn't booting. You probably need to boot from a cd and do adjustments. Not exactly, I have a failing disk in slot 0, which corresponds to da0 in my device list (AKA gpt/disk0). I want to make sure I can boot if I pull this disk and replace it. If the zpool redundancy is sufficient for the zpool to work without the drive it shouldn't make any difference as to how the disk "disappears" only that the data is accessible/rebuildable. I've had issues with this RAID controller in the past where it won't present the new disk to the OS. I've had to reboot, go into the RAID config and tell it it's a single RAID 0 device (stupid, I know). When you think about it, as a raid controller it shouldn't make assumptions as to how to use the new disk, should it add it to an existing raid set, replace a missing drive or show it as a new single drive? Being able to specify per socket as permanently jbod could be useful feature though. The roll of /boot/zfs/zpool.cache is a mystery to me. I belive it somehow tells ZFS what devices are in use. What if a disk goes offline or is removed? As I understand it the zpool.cache contains the zpools mounted by the system. After reboot it then re-imports each zpool in the cache. I believe a recent commit enabled the vfs.root.mountfrom zpool to be imported even if there was no cache available. From what I have heard and seen the data about the zpool it belongs to and the role the disk plays in the zpool is stored on each disk and duplicated at the beginning and end of the disk. In my early experiments after starting clean even after gparting and zeroing out the start of the disks, zpool still says it belongs to a pool. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Booting from an aribrary disk in ZFS RAIDZ on 8.x
On Mar 5, 2013, at 1:44 PM, Doug Poland wrote: > I'm running ZFS filesystem ver 3, storage pool ver 14, on 8-STABLE > amd64. The kernel build is rather dated from around Feb 2010. > > I have 6 disks in a RAIDZ configuration. All disks were sliced > the same with gpart (da(n)p1,p2,p3) with bootcode written to index 1, > swap on index 2 and freebsd-zfs on index 3. > > Given this configuration, I should be able to boot from any of the 6 > disks in the RAIDZ. If this is a true statement, how do I make that > happen from the loader prompt? Boot in terms of root FS or in terms of boot loader ? The boot loader would be set in your BIOS (which physical drive you read for that). / comes from the zpool/zfs dataset once the boot loader loads enough code to find and mount the filesystem. That comes from all the drives in the zpool. -- Paul Kraus Deputy Technical Director, LoneStarCon 3 Sound Coordinator, Schenectady Light Opera Company ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Booting from an aribrary disk in ZFS RAIDZ on 8.x
On 06/03/2013 05:14, Doug Poland wrote: Hello, I'm running ZFS filesystem ver 3, storage pool ver 14, on 8-STABLE amd64. The kernel build is rather dated from around Feb 2010. You probably want to update that sometime. I have 6 disks in a RAIDZ configuration. All disks were sliced the same with gpart (da(n)p1,p2,p3) with bootcode written to index 1, swap on index 2 and freebsd-zfs on index 3. Given this configuration, I should be able to boot from any of the 6 disks in the RAIDZ. If this is a true statement, how do I make that happen from the loader prompt? You don't boot from an individual disk you boot from a zpool - all disks are linked together making one zpool "disk". At the loader prompt when I type show, I get the following relevant variables: currdev="zfs0" loaddev="disk1a:" vfs.root.mountfrom="zfs:rpool" zfs:rpool is the "disk" you boot from. I'm guessing that you ask as your machine isn't booting. You probably need to boot from a cd and do adjustments. You have zfs_load=yes in /boot/loader.conf ? You have vfs.root.mountfrom="zfs:rpool" in /boot/loader.conf ? You have zfs_enable=yes in /etc/rc.conf ? You have zpool set bootfs=rpool rpool or similar? I think it has been resolved recently but you used to have to copy the zpool.cache into /boot Did you set the mountpoint when installing and not change it back? I had issues with setting up with a mountpoint / and changing it to legacy. Setting the mountpoint as you want before setup then use altroot to mount it for install is the way to go. If you search wiki.freebsd.org for zfs you can find several examples that may provide hints to what you missed. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Booting from an aribrary disk in ZFS RAIDZ on 8.x
Hello, I'm running ZFS filesystem ver 3, storage pool ver 14, on 8-STABLE amd64. The kernel build is rather dated from around Feb 2010. I have 6 disks in a RAIDZ configuration. All disks were sliced the same with gpart (da(n)p1,p2,p3) with bootcode written to index 1, swap on index 2 and freebsd-zfs on index 3. Given this configuration, I should be able to boot from any of the 6 disks in the RAIDZ. If this is a true statement, how do I make that happen from the loader prompt? At the loader prompt when I type show, I get the following relevant variables: currdev="zfs0" loaddev="disk1a:" vfs.root.mountfrom="zfs:rpool" A peek at man loader(1) shows me two interesting variables: root_disk_unit rootdev If disk0 is the legacy floppy device, presumably disk1a: maps to da0. What variable do I set to signify boot from what I know as: da0p1 == gpt/boot0 da0p2 == gpt/swap0 da0p3 == gpt/disk0 ... snip ... da5p1 == gpt/boot5 da5p2 == gpt/swap5 da5p3 == gpt/disk5 Thanks very much in advance. BTW, is it bad form to cross-post to forums.freebsd.org? -- Regards, Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: which X driver for NVIDIA Quadro FX 570M?
From smi...@nimnet.asn.au Mon Feb 11 16:59:49 2013 On Mon, 11 Feb 2013 14:28:30 GMT, Anton Shterenlikht wrote: > From smi...@nimnet.asn.au Mon Feb 11 13:49:38 2013 > > On Mon, 11 Feb 2013 10:41:31 GMT, Anton Shterenlikht wrote: > > From: paranormal > > Subject: Re: which X driver for NVIDIA Quadro FX 570M? > > To: freebsd-questions@freebsd.org > > Date: Wed, 06 Feb 2013 03:23:40 +0200 > > > > I have t61p with mentioned card. > > x11/nvidia-driver works well for me (at least quake, doom, compiz work). > > > > Thanks for all the replies. > > > > I bought a T61p for 220 GBP - what bliss! > > > > BIOS update - no problem > > HEAD r246552 - no problem > > wireless with iwn0: - no problem > > sound with hdac0: - no problem > > CD-RW with cd0: Removable CD-ROM SCSI-0 device > > and sysutils/cdrtools-devel - no problem > > X with nvidia0: and x11/nvidia-driver - no problem > > flash as per http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html > > (7.2.1.2 Firefox and Adobe Flash Plugin) - no problem > > > > In fact, no problems at all! > > > > I can't recommend it enough. > > > > Anton > > Suspend and resume? > > I guess no... However, I'm very ignorant of suspend/resume, > so not sure I'm doing the right thing. > > - the T61p manual details "standby" and "hibernation" modes. > Is this what you refer to by suspend? > I can go into standby with Fn+F4, or with "acpiconf -s 3" Ok, state S3 is what we call suspend, more precisely suspend to RAM (STR); windows and so most BIOSes call that state standby. > but can't seem to get back. The disk starts, but the > screen is corrupted, kind of black with very few white dots. > I have to power off/on. A common enough tale these days. I try to remain hopeful someone will get a more modern Thinkpad than the T43s (reportedly) or my older T23s (certainly) resuming in one unbroken piece every time again, one day .. > The Fn+F12, hibernation mode code, does not seem to > do anything. > > - I've had a quick look at acpi(4) and apm(8). > I have: > > hw.acpi.supported_sleep_state: S3 S4 S5 > hw.acpi.s4bios: 0 S3 is suspend to RAM; S4 suspend to disk (STD, unsupported by FreeBSD); S5 is power off, should work but may bypass some shutdown(8) processing. S4, STD - 'hibernation' - has two varieties; with s4bios the BIOS itself writes machine state and all RAM to disk, usually a preallocated file in an msdosfs slice. I haven't heard of any new boxes supporting this in BIOS for years; windows (since ~'95) and Linux (I'm told) support STD. > - Anything I should check/test in BIOS? > I see that power management is enabled in BIOS. > Is that enough? It should be, but doesn't seem to work on many. When it resumes with messed up screen, can you ping it, or maybe ssh in, or is it dead? yes, I thought of this, but haven't checked yet. I haven't got a static IP allocated yet, and I somehow can never ssh into a box with DHCP allocated address. If you boot it but don't start X, can it come back from suspend? no, with or without X - same result. Frankly, unless you're _really_ keen to get STR working, this could turn into not just a rabbithole, but the whole warren - you'll have to really want to be the bunny! no, certainly not for me. I'm all for helping committers with testing patches and such, but for me suspend/resume is not really an issue. Sounds like a very nice machine otherwise :) yes, it's definitely better than HP Compaq 6715s I used before. cheers, Ian Thanks Anton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: which X driver for NVIDIA Quadro FX 570M?
On Mon, 11 Feb 2013 14:28:30 GMT, Anton Shterenlikht wrote: > From smi...@nimnet.asn.au Mon Feb 11 13:49:38 2013 > > On Mon, 11 Feb 2013 10:41:31 GMT, Anton Shterenlikht wrote: > > From: paranormal > > Subject: Re: which X driver for NVIDIA Quadro FX 570M? > > To: freebsd-questions@freebsd.org > > Date: Wed, 06 Feb 2013 03:23:40 +0200 > > > > I have t61p with mentioned card. > > x11/nvidia-driver works well for me (at least quake, doom, > compiz work). > > > > Thanks for all the replies. > > > > I bought a T61p for 220 GBP - what bliss! > > > > BIOS update - no problem > > HEAD r246552 - no problem > > wireless with iwn0: - no problem > > sound with hdac0: - no problem > > CD-RW with cd0: Removable CD-ROM > SCSI-0 device > > and sysutils/cdrtools-devel - no problem > > X with nvidia0: and x11/nvidia-driver - no problem > > flash as per > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html > > (7.2.1.2 Firefox and Adobe Flash Plugin) - no problem > > > > In fact, no problems at all! > > > > I can't recommend it enough. > > > > Anton > > Suspend and resume? > > I guess no... However, I'm very ignorant of suspend/resume, > so not sure I'm doing the right thing. > > - the T61p manual details "standby" and "hibernation" modes. > Is this what you refer to by suspend? > I can go into standby with Fn+F4, or with "acpiconf -s 3" Ok, state S3 is what we call suspend, more precisely suspend to RAM (STR); windows and so most BIOSes call that state standby. > but can't seem to get back. The disk starts, but the > screen is corrupted, kind of black with very few white dots. > I have to power off/on. A common enough tale these days. I try to remain hopeful someone will get a more modern Thinkpad than the T43s (reportedly) or my older T23s (certainly) resuming in one unbroken piece every time again, one day .. > The Fn+F12, hibernation mode code, does not seem to > do anything. > > - I've had a quick look at acpi(4) and apm(8). > I have: > > hw.acpi.supported_sleep_state: S3 S4 S5 > hw.acpi.s4bios: 0 S3 is suspend to RAM; S4 suspend to disk (STD, unsupported by FreeBSD); S5 is power off, should work but may bypass some shutdown(8) processing. S4, STD - 'hibernation' - has two varieties; with s4bios the BIOS itself writes machine state and all RAM to disk, usually a preallocated file in an msdosfs slice. I haven't heard of any new boxes supporting this in BIOS for years; windows (since ~'95) and Linux (I'm told) support STD. > - Anything I should check/test in BIOS? > I see that power management is enabled in BIOS. > Is that enough? It should be, but doesn't seem to work on many. When it resumes with messed up screen, can you ping it, or maybe ssh in, or is it dead? If you boot it but don't start X, can it come back from suspend? Frankly, unless you're _really_ keen to get STR working, this could turn into not just a rabbithole, but the whole warren - you'll have to really want to be the bunny! Sounds like a very nice machine otherwise :) cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: which X driver for NVIDIA Quadro FX 570M?
On Mon, 11 Feb 2013 14:28:30 GMT, Anton Shterenlikht wrote: > I guess no... However, I'm very ignorant of suspend/resume, > so not sure I'm doing the right thing. For those who use the laptop in "transportable mode" (i. e. not on the desktop as a desktop-PC substitute), those features might be interesting in order to save power. > - the T61p manual details "standby" and "hibernation" modes. > Is this what you refer to by suspend? Both are _different_ kinds, if I remember correctly. Standby stores machine states in RAM and buffers it with the battery power. This mode still requires power. This is ACPI states S2 and S3. Hibernate stores machine data somewhere on hard disk or SSD. This mode does not require power. This is ACPI state S4. > I can go into standby with Fn+F4, or with "acpiconf -s 3" > but can't seem to get back. The disk starts, but the > screen is corrupted, kind of black with very few white dots. That seems to indicate that the GPU memory data is lost. A typical problem with those sleep states. > - I've had a quick look at acpi(4) and apm(8). APM is not in use anymore. ACPI has taken that functionality at the point in time when APM has been brought to a fully functional state. > I have: > > hw.acpi.supported_sleep_state: S3 S4 S5 > hw.acpi.s4bios: 0 >From >http://static.usenix.org/event/usenix02/tech/freenix/full_papers/watanabe/watanabe_html/node6.html > you can see: S3: sleep states. In these states, memory contexts are held but CPU contexts are lost. The differences between S2 and S3 are in CPU re-initialization done by firmware and device re-initialization. S4: a sleep state in which contexts are saved to disk. The context will be restored upon the return to S0. This is identical to soft-off for hardware. This state can be implemented by either OS or firmware. S5: the soft-off state. All activity will stop and all contexts are lost. > - Anything I should check/test in BIOS? The obvious things, but I assume the presets are already fine for a laptop. > I see that power management is enabled in BIOS. > Is that enough? It should be. Note that PM can also include things like spinning down disks or reducing CPU power. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: which X driver for NVIDIA Quadro FX 570M?
From smi...@nimnet.asn.au Mon Feb 11 13:49:38 2013 On Mon, 11 Feb 2013 10:41:31 GMT, Anton Shterenlikht wrote: > From: paranormal > Subject: Re: which X driver for NVIDIA Quadro FX 570M? > To: freebsd-questions@freebsd.org > Date: Wed, 06 Feb 2013 03:23:40 +0200 > > I have t61p with mentioned card. > x11/nvidia-driver works well for me (at least quake, doom, compiz work). > > Thanks for all the replies. > > I bought a T61p for 220 GBP - what bliss! > > BIOS update - no problem > HEAD r246552 - no problem > wireless with iwn0: - no problem > sound with hdac0: - no problem > CD-RW with cd0: Removable CD-ROM SCSI-0 device > and sysutils/cdrtools-devel - no problem > X with nvidia0: and x11/nvidia-driver - no problem > flash as per http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html > (7.2.1.2 Firefox and Adobe Flash Plugin) - no problem > > In fact, no problems at all! > > I can't recommend it enough. > > Anton Suspend and resume? I guess no... However, I'm very ignorant of suspend/resume, so not sure I'm doing the right thing. - the T61p manual details "standby" and "hibernation" modes. Is this what you refer to by suspend? I can go into standby with Fn+F4, or with "acpiconf -s 3" but can't seem to get back. The disk starts, but the screen is corrupted, kind of black with very few white dots. I have to power off/on. The Fn+F12, hibernation mode code, does not seem to do anything. - I've had a quick look at acpi(4) and apm(8). I have: hw.acpi.supported_sleep_state: S3 S4 S5 hw.acpi.s4bios: 0 - Anything I should check/test in BIOS? I see that power management is enabled in BIOS. Is that enough? Anton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: which X driver for NVIDIA Quadro FX 570M?
On Tue, 12 Feb 2013 00:30:59 +1100 (EST), Ian Smith wrote: > On Mon, 11 Feb 2013 10:41:31 GMT, Anton Shterenlikht wrote: > >From: paranormal > >Subject: Re: which X driver for NVIDIA Quadro FX 570M? > >To: freebsd-questions@freebsd.org > >Date: Wed, 06 Feb 2013 03:23:40 +0200 > > > >I have t61p with mentioned card. > >x11/nvidia-driver works well for me (at least quake, doom, compiz work). > > > > Thanks for all the replies. > > > > I bought a T61p for 220 GBP - what bliss! > > > > BIOS update - no problem > > HEAD r246552 - no problem > > wireless with iwn0: - no problem > > sound with hdac0: - no problem > > CD-RW with cd0: Removable CD-ROM SCSI-0 > device > > and sysutils/cdrtools-devel - no problem > > X with nvidia0: and x11/nvidia-driver - no problem > > flash as per > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html > > (7.2.1.2 Firefox and Adobe Flash Plugin) - no problem > > > > In fact, no problems at all! > > > > I can't recommend it enough. > > > > Anton > > Suspend and resume? I'd be interested in that, too (to possibly transform this knowledge to the T60p I have). And docking station support (if you have it)? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: which X driver for NVIDIA Quadro FX 570M?
On Mon, 11 Feb 2013 10:41:31 GMT, Anton Shterenlikht wrote: > From: paranormal > Subject: Re: which X driver for NVIDIA Quadro FX 570M? > To: freebsd-questions@freebsd.org > Date: Wed, 06 Feb 2013 03:23:40 +0200 > > I have t61p with mentioned card. > x11/nvidia-driver works well for me (at least quake, doom, compiz work). > > Thanks for all the replies. > > I bought a T61p for 220 GBP - what bliss! > > BIOS update - no problem > HEAD r246552 - no problem > wireless with iwn0: - no problem > sound with hdac0: - no problem > CD-RW with cd0: Removable CD-ROM SCSI-0 > device > and sysutils/cdrtools-devel - no problem > X with nvidia0: and x11/nvidia-driver - no problem > flash as per > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html > (7.2.1.2 Firefox and Adobe Flash Plugin) - no problem > > In fact, no problems at all! > > I can't recommend it enough. > > Anton Suspend and resume? cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: which X driver for NVIDIA Quadro FX 570M?
From: paranormal Subject: Re: which X driver for NVIDIA Quadro FX 570M? To: freebsd-questions@freebsd.org Date: Wed, 06 Feb 2013 03:23:40 +0200 I have t61p with mentioned card. x11/nvidia-driver works well for me (at least quake, doom, compiz work). Thanks for all the replies. I bought a T61p for 220 GBP - what bliss! BIOS update - no problem HEAD r246552 - no problem wireless with iwn0: - no problem sound with hdac0: - no problem CD-RW with cd0: Removable CD-ROM SCSI-0 device and sysutils/cdrtools-devel - no problem X with nvidia0: and x11/nvidia-driver - no problem flash as per http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html (7.2.1.2 Firefox and Adobe Flash Plugin) - no problem In fact, no problems at all! I can't recommend it enough. Anton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: which X driver for NVIDIA Quadro FX 570M?
On Wed, 06 Feb 2013 03:23:40 +0200, paranormal wrote: > I have t61p with mentioned card. > x11/nvidia-driver works well for me (at least quake, doom, compiz work). I can confirm this for my (broken) nVidia GeForce 7600 GS (G73); the nvidia driver (with kernel module) provides good 3D performance, while the nv and nouveau drivers only work for "normal" desktop graphics. Tested with Quake 4 demo, Doom 3 demo, "xlock -nolock -mode lament", "xlock -nolock -mode gears", "xlock -nolock -mode fire" (port: xlockmore) and of course "glxgears" (port: mesa-demos). :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: which X driver for NVIDIA Quadro FX 570M?
I have t61p with mentioned card. x11/nvidia-driver works well for me (at least quake, doom, compiz work). On Sun, 2013-02-03 at 10:33 +, Anton Shterenlikht wrote: > I'm considering buying this Thinkpad T61p laptop: > http://www.ebay.co.uk/itm/321063105251 > > It lists this graphics card: > > NVIDIA Quadro FX 570M > > I'm not sure what driver, if any, will support it. > > There seems to be the official Nvidia FreeBSD driver > provided for it: > > http://www.nvidia.com/object/freebsd_100.14.09.html > > but this apparently has to be installed outside of > the ports tree. > > xf86-video-nv drivers list several other Quadro cards, > but not specifically 570M. > > Maybe somebody has used this card, so can give a > definite reply? > > Thanks > > Anton > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: which X driver for NVIDIA Quadro FX 570M?
On 02/03/13 16:11, Warren Block wrote: > On Sun, 3 Feb 2013, Gary Aitken wrote: >> >> For the OP, I (just now) got the nvidia driver and x to compile and run >> under 9.1 as follows: >> >> 1. make and install the x11/xorg port >> 2. create the symlink /usr/X11R6 to point to /usr/local >> if /usr/X11R6 already exists as a regular directory and has stuff in it, >> move it aside or delete it. I found mine only had stuff from previous >> attempts to build the nvidia driver in it (a "bin" plain file(!), and a >> "lib" containing files from the nvidia driver build), so I deleted it. >> 3. download and unpack the nvidia driver; >> I used >> NVIDIA-FreeBSD-x86_64-304.64.tar.gz >> but note that that file is specific to my architecture, which is amd64; >> you'll need the appropriate one for your architecture. >> 4. make the nvidia driver >> 5. make sure step #4 added the line >> nvidia_load="YES" >> to /boot/loader.conf >> 6. add the following lines to /etc/rc.conf if not already present >> # Enable hald and dbus for X to work with kbd and mouse >> hald_enable="YES" >> dbus_enable="YES" > > Why not just use the port? When I tried that I got some message (can't remember what it was) saying the port was obsolete or something like that implying it shouldn't be used. I thought the msg was in one of the posts I made but I can't find it. I just looked at the Makefile for the port and it looks like it is using the same version of the driver so maybe it will work fine. The message may also have been the result of the port build being messed up because of the extraneous /usr/X11R6 directory I had at the time. If I end up rebuilding I will try it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: which X driver for NVIDIA Quadro FX 570M?
On Sun, 3 Feb 2013, Gary Aitken wrote: For the OP, I (just now) got the nvidia driver and x to compile and run under 9.1 as follows: 1. make and install the x11/xorg port 2. create the symlink /usr/X11R6 to point to /usr/local if /usr/X11R6 already exists as a regular directory and has stuff in it, move it aside or delete it. I found mine only had stuff from previous attempts to build the nvidia driver in it (a "bin" plain file(!), and a "lib" containing files from the nvidia driver build), so I deleted it. 3. download and unpack the nvidia driver; I used NVIDIA-FreeBSD-x86_64-304.64.tar.gz but note that that file is specific to my architecture, which is amd64; you'll need the appropriate one for your architecture. 4. make the nvidia driver 5. make sure step #4 added the line nvidia_load="YES" to /boot/loader.conf 6. add the following lines to /etc/rc.conf if not already present # Enable hald and dbus for X to work with kbd and mouse hald_enable="YES" dbus_enable="YES" Why not just use the port? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: which X driver for NVIDIA Quadro FX 570M?
On 02/03/13 13:34, Warren Block wrote: > On Sun, 3 Feb 2013, Gary Aitken wrote: >> On 02/03/13 11:32, Polytropon wrote: >>> On Sun, 3 Feb 2013 11:29:30 -0700 (MST), Warren Block wrote: >>>> On Sun, 3 Feb 2013, Gary Aitken wrote: >>>> >>>>> I suspect it is from building the nvidia driver, >>>>> as those Makefiles use >>>>> X11BASE= /usr/X11R6 >>>> >>>> Last I heard from the ports guys, that is obsolete. >>> >>> If I remember correctly, X11BASE equals LOCALBASE, which >>> is /usr/local, so any Makefile which uses X11BASE will >>> be directed to /usr/local. It's not clear to me why a >>> Makefile defines a location that has been obsolated... >> >> It's surrounded by >> >> .if !defined(X11BASE) >> X11BASE=/usr/X11R6 >> .endif >> >> Which would protect it if it was defined; >> but I don't see where X11BASE is defined anywhere in >> /usr/ports/Mk >> /usr/share/mk >> >> If it's been obsoleted, that would be the problem. >> >> However, I don't see LOCALBASE defined anywhere except in terms of itself, >> either. >> Where is it initially set? >> Not being a make dude, I'm out of my element here > > Do you have it defined in /etc/make.conf? No; the only thing defined in /etc/make.conf is PERL_VERSION For the OP, I (just now) got the nvidia driver and x to compile and run under 9.1 as follows: 1. make and install the x11/xorg port 2. create the symlink /usr/X11R6 to point to /usr/local if /usr/X11R6 already exists as a regular directory and has stuff in it, move it aside or delete it. I found mine only had stuff from previous attempts to build the nvidia driver in it (a "bin" plain file(!), and a "lib" containing files from the nvidia driver build), so I deleted it. 3. download and unpack the nvidia driver; I used NVIDIA-FreeBSD-x86_64-304.64.tar.gz but note that that file is specific to my architecture, which is amd64; you'll need the appropriate one for your architecture. 4. make the nvidia driver 5. make sure step #4 added the line nvidia_load="YES" to /boot/loader.conf 6. add the following lines to /etc/rc.conf if not already present # Enable hald and dbus for X to work with kbd and mouse hald_enable="YES" dbus_enable="YES" Gary ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: which X driver for NVIDIA Quadro FX 570M?
On Sun, 3 Feb 2013, Gary Aitken wrote: On 02/03/13 11:32, Polytropon wrote: On Sun, 3 Feb 2013 11:29:30 -0700 (MST), Warren Block wrote: On Sun, 3 Feb 2013, Gary Aitken wrote: I suspect it is from building the nvidia driver, as those Makefiles use X11BASE= /usr/X11R6 Last I heard from the ports guys, that is obsolete. If I remember correctly, X11BASE equals LOCALBASE, which is /usr/local, so any Makefile which uses X11BASE will be directed to /usr/local. It's not clear to me why a Makefile defines a location that has been obsolated... It's surrounded by .if !defined(X11BASE) X11BASE=/usr/X11R6 .endif Which would protect it if it was defined; but I don't see where X11BASE is defined anywhere in /usr/ports/Mk /usr/share/mk If it's been obsoleted, that would be the problem. However, I don't see LOCALBASE defined anywhere except in terms of itself, either. Where is it initially set? Not being a make dude, I'm out of my element here Do you have it defined in /etc/make.conf? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: which X driver for NVIDIA Quadro FX 570M?
On 02/03/13 11:32, Polytropon wrote: > On Sun, 3 Feb 2013 11:29:30 -0700 (MST), Warren Block wrote: >> On Sun, 3 Feb 2013, Gary Aitken wrote: >> >>> I suspect it is from building the nvidia driver, >>> as those Makefiles use >>> X11BASE= /usr/X11R6 >> >> Last I heard from the ports guys, that is obsolete. > > If I remember correctly, X11BASE equals LOCALBASE, which > is /usr/local, so any Makefile which uses X11BASE will > be directed to /usr/local. It's not clear to me why a > Makefile defines a location that has been obsolated... It's surrounded by .if !defined(X11BASE) X11BASE=/usr/X11R6 .endif Which would protect it if it was defined; but I don't see where X11BASE is defined anywhere in /usr/ports/Mk /usr/share/mk If it's been obsoleted, that would be the problem. However, I don't see LOCALBASE defined anywhere except in terms of itself, either. Where is it initially set? Not being a make dude, I'm out of my element here ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: which X driver for NVIDIA Quadro FX 570M?
On Sun, 3 Feb 2013 11:29:30 -0700 (MST), Warren Block wrote: > On Sun, 3 Feb 2013, Gary Aitken wrote: > > > I suspect it is from building the nvidia driver, > > as those Makefiles use > > X11BASE= /usr/X11R6 > > Last I heard from the ports guys, that is obsolete. If I remember correctly, X11BASE equals LOCALBASE, which is /usr/local, so any Makefile which uses X11BASE will be directed to /usr/local. It's not clear to me why a Makefile defines a location that has been obsolated... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: which X driver for NVIDIA Quadro FX 570M?
On Sun, 3 Feb 2013, Gary Aitken wrote: I suspect it is from building the nvidia driver, as those Makefiles use X11BASE= /usr/X11R6 Last I heard from the ports guys, that is obsolete. On 02/03/13 10:42, Warren Block wrote: Yes, or rather, there is no /usr/X11R6 at all, on either of the two 9-stable systems I checked. Hmmm, there is on my 9.0 with an nvidia driver installed. Are you running an nvidia driver? If not, that would hint that the X11R6 dir/link is a result of the nvidia driver install process No Nvidia cards here at all. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: which X driver for NVIDIA Quadro FX 570M?
>>> The nvidia legacy driver page does not list that card, so it may be >>> supported with the current x11/nvidia-driver port >>> http://www.nvidia.com/object/IO_32667.html >>> >>> I have a GT-610 and it is also not listed. >>> I am in the process of upgrading to 9.1 as well, >>> but am fighting a bad SSD and have to reconfigure. >> >> The most recent nvidia port I can find is >> NVIDIA-FreeBSD-x86_64-304.64.tar.gz >> It builds fine, but on installing it craps out with the following message: >> /usr/X11R6/lib/modules/drivers No such file or directory ... >> On 9.0, where I am using the 304.60 version, X11R6 is a pointer to >> /usr/local. > > That's the default for some time now. Even FreeBSD v8 already > has that symlink, maybe it has already been part of v7 (not sure). > > lrwxr-xr-x 1 root wheel 10 2011-08-21 22:32:05 /usr/X11R6@ -> /usr/local > >> But my install of 9.1 has an actual /usr/X11R6, and that means things are >> scattered all over, some in /usr/local/lib/xorg and some in /usr/X11R6. > > Where did you get the real X11R6/ directory entry from? Is this > some legacy of "continuous updating" the system beginning at a > version that actually had X11R6/ as a directory? That's what I'd like to know :-) I suspect it is from building the nvidia driver, as those Makefiles use X11BASE= /usr/X11R6 >> This may be a glitch on my end; not sure yet. > > I think it is. The port expects something that actually is in > /usr/local, which would have been the same as in /usr/X11R6, > but in your case, it's not. > >> I had to restart my ports >> build because I screwed up and didn't do a fetch before building x11/xorg, >> and that may have created some bad directories. > > In worst case, maybe you can remove your ports and recreate the > reqired directory structures using the mtree templates > BSD.local.dist (and maybe BSD.x11.dist or BSD.x11-4.dist), > or maybe the xorg port will install the symlink automatically? > If you're not sure, create the symlink yourself and continue > as if nothing had happened. :-) I think manually creating the symlink and rebuilding x and the nvidia port may be what I'll try next. >> Can anyone verify if /usr/X11R6 under 9.1 is supposed to be a symlink to >> /usr/local? > > I stronly assume it is (no v9 OS at hand to check). On 02/03/13 10:42, Warren Block wrote: > Yes, or rather, there is no /usr/X11R6 at all, on either of the two 9-stable > systems I checked. Hmmm, there is on my 9.0 with an nvidia driver installed. Are you running an nvidia driver? If not, that would hint that the X11R6 dir/link is a result of the nvidia driver install process ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: which X driver for NVIDIA Quadro FX 570M?
On Sun, 3 Feb 2013, Gary Aitken wrote: Can anyone verify if /usr/X11R6 under 9.1 is supposed to be a symlink to /usr/local? Yes, or rather, there is no /usr/X11R6 at all, on either of the two 9-stable systems I checked. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: which X driver for NVIDIA Quadro FX 570M?
On Sun, 03 Feb 2013 09:38:07 -0700, Gary Aitken wrote: > On 02/03/13 08:53, Gary Aitken wrote: > > On 02/03/13 03:33, Anton Shterenlikht wrote: > >> I'm considering buying this Thinkpad T61p laptop: > >> http://www.ebay.co.uk/itm/321063105251 > >> > >> It lists this graphics card: > >> > >> NVIDIA Quadro FX 570M > >> > >> I'm not sure what driver, if any, will support it. > >> > >> There seems to be the official Nvidia FreeBSD driver > >> provided for it: > >> > >> http://www.nvidia.com/object/freebsd_100.14.09.html > >> > >> but this apparently has to be installed outside of > >> the ports tree. > >> > >> xf86-video-nv drivers list several other Quadro cards, > >> but not specifically 570M. > >> > >> Maybe somebody has used this card, so can give a > >> definite reply? > > > > I can't specifically address that issue, but according to this page: > > http://www.freebsd.org/doc/en/articles/compiz-fusion/nvidia-setup.html > > recent nvidia cards should be supported by the > > x11/nvidia-driver port > > Ugh, I just tried to build that and it is marked as IGNORE Is the reason still "requires fairly recent FreeBSD-STABLE, or FreeBSD-CURRENT"? See /usr/ports/x11/nvidia-driver/Makefile for details. I've been successfully installing 270.41.19 in 8-STABLE some time ago. > > The nvidia legacy driver page does not list that card, so it may be > > supported with the current x11/nvidia-driver port > > http://www.nvidia.com/object/IO_32667.html > > > > I have a GT-610 and it is also not listed. > > I am in the process of upgrading to 9.1 as well, > > but am fighting a bad SSD and have to reconfigure. > > The most recent nvidia port I can find is > NVIDIA-FreeBSD-x86_64-304.64.tar.gz > It builds fine, but on installing it craps out with the following message: > /usr/X11R6/lib/modules/drivers No such file or directory Very strange. > On 9.0, where I am using the 304.60 version, X11R6 is a pointer to /usr/local. That's the default for some time now. Even FreeBSD v8 already has that symlink, maybe it has already been part of v7 (not sure). lrwxr-xr-x 1 root wheel 10 2011-08-21 22:32:05 /usr/X11R6@ -> /usr/local > But my install of 9.1 has an actual /usr/X11R6, and that means things are > scattered all over, some in /usr/local/lib/xorg and some in /usr/X11R6. Where did you get the real X11R6/ directory entry from? Is this some legacy of "continuous updating" the system beginning at a version that actually had X11R6/ as a directory? > This may be a glitch on my end; not sure yet. I think it is. The port expects something that actually is in /usr/local, which would have been the same as in /usr/X11R6, but in your case, it's not. > I had to restart my ports > build because I screwed up and didn't do a fetch before building x11/xorg, > and that may have created some bad directories. In worst case, maybe you can remove your ports and recreate the reqired directory structures using the mtree templates BSD.local.dist (and maybe BSD.x11.dist or BSD.x11-4.dist), or maybe the xorg port will install the symlink automatically? If you're not sure, create the symlink yourself and continue as if nothing had happened. :-) > Can anyone verify if /usr/X11R6 under 9.1 is supposed to be a symlink to > /usr/local? I stronly assume it is (no v9 OS at hand to check). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: which X driver for NVIDIA Quadro FX 570M?
On Sun, 03 Feb 2013 08:53:49 -0700, Gary Aitken wrote: > On 02/03/13 03:33, Anton Shterenlikht wrote: > > I'm considering buying this Thinkpad T61p laptop: > > http://www.ebay.co.uk/itm/321063105251 > > > > It lists this graphics card: > > > > NVIDIA Quadro FX 570M > > > > I'm not sure what driver, if any, will support it. > > > > There seems to be the official Nvidia FreeBSD driver > > provided for it: > > > > http://www.nvidia.com/object/freebsd_100.14.09.html > > > > but this apparently has to be installed outside of > > the ports tree. > > > > xf86-video-nv drivers list several other Quadro cards, > > but not specifically 570M. > > > > Maybe somebody has used this card, so can give a > > definite reply? > > I can't specifically address that issue, but according to this page: > http://www.freebsd.org/doc/en/articles/compiz-fusion/nvidia-setup.html This is how I got my nVidia card working. It's worth mentioning that the alternatives -- the "nv" driver (from X.org) and the "nouveau" driver -- did work, but had poor 3D performance. The proprietary driver by nVidia can be easily installed according to the article you've mentioned. > recent nvidia cards should be supported by the > x11/nvidia-driver port This is currently the most advanced driver for that brand. However, I had trouble with it when installing the 64 bit OS and I went "back" to 32 bit, so I can't tell if this has been improved. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: which X driver for NVIDIA Quadro FX 570M?
On 02/03/13 08:53, Gary Aitken wrote: > On 02/03/13 03:33, Anton Shterenlikht wrote: >> I'm considering buying this Thinkpad T61p laptop: >> http://www.ebay.co.uk/itm/321063105251 >> >> It lists this graphics card: >> >> NVIDIA Quadro FX 570M >> >> I'm not sure what driver, if any, will support it. >> >> There seems to be the official Nvidia FreeBSD driver >> provided for it: >> >> http://www.nvidia.com/object/freebsd_100.14.09.html >> >> but this apparently has to be installed outside of >> the ports tree. >> >> xf86-video-nv drivers list several other Quadro cards, >> but not specifically 570M. >> >> Maybe somebody has used this card, so can give a >> definite reply? > > I can't specifically address that issue, but according to this page: > http://www.freebsd.org/doc/en/articles/compiz-fusion/nvidia-setup.html > recent nvidia cards should be supported by the > x11/nvidia-driver port Ugh, I just tried to build that and it is marked as IGNORE > The nvidia legacy driver page does not list that card, so it may be > supported with the current x11/nvidia-driver port > http://www.nvidia.com/object/IO_32667.html > > I have a GT-610 and it is also not listed. > I am in the process of upgrading to 9.1 as well, > but am fighting a bad SSD and have to reconfigure. The most recent nvidia port I can find is NVIDIA-FreeBSD-x86_64-304.64.tar.gz It builds fine, but on installing it craps out with the following message: /usr/X11R6/lib/modules/drivers No such file or directory On 9.0, where I am using the 304.60 version, X11R6 is a pointer to /usr/local. But my install of 9.1 has an actual /usr/X11R6, and that means things are scattered all over, some in /usr/local/lib/xorg and some in /usr/X11R6. This may be a glitch on my end; not sure yet. I had to restart my ports build because I screwed up and didn't do a fetch before building x11/xorg, and that may have created some bad directories. Can anyone verify if /usr/X11R6 under 9.1 is supposed to be a symlink to /usr/local? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: which X driver for NVIDIA Quadro FX 570M?
On 02/03/13 03:33, Anton Shterenlikht wrote: > I'm considering buying this Thinkpad T61p laptop: > http://www.ebay.co.uk/itm/321063105251 > > It lists this graphics card: > > NVIDIA Quadro FX 570M > > I'm not sure what driver, if any, will support it. > > There seems to be the official Nvidia FreeBSD driver > provided for it: > > http://www.nvidia.com/object/freebsd_100.14.09.html > > but this apparently has to be installed outside of > the ports tree. > > xf86-video-nv drivers list several other Quadro cards, > but not specifically 570M. > > Maybe somebody has used this card, so can give a > definite reply? I can't specifically address that issue, but according to this page: http://www.freebsd.org/doc/en/articles/compiz-fusion/nvidia-setup.html recent nvidia cards should be supported by the x11/nvidia-driver port The nvidia legacy driver page does not list that card, so it may be supported with the current x11/nvidia-driver port http://www.nvidia.com/object/IO_32667.html I have a GT-610 and it is also not listed. I am in the process of upgrading to 9.1 as well, but am fighting a bad SSD and have to reconfigure. Don't know if this helps or not... Gary ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
which X driver for NVIDIA Quadro FX 570M?
I'm considering buying this Thinkpad T61p laptop: http://www.ebay.co.uk/itm/321063105251 It lists this graphics card: NVIDIA Quadro FX 570M I'm not sure what driver, if any, will support it. There seems to be the official Nvidia FreeBSD driver provided for it: http://www.nvidia.com/object/freebsd_100.14.09.html but this apparently has to be installed outside of the ports tree. xf86-video-nv drivers list several other Quadro cards, but not specifically 570M. Maybe somebody has used this card, so can give a definite reply? Thanks Anton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Have there been any fixes for long TCP delays with FreeBSD 8.3 or 9.x?
Hi folks, I am seeing a problem when copying large files via SMB/Samba from a FreeBSD 8.0-based system (with Samba 3.6.6 and ZFS etc) where eventually Windows drops the connection. However, it seems, based on three captures I have, that what has happened is that FreeBSD has not supplied any data on the connection for 50-60 seconds and the Windows 60-second timeout trips. In each case, what I see is a large number of 1500-byte frames go out. Then Windows ACKs a reasonable amount of data, 30+K or so, and then sends another ACK to ack everything so far received. Then in two cases, after about 52 seconds I see some more data in two of the captures I have but after a further few seconds, Windows disconnects. In the last capture, there was no further data for 60 seconds, so Windows disconnected. I know there should have been more data because: 1. The READ requests are for 64kiB and there is still data to come and the sequence numbers match up. 2. In my Samba traces I know that Samba has gone on to process the next SMB2 command in sequence and the time difference between these are of the order of 1mS and Samba in this case is operating in sync mode where it does not read the next command off the socket until it has finished writing the response for the previous command to the socket. The system is relatively idle. Only one smbd and some web traffic (inbound as a result of a get). I am hoping that this describes a known problem. I can provide captures on request. They will have to be cut-down as they are 300 to 500MB in length. -- Regards, Richard Sharpe (何以解憂?唯有杜康。--曹操) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: gpart and FreeBSD 8.x
On Mon, Dec 3, 2012 at 7:49 AM, Julien Cigar wrote: > > gpart is in BASE on 8.x so there is nothing to install > Thanks, Julien! I added a comment to this effect on the post! -- Take care Rick Miller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: gpart and FreeBSD 8.x
On 12/03/2012 13:31, Rick Miller wrote: For anyone interested, Posted a new blog with regards to gpart on FreeBSD 8.x (with a link to one of Warren's blog posts): http://blog.hostileadmin.com/2012/12/03/freebsd-partitions-and-filesystems-with-gpart/ gpart is in BASE on 8.x so there is nothing to install -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
gpart and FreeBSD 8.x
For anyone interested, Posted a new blog with regards to gpart on FreeBSD 8.x (with a link to one of Warren's blog posts): http://blog.hostileadmin.com/2012/12/03/freebsd-partitions-and-filesystems-with-gpart/ -- Take care Rick Miller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Tuning modern (i.e. 9.x) FreeBSD Systems for 'servers' - any guides?
Hi, We've got a number of 9.x systems in service - replacing a number of older 6/7/8 ones. In the olden days (going back quite a while) you had to fiddle around with stuff like NMBCLUSTERS, MAXUSERS etc. In fact, if you have a look around Google it's littered with guides/articles for this stuff, which appears to be all very out of date. Does anyone have any links for 'modern' tuning guides - or is it simply not necessary with newer FreeBSD versions? (e.g. 9.x upwards) e.g. if the machine is amd64 w/6-8Gb of RAM - running GENERIC. The servers typically handle lots of TCP sessions - so I'm just concerned about what in the olden days would have been network buffers etc. Thanks, -Karl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Audacity Upgrade 1.x -> 2.x Craps Out
I am trying an upgrade to audacity (1.x to 2.x) but it has crapped out; nothing in updating about audacity issues. http://pastebin.com/WxPvgKXf I can live with 1.x for now (as I have work I'm 5 days behind on already and need to get caught up), but I would like to return to using 2.x (I was using 2.x in Ubuntu). I'm doing my best to move all my work over to FreeBSD. -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://owl.apotheon.org signature.asc Description: OpenPGP digital signature
Re: FreeBSD 8.x sysisntall dists
>> Patch was approved. PR should be closed within the hour. > > All patched. > > http://svn.freebsd.org/changeset/base/240972 > > Can you test? I'll close the PR upon success. Thanks to Devin for getting this patch submitted and approved so quickly. It was a great help to me at work! For everyone else that may have interest, I have a blog post with regards to generating a release with multiple kernel distributions: http://blog.hostileadmin.com/2012/10/01/building-freebsd-with-multiple-kernels/ -- Take care Rick Miller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: stop and start X server in FreeBSD 9.0
Polytropon, Mike, Thank for your answers. 2012. október 2. 17:29 napon Mike Clarke írta: > On Tuesday 02 October 2012 14:49:54 Polytropon wrote: > > > For the desired test scenario, I'd suggest to disable KDE > > (kdm) startup in /etc/rc.conf, and finally stop the related > > service (from /usr/local/etc/rc.d probably). Then you can > > easily use the "startx" command to start an X session from > > a user's VT, test your settings, terminate the session, > > and you'll be back in text mode. > > The OP is using kdm3 which is normally managed through /etc/ttys instead of > an rc script. > > To stop kdm3: > > * edit /etc/ttys, find the line 'ttyv8 "/usr/local/bin/kdm" xterm on > secure' > and changie "on" to "off" I did this one before. I hoped I could make it without editing ttys every time. > * kill -1 1 > * killall kdm-bin Thanks for pointing out which program has to be killed. > > To restart > > * edit /etc/ttys and change "off" back to "on" for kdm > * kill -1 1 > > But it isn't necessary to do all this just to pick up changes in xorg.conf. > Just make your desired changes to xorg.conf, then log out of kde and switch > to a console as root and killall kdm-bin. This will stop and start X as well > as kdm. > > You can do all this from a terminal window in your kde session but I prefer > to > logout cleanly instead of having the rug pulled from under my feet which has > sometimes corruptedf my kdmrc file. > I guess this is the way to go. Thanks! Istvan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: stop and start X server in FreeBSD 9.0
On Tuesday 02 October 2012 14:49:54 Polytropon wrote: > For the desired test scenario, I'd suggest to disable KDE > (kdm) startup in /etc/rc.conf, and finally stop the related > service (from /usr/local/etc/rc.d probably). Then you can > easily use the "startx" command to start an X session from > a user's VT, test your settings, terminate the session, > and you'll be back in text mode. The OP is using kdm3 which is normally managed through /etc/ttys instead of an rc script. To stop kdm3: * edit /etc/ttys, find the line 'ttyv8 "/usr/local/bin/kdm" xterm on secure' and changie "on" to "off" * kill -1 1 * killall kdm-bin To restart * edit /etc/ttys and change "off" back to "on" for kdm * kill -1 1 But it isn't necessary to do all this just to pick up changes in xorg.conf. Just make your desired changes to xorg.conf, then log out of kde and switch to a console as root and killall kdm-bin. This will stop and start X as well as kdm. You can do all this from a terminal window in your kde session but I prefer to logout cleanly instead of having the rug pulled from under my feet which has sometimes corruptedf my kdmrc file. -- Mike Clarke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: stop and start X server in FreeBSD 9.0
On Tue, 02 Oct 2012 15:33:50 +0200, Istvan Gabor wrote: > Hello: > > I configured FreeBSD 9.0 RELEASE with X starting automatically at boot. > I use kdm3 login manager, and it works. > I would like to make changes to xorg.conf and test the effects. > How can I stop X in a terminal temporarily? > If I kill kdm it is restarted immediately. For the desired test scenario, I'd suggest to disable KDE (kdm) startup in /etc/rc.conf, and finally stop the related service (from /usr/local/etc/rc.d probably). Then you can easily use the "startx" command to start an X session from a user's VT, test your settings, terminate the session, and you'll be back in text mode. If you are happy with your settings, re-enable KDE (kdm) by the corresponding /etc/rc.conf entry. > In openSUSE I could do this by switchiong runlevels but > I learned that FreeBSD has no runlevels. Yes, FreeBSD uses the rc.d mechanism (see "man 8 rc" for details). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
stop and start X server in FreeBSD 9.0
Hello: I configured FreeBSD 9.0 RELEASE with X starting automatically at boot. I use kdm3 login manager, and it works. I would like to make changes to xorg.conf and test the effects. How can I stop X in a terminal temporarily? If I kill kdm it is restarted immediately. In openSUSE I could do this by switchiong runlevels but I learned that FreeBSD has no runlevels. Thanks, Istvan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash
On Mon, 01 Oct 2012 15:00:40 -0500, wrote: Sep 21 02:14:55 backups kernel: (da1:mpt0:0:1:0): WRITE(10). CDB: 2a 0 5 ee 60 16 0 1 0 0 Sep 21 02:14:55 backups kernel: (da1:mpt0:0:1:0): CAM status: SCSI Status Error Sep 21 02:14:55 backups kernel: (da1:mpt0:0:1:0): SCSI status: Busy Sep 21 02:14:55 backups kernel: (da1:mpt0:0:1:0): Retrying command Sep 21 02:18:44 backups kernel: (da1:mpt0:0:1:0): WRITE(10). CDB: 2a 0 3 ef 42 51 0 1 0 0 Sep 21 02:18:44 backups kernel: (da1:mpt0:0:1:0): CAM status: SCSI Status Error Sep 21 02:18:44 backups kernel: (da1:mpt0:0:1:0): SCSI status: Busy Sep 21 02:18:44 backups kernel: (da1:mpt0:0:1:0): Retrying command Sep 21 02:18:48 backups kernel: (da1:mpt0:0:1:0): WRITE(10). CDB: 2a 0 3 ef 64 51 0 1 0 0 Sep 21 02:18:48 backups kernel: (da1:mpt0:0:1:0): CAM status: SCSI Status Error Sep 21 02:18:48 backups kernel: (da1:mpt0:0:1:0): SCSI status: Busy Sep 21 02:18:48 backups kernel: (da1:mpt0:0:1:0): Retrying command Sep 21 02:18:49 backups kernel: (da1:mpt0:0:1:0): WRITE(10). CDB: 2a 0 3 ef 66 51 0 1 0 0 Sep 21 02:18:49 backups kernel: (da1:mpt0:0:1:0): CAM status: SCSI Status Error Sep 21 02:18:49 backups kernel: (da1:mpt0:0:1:0): SCSI status: Busy ... Sep 21 05:06:18 backups kernel: (da1:mpt0:0:1:0): WRITE(10). CDB: 2a 0 41 f3 94 99 0 1 0 0 Sep 21 05:06:18 backups kernel: (da1:mpt0:0:1:0): CAM status: SCSI Status Error Sep 21 05:06:18 backups kernel: (da1:mpt0:0:1:0): SCSI status: Busy Sep 21 05:06:18 backups kernel: (da1:mpt0:0:1:0): Retrying command Sometimes you'll see this before a crash, but not every time. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash
On Wednesday, June 6, 2012 8:36:04 PM UTC-5, Mark Felder wrote: > Hi guys I'm excitedly posting this from my phone. Good news for you guys, bad > news for us -- we were building HA storage on vmware for a client and can now > replicate the crash on demand. I'll be posting details when I get home to my > PC tonight, but this hopefully is enough to replicate the crash for any > curious followers: > > > > ESXi 5 > > 9 or 9-STABLE > > HAST > > 1 cpu is fine > > 1GB of ram > > UFS SUJ on HAST device > > No special loader.conf, sysctl, etc > > No need for VMWare tools > > Run Bonnie++ on the HAST device > > > > We can get the crash to happen on the first run of bonnie++ right now. I'll > post the exact specs and precise command run in the PR. We found an old post > from 2004 when we looked up the process state obtained from CTRL+T -- flswai > -- which describes the symptoms nearly perfectly. > > > > http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2004-02/0250.html > > > > Hopefully this gets us closer to a fix... Is this a crash or a hang? Over the past couple of weeks, I've been working with a FreeBSD 9.1RC1 system under VMware ESXi 5.0 with a 64GB UFS root FS and 2TB ZFS filesystem mounted via a virtual LSI SAS interface. Sometimes during heavy I/O load (rsync from other servers) on the ZFS FS, this shows up in /var/log/messages: Sep 21 02:14:55 backups kernel: (da1:mpt0:0:1:0): WRITE(10). CDB: 2a 0 5 ee 60 16 0 1 0 0 Sep 21 02:14:55 backups kernel: (da1:mpt0:0:1:0): CAM status: SCSI Status Error Sep 21 02:14:55 backups kernel: (da1:mpt0:0:1:0): SCSI status: Busy Sep 21 02:14:55 backups kernel: (da1:mpt0:0:1:0): Retrying command Sep 21 02:18:44 backups kernel: (da1:mpt0:0:1:0): WRITE(10). CDB: 2a 0 3 ef 42 51 0 1 0 0 Sep 21 02:18:44 backups kernel: (da1:mpt0:0:1:0): CAM status: SCSI Status Error Sep 21 02:18:44 backups kernel: (da1:mpt0:0:1:0): SCSI status: Busy Sep 21 02:18:44 backups kernel: (da1:mpt0:0:1:0): Retrying command Sep 21 02:18:48 backups kernel: (da1:mpt0:0:1:0): WRITE(10). CDB: 2a 0 3 ef 64 51 0 1 0 0 Sep 21 02:18:48 backups kernel: (da1:mpt0:0:1:0): CAM status: SCSI Status Error Sep 21 02:18:48 backups kernel: (da1:mpt0:0:1:0): SCSI status: Busy Sep 21 02:18:48 backups kernel: (da1:mpt0:0:1:0): Retrying command Sep 21 02:18:49 backups kernel: (da1:mpt0:0:1:0): WRITE(10). CDB: 2a 0 3 ef 66 51 0 1 0 0 Sep 21 02:18:49 backups kernel: (da1:mpt0:0:1:0): CAM status: SCSI Status Error Sep 21 02:18:49 backups kernel: (da1:mpt0:0:1:0): SCSI status: Busy ... Sep 21 05:06:18 backups kernel: (da1:mpt0:0:1:0): WRITE(10). CDB: 2a 0 41 f3 94 99 0 1 0 0 Sep 21 05:06:18 backups kernel: (da1:mpt0:0:1:0): CAM status: SCSI Status Error Sep 21 05:06:18 backups kernel: (da1:mpt0:0:1:0): SCSI status: Busy Sep 21 05:06:18 backups kernel: (da1:mpt0:0:1:0): Retrying command These have been happening roughly every other day. mpt0 and em0 were sharing int 18, so today I put hint.mpt.0.msi_enable="1" into /boot/devices.hints and rebooted; now mpt0 is using int 256. I'll see if it helps. Guy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD 8.x sysisntall dists
On Sep 27, 2012, at 5:52 AM, Rick Miller wrote: > On Wed, Sep 26, 2012 at 4:19 PM, Devin Teske > wrote: >> >> >> All patched. >> >> http://svn.freebsd.org/changeset/base/240972 >> >> Can you test? I'll close the PR upon success. > > Success! Thanks! > Excellent! Thank you for bringing this to my attention. -- Devin P.S. Closed PR (no releases to MFS) _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD 8.x sysisntall dists
On Wed, Sep 26, 2012 at 4:19 PM, Devin Teske wrote: > > > All patched. > > http://svn.freebsd.org/changeset/base/240972 > > Can you test? I'll close the PR upon success. Success! Thanks! -- Take care Rick Miller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
RE: FreeBSD 8.x sysisntall dists
> -Original Message- > From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- > questi...@freebsd.org] On Behalf Of dte...@freebsd.org > Sent: Wednesday, September 26, 2012 1:10 PM > To: 'Rick Miller'; dte...@freebsd.org > Cc: 'FreeBSD Questions' > Subject: RE: FreeBSD 8.x sysisntall dists > > > -Original Message- > > From: vrwmil...@gmail.com [mailto:vrwmil...@gmail.com] On Behalf Of Rick > > Miller > > Sent: Wednesday, September 26, 2012 1:06 PM > > To: dte...@freebsd.org > > Cc: FreeBSD Questions > > Subject: Re: FreeBSD 8.x sysisntall dists > > > > >> > > > > >> > > Confirmed. I'll raise a PR with a patch to correct this. > > >> > > > >> > Awesome! Thanks for the quick reply, Devin! If you don't mind, will > > >> > you pass on the PR so I can track it? > > >> > > >> Sure, no prob. It should appear in GNATS within 15-20 minutes. I'll get you > > > the > > >> PR number when I get my response from GNATS. > > >> > > > > > > bin/172096: sysinstall does not support new DEBUG kernel distribution in 8.x > > > > > > > > >> > I am also considering > > >> > approaching one of our developers to ask if they can write a patch, > > >> > would that be helpful? > > >> > > > >> > > >> No need. Patch is already written. > > >> > > >> I'll be submitting it to my mentor for review/approval shortly. > > > > > > Submitted. > > > > Excellent, thanks! > > Patch was approved. PR should be closed within the hour. All patched. http://svn.freebsd.org/changeset/base/240972 Can you test? I'll close the PR upon success. -- Devin _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
RE: FreeBSD 8.x sysisntall dists
> -Original Message- > From: vrwmil...@gmail.com [mailto:vrwmil...@gmail.com] On Behalf Of Rick > Miller > Sent: Wednesday, September 26, 2012 1:06 PM > To: dte...@freebsd.org > Cc: FreeBSD Questions > Subject: Re: FreeBSD 8.x sysisntall dists > > >> > > > >> > > Confirmed. I'll raise a PR with a patch to correct this. > >> > > >> > Awesome! Thanks for the quick reply, Devin! If you don't mind, will > >> > you pass on the PR so I can track it? > >> > >> Sure, no prob. It should appear in GNATS within 15-20 minutes. I'll get you > > the > >> PR number when I get my response from GNATS. > >> > > > > bin/172096: sysinstall does not support new DEBUG kernel distribution in 8.x > > > > > >> > I am also considering > >> > approaching one of our developers to ask if they can write a patch, > >> > would that be helpful? > >> > > >> > >> No need. Patch is already written. > >> > >> I'll be submitting it to my mentor for review/approval shortly. > > > > Submitted. > > Excellent, thanks! Patch was approved. PR should be closed within the hour. -- Devin _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD 8.x sysisntall dists
>> > > >> > > Confirmed. I'll raise a PR with a patch to correct this. >> > >> > Awesome! Thanks for the quick reply, Devin! If you don't mind, will >> > you pass on the PR so I can track it? >> >> Sure, no prob. It should appear in GNATS within 15-20 minutes. I'll get you > the >> PR number when I get my response from GNATS. >> > > bin/172096: sysinstall does not support new DEBUG kernel distribution in 8.x > > >> > I am also considering >> > approaching one of our developers to ask if they can write a patch, >> > would that be helpful? >> > >> >> No need. Patch is already written. >> >> I'll be submitting it to my mentor for review/approval shortly. > > Submitted. Excellent, thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
RE: FreeBSD 8.x sysisntall dists
> -Original Message- > From: Devin Teske [mailto:devin.te...@fisglobal.com] > Sent: Wednesday, September 26, 2012 12:04 PM > To: 'Rick Miller'; dte...@freebsd.org > Cc: 'FreeBSD Questions' > Subject: RE: FreeBSD 8.x sysisntall dists > > > > > -Original Message- > > From: vrwmil...@gmail.com [mailto:vrwmil...@gmail.com] On Behalf Of Rick > > Miller > > Sent: Wednesday, September 26, 2012 11:47 AM > > To: dte...@freebsd.org > > Cc: FreeBSD Questions > > Subject: Re: FreeBSD 8.x sysisntall dists > > > > >> dists=base kernels GENERIC SMP DEBUG doc catpages > > >> > > >> DEBUG was added to the above along with the new release build. All > > >> distributions get installed with the exception of DEBUG. In looking > > >> through sysinstall sources (I am not much of a C programmer to begin > > >> with) and it appears as though the sources need to be modified to > > >> support a new DEBUG distribution. > > >> > > >> I wonder if you might be able to confirm or refute this... > > >> > > > > > > Confirmed. I'll raise a PR with a patch to correct this. > > > > Awesome! Thanks for the quick reply, Devin! If you don't mind, will > > you pass on the PR so I can track it? > > Sure, no prob. It should appear in GNATS within 15-20 minutes. I'll get you the > PR number when I get my response from GNATS. > bin/172096: sysinstall does not support new DEBUG kernel distribution in 8.x > > I am also considering > > approaching one of our developers to ask if they can write a patch, > > would that be helpful? > > > > No need. Patch is already written. > > I'll be submitting it to my mentor for review/approval shortly. Submitted. -- Devin _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
RE: FreeBSD 8.x sysisntall dists
> -Original Message- > From: vrwmil...@gmail.com [mailto:vrwmil...@gmail.com] On Behalf Of Rick > Miller > Sent: Wednesday, September 26, 2012 11:47 AM > To: dte...@freebsd.org > Cc: FreeBSD Questions > Subject: Re: FreeBSD 8.x sysisntall dists > > >> dists=base kernels GENERIC SMP DEBUG doc catpages > >> > >> DEBUG was added to the above along with the new release build. All > >> distributions get installed with the exception of DEBUG. In looking > >> through sysinstall sources (I am not much of a C programmer to begin > >> with) and it appears as though the sources need to be modified to > >> support a new DEBUG distribution. > >> > >> I wonder if you might be able to confirm or refute this... > >> > > > > Confirmed. I'll raise a PR with a patch to correct this. > > Awesome! Thanks for the quick reply, Devin! If you don't mind, will > you pass on the PR so I can track it? Sure, no prob. It should appear in GNATS within 15-20 minutes. I'll get you the PR number when I get my response from GNATS. > I am also considering > approaching one of our developers to ask if they can write a patch, > would that be helpful? > No need. Patch is already written. I'll be submitting it to my mentor for review/approval shortly. -- Devin _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD 8.x sysisntall dists
>> dists=base kernels GENERIC SMP DEBUG doc catpages >> >> DEBUG was added to the above along with the new release build. All >> distributions get installed with the exception of DEBUG. In looking >> through sysinstall sources (I am not much of a C programmer to begin >> with) and it appears as though the sources need to be modified to >> support a new DEBUG distribution. >> >> I wonder if you might be able to confirm or refute this... >> > > Confirmed. I'll raise a PR with a patch to correct this. Awesome! Thanks for the quick reply, Devin! If you don't mind, will you pass on the PR so I can track it? I am also considering approaching one of our developers to ask if they can write a patch, would that be helpful? -- Take care Rick Miller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
RE: FreeBSD 8.x sysisntall dists
> -Original Message- > From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- > questi...@freebsd.org] On Behalf Of Rick Miller > Sent: Wednesday, September 26, 2012 11:29 AM > To: FreeBSD Questions > Subject: FreeBSD 8.x sysisntall dists > > Hi All, > > I performed a `make release` with FreeBSD 8.3p4 sources that built a > secondary kernel (called DEBUG). It ended up in the release inside > kernels/ as expected. The install.cfg file includes the line: > > dists=base kernels GENERIC SMP DEBUG doc catpages > > DEBUG was added to the above along with the new release build. All > distributions get installed with the exception of DEBUG. In looking > through sysinstall sources (I am not much of a C programmer to begin > with) and it appears as though the sources need to be modified to > support a new DEBUG distribution. > > I wonder if you might be able to confirm or refute this... > Confirmed. I'll raise a PR with a patch to correct this. -- Devin _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
RE: FreeBSD 8.x sysisntall dists
> -Original Message- > From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- > questi...@freebsd.org] On Behalf Of Rick Miller > Sent: Wednesday, September 26, 2012 11:29 AM > To: FreeBSD Questions > Subject: FreeBSD 8.x sysisntall dists > > Hi All, > > I performed a `make release` with FreeBSD 8.3p4 sources that built a > secondary kernel (called DEBUG). It ended up in the release inside > kernels/ as expected. The install.cfg file includes the line: > > dists=base kernels GENERIC SMP DEBUG doc catpages > > DEBUG was added to the above along with the new release build. All > distributions get installed with the exception of DEBUG. In looking > through sysinstall sources (I am not much of a C programmer to begin > with) and it appears as though the sources need to be modified to > support a new DEBUG distribution. > > I wonder if you might be able to confirm or refute this... > I'll take this. -- Devin _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
FreeBSD 8.x sysisntall dists
Hi All, I performed a `make release` with FreeBSD 8.3p4 sources that built a secondary kernel (called DEBUG). It ended up in the release inside kernels/ as expected. The install.cfg file includes the line: dists=base kernels GENERIC SMP DEBUG doc catpages DEBUG was added to the above along with the new release build. All distributions get installed with the exception of DEBUG. In looking through sysinstall sources (I am not much of a C programmer to begin with) and it appears as though the sources need to be modified to support a new DEBUG distribution. I wonder if you might be able to confirm or refute this... -- Take care Rick Miller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Installation Logs for FreeBSD 8.x?
Hi All, Is it possible to write FreeBSD 8.x installation logs onto a resulting FreeBSD 8.x host via sysinstall or some scripting method? I am interested in output one sees during a normal installation plus any warning/error conditions. Ideally, this information will end up on the installed host in a directory within /var. sysinstall docs don't seem to explain any sort of facility to accomplish this. Perhaps there is someone out there who has done something similar that might be able to share their knowledge? -- Take care Rick Miller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: 9.0 release hang in quiescent X [Solved]
On 08/21/12 10:22, Ian Smith wrote: > Those guys were losing 768MB or more, but had plenty to spare. You? 16G so not a big problem, but that doesn't mean I like giving it away... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: 9.0 release hang in quiescent X [Solved]
On Tue, 21 Aug 2012 09:54:14 -0600, Gary Aitken wrote: > Having run for a couple of days now without problems, > I'm guardedly optimistic I've solved this problem. > It appears the problem had nothing to do with screen blanking. > The solution was to disable memory mapping in BIOS, > whose purpose is to recover the memory addresses reserved for hardware > in old PC architectures. > It means some memory will never be used, but that's better than a hang. > > http://vip.asus.com/forum/view.aspx?id=20110131214116581&board_id=1&model=M4A89TD+PRO%2fUSB3&page=1&SLanguage=en-us That's great news Gary, good hunting. I read that forum post, which did look worth trying. Whether it's a BIOS bug or just something to watch out for I don't know, but it seems to be a trap for the unwary; so many BIOS settings are poorly explained. Those guys were losing 768MB or more, but had plenty to spare. You? I'm still running an older Xorg here, so had no idea about any default 10 minute blanktime. I'll remember that .. [..] cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: 9.0 release hang in quiescent X [Solved]
Having run for a couple of days now without problems, I'm guardedly optimistic I've solved this problem. It appears the problem had nothing to do with screen blanking. The solution was to disable memory mapping in BIOS, whose purpose is to recover the memory addresses reserved for hardware in old PC architectures. It means some memory will never be used, but that's better than a hang. http://vip.asus.com/forum/view.aspx?id=20110131214116581&board_id=1&model=M4A89TD+PRO%2fUSB3&page=1&SLanguage=en-us Gary On 08/19/12 14:25, Gary Aitken wrote: > On 08/19/12 10:11, Ian Smith wrote: >> In freebsd-questions Digest, Vol 428, Issue 7, Message: 4 >> On Fri, 17 Aug 2012 13:51:07 -0600 Gary Aitken >> wrote: >>> On 08/16/12 00:04, Matthew Seaman wrote: >>> > On 16/08/2012 05:45, Gary Aitken wrote: >>> ... >>> >> Running 9.0 release on an amd 64 box, standard kernel, 16GB, SSD (/, >>> >> /usr, /var, /tmp) + HDDs, visiontek 900331 graphics card (ati radeon >>> >> hd5550). >>> >> >>> >> As long as I am using the system, things seem to be fine. However, >>> >> when I leave the system idle for an extended period of time (e.g. >>> >> overnight, out for the day, etc.), it often refuses to return from >>> >> whatever state it is in. The screen is blank and in standby for >>> >> power saving, and Fn won't get me a console prompt. The >>> >> only way I know to recover is to power off and reboot. >>> ... >>> >> Can someone suggest a good way to proceed to figure out what's going >>> >> on? >>> > >>> > Can you get network access to the machine when it gets into this >> state? >>> >>> I enabled remote logins and when the system hangs, I can neither log >>> in nor ping it. I can do both of those prior to a hang. >> >> Hi Gary. Please wrap text less than 80 columns on freebsd lists; I was >> going to reply to a later message but it had got too messy. Turned out >> this one is more useful anyway, so I've taken the liberty .. > > will do. Wasn't sure what was considered the right thing to do, > as I regularly get messages which when quoted run out as single lines. > >>> > As to working out what the underlying cause of the problem is: that's >>> > harder. I'd try experimenting with the power saving settings for your >>> > graphics display. If you can turn them off as a test, and the machine >>> > then survives for an extended period of idleness, you'll have gone a >>> > long way towards isolating the problem. >> >> Have you yet tried turning off any and all power saving settings, until >> your monitor quits blanking/suspending, and the machine keeps running? > > Doing that test now. > >> The monitor isn't blanking by itself, BIOS suspend & power off settings >> for screen, disk etc shouldn't affect a running FreeBSD system (but turn >> them off anyway!) - so we're left with something you've set yourself, >> presumably via your (which?) window manager, which then has Xorg, using >> your hardware's particular driver, do the dirty work on the hardware. > > I'm currently using xfce4. > >> Just that it's not clear you've yet isolated the main suspect. There's >> buggy hardware, buggy ACPI/BIOS implementations, buggy video drivers; it >> makes sense to rule out another hardware problem by leaving video on. > ... >> Something you set is doing it :) If running say KDE, suspects would >> include screen'savers' (as many have mentioned), window manager power >> settings (setting/peripherals/display/powercontrol on kde3), and lastly >> as Warren mentioned, settings for Xorg itself, in xorg.conf (if any). > > It appears the screen blanking is a result of xorg's default 10 min BlankTime > default, which I've turned off. > > I found this reference to possible issues with memory hole remapping, > which I will also check into: > > http://vip.asus.com/forum/view.aspx?id=20110131214116581&board_id=1&model=M4A89TD+PRO%2fUSB3&page=1&SLanguage=en-us > > That actually seems more likely to be the problem > > Many thanks for your explanations > > Gary > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"