Bug 495446
Summary: | kernel oops on plugging in nokia 6500 classic phone | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Peter Robinson <pbrobinson> |
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | dqarras, itamar, kernel-maint, quintela |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-04-29 03:27:08 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Peter Robinson
2009-04-13 09:05:02 UTC
drivers/char/n_tty.c:828 drivers/char/n_tty.c:1160 drivers/char/tty_buffer.c:444 drivers/char/tty_buffer.c:486 if (tty->low_latency) flush_to_ldisc(&tty->buf.work.work); Should be fixed in kernel-2.6.29.1-77.fc11 build 70 or 77. I only see as high as 70 in rawhide/koji OK, I don't see the kernel oops anymore but I don't see any file systems either. Fdisk reports no partitions. usb 6-2: new full speed USB device using uhci_hcd and address 3 usb 6-2: New USB device found, idVendor=0421, idProduct=003c usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 6-2: Product: Nokia 6500c usb 6-2: Manufacturer: Nokia usb 6-2: SerialNumber: 353099020423773 usb 6-2: configuration #1 chosen from 1 choice usb 6-2: USB disconnect, address 3 usb 6-2: new full speed USB device using uhci_hcd and address 4 usb 6-2: New USB device found, idVendor=0421, idProduct=003b usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 6-2: Product: Nokia 6500c usb 6-2: Manufacturer: Nokia usb 6-2: SerialNumber: 353099020423773 usb 6-2: configuration #1 chosen from 2 choices Initializing USB Mass Storage driver... scsi4 : SCSI emulation for USB Mass Storage devices usbcore: registered new interface driver usb-storage USB Mass Storage support registered. usb-storage: device found at 4 usb-storage: waiting for device to settle before scanning usb-storage: device scan complete scsi 4:0:0:0: Direct-Access Nokia Nokia 6500c 0000 PQ: 0 ANSI: 4 sd 4:0:0:0: [sdb] 1966080 512-byte hardware sectors: (1.00 GB/960 MiB) sd 4:0:0:0: [sdb] Write Protect is off sd 4:0:0:0: [sdb] Mode Sense: 04 00 00 00 sd 4:0:0:0: [sdb] Assuming drive cache: write through sd 4:0:0:0: [sdb] 1966080 512-byte hardware sectors: (1.00 GB/960 MiB) sd 4:0:0:0: [sdb] Write Protect is off sd 4:0:0:0: [sdb] Mode Sense: 04 00 00 00 sd 4:0:0:0: [sdb] Assuming drive cache: write through sdb: sd 4:0:0:0: [sdb] Attached SCSI removable disk sd 4:0:0:0: Attached scsi generic sg2 type 0 [root@neo ~]# fdisk /dev/sdb Command (m for help): p Disk /dev/sdb: 1006 MB, 1006632960 bytes 31 heads, 62 sectors/track, 1022 cylinders Units = cylinders of 1922 * 512 = 984064 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System Command (m for help): q [root@neo ~]# Still not seeing the file system on 2.6.29.1-85.fc11.x86_64 usb 5-2: new full speed USB device using uhci_hcd and address 2 usb 5-2: New USB device found, idVendor=0421, idProduct=003c usb 5-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 5-2: Product: Nokia 6500c usb 5-2: Manufacturer: Nokia usb 5-2: SerialNumber: 353099020423773 usb 5-2: configuration #1 chosen from 1 choice usb 5-2: USB disconnect, address 2 usb 5-2: new full speed USB device using uhci_hcd and address 3 usb 5-2: New USB device found, idVendor=0421, idProduct=003b usb 5-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 5-2: Product: Nokia 6500c usb 5-2: Manufacturer: Nokia usb 5-2: SerialNumber: 353099020423773 usb 5-2: configuration #1 chosen from 2 choices Initializing USB Mass Storage driver... scsi4 : SCSI emulation for USB Mass Storage devices usbcore: registered new interface driver usb-storage USB Mass Storage support registered. usb-storage: device found at 3 usb-storage: waiting for device to settle before scanning usb-storage: device scan complete scsi 4:0:0:0: Direct-Access Nokia Nokia 6500c 0000 PQ: 0 ANSI: 4 sd 4:0:0:0: [sdb] 1966080 512-byte hardware sectors: (1.00 GB/960 MiB) sd 4:0:0:0: [sdb] Write Protect is off sd 4:0:0:0: [sdb] Mode Sense: 04 00 00 00 sd 4:0:0:0: [sdb] Assuming drive cache: write through sd 4:0:0:0: [sdb] 1966080 512-byte hardware sectors: (1.00 GB/960 MiB) sd 4:0:0:0: [sdb] Write Protect is off sd 4:0:0:0: [sdb] Mode Sense: 04 00 00 00 sd 4:0:0:0: [sdb] Assuming drive cache: write through sdb: sd 4:0:0:0: [sdb] Attached SCSI removable disk sd 4:0:0:0: Attached scsi generic sg2 type 0 You have new mail in /var/spool/mail/root [root@neo ~]# fdisk /dev/sdb Command (m for help): p Disk /dev/sdb: 1006 MB, 1006632960 bytes 31 heads, 62 sectors/track, 1022 cylinders Units = cylinders of 1922 * 512 = 984064 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System Command (m for help): q [root@neo ~]# uname -a Linux neo 2.6.29.1-85.fc11.x86_64 #1 SMP Wed Apr 15 19:21:17 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux I have this "missing partitions" problem with Nokia E75 connected with USB after upgrading to 2.6.29.1-85.fc11.i586. Earlier kernel-2.6.29.1-70.fc11.i586 worked ok but unfortunately I can't find it from mirrors anymore and can't verify that it really was the kernel upgrade that caused this regression. Nokia E75 can be connected in 5 different modes over USB and with kernel-2.6.29.1-70 two of the modes provided access to storage area on the phone, one to memory card and one to a "CD-ROM" drive. Now both of these are showing without partitions. In camera mode photos can be still accessed, though. Below are syslog output, first with USB Mass Storage mode and second in CD-ROM mode. Apr 19 13:18:21 localhost kernel: usb 1-8: new high speed USB device using ehci_hcd and address 9 Apr 19 13:18:21 localhost kernel: usb 1-8: New USB device found, idVendor=0421, idProduct=010d Apr 19 13:18:21 localhost kernel: usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Apr 19 13:18:21 localhost kernel: usb 1-8: Product: Nokia E75 Apr 19 13:18:21 localhost kernel: usb 1-8: Manufacturer: Nokia Apr 19 13:18:21 localhost kernel: usb 1-8: SerialNumber: 1234567890 Apr 19 13:18:21 localhost kernel: usb 1-8: configuration #1 chosen from 1 choice Apr 19 13:18:21 localhost kernel: scsi4 : SCSI emulation for USB Mass Storage devices Apr 19 13:18:26 localhost kernel: scsi 4:0:0:0: Direct-Access Nokia S60 1.0 PQ: 0 ANSI: 0 Apr 19 13:18:26 localhost kernel: sd 4:0:0:0: [sdb] 7959552 512-byte hardware sectors: (4.07 GB/3.79 GiB) Apr 19 13:18:26 localhost kernel: sd 4:0:0:0: [sdb] Write Protect is off Apr 19 13:18:26 localhost kernel: sd 4:0:0:0: [sdb] Assuming drive cache: write through Apr 19 13:18:26 localhost kernel: sd 4:0:0:0: [sdb] 7959552 512-byte hardware sectors: (4.07 GB/3.79 GiB) Apr 19 13:18:26 localhost kernel: sd 4:0:0:0: [sdb] Write Protect is off Apr 19 13:18:26 localhost kernel: sd 4:0:0:0: [sdb] Assuming drive cache: write through Apr 19 13:18:27 localhost kernel: sdb: Apr 19 13:18:27 localhost kernel: sd 4:0:0:0: [sdb] Attached SCSI removable disk Apr 19 13:18:27 localhost kernel: sd 4:0:0:0: Attached scsi generic sg2 type 0 Apr 19 13:21:52 localhost kernel: usb 1-8: new high speed USB device using ehci_hcd and address 12 Apr 19 13:21:53 localhost kernel: usb 1-8: New USB device found, idVendor=0421, idProduct=010d Apr 19 13:21:53 localhost kernel: usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Apr 19 13:21:53 localhost kernel: usb 1-8: Product: Nokia E75 Apr 19 13:21:53 localhost kernel: usb 1-8: Manufacturer: Nokia Apr 19 13:21:53 localhost kernel: usb 1-8: SerialNumber: 1234567890 Apr 19 13:21:53 localhost kernel: usb 1-8: configuration #1 chosen from 1 choice Apr 19 13:21:53 localhost kernel: scsi5 : SCSI emulation for USB Mass Storage devices Apr 19 13:21:58 localhost kernel: scsi 5:0:0:0: CD-ROM Nokia S60 1.0 PQ: 0 ANSI: 2 Apr 19 13:21:58 localhost kernel: sr1: scsi3-mmc drive: 0x/0x xa/form2 tray Apr 19 13:21:58 localhost kernel: sr 5:0:0:0: Attached scsi generic sg2 type 5 Ok, I'm puzzled, I now tried with 2.6.29-0.258.2.3.rc8.git2.fc11.i586 and still no partitions. I have narrowed this down to DeviceKit-disks upgrade, please see https://bugzilla.redhat.com/show_bug.cgi?id=496683 I am still wondering how non-kernel upgrade can mess up disk partition visibility. PS. I think the original issue this bug was created for is now clearly solved and this report should be closed. I see that https://bugzilla.redhat.com/show_bug.cgi?id=495876 is also related. I think it is now clear that the missing partitions are due to a udev issue, please see Bug 496683. I think this bug can be closed if the oops is gone. |