[kernel] bug#102: second SCSI on C3000 doesn't work


None


X-PA-RISC Linux-PR-Message: report 102
X-PA-RISC Linux-PR-Package: kernel
X-Loop: daniel_frazier@hp.com
Received: via spool by bugs@bugs.parisc-linux.org id=B.9871159515590
          (code B ref -1); Thu, 12 Apr 2001 23:03:01 GMT
To: submit@bugs.parisc-linux.org
Date: Thu, 12 Apr 2001 16:51:56 -0600
From: Paul Bame <bame@fc.hp.com>
Message-Id: <E14npwS-0004dc-00@noam.fc.hp.com>

Package: kernel
Version: 12Apr2001
Severity: normal


The second (actually the first) SCSI controller on C3000 doesn't work.
This one's hooked to the narrow SCSI connector on the back, which had
a disk and proper termination at the time of the test, which the boot
rom saw just fine.  This boot log is with terminator but no disk, and
I think it's the same as when the disk is attached:

Booting... 
Network Station Address 001083-cf855f

System IP Address 15.1.49.181
Server IP Address 15.1.52.69

Boot IO Dependent Code (IODC) revision 2


HARD Booted.
palo ipl bame@noam Tue Mar 13 17:40:00 MST 2001
0/vmlinux 3487651 bytes @ 0x6800
0/palo-cmdline '0/vmlinux HOME=/ TERM=linux root=/dev/sda5 console=ttyS0'
Kernel: partition 0 file /vmlinux
ELF64 executable
Entry 00100000 first 00100000 n 3
Segment 0 load 00100000 size 2032328 mediaptr 0x1000
Segment 1 load 002f2000 size 750128 mediaptr 0x1f2000
Segment 2 load 003ac000 size 16384 mediaptr 0x2aa000
branching to kernel entry point 0x00100000
Set default PSW W bit to 1
PDC Console Initialized
Linux version 2.4.0 (bame@noam) (gcc version 2.97 20010203 (experimental)) #70 Thu Apr 12 16:39:55 MDT 2001
FP[0] enabled: Rev 1 Model 16
The 64-bit Kernel has started...
Determining PDC firmware type: Newer Box
setup_cmdline(0x64d58,0x64d58,0x0,0x0)
PALO command line: 'HOME=/ TERM=linux root=/dev/sda5 console=ttyS0'
PALO initrd 0-0
model   00005bb0 00000481 00000000 00000002 782aecfc 100000f0 00000008 000000b2 000000b2
vers    00000203
cpuid   00000227
CPUID   vers 17 rev 7
model   9000/785/C3000
Total Memory: 896 Mb
initrd: 00000000-00000000
pagetable_init
On node 0 totalpages: 229376
zone(0): 229376 pages.
zone(1): 0 pages.
zone(2): 0 pages.
led_init: chassis info: model=0 (LCD), lcd_width=16, cmd_delay=40, actcnt=44, maxcnt=44
led_init: min_cmd_delay = 40 uS
LCD display at fffffffff0190000,fffffffff0190001 registered
Searching for devices...
Found devices:
1. Astro BC Runway Port (12) at 0xfffffffffed00000, versions 0x582, 0x0, 0xb, 0x0, 0x10
2. Elroy PCI Bridge (13) at 0xfffffffffed30000, versions 0x782, 0x0, 0xa, 0x0, 0x0
3. Elroy PCI Bridge (13) at 0xfffffffffed32000, versions 0x782, 0x0, 0xa, 0x0, 0x0
4. Elroy PCI Bridge (13) at 0xfffffffffed38000, versions 0x782, 0x0, 0xa, 0x0, 0x0
5. Elroy PCI Bridge (13) at 0xfffffffffed3c000, versions 0x782, 0x0, 0xa, 0x0, 0x0
6. AllegroHigh W  (0) at 0xfffffffffffa0000, versions 0x5bb, 0x0, 0x4, 0x0, 0x81
7. AllegroHigh Memory (1) at 0xfffffffffed10200, versions 0x86, 0x0, 0x9, 0x0, 0x0
That's a total of 7 devices.
CPU(s): 1 x PA8500 (PCX-W) at 400.000000 MHz
Kernel command line: HOME=/ TERM=linux root=/dev/sda5 console=ttyS0
Calibrating delay loop... 797.90 BogoMIPS
Memory: 882048k available
Dentry-cache hash table entries: 131072 (order: 9, 2097152 bytes)
Buffer-cache hash table entries: 65536 (order: 7, 524288 bytes)
Page-cache hash table entries: 262144 (order: 9, 2097152 bytes)
Inode-cache hash table entries: 65536 (order: 8, 1048576 bytes)
POSIX conformance testing by UNIFIX
lba version TR2.1 (0x2) found at 0xfffffffffed30000
lba version TR2.1 (0x2) found at 0xfffffffffed32000
lba version TR2.1 (0x2) found at 0xfffffffffed38000
Warning : device (13, 0x782, 0x0, 0xa, 0x0) NOT claimed by lba TR2.1
lba version TR2.1 (0x2) found at 0xfffffffffed3c000
Warning : device (13, 0x782, 0x0, 0xa, 0x0) NOT claimed by lba TR2.1
SBA found Astro 2.1 at 0xfffffffffed00000
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd v1.8
pty: 256 Unix98 ptys configured
lp: driver loaded but no devices found
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Serial driver version 5.02 (2000-08-09) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
SuperIO: Found NS87560 legacy I/O device at 00:0e.1. iosapic irq = 128 
SuperIO: Serial port 1 at 0x3f8
SuperIO: Serial port 2 at 0x2f8
SuperIO: Parallel port at 0x378
SuperIO: Floppy controller at 0x3f0
ttyS00 at port 0x03f8 (irq = 195) is a 16550A
ttyS01 at port 0x02f8 (irq = 196) is a 16550A
ttyS02 at port 0x2100 (irq = 256) is a 16550A
ttyS03 at port 0x2000 (irq = 256) is a 16550A
Generic RTC Driver v1.02 05/27/1999 Sam Creasey (sammy@oh.verio.com)
Linux Tulip driver version 0.9.13 (January 2, 2001)
eth0: Digital DS21143 Tulip rev 65 at 0x1000, 00:10:83:CF:85:5F, IRQ 130.
eth0:  MII transceiver #1 config 1000 status 782d advertising 01e1.
SCSI subsystem driver Revision: 1.00
sym53c8xx: at PCI bus 0, device 15, function 0
sym53c8xx: 53c896 detected 
sym53c8xx: at PCI bus 0, device 15, function 1
sym53c8xx: 53c896 detected 
sym53c896-0: rev 0x4 on pci bus 0 device 15 function 0 irq 129
sym53c896-0: NCR clock is 40218KHz
sym53c896-0: ID 7, Fast-40, Parity Checking
sym53c896-0: on-chip RAM at 0xfffffffff4002000
sym53c896-0: suspicious SCSI data while resetting the BUS.
sym53c896-0: dp1,d15-8,dp0,d7-0,rst,req,ack,bsy,sel,atn,msg,c/d,i/o = 0x4000100, expecting 0x100
sym53c896-0: FATAL ERROR: CHECK SCSI BUS - CABLES, TERMINATION, DEVICE POWER etc.!
sym53c896-0: giving up ...
sym53c896-0: rev 0x4 on pci bus 0 device 15 function 1 irq 129
sym53c896-0: NCR clock is 40218KHz
sym53c896-0: ID 7, Fast-40, Parity Checking
sym53c896-0: on-chip RAM at 0xfffffffff4000000
sym53c896-0: restart (scsi reset).
sym53c896-0: handling phase mismatch from SCRIPTS.
sym53c896-0: Downloading SCSI SCRIPTS.
scsi0 : sym53c8xx - version 1.6b
  Vendor: SEAGATE   Model: ST39173LC         Rev: 4270
  Type:   Direct-Access                      ANSI SCSI revision: 02
  Vendor: SEAGATE   Model: ST39102LC         Rev: 7C03
  Type:   Direct-Access                      ANSI SCSI revision: 02
sym53c896-0-<5,0>: tagged command queue depth set to 8
sym53c896-0-<6,0>: tagged command queue depth set to 8
Detected scsi disk sda at scsi0, channel 0, id 5, lun 0
Detected scsi disk sdb at scsi0, channel 0, id 6, lun 0
sym53c896-0-<5,0>: wide msgout: 1-2-3-1.
sym53c896-0-<5,0>: wide msgin: 1-2-3-1.
sym53c896-0-<5,0>: wide: wide=1 chg=0.
sym53c896-0-<5,0>: wide msgout: 1-2-3-1.
sym53c896-0-<5,0>: wide msgin: 1-2-3-1.
sym53c896-0-<5,0>: wide: wide=1 chg=0.
sym53c896-0-<5,0>: sync msgout: 1-3-1-c-1f.
sym53c896-0-<5,0>: sync msg in: 1-3-1-c-f.
sym53c896-0-<5,0>: sync: per=12 scntl3=0xb0 scntl4=0x0 ofs=15 fak=0 chg=0.
sym53c896-0-<5,*>: FAST-20 WIDE SCSI 40.0 MB/s (50 ns, offset 15)
SCSI device sda: 17781521 512-byte hdwr sectors (9104 MB)
Partition check:
 sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 >
sym53c896-0-<6,0>: wide msgout: 1-2-3-1.
sym53c896-0-<6,0>: wide msgin: 1-2-3-1.
sym53c896-0-<6,0>: wide: wide=1 chg=0.
sym53c896-0-<6,0>: wide msgout: 1-2-3-1.
sym53c896-0-<6,0>: wide msgin: 1-2-3-1.
sym53c896-0-<6,0>: wide: wide=1 chg=0.
sym53c896-0-<6,0>: sync msgout: 1-3-1-c-1f.
sym53c896-0-<6,0>: sync msg in: 1-3-1-c-f.
sym53c896-0-<6,0>: sync: per=12 scntl3=0xb0 scntl4=0x0 ofs=15 fak=0 chg=0.
sym53c896-0-<6,*>: FAST-20 WIDE SCSI 40.0 MB/s (50 ns, offset 15)
SCSI device sdb: 17781521 512-byte hdwr sectors (9104 MB)
 sdb: sdb1 sdb2 sdb3 sdb4 < sdb5 sdb6 sdb7 sdb8 >
linear personality registered
raid0 personality registered
raid1 personality registered
raid5 personality registered
raid5: measuring checksumming speed
   8regs     :  2214.753 MB/sec
   8regs_prefetch:  1941.576 MB/sec
   32regs    :  1497.711 MB/sec
   32regs_prefetch:  1717.929 MB/sec
raid5: using function: 8regs (2214.753 MB/sec)
md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md.c: sizeof(mdp_super_t) = 4096
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 4096 buckets, 64Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
Sending BOOTP requests.... OK
IP-Config: Got BOOTP answer from 15.1.52.69, my address is 15.1.49.181
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
INIT: version 2.78 booting
Activating swap...
Adding Swap: 525304k swap-space (priority -1)
Adding Swap: 525288k swap-space (priority -2)
Checking root file system...
Parallelizing fsck version 1.19 (13-Jul-2000)
/dev/sda5: clean, 33107/262656 files, 245540/524288 blocks
Checking all file systems...
Parallelizing fsck version 1.19 (13-Jul-2000)
/dev/sda3: clean, 17/8480 files, 13400/33792 blocks
/dev/sda6: clean, 126927/262656 files, 453790/524288 blocks
Setting kernel variables.
Mounting local filesystems...
/dev/sda3 on /boot type ext2 (rw,errors=remount-ro)
/dev/sda6 on /home type ext2 (rw,errors=remount-ro)
Cleaning: /etc/network/ifstate.
Configuring network interfaces: done.
Starting portmap daemon: portmapeth0: Setting full-duplex based on MII#1 link partner capability of 45e1.

do_page_fault() pid=57 command='portmap' type=15 address=0xe840bffc
vm_start = 0x40175000, vm_end = 0x40179000

     YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI
PSW: 00000000000001101111111100001111
r0-3	 0000000000000000 00000000e840c000 00000000400223e7 00000000faf00340
r4-7	 000000004014fb18 00000000faf001a4 0000000000000001 000000004001a4e4
r8-11	 00000000faf0016c 00000000faf00164 0000000000000001 000000004001bc40
r12-15	 000000004001bc20 0000000000000000 0000000000089c10 0000000000000000
r16-19	 0000000000000000 0000000000077578 000000000000b270 000000004014fb18
r20-23	 00000000e840bffc 0000000000003a08 00000000400223b8 0000000000000000
r24-27	 00000000faf0016c 00000000faf00164 0000000000000001 0000000000004f54
r28-31	 000000004001b3d2 0000000000000037 00000000faf003c0 000000004000f053
sr0-3	 0000000000004000 0000000000004000 0000000000000000 0000000000004000
sr4-7	 0000000000004000 0000000000004000 0000000000004000 0000000000004000

IASQ: 0000000000004000 0000000000004000 IAOQ: 0000000040025c2f 0000000040025c33
 IIR: 0e801094    ISR: 0000000000004000  IOR: 00000000e840bffc
ORIG_R28: 00000000faf00005
/etc/rcS.d/S41portmap: line 47:    57 Segmentation fault      start-stop-daemon --start --quiet --exec /sbin/portmap
.

Setting the System Clock using the Hardware Clock as reference...
System Clock set. Local time: Thu Apr 12 16:31:37 MDT 2001

Cleaning: /tmp /var/lock /var/run.
Initializing random number generator... done.
Recovering nvi editor sessions... done.
INIT: Entering runlevel: 2
Starting system log daemon: syslogd klogd.
Starting Name Service Cache Daemon: nscd.
Starting internet superserver: inetd.
Starting locally-built Secure Shell server: sshd.
Starting web server: apache.
/usr/local/apache/bin/apachectl start: httpd started
shmctl(IPC_STAT(cmd=0x2)) does not support libc5 cmds

Debian GNU/Linux testing/unstable palinux ttyS0

palinux login: l 



------- End of Forwarded Message