Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 07:10 AM
Dave
 
Posts: n/a
Default HELP! could not generate /etc/modprobe.conf !

Following the instructions I've reached the point of
http://www.gentoo.org/doc/en/handbook
handbook-x86.xml?style=printable&full=1#kernel_modules (section 22)

I do this,

Code Listing*22: /etc/modules.autoload.d/kernel-2.4 or kernel-2.6

3c59x
Now run modules-update to commit your changes to the /etc/modules.conf file:

Code Listing*23: Running modules-update

# modules-update

When I enter modules-update it fails and tells me;
Warning: could not generate /etc/modprobe.conf!

I have followed instructions, I am doing the 2.6 kernel so I DO take notice
to follow directions for kernel 2.6.5

I've been all over google and the gentoo forums and can't find anyone else
having this same problem..

Help! Please!! I'm a gentoo newbie....

Thanks!!



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 07:10 AM
PiotrAF
 
Posts: n/a
Default Re: HELP! could not generate /etc/modprobe.conf !

On Mon, 03 May 2004 07:49:10 +0000, Dave wrote:

> Following the instructions I've reached the point of
> http://www.gentoo.org/doc/en/handbook
> handbook-x86.xml?style=printable&full=1#kernel_modules (section 22)
>
> I do this,
>
> Code Listing*22: /etc/modules.autoload.d/kernel-2.4 or kernel-2.6
>
> 3c59x
> Now run modules-update to commit your changes to the /etc/modules.conf file:
>
> Code Listing*23: Running modules-update
>
> # modules-update
>
> When I enter modules-update it fails and tells me;
> Warning: could not generate /etc/modprobe.conf!
>
> I have followed instructions, I am doing the 2.6 kernel so I DO take notice
> to follow directions for kernel 2.6.5
>
> I've been all over google and the gentoo forums and can't find anyone else
> having this same problem..
>
> Help! Please!! I'm a gentoo newbie....
>


Dont't worry - just do this step after reboot. AFAIK it's because the:
mount -t proc proc /mnt/gentoo/proc
sometimes is and sometimes isn't in the handbook - which (the handbook) is
quite unstabel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 07:10 AM
Dave
 
Posts: n/a
Default Re: HELP! could not generate /etc/modprobe.conf !

PiotrAF wrote:

> On Mon, 03 May 2004 07:49:10 +0000, Dave wrote:
>
>> Following the instructions I've reached the point of
>> http://www.gentoo.org/doc/en/handbook
>> handbook-x86.xml?style=printable&full=1#kernel_modules (section 22)
>>
>> I do this,
>>
>> Code Listing*22: /etc/modules.autoload.d/kernel-2.4 or kernel-2.6
>>
>> 3c59x
>> Now run modules-update to commit your changes to the /etc/modules.conf
>> file:
>>
>> Code Listing*23: Running modules-update
>>
>> # modules-update
>>
>> When I enter modules-update it fails and tells me;
>> Warning: could not generate /etc/modprobe.conf!
>>
>> I have followed instructions, I am doing the 2.6 kernel so I DO take
>> notice to follow directions for kernel 2.6.5
>>
>> I've been all over google and the gentoo forums and can't find anyone
>> else having this same problem..
>>
>> Help! Please!! I'm a gentoo newbie....
>>

>
> Dont't worry - just do this step after reboot. AFAIK it's because the:
> mount -t proc proc /mnt/gentoo/proc
> sometimes is and sometimes isn't in the handbook - which (the handbook) is
> quite unstabel


Pardon my ignorance but I still don't understand.

I typed "mount -t proc proc /mnt/gentoo/proc"
and it tells me, "mount: mount point /mnt/gentoo/proc does not exist"
I must still be missing some steps somehow..
Is there a guide on how to install using only the 2.6 kernel?
I notice that the installation manual is rather murky when it comes to the
2.6 kernel and leaves you to GUESSING some steps and instructions.

I'm far, far away from being an expert at this...

Thanks!


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 07:10 AM
Laik
 
Posts: n/a
Default Re: HELP! could not generate /etc/modprobe.conf !

On Mon, 03 May 2004 19:29:11 +0000, Dave wrote:


> Pardon my ignorance but I still don't understand.
>
> I typed "mount -t proc proc /mnt/gentoo/proc"
> and it tells me, "mount: mount point /mnt/gentoo/proc does not exist"


Maybe - mkdir /mnt/gentoo/proc - helps you.

--
Laik
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-21-2008, 07:10 AM
Johan Lindquist
 
Posts: n/a
Default Re: HELP! could not generate /etc/modprobe.conf !

So anyway, it was like, 21:29 CEST May 03 2004, you know? Oh, and, yeah,
Dave was all like, "Dude,

> I typed "mount -t proc proc /mnt/gentoo/proc" and it tells me,
> "mount: mount point /mnt/gentoo/proc does not exist" I must still be
> missing some steps somehow..


The most likely reason for the message is that you indeed lack a
mount point. The solution is to create one, 'mkdir /mnt/gentoo/proc',
assuming that your chroot is /mnt/gentoo.

(I think that's 'mount -t proc none /mnt/gentoo/proc', btw, but I
may be incorrect there.)

> Is there a guide on how to install using only the 2.6 kernel?


It's not a big difference from the 2.4 kernel, really. The big
difference is that you don't emerge alsa-drivers since they're already
in the kernel.

Just merge 'development-sources' instead of 'vanilla-sources' or
'gentoo-dev-sources' instead of 'gentoo-sources'.

> I notice that the installation manual is rather murky when it
> comes to the 2.6 kernel and leaves you to GUESSING some steps and
> instructions.


What steps are missing? Posting a bug report at http://bugs.gentoo.org
might save future users from having the same difficulties as you are
having, especially if you've figured out the missing parts already.

> I'm far, far away from being an expert at this...


I've failed at installing source distributions before I found gentoo,
and I must say that it's got, by far, the best documentation there is.
It's just a matter of finding the right page, most of the time.

--
Time flies like an arrow, fruit flies like a banana. Perth ---> *
22:07:23 up 21 days, 2:41, 4 users, load average: 0.15, 0.07, 0.01
$ cat /dev/bollocks Registered Linux user #261729
deliver open-source models
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-21-2008, 07:10 AM
Sybren Stuvel
 
Posts: n/a
Default Re: HELP! could not generate /etc/modprobe.conf !

Johan Lindquist enlightened us with:
> (I think that's 'mount -t proc none /mnt/gentoo/proc', btw, but I may
> be incorrect there.)


You can use that too, but as the manual page states:

The proc file system is not associated with a special device, and when
mounting it, an arbitrary keyword, such as proc can be used instead
of a device specification. (The customary choice none is less
fortunate: the error message `none busy' from umount can be
confusing.)

Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-21-2008, 07:10 AM
Johan Lindquist
 
Posts: n/a
Default Re: HELP! could not generate /etc/modprobe.conf !

So anyway, it was like, 22:22 CEST May 03 2004, you know? Oh, and, yeah,
Sybren Stuvel was all like, "Dude,
> Johan Lindquist enlightened us with:


>> (I think that's 'mount -t proc none /mnt/gentoo/proc', btw, but I
>> may be incorrect there.)


> mounting it, an arbitrary keyword, such as proc can be used instead


I thought 'none' had some significance, indicating that it wasn't a
real device, so that was news to me. (RTFM? How quaint. ) Thanks.

--
Time flies like an arrow, fruit flies like a banana. Perth ---> *
22:51:41 up 21 days, 3:25, 4 users, load average: 0.05, 0.08, 0.05
$ cat /dev/bollocks Registered Linux user #261729
leverage vertical portals
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-21-2008, 07:10 AM
Dave
 
Posts: n/a
Default Re: HELP! could not generate /etc/modprobe.conf !

Dave wrote:

> PiotrAF wrote:
>
>> On Mon, 03 May 2004 07:49:10 +0000, Dave wrote:
>>
>>> Following the instructions I've reached the point of
>>> http://www.gentoo.org/doc/en/handbook
>>> handbook-x86.xml?style=printable&full=1#kernel_modules (section 22)
>>>
>>> I do this,
>>>
>>> Code Listing*22: /etc/modules.autoload.d/kernel-2.4 or kernel-2.6
>>>
>>> 3c59x
>>> Now run modules-update to commit your changes to the /etc/modules.conf
>>> file:
>>>
>>> Code Listing*23: Running modules-update
>>>
>>> # modules-update
>>>
>>> When I enter modules-update it fails and tells me;
>>> Warning: could not generate /etc/modprobe.conf!
>>>
>>> I have followed instructions, I am doing the 2.6 kernel so I DO take
>>> notice to follow directions for kernel 2.6.5
>>>
>>> I've been all over google and the gentoo forums and can't find anyone
>>> else having this same problem..
>>>
>>> Help! Please!! I'm a gentoo newbie....
>>>

>>
>> Dont't worry - just do this step after reboot. AFAIK it's because the:
>> mount -t proc proc /mnt/gentoo/proc
>> sometimes is and sometimes isn't in the handbook - which (the handbook)
>> is quite unstabel

>
> Pardon my ignorance but I still don't understand.
>
> I typed "mount -t proc proc /mnt/gentoo/proc"
> and it tells me, "mount: mount point /mnt/gentoo/proc does not exist"
> I must still be missing some steps somehow..
> Is there a guide on how to install using only the 2.6 kernel?
> I notice that the installation manual is rather murky when it comes to the
> 2.6 kernel and leaves you to GUESSING some steps and instructions.
>
> I'm far, far away from being an expert at this...
>
> Thanks!




Oh yeah, I don't know if this matters but I wonder if I misssed something
else, my prompt is this,

livecd linux #

I wonder if I even have the permissions to do these things.
At this point I'm thoroughly confused...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-21-2008, 07:10 AM
Dave
 
Posts: n/a
Default Re: HELP! could not generate /etc/modprobe.conf !

Johan Lindquist wrote:

> So anyway, it was like, 22:22 CEST May 03 2004, you know? Oh, and, yeah,
> Sybren Stuvel was all like, "Dude,
>> Johan Lindquist enlightened us with:

>
>>> (I think that's 'mount -t proc none /mnt/gentoo/proc', btw, but I
>>> may be incorrect there.)

>
>> mounting it, an arbitrary keyword, such as proc can be used instead

>
> I thought 'none' had some significance, indicating that it wasn't a
> real device, so that was news to me. (RTFM? How quaint. ) Thanks.
>



At this point I've discovered that /mnt/gentoo did not exist, so I created
it. Then I mounted /dev/sda3/ to /mnt/gentoo

When I did an ls of /mnt/gentoo I can see a lot of directories in there,
bin, boot, dev, etc, home, lib, mnt, opt, proc, root, sbin, sys, tmp, usr
and var.

I then did a 'mount -t proc none /mnt/gentoo/proc' and it returned me to my
prompt without error. I then tried to run modules-update and I still get
the original error message.

I think that I've skipped more than one step somewhere. Is there any
salvage or should I just reformat and start over from page one??

Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-21-2008, 07:10 AM
Johan Lindquist
 
Posts: n/a
Default Re: HELP! could not generate /etc/modprobe.conf !

So anyway, it was like, 23:45 CEST May 03 2004, you know? Oh, and, yeah,
Dave was all like, "Dude,
> Johan Lindquist wrote:
>>> Johan Lindquist enlightened us with:


>>>> (I think that's 'mount -t proc none /mnt/gentoo/proc', btw, but I
>>>> may be incorrect there.)


> At this point I've discovered that /mnt/gentoo did not exist, so I
> created it. Then I mounted /dev/sda3/ to /mnt/gentoo


I'm guessing you did this from /within/ your chroot? The idea is to
prepare the root fs before you actually chroot into it by mounting all
the special devices you'll need while inside. Until you reboot the
new system for the first time, the chrooted environment is a slave to
the one you've initially booted (be it a livecd or an already running
system), so you shouldn't be doing much else besides installing
packages and configuring.

All this is detailed in the installation docs, including the order in
which to do it.

> I think that I've skipped more than one step somewhere. Is there any
> salvage or should I just reformat and start over from page one??


I suggest you start over. You seem to have confused some of the steps,
skipped some and added some. Before you do anything else, read
through the installation handbook and make sure you understand each
step and the reason behind it, /then/ start installing your system,
following the handbook. If something is unclear, ask questions before
you proceed. You'll be happier for it once you're finished, knowing
exactly what you have done to get there.

I think the old "measure twice, cut once" adage applies to computers
as well, if somewhat modified; "Read twice, do once".

--
Time flies like an arrow, fruit flies like a banana. Perth ---> *
09:50:55 up 21 days, 14:24, 5 users, load average: 0.01, 0.01, 0.00
$ cat /dev/bollocks Registered Linux user #261729
target virtual networks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:47 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
UnixAdminTalk.com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570