RE: [BUG][2.6.8.1] serial driver hangs SMP kernel, but not the UP kernel

From: Tim_T_Murphy
Date: Fri Oct 29 2004 - 16:17:37 EST



> Shouldn't 8250_pci setup the ports already for you? If not, what
needs
> to be done to achieve this. Using setserial to setup ports for PCI
cards
> isn't the preferred way of doing this.

good question, i will have to understand more to answer it though.
our product has used this method for almost 2 years now.

> At a guess, you've enabled "low latency" setting on this port ?

yes. here's a snippet from the script:

echo -n "Starting ${racsvc}: "
# set serial characteristics for RAC device
setserial /dev/${ttyid} \
port 0x${maddr} irq ${irqno} ^skip_test autoconfig
setserial /dev/${ttyid} \
uart 16550A low_latency baud_base 1382400 \
close_delay 0 closing_wait infinite
# now start pppd
/sbin/modprobe -q ppp >/dev/null 2>&1
/sbin/modprobe -q ppp_async >/dev/null 2>&1
daemon pppd call ${service}
RETVAL=$?

Thanks
Tim
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/