[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] pcmcia modem on ttyS1 can't be initiated in a Xen environment



Hi list,

I have a Vodafone Option globetrotter GSM card which works in my laptop,
but not in a XEN dom0.
I'm trying to get this card to work in a xen dom0

MY LAPTOP:

[I--] [  ] sys-kernel/gentoo-sources-2.6.19-r5 (2.6.19-r5)
[I--] [  ] sys-fs/udev-087-r1 (0)
[I--] [  ] sys-apps/pcmciautils-014-r1 (0)
[I--] [  ] virtual/pcmcia-2.6.13 (0)

When I plugin this card into my laptop (not running xen) I get following
output:

dmesg:

pccard: PCMCIA card inserted into slot 0
cs: memory probe 0x40000000-0x42ffffff: excluding 0x40000000-0x42ffffff
cs: memory probe 0xfc000000-0xfdffffff: excluding 0xfc000000-0xfd1fffff
0xfde00000-0xfdffffff
pcmcia: registering new device pcmcia0.0


udevmonitor:

UEVENT[1172283848.964931]
add@/devices/pci0000:00/0000:00:1e.0/0000:03:03.0/0.0
UDEV  [1172283848.977588]
add@/devices/pci0000:00/0000:00:1e.0/0000:03:03.0/0.0
UEVENT[1172283849.064000] remove@/class/tty/ttyS1
UEVENT[1172283849.064029] add@/class/tty/ttyS1
UDEV  [1172283849.076213] remove@/class/tty/ttyS1
UDEV  [1172283849.089423] add@/class/tty/ttyS1


/var/log/messages:

Feb 25 01:02:08 gemini pccard: PCMCIA card inserted into slot 0
Feb 25 01:02:08 gemini pcmcia: registering new device pcmcia0.0
Feb 25 01:02:08 gemini pcmcia: request for exclusive IRQ could not be
fulfilled.
Feb 25 01:02:08 gemini pcmcia: the driver needs updating to supported
shared IRQ lines.
Feb 25 01:02:08 gemini 0.0: ttyS1 at I/O 0x2f8 (irq = 10) is a 16550A

#pccardctl ident
Socket 0:
  product info: "Vodafone", "GPRS Card", "001", "A"
  manfid: 0x0013, 0x0000
  function: 2 (serial)

#pccardctl status
Socket 0:
  3.3V 16-bit PC Card
  Subdevice 0 (function 0) bound to driver "serial_cs"

#setserial /dev/ttyS1
/dev/ttyS1, UART: 16550A, Port: 0x03f8, IRQ: 4

When I use minicom to connect to ttyS1 I get my AT command set. 
Conclusion: the pcmcia card works on my laptop.





MY XENserver:

I have Gentoo  installed on a Dell Poweredge 750 with A6 bios (latest).
And software installed:
[I--] [ ~] app-emulation/xen-3.0.2 (0)
[I--] [ ~] app-emulation/xen-tools-3.0.2-r4 (0)
[I--] [ ~] sys-kernel/xen-sources-2.6.16.28-r2 (2.6.16.28-r2)
[I--] [  ] sys-fs/udev-087-r1
[I--] [  ] sys-apps/pcmciautils-014-r1 (0)
[I--] [  ] virtual/pcmcia-2.6.13 (0)


When I plugin this card into my laptop (not running xen) I get following
output:

dmesg:

pccard: PCMCIA card inserted into slot 0
pcmcia: registering new device pcmcia0.0

udevmonitor:

UEVENT[1172369105.418614]
add@/devices/pci0000:00/0000:00:1e.0/0000:03:03.0/0.0
UDEV  [1172369105.431167]
add@/devices/pci0000:00/0000:00:1e.0/0000:03:03.0/0.0
UEVENT[1172369105.486635] remove@/class/tty/ttyS1
UEVENT[1172369105.486657] add@/class/tty/ttyS1
UDEV  [1172369105.499509] remove@/class/tty/ttyS1
UDEV  [1172369105.512187] add@/class/tty/ttyS1


/var/log/messages:

Feb 25 03:05:05 titan pccard: PCMCIA card inserted into slot 0
Feb 25 03:05:05 titan pcmcia: registering new device pcmcia0.0

#pccardctl ident
Socket 0:
  product info: "Vodafone", "GPRS Card", "001", "A"
  manfid: 0x0013, 0x0000
  function: 2 (serial)

#pccardctl status
Socket 0:
  3.3V 16-bit PC Card
  Subdevice 0 (function 0) bound to driver "serial_cs"

#setserial /dev/ttyS1
/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 16


my xen boot options are very basic:

title  GNU/Linux Xen
root (hd0,1)
kernel /xen.gz dom0_mem=256M
module /vmlinuz0 root=/dev/sda5 xencons=tty

I tried changing xencons to none, tty, ....
I also tried to omit the xencons parameter, ...




How come that I can't seem to be able to connect to my ttyS1 port?
Why isn't the driver initiated like on my laptop although pccardctl
status says the device is bound to serial_cs?


Thanks in advance all,

Js







_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.