Re: iMac266, OSX Man82ppc installation won't boot

2002-10-04 Thread Stew Benedict


On Thu, 3 Oct 2002, Damon Garn wrote:

 yaboot on it's own partition? I thought it was on the /boot partition for
 Mandrake PPC? And that the Open Firmware would go to the blessed partition
 then get redirected to the /boot where yaboot exists? I'm thinking I'm way
 off base here...
 

bootstrap != /boot

One distro did that (LinuxPPC?), and a lot of people assume that, but it's
not the case. The bootstrap partition holds only the parts of yaboot
needed to boot the machine.  /boot is exactly as it would be on x86.  The
bootstrap is not mounted on the Linux side, and only accessed when you run
ybin.  Folks that have tried to treat the bootstrap as /boot duing the
install end up with a bit of a mess, since we only allocate 1MB for it,
and the kernel/initrd generally take up a bit more than that.

 Can I ask for partitioning suggestions based on the following info:
 OSX on the first 7.5GB
 Data on the second 7.5GB
 

If you're indeed hitting the 1st 2GB issue. (I forget, is this an old
iMac?), OSX on the 1st 7.5GB is the problem.  You need 1 MB bootstrap
somewhere in the 1st 2GB.

 From there my assumption was the blessed partition had its own space, a
 separate /boot partition of about 40MB was needed, a / partition for the
 file system was necessary, the a swap partition for virtual memory. Is that
 wrong? Should the /boot and blessed partitions be the same? Is that where
 I've gone wrong? When I looked at the installer's depiction of the
 partitions I could see the two Mac partitions, then the 4 above listed
 partitions (with the blessed partition just following the two Mac
 partitions)...
 

The above is correct.  A seperate /boot isn't mandatory, but some folks
like to share it between Linux installs.  A seperate bootstrap, or
blessed partition is definitely part of our configuration on NewWorld
machines.

Stew Benedict

-- 
MandrakeSoft
PPC FAQ: http://www.linux-mandrake.com/en/ppcFAQ.php3
IRC: irc.openproject.net #cooker-ppc





printer/modem port devices on a PPC 7200?

2002-10-04 Thread Isaac

hi,

following the instructions at:

http://lppcfom.sourceforge.net/fom-serve/cache/470.html

I'm trying to connect an old HP LaserJet 4 with a GDT powerprint 
adapter. 

I had this working under an old version of SuSE once (probably should 
have left it alone!  if it ain't broke...).

With MDK8.2, what is the device for the printer or modem port?  Seems 
not to be going anywhere. I tried /dev/cua0 cua1 ttyS0 and ttyS1.

I think under SuSE it only worked in the modem port (this is the same 
box)... but this time neither works.

no luck with old LPD or CUPS.

thanks for any tips.

-- 
War Without End? Not In Our Name! http://notinourname.net





Re: printer/modem port devices on a PPC 7200?

2002-10-04 Thread Stew Benedict


On Fri, 4 Oct 2002, Isaac wrote:

 hi,
 
 following the instructions at:
 
 http://lppcfom.sourceforge.net/fom-serve/cache/470.html
 
 I'm trying to connect an old HP LaserJet 4 with a GDT powerprint 
 adapter. 
 
 I had this working under an old version of SuSE once (probably should 
 have left it alone!  if it ain't broke...).
 
 With MDK8.2, what is the device for the printer or modem port?  Seems 
 not to be going anywhere. I tried /dev/cua0 cua1 ttyS0 and ttyS1.
 
 I think under SuSE it only worked in the modem port (this is the same 
 box)... but this time neither works.
 
 no luck with old LPD or CUPS.
 
 thanks for any tips.
 

Is macserial loaded?  

dmesg | grep tty 

should indicate your serial ports (this is an iMac)

[root@imac root]# modprobe macserial
[root@imac root]# dmesg | grep tty
tty00 at 0xc99bd020 (irq = 15) is a Z8530 ESCC (internal modem)
tty01 at 0xc99c4000 (irq = 16) is a Z8530 ESCC (IrDA)

the tty00 and tty01 are not the way they are addressed though, it's the
normal ttyS0, etc.


Stew Benedict

-- 
MandrakeSoft
PPC FAQ: http://www.linux-mandrake.com/en/ppcFAQ.php3
IRC: irc.openproject.net #cooker-ppc





Re: Simplest installation on ibook 366, ppc-cooker, floppyless.

2002-10-04 Thread Vincent Danen


On Thursday, October 3, 2002, at 10:17 AM, Stew Benedict wrote:

 If you have devfs=mount in your yaboot, you shouldn't need the links,
 they're created dynamically.  Otherwise, probably a broken MAKEDEV 
 or dev
 rpm.  There was a lot of this occuring during x86 cooker betas.

 Bingo! I did a fresh-formated-cooker install then I reboot in rescue, 
 change devfs=mount in the yaboot.conf to devfs=nomount, chroot, ybin 
 and... It worked on the next reboot. I'am 100% cooker ! YĆ©!

 Great!  I'm not sure why you're seeing the issue with devfs, I was 
 running
 it until my machine died, and I think vdanen is too, but he's out of 
 town
 and his machine is off at the moment, so I can't check.  Perhaps just 
 not
 fully up to date packages.

Very sporadic net (and expensive) net access in the mountains but IIRC, 
yes, devfs is running... I don't recall changing anything in 
yaboot.conf for that.  But I used some created ISOs and then did a lot 
of cleaning up afterwards to get everything up to speed for 
development, so it could very well be an outdated package and/or 
missing packages that are causing the problem.

--
MandrakeSoft Security; http://www.mandrakesecure.net/
lynx - source http://linsec.ca/vdanen.asc | gpg --import
{FE6F2AFD: 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD}




PGP.sig
Description: PGP signature


PowerPrint adapter, parallel printer on Mandrake PPC 8.2 HOWTO

2002-10-04 Thread Isaac

I'll answer my own question, and here's how to do it, for the archives 
and anyone else who wants to try this feat (actually, once I quit 
trying to use LPD, it was easy with CUPS):

(this is rough, so feel free to improve on this and redistribute if you 
know a better way or spot a mistake)

PowerPrint adapter on Mac Serial with Mandrake Linux PPC 8.2 HOWTO
--

(note: this should work on other PPC distros as well)

1. do a 'modprobe macserial' and also add that command to your 
/etc/init.d/rc.local

2. install and start CUPS, including the cups-serial package (which is 
not installed by default).

3. add this to your /etc/cups/printers.conf (or use the web-based CUPS 
configurator at http://127.0.0.1:631/ to add a printer with serial port 
#1, baud rate 57600, XON/XOFF, No parity, 8 bits ... then choose the 
type of printer.):

Printer LaserJet4
DeviceURI serial:/dev/ttyS0?baud=57600+bits=8+parity=none+flow=soft
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
/Printer

This works for an old parallel HP LaserJet 4. Your mileage may vary with 
other printers.

Note: I have the PowerPrint adapter in the modem port, not the printer 
port. Try /dev/ttyS1 instead if you want it in the printer port. It'll 
*probably* work.

[end]


-- 
War Without End? Not In Our Name! http://notinourname.net