* permission problem
@ 2004-11-20 14:26 joy merwin monteiro
2004-11-20 16:42 ` Jan Wagemakers
0 siblings, 1 reply; 5+ messages in thread
From: joy merwin monteiro @ 2004-11-20 14:26 UTC (permalink / raw)
To: linux-assembly
[-- Attachment #1: Type: text/plain, Size: 429 bytes --]
Hi,
wantdd to write something to the parallel port
"windows style" but am getting a seg fault on the "out"
instruction.
any pointers?
any easy stuff on this i/o port programming in assembly available on
the net (tutorials, I mean)
I'm using nasm for assembling.
thanks in advance,
Joy.M.Monteiro
--
people always turn away,
from the eyes of a stranger...
Afraid to know
what lies behind the stare.......
--QueensRyche
[-- Attachment #2: parport.s --]
[-- Type: application/octet-stream, Size: 164 bytes --]
section .text
global _start
port equ 0x378
stat equ port+1
ctrl equ port+2
_start:
mov dx,port
mov al,0xff
out dx,al
mov eax,1
int 0x80
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: permission problem
2004-11-20 14:26 permission problem joy merwin monteiro
@ 2004-11-20 16:42 ` Jan Wagemakers
0 siblings, 0 replies; 5+ messages in thread
From: Jan Wagemakers @ 2004-11-20 16:42 UTC (permalink / raw)
To: linux-assembly
joy merwin monteiro <joy.merwin@gmail.com> schreef:
> wantdd to write something to the parallel port
> "windows style" but am getting a seg fault on the "out"
> instruction.
Before you can write something to a port you need to get "ioperm". Type
'man ioperm' for more information.
You can find some example-programs that use "ioperm" at
<http://www.janw.easynet.be/eng.html>.
Also, at <http://www.janw.easynet.be/koffie.html>, I have an example-program
that writes to port 0x310. This webpage is in the Dutch language and is
using the at&t-syntax - so maybe a little difficult to read - but hopefully
not to difficult to get the picture ;-)
Also remember to run programs that use ioperm as 'suid-root' (chown root prg
; chmod 4750 prg), or you will stil get a segmentation fault.
Hope this helps you.
--
Met vriendelijke groetjes - Jan Wagemakers -
... RFS: picprog: Microchip PIC serial programmer software (GPL)
Deb-package is available at <http://www.janw.easynet.be/picprog.html>
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: permission problem
@ 2002-09-13 23:08 Daniel Barbar
0 siblings, 0 replies; 5+ messages in thread
From: Daniel Barbar @ 2002-09-13 23:08 UTC (permalink / raw)
To: 'Da Saint'; +Cc: nfs
[-- Attachment #1: Type: text/plain, Size: 1220 bytes --]
Shahab,
I've never used it so I'm not sure it can solve your problem, but
Microsoft offers an NFS client with their Microsoft Services for Unix
package (which I believe comes with MSDN). I'd expect that to match the Unix
file permissions to the NT format.
Hope this helps. Regards,
---
Daniel Barbar
-----Original Message-----
From: Da Saint [mailto:da_saint@mail.com]
Sent: Friday, September 13, 2002 3:59 PM
To: nfs@lists.sourceforge.net
Subject: [NFS] permission problem
Hi folks,
I have got a problem with migrating files from Solaris server to Windows 2k
Server. Problem is there is no way I can inherit permission of unix files on
windows 2k. I tried Samba client, Veritas Netbackup, Tar..etc
Let me know, if someone knows any thing about it.
Thanks,
Shahab
--
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
[-- Attachment #2: Type: text/html, Size: 2582 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* permission problem
@ 2002-09-13 22:59 Da Saint
0 siblings, 0 replies; 5+ messages in thread
From: Da Saint @ 2002-09-13 22:59 UTC (permalink / raw)
To: nfs
Hi folks,
I have got a problem with migrating files from Solaris server to Windows 2k Server. Problem is there is no way I can inherit permission of unix files on windows 2k. I tried Samba client, Veritas Netbackup, Tar..etc
Let me know, if someone knows any thing about it.
Thanks,
Shahab
--
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 5+ messages in thread
* permission problem
@ 2002-09-13 22:59 Da Saint
0 siblings, 0 replies; 5+ messages in thread
From: Da Saint @ 2002-09-13 22:59 UTC (permalink / raw)
To: nfs
Hi folks,
I have got a problem with migrating files from Solaris server to Windows 2k Server. Problem is there is no way I can inherit permission of unix files on windows 2k. I tried Samba client, Veritas Netbackup, Tar..etc
Let me know, if someone knows any thing about it.
Thanks,
Shahab
--
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-11-20 16:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-20 14:26 permission problem joy merwin monteiro
2004-11-20 16:42 ` Jan Wagemakers
-- strict thread matches above, loose matches on Subject: below --
2002-09-13 23:08 Daniel Barbar
2002-09-13 22:59 Da Saint
2002-09-13 22:59 Da Saint
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.