Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can anyone help with Gentoo on Ultra5 install problem?
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
jl_678
n00b
n00b


Joined: 12 Dec 2003
Posts: 56

PostPosted: Wed Feb 18, 2004 3:32 am    Post subject: Can anyone help with Gentoo on Ultra5 install problem? Reply with quote

I am doing a fresh install of Gentoo (Kernel 2.4.23) on an Ultra5 with dual 80 GB HDs. I am setting up the system in a RAID1 configuration. The installation has gone smoothly and now I am trying to boot off of the system at the end of the installation and am having major problems. (Booting off of the LiveCD works fine.) The boot starts smoothly. I see that the two RAID 1 sets start properly and then I get some IP related commands:

Code:
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
****Here is where everything goes to hell****
sh-2021: reiserfs_read_super: can not find reiserfs on ide0(3,1)
Kernel panic: VFS: Unable to mount root fs on 03:01


Okay, now I understand that it looks like it cannot find reiserfs partition, but I am trying to figure out why this is the case. I believe that my fstab is correct, (see below) and I also definitely compiled reiserfs into the kernel NOT as a module. (again this is below. One thought, could there be something that is not compliled in the kernel and needs to be besides the obvious reiserfs stuff and the stuff listed in the install docs?) I have also included a print out of the partitions below. Just as an fyi, the two drives are installed as masters on their own IDE channels and have the exact same partition layout. (hda and hdc)

I have reached the end of my Gentoo knowledge at this point and am stuck. Does anyone have any suggestions about what I should do? I have this feeling that something small is wrong, but I just have no idea and am feeling very frustrated.

TIA for any help.

JL


fstab
Code:
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/md0                /boot           ext2            noauto,noatime          1 2
/dev/md2                /               reiserfs        noatime                 0 1
/dev/hda2               swap            swap            defaults,pri=1          0 0
/dev/hdc2               swap            swap            defaults,pri=1          0 0
/dev/cdroms/cdrom0      /mnt/cdrom      iso9660         noauto,ro               0 0
#/dev/fd0               /mnt/floppy     auto            noauto                  0 0

# NOTE: The next line is critical for boot!
none                    /proc           proc            defaults                0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:

none                    /dev/shm        tmpfs           defaults                0 0



Kernel Config
Code:
CONFIG_AUTOFS_FS=y
CONFIG_AUTOFS4_FS=y
CONFIG_REISERFS_FS=y
CONFIG_REISERFS_CHECK=y
CONFIG_REISERFS_PROC_INFO=y


Partition Layout
Code:
disk /dev/hda (Sun disk label): 16 heads, 255 sectors, 38323 cylinders
Units = cylinders of 4080 * 512 bytes

   Device Flag    Start       End    Blocks   Id  System
/dev/hda1             0        15     30600   fd  Linux raid autodetect
/dev/hda2  u         15       260    499800   82  Linux swap
/dev/hda3             0     38323  78178920    5  Whole disk
/dev/hda4           260     38323  77648520   fd  Linux raid autodetect
Back to top
View user's profile Send private message
Pcassimans
n00b
n00b


Joined: 08 Dec 2003
Posts: 32
Location: Brussels

PostPosted: Wed Feb 18, 2004 10:16 am    Post subject: Reply with quote

i am not sure if it has something to do with it or if it is ok how it is configured, but in your partition table, if you see end block at 15, should the next block not start at 16 in place of 15 in your partition table?

It is like that on an X86 system, but am not sure on a sparc.
_________________
Khammi

"It said Windows 95 or better, i tried Linux!"
Back to top
View user's profile Send private message
jl_678
n00b
n00b


Joined: 12 Dec 2003
Posts: 56

PostPosted: Wed Feb 18, 2004 5:54 pm    Post subject: Reply with quote

I don't think that this is it, but I could be wrong. My reasoning is that I can easily mount the filesystem when I boot off the LiveCD. All the files are intact and everything runs smoothly. I would assume that if my partitioning is wrong then I would have consistent errors when trying to mount the volume regardless of whether I boot off of the LiveCD or try to boot directly off of the HD.

These assumptions could certainly be wrong. Anyone else have any thoughts about this?

JL
Back to top
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Wed Feb 18, 2004 8:19 pm    Post subject: Reply with quote

I can't speak to the Raid issue, but otherwise the partition table looks
pretty normal: Compare
Code:

ferris@lacewing:~/Packages/SNAKES/Snakes [249]% sudo fdisk /dev/sdb

Command (m for help): p

Disk /dev/sdb (Sun disk label): 12 heads, 303 sectors, 9770 cylinders
Units = cylinders of 3636 * 512 bytes

   Device Flag    Start       End    Blocks   Id  System
/dev/sdb1             0         9     16362   83  Linux native
/dev/sdb2  u          9       284    499950   82  Linux swap
/dev/sdb3             0      9770  17761860    5  Whole disk
/dev/sdb4           284      3776   6348456   83  Linux native
/dev/sdb5          3776      9770  10897092   83  Linux native

Command (m for help): q

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


Joined: 12 Dec 2003
Posts: 56

PostPosted: Thu Feb 19, 2004 2:18 am    Post subject: Reply with quote

I was thinking that silo.conf might help so here it is:

Code:
partition = 1
#append = " md=0,/dev/hda1,/dev/hdc1"
root = /dev/hda1
timeout = 10
default = Linux

image = /boot/kernel-2.4.24
label = Linux
Back to top
View user's profile Send private message
Auka
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 109
Location: BaWue, Germany, Europe, Earth.

PostPosted: Fri Feb 20, 2004 7:43 pm    Post subject: Reply with quote

Hm, I have never used software raid on sparc, just x86 (i.e. using lilo) but give
Code:
root=/dev/md2
instead of
Code:
root=/dev/hda1
a try...

Hint: do not forget to unset CONFIG_REISERFS_CHECK (debugging) at least as soon as you can boot. ;-) Automounter is btw also not required for "normal" partitions...
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