FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 03-03-2012, 05:22 PM
Pandu Poluan
 
Default Gentoo on a Dell XPS 13 Ultrabook

Oh iya, satu lagi yang perlu dihindari: wifi AP nya HP ProCurve / HP Networking. Nggak stabil. (Tapi kalau switch Layer 2 dan Layer 3 nya, HP ProCurve highly recommended).


((Ini berdasarkan hasil pengalaman saya di kantor yang sekarang.))


Rgds,



On Mar 4, 2012 1:15 AM, "Pandu Poluan" <pandu@poluan.info> wrote:



On Mar 4, 2012 1:13 AM, "Pandu Poluan" <pandu@poluan.info> wrote:

>

>

> On Mar 4, 2012 12:54 AM, "Grant" <emailgrant@gmail.com> wrote:

> >



> >

> > I enabled some more kernel options under USB Network Adapters and it's

> > working now. *The install is about done but there were a few

> > peculiarities:

> >

> > 1. fdisk won't let me specify a start block before 2048 even though I

> > deleted all partitions.

> >

>

> That's normal. It's a long story, but Windows Vista and Windows 7 expects the first partition to start at sector 2048.

>

> You can force a lower number by toggling "DOS compatibility"; this should let you start the first partition as low as sector 63.

>

> HOWEVER, make sure that all partitions begin at multiples of 8 (e.g., 64, 72, 80, and so on); this will save you a lot of grief if it happens that the hard disk you're using has 4KiB-sectors. [1]

>


[1] http://www.ibm.com/developerworks/linux/library/l-4kb-sector-disks/


Rgds,
 
Old 03-03-2012, 05:24 PM
Pandu Poluan
 
Default Gentoo on a Dell XPS 13 Ultrabook

Gah. I must be too tired; what I sent earlier was supposed to go another list. Sorry for the mistake, folks.


Rgds,



On Mar 4, 2012 1:22 AM, "Pandu Poluan" <pandu@poluan.info> wrote:

Oh iya, satu lagi yang perlu dihindari: wifi AP nya HP ProCurve / HP Networking. Nggak stabil. (Tapi kalau switch Layer 2 dan Layer 3 nya, HP ProCurve highly recommended).


((Ini berdasarkan hasil pengalaman saya di kantor yang sekarang.))


Rgds,



On Mar 4, 2012 1:15 AM, "Pandu Poluan" <pandu@poluan.info> wrote:




On Mar 4, 2012 1:13 AM, "Pandu Poluan" <pandu@poluan.info> wrote:

>

>

> On Mar 4, 2012 12:54 AM, "Grant" <emailgrant@gmail.com> wrote:

> >



> >

> > I enabled some more kernel options under USB Network Adapters and it's

> > working now. *The install is about done but there were a few

> > peculiarities:

> >

> > 1. fdisk won't let me specify a start block before 2048 even though I

> > deleted all partitions.

> >

>

> That's normal. It's a long story, but Windows Vista and Windows 7 expects the first partition to start at sector 2048.

>

> You can force a lower number by toggling "DOS compatibility"; this should let you start the first partition as low as sector 63.

>

> HOWEVER, make sure that all partitions begin at multiples of 8 (e.g., 64, 72, 80, and so on); this will save you a lot of grief if it happens that the hard disk you're using has 4KiB-sectors. [1]

>


[1] http://www.ibm.com/developerworks/linux/library/l-4kb-sector-disks/


Rgds,
 
Old 03-03-2012, 07:12 PM
Joshua Murphy
 
Default Gentoo on a Dell XPS 13 Ultrabook

On Sat, Mar 3, 2012 at 1:13 PM, Pandu Poluan <pandu@poluan.info> wrote:
>
> On Mar 4, 2012 12:54 AM, "Grant" <emailgrant@gmail.com> wrote:
>>
>> >>> I just received the new Dell XPS 13 Ultrabook and I'm trying to
>> >>> install Gentoo but I can't get install-amd64-minimal-20120223.iso to
>> >>> boot via a USB key.
>> >>
>> >> Have you tested your boot USB keys on another machine?
>> >
>> > Gentoo is installed but I can't get my USB->ethernet adapter to bring
>> > up an eth0 (or any other) interface. *It works if I boot the Kubuntu
>> > USB key. *I've definitely built the correct driver into the kernel
>> > (mcs7380). *I'm going through an emerge world right now to bring
>> > everything up to date. *Is there anything else I might need to do?
>> >
>> > - Grant
>>
>> I enabled some more kernel options under USB Network Adapters and it's
>> working now. *The install is about done but there were a few
>> peculiarities:
>>
>> 1. fdisk won't let me specify a start block before 2048 even though I
>> deleted all partitions.
>>
>
> That's normal. It's a long story, but Windows Vista and Windows 7 expects
> the first partition to start at sector 2048.
>
> You can force a lower number by toggling "DOS compatibility"; this should
> let you start the first partition as low as sector 63.
>
> HOWEVER, make sure that all partitions begin at multiples of 8 (e.g., 64,
> 72, 80, and so on); this will save you a lot of grief if it happens that the
> hard disk you're using has 4KiB-sectors. [1]

<snip the rest>

From what I recall of looking at that toy's specs, it's running on an
SSD, so it becomes even more important, performance-wise, to have
things aligned properly so any one write doesn't cause two full erase
blocks to be cycled. The 1MB alignment is, if I recall, a balance
Microsoft struck as the midpoint between multiple hardware vendors to
work well on any of them... raid arrays, SSDs, advanced format hard
drives with 4k sectors on-disk, etc.

--
Poison [BLX]
Joshua M. Murphy
 
Old 03-04-2012, 07:02 PM
Grant
 
Default Gentoo on a Dell XPS 13 Ultrabook

[snip]
>> I enabled some more kernel options under USB Network Adapters and it's
>> working now. *The install is about done but there were a few
>> peculiarities:
>>
>> 1. fdisk won't let me specify a start block before 2048 even though I
>> deleted all partitions.
>>
>
> That's normal. It's a long story, but Windows Vista and Windows 7 expects
> the first partition to start at sector 2048.
>
> You can force a lower number by toggling "DOS compatibility"; this should
> let you start the first partition as low as sector 63.
>
> HOWEVER, make sure that all partitions begin at multiples of 8 (e.g., 64,
> 72, 80, and so on); this will save you a lot of grief if it happens that the
> hard disk you're using has 4KiB-sectors. [1]

Got it, I'll just stick with 2048.

>> 2. grub-install reported something like:
>>
>> fd0
>> hd0
>> hd1
>>
>> where hd1 was the USB key. *Should I fix this to remove the USB key from
>> grub?
>>
>
> I see no problem. The lower number is still the internal hard disk, so grub
> shouldn't have any trouble booting.

Sounds good.

>> 3. Portage complains about duplicate repositories. *I think it has to
>> do with the fact that I ran emerge --sync without downloading and
>> extracting an initial snapshot.
>>
>
> Try 'rm -rf /usr/portage', download (or copy) portage-latest tarball, and
> extract it into a re-created /usr/portage

I tried that but I get the same message:

"WARNING: One of more repositories have been ignored due to duplicate
profiles/repo_name entires:

/, gentoo, /usr/local/portage overrides
/usr/portage

All profiles/repo_name entries must be unique in order to avoid having
duplicates ignored. Set PORTAGE_REPO_DUPLICATE_WARN="0" in
/etc/make.conf if you would like to disable this warning."

- Grant
 
Old 03-04-2012, 07:06 PM
Grant
 
Default Gentoo on a Dell XPS 13 Ultrabook

> [snip]
>>> I enabled some more kernel options under USB Network Adapters and it's
>>> working now. *The install is about done but there were a few
>>> peculiarities:
>>>
>>> 1. fdisk won't let me specify a start block before 2048 even though I
>>> deleted all partitions.
>>>
>>
>> That's normal. It's a long story, but Windows Vista and Windows 7 expects
>> the first partition to start at sector 2048.
>>
>> You can force a lower number by toggling "DOS compatibility"; this should
>> let you start the first partition as low as sector 63.
>>
>> HOWEVER, make sure that all partitions begin at multiples of 8 (e.g., 64,
>> 72, 80, and so on); this will save you a lot of grief if it happens that the
>> hard disk you're using has 4KiB-sectors. [1]
>
> Got it, I'll just stick with 2048.
>
>>> 2. grub-install reported something like:
>>>
>>> fd0
>>> hd0
>>> hd1
>>>
>>> where hd1 was the USB key. *Should I fix this to remove the USB key from
>>> grub?
>>>
>>
>> I see no problem. The lower number is still the internal hard disk, so grub
>> shouldn't have any trouble booting.
>
> Sounds good.
>
>>> 3. Portage complains about duplicate repositories. *I think it has to
>>> do with the fact that I ran emerge --sync without downloading and
>>> extracting an initial snapshot.
>>>
>>
>> Try 'rm -rf /usr/portage', download (or copy) portage-latest tarball, and
>> extract it into a re-created /usr/portage
>
> I tried that but I get the same message:
>
> "WARNING: One of more repositories have been ignored due to duplicate
> profiles/repo_name entires:
>
> /, gentoo, /usr/local/portage overrides
> /usr/portage
>
> All profiles/repo_name entries must be unique in order to avoid having
> duplicates ignored. *Set PORTAGE_REPO_DUPLICATE_WARN="0" in
> /etc/make.conf if you would like to disable this warning."
>
> - Grant

Just figured it out. I had a duplicate tree in /usr/local/portage
which I just deleted. I had to re-set my profile with eselect.
Please let me know if there's anything else I might have to re-do.

- Grant
 
Old 03-04-2012, 07:12 PM
Grant
 
Default Gentoo on a Dell XPS 13 Ultrabook

[snip]
>> HOWEVER, make sure that all partitions begin at multiples of 8 (e.g., 64,
>> 72, 80, and so on); this will save you a lot of grief if it happens that the
>> hard disk you're using has 4KiB-sectors. [1]
>
> <snip the rest>
>
> From what I recall of looking at that toy's specs, it's running on an
> SSD, so it becomes even more important, performance-wise, to have
> things aligned properly so any one write doesn't cause two full erase
> blocks to be cycled. The 1MB alignment is, if I recall, a balance
> Microsoft struck as the midpoint between multiple hardware vendors to
> work well on any of them... raid arrays, SSDs, advanced format hard
> drives with 4k sectors on-disk, etc.

Just to confirm, starting at block 2048 is OK?

- Grant
 
Old 03-04-2012, 07:34 PM
Alex Schuster
 
Default Gentoo on a Dell XPS 13 Ultrabook

Grant writes:

> Just to confirm, starting at block 2048 is OK?

Yes, if it's divisible by 8, it's okay. That's because 512 * 8 = 4096, so
every 8th 512-byte block starts on a 4096 block boundary.

Now I have a related question: My new seagate Barracuda
Green 2TB ST2000DL003-9VT166 drive has 4096 bytes per sector, but uses
something that is called SmartAlign(TM)[*]. Seagate says that there are
no performance impacts even when the partitions are misaligned. This
would be good, because I completely forgot about this when creating
partitions, and I would like to keep it as it is now. Has anyone heard
about this? Can I trust Seagate that what they say is correct?
[*] www.seagate.com/docs/pdf/de.../mb6101_smartalign_technology_faq.pdf

Wonko
 
Old 03-04-2012, 08:09 PM
Grant
 
Default Gentoo on a Dell XPS 13 Ultrabook

[snip]
>> 1. fdisk won't let me specify a start block before 2048 even though I
>> deleted all partitions.
>>
>
> That's normal. It's a long story, but Windows Vista and Windows 7 expects
> the first partition to start at sector 2048.
>
> You can force a lower number by toggling "DOS compatibility"; this should
> let you start the first partition as low as sector 63.
>
> HOWEVER, make sure that all partitions begin at multiples of 8 (e.g., 64,
> 72, 80, and so on); this will save you a lot of grief if it happens that the
> hard disk you're using has 4KiB-sectors.

I just looked up the start block for my other systems and they're all
on 63. Is performance impacted on all of these systems since they
aren't started on 64?

- Grant
 
Old 03-04-2012, 08:45 PM
Mark Knecht
 
Default Gentoo on a Dell XPS 13 Ultrabook

On Sun, Mar 4, 2012 at 1:09 PM, Grant <emailgrant@gmail.com> wrote:
> [snip]
>>> 1. fdisk won't let me specify a start block before 2048 even though I
>>> deleted all partitions.
>>>
>>
>> That's normal. It's a long story, but Windows Vista and Windows 7 expects
>> the first partition to start at sector 2048.
>>
>> You can force a lower number by toggling "DOS compatibility"; this should
>> let you start the first partition as low as sector 63.
>>
>> HOWEVER, make sure that all partitions begin at multiples of 8 (e.g., 64,
>> 72, 80, and so on); this will save you a lot of grief if it happens that the
>> hard disk you're using has 4KiB-sectors.
>
> I just looked up the start block for my other systems and they're all
> on 63. *Is performance impacted on all of these systems since they
> aren't started on 64?
>
> - Grant
>

The performance is only impacted if the sector size is something other
than 512 bytes. The newer 4K sector size used by some higher density
drives requires that you start partitions on a sector boundary or they
will perform badly. There isn't an actually performance need to
actually start on 2048 but the fdisk-type developer folks are doing
that to be more compatible with newer Windows installations.

HTH,
Mark
 
Old 03-04-2012, 08:56 PM
Grant
 
Default Gentoo on a Dell XPS 13 Ultrabook

>> [snip]
>>>> 1. fdisk won't let me specify a start block before 2048 even though I
>>>> deleted all partitions.
>>>>
>>>
>>> That's normal. It's a long story, but Windows Vista and Windows 7 expects
>>> the first partition to start at sector 2048.
>>>
>>> You can force a lower number by toggling "DOS compatibility"; this should
>>> let you start the first partition as low as sector 63.
>>>
>>> HOWEVER, make sure that all partitions begin at multiples of 8 (e.g., 64,
>>> 72, 80, and so on); this will save you a lot of grief if it happens that the
>>> hard disk you're using has 4KiB-sectors.
>>
>> I just looked up the start block for my other systems and they're all
>> on 63. *Is performance impacted on all of these systems since they
>> aren't started on 64?
>>
>> - Grant
>>
>
> The performance is only impacted if the sector size is something other
> *than 512 bytes. The newer 4K sector size used by some higher density
> drives requires that you start partitions on a sector boundary or they
> will perform badly. There isn't an actually performance need to
> actually start on 2048 but the fdisk-type developer folks are doing
> that to be more compatible with newer Windows installations.

All my drives says this from fdisk:

Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

So it doesn't matter where the first partition starts?

- Grant
 

Thread Tools




All times are GMT. The time now is 04:54 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org