[gentoo-user] Re: problem with 2 partition installation from gentoo minimal system
Fei Liu wrote: Here is the complete grub.conf file: more /boot/grub/grub.conf default 0 timeout 8 gfxmenu (hd0,0)/boot/message title 2.6.24.4-default root (hd0,0) kernel /boot/kernel root=/dev/sda1 splash=silent showopts /etc/fstab: #/dev/BOOT /boot ext2 noauto,noatime 1 2 /dev/sda1 / ext3 noatime 0 1 /dev/sda2 noneswap sw 0 0 #/dev/cdrom /mnt/cdrom audo noauto,ro 0 0 #/dev/fd0 /mnt/floppy auto noauto 0 0 shm /dev/shmtmpfs nodev,nosuid,noexec 0 0 I am looking into the SCSI file system issue. Fei Error messages: ... md: ... autorun DONE VFS: Cannot open root device sda1 or unknown-block(0,0) Please append a correct root= boot option; here are the available partitions: Kernel panic - not syncing: VFS: unable to mount root fs on unknown-block(0,0) There is one more thing, this is a vmware machine so the harddrive is a scsi harddrive. Fei I finally found this page and got this stuff to work, the catch is 'vmware' specific feature. http://gentoo-wiki.com/HOWTO_Install_Gentoo_on_VMware_in_Windows_NT/2K/XP#Kernel_Options -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] problem with 2 partition installation from gentoo minimal system
Hello Group, I spend a whole day trying to get this to work. Here is my setup /dev/sda1 / ext3 noatime 0 1 /dev/sda2 swap grub is installed using the 'root (hd0,0)' and 'setup (hd0)', no problem. emerge kernel-sources worked fine. However everytime the system boots, it reports the VFS panic (no root system found problem). The kernel has built in ext2 and ext3 support. The error hint is to supply root option during boot, but my boot command is this kernel /boot/kernel root=/dev/sda1 Is there something missing that I didn't think of that's causing the failures? I followed the steps outlined here: http://www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml except I am using a 2 partition setup. Fei -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Re: problem with 2 partition installation from gentoo minimal system
Fei Liu wrote: Hello Group, I spend a whole day trying to get this to work. Here is my setup /dev/sda1 / ext3 noatime 0 1 /dev/sda2 swap grub is installed using the 'root (hd0,0)' and 'setup (hd0)', no problem. emerge kernel-sources worked fine. However everytime the system boots, it reports the VFS panic (no root system found problem). The kernel has built in ext2 and ext3 support. The error hint is to supply root option during boot, but my boot command is this kernel /boot/kernel root=/dev/sda1 Is there something missing that I didn't think of that's causing the failures? I followed the steps outlined here: http://www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml except I am using a 2 partition setup. Fei Here is the complete grub.conf file: more /boot/grub/grub.conf default 0 timeout 8 gfxmenu (hd0,0)/boot/message title 2.6.24.4-default root (hd0,0) kernel /boot/kernel root=/dev/sda1 splash=silent showopts /etc/fstab: #/dev/BOOT /boot ext2noauto,noatime 1 2 /dev/sda1 / ext3noatime 0 1 /dev/sda2 noneswapsw 0 0 #/dev/cdrom /mnt/cdrom audonoauto,ro 0 0 #/dev/fd0 /mnt/floppy autonoauto 0 0 shm /dev/shmtmpfs nodev,nosuid,noexec 0 0 I am looking into the SCSI file system issue. Fei -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Re: problem with 2 partition installation from gentoo minimal system
Here is the complete grub.conf file: more /boot/grub/grub.conf default 0 timeout 8 gfxmenu (hd0,0)/boot/message title 2.6.24.4-default root (hd0,0) kernel /boot/kernel root=/dev/sda1 splash=silent showopts /etc/fstab: #/dev/BOOT /boot ext2 noauto,noatime 1 2 /dev/sda1 / ext3 noatime 0 1 /dev/sda2 noneswap sw 0 0 #/dev/cdrom /mnt/cdrom audo noauto,ro 0 0 #/dev/fd0 /mnt/floppy auto noauto 0 0 shm /dev/shmtmpfs nodev,nosuid,noexec 0 0 I am looking into the SCSI file system issue. Fei Error messages: ... md: ... autorun DONE VFS: Cannot open root device sda1 or unknown-block(0,0) Please append a correct root= boot option; here are the available partitions: Kernel panic - not syncing: VFS: unable to mount root fs on unknown-block(0,0) There is one more thing, this is a vmware machine so the harddrive is a scsi harddrive. Fei -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] problem with kernel and net-wireless/linux-wlan-ng
Fei Liu wrote: Hello, Group, I am trying to install and use NetGear MA111 usb wireless network. I followed the instructions here: http://gentoo-wiki.com/HOWTO_Prism2_USB_on_Gentoo http://gentoo-wiki.com/HOWTO_Prism2_USB_on_Gentoo But I get errors when I try to install the kernel module. linux-wlan-ng-0.2.8 # modprobe prism2_usb prism2_doreset=1 WARNING: Error inserting p80211 (/lib/modules/2.6.19-gentoo-r5/linux- wlan-ng/p80211.ko): Invalid module format FATAL: Error inserting prism2_usb (/lib/modules/2.6.19-gentoo-r5/linux- wlan-ng/prism2_usb.ko): Invalid module format My system is built with gentoo 2007.0 livecd for i386 system. Here is uname -a Linux map 2.6.19-gentoo-r5 #1 SMP Wed Apr 4 05:44:43 UTC 2007 i686 Celeron (Mendocino) GenuineIntel GNU/Linux Initially, my /usr/src/linux - linux-2.6.19-gentoo-r5, and it's not configured or compiled, so I don't have .config or include/linux/ version.h files that linux-wlan-ng-0.2.8 looks for. I created a simple config (has wireless support, usb support), compiled it but never installed it. So I have .config and include/ linux/version.h files. linux-wlan-ng could compile but the result kernel modules cannot be installed unless forced: modprobe -f prism2_usb prism2_doreset=1 Segmentation fault map # lsmod Module Size Used by prism2_usb 60755 1 p80211 24844 1 prism2_usb This causes the kernel to panic when I do 'reboot' but everything else seems fine. How could I go about solving this problem. I had no problem installing this card and the softwares on a Fedora core 8 release. In this case, it seems like some wierd kernel config problem causing errors when I insert modules. Is there a way to get the config file used to create the stock kernel in 2007.0 gentoo livecd? Thanks, Fei Ah it tends out the kernel vermagic must match. I copied /proc/config.gz and applied it to kernel source. problem solved. Fei -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] problem with kernel and net-wireless/linux-wlan-ng
Hello, Group, I am trying to install and use NetGear MA111 usb wireless network. I followed the instructions here: http://gentoo-wiki.com/HOWTO_Prism2_USB_on_Gentoo http://gentoo-wiki.com/HOWTO_Prism2_USB_on_Gentoo But I get errors when I try to install the kernel module. linux-wlan-ng-0.2.8 # modprobe prism2_usb prism2_doreset=1 WARNING: Error inserting p80211 (/lib/modules/2.6.19-gentoo-r5/linux- wlan-ng/p80211.ko): Invalid module format FATAL: Error inserting prism2_usb (/lib/modules/2.6.19-gentoo-r5/linux- wlan-ng/prism2_usb.ko): Invalid module format My system is built with gentoo 2007.0 livecd for i386 system. Here is uname -a Linux map 2.6.19-gentoo-r5 #1 SMP Wed Apr 4 05:44:43 UTC 2007 i686 Celeron (Mendocino) GenuineIntel GNU/Linux Initially, my /usr/src/linux - linux-2.6.19-gentoo-r5, and it's not configured or compiled, so I don't have .config or include/linux/ version.h files that linux-wlan-ng-0.2.8 looks for. I created a simple config (has wireless support, usb support), compiled it but never installed it. So I have .config and include/ linux/version.h files. linux-wlan-ng could compile but the result kernel modules cannot be installed unless forced: modprobe -f prism2_usb prism2_doreset=1 Segmentation fault map # lsmod Module Size Used by prism2_usb 60755 1 p80211 24844 1 prism2_usb This causes the kernel to panic when I do 'reboot' but everything else seems fine. How could I go about solving this problem. I had no problem installing this card and the softwares on a Fedora core 8 release. In this case, it seems like some wierd kernel config problem causing errors when I insert modules. Is there a way to get the config file used to create the stock kernel in 2007.0 gentoo livecd? Thanks, Fei -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] help with emerge package recompile
Hello, I was going to install 'webalizer' (apache monitoring software) by 'emerge -kv webalizer', I got the following error: !!! ERROR: app-admin/webalizer-2.01.10-r12 failed. Call stack: ebuild.sh, line 1555: Called dyn_setup ebuild.sh, line 668: Called pkg_setup webalizer-2.01.10-r12.ebuild, line 45: Called die !!! recompile gd with USE=png !!! If you need support, post the topmost build error, and the call stack if relevant. I tried to do 'USE=png emerge -update gd', and I got a scary list of package ebuilds: [ebuild N] media-libs/gd-2.0.33 USE=png* [ebuild N] media-libs/freetype-2.1.10-r2 [ebuild N] media-libs/libpng-1.2.12 [ebuild N] sys-devel/libtool-1.5.22 skipped What should I do in this case? How exactly should I update my 'gd' package? Sorry, I am still new to the emerge system. Thanks, Fei -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] help with emerge package recompile
Fei Liu wrote: Hello, I was going to install 'webalizer' (apache monitoring software) by 'emerge -kv webalizer', I got the following error: !!! ERROR: app-admin/webalizer-2.01.10-r12 failed. Call stack: ebuild.sh, line 1555: Called dyn_setup ebuild.sh, line 668: Called pkg_setup webalizer-2.01.10-r12.ebuild, line 45: Called die !!! recompile gd with USE=png !!! If you need support, post the topmost build error, and the call stack if relevant. I tried to do 'USE=png emerge -update gd', and I got a scary list of package ebuilds: [ebuild N] media-libs/gd-2.0.33 USE=png* [ebuild N] media-libs/freetype-2.1.10-r2 [ebuild N] media-libs/libpng-1.2.12 [ebuild N] sys-devel/libtool-1.5.22 skipped What should I do in this case? How exactly should I update my 'gd' package? Sorry, I am still new to the emerge system. Thanks, Fei Hello, I am just reporting back, I have this fixed (by trying with -p flag): USE=png jpeg emerge -vkp gd These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-libs/gd-2.0.33 USE=jpeg* png* truetype -fontconfig -xpm 0 kB One thing I am curious is, it seems a lot of source code packages are cached on my local machine, what should I do to remove them from my hard drive? Fei -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] help with emerge package recompile
Jakob Buchgraber wrote: Fei Liu wrote: Hello, I was going to install 'webalizer' (apache monitoring software) by 'emerge -kv webalizer', I got the following error: !!! ERROR: app-admin/webalizer-2.01.10-r12 failed. Call stack: ebuild.sh, line 1555: Called dyn_setup ebuild.sh, line 668: Called pkg_setup webalizer-2.01.10-r12.ebuild, line 45: Called die !!! recompile gd with USE=png !!! If you need support, post the topmost build error, and the call stack if relevant. I tried to do 'USE=png emerge -update gd', and I got a scary list of package ebuilds: [ebuild N] media-libs/gd-2.0.33 USE=png* [ebuild N] media-libs/freetype-2.1.10-r2 [ebuild N] media-libs/libpng-1.2.12 [ebuild N] sys-devel/libtool-1.5.22 skipped What should I do in this case? How exactly should I update my 'gd' package? Sorry, I am still new to the emerge system. Thanks, Fei You should add png to /etc/make.conf or /etc/portage/package.use and then reemerge gd lib (emerge --newuse gd). Cheers, Jay Hi Jay, thank you, please see my other thread, I used 'USE=png emerge -kv gd' to fix this problem. But it's good to learn the --newuse flag. Do you know what I should do to remove all the cached source code packages? Fei -- gentoo-user@gentoo.org mailing list
[gentoo-user] problem installing from livecd 2006.1
Hello new to gentoo here but I got fair amount of experience with linux. Just wondering with livecd, do I still need to get a separate stage3 tar.bz2 file? It seems I could never get a installation successful with just livecd. ( I normally use GTR+dynamic option to ask stage3 built dynamically). I can install through nfs or chroot mount (wget stage3 and portage file to local disk) just fine. I am also looking for a good guide or manual about installing from livecd. Preferrably I should be able to install from livecd on a host computer without any network connection (networkless). Thanks, Fei -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] problem installing from livecd 2006.1
Etaoin Shrdlu wrote: On Tuesday 16 January 2007 21:04, Fei Liu wrote: I am also looking for a good guide or manual about installing from livecd. Preferrably I should be able to install from livecd on a host computer without any network connection (networkless). What about the official handbook? http://www.gentoo.org/doc/en/handbook/index.xml There is a specific handbook which covers networkless install: http://www.gentoo.org/doc/en/handbook/2006.1/index.xml hth Thank you, 2nd link is exactly what I am looking for. -- gentoo-user@gentoo.org mailing list