Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#276809 - 03/03/2006 12:00 Trouble building 120gb drive
Gleep
member

Registered: 09/03/2003
Posts: 121
Loc: Iowa
I take it from this that the builder ran out of memory?
Quote:
Trying to unmount old root ... okay

Freeing unused kernel memory: 4k initVFS: Can't find an ext2 filesystem on dev ide0(3,4).

mount: wrong fs type, bad option, bad superblock on /dev/hda4,
or too many mounted file systems
warning: can't open /etc/mtab: No such file or directory
umount: /drive0: not mounted
Making first drive...
mke2fs 1.14, 9-Jan-1999 for EXT2 FS 0.5b, 95/08/09
ext2fs_check_if_mount: No such file or directory while determining whetheno room for private writable mapping

r /dev/hderror: -12

a4 is mounted. /dev/hda4: Memory allocation failed while setting up superblock hdstress.cpp 189 ( 14): Poll result=1 on fd=5
hdstress.cpp 194 ( 14): Read a button press



Attached is the complete Hyperterminal output


Attachments
277131-session.txt (180 downloads)


Top
#276810 - 03/03/2006 12:49 Re: Trouble building 120gb drive [Re: Gleep]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Yup. Builder ran out of memory. You might want to either build this manually.
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#276811 - 03/03/2006 20:54 Re: Trouble building 120gb drive [Re: pgrzelak]
Gleep
member

Registered: 09/03/2003
Posts: 121
Loc: Iowa
Would running the builder in an Empeg with more memory help or is it like 2.0 and would not recognize it?

Top
#276812 - 03/03/2006 21:02 Re: Trouble building 120gb drive [Re: Gleep]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
I believe it would not see it, as the kernel is hard-coded to see only the stock amounts. It's been bandied about for ages, but someone needs to write a replacement builder. It wouldn't really be very difficult.
_________________________
Bitt Faulk

Top
#276813 - 04/03/2006 01:03 Re: Trouble building 120gb drive [Re: wfaulk]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Quote:
I believe it would not see it, as the kernel is hard-coded to see only the stock amounts.


No, the kernel sees all memory just fine, thank-you. It's /empeg/bin/player that is more fussy.

EDIT: Or maybe not.. the builder image doesn't have a Hijack kernel by default, so it won't see the extra memory. Darn. Gotta make a new builder image with Hijack included some day.. whenever I upgrade to 80GB+ drives from the current 30GB ones.


Edited by mlord (04/03/2006 01:06)

Top
#276814 - 04/03/2006 03:07 Re: Trouble building 120gb drive [Re: mlord]
Gleep
member

Registered: 09/03/2003
Posts: 121
Loc: Iowa
Part 1 is now done. My friend brought over his notebook with a linux distro and a usb drive unit and 2.5 to 3.5 adapter. All 3 drives are now partitioned and formatted. Two of them have been flashed with 2.0 final and emplode now reports Free Space 223 GB Capacity 223 GB.

Part 2 is copying my current drives to the new drives. As I understand it, I should be able to copy both my old drives (80gb and 20gb) to the same new drive or would it be better to split it up between the new drives?

Top
#276815 - 04/03/2006 12:32 Re: Trouble building 120gb drive [Re: Gleep]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Quote:
Part 1 is now done. My friend brought over his notebook with a linux distro and a usb drive unit and 2.5 to 3.5 adapter. All 3 drives are now partitioned and formatted.


It is absolutely best to do the filesystem formatting ON THE EMPEG, NOT A PC. For the simple reason that the Linux filesystem code has had a few significant changes since the version of Linux kernel used in the Empeg became obsolete. In particular, depending upon (luck) which version of which distro your buddy used, the filesystem may be created with flags/options that the empeg doesn't know about.

Or it might work by accident.

Linux is backward compatible with itself, but not always forward compatible.

Cheers

Top
#276816 - 04/03/2006 16:20 Re: Trouble building 120gb drive [Re: mlord]
Mataglap
enthusiast

Registered: 11/06/2003
Posts: 384
If you use the empeg utility to install the developer image, it will lay down the filesystem in the image, so the only partitions that would need to be manually reformatted would be the music (4) and spare (2) partitions, making following Mark's advice a little easier.

And since the developer image has mkfs in it, you can just zap those on the fly, according to Roger's webpage: mke2fs -m 0 -s 1 -i 131072 /dev/...

That -s 1 will make a huge difference fscking large drives.

--Nathan

Top
#276817 - 05/03/2006 00:43 Re: Trouble building 120gb drive [Re: Mataglap]
Gleep
member

Registered: 09/03/2003
Posts: 121
Loc: Iowa
Per Roger's website I did the format against /dev/hdc4 which was mounted as drive1. Does /dev/hda4 corespond to drive0 and needs to be done too?

Top
#276818 - 05/03/2006 10:48 Re: Trouble building 120gb drive [Re: Gleep]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Assuming that you want to rebuild the music partition on your primary hard drive, yes. hda4 is the music partition on drive0.
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#276819 - 05/03/2006 15:31 Re: Trouble building 120gb drive [Re: pgrzelak]
Gleep
member

Registered: 09/03/2003
Posts: 121
Loc: Iowa
Re-did the format steps from the empeg for hda4 and hdc4. Copied the small drive (10gb) and that took 2hrs. Now I am copying the large drive (80gb). Both copies are going to the same 120gb drive. The 120s and 80gb drives are all Hitachi Travelstars, the 10gb is a fujitsu and boy are the travelstars quiet compared to the fujitsu.

Top
#276820 - 05/03/2006 20:19 Re: Trouble building 120gb drive [Re: Gleep]
Mataglap
enthusiast

Registered: 11/06/2003
Posts: 384
yeah. From the command line you can do: Code:
cat /proc/mounts

and see how the partitions are mounted.

--Nathan

Top
#276821 - 06/03/2006 21:51 Re: Trouble building 120gb drive [Re: Mataglap]
Gleep
member

Registered: 09/03/2003
Posts: 121
Loc: Iowa
Copying took forever, but I now have 223gb total 140gb free! Time to start filling and time to start copying my wife's unit to the new drives from (60 + 10) to (80 + 120). Thanks for all the help.

Top
#276822 - 08/03/2006 01:47 Re: Trouble building 120gb drive [Re: Gleep]
Gleep
member

Registered: 09/03/2003
Posts: 121
Loc: Iowa
I ftp'ed default.xsl but even before I changed .htm to .xsl I only see the following (minus all the formatting) from http://192.168.1.103/?FID=101&EXT=.htm

Stream Play Insert Append Tags All Music Length Type Artist Source
Stream Play Insert Append Tags Unattached Items 0 playlist
Hijack v444 by Mark Lord

What have I screwed up now?

Top