lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4dde4acb0706290357x54d3ea32vaf75d5cfe638cb25@mail.gmail.com>
Date:	Fri, 29 Jun 2007 16:27:52 +0530
From:	"Midhun Agnihotram" <agnimidhun@...il.com>
To:	"Pierre Ossman" <drzeus-mmc@...eus.cx>
Cc:	"Hans-Jürgen Koch" <hjk@...utronix.de>,
	jdi@....org, linux-kernel@...r.kernel.org
Subject: Re: Fwd: Mounting MMC card

Hi,

> > Both of them show no sign of MMC.
> >
>
> Then you cannot mount them. What output did you see in dmesg when you inserted
> the card?
>

  The dmesg contains only the following when I remove and insert the card.

<6>imx-mmc imx-mmc.0: card removed
<6>imx-mmc imx-mmc.0: card inserted


   Also I was looking through the code. I found this function for init
of mmc_blk (linux/drivers/mmc/mmc_block.c)


static int __init mmc_blk_init(void)
{
	int res = -ENOMEM;

	res = register_blkdev(major, "mmc");
	if (res < 0) {
		printk(KERN_WARNING "Unable to get major %d for MMC media: %d\n",
		       major, res);
		goto out;
	}
	if (major == 0)
		major = res;

	devfs_mk_dir("mmc");
	return mmc_register_driver(&mmc_driver);

 out:
	return res;
}

    This uses the function devfs_mk_dir() - defined in
linux/fs/devfs/base.c. I don't have devfs enabled in my kernel (kernel
version 2.6.16. In fact I don't even get an option to enable it in
menuconfig.). Can this be the cause of the problem?? I have found the
same code in the original kernel version too (the one from
kernel.org).

Thanks,
Midhun.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ