Can't open device /dev/noz0

Bug #580334 reported by marwooj
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I am not able to use nozomi GTmax modem but device exists in /dev

root@hostp ~]# comgt -d /dev/noz0
Can't open device /dev/noz0.
[root@hostp ~]# ls -l /dev/noz*
crw-rw---- 1 root uucp 252, 0 2009-10-20 09:38 /dev/noz0
crw-rw---- 1 root uucp 252, 1 2009-10-20 09:38 /dev/noz1
crw-rw---- 1 root uucp 252, 2 2009-10-20 09:38 /dev/noz2
crw-rw---- 1 root uucp 252, 3 2009-10-20 09:38 /dev/noz3

Warning: dev (noz0) tty->count(0) != #fd's(1) in tty_open
noz: activated 0: f685b860
BUG: unable to handle kernel NULL pointer dereference at 000000bc
IP: [<c046b03c>] mutex_lock+0xc/0x30
*pde = 00000000
Oops: 0002 [#1] SMP
last sysfs file: /sys/devices/pci0000:00/0000:00:14.4/0000:02:06.0/net/mon.wlan0 /flags
Modules linked in: binfmt_misc xt_state xt_tcpudp ipt_MASQUERADE iptable_nat nf_ nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 nozomi arc4 pcmcia ecb ath5k m ac80211 ath iptable_filter ppdev yenta_socket parport_pc rsrc_nonstatic r8169 ip _tables lp x_tables usbserial pcmcia_core mii shpchp parport cfg80211 i2c_piix4 k8temp led_class serio_raw

Pid: 1429, comm: wvdial Not tainted 2.6.34-rc6-m03 #1 GA-MA69VM-S2/GA-MA69VM-S2
EIP: 0060:[<c046b03c>] EFLAGS: 00210296 CPU: 0
EIP is at mutex_lock+0xc/0x30
EAX: 000000bc EBX: 000000bc ECX: f4e1ec00 EDX: f685b800
ESI: 00001000 EDI: 000000bc EBP: 00000000 ESP: f68f5b18
 DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Process wvdial (pid: 1429, ti=f68f4000 task=f60462e0 task.ti=f68f4000)
Stack:
 00000000 00001000 f802d3c5 f4e1ec00 00000000 f802d410 c02fda15 c02fb625
<0> f6ad2700 f4e1ec00 f6ba78b8 00000000 c02f7a9a f306bac0 c02fb4d0 00000004
<0> 00000010 f6ad2700 00000000 c01c67b7 f306bac0 00200286 ff000000 00000005
Call Trace:
 [<f802d3c5>] ? ntty_write_room+0x45/0x90 [nozomi]
 [<f802d410>] ? ntty_write+0x0/0x1f0 [nozomi]
 [<c02fda15>] ? tty_write_room+0x15/0x20
 [<c02fb625>] ? n_tty_poll+0x155/0x170
 [<c02f7a9a>] ? tty_poll+0x6a/0x80
 [<c02fb4d0>] ? n_tty_poll+0x0/0x170
 [<c01c67b7>] ? do_select+0x2b7/0x4f0
 [<c01c6f30>] ? __pollwait+0x0/0xf0
 [<c028c569>] ? elv_rb_add+0x79/0x90
 [<c029904c>] ? cfq_insert_request+0x46c/0x4f0
 [<c02a1516>] ? vsnprintf+0xb6/0x7f0
 [<c03d1972>] ? raw_pci_write+0x82/0x90
 [<c014f22b>] ? up+0xb/0x40
 [<c01368eb>] ? release_console_sem+0x1ab/0x1f0
 [<c01b488d>] ? __mem_cgroup_try_charge+0x5d/0x400
 [<c061ffff>] ? powernow_cpu_init+0x16/0x426
 [<c02a07db>] ? string+0x3b/0xd0
 [<c046a164>] ? printk+0x17/0x1b
 [<f802be4e>] ? ntty_activate+0x7e/0xf0 [nozomi]
 [<c012a262>] ? __wake_up+0x42/0x60
 [<c0300757>] ? tty_port_block_til_ready+0x1e7/0x270
 [<c03008b9>] ? tty_port_tty_set+0x39/0x60
 [<c014a400>] ? autoremove_wake_function+0x0/0x40
 [<c02fa8f9>] ? tty_open+0x279/0x530
 [<c031ddc2>] ? kobj_lookup+0xf2/0x140
 [<c01c6ba3>] ? core_sys_select+0x1b3/0x2b0
 [<c02fe899>] ? tty_mode_ioctl+0xa9/0x420
 [<c02f9679>] ? tty_ioctl+0xc9/0x7d0
 [<c0198e19>] ? handle_mm_fault+0x139/0x9c0
 [<c02f95b0>] ? tty_ioctl+0x0/0x7d0
 [<c01c480b>] ? vfs_ioctl+0x2b/0xb0
 [<c01c49f9>] ? do_vfs_ioctl+0x79/0x5c0
 [<c046f3a0>] ? do_page_fault+0x0/0x3e0
 [<c046f544>] ? do_page_fault+0x1a4/0x3e0
 [<c01c6e5f>] ? sys_select+0x2f/0xb0
 [<c0102c10>] ? sysenter_do_call+0x12/0x22
Code: 8b 74 24 24 8b 7c 24 28 8b 6c 24 2c 83 c4 30 c3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 83 ec 08 89 1c 24 89 c3 89 74 24 04 <3e> ff 08 79 05 e8 ba 00 00 00 89 e0 8b 74 24 04 25 00 e0 ff ff
EIP: [<c046b03c>] mutex_lock+0xc/0x30 SS:ESP 0068:f68f5b18
CR2: 00000000000000bc
---[ end trace 6e73d3662da499c0 ]---
Warning: dev (noz0) tty->count(0) != #fd's(1) in tty_release_dev
tty_release_dev: bad tty->count (-1) for noz0

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-generic 2.6.32.22.23
Regression: No
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: I82801AAICH [Intel 82801AA-ICH], device 0: Intel ICH [Intel 82801AA-ICH]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: marek 1548 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'I82801AAICH'/'Intel 82801AA-ICH with STAC9700,83,84 at irq 21'
   Mixer name : 'SigmaTel STAC9700,83,84'
   Components : 'AC97a:83847600'
   Controls : 34
   Simple ctrls : 24
Date: Fri May 14 09:38:19 2010
HibernationDevice: RESUME=UUID=67e31985-2dcb-4a93-998e-a1fc9d4d9fe8
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
Lsusb:
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: innotek GmbH VirtualBox
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=UUID=46e0e10d-d145-43b8-9cf9-ab287c3337d3 ro
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34
RfKill:

SourcePackage: linux
dmi.bios.date: 12/01/2006
dmi.bios.vendor: innotek GmbH
dmi.bios.version: VirtualBox
dmi.modalias: dmi:bvninnotekGmbH:bvrVirtualBox:bd12/01/2006:svninnotekGmbH:pnVirtualBox:pvr1.2:
dmi.product.name: VirtualBox
dmi.product.version: 1.2
dmi.sys.vendor: innotek GmbH

Revision history for this message
marwooj (marwooj) wrote :
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi marwooj,

If you could also please test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
marwooj (marwooj) wrote :

Works the same (wrong) with 2.6.34-020634-generic.
It is my only Internet connection so when I am with not working nozomi I can not upload this automatic files that uploaded last time.
Is there a way I can do this after booting in working kernel?

Revision history for this message
marwooj (marwooj) wrote :

The same after initrd.img-2.6.35-020635rc5-generic

Revision history for this message
marwooj (marwooj) wrote :
Download full text (6.7 KiB)

Jul 16 13:50:11 marekdeb kernel: [ 38.113511] Warning: dev (noz0) tty->count(0) != #fd's(1) in tty_open
Jul 16 13:50:11 marekdeb kernel: [ 38.113518] noz: activated 0: efbdc860
Jul 16 13:50:11 marekdeb kernel: [ 38.113562] BUG: unable to handle kernel NULL pointer dereference at 000000bc
Jul 16 13:50:11 marekdeb kernel: [ 38.113568] IP: [<c05c982b>] mutex_lock+0x1b/0x40
Jul 16 13:50:11 marekdeb kernel: [ 38.113580] *pde = 00000000
Jul 16 13:50:11 marekdeb kernel: [ 38.113583] Oops: 0002 [#1] SMP
Jul 16 13:50:11 marekdeb kernel: [ 38.113587] last sysfs file: /sys/devices/pci0000:00/0000:00:14.4/0000:02:06.0/net/mon.wlan0/flags
Jul 16 13:50:11 marekdeb kernel: [ 38.113591] Modules linked in: binfmt_misc radeon ttm drm_kms_helper drm i2c_algo_bit nozomi snd_hda_codec_realtek xt_state snd_hda_intel xt_tcpudp ipt_MASQUERADE iptable_nat nf_nat snd_hda_codec nf_conntrack_ipv4 snd_hwdep snd_pcm snd_seq_midi nf_conntrack arc4 snd_rawmidi nf_defrag_ipv4 snd_seq_midi_event iptable_filter snd_seq ath5k pcmcia ip_tables snd_timer snd_seq_device x_tables ppdev mac80211 yenta_socket snd pcmcia_rsrc parport_pc ath soundcore pcmcia_core parport cfg80211 led_class ati_agp snd_page_alloc serio_raw agpgart i2c_piix4 shpchp k8temp r8169 ahci pata_atiixp mii libahci
Jul 16 13:50:11 marekdeb kernel: [ 38.113634]
Jul 16 13:50:11 marekdeb kernel: [ 38.113638] Pid: 1652, comm: wvdial Not tainted 2.6.35-020635rc5-generic #020635rc5 GA-MA69VM-S2/GA-MA69VM-S2
Jul 16 13:50:11 marekdeb kernel: [ 38.113642] EIP: 0060:[<c05c982b>] EFLAGS: 00210246 CPU: 0
Jul 16 13:50:11 marekdeb kernel: [ 38.113646] EIP is at mutex_lock+0x1b/0x40
Jul 16 13:50:11 marekdeb kernel: [ 38.113649] EAX: 000000bc EBX: 000000bc ECX: e8862000 EDX: 00000000
Jul 16 13:50:11 marekdeb kernel: [ 38.113652] ESI: 00001000 EDI: 000000bc EBP: e7eb5afc ESP: e7eb5af4
Jul 16 13:50:11 marekdeb kernel: [ 38.113655] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Jul 16 13:50:11 marekdeb kernel: [ 38.113658] Process wvdial (pid: 1652, ti=e7eb4000 task=e990a610 task.ti=e7eb4000)
Jul 16 13:50:11 marekdeb kernel: [ 38.113660] Stack:
Jul 16 13:50:11 marekdeb kernel: [ 38.113662] 00000000 00001000 e7eb5b10 f84b8a3d e8862000 00000000 e8862000 e7eb5b18
Jul 16 13:50:11 marekdeb kernel: [ 38.113669] <0> c03ddb3d e7eb5b30 c03dc485 efb0c300 efb0c300 e8862000 c03dc360 e7eb5b50
Jul 16 13:50:11 marekdeb kernel: [ 38.113676] <0> c03d7723 00000000 e7f03b90 00000000 00000010 efb0c300 00000004 e7eb5e44
Jul 16 13:50:11 marekdeb kernel: [ 38.113683] Call Trace:
Jul 16 13:50:11 marekdeb kernel: [ 38.113691] [<f84b8a3d>] ? ntty_write_room+0x4d/0xa0 [nozomi]
Jul 16 13:50:11 marekdeb kernel: [ 38.113698] [<c03ddb3d>] ? tty_write_room+0x1d/0x20
Jul 16 13:50:11 marekdeb kernel: [ 38.113702] [<c03dc485>] ? n_tty_poll+0x125/0x170
Jul 16 13:50:11 marekdeb kernel: [ 38.113706] [<c03dc360>] ? n_tty_poll+0x0/0x170
Jul 16 13:50:11 marekdeb kernel: [ 38.113710] [<c03d7723>] ? tty_poll+0x73/0x80
Jul 16 13:50:11 marekdeb kernel: [ 38.113716] [<c022a2ff>] ? do_select+0x25f/0x500
Jul 16 13:50:11 marekdeb kernel: [ 38.113720] [<c022a5a0>] ? __pollwait+0x0/0x70
Jul 16 13:50:11 marekdeb kernel: ...

Read more...

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu development release http://cdimage.ubuntu.com/daily-live/current/ . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
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.