[Bug 199703] HPSA blocking boot on HP smart Array P400

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=199703

--- Comment #18 from Roberto M. (roby_programmer@xxxxxxxxxxxxx) ---
(In reply to Don from comment #14)

Hello,
I am late, I am really sorry


> If you were booted from a cciss block driver before, the disk mapping would
> be to a /dev/cciss/c0dX boot device.
> 
> Do you use by-label, by-uuid, ...?

Here blkid  output:

/dev/cciss/c0d0p2: UUID="229d158a-4614-474d-ac53-82c403c47e49" TYPE="ext4"
PARTUUID="785a40ac-5098-44bb-b7f4-be917bd359df"
/dev/cciss/c0d0p3: UUID="d5514912-b652-4ac6-8273-65c17e96996f" TYPE="swap"
PARTUUID="0c7bc0a1-a917-40b2-9857-f3f36ea9901c"
/dev/cciss/c0d0p4: UUID="292a7797-5a28-4ead-ae7b-483a467e8a63" TYPE="ext4"
PARTUUID="e892e834-8bf2-4e5d-a642-6f0ecd1b4559"
/dev/cciss/c0d0p5: UUID="58573ae4-9cb1-4ffb-a3a6-59b96dc25b63" TYPE="ext4"
PARTUUID="db7acdaa-503e-42b6-89ab-f292242092a7"
/dev/sda1: LABEL="System Reserved" UUID="BC2EEBBB2EEB6D38" TYPE="ntfs"
PARTUUID="61637073-01"
/dev/sda2: UUID="C0EEECA7EEEC96C6" TYPE="ntfs" PARTUUID="61637073-02"
/dev/cciss/c0d0: PTUUID="23b2be73-1e88-40c4-8990-7f285985743b" PTTYP


here these is fdisk -l output :

Disk /dev/cciss/c0d0: 5,5 TiB, 6001026883584 bytes, 11720755632 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 23B2BE73-1E88-40C4-8990-7F285985743B

Dispositivo             Start        Fine     Settori  Size Tipo
/dev/cciss/c0d0p1        2048        4095        2048    1M BIOS boot
/dev/cciss/c0d0p2        4096      618495      614400  300M Linux filesystem
/dev/cciss/c0d0p3 11642626048 11720755199    78129152 37,3G Linux swap
/dev/cciss/c0d0p4      618496    84504575    83886080   40G Linux filesystem
/dev/cciss/c0d0p5    84504576 11642626047 11558121472  5,4T Linux filesystem

Partition table entries are not in disk order.


Disk /dev/sda: 189,9 GiB, 203928109056 bytes, 398297088 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x61637073

Dispositivo Avvio  Start      Fine   Settori   Size Id Tipo
/dev/sda1   *       2048    206847    204800   100M  7 HPFS/NTFS/exFAT
/dev/sda2         206848 398295039 398088192 189,8G  7 HPFS/NTFS/exFAT


> 
> If not and you simply updated the kernel and the kernel switched to hpsa,
> your disk mapping would not be changed over to /dev/sdX, it would still be
> to /dev/cciss/...
> 
> Can you boot into rescue mode? If so, can you post your grub.cfg, /etc/fstab
> files?


here /etc/default/grub:

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux
4.13.16-041316-generic"
#GRUB_HIDDEN_TIMEOUT="0"
GRUB_HIDDEN_TIMEOUT_QUIET="true"
GRUB_TIMEOUT="40"
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
#GRUB_CMDLINE_LINUX_DEFAULT=""
#GRUB_CMDLINE_LINUX=""
GRUB_CMDLINE_LINUX_DEFAULT=""
GRUB_CMDLINE_LINUX="console=ttyS1 console=ttyS0,115200"

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL="console"
GRUB_TERMINAL="console serial"
GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no
--stop=1"

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE="640x480"

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID="true"

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

GRUB_SAVEDEFAULT="false"
GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS1,115200"
#UNNAMED_OPTION=""

GRUB_DISABLE_OS_PROBER="true"

here cat /boot/grub/grub.cfg :

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="Advanced options for Ubuntu>Ubuntu, with Linux
4.13.16-041316-generic"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env
recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1
terminal_input console serial
terminal_output console serial
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=40
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=40
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
#set_background_image "images/tile.png";

set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 0,0,0; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux_proxy ###

function gfxmode {
        set gfxpayload="${1}"
        if [ "${1}" = "keep" ]; then
                set vt_handoff=vt.handoff=1
        else
                set vt_handoff=
        fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode



menuentry "Ubuntu" --class ubuntu --class gnu-linux --class gnu --class os
$menuentry_id_option 'gnulinux-simple-292a7797-5a28-4ead-ae7b-483a467e8a63' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_gpt
        insmod ext2
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root 
229d158a-4614-474d-ac53-82c403c47e49
        else
          search --no-floppy --fs-uuid --set=root
229d158a-4614-474d-ac53-82c403c47e49
        fi
        linux   /vmlinuz-4.17.3-vanilla
root=UUID=292a7797-5a28-4ead-ae7b-483a467e8a63 ro console=ttyS1
console=ttyS0,115200 console=ttyS1,115200
        initrd  /initrd.img-4.17.3-vanilla
}
submenu "Advanced options for Ubuntu"{
menuentry "Ubuntu, with Linux 4.13.16-041316-generic" --class ubuntu --class
gnu-linux --class gnu --class os $menuentry_id_option
'gnulinux-4.13.16-041316-generic-advanced-292a7797-5a28-4ead-ae7b-483a467e8a63'
{
                recordfail
                load_video
                gfxmode $linux_gfx_mode
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio;
fi
                insmod part_gpt
                insmod ext2
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
229d158a-4614-474d-ac53-82c403c47e49
                else
                  search --no-floppy --fs-uuid --set=root
229d158a-4614-474d-ac53-82c403c47e49
                fi
                echo    'Loading Linux 4.13.16-041316-generic ...'
                linux   /vmlinuz-4.13.16-041316-generic
root=UUID=292a7797-5a28-4ead-ae7b-483a467e8a63 ro console=ttyS1
console=ttyS0,115200 console=ttyS1,115200
                echo    'Loading initial ramdisk ...'
                initrd  /initrd.img-4.13.16-041316-generic
}
menuentry "Ubuntu, with Linux 4.13.16-041316-generic (recovery mode)" --class
ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option
'gnulinux-4.13.16-041316-generic-recovery-292a7797-5a28-4ead-ae7b-483a467e8a63'
{
                recordfail
                load_video
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio;
fi
                insmod part_gpt
                insmod ext2
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
229d158a-4614-474d-ac53-82c403c47e49
                else
                  search --no-floppy --fs-uuid --set=root
229d158a-4614-474d-ac53-82c403c47e49
                fi
                echo    'Loading Linux 4.13.16-041316-generic ...'
                linux   /vmlinuz-4.13.16-041316-generic
root=UUID=292a7797-5a28-4ead-ae7b-483a467e8a63 ro recovery nomodeset
console=ttyS1 console=ttyS0,115200
                echo    'Loading initial ramdisk ...'
                initrd  /initrd.img-4.13.16-041316-generic
}
menuentry "Ubuntu, with Linux 4.15.0-24-generic" --class ubuntu --class
gnu-linux --class gnu --class os $menuentry_id_option
'gnulinux-4.15.0-24-generic-advanced-292a7797-5a28-4ead-ae7b-483a467e8a63' {
                recordfail
                load_video
                gfxmode $linux_gfx_mode
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio;
fi
                insmod part_gpt
                insmod ext2
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
229d158a-4614-474d-ac53-82c403c47e49
                else
                  search --no-floppy --fs-uuid --set=root
229d158a-4614-474d-ac53-82c403c47e49
                fi
                echo    'Loading Linux 4.15.0-24-generic ...'
                linux   /vmlinuz-4.15.0-24-generic
root=UUID=292a7797-5a28-4ead-ae7b-483a467e8a63 ro console=ttyS1
console=ttyS0,115200 console=ttyS1,115200
                echo    'Loading initial ramdisk ...'
                initrd  /initrd.img-4.15.0-24-generic
}
menuentry "Ubuntu, with Linux 4.15.0-24-generic (recovery mode)" --class ubuntu
--class gnu-linux --class gnu --class os $menuentry_id_option
'gnulinux-4.15.0-24-generic-recovery-292a7797-5a28-4ead-ae7b-483a467e8a63' {
                recordfail
                load_video
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio;
fi
                insmod part_gpt
                insmod ext2
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
229d158a-4614-474d-ac53-82c403c47e49
                else
                  search --no-floppy --fs-uuid --set=root
229d158a-4614-474d-ac53-82c403c47e49
                fi
                echo    'Loading Linux 4.15.0-24-generic ...'
                linux   /vmlinuz-4.15.0-24-generic
root=UUID=292a7797-5a28-4ead-ae7b-483a467e8a63 ro recovery nomodeset
console=ttyS1 console=ttyS0,115200
                echo    'Loading initial ramdisk ...'
                initrd  /initrd.img-4.15.0-24-generic
}
menuentry "Ubuntu, with Linux 4.17.3-vanilla (recovery mode)" --class ubuntu
--class gnu-linux --class gnu --class os $menuentry_id_option
'gnulinux-4.17.3-vanilla-recovery-292a7797-5a28-4ead-ae7b-483a467e8a63' {
                recordfail
                load_video
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio;
fi
                insmod part_gpt
                insmod ext2
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
229d158a-4614-474d-ac53-82c403c47e49
                else
                  search --no-floppy --fs-uuid --set=root
229d158a-4614-474d-ac53-82c403c47e49
                fi
                echo    'Loading Linux 4.17.3-vanilla ...'
                linux   /vmlinuz-4.17.3-vanilla
root=UUID=292a7797-5a28-4ead-ae7b-483a467e8a63 ro recovery nomodeset
console=ttyS1 console=ttyS0,115200
                echo    'Loading initial ramdisk ...'
                initrd  /initrd.img-4.17.3-vanilla
}
menuentry "Ubuntu, with Linux 4.17.3-vanilla" --class ubuntu --class gnu-linux
--class gnu --class os $menuentry_id_option
'gnulinux-4.17.3-vanilla-advanced-292a7797-5a28-4ead-ae7b-483a467e8a63' {
                recordfail
                load_video
                gfxmode $linux_gfx_mode
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio;
fi
                insmod part_gpt
                insmod ext2
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
229d158a-4614-474d-ac53-82c403c47e49
                else
                  search --no-floppy --fs-uuid --set=root
229d158a-4614-474d-ac53-82c403c47e49
                fi
                echo    'Loading Linux 4.17.3-vanilla ...'
                linux   /vmlinuz-4.17.3-vanilla
root=UUID=292a7797-5a28-4ead-ae7b-483a467e8a63 ro console=ttyS1
console=ttyS0,115200 console=ttyS1,115200
                echo    'Loading initial ramdisk ...'
                initrd  /initrd.img-4.17.3-vanilla
}
}
### END /etc/grub.d/10_linux_proxy ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
        insmod part_gpt
        insmod ext2
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root 
229d158a-4614-474d-ac53-82c403c47e49
        else
          search --no-floppy --fs-uuid --set=root
229d158a-4614-474d-ac53-82c403c47e49
        fi
        knetbsd /memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
        insmod part_gpt
        insmod ext2
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root 
229d158a-4614-474d-ac53-82c403c47e49
        else
          search --no-floppy --fs-uuid --set=root
229d158a-4614-474d-ac53-82c403c47e49
        fi
        linux16 /memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "Windows 2008"{
        set root='(hd1,1)'
        search --no-floppy --fs-uuid --set BC2EEBBB2EEB6D38
        drivemap -s (hd0) ${root}
        chainloader +1
}
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###


here cat /etc/fstab :

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/cciss/c0d0p4 during installation
UUID=292a7797-5a28-4ead-ae7b-483a467e8a63 /               ext4   
errors=remount-ro 0       1
# /boot was on /dev/cciss/c0d0p2 during installation
UUID=229d158a-4614-474d-ac53-82c403c47e49 /boot           ext4    defaults     
  0       2
# /home was on /dev/cciss/c0d0p5 during installation
UUID=58573ae4-9cb1-4ffb-a3a6-59b96dc25b63 /home           ext4    defaults     
  0       2
# swap was on /dev/cciss/c0d0p3 during installation
UUID=d5514912-b652-4ac6-8273-65c17e96996f none            swap    sw           
  0       0
#win2008
UUID=C0EEECA7EEEC96C6                     /mnt/win2008    ntfs   
defaults,auto,users,uid=1000,gid=1000,nls=utf8,umask=0222,rw  0       0


> 
> 
> Also, do you know how to obtain ilo vsp console output? 

please see the attachment, I done it


please if I can ask I see  every 120 second repeat this "error" :

[  488.412034] INFO: task systemd-udevd:211 blocked for more than 120 seconds.
[  488.445659]       Tainted: G          I       4.17.3-vanilla #1
[  488.474729] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this
message.
[  488.514686] systemd-udevd   D    0   211    195 0x80000004
[  488.600643] Call Trace:
[  488.612778]  ? __schedule+0x291/0x870
[  488.630664]  ? sched_clock+0x5/0x10
[  488.647681]  schedule+0x28/0x80
[  488.663709]  schedule_timeout+0x1ee/0x380
[  488.681632]  ? pwq_adjust_max_active+0x90/0xe0
[  488.700638]  io_schedule_timeout+0x19/0x40
[  488.720681]  wait_for_completion_io+0xc0/0x150
[  488.742644]  ? wake_up_q+0x70/0x70
[  488.759070]  hpsa_scsi_do_simple_cmd.isra.64+0xa9/0xf0 [hpsa]
[  488.788656]  hpsa_scsi_do_simple_cmd_with_retry+0x65/0x170 [hpsa]
[  488.819659]  hpsa_scsi_do_inquiry+0x62/0xc0 [hpsa]
[  488.842660]  hpsa_init_one+0x165e/0x1d90 [hpsa]
[  488.866860]  local_pci_probe+0x42/0xa0
[  488.880659]  ? pci_assign_irq+0x27/0x130
[  488.896676]  pci_device_probe+0x141/0x1b0
[  488.916631]  driver_probe_device+0x30b/0x480
[  488.935888]  __driver_attach+0xb8/0xe0
[  488.952676]  ? driver_probe_device+0x480/0x480
[  488.974718]  bus_for_each_dev+0x76/0xc0
[  488.994699]  bus_add_driver+0x161/0x260
[  489.013748]  ? 0xffffffffc03b5000
[  489.029719]  driver_register+0x57/0xc0
[  489.049646]  ? 0xffffffffc03b5000
[  489.065737]  hpsa_init+0x3d/0x1000 [hpsa]
[  489.076638]  do_one_initcall+0x46/0x1c8
[  489.095737]  ? _cond_resched+0x15/0x40
[  489.113687]  ? kmem_cache_alloc_trace+0x3e/0x1c0
[  489.136643]  do_init_module+0x5b/0x201
[  489.154635]  load_module+0x1989/0x1f10
[  489.173672]  ? __do_sys_finit_module+0xe9/0x110
[  489.193708]  __do_sys_finit_module+0xe9/0x110
[  489.215686]  do_syscall_64+0x55/0x110
[  489.233665]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[  489.260659] RIP: 0033:0x7f17748b2839
[  489.277654] RSP: 002b:00007ffcdc23f928 EFLAGS: 00000246 ORIG_RAX:
0000000000000139
[  489.317686] RAX: ffffffffffffffda RBX: 00005646293181e0 RCX:
00007f17748b2839
[  489.344659] RDX: 0000000000000000 RSI: 00007f17745910e5 RDI:
000000000000000c
[  489.381732] RBP: 00007f17745910e5 R08: 0000000000000000 R09:
00007ffcdc23fa40
[  489.415636] R10: 000000000000000c R11: 0000000000000246 R12:
0000000000000000
[  489.453682] R13: 00005646292fa310 R14: 0000000000020000 R15:
00005646293181e0


thank you very much and sorry for my terrible English and my answer so late

-- 
You are receiving this mail because:
You are the assignee for the bug.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux