Re: [gentoo-user] udev recent genkernel + gentoo-sources

2005-07-14 Thread Richard Fish
Dmitry S. Makovey wrote:

finally I've got to optimum (in my opinion) combination:

title  Gentoo linux (update)
 root (hd0,0)
 kernel /kernel-genkernel-x86-2.6.12-gentoo-r4 real_root=/dev/hda11 
video=vesafb:[EMAIL PROTECTED] splash=verbose

  


You should also change real_root= to just root=.

But I've got new problem - for some reason KDE (3.4.1) now hangs after 
login doing initialize peripherals or something like that... and it 
happens only when I switch to 2.6.12, weird... anybody seen symptoms 
like that? First time since I've switched to 2.6.x kernels I've got 
so many issues with simple kernel upgrade, is there something going 
on I should be aware of?
  


Have not seen this.  Might be related to DBUS or HAL support though.  Do
you get anything odd in ~/.xsession-errors?  FYI, some scary looking
messages in that file are completely normal!

Also, on this list it is the standard to reply only to the list, and not
to CC someone privately, unless specifically requested to do so.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] udev recent genkernel + gentoo-sources

2005-07-14 Thread Ow Mun Heng
On Thu, 2005-07-14 at 08:03 +0200, Richard Fish wrote:
 Dmitry S. Makovey wrote:

 happens only when I switch to 2.6.12, weird... anybody seen symptoms 
 like that? First time since I've switched to 2.6.x kernels I've got 
 so many issues with simple kernel upgrade, is there something going 
 on I should be aware of?

I've had this too. After switching over to 2.6.12 kernels, fbsplash
doesn't work anymore and I don't even get my Tux on bootup :-(



-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 14:12:35 up 1 day, 1:37, 5 users, load average: 1.13, 0.83,
0.78 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] udev recent genkernel + gentoo-sources

2005-07-14 Thread Dmitry S. Makovey
For archiving purposes:

I've finally fixed my machine up with as follows:

1. chosen kernel was 2.6.12-r5 as it fixes ugly bug with iptables 
which takes ages for applications to load.

2. configured grub without using initrd

title  Gentoo linux (update)
 root (hd0,0)
 kernel /kernel-genkernel-x86-2.6.12-gentoo-r5 root=/dev/hda11 
video=vesafb:[EMAIL PROTECTED] splash=verbose

After doing all that system became usable again and boots with no 
glitch. Thanks everybody for help.

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgpxLnnGjhmkH.pgp
Description: PGP signature


Re: [gentoo-user] udev recent genkernel + gentoo-sources

2005-07-14 Thread A. Khattri
On Wed, 13 Jul 2005, Zac Medico wrote:

 I heard there was a problem like that with gentoo-sources-2.6.12-r4 and 
 iptables: http://marc.theaimsgroup.com/?l=gentoo-userm=112129686806476

Im using the kernel with iptables - no problems.


-- 
Aj.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] udev recent genkernel + gentoo-sources

2005-07-13 Thread A. Khattri
On Wed, 13 Jul 2005, Dmitry S. Makovey wrote:

 I recently updated portage tree  kernel and using usual

 genkernel --menuconfig --save-config all


Have you tried building a kernel manually (i.e. without using genkernel)?


-- 
Aj.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] udev recent genkernel + gentoo-sources

2005-07-13 Thread Zac Medico
Dmitry S. Makovey wrote:
 I recently updated portage tree  kernel and using usual
 
 genkernel --menuconfig --save-config all
 
 produced unbootable system :(
 Symptoms point most probably to udev being used by default etc. Here's 
 what I have in grub.conf:
 
 title  Gentoo linux (updated)
  root (hd0,0)
  kernel /kernel-genkernel-x86-2.6.12-gentoo-r4n root=/dev/ram0 
 real_root=/dev/hda11 init=/linuxrc video=vesafb:[EMAIL PROTECTED] 
 splash=verbose gentoo=nodevfs udev devfs=nomount
  initrd /initramfs-genkernel-x86-2.6.12-gentoo-r4n
 
 
 I've tried to follow those:
 
 http://www.gentoo.org/doc/en/udev-guide.xml
 http://webpages.charter.net/decibelshelp/LinuxHelp_UDEVPrimer.html
 http://gentoo-wiki.com/HOWTO_Migrate_to_UDEV
 http://ftp.kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ
 
 But it doesn't look like it applies to my case or maybe I jumped too 
 far ahead and udev is not fully supported yet?
 
 Here's what I get booting (I'm writing it from memory mostly so don't 
 think it's exact output):
 
 -install: applet not found
 /init: 41: ln: not found
 /init: 45: cat: not found
 ...
 
Loading modules
 
 /init: 172: touch: not found
 /init: 172: cat: not found
 /init: 172: sed: not found
 ...
 
Activating udev
 
 /init: 178: mkdir: not found
 /sbin/udevstart: not found
 -=*something about not being able to mount root partition*=-
 (boot)::
 

FOr the initrd/initramfs in  =genkernel-3.2 you need CONFIG_FEATURE_INSTALLER 
enabled in the busybox config.  You'll have to build a new busybox unless you 
want to use an older version of genkernel.

For most people the initrd isn't required anyways.  Are you just using it for 
splash?  I think you can bypass the initrd in that case:

root (hd0,0)
kernel /kernel-genkernel-x86-2.6.12-gentoo-r4n 
root=/dev/hda11 video=vesafb:[EMAIL PROTECTED] 
splash=verbose gentoo=nodevfs udev devfs=nomount
initrd /initramfs-genkernel-x86-2.6.12-gentoo-r4n

Zac
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] udev recent genkernel + gentoo-sources

2005-07-13 Thread Dmitry S. Makovey
On July 13, 2005 11:43 am, A. Khattri wrote:
 On Wed, 13 Jul 2005, Dmitry S. Makovey wrote:
  I recently updated portage tree  kernel and using usual
 
  genkernel --menuconfig --save-config all

 Have you tried building a kernel manually (i.e. without using
 genkernel)?

Nope... might try it as well but my understanding that all genkernel 
does is automates compilation/installation and makes sure options for 
devfs or udev are on (depending on --[no]udev --[no]devfs flags).



 --
 Aj.

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgp0EZXwjw5gs.pgp
Description: PGP signature


Re: [gentoo-user] udev recent genkernel + gentoo-sources

2005-07-13 Thread Richard Fish
Dmitry S. Makovey wrote:

I recently updated portage tree  kernel and using usual

genkernel --menuconfig --save-config all

produced unbootable system :(
Symptoms point most probably to udev being used by default etc. Here's 
what I have in grub.conf:

title  Gentoo linux (updated)
 root (hd0,0)
 kernel /kernel-genkernel-x86-2.6.12-gentoo-r4n root=/dev/ram0 
real_root=/dev/hda11 init=/linuxrc video=vesafb:[EMAIL PROTECTED] 
splash=verbose gentoo=nodevfs udev devfs=nomount
 initrd /initramfs-genkernel-x86-2.6.12-gentoo-r4n


I've tried to follow those:

http://www.gentoo.org/doc/en/udev-guide.xml
http://webpages.charter.net/decibelshelp/LinuxHelp_UDEVPrimer.html
http://gentoo-wiki.com/HOWTO_Migrate_to_UDEV
http://ftp.kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ

But it doesn't look like it applies to my case or maybe I jumped too 
far ahead and udev is not fully supported yet?

  


Well, udev is most definitly supported, since as of 2.6.12 devfs has
been officially removed from the kernel.  Ok, technically only the
config option was removed, but you can expect that 2.6.13 will be
released without any devfs at all.

Here's what I get booting (I'm writing it from memory mostly so don't 
think it's exact output):

-install: applet not found
/init: 41: ln: not found
/init: 45: cat: not found
  


It looks to me like your /initramfs is completely screwed.  Whatever
created that missed copying a bunch of necessary utilities (or more
likely, a dependant library) to the /initramfs.  The /init messages
you see are almost certainly from the /init script in the initramfs. 
Every line indicates it went to run a command, and either the command or
a library wasn't found.

I'm with Aj here...you need to skip genkernel and configure a kernel
from scratch.  Compile everything you need to boot (disk drivers, root
filesystem driver, etc) into the kernel statically (not as a module!). 
Then get rid of the initrd line in grub, lose the real_root=, init=,
splash=, gentoo=, and devfs= options on the kernel command line, and
change the root= option to root=/dev/hda11.

What a freakin' mess!

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] udev recent genkernel + gentoo-sources

2005-07-13 Thread Rumen Yotov
Dmitry S. Makovey wrote:

On July 13, 2005 11:43 am, A. Khattri wrote:
  

On Wed, 13 Jul 2005, Dmitry S. Makovey wrote:


I recently updated portage tree  kernel and using usual

genkernel --menuconfig --save-config all
  

Have you tried building a kernel manually (i.e. without using
genkernel)?



Nope... might try it as well but my understanding that all genkernel 
does is automates compilation/installation and makes sure options for 
devfs or udev are on (depending on --[no]udev --[no]devfs flags).

  

--
Aj.



  

Hi,
Have used both genkernel and manual-kernel-config, quite no problems
with both (except genkernel on hardened ;)
Think that you must manually give the options you want, ex.genkernel
--menuconfig --udev --install --bootsplash all
The manual one is easier, less options ;) see install guide, kernel
compilation part.
HTH. Rumen


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] udev recent genkernel + gentoo-sources

2005-07-13 Thread Zac Medico
Richard Fish wrote:
 
Here's what I get booting (I'm writing it from memory mostly so don't 
think it's exact output):

-install: applet not found
/init: 41: ln: not found
/init: 45: cat: not found
 

 
 
 It looks to me like your /initramfs is completely screwed.  Whatever
 created that missed copying a bunch of necessary utilities (or more
 likely, a dependant library) to the /initramfs.  The /init messages
 you see are almost certainly from the /init script in the initramfs. 
 Every line indicates it went to run a command, and either the command or
 a library wasn't found.
 

It's not as bad as it looks.  I had the same problem.  You simply need to 
enable CONFIG_FEATURE_INSTALLER in the busybox config.  Then you can do 
busybox --install and it automatically creates hardlinks for all the enabled 
applets.

Zac
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] udev recent genkernel + gentoo-sources

2005-07-13 Thread A. Khattri
On Wed, 13 Jul 2005, Dmitry S. Makovey wrote:

 Nope... might try it as well but my understanding that all genkernel
 does is automates compilation/installation and makes sure options for
 devfs or udev are on (depending on --[no]udev --[no]devfs flags).

True, but a lot of people have had problems with genkernel that went away
when they did a manual kernel build instead.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] udev recent genkernel + gentoo-sources

2005-07-13 Thread Zac Medico
A. Khattri wrote:
 On Wed, 13 Jul 2005, Dmitry S. Makovey wrote:
 
 
Nope... might try it as well but my understanding that all genkernel
does is automates compilation/installation and makes sure options for
devfs or udev are on (depending on --[no]udev --[no]devfs flags).
 
 
 True, but a lot of people have had problems with genkernel that went away
 when they did a manual kernel build instead.
 
 

In this case the problem is in the initrd so I can guarantee he won't have the 
same problem if he doesn't use root=/dev/ram0 with a broken initrd ;-).

Zac
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] udev recent genkernel + gentoo-sources

2005-07-13 Thread Richard Fish
Zac Medico wrote:

A. Khattri wrote:
  

On Wed, 13 Jul 2005, Dmitry S. Makovey wrote:




Nope... might try it as well but my understanding that all genkernel
does is automates compilation/installation and makes sure options for
devfs or udev are on (depending on --[no]udev --[no]devfs flags).
  

True, but a lot of people have had problems with genkernel that went away
when they did a manual kernel build instead.





In this case the problem is in the initrd so I can guarantee he won't have the 
same problem if he doesn't use root=/dev/ram0 with a broken initrd ;-).

  


Not quite, its an initramfs.  Slightly different rules apply for
initramfs vs initrd, so you also have to remove the initrd line from
grub if you want to eliminate it.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] udev recent genkernel + gentoo-sources

2005-07-13 Thread Dmitry S. Makovey
On July 13, 2005 02:47 pm, Richard Fish wrote:
 Not quite, its an initramfs.  Slightly different rules apply for
 initramfs vs initrd, so you also have to remove the initrd line
 from grub if you want to eliminate it.

So if I understand correctly something like:

title  Gentoo linux (update)
 root (hd0,0)
 kernel /kernel-genkernel-x86-2.6.12-gentoo-r4 root=/dev/hda11 
init=/linuxrc video=vesafb:[EMAIL PROTECTED] splash=verbose

should produce desired results (i.e. bootable system)?
If yes - I've got quite a few error messages about missing symbols in 
kernel modules on boot :( But I've tries so many combinations already 
that it could've been attributed to other changes I've made. So I'll 
try it again and come back if problem persists (or if you'll tell me 
my assumptions are wrong).

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgpbWx32LOIKz.pgp
Description: PGP signature


Re: [gentoo-user] udev recent genkernel + gentoo-sources

2005-07-13 Thread Dmitry S. Makovey
On July 13, 2005 03:11 pm, Dmitry S. Makovey wrote:
 On July 13, 2005 02:47 pm, Richard Fish wrote:
  Not quite, its an initramfs.  Slightly different rules apply for
  initramfs vs initrd, so you also have to remove the initrd line
  from grub if you want to eliminate it.

 So if I understand correctly something like:

 title  Gentoo linux (update)
  root (hd0,0)
  kernel /kernel-genkernel-x86-2.6.12-gentoo-r4 root=/dev/hda11
 init=/linuxrc video=vesafb:[EMAIL PROTECTED] splash=verbose

finally I've got to optimum (in my opinion) combination:

title  Gentoo linux (update)
 root (hd0,0)
 kernel /kernel-genkernel-x86-2.6.12-gentoo-r4 real_root=/dev/hda11 
video=vesafb:[EMAIL PROTECTED] splash=verbose


But I've got new problem - for some reason KDE (3.4.1) now hangs after 
login doing initialize peripherals or something like that... and it 
happens only when I switch to 2.6.12, weird... anybody seen symptoms 
like that? First time since I've switched to 2.6.x kernels I've got 
so many issues with simple kernel upgrade, is there something going 
on I should be aware of?


-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgpkQ2ZRdln06.pgp
Description: PGP signature


Re: [gentoo-user] udev recent genkernel + gentoo-sources

2005-07-13 Thread Zac Medico
Dmitry S. Makovey wrote:
 On July 13, 2005 03:11 pm, Dmitry S. Makovey wrote:
 
On July 13, 2005 02:47 pm, Richard Fish wrote:

Not quite, its an initramfs.  Slightly different rules apply for
initramfs vs initrd, so you also have to remove the initrd line
from grub if you want to eliminate it.

So if I understand correctly something like:

title  Gentoo linux (update)
 root (hd0,0)
 kernel /kernel-genkernel-x86-2.6.12-gentoo-r4 root=/dev/hda11
init=/linuxrc video=vesafb:[EMAIL PROTECTED] splash=verbose
 
 
 finally I've got to optimum (in my opinion) combination:
 
 title  Gentoo linux (update)
  root (hd0,0)
  kernel /kernel-genkernel-x86-2.6.12-gentoo-r4 real_root=/dev/hda11 
 video=vesafb:[EMAIL PROTECTED] splash=verbose
 
 
 But I've got new problem - for some reason KDE (3.4.1) now hangs after 
 login doing initialize peripherals or something like that... and it 
 happens only when I switch to 2.6.12, weird... anybody seen symptoms 
 like that? First time since I've switched to 2.6.x kernels I've got 
 so many issues with simple kernel upgrade, is there something going 
 on I should be aware of?
 
 

I heard there was a problem like that with gentoo-sources-2.6.12-r4 and 
iptables: http://marc.theaimsgroup.com/?l=gentoo-userm=112129686806476

Zac
-- 
gentoo-user@gentoo.org mailing list