[Bug 1059035] [NEW] [ Quantal ]Cant mount the cdrom from fstab

dino99 1059035 at bugs.launchpad.net
Sun Sep 30 12:56:43 UTC 2012


Public bug reported:

I have some issues to boot since b2 is out, and seems to be related to
hardware settings/entries:

The issues started after b1:
after selecting the boot line, i got/get "prereset failed errno=-19" but the boot process  continue. Since a few days the boot process gave me some more errors and finally hung at /home loading.

reported : https://bugzilla.kernel.org/show_bug.cgi?id=47781

To narrow down these issues, i've found that my hdds was set with write-cache enabled (i cant remember having made that choice myself) ; so googling around similar issue, a few users report less trouble when write-cache is disabled. So i made the change with hdparm.
Next, i've seen that booting in recovery mode was processing normally till /home loading. Opening /etc/fstab, i then commented out the cdrom line. Then booting have stopped hanging.

Here is the config:

fstab:
proc  /proc  proc  nodev,noexec,nosuid   0  0
UUID=00c5de83-479c-4ab0-9b54-9af0a727175e  /  ext4  errors=remount-ro 0 1
UUID=0a9ca7f0-6eeb-4b21-b70f-670fa600de16 none swap sw 0 0
UUID=5d8d1ee1-f5af-40a1-a45d-dbc570808523 /home ext3 nodev,nosuid  0 2
# /dev/disk/by-id/ata-TSSTcorp_CDDVDW_SH-S203D /mnt/ata-TSSTcorp_CDDVDW_SH-S203D  user,nosuid,nodev,nofail,noauto,x-gvfs-show 0 0

oem at dub:~$ sudo blkid
[sudo] password for oem:
/dev/sda1: LABEL="LTS32" UUID="9cebceda-bcb5-4ddb-a50c-52f18711594c" TYPE="ext4"
/dev/sda2: UUID="0a9ca7f0-6eeb-4b21-b70f-670fa600de16" TYPE="swap"
/dev/sda3: LABEL="lhom" UUID="5d8d1ee1-f5af-40a1-a45d-dbc570808523" TYPE="ext3"
/dev/sdb1: LABEL="Dev32" UUID="9e61e83e-bca9-43cf-aa90-5a68892213fa" TYPE="ext3"
/dev/sdb4: LABEL="Lub32" UUID="aa1bddfe-1ddb-4832-bee9-eb31c56faefa" TYPE="ext4"
/dev/sdb5: LABEL="Current32" UUID="00c5de83-479c-4ab0-9b54-9af0a727175e" TYPE="ext4"

oem at dub:~$ ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 sept. 30 10:57 00c5de83-479c-4ab0-9b54-9af0a727175e -> ../../sdb5
lrwxrwxrwx 1 root root 10 sept. 30 10:57 0a9ca7f0-6eeb-4b21-b70f-670fa600de16 -> ../../sda2
lrwxrwxrwx 1 root root 10 sept. 30 10:57 5d8d1ee1-f5af-40a1-a45d-dbc570808523 -> ../../sda3
lrwxrwxrwx 1 root root 10 sept. 30 10:57 9cebceda-bcb5-4ddb-a50c-52f18711594c -> ../../sda1
lrwxrwxrwx 1 root root 10 sept. 30 10:58 9e61e83e-bca9-43cf-aa90-5a68892213fa -> ../../sdb1
lrwxrwxrwx 1 root root 10 sept. 30 10:58 aa1bddfe-1ddb-4832-bee9-eb31c56faefa -> ../../sdb4

oem at dub:~$ ls -l /dev/disk/by-id/
total 0
lrwxrwxrwx 1 root root  9 sept. 30 10:57 ata-HDT722516DLAT80_VD071CTCDA8EBN -> ../../sdb
lrwxrwxrwx 1 root root 10 sept. 30 10:58 ata-HDT722516DLAT80_VD071CTCDA8EBN-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 sept. 30 10:57 ata-HDT722516DLAT80_VD071CTCDA8EBN-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 sept. 30 10:58 ata-HDT722516DLAT80_VD071CTCDA8EBN-part4 -> ../../sdb4
lrwxrwxrwx 1 root root 10 sept. 30 10:57 ata-HDT722516DLAT80_VD071CTCDA8EBN-part5 -> ../../sdb5
lrwxrwxrwx 1 root root  9 sept. 30 10:57 ata-ST3120026AS_3JT169W6 -> ../../sda
lrwxrwxrwx 1 root root 10 sept. 30 10:57 ata-ST3120026AS_3JT169W6-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 sept. 30 10:57 ata-ST3120026AS_3JT169W6-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 sept. 30 10:57 ata-ST3120026AS_3JT169W6-part3 -> ../../sda3
lrwxrwxrwx 1 root root  9 sept. 30 10:57 ata-TSSTcorp_CDDVDW_SH-S203D -> ../../sr0
lrwxrwxrwx 1 root root  9 sept. 30 10:57 scsi-SATA_HDT722516DLAT80_VD071CTCDA8EBN -> ../../sdb
lrwxrwxrwx 1 root root 10 sept. 30 10:58 scsi-SATA_HDT722516DLAT80_VD071CTCDA8EBN-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 sept. 30 10:57 scsi-SATA_HDT722516DLAT80_VD071CTCDA8EBN-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 sept. 30 10:58 scsi-SATA_HDT722516DLAT80_VD071CTCDA8EBN-part4 -> ../../sdb4
lrwxrwxrwx 1 root root 10 sept. 30 10:57 scsi-SATA_HDT722516DLAT80_VD071CTCDA8EBN-part5 -> ../../sdb5
lrwxrwxrwx 1 root root  9 sept. 30 10:57 scsi-SATA_ST3120026AS_3JT169W6 -> ../../sda
lrwxrwxrwx 1 root root 10 sept. 30 10:57 scsi-SATA_ST3120026AS_3JT169W6-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 sept. 30 10:57 scsi-SATA_ST3120026AS_3JT169W6-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 sept. 30 10:57 scsi-SATA_ST3120026AS_3JT169W6-part3 -> ../../sda3
lrwxrwxrwx 1 root root  9 sept. 30 10:57 wwn-0x5000cca205d2c2dd -> ../../sdb
lrwxrwxrwx 1 root root 10 sept. 30 10:58 wwn-0x5000cca205d2c2dd-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 sept. 30 10:57 wwn-0x5000cca205d2c2dd-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 sept. 30 10:58 wwn-0x5000cca205d2c2dd-part4 -> ../../sdb4
lrwxrwxrwx 1 root root 10 sept. 30 10:57 wwn-0x5000cca205d2c2dd-part5 -> ../../sdb5

oem at dub:~$ dmesg|grep 'ATAPI'
[    1.312657] ata3.00: ATAPI: TSSTcorp CDDVDW SH-S203D, SB00, max UDMA/100

Smartmontools:

smartctl 5.43 2012-06-30 r3573 [i686-linux-3.6.0-030600rc6-generic] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

Vendor:               TSSTcorp
Product:              CDDVDW SH-S203D
Revision:             SB00
>> Terminate command early due to bad response to IEC mode page
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.

So the cdrom can be identified only  by-id but not by-uuid. The fstab
entry has been written by the system itself, and is not mountable.

After these tweaks, the system boot but still get that misterious "prereset failed errno=-19"; which was reported in 2004 about libata when a seagate hdd and a siliconimage chipset was used together (but i'm having a 4723 chipset here, not a faulty 3xxx one). Note that this "prereset error" is when i boot a QQ system, not a PP one (grub2 from QQ applied to all OS, as mixing grub 1.99 & grub2.0 is building boot issues).
PS: the cdrom can be used, as it auto mount when a cd is inserted; but then why the system have made a fstab entry for it  ?

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: util-linux 2.20.1-5.1ubuntu2
Uname: Linux 3.6.0-030600rc6-generic i686
ApportVersion: 2.5.3-0ubuntu1
Architecture: i386
Date: Sun Sep 30 14:21:52 2012
SourcePackage: util-linux
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: util-linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 quantal

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1059035

Title:
  [ Quantal ]Cant mount the cdrom from fstab

Status in “util-linux” package in Ubuntu:
  New

Bug description:
  I have some issues to boot since b2 is out, and seems to be related to
  hardware settings/entries:

  The issues started after b1:
  after selecting the boot line, i got/get "prereset failed errno=-19" but the boot process  continue. Since a few days the boot process gave me some more errors and finally hung at /home loading.

  reported : https://bugzilla.kernel.org/show_bug.cgi?id=47781

  To narrow down these issues, i've found that my hdds was set with write-cache enabled (i cant remember having made that choice myself) ; so googling around similar issue, a few users report less trouble when write-cache is disabled. So i made the change with hdparm.
  Next, i've seen that booting in recovery mode was processing normally till /home loading. Opening /etc/fstab, i then commented out the cdrom line. Then booting have stopped hanging.

  Here is the config:

  fstab:
  proc  /proc  proc  nodev,noexec,nosuid   0  0
  UUID=00c5de83-479c-4ab0-9b54-9af0a727175e  /  ext4  errors=remount-ro 0 1
  UUID=0a9ca7f0-6eeb-4b21-b70f-670fa600de16 none swap sw 0 0
  UUID=5d8d1ee1-f5af-40a1-a45d-dbc570808523 /home ext3 nodev,nosuid  0 2
  # /dev/disk/by-id/ata-TSSTcorp_CDDVDW_SH-S203D /mnt/ata-TSSTcorp_CDDVDW_SH-S203D  user,nosuid,nodev,nofail,noauto,x-gvfs-show 0 0

  oem at dub:~$ sudo blkid
  [sudo] password for oem:
  /dev/sda1: LABEL="LTS32" UUID="9cebceda-bcb5-4ddb-a50c-52f18711594c" TYPE="ext4"
  /dev/sda2: UUID="0a9ca7f0-6eeb-4b21-b70f-670fa600de16" TYPE="swap"
  /dev/sda3: LABEL="lhom" UUID="5d8d1ee1-f5af-40a1-a45d-dbc570808523" TYPE="ext3"
  /dev/sdb1: LABEL="Dev32" UUID="9e61e83e-bca9-43cf-aa90-5a68892213fa" TYPE="ext3"
  /dev/sdb4: LABEL="Lub32" UUID="aa1bddfe-1ddb-4832-bee9-eb31c56faefa" TYPE="ext4"
  /dev/sdb5: LABEL="Current32" UUID="00c5de83-479c-4ab0-9b54-9af0a727175e" TYPE="ext4"

  oem at dub:~$ ls -l /dev/disk/by-uuid/
  total 0
  lrwxrwxrwx 1 root root 10 sept. 30 10:57 00c5de83-479c-4ab0-9b54-9af0a727175e -> ../../sdb5
  lrwxrwxrwx 1 root root 10 sept. 30 10:57 0a9ca7f0-6eeb-4b21-b70f-670fa600de16 -> ../../sda2
  lrwxrwxrwx 1 root root 10 sept. 30 10:57 5d8d1ee1-f5af-40a1-a45d-dbc570808523 -> ../../sda3
  lrwxrwxrwx 1 root root 10 sept. 30 10:57 9cebceda-bcb5-4ddb-a50c-52f18711594c -> ../../sda1
  lrwxrwxrwx 1 root root 10 sept. 30 10:58 9e61e83e-bca9-43cf-aa90-5a68892213fa -> ../../sdb1
  lrwxrwxrwx 1 root root 10 sept. 30 10:58 aa1bddfe-1ddb-4832-bee9-eb31c56faefa -> ../../sdb4

  oem at dub:~$ ls -l /dev/disk/by-id/
  total 0
  lrwxrwxrwx 1 root root  9 sept. 30 10:57 ata-HDT722516DLAT80_VD071CTCDA8EBN -> ../../sdb
  lrwxrwxrwx 1 root root 10 sept. 30 10:58 ata-HDT722516DLAT80_VD071CTCDA8EBN-part1 -> ../../sdb1
  lrwxrwxrwx 1 root root 10 sept. 30 10:57 ata-HDT722516DLAT80_VD071CTCDA8EBN-part3 -> ../../sdb3
  lrwxrwxrwx 1 root root 10 sept. 30 10:58 ata-HDT722516DLAT80_VD071CTCDA8EBN-part4 -> ../../sdb4
  lrwxrwxrwx 1 root root 10 sept. 30 10:57 ata-HDT722516DLAT80_VD071CTCDA8EBN-part5 -> ../../sdb5
  lrwxrwxrwx 1 root root  9 sept. 30 10:57 ata-ST3120026AS_3JT169W6 -> ../../sda
  lrwxrwxrwx 1 root root 10 sept. 30 10:57 ata-ST3120026AS_3JT169W6-part1 -> ../../sda1
  lrwxrwxrwx 1 root root 10 sept. 30 10:57 ata-ST3120026AS_3JT169W6-part2 -> ../../sda2
  lrwxrwxrwx 1 root root 10 sept. 30 10:57 ata-ST3120026AS_3JT169W6-part3 -> ../../sda3
  lrwxrwxrwx 1 root root  9 sept. 30 10:57 ata-TSSTcorp_CDDVDW_SH-S203D -> ../../sr0
  lrwxrwxrwx 1 root root  9 sept. 30 10:57 scsi-SATA_HDT722516DLAT80_VD071CTCDA8EBN -> ../../sdb
  lrwxrwxrwx 1 root root 10 sept. 30 10:58 scsi-SATA_HDT722516DLAT80_VD071CTCDA8EBN-part1 -> ../../sdb1
  lrwxrwxrwx 1 root root 10 sept. 30 10:57 scsi-SATA_HDT722516DLAT80_VD071CTCDA8EBN-part3 -> ../../sdb3
  lrwxrwxrwx 1 root root 10 sept. 30 10:58 scsi-SATA_HDT722516DLAT80_VD071CTCDA8EBN-part4 -> ../../sdb4
  lrwxrwxrwx 1 root root 10 sept. 30 10:57 scsi-SATA_HDT722516DLAT80_VD071CTCDA8EBN-part5 -> ../../sdb5
  lrwxrwxrwx 1 root root  9 sept. 30 10:57 scsi-SATA_ST3120026AS_3JT169W6 -> ../../sda
  lrwxrwxrwx 1 root root 10 sept. 30 10:57 scsi-SATA_ST3120026AS_3JT169W6-part1 -> ../../sda1
  lrwxrwxrwx 1 root root 10 sept. 30 10:57 scsi-SATA_ST3120026AS_3JT169W6-part2 -> ../../sda2
  lrwxrwxrwx 1 root root 10 sept. 30 10:57 scsi-SATA_ST3120026AS_3JT169W6-part3 -> ../../sda3
  lrwxrwxrwx 1 root root  9 sept. 30 10:57 wwn-0x5000cca205d2c2dd -> ../../sdb
  lrwxrwxrwx 1 root root 10 sept. 30 10:58 wwn-0x5000cca205d2c2dd-part1 -> ../../sdb1
  lrwxrwxrwx 1 root root 10 sept. 30 10:57 wwn-0x5000cca205d2c2dd-part3 -> ../../sdb3
  lrwxrwxrwx 1 root root 10 sept. 30 10:58 wwn-0x5000cca205d2c2dd-part4 -> ../../sdb4
  lrwxrwxrwx 1 root root 10 sept. 30 10:57 wwn-0x5000cca205d2c2dd-part5 -> ../../sdb5

  oem at dub:~$ dmesg|grep 'ATAPI'
  [    1.312657] ata3.00: ATAPI: TSSTcorp CDDVDW SH-S203D, SB00, max UDMA/100

  Smartmontools:

  smartctl 5.43 2012-06-30 r3573 [i686-linux-3.6.0-030600rc6-generic] (local build)
  Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

  Vendor:               TSSTcorp
  Product:              CDDVDW SH-S203D
  Revision:             SB00
  >> Terminate command early due to bad response to IEC mode page
  A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.

  So the cdrom can be identified only  by-id but not by-uuid. The fstab
  entry has been written by the system itself, and is not mountable.

  After these tweaks, the system boot but still get that misterious "prereset failed errno=-19"; which was reported in 2004 about libata when a seagate hdd and a siliconimage chipset was used together (but i'm having a 4723 chipset here, not a faulty 3xxx one). Note that this "prereset error" is when i boot a QQ system, not a PP one (grub2 from QQ applied to all OS, as mixing grub 1.99 & grub2.0 is building boot issues).
  PS: the cdrom can be used, as it auto mount when a cd is inserted; but then why the system have made a fstab entry for it  ?

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: util-linux 2.20.1-5.1ubuntu2
  Uname: Linux 3.6.0-030600rc6-generic i686
  ApportVersion: 2.5.3-0ubuntu1
  Architecture: i386
  Date: Sun Sep 30 14:21:52 2012
  SourcePackage: util-linux
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1059035/+subscriptions




More information about the foundations-bugs mailing list