>Number: 6464
>Category: mips
>Synopsis: installing on mips64 to isp connected scsi hdd panics
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Sat Sep 11 07:40:02 GMT 2010
>Closed-Date:
>Last-Modified:
>Originator:
>Release:
>Organization:
>Environment:
System : OpenBSD 4.8 snapshot
Details : OpenBSD 4.8-current (RAMDISK-IP27) #283: Tue Aug 24
17:07:46 MDT 2010
[email protected]:/sys/arch/sgi/compile/RAMDISK-IP27
Architecture: OpenBSD.mips64
Machine : mips64
>Description:
Trying to install a snapshot on a SGI Origin 3000 cluster machine drops
into
ddb while extracting base48.tgz. This only happens when I try to
install on
the sd0 or sd1. Both are FC Disks connected to the isp0 card.
Installing on
sd2, a USB stick plugged into the USB ports doesn't show the problem.
>How-To-Repeat:
This happens every time at about the same percentage of extracting.
>Fix:
Don't know. but installation on USB stick plugged into the USB port
works.
System restart.
Initial setup done, switching console.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2010 OpenBSD. All rights reserved. http://www.OpenBSD.org
OpenBSD 4.8-current (RAMDISK-IP27) #283: Tue Aug 24 17:07:46 MDT 2010
[email protected]:/sys/arch/sgi/compile/RAMDISK-IP27
real mem = 1073741824 (1024MB)
rsvd mem = 20463616 (19MB)
avail mem = 1011400704 (964MB)
mainbus0 at root: Origin 3000
cpu0 at mainbus0 nasid 0: MIPS R12000 CPU rev 3.5 400 MHz, R12000 FPU rev 3.5
cpu0: cache L1-I 32KB D 32KB 2 way, L2 8192KB 2 way
clock0 at mainbus0 nasid 0: ticker on int5 using count register
xbow0 at mainbus0 nasid 0: XXBow revision 2
xbridge0 at xbow0 widget 15: XBridge revision 2
xbpci0 at xbridge0 bus 0: 33 MHz PCI bus
pci0 at xbpci0 bus 0
isp0 at pci0 dev 1 function 0 "QLogic ISP2200" rev 0x05: irq 1, xbow irq 62
isp0: board type 2200 rev 0x5, loaded firmware rev 2.2.6
scsibus0 at isp0: 512 targets, WWPN 210000e08b000000, WWNN 200000e08b000000
sd0 at scsibus0 targ 0 lun 0: <IBM, DRVL18L CLAR18, SG03> SCSI2 0/direct fixed
sd0: 17356MB, 512 bytes/sec, 35546876 sec total
sd1 at scsibus0 targ 1 lun 0: <IBM, DRVL18L CLAR18, SG03> SCSI2 0/direct fixed
sd1: 17356MB, 512 bytes/sec, 35546876 sec total
ioc0 at pci0 dev 4 function 0 "SGI IOC3" rev 0x01
onewire0 at ioc0
ioc0: ethernet irq 4, xbow irq 61
ioc0: superio irq 0, xbow irq 60
com0 at ioc0 base 0x20178: ns16550a, 16 byte fifo
com0: console
iec0 at ioc0: 128KB SSRAM, address 08:00:69:11:ca:be
nsphyter0 at iec0 phy 1: DP83843 10/100 PHY, rev. 0
dsrtc0 at ioc0: DS1742W
ohci0 at pci0 dev 5 function 0 "AT&T/Lucent USB 2-port" rev 0x10: irq 5, xbow
irq 59, version 1.0, legacy support
"TI TSB12LV22 FireWire" rev 0x01 at pci0 dev 6 function 0 not configured
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "AT&T/Lucent OHCI root hub" rev 1.00/1.00 addr 1
xbridge1 at xbow0 widget 14: XBridge revision 2
xbpci1 at xbridge1 bus 0: 66 MHz PCI bus
pci1 at xbpci1 bus 0
rd0: fixed, 10240 blocks
umass0 at uhub0 port 2 configuration 1 interface 0 "memory USB2.0" rev
2.00/2.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd2 at scsibus1 targ 1 lun 0: <memory, USB2.0, 1.00> SCSI2 0/direct removable
sd2: 3931MB, 512 bytes/sec, 8051200 sec total
boot device: 'sd2a' unrecognized.
root on rd0a swap on rd0b dump on rd0b
erase ^?, werase ^W, kill ^U, intr ^C, status ^T
Welcome to the OpenBSD/sgi 4.8 installation program.
(I)nstall, (U)pgrade or (S)hell? i
At any prompt except password prompts you can escape to a shell by
typing '!'. Default answers are shown in []'s and are selected by
pressing RETURN. You can exit this program at any time by pressing
Control-C, but this can leave your system in an inconsistent state.
Terminal type? [vt220]
System hostname? (short form, e.g. 'foo') dominion
Available network interfaces are: iec0.
Which one do you wish to configure? (or 'done') [iec0]
IPv4 address for iec0? (or 'dhcp' or 'none') [dhcp]
Issuing hostname-associated DHCP request for iec0.
DHCPDISCOVER on iec0 to 255.255.255.255 port 67 interval 1
DHCPOFFER from 10.0.0.27 (00:00:24:c9:d4:98)
DHCPREQUEST on iec0 to 255.255.255.255 port 67
DHCPACK from 10.0.0.27 (00:00:24:c9:d4:98)
bound to 10.0.0.32 -- renewal in 21600 seconds.
IPv6 address for iec0? (or 'rtsol' or 'none') [none]
Available network interfaces are: iec0.
Which one do you wish to configure? (or 'done') [done]
Using DNS domainname ds9
Using DNS nameservers at 10.0.0.27 212.204.40.250 212.204.63.50
Do you want to do any manual network configuration? [no]
Password for root account? (will not echo)
Password for root account? (again)
Start sshd(8) by default? [yes]
Start ntpd(8) by default? [no] yes
NTP server? (hostname or 'default') [default]
Setup a user? (enter a lower-case loginname, or 'no') [no] sebastia
Full user name for sebastia? [sebastia] Sebastian Reitenbach
Password for sebastia account? (will not echo)
Password for sebastia account? (again)
Since you set up a user, disable sshd(8) logins to root? [yes]
What timezone are you in? ('?' for list) [Europe/Berlin]
Available disks are: sd0 sd1 sd2.
Which one is the root disk? (or 'done') [sd0]
Checking SGI Volume Header:
disklabel shows 35546876 sectors with 512 bytes per sector
checksum: 00000000
root part: 0
swap part: 1
bootfile: /bsd
Volume header files:
boot offset 2 blocks, length 91376 bytes (179 blocks)
SGI partitions:
0:a blocks 35543741 first 3135 type 4 (BSD4.2)
8:i blocks 3135 first 0 type 0 (Volume Header)
10:k blocks 35546876 first 0 type 6 (Volume)
A SGI Volume Header was found on the disk. Normally you want to replace it
with a new Volume Header suitable for installing OpenBSD. Doing this will
of course delete all data currently on the disk.
Do you want to overwrite the current header? [y]
Installing boot loader in volume header.
Writing file /usr/mdec/boot-IP27
File /usr/mdec/boot-IP27 has 91376 bytes
disklabel shows 35546876 sectors with 512 bytes per sector
checksum: 00000000
root part: 0
swap part: 1
bootfile: /bsd
Volume header files:
boot offset 2 blocks, length 91376 bytes (179 blocks)
SGI partitions:
0:a blocks 35543741 first 3135 type 4 (BSD4.2)
8:i blocks 3135 first 0 type 0 (Volume Header)
10:k blocks 35546876 first 0 type 6 (Volume)
The auto-allocated layout for sd0 is:
# size offset fstype [fsize bsize cpg]
a: 603.2M 3135 4.2BSD 2048 16384 1 # /
b: 603.2M 1238400 swap
c: 17356.9M 0 unused
d: 957.0M 2473696 4.2BSD 2048 16384 1 # /tmp
e: 1440.2M 4433728 4.2BSD 2048 16384 1 # /var
f: 1423.2M 7383296 4.2BSD 2048 16384 1 # /usr
g: 825.9M 10297920 4.2BSD 2048 16384 1 # /usr/X11R6
h: 3094.3M 11989344 4.2BSD 2048 16384 1 # /usr/local
i: 1337.9M 18326528 4.2BSD 2048 16384 1 # /usr/src
j: 1337.9M 21066528 4.2BSD 2048 16384 1 # /usr/obj
k: 5732.5M 23806528 4.2BSD 2048 16384 1 # /home
p: 1.5M 0 unknown
Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a]
newfs: reduced number of fragments per cylinder group from 77200 to 76896 to
enlarge last cylinder group
/dev/rsd0a: 603.2MB in 1235264 sectors of 512 bytes
5 cylinder groups of 150.19MB, 9612 blocks, 19328 inodes each
/dev/rsd0k: 5732.5MB in 11740160 sectors of 512 bytes
29 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd0d: 957.0MB in 1960032 sectors of 512 bytes
5 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd0f: 1423.2MB in 2914624 sectors of 512 bytes
8 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd0g: 825.9MB in 1691424 sectors of 512 bytes
5 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd0h: 3094.3MB in 6337184 sectors of 512 bytes
16 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd0j: 1337.9MB in 2740000 sectors of 512 bytes
7 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd0i: 1337.9MB in 2740000 sectors of 512 bytes
7 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd0e: 1440.2MB in 2949568 sectors of 512 bytes
8 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
Available disks are: sd1 sd2.
Which one do you wish to initialize? (or 'done') [done]
/dev/sd0a on /mnt type ffs (rw, asynchronous, local)
/dev/sd0k on /mnt/home type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd0d on /mnt/tmp type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd0f on /mnt/usr type ffs (rw, asynchronous, local, nodev)
/dev/sd0g on /mnt/usr/X11R6 type ffs (rw, asynchronous, local, nodev)
/dev/sd0h on /mnt/usr/local type ffs (rw, asynchronous, local, nodev)
/dev/sd0j on /mnt/usr/obj type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd0i on /mnt/usr/src type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd0e on /mnt/var type ffs (rw, asynchronous, local, nodev, nosuid)
Let's install the sets!
Location of sets? (disk ftp http nfs or 'done') [ftp]
HTTP/FTP proxy URL? (e.g. 'http://proxy:8080', or 'none') [none]
Server? (hostname, list#, 'done' or '?') [ops]
Server directory? [ftp/vax] ftp/sgi
Login? [anonymous] sebastia
Password? (will not echo)
Select sets by entering a set name, a file name pattern or 'all'. De-select
sets by prepending a '-' to the set name, file name pattern or 'all'. Selected
sets are labelled '[X]'.
[X] bsd.IP27 [X] misc48.tgz [ ] xbase48.tgz [ ] xserv48.tgz
[X] bsd.rd.IP27 [X] comp48.tgz [ ] xetc48.tgz
[X] base48.tgz [X] man48.tgz [ ] xshare48.tgz
[X] etc48.tgz [X] game48.tgz [ ] xfont48.tgz
Set name(s)? (or 'abort' or 'done') [done] all
[X] bsd.IP27 [X] misc48.tgz [X] xbase48.tgz [X] xserv48.tgz
[X] bsd.rd.IP27 [X] comp48.tgz [X] xetc48.tgz
[X] base48.tgz [X] man48.tgz [X] xshare48.tgz
[X] etc48.tgz [X] game48.tgz [X] xfont48.tgz
Set name(s)? (or 'abort' or 'done') [done]
bsd.IP27 100% |*************************************| 6131 KB 00:02
The SHA256 hash fae236111611c60f7c318ba690e3cec42d262bc47a54a2c0304361d3c86f1220
for bsd.IP27 did not match what this bsd.rd expected.
bsd.rd.IP27 100% |*************************************| 9426 KB 00:04
base48.tgz 65% |************************ | 36887 KB 00:15
ETAmode = 0540, inum = 105600, fs = /mnt/usr
panic: ffs_valloc: dup alloc
Stopped at 0xa8000000002e1214: jr ra
0xa8000000002e1218: nop
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> trace
0xa8000000002e1210 (9200000001000000,0,a800000000985d30,d) ra 0xa8000000000fe1
9c sp 0xa80000001f13ba10, sz 0
0xa8000000000fe0d8 (9200000001000000,4000000000000000,a800000000985d30,d) ra 0
xa800000000191cfc sp 0xa80000001f13ba10, sz 96
0xa800000000191b70 (9200000001000000,4000000000000000,a800000000985d30,d) ra 0
x0 sp 0xa80000001f13ba70, sz 0
User-level: pid 32237
ddb> ps
PID PPID PGRP UID S FLAGS WAIT COMMAND
27624 14204 31403 0 3 0x4080 nanosleep sleep
21904 32237 31403 0 2 0x4000 gzip
*32237 31403 31403 0 7 0x4000 tar
14594 31403 31403 0 3 0x4080 pipewr sha256
14176 31403 31403 0 3 0x4080 pipewr ftp
15012 1 15012 77 3 0x180 poll dhclient
15901 1 31403 0 3 0x80 poll dhclient
14204 31403 31403 0 3 0x80 pause ksh
31403 21073 31403 0 3 0x4080 pause ksh
21073 1 21073 0 3 0x4080 pause sh
11 0 0 0 3 0x100200 aiodoned aiodoned
10 0 0 0 3 0x100200 syncer update
9 0 0 0 3 0x100200 cleaner cleaner
8 0 0 0 3 0x100200 reaper reaper
7 0 0 0 3 0x100200 pgdaemon pagedaemon
6 0 0 0 3 0x100200 usbtsk usbtask
5 0 0 0 3 0x100200 usbevt usb0
4 0 0 0 3 0x100200 bored syswq
3 0 0 0 3 0x40100200 idle0
2 0 0 0 3 0x100200 kmalloc kmthread
1 0 1 0 3 0x4080 wait init
0 -1 0 0 3 0x80200 scheduler swapper
ddb>
>Release-Note:
>Audit-Trail:
>Unformatted: