Custom Query (1358 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (106 - 108 of 1358)

Ticket Resolution Summary Owner Reporter
#1646 duplicate segmentation fault under linux ia64 Anatoly Pugachev
Description

Hello!

Using debian sid (unstable) on my ia64 blade with hpsa (cciss) driver.

Running 'smartctl' for disk status, fails with segmentation fault:

# uname -a
Linux lifshitz 5.17.0-1-mckinley #1 SMP Debian 5.17.3-1 (2022-04-18) ia64 GNU/Linux
# ./smartctl -i /dev/sda -d cciss,0
smartctl 7.3 2022-02-28 r5338 [ia64-linux-5.17.0-1-mckinley] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org

Segmentation fault (core dumped)

running under gdb (for stack trace):

smartmontools-7.3# gdb -q -c core ./smartctl
Reading symbols from ./smartctl...
[New LWP 1588376]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/ia64-linux-gnu/libthread_db.so.1".
Failed to read a valid object file image from memory.
Core was generated by `./smartctl -i /dev/sda -d cciss,0'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  tunnelled_device<ata_device, scsi_device>::get_tunnel_dev (this=0xc00000000004d2b8) at scsiata.cpp:499
499       if (!scsidev->scsi_pass_through(iop)) {
(gdb) bt
#0  tunnelled_device<ata_device, scsi_device>::get_tunnel_dev (this=0xc00000000004d2b8) at scsiata.cpp:499
#1  sat::sat_device::scsi_pass_through (this=0xc00000000004d2b8, iop=0x60000fffffe1edd0) at scsiata.cpp:498
#2  0x4000000000092000 in virtual thunk to sat::sat_device::scsi_pass_through(scsi_cmnd_io*) () at scsiata.cpp:1315
#3  0x4000000000083290 in scsi_pass_through_yield_sense (device=0x600000000003b1f8, iop=0x60000fffffe1edd0, sinfo=...) at scsicmds.cpp:1221
#4  0x4000000000084b90 in scsiInquiryVpd (device=0x600000000003b1f8, vpd_page=0, pBuf=0x60000fffffe1ee50 "", bufLen=252) at scsicmds.cpp:911
#5  0x4000000000084f40 in supported_vpd_pages::supported_vpd_pages (this=0x600000000003b270, device=0x600000000003b1f8) at scsicmds.cpp:54
#6  0x40000000000bd010 in scsiPrintMain (device=0x600000000003b1f8, options=...) at scsiprint.cpp:3214
#7  0x4000000000011740 in main_worker (argc=5, argv=0x60000fffffe23698) at smartctl.cpp:1655
#8  0x4000000000005d70 in main (argc=5, argv=0x60000fffffe23698) at smartctl.cpp:1676

any ideas how to fix this? Thanks.

#1237 worksforme segfault issues after upgrading to 7.0-1 Fer
Description

After upgrade to 7.0-1 these messages started to appear everytime I run smartctl.

I had to downgrade to 6.5 and issues dissapear. Any clues?

[vie sep 20 20:45:27 2019] smartctl[29739]: segfault at 7ffedea138ac ip 00007fb580c49aa9 sp 00007ffedea0f8d8 error 4 in libc-2.17.so[7fb580af5000+1c3000]
[vie sep 20 20:45:27 2019] smartctl[29742]: segfault at 7ffd789ae000 ip 00007f52fb59cb10 sp 00007ffd789aa608 error 4 in libc-2.17.so[7f52fb448000+1c3000]
[vie sep 20 20:45:27 2019] smartctl[29745]: segfault at 7ffd86dc2000 ip 00007f68b8b3db20 sp 00007ffd86dbe7e8 error 4 in libc-2.17.so[7f68b89e9000+1c3000]
[vie sep 20 20:45:27 2019] smartctl[29754]: segfault at 7ffe88d7c000 ip 00007f9a6668eb48 sp 00007ffe88d78418 error 4 in libc-2.17.so[7f9a6653a000+1c3000]
[vie sep 20 20:45:28 2019] smartctl[29763]: segfault at 7ffcf70b3000 ip 00007fa0493fab48 sp 00007ffcf70af218 error 4 in libc-2.17.so[7fa0492a6000+1c3000]
[vie sep 20 20:45:29 2019] smartctl[29780]: segfault at 7ffcaf8f329c ip 00007f194eebbaa9 sp 00007ffcaf8ef2c8 error 4 in libc-2.17.so[7f194ed67000+1c3000]
[vie sep 20 20:45:29 2019] smartctl[29783]: segfault at 7ffee6f07000 ip 00007f2c099b9b38 sp 00007ffee6f03338 error 4 in libc-2.17.so[7f2c09865000+1c3000]
[root@zxxx300 ~]# uname -a
Linux zxxx300 3.10.0-1062.1.1.el7.x86_64 #1 SMP Fri Sep 13 22:55:44 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
#1312 duplicate seagate usb3 8TB drive (0x0bc2:0x3343) fry
Description

hello

my first try :

smartctl -a /dev/sda
smartctl 6.6 2017-11-05 r4594 [armv7l-linux-4.19.97-v7l+] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
/dev/sda: Unknown USB bridge [0x0bc2:0x3343 (0x100)]
Please specify device type with the -d option.
Use smartctl -h to get a usage summary

looking at supported drives, my second try:

sudo smartctl -a /dev/sda -d sat
smartctl 6.6 2017-11-05 r4594 [armv7l-linux-4.19.97-v7l+] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
Read Device Identity failed: scsi error unsupported field in scsi command
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.

then third:

sudo smartctl -a /dev/sda -d sat -T permissive
smartctl 6.6 2017-11-05 r4594 [armv7l-linux-4.19.97-v7l+] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
Read Device Identity failed: scsi error unsupported field in scsi command
=== START OF INFORMATION SECTION ===
Device Model:     [No Information Found]
Serial Number:    [No Information Found]
Firmware Version: [No Information Found]
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   [No Information Found]
Local Time is:    Wed Apr  1 12:12:07 2020 BST
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if SMART supported.
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 85-87 don't show if SMART is enabled.
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.

as the device id was not in the http://www.linux-usb.org/usb.ids i added it and it is now pending validation i don't know much more than what is listed on amazon : https://www.amazon.com/Seagate-STGY8000400-Disque-externe-bureau/dp/B07DQBFQ2D (or https://www.amazon.com/dp/B07CQJBSQL/ as i see no difference)

i am willing to run any command that could help (but "format" or anything that imply writing as the drive is in use)

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.