Re: [9fans] Installation CD Problems

2009-01-31 Thread erik quanstrom
 I've been trying to install Plan 9 on my most
 used computer here, but the install CD I've
 made has been giving me problems
 (I've used Nero on Windows to create it):
 when I try to boot into the Live CD, at
 a very early stage (actually, just after asking
 root is from), it reports I/O read error
 messages, and continually does so, unable
 to boot into the Live CD.
[...]
 And yet, the CD data is readable from a mount
 within Linux.

assuming that your linux test was on the same
machine, that certianly sounds like a bug.  could
you send me pci or lspci -nvv output.  i'm
wondering if you have an ahci chipset.  older
versions of the ahci driver / 9load driver have
some trouble with some newer ahci wrinkles, like
staggered spinup and advanced power management.  i
believe that i've gotten to the bottom of anothy's
problems reported in
http://9fans.net/archive/2009/01/370  i can work
with you offline.  the code's not ready let loose.

- erik




Re: [9fans] Installation CD Problems

2009-01-31 Thread blstuart
 so I immediately go into rc with `!rc' at the install
 rio window, and upon trying `mount /dev/sdC0/data',
 I again get the same I/O read error message, so
 it is unable to mount the data.
 
 And yet, the CD data is readable from a mount
 within Linux.

How is the CD drive installed?  /dev/sdC0 seems
definitely wrong for the CD.  If it's the master on
a second IDE controller (the most common case),
you want /dev/sdD0.  If it's the slave on the first
controller, you want /dev/sdC1.

BLS




Re: [9fans] Installation CD Problems

2009-01-31 Thread Akshat Kumar
 How is the CD drive installed?  /dev/sdC0 seems

I might have forgotten what it was. I'll check soon
and get back to you on that.

 BLS

Thanks,
ak



Re: [9fans] Installation CD Problems

2009-01-31 Thread Akshat Kumar
lspci -nvv  lspci.out
attached

Thanks,
ak


lspci.out
Description: Binary data


Re: [9fans] Installation CD Problems

2009-01-31 Thread erik quanstrom
 How is the CD drive installed?  /dev/sdC0 seems
 definitely wrong for the CD.  If it's the master on
 a second IDE controller (the most common case),
 you want /dev/sdD0.  If it's the slave on the first
 controller, you want /dev/sdC1.

great point.

i don't think there's any problem with running a cdrom
as ide0 device 0.  but iirc, the plan 9 installer is particular
about where the cdrom is installed.  the last time i tried
sdE0 (ide interface) was not an acceptable location.

if someone's itching for a project, the installer could use
a little touch up.  

- erik



Re: [9fans] Installation CD Problems

2009-01-31 Thread Pietro Gagliardi

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Jan 31, 2009, at 5:33 PM, erik quanstrom wrote:


if someone's itching for a project, the installer could use
a little touch up.


The program to detect where to install from, /sys/lib/dist/pc/inst/ 
mountdist, is good. The only problem seems to be with the plan9.ini  
file, /sys/lib/dist/pc/plan9.ini.cd, which specifically asks to boot  
from /dev/sdD0. Unless there is a better way to specify the device  
where plan9.ini was found, say $inidev? That would require some  
modifications to the plan9.ini parser, am I right?


However, Akshat also said

On Jan 31, 2009, at 1:52 PM, Akshat Kumar wrote:


However, booting into just the Install goes OK


but the plan9.ini.cd behaves the same way in Install as in Boot Live.  
Unless there's something I'm missing...


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkmE1bAACgkQuv7AVNQDs+wS5gCfXAiX0cvYh66avVFuCQ1kwdhx
BTEAnA7acRmK+X/F5kw435BQVUeSbC/f
=zOym
-END PGP SIGNATURE-



Re: [9fans] Installation CD Problems

2009-01-31 Thread erik quanstrom
  if someone's itching for a project, the installer could use
  a little touch up.
 
 The program to detect where to install from, /sys/lib/dist/pc/inst/ 
 mountdist, is good. The only problem seems to be with the plan9.ini  
 file, /sys/lib/dist/pc/plan9.ini.cd, which specifically asks to boot  
 from /dev/sdD0. Unless there is a better way to specify the device  
 where plan9.ini was found, say $inidev? That would require some  
 modifications to the plan9.ini parser, am I right?

i have made this modification.  /n/sources/contrib/quanstro/src/9loadaoe.
look for bootdev in load.c

unfortunately, this technique will not work when booting from a cd
because an el torito cd uses a fakey-fakey floppy image to boot from.
as far as the installer is concerned, it's booting from a floppy disk.

i also think there's a few other places where assumptions are made.
maybe i'm wrong.  it's been a long time since i fought with the installer.

and that time i lost. :-)

- erik



Re: [9fans] Installation CD Problems

2009-01-31 Thread Akshat Kumar
OK, so I'm just getting caught up on the
replies here so far.

As far as /dev/sdC0 goes -- BLS is right,
it was really /dev/sdD0, and I remembered
incorrectly. That is, the CD ROM Drive is,
indeed, second IDE master.



Re: [9fans] Installation CD Problems

2009-01-31 Thread lucio
 The only problem seems to be with the plan9.ini  
 file, /sys/lib/dist/pc/plan9.ini.cd, which specifically asks to boot  
 from /dev/sdD0

If I understand the handling of the bootfile and bootargs, multiple
entries for most variables cause a menu prompt.  But that does not
apply here, you're referring to the second option, the first,
[install], boots off the floppy.  Where is the plan9.ini that the
floppy consults?

++L