Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Now to trying to netboot on powerbook 550 with failure, help
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
philipuso
n00b
n00b


Joined: 13 Jan 2004
Posts: 27

PostPosted: Tue Jul 19, 2005 5:24 am    Post subject: Now to trying to netboot on powerbook 550 with failure, help Reply with quote

Go 5 posts down please

I was wondering if it's possible to use an external usb floppy with yaboot telling it to boot an gentoo live image on an external usb hard disk, native linux hard disk partition, or network disk? I'm unsure if it's even possible to boot with a usb floppy on a g4 powerbook 550?

Or perhaps creating a linux partition in OSX, putting what ever is needed on it for boot up to get to same environment as livecd after bootup. Using yaboot on a usb floppy to boot the new linux partition.


Last edited by philipuso on Thu Jul 21, 2005 10:31 pm; edited 2 times in total
Back to top
View user's profile Send private message
JoseJX
Developer
Developer


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue Jul 19, 2005 6:12 am    Post subject: Reply with quote

I'm not really sure how you could do this. If you've got another PPC machine, you could boot the mac in captive mode (have it act as a firewire disk) and install that way. Booting off of a floppy is pretty much out of the question though.

Good luck and let us know if you figure anything out!
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
philipuso
n00b
n00b


Joined: 13 Jan 2004
Posts: 27

PostPosted: Wed Jul 20, 2005 5:50 pm    Post subject: Reply with quote

I've got an ipod with 1 partition with the gentoo minimal install cd installed as bootable using carbon copy cloner. I cannot however get the powerbook 550 firewire to boot the livecd image. I can put in firewire mode where it will use the powerbook as a firewire disk share holding down "t" at startup. I've tried other key combinations during startup also but am unable to the livecd on the ipod.

I don't have access to another mac right now, so the above post is out of the question.

here's a link to key combos for startup: http://www.jacsoft.co.nz/Tech_Notes/Mac_Keys.htm

This is driving me nuts, please help.
Back to top
View user's profile Send private message
philipuso
n00b
n00b


Joined: 13 Jan 2004
Posts: 27

PostPosted: Thu Jul 21, 2005 5:39 am    Post subject: Reply with quote

It looks a lot more difficult than I thought, even requiring an already linux installation on the ppc computer to set it up.
http://131.204.27.45/ydl-howto/

I guess I'll look into netboot.
Back to top
View user's profile Send private message
JoseJX
Developer
Developer


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Jul 21, 2005 1:08 pm    Post subject: Reply with quote

To be honest, I'm really not sure how you could get it booting. Firewire booting isn't really possible with the LiveCD configuration. As for netbooting, I think you can NetBoot debian. Once it's booted, you can just follow the Gentoo Installation Guide as usual.

This should help:
http://hermes.osuosl.org/mediawiki/index.php/Mac_Netboot

Good luck!
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
philipuso
n00b
n00b


Joined: 13 Jan 2004
Posts: 27

PostPosted: Thu Jul 21, 2005 10:28 pm    Post subject: Reply with quote

I am following the guide mentioned above, but am getting an error "LOAD-SIZE is to small"
I boot into openfirmware on the powerbook and enter:
Quote:
boot enet:192.168.1.1,yaboot


I'm assuming the filesystem that "/tftpboot" directory is on makes no difference when booting over a network. In this case reiserfs.
The tftpd manual page mentions an "blksize" option. Is this something needed?
My xinetd daemon is stopped while doing this troubleshooting.
Where is the log file for tftp-hpa. My "/var/log/messages" aren't getting anything from tftp.

/tftpboot/yaboot.conf:
Quote:
device=enet:
partition=0
timeout=50
init-message="GNU/Linux Network boot"
default=linux-2.6

image=vmlinux-2.6
initrd=initrd-2.6.gz
label=linux-2.6
initrd-size=8192
#append="init=/linuxrc"

image=vmlinux-2.4
initrd=initrd-2.4.gz
label=linux-2.4
initrd-size=8192
#append="init=/linuxrc"


/etc/conf.d/dhcp:
Quote:
# Configure which interface or interfaces to for dhcp to listen on
# list all interfaces space separated.
IFACE="eth0 eth1"

# Insert any other options needed
DHCPD_OPTS="-q"


/etc/conf.d/in.tftpd:
Quote:
# Config file for /etc/init.d/in.tftpd
# Remove the -l if you use [x]inetd

INTFTPD_PATH="/tftpboot"
INTFTPD_OPTS="-a 192.168.1.1 -l -s ${INTFTPD_PATH}"


/etc/dhcp/dhcpd.conf:
Quote:
ddns-update-style none;

# option definitions common to all supported networks...
option domain-name "murifeldweg21.ch";
option domain-name-servers 62.2.17.60, 62.2.24.162, 62.2.17.61, 62.2.24.158;

default-lease-time 600;
max-lease-time 7200;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;

# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility syslog;

#Mac NetBoot Options
# (these require dhcpd 3.0+)
option mac-nc-client-unknown code 220 = string;
option mac-nc-client-id code 221 = string;
option mac-version code 230 = string;
option mac-username code 232 = text;
option mac-password code 233 = text;
option mac-nb-img code 234 = string;
option mac-apps-img code 235 = string;
option mac-machine-name code 237 = text;

option mac-client-nb-img code 238 = string;

if (option mac-nc-client-id = "Apple MacNC") {

option dhcp-max-message-size 576;
option dhcp-parameter-request-list
1, # subnet mask
3, # routers
220, 221, 230, 232, 233, 234, 235, 236, 237, 238; # mac options

# put global macnc-specific options here...
option mac-version 0:0:0:0;
}

subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.15 192.168.1.20;
# option routers 192.168.0.1;
}

# To netboot, you can either specify the hosts explicitly, like so:
host debian-installer {
hardware ethernet 00:03:93:45:43:4e;
fixed-address 192.168.0.5;
# Or hand out boot boot information dynamically:
#subnet 192.168.1.0 netmask 255.255.0.0 {
# range dynamic-bootp 192.168.1.5 192.168.1.10;

#option routers 192.168.0.1;
filename "yaboot"; # relative to the /tftpboot directory, due to the -s option
server-name "hercules";
server-identifier 192.168.1.1; # your tftp server
# next-server 192.168.0.25; # your tftp server
}


/etc/conf.d/net:
Quote:
# /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18 19:39:22 azarah Exp $

# Global config file for net.* rc-scripts

# This is basically the ifconfig argument without the ifconfig $iface
#
#iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
iface_eth1="192.168.1.1 netmask 255.255.254.0"

# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#
iface_eth0="dhcp"
dhcpcd_eth0="-t 5"


ls -l /tftpboot
Quote:

total 7992
-rwxrwxrwx 1 root users 4201572 Mar 6 06:22 initrd-2.6.gz
-rwxrwxrwx 1 root users 3966165 Mar 6 06:28 vmlinux-2.6
-rwxrwxrwx 1 root users 0 Jul 21 02:45 yaboot
-rwxrwxrwx 1 root users 319 Jul 21 01:15 yaboot.conf
Back to top
View user's profile Send private message
philipuso
n00b
n00b


Joined: 13 Jan 2004
Posts: 27

PostPosted: Thu Jul 21, 2005 10:57 pm    Post subject: Reply with quote

Tried adding "-r blksize" to
Quote:
INTFTPD_OPTS="-a 192.168.1.1 -l -s ${INTFTPD_PATH}"

as mentioned in the tftpd section of this article: http://www.carfax.org.uk/docs/Netboot/

Still same stupid error.
Back to top
View user's profile Send private message
JoseJX
Developer
Developer


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Jul 21, 2005 11:43 pm    Post subject: Reply with quote

The error is from Yaboot. It means it can't find the kernel. I'm not sure what the problem is, but check all of your paths and make sure that the device: line is actually pointing to the correct device alias.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
philipuso
n00b
n00b


Joined: 13 Jan 2004
Posts: 27

PostPosted: Fri Jul 22, 2005 12:14 am    Post subject: Reply with quote

The device entry i'm entering in openfirmware is correct:
Quote:
boot enet:192.168.1.1,yaboot


because when looking at /var/log/messages, I get this:
Quote:
Jul 21 17:38:57 basement eth1: link up.
Jul 21 17:38:57 basement dhcpd: DHCPDISCOVER from 00:03:93:45:43:4e via eth1
Jul 21 17:38:58 basement dhcpd: DHCPOFFER on 192.168.1.20 to 00:03:93:45:43:4e via eth1
Jul 21 17:38:58 basement dhcpd: DHCPREQUEST for 192.168.1.20 (192.168.1.1) from 00:03:93:45:43:4e via eth1
Jul 21 17:38:58 basement dhcpd: DHCPACK on 192.168.1.20 to 00:03:93:45:43:4e via eth1
Jul 21 17:39:02 basement dhcpd: DHCPINFORM from 192.168.1.20 via eth1
Jul 21 17:39:02 basement dhcpd: DHCPACK to 192.168.1.20
Jul 21 17:39:11 basement dhcpd: DHCPINFORM from 192.168.1.20 via eth1
Jul 21 17:39:11 basement dhcpd: DHCPACK to 192.168.1.20
Jul 21 17:39:28 basement dhcpd: DHCPINFORM from 192.168.1.20 via eth1
Jul 21 17:39:28 basement dhcpd: DHCPACK to 192.168.1.20
Jul 21 17:39:45 basement sudo: pd : TTY=pts/0 ; PWD=/home/pd ; USER=root ; COMMAND=/usr/bin/tail -n 30 /var/log/messages
Jul 21 17:40:00 basement dhcpd: DHCPINFORM from 192.168.1.20 via eth1
Jul 21 17:40:00 basement dhcpd: DHCPACK to 192.168.1.20
Jul 21 17:41:04 basement dhcpd: DHCPINFORM from 192.168.1.20 via eth1
Jul 21 17:41:04 basement dhcpd: DHCPACK to 192.168.1.20


Interaction with the dhcp client and server.
Does the tftpd daemon have a log file??
I'm able to get the yaboot file on my own linux machine when in tftp mode.
Quote:
get 192.168.1.1 yaboot


The powerbook & linux pc are connected directly together with a cross over cable about a foot long.
Back to top
View user's profile Send private message
philipuso
n00b
n00b


Joined: 13 Jan 2004
Posts: 27

PostPosted: Fri Jul 22, 2005 12:43 am    Post subject: Reply with quote

Does anybody know how to load the forcedeth.o module at 10 mbs instead of 100 mbs. What parameters are needed when loading the module??? My foot long cable crossover cable should only be running at 10 mbs.
Quote:
sudo modinfo forcedeth
parmtype: max_interrupt_work:int
parm: max_interrupt_work:forcedeth maximum events handled per interrupt
author: Manfred Spraul <manfred@colorfullife.com>
description: Reverse Engineered nForce ethernet driver
license: GPL
vermagic: 2.6.12-gentoo-r4 preempt K7 gcc-3.4
depends:
alias: pci:v000010DEd000001C3sv*sd*bc*sc*i*
alias: pci:v000010DEd00000066sv*sd*bc*sc*i*
alias: pci:v000010DEd000000D6sv*sd*bc*sc*i*
alias: pci:v000010DEd00000086sv*sd*bc*sc*i*
alias: pci:v000010DEd0000008Csv*sd*bc*sc*i*
alias: pci:v000010DEd000000E6sv*sd*bc*sc*i*
alias: pci:v000010DEd000000DFsv*sd*bc*sc*i*
alias: pci:v000010DEd00000056sv*sd*bc*sc*i*
alias: pci:v000010DEd00000057sv*sd*bc*sc*i*
alias: pci:v000010DEd00000037sv*sd*bc*sc*i*
alias: pci:v000010DEd00000038sv*sd*bc*sc*i*
alias: pci:v000010DEd00000268sv*sd*bc*sc*i*
alias: pci:v000010DEd00000269sv*sd*bc*sc*i*
alias: pci:v000010DEd00000372sv*sd*bc*sc*i*
alias: pci:v000010DEd00000373sv*sd*bc*sc*i*
Back to top
View user's profile Send private message
philipuso
n00b
n00b


Joined: 13 Jan 2004
Posts: 27

PostPosted: Fri Jul 22, 2005 1:19 am    Post subject: Reply with quote

Was able to:
Quote:
modprobe forcedeth max_interrupt_work=2

but I'm unable to verify its actually working a 10mbs.

Anybody know how to list properties of an active forcedeth device?? Specifically speed?
Back to top
View user's profile Send private message
philipuso
n00b
n00b


Joined: 13 Jan 2004
Posts: 27

PostPosted: Fri Jul 22, 2005 1:46 am    Post subject: Reply with quote

Looks like 5 is default by doing a search on google for "max_interrupt_work forcedeth". So maybe I'm correct with 2 for 10 mbs. ??
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