Re: Out of Memory Error
On 30.03.2011 15:27, Gus Zernial wrote: > I can believe it's a BIOS problem, but ... 120 GB is a "large drive"? > > Are you able to list your files with ls (hdX,1)/ (iterate X over digits) -- Regards Vladimir 'φ-coder/phcoder' Serbinenko signature.asc Description: OpenPGP digital signature ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel
Re: Out of Memory Error
On 30.03.2011 15:27, Gus Zernial wrote: > I can believe it's a BIOS problem, but ... 120 GB is a "large drive"? > > > Could you try booting from external media and execute "ls -l" It should give you the total size in blocks as seen through BIOS. Also how is this disk accessed? PATA or AHCI? If first you can install GRUB with --disk-module=ata. If second, then you can do the same with --disk-module=ahci but only in experimental. Beware that AHCI in GRUB is alpha-quality right now. > --- On Tue, 3/29/11, Jordan Uggla wrote: > > >> From: Jordan Uggla >> Subject: Re: Out of Memory Error >> To: "The development of GNU GRUB" >> Cc: "Gus Zernial" >> Date: Tuesday, March 29, 2011, 6:00 PM >> 2011/3/29 Gus Zernial : >> >>> Thanks for your reply. First of all, the error is "Out >>> >> of disk", not >> >>> "Out of memory", my bad >>> >> "Out of disk" is a very different error from "Out of >> memory". "Out of >> disk" means that you have a buggy BIOS which can't handle >> large drives >> properly. To work around this create a small /boot/ >> partition near the >> beginning of the drive. >> >> -- >> Jordan Uggla (Jordan_U on irc.freenode.net) >> >> > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > > -- Regards Vladimir 'φ-coder/phcoder' Serbinenko signature.asc Description: OpenPGP digital signature ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel
Re: Out of Memory Error
On Wed, Mar 30, 2011 at 06:27:43AM -0700, Gus Zernial wrote: > I can believe it's a BIOS problem, but ... 120 GB is a "large drive"? I am currently dealing with 'out of disk' on a CM-iTC using a phoenix bios and the brand new atom chip. Works fine up to 8GB, but at 40GB or other higher places on an 80GB SATA drive the BIOS returns error and hence grub says 'out of disk'. I am amazed how many long solved problems BIOS makers can keep causing. -- Len Sorensen ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel
Re: Out of Memory Error
I can believe it's a BIOS problem, but ... 120 GB is a "large drive"? --- On Tue, 3/29/11, Jordan Uggla wrote: > From: Jordan Uggla > Subject: Re: Out of Memory Error > To: "The development of GNU GRUB" > Cc: "Gus Zernial" > Date: Tuesday, March 29, 2011, 6:00 PM > 2011/3/29 Gus Zernial : > > Thanks for your reply. First of all, the error is "Out > of disk", not > > "Out of memory", my bad > > "Out of disk" is a very different error from "Out of > memory". "Out of > disk" means that you have a buggy BIOS which can't handle > large drives > properly. To work around this create a small /boot/ > partition near the > beginning of the drive. > > -- > Jordan Uggla (Jordan_U on irc.freenode.net) > ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel
Re: Out of Memory Error
> On 03/29/2011 05:48 PM, richardvo...@gmail.com wrote: >> Which SSD? This sounds rather like the infamous OCZ time warp. Are >> other changes made to the SSD lost, or only the boot sector? On Tue, Mar 29, 2011 at 7:50 PM, Phillip Susi wrote: > What OCZ time warp? I have an OCZ SSD and don't have any trouble with > it. Hadn't noticed anything about this on their forums either. I don't have any trouble with mine either, but it seems to plague certain systems. It was discussed extensively during the most recent firmware release cycle, which is how I learned about it. http://www.ocztechnologyforum.com/forum/search.php?securitytoken=guest&do=process&query=%22time%20warp%22 ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel
Re: Out of Memory Error
2011/3/29 Gus Zernial : > Thanks for your reply. First of all, the error is "Out of disk", not > "Out of memory", my bad "Out of disk" is a very different error from "Out of memory". "Out of disk" means that you have a buggy BIOS which can't handle large drives properly. To work around this create a small /boot/ partition near the beginning of the drive. -- Jordan Uggla (Jordan_U on irc.freenode.net) ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel
Re: Out of Memory Error
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/29/2011 05:48 PM, richardvo...@gmail.com wrote: > Which SSD? This sounds rather like the infamous OCZ time warp. Are > other changes made to the SSD lost, or only the boot sector? What OCZ time warp? I have an OCZ SSD and don't have any trouble with it. Hadn't noticed anything about this on their forums either. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2SfjsACgkQJ4UciIs+XuJiSgCfQGMZYEPxOd/+j/eXhT0WMWQo LLgAnidmNarKjR2k+kqzu+/SYknul/np =PIV/ -END PGP SIGNATURE- ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel
Re: Out of Memory Error
On Mon, Mar 28, 2011 at 2:56 PM, Gus Zernial wrote: > I've posted my problem to this list before without getting a > solution - also to grub-help and Ubuntu forum(s), no answer - I'm > stumped and would really appreciate help. > > I have Kubuntu 10.10, a custom 2.6.37.1 kernel, and GRUB2. I was on > v1.98 when the problem started, I'm now on 1.99~rc1 which I downloaded > and compiled, the upgrade didn't help. > > My system has three disks - / is on an SSD, and /home is on the other Which SSD? This sounds rather like the infamous OCZ time warp. Are other changes made to the SSD lost, or only the boot sector? ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel
Re: Out of Memory Error
Thanks for your reply. First of all, the error is "Out of disk", not "Out of memory", my bad > Are you able to see the devices needed for boot if you type > "ls" ? > Also adding --debug-image=all to grub-install would enable > extra debug messages > Regards Vladimir 'φ-coder/phcoder' Serbinenko Yes I can see the devices needed to boot, when typing ls. After adding --debug-image=all here's what I get kern/disk.c: 245: Opening 'hd0,msdos1' ... partmap/msdos.c: 101: partition 0: flag 0x0, type 0x83, start 0x3f, len 0x75286e0 kern/fs.c: 54: Detecting ext2 ... kern/disk.c: 397: Read out of range: sector 0x440013f (out of disk). kern/disk.c: 330: Closing 'hd0' error: out of disk Entering rescue mode ... grub rescue> ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel
Re: Out of Memory Error
On 28.03.2011 21:56, Gus Zernial wrote: > I've posted my problem to this list before without getting a > solution - also to grub-help and Ubuntu forum(s), no answer - I'm > stumped and would really appreciate help. > > I have Kubuntu 10.10, a custom 2.6.37.1 kernel, and GRUB2. I was on > v1.98 when the problem started, I'm now on 1.99~rc1 which I downloaded > and compiled, the upgrade didn't help. > > My system has three disks - / is on an SSD, and /home is on the other > two disks which are in software RAID. Each of the three disks has a > Windows 7 partition - the SSD has the Windows C: disk and the other > two have partitions for Windows data disks. > > All this worked fine for some time, and then something (was?) changed, > I don't know what. Now, If I boot from a power off state, I get GRUB > "Out of Memory" error, and it goes to grub-rescue>, Are you able to see the devices needed for boot if you type "ls" ? Also adding --debug-image=all to grub-install would enable extra debug messages > no boot. I can > thereafter boot from the Kubuntu install disk, do repair system, do > update-grub, and reboot successfully thereafter. But if I power off, > I'm back to the GRUB "Out of Memory" error. > > -- Regards Vladimir 'φ-coder/phcoder' Serbinenko signature.asc Description: OpenPGP digital signature ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel
RE: Out of Memory Error
I've posted my problem to this list before without getting a solution - also to grub-help and Ubuntu forum(s), no answer - I'm stumped and would really appreciate help. I have Kubuntu 10.10, a custom 2.6.37.1 kernel, and GRUB2. I was on v1.98 when the problem started, I'm now on 1.99~rc1 which I downloaded and compiled, the upgrade didn't help. My system has three disks - / is on an SSD, and /home is on the other two disks which are in software RAID. Each of the three disks has a Windows 7 partition - the SSD has the Windows C: disk and the other two have partitions for Windows data disks. All this worked fine for some time, and then something (was?) changed, I don't know what. Now, If I boot from a power off state, I get GRUB "Out of Memory" error, and it goes to grub-rescue>, no boot. I can thereafter boot from the Kubuntu install disk, do repair system, do update-grub, and reboot successfully thereafter. But if I power off, I'm back to the GRUB "Out of Memory" error. In repair system mode I've tried zeroing the boot sectors on all three disks, then grub-install to all three disks, then update-grub, same result(s). I've tried changing the bios to boot from one of the /home disks, same result. Results of the boot_info_script.sh are below. The only other thing I've noticed is that linux periodically changes the sdX identifiers when it identifies my three disks - but as indicated by the script output, I'm using UUIDs to identify the disks, not the sdX identifiers. Apart from help in solving the problem, I'd appreciate instructions how further trace/log/diagnose the problem. Thanks, Gus $ cat RESULTS.txt Boot Info Script 0.56from 8 February 2011 = Boot Info Summary: === => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of the same hard drive for core.img. core.img is at this location on BIOS drive 1 (0x80) and looks for (,msdos1)/boot/grub on this drive. => Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of the same hard drive for core.img. core.img is at this location on BIOS drive 1 (0x80) and uses an embedded config file: --- - search.fs_uuid 7fd38d40-ed45-4d44-ab14-5cf7dc2020b3 root set prefix=($root)/boot/grub--- -. => Grub2 (v1.99) is installed in the MBR of /dev/sdc and looks at sector 1 of the same hard drive for core.img. core.img is at this location on BIOS drive 1 (0x80) and uses an embedded config file: --- - search.fs_uuid 7fd38d40-ed45-4d44-ab14-5cf7dc2020b3 root set prefix=($root)/boot/grub--- -. sda1: __ File system: ext4 Boot sector type: Grub2 (v1.97-1.98) Boot sector info: Grub2 (v1.97-1.98) is installed in the boot sector of sda1 and looks at sector 71572671 of the same hard drive for core.img, but core.img can not be found at this location. Operating System: Ubuntu 10.10 Boot files:/boot/grub/grub.cfg /etc/fstab /boot/grub/core.img sda2: __ File system: swap Boot sector type: - Boot sector info: sda3: __ File system: ntfs Boot sector type: Windows Vista/7 Boot sector info: No errors found in the Boot Parameter Block. Operating System: Windows 7 Boot files:/bootmgr /Boot/BCD /Windows/System32/winload.exe sdb1: __ File system: linux_raid_member Boot sector type: - Boot sector info: sdb2: __ File system: ntfs Boot sector type: Windows Vista/7 Boot sector info: No errors found in the Boot Parameter Block. Operating System: Boot files: sdc1: __ File system: linux_raid_member Boot sector type: Unknown Boot sector info: sdc2: __ File system: ntfs Boot sector type: Windows Vista/7 Boot sector info: No errors found in the Boot Parameter Block. Operating System: Boot files: md0: ___ File system: