Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jul 2005 12:58:59 -0500
From:      Nikolas Britton <nikolas.britton@gmail.com>
To:        Bryan Maynard <bryan.maynard@reallm.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Kernel question
Message-ID:  <ef10de9a050701105849558f2a@mail.gmail.com>
In-Reply-To: <200506301717.33857.bryan.maynard@reallm.com>
References:  <200506292116.00205.bryan.maynard@reallm.com> <ef10de9a050629234750b79f36@mail.gmail.com> <200506301717.33857.bryan.maynard@reallm.com>

next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_4346_17029675.1120240739649
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On 6/30/05, Bryan Maynard <bryan.maynard@reallm.com> wrote:
> I checked out the man pages you listed, thanks for the help!
> I didn't understand everything in all of them, but they did help me firgu=
re
> out some more questions to ask.
>=20
> Is it possible to identify all hardware component in my system in the dev=
ice.hints
> file and if so, what would that accomplish? I am running a Dell Latitude =
C600.

Do this with the kernel .hints file. it will be statically compile
into the kernel then.
kernel.hints =3D statically compiled =3D faster boot.
device.hints =3D dynamic-ish =3D slower, but still faster then random probi=
ng.

>=20
> Also, I have a custom kernel I am trying to tweak. However, when I boot f=
rom it I
> get the following messages:
>=20
> ata0-master: FAILURE - ATA_IDENTIFY timed out
> ata0-master: FAILURE - ATA_IDENTIFY timed out
> ata0-master: FAILURE - ATA_IDENTIFY timed out
> ata1-master: FAILURE - ATAPI_IDENTIFY timed out
> ata1-master: timeout sending command=3Da1
> ata1-master: error issueing ATAPI_IDENTIFY command
> ata1-master: FAILURE - ATAPI_IDENTIFY timed out
>=20
> Mounting root from ufs:/dev/ad0s1a
> setrootbyname failed
> ffs_mountroot: can't find rootvp
> Root mount failed: 6
>=20
> It then asks me to manually enter a root filesystem.
>=20
> I've attached my CUSTOM kernel config. Along with my CUSTOM.hints file. I=
 don't use
> CUSTOM.hints, but it has hints about the "nexus" device. this device show=
s up when I
> use boot-v. I'm not sure If I have it's info entered properly, maybe you =
could help me
> with that.

I've attached a kernel for you to use. Compare it to yours (and
GENERIC) and read the comments I made in it. It should address most of
your questions.

>=20
> Could I use the info from a boot -v in the device.hints file? If so, how =
do I translate
> the syntax. I've looked at the boot -v output before and it seems like th=
ere's enough info
> for the device.hints file, I just don't know what it all means or how to =
extract it.

You can put the boot -v info into the kernel .hints file, I think. I
never tried to do anything like that and I'm not sure how to go about
doing it. Or maybe thats what kenv is for... hmmm

------=_Part_4346_17029675.1120240739649
Content-Type: application/octet-stream; name="LATITUDE_C600"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="LATITUDE_C600"

bWFjaGluZQkJaTM4NgpjcHUJCUk2ODZfQ1BVCmlkZW50CQlMQVRJVFVERV9DNjAwCgojIFRvIHN0
YXRpY2FsbHkgY29tcGlsZSBpbiBkZXZpY2Ugd2lyaW5nIGluc3RlYWQgb2YgL2Jvb3QvZGV2aWNl
LmhpbnRzCiNoaW50cwkJIkxBVElUVURFX0M2MDAuaGludHMiCSMgRGVmYXVsdCBwbGFjZXMgdG8g
bG9vayBmb3IgZGV2aWNlcy4KCm9wdGlvbnMgCVNDSEVEXzRCU0QJCSMgNEJTRCBzY2hlZHVsZXIK
b3B0aW9ucyAJSU5FVAkJCSMgSW50ZXJORVR3b3JraW5nCiNvcHRpb25zIAlJTkVUNgkJCSMgSVB2
NiBjb21tdW5pY2F0aW9ucyBwcm90b2NvbHMKb3B0aW9ucyAJRkZTCQkJIyBCZXJrZWxleSBGYXN0
IEZpbGVzeXN0ZW0Kb3B0aW9ucyAJU09GVFVQREFURVMJCSMgRW5hYmxlIEZGUyBzb2Z0IHVwZGF0
ZXMgc3VwcG9ydApvcHRpb25zIAlVRlNfQUNMCQkJIyBTdXBwb3J0IGZvciBhY2Nlc3MgY29udHJv
bCBsaXN0cwpvcHRpb25zIAlVRlNfRElSSEFTSAkJIyBJbXByb3ZlIHBlcmZvcm1hbmNlIG9uIGJp
ZyBkaX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message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ef10de9a050701105849558f2a>