Hi,

While trying to use a SATA disk with my Cubieboard2, it fails and prints
repeatedly :

sxiahci0: stopping the port, softreset slot 31 was still active.
sxiahci0: stopping the port, softreset slot 31 was still active.
sxiahci0: stopping the port, softreset slot 31 was still active.
sxiahci0: stopping the port, softreset slot 31 was still active.
…


Any attempt to fdisk / disklabel it hang.


I just try with a brand new disk and it does the same.  My question is :
is there any limitation with sxiahci or well known problems ?



Here is my dmesg :

U-Boot SPL 2017.09 (Sep 13 2017 - 01:07:45)
DRAM: 1024 MiB                                                                
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2                                          
Trying to boot from MMC1                                                      


U-Boot 2017.09 (Sep 13 2017 - 01:07:45 -0600) Allwinner Technology            

CPU: Allwinner A20 (SUN7I)      
Model: Cubietech Cubieboard2                                                  
I2C: ready                                                                  
DRAM: 1 GiB                                                                  
MMC: SUNXI SD/MMC: 0                                                        
*** Warning - bad CRC, using default environment                              

In: serial                                                                 
Out: serial                                                                 
Err: serial                                                                 
SCSI: Target spinup took 0 ms.                                               
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode                     
flags: ncq stag pm led clo only pmp pio slum part ccc apst                    
Net: eth0: ethernet@01c50000                                                
starting USB...                                                               
USB0: USB EHCI 1.00                                                      
USB1: USB OHCI 1.0          
USB2: USB EHCI 1.00                             
USB3: USB OHCI 1.0                        
scanning bus 0 for devices...  2 USB Device(s) found                         
scanning bus 2 for devices...  1 USB Device(s) found             
        scanning usb for storage devices...  0 Storage Device(s) found          
Hit any key to stop autoboot: 0         
switch to partitions #0, OK                                       
mmc0 is current device                                                
Scanning mmc 0:1...                                          
reading /sun7i-a20-cubieboard2.dtb                                     
32853 bytes read in 29 ms (1.1 MiB/s)
Found EFI removable media binary efi/boot/bootarm.efi           
reading efi/boot/bootarm.efi                                    
67372 bytes read in 44 ms (1.5 MiB/s)                           
## Starting EFI application at 42000000 ...                                   
Scanning disks on scsi...                                       
Scanning disks on usb...                                        
Scanning disks on mmc...                                        
MMC Device 1 not found                                          
MMC Device 2 not found                                                        
MMC Device 3 not found
Found 6 disks                                              
>> OpenBSD/armv7 BOOTARM 1.0                            
boot>  
booting sd0a:/bsd: 3922080+167512+562260 [283044+90+521296+245042]=0x5727f4 

OpenBSD/armv7 booting ...                                                     
arg0 0xc08727f4 arg1 0x0 arg2 0x48000000                                      
Allocating page tables                                                        
freestart = 0x40873000, free_pages = 259981 (0x0003f78d)                   
IRQ stack: p0x408a1000 v0xc08a1000
ABT stack: p0x408a2000 v0xc08a2000                                            
UND stack: p0x408a3000 v0xc08a3000                                            
SVC stack: p0x408a4000 v0xc08a4000                                            
Creating L1 page table at 0x40874000                                          
Mapping kernel                                                                
Constructing L2 page tables                                                   
undefined page pmap [ using 1049928 bytes of bsd ELF symbol table ]           
board type: 0                                                                 
Copyright (c) 1982, 1986, 1989, 1991, 1993  
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2017 OpenBSD. All rights reserved.  https://www.OpenBSD.org

OpenBSD 6.2-beta (GENERIC) #77: Sun Sep 24 17:37:18 MDT 2017
        [email protected]:/usr/src/sys/arch/armv7/compile/GENERIC
real mem  = 1073741824 (1024MB)                                            
avail mem = 1043873792 (995MB)
mainbus0 at root: Cubietech Cubieboard2           
cpu0 at mainbus0: ARM Cortex-A7 r0p4 (ARMv7)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled      
cpu0: 32KB(32b/l,2way) I-cache, 32KB(64b/l,4way) wr-back D-cache
cortex0 at mainbus0                                                           
sxiccmu0 at mainbus0                     
psci0 at mainbus0                                                 
agtimer0 at mainbus0: tick rate 24000 KHz                             
simplebus0 at mainbus0: "soc"                                
sxipio0 at simplebus0: 175 pins                                        
sximmc0 at simplebus0                
sdmmc0 at sximmc0: 4-bit, sd high-speed, mmc high-speed, dma    
ehci0 at simplebus0                                             
usb0 at ehci0: USB revision 2.0                                 
uhub0 at usb0 configuration 1 interface 0 "Generic EHCI root hub" rev
2.00/1.0
0 addr 1                                                        
sxiahci0 at simplebus0: AHCI 1.1                                
sxiahci0: port 0: 3.0Gb/s                                       
scsibus0 at sxiahci0: 32 targets                                
sd0 at scsibus0 targ 0 lun 0: <ATA, ST2000LX001-1RG1, SDM1> SCSI3
0/direct fix
ed naa.5000c500a905f049
sd0: 1907729MB, 512 bytes/sector, 3907029168 sectors       
ehci1 at simplebus0
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "Generic EHCI root hub" rev 2.00/1.0 
0 addr 1                                                                      
sxidog0 at simplebus0                                                         
sxirtc0 at simplebus0                                                         
com0 at simplebus0: ns16550, no working fifo                                  
com0: console                                                              
sxitwi0 at simplebus0             
iic0 at sxitwi0                                                               
axppmic0 at iic0 addr 0x34: AXP209, ACIN                                      
sxitwi1 at simplebus0                                                         
iic1 at sxitwi1                                                               
dwge0 at simplebus0                                                           
dwge0: address: 02:0f:0b:01:c4:d0                                             
rlphy0 at dwge0 phy 1: RTL8201L 10/100 PHY, rev. 1                            
ampintc0 at simplebus0 nirq 160, ncpu 2                                       
gpio0 at sxipio0: 32 pins                                                     
gpio1 at sxipio0: 32 pins                                                     
gpio2 at sxipio0: 32 pins                                                     
gpio3 at sxipio0: 32 pins                                                     
gpio4 at sxipio0: 32 pins                                                     
gpio5 at sxipio0: 32 pins                                                     
gpio6 at sxipio0: 32 pins                                                  
gpio7 at sxipio0: 32 pins     
gpio8 at sxipio0: 32 pins                         
scsibus1 at sdmmc0: 2 targets, initiator 0 
sd1 at scsibus1 targ 1 lun 0: <SD/MMC, SU04G, 0080> SCSI2 0/direct removable
sd1: 3781MB, 512 bytes/sector, 7744512 sectors                  
urtwn0 at uhub0 port 1 configuration 1 interface 0 "Realtek 802.11n WLAN Adapt 
er" rev 2.00/2.00 addr 2
urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R, address 4c:60:de:68:f2:c1
vscsi0 at root                                                        
scsibus2 at vscsi0: 256 targets                              
softraid0 at root                                                      
scsibus3 at softraid0: 256 targets   
sxiahci0: stopping the port, softreset slot 31 was still active.
sxiahci0: stopping the port, softreset slot 31 was still active.
sxiahci0: stopping the port, softreset slot 31 was still active.
sxiahci0: stopping the port, softreset slot 31 was still active.              
sxiahci0: stopping the port, softreset slot 31 was still active.
sxiahci0: stopping the port, softreset slot 31 was still active.
sxiahci0: stopping the port, softreset slot 31 was still active.
sxiahci0: stopping the port, softreset slot 31 was still active.
sxiahci0: stopping the port, softreset slot 31 was still active.              
boot device: sd0       
root on sd1a (60b4266fc7a03fa1.a) swap on sd1b dump on sd1b
Automatic boot in progress: starting file system checks.
/dev/sd1a (60b4266fc7a03fa1.a): file system is clean; not checking
/dev/sd1e (60b4266fc7a03fa1.e): file system is clean; not checking            
/dev/sd1d (60b4266fc7a03fa1.d): file system is clean; not checking            
setting tty flags                                                             
pf enabled                                                                    
starting network                                                              
dwge0: DHCPREQUEST to 255.255.255.255                                      
dwge0: DHCPACK from 192.168.1.17 (fe:e1:ba:d0:9c:e4)
dwge0: bound to 192.168.1.28 -- renewal in 21600 seconds                      
reordering libraries: done.                                                   
openssl: generating isakmpd/iked RSA keys... done.                            
ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519                   
starting early daemons: syslogd pflogd ntpd.                                  
starting RPC daemons:.                                                        
savecore: no core dump                                                        
checking quotas: done.                                                        
clearing /tmp                                                                 
kern.securelevel: 0 -> 1                                                      
creating runtime link editor directory cache.                                 
preserving editor files.                                                      
starting network daemons: sshd smtpd sndiod.                                  
running rc.firsttime                                                          
Path to firmware: http://firmware.openbsd.org/firmware/snapshots/          
Installing: urtwn-firmware    
starting local daemons: cron.                     
Tue Sep 19 13:58:23 CEST 2017               

OpenBSD/armv7 (cubie) (console)

login: sxiahci0: stopping the port, softreset slot 31 was still active.
sxiahci0: stopping the port, softreset slot 31 was still active.  
sxiahci0: stopping the port, softreset slot 31 was still active.      
sxiahci0: stopping the port, softreset slot 31 was still active.
sxiahci0: stopping the port, softreset slot 31 was still active.       
sxiahci0: stopping the port, softreset slot 31 was still active.
sxiahci0: stopping the port, softreset slot 31 was still active.
sxiahci0: stopping the port, softreset slot 31 was still active.
sxiahci0: stopping the port, softreset slot 31 was still active.
sxiahci0: stopping the port, softreset slot 31 was still active.              
sxiahci0: stopping the port, softreset slot 31 was still active.



Thank you,
Best.

-- 
Olivier Cherrier
mailto:[email protected]

Reply via email to