1 |
On Sun, Feb 5, 2012 at 11:34 AM, Tanstaafl <tanstaafl@×××××××××××.org> wrote: |
2 |
> I just updated these, and am unsure how to deal with the issues... |
3 |
> |
4 |
> First issue: |
5 |
> |
6 |
> *************************** |
7 |
> |
8 |
> Found sources for kernel version: |
9 |
> 3.0.6-gentoo |
10 |
> Checking for suitable kernel configuration options... |
11 |
> ERROR: setup |
12 |
> CONFIG_BLK_DEV_BSG: is not set when it should be. |
13 |
> WARN: setup |
14 |
> Please check to make sure these options are set correctly. |
15 |
> Failure to do so may cause unexpected problems. |
16 |
> |
17 |
> I can probably find this when make'ing the new kernel, but if someone knows |
18 |
> exactly where to find it that would be appreciated. |
19 |
|
20 |
For the next time you need to find a kernel option: |
21 |
|
22 |
1. go to /usr/src/linux |
23 |
2. make menuconfig |
24 |
3. press "/" (this activates search) |
25 |
4. enter the config option you are looking |
26 |
5. press Enter |
27 |
|
28 |
The menu configurator will tell you where is the option you are |
29 |
looking for, in this cas (CONFIG_BLK_DEV_BSG): |
30 |
|
31 |
Symbol: BLK_DEV_BSG [=n] |
32 |
Type : boolean |
33 |
Prompt: Block layer SG support v4 |
34 |
Defined at block/Kconfig:50 |
35 |
Depends on: BLOCK [=y] |
36 |
Location: |
37 |
-> Enable the block layer (BLOCK [=y]) |
38 |
Selected by: BLK_DEV_BSGLIB [=n] && BLOCK [=y] || SCSI_SAS_ATTRS |
39 |
[=n] && SCSI [=y] |
40 |
|
41 |
As you can see, it's an option at the top of the kernel menu config. |
42 |
|
43 |
> *************************** |
44 |
> |
45 |
> Next issue/question (from post install log): |
46 |
> |
47 |
> *************************** |
48 |
> |
49 |
> LOG: postinst |
50 |
> |
51 |
> Updating persistent-net rules file |
52 |
> |
53 |
> restarting udevd now. |
54 |
> |
55 |
> persistent-net does assigning fixed names to network devices. |
56 |
> If you have problems with the persistent-net rules, |
57 |
> just delete the rules file |
58 |
> rm /etc/udev/rules.d/70-persistent-net.rules |
59 |
> and then reboot. |
60 |
> |
61 |
> This may however number your devices in a different way than they are now. |
62 |
> |
63 |
> So - how do I know if I need to worry about this? |
64 |
|
65 |
Reboot, if your network works, everything is fine. If it's not, remove |
66 |
the file /etc/udev/rules.d/70-persistent-net.rules (don't worry, it's |
67 |
autogenerated), and reboot. If the problem persists, just check that |
68 |
the names in that file correspond to the services in /etc/init.d. For |
69 |
example, mine says |
70 |
|
71 |
# PCI device 0x10ec:0x8136 (r8169) |
72 |
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", |
73 |
ATTR{address}=="40:61:86:4e:a6:57", ATTR{dev_id}=="0x0", |
74 |
ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" |
75 |
|
76 |
So (if I used OpenRC) I would need to check that /etc/init.d/net.eth0 |
77 |
it's a symlink to /etc/init.d/net.lo. |
78 |
|
79 |
|
80 |
> **************************** |
81 |
> |
82 |
> Next issue/question (from post install log): |
83 |
> |
84 |
> **************************** |
85 |
> |
86 |
> WARN: postinst |
87 |
> |
88 |
> If you build an initramfs including udev, then please |
89 |
> make sure that the /sbin/udevadm binary gets included, |
90 |
> and your scripts changed to use it,as it replaces the |
91 |
> old helper apps udevinfo, udevtrigger, ... |
92 |
> |
93 |
> mount options for directory /dev are no longer |
94 |
> set in /etc/udev/udev.conf, but in /etc/fstab |
95 |
> as for other directories. |
96 |
> |
97 |
> If you use /dev/md/*, /dev/loop/* or /dev/rd/*, |
98 |
> then please migrate over to using the device names |
99 |
> /dev/md*, /dev/loop* and /dev/ram*. |
100 |
> The devfs-compat rules have been removed. |
101 |
> For reference see Bug #269359. |
102 |
> |
103 |
> Rules for /dev/hd* devices have been removed |
104 |
> Please migrate to libata. |
105 |
> |
106 |
> How do I know if I need to worry about any of this stuff? I'm a bit lost |
107 |
> here... |
108 |
|
109 |
Do you use an initramfs? Look at /boot/grub/grub.conf, is there a line |
110 |
starting with "initrd"? If not, worry not. |
111 |
|
112 |
> Thanks for any advice/comments... |
113 |
|
114 |
Regards. |
115 |
-- |
116 |
Canek Peláez Valdés |
117 |
Posgrado en Ciencia e Ingeniería de la Computación |
118 |
Universidad Nacional Autónoma de México |