[SOLVED!] agetty seems unable to ioctl() my serial device...?!
Hi. After much head-scratching as to the root of my serial cable issues (hint: if your serial cable works port-to-port on the same PC *and* shorting pins 2 and 3 for a loopback test both work, check that the ground line hasn't helpfully disconnected itself while you weren't looking!), I can successfully open minicom on my two PCs and typing etc works great.
Obvious next step = agetty. Or not...!
After agetty repeated inexplicably closed 3 or 4 times regardless of what options I passed it I got suss and ran it through strace. After I finally read through *all* of strace's output, well, I figured out the problem, but I can't for the life of me figure out WHY it's happening. O.o
Here are the confusing bits; the full output is at http://pastebin.com/jPQvzKEa
chown32("/dev/ttyS0", 0, 5) = 0
chmod("/dev/ttyS0", 0660) = 0
open("/dev/ttyS0", O_RDWR|O_NOCTTY|O_NONBLOCK|O_LARGEFILE) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B1200 -opost -isig -icanon -echo ...}) = 0
fstat64(3, {st_mode=S_IFCHR|0660, st_rdev=makedev(4, 64), ...}) = 0
ioctl(3, TIOCGSID, 0xbfb32d18) = -1 ENOTTY (Inappropriate ioctl for device)
ioctl(3, TIOCSCTTY) = -1 EPERM (Operation not permitted)
nanosleep({10, 0}, 0xbfb32cf4) = 0
I'm... running agetty as root. I don't get it.
The nanosleep comes in at pretty much the end of the output; agetty pauses, *regardless* of what I run, for 10 seconds, then quits with return code 1 (ie, an error). My agetty is from util-linux 2.20.1, the latest.
This has me absolutely stumped. I have absolutely no idea where to go next. Help much appreciated!
-i336
Last edited by i336 (2011-11-05 08:50:36)
....for anyone who finds this, the Big Obvious Thing I Didn't Think I Needed To Do(TM) was actually put the agetty line in /etc/inittab.
I was running it from a console (an xterm, actually).
-i336
Last edited by i336 (2011-11-05 08:51:39)
Similar Messages
-
[SOLVED] GStreamer was unable to detect any sound devices
In my experiments to get the headphone jack working my my Mac Pro, I have managed to break the audio system. That's often the result of experimenting towards solving a problem.
I get this error when attempting to open the audio mixer panel.
"GStreamer was unable to detect and sound devices. Some sound system specific GStreamer packages may be missing. It may also be a permissions problem."
I suspect that the audio drivers have been corrupted during my experiments. How do I restore them?
Last edited by AnalogKid (2015-03-22 16:01:50)Solved with
pacman -S linux -
I purchased a disk copy of CS6 Design and Web Premium from a reputable seller last week and when I try to install it with the serial number I got it says "We are unable to validate this serial number for CS6 Design and Web Premium. Please contact Customer Support." What is the reason for this?
Is the serial number invalid?Hi Ned,
Thanks for the suggestion. I eventually got in touch with Adobe Technical Support and it turned out that my Adobe Application Manager was not the latest version. They downloaded the latest version and installed it and that seemed to solve the problem. I was able to install my CS6 Creative Suite and validate the serial number. All seems to be going well at the moment. -
"-unable to validate this serial number-" – Moving CS6 software to new employee
We just had a member of our team leave for a new job who we had upgraded from CS6 to CC a few months ago. We've been trying to install his "old" copy of CS6 on a new employee's machine using their (new) company Adobe ID but when entering the serial number during installation we get the following message:
"We are unable to validate this serial number for CS6 Design and Web Premium. Please contact Customer Support."
Trouble is, when going through CS6 CS there doesn't seem to be any direct contact for CS (no phone, no chat). Is the serial number still tied to his work Adobe ID? If so, how can we deactivate that so as to re-open the license for a fresh install?As far as I know (I do not work for Adobe) a serial number is "tied" to the person who activated it... so you are going to need to DE-activate by logging in on the old computer with the old ID
Then, to use that serial number with a new person, I **think** you will need to do a license transfer (you may be able to just activate with a new ID, but I really don't know)
License Transfer https://forums.adobe.com/thread/1355892 -
I'm getting this message " We are unable to validate this serial number for Lightroom . Please contact Customer Support " when installing on my Mac
contact adobe support by clicking this link and then clicking 'still need help' as soon as it appears, https://helpx.adobe.com/contact.html
-
I bought the CS6 Design Standard student and teacher edition over amazon. I activated the product on my adobe account and got a serial number. But when I install the package and enter the serial number I a message saying "We are unable to validate this serial number for Creative Suit 6 Design Standard. Please contact Customer Support."
Does anyone know what is up with this? I am sure that the problem isn't anything along the lines of making mistakes when typing in the serial (tried it multiple times, used copy paste to reduce chance of error). It's also not any problem with me lacking an internet connection adobe to validate the serial.Serial number questions can't be handled on the forums. You'll need to talk to Customer Support either by phone or web chat.
http://helpx.adobe.com/contact.html -
I reinstalled operating system software on my MacBook Air (Yosemite 10.10.3) and tried reinstalling Adobe Acrobat 9 Pro. I was able to install the software into my Applications folder but I was unable to enter the serial number or go any further with the installation. When I click on the Adobe Acrobat icon in the Applications folder, nothing happens.
Hi Tom,
kindly check the System requirements | Acrobat family of products—older versions (XI, X, 9)
For serial number message try:
Error "Invalid serial number" | Acrobat 9 | CS4
Thanks,
Atul Saini -
I got this error message when I want to activate the CS6. The error message is "We are unable to validate this serial number for CS6 Design and web Premium. Please contact "Customer Support ""
Hi islandschool,
Please try the suggestion given in the link:- http://helpx.adobe.com/creative-suite/kb/unable-validate-serial-number-ccm.html
Regards,
Sarika -
I purchased a download version of Lightroom 6 from Amazon and when i write the license key number i'm getting this message " We are unable to validate this serial number for adobe Lightroom. Please contact Customer Support. "
contact adobe support by clicking this link and then clicking 'still need help' as soon as it appears, https://helpx.adobe.com/contact.html
-
I have a Mac. I purchased a adobe photoshop elements 12 program in a Sam's Club Store. When I tried to install it the program said We are unable to validate this serial number for adobe photoshop elements 12. Please I need your help as soon as possible to resolve this issue and then, use my purchased product.
then you are using the wrong number or there's a connection issue. your serial number is 6 groups of 4 numbers.
if that's not the problem, Sign in, activation, or connection errors | CS5.5 and later -
Few days before I brought one iphone 5 by second party and this phone make a unlock but it sometime have a cellular network most of time say no service can u solve this problem please and I put serial number it say this phone is replace can u help me for original serial number....
If Apple's service database says that your iPhone was replaced, then Apple will no longer provide any service for that phone.
First, get a new SIM from your cell carrier and see if that corrects the problem. If it does not, try the usual steps for addressing software problems: restart, reset, restore.
http://support.apple.com/kb/HT1430
http://support.apple.com/kb/HT1414
If you try restoring from a backup and that doesn't fix the problem, try restoring to factory settings and, if the problem goes away, then sync back your apps and content. You'll lose the app data and settings, but if the problem is due to a corrupt cache or settings file, restoring to factory settings should cure it.
If none of that helps, your device may have developed a hardware fault. Again, Apple will provide no service for it, so you will need to pay some independent repair shop to fix your iPhone.
Regards. -
Installation: hello, I am trying to install my adobe elements twelve. I have a serial number, which contains no letters (only numbers), from the box. I use a mac. When I try to install it, it says it's unable to validate my serial number. I have already checked the spelling. What should I do?
Does it begin with 1057? If not, it's a redemption code. In which case, see here:
Redemption Code Help
If it is a serial number, go to system preferences>security & privacy>firewall>firewall options and be sure that PSE is allowed to call out. -
I was running Lightroom 3.6 with the OS Windows XP (Sp3). The whole system crashed, I am unable to recover the serial number. I then upgraded my OS to Windows 7 (x64) and down loaded Lightroom 4.4, I wanted to buy a licence so I then upgraded to Lightroom 5, now when I try to register I am asked for the original licence/serial number. Where do I go from here??????
If you upgraded from 3.6 to 5 (you didn't indicate buying 4.4) then you will need the serial number from 3.6 in order to be able to use 5. If you did not keep a record of it there is a chance it might be available thru your Adobe account online, but if not, there is likely not much you can do except to return the upgrade and purchase a full version. Try contacting support using chat and explain your situation to see if they can help.
Serial number and activation chat support (non-CC)
http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )
If you did purchase 4.4 then that should be sufficient to use to activate 5.
I can never be sure what goes on with Lightroom, and the Adobe site (even when it works properly) makes finding information about products difficult these days so I am at a loss to confirm anything I say. -
HT1338 i am unable to get my serial number right after updating my logic pro
i am unable to get my serial number for pro logic right after updating the software
If you bought the boxed set of Logic Studio 2.0 which includes LP9, then you cannot download it. You must use the disks that came as part of the boxed set... to install from.
If you bought the App Store version of Logic Pro 9 then go to the Mac App Store App, Sign into the Store using the same Apple ID you used to purchase LP originally, look under the Purchase Tab and you shouldl find LP9 ready and waiting for you to download and install. -
my phone is locked, so I am unable to get the serial number or anything else---the store told me to go to Itunes, but it states that it's locked which I already know---how can I unlocked or go back to factory reset
If you have forgotten the passcode for your phone, see this support document. http://support.apple.com/kb/ht1212
Maybe you are looking for
-
my computer was restarted and now i want to connect and update my iphone with a new itunes. how do i do this without losing all my stuff on my iphone? i didnt get a chance to back my phone up before the comp crashed will i lose any of my stuff?
-
[SOLVED]OSSv4.1 and Firefox 3.5 video/audio tag
Was wondering if there is anyone else out there who is using OSS that has a problem where audio doesn't play in Firefox 3.5rc2 with html5's video tag. I'm not sure how to get this working. thanks Last edited by 10wattmindtrip (2009-06-23 16:55:25)
-
Command shortcut for Home/End not working
command (shortcuts) "Home" and "End" will not work for page I am on.
-
VBS Script to update Acrobat via SCCM (SMS)
I posted this on the wrong forum so I was sent over here... Good day everyone. So I found the following script and have tested it manually on a computer of computers, but somewhat failes via SCCM: Dim objShell, RegLocate Set objShell = WScript.Create
-
In Numbers '09, version 2.3 (554), how to I get spreadsheet gridlines to print out? I have a Macbook Pro and use OSX 10.9.4 Mavericks.