Subject: boot from disk (1.5)
To: None <port-cobalt@netbsd.org>
From: None <thh@marketchannel.tv>
List: port-cobalt
Date: 12/18/2000 14:15:20
This is a multipart message in MIME format.
--=_alternative 007A73C1882569B9_=
Content-Type: text/plain; charset="us-ascii"
It's booting! I've got my Qube to netboot , now I'm trying to get it to
boot from disk. I'm sure I've mangled the disk setup.
What steps do I take to make it boot from disk? It's different than the
i386 boot, right?
Here's the message:
BOOTLOADER ramcode: selected partition /dev/hda1
Decompressing done
Executing bootloader kernel...
Jump_to_Real_Kernel: disk error, trying BFD again
BOOTLOADER ramcode: selected partition /dev/hdc1
Decompressing - done
Executing bootloader kernel...
Jump_to_Real_Kernel: disk error, trying BFD again
get_root_dev: nr_boot_failures 0x00000002 exceeds maxtries 0x00000002 for
boot_i
ndex 0x00000000-
*** halting ***
---------------------------------------------------------------------------
Partition table:
e 0: sysid 131 (Linux native)
start 1, size 614879 (300 MB), flag 0x0
beg: cylinder 0, head 0, sector 2
end: cylinder 609, head 15, sector 63
f 1: sysid 130 (Linux swap or Prime or Solaris)
start 614880, size 263088 (128 MB), flag 0x0
beg: cylinder 610, head 0, sector 1
end: cylinder 870, head 15, sector 63
g 2: sysid 131 (Linux native)
start 877968, size 410256 (200 MB), flag 0x0
beg: cylinder 871, head 0, sector 1
end: cylinder 1023, head 15, sector 63
h 3: sysid 131 (Linux native)
start 1288224, size 24141600 (11787 MB), flag 0x80
beg: cylinder 1023, head 15, sector 63
end: cylinder 1023, head 15, sector 63
8 partitions:
# size offset fstype [fsize bsize cpg]
d: 25429824 0 unused 0 0 # (Cyl.
0 - 25227)
e 614879 1 4.2BSD 1024 8192 16 # (Cyl. 0*-
609)
f: 263088 614880 swap # (Cyl. 610 -
870)
g: 410256 877968 4.2BSD 1024 8192 16 # (Cyl. 871 -
1277)
h: 24141600 1288224 4.2BSD 1024 8192 16 # (Cyl.
1278 - 25227)
-------------------------------------------------------------------------------------------------
DMESG:
NetBSD 1.5 (GENERIC) #0: Fri Nov 17 14:24:20 CET 2000
soren@raq:/usr/1-5-release/src/sys/arch/cobalt/compile/GENERIC
65536 KB memory, 58720 KB free, 3376 KB in 844 buffers
mainbus0 (root)
com0 at mainbus0 addr 0x1c800000 level 3: st16650a, working fifo
com0: console
cpu0 at mainbus0: QED RM5200 CPU (0x28a0) Rev. 10.0 with built-in FPU Rev.
10.0
cpu0: L1 cache: 32KB/32B instruction, 32KB/32B data, two way set
associative
cpu0: No L2 cache
gt0 at mainbus0 addr 0x14000000
pci0 at gt0
pci0: i/o space, memory space enabled, rd/line, wr/inv ok
pchb0 at pci0 dev 0 function 0: Galileo GT-64111 System Controller, rev 1
tlp0 at pci0 dev 7 function 0: DECchip 21143 Ethernet, pass 4.1
tlp0: interrupting at level 1
tlp0: Ethernet address 00:10:e0:00:aa:7b
lxtphy0 at tlp0 phy 1: LXT970 10/100 media interface, rev. 3
lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib0 at pci0 dev 9 function 0
pcib0: VIA Technologies VT82C586 (Apollo VP) PCI-ISA Bridge, rev 39
pciide0 at pci0 dev 9 function 1: VIA Tech VT82C586A IDE Controller (rev.
0x06)
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
wd0 at pciide0 channel 0 drive 0: <QUANTUM FIREBALL CR13.0A>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 12416 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 25429824
sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data
transfers)
pciide0: secondary channel configured to compatibility mode
pciide0: disabling secondary channel (no drives)
VIA Technologies VT83C572 USB Controller (USB serial bus, revision 0x02)
at pci0
dev 9 function 2 not configured
tlp1 at pci0 dev 12 function 0: DECchip 21143 Ethernet, pass 4.1
tlp1: interrupting at level 2
tlp1: Ethernet address 00:10:e0:00:aa:9f
lxtphy1 at tlp1 phy 1: LXT970 10/100 media interface, rev. 3
lxtphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
boot device: wd0
root on wd0a dumps on wd0b
no file system for wd0 (dev 0x600)
cannot mount root, error = 79
root device (default wd0a): wdo\^H \^H0h
dump device (default wd0b):
file system (default generic): ffs
root on wd0h dumps on wd0b
--------------------------------------------------------
tharris@marketchannel.tv
1 877 MKT CHAN office
1 877 780 2468 pager
1 310 649 6161 fax
--=_alternative 007A73C1882569B9_=
Content-Type: text/html; charset="us-ascii"
<br><font size=2 face="sans-serif">It's booting! I've got my Qube to netboot , now I'm trying to get it to boot from disk. I'm sure I've mangled the disk setup.</font>
<br><font size=2 face="sans-serif">What steps do I take to make it boot from disk? It's different than the i386 boot, right?</font>
<br>
<br><font size=2 face="sans-serif">Here's the message:</font>
<br>
<br><font size=2 face="sans-serif">BOOTLOADER ramcode: selected partition /dev/hda1</font>
<br><font size=2 face="sans-serif">Decompressing done</font>
<br><font size=2 face="sans-serif">Executing bootloader kernel...</font>
<br><font size=2 face="sans-serif">Jump_to_Real_Kernel: disk error, trying BFD again</font>
<br><font size=2 face="sans-serif">BOOTLOADER ramcode: selected partition /dev/hdc1</font>
<br><font size=2 face="sans-serif">Decompressing - done</font>
<br><font size=2 face="sans-serif">Executing bootloader kernel...</font>
<br><font size=2 face="sans-serif">Jump_to_Real_Kernel: disk error, trying BFD again</font>
<br><font size=2 face="sans-serif">get_root_dev: nr_boot_failures 0x00000002 exceeds maxtries 0x00000002 for boot_i</font>
<br><font size=2 face="sans-serif">ndex 0x00000000-</font>
<br>
<br>
<br><font size=2 face="sans-serif"> *** halting ***</font>
<br>
<br><font size=2 face="sans-serif">---------------------------------------------------------------------------</font>
<br><font size=2 face="sans-serif">Partition table:</font>
<br><font size=2 face="sans-serif">e 0: sysid 131 (Linux native)</font>
<br><font size=2 face="sans-serif"> start 1, size 614879 (300 MB), flag 0x0</font>
<br><font size=2 face="sans-serif"> beg: cylinder 0, head 0, sector 2</font>
<br><font size=2 face="sans-serif"> end: cylinder 609, head 15, sector 63</font>
<br><font size=2 face="sans-serif">f 1: sysid 130 (Linux swap or Prime or Solaris)</font>
<br><font size=2 face="sans-serif"> start 614880, size 263088 (128 MB), flag 0x0</font>
<br><font size=2 face="sans-serif"> beg: cylinder 610, head 0, sector 1</font>
<br><font size=2 face="sans-serif"> end: cylinder 870, head 15, sector 63</font>
<br><font size=2 face="sans-serif">g 2: sysid 131 (Linux native)</font>
<br><font size=2 face="sans-serif"> start 877968, size 410256 (200 MB), flag 0x0</font>
<br><font size=2 face="sans-serif"> beg: cylinder 871, head 0, sector 1</font>
<br><font size=2 face="sans-serif"> end: cylinder 1023, head 15, sector 63</font>
<br><font size=2 face="sans-serif">h 3: sysid 131 (Linux native)</font>
<br><font size=2 face="sans-serif"> start 1288224, size 24141600 (11787 MB), flag 0x80</font>
<br><font size=2 face="sans-serif"> beg: cylinder 1023, head 15, sector 63</font>
<br><font size=2 face="sans-serif"> end: cylinder 1023, head 15, sector 63</font>
<br>
<br><font size=2 face="sans-serif"> 8 partitions:</font>
<br><font size=2 face="sans-serif"># size offset fstype [fsize bsize cpg]</font>
<br><font size=2 face="sans-serif"> d: 25429824 0 unused 0 0 # (Cyl. 0 - 25227)</font>
<br><font size=2 face="sans-serif"> e 614879 1 4.2BSD 1024 8192 16 # (Cyl. 0*- 609)</font>
<br><font size=2 face="sans-serif"> f: 263088 614880 swap # (Cyl. 610 - 870)</font>
<br><font size=2 face="sans-serif"> g: 410256 877968 4.2BSD 1024 8192 16 # (Cyl. 871 - 1277)</font>
<br><font size=2 face="sans-serif"> h: 24141600 1288224 4.2BSD 1024 8192 16 # (Cyl. 1278 - 25227)</font>
<br><font size=2 face="sans-serif">-------------------------------------------------------------------------------------------------</font>
<br>
<br><font size=2 face="sans-serif">DMESG:</font>
<br>
<br><font size=2 face="sans-serif">NetBSD 1.5 (GENERIC) #0: Fri Nov 17 14:24:20 CET 2000</font>
<br><font size=2 face="sans-serif"> soren@raq:/usr/1-5-release/src/sys/arch/cobalt/compile/GENERIC</font>
<br><font size=2 face="sans-serif">65536 KB memory, 58720 KB free, 3376 KB in 844 buffers</font>
<br><font size=2 face="sans-serif">mainbus0 (root)</font>
<br><font size=2 face="sans-serif">com0 at mainbus0 addr 0x1c800000 level 3: st16650a, working fifo</font>
<br><font size=2 face="sans-serif">com0: console</font>
<br><font size=2 face="sans-serif">cpu0 at mainbus0: QED RM5200 CPU (0x28a0) Rev. 10.0 with built-in FPU Rev. 10.0</font>
<br><font size=2 face="sans-serif">cpu0: L1 cache: 32KB/32B instruction, 32KB/32B data, two way set associative</font>
<br><font size=2 face="sans-serif">cpu0: No L2 cache</font>
<br><font size=2 face="sans-serif">gt0 at mainbus0 addr 0x14000000</font>
<br><font size=2 face="sans-serif">pci0 at gt0</font>
<br><font size=2 face="sans-serif">pci0: i/o space, memory space enabled, rd/line, wr/inv ok</font>
<br><font size=2 face="sans-serif">pchb0 at pci0 dev 0 function 0: Galileo GT-64111 System Controller, rev 1</font>
<br><font size=2 face="sans-serif">tlp0 at pci0 dev 7 function 0: DECchip 21143 Ethernet, pass 4.1</font>
<br><font size=2 face="sans-serif">tlp0: interrupting at level 1</font>
<br><font size=2 face="sans-serif">tlp0: Ethernet address 00:10:e0:00:aa:7b</font>
<br><font size=2 face="sans-serif">lxtphy0 at tlp0 phy 1: LXT970 10/100 media interface, rev. 3</font>
<br><font size=2 face="sans-serif">lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto</font>
<br><font size=2 face="sans-serif">pcib0 at pci0 dev 9 function 0</font>
<br><font size=2 face="sans-serif">pcib0: VIA Technologies VT82C586 (Apollo VP) PCI-ISA Bridge, rev 39</font>
<br><font size=2 face="sans-serif">pciide0 at pci0 dev 9 function 1: VIA Tech VT82C586A IDE Controller (rev. 0x06)</font>
<br><font size=2 face="sans-serif">pciide0: bus-master DMA support present</font>
<br><font size=2 face="sans-serif">pciide0: primary channel configured to compatibility mode</font>
<br><font size=2 face="sans-serif">wd0 at pciide0 channel 0 drive 0: <QUANTUM FIREBALL CR13.0A></font>
<br><font size=2 face="sans-serif">wd0: drive supports 16-sector pio transfers, lba addressing</font>
<br><font size=2 face="sans-serif">wd0: 12416 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 25429824 sectors</font>
<br><font size=2 face="sans-serif">wd0: 32-bit data port</font>
<br><font size=2 face="sans-serif">wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4</font>
<br><font size=2 face="sans-serif">pciide0: primary channel interrupting at irq 14</font>
<br><font size=2 face="sans-serif">wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)</font>
<br><font size=2 face="sans-serif">pciide0: secondary channel configured to compatibility mode</font>
<br><font size=2 face="sans-serif">pciide0: disabling secondary channel (no drives)</font>
<br><font size=2 face="sans-serif">VIA Technologies VT83C572 USB Controller (USB serial bus, revision 0x02) at pci0</font>
<br><font size=2 face="sans-serif"> dev 9 function 2 not configured</font>
<br><font size=2 face="sans-serif">tlp1 at pci0 dev 12 function 0: DECchip 21143 Ethernet, pass 4.1</font>
<br><font size=2 face="sans-serif">tlp1: interrupting at level 2</font>
<br><font size=2 face="sans-serif">tlp1: Ethernet address 00:10:e0:00:aa:9f</font>
<br><font size=2 face="sans-serif">lxtphy1 at tlp1 phy 1: LXT970 10/100 media interface, rev. 3</font>
<br><font size=2 face="sans-serif">lxtphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto</font>
<br><font size=2 face="sans-serif">boot device: wd0</font>
<br><font size=2 face="sans-serif">root on wd0a dumps on wd0b</font>
<br><font size=2 face="sans-serif">no file system for wd0 (dev 0x600)</font>
<br><font size=2 face="sans-serif">cannot mount root, error = 79</font>
<br><font size=2 face="sans-serif">root device (default wd0a): wdo\^H \^H0h</font>
<br><font size=2 face="sans-serif">dump device (default wd0b):</font>
<br><font size=2 face="sans-serif">file system (default generic): ffs</font>
<br><font size=2 face="sans-serif">root on wd0h dumps on wd0b</font>
<br>
<br>
<br>
<br><font size=2 face="sans-serif">--------------------------------------------------------<br>
tharris@marketchannel.tv <br>
<br>
1 877 MKT CHAN office<br>
1 877 780 2468 pager <br>
1 310 649 6161 fax</font>
--=_alternative 007A73C1882569B9_=--