Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] file system corrupted

2 views
Skip to first unread message

Denis

unread,
Apr 9, 2005, 6:40:07 PM4/9/05
to
Here's the problem. My Gentoo 1.4 box (Intel P3, 1 GHz) has been up
for around 240 days without a reboot, and finally I went ahead and
rebooted yesterday, and during the boot-up, after performing the file
system checks, it says that my /usr partition (/dev/sda4) is corrupted
and needs to be repaired by running fsck *manually*. (my /, /usr, and
/home partitions all use ext3 file system). As a result of this, X
won't start because it complains about some libraries being
inaccessible. So I get a text prompt, I log into root, I try running
fsck, but it says that the partition is still mounted and running it
on a mounted partition could cause severe file system damage. I try
to unmount it, using "umount /usr", but it responds to this request by
"failed: device is busy".

How do I handle this? I'm sort of a newbie when it comes to this sort
of administration, so I would really appreciate any help. Could I put
some sort of a boot flag into Grub, so that the system doesn't mount
/usr when it boots up? I don't remember how to do this either.

Many thanks
Denis
--
gento...@gentoo.org mailing list

Stroller

unread,
Apr 9, 2005, 6:50:08 PM4/9/05
to

On Apr 9, 2005, at 11:29 pm, Denis wrote:
> ... during the boot-up, after performing the file

> system checks, it says that my /usr partition (/dev/sda4) is corrupted
> and needs to be repaired by running fsck *manually*....

> So I get a text prompt, I log into root, I try running
> fsck, but it says that the partition is still mounted and running it
> on a mounted partition could cause severe file system damage. I try
> to unmount it, using "umount /usr", but it responds to this request by
> "failed: device is busy".
>
> How do I handle this?

I think `rc single` should do it.

Stroller.

--
gento...@gentoo.org mailing list

Denis

unread,
Apr 9, 2005, 7:10:09 PM4/9/05
to
> I think `rc single` should do it.

at the root prompt after the system has booted up?
--
gento...@gentoo.org mailing list

Volker Armin Hemmann

unread,
Apr 9, 2005, 7:20:09 PM4/9/05
to
Hi,

boot with a boot/livecd and check the harddisk. Everything else is risky and
or error prone.
--
gento...@gentoo.org mailing list

W.Kenworthy

unread,
Apr 9, 2005, 7:30:11 PM4/9/05
to
1. use a live cd with the right tools (gentoo, knoppix)
2. move to reiserfs to minimise it happening again (I got sick of losing
data to ext3) - YMMV

Also, on systems with a large harddisk (or better, add a small harddisk
especially for this to minimise exposure) I keep a second, small
recovery partition with a minimal gentoo system, tools and critical
services for occasions like this.

BillK

On Sat, 2005-04-09 at 17:29 -0500, Denis wrote:
> Here's the problem. My Gentoo 1.4 box (Intel P3, 1 GHz) has been up

> How do I handle this? I'm sort of a newbie when it comes to this sort


> of administration, so I would really appreciate any help. Could I put
> some sort of a boot flag into Grub, so that the system doesn't mount
> /usr when it boots up? I don't remember how to do this either.
>
> Many thanks
> Denis
> --
> gento...@gentoo.org mailing list
>

--
gento...@gentoo.org mailing list

Peter Gordon

unread,
Apr 9, 2005, 9:30:12 PM4/9/05
to
W.Kenworthy wrote:
> 2. move to reiserfs to minimise it happening again (I got sick of losing
> data to ext3) - YMMV

Woah. My experience has been the opposite. Ext3 has never given me problems
since I started using it with RedHat 9/Fedora Core 1 almost two years ago. On
the other hand, trying to install a ReiserFS-based Gentoo system continually
gave me problems (failed attempts to mount it initially, sometimes would
hardlock during disk-intensive things like `emerge --sync` or compiling
something, etc).

*shrug* Oh well...

> Also, on systems with a large harddisk (or better, add a small harddisk
> especially for this to minimise exposure) I keep a second, small
> recovery partition with a minimal gentoo system, tools and critical
> services for occasions like this.

That's a *great* idea! :-D

--
() The ASCII Ribbon Campaign - against HTML Email,
/\ vCards, and proprietary formats.
---------------------------------------------------
Peter A. Gordon (codergeek42)
E-Mail: ad...@ramshacklestudios.com
GPG Public Key ID: 0x109DBECE
GPG Key Fingerprint (SHA1):
E485 E2F7 11CE F9B2 E3D9 C95D 208F B732 109D BECE
Encrypted and/or Signed correspondence preffered.
GPG Public Key available upon request or from
pgp.mit.edu's public key server.
---------------------------------------------------

signature.asc

S. Bergeron

unread,
Apr 9, 2005, 10:10:09 PM4/9/05
to
On Sat, Apr 09, 2005 at 06:24:48PM -0700, Peter Gordon wrote:
> W.Kenworthy wrote:
> >2. move to reiserfs to minimise it happening again (I got sick of losing
> >data to ext3) - YMMV
>
> Woah. My experience has been the opposite. Ext3 has never given me problems
> since I started using it with RedHat 9/Fedora Core 1 almost two years ago.
> On
> the other hand, trying to install a ReiserFS-based Gentoo system continually
> gave me problems (failed attempts to mount it initially, sometimes would
> hardlock during disk-intensive things like `emerge --sync` or compiling
> something, etc).

Yeah, I agree. I've lost data on unix-like machines five times. Once with ext2 (although I was running GNU/Hurd, so, there was probably something else going on), once with FFS due to hardware failure, and *three* times on linux boxes that were running ReiserFS. YMMV, but I haven't had any problems with ext3 (other than speed issues), JFS, or XFS.
--
S. Bergeron, berg...@hurdboy.isa-geek.com

--
gento...@gentoo.org mailing list

Dino Sims

unread,
Apr 9, 2005, 10:30:08 PM4/9/05
to
Everyone's mileage will vary depeding on what you're doing with your
system. :-)

I've had problems with both but I like ReiserFS a little better and
here's why...

Image that you have a database server with 1-2 terabytes of disk. When I
use ext3 when I fsck this I'm hosed, last time it took about 2 hours to
fix a relatively minor problem. With ReiserFS as my database FS, it's
much, much faster, minutes and not hours. Reiser gets my systems back to
runlevel 3 faster to me. I'll use ext3 for compatibility but reiser for
speed and faster disk repairs.

Bottom line is both are good but try to pick one that best meets the
needs of your environment.

Cheers,
Dino Sims

S. Bergeron wrote:

--
gento...@gentoo.org mailing list

Peter Gordon

unread,
Apr 9, 2005, 10:50:07 PM4/9/05
to
S. Bergeron wrote:
> YMMV, but I haven't had any problems with ext3 (other than speed issues)

This is going-off topic, but speed issues? Are you sure you're using directory
indexing? (This feature keeps the filesystem structure in a hashed binary tree
rather than series of linked-lists, which improves access time considerably on
most Ext2/Ext3 filesystems)

Try running `tune2fs -O dir_index /dev/<partition>` on your Ext2/Ext3
partition(s) to enable this. You'll need to unmount the partition before doing
this (booting from a LiveCD if needed). To re-optimize a Ext2/Ext3 filesystem's
directory structure, you'll then need to run `e2fsck -D /dev/<partition>` (as
previously mentioned, this should be done while the filesystem is not mounted).
That prcoes may take a long time depending on the partition size...

If you're further interested, I've posted a thread[1] in Gentoo's DT&T forum
that has more information.


[1] http://forums.gentoo.org/viewtopic-t-305871.html

signature.asc

Robert G. Hays

unread,
Apr 9, 2005, 10:50:07 PM4/9/05
to
Below...

Peter Gordon wrote:

> W.Kenworthy wrote:
>
>> 2. move to reiserfs to minimise it happening again (I got sick of losing
>> data to ext3) - YMMV
>
>
> Woah. My experience has been the opposite. Ext3 has never given me
> problems
> since I started using it with RedHat 9/Fedora Core 1 almost two years
> ago. On
> the other hand, trying to install a ReiserFS-based Gentoo system
> continually
> gave me problems (failed attempts to mount it initially, sometimes would
> hardlock during disk-intensive things like `emerge --sync` or compiling
> something, etc).
>
> *shrug* Oh well...
>
>> Also, on systems with a large harddisk (or better, add a small harddisk
>> especially for this to minimise exposure) I keep a second, small
>> recovery partition with a minimal gentoo system, tools and critical
>> services for occasions like this.
>
> That's a *great* idea! :-D

Agreed about the alternate partition; I have a 5.5G partition for this,
but it can probably be reduced to maybe 2G; this NEEDS to be a primary
part, so it can have it own full boot sequence -- do NOT rely on
sharing a /boot partition with the main install, not even the grub in
the MBR for the whole disk; this has to be markable as bootable, which
is also a reason to keep the m$do$-style MBR. Alternate drive is
better, if your bios can boot from more than one drive; again, NOT using
a grub-mbr from the main drive to find the alternate drive (but can
allow one-or-both drives to use grub/lilo MBR's). LiveCD is a very good
alternate, and cheap.

rgh.


--
gento...@gentoo.org mailing list

Stroller

unread,
Apr 9, 2005, 11:40:07 PM4/9/05
to

On Apr 10, 2005, at 12:04 am, Denis wrote:

>> I think `rc single` should do it.
>
> at the root prompt after the system has booted up?

Yes. I think that should allow you to run fsck ok, but I haven't done
this often.
Surely some brighter minds than mine can comment if we interrupt their
knome vs gde^w^w^w ext3 vs ReiserFS flamewar frequently enough.

S. Bergeron

unread,
Apr 9, 2005, 11:50:07 PM4/9/05
to
On Sat, Apr 09, 2005 at 07:39:31PM -0700, Peter Gordon wrote:
> S. Bergeron wrote:
> >YMMV, but I haven't had any problems with ext3 (other than speed issues)
>
> This is going-off topic, but speed issues? Are you sure you're using
> directory
> indexing? (This feature keeps the filesystem structure in a hashed binary
> tree
> rather than series of linked-lists, which improves access time considerably
> on
> most Ext2/Ext3 filesystems)

Yes, I'm aware of indexing, and I use it on a couple of machines where it's appropriate. It does seem to speed reads quite a bit, although, for overall useage, I've still found it to be slower than JFS on the same hardware (though not as slow as say, FFS on BSD or Solaris). As you posted in that thread, it does help when you're dealing with deep directories. IIRC, it does incur a slight write hit, which on a system that's got rather balanced I/O, might not be worth the tradeoff (e.g. a mail server, or a box running say, Squid). For something where reads are important, however, it speeds things considerably.

I haven't found, however, a benchmark that tests things to my satisfaction. For example, I'd like to see a benchmark where they look at directories filled with lots of small files (think Maildir), and also mounted -o sync, testing read and write performance, as well as storage efficiency.

I've kind of gotten in the habit of choosing the best tool for the job. On my MythTV machine, I run XFS, because I'm dealing with large files (2.2gb/hr of video). On my desktop it's ext3. On my notebook, I'm still using ext2 for power management reasons (turning off hd with hdparm when running on battery I still haven't gotten to play nicely with any journalling FS). I mostly run BSD on my servers, so I don't have a choice other than slow, reliable FFS.

Ciaran McCreesh

unread,
Apr 10, 2005, 12:00:10 AM4/10/05
to
On Sat, 9 Apr 2005 23:11:54 -0400 "S. Bergeron "
<berg...@hurdboy.isa-geek.com> wrote:
| I haven't found, however, a benchmark that tests things to my
| satisfaction. For example, I'd like to see a benchmark where they
| look at directories filled with lots of small files (think Maildir),
| and also mounted -o sync, testing read and write performance, as well
| as storage efficiency.

time emerge metadata

--
Ciaran McCreesh : Gentoo Developer (Vim, Fluxbox, shell tools)
Mail : ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm

Denis

unread,
Apr 10, 2005, 12:30:07 AM4/10/05
to
Problem solved, thank you. I used the LiveCD to boot and then fsck
fixed everything quickly.

I now have another problem - not sure where it came from but i'll post
in another thread.
--
gento...@gentoo.org mailing list

Eric S. Johansson

unread,
Apr 10, 2005, 8:10:10 AM4/10/05
to
Peter Gordon wrote:
>
> If you're further interested, I've posted a thread[1] in Gentoo's DT&T
> forum
> that has more information.
>
>
> [1] http://forums.gentoo.org/viewtopic-t-305871.html


Peter, since I point out things that are bad, I should also point out
what I consider good and I consider your document wonderful. It's
clear, compelling, and extremely useful. The next time I build a
system, I will try your suggestions. The one thing I will admit I like
about Reiser FS is that it tends to consume about 20 to 30 percent less
disk space for the same data.

thank you for taking the time to write this document.

---eric

--
http://www.wired.com/wired/archive/13.03/view.html?pg=5

The result of the duopoly that currently defines "competition" is that
prices and service suck. We're the world's leader in Internet
technology - except that we're not.
--
gento...@gentoo.org mailing list

Peter Gordon

unread,
Apr 10, 2005, 8:40:11 PM4/10/05
to
Eric S. Johansson wrote:
> Peter, since I point out things that are bad, I should also point out
> what I consider good and I consider your document wonderful. It's
> clear, compelling, and extremely useful. The next time I build a
> system, I will try your suggestions.
[...]

> thank you for taking the time to write this document.

You're welcome! :-D

> The one thing I will admit I like
> about Reiser FS is that it tends to consume about 20 to 30 percent less
> disk space for the same data.

I've noticed that too, but if gaining reliability means losing a few gigs
of available filesystem space I have no problems with it ;-)

YMMV of course...

signature.asc

Ow Mun Heng

unread,
Apr 11, 2005, 1:10:08 AM4/11/05
to
On Sat, 2005-04-09 at 18:24 -0700, Peter Gordon wrote:
> W.Kenworthy wrote:
> > 2. move to reiserfs to minimise it happening again (I got sick of losing
> > data to ext3) - YMMV
>
> Woah. My experience has been the opposite. Ext3 has never given me problems
> since

My sentiments exactly.

--
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz
98% Microsoft(tm) Free!!
Neuromancer 12:58:56 up 1 day, 3:43, 5 users, load average: 0.22, 0.35,
0.33


--
gento...@gentoo.org mailing list

Ow Mun Heng

unread,
Apr 11, 2005, 1:10:05 AM4/11/05
to
On Sat, 2005-04-09 at 23:11 -0400, S. Bergeron wrote:
> On my MythTV machine, I run XFS, because I'm dealing with large files (2.2gb/hr of video).
> On my desktop it's ext3. On my notebook, I'm still using ext2 for power management
> reasons (turning off hd with hdparm when running on battery I still haven't
> gotten to play nicely with any journalling FS). I mostly run BSD on my servers,
> so I don't have a choice other than slow, reliable FFS.

Dude.. you should take a look at laptop_mode.


--
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz
98% Microsoft(tm) Free!!

Neuromancer 13:04:09 up 1 day, 3:48, 6 users, load average: 0.29, 0.27,
0.28


--
gento...@gentoo.org mailing list

Ow Mun Heng

unread,
Apr 11, 2005, 1:20:09 AM4/11/05
to
On Sat, 2005-04-09 at 19:39 -0700, Peter Gordon wrote:

> Try running `tune2fs -O dir_index /dev/<partition>` on your Ext2/Ext3
> partition(s) to enable this. You'll need to unmount the partition before doing
> this (booting from a LiveCD if needed). To re-optimize a Ext2/Ext3 filesystem's
> directory structure, you'll then need to run `e2fsck -D /dev/<partition>` (as
> previously mentioned, this should be done while the filesystem is not mounted).

dir_index
Use hashed b-trees to speed up lookups in large directories.

Can you explain to me this feature? It's the first I've heard of it.

>
> If you're further interested, I've posted a thread[1] in Gentoo's DT&T forum
> that has more information.
>
>
> [1] http://forums.gentoo.org/viewtopic-t-305871.html

If this has explanation to the above, I will look at it. But since no
I-net access currently, so....
>

--
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz
98% Microsoft(tm) Free!!

Neuromancer 13:06:27 up 1 day, 3:51, 6 users, load average: 0.32, 0.26,
0.27


--
gento...@gentoo.org mailing list

Jerry McBride

unread,
Apr 11, 2005, 8:10:10 PM4/11/05
to
On Monday 11 April 2005 01:05 am, Ow Mun Heng wrote:
> On Sat, 2005-04-09 at 23:11 -0400, S. Bergeron wrote:
> > On my MythTV machine, I run XFS, because I'm dealing with large files
> > (2.2gb/hr of video). On my desktop it's ext3. On my notebook, I'm still
> > using ext2 for power management reasons (turning off hd with hdparm when
> > running on battery I still haven't gotten to play nicely with any
> > journalling FS). I mostly run BSD on my servers, so I don't have a choice
> > other than slow, reliable FFS.
>
> Dude.. you should take a look at laptop_mode.

Word... If it's an AMD processor in that laptop... it would benefit greatly
from a healthy dose of cpufreq also....

--

******************************************************************************
Registered Linux User Number 185956
FSF Associate Member number 2340 since 05/20/2004
Join me in chat at #linux-users on irc.freenode.net
Buy an Xbox for $149.00, run linux on it and Microsoft loses $150.00!
8:06pm up 3 days, 3:13, 1 user, load average: 0.00, 0.00, 0.00
--
gento...@gentoo.org mailing list

Peter Gordon

unread,
Apr 11, 2005, 11:10:06 PM4/11/05
to
Ow Mun Heng wrote:
> dir_index
> Use hashed b-trees to speed up lookups in large directories.
>
> Can you explain to me this feature? It's the first I've heard of it.

I'm not an expert or guru, but I'll sure try. From what I understand, the
filesystem normally stores the block and inode information in a very linear
fashion. When you enable this feature, this information is then stored in a
hashed B-tree [1] so that the information can be accessed and manipulated
faster. However, as far as I know this does incur a small storage penalty for
storing the extra node structure information.

Hope that helps. :-/

[1] http://en.wikipedia.org/wiki/B-tree

signature.asc

Ow Mun Heng

unread,
Apr 11, 2005, 11:10:09 PM4/11/05
to
On Mon, 2005-04-11 at 19:59 -0400, Jerry McBride wrote:
> On Monday 11 April 2005 01:05 am, Ow Mun Heng wrote:
> > On Sat, 2005-04-09 at 23:11 -0400, S. Bergeron wrote:
> > > On my MythTV machine, I run XFS, because I'm dealing with large files
> > > (2.2gb/hr of video). On my desktop it's ext3. On my notebook, I'm still
> > > using ext2 for power management reasons (turning off hd with hdparm when
> > > running on battery I still haven't gotten to play nicely with any
> > > journalling FS). I mostly run BSD on my servers, so I don't have a choice
> > > other than slow, reliable FFS.
> >
> > Dude.. you should take a look at laptop_mode.
>
> Word... If it's an AMD processor in that laptop... it would benefit greatly
> from a healthy dose of cpufreq also....

WHy only AMD?? Cpufreq works for centrino/pentium M and majority of the
Intels too
>

--
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz
98% Microsoft(tm) Free!!

Neuromancer 11:00:18 up 2 days, 1:45, 4 users, load average: 1.29, 0.83,
0.57


--
gento...@gentoo.org mailing list

Jerry McBride

unread,
Apr 11, 2005, 11:20:09 PM4/11/05
to
On Monday 11 April 2005 11:00 pm, Ow Mun Heng wrote:
> On Mon, 2005-04-11 at 19:59 -0400, Jerry McBride wrote:
> > On Monday 11 April 2005 01:05 am, Ow Mun Heng wrote:
> > > On Sat, 2005-04-09 at 23:11 -0400, S. Bergeron wrote:
> > > > On my MythTV machine, I run XFS, because I'm dealing with large files
> > > > (2.2gb/hr of video). On my desktop it's ext3. On my notebook, I'm
> > > > still using ext2 for power management reasons (turning off hd with
> > > > hdparm when running on battery I still haven't gotten to play nicely
> > > > with any journalling FS). I mostly run BSD on my servers, so I don't
> > > > have a choice other than slow, reliable FFS.
> > >
> > > Dude.. you should take a look at laptop_mode.
> >
> > Word... If it's an AMD processor in that laptop... it would benefit
> > greatly from a healthy dose of cpufreq also....
>
> WHy only AMD?? Cpufreq works for centrino/pentium M and majority of the
> Intels too

Because I KNOW it works on AMD mobile chips, first hand. I've never even
looked at Intel mobile processors.... Probably never will...

--

******************************************************************************
Registered Linux User Number 185956
FSF Associate Member number 2340 since 05/20/2004
Join me in chat at #linux-users on irc.freenode.net
Buy an Xbox for $149.00, run linux on it and Microsoft loses $150.00!

11:24pm up 3 days, 6:31, 1 user, load average: 0.00, 0.00, 0.00
--
gento...@gentoo.org mailing list

Peter Gordon

unread,
Apr 12, 2005, 12:20:07 AM4/12/05
to
Jerry McBride wrote:
> Because I KNOW it works on AMD mobile chips, first hand. I've never even
> looked at Intel mobile processors.... Probably never will...

Don't disregard the Pentium M so quickly. The Pentium4 is a _horrible_
architecture: Intel wanted a CPU that could be clocked _very_ fast (I think the
current top speed is ~3.4 GHz). However, the P4 can't really do a lot per cycle.
The Pentium M[1] though..wow. That's actually a really great chip. They (Intel)
took the awesomeness of the Pentium3 family, added the cool SSE stuff from the
P4, gave it a lot of on-die cache (the Dothan core has 2 MB L2 cache), increased
the instruction pipline, and also made it consume a _lot_ less power. In fact,
when the P4 came out originally I honestly thought that it would be the end of
Intel; then they started producing their "Centrino"[2] laptop chipset (Pentium M
with Intel mobile chipset and integrated Intel PRO/Wireless). It consumes very
little power but it can perform really well. In fact, My brother gave me a good
rule-of-thumb about this when he was explaining it to me a while back: Add 1 GHz
or so and that's the equivalently rated P4. For example, a 1.5 GHz Pentium M
will likely perform just as well, if not better, then a ~2.5 GHz Pentium 4.

[1] http://en.wikipedia.org/wiki/Pentium_M
[1] http://en.wikipedia.org/wiki/Centrino

signature.asc

Richard Fish

unread,
Apr 12, 2005, 12:50:05 AM4/12/05
to
Peter Gordon wrote:

> Jerry McBride wrote:
>
>> Because I KNOW it works on AMD mobile chips, first hand. I've never
>> even looked at Intel mobile processors.... Probably never will...
>
>
> Don't disregard the Pentium M so quickly. The Pentium4 is a _horrible_
> architecture: Intel wanted a CPU that could be clocked _very_ fast (I
> think the current top speed is ~3.4 GHz). However, the P4 can't really
> do a lot per cycle.


Intel is moving towards incorporating a lot of Pentium M features in
their desktop processors. Unfortunately the results for Linux are
somewhat mixed...extra cache is good, but gcc treats it as a regular P4,
and misses out on a bunch of features. Check out:

http://www.anandtech.com/linux/showdoc.aspx?i=2308

-Richard
--
gento...@gentoo.org mailing list

Peter Gordon

unread,
Apr 12, 2005, 1:10:09 AM4/12/05
to
Isn't that what the "-march=pentium-m" and "-mtune=pentium-m" flags are for in
GCC 3.4?
signature.asc

Ow Mun Heng

unread,
Apr 12, 2005, 4:30:14 AM4/12/05
to
On Mon, 2005-04-11 at 20:07 -0700, Peter Gordon wrote:
> Ow Mun Heng wrote:
> > dir_index
> > Use hashed b-trees to speed up lookups in large directories.
> >
> > Can you explain to me this feature? It's the first I've heard of it.
>
> I'm not an expert or guru, but I'll sure try. From what I understand, the
> filesystem normally stores the block and inode information in a very linear
> fashion. When you enable this feature, this information is then stored in a
> hashed B-tree [1] so that the information can be accessed and manipulated
> faster. However, as far as I know this does incur a small storage penalty for
> storing the extra node structure information.
>
> Hope that helps. :-/
>
> [1] http://en.wikipedia.org/wiki/B-tree

Thanks for the link. Will look it up and read.

--
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz
98% Microsoft(tm) Free!!

Neuromancer 16:18:22 up 2 days, 7:03, 4 users, load average: 0.28, 0.59,
0.63


--
gento...@gentoo.org mailing list

Ow Mun Heng

unread,
Apr 12, 2005, 4:20:11 AM4/12/05
to
On Mon, 2005-04-11 at 22:05 -0700, Peter Gordon wrote:
> Isn't that what the "-march=pentium-m" and "-mtune=pentium-m" flags are for in
> GCC 3.4?

That's what it should be for. Friend of mine used 3.4 on a BSD machine
to compile apps using pentium-m and results were S-N-A-P-P-Y! :-)

Doing a make world on the kernel though trashed.

--
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz
98% Microsoft(tm) Free!!

Neuromancer 16:16:50 up 2 days, 7:01, 4 users, load average: 0.41, 0.74,
0.69


--
gento...@gentoo.org mailing list

Charles Pittman

unread,
Apr 12, 2005, 7:30:15 AM4/12/05
to
Do all Pentium M processors have integrated wireless? I guess that would explain the wireless on/off button on the left-had side of my laptop (which I can't use, because no program recognizes any of those hotkeys).

Richard Fish

unread,
Apr 12, 2005, 2:00:19 PM4/12/05
to
Ow Mun Heng wrote:

>On Mon, 2005-04-11 at 22:05 -0700, Peter Gordon wrote:
>
>
>>Isn't that what the "-march=pentium-m" and "-mtune=pentium-m" flags are for in
>>GCC 3.4?
>>
>>
>
>That's what it should be for. Friend of mine used 3.4 on a BSD machine
>to compile apps using pentium-m and results were S-N-A-P-P-Y! :-)
>
>Doing a make world on the kernel though trashed.
>
>

Ok, since nobody is actually bothering to _read_ article that I linked
to, let me quote a small piece:

"Pentium M's Micro Ops Fusion, local branch prediction and general
optimizations across integer division and register access are completely
ignored by the compiler, even when setting - march=pentium-m, since most
compilers (particularly anything before GCC 3.4.2) tend to just
categorize Pentium M as a P6 processor with a higher clock." -Anandtech.com

From what I can tell from the change logs for GCC 3.4.2 and 3.4.3,
nothing has changed in this regard.

Anandtech.com might be completely wrong about GCC, but I would be _very_
surprised. The article has many benchmarks for different types of
applications, if anyone is actually interested.

Robert G. Hays

unread,
Apr 12, 2005, 2:30:18 PM4/12/05
to

Richard Fish wrote:

>Ok, since nobody is actually bothering to _read_ article that I linked
>to, let me quote a small piece:
>

Hey!! -- I Resent That! -- *I* read the article, and I use AMD's!
And I read the whole thing, too, & *examined* the charts!

(Just so you know it wasn't wasted ;) -- Have a nice, &)

Thanks,

Nick Rout

unread,
Apr 12, 2005, 6:30:16 PM4/12/05
to

On Tue, 12 Apr 2005 07:26:39 -0400
Charles Pittman wrote:

> > Do all Pentium M processors have integrated wireless? I guess that would
> explain the wireless on/off button on the left-had side of my laptop (which
> I can't use, because no program recognizes any of those hotkeys).


No pentium m processors have integrated wireless. the pentium m is a
cpu.

However centrino machines have built in wireless, its part of the
centrino spec. centrino also uses pentium m. but just because your
machine has a pentium-m cpu, doesn't make it centrino.

lspci should tell you if you have a wireless chipset in your machine. If it has a centrino sticker, then it should have wireless.

Hope that clears up the confusion.

--
Nick Rout

--
gento...@gentoo.org mailing list

Charles Pittman

unread,
Apr 12, 2005, 6:50:09 PM4/12/05
to
It does. I can't remember all of the stickers that came on this laptop because I took them all off (I even had a Windows sticker on here even though I ordered the computer with a blank harddrive!).

I don't see any wireless devices on the lspci output, but I can't even identify a couple of the entries.

Stroller

unread,
Apr 12, 2005, 7:50:09 PM4/12/05
to

On Apr 12, 2005, at 11:40 pm, Charles Pittman wrote:
>>> Do all Pentium M processors have integrated wireless? I guess that
>>> would explain the wireless on/off button on the left-had side of my
>>> laptop (which I can't use, because no program recognizes any of
>>> those hotkeys).
> ...

> It does. I can't remember all of the stickers that came on this
> laptop because I took them all off (I even had a Windows sticker on
> here even though I ordered the computer with a blank harddrive!).
>
> I don't see any wireless devices on the lspci output, but I can't
> even identify a couple of the entries.

I have a feeling that if you installed Winders & pressed this button,
you might get a "wireless networks" icon next to the clock. On some
machines (eg IBM StinkPads) the icon for the wireless on/off is in blue
on one of the fucntion keys, and to active the wireless card you have
to press a blue function button on the bottom left of the keyboard to
active it. If it's a button all on its own that's not responding, it
might also be worth checking the BIOS.

What make & model is your laptop?

Peter Gordon

unread,
Apr 12, 2005, 11:10:08 PM4/12/05
to
I wrote:
> [...lots of stuff...]

I went off-topic from the original post and then went even further off-topic
from the topic which I deviated to. Sorry about that all. I did that on the
Developer Shed forums too a lot recently. :-/

Maybe I just need more caffeine. Again, sorry for the disruption all. :-)

signature.asc

Byron Pezan

unread,
Apr 13, 2005, 12:10:11 PM4/13/05
to
Charles Pittman wrote:

> On 4/12/05, *Nick Rout* <ni...@rout.co.nz <mailto:ni...@rout.co.nz>> wrote:
>
>
> On Tue, 12 Apr 2005 07:26:39 -0400
> Charles Pittman wrote:
>
> > > Do all Pentium M processors have integrated wireless? I guess
> that would
> > explain the wireless on/off button on the left-had side of my
> laptop (which
> > I can't use, because no program recognizes any of those hotkeys).
>
> No pentium m processors have integrated wireless. the pentium m is a
> cpu.
>
> However centrino machines have built in wireless, its part of the
> centrino spec. centrino also uses pentium m. but just because your
> machine has a pentium-m cpu, doesn't make it centrino.
>
> lspci should tell you if you have a wireless chipset in your
> machine. If it has a centrino sticker, then it should have wireless.
>
> Hope that clears up the confusion.
>
> --
> Nick Rout
>
> --

> gento...@gentoo.org <mailto:gento...@gentoo.org> mailing list


>
>
> It does. I can't remember all of the stickers that came on this laptop
> because I took them all off (I even had a Windows sticker on here even
> though I ordered the computer with a blank harddrive!).
>
> I don't see any wireless devices on the lspci output, but I can't even
> identify a couple of the entries.

FYI here is an lspci output from a Dell Centrino machine. The Broadcom
entry at the bottom is the builtin wireless card, which incidentally
only works with NDISWrapper.


0000:00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O
Controller (rev 03)
0000:00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP
Controller (rev 03)
0000:00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
0000:00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
0000:00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
0000:00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M)
USB2 EHCI Controller (rev 01)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 81)
0000:00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC
Interface Bridge (rev 01)
0000:00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE
Controller (rev 01)
0000:00:1f.5 Multimedia audio controller: Intel Corporation
82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R250
Lf [FireGL 9000] (rev 02)
0000:02:00.0 Ethernet controller: Broadcom Corporation NetXtreme
BCM5705M Gigabit Ethernet (rev 01)
0000:02:01.0 CardBus bridge: O2 Micro, Inc. OZ711EC1 SmartCardBus
Controller (rev 20)
0000:02:01.1 CardBus bridge: O2 Micro, Inc. OZ711EC1 SmartCardBus
Controller (rev 20)
0000:02:03.0 Network controller: Broadcom Corporation BCM4306 802.11b/g
Wireless LAN Controller (rev 03)

Byron
--
gento...@gentoo.org mailing list

Nick Rout

unread,
Apr 13, 2005, 9:00:18 PM4/13/05
to

On Wed, 13 Apr 2005 11:58:39 -0400
Byron Pezan wrote:

>
> FYI here is an lspci output from a Dell Centrino machine. The Broadcom
> entry at the bottom is the builtin wireless card, which incidentally
> only works with NDISWrapper.

AFAIK the Centrino branding requires Intel/PRO wireless stuff, not
broadcom. How does your machine get a centrino sticker? or is broadcom a rebadged intel wireless set? or has the standard been relaxed?

http://en.wikipedia.org/wiki/Centrino

http://www.intel.com/products/centrino/

[snip]


>
>
> Controller (rev 20)
> 0000:02:03.0 Network controller: Broadcom Corporation BCM4306 802.11b/g
> Wireless LAN Controller (rev 03)
>
> Byron
> --
> gento...@gentoo.org mailing list

--
Nick Rout

--
gento...@gentoo.org mailing list

Byron Pezan

unread,
Apr 14, 2005, 12:20:13 PM4/14/05
to
Nick Rout wrote:

I don't know that I have a good answer to that, a quick Google search
did not reveal much. I believe that in the early days of Centrino Intel
was forced to partner with other WIFI chip makers to meet their release
date. Which may have set the standard lower than was expected from the
very beginning. It may also be as simple as the chassis being
pre-stickered Centrino and assembled with a Broadcom chip due to a back
order on the Intel chips.

Travis Rousseau

unread,
Apr 14, 2005, 12:40:12 PM4/14/05
to
On 4/12/05, Charles Pittman <chuc...@gmail.com> wrote:
> On 4/12/05, Nick Rout <ni...@rout.co.nz> wrote:
>
> >
> > On Tue, 12 Apr 2005 07:26:39 -0400
> > Charles Pittman wrote:
> >
> > > > Do all Pentium M processors have integrated wireless? I guess that
> would
> > > explain the wireless on/off button on the left-had side of my laptop
> (which
> > > I can't use, because no program recognizes any of those hotkeys).
> >
> > No pentium m processors have integrated wireless. the pentium m is a
> > cpu.
> >
> > However centrino machines have built in wireless, its part of the
> > centrino spec. centrino also uses pentium m. but just because your
> > machine has a pentium-m cpu, doesn't make it centrino.
> >
> > lspci should tell you if you have a wireless chipset in your machine. If
> it has a centrino sticker, then it should have wireless.
> >
> > Hope that clears up the confusion.
> >
> > --
> > Nick Rout
Ha I was told it would cost extra to get a computer without windows.
(somethin like $80)

I think windows devalues the computers

Travis R.

--
gento...@gentoo.org mailing list

Robert G. Hays

unread,
Apr 14, 2005, 1:00:18 PM4/14/05
to
Travis Rousseau wrote:

><snip>


>
>Ha I was told it would cost extra to get a computer without windows.
>(somethin like $80)
>

Yes, *WHY* does it cost more without WindoZZZe? (Answer: Because
MonopolSoft threatens vendors into doing this.)
I suggest NOT buying from vendors that do this.
If Linux ever reeally becomes *important* in the $$market, they'll pay
for that behavior.
Hopefully, that will feed back to MS & hurt them even more.

>I think windows devalues the computers
>
>Travis R.
>

(I collect cool sigs etc...)
Mordjah on LQO (LinuxQuestions.org):
.....Computers are like Air Conditioners.. they stop working when you
open windows.........

Buy4now!,

0 new messages