View previous topic :: View next topic |
Author |
Message |
gerrit_hoekstra n00b
Joined: 05 Jun 2007 Posts: 9 Location: In a forest in the UK
|
Posted: Tue Jun 05, 2007 8:51 pm Post subject: Ultra5 Boot Blues |
|
|
I see that some folks have managed to install Gentoo and run it on an Ultra5/10 - I have come unstuck at the very last hurdle after an otherwise perfect 2007.0 SPARC install, but after rebooting the machine I get:
Code: | Console: switching to colour frame buffer device 160x64
atyfb: fb0: ATY Mach64 frame buffer device on PCI
/pci@1fb,0/pci@1,1/ebus@1/su@14,3883f8:Keyboard port at 1fff13883f3m irq 6
/pci@1fb,0/pci@1,1/ebus@1/su@14,3883f8:Mouse port at 1fff13883f3m irq 7
sunhme.c:v3.00 June 23, 2006 Davis S. Miller (davem@davemloft.net)
eth0: HAPPY MEAL (PCI/CheerIO) 10/100BaseT Ethernet 08:00:20:a0:0f:8e
UNiform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
rtc_sun_init: Registered Mostek RTC driver.
mice: PS/2 mouse device common for all mice
input: Sun Type 5 keyboard as /class/input/input0
input: Sun Mouse as /class/input/input1
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
VFS: Cannot open root device "hda1" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
<0>Press Stop-A (L1-A) to return to the boot prom
_
|
This is my SILO config:
Code: | partition = 1
root = /dev/hda1
timeout = 100
append="ide=nodma"
image = /boot/kernel-2.6.20-gentoo-r8
label = linux |
My disks are partitioned as follows:
Code: | # fdisk /dev/hda -l
Disk /dev/hda (Sun disk label): 255 heads, 63 sectors, 19455 cylinders
Units = cylinders of 16065 * 512 bytes
Device Flag Start End Blocks Id System
/dev/hda1 0 122 979965 83 Linux native
/dev/hda2 u 122 244 979965 82 Linux swap
/dev/hda3 0 19455 156272287+ 5 Whole disk
/dev/hda4 244 3891 29294527+ 83 Linux native
/dev/hda5 3891 5715 14651280 83 Linux native
/dev/hda6 5715 9362 29294527+ 83 Linux native
/dev/hda7 9362 19455 81072022+ 83 Linux native |
Oh, and here is my fstab:
Code: | /dev/hda1 / ext2 noatime 0 1
/dev/hda2 none swap sw 0 0
/dev/hda4 /usr ext3 noatime 0 2
/dev/hda5 /var ext3 noatime 0 2
/dev/hda6 /home ext3 noatime 0 2
/dev/hda7 /opt ext3 noatime 0 2
openprom /proc/openprom openpromfs defaults 0 0
/dev/cdrom /mnt/cdrom audo noauto,ro 0 0
proc /proc proc nosuid,nodev,noexec 0 0
shm /dev/shm tmpfs nosuid,nodev,noexec 0 0 |
It smells like there is something amiss with my SILO config, but I have run out of possible avenues. Any advice on getting my beloved Ultra5 beastie (270MHz, 384MB, 160GB IDE disk) to boot would be appreciated, i.e. what does your working silo.conf look like? _________________ Ultra5-360 1GB Ram, Ultra5-333 380MB, Ultra10-440 192MB - all Gentoo Linux. And now loads of Raspberry PIs!
Remember Kids, it's always fun until someone gets hurt. Then it's utterly hilarious! |
|
Back to top |
|
|
gust4voz Retired Dev
Joined: 09 Sep 2003 Posts: 373 Location: Buenos Aires, Argentina
|
Posted: Tue Jun 05, 2007 9:01 pm Post subject: |
|
|
unknown-block.... that usually means you lack the hard-disk controller driver in your kernel... did you see it show up in the boot message by any chance? _________________ Gustavo Zacarias
Gentoo/SPARC monkey |
|
Back to top |
|
|
gerrit_hoekstra n00b
Joined: 05 Jun 2007 Posts: 9 Location: In a forest in the UK
|
Posted: Wed Jun 06, 2007 10:39 pm Post subject: |
|
|
The boot displayed this:
Code: | Boot device: /pci@1f,0/pci1,1/ide@3/disk@0,0:f File and args:
Silo Version 1.4.13
etc.. |
The IDE device that the Ultra5 uses is:
Code: | # lspci | grep IDE
01:03:0 IDE interface: Silicon Image, Inc. PCI0646 (rev 03) |
I have the following IDE-based parameters set in the kernel config:
Code: | CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_BLK_DEV_IDECD=y
. . .
CONFIG_ATA=y
CONFIG_PATA_SIL680=y |
A post of a 2.6.20 kernel config for an Ultra5/10 and a silo.conf from someone who has all this working would be appreciated. _________________ Ultra5-360 1GB Ram, Ultra5-333 380MB, Ultra10-440 192MB - all Gentoo Linux. And now loads of Raspberry PIs!
Remember Kids, it's always fun until someone gets hurt. Then it's utterly hilarious! |
|
Back to top |
|
|
gust4voz Retired Dev
Joined: 09 Sep 2003 Posts: 373 Location: Buenos Aires, Argentina
|
Posted: Thu Jun 07, 2007 12:53 pm Post subject: |
|
|
You've got a kernel config real handy in the installcd, and you want CONFIG_BLK_DEV_CMD64X=y
Please people, this thing crops up over and over again, please search the forums. _________________ Gustavo Zacarias
Gentoo/SPARC monkey |
|
Back to top |
|
|
gerrit_hoekstra n00b
Joined: 05 Jun 2007 Posts: 9 Location: In a forest in the UK
|
Posted: Sat Jun 09, 2007 11:27 pm Post subject: |
|
|
That sure did the trick. CONFIG_BLK_DEV_CMD64X was hidden under this kernel option:
Code: | <*> ATA/ATAPI/MFM/RLL Support
[*] PCI Chipset Support
<*> CMD64{3|6|89} |
I made the mistake of manually bunging this option into the .config file without the above "PCI Chipset Support" option set, which was subsequently completely obliterated (as in not even left as the commented line "# CONFIG_BLK_DEV_CMD64X is not set") in the .config file.
To summarize: To get my Ultra5 to boot off an IDE drive, my kernel options are:
Code: | CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_BLK_DEV_IDECD=y
CONFIG_IDE_GENERIC=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_IDEDMA_AUTO=y
...
CONFIG_BLK_DEV_CMD64X=y |
|
|
Back to top |
|
|
|
|
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
|
|