Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sun Ultra 10 + Gentoo Sparc + 120Gb Drive
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
rndpkt
n00b
n00b


Joined: 04 Mar 2003
Posts: 59

PostPosted: Tue Sep 21, 2004 12:27 am    Post subject: Sun Ultra 10 + Gentoo Sparc + 120Gb Drive Reply with quote

I'm trying to get the full capacity of a 120Gb drive in Linux (Sparc) in ai Sun U10. The bus of the U10 is UDMA/33, so the maximum supported capacity is 137Gb. I have a Seagate ST3120026A drive, which is 120Gb. The listed specifications are
Code:
Cylinders: 16383
Heads: 255
Sectors: 63


I've created the Sun disklabel according to usual specifications:

Code:
Command (m for help): s
Building a new sun disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.

Drive type
   ?   auto configure
   0   custom (with hardware detected defaults)
   a   Quantum ProDrive 80S
   b   Quantum ProDrive 105S
   c   CDC Wren IV 94171-344
   d   IBM DPES-31080
   e   IBM DORS-32160
   f   IBM DNES-318350
   g   SEAGATE ST34371
   h   SUN0104
   i   SUN0207
   j   SUN0327
   k   SUN0340
   l   SUN0424
   m   SUN0535
   n   SUN0669
   o   SUN1.0G
   p   SUN1.05
   q   SUN1.3G
   r   SUN2.1G
   s   IOMEGA Jaz
Select type (? for auto, 0 for custom): 0
Heads (1-1024, default 255): 255
Sectors/track (1-1024, default 63): 63
Cylinders (1-65535, default 16381): 16381
Alternate cylinders (0-65535, default 2): 2
Physical cylinders (0-65535, default 16383): 16383
Rotation speed (rpm) (1-100000, default 5400): 7200
Interleave factor (1-32, default 1): 1
Extra sectors per cylinder (0-63, default 0): 0


Then I remove the pre-created paritions and make one large partition #1 taking up the entire disk:

Code:
Command (m for help): n
Partition number (1-8): 1
First cylinder (0-16381): 0
Last cylinder or +size or +sizeM or +sizeK (0-16381, default 16381):
Using default value 16381

Command (m for help): p

Disk /dev/hdd (Sun disk label): 255 heads, 63 sectors, 16381 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Flag    Start       End    Blocks   Id  System
/dev/hdd1             0     16381 131580382+  83  Linux native
/dev/hdd3             0     16381 131580382+   5  Whole disk


However whenever I use mke2fs, the act of formatting the parition completely locks up the IDE bus. I've experimented with various fdisk partition-creation sizes such as +120G or +120000000000 which of course come close to filling the entire disk but not quite. Those all work fine but using all cylinders does not. Does anyone know of something I'm doing wrong or some sort of known bug I haven't been able to google?

For the record, the disk works fine at full capacity on an x86 machine.
Back to top
View user's profile Send private message
ian!
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 3827
Location: Essen, Germany

PostPosted: Tue Sep 21, 2004 1:38 pm    Post subject: Reply with quote

Moved from 'Kernel & Hardware'.
_________________
"To have a successful open source project, you need to be at least somewhat successful at getting along with people." -- Daniel Robbins
Back to top
View user's profile Send private message
tizzy
n00b
n00b


Joined: 07 Nov 2003
Posts: 11
Location: Germoney

PostPosted: Fri Sep 24, 2004 12:45 pm    Post subject: Reply with quote

Are you sure the Ultra 10s IDE-controller supports harddisks that big? I can remember having trouble with a 40GB disk. 20GB works just fine in my U10. The bigger one didn´t run whatever I tried (Linux, NetBSD, Solaris). Maybe it depends on the vendor.

T.
Back to top
View user's profile Send private message
rndpkt
n00b
n00b


Joined: 04 Mar 2003
Posts: 59

PostPosted: Fri Sep 24, 2004 1:20 pm    Post subject: Reply with quote

Well, the bus is UDMA/33 and the spec for UDMA/33 is supposed to support up to 137Gb disks.
Back to top
View user's profile Send private message
tizzy
n00b
n00b


Joined: 07 Nov 2003
Posts: 11
Location: Germoney

PostPosted: Sat Sep 25, 2004 11:55 am    Post subject: Reply with quote

rndpkt wrote:
Well, the bus is UDMA/33 and the spec for UDMA/33 is supposed to support up to 137Gb disks.


I spent the last night trying out some harddisks in my Ultra 10. I didn´t install an operating system, I stopped if the system was able to part the hard disk into slices or partitions.

Here are the results:

Seagate ST320014A, 20GB, works, Solaris, Linux, NetBSD
Seagate ST330013A, 30GB, works, Solaris, Linux, NetBSD
Maxtor  6E030L0, 30GB, works, Solaris, Linux, NetBSD
IBM IC35L040V2, 40GB, don´t work
Maxtor 6Y080P0, 80GB, don´t work
Seagate ST3120022A, 120GB, don´t work
Seagate ST3160023A, 160GB, don´t work

Of course this test is not representative, maybe other hard disks works just fine. Maybe it depends on the hardware revision of the machine, I don´t know.

Tizzy
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Sat Sep 25, 2004 12:18 pm    Post subject: Reply with quote

I've got a 120GB harddisk running in a U10/333 and a U10/440 without any problems. Make sure you have the latest OBP available for the U10 installed. I never run into this problem just with disks bigger 137GB. Using a WD-1200JB (8MB Cache) that had previously installed solaris. So the disk geometry settings didn't have to be modified by me.
Back to top
View user's profile Send private message
rndpkt
n00b
n00b


Joined: 04 Mar 2003
Posts: 59

PostPosted: Sat Sep 25, 2004 1:52 pm    Post subject: Reply with quote

Do you know where to get the latest OBP code and how to install it w/o Solaris?
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Sat Sep 25, 2004 2:45 pm    Post subject: Reply with quote

Jup nothing easier than that. Everything basic concering documentation you need for your U10 can be found linked from here:
http://sunsolve.sun.com/handbook_pub/Systems/U10/U10.html
The "Flash PROM patch" under section "Quick Facts" is what you need to download. Then open your U10 set the EEPROM jumper to writable (If you've got problems to locate it there's a manual for that too), unpack the patch copy the latest under "/" and boot form OBP with full path. (I did it when Solaris was installed but don't know if it works under linux too.) After successfull flashing set the jumper to write disable once more.
Back to top
View user's profile Send private message
tizzy
n00b
n00b


Joined: 07 Nov 2003
Posts: 11
Location: Germoney

PostPosted: Sat Sep 25, 2004 2:55 pm    Post subject: Reply with quote

inode77 wrote:
I've got a 120GB harddisk running in a U10/333 and a U10/440 without any problems. Make sure you have the latest OBP available for the U10 installed. I never run into this problem just with disks bigger 137GB. Using a WD-1200JB (8MB Cache) that had previously installed solaris. So the disk geometry settings didn't have to be modified by me.


I can confirm this. After installing the update the 120GB disk seems to work. :)
I didn´t installed the operating system yet, but the hard disk was recognized by Linux and NetBSD without problems. Thanks for the helpful hint.

Tizzy
Back to top
View user's profile Send private message
Emphii
n00b
n00b


Joined: 08 Oct 2004
Posts: 46

PostPosted: Fri Oct 08, 2004 8:53 pm    Post subject: Reply with quote

HALT!.. Tizzy. So you managed to flash your U10 without Solaris?

Got to try myself then too. (Might come in need)
_________________
/tmp.
Back to top
View user's profile Send private message
seto
n00b
n00b


Joined: 09 Apr 2003
Posts: 25
Location: Switzerland

PostPosted: Fri Oct 22, 2004 1:26 pm    Post subject: Reply with quote

just a little hint: if you try to load a flash updater image via silo, it won't work.
somehow the elf binary isn't compatible (it contains multiple executable sections?) with the usual format of sparc boot images.
the sun boot loader can load it, if you've got solaris installed, you're lucky.
doing it with a linux-only system isn't impossible, though:
you can either make a bootable cdrom with the image (seems to be a lot of work, i didn't bother trying it) or, which is the easiest way imho, use netboot.
have a look at http://www.gentoo.org/doc/en/gentoo-sparc-netboot-howto.xml, and use a flash-updater image instead of the gentoo-sparc image.
on my machine, it worked out of the box:
tomoe ~ # prtconf -V
OBP 3.31.0 2001/07/25 20:36
this seems to be the last obp release for the ultra5/10, according to sun (they stopped support in 2001)

hope this helps!
Back to top
View user's profile Send private message
Emphii
n00b
n00b


Joined: 08 Oct 2004
Posts: 46

PostPosted: Wed Nov 03, 2004 10:12 pm    Post subject: Reply with quote

>seto< "just a little hint: if you try to load a flash updater image via silo, it won't work.
somehow the elf binary isn't compatible (it contains multiple executable sections?) with the usual format of sparc boot images."

! Yes ! I noticed that after many tryings.. =)
Anyway - I borrowed one Solaris installation kit from work and did a workaround with that.. =)
I had three machines to update.


Working with these u10:s is getting more fun that I tought first.
_________________
/tmp.
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Thu Nov 04, 2004 12:15 am    Post subject: Reply with quote

Downloading solaris (v9 4/04 IIRR) for sparc, home use is free of charge by sun, so it's always handy to have a set of roms if you need one.
Back to top
View user's profile Send private message
eridu
n00b
n00b


Joined: 11 Nov 2004
Posts: 15

PostPosted: Thu Nov 25, 2004 12:36 pm    Post subject: Reply with quote

unbelievable, someone with exactly the same problem (even hardware specifications)!

got to the point where my sun accepts the hard drive i.e. flash updating etc, it recognises the drive correctly but it won't format the final partition (sits around the 100GB+ mark). even tried with solaris, but it doesn't like the final part of the disk either (as the orig poster found, windows is happy enough). guess i'll just have to lose that bit of space.

did the original poster get to use all his space on the drive, can't help but be curious? :?

steve
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum