Opened 20 years ago

Closed 19 years ago

#851 closed defect (wontfix)

Rework and extend kernel-related documentation

Reported by: jeroen@… Owned by: lfs-book@…
Priority: highest Milestone: 6.2
Component: Book Version: SVN
Severity: blocker Keywords:
Cc:

Description (last modified by Jeremy Huntwork)

Change History (16)

comment:1 by Matthew Burgess, 20 years ago

dependson: 859

comment:2 by Matthew Burgess, 20 years ago

Priority: lowesthighest
Severity: normalblocker

comment:3 by Matthew Burgess, 20 years ago

Version: CVSSVN

comment:4 by archaic@…, 20 years ago

Is this bug still relevant? Chapter 5 's Host System Requirements seems to fulfill it.

comment:5 by Matthew Burgess, 19 years ago

I think chapter 5 covers it. I thought we also agreed a while back that configuring a kernel was a pre-req to LFS as well. I can't see this assumption actually written in the book anywhere though.

comment:6 by archaic@…, 19 years ago

Owner: changed from lfs-book@… to archaic@…

As for putting this assumption in writing, this came from the wiki and seems a decent fit:

Building your own kernel is considered a good testcase to see if you have sufficient knowledge of Linux to get the most out of LFS.

Of course I'd have to change it slightly to fit into the context of the prereqs page. I'd also like to put a decent link in explaining the options, as well as pointing to the Documentation dir. If no link exists, then we'll have to settle with the Documentation dir.

comment:7 by Matthew Burgess, 19 years ago

Following up from the the thread at http://www.linuxfromscratch.org/pipermail/lfs-dev/2005-June/051819.html, I think a script that parses the kernel tarball and extracts the config help text into a pretty HTML page would be a great idea. In addition, I think it'd be useful to go through each of the options and highlight the ones that are particularly useful common needs (e.g. use SCSI-GENERIC for CD Burning, etc.). I'm prepared to tackle this if noone beats me to it.

comment:8 by archaic@…, 19 years ago

Owner: changed from archaic@… to lfs-book@…

Is this going to happen by 6.1?

comment:9 by Matthew Burgess, 19 years ago

I very much doubt it.

comment:10 by zarniwhoop@…, 19 years ago

SCSI_GENERIC is kinda obsolete. For normal IDE CD-Writers CONFIG_BLK_DEV_IDECD is all you need (-dev=/dev/hdc or, I suppose, /dev/cdrom).

comment:11 by Matthew Burgess, 19 years ago

I was under the impression that SCSI_GENERIC is the preferred interface for things like CD burning and the like.

comment:12 by zarniwhoop@…, 19 years ago

Matt, that was for 2.4, unless I've totally misunderstood linus' change early in 2.5 to let people pass dev=/hdev/hdc instead of the old 0,0,0 or whatever. Ken

comment:13 by Matthew Burgess, 19 years ago

See http://sg.torque.net/sg/u_index.html:

"In the linux kernel 2.4 series most these utilities must be used with a SCSI generic (sg) driver device name (e.g. /dev/sg0). In the lk 2.6 series almost all of these utilities can be used with the primary device names as well (e.g. /dev/sda, /dev/sdc0, /dev/st0 and /dev/hdd (if it is an ATAPI device)). The SCSI generic (sg) interface still represents a cleaner interface than the primary device names since the drivers behind primary device names have their own policies, may interfere with error processing and in some cases run their own state machines."

I was under the impression that using e.g. /dev/hdc would invoke/be handled by the sg driver if it pointed to an ATAPI device. From the above, I'm not sure that's the case.

comment:14 by Matthew Burgess, 19 years ago

I don't think this bug is valid any longer. The pre-reqs assume that one can build a kernel. As for writing a script that parses the config entries, etc. that's not what LFS is about and I was stupid for volunteering to write such a thing in the first place. Certainly, if someone does feel the urge to produce such a tool and publicise its results somewhere then we can consider linking to it to help folks out. For things like "How do I do I configure my kernel for [x]" there are howto's and BLFS available.

Now I think about it, if there are any config options that are crucial to a base LFS system working (e.g. netlink, tmpfs, procfs, hotplug(?), etc.) and that aren't turned on by default we'd need to document them.

comment:15 by Jeremy Huntwork, 19 years ago

Description: modified (diff)
Milestone: 6.2

comment:16 by Jeremy Huntwork, 19 years ago

Resolution: wontfix
Status: newclosed

Woops was working on the wrong bug.

Marking as wontfix as per Matt's comments above.

Note: See TracTickets for help on using tickets.