Tech Support > Operating Systems > IBM OS/2 Warp > Mounting HPFS partition with SuSE 9.3
Mounting HPFS partition with SuSE 9.3
Posted by PaulRS on June 30th, 2005



-- I know this is a Linux question, BUT it is also directlly connected
with OS/2 and you OS/2ers may be better equipped to answer . . . .

-- I have a new install of SuSE 9.3 on a box with OS/2 4.52 also
installed. The OS/2 system uses HPFS (high performance file system).
This is a new system with SATA drives that are approached as SCSI
(sda, sdb).

(1) I modified FSTAB to see the HPFS partitions
/dev/sda6 /drives/os2 hpfs ro,user,noauto 00

(2) When I try to mount them I get:
(a) wrong fs type, bad option, bad superblock, missing code page
or other error

(b) dmesg | tail READS
hpfs: unsupported module tainting kernel
HPFS: filesystem error: dir band size mismatch:
dir_band_start==00177ff4, dir_band_end==00000000,
n_dir_band==0017be83; already mounted read-only

Booting to OS2 works fine. Also, other HPFS partition on this box get
the same messages

Can anybody help????
Paul

Posted by Jan Danielsson on June 30th, 2005


PaulRS wrote:
It looks like you're mounting the wrong partition. The super block is
at a fixed offset from a partitions' start. If you're mounting the
proper partition, it should find the super block, and then the other
file system structures.

If booting OS/2 works, then the file system is ok, so all you need is
make sure the driver finds the superblock.

Posted by PaulRS on June 30th, 2005


On Thu, 30 Jun 2005 20:36:33 UTC, Jan Danielsson
<jan.danielsson@gmail.com> wrote:

The same thing happens with every HPFS partition including a SCSI -
Zip100. A FAT-16 disk is seen fine, but not a HPFS disk. Under the
OS/2 boot all partitions are seen and written to just fine.
--


Posted by Jan Danielsson on July 1st, 2005


PaulRS wrote:
As I stated earlier, it looks like all the errors you are getting
come from it not being able to locate the superblock (which is a trivial
thing to do). As far as I can tell, either you are specifying the wrong
partition (unlikely, since you have tried with multiple devices, and
since FAT works), or there's a problem with the driver (more likely).

Do you happen to know where the source to the hpfs driver is located?
(a CVS online browser would be great).

My theories:
1) The driver is simply broken:
- due to some special configuration you have (oddball geometry which
the driver dislikes?)
- due to recent changes in the kernel
2) Dark Magic (have you annoyed any evil wizards lately?)

Though it could be as simple as some mount piculiarity I don't know
about. For my *nix needs, I mostly use NetBSD myself, so I know little
about Linux quirks.

Posted by Pete on July 1st, 2005


On Thu, 30 Jun 2005 23:22:22 UTC, Jan Danielsson
<jan.danielsson@gmail.com> wrote:

Not sure if this will help, but the typical fstab line for HPFS
partitions in my SuSE 8.2 installation reads this way:
/dev/hdb9 /mnt/DriveJ auto rw,user
0 0
(IDE drives of course) Seems to work OK.

Pete

--


Posted by philo on July 1st, 2005


PaulRS wrote:

Posted by Bob Martin on July 1st, 2005


in 217558 20050630 173716 prschmi@Zverizon.net (PaulRS) wrote:
I had a similar problem with later versions of Knoppix and someone told me to try

mount -t hpfs /dev/hdxX /mnt/hdxX

and it worked.

Posted by PaulRS on July 1st, 2005


On Fri, 1 Jul 2005 05:17:42 UTC, philo <philo@privacy.net> wrote:

I am using SuSE 9.3 fresh install out of the box. I also tried using:
"modprobe hpfs"

The Kernel did not have the hpfs module initially - I got the same
results. 9.0 does not have a hpfs module installed and it works fine.
Same problem with a ZIP-100 formated hpfs. Both the partition and
ZIP work fine under OS/2. Thie ZIP also on another 9.0 install. I am
beginnging to think the code in a fresh install of 9.3 is broken.
Someone with an upgrade 9.2 to 9.3 has reported no problems.
--


Posted by PaulRS on July 1st, 2005


On Fri, 1 Jul 2005 12:17:42 UTC, Bob Martin <bob.martin@excite.com>
wrote:

Thanks for responding, but I also tried the command line approach as
you outline and I get the same results. I am beginning to think the
code is broken as it does the same with a ZIP-100 formatted hpfs that
works fine in OS/2 and under a 9.0 SuSE system.
--


Posted by Hakan on July 1st, 2005


Please change the character-set choice in ProNews -- due to a bug your post
shows up blank.

On Fri, 01 Jul 2005 00:45:32 GMT, Pete wrote:




Posted by eric w on July 1st, 2005


On Thu, 30 Jun 2005 16:37:16 UTC, prschmi@Zverizon.net (PaulRS) wrote:

this is what I am using in FSTAB on 9.2; I recall I had to change it from
previous SUSE versions:

/dev/hda5 /warp hpfs ro 0 0



Posted by Stan Goodman on July 1st, 2005


On Fri, 1 Jul 2005 16:16:42 UTC, "Hakan" <bitbucket@127.0.0.1> opined:

Actually, it is fair to say only that Pete's message looks blank on Hakan's
display. The message is visible here on PN/2 v1.56, and I can see that his
character set is unspecified: <Content-Type: text/plain; charset=>. The fact
that I can see it and Hakan can't suggests that there is a difference in the
way his PN/2 and mine display messages, and that he could see it too,
perhaps by changing his default viewing codepage.

So far, I have not enocountered a posted message that shows up blank here.

--
Stan Goodman
Qiryat Tiv'on
Israel


Posted by Trevor Hemsley on July 1st, 2005


On Fri, 1 Jul 2005 18:57:17 UTC in comp.os.os2.misc, "Stan Goodman"
<SPAM_FOILER@hashkedim.com> wrote:

He's using PMiNews not PN/2.

--
Trevor Hemsley, Brighton, UK.
Trevor-Hemsley at dsl dot pipex dot com

Posted by Hakan on July 2nd, 2005


On 01 Jul 2005 18:57:17 GMT, Stan Goodman wrote:

:>On Fri, 1 Jul 2005 16:16:42 UTC, "Hakan" <bitbucket@127.0.0.1> opined:
:>
:>> Please change the character-set choice in ProNews -- due to a bug your post
:>> shows up blank.
:>>
:>> On Fri, 01 Jul 2005 00:45:32 GMT, Pete wrote:
:>
:>Actually, it is fair to say only that Pete's message looks blank on Hakan's
:>display. The message is visible here on PN/2 v1.56, and I can see that his
:>character set is unspecified: <Content-Type: text/plain; charset=>. The fact
:>that I can see it and Hakan can't suggests that there is a difference in the
:>way his PN/2 and mine display messages, and that he could see it too,
:>perhaps by changing his default viewing codepage.
:>
:>So far, I have not enocountered a posted message that shows up blank here.

Trevor has confirmed that there is indeed a bug in PMINews. The fact that
you can read posted messages neither confirms nor denies such a bug.

:>
:>--
:>Stan Goodman
:>Qiryat Tiv'on
:>Israel
:>



Posted by Stan Goodman on July 2nd, 2005


On Sat, 2 Jul 2005 01:08:41 UTC, "Hakan" <bitbucket@127.0.0.1> opined:
Yes, I had missed that, until I saw Trevor's message.


--
Stan Goodman
Qiryat Tiv'on
Israel


Posted by Alex Taylor on July 4th, 2005


On Thu, 30 Jun 2005 16:37:16 GMT, PaulRS <prschmi@Zverizon.net> wrote:
I'd suggest recompiling the kernel, and the hpfs module, but this can be
tricky if you don't know what you're doing.

It certainly sounds as though the hpfs module isn't getting loaded.


--
Alex Taylor
http://www.cs-club.org/~alex

Remove hat to reply (reply-to address).

Posted by eric w on July 4th, 2005


On Mon, 4 Jul 2005 14:39:02 UTC, Alex Taylor <mail.me@reply.to.address> wrote:

" hpfs: unsupported module tainting kernel " is now NORMAL & indicates the
module is loaded but NOVELL won't take support calls on it.

the other error messages tells me that your HPFS partition is NOT SDA6; run
DFSEE to verify .

....eric

Posted by Trevor Hemsley on July 4th, 2005


On Mon, 4 Jul 2005 19:09:30 UTC in comp.os.os2.misc, "eric w" <eric@nospam.net>
wrote:

No, if you try to mount a non-HPFS partition then you get a "bad magic - not
HPFS" error message. It passes that check so it _is_ an HPFS partition but
there's something else about it that it doesn't like.

I don't know what kernel revision SuSE 9.3 uses but it should be something
fairly recent in the 2.6.x series.

--
Trevor Hemsley, Brighton, UK.
Trevor-Hemsley at dsl dot pipex dot com

Posted by eric w on July 5th, 2005


On Mon, 4 Jul 2005 19:39:42 UTC, "Trevor Hemsley"
<Trevor-Hemsley@mytrousers.dsl.pipex.com> wrote:

ok; so if he runs CHKDSK /f against the partition he should clear it up...

Posted by Pete on July 5th, 2005


On Fri, 1 Jul 2005 19:07:51 UTC, "Trevor Hemsley"
<Trevor-Hemsley@mytrousers.dsl.pipex.com> wrote:

Well, I though I was using PN/2 v1.02 .cp.1.56.

Switched to UTF-8, is this visible?

Thanks,
Pete


--



Similar Posts