Problem with Sierra Wireless AC775 on PCIxx12 Cardbus Controller on x86_64

Edouard TISSERANT edouard.tisserant at lolitech.fr
Sun Dec 10 16:14:00 EST 2006


Hi.

Socket : yenta_socket / PCIxx12 (TI)

Problem seems to be with serial_cs.

Card is detected, and serial_cs loaded by udev, but never get the kernel 
message telling me serial port have been correctly established. I cannot 
access ttyS1 at all (pppd claims input/output error, as if there wasn't 
any device)

Here are more detailed information :

# uname -a
Linux kong 2.6.19-gentoo-r1 #2 SMP Sat Dec 9 19:37:03 CET 2006 x86_64 
Intel(R) Core(TM)2 CPU         T5600  @ 1.83GHz GenuineIntel GNU/Linux

# lspci
[...]
09:06.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
[...]

# udevcontrol log_priority=debug

# tail -f /var/log/messages

[here, I plug the card in]

Dec 10 20:17:19 kong pccard: PCMCIA card inserted into slot 0
Dec 10 20:17:19 kong cs: memory probe 0x0c0000-0x0fffff: excluding 
0xc0000-0xcffff 0xdc000-0xfffff
Dec 10 20:17:19 kong cs: memory probe 0x60000000-0x60ffffff: excluding 
0x60000000-0x60ffffff
Dec 10 20:17:19 kong cs: memory probe 0x88000000-0x89ffffff: excluding 
0x88000000-0x89ffffff
Dec 10 20:17:19 kong cs: memory probe 0xa0000000-0xa0ffffff: clean.
Dec 10 20:17:19 kong cs: memory probe 0xd2000000-0xd20fffff: excluding 
0xd2000000-0xd200ffff
Dec 10 20:17:19 kong pcmcia: registering new device pcmcia0.0
Dec 10 20:17:19 kong udevd[6834]: udev_event_run: seq 1020 forked, pid 
[12324], 'add' 'pcmcia', 0 seconds old
Dec 10 20:17:19 kong udevd-event[12324]: wait_for_sysfs: file 
'/sys/devices/pci0000:00/0000:00:1e.0/0000:09:06.0/0.0/bus' appeared 
after 0 loops
Dec 10 20:17:19 kong udevd-event[12324]: run_program: '/sbin/modprobe 
pcmcia:m0192c0710f06fn00pfn00paD85F6206pb0BA21128pc07D22D0DpdD9533FEC'
Dec 10 20:17:19 kong udevd[6834]: udev_event_run: seq 1021 forked, pid 
[12328], 'add' 'module', 0 seconds old
Dec 10 20:17:19 kong udevd[6834]: udev_event_run: seq 1022 forked, pid 
[12329], 'add' 'drivers', 0 seconds old
Dec 10 20:17:19 kong udevd[6834]: udev_event_run: seq 1023 forked, pid 
[12330], 'add' 'firmware', 0 seconds old
Dec 10 20:17:19 kong udevd-event[12328]: udev_rules_get_run: rule 
applied, 'serial_cs' is ignored
Dec 10 20:17:19 kong udevd-event[12328]: udev_device_event: device event 
will be ignored
Dec 10 20:17:19 kong udevd-event[12328]: udev_event_run: seq 1021 finished
Dec 10 20:17:19 kong udevd[6834]: udev_done: seq 1021, pid [12328] exit 
with 0, 0 seconds old
Dec 10 20:17:19 kong udevd-event[12329]: udev_rules_get_run: rule 
applied, 'serial_cs' is ignored
Dec 10 20:17:19 kong udevd-event[12329]: udev_device_event: device event 
will be ignored
Dec 10 20:17:19 kong udevd-event[12329]: udev_event_run: seq 1022 finished
Dec 10 20:17:19 kong udevd[6834]: udev_done: seq 1022, pid [12329] exit 
with 0, 0 seconds old
Dec 10 20:17:19 kong udevd-event[12330]: run_program: '/sbin/modprobe '
Dec 10 20:17:19 kong udevd-event[12330]: run_program: '/sbin/modprobe' 
(stderr) 'FATAL: Module  not found.'
Dec 10 20:17:19 kong udevd-event[12330]: run_program: '/sbin/modprobe' 
returned with status 1
Dec 10 20:17:19 kong udevd-event[12330]: run_program: 'firmware.sh'
Dec 10 20:17:20 kong pcmcia: request for exclusive IRQ could not be 
fulfilled.
Dec 10 20:17:20 kong pcmcia: the driver needs updating to supported 
shared IRQ lines.
Dec 10 20:17:20 kong udevd[6834]: udev_event_run: seq 1024 forked, pid 
[12334], 'remove' 'firmware', 0 seconds old
Dec 10 20:17:20 kong udevd-event[12334]: run_program: 'udev_run_hotplugd 
firmware'
Dec 10 20:17:20 kong udevd-event[12334]: run_program: 
'/lib/udev/udev_run_hotplugd' returned with status 0
Dec 10 20:17:20 kong udevd-event[12334]: run_program: 'udev_run_devd 
firmware'
Dec 10 20:17:20 kong udevd-event[12334]: run_program: 
'/lib/udev/udev_run_devd' returned with status 0
Dec 10 20:17:20 kong udevd-event[12334]: pass_env_to_socket: passed -1 
bytes to socket '/org/kernel/udev/monitor',
Dec 10 20:17:20 kong udevd-event[12334]: pass_env_to_socket: passed 240 
bytes to socket '/org/freedesktop/hal/udev_event',
Dec 10 20:17:20 kong udevd-event[12334]: udev_event_run: seq 1024 finished
Dec 10 20:17:20 kong udevd[6834]: udev_done: seq 1024, pid [12334] exit 
with 0, 0 seconds old
Dec 10 20:17:20 kong udevd-event[12330]: run_program: 
'/lib/udev/firmware.sh' returned with status 0
Dec 10 20:17:20 kong udevd-event[12330]: run_program: 'udev_run_hotplugd 
firmware'
Dec 10 20:17:20 kong udevd-event[12330]: run_program: 
'/lib/udev/udev_run_hotplugd' returned with status 0
Dec 10 20:17:20 kong udevd-event[12330]: run_program: 'udev_run_devd 
firmware'
Dec 10 20:17:20 kong udevd-event[12330]: run_program: 
'/lib/udev/udev_run_devd' returned with status 0
Dec 10 20:17:20 kong udevd-event[12330]: pass_env_to_socket: passed -1 
bytes to socket '/org/kernel/udev/monitor',
Dec 10 20:17:20 kong udevd-event[12330]: pass_env_to_socket: passed 234 
bytes to socket '/org/freedesktop/hal/udev_event',
Dec 10 20:17:20 kong udevd-event[12330]: udev_event_run: seq 1023 finished
Dec 10 20:17:20 kong udevd[6834]: udev_done: seq 1023, pid [12330] exit 
with 1, 1 seconds old
Dec 10 20:17:20 kong udevd-event[12324]: run_program: '/sbin/modprobe' 
returned with status 0
Dec 10 20:17:20 kong udevd-event[12324]: run_program: 'udev_run_hotplugd 
pcmcia'
Dec 10 20:17:20 kong udevd[6834]: udev_event_run: seq 1025 forked, pid 
[12340], 'remove' 'tty', 0 seconds old
Dec 10 20:17:20 kong udevd-event[12324]: run_program: 
'/lib/udev/udev_run_hotplugd' returned with status 0
Dec 10 20:17:20 kong udevd-event[12324]: run_program: 'udev_run_devd pcmcia'
Dec 10 20:17:20 kong udevd-event[12340]: udev_node_remove_symlinks: 
removing symlink '/dev/tts/1'
Dec 10 20:17:20 kong udevd-event[12340]: udev_node_remove: removing 
device node '/dev/ttyS1'
Dec 10 20:17:20 kong udevd-event[12340]: run_program: 'udev_run_hotplugd 
tty'
Dec 10 20:17:20 kong udevd-event[12324]: run_program: 
'/lib/udev/udev_run_devd' returned with status 0
Dec 10 20:17:20 kong udevd-event[12324]: pass_env_to_socket: passed -1 
bytes to socket '/org/kernel/udev/monitor',
Dec 10 20:17:20 kong udevd-event[12324]: run_program: '/sbin/modprobe '
Dec 10 20:17:20 kong udevd-event[12340]: run_program: 
'/lib/udev/udev_run_hotplugd' returned with status 0
Dec 10 20:17:20 kong udevd-event[12340]: run_program: 'udev_run_devd tty'
Dec 10 20:17:20 kong udevd-event[12340]: run_program: 
'/lib/udev/udev_run_devd' returned with status 0
Dec 10 20:17:20 kong udevd-event[12340]: pass_env_to_socket: passed -1 
bytes to socket '/org/kernel/udev/monitor',
Dec 10 20:17:20 kong udevd-event[12340]: pass_env_to_socket: passed 256 
bytes to socket '/org/freedesktop/hal/udev_event',
Dec 10 20:17:20 kong udevd-event[12340]: udev_event_run: seq 1025 finished
Dec 10 20:17:20 kong udevd[6834]: udev_done: seq 1025, pid [12340] exit 
with 0, 0 seconds old
Dec 10 20:17:20 kong udevd-event[12324]: run_program: '/sbin/modprobe' 
(stderr) 'FATAL: Module  not found.'
Dec 10 20:17:20 kong udevd-event[12324]: run_program: '/sbin/modprobe' 
returned with status 1
Dec 10 20:17:20 kong udevd-event[12324]: run_program: 
'/sbin/pcmcia-check-broken-cis'
Dec 10 20:17:20 kong udevd-event[12324]: run_program: 
'/sbin/pcmcia-check-broken-cis' returned with status 0
Dec 10 20:17:20 kong udevd-event[12324]: run_program: '/bin/sh -c 'echo 
1 > 
/sys//devices/pci0000:00/0000:00:1e.0/0000:09:06.0/0.0/allow_func_id_match''
Dec 10 20:17:20 kong udevd-event[12324]: run_program: '/bin/sh' returned 
with status 0
Dec 10 20:17:20 kong udevd-event[12324]: pass_env_to_socket: passed 299 
bytes to socket '/org/freedesktop/hal/udev_event',
Dec 10 20:17:20 kong udevd-event[12324]: udev_event_run: seq 1020 finished
Dec 10 20:17:20 kong udevd[6834]: udev_done: seq 1020, pid [12324] exit 
with 1, 1 seconds old
Dec 10 20:17:20 kong udevd[6834]: udev_event_run: seq 1026 forked, pid 
[12351], 'add' 'tty', 0 seconds old
Dec 10 20:17:20 kong udevd-event[12351]: udev_rules_get_name: reset 
symlink list
Dec 10 20:17:20 kong udevd-event[12351]: udev_rules_get_name: add 
symlink 'tts/1'
Dec 10 20:17:20 kong udevd-event[12351]: udev_rules_get_name: rule 
applied, 'ttyS1' becomes 'ttyS1'
Dec 10 20:17:20 kong udevd-event[12351]: udev_db_get_device: no db file 
to read /dev/.udev/db/class at tty@ttyS1: No such file or directory
Dec 10 20:17:20 kong udevd-event[12351]: udev_node_add: creating device 
node '/dev/ttyS1', major = '4', minor = '65', mode = '0660', uid = '0', 
gid = '5'
Dec 10 20:17:20 kong udevd-event[12351]: udev_node_add: creating symlink 
'/dev/tts/1' to '../ttyS1'
Dec 10 20:17:20 kong udevd-event[12351]: udev_node_symlink: creating 
symlink '/dev/tts/1' to '../ttyS1'
Dec 10 20:17:20 kong udevd-event[12351]: run_program: '/sbin/modprobe '
Dec 10 20:17:20 kong udevd-event[12351]: run_program: '/sbin/modprobe' 
(stderr) 'FATAL: Module  not found.'
Dec 10 20:17:20 kong udevd-event[12351]: run_program: '/sbin/modprobe' 
returned with status 1
Dec 10 20:17:20 kong udevd-event[12351]: run_program: 'udev_run_hotplugd 
tty'
Dec 10 20:17:20 kong udevd-event[12351]: run_program: 
'/lib/udev/udev_run_hotplugd' returned with status 0
Dec 10 20:17:20 kong udevd-event[12351]: run_program: 'udev_run_devd tty'
Dec 10 20:17:20 kong udevd-event[12351]: run_program: 
'/lib/udev/udev_run_devd' returned with status 0
Dec 10 20:17:20 kong udevd-event[12351]: pass_env_to_socket: passed -1 
bytes to socket '/org/kernel/udev/monitor',
Dec 10 20:17:20 kong udevd-event[12351]: pass_env_to_socket: passed 268 
bytes to socket '/org/freedesktop/hal/udev_event',
Dec 10 20:17:20 kong udevd-event[12351]: udev_event_run: seq 1026 finished
Dec 10 20:17:20 kong udevd[6834]: udev_done: seq 1026, pid [12351] exit 
with 1, 0 seconds old

[then, nothing more happen]

# lspcmcia
Socket 0 Bridge:        [yenta_cardbus]         (bus ID: 0000:09:06.0)
Socket 0 Device 0:      [serial_cs]             (bus ID: 0.0)

# find /sys/bus/pcmcia/
/sys/bus/pcmcia/
/sys/bus/pcmcia/drivers
/sys/bus/pcmcia/drivers/serial_cs
/sys/bus/pcmcia/drivers/serial_cs/bind
/sys/bus/pcmcia/drivers/serial_cs/unbind
/sys/bus/pcmcia/drivers/serial_cs/module
/sys/bus/pcmcia/drivers/serial_cs/0.0
/sys/bus/pcmcia/devices
/sys/bus/pcmcia/devices/0.0

I would really like to help find the bug, but need some hints to know 
where to start. Where do I start putting printk's :-)

Many thanks for your help.

Edouard




More information about the linux-pcmcia mailing list