iSCSI is pronounced Kernel Panic in Linux

So, if you’re using Debian 4, be careful to make sure your iSCSI Initiator settings are right, because if your auth settings are wrong, you will have a big box of fail.

Debian GNU/Linux 4.0 web6 ttyS1

web6 login: scsi2 : iSCSI Initiator over TCP/IP
BUG: unable to handle kernel paging request at virtual address 00100104
 printing eip:
f8b916f4
*pde = 00000000
Oops: 0002 [#1]
SMP 
Modules linked in: ib_iser rdma_cm ib_addr ib_cm ib_sa ib_mad ib_core iscsi_tcplibiscsi scsi_transport_iscsi binfmt_misc button ac battery ipv6 autofs4 dummy nfs lockd nfs_acl sunrpc 8021q dm_snapshot dm_mirror dm_mod loop serio_raw shpchp e7xxx_edac psmouse i2c_i801 i2c_core rtc pci_hotplug evdev edac_mc pcspkr ext3 jbd mbcache ide_disk generic qla2xxx e100 piix mii firmware_class scsi_transport_fc uhci_hcd e1000 scsi_mod ide_core usbcore thermal processor fan
CPU:    1
EIP:    0060:[<f8b916f4>]    Not tainted VLI
EFLAGS: 00210282   (2.6.18-6-686 #1) 
EIP is at __iscsi_complete_pdu+0x2db/0x3a2 [libiscsi]
eax: f29fd694   ebx: f1c8717c   ecx: 00100100   edx: 00200200
esi: 00000023   edi: f18e1edc   ebp: f16ba8c0   esp: f1ad38a8
ds: 007b   es: 007b   ss: 0068
Process php (pid: 21799, ti=f1ad2000 task=f28ab550 task.ti=f1ad2000)
Stack: f227e000 f1c8717c 00000000 dfc9b000 f29fd680 f1c8717c f227e000 f16ba8c8 
       f16ba8c0 f8b91948 00000179 f16ba8c0 00000179 00000023 f8b998cf 00000179 
       f528bc80 f1ad398c dff84520 f2918680 00000000 f1c8717c f16ba8c0 f4583ea4 
Call Trace:
 [<f8b91948>] iscsi_complete_pdu+0x23/0x30 [libiscsi]
 [<f8b998cf>] iscsi_tcp_data_recv+0x112b/0x1164 [iscsi_tcp]
 [<c024792c>] ip_output+0x1d1/0x1fd
 [<c024719a>] ip_queue_xmit+0x371/0x3b3
 [<c025dbaa>] udp_push_pending_frames+0x1e3/0x204
 [<f88b298f>] e1000_xmit_frame+0x928/0x958 [e1000]
 [<c022259f>] release_sock+0xc/0x91
 [<c0259643>] tcp_v4_send_check+0x72/0xb8
 [<c024cb84>] tcp_read_sock+0x5e/0x163
 [<f8b987a4>] iscsi_tcp_data_recv+0x0/0x1164 [iscsi_tcp]
 [<f8b99d10>] iscsi_tcp_data_ready+0x32/0x3f [iscsi_tcp]
 [<c0253c14>] tcp_rcv_established+0x523/0x7b7
 [<c0258d88>] tcp_v4_do_rcv+0x25/0x2b4
 [<f8ab0ced>] vlan_dev_hwaccel_hard_start_xmit+0x5f/0x66 [8021q]
 [<c0229876>] dev_hard_start_xmit+0x19a/0x1f0
 [<c025b1b5>] tcp_v4_rcv+0x8d2/0x925
 [<c024792c>] ip_output+0x1d1/0x1fd
 [<c02431f0>] ip_local_deliver+0x15b/0x207
 [<c024305b>] ip_rcv+0x3e3/0x41d
 [<c02294ac>] netif_receive_skb+0x2c5/0x33d
 [<f88b3ac0>] e1000_clean_rx_irq+0x3fb/0x4a8 [e1000]
 [<f88b2bd9>] e1000_clean+0x69/0x123 [e1000]
 [<c022ae6f>] net_rx_action+0x92/0x17f
 [<c01217b0>] __do_softirq+0x5a/0xbb
 [<c0121847>] do_softirq+0x36/0x3a
 [<c01050ea>] do_IRQ+0x48/0x52
 [<c01036b6>] common_interrupt+0x1a/0x20
 [<c025e26c>] udp_sendmsg+0x1cf/0x4c9
 [<c01457a5>] __alloc_pages+0x4e/0x275
 [<c01176e6>] try_to_wake_up+0x355/0x35f
 [<c0157291>] cache_alloc_refill+0x60/0x44e
 [<c0263843>] inet_sendmsg+0x35/0x3f
 [<c0220437>] sock_sendmsg+0xce/0xe8
 [<c01161c5>] __wake_up_common+0x2f/0x53
 [<c012d8b1>] autoremove_wake_function+0x0/0x2d
 [<c0223b0a>] sock_def_readable+0x31/0x5b
 [<c016dcc0>] dput+0x1a/0x11b
 [<f8b5532b>] nfs_lookup_revalidate+0x24a/0x3ba [nfs]
 [<f8b916d7>] __iscsi_complete_pdu+0x2be/0x3a2 [libiscsi]
 [<f8b91948>] iscsi_complete_pdu+0x23/0x30 [libiscsi]
 [<f8b99068>] iscsi_tcp_data_recv+0x8c4/0x1164 [iscsi_tcp]
 [<c0221dd2>] kernel_sendmsg+0x27/0x35
 [<f8af8f89>] xs_udp_send_request+0xe1/0x2a2 [sunrpc]
 [<c024792c>] ip_output+0x1d1/0x1fd
 [<f8af6fa6>] xprt_transmit+0xca/0x1a9 [sunrpc]
 [<f8b6367b>] nfs3_xdr_fhandle+0x0/0x21 [nfs]
 [<f8af537e>] call_transmit+0x19b/0x1c8 [sunrpc]
 [<f8af9e3b>] __rpc_execute+0x7a/0x198 [sunrpc]
 [<f8af54d2>] rpc_call_sync+0x6b/0x91 [sunrpc]
 [<f8b61173>] nfs3_rpc_wrapper+0x1f/0x5b [nfs]
 [<f8b61448>] nfs3_proc_getattr+0x51/0x72 [nfs]
 [<f8b58611>] __nfs_revalidate_inode+0x127/0x24d [nfs]
 [<f8b5ed57>] nfs_wait_on_requests_locked+0x91/0xa5 [nfs]
 [<f88b1635>] e1000_clean_tx_irq+0x65/0x204 [e1000]
 [<f8b5fc47>] nfs_sync_inode_wait+0x68/0x1ab [nfs]
 [<f8b58fc0>] nfs_getattr+0x52/0x7d [nfs]
 [<f8b58f6e>] nfs_getattr+0x0/0x7d [nfs]
 [<c0161e05>] vfs_getattr+0x40/0x99
 [<c0161f1a>] vfs_stat_fd+0x2a/0x3c
 [<f88aff04>] e1000_unmap_and_free_tx_resource+0xe/0x19 [e1000]
 [<f88b1635>] e1000_clean_tx_irq+0x65/0x204 [e1000]
 [<f88b2bd9>] e1000_clean+0x69/0x123 [e1000]
 [<c0161fb9>] sys_stat64+0xf/0x23
 [<c022ae6f>] net_rx_action+0x92/0x17f
 [<c01217b0>] __do_softirq+0x5a/0xbb
 [<c01050ea>] do_IRQ+0x48/0x52
 [<c0102c7b>] syscall_call+0x7/0xb
Code: 5c 24 08 8b 4c 24 04 8b 03 e8 73 80 ff ff 5a 85 c0 b8 f3 03 00 00 0f 44 44 24 08 89 44 24 08 8b 44 24 10 83 c0 14 8b 08 8b 50 04 <89> 51 04 89 0a c7 40 04 00 02 20 00 c7 00 00 01 10 00 8b 43 2c 
EIP: [<f8b916f4>] __iscsi_complete_pdu+0x2db/0x3a2 [libiscsi] SS:ESP 0068:f1ad38a8
 <0>Kernel panic - not syncing: Fatal exception in interrupt