9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Reinstalled system won't boot
@ 2005-06-16  8:12 Adrian Tritschler
  2005-06-17  2:17 ` [9fans] Reinstalled system won't boot (2) Adrian Tritschler
  2005-06-22  5:32 ` [9fans] Reinstalled system still won't boot Adrian Tritschler
  0 siblings, 2 replies; 14+ messages in thread
From: Adrian Tritschler @ 2005-06-16  8:12 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Previously I had an IBM T21 laptop with a working 8G Plan9 installation 
on a KFS system.  Since I needed more space for the Windows partition, 
and wanted to convert the Plan9 system to fossil, I deleted the plan9 
partition, then booted off a recent (this month) install CD and created 
a 2.5G partition at the end of the disk.

Installation all went smoothly, partitions of 9fat, nvram, fossil and 
swap.  I selected "plan9" as the boot method and it replaced my MBR as 
expected.

Attempting to reboot gets to:
MBR...PBS...Plan 9 from Bell Labs
ELCR: 0800
apm ax=f000 cx=f000 dx=40 di=ffff ebx=43b3 esi=-1
dev A0 port 1F0 config 045A capabilities 0F00 mwdma 0007 udma 041F

and then hangs.  No combination of keystrokes I've tried seems to do 
anything.

Booting from a floppy disk worked _once_, then I managed to do something 
wrong while trying various "try this and try thats" from old 9fans and 
screw up booting completely.

I've booted off the install CD, deleted the plan9 partition, recreated 
it, reinstalled from the CD, and reselected the "plan9" boot.

Booting from the HD again gets me the above errors.

Booting from the floppy now gives the following:

1. sdC0!9fat!9pcf
2. sdC0!9fat!9pcf
3. none of the above
bootfile:

  When I select either of "1" or "2"

root is from (tcp, il, local)[local!#S/sdC0/fossil]:
user[none]: glenda
time...
fossil(#S/sdC0/fossil)...version...boot: couldn't bind $rootdir=/root/3e 
to root: '/root/3e' file does not exit
boot: second bind /: '/root/3e' file does not exist
panic: boot process died: unknown
dumpstack disabled
cpu0: exiting

Where to now?

	Adrian

---------------------------------------------------------------
Adrian Tritschler                          mailto:ajft@ajft.org
Latitude 38°S, Longitude 145°E, Altitude 50m,      Shoe size 44
---------------------------------------------------------------


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [9fans] Reinstalled system won't boot (2)
  2005-06-16  8:12 [9fans] Reinstalled system won't boot Adrian Tritschler
@ 2005-06-17  2:17 ` Adrian Tritschler
  2005-06-17  3:09   ` Boyd 'rounin' Roberts
  2005-06-22  5:32 ` [9fans] Reinstalled system still won't boot Adrian Tritschler
  1 sibling, 1 reply; 14+ messages in thread
From: Adrian Tritschler @ 2005-06-17  2:17 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Adrian Tritschler wrote:

dd is my friend.

Reinstalling from the CD seemed to see the existing plan9 partitions and
not rewrite 9fat or anything else.

Zeroing the entire partition and reinstalling, whilst crude, was quite
effective.

> Installation all went smoothly, partitions of 9fat, nvram, fossil and 
> swap.  I selected "plan9" as the boot method and it replaced my MBR as 
> expected.

Now I'm back to this.

I can boot from a floppy.

I've installed the MBR that seems to have worked for me in the past, I
can select to boot either from my WinXP or Plan9 partition.  Windows
still works, Plan 9 goes through the following and then hangs.

> MBR...PBS...Plan 9 from Bell Labs
> ELCR: 0800
> apm ax=f000 cx=f000 dx=40 di=ffff ebx=43b3 esi=-1
> dev A0 port 1F0 config 045A capabilities 0F00 mwdma 0007 udma 041F


Any suggestions on making the plan9 system boot from the harddisk?

	Adrian

---------------------------------------------------------------
Adrian Tritschler                          mailto:ajft@ajft.org
Latitude 38°S, Longitude 145°E, Altitude 50m,      Shoe size 44
---------------------------------------------------------------


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [9fans] Reinstalled system won't boot (2)
  2005-06-17  2:17 ` [9fans] Reinstalled system won't boot (2) Adrian Tritschler
@ 2005-06-17  3:09   ` Boyd 'rounin' Roberts
  2005-06-17 11:05     ` [9fans] " Tom Ivar Helbekkmo
  2005-06-17 12:51     ` [9fans] " jmk
  0 siblings, 2 replies; 14+ messages in thread
From: Boyd 'rounin' Roberts @ 2005-06-17  3:09 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> dd is my friend.

I remember the time we fixed a broken 32V file-system's /etc with a screwdriver, sticky tape, adb, dd and a magtape.
--
MGRS 31U DQ 52572 12604




^ permalink raw reply	[flat|nested] 14+ messages in thread

* [9fans] Re: Reinstalled system won't boot (2)
  2005-06-17  3:09   ` Boyd 'rounin' Roberts
@ 2005-06-17 11:05     ` Tom Ivar Helbekkmo
  2005-06-17 11:35       ` Alberto Rodriguez Galdo
  2005-06-18  2:25       ` Boyd 'rounin' Roberts
  2005-06-17 12:51     ` [9fans] " jmk
  1 sibling, 2 replies; 14+ messages in thread
From: Tom Ivar Helbekkmo @ 2005-06-17 11:05 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

"Boyd 'rounin' Roberts" <boyd@insultant.net> writes:

> I remember the time we fixed a broken 32V file-system's /etc with a
> screwdriver, sticky tape, adb, dd and a magtape.

That sounds outrageous enough to be true...  Would you share the story?

-tih
-- 
Don't ascribe to stupidity what can be adequately explained by ignorance.


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [9fans] Re: Reinstalled system won't boot (2)
  2005-06-17 11:05     ` [9fans] " Tom Ivar Helbekkmo
@ 2005-06-17 11:35       ` Alberto Rodriguez Galdo
  2005-06-18  2:25       ` Boyd 'rounin' Roberts
  1 sibling, 0 replies; 14+ messages in thread
From: Alberto Rodriguez Galdo @ 2005-06-17 11:35 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> > I remember the time we fixed a broken 32V file-system's /etc with a
> > screwdriver, sticky tape, adb, dd and a magtape.
> 
> That sounds outrageous enough to be true...  Would you share the story?

Yesterday a "trusting" mate told me he solved hard disk's bad blocks
with a screw driver and som hits on the floor, but this seems far more
interesting...


-- 
Alberto Rodriguez Galdo
argaldo@gmail.com


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [9fans] Reinstalled system won't boot (2)
  2005-06-17  3:09   ` Boyd 'rounin' Roberts
  2005-06-17 11:05     ` [9fans] " Tom Ivar Helbekkmo
@ 2005-06-17 12:51     ` jmk
  1 sibling, 0 replies; 14+ messages in thread
From: jmk @ 2005-06-17 12:51 UTC (permalink / raw)
  To: 9fans

On Thu Jun 16 23:10:22 EDT 2005, boyd@insultant.net wrote:
> > dd is my friend.
> 
> I remember the time we fixed a broken 32V file-system's /etc with a screwdriver, sticky tape, adb, dd and a magtape.
> --
> MGRS 31U DQ 52572 12604

You had a screwdriver?


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [9fans] Re: Reinstalled system won't boot (2)
  2005-06-17 11:05     ` [9fans] " Tom Ivar Helbekkmo
  2005-06-17 11:35       ` Alberto Rodriguez Galdo
@ 2005-06-18  2:25       ` Boyd 'rounin' Roberts
  1 sibling, 0 replies; 14+ messages in thread
From: Boyd 'rounin' Roberts @ 2005-06-18  2:25 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> That sounds outrageous enough to be true...  Would you share the story?

well, i had just coded autoreboot into 32V and my office mate [John Mackin]
booted the new kernel with the old init.  that crashed and burned.  so we
resorted to the stand alone stuff in /stand.  trouble was that stand alone
fsdb was broken in such a way that you couldn't just nominate an inode
to look at.  we were going to binary chop till we found /etc -- no chance.

so we found a screwdriver [jmk: the tool, not the drink, but i sure could
have slammed down a few at that point] and tape to tape it down on the
LA-120's return key and waited ...  it took a long time [hours].  we'd
found that return would scroll you on to the next inode.  iirc the tape
became unstuck serveral times and we had to restart.

once we had found /etc's inode we found the inode numbers for the
inits.  we then stand alone dd'd the first block of /etc onto a 9 track,
mounted on a TU-16.

having another 11/780 with a 9 track we dd'd off the block, poked
around with adb -w and patched /etc/init's inode # to be the new init.
dd'd that block back onto the tape and dd'd it off onto the broken
vax.

booted it up and everything was fine.

john had assumed that the old init would work with the new kernel.
i was going to swap inits & kernels and boot sometime during the
early morning, but he beat me to it.

we had plans with removable RM-03 packs and other plans
that were just not going to work.  it was sporty.  some 128 of the
2000 students were not going to be happy, not to mention the
lecturing staff.

john mackin: http://www.std.org/~shand/jjm
--
MGRS 31U DQ 52572 12604




^ permalink raw reply	[flat|nested] 14+ messages in thread

* [9fans] Reinstalled system still won't boot
  2005-06-16  8:12 [9fans] Reinstalled system won't boot Adrian Tritschler
  2005-06-17  2:17 ` [9fans] Reinstalled system won't boot (2) Adrian Tritschler
@ 2005-06-22  5:32 ` Adrian Tritschler
  2005-06-22  9:09   ` Richard Miller
  2005-06-25 16:22   ` McLone
  1 sibling, 2 replies; 14+ messages in thread
From: Adrian Tritschler @ 2005-06-22  5:32 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Apart from various tales of repairing hard disks with string and chewing 
gum, does anyone have any suggestions on what to do next when a fossil 
installation on an IBM T21 can be booted from floppy disk, but hangs 
when attempting to boot from the harddisk.

Windows XP (16G partition 1) still works, Plan 9(3G partition 2) goes 
through the following and then hangs.

 > MBR...PBS...Plan 9 from Bell Labs
 > ELCR: 0800
 > apm ax=f000 cx=f000 dx=40 di=ffff ebx=43b3 esi=-1
 > dev A0 port 1F0 config 045A capabilities 0F00 mwdma 0007 udma 041F

locks up here and will only respond to the power switch.

Any suggestions on making the plan9 system boot from the harddisk?

     Adrian

---------------------------------------------------------------
Adrian Tritschler                          mailto:ajft@ajft.org
Latitude 38°S, Longitude 145°E, Altitude 50m,      Shoe size 44
---------------------------------------------------------------


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [9fans] Reinstalled system still won't boot
  2005-06-22  5:32 ` [9fans] Reinstalled system still won't boot Adrian Tritschler
@ 2005-06-22  9:09   ` Richard Miller
  2005-06-23  3:15     ` Adrian Tritschler
  2005-06-25 16:22   ` McLone
  1 sibling, 1 reply; 14+ messages in thread
From: Richard Miller @ 2005-06-22  9:09 UTC (permalink / raw)
  To: 9fans

> Any suggestions on making the plan9 system boot from the harddisk?

Does the disk have a DOS or 9fat partition holding a plan9.ini file?

-- Richard



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [9fans] Reinstalled system still won't boot
  2005-06-22  9:09   ` Richard Miller
@ 2005-06-23  3:15     ` Adrian Tritschler
  2005-06-24  7:53       ` Richard Miller
  0 siblings, 1 reply; 14+ messages in thread
From: Adrian Tritschler @ 2005-06-23  3:15 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Richard Miller wrote:
>>Any suggestions on making the plan9 system boot from the harddisk?

> Does the disk have a DOS or 9fat partition holding a plan9.ini file?

It has the partitions that the install CD offered to create, in the size 
and order that it created them.  There's a 16G NTFS and a 3G plan9 
partition, with the plan9 partition divided up to include 9fat.

term% disk/fdisk -p /dev/sdC0/data
part ntfs 63 33264000
part plan9 33264000 39070080

term% disk/prep -p /dev/sdC0/plan9
part 9fat 33264000 33468800
part nvram 33468800 33468801
part fossil 33468801 38021504
part swap 38021504 39070080

Booting off the floppy it states that it is using the plan9.ini from the 
9fat subpartition, and then the fossil system.

 >using sdC0!9fat!plan9.ini
 >found 9PCF    .    attr 0x0 start 0x4f9 len 2383465
  :
 >root is from (tcp, il, local)[local!#S/sdC0/fossil]:

> -- Richard

---------------------------------------------------------------
Adrian Tritschler                          mailto:ajft@ajft.org
Latitude 38°S, Longitude 145°E, Altitude 50m,      Shoe size 44
---------------------------------------------------------------


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [9fans] Reinstalled system still won't boot
  2005-06-23  3:15     ` Adrian Tritschler
@ 2005-06-24  7:53       ` Richard Miller
  2005-06-27  0:09         ` Adrian Tritschler
  0 siblings, 1 reply; 14+ messages in thread
From: Richard Miller @ 2005-06-24  7:53 UTC (permalink / raw)
  To: 9fans

>> Does the disk have a DOS or 9fat partition holding a plan9.ini file?
> 
> It has the partitions that the install CD offered to create, in the size 
> and order that it created them.

It looks to me as if the 9fat partition is not being found by the
9load on your hard drive.  Is it identical to the 9load on the
floppy which boots successfully?  Can you build a 9load with
debugging output turned on (e.g. trace in part.c, parttrace
in devsd.c and chatty in dosboot.c), put that on 9fat and try
to boot with it?

-- Richard



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [9fans] Reinstalled system still won't boot
  2005-06-22  5:32 ` [9fans] Reinstalled system still won't boot Adrian Tritschler
  2005-06-22  9:09   ` Richard Miller
@ 2005-06-25 16:22   ` McLone
  1 sibling, 0 replies; 14+ messages in thread
From: McLone @ 2005-06-25 16:22 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On 6/22/05, Adrian Tritschler <ajft@ajft.org> wrote:
> installation on an IBM T21 can be booted from floppy disk, but hangs
...
> Windows XP (16G partition 1) still works
I've seen Acer Aspire 1350 (Athlon, ATI mobile Radeon, VIA chipset IIRC)
which won't boot almost any OS excluding WinXP SP1 and FreeBSD 5.2+.
I've tried Win9x, DOS, Linux 2.4.?, OpenBSD 3.5, Win2k to no avail.
Win2k/WinXP no SP installers pops up a nice BSOD,
and DOS/Win9x just hangs, when it tries to access HD
(30gb, primary and single on 1st IDE bus).

I've also tried different BIOSes, doesn't help. ACPI seems to work OK tho.

So, it _seems_ to me, like Acer forces their clients to use WinXP?
-- 
* BSOD = Blue Screen Of Death, stating IRQ_NOT_LESS_OR_EQUAL afaicr
-- 
wbr,                        |\      _,,,---,,_           dog bless ya!
`                       Zzz /,`.-'`'    -.  ;-;;,_
McLone at GMail dot com    |,4-  ) )-,_. ,\ (  `'-'
  net- and *BSD admin     '---''(_/--'  `-'\_)   ...sorry for translit


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [9fans] Reinstalled system still won't boot
  2005-06-24  7:53       ` Richard Miller
@ 2005-06-27  0:09         ` Adrian Tritschler
  2005-06-27  5:06           ` Lucio De Re
  0 siblings, 1 reply; 14+ messages in thread
From: Adrian Tritschler @ 2005-06-27  0:09 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Richard Miller wrote:
>>>Does the disk have a DOS or 9fat partition holding a plan9.ini file?
>>
>>It has the partitions that the install CD offered to create, in the size 
>>and order that it created them.
> 
> 
> It looks to me as if the 9fat partition is not being found by the
> 9load on your hard drive.  Is it identical to the 9load on the
> floppy which boots successfully?  Can you build a 9load with
> debugging output turned on (e.g. trace in part.c, parttrace
> in devsd.c and chatty in dosboot.c), put that on 9fat and try
> to boot with it?

Thanks for that.

I copied the 9load from the very old floppy (15-Feb-2002) to /n/9fat and 
now I can boot the system from the hard disk.  Maybe "in the future" 
I'll dig around and try to find why the recent 9load won't load on this 
system.

For anyone interested:

Booting is now via WinXP's boot manager, the NTFS partition is marked as 
active, the C:\BOOT.INI contains a line to include "C:\Bootsect.p9" in 
the start menu.

> -- Richard

---------------------------------------------------------------
Adrian Tritschler                          mailto:ajft@ajft.org
Latitude 38°S, Longitude 145°E, Altitude 50m,      Shoe size 44
---------------------------------------------------------------


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [9fans] Reinstalled system still won't boot
  2005-06-27  0:09         ` Adrian Tritschler
@ 2005-06-27  5:06           ` Lucio De Re
  0 siblings, 0 replies; 14+ messages in thread
From: Lucio De Re @ 2005-06-27  5:06 UTC (permalink / raw)
  To: 9fans

> I copied the 9load from the very old floppy (15-Feb-2002) to /n/9fat and 
> now I can boot the system from the hard disk.  Maybe "in the future" 
> I'll dig around and try to find why the recent 9load won't load on this 
> system.

9load is certainly getting flakier in its dotage.  I can't recall the
details, but I certainly have a 9load-triggered boot problem of my own
that I'm hoping to explore and fix soon.

++L



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2005-06-27  5:06 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-16  8:12 [9fans] Reinstalled system won't boot Adrian Tritschler
2005-06-17  2:17 ` [9fans] Reinstalled system won't boot (2) Adrian Tritschler
2005-06-17  3:09   ` Boyd 'rounin' Roberts
2005-06-17 11:05     ` [9fans] " Tom Ivar Helbekkmo
2005-06-17 11:35       ` Alberto Rodriguez Galdo
2005-06-18  2:25       ` Boyd 'rounin' Roberts
2005-06-17 12:51     ` [9fans] " jmk
2005-06-22  5:32 ` [9fans] Reinstalled system still won't boot Adrian Tritschler
2005-06-22  9:09   ` Richard Miller
2005-06-23  3:15     ` Adrian Tritschler
2005-06-24  7:53       ` Richard Miller
2005-06-27  0:09         ` Adrian Tritschler
2005-06-27  5:06           ` Lucio De Re
2005-06-25 16:22   ` McLone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).