Re: serial problems

D.A. Harris (rodmur@ecst.csuchico.edu)
Wed, 10 Jun 1998 11:57:17 -0700


On Wed, Jun 10, 1998 at 11:45:04AM +0001, Etienne Lorrain wrote:
> What is the result of "strace setserial <your parameter>" ?

Mine is pretty much the same as the others:

execve("/sbin/setserial", ["setserial", "-bv", "/dev/ttyS4", "uart", "16650", "port", "0x02f0", "irq", "15", "spd_vhi", "^fourport"], [/* 27 vars */]) = 0
brk(0) = 0x804ca20
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 4
fstat(4, {st_mode=0, st_size=0, ...}) = 0
mmap(0, 7757, PROT_READ, MAP_PRIVATE, 4, 0) = 0x4000c000
close(4) = 0
open("/lib/libc.so.6", O_RDONLY) = 4
mmap(0, 4096, PROT_READ, MAP_PRIVATE, 4, 0) = 0x4000e000
munmap(0x4000e000, 4096) = 0
mmap(0, 653052, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4000e000
mprotect(0x4009b000, 75516, PROT_NONE) = 0
mmap(0x4009b000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x8c000) = 0x4009b000
mmap(0x400a2000, 46844, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x400a2000
close(4) = 0
personality(PER_LINUX) = 0
getpid() = 87
open("/dev/ttyS4", O_RDWR|O_NONBLOCK) = 4
ioctl(4, TIOCGSERIAL, 0xbffff9f0) = 0
ioctl(4, TIOCSSERIAL, 0xbffff9b4) = -1 EINVAL (Invalid argument)
write(2, "Cannot set serial info: Invalid "..., 41) = 41
_exit(1) = ?

> Are the failing ports software PNP modem ?

Not using any PNP, not configured.

> Is serial compiled as module (".config" serial related lines) ?

No.

CONFIG_SERIAL=y
CONFIG_SERIAL_CONSOLE=y
CONFIG_SERIAL_EXTENDED=y
CONFIG_SERIAL_MANY_PORTS=y

> What is your hardware (Intel UP/SMP) ?

Intel Pentium 200MMX, UP.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dale Harris  <rodmur@csuchico.edu>   PGP KeyID: E26EC5FD      
http://www.ecst.csuchico.edu/~rodmur/
|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu