Re: [gentoo-user] Installation AMD64 with SCSI

2006-05-22 Thread Hemmann, Volker Armin
On Monday 22 May 2006 05:18, Leandro Melo de Sales wrote:
 Well,

   I have /dev/sda1 as my / partition. So, I setup my grub.conf like this:

 title=Gentoo Linux 2.6.16
 root (hd0,0)
 kernel /boot/kernel-2.6.16.img root=/dev/sda1 udev noapic acpi=off

 and my /etc/fstab looks like this:

 /dev/sda1  /   ext3
 noatime 0 1
 /dev/sdb1  none swap   sw
   0 0
 /dev/cdroms/cdrom0  /mnt/cdromiso9660   noauto,ro   0 0
 /dev/fd0/mnt/floppy autonoauto
  0 0

 I don't know what is wrong...

well, in a previos mail you wrote this:
kernel /boot/kernel-2.6.15.img root=/dev/sdb2 ramdisk=8192

if it looks at your swap partition in believe it is the / partition, it can 
not boot ;)

Oh, and make it:

kernel (hd0,0)/boot/kernel-2.6.16.img root=/dev/sda1 udev noapic acpi=off

btw, any good reasons for noapic and acpi off?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation AMD64 with SCSI

2006-05-21 Thread Hemmann, Volker Armin
On Sunday 21 May 2006 04:31, Leandro Melo de Sales wrote:
 Ok... now I'm stuck here:

 ramdisk compressed image found at block
 ufs: was compiled with read-only support, can't be mounted as read-write
 udf-fs: no particition found (1)
 xfs: bad magic number
 xfs: sb validate failed
 kernel panic - not synching: vfs: unable to mount root fs on unknown
 block (8,18)



is there any GOOD reason for using an initrd?

Really? I can't imagine any.

Second, what is this ufs stuff? This is linux. Kick out ufs, make the 
partitions linux, with ext3 or reiserfs or xfs or jfs. Make a udf, iso9660 
and fat module, and don't build the other fs (except sysfs,proc etc).

Build everything needed to boot INTO the kernel. Again, what are the 
advantages of a initrd? Except that it is another instance in boot that costs 
time and may be introduce a cause of failure?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation AMD64 with SCSI

2006-05-21 Thread Leandro Melo de Sales

Hi Ryan,
 The / partition is ext3. The ufs message is just a warning. I don't
need UFS support. Any other clue?

Leandro.

2006/5/21, Ryan Tandy [EMAIL PROTECTED]:

Leandro Melo de Sales wrote:
 ramdisk compressed image found at block
 ufs: was compiled with read-only support, can't be mounted as read-write
 udf-fs: no particition found (1)
 xfs: bad magic number
 xfs: sb validate failed
 kernel panic - not synching: vfs: unable to mount root fs on unknown
 block (8,18)

What filesystem is your / partition?  Do you have support for it *built
in* to your kernel?  It looks like it found a valid UFS partition, but
failed because it couldn't mount it RW... try making UFS RWable and see
if it helps.
--
gentoo-user@gentoo.org mailing list





--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation AMD64 with SCSI

2006-05-21 Thread Leandro Melo de Sales

Hi Hemmann,

  well, I don't have a good reason to use initrd, but this is an
attempt to try putting gentoo running on my server. I'll kick out ufs
but I don't think that this is the problem.
 Yes, before try to use initrd I put everthing I need *built in* but
didn't work. Any other clue?

Thanks,

Leandro.

2006/5/21, Hemmann, Volker Armin [EMAIL PROTECTED]:

On Sunday 21 May 2006 04:31, Leandro Melo de Sales wrote:
 Ok... now I'm stuck here:

 ramdisk compressed image found at block
 ufs: was compiled with read-only support, can't be mounted as read-write
 udf-fs: no particition found (1)
 xfs: bad magic number
 xfs: sb validate failed
 kernel panic - not synching: vfs: unable to mount root fs on unknown
 block (8,18)



is there any GOOD reason for using an initrd?

Really? I can't imagine any.

Second, what is this ufs stuff? This is linux. Kick out ufs, make the
partitions linux, with ext3 or reiserfs or xfs or jfs. Make a udf, iso9660
and fat module, and don't build the other fs (except sysfs,proc etc).

Build everything needed to boot INTO the kernel. Again, what are the
advantages of a initrd? Except that it is another instance in boot that costs
time and may be introduce a cause of failure?
--
gentoo-user@gentoo.org mailing list





--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation AMD64 with SCSI

2006-05-21 Thread Hemmann, Volker Armin
On Sunday 21 May 2006 19:01, Leandro Melo de Sales wrote:
 Hi Hemmann,

well, I don't have a good reason to use initrd, but this is an
 attempt to try putting gentoo running on my server. I'll kick out ufs
 but I don't think that this is the problem.
   Yes, before try to use initrd I put everthing I need *built in* but
 didn't work. Any other clue?

your fstab is correct?
you HAVE ext2/3 in your kernel?
you did not accidentally remove pc-partition support?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation AMD64 with SCSI

2006-05-21 Thread Leandro Melo de Sales

Hi Hemmann,

 thanks to answer. I re-check /etc/fstab and everything seems to be
ok. Yes, I have ext2/3 in the kernel. I think that problem stay in
SCSI support, is there something that I need to check? About
pc-partition support, what you really want to say about it?

Thank you once again,

Leandro.

2006/5/21, Hemmann, Volker Armin [EMAIL PROTECTED]:

On Sunday 21 May 2006 19:01, Leandro Melo de Sales wrote:
 Hi Hemmann,

well, I don't have a good reason to use initrd, but this is an
 attempt to try putting gentoo running on my server. I'll kick out ufs
 but I don't think that this is the problem.
   Yes, before try to use initrd I put everthing I need *built in* but
 didn't work. Any other clue?

your fstab is correct?
you HAVE ext2/3 in your kernel?
you did not accidentally remove pc-partition support?
--
gentoo-user@gentoo.org mailing list





--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation AMD64 with SCSI

2006-05-21 Thread Hemmann, Volker Armin
On Sunday 21 May 2006 20:19, Leandro Melo de Sales wrote:
 Hi Hemmann,

   thanks to answer. I re-check /etc/fstab and everything seems to be
 ok. Yes, I have ext2/3 in the kernel. I think that problem stay in
 SCSI support, is there something that I need to check? About
 pc-partition support, what you really want to say about it?

 Thank you once again,

I mean this:
  │ │[*]   PC BIOS (MSDOS partition tables) support (NEW)   

under Advanced Partition support.

btw, scsi harddisk support is compiled into the kernel?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation AMD64 with SCSI

2006-05-21 Thread Leandro Melo de Sales

Ok.. I put it. And yes, scsi drivers is in the kernel. Any other clue?

[]s

Leandro.

2006/5/21, Hemmann, Volker Armin [EMAIL PROTECTED]:

On Sunday 21 May 2006 20:19, Leandro Melo de Sales wrote:
 Hi Hemmann,

   thanks to answer. I re-check /etc/fstab and everything seems to be
 ok. Yes, I have ext2/3 in the kernel. I think that problem stay in
 SCSI support, is there something that I need to check? About
 pc-partition support, what you really want to say about it?

 Thank you once again,

I mean this:
  │ │[*]   PC BIOS (MSDOS partition tables) support (NEW)

under Advanced Partition support.

btw, scsi harddisk support is compiled into the kernel?

--
gentoo-user@gentoo.org mailing list





--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation AMD64 with SCSI

2006-05-21 Thread Hemmann, Volker Armin
On Sunday 21 May 2006 21:39, Leandro Melo de Sales wrote:
 Ok.. I put it. And yes, scsi drivers is in the kernel. Any other clue?

with drivers you mean the drivers for the card and the scsi disk driver?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation AMD64 with SCSI

2006-05-21 Thread Leandro Melo de Sales

Yes... for both.

2006/5/21, Hemmann, Volker Armin [EMAIL PROTECTED]:

On Sunday 21 May 2006 21:39, Leandro Melo de Sales wrote:
 Ok.. I put it. And yes, scsi drivers is in the kernel. Any other clue?

with drivers you mean the drivers for the card and the scsi disk driver?

--
gentoo-user@gentoo.org mailing list





--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation AMD64 with SCSI

2006-05-21 Thread Hemmann, Volker Armin
On Sunday 21 May 2006 22:20, Leandro Melo de Sales wrote:
 Yes... for both.

which driver? the aacraid one?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation AMD64 with SCSI

2006-05-21 Thread Leandro Melo de Sales

Exactly... AACRAID one.

2006/5/21, Hemmann, Volker Armin [EMAIL PROTECTED]:

On Sunday 21 May 2006 22:20, Leandro Melo de Sales wrote:
 Yes... for both.

which driver? the aacraid one?

--
gentoo-user@gentoo.org mailing list





--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation AMD64 with SCSI

2006-05-21 Thread Hemmann, Volker Armin
On Sunday 21 May 2006 23:01, Leandro Melo de Sales wrote:
 Exactly... AACRAID one.

hm, and the drive is correctly identified by the bios?
You can use it, except when booting the new kernel?

when you boot a livecd, can you mount the partitions?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation AMD64 with SCSI

2006-05-21 Thread Leandro Melo de Sales

Yes.. when I boot using livecd I can mount the partitions correct. I
really don't know what is happened... :(

[]s
Leandro

2006/5/21, Hemmann, Volker Armin [EMAIL PROTECTED]:

On Sunday 21 May 2006 23:01, Leandro Melo de Sales wrote:
 Exactly... AACRAID one.

hm, and the drive is correctly identified by the bios?
You can use it, except when booting the new kernel?

when you boot a livecd, can you mount the partitions?
--
gentoo-user@gentoo.org mailing list





--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation AMD64 with SCSI

2006-05-21 Thread Hemmann, Volker Armin
On Sunday 21 May 2006 23:50, Leandro Melo de Sales wrote:
 Yes.. when I boot using livecd I can mount the partitions correct. I
 really don't know what is happened... :(

and the livecd uses tha aacraid driver too?

is the grub entry really correct? maybe it looks after the wrong harddrive?

(I had this problem some weeks ago. hda, sda. When booted, hda was drive 0 for 
grub, when booting, sda was drive 0 for grub. Took me some time to find the 
cause of my wrongly booting system).
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation AMD64 with SCSI

2006-05-21 Thread Leandro Melo de Sales

Well,

 I have /dev/sda1 as my / partition. So, I setup my grub.conf like this:

title=Gentoo Linux 2.6.16
root (hd0,0)
kernel /boot/kernel-2.6.16.img root=/dev/sda1 udev noapic acpi=off

and my /etc/fstab looks like this:

/dev/sda1  /   ext3
noatime 0 1
/dev/sdb1  none swap   sw
 0 0
/dev/cdroms/cdrom0  /mnt/cdromiso9660   noauto,ro   0 0
/dev/fd0/mnt/floppy autonoauto
0 0

I don't know what is wrong...

Any tip?


Thanks
Leandro.

2006/5/21, Hemmann, Volker Armin [EMAIL PROTECTED]:

On Sunday 21 May 2006 23:50, Leandro Melo de Sales wrote:
 Yes.. when I boot using livecd I can mount the partitions correct. I
 really don't know what is happened... :(

and the livecd uses tha aacraid driver too?

is the grub entry really correct? maybe it looks after the wrong harddrive?

(I had this problem some weeks ago. hda, sda. When booted, hda was drive 0 for
grub, when booting, sda was drive 0 for grub. Took me some time to find the
cause of my wrongly booting system).
--
gentoo-user@gentoo.org mailing list





--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Installation AMD64 with SCSI

2006-05-20 Thread Leandro Melo de Sales

And... what about grub configuration, what is the additional parameters?

Leandro.

2006/5/20, Leandro Melo de Sales [EMAIL PROTECTED]:



Hi folks,

  After download gentoo-universal for AMD64, what is the right steps should I 
need to do to install gentoo on a Opteron AMD64 with adaptec SCSI controler?

Thanks


Leandro




--
gentoo-user@gentoo.org mailing list



[gentoo-user] Installation AMD64 with SCSI

2006-05-20 Thread Leandro Melo de Sales

Hi folks,

 After download gentoo-universal for AMD64, what is the right steps
should I need to do to install gentoo on a Opteron AMD64 with adaptec
SCSI controler?

Thanks

Leandro

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation AMD64 with SCSI

2006-05-20 Thread Patrick McCauley
Leandro, you can start by going through the handbook and following the
steps.  Maybe print off if you don't have a second system to view while
installing.  Post more specific problem if you encounter one.  When
configuring the kernel you will need to enable specific options depending
on hardware.  You can use lspci to get some hardware information.

Here's the handbook:
http://www.gentoo.org/doc/en/handbook/2006.0/handbook-amd64.xml?full=1

Patrick

 Hi folks,

   After download gentoo-universal for AMD64, what is the right steps
 should I need to do to install gentoo on a Opteron AMD64 with adaptec
 SCSI controler?

 Thanks

 Leandro

 --
 gentoo-user@gentoo.org mailing list





-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation AMD64 with SCSI

2006-05-20 Thread Hemmann, Volker Armin
On Sunday 21 May 2006 00:56, Leandro Melo de Sales wrote:
 Hi folks,

   After download gentoo-universal for AMD64, what is the right steps
 should I need to do to install gentoo on a Opteron AMD64 with adaptec
 SCSI controler?

do a normal installation.
when building the kernel, build scsi support, scsi harddisk support and the 
aic7xxx or whichever adaptec driver is the correct one for you, into the 
kernel.

your grub.conf line should look like this:
title=2.6
root (hd0,0)
kernel (hd0,0)/boot/vmlinuz root=/dev/sda3  nmi_watchdog =1

(or sda2 or 5 or whereever root is)

(because make install not only copies the files to /boot, it creates a vmlinuz 
symlink to the just installed kernel. And a vmlinuz.old symlink to the 
previous used one. Very comfortable.)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation AMD64 with SCSI

2006-05-20 Thread Leandro Melo de Sales

Ok... now I'm stuck here:

ramdisk compressed image found at block
ufs: was compiled with read-only support, can't be mounted as read-write
udf-fs: no particition found (1)
xfs: bad magic number
xfs: sb validate failed
kernel panic - not synching: vfs: unable to mount root fs on unknown
block (8,18)

Thank should I need to to?

# lspci
00:06.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8111 PCI (rev 07)
00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-8111 LPC (rev 05)
00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-8111 IDE (rev 03)
00:07.2 SMBus: Advanced Micro Devices [AMD] AMD-8111 SMBus 2.0 (rev 02)
00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-8111 ACPI (rev 05)
00:0a.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8131 PCI-X Bridge (rev 12)
00:0a.1 PIC: Advanced Micro Devices [AMD] AMD-8131 PCI-X IOAPIC (rev 01)
00:0b.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8131 PCI-X Bridge (rev 12)
00:0b.1 PIC: Advanced Micro Devices [AMD] AMD-8131 PCI-X IOAPIC (rev 01)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] Miscellaneous Control
00:19.0 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] HyperTransport Technology Configuration
00:19.1 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] Address Map
00:19.2 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] DRAM Controller
00:19.3 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] Miscellaneous Control
01:03.0 RAID bus controller: Adaptec AAC-RAID (rev 01)
02:09.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5704
Gigabit Ethernet (rev 03)
02:09.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5704
Gigabit Ethernet (rev 03)
03:00.0 USB Controller: Advanced Micro Devices [AMD] AMD-8111 USB (rev 0b)
03:00.1 USB Controller: Advanced Micro Devices [AMD] AMD-8111 USB (rev 0b)
03:05.0 Mass storage controller: Silicon Image, Inc. SiI 3114
[SATALink/SATARaid] Serial ATA Controller (rev 02)
03:06.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
03:08.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro
100] (rev 10)

Grub config:
title=Gentoo Linux 2.6.15
root (hd0,1)
kernel /boot/kernel-2.6.15.img root=/dev/sdb2 ramdisk=8192
real_root=/dev/sdb2 udev noapic acpi=off
initrd /boot/initrd-2.6.15

I made initrd and put --preload=sd_mod --with=some sata modules

Thank you,

Leandro.

2006/5/20, Hemmann, Volker Armin [EMAIL PROTECTED]:

On Sunday 21 May 2006 00:56, Leandro Melo de Sales wrote:
 Hi folks,

   After download gentoo-universal for AMD64, what is the right steps
 should I need to do to install gentoo on a Opteron AMD64 with adaptec
 SCSI controler?

do a normal installation.
when building the kernel, build scsi support, scsi harddisk support and the
aic7xxx or whichever adaptec driver is the correct one for you, into the
kernel.

your grub.conf line should look like this:
title=2.6
root (hd0,0)
kernel (hd0,0)/boot/vmlinuz root=/dev/sda3  nmi_watchdog =1

(or sda2 or 5 or whereever root is)

(because make install not only copies the files to /boot, it creates a vmlinuz
symlink to the just installed kernel. And a vmlinuz.old symlink to the
previous used one. Very comfortable.)
--
gentoo-user@gentoo.org mailing list





--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation AMD64 with SCSI

2006-05-20 Thread Ryan Tandy

Leandro Melo de Sales wrote:

ramdisk compressed image found at block
ufs: was compiled with read-only support, can't be mounted as read-write
udf-fs: no particition found (1)
xfs: bad magic number
xfs: sb validate failed
kernel panic - not synching: vfs: unable to mount root fs on unknown
block (8,18)


What filesystem is your / partition?  Do you have support for it *built 
in* to your kernel?  It looks like it found a valid UFS partition, but 
failed because it couldn't mount it RW... try making UFS RWable and see 
if it helps.

--
gentoo-user@gentoo.org mailing list