View previous topic :: View next topic |
Author |
Message |
tmgth n00b
Joined: 30 Dec 2010 Posts: 26 Location: Victorville, CA USA
|
Posted: Thu Dec 30, 2010 10:58 am Post subject: 64 bit install error, 'not supported in the 32 bit mode' |
|
|
Hi everyone,
I am trying to install gentoo on my Gateway MD 7321u from a live usb cd.
stage3-amd64-20101223.tar.bz2
Everything was going good until I did & the got following error message.. Same problem with manual configuration with Code: | make && make modules_install |
error message....
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig arch/x86/Kconfig
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CC kernel/bounds.s
kernel/bounds.c:1: error: code model 'kernel' not supported in the 32 bit mode
kernel/bounds.c:1: sorry, unimplemented: 64-bit mode not compiled in
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
lspci shows...
Code: | 00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
02:00.0 Network controller: Atheros Communications Inc. Device 002a (rev 01)
06:00.0 Ethernet controller: Marvell Technology Group Ltd. Device 4380 (rev 10)
07:09.0 Mass storage controller: O2 Micro, Inc. Integrated MS/xD Controller (rev 03)
07:09.2 SD Host controller: O2 Micro, Inc. Integrated MMC/SD Controller (rev 02) |
Thanks!
-Matt |
|
Back to top |
|
|
thujones n00b
Joined: 30 Dec 2010 Posts: 1
|
Posted: Thu Dec 30, 2010 2:27 pm Post subject: |
|
|
Good morning! I checked the specs on your machine and the first thing that jumped out at me was
Code: | Processor Intel® Pentium® Dual-Core Mobile Processor T3400 (2.16GHz, 667MHz FSB, 1MB L2 cache) |
Unfortunately you cant use the AMD64 Build, just need to get the 32-bit livecd build and you should be good! |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Thu Dec 30, 2010 4:20 pm Post subject: |
|
|
Other lines in specs include:
Quote: | Processor Intel® Pentium® Dual-Core Mobile Processor T3400 (2.16GHz, 667MHz FSB, 1MB L2 cache)
Operating System Genuine Windows Vista® Home Premium (64-bit) with SP1
1 Windows Vista® 64-bit versions are intended to work with 64-bit drivers and peripherals. Windows Vista® 32-bit compatible applications work in Windows Vista® 64-bit versions. Visit Microsoft's page on 32-bit and 64-bit Windows for more information on upgrading 32-bit applications and hardware. |
Could you provide the content of /etc/make.conf?
What install medium did you use?
What profile did you use? _________________ Defund the FCC. |
|
Back to top |
|
|
tmgth n00b
Joined: 30 Dec 2010 Posts: 26 Location: Victorville, CA USA
|
Posted: Thu Dec 30, 2010 10:59 pm Post subject: |
|
|
Thanks for the help,
I loaded the 32-bit live usb this time...
stage3-i686-20101228.tar.bz2
portage-latest.tar.bz2
gentoo-sources
linux-2.6.36-gentoo-r5
got a bunch of new errors when doing genkernel all,
the genkernel.log file is here:
http://pastebin.com/giXA2TuY
could errors on lines: 7829, 7988, 8047 be the cause?
make.conf...
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"
#
USE="-gtk -gnome qt4 kde dvd alsa cdr"
Thanks!
Matt
Last edited by tmgth on Fri Dec 31, 2010 12:29 am; edited 1 time in total |
|
Back to top |
|
|
jcTux Apprentice
Joined: 29 Dec 2009 Posts: 276 Location: Tours, France
|
Posted: Thu Dec 30, 2010 11:44 pm Post subject: |
|
|
What live usb are you using ? |
|
Back to top |
|
|
tmgth n00b
Joined: 30 Dec 2010 Posts: 26 Location: Victorville, CA USA
|
|
Back to top |
|
|
jcTux Apprentice
Joined: 29 Dec 2009 Posts: 276 Location: Tours, France
|
Posted: Fri Dec 31, 2010 12:42 am Post subject: |
|
|
Obviously the kernel were compiled properly, but to finish the build process, it does not find the lzma command.
---> From your log :
Quote: | bin/sh: lzma: command not found
make[2]: *** [arch/x86/boot/compressed/vmlinux.bin.lzma] Error 1
make[1]: *** [arch/x86/boot/compressed/vmlinux] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [bzImage] Error 2 |
Type lzma from your terminal to see if you have it. |
|
Back to top |
|
|
tmgth n00b
Joined: 30 Dec 2010 Posts: 26 Location: Victorville, CA USA
|
Posted: Fri Dec 31, 2010 1:08 am Post subject: |
|
|
(chroot) livecd / # lzma
bash: lzma: command not found
gentoo@livecd ~ $ lzma
lzma: Compressed data not written to a terminal unless `--force' is used.
lzma: Try `lzma --help' for more information.
gentoo@livecd ~ $ lzma --force
... Just kept "working" & displayed noting but a blinking cursor.
gentoo@livecd ~ $ lzma -V (version)
xz (XZ Utils) 4.999.9beta
liblzma 4.999.9beta
gentoo@livecd ~ $ lzma -l
lzma: --list is not implemented yet. |
|
Back to top |
|
|
jcTux Apprentice
Joined: 29 Dec 2009 Posts: 276 Location: Tours, France
|
Posted: Fri Dec 31, 2010 1:14 am Post subject: |
|
|
Did you follow the handbook step by step ?
I think some files are missing ?
Try to re-install the stage3. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Fri Dec 31, 2010 1:30 am Post subject: |
|
|
lzma problem can be fixed by booting flash drive, mounting gentoo partitions, entering the chroot, and:
either a) Code: | emerge app-arch/xz-utils
genkernel all |
or b) Code: | genkernel --menuconfig all | and edit menuconfig when it appears to
Quote: | General setup --->
Kernel compression mode (Gzip) --->
(X) Gzip
( ) Bzip2
( ) LZMA
( ) LZO | Do both if you wish. _________________ Defund the FCC. |
|
Back to top |
|
|
tmgth n00b
Joined: 30 Dec 2010 Posts: 26 Location: Victorville, CA USA
|
Posted: Fri Dec 31, 2010 4:02 am Post subject: |
|
|
Code: | genkernel --menuconfig all | fixed the error messages.
Everything looked good so I proceeded to reboot..
Now on reboot all I see is a grub> command line..
What to do from here? |
|
Back to top |
|
|
tmgth n00b
Joined: 30 Dec 2010 Posts: 26 Location: Victorville, CA USA
|
Posted: Fri Dec 31, 2010 8:11 am Post subject: |
|
|
Ok, so when I boot up my system (without live usb) I see something like this..
GNU GRUB version 0.97 (629k lower / 2975428k upper memory)
[Minimal BASH-like line editing is supported. For the first word, TAB lists possible comm... blah..]
grub> _
So, I am lost now.. Any help?
Thanks!
Matt |
|
Back to top |
|
|
jcTux Apprentice
Joined: 29 Dec 2009 Posts: 276 Location: Tours, France
|
Posted: Fri Dec 31, 2010 11:41 am Post subject: |
|
|
Grub cannot find the kernel to load.
Boot the live usb again, and post the result of :
Post also the content of /etc/fstab of your Gentoo installation. |
|
Back to top |
|
|
tmgth n00b
Joined: 30 Dec 2010 Posts: 26 Location: Victorville, CA USA
|
Posted: Fri Dec 31, 2010 7:17 pm Post subject: |
|
|
gentoo@livecd ~ $ sudo fdisk -l
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x800fd812
Device Boot Start End Blocks Id System
/dev/sda1 * 1 5 40131 83 Linux
/dev/sda2 6 71 530145 82 Linux swap / Solaris
/dev/sda3 72 30401 243625725 83 Linux
Disk /dev/sdb: 4102 MB, 4102889984 bytes
255 heads, 63 sectors/track, 498 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 497 3992135+ c W95 FAT32 (LBA)
####################################################
## ATTENTION: THIS IS THE FSTAB ON THE LIVECD ##
## PLEASE EDIT THE FSTAB at /mnt/gentoo/etc/fstab ##
####################################################
tmpfs / tmpfs defaults 0 0
tmpfs /lib/firmware tmpfs defaults 0 0
tmpfs /usr/portage tmpfs defaults 0 0
When I navigate /mnt/gentoo, the folder appears to be empty... |
|
Back to top |
|
|
jcTux Apprentice
Joined: 29 Dec 2009 Posts: 276 Location: Tours, France
|
Posted: Fri Dec 31, 2010 7:30 pm Post subject: |
|
|
tmgth wrote: |
When I navigate /mnt/gentoo, the folder appears to be empty... |
You have to mount all your partitions (/, /boot etc.) to /mnt/gentoo. |
|
Back to top |
|
|
tmgth n00b
Joined: 30 Dec 2010 Posts: 26 Location: Victorville, CA USA
|
Posted: Fri Dec 31, 2010 7:36 pm Post subject: |
|
|
I thought that was already done..
What commands do I use?
mount /dev/........? |
|
Back to top |
|
|
jcTux Apprentice
Joined: 29 Dec 2009 Posts: 276 Location: Tours, France
|
Posted: Fri Dec 31, 2010 7:50 pm Post subject: |
|
|
tmgth wrote: | I thought that was already done..
What commands do I use?
mount /dev/........? |
If you had rebooted your computer, the partitions are no longer mounted.
Repeat the steps (section : 4.e. Mounting) in the handbook http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=4#doc_chap5
And after post the content of :
/mnt/gentoo/etc/fstab |
|
Back to top |
|
|
tmgth n00b
Joined: 30 Dec 2010 Posts: 26 Location: Victorville, CA USA
|
Posted: Fri Dec 31, 2010 8:10 pm Post subject: |
|
|
Thanks!
Code: | /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/BOOT /boot ext2 noauto,noatime 1 2
/dev/ROOT / ext3 noatime 0 1
/dev/SWAP none swap sw 0 0
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 |
|
|
Back to top |
|
|
jcTux Apprentice
Joined: 29 Dec 2009 Posts: 276 Location: Tours, France
|
Posted: Fri Dec 31, 2010 8:20 pm Post subject: |
|
|
You fstab has not been modified.
Take your time to follow step by step the handbook.
Without a correct fstab, your system won't boot. |
|
Back to top |
|
|
tmgth n00b
Joined: 30 Dec 2010 Posts: 26 Location: Victorville, CA USA
|
Posted: Fri Dec 31, 2010 9:16 pm Post subject: |
|
|
Ok, am I good to reboot now?
Is it needed to set up the network beforehand?
Code: | /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda1 /boot ext2 noauto,noatime 1 2
/dev/sda2 none swap sw 0 0
/dev/sda3 / ext3 noatime 0 1
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
|
|
|
Back to top |
|
|
jcTux Apprentice
Joined: 29 Dec 2009 Posts: 276 Location: Tours, France
|
Posted: Fri Dec 31, 2010 9:29 pm Post subject: |
|
|
You'll need your network connection to install all applications that you'll need. So it's is a good idea to setup it as specified in the manual.
What kind of connection do you have ? Wifi or wired ? |
|
Back to top |
|
|
tmgth n00b
Joined: 30 Dec 2010 Posts: 26 Location: Victorville, CA USA
|
Posted: Fri Dec 31, 2010 9:38 pm Post subject: |
|
|
Alright, thanks.. Im using wifi..
fdisk -l showed this...
Code: | Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x800fd812
Device Boot Start End Blocks Id System
/dev/sda1 * 1 5 40131 83 Linux
/dev/sda2 6 71 530145 82 Linux swap / Solaris
/dev/sda3 72 30401 243625725 83 Linux
Disk /dev/sdb: 4102 MB, 4102889984 bytes
255 heads, 63 sectors/track, 498 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 497 3992135+ c W95 FAT32 (LBA)
Disk /dev/sdc: 4104 MB, 4104610304 bytes
127 heads, 62 sectors/track, 1018 cylinders
Units = cylinders of 7874 * 512 = 4031488 bytes
Disk identifier: 0x6f20736b
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/sdc1 ? 98824 243796 570754815+ 72 Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(357, 116, 40) logical=(98823, 58, 11)
Partition 1 has different physical/logical endings:
phys=(357, 32, 45) logical=(243795, 59, 51)
Partition 1 does not end on cylinder boundary.
/dev/sdc2 ? 21424 267300 968014120 65 Novell Netware 386
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(288, 115, 43) logical=(21423, 77, 47)
Partition 2 has different physical/logical endings:
phys=(367, 114, 50) logical=(267299, 87, 42)
Partition 2 does not end on cylinder boundary.
/dev/sdc3 ? 237476 483352 968014096 79 Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
phys=(366, 32, 33) logical=(237475, 53, 30)
Partition 3 has different physical/logical endings:
phys=(357, 32, 43) logical=(483351, 62, 39)
Partition 3 does not end on cylinder boundary.
/dev/sdc4 ? 366483 366490 27749+ d Unknown
Partition 4 has different physical/logical beginnings (non-Linux?):
phys=(372, 97, 50) logical=(366482, 30, 25)
Partition 4 has different physical/logical endings:
phys=(0, 10, 0) logical=(366489, 36, 33)
Partition 4 does not end on cylinder boundary.
Partition table entries are not in disk order
|
|
|
Back to top |
|
|
syntropy n00b
Joined: 10 Oct 2009 Posts: 8 Location: Western Canada
|
Posted: Fri Dec 31, 2010 10:01 pm Post subject: Re: 64 bit install error, 'not supported in the 32 bit mode' |
|
|
tmgth wrote: | HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig arch/x86/Kconfig
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CC kernel/bounds.s
kernel/bounds.c:1: error: code model 'kernel' not supported in the 32 bit mode
kernel/bounds.c:1: sorry, unimplemented: 64-bit mode not compiled in
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2 |
If I understand that error correctly, you're running an old GCC (<= 4.3.0) that does not support "kernel" or "large" memory models. (When compiling the kernel, it's using -mcmodel=kernel, which your compiler does not support.) You're probably running an old installation medium and using the new instruction manual. Instead, try using a newer installer disk. _________________
cach0rr0 wrote: | I'm not even sure what you're arguing for, but with that big bold red font, somehow I find myself agreeing. |
|
|
Back to top |
|
|
tmgth n00b
Joined: 30 Dec 2010 Posts: 26 Location: Victorville, CA USA
|
Posted: Fri Dec 31, 2010 10:15 pm Post subject: |
|
|
syntropy,
Thanks, we already fixed that issue by booting just gentoo, not gentoo64. Now the problem lies in the config.. ^ |
|
Back to top |
|
|
Chiitoo Administrator
Joined: 28 Feb 2010 Posts: 2581 Location: Here and Away Again
|
Posted: Fri Dec 31, 2010 10:57 pm Post subject: |
|
|
Firstly, it does seem your CPU does support 64-bits so rather than fix the problem, I think you went around it. ;^^
Either way, did you try to boot with the new fstab yet?
Couldn't see anything wrong with it with a quick glance. _________________ Kindest of regardses. |
|
Back to top |
|
|
|