Mailinglist Archive: opensuse (1047 mails)

< Previous Next >
Re: [opensuse] need debugging help (openSUSE LEAP)
On 01/29/2016 03:40 PM, Carlos E. R. wrote:
If you wish, I can try later on my laptop, before and after the update.

I'm going to run the updates in the laptop, so I'll also take the chance to
check your results.

cer@Minas-Anor:~> su -
Password:
Minas-Anor:~ # uname -mr
4.1.13-5-default x86_64
Minas-Anor:~ # modprobe -r scsi_debug
Minas-Anor:~ # modprobe scsi_debug dev_size_mb=100 sector_size=512
Minas-Anor:~ # udevadm settle
Minas-Anor:~ # devname=$(grep --with-filename scsi_debug
/sys/block/*/device/model | awk -F '/' '{print $4}')
Minas-Anor:~ # cat /sys/block/$devname/queue/{minimum_io_size,optimal_io_size}
512
32768
Minas-Anor:~ # modprobe -r scsi_debug
Minas-Anor:~ #

After update and reboot:

cer@Minas-Anor:~> su -
Password:
Minas-Anor:~ # uname -mr
4.1.15-8-default x86_64
Minas-Anor:~ # modprobe -r scsi_debug
Minas-Anor:~ # modprobe scsi_debug dev_size_mb=100 sector_size=512
Minas-Anor:~ # udevadm settle
Minas-Anor:~ # devname=$(grep --with-filename scsi_debug
/sys/block/*/device/model | awk -F '/' '{print $4}')
Minas-Anor:~ # cat /sys/block/$devname/queue/{minimum_io_size,optimal_io_size}
512
64
Minas-Anor:~ # modprobe -r scsi_debug
Minas-Anor:~ #

Same result as with virtual hardware.


And this was in the log, in case it is of interest:

Jan 30 05:07:16 Minas-Anor kernel: scsi_debug: host protection
Jan 30 05:07:16 Minas-Anor kernel: scsi host7: scsi_debug, version 1.85
[20141022], dev_size_mb=100, opts=0x0
Jan 30 05:07:16 Minas-Anor kernel: scsi 7:0:0:0: Direct-Access Linux
scsi_debug 0184 PQ: 0 ANSI: 6
Jan 30 05:07:16 Minas-Anor kernel: sd 7:0:0:0: Attached scsi generic sg3 type 0
Jan 30 05:07:16 Minas-Anor kernel: sd 7:0:0:0: [sdc] 204800 512-byte logical
blocks: (104 MB/100 MiB)
Jan 30 05:07:16 Minas-Anor kernel: sd 7:0:0:0: [sdc] Write Protect is off
Jan 30 05:07:16 Minas-Anor kernel: sd 7:0:0:0: [sdc] Mode Sense: 73 00 10 08
Jan 30 05:07:16 Minas-Anor kernel: sd 7:0:0:0: [sdc] Write cache: enabled, read
cache: enabled, supports DPO and FUA
Jan 30 05:07:16 Minas-Anor kernel: sd 7:0:0:0: [sdc] Attached SCSI disk
Jan 30 05:07:40 Minas-Anor kernel: sd 7:0:0:0: [sdc] Synchronizing SCSI cache


--
Cheers/Saludos

Carlos E. R. (openSUSE Leap 42.1, test at Minas-Anor)
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >