[GNUz] Voyage ppp-off

Rik Tindall gnuz@inode.co.nz
Fri, 26 May 2006 21:55:37 +1200


> Nick Rout wrote:
> 
>> what driver does your modem usually use? what is it? pcmcia? built in?
> yes & 

no - module/s:

>> what do you do in ubuntu to get it going? what driver does it use there?
> 
> rik@P4Ubuntu510:~$ lsmod | grep pcmcia
> pcmcia                 26568  3 serial_cs
> pcmcia_core            49348  4 
> serial_cs,pcmcia,yenta_socket,rsrc_nonstatic

Here's some relevant Voyage log extracts:

#cat daemon.log
May 26 19:44:02 voyage cardmgr[2060]: watching 1 socket
May 26 19:44:02 voyage cardmgr[2061]: starting, version is 3.2.5
May 26 19:44:02 voyage cardmgr[2061]: socket 0: Serial or Modem
May 26 19:44:02 voyage pptpd[2065]: MGR: Manager process started
May 26 19:44:02 voyage pptpd[2065]: MGR: Maximum of 100 connections 
available
May 26 19:44:03 voyage cardmgr[2061]: executing: 'modprobe serial_cs'
May 26 19:44:03 voyage cardmgr[2061]: + FATAL: Module serial_cs not found.
May 26 19:44:03 voyage cardmgr[2061]: modprobe exited with status 1
May 26 19:44:03 voyage cardmgr[2061]: module 
/lib/modules/2.6.15-486-voyage/pcmcia/serial_cs.o not available
May 26 19:44:03 voyage cardmgr[2061]: bind 'serial_cs' to socket 0 
failed: Invalid argument

Aha! - so that's a "#modprobe serial_cs" required?

#cat dmesg
Activating ISA DMA hang workarounds.
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing enabled
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[- that is what I assume is the modem]
PCI: Enabling device 0000:00:08.0 (0000 -> 0003)
PCI: IRQ 0 for device 0000:00:08.0 doesn't match PIRQ mask - try 
pci=usepirqmask
PCI: setting IRQ 10 as level-triggered
PCI: Assigned IRQ 10 for device 0000:00:08.0
0000:00:08.0: ttyS0 at I/O 0x1428 (irq = 10) is a 8250
Couldn't register serial port 0000:00:08.0: -28
...
device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
PCI: Found IRQ 11 for device 0000:00:0a.0
PCI: Sharing IRQ 11 with 0000:00:0c.0
Yenta: CardBus bridge found at 0000:00:0a.0 [103c:0850]
Yenta O2: res at 0x94/0xD4: 00/ea
Yenta O2: enabling read prefetch/write burst
Yenta: ISA IRQ mask 0x02b8, PCI irq 11
Socket status: 30000411

#cat kern.log
May 26 19:44:00 voyage kernel: serio: i8042 AUX port at 0x60,0x64 irq 12
May 26 19:44:00 voyage kernel: serio: i8042 KBD port at 0x60,0x64 irq 1
May 26 19:44:00 voyage kernel: Serial: 8250/16550 driver $Revision: 1.90 
$ 2 ports, IRQ sharing enabled
May 26 19:44:00 voyage kernel: serial8250: ttyS1 at I/O 0x2f8 (irq = 3) 
is a 16550A
[this laptop has no onboard serial port]...
May 26 19:44:00 voyage kernel: pccard: PCMCIA card inserted into slot 0
...
May 26 19:44:00 voyage kernel: Yenta: CardBus bridge found at 
0000:00:0a.0 [103c:0850]
May 26 19:44:00 voyage kernel: Yenta O2: res at 0x94/0xD4: 00/ea
May 26 19:44:00 voyage kernel: Yenta O2: enabling read prefetch/write burst
May 26 19:44:00 voyage kernel: Yenta: ISA IRQ mask 0x02b8, PCI irq 11
May 26 19:44:00 voyage kernel: Socket status: 30000411
...
May 26 19:44:02 voyage kernel: pcmcia: Detected deprecated PCMCIA ioctl 
usage.
May 26 19:44:02 voyage kernel: pcmcia: This interface will soon be 
removed from the kernel; please expect breakage unless you upgrade to 
new tools.
May 26 19:44:02 voyage kernel: pcmcia: see 
http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for details.
May 26 19:44:02 voyage kernel: cs: IO port probe 0x100-0x4ff: excluding 
0x378-0x37f 0x408-0x40f 0x480-0x48f 0x4d0-0x4d7
May 26 19:44:02 voyage kernel: cs: IO port probe 0x800-0x8ff: clean.
May 26 19:44:02 voyage kernel: cs: IO port probe 0xc00-0xcff: clean.
May 26 19:44:02 voyage kernel: cs: IO port probe 0xa00-0xaff: clean.

#cat messages
May 26 19:44:00 voyage kernel: Activating ISA DMA hang workarounds.
May 26 19:44:00 voyage kernel: serio: i8042 AUX port at 0x60,0x64 irq 12
May 26 19:44:00 voyage kernel: serio: i8042 KBD port at 0x60,0x64 irq 1
May 26 19:44:00 voyage kernel: Serial: 8250/16550 driver $Revision: 1.90 
$ 2 ports, IRQ sharing enabled
May 26 19:44:00 voyage kernel: serial8250: ttyS1 at I/O 0x2f8 (irq = 3) 
is a 16550A
May 26 19:44:00 voyage kernel: PCI: Enabling device 0000:00:08.0 (0000 
-> 0003)
May 26 19:44:00 voyage kernel: PCI: IRQ 0 for device 0000:00:08.0 
doesn't match PIRQ mask - try pci=usepirqmask
May 26 19:44:00 voyage kernel: PCI: setting IRQ 10 as level-triggered
May 26 19:44:00 voyage kernel: PCI: Assigned IRQ 10 for device 0000:00:08.0
May 26 19:44:00 voyage kernel: 0000:00:08.0: ttyS0 at I/O 0x1428 (irq = 
10) is a 8250
May 26 19:44:00 voyage kernel: Couldn't register serial port 
0000:00:08.0: -28
...
May 26 19:44:00 voyage kernel: device-mapper: 4.4.0-ioctl (2005-01-12) 
initialised: dm-devel@redhat.com
May 26 19:44:00 voyage kernel: PCI: Found IRQ 11 for device 0000:00:0a.0
May 26 19:44:00 voyage kernel: PCI: Sharing IRQ 11 with 0000:00:0c.0
May 26 19:44:00 voyage kernel: Yenta: CardBus bridge found at 
0000:00:0a.0 [103c:0850]
May 26 19:44:00 voyage kernel: Yenta O2: res at 0x94/0xD4: 00/ea
May 26 19:44:00 voyage kernel: Yenta O2: enabling read prefetch/write burst
May 26 19:44:00 voyage kernel: Yenta: ISA IRQ mask 0x02b8, PCI irq 11
May 26 19:44:00 voyage kernel: Socket status: 30000411
...
May 26 20:29:27 voyage kernel: CSLIP: code copyright 1989 Regents of the 
University of California
May 26 20:29:27 voyage kernel: PPP generic driver version 2.4.2
May 26 20:29:27 voyage pppd[2449]: pppd 2.4.3 started by root, uid 0
May 26 20:29:27 voyage pppd[2449]: Exit.
May 26 20:38:05 voyage pppd[2519]: pppd 2.4.3 started by root, uid 0
May 26 20:38:06 voyage chat[2520]: abort on (BUSY)
May 26 20:38:06 voyage chat[2520]: abort on (NO CARRIER)
May 26 20:38:06 voyage chat[2520]: abort on (VOICE)
May 26 20:38:06 voyage chat[2520]: abort on (NO DIALTONE)
May 26 20:38:06 voyage chat[2520]: abort on (NO DIAL TONE)
May 26 20:38:06 voyage chat[2520]: abort on (NO ANSWER)
May 26 20:38:06 voyage chat[2520]: abort on (DELAYED)
May 26 20:38:06 voyage chat[2520]: send (ATZ^M)
May 26 20:38:06 voyage chat[2520]: send (ATQ0V1E0^M)
May 26 20:38:06 voyage chat[2520]: expect (OK)
May 26 20:38:51 voyage chat[2520]: alarm
May 26 20:38:51 voyage chat[2520]: send (AT^M)
May 26 20:38:52 voyage chat[2520]: expect (OK)
May 26 20:39:37 voyage chat[2520]: alarm
May 26 20:39:37 voyage chat[2520]: Failed
May 26 20:48:12 voyage pppd[2575]: pppd 2.4.3 started by root, uid 0
May 26 20:48:12 voyage pppd[2575]: Device ttyS1 is locked by pid 2519
May 26 20:48:12 voyage pppd[2575]: Exit.
May 26 20:51:25 voyage pppd[2519]: tcsetattr: Interrupted system call 
(line 1010)
May 26 20:51:25 voyage pppd[2519]: Exit.
May 26 20:52:51 voyage pppd[2599]: pppd 2.4.3 started by root, uid 0
May 26 20:52:52 voyage chat[2600]: abort on (BUSY)
May 26 20:52:52 voyage chat[2600]: abort on (NO CARRIER)
May 26 20:52:52 voyage chat[2600]: abort on (VOICE)
May 26 20:52:52 voyage chat[2600]: abort on (NO DIALTONE)
May 26 20:52:52 voyage chat[2600]: abort on (NO DIAL TONE)
May 26 20:52:52 voyage chat[2600]: abort on (NO ANSWER)
May 26 20:52:52 voyage chat[2600]: abort on (DELAYED)
May 26 20:52:52 voyage chat[2600]: send (ATZ^M)
May 26 20:52:52 voyage chat[2600]: send (ATQ0V1E1S0=0&C1&D2+FCLASS=0^M)
May 26 20:52:52 voyage chat[2600]: expect (OK)
May 26 20:53:37 voyage chat[2600]: alarm
May 26 20:53:37 voyage chat[2600]: send (AT^M)
May 26 20:53:37 voyage chat[2600]: expect (OK)
May 26 20:54:22 voyage chat[2600]: alarm
May 26 20:54:22 voyage chat[2600]: Failed