BlueSCSI NeXT quesiton

Michael

New Tinkerer
Jun 15, 2024
3
0
1
Hi all,

I'm trying to get NeXTSTEP working on my HP 712 with BlueSCSI 2 (I have one with and one without WiFi). However, I can't get it to work. The install fails where it should partition and format the SD card.

This is my computer:
HP9000 712/100
Boot Rom 2.3
160MB RAM
A4013A Serial Port
A2263–66520 VRAM expansion for higher graphic resolution
BlueSCSI V2: HD6.0, CD3.0

HD60_512_NeXTSTEP_3.3.img : 13.500 cylinders, 139 sectors per track, 4 heads per cylinder
CD30_512_NeXTSTEP_3.3_RISC.img

Here's my bluescsi.ini:

[SCSI]
EnableSCSI2 = 1
DisableROMDrive = 1

[SCSI6]
Type = 0
SectorsPerTrack = 139
HeadsPerCylinder = 4

[SCSI3]
Type = 2

I have tried both BlueSCSI devices, three new SD cards with different sizes, FAT32 and ExFAT, HD file sizes larger and smaller than 2GB, the firmware from May and from July (nightly) - without any change. I also tried this .ini file:
[SCSI]
Debug = 1
System=Generic
DisableConfigHook=1
EnableSCSI2 = 1
DisableROMDrive = 1

[SCSI6]
Type = 0
bytesPerSector = 512
SectorsPerTrack = 139
HeadsPerCylinder = 4

[SCSI3]
Type = 2

The log file states:
[68957ms] SDIO card reports write CRC error, status 0xAC00007F
[68957ms] SdioCard::writeSectors(0x00103F00,...,16) failed: 7
[68958ms] SD card write failed: 0x00

Complete log file

It seems that I'm repeating the same error over and over again. Maybe someone has an Idea what I could try?

After I get the HP 712 running with BlueSCSI, I'd like to install NeXTSTEP on my SparcStation 20 with BlueSCSI.

Oh, and of course, if any of the two machines work with NeXTSTEP, I can offer a SSH account to compile/try new software.
 

Michael

New Tinkerer
Jun 15, 2024
3
0
1
Replying to my own mail: if I rename the two files to .hda and .iso and removing the LUN number in the name, the setup runs a couple of seconds longer before it crashes. The log file states:
[107054ms] DBG ---- SELECTION: 6
[107054ms] DBG ---- MESSAGE_OUT
[107054ms] DBG ------ OUT: 0xC0
[107054ms] DBG ---- COMMAND: Write10
[107054ms] DBG ------ OUT: 0x2A 0x00 0x00 0x41 0xC0 0x28
[107054ms] DBG ------ OUT: 0x00 0x00 0x80 0x00
[107054ms] DBG ------ Write 128x512 starting at 4309032
[107054ms] DBG ---- DATA_OUT
[107066ms] SDIO card reports write CRC error, status 0xD600003F
[107066ms] SdioCard::writeSectors(0x0042214F,...,38) failed: 7
[107068ms] SD card write failed: 0x00
[107069ms] DBG ---- Total IN: 0 OUT: 39424 CHECKSUM: 21261
[107069ms] DBG ---- STATUS: 2 CHECK_CONDITION, sense 0x00000C02
[107075ms] DBG ---- MESSAGE_IN
[107076ms] DBG ------ IN: 0x00
[107077ms] DBG -- BUS_FREE
Also, I find:
SCSI ID 6 negotiated synchronous mode 5 MB/s (period 4x50 ns, offset 8 bytes)
Shouldn't that be 10 MB/s?
 

JdM74

Tinkerer
Jan 16, 2024
36
36
18
49
Georgetown TX
Hi Michael. I ran into similar issues when installing NS 3.3 on a 712...but did get it working.

A couple of things...

1. Make sure your NS 3.3 drive is 2GB. NS 3.3 can not use 'drives' larger than 2GB. Use the dd command to create the image.
-- 2GB dd if=/dev/zero of=hda bs=1M count=2048
2. Your hard drive image should have the .hda extension, while the CD .iso.
3. Put the .hda image at the root of the card, and the .iso image in a folder named CDx [where x is the ID of the CD-ROM drive you want assigned].
4. Use SD Card Formatter [https://www.sdcard.org/] to format the card. This will clear everything and format as FAT32, then you can format as ExFAT.

Try using this in your bluescsi.ini file and adjust as necessary for your setup:

Code:
;****************************************************************************************
;* bluescsi.ini for HP 712
;* OS/Version:     NeXTSTEP 3.3
;*
;****************************************************************************************
;*
;* NeXT drives require proper geometry to function properly.  SectorsPerTrack and
;* HeadsPerCylinder must be part of each SCSI device entry.
;*
;* Maximum drive size for NeXTSTEP 3.3 is 2GB (2,048MB).
;*
;* Recommended SCSI Addresses:
;*
;*    Target ID 0  : Internal/External SCSI device
;*    Target ID 1  : Internal/External SCSI device
;*    Target ID 2  : SCSI CD-ROM Drive
;*    Target ID 3  : Internal/External SCSI device
;*    Target ID 4  : Internal/External SCSI device
;*    Target ID 5  : Internal/External SCSI device
;*    Target ID 6  : Primary Boot Drive and Partitions
;*
;* For mounting CD images, create a folder at the root level of the SD Card, called
;* CDx, where x is the SCSI ID of the CD-ROM drive and load image files there.
;* Images mount in alphabetical order.  Known formats supported: ISO, bin/cue, Toast.
;*
;****************************************************************************************

[SCSI]
Quirks = 8   ; 0: Standard, 1: Apple, 2: OMTI, 4: Xebec, 8: VMS, 16: X68000, 32: EWSD
EnableUnitAttention = 1 ; Post UNIT_ATTENTION status on power-on or SD card hotplug
ExnableSCSI2 = 1 ; Enable faster speeds of SCSI2
EnableParity=1    ; On
MaxSyncSpeed = 10 ; Set to 5 or 10 to enable synchronous SCSI mode, 0 to disable
PrefetchBytes = 393216 ; Maximum number of bytes to prefetch after a read request, 0 to disable
SelectionDelay = 255   ; Millisecond delay after selection, 255 = automatic, 0 = no delay
DisableROMDrive = 1 ; Disable the ROM drive if it has been loaded to flash
;SectorsPerTrack=139
;HeadsPerCylinder=4

; Settings can be overridden for individual devices.

[SCSI2]        ;    CD-ROM Drive
Vendor="TOSHIBA"
Device="XM-5701B"
Product="CD-ROM"
Type=1    ; Removable
HeadsPerCylinder=4
SectorsPerTrack=139

[SCSI3]        ;    HP/UX 9
Device = "ST12550N"
Vendor = "SEAGATE"
Product = "BARRACUDA2"
Type=0    ; Fixed
HeadsPerCylinder=4
SectorsPerTrack=139

[SCSI4]        ;    More Data
Device = "ST12550N"
Vendor = "SEAGATE"
Product = "BARRACUDA2"
Type=0    ; Fixed
HeadsPerCylinder=4
SectorsPerTrack=139

[SCSI5]        ;    Data
Device = "ST12550N"
Vendor = "SEAGATE"
Product = "BARRACUDA2"
Type=0    ; Fixed
HeadsPerCylinder=4
SectorsPerTrack=139

[SCSI6]        ;     NS 3.3 HP-PA RISC
Device = "ST12550N"
Vendor = "SEAGATE"
Product = "BARRACUDA2"
Type=0    ; Fixed
HeadsPerCylinder=4
SectorsPerTrack=139

This should get you a little further along.
 
  • Like
Reactions: modsk0

Michael

New Tinkerer
Jun 15, 2024
3
0
1
Hi JdM74,

I did all that you suggested, with two changes: I removed a typo ("ExnableSCSI2"), and I included "Debug = 1". Unfortunately, this did not help. I tried the install a couple of times, and after about 25 seconds twice, and after two seconds once into the disk preparation I get the following errors:

[89226ms] DBG -- BUS_FREE
[89228ms] DBG ---- SELECTION: 6
[89228ms] DBG ---- MESSAGE_OUT
[89228ms] DBG ------ OUT: 0xC0
[89228ms] DBG ---- COMMAND: Write10
[89228ms] DBG ------ OUT: 0x2A 0x00 0x00 0x25 0x9C 0x30
[89228ms] DBG ------ OUT: 0x00 0x00 0x80 0x00
[89228ms] DBG ------ Write 128x512 starting at 2464816
[89228ms] DBG ---- DATA_OUT
[89241ms] SDIO card reports unknown write status 0xC00007FF
[89241ms] SdioCard::writeSectors(0x03A5FCD7,...,40) failed: 8
[89243ms] SD card write failed: 0x00
[89243ms] DBG ---- Total IN: 0 OUT: 40448 CHECKSUM: 64755
[89243ms] DBG ---- STATUS: 2 CHECK_CONDITION, sense 0x00000C02
[89248ms] DBG ---- MESSAGE_IN
[89248ms] DBG ------ IN: 0x00
[89249ms] DBG -- BUS_FREE


[104989ms] DBG -- BUS_FREE
[104990ms] DBG ---- SELECTION: 6
[104990ms] DBG ---- MESSAGE_OUT
[104990ms] DBG ------ OUT: 0xC0
[104991ms] DBG ---- COMMAND: Write10
[104991ms] DBG ------ OUT: 0x2A 0x00 0x00 0x27 0x1C 0xA0
[104991ms] DBG ------ OUT: 0x00 0x00 0x80 0x00
[104991ms] DBG ------ Write 128x512 starting at 2563232
[104991ms] DBG ---- DATA_OUT
[104998ms] SDIO card reports write CRC error, status 0xAC00007F
[104998ms] SdioCard::writeSectors(0x03A77D30,...,16) failed: 7
[104999ms] SD card write failed: 0x00
[105006ms] DBG ---- Total IN: 0 OUT: 19968 CHECKSUM: 60897
[105006ms] DBG ---- STATUS: 2 CHECK_CONDITION, sense 0x00000C02
[105010ms] DBG ---- MESSAGE_IN
[105010ms] DBG ------ IN: 0x00
[105011ms] DBG -- BUS_FREE


[66575ms] DBG -- BUS_FREE
[66576ms] DBG ---- SELECTION: 6
[66576ms] DBG ---- MESSAGE_OUT
[66576ms] DBG ------ OUT: 0xC0
[66576ms] DBG ---- COMMAND: Write10
[66576ms] DBG ------ OUT: 0x2A 0x00 0x00 0x00 0x8E 0x00
[66576ms] DBG ------ OUT: 0x00 0x00 0x80 0x00
[66576ms] DBG ------ Write 128x512 starting at 36352
[66576ms] DBG ---- DATA_OUT
[66580ms] SDIO card reports unknown write status 0x00003FFF
[66580ms] SdioCard::writeSectors(0x0380EE80,...,16) failed: 8
[66581ms] SD card write failed: 0x00
[66591ms] DBG ---- Total IN: 0 OUT: 8192 CHECKSUM: 47230
[66591ms] DBG ---- STATUS: 2 CHECK_CONDITION, sense 0x00000C02
[66596ms] DBG ---- MESSAGE_IN
[66596ms] DBG ------ IN: 0x00
[66597ms] DBG -- BUS_FREE


[79183ms] DBG -- BUS_FREE
[79183ms] DBG ---- SELECTION: 6
[79183ms] DBG ---- MESSAGE_OUT
[79184ms] DBG ------ OUT: 0xC0
[79184ms] DBG ---- COMMAND: Write10
[79184ms] DBG ------ OUT: 0x2A 0x00 0x00 0x04 0x62 0x00
[79185ms] DBG ------ OUT: 0x00 0x00 0x80 0x00
[79185ms] DBG ------ Write 128x512 starting at 287232
[79186ms] DBG ---- DATA_OUT
[79190ms] SDIO card reports write failure, status 0x60000FFF
[79190ms] SdioCard::writeSectors(0x0384C280,...,16) failed: 8
[79192ms] SD card write failed: 0x00
[79199ms] DBG ---- Total IN: 0 OUT: 8192 CHECKSUM: 55104
[79200ms] DBG ---- STATUS: 2 CHECK_CONDITION, sense 0x00000C02
[79207ms] DBG ---- MESSAGE_IN
[79207ms] DBG ------ IN: 0x00
[79208ms] DBG -- BUS_FREE

It's always a write problem to the virtual boot disk. I even tried different BlueSCSI modules. Maybe my 712 has a problem? However, the machine worked great under HPUX.
 

eric

Administrator
Staff member
Sep 2, 2021
941
1,542
93
MN
scsi.blue
Hi @Michael - sorry for the late reply as I'd had meant to come back to this thread earlier. Please try out the latest release https://github.com/BlueSCSI/BlueSCSI-v2/releases/tag/v2024.09.15 where we fixed many of the SDIO issues.

Also @JdM74 --- you know how much I "like" huge ini files! BlueSCSI is meant to be as simple as possible to get up and running - ini files should be a last resort, and if required, simple.

Next(heh) release we'll have it boiled down to
INI:
[SCSI]
System=NeXT

- thats it! Everything else from that ini file can go in the trash :)