![]() |
![]() |
|
|
Compare Products, Prices & Stores For: COMPUTERS, COMPONENTS, COMPUTER ACCESSORIES, COMPUTER MEMORY, HARDWARE, INPUT DEVICES, NETWORKING, PDAs & MOBILE ELECTRONICS, SOFTWARE, STORAGE & MEDIA, DIGITAL CAMERAS, HOME AUDIO, TV& VIDEO |
|
|
|
|
#16
|
|||
|
|||
|
Quote:
http://www.courtesan.com/tivo/bigdisk.html seems to say that I need to use a v1 swap and do this: # mkswap -v1 /dev/hda # swapon -a I'd rather do something that's tried and true rather than guessing and facing problems down the road if I hit a GSOD or weird behavior. Restoring from a backup is no fun since I'll lose my recordings. |
|
#17
|
|||
|
|||
|
Quote:
You can also just wait for the GSOD, and deal with the problem then. Just turn the alternate root partition into a second swap partition to double your swap space when you need it for the GSOD. Last edited by Jamie; 05-28-2005 at 06:23 PM. |
|
#18
|
|||
|
|||
|
Quote:
I'd much rather not deal w/the latter since it's a PITA. Given the choices of auto self-recovery vs. me having to screw around with it, I always take the former. It sounds like I can verify that Tivo's properly using the swap by viewing the /proc/meminfo file. Can I view this file while the drives are hooked to my PC? I guess the alternative would be to look at Tivo's kernel (or maybe tvlog) log files, right? How about mfsassert to force a GSOD and see if it "recovers"? Can I easily do that on my DVR80? Last edited by cwerdna; 05-28-2005 at 08:35 PM. |
|
#19
|
|||
|
|||
|
Quote:
Quote:
Quote:
Last edited by Jamie; 05-28-2005 at 10:35 PM. |
|
#20
|
|||
|
|||
|
Ok, sorry to keep revisiting this. I was about to embark on the upgrade tonight when I realized I have another problem. I was going to let the full 80 gig to 300 gig complete drive copy go overnight while I was asleep. <sigh>
Where can I find a binary or better yet a bootable CD that has Todd Miller's updated mkswap for x86 that he references at http://www.courtesan.com/tivo/bigdisk.html? I have no means of easily recompiling mkswap. The CD produced by burning ptvlba48-4.01.iso (which I think I got from http://www.ptvupgrade.com/products/s...1_license.html) seems to have the wrong version of mkswap. (can't delete my own post, otherwise I would) Nevermind, it seems the ISO at http://www.dealdatabase.com/forum/sh...ghlight=mkswap will do the job. Last edited by cwerdna; 05-29-2005 at 06:35 AM. |
|
#21
|
|||
|
|||
|
Quote:
Quote:
Quote:
Last edited by Jamie; 06-02-2005 at 03:39 AM. |
|
#22
|
|||
|
|||
|
Damn, after making the 300 meg swap partition and doing mkswap -v1 /dev/hda8 (on the correct drive), it looks like the kernel doesn't work w/the swapfile.
In my messages log, I see SwapTotal of 0kB where it used to be 64 megs.Also in my kernel log, I can see it used to be able to add the 64 meg swap fine, I now see: Activating swap partitions Unable to handle swap header version 16777216 swapon: /dev/hda8/ Invalid argument Oh well. It looks like I'm going to have to recopy my A drive over and just stick w/127 meg swap.
|
|
#23
|
|||
|
|||
|
Quote:
Not sure what's going on here, but it seems like your swap area may not have been correctly initialized. Here's the code from the kernel that prints that message: Code:
if (swap_header->info.version != 1) {
printk(KERN_WARNING
"Unable to handle swap header version %d\n",
swap_header->info.version);
error = -EINVAL;
goto bad_swap;
}
Looks like a byte order problem to me. Last edited by Jamie; 06-02-2005 at 03:30 AM. |
|
#24
|
|||
|
|||
|
Quote:
|
|
#25
|
|||
|
|||
|
Quote:
tivo: Code:
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000400 00 00 00 01 00 00 ff ff 00 00 00 00 00 00 00 00 |................| 00000410 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000ff0 00 00 00 00 00 00 53 57 41 50 53 50 41 43 45 32 |......SWAPSPACE2| 00001000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| Code:
00000000 07 3b 07 ba 53 54 46 90 88 62 ed cb 7d 3b 49 45 |.;..STF..b..};IE| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000400 01 00 00 00 ff 00 00 00 00 00 00 00 00 00 00 00 |................| 00000410 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000ff0 00 00 00 00 00 00 53 57 41 50 53 50 41 43 45 32 |......SWAPSPACE2| 00001000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| The easy solution to this is to run mkswap on the tivo itself. Alternatively, get a mkswap that can do byte swaping of the integer fields. The patch at courtesan.com added a "-S" option to byte swap the integer fields. Perhaps the version on the knoppix cd has that option and you just need to use it? Last edited by Jamie; 06-02-2005 at 03:39 AM. |
|
#26
|
|||
|
|||
|
Quote:
![]() I think I'm going to just put my 80 gig A drive back in for the time being. I've got plenty of space for now since TV shows are in hiatus. Unless I find an easily solution, I might just go grab a 160 gig drive to add and save the 300 for my next PC. :/ |
|
#27
|
|||
|
|||
|
Quote:
|
|
#28
|
|||
|
|||
|
Here's a static linux x86 mkswap that includes the -S option to swap bytes in the integer header values.
|
|
#29
|
|||
|
|||
|
thanks
Thanks for the help. I'll think about it when I have more time. Due to the errr... twists and turns this has taken, I'm a little concerned that there aren't that many people running w/>127 meg swap in conjunction w/really large drives on any Tivos. So it's unclear to me if some other unknown prob might come up and whether they can really recover properly from GSOD given this larger swap.
Divorcing my drives and losing my recordings cuz of some prob down the road is no fun. Sorry to make this even more off topic. How much physical RAM does the RCA DVR80 have usable? I swear I saw a weird amount like ~43nnn KB in the kernel logs. I'd expected say 49152 or 40960K. I'm contemplating just adding the a 200 gig drive (they're cheap too) if the unit can recover from GSOD of ~280 gigs w/127 megs of swap. Last edited by cwerdna; 06-02-2005 at 05:33 AM. |
|
#30
|
||||
|
||||
|
Quote:
Quote:
Before 48 bit addressing we had a 128 GB limit. MFS Tools has a 256 GB problem. And now, just for your amusement: 2^10 = 1,024 = 1 kilobyte = 1 KB 2^20 = 1,048,576 = 1 megabyte = 1 MB 2^30 = 1,073,741,824 = 1 gigabyte = 1 GB 2^40 = 1,099,511,627,776 = 1 terabyte = 1 TB
__________________
<>< TiVo TCD240080 --> 086 hrs TiVo TCD24004A --> 134 hrs TiVo TCD540040 --> 273 hrs Humax DRT400 ----> 487 hrs TOTAL -----------> 980 hrs That's just to much TV. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|