Re: Ultra 5 won't boot from HD after install

2003-05-05 Thread Noah Meyerhans
On Fri, May 02, 2003 at 07:47:09PM -0400, Ben Collins wrote:
 Are you sure that you have the disk setup as Master, and not cable
 select or something else weird.
 

Yup, entirely.

I found another IDE disk (6x the capacity!) and it works fine.  I don't
know what was wrong before.  I know the disk was jumpered properly.  It
was a weird ancient disk, so who knows.

Now, one more question, to which I should know the answer by now:  When
compiling the kernel in a default woody installation on this system, the
build fails because there is no sparc64-linux-gcc on the system.  I've
worked around that problem in the past by making that a symlink to
gcc-3.0.  What's the actual right thing to do?

noah

-- 
 ___
| Web: http://web.morgul.net/~frodo/
| PGP Public Key: http://web.morgul.net/~frodo/mail.html 


pgpy9Uahj24LO.pgp
Description: PGP signature


Ultra 5 won't boot from HD after install

2003-05-02 Thread Noah Meyerhans
Hi all.  I just installed potato on an Ultra 5 (will upgrade once it's
working, but that's all I had on CD) but the machine doesn't seem to
want to boot from the IDE hard drive.  It had no problem booting the
install CD and the installation seemed to go fine.  No errors were
reported when installing SILO.

Here's the output of my interaction with OpenBoot:
ok boot disk
Boot device: /[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED]/[EMAIL 
PROTECTED],0  File and args:

Can't open boot device

The partition table has a Linux partition first, occupying most of the
disk, followed by swap.  The 3rd partition is the entire disk in the
Sun disklable.

The disk in the machine is not the original Sun-supplied disk but is an
old 1.2 gig IDE disk.  The manual with hardware detected defaults
option when creating a sun disklabel in fdisk seemed to pick the right
values, according to the label on the disk, and as I said, there was no
sign of problems during the installation of the system or of SILO.

Any suggestions?

noah

-- 
 ___
| Web: http://web.morgul.net/~frodo/
| PGP Public Key: http://web.morgul.net/~frodo/mail.html 


pgpgsd6UTA0jh.pgp
Description: PGP signature


Re: Ultra 5 won't boot from HD after install

2003-05-02 Thread Ben Collins
On Fri, May 02, 2003 at 01:15:34PM -0400, Noah Meyerhans wrote:
 Hi all.  I just installed potato on an Ultra 5 (will upgrade once it's
 working, but that's all I had on CD) but the machine doesn't seem to
 want to boot from the IDE hard drive.  It had no problem booting the
 install CD and the installation seemed to go fine.  No errors were
 reported when installing SILO.
 
 Here's the output of my interaction with OpenBoot:
 ok boot disk
 Boot device: /[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL 
 PROTECTED]/[EMAIL PROTECTED],0  File and args:
 
 Can't open boot device
 
 The partition table has a Linux partition first, occupying most of the
 disk, followed by swap.  The 3rd partition is the entire disk in the
 Sun disklable.
 
 The disk in the machine is not the original Sun-supplied disk but is an
 old 1.2 gig IDE disk.  The manual with hardware detected defaults
 option when creating a sun disklabel in fdisk seemed to pick the right
 values, according to the label on the disk, and as I said, there was no
 sign of problems during the installation of the system or of SILO.

I'm only guessing but OBP doesn't seem to detect the device, atleast not
at the OBP address that the disk alias points to.

Try doing boot disk1 or boot disk2, boot disk3...

-- 
Debian - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
Deqo   - http://www.deqo.com/



Re: Ultra 5 won't boot from HD after install

2003-05-02 Thread Noah Meyerhans
On Fri, May 02, 2003 at 03:09:04PM -0400, Ben Collins wrote:
 I'm only guessing but OBP doesn't seem to detect the device, atleast not
 at the OBP address that the disk alias points to.
 
 Try doing boot disk1 or boot disk2, boot disk3...

That didn't work.

show-devs reveals, among a bunch of other non-disk things, a disk at
/[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED]/disk, which is the 
device that disk seems to be
pointing to (how do I view device aliases?).

I don't suppose there's some IDE equivalent to probe-scsi-all that I
need to run, or something like that, is there?

noah

-- 
 ___
| Web: http://web.morgul.net/~frodo/
| PGP Public Key: http://web.morgul.net/~frodo/mail.html 


pgphyYnflY4uL.pgp
Description: PGP signature


Re: Ultra 5 won't boot from HD after install

2003-05-02 Thread Ben Collins
On Fri, May 02, 2003 at 04:11:20PM -0400, Noah Meyerhans wrote:
 On Fri, May 02, 2003 at 03:09:04PM -0400, Ben Collins wrote:
  I'm only guessing but OBP doesn't seem to detect the device, atleast not
  at the OBP address that the disk alias points to.
  
  Try doing boot disk1 or boot disk2, boot disk3...
 
 That didn't work.
 
 show-devs reveals, among a bunch of other non-disk things, a disk at
 /[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED]/disk, which is the 
 device that disk seems to be
 pointing to (how do I view device aliases?).

Oddly enough, it's the devalias command :)

 I don't suppose there's some IDE equivalent to probe-scsi-all that I
 need to run, or something like that, is there?

Boot back to the install and switch to a the shell console (ALT+F2) and
use dmesg | more to see if you can find some info about your IDE. I
have an Ultra5 here working perfectly with a non-stock IDE drive, so I
know it works.

-- 
Debian - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
Deqo   - http://www.deqo.com/



Re: Ultra 5 won't boot from HD after install

2003-05-02 Thread Noah Meyerhans
On Fri, May 02, 2003 at 04:13:56PM -0400, Ben Collins wrote:
 Boot back to the install and switch to a the shell console (ALT+F2) and
 use dmesg | more to see if you can find some info about your IDE. I
 have an Ultra5 here working perfectly with a non-stock IDE drive, so I
 know it works.

Here's the boottime output when initializing the IDE busses:
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
CMD646: IDE controller on PCI bus 01 dev 18
CMD646: chipset revision 3
CMD646: chipset revision 0x03, MultiWord DMA Force Limited
CMD646: 100% native mode on irq 4,7e0
ide0: BM-DMA at 0x1fe02c00020-0x1fe02c00027, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0x1fe02c00028-0x1fe02c0002f, BIOS settings: hdc:pio, hdd:pio
hda: Conner Peripherals 1275MB - CFS1276A, ATA DISK drive
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
hdc: CRD-8322B, ATAPI CD/DVD-ROM drive
ide0 at 0x1fe02c0-0x1fe02c7,0x1fe02ca on irq 4,7e0
ide1 at 0x1fe02c00010-0x1fe02c00017,0x1fe02c0001a on irq 4,7e0 (shared with ide)
hda: 2502308 sectors (1281 MB), CHS=2482/16/63, DMA
hdc: ATAPI 32X CD-ROM drive, 128kB Cache
Uniform CD-ROM driver Revision: 3.12
Partition check:
 hda: hda1 hda2 hda3

The partition table looks like:
Disk /dev/hda (Sun disk label): 16 heads, 63 sectors, 2480 cylinders
Units = cylinders of 1008 * 512 bytes

   Device FlagStart   EndBlocks   Id  System
/dev/hda1 0  2379   1199016   83  Linux native
/dev/hda2  u   2379  2480 50904   82  Linux swap
/dev/hda3 0  2480   12499205  Whole disk


noah

-- 
 ___
| Web: http://web.morgul.net/~frodo/
| PGP Public Key: http://web.morgul.net/~frodo/mail.html 


pgp5fZaEbU0jD.pgp
Description: PGP signature


Re: Ultra 5 won't boot from HD after install

2003-05-02 Thread Noah Meyerhans
I have set up a tftp environment from which I can boot the installation
system on this machine.  What do I need to do to tftp a kernel to this
machine and boot it?  I obviously can't just send a kernel image to the
machine (I tried).  I can boot the tftpboot.img file with no troubles,
but of course that kicks me into the system installer.  I just want to
boot the actual installed system via tftp.

I've found the silotftp.b bootloader and used tftp to get it running,
but it can't seem to access the disk, either.  So it really seems like
I'll need to download the whole kernel.

Of course, even if I manage to do this, who knows if the machine will be
stable or not.  I'm starting to think there might be something wrong
with the PCI bus or the IDE controller.

noah

-- 
 ___
| Web: http://web.morgul.net/~frodo/
| PGP Public Key: http://web.morgul.net/~frodo/mail.html 


pgpkDyNYncWZM.pgp
Description: PGP signature


Re: Ultra 5 won't boot from HD after install

2003-05-02 Thread Ben Collins
On Fri, May 02, 2003 at 07:37:57PM -0400, Noah Meyerhans wrote:
 I have set up a tftp environment from which I can boot the installation
 system on this machine.  What do I need to do to tftp a kernel to this
 machine and boot it?  I obviously can't just send a kernel image to the
 machine (I tried).  I can boot the tftpboot.img file with no troubles,
 but of course that kicks me into the system installer.  I just want to
 boot the actual installed system via tftp.
 
 I've found the silotftp.b bootloader and used tftp to get it running,
 but it can't seem to access the disk, either.  So it really seems like
 I'll need to download the whole kernel.
 
 Of course, even if I manage to do this, who knows if the machine will be
 stable or not.  I'm starting to think there might be something wrong
 with the PCI bus or the IDE controller.

Are you sure that you have the disk setup as Master, and not cable
select or something else weird.

-- 
Debian - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
Deqo   - http://www.deqo.com/