thunar unable to open or mount openbsd partition

Bug #177899 reported by Lars Noodén on 2007-12-21
2
Affects Status Importance Assigned to Milestone
hal (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: thunar

The following CF disk cannot be opened by thunar on Xubuntu. It contains a functioning OpenBSD 4.2 system which boots and runs just fine.

 Disk: wd0 geometry: 983/32/63 [1981728 Sectors]
 Offset: 0 Signature: 0xAA55
           Starting Ending LBA Info:
  #: id C H S - C H S [ start: size ]
 ------------------------------------------------------------------------
 *0: A6 0 1 1 - 780 29 63 [ 63: 1574307 ] OpenBSD
  1: A6 780 30 1 - 980 4 63 [ 1574370: 401625 ] OpenBSD
  2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
  3: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused

The label editor gives the following:

 device: /dev/rwd0c
 type: ESDI
 disk: ESDI/IDE disk
 label: CF CARD 1GB
 bytes/sector: 512
 sectors/track: 63
 tracks/cylinder: 32
 sectors/cylinder: 2016
 cylinders: 983
 total sectors: 1981728
 free sectors: 0
 rpm: 3600

 16 partitions:
 # size offset fstype [fsize bsize cpg]
   a: 1574307 63 4.2BSD 2048 16384 16 # /
   c: 1981728 0 unused 0 0
   d: 407358 1574370 4.2BSD 2048 16384 16 # /data

This is on

 # uname -a
 Linux antiken 2.6.22-14-generic #1 SMP Tue Dec 18 08:02:57 UTC 2007 i686 GNU/Linux

 # cat /etc/lsb-release
 DISTRIB_ID=Ubuntu
 DISTRIB_RELEASE=7.10
 DISTRIB_CODENAME=gutsy
 DISTRIB_DESCRIPTION="Ubuntu 7.10"

The exact error is:

mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error in some cases useful info is found in syslog try dmesg | tail or so

dmesg | tail gives the following:

 [22507.951963] EXT2-fs error (device sdb2): ext2_readdir: bad page in #2
 [22508.951726] EXT2-fs error (device sdb2): ext2_readdir: bad page in #2
 [22509.951266] EXT2-fs error (device sdb2): ext2_readdir: bad page in #2
 [22510.951056] EXT2-fs error (device sdb2): ext2_readdir: bad page in #2
 [22511.949997] EXT2-fs error (device sdb2): ext2_readdir: bad page in #2
 [22512.949809] EXT2-fs error (device sdb2): ext2_readdir: bad page in #2
 [22513.949534] EXT2-fs error (device sdb2): ext2_readdir: bad page in #2
 [22514.949284] EXT2-fs error (device sdb2): ext2_readdir: bad page in #2

Thank you for your bug report. Thunar uses gnome-mount to mount the partitions, this might be a problem with gnome-mount. Setting gnome-mount as the affected package.

Martin Pitt (pitti) wrote :

More of a hal problem, but let's find out about this particular device first. Please plug in the CF disk and then copy&paste the output of

  sudo blkid

here. Thank you!

Changed in gnome-mount:
status: New → Incomplete

This bug report is being closed because we received no response to the last inquiry for information. Please reopen it if this is still an issue in the current Ubuntu release. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Please don't hesitate to submit bug reports in the future, we really appreciate it. Thanks again!

Changed in hal:
status: Incomplete → Invalid

FWIW that unit went off to the recycling center. On a feisty kubuntu apt-pinned partially to gutsy, blkid gives the following output

$ sudo blkid
/dev/hda2: TYPE="hfs"
/dev/hda3: UUID="12959e6a-0fd5-4424-ac33-bb299aea5d9d" SEC_TYPE="ext2" TYPE="ext3"
/dev/hda4: UUID="60db938c-efd5-4472-becb-47cf2ad760e1" SEC_TYPE="ext2" TYPE="ext3"
/dev/hda5: UUID="e11e84d6-86f4-4cae-838b-c97f6e9ac49f" TYPE="swap"
/dev/hda7: UUID="a5ca74fe-4eed-44ce-963f-f73dd9f03b80" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb4: TYPE="ufs"
/dev/sdb5: TYPE="ufs"
/dev/sdb6: TYPE="ufs"

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers