[Bug 10077] New: nozomi (driver for Qualcomm 3G PCMCIA adapter) crashes

bugme-daemon at bugzilla.kernel.org bugme-daemon at bugzilla.kernel.org
Sat Feb 23 16:29:06 EST 2008


http://bugzilla.kernel.org/show_bug.cgi?id=10077

           Summary: nozomi (driver for Qualcomm 3G PCMCIA adapter) crashes
           Product: Drivers
           Version: 2.5
     KernelVersion: 2.6.25-rc2-git6
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: blocking
          Priority: P1
         Component: PCMCIA
        AssignedTo: linux-pcmcia at lists.infradead.org
        ReportedBy: awaria at chopin.edu.pl


Earliest failing kernel version: 2.6.23 with gregkh patches
Distribution: Gentoo Linux
Hardware Environment: Option N.V. Qualcomm MSM6275 UMTS chip [1931:000c]

Problem Description:

When I boot my system with the Option card inserted I get the following in my
syslog:

pccard: CardBus card inserted into slot 0
Initializing Nozomi driver 2.1d (build date: Feb 22 2008 21:34:48)
nozomi 0000:03:00.0: Init, new card found
nozomi 0000:03:00.0: Card type is: 2048
PCI: Enabling device 0000:03:00.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 18 (level, low) -> IRQ 18
------------[ cut here ]------------
WARNING: at arch/x86/mm/ioremap.c:137 __ioremap+0x1c2/0x1e3()
Modules linked in: nozomi(+) evdev isofs zlib_inflate loop yenta_socket
rsrc_nonstatic pcmcia pcmcia_core firewire_ohci firewire_core crc_itu_t arc4
ecb ohci1394 ieee1394 snd_hda_intel snd_pcm snd_timer snd soundcore sdhci
snd_page_alloc mmc_core tifm_7xx1 hci_usb tifm_core iwl3945 mac80211 bluetooth
cfg80211 tpm_infineon tpm tpm_bios tg3 sg psmouse
Pid: 3480, comm: modprobe Not tainted 2.6.25-rc2-git6 #1
 [<c01249ea>] warn_on_slowpath+0x4e/0x5e
 [<c0258d1d>] ? acpi_pci_allocate_irq+0x65/0x6f
 [<c012a282>] ? __request_region+0x6a/0xa0
 [<c021f549>] ? pci_request_region+0x81/0x21a
 [<c0116619>] __ioremap+0x1c2/0x1e3
 [<c021f82d>] ? pci_request_selected_regions+0x32/0x67
 [<c0116653>] ioremap_nocache+0xa/0xc
 [<f8eb5023>] nozomi_card_init+0x209/0x642 [nozomi]
 [<c0180f8b>] ? find_inode+0x3a/0x64
 [<c01acbc0>] ? sysfs_ilookup_test+0x0/0x11
 [<c01acbc0>] ? sysfs_ilookup_test+0x0/0x11
 [<c0181076>] ? ifind+0x2a/0x88
 [<c01acbc0>] ? sysfs_ilookup_test+0x0/0x11
 [<c01ad12d>] ? sysfs_addrm_finish+0x16/0x1b8
 [<c01aced1>] ? sysfs_add_one+0x3e/0x8f
 [<c01acf6d>] ? sysfs_addrm_start+0x4b/0x87
 [<c022155a>] ? pci_match_device+0xa1/0xa9
 [<c0221622>] pci_device_probe+0x44/0x5f
 [<c0282c04>] driver_probe_device+0x81/0x157
 [<c0282e0d>] __driver_attach+0x8c/0x8e
 [<c02820f8>] bus_for_each_dev+0x41/0x5f
 [<c0282ab3>] driver_attach+0x19/0x1b
 [<c0282d81>] ? __driver_attach+0x0/0x8e
 [<c028297a>] bus_add_driver+0x1a5/0x20b
 [<c022158d>] ? pci_device_remove+0x0/0x3a
 [<c0282f9f>] driver_register+0x3d/0xe9
 [<c01720d3>] ? cdev_add+0x31/0x33
 [<c0374b42>] ? mutex_lock+0xe/0x20
 [<c0171f8c>] ? exact_lock+0x0/0x11
 [<c0221800>] __pci_register_driver+0x35/0x65
 [<f8d160e2>] nozomi_init+0xe2/0x100 [nozomi]
 [<c014493c>] sys_init_module+0x119/0x1bef
 [<c0280b0c>] ? device_remove_file+0x0/0x11
 [<c016fba2>] ? rw_verify_area+0x5a/0xb9
 [<c0170748>] ? sys_read+0x3d/0x64
 [<c0103f1a>] sysenter_past_esp+0x5f/0x85
 =======================
---[ end trace f44e4108df509696 ]---

I also tried removing the module (modprobe -r), loading it again (with the card
still inserted) and then running a perl script that sends some data to the
/dev/noz0 port. Here's what I get in my kernel log then:

Unloading Nozomi driver
pccard: CardBus card inserted into slot 0
Initializing Nozomi driver 2.1d (build date: Feb 22 2008 21:34:48)
nozomi 0000:03:00.0: Init, new card found
nozomi 0000:03:00.0: Card type is: 2048
PCI: Enabling device 0000:03:00.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 18 (level, low) -> IRQ 18
BUG: unable to handle kernel NULL pointer dereference at 00000008
IP: [<f8eb3c1b>] :nozomi:ntty_write_room+0x5a/0x6e
*pdpt = 0000000030c8e001 *pde = 0000000000000000 
Oops: 0000 [#1] SMP 
Modules linked in: nozomi sit tunnel4 aes_i586 aes_generic tun ipv6 bridge llc
snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_indigoio fuse evdev isofs
zlib_inflate loop yenta_socket rsrc_nonstatic pcmcia pcmcia_core firewire_ohci
firewire_core crc_itu_t arc4 ecb ohci1394 ieee1394 snd_hda_intel snd_pcm
snd_timer snd soundcore sdhci snd_page_alloc mmc_core tifm_7xx1 hci_usb
tifm_core iwl3945 mac80211 bluetooth cfg80211 tpm_infineon tpm tpm_bios tg3 sg
psmouse [last unloaded: nozomi]

Pid: 13425, comm: perl Not tainted (2.6.25-rc2-git6 #1)
EIP: 0060:[<f8eb3c1b>] EFLAGS: 00010202 CPU: 0
EIP is at ntty_write_room+0x5a/0x6e [nozomi]
EAX: 00000000 EBX: f287d060 ECX: 00000000 EDX: 00000001
ESI: 00000000 EDI: f287d09c EBP: f1bf8efc ESP: f1bf8ef0
 DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Process perl (pid: 13425, ti=f1bf8000 task=f1c74e00 task.ti=f1bf8000)
Stack: 0000000f 0000000f f1c33000 f1bf8f38 c026c0e5 f1c33c00 f2358840 f1c33130 
       f1c33c00 f1bf8f38 00000000 f1c74e00 c011d086 f1c33134 f1c33134 0000000f 
       f1c33000 f2358840 f1bf8f6c c0269ac7 0000000f 0000000f 08872980 c026bfeb 
Call Trace:
 [<c026c0e5>] ? write_chan+0xfa/0x304
 [<c011d086>] ? default_wake_function+0x0/0xd
 [<c0269ac7>] ? tty_write+0x11c/0x1a7
 [<c026bfeb>] ? write_chan+0x0/0x304
 [<c01701c2>] ? vfs_write+0x8b/0x11f
 [<c02699ab>] ? tty_write+0x0/0x1a7
 [<c01707ac>] ? sys_write+0x3d/0x64
 [<c0103f1a>] ? sysenter_past_esp+0x5f/0x85
 [<c0370000>] ? init_centaur+0x1a9/0x2e9
 =======================
Code: f5 0e 4c c7 85 c0 74 17 31 f6 8b 43 38 85 c0 75 17 89 f8 e8 d2 0e 4c c7
89 f0 5b 5e 5f 5d c3 31 f6 89 f0 5b 5e 5f 5d c3 8b 43 08 <8b> 50 08 2b 50 0c 8b
70 04 29 d6 89 f8 e8 ad 0e 4c c7 eb d9 55 
EIP: [<f8eb3c1b>] ntty_write_room+0x5a/0x6e [nozomi] SS:ESP 0068:f1bf8ef0
---[ end trace f44e4108df509696 ]---


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the linux-pcmcia mailing list