Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xserve installation issues [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
hilldweller
n00b
n00b


Joined: 16 May 2007
Posts: 19

PostPosted: Wed May 16, 2007 12:01 pm    Post subject: xserve installation issues [solved] Reply with quote

hi everyone,

this is my first foray in the world of gentoo and i suppose i'm asking for trouble by installing it onto a mac server (some sort of rackable dual ppc g4 thing).

anyway i've searched through the forums and can't find specifically what's wrong with my config, i've been through the handbook three times to retrace my steps and can't seem to see where i'm going wrong.[/code]

what happens is that the machine hangs on a reboot with the following message:

Code:

>> Determining root device...
!! Block device /dev/hdc4 is not a valid root device...
!! The root block device is unspecified or not detected.
  Please specify a device to boot, or "shell" for a shell...
boot() ::


now when i shell, and list the contents of /dev, i can't even see hdc so i suspect its something to do with that, as much as i hate posting reams of config files, here are the contents of my fstab:

Code:

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hdc4               /               ext3            noatime         0 1
/dev/hdc3               none            swap            sw              0 0
/dev/cdrom              /mnt/cdrom      auto            noauto,ro       0 0


and yaboot.conf:

Code:

boot=/dev/hdc2
device=/pci@f2000000/AppleKiwi@15/@0/disk@0:
partition=4
root=/dev/hdc4
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

image=/boot/kernel-genkernel-ppc-2.6.20-gentoo-r5
        label=Linux
        read-only
        initrd=/boot/initramfs-genkernel-ppc-2.6.20-gentoo-r5
        initrd-size=8192


does anyone here understand what's going on? i'm totally lost. :?


Last edited by hilldweller on Wed May 23, 2007 2:13 pm; edited 2 times in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed May 16, 2007 12:26 pm    Post subject: Reply with quote

You've got an XServe, that's the Apple name for that product. That looks like it's past yaboot and it's booted into the system (i.e., the kernel has started). Is this true? Can you please give us the output of mac-fdisk -l? Can you give us the differences between the working dmesg from the install cd and the non-working dmesg from the regular boot?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
hilldweller
n00b
n00b


Joined: 16 May 2007
Posts: 19

PostPosted: Wed May 16, 2007 12:38 pm    Post subject: Reply with quote

thanks for replying so quickly! xserve would make sense, we don't use it on the mac network anymore so i thought i'd use it to host zabbix.

yes you are right, the boot starts as expected and then stops suddenly with the error.

here's the output from mac-fdisk -l

Code:

livecd ~ # mac-fdisk -l
/dev/hda
        #                    type name                length   base    ( size )  system
/dev/hda1     Apple_partition_map Apple                    2 @ 1       (  1.0k)  Partition map
/dev/hda2               Apple_HFS Gentoo Linux 2007.0 PPC  113768 @ 16      ( 55.6M)  HFS

Block size=512, Number of Blocks=113784
DeviceType=0x1, DeviceId=0x1

/dev/hdc
        #                    type name                  length   base      ( size )  system
/dev/hdc1     Apple_partition_map Apple                     63 @ 1         ( 31.5k)  Partition map
/dev/hdc2         Apple_Bootstrap bootstrap               1600 @ 64        (800.0k)  NewWorld bootblock
/dev/hdc3         Apple_UNIX_SVR2 swap                 2097152 @ 1664      (  1.0G)  Linux swap
/dev/hdc4         Apple_UNIX_SVR2 root               115132592 @ 2098816   ( 54.9G)  Linux native

Block size=512, Number of Blocks=117231408
DeviceType=0x0, DeviceId=0x0


if i boot into the live cd and remount /dev/hdc4 (root), there is no dmesg in /mnt/gentoo/var/log, only

Code:

emerge.log  genkernel.log  lastlog  news  sandbox  wtmp
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed May 16, 2007 1:02 pm    Post subject: Reply with quote

Okay, well, can you check dmesg on the installcd and see what device is being detected for hdc and compare the output to the kernel output as it flashes by on the regular boot? What IDE device is detected for those machines? I'm not sure. :) Most likely, what's happening is that the IDE ordering is changing, it happens sometimes, usually in machines with two IDE controllers.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
hilldweller
n00b
n00b


Joined: 16 May 2007
Posts: 19

PostPosted: Wed May 16, 2007 1:41 pm    Post subject: Reply with quote

good theory. :)

however it still detects the cd as hda from both boots. it doesn't probe for the ide devices on the hd boot, whereas from the livecd it does.

it appears to be an apple keylargo ata-4 controller. well, i wondered if i needed to do a kernel compile instead of using genkernel but i can't see anything in there relevant.

wonder why it isn't seeing the hard disk??
Back to top
View user's profile Send private message
rangerpb
Retired Dev
Retired Dev


Joined: 19 Jan 2005
Posts: 147

PostPosted: Wed May 16, 2007 3:27 pm    Post subject: xserv is ppc64 Reply with quote

If this is an xserv, then make sure you are running the right stages and so forth. There was some grief wrt the disk controllers on those for a bit. Have you tried using the kernel config from the 2007 media to see if that corrects the issue?

I would guess you are simply missing a driver or a driver dependancy. I would be happy to help if you can catch me (or others) on IRC we can prolly figure it out.
_________________
-->
rangerpb
<--
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed May 16, 2007 3:32 pm    Post subject: Reply with quote

Can you please post the config that you used somewhere?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
hilldweller
n00b
n00b


Joined: 16 May 2007
Posts: 19

PostPosted: Wed May 16, 2007 3:50 pm    Post subject: Reply with quote

thanks for your help with this-

i will post the config and connect to irc when i get chance later in the week, i'm off home now and though i'm sorely tempted to drag the xserver with me and sort it out, it probably won't go down too well so it'll just have to wait.

i hate leaving an issue unresolved at hometime... :)
Back to top
View user's profile Send private message
hilldweller
n00b
n00b


Joined: 16 May 2007
Posts: 19

PostPosted: Fri May 18, 2007 8:39 am    Post subject: Reply with quote

ok, i saw where i went wrong. i used the g4 stage, mistaking the name of the cpu for the name of system. d'oh!

so i've now downloaded the ppc image and decided to go with genkernel, but i get this error

Code:

(chroot) livecd / # genkernel --genzimage all

^--other stuff

In file included from arch/ppc/kernel/asm-offsets.c:18:
include/linux/suspend.h:5:25: error: asm/suspend.h: No such file or directory
make[1]: *** [arch/ppc/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
--
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
* Gentoo Linux Genkernel; Version 3.4.6
* Running with options: --genzimage all

* ERROR: Failed to compile the "vmlinux" target...

* -- End log... --


my make.conf's relevant bits are

Code:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-O2 -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
CXXFLAGS="${CFLAGS}"
# This should not be changed unless you know exactly what you are doing.  You
# should probably be using a different stage, instead.
CHOST="powerpc-unknown-linux-gnu"
MAKEOPTS="-j3"


can anyone see where i've gone wrong this time? sorry to be a nuisance with this, i've used archlinux for a good while on the pcs but fancied dabbling with gentoo on the xserve...
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri May 18, 2007 11:26 am    Post subject: Reply with quote

There was no problem with using the g4 stages, you have a g4 machine. :|

That genkernel error is a known bug unfortunately:
https://bugs.gentoo.org/show_bug.cgi?id=166145

We haven't figured out why that happens on some systems yet, sorry. I'd use a regular handmade kernel config if you could help it.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
hilldweller
n00b
n00b


Joined: 16 May 2007
Posts: 19

PostPosted: Fri May 18, 2007 11:55 am    Post subject: Reply with quote

oh! i presumed that the stage was for a g4 (as in model not cpu). i saw the bug mentioned with no resolution on a google search, but the one i saw was rather old so i presumed it may have been closed. probably just being optimistic.

well ok, i'll clear the fs and get the g4 stage again, and i'll make my own kernel following the directions in the handbook. i did do this previously though and it couldn't detect the hard disk... :(
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri May 18, 2007 12:05 pm    Post subject: Reply with quote

Yep, which is why I wanted to see the config. :)
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
hilldweller
n00b
n00b


Joined: 16 May 2007
Posts: 19

PostPosted: Fri May 18, 2007 12:35 pm    Post subject: Reply with quote

ok i see what i have to do. let me recompile and if there are issues i'll post the .config somewhere in webland.
Back to top
View user's profile Send private message
hilldweller
n00b
n00b


Joined: 16 May 2007
Posts: 19

PostPosted: Mon May 21, 2007 8:15 am    Post subject: Reply with quote

ok here's my config

http://mnij.awardspace.com/.conf

now it has a kernel panic about a valid boot device, i suspect it isn't picking up the controller as rangerpb suggested. according to the livecd boot, it is an apple keylargo ata-4 controller.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon May 21, 2007 1:53 pm    Post subject: Reply with quote

Your link doesn't work, sorry.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
hilldweller
n00b
n00b


Joined: 16 May 2007
Posts: 19

PostPosted: Mon May 21, 2007 2:01 pm    Post subject: Reply with quote

hmm. ok what if i put a link on there

http://mnij.awardspace.com/conf.html

hows that?
Back to top
View user's profile Send private message
rangerpb
Retired Dev
Retired Dev


Joined: 19 Jan 2005
Posts: 147

PostPosted: Mon May 21, 2007 4:02 pm    Post subject: isnt this ppc64 Reply with quote

Isnt this a ppc64 machine? If so, your config is building for ppc32. Why not use a ppc64 32 or 64 bit userland stage? Even though the ppc g4 should technically work, it lacks the compiler to build a 64bit kernel.
_________________
-->
rangerpb
<--
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon May 21, 2007 4:52 pm    Post subject: Reply with quote

It's not 64 bit, it's a Dual G4 XServe which is 32 bit only.

I don't see anything missing in the config, could you please post the log of dmesg when booted from the InstallCD? I'd like to see what the drives are detected as.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
hilldweller
n00b
n00b


Joined: 16 May 2007
Posts: 19

PostPosted: Tue May 22, 2007 8:47 am    Post subject: Reply with quote

JoseJX- you are right, it's an original xserve and according to wikipedia is 32-bit.

Glad it's nothing glaringly obvious, though. Here's the dmesg log:

Code:
Using PowerMac machine description
Total memory = 1024MB; using 2048kB for hash table (at cfe00000)
Linux version 2.6.19-gentoo-r5-apple (root@timberdoodle) (gcc version 4.1.1 (Gentoo 4.1.1-r3)) #1 SMP Sat Apr 28 01:04:58 UTC 2007
Found initrd at 0xc1a00000:0xc1d105ea
Found UniNorth memory controller & host bridge @ 0xf8000000 revision: 0x24
Mapped at 0xfdfc0000
Found a Keylargo mac-io controller, rev: 3, mapped at 0xfdf40000
PowerMac motherboard: XServe rev. 2
Entering add_active_range(0, 0, 262144) 0 entries of 256 used
Found UniNorth PCI host bridge at 0x00000000f0000000. Firmware bus number: 0->2
Found UniNorth PCI host bridge at 0x00000000f2000000. Firmware bus number: 0->2
Found UniNorth PCI host bridge at 0x00000000f4000000. Firmware bus number: 0->2
via-pmu: Server Mode is disabled
PMU driver v2 initialized for Core99, firmware: 0c
nvram: Checking bank 0...
nvram: gen0=392, gen1=391
nvram: Active bank is: 0
nvram: OF partition at 0x410
nvram: XP partition at 0x1020
nvram: NR partition at 0x1120
Top of RAM: 0x40000000, Total RAM: 0x40000000
Memory hole size: 0MB
Zone PFN ranges:
  DMA             0 ->   196608
  Normal     196608 ->   196608
  HighMem    196608 ->   262144
early_node_map[1] active PFN ranges
    0:        0 ->   262144
On node 0 totalpages: 262144
  DMA zone: 1536 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 195072 pages, LIFO batch:31
  Normal zone: 0 pages used for memmap
  HighMem zone: 512 pages used for memmap
  HighMem zone: 65024 pages, LIFO batch:15
Built 1 zonelists.  Total pages: 260096
Kernel command line: root=/dev/ram rw root=/dev/ram0 init=/linuxrc  dokeymap looptype=squashfs loop=/image.squashfs  cdroot
mpic: Setting up MPIC " MPIC 1   " version 1.2 at 80040000, max 4 CPUs
mpic: ISU size: 64, shift: 6, mask: 3f
mpic: Initializing for 64 sources
PID hash table entries: 4096 (order: 12, 16384 bytes)
GMT Delta read from XPRAM: 0 minutes, DST: off
time_init: decrementer frequency = 41.537094 MHz
time_init: processor frequency   = 1333.333328 MHz
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
High memory: 262144k
Memory: 1028560k/1048576k available (3972k kernel code, 281364k reserved, 328k data, 149k bss, 212k init)
Calibrating delay loop... 82.94 BogoMIPS (lpj=41472)
Mount-cache hash table entries: 512
device-tree: Duplicate name in /cpus/PowerPC,G4@0/l2-cache, renamed to "l2-cache#1"
device-tree: Duplicate name in /cpus/PowerPC,G4@0, renamed to "l2-cache#1"
device-tree: Duplicate name in /cpus/PowerPC,G4@1/l2-cache, renamed to "l2-cache#1"
device-tree: Duplicate name in /cpus/PowerPC,G4@1, renamed to "l2-cache#1"
PowerMac SMP probe found 2 cpus
KeyWest i2c @0xf8001003 irq 42 /uni-n@f8000000/i2c@f8001000
 channel 0 bus <multibus>
 channel 1 bus <multibus>
KeyWest i2c @0x80018000 irq 26 /pci@f2000000/pci-bridge@d/mac-io@7/i2c@18000
 channel 0 bus <multibus>
PMU i2c /pci@f2000000/pci-bridge@d/mac-io@7/via-pmu@16000/pmu-i2c
 channel 1 bus <multibus>
 channel 2 bus <multibus>
Processor timebase sync using GPIO 0x73
mpic: requesting IPIs ...
CPU0: L2CR is 80000000
CPU0: L3CR is 9c030000
CPU1: L2CR was 0
CPU1: L2CR set to 80000000
CPU1: L3CR was 0
CPU1: L3CR set to 9c030000
Processor 1 found.
Brought up 2 CPUs
migration_cost=22146
checking if image is initramfs... it is
Freeing initrd memory: 3137k freed
NET: Registered protocol family 16
PCI: Probing PCI hardware
PCI: Cannot allocate resource region 1 of device 0001:12:02.0
PCI: Cannot allocate resource region 0 of device 0002:22:0d.0
Fixing up IO bus PCI Bus #12
PCI: Enabling device 0001:10:15.0 (0005 -> 0007)
PCI: Enabling device 0001:10:1b.0 (0005 -> 0007)
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
highmem bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 3.1 (2006/08/19) Phillip Lougher
SGI XFS with ACLs, security attributes, large block numbers, no debug enabled
SGI XFS Quota Management subsystem
io scheduler noop registered
io scheduler anticipatory registered (default)
Generic RTC Driver v1.07
Macintosh non-volatile memory driver v1.1
PCI: Enabling device 0001:12:02.0 (0086 -> 0087)
radeonfb: Found Open Firmware ROM Image
radeonfb: Retrieved PLL infos from Open Firmware
radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=166.00 Mhz, System=166.00 MHz
radeonfb: PLL min 12000 max 35000
i2c_adapter i2c-1: unable to read EDID block.
i2c_adapter i2c-1: unable to read EDID block.
i2c_adapter i2c-1: unable to read EDID block.
i2c_adapter i2c-3: unable to read EDID block.
i2c_adapter i2c-3: unable to read EDID block.
i2c_adapter i2c-3: unable to read EDID block.
radeonfb: Monitor 1 type CRT found
radeonfb: EDID probed
radeonfb: Monitor 2 type no found
Console: switching to colour frame buffer device 100x37
radeonfb (0001:12:02.0): ATI Radeon QY
vga16fb: initializing
vga16fb: mapped to 0x000a0000
fb1: VGA16 VGA frame buffer device
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
sungem.c:v0.98 8/24/03 David S. Miller (davem@redhat.com)
PHY ID: 2060e1, addr: 0
eth0: Sun GEM (PCI) 10/100/1000BaseT Ethernet 00:0a:95:87:32:de
eth0: Found BCM5421 PHY
MacIO PCI driver attached to Keylargo chipset
input: Macintosh mouse button emulation as /class/input/input0
apm_emu: APM Emulation 0.5 initialized.
adb: starting probe task...
adb: finished probe task...
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ide-pmac: cannot find MacIO node for Kauai ATA interface
ide0: Found Apple KeyLargo ATA-4 controller, bus ID 2, irq 19
Probing IDE interface ide0...
hda: QSI CD-ROM TCR-241, ATAPI CD/DVD-ROM drive
hda: Enabling MultiWord DMA 2
ide0 at 0xf1006000-0xf1006007,0xf1006160 on irq 19
hda: ATAPI 24X CD-ROM drive, 512kB Cache, DMA
Uniform CD-ROM driver Revision: 3.20
eth0: Link is up at 100 Mbps, full-duplex.
mesh: configured for synchronous 5 MB/s
usbmon: debugfs is not available
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
PCI: Enabling device 0001:11:08.0 (0000 -> 0002)
ohci_hcd 0001:11:08.0: OHCI Host Controller
ohci_hcd 0001:11:08.0: new USB bus registered, assigned bus number 1
ohci_hcd 0001:11:08.0: irq 27, io mem 0x80081000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
PCI: Enabling device 0001:11:09.0 (0000 -> 0002)
ohci_hcd 0001:11:09.0: OHCI Host Controller
ohci_hcd 0001:11:09.0: new USB bus registered, assigned bus number 2
ohci_hcd 0001:11:09.0: irq 28, io mem 0x80080000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
USB Universal Host Controller Interface driver v3.0
usb 2-1: new full speed USB device using ohci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 3 ports detected
usb 2-1.1: new full speed USB device using ohci_hcd and address 3
usb 2-1.1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver hiddev
input: Alps Electric Apple Extended USB Keyboard as /class/input/input1
input: USB HID v1.10 Keyboard [Alps Electric Apple Extended USB Keyboard] on usb-0001:11:09.0-1.1
input: Alps Electric Apple Extended USB Keyboard as /class/input/input2
input: USB HID v1.10 Device [Alps Electric Apple Extended USB Keyboard] on usb-0001:11:09.0-1.1
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new interface driver appletouch
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
PowerMac i2c bus pmu 2 registered
PowerMac i2c bus pmu 1 registered
PowerMac i2c bus mac-io 0 registered
PowerMac i2c bus uni-n 1 registered
PowerMac i2c bus uni-n 0 registered
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
input: PMU as /class/input/input3
Freeing unused kernel memory: 212k init
ISO 9660 Extensions: Microsoft Joliet Level 3
Unable to load NLS charset utf8
Unable to load NLS charset utf8
ISO 9660 Extensions: RRIP_1991A


Thank you.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue May 22, 2007 2:52 pm    Post subject: Reply with quote

That's the log from the InstallCD? If not, can I see that too, so I can compare it? If so, well, I don't see the HDs in that either. :)
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
hilldweller
n00b
n00b


Joined: 16 May 2007
Posts: 19

PostPosted: Wed May 23, 2007 8:40 am    Post subject: Reply with quote

yep that's definitely the one from /var/log/dmesg after a fresh reboot from the livecd (before i even mount the drive).

then i can mount it and all is well-

Code:
livecd ~ # mount /dev/hdc4 /mnt/gentoo
livecd ~ # ls /mnt/gentoo
bin   lib                              proc                              sys
boot  mnt                              root                              tmp
dev   opt                              sbin                              usr
etc   portage-20070516.tar.bz2         stage3-g4-2007.0.tar.bz2          var
home  portage-20070516.tar.bz2.md5sum  stage3-g4-2007.0.tar.bz2.DIGESTS
livecd ~ #


it isn't something to do a ramdisk during boot is it? when i run yabootconfig i notice that my install doesn't create a ramdisk boot section... do i need one?
Back to top
View user's profile Send private message
hilldweller
n00b
n00b


Joined: 16 May 2007
Posts: 19

PostPosted: Wed May 23, 2007 2:00 pm    Post subject: Reply with quote

aha. after some random searching through the boards i've recompiled my kernel using the option

Code:
<*>       Generic PCI IDE Chipset Support


which was from another thread with similar issues. the drive is now detected as hde (as opposed to hdc which is how the livecd detects it) which means JoseJX that your initial theory was sound.

i mounted /dev/hdc2 and edited the yaboot.conf manually, bringing it up to be the same as the one in /mnt/gentoo/etc/yaboot.conf (referring to hde instead of hdc) and it's booted!

whoo-hoo!

thanks for your assistance! :D
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri May 25, 2007 2:13 am    Post subject: Reply with quote

Ah, great, sorry I missed that earlier!

Glad you got it working.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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