LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (http://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   unable to handle kernel paging request at virtual address 723d4edb (http://www.linuxquestions.org/questions/linux-kernel-70/unable-to-handle-kernel-paging-request-at-virtual-address-723d4edb-521903/)

mahipal 01-22-2007 10:49 PM

unable to handle kernel paging request at virtual address 723d4edb
 
HI All,

I am porting the USB-to-serial & parallel driver to 2.6.17. I am able to insert the module and driver is working fine, but couldn't unload the driver.


When unloading the driver(usb-to- serial & parallel)

Dmesg log:

: moschip7715_exit: mos7715_exit :entering..........
: moschip7715_exit CHeck1:
: usbcore: deregistering driver moschip7715
: mos7715_shutdown: Entering ...
: mos7715_shutdown: pp is : ca603200
: mos7715_shutdown: priv is : c82836c0
: test1
: Before remove port:test2
: BUG: unable to handle kernel paging request at virtual address 723d4edb
: printing eip:
: c02167d7
: *pde = 00000000
: Oops: 0000 [#1]
: Modules linked in: mos7715 usbserial ipv6 autofs4 hidp rfcomm l2cap bluetooth sunrpc usbnet dm_mirror dm_mod video button battery ac parport_pc parport floppy nvram ehci_hcd uhci_hcd snd_via82xx gameport snd_ac97_codec snd_ac97_bus snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq i2c_prosavage i2c_algo_bit snd_pcm_oss snd_mixer_oss snd_pcm via_ircc snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore irda crc_ccitt 8139too 8139cp i2c_viapro i2c_core mii sata_via libata sd_mod scsi_mod

: CPU: 0
: EIP: 0060:[<c02167d7>] Not tainted VLI
: EFLAGS: 00010246 (2.6.17.7 #1)
: EIP is at check_tty_count+0x3b/0x83
: eax: 723d4e4f ebx: c80fd000 ecx: c80fd1c0 edx: cdfdfab0
: esi: 00000000 edi: c0324560 ebp: 00000000 esp: cdfdef28
: ds: 007b es: 007b ss: 0068
: Process events/0 (pid: 4, threadinfo=cdfde000 task=cdfdfab0)
: Stack: c80fd188 c80fd000 cdef06a0 c0217a92 00000282 cdef06a0 c80fd188 c80fd18c
: cdef06a0 00000282 c0126b6e c0217a41 c80fd000 cdef06b8 cdef06a0 cdef06c0
: c0126eeb c0126fd7 00000000 00000000 00000000 00000000 00000000 c0352a80

: Call Trace:

: <c0217a92> do_tty_hangup+0x51/0x2c0 <c0126b6e> run_workqueue+0x7a/0xb5
: <c0217a41> do_tty_hangup+0x0/0x2c0 <c0126eeb> worker_thread+0x0/0x11d
: <c0126fd7> worker_thread+0xec/0x11d <c02ee665> _spin_unlock_irq+0x5/0x7
: <c02ed474> schedule+0x49e/0x4fa <c011694d> default_wake_function+0x0/0xc
: <c0129296> kthread+0x91/0xbd <c0129205> kthread+0x0/0xbd
: <c0101005> kernel_thread_helper+0x5/0xb
: Code: 7e 0d 00 8b 8b c0 01 00 00 eb 03 46 89 d1 8b 11 0f 18 02 90 8d 83 c0 01 00 00 39 c1 75 ed b8 4c ae 35 c0 e8 9f 7e 0d 00 8b 43 04 <81> b8 8c 00 00 00 04 00 02 00 75 14 8b 83 dc 00 00 00 85 c0 74
: EIP: [<c02167d7>] check_tty_count+0x3b/0x83 SS:ESP 0068:cdfdef28
: After remove - port :test3
: After put- port: test4
: mos7715_shutdown: FREE, parallel private structure
: mos7715_shutdown CHECK1
: mos7715_shutdown CHECK2
: mos7715_shutdown: FREE, serial private structure
: mos7715_shutdown : end ...
: moschip7715 ttyUSB0: Moschip USB Serial Parallel Driver converter now disconnected from ttyUSB0
: moschip7715 ttyUSB1: Moschip USB Serial Parallel Driver converter now disconnected from ttyUSB1
: moschip7715 4-1:1.0: device disconnected
: moschip7715_exit CHeck2:
: drivers/usb/serial/usb-serial.c: USB Serial deregistering driver Moschip USB Serial Parallel Driver
: moschip7715_exit CHeck3:
: moschip7715_exit: Leaving...

=====================================================

Could anybody give some help on this.

Thanks & Regards,
-Mahipal

HoOLi 03-02-2007 07:05 PM

kernel-2.6.18.x disable parallell port in BIOS
 
oops! - incorrect thread


All times are GMT -5. The time now is 03:13 AM.