After googling around the web and contemplating recompiling the kernel (and kicking the crap out of the PC) I finally noticed a forum, regarding a Xen kernel, where it mentions that one should not start its console because it would conflict with serial_cs. I knew the Gutsy version recognised the card because that was why I overwrote my Edgy version when using the liveCD. The frustrating thing was that after installation Ubuntu Gutsy was never able to recognise the card again. Even the liveCD!
After noticing the forum discussion it thought I'd give it a go. Got nothing to lose anyways.
I looked at the messages log and noticed:
Apr 25 14:47:52 macpower kernel: [ 67.488926] PCI: Enabling device 0001:10:12.0 (0004 -> 0006)
Apr 25 14:47:52 macpower kernel: [ 69.385802] pmac_zilog: 0.6 (Benjamin Herrenschmidt
Apr 25 14:47:52 macpower kernel: [ 69.385903] ttyS0 at MMIO 0x80013020 (irq = 22) is a Z85c30 ESCC - Serial port
Apr 25 14:47:52 macpower kernel: [ 69.386232] ttyS1 at MMIO 0x80013000 (irq = 23) is a Z85c30 ESCC - Serial port
Apr 25 14:47:52 macpower kernel: [ 70.040975] pccard: PCMCIA card inserted into slot 0
Apr 25 14:47:52 macpower kernel: [ 70.340953] cs: memory probe 0x80000000-0xafffffff: excluding 0x80000000-0x807fffff 0x90000000-0xa07fffff
Apr 25 14:47:52 macpower kernel: [ 70.386534] cs: memory probe 0xf3000000-0xf3ffffff: excluding 0xf3000000-0xf33fffff
Apr 25 14:47:52 macpower kernel: [ 70.538273] pcmcia: registering new device pcmcia0.0
Apr 25 14:47:52 macpower kernel: [ 70.538487] pcmcia: registering new device pcmcia0.1
Apr 25 14:47:52 macpower kernel: [ 71.022916] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
Apr 25 14:47:52 macpower kernel: [ 71.166315] serial_cs: Unknown symbol serial8250_unregister_port
Apr 25 14:47:52 macpower kernel: [ 71.166653] serial_cs: Unknown symbol serial8250_resume_port
Apr 25 14:47:52 macpower kernel: [ 71.166806] serial_cs: Unknown symbol serial8250_register_port
Apr 25 14:47:52 macpower kernel: [ 71.166968] serial_cs: Unknown symbol serial8250_suspend_port
Apr 25 14:47:52 macpower kernel: [ 71.177218] snd-aoa-fabric-layout: found bus with layout 51
Apr 25 14:47:52 macpower kernel: [ 71.221263] snd-aoa-fabric-layout: can use this codec
Apr 25 14:47:52 macpower kernel: [ 71.231547] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
Apr 25 14:47:52 macpower kernel: [ 71.246667] serial_cs: Unknown symbol serial8250_unregister_port
Apr 25 14:47:52 macpower kernel: [ 71.247003] serial_cs: Unknown symbol serial8250_resume_port
Apr 25 14:47:52 macpower kernel: [ 71.247159] serial_cs: Unknown symbol serial8250_register_port
Apr 25 14:47:52 macpower kernel: [ 71.247322] serial_cs: Unknown symbol serial8250_suspend_port
See how pmac_zilog uses /dev/ttyS0 and ttyS1. Since it has used the ports lets remove it:
rmmod pmac_zilog
The ttyS0 and ttyS1 should now be unused.
Now:
modprobe serial_cs
Logs:
Apr 28 13:30:41 macpower kernel: [ 435.356029] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
Apr 28 13:30:41 macpower kernel: [ 435.384928] pcmcia: request for exclusive IRQ could not be fulfilled.
Apr 28 13:30:41 macpower kernel: [ 435.384941] pcmcia: the driver needs updating to supported shared IRQ lines.
Apr 28 13:30:41 macpower kernel: [ 435.426154] 0.0: ttyS0 at I/O 0x3f8 (irq = 53) is a 16550A
WooHoo. It worked. All I had to do was set up my chatscript and ppp.
No serial...never mind as long as I have my net. :)
debug
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/celcom"
usepeerdns
/dev/ttyS0 115200
defaultroute
crtscts
lcp-echo-failure 0
includes the first newline
TIMEOUT 35
ECHO ON
ABORT '\nBUSY\r'
ABORT '\nERROR\r'
ABORT '\nNO ANSWER\r'
ABORT '\nNO CARRIER\r'
ABORT '\nNO DIALTONE\r'
ABORT '\nRINGING\r\n\r\nRINGING\r'
'' \rAT
OK 'AT+CGDCONT=1,"IP","celcom3g","",0,0'
OK ATD*99***1#
CONNECT ""
