Gentoo Archives: gentoo-sparc

From: gentuxx <gentuxx@×××××.com>
To: gentoo-sparc@l.g.o
Subject: Re: [gentoo-sparc] Unable to boot 2.6.16-hardened-r9 (weird error)
Date: Sat, 08 Jul 2006 05:06:35
Message-Id: 44AF3D2E.9000600@gmail.com
In Reply to: Re: [gentoo-sparc] Unable to boot 2.6.16-hardened-r9 (weird error) by Hamish Greig
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hamish Greig wrote:
5 > On Saturday 08 July 2006 04:29, gentuxx wrote:
6 >> "YEEE, Ultrasparc sbus
7 >> not found". Um, this is an Ultra5 with PCI/IDE, so why is the sbus
8 >> becoming an issue? I've found the following two config options in the
9 >> kernel config:
10 >>
11 >> CONFIG_SBUS=y
12 >> CONFIG_SBUSCHAR=y
13 >
14 > If a driver being built relies on one of those, then it is not
15 > viewable/selectable. In drivers/atm, drivers/parport, drivers/net and
16 > drivers/scsi selecting certain hardware/drivers automatically enables them
17 > (from memory of a similar problem trying to tftpboot an ultra5/10 with a
18 > config modified from an e3000 kernel)
19 > You can find out what is actually making those "invisible" by grepping
20 your
21 > kernel sources for SBUS or SBUSCHAR and piping the results through grep
22 again
23 > and finding "depends"
24 > grep -r SBUS "/path/to/kernel-sources/" | grep depends
25 >
26 > then look at the Kconfig files listed and see what is "depending" on
27 SBUS and
28 > turn it off.
29 >
30 > HIH
31 >
32 > Hamish
33 >
34 Thanks for the response, but it turned out to be something much more
35 trivial. Upon closer inspection, I discovered that I had NOT enabled
36 PCI support in the kernel I was trying to compile. So, because the
37 SBUS options were enabled by default, it was trying to load the SBUS
38 when it couldn't recognize the PCI bus.
39
40 What you suggest seems like an interesting way to pare down the
41 kernel, though. If I ever decide that I want a leaner kernel, I might
42 try what you suggested.
43
44 Thanks!
45
46 - --
47 gentux
48 echo "hfouvyyAhnbjm/dpn" | perl -pe 's/(.)/chr(ord($1)-1)/ge'
49
50 gentux's gpg fingerprint ==> 5495 0388 67FF 0B89 1239 D840 4CF0 39E2
51 18D3 4A9E
52 -----BEGIN PGP SIGNATURE-----
53 Version: GnuPG v1.4.4 (GNU/Linux)
54
55 iD8DBQFErz0tTPA54hjTSp4RAoGsAKDaWrXDoorepBi9+8ImjzagkOKjywCfYQoa
56 zJXQkgqGe2iXlynKg+3blVs=
57 =cIrd
58 -----END PGP SIGNATURE-----
59
60 --
61 gentoo-sparc@g.o mailing list