Subject: problem w/ booting off RaQ2
To: None <port-cobalt@netbsd.org>
From: Thang T. Mai <thang@unixcircle.org>
List: port-cobalt
Date: 04/17/2002 13:42:03
Greetings,

I'm having problem w/ booting off NetBSD on my RaQ2.
Below are output from fdisk and disklabel.  

Many thanks in advance!


# df
Filesystem            512-blocks     Used    Avail Capacity  Mounted on
192.168.7.44:/nfsroot   26265952  3605688 21326032    14%    /

# fdisk wd0
NetBSD disklabel disk geometry:
cylinders: 13330 heads: 15 sectors/track: 63 (945 sectors/cylinder)

BIOS disk geometry:
cylinders: 13330 heads: 15 sectors/track: 63 (945 sectors/cylinder)

Partition table:
0: sysid 131 (Linux native)
    start 1, size 1024379 (500 MB), flag 0x0
        beg: cylinder    0, head   0, sector  2
        end: cylinder 1023, head  14, sector 63
1: sysid 130 (Linux swap or Prime or Solaris)
    start 1024380, size 262710 (128 MB), flag 0x0
        beg: cylinder 1023, head  14, sector 63
        end: cylinder 1023, head  14, sector 63
2: sysid 131 (Linux native)
    start 1287090, size 410130 (200 MB), flag 0x0
        beg: cylinder 1023, head  14, sector 63
        end: cylinder 1023, head  14, sector 63
3: sysid 169 (NetBSD)
    start 1697220, size 10899630 (5322 MB), flag 0x0
        beg: cylinder  772, head   0, sector  1
        end: cylinder   17, head  14, sector 63

# 
# disklabel wd0
# /dev/rwd0d:
type: ESDI
disk: ST36421A        
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 15
sectors/cylinder: 945
cylinders: 13330
total sectors: 12596850
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0 

8 partitions:
#        size   offset     fstype   [fsize bsize cpg/sgs]
  a: 10899630  1697220     4.2BSD     1024  8192    16   # (Cyl. 1796 - 
13329)
  d: 12596850        0     unused        0     0         # (Cyl.    0 - 
13329)
  e:  1024379        1 Linux Ext2        0     0         # (Cyl.    0*- 
1083)
  f:   262710  1024380       swap                        # (Cyl. 1084 - 
1361)
  g:   410130  1287090 Linux Ext2        0     0         # (Cyl. 1362 - 
1795)
# 


...

wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 6150 MB, 13330 cyl, 15 head, 63 sec, 512 bytes/sect x 12596850 
sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
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:8c:d3
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
root file system type: ext2fs
warning: lookup /dev/console: error 20
exec /sbin/init: error 20
exec /sbin/oinit: error 20
exec /sbin/init.bak: error 20
init: not found
panic: no init
Stopped in init at      0x80121544:     jr      ra
                bdslot: 0x80121548:     nop
db>