Re: [gentoo-user] When is a disk not a disk?

2010-02-09 Thread Paul Hartman
On Mon, Feb 8, 2010 at 9:02 AM, Mark Knecht markkne...@gmail.com wrote:
 Is this some sort of LVM thing creeping in? I don't use it but I see
 signs of it starting to show up on my systems like something is making
 it come in with new profiles or something.

Some lvm tools/packages have replaced others that don't have lvm in
the name, so maybe that's what you have seen. They aren't solely used
for LVM-related things, though



Re: [gentoo-user] When is a disk not a disk?

2010-02-08 Thread Alexander Puchmayr
Am Montag 08 Februar 2010 01:27:59 schrieb Peter Humphrey:
 Hello again List,
 
 $ sudo  fdisk -l
 
 Unable to seek on /dev/sda
 
 What am I to make of this? The system runs ok, but apparently the
 underlying disk subsystem isn't happy. This box has only the one disk at
 the moment. Google doesn't help.
 
 The box is a new Armari system with an Asus P7P55D motherboard and a
 Samsung Spinpoint F3 1TB SATA II hdd.
 

Having read the thread, there are three things that come to my mind:

1) Have you tried to read from the disk at block zero, i.e. try something like
dd if=/dev/sda of=/dev/null bs=512 count=1024
This should read half a megabyte from the disk and for your hardisk be 
finsihed as soon you release the enter key ...
Errors? and messages in dmsg?

2) The dmesg-output you mailed contains a call-trace about calgary. AFAIK 
calgary is a IOmmu. Have you tried to disable it (try something like appending 
iommu=none to your kernel commandline).
Have you looked for a bios upgrade? maybe you can get rid of the broken bios 
messages this way.

3) A long time ago, there was a bios option for bootsector-protection, I've 
never tried this, and I also don't have any idea whether linux sees that in 
any way. If there is such an option, disable it. 

Greetings
Alex



Re: [gentoo-user] When is a disk not a disk?

2010-02-08 Thread Mark Knecht
On Sun, Feb 7, 2010 at 6:16 PM, Peter Humphrey pe...@humphrey.ukfsn.org wrote:
 On Monday 08 February 2010 01:27:33 Mark Knecht wrote:

 sorry to have forgotten is but simply do

 df

 and see what it says is mounted

 $ df
 Filesystem            Size  Used Avail Use% Mounted on
 rootfs                 60G   25G   32G  44% /
 /dev/root              60G   25G   32G  44% /
 rc-svcdir             1.0M  108K  916K  11% /lib64/rc/init.d
 udev                   10M  144K  9.9M   2% /dev
 shm                   2.0G     0  2.0G   0% /dev/shm
 /dev/sda6              40G  6.4G   32G  17% /home
 /dev/sda7              61G   23G   36G  39% /home/prh/common
 tmpfs                 9.0G  1.8M  9.0G   1% /tmp

 Now, ever since I upgraded to openrc (by setting ACCEPT_KEYWORDS=~amd64
 when I installed this system) my root partition has not been shown as a
 physical partition. I decided to let it go for the time being.

 --
 Rgds
 Peter.



Is this some sort of LVM thing creeping in? I don't use it but I see
signs of it starting to show up on my systems like something is making
it come in with new profiles or something.

I don't know how LVM works but I assume that rootfs and /dev/root have
something to do with your main file system? I rebuilt new hardware for
my dad yesterday using the default sda1/2/3 setup from the Gentoo
AMD64 Install Guide and I see the following:

gandalf ~ # df
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/sda3103212320   5041116  92928324   6% /
udev 10240   164 10076   2% /dev
shm1925772 0   1925772   0% /dev/shm
gandalf ~ # cat /proc/partitions
major minor  #blocks  name

   80  976762584 sda
   81 102343 sda1
   828388608 sda2
   83  104857600 sda3
gandalf ~ #

Did you intend to have 3 100MB partitions at the start of your drive
and then everything else inside of an extended partition? It's not
wrong - it was just unexpected for me.

Is yours a 1-Terabyte drive?

[QUOTE]
$cat /proc/partitions
major minor  #blocks  name

  80  976762584 sda
  81 112423 sda1
  82 112455 sda2
  83 104422 sda3
  84  1 sda4
  85   62918509 sda5
  86   41945683 sda6
  87   64685691 sda7
  88   2925 sda8
  89   1431 sda9
  8   10   10490413 sda10
  8   11   10482381 sda11
  8   12   20980858 sda12
  8   13   10490413 sda13
[/QUOTE]



Re: [gentoo-user] When is a disk not a disk?

2010-02-08 Thread Paul Hartman
On Mon, Feb 8, 2010 at 8:20 AM, Alexander Puchmayr
alexander.puchm...@linznet.at wrote:
 3) A long time ago, there was a bios option for bootsector-protection, I've
 never tried this, and I also don't have any idea whether linux sees that in
 any way. If there is such an option, disable it.

Sometimes referred to as virus protection or anti-virus in some
bios versions too.



Re: [gentoo-user] When is a disk not a disk?

2010-02-08 Thread Stroller

When is a disk not a disk?


According to Dell: when you source it from a 3rd-party.

http://lists.us.dell.com/pipermail/linux-poweredge/2010-February/041274.html
http://tinyurl.com/yer7n9o

Stroller.




Re: [gentoo-user] When is a disk not a disk?

2010-02-08 Thread Peter Humphrey
On Monday 08 February 2010 15:02:51 Mark Knecht wrote:

 Did you intend to have 3 100MB partitions at the start of your drive
 and then everything else inside of an extended partition? It's not
 wrong - it was just unexpected for me.

I did, but I think I'll revert to just a single boot partition. The 
other two little ones were for other distros' boot directories, so that 
installing them wouldn't clobber my Gentoo boot - the latest Ubuntu uses 
grub-2, for instance, which I don't want mixed with grub-1.

 Is yours a 1-Terabyte drive?

Yes. Vast overkill for what I need it for, but it seems normal nowadays.

-- 
Rgds
Peter.



Re: [gentoo-user] When is a disk not a disk?

2010-02-08 Thread Neil Bothwick
On Mon, 8 Feb 2010 07:02:51 -0800, Mark Knecht wrote:

 Is this some sort of LVM thing creeping in? I don't use it but I see
 signs of it starting to show up on my systems like something is making
 it come in with new profiles or something.
 
 I don't know how LVM works but I assume that rootfs and /dev/root have
 something to do with your main file system?

LVM can't just turn up with a profile change, you need to allocate
partitions to it, create volume groups, create volumes in them, put
filesystems on the volumes and so on. It doesn't just happen.

/dev/root is just a symlink to the real device containing the root
partition. ISTR it came in with openrc.


-- 
Neil Bothwick


signature.asc
Description: PGP signature


Re: [gentoo-user] When is a disk not a disk?

2010-02-07 Thread Mark Knecht
On Sun, Feb 7, 2010 at 4:27 PM, Peter Humphrey pe...@humphrey.ukfsn.org wrote:
 Hello again List,

 $ sudo  fdisk -l

 Unable to seek on /dev/sda

 What am I to make of this? The system runs ok, but apparently the
 underlying disk subsystem isn't happy. This box has only the one disk at
 the moment. Google doesn't help.

 The box is a new Armari system with an Asus P7P55D motherboard and a
 Samsung Spinpoint F3 1TB SATA II hdd.

 --
 Rgds
 Peter.


Very strange.

What's in dmesg when the machine boots? Is it possible an older driver
got loaded and it's showing up as hda instead of sda? I found that on
one of my machines recently.

- Mark



Re: [gentoo-user] When is a disk not a disk?

2010-02-07 Thread Mark Knecht
On Sun, Feb 7, 2010 at 4:46 PM, Mark Knecht markkne...@gmail.com wrote:
 On Sun, Feb 7, 2010 at 4:27 PM, Peter Humphrey pe...@humphrey.ukfsn.org 
 wrote:
 Hello again List,

 $ sudo  fdisk -l

 Unable to seek on /dev/sda

 What am I to make of this? The system runs ok, but apparently the
 underlying disk subsystem isn't happy. This box has only the one disk at
 the moment. Google doesn't help.

 The box is a new Armari system with an Asus P7P55D motherboard and a
 Samsung Spinpoint F3 1TB SATA II hdd.

 --
 Rgds
 Peter.


 Very strange.

 What's in dmesg when the machine boots? Is it possible an older driver
 got loaded and it's showing up as hda instead of sda? I found that on
 one of my machines recently.

 - Mark

sorry to have forgotten is but simply do

df

and see what it says is mounted



Re: [gentoo-user] When is a disk not a disk?

2010-02-07 Thread Peter Humphrey
On Monday 08 February 2010 00:46:33 Mark Knecht wrote:

 What's in dmesg when the machine boots?

See attachment.

 Is it possible an older driver got loaded and it's showing up as hda
 instead of sda? I found that on one of my machines recently.

I hope not. This is a new installation on a new machine.

-- 
Rgds
Peter.
Linux version 2.6.32-gentoo-r3 (r...@wstn) (gcc version 4.3.4 (Gentoo 4.3.4 
p1.0, pie-10.1.5) ) #1 SMP Sun Jan 31 01:34:50 GMT 2010
Command line: root=/dev/sda5 raid=noautodetect vga=0x31A 
video=vesafb:mtrr:3,ywrap fbcon=scrollback:128k splash=silent
KERNEL supported cpus:
  Intel GenuineIntel
  AMD AuthenticAMD
  Centaur CentaurHauls
BIOS-provided physical RAM map:
 BIOS-e820:  - 0009e800 (usable)
 BIOS-e820: 0009e800 - 000a (reserved)
 BIOS-e820: 000e4000 - 0010 (reserved)
 BIOS-e820: 0010 - bf77 (usable)
 BIOS-e820: bf77 - bf788000 (ACPI data)
 BIOS-e820: bf788000 - bf7dc000 (ACPI NVS)
 BIOS-e820: bf7dc000 - c000 (reserved)
 BIOS-e820: fee0 - fee01000 (reserved)
 BIOS-e820: ffe0 - 0001 (reserved)
 BIOS-e820: 0001 - 00014000 (usable)
DMI 2.6 present.
AMI BIOS detected: BIOS may corrupt low RAM, working around it.
e820 update range:  - 0001 (usable) == (reserved)
last_pfn = 0x14 max_arch_pfn = 0x4
MTRR default type: uncachable
MTRR fixed ranges enabled:
  0-9 write-back
  A-B uncachable
  C-C write-protect
  D-D uncachable
  E-E7FFF write-through
  E8000-F write-protect
MTRR variable ranges enabled:
  0 base 0 mask F write-back
  1 base 1 mask FC000 write-back
  2 base 0C000 mask FC000 uncachable
  3 disabled
  4 disabled
  5 disabled
  6 disabled
  7 disabled
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
e820 update range: c000 - 0001 (usable) == (reserved)
last_pfn = 0xbf770 max_arch_pfn = 0x4
initial memory mapped : 0 - 2000
init_memory_mapping: -bf77
 00 - 00bf60 page 2M
 00bf60 - 00bf77 page 4k
kernel direct mapping tables up to bf77 @ 1-15000
init_memory_mapping: 0001-00014000
 01 - 014000 page 2M
kernel direct mapping tables up to 14000 @ 13000-19000
ACPI: RSDP 000fb970 00024 (v02 ACPIAM)
ACPI: XSDT bf770100 0006C (v01 112309 XSDT1401 20091123 MSFT 0097)
ACPI: FACP bf770290 000F4 (v03 112309 FACP1401 20091123 MSFT 0097)
ACPI: DSDT bf7704a0 0E8F0 (v01  A1326 A1326001 0001 INTL 20060113)
ACPI: FACS bf788000 00040
ACPI: APIC bf770390 000CC (v01 112309 APIC1401 20091123 MSFT 0097)
ACPI: MCFG bf770460 0003C (v01 112309 OEMMCFG  20091123 MSFT 0097)
ACPI: OEMB bf788040 00072 (v01 112309 OEMB1401 20091123 MSFT 0097)
ACPI: HPET bf77f4a0 00038 (v01 112309 OEMHPET  20091123 MSFT 0097)
ACPI: DMAR bf7880c0 00090 (v01AMI  OEMDMAR 0001 MSFT 0097)
ACPI: ASPT bf77f740 00034 (v06 112309 PerfTune 20091123 MSFT 0097)
ACPI: OSFR bf77f780 000B0 (v01 112309 OEMOSFR  20091123 MSFT 0097)
ACPI: SSDT bf789760 00363 (v01 DpgPmmCpuPm 0012 INTL 20060113)
ACPI: Local APIC address 0xfee0
(7 early reservations) == bootmem [00 - 014000]
  #0 [00 - 001000]   BIOS data page == [00 - 001000]
  #1 [006000 - 008000]   TRAMPOLINE == [006000 - 008000]
  #2 [000100 - 000154c328]TEXT DATA BSS == [000100 - 000154c328]
  #3 [09e800 - 10]BIOS reserved == [09e800 - 10]
  #4 [000154d000 - 000154d2bc]  BRK == [000154d000 - 000154d2bc]
  #5 [01 - 013000]  PGTABLE == [01 - 013000]
  #6 [013000 - 014000]  PGTABLE == [013000 - 014000]
 [ea00-ea00045f] PMD - [88002860-88002bdf] 
on node 0
Zone PFN ranges:
  DMA  0x0010 - 0x1000
  DMA320x1000 - 0x0010
  Normal   0x0010 - 0x0014
Movable zone start PFN for each node
early_node_map[3] active PFN ranges
0: 0x0010 - 0x009e
0: 0x0100 - 0x000bf770
0: 0x0010 - 0x0014
On node 0 totalpages: 1046270
  DMA zone: 56 pages used for memmap
  DMA zone: 104 pages reserved
  DMA zone: 3822 pages, LIFO batch:0
  DMA32 zone: 14280 pages used for memmap
  DMA32 zone: 765864 pages, LIFO batch:31
  Normal zone: 3584 pages used for memmap
  Normal zone: 258560 pages, LIFO batch:31
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee0
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled)
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x04] enabled)
ACPI: LAPIC (acpi_id[0x04] 

Re: [gentoo-user] When is a disk not a disk?

2010-02-07 Thread Peter Humphrey
On Monday 08 February 2010 01:27:33 Mark Knecht wrote:

 sorry to have forgotten is but simply do
 
 df
 
 and see what it says is mounted

$ df
FilesystemSize  Used Avail Use% Mounted on
rootfs 60G   25G   32G  44% /
/dev/root  60G   25G   32G  44% /
rc-svcdir 1.0M  108K  916K  11% /lib64/rc/init.d
udev   10M  144K  9.9M   2% /dev
shm   2.0G 0  2.0G   0% /dev/shm
/dev/sda6  40G  6.4G   32G  17% /home
/dev/sda7  61G   23G   36G  39% /home/prh/common
tmpfs 9.0G  1.8M  9.0G   1% /tmp

Now, ever since I upgraded to openrc (by setting ACCEPT_KEYWORDS=~amd64 
when I installed this system) my root partition has not been shown as a 
physical partition. I decided to let it go for the time being.

-- 
Rgds
Peter.