Bug#918107: Random boot failure using VMware Paravirtual Adapter

2019-01-03 Thread Thomas Kotzian
Package: linux-image-4.19.0-1-amd64
Version: 4.19.12-1

Random boot failures on VMware when VM uses the Paravirtual Adapter. I drop 
into a busybox shell after the first line from the kernel. No disk found. 
Normally the 2nd line mentions the disk - this line doesn’t appear on failing 
boots - no disk is accessible. Rebooting sometimes works.

Kernel 4.18.0-3-amd64 work all the time. 4.19.3-1 is also broken.

LSI SCSI controller works fine on every reboot.

I have looked through the changelog of 4.19.12. it mentions code re-arrangement 
in pv_scsi driver - maybe something broke there?



Bug#445957: clarification

2008-01-08 Thread Thomas Kotzian
snapshotting works now: the problem was a selfwritten script that  
creates and mounts a snapshot.


the pattern was:
for example 3 snapshots ...

snapshot 1:
create: ok
mount: ok

snapshot 2:
create: hang ...
cpu is busy in kernel mode on all cpus (2 cpus, 4 cores) - verified by  
htop


solution:

i have split the snapshot creation and mount part into 2 loops:

first create all 3 snapshots
sleep 3
mount all 3 snapshots

now everything works fine.

thanks for your time!

please close this bug report.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#459732: linux-image-2.6.23-1-amd64: scsi changer device not working - error in scsi subsystem

2008-01-08 Thread Thomas Kotzian

Am 08.01.2008 um 13:18 schrieb maximilian attems:


On Tue, Jan 08, 2008 at 12:57:44PM +0100, Thomas Kotzian wrote:
the media changer device doesn't work. on startup an error -EEXIST  
for a ch kobject gets triggered.


linux-image-2.6.21-2-amd64 (2.6.21-6) works
every kernel later (even upstream) doesn't

the working snippet ...

ch0: type #1 (mt): 0x1+1 [medium transport]
ch0: type #2 (st): 0x1000+81 [storage]
ch0: type #3 (ie): 0x10+6 [import/export]
ch0: type #4 (dt): 0x100+2 [data transfer]
ch0: dt 0x100: ID/LUN unknown
ch0: dt 0x101: ID/LUN unknown
ch0: INITIALIZE ELEMENT STATUS, may take some time ...
ch0: ... finished
ch 2:0:0:1: Attached scsi changer ch0
sd 1:0:0:0: Attached scsi generic sg0 type 0
st 0:0:0:0: Attached scsi generic sg1 type 1
sd 3:0:0:0: Attached scsi generic sg2 type 0
st 2:0:0:0: Attached scsi generic sg3 type 1
ch 2:0:0:1: Attached scsi generic sg4 type 8

the failing snippet ...

scsi 2:0:0:1: Medium ChangerADIC Scalar i500  400G PQ:  
0 ANSI: 3
kobject_add failed for 2:0:0:1 with -EEXIST, don't try to register  
things with the same name in the same directory.


Call Trace:
[802febc0] kobject_shadow_add+0x16e/0x1a2
[80365450] device_add+0x99/0x614
sd 3:0:0:0: [sdb] Write cache: enabled, read cache: disabled,  
doesn't support DPO or FUA

[8805955a] :scsi_mod:scsi_sysfs_add_sdev+0x35/0x218
[88057640] :scsi_mod:scsi_probe_and_add_lun+0x953/0xa95
[88055f7f] :scsi_mod:scsi_execute_req+0x82/0xde
[88058041] :scsi_mod:__scsi_scan_target+0x407/0x5c3
[880587d0] :scsi_mod:scsi_scan_target+0x96/0xbb
[880b49ed] :scsi_transport_fc:fc_scsi_scan_rport+0x59/0x7a
[880b4994] :scsi_transport_fc:fc_scsi_scan_rport+0x0/0x7a
[80243481] run_workqueue+0x7f/0x10b
[80243db8] worker_thread+0x0/0xe4
[80243e92] worker_thread+0xda/0xe4
[80246b96] autoremove_wake_function+0x0/0x2e
[80246a79] kthread+0x47/0x76
[8020cc08] child_rip+0xa/0x12
[80246a32] kthread+0x0/0x76
[8020cbfe] child_rip+0x0/0x12

error 1
st 2:0:0:0: Unexpected response from lun 1 while scanning, scan  
aborted

sd 3:0:0:0: [sdb] 1874933760 512-byte hardware sectors (959966 MB)
sd 3:0:0:0: [sdb] Write Protect is off
sd 3:0:0:0: [sdb] Mode Sense: 23 00 00 00
sd 3:0:0:0: [sdb] Write cache: enabled, read cache: disabled,  
doesn't support DPO or FUA

sdb: sdb4  sdb5 
sd 3:0:0:0: [sdb] Attached SCSI disk
SCSI Media Changer driver v0.25
ch 2:0:0:1: rejecting I/O to dead device
ch0: type #1 (mt): 0x0+0 [medium transport]
ch0: type #2 (st): 0x0+0 [storage]
ch0: type #3 (ie): 0x0+0 [import/export]
ch0: type #4 (dt): 0x0+0 [data transfer]
ch0: INITIALIZE ELEMENT STATUS, may take some time ...
ch 2:0:0:1: rejecting I/O to dead device
ch0: ... finished
ch 2:0:0:1: Attached scsi changer ch0
st 1:0:0:0: Attached scsi generic sg0 type 1
sd 0:0:0:0: Attached scsi generic sg1 type 0
st 2:0:0:0: Attached scsi generic sg2 type 1
ch 2:0:0:1: Attached scsi generic sg3 type 8
sd 3:0:0:0: Attached scsi generic sg4 type 0


nice, please check out 2.6.23-rc7 from trunk and
see if it makes a difference, see apt lines
- http://wiki.debian.org/DebianKernel

if aboves makes *no* progress, then please holler
upstream in bugzilla.kernel.org and let us know
the upstream bug number.

debian carries no scsi specific patches, although
the changer was long time such a boy.

best regards

--
maks


I tried kernel 2.6.24-rc6 from experimental (linux-image-2.6.24-rc6- 
amd642.6.24~rc6-1~experimental.1~snapshot.10030)

and it works!!!

thanks for your time!

best regards,
thomas



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#445957: linux-source-2.6.22: creating a snapshot hangs the system

2007-10-09 Thread Thomas Kotzian
Package: linux-source-2.6.22
Version: 2.6.22-4
Severity: grave
Justification: causes non-serious data loss

when i create a snapshot with for example

lvcreate -s -L 3g -n snap_var_lv /dev/system_vg/var_lv  

the command hangs, is uninterruptable and the system is frozen.

tested with linux-image-2.6.22-amd64, linux-image-2.6.22-486 and some systems
linux-image-2.6.21-{amd64,486} works perfectly.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (800, 'testing'), (700, 'stable'), (500, 
'testing-proposed-updates'), (500, 'proposed-updates'), (70, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.18-5-xen-amd64 (SMP w/1 CPU core)
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]