Hi all,

Having successfully installed the modem on my iMac running Mandrake 8, I 
have been playing around to try and improve the throughput as I've done of 
various PC's.  This involves changing the modem port speed via setserial.

Modem detects correctly on access, and dials in on /dev/ttyS0 via a script.

On startup:

PowerMac Z8530 serial driver version 2.0
tty00 at 0xc385b020 (irq = 15) is a Z8530 ESCC (internal modem)
tty01 at 0xc3896000 (irq = 16) is a Z8530 ESCC (IrDA)

Using setserial to access:

# setserial -a /dev/ttyS0

/dev/ttyS0, Line 0, UART: unknown, Port: 0xc388f020, IRQ: 15
         Baud_base: 0, close_delay: 50, divisor: 16
         closing_wait: 3000
         Flags: spd_normal

When I attempt to alter the speed, the programme gives a nasty error and 
locks the machine up solid.

Error as follows:

# setserial /dev/ttyS0 spd_hi

Oops: kernel access of bad area, sig: 11
<error traps>
TASK = c0d32000[1537] 'setserial' Last syscall: 54
<more error traps>

Obviously not a good sign.

Has anyone else had any problems using setserial, and can any suggestions 
or workarounds be suggested?  I've attempted to set a uart and other 
tricks, but each time I use setserial to change a setting, it locks the 
computer requiring reboot.

Damian.


Reply via email to