Gentoo Archives: gentoo-user

From: Alan Mackenzie <acm@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Floppy disk support removed from kernel 3.4.9.
Date: Sun, 28 Oct 2012 19:30:24
Message-Id: 20121028192311.GC3339@acm.acm
In Reply to: Re: [gentoo-user] Floppy disk support removed from kernel 3.4.9. by "Canek Peláez Valdés"
1 Hello, Canek.
2
3 On Sun, Oct 28, 2012 at 12:16:56PM -0600, Canek Peláez Valdés wrote:
4 > On Sun, Oct 28, 2012 at 11:48 AM, Alan Mackenzie <acm@×××.de> wrote:
5
6 > > Floppy disk support has been removed from kernel 3.4.9. I'm not very
7 > > happy about this. Does anybody know why, or by whom?
8
9 > Nobody removed anything; it's still there, in 3.6.3. I'm not using it,
10 > but I can select it without problems.
11
12 > > This removal has been done in a somewhat peculiar manner. The config
13 > > option was called CONFIG_BLK_DEV_FD, and used to be at <Device
14 > > Drivers>/<Block Devices>. It is now not visible there.
15
16 > It's visible here.
17
18 > > However, Typing '/' BLK_DEV_FD in 'make menuconfig' returns its
19 > > documentation, saying BLK_DEV_FD is dependent upon
20 > > CONFIG_ARCH_MAY_HAVE_PC_FDC. This latter variable isn't visible
21 > > anywhere.
22
23 > It's defined for you if the ARCHitecture (as the name implies)
24 > supports floppies. It's set =y in all my kernels.
25
26 But, what does the "architecture" actually mean?
27
28 > > I tried setting ARCH_MAY_HAVE_PC_FDC by hand in .config, but that didn't
29 > > help. 'make menuconfig' just unset it again of its own accord. Then I
30 > > inserted BLK_DEV_FD into .config by hand and built the kernel. I haven't
31 > > tested it yet.
32
33 > > All this seems rather strange. Why shouldn't I be able to use my floppy
34 > > drive?
35
36 > Your kernel config/setup has something really weird.
37
38 OK. If I start the configuration afresh, I do indeed see the floppy disk
39 selector. :-)
40
41 > ARCH_MAY_HAVE_PC_FDC is a boolean variable that it's set automatically
42 > for you, since it's arch dependant. You cannot set it (nor unset it,
43 > AFAIK).
44
45 Do you know where the source for 'make menuconfig' is in the source tree?
46
47 > May I recommend to completely uninstall your sources package and
48 > delete /usr/src/linux (after a proper backup, of course), install them
49 > again, and do a make oldconfig (after restoring your old .config)?
50
51 By starting again from scratch, it seems clear that the problem is in
52 some of the config options I have selected.
53
54 > Because ARCH_MAY_HAVE_PC_FDC is something you should not to even think about.
55
56 I agree with you there. ;-)
57
58 Thanks for the help!
59
60 > Regards.
61 > --
62 > Canek Peláez Valdés
63
64 --
65 Alan Mackenzie (Nuremberg, Germany).

Replies

Subject Author
Re: [gentoo-user] Floppy disk support removed from kernel 3.4.9. "Canek Peláez Valdés" <caneko@×××××.com>