Subject: Re: First Reboot after installation hangs on root file system type:
To: None <port-alpha@NetBSD.org>
From: Emmanuel Ka <kdev@no-log.org>
List: port-alpha
Date: 10/06/2005 11:14:45
Hello
As I know from BSD, the default root file system is hardcoded into the 
kernel.
Is it possible to indicate another one at the boot prompt, so I can copy 
the INSTALL kernel on the root partition, tell this kernel to use 
/dev/wd0a  and use that in the meantime ?
Sorry for the first dmesg posted, it looked something went wrong with 
cut and paste.
Manu

Here follows a correct one :

 >>>boot dqa1
(boot dqa1.1.0.13.0 -flags 0,0)
block 0 of dqa1.1.0.13.0 is a valid boot block
reading 14 blocks from dqa1.1.0.13.0
bootstrap code read in
base = 200000, image_start = 0, image_bytes = 1c00
initializing HWRPB at 2000
initializing page table at 1ff52000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code

NetBSD/alpha 2.0.2 FFS Primary Bootstrap
|/-\|/-\|/-\Jumping to entry point...

NetBSD/alpha 2.0.2 Secondary Bootstrap, Revision 1.13
(builds@works.netbsd.org, Tue Mar 22 03:21:07 UTC 2005)

VMS PAL rev: 0x1003b00010145
OSF PAL rev: 0x100360002013e
Switch to OSF PAL code succeeded.

Boot flags: 0,0

Entering netbsd at 0xfffffc00003012e0...
Unrecognized boot flag '0'.
Unrecognized boot flag ','.
Unrecognized boot flag '0'.
consinit: not using prom console
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 2.0.2 (GENERIC) #0: Tue Mar 22 03:47:43 UTC 2005
    
builds@works.netbsd.org:/home/builds/ab/netbsd-2-0-2-RELEASE/alpha/200503220140Z-obj/home/builds/ab/netbsd-2-0-2-RELEASE/src/sys/arch/alpha/compile/GENERIC
COMPAQ AlphaServer DS10 466 MHz, s/n 4004DQMZ10
8192 byte page size, 1 processor.
total memory = 512 MB
(2752 KB reserved for PROM, 509 MB used by NetBSD)
avail memory = 492 MB
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21264-4
cpu0: Architecture extensions: 303<PAT,MVI,FIX,BWX>
tsc0 at mainbus0: 21272 Core Logic Chipset, Cchip rev 0
tsc0: 2 Dchips, 1 memory bus of 16 bytes
tsc0: arrays present: 0MB, 512MB, 0MB, 0MB, Dchip 0 rev 1
tsp0 at tsc0
pci0 at tsp0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
ohci0 at pci0 dev 1 function 0: Acer Labs M5237 USB Host Controller 
(rev. 0x03)
ohci0: interrupting at isa irq 10
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
sio0 at pci0 dev 7 function 0: Acer Labs M1543 PCI-ISA Bridge (rev. 0xc3)
tlp0 at pci0 dev 9 function 0: DECchip 21143 Ethernet, pass 4.1
tlp0: interrupting at dec 6600 irq 29
tlp0: DEC , Ethernet address 08:00:2b:86:a9:46
tlp0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlp1 at pci0 dev 11 function 0: DECchip 21143 Ethernet, pass 4.1
tlp1: interrupting at dec 6600 irq 30
tlp1: DEC , Ethernet address 08:00:2b:86:a9:73
tlp1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
aceride0 at pci0 dev 13 function 0
aceride0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc1)
aceride0: bus-master DMA support present
aceride0: primary channel wired to compatibility mode
aceride0: primary channel interrupting at isa irq 14
atabus0 at aceride0 channel 0
aceride0: secondary channel wired to compatibility mode
aceride0: secondary channel interrupting at isa irq 15
atabus1 at aceride0 channel 1
tga0 at pci0 dev 14 function 0: TGA2 pass 2, board type T8-02
tga0: 640 x 480, 8bpp, Bt485 RAMDAC
tga0: interrupting at dec 6600 irq 35
wsdisplay0 at tga0 (kbdmux ignored)
isp0 at pci0 dev 17 function 0: QLogic 1020 Fast Wide SCSI HBA
isp0: interrupting at dec 6600 irq 47
scsibus0 at isp0: 16 targets, 8 luns per target
isa0 at sio0
lpt0 at isa0 port 0x3bc-0x3bf irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
vga0 at isa0 port 0x3b0-0x3df iomem 0xa0000-0xbffff
wsdisplay1 at vga0 (kbdmux ignored)
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
isabeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
stray isa irq 10
stray isa irq 10
stray isa irq 10
stray isa irq 10
stray isa irq 10; stopped logging
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Kernelized RAIDframe activated
scsibus0: waiting 2 seconds for devices to settle...
wd0 at atabus0 drive 1sd0 at scsibus0 target 0 lun 0: <COMPAQ, 
BB009222B5, B016> disk fixed
sd0: 8678 MB, 5273 cyl, 20 head, 168 sec, 512 bytes/sect x 17773524 sectors
sd0: sync (50.00ns offset 8), 16-bit (40.000MB/s) transfers, tagged queueing
sd1 at scsibus0 target 1 lun 0: <COMPAQ, BB009222B5, B016> disk fixed
sd1(isp0:0:1:0):  Check Condition on CDB: 0x00 00 00 00 00 00
    SENSE KEY:  Not Ready
     ASC/ASCQ:  Logical Unit Not Ready, Initialization Command Required

sd1: drive offline
sd1: sync (100.00ns offset 8), 16-bit (20.000MB/s) transfers, tagged 
queueing
aceride0:0:1: lost interrupt
    type: ata tc_bcount: 512 tc_skip: 0
: <WDC WD1200JB-00DUA3>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 111 GB, 232581 cyl, 16 head, 63 sec, 512 bytes/sect x 234441648 sectors
aceride0:0:1: lost interrupt
    type: ata tc_bcount: 512 tc_skip: 0
aceride0:0:1: lost interrupt
    type: ata tc_bcount: 512 tc_skip: 0
wd0: 32-bit data port
aceride0:0:1: lost interrupt
    type: ata tc_bcount: 0 tc_skip: 0
wd0: drive supports PIO mode 4aceride0:0:1: lost interrupt
    type: ata tc_bcount: 0 tc_skip: 0
, DMA mode 2aceride0:0:1: lost interrupt
    type: ata tc_bcount: 0 tc_skip: 0
, Ultra-DMA mode 5 (Ultra/100)aceride0:0:1: lost interrupt
    type: ata tc_bcount: 0 tc_skip: 0
aceride0:0:1: lost interrupt
    type: ata tc_bcount: 0 tc_skip: 0
aceride0:0:1: lost interrupt
    type: ata tc_bcount: 0 tc_skip: 0

wd0(aceride0:0:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using 
DMA data transfers)
atapibus0 at atabus1: 2 targets
aceride0:1:0: lost interrupt
    type: ata tc_bcount: 512 tc_skip: 0
cd0 at atapibus0 drive 0: <COMPAQ  CDR-8435, , 0013> cdrom removable
aceride0:1:0: lost interrupt
    type: ata tc_bcount: 512 tc_skip: 0
aceride0:1:0: lost interrupt
    type: ata tc_bcount: 512 tc_skip: 0
cd0: 32-bit data port
aceride0:1:0: lost interrupt
    type: ata tc_bcount: 0 tc_skip: 0
cd0: drive supports PIO mode 4aceride0:1:0: lost interrupt
    type: ata tc_bcount: 0 tc_skip: 0
, DMA mode 2
cd0(aceride0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
aceride0:0:1: lost interrupt
    type: ata tc_bcount: 512 tc_skip: 0
aceride0:0:1: lost interrupt
    type: ata tc_bcount: 512 tc_skip: 0
aceride0:0:1: lost interrupt
    type: ata tc_bcount: 0 tc_skip: 0
sd0: no disk label
sd1(isp0:0:1:0):  Check Condition on CDB: 0x00 00 00 00 00 00
    SENSE KEY:  Not Ready
     ASC/ASCQ:  Logical Unit Not Ready, Initialization Command Required

root on wd0a dumps on wd0b
aceride0:0:1: lost interrupt
    type: ata tc_bcount: 512 tc_skip: 0
aceride0:0:1: lost interrupt
    type: ata tc_bcount: 512 tc_skip: 0
aceride0:0:1: lost interrupt
    type: ata tc_bcount: 0 tc_skip: 0
aceride0:0:1: lost interrupt
    type: ata tc_bcount: 512 tc_skip: 0


Manuel Bouyer a écrit :

>On Tue, Oct 04, 2005 at 10:18:51PM +0200, Emmanuel Ka wrote:
>  
>
>>Hello fellow netbsd/alpha users
>>I' trying to install netbsd 2.0.2 on a DS10 using a 120 GB hard drive on 
>>the builtin IDE controller. The installation is all fine, however at the 
>>first reboot the machine hangs  on" root file system type: ffs" and does 
>>not procede any further expect always repeating
>>
>>aceride0:0:1: lost 
>>interrupt                                                   
>>type: ata tc_bcount: 512 tc_skip: 0ata port
>>
>>and messages of the like.
>>When I boot from the install cd and chroot to the root partition on this 
>>disk, I get the following message mounting the root partition.
>>
>>stray isa irq 
>>14                                                               
>>stray isa irq 
>>14                                                               
>>wd0: transfer error, downgrading to Ultra-DMA mode 
>>1                           
>>wd0(aceride0:0:1): using PIO mode 4, Ultra-DMA mode 1 (using DMA data 
>>transfers)
>>wd0a: DMA error reading fsbn 128 of 128-143 (wd0 bn 128; cn 0 tn 2 sn 
>>2), retryg
>>stray isa irq 14; stopped 
>>logging                                              
>>wd0: soft error (corrected)
>>
>>After this message the system runs without problem in the chroot.
>>Is this a software ore a hardware problem ?
>>    
>>
>
>I would say that there's something in the GENERIC kernel that messes
>interrupt routing. Try starting from the INSTALL config file, and adding
>stuff you need until you find which one is the culprit.
>
>  
>
>>Here is the dmesg of the freshly installed netbsd.
>>    
>>
>
>This is incomplete and very hard to read
>
>  
>