Michael van Elst a écrit : > On Wed, Nov 13, 2024 at 10:14:26PM +0100, BERTRAND Joël wrote: > >> I _believe_ that last output on console is iscsictl list_targets as >> last information written on console, I'm not sure. Maybe kernel hangs in >> iscsictl login. > > Ok. When list_targets produces output, then it probably hangs with > the login. > > You could set hw.iscsi.debug=100 before the login and restore it to 0 > afterwards (assuming it survives). I have done. Kernel crashes but I have some information in /var/log/messages. Please note that this file seems to be corrupted by hard reset. Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] ISCSI Open unit=0 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] ISCSI Close Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] ISCSI Open unit=0 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] ISCSI Close Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] ISCSI Open unit=0 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] ISCSI Ioctl cmd = c0680002 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] ISCSI: login Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf2268 itt 100 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf23e0 itt 101 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf2558 itt 102 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf26d0 itt 103 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf2848 itt 104 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf29c0 itt 105 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf2b38 itt 106 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf2cb0 itt 107 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf2e28 itt 108 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf2fa0 itt 109 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf3118 itt 10a Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf3290 itt 10b Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf3408 itt 10c Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf3580 itt 10d Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf36f8 itt 10e Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf3870 itt 10f Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf39e8 itt 110 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf3b60 itt 111 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf3cd8 itt 112 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf3e50 itt 113 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf3fc8 itt 114 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf4140 itt 115 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf42b8 itt 116 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf4430 itt 117 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf45a8 itt 118 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf4720 itt 119 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf4898 itt 11a Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf4a10 itt 11b Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf4b88 itt 11c Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf4d00 itt 11d Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf4e78 itt 11e Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create_ccbs: ccb 0xffffb28021cf4ff0 itt 11f Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Create Connection for Session 1 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S-1C0: get_socket: par_sock=7, fdesc=0xfffff60d33a78380 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Connection ID = 1 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Creating receive thread Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Creating send thread Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: get_pdu: pdu = 0xffffb28021d38a68, usecount = 1 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: Receive thread waiting for data Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: Send_login Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] get_ccb: ccb = 0xffffb28021cf4ff0, waitok = 1 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: get_ccb: ccb = 0xffffb28021cf4ff0, usecount = 1 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: get_pdu: pdu = 0xffffb28021d38900, usecount = 2 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: soo_read req: 48 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] complete_pars: n=4, len=140 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] put_par: key <InitiatorName>=19, val=2 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] put_par: value 'iqn.1994-04.org.netbsd:iscsi.legendre.systella.fr:0' Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] put_par: key <InitiatorAlias>=18, val=2 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] put_par: value 'legendre.systella.fr' Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] put_par: key <SessionType>=27, val=8 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] put_par: value 'Discovery' Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] put_par: key <AuthMethod>=0, val=4 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] put_par: value 'None' Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] InitLoginPdu: Flags=81 Phase=0->1 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] SetupTxUio: dlen = 140, dptr: 0xfffff60d3987fa08, read: 0 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: Send_pdu: CmdSN=1 ExpStatSN~0 ccb=0xffffb28021cf4ff0, pdu=0xffffb28021d38900 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: Send_pdu: ccb=0xffffb28021cf4ff0 cdisp=4 waiting Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: Transmitting PDU CmdSN = 1, ExpStatSN = 0 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] soo_write done: len = 0 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: free_pdu: pdu = 0xffffb28021d38900, usecount = 1 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: Received PDU StatSN=1473470564, ExpCmdSN=1 MaxCmdSN=1 ExpDataSN=0 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] read_pdu_data: data segment length = 63 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: soo_read req: 64 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: Received Login Response PDU, op=23, flags=81, sn=1473470564 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] NegotiateLogin: Flags=81 Phase=1 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: get_pdut Device Nov 14 09:20:15 legendre /netbsd: [ 1.0049191] acpiout3 at acpivga0 (DD04, 0x0301): ACsmNegParams: connState=0, MRDSL=0 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: SetFirstO05, 0x0302): ACPI Display Output Device Nov 14 09:20:15 legendre /netbsd: [ 1.0049191] acpiout5 at acpivga0 (DD06, 0x0303): ACPI Display Output Device Nov 14 09:20:15 legendre /netbsd: [ 1.0049191] acpiout6 at acpivga0 (DD07, 0x0304): ACPI Display Output D ret 0xfffff60d6cf09424 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] get_par: value 'QNAP Targisplay Output Device Nov 14 09:20:15 legendre /netbsd: [ 1.0049191] acpiout8 at acpivga0 (DD09, 0x0009): ACPI Display Output Device Nov 14 09:20:15 legendre /netbsd: [ 1.0049191] acpiout9 at a.0942580] complete_pars: n=6, len=132 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] put_par: key <HeaderDigest>=13, val=5 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] put_par: value 'None' Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] put_par: value 'CRC32C' Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] put_par: kplay Output Device Nov 14 09:20:15 legendre /netbsd: [ 1.0049191] acpiout12 at acpivga0 (DD0D, 0 71.0942580] put_par: value 'CRC32C' Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] put_par: keycpivga0 (DD0E, 0x000e): ACPI Display Output Device Nov 14 09:20:15 legendre /netbsd: [ 1.0049191lue '65536' Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] put_par: key <ErrorRecoveryLevel>=11, val=0 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] put_par: value '2' Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] put_par: key <InitialR2T>=17, val=3 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] put_par: value 'No' Nov 14 09:20:15 legendre /netbsd: [[0-100] [[0-100] Nov 14 09:20:15 legendre /netbsd: [ 1.0049191] acpivga0: connected output devices: Nov 14 09:20:15 legendre /netbsd: [ 180] put_par: value 'Yes' Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] InitLoginPdu: Flags=87 Phase=1->3 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] SetupTxUio: dlen = 132, dptr: 0xfffff60d34c77588, read: 0 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: Send_pdu: CmdSN=1 ExpStatSN~1473470565 ccb=0xffffb28021cf4ff0, pdu=0xffffb28021d38798 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: free_pdu: pdu = 0xffffb28021d38a68, usecount = 1 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: Transmitting PDU CmdSN = 1, ExpStatSN = 1473470565 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: get_pdu: pdu = 0xffffb28021d38630, usecount = 2 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: Receive thread waiting for data Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: soo_read req: 48 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] soo_write done: len = 0 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: free_pdu: pdu = 0xffffb28021d38798, usecount = 1 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: Received PDU StatSN=1473470565, ExpCmdSN=1 MaxCmdSN=1 ExpDataSN=0 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] read_pdu_data: data segment length = 120 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: soo_read req: 120 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: Received Login Response PDU, op=23, flags=87, sn=1473470565 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] AddSernum bottom 0 [1473470565], top 1, num 1473470565, diff 1 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] AckSernum bottom 0, top 0, num 1473470565 ExpSN 1473470566 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] NegotiateLogin: Flags=87 Phase=3 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: AsmNegParams: connState=2, MRDSL=8192 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] get_par: key <HeaderDigest>=13, val=5, ret 0xfffff60d4e530955 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] get_par: value 'None' Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] get_par: key <DataDigest>=6, val=5, ret 0xfffff60d4e530965 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] get_par: value 'None' Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] get_par: key <InitialR2T>=17, val=3, ret 0xfffff60d4e530975 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] get_par: value 'Yes' Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] get_par: key <ImmediateData>=16, val=3, ret 0xfffff60d4e530987 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] get_par: value 'Yes' Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] get_par: key <MaxRecvDataSegmentLength>=23, val=0, ret 0xfffff60d4e5309a4 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] get_par: value '262144' Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] get_par: key <ErrorRecoveryLevel>=11, val=0, ret 0xfffff60d4e5309be Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] get_par: value '0' Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: SetNegPar: MRDSL=262144, MBL=262144, FBL=65536, IR2T=1, ImD=1 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: Login Successful! Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: CCB 1 done, ccb = 0xffffb28021cf4ff0, disp = 4 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: free_pdu: pdu = 0xffffb28021d38630, usecount = 0 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: Send_pdu: ccb=0xffffb28021cf4ff0 cdisp=1 returned Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: free_ccb: ccb = 0xffffb28021cf4ff0, usecount = 0 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: get_pdu: pdu = 0xffffb28021d384c8, usecount = 1 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: Receive thread waiting for data Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: soo_read req: 48 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: Connection created successfully! Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] ISCSI Ioctl cmd = c1000008 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] ISCSI: send_targets, rsp_size=0; Saved list: 0x0 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] Send_send_targets Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] get_ccb: ccb = 0xffffb28021cf4e78, waitok = 1 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: get_ccb: ccb = 0xffffb28021cf4e78, usecount = 1 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: get_pdu: pdu = 0xffffb28021d3affinity to 3 Nov 14 09:20:15 legendre /netbsd: [ 1.0049191] wm0: for TX and RX interrupting at msix0 vec 4 affinity to 4 Nov 14 09:20:15 legendre /netbsd: [ 1.0049191] wm0: for TX and RX interrupting at msix0 vec 5 affinity to 5 Nov 14 09:20:15 legendre /netbsd: [ 1.0049191] wm0: for TX] S1C1: Send_pdu: CmdSN=1 ExpStatSN~1473470566 ccb=0xffffb28021cf4e78, pdu=0xffffb28021d38360 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: Send_pdu: ccb 1.0049191] wm0: for LINK interrupting at msix0 vec 8 Nov 14 09:20:15 legendre /netbsd: [ 1.0049191] wm0: PCI-Express bus Nov 14 09:20:15 legendre /netbsd: [ 1.0049191] wm0: 8192 words (16 adrite done: len = 0 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: Received PDU StatSN=1473 1.0049191] wm0: RX packet buffer size: 72KB Nov 14 09:20:15 legendre /netbsd: [ 1.0049191] wmu_data: data segment length = 96 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: soo_read req: 96 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: Received Text Response PDU, op=24, fUBSYS,WOL,EEE,CRC_STRIP,DELAY_LINKUP> Nov 14 09:20:15 legendre /netbsd: [ 1.0049191] ihphy0 at wm0 phy 1: I350 10/100/1000 media interface, rev. 1 Nov 14 09:20:15 legendre /netbsd: [ 1.0049191] ihphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto Nov 14 09:20:15 legendre /netbsd: [ 1.0049191] wm1 at pci2 dev 0 function 1, 64-bit DMA: I350 Gigabit Network Connection (rev. 0x01) Nov 14 09:20:15 legendre /netbsd: [ 1.0049191] wm1: for TX and RX interrupting at msix1 vec 0 affinity to 0 Nov 14 09:20:15 legendre /netbsd: [ 1.0049191] wm1: for TX and RX interrupting at msix1 vec 1 affinity to 1 Nov 14 09:20:15 legendre /netbsd: [ 1.0049191] wm1: for TX and RX interrupting at msix1 vec 2 affinity to 2 Nov 14 09:20:15 legendre /netbsd: [ 1.0049191] wm1: for TX and RX interrupting at msix1 vec 3 affinity to 3 Nov 14 09:20:15 legendre /netbsd: [ 1.0049191] wm1: for TX and RX interrupting at msix1 vec 4 affinity to 4 Nov 14 09:20:15 legendre /netbsd: [ 1.000008 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] ISCSI: send_targets, rsp_size=96; Saved list: 0xfffff60d6cf09408 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] ISCSI Ioctl cmd = c0080003c 6 affinity to 6 Nov 14 09:20:15 legendre /netbsd: [ 1.0049191] wm1: for TX and RX interrupting at msix1 vec 7 affinity to 7 Nov 14 09:20:15 legendre /netbsd: [ 1.0049191] wm1: for LINK inter: Kill_connection: terminating=0, status=29, logout=0, state=3 Nov 14 09:20:15 legendre /netbsd: [ 71.0942580] S1C1: Kill_connection setting destroy flag Regards, JB
Attachment:
signature.asc
Description: OpenPGP digital signature