Re: [off-topic] CS/IT/SE/CE/IS and analogies to other sciences (was: Re: 7.2 update instructions)
Thanks Lamar. William. On Tuesday, February 23, 2016 3:51 PM, Lamar Owenwrote: On 02/23/2016 03:29 AM, Yasha Karant wrote: > Apologies, but I do not understand the "+1"; is this approval to post > additional commentary on this matter, or, again, is this discussion > not suitable for this list? I did not initiate the matter of the ACM > view or curricular recommendations, in contrast to that of an > information technology approach; but there seem to be fundamental > misconceptions concerning the fields of computer science and > engineering in the commentary, just as I have met some "applied" > physicists who have misconceptions about fundamental physics... Once again, the primary purpose of my bringing up the ACM curricula was simply to use an academically accepted source of definitions to establish common terminology, and to relate that even though many on this list are in various theoretical sciences they are not necessarily 'computer scientists' by the ACM's definition of same. Many are in scientific institutions (such as my own) who deal with computers used by various theoretical/basic research scientists, but who are themselves 'information technologists,' again by the ACM's definition of same. I am not an astrophysicist; nor am I any one of the various subcategories of astronomer (astronomy embodies astrometry, photometry, spectroscopy, cosmology, and many other subfields); but I do support research astronomers as my $day_job (to use an IT-ism). I do have an engineering degree, incidentally, but that is not my main job for the most part. My observation was that you are not likely to get a 'computer scientist' mindset in answers to systems administration questions (squarely in the 'information technologist' realm), but you are very likely to get an 'information technologist' answer instead. The details of the differences are easily found in the ACM's own curricula standards; for the list, those may be found at http://www.acm.org/education/curricula-recommendations It boils down to a difference in terminology. A good example is the '+1' used to signify 'I agree with that' that you found alien, but those who have been in IT for a long time understood as a part of the tacit knowledge in the IT discipline. The use of '+1' on mailing lists and Usenet prior to that is pretty common. Degree of agreement is expressed by a larger number; +1000 would be 'vehemently agree,' for instance. I would personally be interested in your commentary, and I already know that there are others who would be as well, but it is probably not appropriate for the list. So, please send me (and whomever may request it directly from you) and if it is ok with you I'll forward along to those who have contacted me privately with an interest in reading that commentary as well. > > For Lamar, who evidently has looked at my not-recently-updated > academic home page, the item you mention is posted there from another > source (I do not have any graphics artists to support my work, and do > not have the spare time to do the stick figure material you see) that > I thought was credited. Yes, I saw the actual author (after following a link in the text of the document to grab the example source code) after I made the post, and I apologize for the improper attribution. Hope you have a great day.
Re: 7.2 update instructions
Sorry for the misunderstanding. I simply meant the following:* I will appreciate a copy of your response on the differences between computer science, technology, etc, be it off-list or on-list (if moderators approve).* I'll appreciate Lamar's too, and the outcome from his University (if available). Just to provide context, I'm from computer science (CSC); I encounter very strange views of CSC, IT, ICT, etc. (e.g., CSC is of Engineering and has no place in general [secondary] education or that IT skills are sufficient for CSC); and typically feel I and the other party(ies) are from different planets. William. On Tuesday, February 23, 2016 9:29 AM, Yasha Karant <ykar...@csusb.edu> wrote: Apologies, but I do not understand the "+1"; is this approval to post additional commentary on this matter, or, again, is this discussion not suitable for this list? I did not initiate the matter of the ACM view or curricular recommendations, in contrast to that of an information technology approach; but there seem to be fundamental misconceptions concerning the fields of computer science and engineering in the commentary, just as I have met some "applied" physicists who have misconceptions about fundamental physics (e.g., high energy physics and general relativity). (I mention fundamental physics because that is the basic reason for the existence of both Fermilab and CERN -- at both institutions, EL is the operating environment to enable the research, rather than DEC VMS of a previous epoch. Those in the EL community gain from this use.) For Lamar, who evidently has looked at my not-recently-updated academic home page, the item you mention is posted there from another source (I do not have any graphics artists to support my work, and do not have the spare time to do the stick figure material you see) that I thought was credited. I use this introduction to AES (and cryptography in general), along with a Conan Doyle short story, as my part of the "dog and pony show" my department does on an annual basis to recruit high school students to come to our ABET accredited programs as undergraduate majors. If a person cannot handle mathematics, including that behind encryption, then, regrettably, computer science and engineering probably is not a good fit (nor would physics be). When I teach a course involving encryption, I cover it with greater depth than what you see in the cartoon -- but I still have the students read the cartoon to get some background before I teach the mathematics and then the cryptography. On 02/22/2016 11:29 AM, William Shu wrote: Yasha/Lamar + 1 for your views on these comparisons, and Lamar's university's conclusions (and justifications thereto) when done, on or off list. William. On Monday, February 22, 2016 6:54 PM, Lamar Owen <lo...@pari.edu> wrote: On 02/22/2016 11:50 AM, Yasha Karant wrote: > would it be appropriate for me to post a response? The differences > are deep and fundamental. > I can't answer that; a moderator would need to. I would personally welcome a direct e-mail with the explanation myself, as my .edu is currently investigating 'CS' curricula (where 'CS' is the Google/Microsoft version and not the ACM version of 'CS'). And for the list, one of the more fascinating things you are likely to ever read is Yasha Karant's 'A Stick Figure Guide to the Advanced Encryption Standard (AES)' which is available at http://www.csci.csusb.edu/ykarant/cryptography/aes-cartoon.pdf ; I certainly found it interesting. My paragraph was simply there to let you know that there are probably many more IT folk here than CS folk, and IT folk tend to have a very hands-on and practical 'here's the standard way to do it' answer and an eye towards maintainability, and all of that is just a part of the IT mindset. Neither is the more correct mindset; the mindsets are just different. A CIS-mindset is yet even more different, but that's not nearly as well represented here, nor are the CE or SE mindsets, but the IT mindset is very much predominant here. As well, it was to serve to let the list as a whole know that there are different mindsets out there that are very different from the typical sysadmin IT-centric mindset.
Re: 7.2 update instructions
Yasha/Lamar + 1 for your views on these comparisons, and Lamar's university's conclusions (and justifications thereto) when done, on or off list. William. On Monday, February 22, 2016 6:54 PM, Lamar Owenwrote: On 02/22/2016 11:50 AM, Yasha Karant wrote: > would it be appropriate for me to post a response? The differences > are deep and fundamental. > I can't answer that; a moderator would need to. I would personally welcome a direct e-mail with the explanation myself, as my .edu is currently investigating 'CS' curricula (where 'CS' is the Google/Microsoft version and not the ACM version of 'CS'). And for the list, one of the more fascinating things you are likely to ever read is Yasha Karant's 'A Stick Figure Guide to the Advanced Encryption Standard (AES)' which is available at http://www.csci.csusb.edu/ykarant/cryptography/aes-cartoon.pdf ; I certainly found it interesting. My paragraph was simply there to let you know that there are probably many more IT folk here than CS folk, and IT folk tend to have a very hands-on and practical 'here's the standard way to do it' answer and an eye towards maintainability, and all of that is just a part of the IT mindset. Neither is the more correct mindset; the mindsets are just different. A CIS-mindset is yet even more different, but that's not nearly as well represented here, nor are the CE or SE mindsets, but the IT mindset is very much predominant here. As well, it was to serve to let the list as a whole know that there are different mindsets out there that are very different from the typical sysadmin IT-centric mindset.
Re: "Not using downloaded repomd.xml because it is older than what we have:"
This may not be your issue, but I find such "minimal differences" in time, mostly less than a second, when I back-up or copy files to MS Windows-based machines, and later restore/copy them back again. The hardware is same, as its a dual-boot laptop.I discovered the time-stamps were truncated/rounded on the MS-Windows machines, making files suddenly newer or older than their exact copy. Hope that helps. William. On Saturday, February 13, 2016 7:24 PM, Peter Boywrote: Hi all, since several months I get constantly from anacreon: > ——< /etc/cron.daily/0yum-daily.cron: Not using downloaded repomd.xml because it is older than what we have: Current : Thu Feb 4 16:13:26 2016 Downloaded: Thu Feb 4 16:13:25 2016 > ——< The time difference is quite minimal. And a manual „yum update“ confirms that no updates are waiting. Using my favourite search engine I found it might have be caused by an unresponsive of lazy mirror. But I use the standard configuration, i.e. the mirror list just includes the three scientificlinux servers. Other entries refer old bugs long fixed. I tried a yum clean all but it didn’t fix it. And all our other don’t show this issue, but the configuration is all the same, at least according to my knowledge. Obviously, there is no harm done and it can be safely ignored. But it always pulls our issue alert button. Anyone any hint how to fix it? Thanks Peter — Dr. Peter Boy Universität Bremen Mary-Sommerville-Str. 5 28359 Bremen Germany p...@zes.uni-bremen.de www.zes.uni-bremen.de Are you looking for a web content management system for scientific research organizations? Have a look at http://www.scientificcms.org
Re: WG: Black Display Screen Problem Getting Paraview to work
Thanks Chris and Andrew for the suggestions/directions. I now notice fglrx-x11-drv-12.4-1.el6.elrepo.i686.rpm driver does not seem to detect the card. Will consider a proprietary driver I googled (e.g., amd-driver-installer-12-2-x86.x86_64.run) later, when I'm more stable to look at the issue. (Unfortunately, I am not in a position to investigate the display behaviour.) At the same time, I'm inclined to thinking we have a linux software driver problem, as I noticed the machine (fan) was quieter under its Windows 7 partition. Also, the boot time seems faster, after I did the file system repairs under chroot *and* uninstalled the fglrx* driver. Once again, thanks for the assistance. William. From: Chris Schanzle schan...@nist.gov To: William Shu ws...@yahoo.com Sent: Wednesday, November 21, 2012 1:27 AM Subject: Re: WG: Black Display Screen Problem Getting Paraview to work Just an (offline) thought-booting off the cd means you were not using the ati kernel drivers, so I would look into that issue really hard when booting off the kernel on the disk. On 11/20/2012 10:41 AM, William Shu wrote: Peter, Andrew, Thanks for the suggestions. Peter, the machine is an HP ProBook 4720s Laptop that I use as a sort of mobile desktop, and I do not have access to its internals. Besides being the only machine I can work on now, I cannot tinker with its hardware! I've been using for about a year now with no problem. Could it be that something has worn out power supply from the PCI bus? (I often charge my phone via the usb slot.). If so, can one add (or redirect) power externally? Andrew, I tried another monitor--a CRT--at the time but it did not display anything. Since I could not repeat the event, I could only surmise the screen and/or the keyboard (to switch on multi-display) or the USB Hard drive might have been compromised. (a fsck proved the USB HD drive clean!) How does one test the fan of the GPU? Sorry for dumb question. I noticed lately that the fan of the machine goes on for much longer than in times past. Looking back, could briefly using the machine in dusty work environment sometime back have such an adverse effect? (Machine is supposed to be a laptop!) Another issue I don't understand is why the same paraview program, run via chroot under the livedvd (6.0), found the same display okay, but does not find it okay when the system is booted directly! Regards, William. -- *From:* peter.stauff...@boehringer-ingelheim.com peter.stauff...@boehringer-ingelheim.com *To:* ws...@yahoo.com *Sent:* Tuesday, November 20, 2012 2:46 PM *Subject:* WG: Black Display Screen Problem Getting Paraview to work Hi William, some high-end graphics cards (our Nvidia Quadro cards) need additional power, so a special power cable must be connected to the graphics card. With normal low resolution the graphics cards work fine without this cable, but with higher resolution the power from PCI bus ist no longer sufficient and we got a blank screen. Peter Dr. Peter Stauffert Boehringer Ingelheim Pharma GmbH Co. KG *Von:*owner-scientific-linux-us...@listserv.fnal.gov [mailto:owner-scientific-linux-us...@listserv.fnal.gov] *Im Auftrag von *Andrew Z *Gesendet:* Dienstag, 20. November 2012 14:36 *An:* William Shu *Cc:* SCIENTIFIC- LINUX- USERS@ FNAL. GOV *Betreff:* Re: Black Display Screen Problem Getting Paraview to work William Check if fan on your gpu actually works. Try another monitor. I had similar odd behavior a while ago. On Nov 20, 2012 4:45 AM, William Shu ws...@yahoo.com mailto:ws...@yahoo.com wrote: Dear All, I state the basic problem, then give further explanations below. Any help appreciated, especially as I'm just groping! My basic problems are: --- (1) to ascertain the cause of the black screen
Re: WiFi driver broken w/update
Thanks Akemi, Phil, for all the assistance.However, still no success. Regards, William. From: Phil Perry p...@pendre.co.uk To: SCIENTIFIC-LINUX-USERS@listserv.fnal.gov SCIENTIFIC-LINUX-USERS@listserv.fnal.gov Sent: Wednesday, August 22, 2012 8:09 AM Subject: Re: WiFi driver broken w/update On 22/08/12 07:24, Akemi Yagi wrote: Sorry I meant this link: http://lists.elrepo.org/pipermail/elrepo/2012-August/001359.html But expect the updated version of kmod-compat-wireless to be out real soon now. :) Akemi Just released: http://lists.elrepo.org/pipermail/elrepo/2012-August/001390.html For those not familiar with the compat-wireless project, they backport the wireless branch from the latest stable kernel. They actually backport a few other bits and pieces too like a few ethernet drivers and some bluetooth bits, and they are in the process of renaming their project to compat-drivers to better reflect that it's not just wireless but I'm going off topic now :-) Anyway, elrepo packages the compat-wireless project as a kmod for el6.3. The latest version is based on the stable 3.5.1 kernel so backports the complete wireless stack from that kernel. If your wireless device isn't natively supported on SL out of the box then this might be a quick and easy method to see if it's supported by the latest upstream kernel drivers. If anyone has wireless issues on 6.3 and would like to test this then we'd really appreciate the feedback (preferably on the elrepo list). Thanks.
Re: WiFi driver broken w/update
Thank Akemi, and also for the suggestion to start a new thread on such matters. REgards, William. From: Akemi Yagi amy...@gmail.com To: William Shu ws...@yahoo.com Cc: SCIENTIFIC-LINUX-USERS@listserv.fnal.gov SCIENTIFIC-LINUX-USERS@listserv.fnal.gov Sent: Wednesday, August 22, 2012 7:24 AM Subject: Re: WiFi driver broken w/update On Tue, Aug 21, 2012 at 4:56 PM, Akemi Yagi amy...@gmail.com wrote: On Tue, Aug 21, 2012 at 2:25 PM, William Shu ws...@yahoo.com wrote: $ lspci -nn | grep -i net 44:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g LP-PHY [14e4:4727] (rev 01) Your wifi device is different, so it would have been better if you started a new thread. Broadcom BCM4313 [14e4:4727] has been problematic. I refer you to a recent conversation on the ELRepo mailing list that has dealt with getting this device working on EL 6.3. It is a long thread entitled [elrepo] Broken kmod-compat-wireless package: http://lists.elrepo.org/pipermail/elrepo/2012-August/thread.html#1350 You may want to jump to: http://lists.elrepo.org/pipermail/elrepo/2012-August/001375.html Sorry I meant this link: http://lists.elrepo.org/pipermail/elrepo/2012-August/001359.html But expect the updated version of kmod-compat-wireless to be out real soon now. :) Akemi
Re: WiFi driver broken w/update
Hi, I also have a similar problem, but thought it was due my change of location/networks. Reinstalling as per link similar to this: http://elrepo.org/tiki/wl-kmodhighlight=broadcom did not work! My details: $ lspci -nn | grep -i net 44:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g LP-PHY [14e4:4727] (rev 01) 45:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 03) $ Thanks, William. From: Akemi Yagi amy...@gmail.com To: Scott Gates msga...@gmail.com Cc: SCIENTIFIC-LINUX-USERS@listserv.fnal.gov Sent: Tuesday, August 21, 2012 8:25 PM Subject: Re: WiFi driver broken w/update On Tue, Aug 21, 2012 at 12:15 PM, Scott Gates msga...@gmail.com wrote: The last kernel update appears to have broken my WiFi driver. Wired networking still works. Anybody have a link to a working driver? SL 2.6.32-279.1.1.EL6.i686 won't connect to wifi, but prev versions like SL 2.6.32-2201.1.EL6.i686 works. Well, we cannot help you unless you provide useful information about your wifi device. :-) Please post the output returned by: lspci -nn | grep -i net Akemi
Re: digital signatures for SHASUMS, where?
Dear Horvath, I suppose you mean values for Scientific Linux iso's? They are found in the relevant iso directories. For example: http://ftp1.scientificlinux.org/linux/scientific/6.1/i386/iso/SHA1SUM http://ftp1.scientificlinux.org/linux/scientific/6.1/x86_64/iso/SHA1SUM William. From: Horvath Andras m...@log69.com To: scientific-linux-us...@fnal.gov Sent: Tuesday, February 28, 2012 8:39 AM Subject: digital signatures for SHASUMS, where? Dear List, Could anyone kindly tell me where I can find any digital signatures that belong to the SHA1SUM or other hashes of the downloadable .iso files (installer and live ISO)? Since the ISO files have to be downloaded through an unencrypted FTP or HTTP connection along with their hash files, both could easily be manipulated and changed on the way to the user's machine. What am I missing here? Thanks!
Re: momentarily disabling synaptic touchpad
Vladimir, Thanks for the assistance. Just to give feedback on state of things now since, for now, I have to settle for a suboptimal solution -- option (C) below, toggling touchpad on/off using xinput -- so as to get on with other things. Ideally, getting synclient to work predictably (A) would enable me control other things, such as the sensitivity/pressure on the touchpad. A) using synclient and syndaemon (partial success). syndaemon works all the time, but synclient only works *sometimes*. However, I'm not sure what I did, as my activities (below) don't seem repeatable/reproducible. My guess is they are being controlled/overidden from two or more independent sources. First, I reversed the order of lines in *.fdi file, though I'm not convinced that matters, to: merge key=input.x11_driver type=stringsynaptics/merge merge key=input.x11_options.SHMConfig type=stringtrue/merge and then restarted the hal daemon. Then, I went to system - preferences - mouse - touchpad and unchecked Disable touchpad when typing; Enable mouse clicks with touchpad was checked. I tried the following to switch touchpad, and tapping (for clicks) on and off. They worked as expected: [wss@localhost synaptics]$ synclient TapButton1=1 TapButton3=3 TapButton3=2 [wss@localhost synaptics]$ synclient TouchpadOff=1 [wss@localhost synaptics]$ synclient TouchpadOff=0 [wss@localhost synaptics]$ synclient TapButton1=0 TapButton3=0 TapButton3=0 [wss@localhost synaptics]$ [wss@localhost synaptics]$ synclient TapButton1=1 TapButton3=3 TapButton3=2 [wss@localhost synaptics]$ synclient TouchpadOff=0 [wss@localhost synaptics]$ synclient TouchpadOff=1 Assuming that gnome was interfering, I tried the exercise again, but could not get synclient to work! I also noticed that the option SHMConfig may be deprecated, as this man page excerpt [from synaptics(4)] suggests: Option SHMConfig boolean Switch on/off shared memory for run-time debugging. This option does not have an effect on run-time configuration anymore and is only useful for hardware event debugging. B) gnome desktop manipulation (unsuccessful). The script for gnome could not work. complained of not finding /desktop/gnome/ find could not trace it (rooted elsewhere) and so I abandon the approach. C) toggling touchpad on/off using xinput (successful). I've used the shellscript you proposed using xinput. It works well. I attached it to the key Alt-T using system - preferences - keyboard shortcuts. Once more, thanks for the assistance. Regards, William. From: Vladimir Mosgalin mosga...@vm10124.spb.edu To: scientific-linux-us...@fnal.gov Sent: Tuesday, September 20, 2011 10:03 PM Subject: Re: momentarily disabling synaptic touchpad Hi William Shu! On 2011.09.20 at 13:24:20 -0700, William Shu wrote next: Vladimir, Thank you so much for the suggestion. I followed the instructions on the web page. For a moment it seems it will not work, then the touchpad was actually disabled, but I have no clue what I did. Then, of its own, the pad was activated after a few hours. I have rebooted the system as well as give the command as root but no success. The output of synclient is given below.o Did you create .fdi file and enabled configuring with synclient in it? Because otherwise only options from .fdi file are going to work, you have to enable synclient run-time configuring with separate option. The other command you gave seems to have an error! Not clear if part of a shell script, but the characters -- ,0,*) -- after the last seem redundant.: syndaemon -i 1 -d -K xinput set-int-prop \SynPS/2 Synaptics TouchPad\ \Synaptics Two-Finger Pressure\ 32 10 ,0,*) ignoring them and unquoting the 's removed the errors, but seemed to have no effect! Yes, sorry. quotes were unneeded. Here is alternate version of second command, anyhow, to enable two-finger tap, if you need middle button on touchpad xinput --set-prop --type=int --format=32 SynPS/2 Synaptics TouchPad Synaptics Two-Finger Pressure 10 First one (syndaemon command) disables touchpad *temporarily* when you are typing only; that's merely one of the options, as most people just don't want touchpad to interfere with typing. Value after -i is in seconds for how long touchpad will stay disabled after keypress. Maybe you saw effect of that when thinking that touchpad was disabled permanently? I believe both syndaemon and synclient will work only when run-time configuration is enabled in .fdi (after which you might need to reboot or restart hal, as you can't detach and re-attach touchpad). If you want to disable touchpad permanently, you can also use xinput, like xinput --set-prop --type=int SynPS/2 Synaptics TouchPad Device Enabled 8 0 By the way, if finding device by text string in xinput not working for you, you can call xinput list to find device id of your
Re: momentarily disabling synaptic touchpad
- Original Message - From: Vladimir Mosgalin mosga...@vm10124.spb.edu To: scientific-linux-us...@fnal.gov Cc: Sent: Wednesday, September 21, 2011 1:35 PM Subject: Re: momentarily disabling synaptic touchpad Hi William Shu! On 2011.09.21 at 03:48:40 -0700, William Shu wrote next: A) using synclient and syndaemon (partial success). syndaemon works all the time, but synclient only works *sometimes*. However, I'm not sure what I did, as my activities (below) don't seem repeatable/reproducible. My guess is they are being controlled/overidden from two or more independent sources. First, I reversed the order of lines in *.fdi file, though I'm not convinced that matters, to: merge key=input.x11_driver type=stringsynaptics/merge merge key=input.x11_options.SHMConfig type=stringtrue/merge Did you try on, btw? I believe true might be deprecated. Yes, it was On before I changed to true. it does not seem to matter though. I still get intermittent responses. Unfortunately, I can't assist you on gnome interfering issues.. these are hard to debug and deal with. Can give another idea, though - there is alternative way to turning touchpad off while typing with syndaemon - it's to make it ignore palm touch, the synclient setting for that is described here https://wiki.archlinux.org/index.php/Synaptics#Disable_Trackpad_while_Typing (sadly, most of this article contents is for Xorg 8 w/udev, so it won't work with SL6 which uses Xorg 7.4 w/hal) I have just tried set PalmDetect=1, but no visible change (yet): $ synclient PalmDetect=1 but I may just be in one of the non-responsive phase of the system! B) gnome desktop manipulation (unsuccessful). The script for gnome could not work. complained of not finding /desktop/gnome/ find could not trace it (rooted elsewhere) and so I abandon the approach. There won't be such file - it's gconf key (you can browse around with gconf-editor after installing corresponding package, for example). But if there is no such key, probably touchpad manipulation from isn't supported on SL6.. (this key exists on Fedora system, for example). it seems the key needs a physical directory somewhere, even if it is not literally stored there as a file or subdirectory, as the following shows: I've traced the directory root to be ~/.gconf, viz: /home/wss/.gconf/desktop/gnome/peripherals/touchpad/ but meet handicap that gconftool-2 --set ... does not want subdirectories starting with a period (e.g., .gconf), and the file touchpad_enabled does NOT exist in it (since it's a key?). having a soft link via: $ ln -s /home/wss/.gconf tmpgconf solved the first problem. Repeated running of the script made the second problem go away. The transcript follows (script in file gnome-touchpadtoggle): [wss@localhost synaptics]$ ./gnome-touchpadtoggle Failed to get value for `/home/wss/.gconf/desktop/gnome/peripherals/touchpad/touchpad_enabled': Bad key or directory name: /home/wss/.gconf/desktop/gnome/peripherals/touchpad/touchpad_enabled: Can't have a period '.' right after a slash '/' Error setting value: Bad key or directory name: /home/wss/.gconf/desktop/gnome/peripherals/touchpad/touchpad_enabled: Can't have a period '.' right after a slash '/' [wss@localhost synaptics]$ [wss@localhost synaptics]$ ./gnome-touchpadtoggle No value set for `/home/wss/tmpgconf/desktop/gnome/peripherals/touchpad/touchpad_enabled'$(gconftool-2 --get /desktop/gnome/peripherals/touchpad/touchpad_enabled) [wss@localhost synaptics]$ $(gconftool-2 --get /desktop/gnome/peripherals/touchpad/touchpad_enabled) [wss@localhost synaptics]$ $(gconftool-2 --get /desktop/gnome/peripherals/touchpad/touchpad_enabled) [wss@localhost synaptics]$ echo $(gconftool-2 --get /desktop/gnome/peripherals/touchpad/touchpad_enabled) true [wss@localhost synaptics]$ gconftool-2 --set /desktop/gnome/peripherals/touchpad/touchpad_enabled --type boolean false [wss@localhost synaptics]$ echo $(gconftool-2 --get /desktop/gnome/peripherals/touchpad/touchpad_enabled) false [wss@localhost synaptics]$ ./gnome-touchpadtoggle [wss@localhost synaptics]$ ./gnome-touchpadtoggle Once more, thanks for the assistance. No problem, I'm glad at least some solution worked :) -- Vladimir
Re: momentarily disabling synaptic touchpad
Hi Todd, Thanks for the hint with awk. I also finally figured out why sed was not working: besides confusion with the specific types of regular expression to use, the erratic touchpad made me miss an escape (\) character just before the + sign. Thus, one should have had: ... |sed -ne 's/.*id=\([0-9]\+\).*/\1/p'` Regards, William. From: Todd And Margo Chester toddandma...@gmail.com To: scientific-linux-us...@fnal.gov scientific-linux-us...@fnal.gov Sent: Wednesday, September 21, 2011 7:31 PM Subject: Re: momentarily disabling synaptic touchpad On 09/20/2011 01:47 PM, William Shu wrote: Thanks Todd, The script works when I manually give the value for $DeviceID. There are some trailing characters beyond the device ID that make the system to complain. The external mouse can't seem to handle click/select and copy (I think the mouse has probs, and I'm still to get another model and use.) my awk is too rusty to figure how to output only the number after id=. Trying to use sed as in, e.g., $ echo -n dkdksl id=13 dkdsl | sed -ne 's/.*id=\([0-9]+\).*/\1/p' does not extract the id (13, here). (I hope I'm not slowly messing up the system!)] Hi William, SED is a nightmare at times. Do two AWKs. I drop the echo -n in the example. $ echo dkdksl id=13 dkdsl | awk -F id= '{print $2}' | awk '{print $1}' 13 -T While I would like to see your version work, the solution proposed by Vladimir would meet my needs better when it works! William. From: Todd And Margo Chester toddandma...@gmail.com To: scientific-linux-us...@fnal.gov scientific-linux-us...@fnal.gov Sent: Tuesday, September 20, 2011 2:55 AM Subject: Re: momentarily disabling synaptic touchpad On 09/19/2011 04:28 PM, William Shu wrote: Hi, I have SL 6.0 installed on a Seagate FreeAgent GoFlex USB drive, which I use on various laptops (and desktops). The touchpad is so sensitive on some machines and I would like to disable it. At the same time, the attached mouse seems to be selectively responsive, notably its left button. Looking through the docs etc, a synaptics input driver has been installed, but the corresponding xorg.conf file is not in place for me to modify. (From a separate thread on nVidia, creating this file is NOT automatic in SL 6.) Hi William, This is probably not exactly what you wanted. But, anyway... I have a sweet little old lady (70+) on FC15 that the slide pad drives her crazy. She is constantly putting her had down on it when she types. She prefers to use her USB attached mouse. So I wrote the following script for her. I don't remember where I put it though. Maybe her rc.local. HTH, -T #!/bin/bash #Disable the [annoying] Slide Pad mouse #DeviceStr=`xinput list | grep -i touchpad | awk '{print $6}'` #DeviceID=`echo $DeviceStr | sed -e 's/id=//'` DeviceID=`xinput list | grep -i touchpad | awk -F id= '{print $2}'` if [ -z $DeviceID ]; then echo DeviceID failed to resolve. There is something wrong. echo Cowardly exiting. Bummer, dude ... echo exit 1 fi xinput set-prop $DeviceID Device Enabled 0 echo touchpad mouse on device id $DeviceID has been disabled echo
Re: momentarily disabling synaptic touchpad
PalmDetect = 0 PalmMinWidth = 10 PalmMinZ = 199 CoastingSpeed = 0 PressureMotionMinZ = 29 PressureMotionMaxZ = 159 PressureMotionMinFactor = 1 PressureMotionMaxFactor = 1 GrabEventDevice = 1 TapAndDragGesture = 1 AreaLeftEdge = 0 AreaRightEdge = 0 AreaTopEdge = 0 AreaBottomEdge = 0 [wss@localhost ~]$ From: Vladimir Mosgalin mosga...@vm10124.spb.edu To: scientific-linux-us...@fnal.gov Sent: Tuesday, September 20, 2011 1:16 AM Subject: Re: momentarily disabling synaptic touchpad Hi William Shu! On 2011.09.19 at 16:28:32 -0700, William Shu wrote next: I have SL 6.0 installed on a Seagate FreeAgent GoFlex USB drive, which I use on various laptops (and desktops). The touchpad is so sensitive on some machines and I would like to disable it. At the same time, the attached mouse seems to be selectively responsive, notably its left button. Looking through the docs etc,a synaptics input driver has been installed, but the corresponding xorg.conf file is not in place for me to modify. (From a separate thread on nVidia, creating this file is NOT automatic in SL 6.) Question 1: If I create the xorg.conf file, would that later create problems for me when I switch to other machines--legacy or recent? I would not want some of the clashes (no/incorrect video, etc.) I experienced with SL 52 on USB sticks. It will create problems if you switch configuration if you create full-fledged xorg.conf; for example video card ID on PCI bus creates problem, and video card driver. However good thing is, you don't have to create xorg.conf; modern xorg supports small snippets of config files in which you can tweak only some part of config, and letting everything else to be autoconfigured. Sadly, this doesn't work for some stuff like video (if you have to set gamma, you have to put all sections like video card - display - etc), but it works perfectly for input devices. So, it's best to be without xorg.conf at all, if your system can handle it (if you install nvidia binary drivers, you probably must have that file :( ) Here lies the trouble, however, as SL6 uses Xorg 7.4 which doesn't support udev-based configuration (it appeared in Xorg 8 and higher) or config snippets from /etc/X11/xorg.conf.d; it uses older method of hal-based configuration with config snippets from .fdi files. Check out this page, here you can find exact solution which should work in SL6.0: http://en.gentoo-wiki.com/wiki/Synaptics_Touchpad/Xorg_7.3 (of course, skip kernel X11 compiling part :) So, just create .fdi and customize it with options from manpage to your liking, you can enable synclient real-time configuration, too. You won't have to touch anything else or xorg.conf and this file won't interfere with systems that don't have touchpads at all. This should answer your second question, too. Question 3: Can the touchpad sometimes interfere with the use of the mouse? If so, how to minimize interference. the [replacement] mouse I use may not be the right quality? Seems unlikely, I'd suspect faulty mouse, but can never be sure.. Still, never heard or experienced any kind of interference between mouse, touchpad and touchscreen - they all seem to work in any combination. -- Vladimir
Re: momentarily disabling synaptic touchpad
Thanks Todd, The script works when I manually give the value for $DeviceID. There are some trailing characters beyond the device ID that make the system to complain. The external mouse can't seem to handle click/select and copy (I think the mouse has probs, and I'm still to get another model and use.) my awk is too rusty to figure how to output only the number after id=. Trying to use sed as in, e.g., $ echo -n dkdksl id=13 dkdsl | sed -ne 's/.*id=\([0-9]+\).*/\1/p' does not extract the id (13, here). (I hope I'm not slowly messing up the system!) While I would like to see your version work, the solution proposed by Vladimir would meet my needs better when it works! William. From: Todd And Margo Chester toddandma...@gmail.com To: scientific-linux-us...@fnal.gov scientific-linux-us...@fnal.gov Sent: Tuesday, September 20, 2011 2:55 AM Subject: Re: momentarily disabling synaptic touchpad On 09/19/2011 04:28 PM, William Shu wrote: Hi, I have SL 6.0 installed on a Seagate FreeAgent GoFlex USB drive, which I use on various laptops (and desktops). The touchpad is so sensitive on some machines and I would like to disable it. At the same time, the attached mouse seems to be selectively responsive, notably its left button. Looking through the docs etc, a synaptics input driver has been installed, but the corresponding xorg.conf file is not in place for me to modify. (From a separate thread on nVidia, creating this file is NOT automatic in SL 6.) Hi William, This is probably not exactly what you wanted. But, anyway... I have a sweet little old lady (70+) on FC15 that the slide pad drives her crazy. She is constantly putting her had down on it when she types. She prefers to use her USB attached mouse. So I wrote the following script for her. I don't remember where I put it though. Maybe her rc.local. HTH, -T #!/bin/bash #Disable the [annoying] Slide Pad mouse #DeviceStr=`xinput list | grep -i touchpad | awk '{print $6}'` #DeviceID=`echo $DeviceStr | sed -e 's/id=//'` DeviceID=`xinput list | grep -i touchpad | awk -F id= '{print $2}'` if [ -z $DeviceID ]; then echo DeviceID failed to resolve. There is something wrong. echo Cowardly exiting. Bummer, dude ... echo exit 1 fi xinput set-prop $DeviceID Device Enabled 0 echo touchpad mouse on device id $DeviceID has been disabled echo
Re: momentarily disabling synaptic touchpad
Yes, I did create the fdi file, see below. (I also copied the file from /usr/share/hal/policy/99-synaptics.fdi to /usr/share/hal/policy/20thirdparty/99-ssynaptics.fdi and renamed originals to *.save) Your inititial solution seems the best . Dumb question: how is it enabled for synclient? William. ---[ file: /usr/share/hal/policy/20thirdparty/99-synaptics.fdi ]--- ?xml version=1.0 encoding=ISO-8859-1? !-- DO NOT EDIT THIS FILE IN PLACE. This file will be overwritten with the next update. If you need to add custom options, copy the file into /etc/hal/fdi/policy/ first. MODIFIED FILE: Added the *SHMConfig* line, for shared memory, so that touchpad properties can be tweaked (in real-time) using synclient OR syndaemon used to disable touchpad on keyboard activity. See https://fedoraproject.org/wiki/Input_device_configuration -- deviceinfo version=0.2 device match key=info.capabilities contains=input.touchpad !-- To add custom options for the touchpad, modify the examples below to suit your needs. The available options are listed in the synaptics man page. After modifyfing this file, you must restart HAL. Check the output of lshal whether your modifications have been merged successfully. Note: Options must always be type string. The following examples enable left, right, middle clicks on single, double, triple finger tapping, respectively. merge key=input.x11_options.TapButton1 type=string1/merge merge key=input.x11_options.TapButton2 type=string3/merge merge key=input.x11_options.TapButton3 type=string2/merge -- merge key=input.x11_options.SHMConfig type=stringOn/merge merge key=input.x11_driver type=stringsynaptics/merge /match /device /deviceinfo From: Vladimir Mosgalin mosga...@vm10124.spb.edu To: scientific-linux-us...@fnal.gov Sent: Tuesday, September 20, 2011 10:03 PM Subject: Re: momentarily disabling synaptic touchpad Hi William Shu! On 2011.09.20 at 13:24:20 -0700, William Shu wrote next: Vladimir, Thank you so much for the suggestion. I followed the instructions on the web page. For a moment it seems it will not work, then the touchpad was actually disabled, but I have no clue what I did. Then, of its own, the pad was activated after a few hours. I have rebooted the system as well as give the command as root but no success. The output of synclient is given below.o Did you create .fdi file and enabled configuring with synclient in it? Because otherwise only options from .fdi file are going to work, you have to enable synclient run-time configuring with separate option. The other command you gave seems to have an error! Not clear if part of a shell script, but the characters -- ,0,*) -- after the last seem redundant.: syndaemon -i 1 -d -K xinput set-int-prop \SynPS/2 Synaptics TouchPad\ \Synaptics Two-Finger Pressure\ 32 10 ,0,*) ignoring them and unquoting the 's removed the errors, but seemed to have no effect! Yes, sorry. quotes were unneeded. Here is alternate version of second command, anyhow, to enable two-finger tap, if you need middle button on touchpad xinput --set-prop --type=int --format=32 SynPS/2 Synaptics TouchPad Synaptics Two-Finger Pressure 10 First one (syndaemon command) disables touchpad *temporarily* when you are typing only; that's merely one of the options, as most people just don't want touchpad to interfere with typing. Value after -i is in seconds for how long touchpad will stay disabled after keypress. Maybe you saw effect of that when thinking that touchpad was disabled permanently? I believe both syndaemon and synclient will work only when run-time configuration is enabled in .fdi (after which you might need to reboot or restart hal, as you can't detach and re-attach touchpad). If you want to disable touchpad permanently, you can also use xinput, like xinput --set-prop --type=int SynPS/2 Synaptics TouchPad Device Enabled 8 0 By the way, if finding device by text string in xinput not working for you, you can call xinput list to find device id of your touchpad and then use it instead. In case you absolutely can't get synclient syndaemon working for you, just stick with xinput, they should work regardless of .fdi settings, I believe. More examples of xinput are here https://wiki.ubuntu.com/X/Config/Input Here is automated script to turn touchpad on off. Customize to your liking and then bind its execution to some key. Script isn't mine, I'm merely copypasting it: #!/bin/sh # get touchpad id XINPUTNUM=`xinput list | grep 'SynPS/2 Synaptics TouchPad' | sed -n -e's/.*id=\([0-9]\+\).*/\1/p'` # get the current state of the touchpad TPSTATUS=`xinput list-props $XINPUTNUM | awk '/Device Enabled/ { print $NF }'` # if getting the status failed, exit test -z $TPSTATUS
Re: Farewell from Troy
Congratulations Troy! It feels like Scientific Linux has a major configuration shift triggered! ;) Many thanks for all your assistance over the years. All the best in your new job. William. From: Troy Dawson daw...@fnal.gov To: scientific-linux-us...@fnal.gov scientific-linux-us...@fnal.gov; scientific-linux-de...@fnal.gov scientific-linux-de...@fnal.gov Sent: Wednesday, August 24, 2011 7:40 PM Subject: Farewell from Troy Hi, I have loved all the years that I have been a developer and architect for Scientific Linux, but it is time for me to move on. I have accepted a job offer from Red Hat to work on their new openshift project. ( https://www.redhat.com/openshift/ ) My last day working for Fermilab, and on the Scientific Linux project will be September 2, 2011. Thank you to everyone who has encouraged, thanked, and helped me over the past 8 years that I have worked on Scientific Linux. I have said it before, and I'll say it now, The Scientific Linux community is one of the best communities there is. Troy -- __ Troy Dawson daw...@fnal.gov (630)840-6468 Fermilab ComputingDivision/SCF/FEF/SLSMS Group __
Re: Persistent Data in SL LiveDVD on USB
Many Many thanks Urs, Will surely follow your suggestions, once I have a window. I believe persistence will work smoothly now! Regards, William. --- On Thu, 3/17/11, Urs Beyerle urs.beye...@env.ethz.ch wrote: From: Urs Beyerle urs.beye...@env.ethz.ch Subject: Re: Persistent Data in SL LiveDVD on USB To: William Shu ws...@yahoo.com Cc: scientific-linux-us...@fnal.gov Date: Thursday, March 17, 2011, 11:38 PM Hi William, You have definitely no overlay file with the name overlay--4C04-9372 in /LiveOS folder on your USB stick. So overlay will not work. [root@livecd sluser]# dir /overlayfs/LiveOS/ home.img osmin.img squashfs.img It's hard to say why this happened. However, it should be possible to create the overlay file just manually. Change to the /LiveOS on your USB stick and run dd if=/dev/zero of=overlay--4C04-9372 count=1024 bs=1M This will create a 1024 MB file (/LiveOS/overlay--4C04-9372) filled with zeros. If you now boot your USB stick the file /LiveOS/overlay--4C04-9372 should be found and take to store the persistence changes. Please note that the overlay file should not be used completely: http://www.livecd.ethz.ch/usbdisk.html#limits In worst case you can just remove it again and start with a new and empty one. Cheers, Urs On 03/17/2011 08:56 PM, William Shu wrote: Dear Urs, What I obtained is below. Unfortunately, a bit mobile now, I have only the USB stick to work on SL6 and so cannot un-install it as such; but I had no complaints! I recall when installing SL6 on the USB that I had warning about its label (made up of some control-character sequence, starting, I think, with ^17). Since installation was complete, and in prior attempts the label was changed, I did not think it was a problem. Now, I'm not so sure! Regards, William. [sluser@livecd ~]$ su [root@livecd sluser]# dir /LiveOS/overlay--4C04-9372 dir: cannot access /LiveOS/overlay--4C04-9372: No such file or directory [root@livecd sluser]# dir /LiveOS/overlay--4C04-9372 [root@livecd sluser]# find / -iname *4C04-9372* -print /dev/disk/by-uuid/4C04-9372 /dev/.udev/links/disk\x2fby-uuid\x2f4C04-9372 [root@livecd sluser]# mkdir /overlayfs [root@livecd sluser]# mount -n -t auto UUID=4C04-9372 /overlayfs [root@livecd sluser]# [ -f /overlayfs/LiveOS/overlay--4C04-9372 -a -w /overlayfs/LiveOS/overlay--4C04-9372 ] echo ok [root@livecd sluser]# dir /overlayfs/ boot/ EFI/ LiveOS/ syslinux/ [root@livecd sluser]# dir /overlayfs/LiveOS/ home.img osmin.img squashfs.img [root@livecd sluser]# William --- On Thu, 3/17/11, Urs Beyerle urs.beye...@env.ethz.ch wrote: From: Urs Beyerle urs.beye...@env.ethz.ch Subject: Re: Persistent Data in SL LiveDVD on USB To: William Shu ws...@yahoo.com Cc: scientific-linux-us...@fnal.gov Date: Thursday, March 17, 2011, 10:00 AM Hi William On 03/17/2011 06:15 AM, William Shu wrote: Thank you very much Urs. Below are the requested outputs: (A) for losetup; and (B) for dracut. It seems the overlay is not being found! On a related matter, you say livecd-tools and liveusb-creator are part of the live iso's, but I had to yum install them before I could use them in making the USB! Thanks for the debug info. You are right. liveusb-creator is not part of Live iso's. But livecd-tools and therefore livecd-iso-to-disk should be installed. However, doing yum update livecd-tools is always a good idea. Yes, the overlay is not found in your case: dracut: + mkdir /overlayfs dracut: + mount -n -t auto UUID=4C04-9372 /overlayfs dracut: + [ -f /overlayfs/LiveOS/overlay--4C04-9372 -a -w /overlayfs/LiveOS/overlay--4C04-9372 ] dracut: + umount -l /overlayfs dracut: + [ -z ] dracut: + [ -n UUID=4C04-9372 -a -n /LiveOS/overlay--4C04-9372 ] dracut: + warn Unable to find persistent overlay; using temporary Can you quickly check, if the overlay file is on your Live USB drive and if it is writable (w)? In your case the overlay file should be /LiveOS/overlay--4C04-9372 You might want to reproduce the mounting of your USB stick (as done be dracut) on a SL6 system. Plugin the stick. If it gets auto-mounted, un-mount it. As root try mkdir /overlayfs mount -n -t auto UUID=4C04-9372 /overlayfs [ -f /overlayfs/LiveOS/overlay--4C04-9372 -a -w /overlayfs/LiveOS/overlay--4C04-9372 ] echo ok Cheers, Urs
Re: install the full SL6, SL5.5 OS's and GRUB on external USB hard drive
Troy, Konstantin, Thank you very much for your quick reply and valuable information. As suggested, I hope to use extlinux for grub, and sl5.6 for sl5.5. However, I'm currently very mobile (for the next week or so) but will give feedback once I try out the suggestions. Kind Regards, William. --- On Wed, 3/16/11, Konstantin Olchanski olcha...@triumf.ca wrote: From: Konstantin Olchanski olcha...@triumf.ca Subject: Re: install the full SL6, SL5.5 OS's and GRUB on external USB hard drive To: Troy Dawson daw...@fnal.gov Cc: William Shu ws...@yahoo.com, scientific-linux-us...@fnal.gov scientific-linux-us...@fnal.gov Date: Wednesday, March 16, 2011, 5:12 PM On Wed, Mar 16, 2011 at 09:45:13AM -0500, Troy Dawson wrote: I have a full distro on a USB stick. It's currently Fedora 13 instead of SL6, but the procedure is the exact same. Do a normal install with the USB hard drive plugged in and selected as the main hard drive, and with all your partitions on it. The only thing you have to be careful of is where grub is put, and what order grub thinks the drives are. In my experience, trying to USB-boot Linux using SL5 GRUB is futile. GRUB gets hopelessly confused by the ordering of BIOS hard drives - which seems to change between cold and warm reboots. BTW, on the machines where I looked into it, one cannot select USB hard drive as the main hard drive on a permanent basis - if you ever boot the machine with the USB drive accidentally unplugged or powered down, I see BIOS settings reverting back to whatever crazy random order you use and GRUB will fail to boot until you go back to the BIOS setup screen and change the settings. The best I can tell, the root of the problem is with GRUB insisting on booting from disk 0 (or whatever number is specified in grub.conf) instead of continuing to use the boot disk selected by the BIOS (as SYSLINUX/EXTLINUX seems to do). This strategy of booting from BIOS disk number selected in some config file may have worked well in the days of hardwired primary master IDE disks and mostly continues to function with hardwired SATA disks (i.e. fails on ASUS A8N-E mobos where ordering of SATA ports by BIOS and Linux is not the same), but completely makes no sense with dynamically assigned USB disks (if I have 2 USB disks, which one is disk 0? Yes, it is in the USB enumeration order, so it is deterinistic, but if I plug in a 3rd USB disk, USB enumeration order may change and GRUB will not boot). Anyhow, according to http://www.gnu.org/software/grub/ GRUB has been abandoned, so why are we still using it?!? In contrast, SYSLINUX/EXTLINUX/PXELINUX is still in active development. (Yes, there is GRUB-2, if you can find it, but SL5 is not using it). K.O. http://www.scientificlinux.org/distributions/6x/installing/boot.loader.configuration.html On SL6, be sure to select Change device and make sure your USB drive is marked as the First BIOS drive. Then make sure it's set to install the boot loader on the MBR of our USB hard drive. http://www.scientificlinux.org/distributions/6x/installing/large/boot.loader.5.png -- Konstantin Olchanski Data Acquisition Systems: The Bytes Must Flow! Email: olchansk-at-triumf-dot-ca Snail mail: 4004 Wesbrook Mall, TRIUMF, Vancouver, B.C., V6T 2A3, Canada
Re: Persistent Data in SL LiveDVD on USB
Dear Urs, What I obtained is below. Unfortunately, a bit mobile now, I have only the USB stick to work on SL6 and so cannot un-install it as such; but I had no complaints! I recall when installing SL6 on the USB that I had warning about its label (made up of some control-character sequence, starting, I think, with ^17). Since installation was complete, and in prior attempts the label was changed, I did not think it was a problem. Now, I'm not so sure! Regards, William. [sluser@livecd ~]$ su [root@livecd sluser]# dir /LiveOS/overlay--4C04-9372 dir: cannot access /LiveOS/overlay--4C04-9372: No such file or directory [root@livecd sluser]# dir /LiveOS/overlay--4C04-9372 [root@livecd sluser]# find / -iname *4C04-9372* -print /dev/disk/by-uuid/4C04-9372 /dev/.udev/links/disk\x2fby-uuid\x2f4C04-9372 [root@livecd sluser]# mkdir /overlayfs [root@livecd sluser]# mount -n -t auto UUID=4C04-9372 /overlayfs [root@livecd sluser]# [ -f /overlayfs/LiveOS/overlay--4C04-9372 -a -w /overlayfs/LiveOS/overlay--4C04-9372 ] echo ok [root@livecd sluser]# dir /overlayfs/ boot/ EFI/ LiveOS/ syslinux/ [root@livecd sluser]# dir /overlayfs/LiveOS/ home.img osmin.img squashfs.img [root@livecd sluser]# William --- On Thu, 3/17/11, Urs Beyerle urs.beye...@env.ethz.ch wrote: From: Urs Beyerle urs.beye...@env.ethz.ch Subject: Re: Persistent Data in SL LiveDVD on USB To: William Shu ws...@yahoo.com Cc: scientific-linux-us...@fnal.gov Date: Thursday, March 17, 2011, 10:00 AM Hi William On 03/17/2011 06:15 AM, William Shu wrote: Thank you very much Urs. Below are the requested outputs: (A) for losetup; and (B) for dracut. It seems the overlay is not being found! On a related matter, you say livecd-tools and liveusb-creator are part of the live iso's, but I had to yum install them before I could use them in making the USB! Thanks for the debug info. You are right. liveusb-creator is not part of Live iso's. But livecd-tools and therefore livecd-iso-to-disk should be installed. However, doing yum update livecd-tools is always a good idea. Yes, the overlay is not found in your case: dracut: + mkdir /overlayfs dracut: + mount -n -t auto UUID=4C04-9372 /overlayfs dracut: + [ -f /overlayfs/LiveOS/overlay--4C04-9372 -a -w /overlayfs/LiveOS/overlay--4C04-9372 ] dracut: + umount -l /overlayfs dracut: + [ -z ] dracut: + [ -n UUID=4C04-9372 -a -n /LiveOS/overlay--4C04-9372 ] dracut: + warn Unable to find persistent overlay; using temporary Can you quickly check, if the overlay file is on your Live USB drive and if it is writable (w)? In your case the overlay file should be /LiveOS/overlay--4C04-9372 You might want to reproduce the mounting of your USB stick (as done be dracut) on a SL6 system. Plugin the stick. If it gets auto-mounted, un-mount it. As root try mkdir /overlayfs mount -n -t auto UUID=4C04-9372 /overlayfs [ -f /overlayfs/LiveOS/overlay--4C04-9372 -a -w /overlayfs/LiveOS/overlay--4C04-9372 ] echo ok Cheers, Urs
Re: Persistent Data in SL LiveDVD on USB
] dracut: + echo 6dracut: Loading SELinux policy dracut: + [ yes != yes ] dracut: + [ -x /sysroot/sbin/load_policy ] dracut: + chroot /sysroot /sbin/load_policy -i dracut: + out= dracut: + ret=0 dracut: + info dracut: + check_quiet dracut: + [ -z yes ] dracut: dracut: + echo 6dracut: dracut: + [ yes != yes ] dracut: + [ enforcing = disabled ] dracut: + [ 0 -eq 0 -o 0 -eq 2 ] dracut: + [ -e /sysroot/.autorelabel ] dracut: + mount --bind /dev /sysroot/dev dracut: + chroot /sysroot /sbin/restorecon -R /dev dracut: + return 0 dracut: + [ -e /pre-pivot/90plymouth-newroot.sh ] dracut: + . /pre-pivot/90plymouth-newroot.sh dracut: + [ -x /bin/plymouth ] dracut: + /bin/plymouth --newroot=/sysroot dracut: + getarg init= dracut: + set +x dracut: + return 1 dracut: + [ -f /sysroot -a -x /sysroot ] dracut: + [ -f /sysroot/sbin/init -a -x /sysroot/sbin/init ] dracut: + INIT=/sbin/init dracut: + break dracut: + [ /sbin/init ] dracut: + getarg rdbreak dracut: + set +x dracut: + return 1 dracut: + udevadm control --stop-exec-queue dracut: + HARD= dracut: + pidof udevd dracut: + pidof udevd dracut: + kill 622 dracut: + kill 317 dracut: + kill 316 dracut: + kill 91 dracut: + HARD=-9 dracut: + pidof udevd dracut: + pidof udevd dracut: + kill -9 622 dracut: + kill -9 317 dracut: + kill -9 316 dracut: + kill -9 91 dracut: + HARD=-9 dracut: + pidof udevd dracut: + pidof udevd dracut: + kill -9 622 dracut: + kill -9 317 dracut: + kill -9 316 dracut: + kill -9 91 dracut: + HARD=-9 dracut: + pidof udevd dracut: + export -p dracut: + i=export dracut: + i= dracut: + i= dracut: + [ = root -o = PATH -o = HOME -o = TERM ] dracut: + unset dracut: + i=BOOT_IMAGE='vmlinuz0' dracut: + i=BOOT_IMAGE='vmlinuz0' dracut: + i=BOOT_IMAGE dracut: + [ BOOT_IMAGE = root -o BOOT_IMAGE = PATH -o BOOT_IMAGE = HOME -o BOOT_IMAGE = TERM ] dracut: + unset BOOT_IMAGE dracut: + i=export dracut: + i= dracut: + i= dracut: + [ = root -o = PATH -o = HOME -o = TERM ] dracut: + unset dracut: + i=HOME='/' dracut: + i=HOME='/' dracut: + i=HOME dracut: + [ HOME = root -o HOME = PATH -o HOME = HOME -o HOME = TERM ] dracut: + i=export dracut: + i= dracut: + i= dracut: + [ = root -o = PATH -o = HOME -o = TERM ] dracut: + unset dracut: + i=LANG='en_US.utf8' dracut: + i=LANG='en_US.utf8' dracut: + i=LANG dracut: + [ LANG = root -o LANG = PATH -o LANG = HOME -o LANG = TERM ] dracut: + unset LANG dracut: + i=export dracut: + i= dracut: + i= dracut: + [ = root -o = PATH -o = HOME -o = TERM ] dracut: + unset dracut: + i=PATH='/sbin:/bin:/usr/sbin:/usr/bin' dracut: + i=PATH='/sbin:/bin:/usr/sbin:/usr/bin' dracut: + i=PATH dracut: + [ PATH = root -o PATH = PATH -o PATH = HOME -o PATH = TERM ] dracut: + i=export dracut: + i= dracut: + i= dracut: + [ = root -o = PATH -o = HOME -o = TERM ] dracut: + unset dracut: + i=PWD='/' dracut: + i=PWD='/' dracut: + i=PWD dracut: + [ PWD = root -o PWD = PATH -o PWD = HOME -o PWD = TERM ] dracut: + unset PWD dracut: + i=export dracut: + i= dracut: + i= dracut: + [ = root -o = PATH -o = HOME -o = TERM ] dracut: Switching root dracut: + unset dracut: + i=TERM='linux' dracut: + i=TERM='linux' dracut: + i=TERM dracut: + [ TERM = root -o TERM = PATH -o TERM = HOME -o TERM = TERM ] dracut: + i=export dracut: + i= dracut: + i= dracut: + [ = root -o = PATH -o = HOME -o = TERM ] dracut: + unset dracut: + i=initrd='initrd0.img' dracut: + i=initrd='initrd0.img' dracut: + i=initrd dracut: + [ initrd = root -o initrd = PATH -o initrd = HOME -o initrd = TERM ] dracut: + unset initrd dracut: + i=export dracut: + i= dracut: + i= dracut: + [ = root -o = PATH -o = HOME -o = TERM ] dracut: + unset dracut: + i=overlay='UUID=4C04-9372' dracut: + i=overlay='UUID=4C04-9372' dracut: + i=overlay dracut: + [ overlay = root -o overlay = PATH -o overlay = HOME -o overlay = TERM ] dracut: + unset overlay dracut: + initargs= dracut: + read CLINE dracut: + getarg init= dracut: + set +x dracut: + return 1 dracut: + set initrd=initrd0.img root=live:UUID=4C04-9372 rootfstype=vfat rw liveimg overlay=UUID=4C04-9372 LANG=en_US.utf8 rdinitdebug rd_NO_LUKS rd_NO_MD rd_NO_DM BOOT_IMAGE=vmlinuz0 dracut: + shift dracut: + getarg rdcopystate dracut: + set +x dracut: + return 1 dracut: + info Switching root dracut: + check_quiet dracut: + [ -z yes ] dracut: + echo 6dracut: Switching root dracut: + [ yes != yes ] dracut: + wait_for_loginit dracut: + getarg rdinitdebug dracut: + set +x dracut: + return 0 dracut: + set +x ---[end dracut output]-- --- On Wed, 3/16/11, Urs Beyerle urs.beye...@env.ethz.ch wrote: From: Urs Beyerle urs.beye...@env.ethz.ch Subject: Re: Persistent Data in SL LiveDVD on USB To: William Shu ws...@yahoo.com Cc: scientific-linux-us...@fnal.gov Date: Wednesday, March 16, 2011, 3:43 PM Hi William On 03/15/2011 11:19 PM, William Shu wrote: Dear All, I must be missing something. I do not seem to install and retain packages on liveDVD installed on a USB stick, despite using
Persistent Data in SL LiveDVD on USB
Dear All, I must be missing something. I do not seem to install and retain packages on liveDVD installed on a USB stick, despite using the data persistence options on livecd-iso-to-disk, viz: # livecd-iso-to-disk --reset-mbr --overlay-size-mb 1024 \ --home-size-mb 512 \ path/SL-60-i386-2011-03-07-LiveDVD.iso \ /dev/partition name The programs livecd-tools and liveusb-creator are retained on reboot, but not the others. Also, configuration data, etc. stored in the home directory, /home/sluser, are retained. Some sample installs that disappeared (Id not matter whether I used yum, ume: $ su -c 'rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm' $ su -c 'yum install yumex' $ su -c 'yum install xfig transfig fig2ps gv' $ su -c 'yum install ocaml ocaml-emacs ocaml-lablgl ocaml-lablgl-devel ocaml-lablgtk ocaml-lablgtk-devel ocaml-lablgtk-doc ocaml-doc' $ su -c 'yum install latex2rtf latex2html' Ragards, William.
thread scheduling and migration
Dear all, wonder if anybody can help: (Tried googling on behalf of third party to no success) Does anyone know of any software (free preferred) -- or group of software packages -- that can assist in: (a) spliting a process into, say threads, with (b) possibility of migrating the thread (or processes) to other machines that would continue running the threads/processes. Machines could be virtual machines. Ideally, (I think) one of the ideas is to have access to the threads (+ executing environment) and somehow have [authorised] user control on which machines to schedule them, and to get output. Software could run on linux or windows (Software on windows was actually asked, but linux (SL) can also be considered. Anyhelp / leads will be appreciated. William
Re: a request for independent confirmation|refutation of observed behavior of 5.6 x86_64 X11
Dear Larry, Not sure if this will help, but I had the observed behaviour when updating some packages of the stock SL5.5 x386 LiveDVD using yumex. The OS was installed on a USB stick. (Unfortunately, I didn't pursue it further: I assumed it was freak given occasional corruption of my USB stick.) This was on an AMD 64 bit machine with an nvidia graphics card that I happened on. As I recall, the USB mouse and keyboard stopped working with a message that interrupt 193 (I think) was henceforth ignored. However, I regained keyboard control when I attached a PS/2 keyboard. (I didn't have a PS/2 Mouse to try out.) On reboot, I didn't have the problem again! Hope the above is of help William. --- On Tue, 2/15/11, Larry Vaden va...@texoma.net wrote: From: Larry Vaden va...@texoma.net Subject: a request for independent confirmation|refutation of observed behavior of 5.6 x86_64 X11 To: scientific-linux-us...@fnal.gov Date: Tuesday, February 15, 2011, 12:19 AM Hello SL list members, This is a request for independent confirmation or refutation of observed behavior of 5.6 x86_64 X11. The observed behavior is that X11 on an AMD 64 locks up when probed with 'nmap -A -PN host.domain.tld' (Nmap v 4.11 from 5.6) whereas it does not lock up when probed with a relatively recent release, Nmap 5.21. Specifically, the console session's mouse pointer can still be moved, but mouse clicks and the keyboard aren't functional. Further, other jobs running in non-X11 mode proceed as normal. If you can confirm or refute this observed behavior, please reply. kind regards/ldv 8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie showtime shortcut. http://tools.search.yahoo.com/shortcuts/#news
Any Experience of SL 5.5 or later with these HP machines?
Dear All, I would be grateful if you can share with me your experiences with the following HP machines using SL 5.5 or later. SL is the chosen O/S and so compromises can be made on hardware, not change of O/S. I am most concern with: ++ the processor performance ++ graphics card (for basic but fast simulation display, nothing critical) ++ WLAN and bluetooth connections, and ++ use of external HD/dvd drive working on SL. * Would like the touch screen to work for the TouchSmart tm2t series, but it could be sacrificed. I'm aware it might be slower processor, and so may need to run for longer. * Also, I am happy to wait for SL 6.x to activate features that work on SL 6.x. 1) HP TouchSmart tm2t series Processor graphics options: * Intel(R) Core(TM) i3-380UM (1.33GHz, 3MB L3 Cache) + Intel(R) HD Graphics [HDMI, VGA] * Intel(R) Core(TM) i3-380UM (1.33GHz, 3MB L3Cache) +512MB ATI Mobility Radeon(TM) HD 5450 [HDMI, VGA] * Intel(R) Core(TM) i5-470UM (1.33GHz, 3MB L3Cache) +512MB ATI Mobility Radeon(TM) HD 5450 [HDMI, VGA] Network Options: * Intel Wireless-N Card * 802.11b/g/n WLAN and Bluetooth(R) * Intel Wireless-N Card with Bluetooth Memory options: 4GB DDR3 System Memory (2 Dimm) 4GB DDR3 System Memory (1 Dimm) 6GB DDR3 System Memory (2 Dimm) 8GB DDR3 System Memory (2 Dimm) External Drive Options: * External Tray Super Multi 8X DVD+/-RW w/Double Layer * External Tray Lightscribe Blu-Ray ROM with SuperMulti DVD+/-R/RW Double Layer Webcam/Fingerprinting: HP TrueVision Webcam and FingerPrint 2) ENVY 17 series Processor Intel(R) Core(TM) i7-720QM Quad Core processor (1.6GHz, 6MB L3 Cache) with Turbo Boost up to 2.8GHz Graphics card 1GB ATI Mobility Radeon(TM) HD 5850 Graphics [HDMI] Memory 8GB DDR3 System Memory (2 Dimm) Hard drive 500GB 7200RPM Hard Drive with HP ProtectSmart Hard Drive Protection Primary battery 6 Cell Lithium Ion Battery (standard) - Up to 2.25 hours of battery life +++ Display 17.3 diagonal HD+ HP BrightView Infinity LED Display (1600 x 900) Primary optical drive SuperMulti 8X DVD+/-R/RW with Double Layer Support (Slot Load) Personalization HP TrueVision HD Webcam Networking Intel Wireless-N Card with Bluetooth KeyboardBacklit Keyboard 3) dv6t series Processor Intel(R) Core(TM) i5-580M Dual Core Processor (2.66GHz, 3MB L3 Cache) with Turbo Boost up to 3.33GHz Graphics card 1GB ATI Mobility Radeon(TM) HD 5650 switchable graphics [HDMI, VGA] - For Dual Core Processors Memory 4GB DDR3 System Memory (2 Dimm) Hard drive 500GB 7200RPM Hard Drive with HP ProtectSmart Hard Drive Protection Primary battery High Capacity 6 Cell Lithium Ion Battery (standard) Display 15.6 diagonal High Definition LED HP Brightview Widescreen Display (1366x768) Primary optical drive LightScribe SuperMulti 8X DVD+/-RW with Double Layer Support Personalization HP TrueVision Webcam and Digital Microphone Networking Intel Wireless-N Card with Bluetooth KeyboardStandard Keyboard Feedback appreciated, William.
Re: Fw: 9825 wireless card auto disconnects!
Thanks Greg, The connection still fails over an open network. The only difference is that the SIOCSIFFLAGS: Unknown error 132 error does not occur with /sbin/ifconfig wlan0 up, viz: [r...@slinux sluser]# `/sbin/ifconfig wlan0 down; /sbin/modprobe -r ath9k` [r...@slinux sluser]# /sbin/modprobe ath9k; /sbin/ifconfig wlan0 up [r...@slinux sluser]# exit Thanks for the suggestions Greg, but I can't tinker with the machine, given that it's a wrong specification and I expect it to be swapped for what was originally requested. Unfortunately, I now have to make do as everything is taking forever ... William. --- On Tue, 8/31/10, Greg Heilers gheil...@earthlink.net wrote: From: Greg Heilers gheil...@earthlink.net Subject: Re: Fw: 9825 wireless card auto disconnects! To: William Shu ws...@yahoo.com Date: Tuesday, August 31, 2010, 5:32 AM I had trouble with the Atheros cards when I installed Ubuntu on a friend's Toshiba Laptop. On my own Dell laptop, the stock Broadcom card gave me trouble...so I simply bought an Intel card for about $25.00, and it works perfectly (running Slackware and Debian). I have also often noticed a great difference in performance of the wireless cards, between a Live DVD environment, and a full-blown hard-drive-installed environment. Does it connect successfully to a free and open network, such as at the library? My suggestion - see if you can find a cheap Intel card that is compatible with your Compaq. On Mon, 30 Aug 2010 08:59:31 -0700 (PDT) William Shu ws...@yahoo.com wrote: Dear All, I forwarded this mail back in July buy got no reply. So I can use the machine, does anyone have a workaround that avoids changing/recompiling stock SL software/kernel? (Googling seems to suggest there is a fundamental problem; I lack the needed networking skills.) Many thanks William. --- On Wed, 7/21/10, William Shu ws...@yahoo.com wrote: From: William Shu ws...@yahoo.com Subject: 9825 wireless card auto disconnects! To: scientific-linux-us...@fnal.gov Cc: William S. Shu ws...@yahoo.com Date: Wednesday, July 21, 2010, 7:54 PM Dear all, I have an atheros 9825 wireless card (on a compaq CQ60-615DX) which is detected, but somehow fails to connect to -- or rather immediately disconnects immediately from -- the network when the password is given. I am running it using linux 5.5 livedvd, but the same device connects successfully under Windows7. It seems this issue was discussed sometime before, but I do not seem to find it. Any help appreciated. Below are details from wpa_supplicant.log and dmesg that I guess are helpful. William. $ uname -a Linux slinux 2.6.18-194.3.1.el5 #1 SMP Fri May 7 01:52:57 EDT 2010 i686 i686 i386 GNU/Linux $ cat /var/log/wpa_supplicant.log (wext) Device wlan0 kernel driver name: ath9k. Device wlan0 kernel driver name: ath9k. Trying to associate with 00:18:e7:01:64:af (SSID='doit1wlan' freq=2437 MHz) Associated with 00:18:e7:01:64:af WPA: Key negotiation completed with 00:18:e7:01:64:af [PTK=TKIP GTK=TKIP] CTRL-EVENT-CONNECTED - Connection to 00:18:e7:01:64:af completed (auth) [id=0 id_str=] CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys $ dmesg |tail -35 r8169: eth0: link down ADDRCONF(NETDEV_UP): eth0: link is not ready ADDRCONF(NETDEV_UP): wlan0: link is not ready ACPI: PCI interrupt for device :00:1b.0 disabled PCI: Enabling device :00:1b.0 ( - 0002) ACPI: PCI Interrupt :00:1b.0[A] - GSI 22 (level, low) - IRQ 58 PCI: Setting latency timer of device :00:1b.0 to 64 hfs: unable to find HFS+ superblock ACPI: PCI interrupt for device :00:1b.0 disabled PCI: Enabling device :00:1b.0 ( - 0002) ACPI: PCI Interrupt :00:1b.0[A] - GSI 22 (level, low) - IRQ 58 PCI: Setting latency timer of device :00:1b.0 to 64 [drm] Initialized drm 1.0.1 20051102 ACPI: PCI Interrupt :00:02.0[A] - GSI 16 (level, low) - IRQ 74 [drm] Initialized i915 1.8.0 20060929 on minor 0 set status page addr 0x03fff000 wlan0: direct probe to AP 00:18:e7:01:64:af (try 1) wlan0: deauthenticating from 00:18:e7:01:64:af by local choice (reason=3) wlan0: direct probe to AP 00:18:e7:01:64:af (try 1) wlan0: direct probe responded wlan0: authenticate with AP 00:18:e7:01:64:af (try 1) wlan0: authenticated wlan0: associate with AP 00:18:e7:01:64:af (try 1) wlan0: RX AssocResp from 00:18:e7:01:64:af (capab=0x431 status=0 aid=1) wlan0: associated ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready wlan0: no IPv6 routers present wlan0: deauthenticating from 00:18:e7:01:64:af by local choice (reason=3) -- Greg Heilers Registered Linux user #328317 Slackware 12.2 (2.6.27.7) Debian Lenny (2.6.27.7) AUS For two incredible email
Re: 9825 wireless card auto disconnects!
Thanks Isaac, Alan. Sorry I do not currently have immediate access. Alan, the details of network devices are given below. Isaac, the suggestion to restart wireless did not work. Details given below. --- Details of network devices --- [slu...@slinux ~]$ [slu...@slinux ~]$ for BUSID in $(/sbin/lspci | awk '{ IGNORECASE=1 } /net/ { print $1 }'); do /sbin/lspci -s $BUSID -m; /sbin/lspci -s $BUSID -n; done 01:00.0 Ethernet controller Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller -r02 Hewlett-Packard Company Unknown device 360b 01:00.0 0200: 10ec:8136 (rev 02) 02:00.0 Network controller Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) -r01 Hewlett-Packard Company Unknown device 303f 02:00.0 0280: 168c:002b (rev 01) [slu...@slinux ~]$ grep -i 168c /lib/modules/*/modules.alias | grep -i 002b alias pci:v168Cd002Bsv*sd*bc*sc*i* ath9k [slu...@slinux ~]$ - restart of wireless device - [slu...@slinux ~]$ su [r...@slinux sluser]# /sbin/ifconfig wlan0 wlan0 Link encap:Ethernet HWaddr C4:17:FE:96:B1:B7 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) [r...@slinux sluser]# /sbin/ifconfig wlan0 down; /sbin/modprobe -r ath9k [r...@slinux sluser]# [r...@slinux sluser]# /sbin/modprobe ath9k; /sbin/ifconfig wlan0 up SIOCSIFFLAGS: Unknown error 132 [r...@slinux sluser]# [r...@slinux sluser]# dmesg |tail -23 ACPI: PCI interrupt for device :02:00.0 disabled ath9k: Driver unloaded cfg80211: Calling CRDA to update world regulatory domain cfg80211: World regulatory domain updated: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) (2402000 KHz - 2472000 KHz @ 4 KHz), (300 mBi, 2000 mBm) (2457000 KHz - 2482000 KHz @ 2 KHz), (300 mBi, 2000 mBm) (2474000 KHz - 2494000 KHz @ 2 KHz), (300 mBi, 2000 mBm) (517 KHz - 525 KHz @ 4 KHz), (300 mBi, 2000 mBm) (5735000 KHz - 5835000 KHz @ 4 KHz), (300 mBi, 2000 mBm) PCI: Enabling device :02:00.0 ( - 0002) ACPI: PCI Interrupt :02:00.0[A] - GSI 17 (level, low) - IRQ 225 PCI: Setting latency timer of device :02:00.0 to 64 ath: EEPROM regdomain: 0x69 ath: EEPROM indicates we should expect a direct regpair map ath: Country alpha2 being used: 00 ath: Regpair used: 0x69 phy0: Selected rate control algorithm 'ath9k_rate_control' Registered led device: ath9k-phy0::radio Registered led device: ath9k-phy0::assoc Registered led device: ath9k-phy0::tx Registered led device: ath9k-phy0::rx phy0: Atheros AR9285 MAC/BB Rev:2 AR5133 RF Rev:e0: mem=0xf8d0, irq=225 [r...@slinux sluser]# --- On Fri, 9/3/10, William Shu ws...@yahoo.com wrote: From: William Shu ws...@yahoo.com Subject: Re: 9825 wireless card auto disconnects! To: scientific-linux-us...@fnal.gov scientific-linux-us...@fnal.gov, Isaac ibid...@lavabit.com Date: Friday, September 3, 2010, 1:28 AM Many Thanks Isaac, I will try out your suggestions ASAP. William. --- On Tue, 8/31/10, Isaac ibid...@lavabit.com wrote: From: Isaac ibid...@lavabit.com Subject: Re: 9825 wireless card auto disconnects! To: scientific-linux-us...@fnal.gov scientific-linux-us...@fnal.gov Date: Tuesday, August 31, 2010, 8:09 AM On Mon, 30 Aug 2010 08:59:31 -0700 (PDT) William Shu wrote: Dear All, I forwarded this mail back in July buy got no reply. So I can use the machine, does anyone have a workaround that avoids changing/recompiling stock SL software/kernel? (Googling seems to suggest there is a fundamental problem; I lack the needed networking skills.) Many thanks William. .. I have an atheros 9825 wireless card (on a compaq CQ60-615DX) which is detected, but somehow fails to connect to -- or rather immediately disconnects immediately from -- the network when the password is given. I am running it using linux 5.5 livedvd, but the same device connects successfully under Windows7. Atheros 9825? That sounds like it should be wireless-n, supported by ath9k (or perhaps madwifi-hal-0.10.5.6, but don't expect the latter to be easy). Here's a little info: http://madwifi-project.org/wiki/Compatibility/Atheros I'd see whether `ifconfig wlan0 down;modprobe -r ath9k` and `modprobe ath9k; ifconfig wlan0 up` will get it working. If not, I'd try the CentOS 2.6.32 kernel/some RHEL6 kernel; try another distro; or wait a little bit. Be aware that ath9k is a work in progress. It seems this issue was discussed sometime before, but I do not seem to find it. Any help appreciated. Below are details from wpa_supplicant.log and dmesg that I
Re: 9825 wireless card auto disconnects!
Many Thanks Isaac, I will try out your suggestions ASAP. William. --- On Tue, 8/31/10, Isaac ibid...@lavabit.com wrote: From: Isaac ibid...@lavabit.com Subject: Re: 9825 wireless card auto disconnects! To: scientific-linux-us...@fnal.gov scientific-linux-us...@fnal.gov Date: Tuesday, August 31, 2010, 8:09 AM On Mon, 30 Aug 2010 08:59:31 -0700 (PDT) William Shu wrote: Dear All, I forwarded this mail back in July buy got no reply. So I can use the machine, does anyone have a workaround that avoids changing/recompiling stock SL software/kernel? (Googling seems to suggest there is a fundamental problem; I lack the needed networking skills.) Many thanks William. .. I have an atheros 9825 wireless card (on a compaq CQ60-615DX) which is detected, but somehow fails to connect to -- or rather immediately disconnects immediately from -- the network when the password is given. I am running it using linux 5.5 livedvd, but the same device connects successfully under Windows7. Atheros 9825? That sounds like it should be wireless-n, supported by ath9k (or perhaps madwifi-hal-0.10.5.6, but don't expect the latter to be easy). Here's a little info: http://madwifi-project.org/wiki/Compatibility/Atheros I'd see whether `ifconfig wlan0 down;modprobe -r ath9k` and `modprobe ath9k; ifconfig wlan0 up` will get it working. If not, I'd try the CentOS 2.6.32 kernel/some RHEL6 kernel; try another distro; or wait a little bit. Be aware that ath9k is a work in progress. It seems this issue was discussed sometime before, but I do not seem to find it. Any help appreciated. Below are details from wpa_supplicant.log and dmesg that I guess are helpful. ..
Fw: 9825 wireless card auto disconnects!
Dear All, I forwarded this mail back in July buy got no reply. So I can use the machine, does anyone have a workaround that avoids changing/recompiling stock SL software/kernel? (Googling seems to suggest there is a fundamental problem; I lack the needed networking skills.) Many thanks William. --- On Wed, 7/21/10, William Shu ws...@yahoo.com wrote: From: William Shu ws...@yahoo.com Subject: 9825 wireless card auto disconnects! To: scientific-linux-us...@fnal.gov Cc: William S. Shu ws...@yahoo.com Date: Wednesday, July 21, 2010, 7:54 PM Dear all, I have an atheros 9825 wireless card (on a compaq CQ60-615DX) which is detected, but somehow fails to connect to -- or rather immediately disconnects immediately from -- the network when the password is given. I am running it using linux 5.5 livedvd, but the same device connects successfully under Windows7. It seems this issue was discussed sometime before, but I do not seem to find it. Any help appreciated. Below are details from wpa_supplicant.log and dmesg that I guess are helpful. William. $ uname -a Linux slinux 2.6.18-194.3.1.el5 #1 SMP Fri May 7 01:52:57 EDT 2010 i686 i686 i386 GNU/Linux $ cat /var/log/wpa_supplicant.log (wext) Device wlan0 kernel driver name: ath9k. Device wlan0 kernel driver name: ath9k. Trying to associate with 00:18:e7:01:64:af (SSID='doit1wlan' freq=2437 MHz) Associated with 00:18:e7:01:64:af WPA: Key negotiation completed with 00:18:e7:01:64:af [PTK=TKIP GTK=TKIP] CTRL-EVENT-CONNECTED - Connection to 00:18:e7:01:64:af completed (auth) [id=0 id_str=] CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys $ dmesg |tail -35 r8169: eth0: link down ADDRCONF(NETDEV_UP): eth0: link is not ready ADDRCONF(NETDEV_UP): wlan0: link is not ready ACPI: PCI interrupt for device :00:1b.0 disabled PCI: Enabling device :00:1b.0 ( - 0002) ACPI: PCI Interrupt :00:1b.0[A] - GSI 22 (level, low) - IRQ 58 PCI: Setting latency timer of device :00:1b.0 to 64 hfs: unable to find HFS+ superblock ACPI: PCI interrupt for device :00:1b.0 disabled PCI: Enabling device :00:1b.0 ( - 0002) ACPI: PCI Interrupt :00:1b.0[A] - GSI 22 (level, low) - IRQ 58 PCI: Setting latency timer of device :00:1b.0 to 64 [drm] Initialized drm 1.0.1 20051102 ACPI: PCI Interrupt :00:02.0[A] - GSI 16 (level, low) - IRQ 74 [drm] Initialized i915 1.8.0 20060929 on minor 0 set status page addr 0x03fff000 wlan0: direct probe to AP 00:18:e7:01:64:af (try 1) wlan0: deauthenticating from 00:18:e7:01:64:af by local choice (reason=3) wlan0: direct probe to AP 00:18:e7:01:64:af (try 1) wlan0: direct probe responded wlan0: authenticate with AP 00:18:e7:01:64:af (try 1) wlan0: authenticated wlan0: associate with AP 00:18:e7:01:64:af (try 1) wlan0: RX AssocResp from 00:18:e7:01:64:af (capab=0x431 status=0 aid=1) wlan0: associated ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready wlan0: no IPv6 routers present wlan0: deauthenticating from 00:18:e7:01:64:af by local choice (reason=3)
9825 wireless card auto disconnects!
Dear all, I have an atheros 9825 wireless card (on a compaq CQ60-615DX) which is detected, but somehow fails to connect to -- or rather immediately disconnects immediately from -- the network when the password is given. I am running it using linux 5.5 livedvd, but the same device connects successfully under Windows7. It seems this issue was discussed sometime before, but I do not seem to find it. Any help appreciated. Below are details from wpa_supplicant.log and dmesg that I guess are helpful. William. $ uname -a Linux slinux 2.6.18-194.3.1.el5 #1 SMP Fri May 7 01:52:57 EDT 2010 i686 i686 i386 GNU/Linux $ cat /var/log/wpa_supplicant.log (wext) Device wlan0 kernel driver name: ath9k. Device wlan0 kernel driver name: ath9k. Trying to associate with 00:18:e7:01:64:af (SSID='doit1wlan' freq=2437 MHz) Associated with 00:18:e7:01:64:af WPA: Key negotiation completed with 00:18:e7:01:64:af [PTK=TKIP GTK=TKIP] CTRL-EVENT-CONNECTED - Connection to 00:18:e7:01:64:af completed (auth) [id=0 id_str=] CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys $ dmesg |tail -35 r8169: eth0: link down ADDRCONF(NETDEV_UP): eth0: link is not ready ADDRCONF(NETDEV_UP): wlan0: link is not ready ACPI: PCI interrupt for device :00:1b.0 disabled PCI: Enabling device :00:1b.0 ( - 0002) ACPI: PCI Interrupt :00:1b.0[A] - GSI 22 (level, low) - IRQ 58 PCI: Setting latency timer of device :00:1b.0 to 64 hfs: unable to find HFS+ superblock ACPI: PCI interrupt for device :00:1b.0 disabled PCI: Enabling device :00:1b.0 ( - 0002) ACPI: PCI Interrupt :00:1b.0[A] - GSI 22 (level, low) - IRQ 58 PCI: Setting latency timer of device :00:1b.0 to 64 [drm] Initialized drm 1.0.1 20051102 ACPI: PCI Interrupt :00:02.0[A] - GSI 16 (level, low) - IRQ 74 [drm] Initialized i915 1.8.0 20060929 on minor 0 set status page addr 0x03fff000 wlan0: direct probe to AP 00:18:e7:01:64:af (try 1) wlan0: deauthenticating from 00:18:e7:01:64:af by local choice (reason=3) wlan0: direct probe to AP 00:18:e7:01:64:af (try 1) wlan0: direct probe responded wlan0: authenticate with AP 00:18:e7:01:64:af (try 1) wlan0: authenticated wlan0: associate with AP 00:18:e7:01:64:af (try 1) wlan0: RX AssocResp from 00:18:e7:01:64:af (capab=0x431 status=0 aid=1) wlan0: associated ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready wlan0: no IPv6 routers present wlan0: deauthenticating from 00:18:e7:01:64:af by local choice (reason=3)
Re: Wine Question?
Codeweaver's wine (non-free) also has variants of wine for games. Never used it but its variant for MS Word/office is known to be much less hassle to use. Regards, William. --- On Mon, 4/12/10, Andy Mastbaum mastb...@hep.upenn.edu wrote: From: Andy Mastbaum mastb...@hep.upenn.edu Subject: Re: Wine Question? To: Nathan Jeffrey Allen nathan_all...@juno.com Cc: SCIENTIFIC-LINUX-USERS@listserv.fnal.gov Date: Monday, April 12, 2010, 3:36 PM Nathan, SL may indeed be intended for stable workstations and servers, but it's Linux all the same and no better or worse than any other distro for this. Most games and other software using 3D acceleration and other such fanciness don't work so well with the standard wine distribution (latest from winehq.org), but give it a try. If that doesn't work, there are some good non-free (but cheap) commercial/gaming versions of wine -- I've had success with one called Cedega (transgaming.com). Good luck! Andy Nathan Jeffrey Allen wrote: How do i get wine installed to play my windows games?
Any 'best' hard drives and incremental backup approaches to home systems?
Hi, I would be grateful for feedback on the following. At some point in time, I preferred to backup data and software on disks on separate machines so as to be able to have incremental backups. Use of CD/DVD R or RW was not adequate, as they frequently went bad, kept incoherent trail of updates or simply could not be updated. Thus, I settled for having material on multiple drives. I've been having disk crash on my computers at home (with Maxtor drives) and some informal investigations suggested Western Digital harddrives were among the best on the market. Unfortunately, I suddenly lost my laptop and two western digital internal disk drives, and one external drive (also a Western digital), sort of without warning. Ironically, the Fijutsu drive on a clone I had 10 years ago, and bought the WD for fear it might fail, is working (it fails the S. M. A. R. T. boot test sometimes)! My questions are: QUESTION 1 What is the best approach to handle incremental backup data, if hard disks are not that reliable this days? (This is a home system, and tape drives and variants are out!) QUESTION 2) Which are the best marks of hard drives to purchase, especially for linux-based systems that can be on for relatively long periods -- 6-24 hours a day? REgards, William.
Re: one-sided ssh connection, restricted access to X.
Thanks Miles, Will implement solution for #2 ASAP.. For #1, the settings are the defaults obtained when installing from DVD (x86) -- enforcing, I think. Or is there a more specific setting I should search for? (can only access machine on working day, earliest.) William. --- On Sat, 12/5/09, Miles O'Neal roadkills.r...@gmail.com wrote: From: Miles O'Neal roadkills.r...@gmail.com Subject: Re: one-sided ssh connection, restricted access to X. To: William Shu ws...@yahoo.com Cc: scientific-linux-us...@fnal.gov Date: Saturday, December 5, 2009, 7:22 PM For #1, what are your SELinux settings For #2, that also applies, but... you should NOT by default be able to have other users access your X display. That's the way it is supposed to work. If you want local users to be able to access your display, type in a terminal window: xhost +localhost Then as long as the DISPLAY is :0 they should work (if SELinux isn't in the way). If you wnat DISPLAY to be set to $HOST:0 you need to type xhost +$HOST On Sat, Dec 5, 2009 at 8:58 AM, William Shu ws...@yahoo.com wrote: Hi, Please for help on two [related] problems (I'm probably missing something glaring!): 1) On my newly installed SL54 on a machine *not* connected to the internet, I tried to connect to a remote machine (Redhat 9) via ssh and it does not allow me. I am lost, as sshd is activated on both machines, and I had used a laptop to make the connection to the remote machine before. I can ssh connect from the Redhat 9 machine. QUESTION: What could I be doing wrong? (script of my attempts below). I can;t pick up what to do from man pages. 2) I tried to open emacs as root, but was not allowed. I was only allowed connection after I executed $ xhost + to allow everybody access. QUESTION: Is there no more secure way of enabling users on local machine to use X without having to enumerate them, or allow all to access? In the past, I've always been able to open a terminal window as root or 3rd party and use without probs. Regards, William. [...@csc101a ~]$ uname -a Linux csc101A 2.6.18-164.2.1.el5PAE #1 SMP Tue Sep 29 19:14:47 EDT 2009 i686 i686 i386 GNU/Linux [...@csc101a ~]$ [...@csc101a ~]$ ssh -XY 192.168.10.1 ssh: connect to host 192.168.10.1 port 22: Connection refused [...@csc101a ~]$ xhost access control enabled, only authorized clients can connect SI:localuser:wss [...@csc101a ~]$ xhost + access control disabled, clients can connect from any host [...@csc101a ~]$ ssh -XY w...@192.168.10.1 ssh: connect to host 192.168.10.1 port 22: Connection refused [...@csc101a ~]$ ssh -XY w...@192.168.10.1 ssh: connect to host 192.168.10.1 port 22: Connection refused [...@csc101a ~]$ ssh -XY w...@192.168.10.1 ssh: connect to host 192.168.10.1 port 22: Connection refused [...@csc101a ~]$ man xhost [...@csc101a ~]$ ssh -v -XY 192.168.10.1 OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to 192.168.10.1 [192.168.10.1] port 22. debug1: connect to address 192.168.10.1 port 22: Connection refused ssh: connect to host 192.168.10.1 port 22: Connection refused [...@csc101a ~]$ ssh -vv -XY 192.168.10.1 OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to 192.168.10.1 [192.168.10.1] port 22. debug1: connect to address 192.168.10.1 port 22: Connection refused ssh: connect to host 192.168.10.1 port 22: Connection refused [...@csc101a ~]$ ssh -vvv -XY 192.168.10.1 OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to 192.168.10.1 [192.168.10.1] port 22. debug1: connect to address 192.168.10.1 port 22: Connection refused ssh: connect to host 192.168.10.1 port 22: Connection refused [...@csc101a ~]$ -- [r...@csc101a wss]# emacs [1] 4833 [r...@csc101a wss]# Xlib: connection to :0.0 refused by server Xlib: No protocol specified emacs: Cannot connect to X server :0.0. Check the DISPLAY environment variable or use `-d'. Also use the `xhost' program to verify that it is set to permit connections from your machine.
Re: Which of SL5.3 x86 and x86_64 is better on a Core 2 Duo T6500, 4GB HP laptop?
Thanks for all the replies. We'll wait for SL 5.4, and probably for the i386 version as Troy suggested. This best suits the requirements of minimal updates and hassles. William. --- On Mon, 10/19/09, Troy Dawson daw...@fnal.gov wrote: From: Troy Dawson daw...@fnal.gov Subject: Re: Which of SL5.3 x86 and x86_64 is better on a Core 2 Duo T6500, 4GB HP laptop? To: William Shu ws...@yahoo.com Cc: scientific-linux-us...@fnal.gov scientific-linux-us...@fnal.gov Date: Monday, October 19, 2009, 4:22 PM Hello, Either x86 (often called i386) or x86_64 would work equally well on that machine. As long as Windows is installed first, Scientific Linux should see windows and set things up so that during bootup it will be easy to bootup whichever OS they want. Which would I recommend. I would recommend the x86 (i386) version. The only reason is because it works best with browser plugins. For speed both x86 and x86_64 are going to be the same for your day to day stuff. One warning. I am not impressed with Scientific Linux startup time, especially after playing with Fedora 11. SL startup time might be good enough for your user, and after some tweeking can get much faster. But I'm just warning you up front. --- As for when SL 5.4 comes out, here is the plan. This is just a plan, and things could slip. SL 5.4 Release Candidate 2 should come out at the end of this week (Oct. 22 or 23). This is should be the last real Release Candidate. Everything should say 5.4 and point to 5.4, except the release notes. Release Candidate 2 is going to sit for the next week to let everything give it lots of good tests. We will then roll up the last of the security updates, the last of the bugs and make SL 5.4 Release Candidate 2.5. This should be November 2 or 3rd. SL 5.4 Release Candidate 2.5 is essentially the release. Even the release notes should say released. As long as there aren't any show stoppers, The next day or two we release it for real. So currently, if nothing happens, we expect to release it November 4 or 5. --- Troy William Shu wrote: Hi, This may be a naive or repeated question but could someone please suggest which of SL 5.3 (x86 or x86_64) would be better to dual-boot (with Windows Vista Home and eventually Windows 7) for the Core 2 Duo T6500, 4 GB customised HP laptop whose purchase details are further given below. The machine is for a novice wants minimum update hassles, can flip between Vista and SL easily, and prefers speed, especially at start-up. The owner is not familiar with Windows Vista (me neither), and I was not impressed by the time it took to boot. Would there be any speed penalty and/or tweaking penalty in using x86 instead of x86-64 or vice-versa on this processor? Given the newness of the machine (and so perhaps some of its components may not yet have drivers etc), would waiting for SL 5.4 be worthwhile. If yes, can Troy hasard an informed guess on possible release date/period for SL 5.4? I would be grateful for suggestions William. --[ Specification of HP dvt6 laptop ]- HP Pavilion Entertainment dv6t customizable Notebook PC • Genuine Windows Vista Home Premium with Service Pack 1 (64-bit) • Intel(R) Core(TM)2 Duo Processor T6500 (2.1GHz, 2MB L2 Cache, 800MHz FSB) • 4GB DDR2 System Memory (2 Dimm) • 320GB 7200RPM SATA Hard Drive with HP ProtectSmart Hard Drive Protection • Intel(R) Graphics Media Accelerator 4500MHD • 16.0 diagonal High Definition HP Brightview Display (1366x768) • LightScribe SuperMulti 8X DVD+/-RW with Double Layer Support • Webcam Only • Wireless-G Card with Bluetooth • 6 Cell Lithium Ion Battery • No Modem -- __ Troy Dawson daw...@fnal.gov (630)840-6468 Fermilab ComputingDivision/LCSI/CSI LMSS Group __
How can I access a possibly corrupted hard drive
Hi, I suddenly could not boot from my Western Digital hard drive connected through a SATA PCI card. I was told the drive is 'seen' in the hardware and that my problem is in the operating system problem (software), which the tecnician cannot handle. booting with a scientific linux 5.3 livedvd, I have tried to use fdisk to list and fsck to correct the errors but to no avail. tried gparted which seems to suggest disk is not formatted, and testdisk ends up with IO read errors. The drive was formatted for logical volume management (LVM), but it does not even appear when I click System-Adminstration-Logical Volume Management. from the desktop Is there anyone who can suggest what could be wrong, what I could do to correct this problem, or at least get back my data? Details of outputs from commands below. Many thanks, William. [ fdisk and fsck outputs ]- [r...@slinux sluser]# uname -a Linux slinux 2.6.18-128.1.1.el5 #1 SMP Tue Feb 10 11:42:49 EST 2009 i686 i686 i386 GNU/Linux [r...@slinux sluser]# [r...@slinux sluser]# /sbin/fdisk -l Disk /dev/hda: 81.9 GB, 81964302336 bytes 255 heads, 63 sectors/track, 9964 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 637 5116671 b W95 FAT32 /dev/hda2 638 9963 74911095 f W95 Ext'd (LBA) /dev/hda5 651 1415 6144831 b W95 FAT32 /dev/hda6 9243 9499 2064321 c W95 FAT32 (LBA) /dev/hda7 638 650 104359+ 83 Linux /dev/hda8 1416 9242 62870346 8e Linux LVM Unable to read /dev/sda [r...@slinux sluser]# /sbin/fsck -s /dev/sda{2,3,5,6,7} -ap fsck 1.39 (29-May-2006) fsck.ext2: No such file or directory while trying to open /dev/sda2 /dev/sda2: The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 device snip -[ Content of backup log testdisk backup.log ]- #1255771918 Disk /dev/sda - 320 GB / 298 GiB - CHS 38913 255 63 1 : start= 63, size=123780762, Id=07, P 2 : start=123780825, size= 5012280, Id=83, * 3 : start=128793105, size=496344240, Id=05, E -[ Content of logfile of testdisk testdisk.log ]- Sat Oct 17 05:28:14 2009 Command line: TestDisk /log /dev/sda Using locale 'en_US.UTF-8'. TestDisk 6.10, Data Recovery Utility, July 2008 Christophe GRENIER gren...@cgsecurity.org http://www.cgsecurity.org OS: Linux, kernel 2.6.18-128.1.1.el5 (#1 SMP Tue Feb 10 11:42:49 EST 2009) Compiler: GCC 4.1 - Jul 26 2008 03:55:42 ext2fs lib: 1.39, ntfs lib: 9:0:0, reiserfs lib: 0.3.0.4, ewf lib: none Hard disk list Disk /dev/sda - 320 GB / 298 GiB - CHS 38913 255 63, sector size=512 - ATA WDC WD3200AAKS-0 Partition table type (auto): Intel Disk /dev/sda - 320 GB / 298 GiB - ATA WDC WD3200AAKS-0 Partition table type: Intel Interface Advanced Geometry from i386 MBR: head=255 sector=63 get_geometry_from_list_part_aux head=255 nbr=6 get_geometry_from_list_part_aux head=8 nbr=1 get_geometry_from_list_part_aux head=16 nbr=1 get_geometry_from_list_part_aux head=32 nbr=1 get_geometry_from_list_part_aux head=64 nbr=1 get_geometry_from_list_part_aux head=128 nbr=1 get_geometry_from_list_part_aux head=240 nbr=1 get_geometry_from_list_part_aux head=255 nbr=6 1 P HPFS - NTFS 0 1 1 7704 254 63 123780762 NTFS, 63 GB / 59 GiB 2 * Linux 7705 0 1 8016 254 63 5012280 [/boot1] EXT3 Large file Sparse superblock Recover, 2566 MB / 2447 MiB 3 E extended 8017 0 1 38912 254 63 496344240 Analyse Disk /dev/sda - 320 GB / 298 GiB - CHS 38913 255 63 Geometry from i386 MBR: head=255 sector=63 get_geometry_from_list_part_aux head=255 nbr=6 get_geometry_from_list_part_aux head=8 nbr=1 get_geometry_from_list_part_aux head=16 nbr=1 get_geometry_from_list_part_aux head=32 nbr=1 get_geometry_from_list_part_aux head=64 nbr=1 get_geometry_from_list_part_aux head=128 nbr=1 get_geometry_from_list_part_aux head=240 nbr=1 get_geometry_from_list_part_aux head=255 nbr=6 Current partition structure: 1 P HPFS - NTFS 0 1 1 7704 254 63 123780762 2 * Linux 7705 0 1 8016 254 63 5012280 [/boot1] 3 E extended 8017 0 1 38912 254 63 496344240 Backup partition structure Ask the user for vista mode Allow partial last cylinder : No search_vista_part: 0 search_part() Disk /dev/sda - 320 GB / 298 GiB - CHS 38913 255 63 D HPFS - NTFS 0 1 1 7704 254 63 123780762 NTFS, 63 GB / 59 GiB D Linux 7705 0 1 8016 254 63 5012280 [/boot1] EXT3 Large file Sparse
Which of SL5.3 x86 and x86_64 is better on a Core 2 Duo T6500, 4GB HP laptop?
Hi, This may be a naive or repeated question but could someone please suggest which of SL 5.3 (x86 or x86_64) would be better to dual-boot (with Windows Vista Home and eventually Windows 7) for the Core 2 Duo T6500, 4 GB customised HP laptop whose purchase details are further given below. The machine is for a novice wants minimum update hassles, can flip between Vista and SL easily, and prefers speed, especially at start-up. The owner is not familiar with Windows Vista (me neither), and I was not impressed by the time it took to boot. Would there be any speed penalty and/or tweaking penalty in using x86 instead of x86-64 or vice-versa on this processor? Given the newness of the machine (and so perhaps some of its components may not yet have drivers etc), would waiting for SL 5.4 be worthwhile. If yes, can Troy hasard an informed guess on possible release date/period for SL 5.4? I would be grateful for suggestions William. --[ Specification of HP dvt6 laptop ]- HP Pavilion Entertainment dv6t customizable Notebook PC • Genuine Windows Vista Home Premium with Service Pack 1 (64-bit) • Intel(R) Core(TM)2 Duo Processor T6500 (2.1GHz, 2MB L2 Cache, 800MHz FSB) • 4GB DDR2 System Memory (2 Dimm) • 320GB 7200RPM SATA Hard Drive with HP ProtectSmart Hard Drive Protection • Intel(R) Graphics Media Accelerator 4500MHD • 16.0 diagonal High Definition HP Brightview Display (1366x768) • LightScribe SuperMulti 8X DVD+/-RW with Double Layer Support • Webcam Only • Wireless-G Card with Bluetooth • 6 Cell Lithium Ion Battery • No Modem
Re: Latest kernel update cripples NetworkManager?
Sorry Troy, I am on SL 5.0; guess other relevant details are in prior submission William. --- On Mon, 5/11/09, Troy Dawson daw...@fnal.gov wrote: From: Troy Dawson daw...@fnal.gov Subject: Re: Latest kernel update cripples NetworkManager? To: Avetisyan, Aram aram_avetis...@brown.edu Cc: scientific-linux-us...@fnal.gov scientific-linux-us...@fnal.gov Date: Monday, May 11, 2009, 4:21 PM Hi, For both of these, which version of Scientific Linux is this? Troy Avetisyan, Aram wrote: Hi William, Yes, the same exact thing (it can't see the networks) happens with Intel's 4965AGN card. I have not been able to fix it though -- if you find a solution, please let me know. -- Aram -Original Message- From: owner-scientific-linux-us...@listserv.fnal.gov on behalf of William Shu Sent: Sun 5/10/2009 6:59 PM To: scientific-linux-us...@fnal.gov Cc: William S. Shu Subject: Latest kernel update cripples NetworkManager? Hi, Has anyone noticed this? It looks like the latest kernel update has crippled NetworkManager! It does not even see wireless network,(using Intel(R) PRO/Wireless 3945 Network Connection driver), and gives the following message when I try to activate it manually: Error for wireless request Set Mode (8B06) : SET failed on device eth1 ; No such device. Error for wireless request Set Frequency (8B04) : SET failed on device eth1 ; No such device. Error for wireless request Set Bit Rate (8B20) : SET failed on device eth1 ; No such device. Error for wireless request Set Encode (8B2A) : SET failed on device eth1 ; No such device. SIOCGIFFLAGS: No such device Failed to bring up eth1. System detail: [...@hpsl5 ~]$ uname -a Linux hpsl5 2.6.18-128.1.10.el5xen #1 SMP Thu May 7 13:38:34 EDT 2009 i686 i686 i386 GNU/Linux [...@hpsl5 ~]$ I use iwl3945 driver, though the system also downloadeds some kernel*ipw3945 bit (from dependencies). William. -- __ Troy Dawson daw...@fnal.gov (630)840-6468 Fermilab ComputingDivision/LCSI/CSI LMSS Group __
Re: problems getting eclipse to run on SL5.0
Hi Troy, I am using SL 5.0 on the machine (laptop). Barring inadvertency, it has always been updated with yum/yumex from SL sites/mirrors. I also have the same problem with an SL 5.0 desktop, but not with an SL5.2 desktop. The requested output is: [...@hpsl5 ~]$ rpm -qa | grep eclipse |sort eclipse-cdt-3.1.2-8.el5.i386 eclipse-cdt-sdk-3.1.2-8.el5.i386 eclipse-checkstyle-4.0.1-6.el5.i386 eclipse-ecj-3.2.1-18.el5.i386 eclipse-jdt-3.2.1-18.el5.i386 eclipse-jdt-sdk-3.2.1-18.el5.i386 eclipse-pde-3.2.1-18.el5.i386 eclipse-pde-runtime-3.2.1-18.el5.i386 eclipse-platform-3.2.1-18.el5.i386 eclipse-platform-sdk-3.2.1-18.el5.i386 eclipse-rcp-3.2.1-18.el5.i386 eclipse-rcp-sdk-3.2.1-18.el5.i386 [...@hpsl5 ~]$ William. --- On Mon, 5/11/09, Troy Dawson daw...@fnal.gov wrote: From: Troy Dawson daw...@fnal.gov Subject: Re: problems getting eclipse to run on SL5.0 To: ws...@yahoo.com ws...@yahoo.com Cc: SCIENTIFIC-LINUX-USERS@listserv.fnal.gov SCIENTIFIC-LINUX-USERS@listserv.fnal.gov Date: Monday, May 11, 2009, 8:48 PM That is the same version of jdk that I am running, and Eclipse comes up fine. Are you using Eclipse from SL, or downloaded from somewhere? Can you give the output of rpm -qa | grep eclipse | sort Troy William Shu wrote: Dear Connie, The version of java is given as in the command below: [...@hpsl5 ~]$ java -version java version 1.6.0_13 Java(TM) SE Runtime Environment (build 1.6.0_13-b03) Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing) [...@hpsl5 ~]$ William. --- On *Mon, 5/11/09, Connie Sieh /cs...@fnal.gov/* wrote: From: Connie Sieh cs...@fnal.gov Subject: Re: problems getting eclipse to run on SL5.0 To: William Shu ws...@yahoo.com Cc: SCIENTIFIC-LINUX-USERS@listserv.fnal.gov Date: Monday, May 11, 2009, 6:25 PM Which java is this? -Connie Sieh On Sat, 9 May 2009, William Shu wrote: --Boundary_(ID_tR8ZFhtkJ5pnkuN4BLNX5Q) Content-type: text/plain; charset=us-ascii Can anyone help? In order to learn how to use eclipse, I try running the eclipse program for the first time and get the error message: [...@hpsl5 programmingEnvironments]$ eclipse [2] 9568 [...@hpsl5 programmingEnvironments]$ /usr/bin/java: symbol lookup error: /usr/lib/eclipse/configuration/org.eclipse.osgi/bundles/6/1/.cp/libswt-mozilla-gtk-3235.so: undefined symbol: _ZN4nsID5ParseEPKc with the eclipse logo stuck on my screen, and produces a pop-up display with the following: JVM terminated. Exit code=127 /usr/bin/java -Xms40m -Xmx256m -Dosgi.sharedConfiguration.area=/usr/lib/eclipse/configuration -jar /usr/share/eclipse/startup.jar -os linux -ws gtk -arch x86 -launcher /usr/bin/eclipse -name Eclipse -showsplash 600 -exitdata 23802a -vm /usr/bin/java -vmargs -Xms40m -Xmx256m -Dosgi.sharedConfiguration.area=/usr/lib/eclipse/configuration -jar /usr/share/eclipse/startup.jar I am running SL 5.0 on an HP Pavilion 5000 laptop: [...@hpsl5 programmingEnvironments]$ uname -a Linux hpsl5 2.6.18-128.1.6.el5xen #1 SMP Wed Apr 1 07:49:37 EDT 2009 i686 i686 i386 GNU/Linux [...@hpsl5 programmingEnvironments]$ Not sure if its the laptop, but it seems general/ 3rd party software which install/run without problems on other machines (with SL 5.2 installed) seem to unexpectedly crash on this one. William. --Boundary_(ID_tR8ZFhtkJ5pnkuN4BLNX5Q) Content-type: text/html; charset=us-ascii table cellspacing=0 cellpadding=0 border=0 trtd valign=top style=font: inherit;Can anyone help?brbrIn order to learn how to use eclipse, I try running the eclipse program for the first time and get the error message:br[...@hpsl5 programmingEnvironments]$ eclipse amp;br[2] 9568br[...@hpsl5 programmingEnvironments]$ /usr/bin/java: symbol lookup error: /usr/lib/eclipse/configuration/org.eclipse.osgi/bundles/6/1/.cp/libswt-mozilla-gtk-3235.so: undefined symbol: _ZN4nsID5ParseEPKcbrbrwith the eclipse logo stuck on my screen, and produces a pop-up display with the following:brbrJVM terminated. Exit code=127br/usr/bin/javabr-Xms40mbr-Xmx256mbr-Dosgi.sharedConfiguration.area=/usr/lib/eclipse/configurationbr-jar /usr/share/eclipse/startup.jarbr-os linuxbr-ws gtkbr-arch x86br-launcher /usr/bin/eclipsebr-name Eclipsebr-showsplash 600br-exitdata 23802abr-vm /usr/bin/javabr-vmargsbr-Xms40mbr-Xmx256mbr-Dosgi.sharedConfiguration.area=/usr/lib/eclipse/configurationbr-jar /usr/share/eclipse/startup.jar brbrI am running SL 5.0 on an HP Pavilion 5000 laptop:br[...@hpsl5 programmingEnvironments]$ uname -abrLinux hpsl5 2.6.18-128.1.6.el5xen #1 SMP Wed Apr 1 07:49:37
Re: problems getting eclipse to run on SL5.0
Is there a possibility to updating eclipse to that in SL5.2 without upgrading Scientific Linux to 5.2? In which case, how? If not, the trouble is that I am mostly using the laptop (SL 5.0) and my desktops are also SL5.0 and Redhat 9.0; someone else tends to use the desktop (SL5.2). I dare not upgrade the laptop because that would break other software I cannot yet afford to tinker with! William. --- On Mon, 5/11/09, Connie Sieh cs...@fnal.gov wrote: From: Connie Sieh cs...@fnal.gov Subject: Re: problems getting eclipse to run on SL5.0 To: William Shu ws...@yahoo.com Cc: SCIENTIFIC-LINUX-USERS@listserv.fnal.gov Date: Monday, May 11, 2009, 10:03 PM On Mon, 11 May 2009, William Shu wrote: --Boundary_(ID_GLiIs2tSNRJu+7tp3/7zpw) Content-type: text/plain; charset=us-ascii Hi Troy, I am using SL 5.0 on the machine (laptop). Barring inadvertency, it has always been updated with yum/yumex from SL sites/mirrors. I also have the same problem with an SL 5.0 desktop, but not with an SL5.2 desktop. Since the eclipse on SL 5.2 works I suggest you use that. -connie sieh The requested output is: [...@hpsl5 ~]$ rpm -qa | grep eclipse |sort eclipse-cdt-3.1.2-8.el5.i386 eclipse-cdt-sdk-3.1.2-8.el5.i386 eclipse-checkstyle-4.0.1-6.el5.i386 eclipse-ecj-3.2.1-18.el5.i386 eclipse-jdt-3.2.1-18.el5.i386 eclipse-jdt-sdk-3.2.1-18.el5.i386 eclipse-pde-3.2.1-18.el5.i386 eclipse-pde-runtime-3.2.1-18.el5.i386 eclipse-platform-3.2.1-18.el5.i386 eclipse-platform-sdk-3.2.1-18.el5.i386 eclipse-rcp-3.2.1-18.el5.i386 eclipse-rcp-sdk-3.2.1-18.el5.i386 [...@hpsl5 ~]$ William. --- On Mon, 5/11/09, Troy Dawson daw...@fnal.gov wrote: From: Troy Dawson daw...@fnal.gov Subject: Re: problems getting eclipse to run on SL5.0 To: ws...@yahoo.com ws...@yahoo.com Cc: SCIENTIFIC-LINUX-USERS@listserv.fnal.gov SCIENTIFIC-LINUX-USERS@listserv.fnal.gov Date: Monday, May 11, 2009, 8:48 PM That is the same version of jdk that I am running, and Eclipse comes up fine. Are you using Eclipse from SL, or downloaded from somewhere? Can you give the output of rpm -qa | grep eclipse | sort Troy William Shu wrote: Dear Connie, The version of java is given as in the command below: [...@hpsl5 ~]$ java -version java version 1.6.0_13 Java(TM) SE Runtime Environment (build 1.6.0_13-b03) Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing) [...@hpsl5 ~]$ William. --- On *Mon, 5/11/09, Connie Sieh /cs...@fnal.gov/* wrote: From: Connie Sieh cs...@fnal.gov Subject: Re: problems getting eclipse to run on SL5.0 To: William Shu ws...@yahoo.com Cc: SCIENTIFIC-LINUX-USERS@listserv.fnal.gov Date: Monday, May 11, 2009, 6:25 PM Which java is this? -Connie Sieh On Sat, 9 May 2009, William Shu wrote: --Boundary_(ID_tR8ZFhtkJ5pnkuN4BLNX5Q) Content-type: text/plain; charset=us-ascii Can anyone help? In order to learn how to use eclipse, I try running the eclipse program for the first time and get the error message: [...@hpsl5 programmingEnvironments]$ eclipse [2] 9568 [...@hpsl5 programmingEnvironments]$ /usr/bin/java: symbol lookup error: /usr/lib/eclipse/configuration/org.eclipse.osgi/bundles/6/1/.cp/libswt-mozilla-gtk-3235.so: undefined symbol: _ZN4nsID5ParseEPKc with the eclipse logo stuck on my screen, and produces a pop-up display with the following: JVM terminated. Exit code=127 /usr/bin/java -Xms40m -Xmx256m -Dosgi.sharedConfiguration.area=/usr/lib/eclipse/configuration -jar /usr/share/eclipse/startup.jar -os linux -ws gtk -arch x86 -launcher /usr/bin/eclipse -name Eclipse -showsplash 600 -exitdata 23802a -vm /usr/bin/java -vmargs -Xms40m -Xmx256m -Dosgi.sharedConfiguration.area=/usr/lib/eclipse/configuration -jar /usr/share/eclipse/startup.jar I am running SL 5.0 on an HP Pavilion 5000 laptop: [...@hpsl5 programmingEnvironments]$ uname -a Linux hpsl5 2.6.18-128.1.6.el5xen #1 SMP Wed Apr 1 07:49:37 EDT 2009 i686 i686 i386 GNU/Linux [...@hpsl5 programmingEnvironments]$ Not sure if its the laptop, but it seems general/ 3rd party software which install/run without problems on other machines (with SL 5.2 installed) seem to unexpectedly crash on this one. William. --Boundary_(ID_tR8ZFhtkJ5pnkuN4BLNX5Q) Content-type: text/html; charset=us-ascii table cellspacing=0 cellpadding=0 border=0 trtd valign=top style=font: inherit;Can anyone help?brbrIn order to learn how to use eclipse, I try running the eclipse program for the first time and get the error message:br[...@hpsl5 programmingEnvironments]$ eclipse amp;br[2] 9568br[...@hpsl5 programmingEnvironments]$ /usr/bin/java: symbol lookup error: /usr/lib/eclipse/configuration
Latest kernel update cripples NetworkManager?
Hi, Has anyone noticed this? It looks like the latest kernel update has crippled NetworkManager! It does not even see wireless network,(using Intel(R) PRO/Wireless 3945 Network Connection driver), and gives the following message when I try to activate it manually: Error for wireless request Set Mode (8B06) : SET failed on device eth1 ; No such device. Error for wireless request Set Frequency (8B04) : SET failed on device eth1 ; No such device. Error for wireless request Set Bit Rate (8B20) : SET failed on device eth1 ; No such device. Error for wireless request Set Encode (8B2A) : SET failed on device eth1 ; No such device. SIOCGIFFLAGS: No such device Failed to bring up eth1. System detail: [...@hpsl5 ~]$ uname -a Linux hpsl5 2.6.18-128.1.10.el5xen #1 SMP Thu May 7 13:38:34 EDT 2009 i686 i686 i386 GNU/Linux [...@hpsl5 ~]$ I use iwl3945 driver, though the system also downloadeds some kernel*ipw3945 bit (from dependencies). William.
Re: Problems using X Windows Display
Dear All, I think I now have a clearer approach to finding solutions to some of my problems. the suggestions of Stephen, Troy and Miles were particularly helpful. First, the the solutions obtained so far: enabling Xforwarding and restarting daemons (e.g., sshd) permits me to have trouble-free displays over ssh or from xterm windows of different users on the same console. From the help offered, I think my solution strategy for multi-terminal display could be one of the following: 1) Bring up vnc display, have a master vnc viewer that can read/write on the display, and let all the other vnc viewers be slave vnc viewers that can only view the display. Unfortunately, blocking keyboard/mouse actions using the options menu from pressing the F8 key can be reset by the user. An suggestions to configure vnc to have such master-slave viewers? 2) Create a separate account, which can possibly become insecure by granting xauth authorities, and use vnc to display whatever. While the implications of extending access (via xauth) frighten, the use of a video conferencing tool, such as EVO, seem to require internet access, whereas the machines I'll use are in a closed LAN. Does anyone know of a video conferencing tool that does not register to/through the internet? Once more thank you all for the support. William. --- On Tue, 5/5/09, Stephen J. Gowdy go...@cern.ch wrote: From: Stephen J. Gowdy go...@cern.ch Subject: Re: Problems using X Windows Display To: William Shu ws...@yahoo.com Cc: Miles O'Neal m...@intrinsity.com, scientific-linux-us...@fnal.gov Date: Tuesday, May 5, 2009, 7:44 AM On Mon, 4 May 2009, William Shu wrote: Thank you very much Miles! I rebooted both machines and I can now view pdf/ *.ps files without complaints! vncviewer now opens on the host machine when invoked from the remote machine through ssh. However, I have the following three problems (whose solutions I guess will help end this thread): 1) Everything has suddenly become so slow on the host machine (I think); shortly after opening the vnc window seems to freeze, not displaying X clients, though the window itself can be reduced or expanded! Sorry, no idea there. 2) Trying to open vnc without ssh complains of no route to host (error 113). Also, xclock complains of inability to open display. This is probably your firewall preventing access as I mentinoed. Looking at it I think you need to open 5901 on your server. I've never used though so I'm not sure. 3) Related to (2) above, it seems I can only project X disply on another terminal through ssh, which requires login (and hence knowing another user's password). Is there no other secure way of doing this, where the target user can selectively authorise the display? Each user could have an account on the host machine that is different. They'd all need to know the shared password for the VNC server though. Probably not a good idea. You can use xauth as described before to allow a user to do everything with your X session either via an ssh tunnel or directly if you open port 6000 (assuming your display is :0) on your firewall. However, something like EVO would be a much safer way to share a desktop window. There are probably other applications that would do it too. The following outputs show what transpired: [...@hpsl5 ~]$ ssh -XY w...@192.168.10.20 w...@192.168.10.20's password: Last login: Tue May 5 02:57:19 2009 [...@inteksl52 ~]$ echo $DISPLAY localhost:10.0 [1]+ Done evince Desktop/semanticKnowledge-a4-geissler.pdf [...@inteksl52 ~]$ vncviewer [1] 6612 [...@inteksl52 ~]$ VNC Viewer Free Edition 4.1.2 for X - built Feb 11 2009 12:55:24 Copyright (C) 2002-2005 RealVNC Ltd. See http://www.realvnc.com for information on VNC. Tue May 5 03:08:35 2009 CConn: connected to host localhost port 5901 CConnection: Server supports RFB protocol version 3.8 CConnection: Using RFB protocol version 3.8 Tue May 5 03:08:54 2009 TXImage: Using default colormap and visual, TrueColor, depth 24. CConn: Using pixel format depth 6 (8bpp) rgb222 CConn: Using ZRLE encoding Tue May 5 03:18:27 2009 main: End of stream [1]+ Done vncviewer [...@inteksl52 ~]$ ... snip ... [...@hpsl5 ~]$ vncviewer 192.168.10.20:1 [1] 3888 [...@hpsl5 ~]$ VNC Viewer Free Edition 4.1.2 for X - built Feb 11 2009 12:55:24 Copyright (C) 2002-2005 RealVNC Ltd. See http://www.realvnc.com for information on VNC. Tue May 5 03:38:32 2009 main: unable to connect to host: No route to host (113) [1]+ Exit 1 vncviewer 192.168.10.20:1 [...@hpsl5 ~]$ [...@hpsl5 ~]$ xclock -display 192.168.10.20:1 [1] 5564 [...@hpsl5 ~]$ Error: Can't open display: 192.168.10.20:1 --- On Tue, 5/5/09, Miles O'Neal m...@intrinsity.com wrote: From: Miles O'Neal m...@intrinsity.com Subject: Re: Problems using X Windows Display To: ws...@yahoo.com Date: Tuesday, May 5
Re: Problems using X Windows Display
Thank you for all the suggestions. I have tried to make modifications as suggested on ISSUE 1, while trying to use vnc as my test case. No success yet. Grateful for further suggestions. Xforwarding: Changed the Xforwarding to yes in /etc/ssh/sshd_config of remote machine (inteksl52): #X11Forwarding no X11Forwarding yes the client machine was already set (barring any surprise in changed notation): Host * ForwardX11Trusted yes ForwardX11 yes Host *.fnal.gov GSSAPIAuthentication yes GSSAPIDelegateCredentials yes ForwardX11Trusted yes ForwardX11 yes xauth and $DISPLAY: --- I have also checked for xauth and $DISPLAY on both machines. On host machine (hpsl5): xauth is available and DISPLAY is set to :0.0 [...@hpsl5 ~]$ rpm -q xorg-x11-xauth xorg-x11-xauth-1.0.1-2.1.i386 [...@hpsl5 ~]$ echo $DISPLAY :0.0 [...@hpsl5 ~]$ On remote machine (inteksl52): xauth is available but DISPLAY is *not* set via secure shell. However, it is set to :0.0 if echoed from its own console. [...@hpsl5 ~]$ ssh -XY w...@192.168.10.20 w...@192.168.10.20's password: Last login: Mon May 4 18:08:12 2009 from 192.168.10.4 [...@inteksl52 ~]$ echo $DISPLAY [...@inteksl52 ~]$ rpm -q xorg-x11-xauth xorg-x11-xauth-1.0.1-2.1.i386 [...@inteksl52 ~]$ vnc connection: --- vncviewer sees the vncserver if they are on the same host machine,but not accross machines or remotely (via ssh); it basically demonstrates the problem persists. On host machine: [...@hpsl5 ~]$ echo $DISPLAY :0.0 [...@hpsl5 ~]$ vncserver [1] 5300 New 'hpsl5:2 (wss)' desktop is hpsl5:2 Starting applications specified in /home/wss/.vnc/xstartup Log file is /home/wss/.vnc/hpsl5:2.log [1]+ Done vncserver [...@hpsl5 ~]$ On remote machine (via ssh) the vnc server is activated, but the viewer seems to have the following behaviour: * for DISPLAY=:2.0, it seems to just hang * for DISPLAY=192.168.10.4:1.0 (host vnc), viewer cannot open the display * for DISPLAY=192.168.10.20.1.0 (remote vnc, using its IP), it further indicates refusal by server. sample scenario: [...@inteksl52 ~]$ vncserver New 'inteksl52:2 (wss)' desktop is inteksl52:2 Starting applications specified in /home/wss/.vnc/xstartup Log file is /home/wss/.vnc/inteksl52:2.log [...@inteksl52 ~]$ [...@inteksl52 ~]$ echo $DISPLAY [...@inteksl52 ~]$ export DISPLAY=:2.0 [...@inteksl52 ~]$ vncviewer [1] 9162 [...@inteksl52 ~]$ VNC Viewer Free Edition 4.1.2 for X - built Feb 11 2009 12:55:24 Copyright (C) 2002-2005 RealVNC Ltd. See http://www.realvnc.com for information on VNC. [...@inteksl52 ~]$ echo $DISPLAY [...@inteksl52 ~]$ export DISPLAY=192.168.10.4:1.0 [...@inteksl52 ~]$ echo $DISPLAY 192.168.10.4:1.0 [...@inteksl52 ~]$ vncviewer [1] 9528 [...@inteksl52 ~]$ VNC Viewer Free Edition 4.1.2 for X - built Feb 11 2009 12:55:24 Copyright (C) 2002-2005 RealVNC Ltd. See http://www.realvnc.com for information on VNC. vncviewer: unable to open display 192.168.10.4:1.0 [1]+ Exit 1 vncviewer [...@inteksl52 ~]$ [...@inteksl52 ~]$ export DISPLAY=192.168.10.20:1.0 [...@inteksl52 ~]$ vncviewer [1] 9537 VNC Viewer Free Edition 4.1.2 for X - built Feb 11 2009 12:55:24 Copyright (C) 2002-2005 RealVNC Ltd. See http://www.realvnc.com for information on VNC. Xlib: connection to 192.168.10.20:1.0 refused by server Xlib: No protocol specified vncviewer: unable to open display 192.168.10.20:1.0 [1]+ Exit 1 vncviewer [...@inteksl52 ~]$ --- On Mon, 5/4/09, Troy Dawson daw...@fnal.gov wrote: From: Troy Dawson daw...@fnal.gov Subject: Re: Problems using X Windows Display To: William Shu ws...@yahoo.com Cc: scientific-linux-us...@fnal.gov scientific-linux-us...@fnal.gov Date: Monday, May 4, 2009, 4:21 PM Hi, I'll just add a little to what Stephen said. Focus on getting #1 to work, which is to log into a remote machine and open a graphical window. It looks like you have all the right options on your client end, but you also have to have it enabled on the machine you are logging into. On the machine you are logging into, look at your /etc/ssh/sshd_config and look for the line X11Forwarding, and make sure it is yes, like so X11Forwarding yes You also have to make sure that xauth is installed. It is on most every machine that has X installed, but if you start with a stripped down server, sometimes you don't get xauth. To check (on SL5) just do rpm -q xorg-x11-xauth Also, for me, when I check to see what my display setting is, I always do echo $DISPLAY And it should come back something like localhost:10.0 That is because it's doing an ssh tunnel, so it thinks it's the localhost. Hope this helps Troy Stephen J. Gowdy wrote: Hi William, X displays usually are setup to enforce some sort of security. Otherwise anyone would be able to read your password. In case 1, was DISPLAY set on hpsl5 before you typed ssh
Re: Problems using X Windows Display
Thank you very much Miles! I rebooted both machines and I can now view pdf/ *.ps files without complaints! vncviewer now opens on the host machine when invoked from the remote machine through ssh. However, I have the following three problems (whose solutions I guess will help end this thread): 1) Everything has suddenly become so slow on the host machine (I think); shortly after opening the vnc window seems to freeze, not displaying X clients, though the window itself can be reduced or expanded! 2) Trying to open vnc without ssh complains of no route to host (error 113). Also, xclock complains of inability to open display. 3) Related to (2) above, it seems I can only project X disply on another terminal through ssh, which requires login (and hence knowing another user's password). Is there no other secure way of doing this, where the target user can selectively authorise the display? The following outputs show what transpired: [...@hpsl5 ~]$ ssh -XY w...@192.168.10.20 w...@192.168.10.20's password: Last login: Tue May 5 02:57:19 2009 [...@inteksl52 ~]$ echo $DISPLAY localhost:10.0 [1]+ Done evince Desktop/semanticKnowledge-a4-geissler.pdf [...@inteksl52 ~]$ vncviewer [1] 6612 [...@inteksl52 ~]$ VNC Viewer Free Edition 4.1.2 for X - built Feb 11 2009 12:55:24 Copyright (C) 2002-2005 RealVNC Ltd. See http://www.realvnc.com for information on VNC. Tue May 5 03:08:35 2009 CConn: connected to host localhost port 5901 CConnection: Server supports RFB protocol version 3.8 CConnection: Using RFB protocol version 3.8 Tue May 5 03:08:54 2009 TXImage: Using default colormap and visual, TrueColor, depth 24. CConn: Using pixel format depth 6 (8bpp) rgb222 CConn: Using ZRLE encoding Tue May 5 03:18:27 2009 main: End of stream [1]+ Done vncviewer [...@inteksl52 ~]$ ... snip ... [...@hpsl5 ~]$ vncviewer 192.168.10.20:1 [1] 3888 [...@hpsl5 ~]$ VNC Viewer Free Edition 4.1.2 for X - built Feb 11 2009 12:55:24 Copyright (C) 2002-2005 RealVNC Ltd. See http://www.realvnc.com for information on VNC. Tue May 5 03:38:32 2009 main: unable to connect to host: No route to host (113) [1]+ Exit 1 vncviewer 192.168.10.20:1 [...@hpsl5 ~]$ [...@hpsl5 ~]$ xclock -display 192.168.10.20:1 [1] 5564 [...@hpsl5 ~]$ Error: Can't open display: 192.168.10.20:1 --- On Tue, 5/5/09, Miles O'Neal m...@intrinsity.com wrote: From: Miles O'Neal m...@intrinsity.com Subject: Re: Problems using X Windows Display To: ws...@yahoo.com Date: Tuesday, May 5, 2009, 1:02 AM William Shu said... |Xforwarding: | |Changed the Xforwarding to yes in /etc/ssh/sshd_config of remote mach= |ine (inteksl52): | |#X11Forwarding no |X11Forwarding yes Did you restart the ssh daemon after that change?
Problems using X Windows Display
I am having difficulties related to X Windowing system. Being a novice and basically overwhelmed by the X.org documentation. I present below the separate but related issues which can be summarised as: (1) displaying files from remote machines, possibly over secure shell; (2) projecting a window or entire screen onto *multiple* remote displays (monitors); and (3) using the same display when logged on as distinct users in xterm windows. In the example, I am on the host machine is hpsl5 (IP: 192.168.10.4) running SL5.0 and the remote machine is inteksl52 (192.168.10.20) running SL 5.2. Any assistance would be appreciated. ISSUE 1 = Displaying *.pdf *.ps files from a remote machine using secure shell ssh -XY, whereas it used to work (in the distant past). I get the message: Unable to open the diplay . Even trying to open a specific display (192.168.10.4:0, on tinysl5) with the xlsfonts command, I still get the message Unable to open the diplay. Unfortunately, I do not have a very clear idea how X works; the manpage X(7) is not too helpful, and dmesg does not issue any messages. Example output: [...@hpsl5 ~]$ ssh -XY w...@192.168.10.20 w...@192.168.10.20's password: Last login: Fri May 1 00:45:23 2009 from 192.168.10.4 [...@inteksl52 ~]$ printenv |grep -ie display [...@inteksl52 ~]$ dir *.ps tsi.comp.POST.SENT-13032007_pages25_26.ps [...@inteksl52 ~]$ gv tsi.comp.POST.SENT-13032007_pages25_26.ps [1] 23151 [...@inteksl52 ~]$ gv: Unable to open the display. [...@inteksl52 ~]$ [...@inteksl52 ~]$ xlsfonts -fn '-*-*-*-*-*-*-0-0-0-0-*-0-*-*' xlsfonts: unable to open display '' usage: xlsfonts [-options] [-fn pattern] where options include: -l[l[l]] give long info about each font -m give character min and max bounds -C force columns -1 force single column -u keep output unsorted -o use OpenFont/QueryFont instead of ListFonts -w width maximum width for multiple columns -n columns number of columns if multi column -display displayname X server to contact -d displayname (alias for -display displayname) [...@inteksl52 ~]$ [...@inteksl52 ~]$ [...@inteksl52 ~]$ xlsfonts -d 192.168.10.4:0.0 -fn '-*-*-*-*-*-*-0-0-0-0-*-0-*-*' xlsfonts: unable to open display '192.168.10.4:0.0' usage: xlsfonts [-options] [-fn pattern] where options include: -l[l[l]] give long info about each font -m give character min and max bounds -C force columns -1 force single column -u keep output unsorted -o use OpenFont/QueryFont instead of ListFonts -w width maximum width for multiple columns -n columns number of columns if multi column -display displayname X server to contact -d displayname (alias for -display displayname) ISSUE 2 = How can I display a given window (xterm, pdf file, etc.) on a number of remote terminal? For exmple, I would want that the pdf file I am scrolling through is also visible to my remote audience on their screens. This is probably related to ISSUE 1. ISSUE 3 = How can I be logged in as 2 distinct users (e.g., wss and wsshu or root) in terminal windows and still be able to view files *.pdf and *.ps files or choose my X windows display? On some machines, I I can view the files, possibly with some complaints, but fails on others, complaining about being unable to open display. (Unfortunately I cannot reproduce the failure on this machine, in what is given below.) Xnest does not seem to permit it. How can I go about this? Example output: [...@hpsl5 ~]$ Xnest :1 [1]+ Stopped Xnest :1 [...@hpsl5 ~]$ bg [1]+ Xnest :1 [...@hpsl5 ~]$ xterm -display :1 AUDIT: Mon May 4 01:59:19 2009: 27279 Xnest: client 1 rejected from local host Xlib: connection to :1.0 refused by server Xlib: No protocol specified xterm Xt error: Can't open display: :1 [...@hpsl5 ~]$ su Password: [r...@hpsl5 wss]# xterm -display :1 AUDIT: Mon May 4 02:00:23 2009: 27279 Xnest: client 1 rejected from local host Xlib: connection to :1.0 refused by server Xlib: No protocol specified Warning: This program is an suid-root program or is being run by the root user. The full text of the error or warning message cannot be safely formatted in this environment. You may get a more descriptive message by running the program as a non-root user or by removing the suid bit on the executable. xterm Xt error: Can't open display: %s [r...@hpsl5 wss]# exit exit [...@hpsl5 ~]$ su wsshu Password: [ws...@hpsl5 wss]$ xterm -display :1
Re: problems with iwl3945 wireless connection properties
Hi, [Sorry replying this late -- I preferred to upgrade NetworkManager but the laptop's network (wired and wireless) was dysfunctional.] First, I'm glad to say the update to NetworkManager and wpa_supplicant are great! wireless device is detected and I can use WPA-PSK encryption! [For information, the suggestion from Markus to try suggestions on: https://qa.mandriva.com/show_bug.cgi?id=45062#c48 did not work in my case; then, I could only use fixed IP's, not dhcp, to see the router] However, TWO problems remain and I'd be grateful for assistance: ==[ PROBLEM 1 ] I seem to loose conversion of domain name services to IP address. The prior update of NetworkManager (or whatever) created a wired connection that I cannot edit or delete (called System eth0). NetworkManager connects to System eth0 on boot, and goes back to it at random intervals when I manually change the device. Through System eth0, I can ping to IP addresses but not to host names, and also seems to connect on a random basis, making upgrades and internet access a pain. How can I get rid of system eth0, and still maintain a functioning network? [...@hpsl5 ~]$ ping -c10 209.212.96.1 PING 209.212.96.1 (209.212.96.1) 56(84) bytes of data. 64 bytes from 209.212.96.1: icmp_seq=1 ttl=59 time=324 ms 64 bytes from 209.212.96.1: icmp_seq=2 ttl=59 time=300 ms 64 bytes from 209.212.96.1: icmp_seq=3 ttl=59 time=299 ms --- 209.212.96.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 1998ms rtt min/avg/max/mdev = 299.876/38.548/324.843/11.538 ms [...@hpsl5 ~]$ ping -c10 www.google.com ping: unknown host www.google.com [...@hpsl5 ~]$ ping -c10 www.google.com ping: unknown host www.google.com ==[ PROBLEM 2 ] The error asking to contact system administrator persists. The warning message from iwconfig below could very possible that this is the reason for the icon being unable to provide statistics. If that is ithe case, how can this be updated? (I have done all the wireless updates available for SL). The message follows: [...@hpsl5 ~]$ /sbin/iwconfig eth1 Warning: Driver for device eth1 recommend version 21 of Wireless Extension, but has been compiled with version 20, therefore some driver features may not be available... eth1 IEEE 802.11 ESSID:doit1wlan Mode:Managed Frequency:2.437 GHz Access Point: 00:18:E7:01:64:AF Bit Rate=54 Mb/s Tx-Power=15 dBm Retry min limit:7 RTS thr:off Fragment thr=2352 B Link Quality=86/100 Signal level=-47 dBm Noise level=-127 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 r Invalid misc:0 Missed beacon:0 [...@hpsl5 ~]$ Just in case it would help, may I indicate that I first noticed the problem after I dabbled in installing the driver for webcams on linux: gspcav1-kmdl-2.6.18-128.1.1.el5xen and its dependency packages: ieee80211-kmdl-2.6.18-128.1.1.el5xen which seem to conflict with ipw3945 with messages (taken from dmesg at the time) like: ieee80211_crypt: registered algorithm 'NULL' e100: Intel(R) PRO/100 Network Driver, 3.5.10-k2-NAPI e100: Copyright(c) 1999-2005 Intel Corporation ACPI: PCI Interrupt :08:08.0[A] - GSI 20 (level, low) - IRQ 21 e100: eth0: e100_probe: addr 0xd0006000, irq 21, MAC addr 00:16:D4:3A:20:40 ieee80211: 802.11 data/management/control stack, 1.2.18 ieee80211: Copyright (C) 2004-2005 Intel Corporation jketr...@linux.intel.com ipw3945: disagrees about version of symbol ieee80211_wx_get_encodeext ipw3945: Unknown symbol ieee80211_wx_get_encodeext (I had all ipw* packages removed but the problem persisted. This too was the case even when I upgraded the kernel to 2.6.18-128.1.6.el5xen but not the corresponding gspca* and ieee*, which seem to install the ipw3945* packages). Regards, William. --- On Mon, 4/13/09, Troy Dawson daw...@fnal.gov wrote: From: Troy Dawson daw...@fnal.gov Subject: Re: problems with iwl3945 wireless connection properties To: ws...@yahoo.com ws...@yahoo.com Cc: scientific-linux-us...@fnal.gov scientific-linux-us...@fnal.gov Date: Monday, April 13, 2009, 2:44 PM Hi, The new, updated wpa_support will be going out today, for SL50, 51, and 52. That (as far as I've tested) doesn't have any side effects. I'm still testing the updated udev, which seems to also be needed. Although that error about contacting your system administrator is new, I haven't seen that one. Troy William Shu wrote: Hi, Can I also conclude that the iwl3945 is also broke for my Intel PRO/Wireless 3945ABG/BG Network Connection? (I have been closely following the thread with subject atheros wifi connect problem and its leads in the hope that it can solve mine.) Things have gotten worse as the updated network manager (NetworkManager-0.7.0-4.el5_3.src.rpm) cannot detect wireless connection, and I have to activate the device manually
Re: problems with iwl3945 wireless connection properties
Hi, Can I also conclude that the iwl3945 is also broke for my Intel PRO/Wireless 3945ABG/BG Network Connection? (I have been closely following the thread with subject atheros wifi connect problem and its leads in the hope that it can solve mine.) Things have gotten worse as the updated network manager (NetworkManager-0.7.0-4.el5_3.src.rpm) cannot detect wireless connection, and I have to activate the device manually! I still get the message: Error for wireless request Set Mode (8B06) : SET failed on device eth1 ; Invalid argument. when I manually activate the wireless device (on eth1) Also, when I click on the icon for the eth1 (wireless) connection properties, I still get the error message: Please contact your system administrator to resolve the following problem: Could not parse interface statistics from ' eth1'. prx_idx = 1; ptx_idx = 9; brx_idx = 0; btx_idx = 8; Furthermore, wpa_supplicant does not work and produces the same error messages (essentially) to those presented in the above-cited atheros thread. I would greatly appreciate any assistance or leads. Please assistance should not involve changing the stock SL kernel as other programs will not work. I laptop runs SL 5.0 [...@hpsl5 ~]$ uname -a Linux hpsl5 2.6.18-128.1.1.el5xen #1 SMP Tue Feb 10 12:27:46 EST 2009 i686 i686 i386 GNU/Linux William. --- On Thu, 3/26/09, William Shu ws...@yahoo.com wrote: From: William Shu ws...@yahoo.com Subject: problems with iwl3945 wireless connection properties To: scientific-linux-us...@fnal.gov Cc: ws...@yahoo.com Date: Thursday, March 26, 2009, 12:06 PM Hi, Does anyone have some experience in dealing with statistics errors deriving from the Intel PRO/Wireless 3945ABG/BG Network Connection? Secondly, I do not know from where ipw3945 is coming from (in dmesg), since I disabled the ipw3945d daemon. Could this be a problem? I describe the scenario below. I have an hp laptop running SL 5.0 [...@hpsl5 ~]$ uname -a Linux hpsl5 2.6.18-128.1.1.el5xen #1 SMP Tue Feb 10 12:27:46 EST 2009 i686 i686 i386 GNU/Linux which has the Intel PRO/Wireless 3945ABG/BG Network Connection linked to the eth1 device, that I had setup using the ipw3945d daemon. (ipw3945d does not permit wpa-psk but in the interim I use WEP protocol) Things started happening when I installed the gspcav1-*.rpm from the atrpms repository and it installed the package ieee80211-kmdl-2.6.18-128.1.1.el5xen*, amongst others, for dependency. I also had to install some iwl*3945* package which introduced some clashes. I lost network connection, until, after trial and error, I installed the corresponding package, iwlwifi-3945.ucode, from sl-security and disabled the ipw3945 daemon from network services. (I then regained wireless connectivity, but do not know yet if there are other problems.) However, when I click on the icon for the eth1 (wireless) connection properties, I get the error message: Please contact your system administrator to resolve the following problem: Could not parse interface statistics from ' eth1'. prx_idx = 1; ptx_idx = 9; brx_idx = 0; btx_idx = 8; Unfortunately, I am my own systems administrator, and do not know how to go about this. From past mail, I visited the sites http://www.intellinuxwireless.org/?p=iwlwifin=howto-iwlwifi http://www.intellinuxwireless.org/tar.php?p=iwlwifia=iwlwifi-1.2.25.tgzf=INSTALL but could not still figure things out! The introduce devices such as wlan0 which are not found un my machine. Looking at dmesg, some of the relevant messages seem to be (bits snipped out): [...@hpsl5 ~]$ dmesg | tail -400 | less ..snip.. Bluetooth: HCI USB driver ver 2.9 usbcore: registered new driver hci_usb ieee80211_crypt: registered algorithm 'NULL' e100: Intel(R) PRO/100 Network Driver, 3.5.10-k2-NAPI e100: Copyright(c) 1999-2005 Intel Corporation ACPI: PCI Interrupt :08:08.0[A] - GSI 20 (level, low) - IRQ 21 e100: eth0: e100_probe: addr 0xd0006000, irq 21, MAC addr 00:16:D4:3A:20:40 ieee80211: 802.11 data/management/control stack, 1.2.18 ieee80211: Copyright (C) 2004-2005 Intel Corporation jketr...@linux.intel.com ipw3945: disagrees about version of symbol ieee80211_wx_get_encodeext ipw3945: Unknown symbol ieee80211_wx_get_encodeext ipw3945: disagrees about version of symbol ieee80211_wx_set_encode ipw3945: Unknown symbol ieee80211_wx_set_encode ipw3945: disagrees about version of symbol ieee80211_wx_get_encode ipw3945: Unknown symbol ieee80211_wx_get_encode ipw3945: disagrees about version of symbol ieee80211_txb_free ipw3945: Unknown symbol ieee80211_txb_free ipw3945: disagrees about version of symbol ieee80211_wx_set_encodeext ipw3945: Unknown symbol ieee80211_wx_set_encodeext ipw3945: disagrees about version of symbol ieee80211_wx_get_scan ipw3945: Unknown symbol ieee80211_wx_get_scan ipw3945: disagrees about version of symbol ieee80211_freq_to_channel ipw3945: Unknown symbol ieee80211_freq_to_channel ipw3945: disagrees about version of symbol
problems with iwl3945 wireless connection properties
Hi, Does anyone have some experience in dealing with statistics errors deriving from the Intel PRO/Wireless 3945ABG/BG Network Connection? Secondly, I do not know from where ipw3945 is coming from (in dmesg), since I disabled the ipw3945d daemon. Could this be a problem? I describe the scenario below. I have an hp laptop running SL 5.0 [...@hpsl5 ~]$ uname -a Linux hpsl5 2.6.18-128.1.1.el5xen #1 SMP Tue Feb 10 12:27:46 EST 2009 i686 i686 i386 GNU/Linux which has the Intel PRO/Wireless 3945ABG/BG Network Connection linked to the eth1 device, that I had setup using the ipw3945d daemon. (ipw3945d does not permit wpa-psk but in the interim I use WEP protocol) Things started happening when I installed the gspcav1-*.rpm from the atrpms repository and it installed the package ieee80211-kmdl-2.6.18-128.1.1.el5xen*, amongst others, for dependency. I also had to install some iwl*3945* package which introduced some clashes. I lost network connection, until, after trial and error, I installed the corresponding package, iwlwifi-3945.ucode, from sl-security and disabled the ipw3945 daemon from network services. (I then regained wireless connectivity, but do not know yet if there are other problems.) However, when I click on the icon for the eth1 (wireless) connection properties, I get the error message: Please contact your system administrator to resolve the following problem: Could not parse interface statistics from ' eth1'. prx_idx = 1; ptx_idx = 9; brx_idx = 0; btx_idx = 8; Unfortunately, I am my own systems administrator, and do not know how to go about this. From past mail, I visited the sites http://www.intellinuxwireless.org/?p=iwlwifin=howto-iwlwifi http://www.intellinuxwireless.org/tar.php?p=iwlwifia=iwlwifi-1.2.25.tgzf=INSTALL but could not still figure things out! The introduce devices such as wlan0 which are not found un my machine. Looking at dmesg, some of the relevant messages seem to be (bits snipped out): [...@hpsl5 ~]$ dmesg | tail -400 | less ..snip.. Bluetooth: HCI USB driver ver 2.9 usbcore: registered new driver hci_usb ieee80211_crypt: registered algorithm 'NULL' e100: Intel(R) PRO/100 Network Driver, 3.5.10-k2-NAPI e100: Copyright(c) 1999-2005 Intel Corporation ACPI: PCI Interrupt :08:08.0[A] - GSI 20 (level, low) - IRQ 21 e100: eth0: e100_probe: addr 0xd0006000, irq 21, MAC addr 00:16:D4:3A:20:40 ieee80211: 802.11 data/management/control stack, 1.2.18 ieee80211: Copyright (C) 2004-2005 Intel Corporation jketr...@linux.intel.com ipw3945: disagrees about version of symbol ieee80211_wx_get_encodeext ipw3945: Unknown symbol ieee80211_wx_get_encodeext ipw3945: disagrees about version of symbol ieee80211_wx_set_encode ipw3945: Unknown symbol ieee80211_wx_set_encode ipw3945: disagrees about version of symbol ieee80211_wx_get_encode ipw3945: Unknown symbol ieee80211_wx_get_encode ipw3945: disagrees about version of symbol ieee80211_txb_free ipw3945: Unknown symbol ieee80211_txb_free ipw3945: disagrees about version of symbol ieee80211_wx_set_encodeext ipw3945: Unknown symbol ieee80211_wx_set_encodeext ipw3945: disagrees about version of symbol ieee80211_wx_get_scan ipw3945: Unknown symbol ieee80211_wx_get_scan ipw3945: disagrees about version of symbol ieee80211_freq_to_channel ipw3945: Unknown symbol ieee80211_freq_to_channel ipw3945: disagrees about version of symbol ieee80211_set_geo ipw3945: Unknown symbol ieee80211_set_geo ipw3945: disagrees about version of symbol ieee80211_rx ipw3945: Unknown symbol ieee80211_rx ipw3945: disagrees about version of symbol ieee80211_get_channel ipw3945: Unknown symbol ieee80211_get_channel ipw3945: disagrees about version of symbol ieee80211_channel_to_index ipw3945: Unknown symbol ieee80211_channel_to_index ipw3945: disagrees about version of symbol ieee80211_rx_mgt ipw3945: Unknown symbol ieee80211_rx_mgt ipw3945: disagrees about version of symbol ieee80211_get_geo ipw3945: Unknown symbol ieee80211_get_geo ipw3945: disagrees about version of symbol free_ieee80211 ipw3945: Unknown symbol free_ieee80211 ipw3945: disagrees about version of symbol ieee80211_tx_frame ipw3945: Unknown symbol ieee80211_tx_frame ipw3945: disagrees about version of symbol ieee80211_is_valid_channel ipw3945: Unknown symbol ieee80211_is_valid_channel ipw3945: disagrees about version of symbol ieee80211_get_channel_flags ipw3945: Unknown symbol ieee80211_get_channel_flags ipw3945: disagrees about version of symbol alloc_ieee80211 ipw3945: Unknown symbol alloc_ieee80211 ACPI: PCI Interrupt :00:1f.3[B] - GSI 19 (level, low) - IRQ 19 sdhci: Secure Digital Host Controller Interface driver, 0.12 sdhci: Copyright(c) Pierre Ossman sdhci: SDHCI controller found at :08:06.3 [104c:803c] (rev 0) ACPI: PCI Interrupt :08:06.3[D] - GSI 20 (level, low) - IRQ 21 mmc0: SDHCI at 0xd0007800 irq 21 PIO iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1 .2.26ks iwl3945: Copyright(c) 2003-2008 Intel Corporation ACPI: PCI
Re: wireless card problem
Hi Kashif, Please find below a script that provides a solution from which you can be inspired. I thought I posted it in April 2008, but it seems it went into spam instead! The solution considers only 64-bit and 128-bit WEP encryption. I had since not been able to look for the solutions for WPA and WPA-PSK. For that it seems one has to fiddle with the wpa_supplicant services daemon which basically crashes on my laptop (HP Pavilion 5000 running SL50) and the HOWTO documents seem to suggest the appropriate driver for my wireless card is *not* available. Note that the default gateway may be on the wrong ethernet device. Specifically, when running this script from within /etc/rc.local, the default gateway will not be through the wireless card because the wireless card will then be activated at the end of the boot process. Simply deactivate then reactivate the device from system-config-network, allow all users to reactivate the devices, etc. Also, you can use, e.g., # /sbin/route del default ; remove default gateway # /sbin/route add default gw 192.168.10.1 eth1 ; create new default to set the default gateway to wireless device (eth1 here) with IP address 192.168.10.1 Hope the above helps. William. [start of script]--- # This script is just to activate wireless connection for the # TrendNet TEW-432BRP Wireless Router to the on the # HP Pavilion 5000 laptop (dv5250ca). The laptop interface is # the: Intel Corporation PRO/Wireless 3945ABG Network Connection # # This script is called from /etc/rc.local at boot time, where the # filename of the script *manually* inserted. # # The wireless router can be used if the laptop is given a fixed # IP address. For this to happen, the ipw3945d service (driver) has # to be activated so that the wireless connection is associated with # the eth1 interface (or whichever). (From HOWTO documents this is # done to meet an FCC legal requirement that a user must not be able # to give unlawful values to certain wireless connectivity parameters. # The ipw3945d daemon -- issued in binary only -- encapsulates sofware # that can change certain wireless connectivity parameters into # unlawful values, had the user had access to the source code.) # eth0 is associated with the wired network interface. # 1) activate the ipw3945d daemon # NOTE: The ipw3945d service must have been activated for eth1 to be seen. # this need be done only once either from system-config-services graphical # interface by using chkconfig as following: # add service for mgt by chkconfig, if not already there # # # /sbin/chkconfig --add ipw3945d # # activate service for [at least] runlevels 3 (command line) and 5 (graphics). # # /sbin/chkconfig --levels 35 ipw3945d on # 2) configure the ethernet device. This can be done before step 3 below # NOTE: It is not yet known how to use an IP from the router's DHCP, # since eth1 would not be up by then. /sbin/ifconfig eth1 192.168.1.4 up # 3) wireless configuration. This can be done before step 2 above # give eth1 an SSID (wlanName), and automatically adjust bit rate (rate) and # transmission power (txpower). /sbin/iwconfig eth1 essid wlanName rate auto txpower auto # give the wireless key in ASCII (s:) and make it shared (restricted) # NOTE 1: password on command line is insecure as it may appear, say, # in ps command. # NOTE 2: The encryption schem is WEP (Wired Equivalent Protection) # which is notknown to be secure. For a 128-bit WEP encryption, supply # a key of 12 ASCII characters (Windows XP may insist on 16 characters). # Fewer (5 to 8?) may provide a 64-bit WEP encryption. # NOTE 3: The router also provides WPA and WPA-PSK encryption, but # iwconfig does not yet handle passphrases, and hence(?) them. /sbin/iwconfig eth1 key restricted s: [end of script]--- --- On Mon, 7/21/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] [EMAIL PROTECTED] Subject: wireless card problem To: [EMAIL PROTECTED] Date: Monday, July 21, 2008, 11:32 AM Hi All I have installed SL 5 with dual booting on my Acer Aspire 4710 laptop. In Window Vista my wireless network is working fine.It is showing Intel(R) PRO/Wireless 3945BG wireless card. But in linux platform when I try to activate wireless network through network configuration panel it give this error 3c501 device eth1 does not seem to be present, delaying initialization. please suggest that how to proceed to troubleshoot the problem Thanks Kashif
Re: use of wireless router that issues DHCP IP addresses
--- John Summerfield [EMAIL PROTECTED] wrote: William Shu wrote: Hi, I have 3 issues related with using my wireless router, and making sure changes take effect at boot time. ISSUE 1: Obtaining DHCP from router My wireless router can be used if my machine (an hp pavillion 5000 series laptop) is given a fixed IP address. For this to happen, the ipW3945d service (driver) has to be activated so that the wireless connection is associated with the eth1 interface. (From the HOWTO's this is done so that sofware that can change certain wireless connectivity parameters into unlawful values cannot be tampered with by a user, which is an FCC legal requirement) eth0 is associated with the wired network interface. My router may issue DHCP IP addresses, but I cannot use the wireless connection because I would need the issued IP address to configure the eth1 interface needed for the connection! Unfortunately, the router cannot issue both fixed and DHCP IP addresses at the same time! Furthermore, the accepted address range set for the router need not be known by the user, who need not have root/admin access. QUESTION: How can I configure my eth1 interface so that it can get a DHCP IP address from the router? What brand/model of wireless router? I failed to get a dlink working, though I've had n problems with Apple's airports or a linksys. The router is a TRENDnet TEW432BRP (I closed the former thread direct network cable connection between two SL5 machines to start this thread of limited scope -- hope the correct course of action! -- but it seems the mail got corrupted/never got through. I now hope to give one final feedback to close both threads!) I don't use the builtin dhcp server, but I do use dhcp. Any hints? The problem, as I understand it, is that system-config-network does not see the eth1 interface until it has an IP address and so I cannot even configure it to accept dhcp, the same way eth0 can be configured. This explains why I had to use the individual commands /sbin/iwconfig and /sbin/ifconfig on the command line. ISSUE 2: Adding configuration start-up commands at boot time The following are actually more of linux boot-related questions: I used /sbin/chkconfig to start the ipw3945d service at boot time. However, the initialisation commands # /sbin/iwconfig eth1 essid doit1wlan channel 6 rate auto txpower auto I would not specify the channel on a client. Okay, I will remove the channel and try it out again. # /sbin/iwconfig eth1 key open s:x what's that work open? key is supposed to be followed immediately by the key. From iwconfig man page, it seems security has two modes: open vs restricted; I did try all options, including no option. Restricted seems to be the same thing as what is termed shared on the Trendnet. Moreover, I read somewhere (can't give reference) that if the network is open, then the WEP encryption security will be guaranteed both in the wireless and wired segment of the LAN. I'm afraid I just dabble in all these, following the man pages and any other documentation available, and the above parameters are combinations that ended up working!. # /sbin/ifconfig eth1 up 192.168.110 which are used to configure the device are lost. QUESTION: How should I save these commands so that they are automatically executed at time? (.bashrc does not seem right!) If you use RH's configuration tools, it should all work. The information's stored in /etc/sysconfig/network-scripts and it's possible to edit the files with a little vim, but I prefer to see something to work on. As explained above, system-config-network does *not* see the eth1 interface. I feel slightly un-nerved editing files in the /etc/sysconfig/network-scripts. Are they not automatically generated? Or should I just create a shell script and add to the directory? ISSUE 3: Controlling Services across sessions Sometimes, when my laptop runs out of power and shuts down, the subsequent reboot restart or resume some of the programs (processes) that were running before. This does not happen when I shutdown the system. I have deleted the processes from the current session services, but they still re-appear on subsequent boots. (such processes seem to be hvve unusual names, id's or directory paths appended/prepended to them). I think at one time in the distant past, pm-hibernate or pm-suspend had been called. If the system hibernates, then it should resume to the same state it was in before. By definition. QUESTION 1: How can I turn this on or off -- at my discretion? I have in the past had success setting my choices in KDE I am on gnome. What commands are actually given? Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now
use of wireless router that issues DHCP IP addresses
Hi, I have 3 issues related with using my wireless router, and making sure changes take effect at boot time. ISSUE 1: Obtaining DHCP from router My wireless router can be used if my machine (an hp pavillion 5000 series laptop) is given a fixed IP address. For this to happen, the ipW3945d service (driver) has to be activated so that the wireless connection is associated with the eth1 interface. (From the HOWTO's this is done so that sofware that can change certain wireless connectivity parameters into unlawful values cannot be tampered with by a user, which is an FCC legal requirement) eth0 is associated with the wired network interface. My router may issue DHCP IP addresses, but I cannot use the wireless connection because I would need the issued IP address to configure the eth1 interface needed for the connection! Unfortunately, the router cannot issue both fixed and DHCP IP addresses at the same time! Furthermore, the accepted address range set for the router need not be known by the user, who need not have root/admin access. QUESTION: How can I configure my eth1 interface so that it can get a DHCP IP address from the router? ISSUE 2: Adding configuration start-up commands at boot time The following are actually more of linux boot-related questions: I used /sbin/chkconfig to start the ipw3945d service at boot time. However, the initialisation commands # /sbin/iwconfig eth1 essid doit1wlan channel 6 rate auto txpower auto # /sbin/iwconfig eth1 key open s:x # /sbin/ifconfig eth1 up 192.168.110 which are used to configure the device are lost. QUESTION: How should I save these commands so that they are automatically executed at time? (.bashrc does not seem right!) ISSUE 3: Controlling Services across sessions Sometimes, when my laptop runs out of power and shuts down, the subsequent reboot restart or resume some of the programs (processes) that were running before. This does not happen when I shutdown the system. I have deleted the processes from the current session services, but they still re-appear on subsequent boots. (such processes seem to be hvve unusual names, id's or directory paths appended/prepended to them). I think at one time in the distant past, pm-hibernate or pm-suspend had been called. QUESTION 1: How can I turn this on or off -- at my discretion? QUESTION 2: Which services can be controlled this way? openOffice.org 2.0 and file-roller seem to behave this way, but not emacs. Does anyone have an experience that will help? William Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
RE: direct network cable connection between two SL5 machines
Dear Jim, Yes, when using the crossover cable, the gateway is not needed. Barring prior internet connections in the machine's distant past, I have no clue how the gateways may have been obtained. All I recognise is that from /sbin/route -n -v, doit is alias for 192.168.0.1, as found in /etc/hosts. I am yet to look at gateway-related issues when I focus on installing the wireless router. Then, I will try out the suggestions. However, the thorny question now is why does one or the other of the network cards on the machine not work. This happens whether or not the cards have different or identical IP addresses! (It seems to be a chance game!) Decoding the output of /sbin/ifconfig -a is not yet obvious to me! William. --- Jim McCarthy [EMAIL PROTECTED] wrote: William -- You wrote: Dear all, I finally got the connection over the crossover cable! For reasons that are beyond me, one of the two network cards (on the desktop machine) becomes inactive shortly after activation under system-network-config. After permuting IP addresses and network cards, I finally got it working! I am not sure if I had a configuration problem on the cards or one of them is bad/unstable. However, since I also have Redhat 9.0 on the machine, I am yet to secure an old card (that is known to work under RH9) in order to find out. Nonetheless, I would appreciate if anyone could let me know if the above solution/problem could have been detected by interpreting the /sbin/ifconfig -a and /sbin/route -v outputs. For the router question, I will give feedback once I turn my attention to it. Many thanks to all for the assistance. William. I'm just catching up on this thread sorry if this is old news. In reviewing your output from /sbin/route on machine tinys150: [EMAIL PROTECTED] wss]# /sbin/route -v Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.0.0 *255.255.255.0 U 00 0 eth0 169.254.0.0 *255.255.0.0U 00 0 eth0 default doit 0.0.0.0UG 00 0 eth0 ...the gateway doit for the default route looks out-of-place, since with a direct network cable connectionn between two SL5 machines, you do not have Domain Name Service (DNS) to identify an IP address (192.168.0.3) with the name doit. Hence I might suggest you try on tiny150: % /sbin/route del default % /sbin/route add default gw 192.168.0.3 eth0 % /sbin/route -v and likewise on hps150 try: % /sbin/route del default % /sbin/route add default gw 192.168.0.1 eth0 % /sbin/route -v ... and in the -v output, check that each machine is configured so that the other machine is its default gateway. Maybe this will help ensure that the two machines communicate reliably via the cross-over network cable ? Good luck, -- Jim McCarthy __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: direct network cable connection between two SL5 machines
snip QUESTION 1: How should I go about having the desired peer-to-peer connection, without trying to use an Internet Service Provider, or start managing a local area network. I understand linux is a network operating system and so nothing special needs to be done. That is, the desired service (ftp, ssh, etc) is requested and used, if it is set up on both machines. If you are connected with a crossover-cable (or have a network card that support crossover simulation), you have to only setup IP addresses of the same local vlan. For example 192.168.0.1 for your desktop interface and 192.168.0.2 for your laptop. You should be able to ping each other without having a route. Yes, this is what I think I did. Later, I will verify the connection. I have now got the details of: route -v and: /sbin/ifconfig -a on both machines. I notice there is a destination, 169.254.0.0, (under route -v) that I do not remember ever using! Dear all, I finally got the connection over the crossover cable! For reasons that are beyond me, one of the two network cards (on the desktop machine) becomes inactive shortly after activation under system-network-config. After permuting IP addresses and network cards, I finally got it working! I am not sure if I had a configuration problem on the cards or one of them is bad/unstable. However, since I also have Redhat 9.0 on the machine, I am yet to secure an old card (that is known to work under RH9) in order to find out. Nonetheless, I would appreciate if anyone could let me know if the above solution/problem could have been detected by interpreting the /sbin/ifconfig -a and /sbin/route -v outputs. For the router question, I will give feedback once I turn my attention to it. Many thanks to all for the assistance. William. snip You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. http://tc.deals.yahoo.com/tc/blockbuster/text5.com
Re: direct network cable connection between two SL5 machines
--- William Shu [EMAIL PROTECTED] wrote: --- Marek Mahut [EMAIL PROTECTED] wrote: Hello William, William Shu wrote: Hi, I have secured a network cable (rj45 heads) to link a laptop directly to a desktop machine which has *no* access to a network. The desktop has TWO network cards and an rj11 socket (for telephone). The heads of the network cable have been rewired so that a switch or hub is *not* used. The technician tested the cable by pinging between 2 Windows XP machines, but knows nothing of linux and unix-based machines. Unfortunately, when I do a ping from laptop to desktop or vice-versa, I get the message Destination Host Unreachable (See sample output below). (I know next to nothing about networks and so I hope the questions below still make sense!) QUESTION 1: How should I go about having the desired peer-to-peer connection, without trying to use an Internet Service Provider, or start managing a local area network. I understand linux is a network operating system and so nothing special needs to be done. That is, the desired service (ftp, ssh, etc) is requested and used, if it is set up on both machines. If you are connected with a crossover-cable (or have a network card that support crossover simulation), you have to only setup IP addresses of the same local vlan. For example 192.168.0.1 for your desktop interface and 192.168.0.2 for your laptop. You should be able to ping each other without having a route. Yes, this is what I think I did. Later, I will verify the connection. I have now got the details of: route -v and: /sbin/ifconfig -a on both machines. I notice there is a destination, 169.254.0.0, (under route -v) that I do not remember ever using! [ Details on machine tiny: ] === Statically set IP addresses on [desktop] tiny (found under the General tab of system-config-network): Address: 192.168.0.1 Subnet mask: 255.255.255.0 Default Gateway address: 192.168.0.1 [EMAIL PROTECTED] wss]# /sbin/route -v Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface [EMAIL PROTECTED] wss]# /sbin/route -v Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.0.0 * 255.255.255.0 U 0 0 0 eth0 169.254.0.0 * 255.255.0.0 U 0 0 0 eth0 default doit0.0.0.0 UG0 0 0 eth0 [EMAIL PROTECTED] wss]# /sbin/ifconfig -a eth0 Link encap:Ethernet HWaddr 00:50:DA:5D:77:A6 inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::250:daff:fe5d:77a6/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:34 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:8155 (7.9 KiB) eth1 Link encap:Ethernet HWaddr 00:0E:2E:2F:C8:B7 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:35 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:8165 (7.9 KiB) Interrupt:9 Base address:0xaf00 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2761 errors:0 dropped:0 overruns:0 frame:0 TX packets:2761 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:4050484 (3.8 MiB) TX bytes:4050484 (3.8 MiB) peth0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF UP BROADCAST NOARP MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 [EMAIL PROTECTED] wss]# ping 192.198.0.3 PING 192.198.0.3 (192.198.0.3) 56(84) bytes of data. From 192.168.0.1 icmp_seq=2 Destination Host Unreachable From 192.168.0.1 icmp_seq=3 Destination Host Unreachable From ons:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:5 Base address:0x6e80 sit0 Link encap:IPv6-in-IPv4 NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) veth1 Link encap:Ethernet HWaddr 00:00:00:00:00:00 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier
How to enable/disable/control touch-sensitive mouse hibernation
Hi, The built-in (synaptic) mouse on my laptop (HP Pavilion dv5000 series) is rather too sensitive to touch, and so moves the cursor or changes windows erratically on slight/unintended touch. How can I: (a) control the sensitivno gpg, etc.ity? (b) disable/enable the mouse as desired? B) How can I make use of the hibernation facility: to hibernate and then resume work were I left. I use SL 5.0 with the security kernel. Thanks, william. Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
Re: How do I perform manual or automatic mounts/accesses/repairs of hardisk/devices on SL 5.0
- Original Message From: Jon Peatfield [EMAIL PROTECTED] To: William Shu [EMAIL PROTECTED] Cc: Troy Dawson [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, September 7, 2007 1:04:25 AM Subject: Re: How do I perform manual or automatic mounts/accesses/repairs of hardisk/devices on SL 5.0 ... Question: why was the partition /dev/sda6 not automatically reduced in size, when the the physical volume was reduced? Do I manually reduce the partition to create the free space? Some of the interactions follow: snip use of pvresize Because pvresize just alters the amount of space that LVM is allowed to use. The pvresize manpage says: Shrink the PV on /dev/sda1 prior to shrinking the partition with fdisk (ensure that the PV size is appropriate for your intended new partition size): Altering the pv-size is an unusual operation. What are you actually trying to do? If you just wanted to move some of the space from one lv to another (in the same vg) then tools like system-config-lvm will let you do that (though shrinking can't be done while a filesystem is live)... Wanted to create space for a vfat partition (ntfs is too risky) which will thus enable me transfer data between linux and windows. ... [EMAIL PROTECTED] sluser]# mount -text3 /dev/sda6 /mnt/anchor# physical partition is sda6. mount:mounting /dev/sda6 failed: No such file or directory is lvm active at this point? What do you get from running: vgscan vgchange -tv -ay pvdisplay -c vgdisplay -c lvdisplay -c BTW the error I'd expect if the device doesn't exist is: mount: special device /dev/VolGroup00/LogVol00 does not exist or if the mount-point doesn't exist I'd expect something like: mount: mount point /mnt/anchor does not exist Was working with the SL 5.0 rescue CD. The above vg* lv* pv* commands seemed to provide the desired information, but since another soln path has been used, I will not try to hand-copy them. Q3) How do I perform a file system check with LVM partitions? I suspect I have a disk crash/bad sectors on my desktop but do not want to loose information. fsck does not work, presumably because of wrong file type, since I have to unmount the partition! Copy the raw disk/partitions off to somewhere safe before working on it if there is anything 'valuable' on the disk. If the disk does have bad sectors then a utility like ddrescue may be more helpful than plain dd. My worry here is that with lvm, you can no longer guarantee where information is found on the partition -- unless, perhaps, lvm is still in control!. While I have gotten yet another hard disk, and my immediate problem solved, I still want to be able to bypass lvm in the future, if need be. ... snip Q4) How can you control where you mount devices automatically (e.g., flash sticks)? The mountpoints are not indicated in /etc/fstab, and the config files (*.conf) of automount and autofs do not seem to tell me where! In short I do not understand how these or the hal (hardware abstraction layer) work! They get mounted in /media I'll let others expain how to figure that out. Is there some documentation that presents things in a coherent fashion. So far, I have drifted into finding out about udev, but things are just getting more elaborate! udev isn't really relevant except that it is involved in setting up the devices when 'hotplug' stuff happens. The magic keyword to look for is 'hal' (or 'hald'). The hald keeps track of hardware and presents APIs to access it (over d-bus I think). The shortish answer is that hal picks a mount-point based on info from the device or file-system. Most commonly it will pick the volume-label if the file-system has one (and it doesn't clash with an existing mount) and then uses that under /media/ Applications like gnome-volume-manager speak to hald (over d-bus) to get info about available devices and make requests to have things done (e.g. mount or umount volumes). In fact g-v-m calls gnome-mount which speaks to hal for it. From the command-line you can call gnome-mount directly if you want, e.g. I may use: gnome-mount -p JSPDATA and it mounts my usb-stick (which has the volume-label JSPDATA), under /media/JSPDATA/ and later I can say: gnome-mount --unmount -p JSPDATA to make it go away. If there isn't a suitable volume-label it probably uses something else and I'm sure it you can find out what by reading hal's .fdi files - ok I'm not really sure at all the behaviour might possibly be hard-wired... You can ask hal to mount in a different place (still under /media) and add mount options by adding extra options to the command-line: $ gnome-mount -p JSPDATA --mount-point ook $ df -hl| grep media /dev/sdb1 962M 4.3M 958M 1% /media/ook thanks for the explanations, which have been very helpful. However, I
Re: How do I perform manual or automatic mounts/accesses/repairs of hardisk/devices on SL 5.0
Thanks Troy, I've made progress, but still have outstanding issues, as explained below. ... media devices, given the logical volume management (LVM). (Also, I am not too technical, and just want my machine to work without destroying information!) Q1) How do I resize an LVM logical partition? and its underlying file system? ... Use system-config-lvm I used system-config-lvm in the SL 5.0 Live CD to change the logical volume from the live CD. I have successfully reduced the size of the physical volume. However, the partition size in question (/dev/sda6) does not seem to have been reduced. fdisk and parted do not find free space to create a new partition, and gparted (free-standing) still shows the old partition size. Question: why was the partition /dev/sda6 not automatically reduced in size, when the the physical volume was reduced? Do I manually reduce the partition to create the free space? Some of the interactions follow: [EMAIL PROTECTED] sluser]# lvm lvm pvresize --setphysicalvolumesize 63552M -vv /dev/sda6 Setting global/locking_type to 1 File-based locking selected. Setting global/locking_dir to /var/lock/lvm Using physical volume(s) on command line ... /dev/sda6: size is 151251912 sectors /dev/sda6: Pretending size is 130154496 not 151251912 sectors. Resizing physical volume /dev/sda6 from 2307 to 1985 extents. Resizing volume /dev/sda6 to 130154112 sectors. Updating physical volume /dev/sda6 Test mode: Skipping volume group backup. Unlocking /var/lock/lvm/V_VolGroup00 Physical volume /dev/sda6 changed 1 physical volume(s) resized / 0 physical volume(s) not resized Test mode: Wiping internal cache Wiping internal VG cache lvm [EMAIL PROTECTED] sluser]# /sbin/fdisk /dev/sda The number of cylinders for this disk is set to 14593. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) ... Command (m for help): n No free sectors available Command (m for help): ... Q2) How do I *manually* mount the Linux LVM file? From the rescue CD, the 'conventional' commands do not work, presumably because of wrong file type: # mount -text3 /dev/mapper/VolGroup00/LogVol00 /mnt/anchor # mount -text3 /dev/VolGroup00/LogVol00 /mnt/anchor # mount -text3 VolGroup00/LogVol00 /mnt/anchor # mount -text3 /dev/sda6 /mnt/anchor# physical partition is sda6. You aren't showing any error messages. It's hard to know what the error is, if you don't show the messages. I personally would do mount /dev/mapper/VolGroup00/LogVol00 /mnt/anchor [EMAIL PROTECTED] sluser]# mount -text3 /dev/mapper/VolGroup00/LogVol00 /mnt/anchor mount:mounting /dev/mapper/VolGroup00/LogVol00 failed: No such file or directory [EMAIL PROTECTED] sluser]# mount -text3 /dev/VolGroup00/LogVol00 /mnt/anchor mount:mounting /dev/VolGroup00/LogVol00 failed: No such file or directory [EMAIL PROTECTED] sluser]# mount -text3 VolGroup00/LogVol00 /mnt/anchor mount:mounting VolGroup00/LogVol00 failed: No such file or directory [EMAIL PROTECTED] sluser]# mount -text3 /dev/sda6 /mnt/anchor# physical partition is sda6. mount:mounting /dev/sda6 failed: No such file or directory Q3) How do I perform a file system check with LVM partitions? I suspect I have a disk crash/bad sectors on my desktop but do not want to loose information. fsck does not work, presumably because of wrong file type, since I have to unmount the partition! again, you aren't showing any error messages. fsck should work. I had messages similar to the one below for various devices tried. (the copy below is hand-copied (as I do not know how to copy the screen nor mount a flash stick when in rescue mode.) # e3fsck -fcvn /dev/VolGroup00/LogVol00 e3fsck: Command not found. # fsck -fcvn e2fsck 1.39 (29 May-2006) e2fsck: No such file or directory when to trying to open /dev/VolGroup00/LogVol00. The superblock could not be read or does not describe the correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with alternate superbloc: e2fsck -b 8193 device. Note: Doing an fsck on a corrupt file system does not bring data back. It might actually remove the data you want. Yes, but can help get rid of the od badblocks in crucial places. see further response below. Q4) How can you control where you mount devices automatically (e.g., flash sticks)? The mountpoints are not indicated in /etc/fstab, and the config files (*.conf) of automount and autofs do not seem to tell me where! In short I do not understand how these or the hal
How do I perform manual or automatic mounts/accesses/repairs of hardisk/devices on SL 5.0
Hi, I want to move over from Redhat 9.0 to Scientific Linux 5.0, (2.6.18-8.1.3.el5) on my laptop and desktop, but I am having some problems which essentially seem to be linked to access to harddrive or media devices, given the logical volume management (LVM). (Also, I am not too technical, and just want my machine to work without destroying information!) Q1) How do I resize an LVM logical partition? and its underlying file system? I have a logical volume on my harddrive, which I want ot reduce in size so as to make room for a new vfat partition. Unfortunately, the logical volume (/dev/VolGroup00/LogVol00), which contains the operating system, must be unmounted before I can use the graphical lvm facility on it! Using the SL 5.0 rescue CD, I decide to reduce it manually, after browsing the RedHat's Cluster_Logical Volume Management document. Commands given are [roughly]: sh-3.1# lvm lvm lvscan inactive '/dev/VolGroup00/LogVol00' [70.16 GB] inherit inactive '/dev/VolGroup00/LogVol01' [1.94 GB] inherit lvm lvchange -aly /dev/VolGroup00/LogVol00 lvm lvscan ACTIVE'/dev/VolGroup00/LogVol00' [70.16 GB] inherit inactive '/dev/VolGroup00/LogVol01' [1.94 GB] inherit lvm lvreduce --size -10G -r /dev/VolGroup00/LogVol00 fsadm: execlp failed: No such file or directory fsadm failed: 2 lvm The problem seems to be deficulties in resizing file systems (from the -r flag to lvreduce). Q2) How do I *manually* mount the Linux LVM file? From the rescue CD, the 'conventional' commands do not work, presumably because of wrong file type: # mount -text3 /dev/mapper/VolGroup00/LogVol00 /mnt/anchor # mount -text3 /dev/VolGroup00/LogVol00 /mnt/anchor # mount -text3 VolGroup00/LogVol00 /mnt/anchor # mount -text3 /dev/sda6 /mnt/anchor# physical partition is sda6. Q3) How do I perform a file system check with LVM partitions? I suspect I have a disk crash/bad sectors on my desktop but do not want to loose information. fsck does not work, presumably because of wrong file type, since I have to unmount the partition! Q4) How can you control where you mount devices automatically (e.g., flash sticks)? The mountpoints are not indicated in /etc/fstab, and the config files (*.conf) of automount and autofs do not seem to tell me where! In short I do not understand how these or the hal (hardware abstraction layer) work! Thanks in advance, William Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. http://farechase.yahoo.com/