All of lore.kernel.org
 help / color / mirror / Atom feed
* block-major-33
@ 2002-09-26  9:11 Tiemo Krüger - mycable GmbH
  0 siblings, 0 replies; 7+ messages in thread
From: Tiemo Krüger - mycable GmbH @ 2002-09-26  9:11 UTC (permalink / raw)
  To: linux-config

Hi,

I'm not sure if I found the right group to place my request, so pls 
apologize
for any inconvenience.

I'm busy porting 2.4.17 and .18 to a MIPS 32 board.
There is a PCMCIA slot and I want to access a CompactFlash Card in a
belonging "CF to PCMCIA" adapter.
Hotplugging of the Card seems to work as I get belonging messages.

Then I try to mount the CF Card (which is VFAT and VFAT is in my kernel)
with

mount -t vfat /dev/hdxx /mnt

The response is then:

kmod: failed to exec /sbin/modprobe -s -k block-major-33, errno = 2
mount: /dev/hde is not a valid block device

I don't have modprobe in my root filesystem and during testing I want to
work just with in-kernel-compiled modules and not loadable modules.

So it seems that I missed to compile the belonging modules
for hda/hdb hdc/hdd hde/hdf into my kernel.
I've tried already some options but didn't found out a correct setting.
Is there any essential module which has to be activated?
As far as I've seen there are for the above named devices the
block-major 3, 22 and 33 responsible.
Do they correspond to any specific kernel config setting?

If I remove the "loadable-modules" option from the kernel I just get
the message:
mount: /dev/hdx is not a valid block device

kind regards

Tiemo

-- 
-------------------------------------------------------
Tiemo Krueger       Tel:  +49 48 73 90 19 86
mycable GmbH        Fax: +49 48 73 90 19 76
Boeker Stieg 43
D-24613 Aukrug      eMail: tk@mycable.de

Public Kryptographic Key is available on request
-------------------------------------------------------


^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: block-major-33
@ 2002-09-28  0:00 Heimo Claasen
  2002-09-29 12:09 ` block-major-33 Elias Athanasopoulos
  0 siblings, 1 reply; 7+ messages in thread
From: Heimo Claasen @ 2002-09-28  0:00 UTC (permalink / raw)
  To: linux-newbie

With configuring a not-so-quite-new laptop I strugled with precisely
this problem. In the 2.2.x kernel based system it was rather a hassle,
the 2.4.x have the PCMCIA 'card service' management (IIRR it was the
earlier cs_mgr module) integrated. All what was needed on that laptop
then was to write a pertinent line for that CF card adapter into the
configuration file for mounting of the various filesystems, fstab.
I have it there as
/def/hde1    /[cf-card]    msdos   ...(noauto and olther spec.s)
    ^^^^^                  ^^^^^
Basicly, CF cards _would_ behave like vfat formatted hard disks - and
do that, if wanted, in a CF-to-IDE _adapter_(*) - but for whatever
reason don't do that when used in those PCMCIA slots.

With that fstab line I would get a "[Failed]" message with booting,
but a manual 'mount /cf-card' when needed will indeed mount it, if it
wouldn't mount automatically when the card is inserted or taken out
(task of that "cs-mgr" which obviously watches one of those pins.)

// Heimo Claasen // <hammer at revobild dot net> // Brussels 2002-09-
The WebPlace of ReRead - and much to read  ==>  http://www.revobild.net

(*) Those CF cards have specifications which make them rather directly
pin-compatible with HD or floppy drive connectors on the mainboard.
Theoretically they then behave like just any "(hard) disk drive" -
though note that this is very _different_ from the PCMCIA setup !
I'm just ordering one (<20 USD) and will be curous how it behaves
in the Linux box. That one is even announced as "hot swappable";
though I assume this is comparable to "media changes" with floppies
and Zipdrives, so it would mean to mount/umount the cards with swapping.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 7+ messages in thread
* block-major-33
@ 2002-09-28  3:28 Tiemo Krüger - mycable GmbH
  2002-09-28  6:26 ` block-major-33 Ray Olszewski
  0 siblings, 1 reply; 7+ messages in thread
From: Tiemo Krüger - mycable GmbH @ 2002-09-28  3:28 UTC (permalink / raw)
  To: linux-newbie

Hi,

I'm not sure if I found the right group to place my request, so pls
apologize
for any inconvenience.

I'm busy porting 2.4.17 and .18 to a MIPS 32 board.
There is a PCMCIA slot and I want to access a CompactFlash Card in a
belonging "CF to PCMCIA" adapter.
Hotplugging of the Card seems to work as I get belonging messages.

Then I try to mount the CF Card (which is VFAT and VFAT is in my kernel)
with

mount -t vfat /dev/hdxx /mnt

The response is then:

kmod: failed to exec /sbin/modprobe -s -k block-major-33, errno = 2
mount: /dev/hde is not a valid block device

I don't have modprobe in my root filesystem and during testing I want to
work just with in-kernel-compiled modules and not loadable modules.

So it seems that I missed to compile the belonging modules
for hda/hdb hdc/hdd hde/hdf into my kernel.
I've tried already some options but didn't found out a correct setting.
Is there any essential module which has to be activated?
As far as I've seen there are for the above named devices the
block-major 3, 22 and 33 responsible.
Do they correspond to any specific kernel config setting?

If I remove the "loadable-modules" option from the kernel I just get
the message:
mount: /dev/hdx is not a valid block device

kind regards

Tiemo

--
-------------------------------------------------------
Tiemo Krueger       Tel:  +49 48 73 90 19 86
mycable GmbH        Fax: +49 48 73 90 19 76
Boeker Stieg 43
D-24613 Aukrug      eMail: tk@mycable.de

Public Kryptographic Key is available on request
-------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-config" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: block-major-33
@ 2002-10-07  0:00 Heimo Claasen
  2002-10-07 14:02 ` block-major-33 Elias Athanasopoulos
  0 siblings, 1 reply; 7+ messages in thread
From: Heimo Claasen @ 2002-10-07  0:00 UTC (permalink / raw)
  To: linux-newbie

> The kernel hasn't load the appropriate module when fstab is parsed
> during the boot process, so you get the error.

I don't think this is the reason; the module _is_ loaded with the
kernel but if the adapter with a CF card is not present/inserted it's
with executing 'fstab' that the "[FAILED]" message appears.

On a similar issue, but on the Zip-Drives's "exchangeable medium":
In the manuals, Iomega advises to _not_ have a Zipdisk inserted when
booting up. However, depending on the setting in fstab (with or
without auto-mounter) you would get a "[FAILED]" for this too.

Which would be only logical. Though as with floppies too, the
traditional wisdom is to _not_ have them inserted when starting up a
machine, as the start-up and self-tests could cause an initial current
in the divices which _could_ be harmful for data on the inserted media.

So why starting up Linux _does_ demand to have them insterted ?
I found numbers of such indications in articles, Howtos etc.

// Heimo Claasen //<revobild at revobild dot net>// Brussels 2002-10-07
The WebPlace of ReRead - and much to read  ==>  http://www.revobild.net

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-10-07 14:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-26  9:11 block-major-33 Tiemo Krüger - mycable GmbH
  -- strict thread matches above, loose matches on Subject: below --
2002-09-28  0:00 block-major-33 Heimo Claasen
2002-09-29 12:09 ` block-major-33 Elias Athanasopoulos
2002-09-28  3:28 block-major-33 Tiemo Krüger - mycable GmbH
2002-09-28  6:26 ` block-major-33 Ray Olszewski
2002-10-07  0:00 block-major-33 Heimo Claasen
2002-10-07 14:02 ` block-major-33 Elias Athanasopoulos

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.