Package: linux-image-2.6.18-4-486 Version: 2.6.18.dfsg.1-1 Hi, i am using the cyclades multiserial driver. There seems to be a bug in the error path on loading the driver. The cyclades Hardware consists of the PCI card and an external serial box. If the serial box is not connected the driver recognizes this and bails out. Unloading and reloading the module fails in this case with the below error message:
Cyclades driver 2.3.2.20 2004/02/25 18:14:16 built May 9 2007 22:29:11 PCI: Unable to reserve mem region #1:[EMAIL PROTECTED] for device 0000:01:07.0 cyclades: failed to reserve PCI resources The first time the module loaded it looked like this: Cyclades driver 2.3.2.20 2004/02/25 18:14:16 built May 9 2007 22:29:11 ACPI: PCI Interrupt 0000:01:07.0[A] -> Link [LNKB] -> GSI 5 (level, low) -> IRQ 5 Cyclom-Y PCI host card with no Serial-Modules at 0xf4100000. 01:07.0 Communication controller: Cyclades Corporation Cyclom-Y above first megabyte (rev 01) Subsystem: Cyclades Corporation Unknown device 0100 Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Interrupt: pin A routed to IRQ 5 Region 0: Memory at f4105000 (32-bit, non-prefetchable) [size=128] Region 1: I/O ports at 3400 [size=128] Region 2: Memory at f4100000 (32-bit, non-prefetchable) [size=16K] Doing a cat /proc/iomem results in a: [EMAIL PROTECTED]:~# cat /proc/iomem Segmentation fault And: <1>BUG: unable to handle kernel paging request at virtual address c89c83be printing eip: c01ac595 *pde = 07ab2067 *pte = 00000000 Oops: 0000 [#2] Modules linked in: cyclades button ac battery autofs4 ipv6 dm_snapshot dm_mirror dm_mod i810_audio ac97_codec evdev psmouse serio_raw intel_rng shpchp i2c_i801 i2c_core intel_agp snd_intel8x0 pcspkr parport_pc parport rtc agpgart snd_ac97_codec snd_ac97_bus floppy snd_pcm snd_timer snd soundcore snd_page_alloc pci_hotplug ext3 jbd ide_disk piix generic ide_core e100 mii uhci_hcd usbcore thermal processor fan CPU: 0 EIP: 0060:[<c01ac595>] Not tainted VLI EFLAGS: 00010297 (2.6.18-4-486 #1) EIP is at vsnprintf+0x288/0x458 eax: c89c83be ebx: c78c5f38 ecx: c89c83be edx: fffffffe esi: c786726c edi: c78c5f38 ebp: ffffffff esp: c78c5ecc ds: 007b es: 007b ss: 0068 Process cat (pid: 4712, ti=c78c4000 task=c5b39ab0 task.ti=c78c4000) Stack: 00000dac c7867254 00000010 c7868000 00000000 ffffffff c028d53b c7867254 c602e260 c602e260 00000400 c0160f9f c78c5f18 c78c5f18 c74e95a0 00000002 c0118c39 c602e260 c028d527 00000004 c0287f0c 00000008 f4100000 00000000 Call Trace: [<c0160f9f>] seq_printf+0x2b/0x48 [<c0118c39>] r_show+0x5a/0x63 [<c016155e>] seq_read+0x19a/0x27c [<c01613c4>] seq_read+0x0/0x27c [<c01492c6>] vfs_read+0xa1/0x144 [<c0149621>] sys_read+0x3e/0x65 [<c0102a47>] syscall_call+0x7/0xb Code: 3b 74 24 0c 73 03 c6 06 20 46 4d 85 ed 7f f1 e9 a0 00 00 00 8b 0f 81 f9 ff 0f 00 00 77 05 b9 1f 7d 29 c0 8b 54 24 14 89 c8 eb 06 <80> 38 00 74 07 40 4a 83 fa ff 75 f4 29 c8 89 c3 f6 44 24 10 10 EIP: [<c01ac595>] vsnprintf+0x288/0x458 SS:ESP 0068:c78c5ecc Working setup: Cyclades driver 2.3.2.20 2004/02/25 18:14:16 built May 9 2007 22:29:11 ACPI: PCI Interrupt 0000:01:09.0[A] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10 Cyclom-Y/PCI #1: 0xff8f8000-0xff8fbfff, IRQ10, 16 channels starting from port 0. Cyclades driver 2.3.2.20 2004/02/25 18:14:16 built May 9 2007 22:29:11 Cyclom-Y/PCI #1: 0xff8f8000-0xff8fbfff, IRQ10, 16 channels starting from port 0. Flo -- Florian Lohoff [EMAIL PROTECTED] +49-171-2280134 Those who would give up a little freedom to get a little security shall soon have neither - Benjamin Franklin
signature.asc
Description: Digital signature