kernel oops (wvdailconfig or module ?)

Bug #86969 reported by Lorenco Trichardt
2
Affects Status Importance Assigned to Milestone
linux-source-2.6.20 (Ubuntu)
Invalid
Undecided
Chuck Short

Bug Description

running : wvdialconf try to configure latest 3G HSDPA card,
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

WvModem<*1>: Cannot set information for serial port.
ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S1 S2 S3
WvModem<*1>: Cannot get information for serial port.
ttyUSB0<*1>: ATQ0 V1 E1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- ERROR
ttyUSB0<*1>: Modem Identifier: ATI -- Manufacturer: HUAWEI TECHNOLOGIES CO., LTD.
ttyUSB0<*1>: Speed 4800: AT -- OK
ttyUSB0<*1>: Speed 9600: AT -- OK
ttyUSB0<*1>: Speed 19200: AT -- OK
ttyUSB0<*1>: Speed 38400: AT -- OK
ttyUSB0<*1>: Speed 57600: AT -- OK
ttyUSB0<*1>: Speed 115200: AT -- OK
ttyUSB0<*1>: Speed 230400: AT -- OK
ttyUSB0<*1>: Speed 460800: AT -- OK
ttyUSB0<*1>: Max speed is 460800; that should be safe.
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK

Message from syslogd@ibmtux at Thu Feb 22 10:15:35 2007 ... ibmtux kernel: [16792.784000] Oops: 0002 [#1]
Message from syslogd@ibmtux at Thu Feb 22 10:15:35 2007 ...ibmtux kernel: [16792.784000] SMP
....

dmesg output:
[16495.800000] PPP generic driver version 2.4.2
[16790.696000] ttyS1: LSR safety check engaged!
[16792.784000] BUG: unable to handle kernel NULL pointer dereference at virtual address 00000020
[16792.784000] printing eip:
[16792.784000] f9c4992c
[16792.784000] *pde = 00000000
[16792.784000] Oops: 0002 [#1]
[16792.784000] SMP
[16792.784000] Modules linked in: ppp_generic slhc pl2303 option usbserial ohci_hcd binfmt_misc rfcomm l2cap nvram uinput ppdev radeon drm acpi_cpufreq cpufreq_powersave cpufreq_stats cpufreq_userspace cpufreq_ondemand cpufreq_conservative freq_table video battery ibm_acpi container sbs button i2c_ec dock ac asus_acpi backlight tun nls_iso8859_1 nls_cp437 vfat fat ext3 jbd mbcache ipv6 eeprom i2c_i801 i2c_core lp fuse pcmcia tsdev joydev hci_usb irtty_sir sir_dev snd_intel8x0 snd_ac97_codec bluetooth ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss irda crc_ccitt parport_pc parport wlan_scan_sta ath_rate_sample snd_seq_midi snd_rawmidi snd_seq_midi_event pcspkr psmouse serio_raw snd_seq snd_timer yenta_socket ath_pci wlan ath_hal(P) snd_seq_device snd soundcore snd_page_alloc rsrc_nonstatic pcmcia_core iTCO_wdt iTCO_vendor_support af_packet intel_agp agpgart shpchp pci_hotplug evdev reiserfs sg sd_mod piix generic ata_piix e1000 ata_generic libata scsi_mod ehci_hcd uhci_hcd usbcore thermal processor fan capability commoncap vesafb fbcon tileblit font bitblit softcursor
[16792.784000] CPU: 0
[16792.784000] EIP: 0060:[<f9c4992c>] Tainted: P VLI
[16792.784000] EFLAGS: 00210246 (2.6.20-8-generic #2)
[16792.784000] EIP is at pl2303_open+0x44c/0x9c0 [pl2303]
[16792.784000] eax: 00000000 ebx: 00000000 ecx: 00200246 edx: de9a8000
[16792.784000] esi: d8f68d40 edi: e5c4f200 ebp: 00000000 esp: c2867e38
[16792.784000] ds: 007b es: 007b ss: 0068
[16792.784000] Process wvdialconf (pid: 29029, ti=c2866000 task=d99b7a90 task.ti=c2866000)
[16792.784000] Stack: 00000040 00000009 00000000 00000000 00000000 00000064 00000000 00000003
[16792.784000] 00200292 00000000 d5b73c00 d8f68c00 00200292 c02324c7 00000000 c0233120
[16792.784000] 00000000 d5201980 00000000 e5c4f200 d8f68d40 d5b73c00 e5c4f20c f9c401dc
[16792.784000] Call Trace:
[16792.784000] [<c02324c7>] tty_ldisc_enable+0x27/0x30
[16792.784000] [<c0233120>] init_dev+0x250/0x5f0
[16792.784000] [<f9c401dc>] serial_open+0x10c/0x160 [usbserial]
[16792.784000] [<c0232384>] check_tty_count+0x14/0xb0
[16792.784000] [<c0235f07>] tty_open+0x147/0x2f0
[16792.784000] [<c0235dc0>] tty_open+0x0/0x2f0
[16792.784000] [<c0178dc8>] chrdev_open+0xa8/0x170
[16792.784000] [<c0178d20>] chrdev_open+0x0/0x170
[16792.784000] [<c017461a>] __dentry_open+0xba/0x1c0
[16792.784000] [<c01747d5>] nameidata_to_filp+0x35/0x40
[16792.784000] [<c0174830>] do_filp_open+0x50/0x60
[16792.784000] [<c017488e>] do_sys_open+0x4e/0xf0
[16792.784000] [<c017496c>] sys_open+0x1c/0x20
[16792.784000] [<c01031d0>] sysenter_past_esp+0x69/0xa9
[16792.784000] =======================
[16792.784000] Code: 20 8b 47 44 ba d0 00 00 00 e8 e1 e2 79 ff 85 c0 89 c3 0f 85 13 05 00 00 8b 2d 80 d5 c4 f9 85 ed 0f 85 2d 04 00 00 8b 47 24 8b 16 <89> 50 20 8b 47 24 ba d0 00 00 00 e8 b4 e2 79 ff 89 c3 31 c0 85
[16792.784000] EIP: [<f9c4992c>] pl2303_open+0x44c/0x9c0 [pl2303] SS:ESP 0068:c2867e38
[16792.784000]

ProblemType: Bug
Date: Thu Feb 22 10:17:23 2007
DistroRelease: Ubuntu 7.04
Uname: Linux ibmtux 2.6.20-8-generic #2 SMP Tue Feb 13 05:18:42 UTC 2007 i686 GNU/Linux

Revision history for this message
Chuck Short (zulcss) wrote :

When does the oops happen affter you disconnect or when you connect with wvdial?

Thanks
chuck

Changed in linux-source-2.6.20:
assignee: nobody → zulcss
status: Unconfirmed → Needs Info
Revision history for this message
Lorenco Trichardt (trichalo) wrote : Re: [Bug 86969] Re: kernel oops (wvdailconfig or module ?)
Download full text (4.9 KiB)

It happens while I run wvdialconf.... I seems (not sure) that it happens
just before the load ?....

I have a manually created file with wvdial that actually works... so I
am not sure what wvdailconf is trying to do that causes the crash ?
LEt me know if I need to debug some more....

(If I run it now I get.... Same?
....
ttyS1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S2 S3
WvModem<*1>: Cannot get information for serial port.
ttyUSB0<*1>: ATQ0 V1 E1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB0<*1>: Modem Identifier: ATI -- Manufacturer: HUAWEI TECHNOLOGIES
CO., LTD.
ttyUSB0<*1>: Speed 4800: AT -- OK
ttyUSB0<*1>: Speed 9600: AT -- OK
ttyUSB0<*1>: Speed 19200: AT -- OK
ttyUSB0<*1>: Speed 38400: AT -- OK
ttyUSB0<*1>: Speed 57600: AT -- OK
ttyUSB0<*1>: Speed 115200: AT -- OK
ttyUSB0<*1>: Speed 230400: AT -- OK
ttyUSB0<*1>: Speed 460800: AT -- OK
ttyUSB0<*1>: Max speed is 460800; that should be safe.
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
Segmentation fault

DMESG output:
[36620.456000] BUG: unable to handle kernel NULL pointer dereference at
virtual address 00000020
[36620.456000] printing eip:
[36620.456000] f978892c
[36620.456000] *pde = 00000000
[36620.456000] Oops: 0002 [#1]
[36620.456000] SMP
[36620.456000] Modules linked in: battery ac ibm_acpi thermal fan button
e1000 ath_pci ppp_deflate zlib_deflate bsd_comp ppp_async binfmt_misc
rfcomm l2cap bluetooth tun nvram uinput ppdev ipv6 acpi_cpufreq
cpufreq_powersave cpufreq_stats cpufreq_userspace cpufreq_ondemand
cpufreq_conservative freq_table video container sbs i2c_ec dock
asus_acpi backlight ppp_generic slhc nls_iso8859_1 nls_cp437 vfat fat
ext3 jbd mbcache eeprom i2c_i801 i2c_core lp fuse pl2303 option
usbserial snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss
snd_pcm joydev snd_seq_dummy snd_seq_oss ohci_hcd snd_seq_midi
snd_rawmidi irtty_sir sir_dev wlan_scan_sta pcmcia snd_seq_midi_event
snd_seq snd_timer ath_rate_sample irda crc_ccitt psmouse snd_seq_device
snd parport_pc parport pcspkr wlan ath_hal(P) yenta_socket
rsrc_nonstatic pcmcia_core serio_raw soundcore snd_page_alloc intel_agp
agpgart iTCO_wdt iTCO_vendor_support shpchp pci_hotplug af_packet tsdev
evdev reiserfs sg sd_mod piix generic ata_piix ata_generic libata
scsi_mod ehci_hcd uhci_hcd usbcore processor capability commoncap vesafb
fbcon tileblit font bitblit softcursor
[36620.456000] CPU: 0
[36620.456000] EIP: 0060:[<f978892c>] Tainted: P VLI
[36620.456000] EFLAGS: 00210246 (2.6.20-9-generic #2)
[36620.456000] EIP is at pl2303_open+0x44c/0x9c0 [pl2303]
[36620.456000] eax: 00000000 ebx: 00000000 ecx: 00200246 edx:
e7e36800
[36620.456000] esi: d98c0940 edi: f0b8f400 ebp: 00000000 esp:
dbbc9e38
[36620.456000] ds: 007b es: 007b ss: 0068
[36620.456000] Process wvdialconf (pid: 6466, ti=dbbc8000 task=de862560
task.ti=dbbc8000)
[36620.456000] Stack: 00000040 00000009 00000000 00000000 00000000
00000064 00000000 00000003
[36620.456000] 00200292 0000000...

Read more...

Revision history for this message
Phillip Lougher (phillip-lougher) wrote :

Can you give the full dmesg output, including the lines before the oops?

Also, can you run strace on wvdialconf, and attach the output, i.e.

strace -fo strace.out wvdailconf

the output will be in the file strace.out.

Thanks.

Revision history for this message
Lorenco Trichardt (trichalo) wrote :

I think the latest updates fixed this ??

the oops and segmentation fault have gone!!!! :)
I'm glad but hate it when that happens.... never know what cuased it :(

On Thu, 2007-03-08 at 20:27 +0000, Phillip Lougher wrote:

> Can you give the full dmesg output, including the lines before the oops?
>
> Also, can you run strace on wvdialconf, and attach the output, i.e.
>
> strace -fo strace.out wvdailconf
>
> the output will be in the file strace.out.
>
> Thanks.
>

Groetnis ...
Lorenco Trichardt
<email address hidden>

---------------------------------------------
Written Today, 09 Mar 2007 at 05:35
---------------------------------------------

Changed in linux-source-2.6.20:
status: Needs Info → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.