Bug#1069587: linux-cpupower: turbostat core dump in compute_average, regression

2024-04-20 Thread Witold Baryluk
Package: linux-cpupower
Version: 6.7.9-2
Severity: normal
X-Debbugs-Cc: witold.bary...@gmail.com


turbostat 6.7.9-2 core dumps on my AMD Threadripper 2950X

linux-cpupower_6.6.15-2_amd64.deb works fine.

gdb session with 6.7.9-2

root@debian:~# gdb turbostat 
GNU gdb (Debian 13.2-1) 13.2
Reading symbols from turbostat...
Reading symbols from 
/usr/lib/debug/.build-id/6f/8e4bb8d39e0b45899098c6bd0307918833eeb8.debug...
(gdb) r
Starting program: /usr/sbin/turbostat 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
turbostat version 2023.11.07 - Len Brown 
Kernel command line: BOOT_IMAGE=/live/vmlinuz-6.6.15-amd64 intel_iommu=on 
iommu=pt amd_iommu=on radeon.si_support=0 radeon.cik_support=0 
amdgpu.si_support=1 amdgpu.cik_support=1 amdgpu.ppfeaturemask=0x 
amdgpu.audio=0 processors.max_cstate=1 intel_idle.max_cstate=0 idle=halt 
modprobe.blacklist=snd_hda_codec_hdmi,snd_hda_intel boot=live components 
locales=en_US.UTF-8 findiso=
CPUID(0): AuthenticAMD 0xd CPUID levels
CPUID(1): family:model:stepping 0x17:8:2 (23:8:2) microcode 0x0
CPUID(0x8000): max_extended_levels: 0x801f
CPUID(1): SSE3 MONITOR - - - TSC MSR - HT -
CPUID(6): APERF, No-TURBO, No-DTS, No-PTM, No-HWP, No-HWPnotify, No-HWPwindow, 
No-HWPepp, No-HWPpkg, No-EPB
CPUID(7): No-SGX No-Hybrid
cpu0: cpufreq driver: acpi-cpufreq
cpu0: cpufreq governor: performance
cpufreq boost: 1
/dev/cpu_dma_latency: 4000 usec (constrained)
current_driver: none
current_governor: menu
current_governor_ro: menu
RAPL: 234 sec. Joule Counter Range, at 280 Watts
[New Thread 0x77fc1740 (LWP 1098480)]
[New Thread 0x77d886c0 (LWP 1098481)]
[Thread 0x77d886c0 (LWP 1098481) exited]

Thread 1 "turbostat" received signal SIGFPE, Arithmetic exception.
0xfc24 in compute_average (t=, c=, 
p=) at 
/build/reproducible-path/linux-6.7.9/tools/power/x86/turbostat/turbostat.c:2479
2479  
/build/reproducible-path/linux-6.7.9/tools/power/x86/turbostat/turbostat.c: No 
such file or directory.
(gdb) bt
#0  0xfc24 in compute_average (t=, c=, p=) at 
/build/reproducible-path/linux-6.7.9/tools/power/x86/turbostat/turbostat.c:2479
#1  0x555676ea in turbostat_loop () at 
/build/reproducible-path/linux-6.7.9/tools/power/x86/turbostat/turbostat.c:4364
#2  0x7542 in main (argc=1, argv=0x7fffebe8) at 
/build/reproducible-path/linux-6.7.9/tools/power/x86/turbostat/turbostat.c:6753
(gdb) 


Probably some division by zero in the code.


For comparison older version of turbostat (on same cpu and kernel) shows:

Die Core  CPU Avg_MHz Busy% Bzy_MHz TSC_MHz IPC IRQ CorWatt PkgWatt
- - - 21  1.37  1511  1750  0.67  14450 2.59  39.87
1 0 8 50  1.74  2893  3500  0.73  1115  0.38  39.87
1 0 24  44  1.42  3111  3500  0.66  822
1 1 9 68  2.17  3127  3500  0.75  1051  0.35
1 1 25  20  0.73  2696  3500  0.33  1244
1 2 10  50  1.59  3158  3500  0.50  987 0.30
1 2 26  31  0.99  3151  3500  0.61  1036
1 3 11  40  1.25  3174  3500  0.77  658 0.46
1 3 27  114 3.62  3137  3500  0.85  1186
1 4 12  102 3.20  3171  3500  0.56  1180  0.44
1 4 28  19  0.67  2860  3500  0.40  887
1 5 13  3 0.12  2810  3500  0.33  112 0.18
1 5 29  22  0.81  2768  3500  0.47  899
1 6 14  22  0.83  2670  3500  0.36  1403  0.23
1 6 30  14  0.48  2855  3500  0.35  617
1 7 15  19  0.73  2607  3500  0.41  936 0.26
1 7 31  45  1.59  2833  3500  1.21  317





-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.6.15-amd64 (SMP w/32 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-cpupower depends on:
ii  libc6 2.37-17
ii  libcap2   1:2.66-5
ii  libcpupower1  6.7.9-2
ii  libpci3   1:3.10.0-2

linux-cpupower recommends no packages.

linux-cpupower suggests no packages.

-- no debconf information



Bug#1031564: linux-image-cloud-amd64: Please include e1000 and e1000e modules in cloud kernel.

2023-02-18 Thread Witold Baryluk
Package: linux-image-cloud-amd64
Severity: normal
X-Debbugs-Cc: witold.bary...@gmail.com

e1000 emulation is a default in qemu. It would be nice to have available
in a cloud kernel. While most of the time one will use virtio, or some
other cloud specific driver, for troubleshooting images, booting system
images in recovery mode, manually, etc, it is good to have e1000 as it is
easy to run in qemu.

For completeness this is how it presents in lspci:

00:03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet 
Controller (rev 03)

This is with default qemu settings. (i440fx chipset).

With -M q35 (which is also very commonly used), qemu defaults to using:

00:02.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection

This is handled by e1000e module.

As far as I know neither of these modules require any firmware files. And
qemu emulated device would not use it anyway.

So please include e1000 and e1000e in default cloud kernel image buld.

While at it, it would be nice to have ptp module probably. And ptp_kvm (I
actually use that on real cloud instances, not just in qemu).

As of the file size, for rather unknown reasons the e1000.ko and
e1000e.ko files are rather large, 300KB and 616KB on my system. Plus
another 49K for ptp. It is a little more than expected. My guess this is
due to inclusion of debug symbols. One way or another, it should be
included in the cloud image.


Regards,
Witold

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.2.0-rc5 (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages linux-image-cloud-amd64 depends on:
pn  linux-image-6.1.0-5-cloud-amd64  

linux-image-cloud-amd64 recommends no packages.

linux-image-cloud-amd64 suggests no packages.



Bug#912596: cpufrequtils: cpufreq-info only shows 31 CPUs

2020-05-22 Thread Witold Baryluk
Package: linux
Followup-For: Bug #912596

Appears to be fixed somewhere before kernel 5.2.17.

No issues on:

$ uname -a
Linux debian 5.2.0-3-amd64 #1 SMP Debian 5.2.17-1 (2019-09-26) x86_64 GNU/Linux
$

Package:

ii  linux-image-5.2.0-3-amd64   5.2.17-1
  amd64Linux 5.2 for 64-bit PCs (signed)


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-3-amd64 (SMP w/32 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



Bug#942861: linux-image-amd64: missing-copyright-file /usr/share/doc/linux-image-amd64/copyright

2019-10-30 Thread Witold Baryluk
Package: linux-image-amd64
Version: 5.3.7-1
Followup-For: Bug #942861

Not just linux-image-amd64:

linux-perf: missing-copyright-file /usr/share/doc/linux-perf/copyright
linux-headers-amd64: missing-copyright-file 
/usr/share/doc/linux-headers-amd64/copyright
linux-image-amd64: missing-copyright-file 
/usr/share/doc/linux-image-amd64/copyright


user@debian:~$ ls -l /usr/share/doc/linux-perf/
total 0
user@debian:~$ ls -l /usr/share/doc/linux-headers-amd64/
total 0
user@debian:~$ ls -l /usr/share/doc/linux-image-amd64/
total 0
user@debian:~$ 


Cheers,
Witold



Bug#912596: cpufrequtils: cpufreq-info only shows 31 CPUs

2019-01-10 Thread Witold Baryluk
Still experiencing the same issue with newer kernel from testing.

$ uname -a
Linux debian 4.19.0-1-amd64 #1 SMP Debian 4.19.12-1 (2018-12-22) x86_64
GNU/Linux
$

Package:

ii  linux-image-4.19.0-1-amd64
4.19.13-1 amd64Linux 4.19 for 64-bit
PCs (signed)


Thanks.


Bug#912596: cpufrequtils: cpufreq-info only shows 31 CPUs

2018-11-19 Thread Witold Baryluk
Package: linux
Followup-For: Bug #912596

(I sent this before, but for some reasons it didn't get into bts.)


I have 32 cpus. So cpus indexed 0 - 31. Yes.

* the cpu 0 - 30 show correct power/frequency info.
* cpu 31 doesn't.

Please inspect carefully my attached outputs of the tools used.

So it only works for 31 CPUs, as in the subject.


Thanks!


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-2-amd64 (SMP w/32 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



Bug#804857: linux: New feature: enable CONFIG_NO_HZ_FULL and CONFIG_RCU_NOCB_CPU/CONFIG_RCU_NOCB_CPU_NONE

2018-11-14 Thread Witold Baryluk
Package: src:linux
Followup-For: Bug #804857


Hi, I am just curious, and wanted to know if there is some progress on
enableing NO_HZ_FULL in generic debian on most architectures?

I wouldn't also mind separate kernel image with CONFIG_PREEMPT (full
prempetion) and HZ=1000 for desktop / soft real time work (studio audio
work, gaming, etc).

Best regards,
Witold


-- System Information:
Debian Release: buster/sid
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-2-amd64 (SMP w/32 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



Bug#912596: cpufrequtils: cpufreq-info only shows 31 CPUs

2018-11-08 Thread Witold Baryluk
I have 16 cores, 32 threads.

It only shows correctly first 31 CPUs. (cpu0 to cpu30). Last one cpu31 is
missing some data.


On 8 Nov 2018 19:36, "Raymond Burkholder"  wrote:

I might be missing something, but ...

0 - 31 means a count of 32.  Or do you have more than 32?


On 2018-11-08 11:01 a.m., Witold Baryluk wrote:
> Package: linux-image-4.18
> Followup-For: Bug #912596
>
>
> # cpupower -c all frequency-info
> analyzing CPU 0:
<- cut ->
> ...
> analyzing CPU 30:
<- cut ->
> analyzing CPU 31:
<- cut ->

> #
>
> Same issue, last CPU has missing info.
>
> Thanks.
>
> Missing file in sys indicate it is an issue with kernel or my
> motherboard / CPU.
>
>


Bug#912596: cpufrequtils: cpufreq-info only shows 31 CPUs

2018-11-08 Thread Witold Baryluk
Package: linux-image-4.18
Followup-For: Bug #912596


# cpupower -c all frequency-info
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency:  Cannot determine or is not supported.
  hardware limits: 2.20 GHz - 3.50 GHz
  available frequency steps:  3.50 GHz, 2.80 GHz, 2.20 GHz
  available cpufreq governors: userspace powersave conservative ondemand 
performance schedutil
  current policy: frequency should be within 2.20 GHz and 3.50 GHz.
  The governor "ondemand" may decide which speed to use
  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 1.89 GHz (asserted by call to kernel)
  boost state support:
Supported: yes
Active: no
...
analyzing CPU 30:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 30
  CPUs which need to have their frequency coordinated by software: 30
  maximum transition latency:  Cannot determine or is not supported.
  hardware limits: 2.20 GHz - 3.50 GHz
  available frequency steps:  3.50 GHz, 2.80 GHz, 2.20 GHz
  available cpufreq governors: userspace powersave conservative ondemand 
performance schedutil
  current policy: frequency should be within 2.20 GHz and 3.50 GHz.
  The governor "ondemand" may decide which speed to use
  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 3.69 GHz (asserted by call to kernel)
  boost state support:
Supported: yes
Active: no
analyzing CPU 31:
  no or unknown cpufreq driver is active on this CPU
  CPUs which run at the same hardware frequency: Not Available
  CPUs which need to have their frequency coordinated by software: Not Available
  maximum transition latency:  Cannot determine or is not supported.
Not Available
  available cpufreq governors: Not Available
  Unable to determine current policy
  current CPU frequency: Unable to call hardware
  current CPU frequency:  Unable to call to kernel
  boost state support:
Supported: yes
Active: no
#

Same issue, last CPU has missing info.

Thanks.

Missing file in sys indicate it is an issue with kernel or my
motherboard / CPU.



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-2-amd64 (SMP w/32 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-image-4.18 depends on:
ii  initramfs-tools [linux-initramfs-tool]  0.132
ii  kmod25-1
ii  linux-base  4.5

Versions of packages linux-image-4.18 recommends:
ii  apparmor 2.13.1-3+b1
ii  firmware-linux-free  3.4
pn  irqbalance   

Versions of packages linux-image-4.18 suggests:
pn  debian-kernel-handbook  
ii  extlinux3:6.04~git20171011.af7e95c3+dfsg1-5
pn  linux-doc-4.18  



Bug#850884: overlayfs does not implement inotify interfaces correctly

2018-11-05 Thread Witold Baryluk
Package: src:linux
Followup-For: Bug #850884


Hi,

this is still an issue on current kernels.

I am running Debian Live CD with 4.18.10, and tail -f, uses pooling on root
overlayfs, instead of inotify (verified using strace).

It is not a huge issue for tail itself, but for some other apps it can.

Thanks.



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-2-amd64 (SMP w/32 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



Bug#699140: Linux as of 3.8-rc5 doesn't support NCT6779D hw sensor

2018-11-01 Thread Witold Baryluk
Package: src:linux
Followup-For: Bug #699140


$ grep NCT6775 /boot/config-4.18.0-1-amd64 
CONFIG_SENSORS_NCT6775=m
$ 

user@debian:/lib/modules$ find | grep nct677
./4.18.0-1-amd64/kernel/drivers/hwmon/nct6775.ko
user@debian:/lib/modules$


  │ CONFIG_SENSORS_NCT6775:
  │
  │ If you say yes here you get support for the hardware monitoring
  │ functionality of the Nuvoton NCT6106D, NCT6775F, NCT6776F, NCT6779D,
  │ NCT6791D, NCT6792D, NCT6793D, NCT6795D, NCT6796D, and compatible
  │ Super-I/O chips. This driver replaces the w83627ehf driver for
  │ NCT6775F and NCT6776F.
  │
  │ This driver can also be built as a module.  If so, the module
  │ will be called nct6775



It does support NCT6779D. I am guessing the original github driver was
mainlined some time ago. It also is =m in defconfig, and is also
available as module in debian by default (at least on amd64) for some
time.


-- Package-specific info:
** Version:
Linux version 4.18.0-1-amd64 (debian-kernel@lists.debian.org) (gcc version 
7.3.0 (Debian 7.3.0-29)) #1 SMP Debian 4.18.6-1 (2018-09-06)

** Command line:
BOOT_IMAGE=/live/vmlinuz-4.18.0-1-amd64 boot=live components findiso=

** Not tainted

** Kernel log:
Unable to read kernel log; any relevant messages should be attached

** Model information
sys_vendor: Micro-Star International Co., Ltd.
product_name: MS-7B92
product_version: 1.0
chassis_vendor: Micro-Star International Co., Ltd.
chassis_version: 1.0
bios_vendor: American Megatrends Inc.
bios_version: 1.10
board_vendor: Micro-Star International Co., Ltd.
board_name: MEG X399 CREATION (MS-7B92)
board_version: 1.0

** Loaded modules:
amd64_edac_mod
edac_mce_amd
cmac
bnep
arc4
iwlmvm
amdgpu
mac80211
btusb
btrtl
btbcm
btintel
bluetooth
iwlwifi
snd_hda_codec_hdmi
snd_hda_intel
kvm
snd_hda_codec
snd_hda_core
snd_hwdep
snd_pcm
cfg80211
hid_a4tech
jitterentropy_rng
drbg
snd_timer
snd
ansi_cprng
joydev
ecdh_generic
sg
crc16
chash
gpu_sched
soundcore
rfkill
irqbypass
ccp
crct10dif_pclmul
crc32_pclmul
sp5100_tco
rng_core
k10temp
efi_pstore
ghash_clmulni_intel
efivars
pcspkr
wmi_bmof
evdev
pcc_cpufreq
acpi_cpufreq
efivarfs
ip_tables
x_tables
autofs4
squashfs
zstd_decompress
xxhash
loop
overlay
isofs
sd_mod
hid_generic
usbhid
hid
uas
usb_storage
crc32c_intel
mxm_wmi
radeon
aesni_intel
aes_x86_64
crypto_simd
xhci_pci
drm_kms_helper
ahci
cryptd
libahci
ttm
xhci_hcd
glue_helper
igb
libata
drm
dca
i2c_piix4
usbcore
i2c_algo_bit
scsi_mod
usb_common
gpio_amdpt
wmi
gpio_generic
button

** PCI devices:
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h 
(Models 00h-0fh) Root Complex [1022:1450]
Subsystem: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 
00h-0fh) Root Complex [1022:1450]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- 

00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h 
(Models 00h-0fh) PCIe Dummy Host Bridge [1022:1452]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- TAbort- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: 
Kernel driver in use: pcieport

00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h 
(Models 00h-0fh) PCIe Dummy Host Bridge [1022:1452]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: 
Kernel driver in use: pcieport

00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h 
(Models 00h-0fh) PCIe Dummy Host Bridge [1022:1452]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- TAbort- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: 
Kernel driver in use: pcieport

00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller 
[1022:790b] (rev 59)
Subsystem: Micro-Star International Co., Ltd. [MSI] FCH SMBus 
Controller [1462:7b92]
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
SERR- TAbort- 
SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- 

Bug#912597: linux-image-4.18.0-1-amd64: Please enable CONFIG_SENSORS_NCT7802 for nct7802 driver and others

2018-11-01 Thread Witold Baryluk
Package: src:linux
Version: 4.18.6-1
Severity: normal

Dear Maintainer,

I see there is many HWMON hardware modules not compiled in
4.18.0-1-amd64, this also applies to 4.18.0-2-amd64 as I checked there is
no nct7802.ko in the package.

$ cat /boot/config-4.18.0-1-amd64  | grep NCT7
# CONFIG_SENSORS_NCT7802 is not set
# CONFIG_SENSORS_NCT7904 is not set
$

In menuconfig they are as:



  │ Symbol: SENSORS_NCT7802 [=n]
  │ Type  : tristate
  │ Prompt: Nuvoton NCT7802Y

  │ Symbol: SENSORS_NCT7904 [=n]
  │ Type  : tristate
  │ Prompt: Nuvoton NCT7904

  │   Location:
  │ -> Device Drivers
  │   -> Hardware Monitoring support (HWMON [=y])


Please enable it to be built as module, as it is used on various
motherboards, including my MSI X399 MEG Creation.

Please also consider enabling other hwmon modules
(like CONFIG_SENSORS_NPCM7XX, CONFIG_SENSORS_W83773G, CONFIG_SENSORS_ASPEED).
Similary CONFIG_PMBUS and all PMBUS drivers should probably be build as
modules.

Thanks!


-- Package-specific info:
** Version:
Linux version 4.18.0-1-amd64 (debian-kernel@lists.debian.org) (gcc version 
7.3.0 (Debian 7.3.0-29)) #1 SMP Debian 4.18.6-1 (2018-09-06)

** Command line:
BOOT_IMAGE=/live/vmlinuz-4.18.0-1-amd64 boot=live components findiso=

** Not tainted

** Kernel log:
Unable to read kernel log; any relevant messages should be attached

** Model information
sys_vendor: Micro-Star International Co., Ltd.
product_name: MS-7B92
product_version: 1.0
chassis_vendor: Micro-Star International Co., Ltd.
chassis_version: 1.0
bios_vendor: American Megatrends Inc.
bios_version: 1.10
board_vendor: Micro-Star International Co., Ltd.
board_name: MEG X399 CREATION (MS-7B92)
board_version: 1.0

** Loaded modules:
amd64_edac_mod
edac_mce_amd
cmac
bnep
arc4
iwlmvm
amdgpu
mac80211
btusb
btrtl
btbcm
btintel
bluetooth
iwlwifi
snd_hda_codec_hdmi
snd_hda_intel
kvm
snd_hda_codec
snd_hda_core
snd_hwdep
snd_pcm
cfg80211
hid_a4tech
jitterentropy_rng
drbg
snd_timer
snd
ansi_cprng
joydev
ecdh_generic
sg
crc16
chash
gpu_sched
soundcore
rfkill
irqbypass
ccp
crct10dif_pclmul
crc32_pclmul
sp5100_tco
rng_core
k10temp
efi_pstore
ghash_clmulni_intel
efivars
pcspkr
wmi_bmof
evdev
pcc_cpufreq
acpi_cpufreq
efivarfs
ip_tables
x_tables
autofs4
squashfs
zstd_decompress
xxhash
loop
overlay
isofs
sd_mod
hid_generic
usbhid
hid
uas
usb_storage
crc32c_intel
mxm_wmi
radeon
aesni_intel
aes_x86_64
crypto_simd
xhci_pci
drm_kms_helper
ahci
cryptd
libahci
ttm
xhci_hcd
glue_helper
igb
libata
drm
dca
i2c_piix4
usbcore
i2c_algo_bit
scsi_mod
usb_common
gpio_amdpt
wmi
gpio_generic
button

** PCI devices:
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h 
(Models 00h-0fh) Root Complex [1022:1450]
Subsystem: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 
00h-0fh) Root Complex [1022:1450]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- 

00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h 
(Models 00h-0fh) PCIe Dummy Host Bridge [1022:1452]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- TAbort- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: 
Kernel driver in use: pcieport

00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h 
(Models 00h-0fh) PCIe Dummy Host Bridge [1022:1452]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: 
Kernel driver in use: pcieport

00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h 
(Models 00h-0fh) PCIe Dummy Host Bridge [1022:1452]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- TAbort- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: 
Kernel driver in use: pcieport

00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller 
[1022:790b] (rev 59)
Subsystem: Micro-Star International Co., Ltd. [MSI] FCH SMBus 
Controller [1462:7b92]
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
SERR- TAbort- 
SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- 

Bug#898778: hooks/btrfs fails

2018-05-15 Thread Witold Baryluk
Package: initramfs-tools
Followup-For: Bug #898778

Appears to be fixed in btrfs-progs 4.16.1-2

I got strange error from apt, but it is probably fine now:


...
Przetwarzanie wyzwalaczy pakietu initramfs-tools (0.130)...
update-initramfs: Generating /boot/initrd.img-4.16.0-1-amd64


...
W: APT had planned for dpkg to do more than it reported back (195 vs 199).
   Affected packages: initramfs-tools:amd64
$


# update-initramfs -k all -u
update-initramfs: Generating /boot/initrd.img-4.16.0-1-amd64
update-initramfs: Generating /boot/initrd.img-4.15.0-3-amd64
update-initramfs: Generating /boot/initrd.img-4.15.0-2-amd64
update-initramfs: Generating /boot/initrd.img-4.15.0-1-amd64
#


So, it appears to be a duplicate of #898719 and can be closed.



Bug#898778: hooks/btrfs fails

2018-05-15 Thread Witold Baryluk
Package: initramfs-tools
Version: 0.130
Severity: important

Hi.


# LC_ALL=C dpkg --configure -a
Setting up initramfs-tools (0.130) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.130) ...
update-initramfs: Generating /boot/initrd.img-4.16.0-1-amd64
E: /usr/share/initramfs-tools/hooks/btrfs failed with return 1.
update-initramfs: failed for /boot/initrd.img-4.16.0-1-amd64 with 1.
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned 
error exit status 1
Errors were encountered while processing:
 initramfs-tools


$ dpkg -l | grep btrfs
ii  btrfs-progs4.16.1-1 
   amd64Checksumming Copy on Write Filesystem utilities
ii  btrfs-tools4.15.1-2 
   amd64transitional dummy package
ii  extlinux   3:6.04~git20171011.af7e95c3+dfsg1-3  
   amd64collection of bootloaders (Linux ext2/ext3/ext4, btrfs, and xfs 
bootloader)
$


Thanks!


-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 27M Mar 21 08:53 /boot/initrd.img-4.15.0-1-amd64
-rw-r--r-- 1 root root 27M Apr 16 18:49 /boot/initrd.img-4.15.0-2-amd64
-rw-r--r-- 1 root root 27M Apr 22 22:37 /boot/initrd.img-4.15.0-3-amd64
-rw-r--r-- 1 root root 28M May  5 02:53 /boot/initrd.img-4.16.0-1-amd64
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.16.0-1-amd64 root=/dev/mapper/xyz_mirrored--ssd-root ro 
intel_iommu=on iommu=pt

-- resume
RESUME=/dev/mapper/xyz_mirrored--ssd-swap_1
-- /proc/filesystems
btrfs
ext3
ext2
ext4
vfat
fuseblk
xfs
jfs
msdos
ntfs
minix
hfs
hfsplus
qnx4
ufs

-- lsmod
Module  Size  Used by
ufs86016  0
qnx4   16384  0
hfsplus   114688  0
hfs69632  0
minix  40960  0
ntfs  106496  0
msdos  20480  0
jfs   208896  0
xfs  1433600  0
vboxpci28672  0
vboxnetadp 28672  0
vboxnetflt 32768  0
vboxdrv   483328  3 vboxnetadp,vboxnetflt,vboxpci
xt_nat 16384  0
veth   16384  0
uas28672  0
usb_storage69632  2 uas
cpuid  16384  0
fuse  118784  3
zfs  4022272  37
zunicode  335872  1 zfs
zlua  180224  1 zfs
zcommon86016  1 zfs
znvpair90112  2 zcommon,zfs
zavl   16384  1 zfs
icp   286720  1 zfs
spl   114688  5 znvpair,zcommon,zfs,icp,zavl
nf_conntrack_netlink49152  0
nfnetlink  16384  2 nf_conntrack_netlink
xfrm_user  45056  1
xfrm_algo  16384  1 xfrm_user
xt_addrtype16384  2
br_netfilter   24576  0
overlay   102400  0
pci_stub   16384  1
xt_CHECKSUM16384  1
iptable_mangle 16384  1
ipt_MASQUERADE 16384  4
nf_nat_masquerade_ipv416384  1 ipt_MASQUERADE
iptable_nat16384  1
nf_nat_ipv416384  1 iptable_nat
nf_nat 36864  3 xt_nat,nf_nat_masquerade_ipv4,nf_nat_ipv4
nf_conntrack_ipv4  16384  7
nf_defrag_ipv4 16384  1 nf_conntrack_ipv4
xt_conntrack   16384  2
nf_conntrack  155648  8 
xt_nat,nf_conntrack_ipv4,ipt_MASQUERADE,nf_conntrack_netlink,nf_nat_masquerade_ipv4,xt_conntrack,nf_nat_ipv4,nf_nat
ipt_REJECT 16384  2
nf_reject_ipv4 16384  1 ipt_REJECT
xt_tcpudp  16384  6
tun45056  1
bridge184320  1 br_netfilter
stp16384  1 bridge
llc16384  2 bridge,stp
ip6table_filter16384  0
ip6_tables 28672  1 ip6table_filter
devlink61440  0
iptable_filter 16384  1
cpufreq_userspace  16384  0
cpufreq_conservative16384  0
cpufreq_powersave  16384  0
binfmt_misc20480  1
nls_ascii  16384  2
quota_v2   16384  2
nls_cp437  20480  2
quota_tree 20480  1 quota_v2
vfat   24576  2
fat77824  2 msdos,vfat
intel_rapl 24576  0
x86_pkg_temp_thermal16384  0
intel_powerclamp   16384  0
kvm_intel 180224  0
iTCO_wdt   16384  0
iTCO_vendor_support16384  1 iTCO_wdt
mxm_wmi16384  0
amdkfd176128  1
kvm   704512  1 kvm_intel
efi_pstore 16384  0
irqbypass  16384  1 kvm
amdgpu   2752512  26
snd_hda_codec_hdmi 57344  1
chash  16384  1 amdgpu
gpu_sched  28672  1 amdgpu

Bug#639901: linux-image-3.0.0-1-686-pae: WARNING at radeon_fence wait: GPU lockup -- when starting gdm3, some fonts glyphs missings

2011-08-31 Thread Witold Baryluk
Package: linux-2.6
Version: 3.0.0-3
Severity: important

I was booting about 10 times on this kernel and didn't have this issues.
Also I had no problem with my hardware.

When I was in the middle of boot process, and when gdm3 just started
starting (Xorg already started, blanked screen, and showed
spiining waithing wheel), I hit Ctrl-Alt-F1 to go back to the console
(I often do so, to look for the rest of the boot process, and to work from
the console).

This times however, just moments after seeing console (gdm3 was still 
initializing
and displaying its loging screen in the background), I saw warning
at 106 seconds on the screen (kernel log below).

I waited for boot process to end.

After switching back to Alt-F7, some font glyphs was missing (not rendered).
It was missing glyphs in user logins menu and system menu (this with restart / 
poweroff).
Notably glyphs a and i was missing, few others, but few other letters was 
present.
missing glyphs renderes just like empty space (probably with variable size like 
original glyphs).
Background color wasn't changed on this empty space (just like putting there a 
space).

Restarting gdm3 solved this problem. Strange.

It was fresh boot, no
upgrades going on in the same time gdm was starting or running.

Do not know if this is reproductible even on my hardware,
and with what freqency.

Thanks.



-- Package-specific info:
** Version:
Linux version 3.0.0-1-686-pae (Debian 3.0.0-3) (b...@decadent.org.uk) (gcc 
version 4.5.3 (Debian 4.5.3-8) ) #1 SMP Sat Aug 27 16:41:03 UTC 2011

** Command line:
BOOT_IMAGE=/vmlinuz-3.0.0-1-686-pae root=/dev/mapper/sredniczarny-root ro 
resume=/dev/mapper/sredniczarny-swap_1 thinkpad_acpi.fan_control=1 threadirqs 
pcie_aspm=force pci=use_crs

** Tainted: WC (1536)
 * Taint on warning.
 * Module from drivers/staging has been loaded.

** Kernel log:
[   92.128918] uhci_hcd :00:1d.1: USB bus 3 deregistered
[   92.128931] uhci_hcd :00:1d.1: PCI INT B disabled
[   92.128941] uhci_hcd :00:1d.0: remove, state 4
[   92.128948] usb usb2: USB disconnect, device number 1
[   92.129344] uhci_hcd :00:1d.0: USB bus 2 deregistered
[   92.129360] uhci_hcd :00:1d.0: PCI INT A disabled
[   92.130174] WARNING! power/level is deprecated; use power/control instead
[   92.169210] zram: module is from the staging directory, the quality is 
unknown, you have been warned.
[   92.169601] zram: num_devices not specified. Using default: 1
[   92.169605] zram: Creating 1 devices ...
[   92.240635] Adding 524284k swap on /dev/zram0.  Priority:10 extents:1 
across:524284k SS
[   92.844561] EXT4-fs (dm-1): re-mounted. Opts: 
errors=remount-ro,barrier=1,user_xattr,acl,commit=120,commit=0
[   93.149118] EXT4-fs (dm-5): re-mounted. Opts: 
barrier=1,user_xattr,acl,commit=300,commit=0
[   93.366060] EXT4-fs (dm-2): re-mounted. Opts: 
barrier=1,user_xattr,acl,commit=120,commit=0
[   94.031297] EXT4-fs (dm-3): re-mounted. Opts: 
barrier=1,user_xattr,acl,commit=120,commit=0
[   94.039447] EXT4-fs (dm-6): re-mounted. Opts: 
barrier=1,user_xattr,acl,commit=120,commit=0
[   97.462655] Bridge firewalling registered
[   97.722290] ip_tables: (C) 2000-2006 Netfilter Core Team
[   98.012760] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[   98.030432] P-state transition latency capped at 20 uS
[   98.207031] ADDRCONF(NETDEV_UP): virbr1: link is not ready
[   98.940915] microcode: CPU0 sig=0x6d8, pf=0x20, revision=0x20
[   98.956905] microcode: Microcode Update Driver: v2.00 
tig...@aivazian.fsnet.co.uk, Peter Oruba
[   99.477822] tun: Universal TUN/TAP device driver, 1.6
[   99.483153] tun: (C) 1999-2004 Max Krasnyansky m...@qualcomm.com
[  104.172113] Ebtables v2.0 registered
[  104.248398] ip6_tables: (C) 2000-2006 Netfilter Core Team
[  106.968051] radeon :01:00.0: GPU lockup CP stall for more than 10020msec
[  106.973583] [ cut here ]
[  106.979133] WARNING: at 
/build/buildd-linux-2.6_3.0.0-3-i386-G7H4XL/linux-2.6-3.0.0/debian/build/source_i386_none/drivers/gpu/drm/radeon/radeon_fence.c:267
 radeon_fence_wait+0x23d/0x2a7 [radeon]()
[  106.990755] Hardware name: 2669UYD
[  106.996607] GPU lockup (waiting for 0x0075 last fence id 0x0069)
[  107.002573] Modules linked in: ip6table_filter ip6_tables ebtable_nat 
ebtables tun microcode ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 
nf_defrag_ipv4 xt_state acpi_cpufreq mperf nf_conntrack cpufreq_userspace 
ipt_REJECT cpufreq_stats xt_CHECKSUM iptable_mangle xt_tcpudp iptable_filter 
ip_tables x_tables bridge stp zram(C) dummy xfrm_user esp6 esp4 xfrm6_mode_beet 
xfrm4_mode_beet decnet cn cpufreq_conservative cpufreq_powersave bnep rfcomm 
bluetooth lib80211_crypt_ccmp binfmt_misc uinput deflate ctr camellia serpent 
blowfish cast5 des_generic xcbc rmd160 sha512_generic sha1_generic hmac 
crypto_null af_key ib_iser rdma_cm ib_cm iw_cm ib_sa ib_mad ib_core ib_addr 
iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi nfsd nfs lockd auth_rpcgss 
nfs_acl sunrpc 

Bug#577925: tgt on debian

2011-02-01 Thread Witold Baryluk
Package: tgt
Version: 1:1.0.4-2
Severity: normal

still no initscript for tgtd.

but manually starting it, it works.
i successfully done some configuration using tgtadm and
connected to it using open-iscsi package. works perfectly.

performing
modprobe rdma_cm
modprobe rdma_ucm
modprobe fcoe

made warning message disappear. but because i do not use FC or Infiband,
I cannot test it further, and it do not change anything for me.

sredniczarny:~# tgtd -f
(null): fcoe_init(214) (null)
(null): fcoe_create_interface(171) no interface specified.
libibverbs: Warning: couldn't open config directory '/etc/libibverbs.d'.
libibverbs: Warning: couldn't open config directory '/etc/libibverbs.d'.


anyway it works. Have no idea what libibverbs.d is.

as of initscript, one should be aware of some curious things in tgtd.
it do not exit when killed with SIGTERM, i need to use SIGKILL to stop it :(
it do not check if interface is already binded or other instance of tgtd is
running.
I think start-stop-daemon need to be carefully used to prevent this two
problems.




-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=pl_PL.utf8, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to pl_PL.utf8)
Shell: /bin/sh linked to /bin/dash

Versions of packages tgt depends on:
ii  libc6 2.11.2-10  Embedded GNU C Library: Shared lib
ii  libconfig-general-perl2.48-1 Generic Configuration Module
ii  libibverbs1   1.1.3-2A library for direct userspace use
ii  librdmacm11.0.10-1   A library for managing RDMA connec
ii  sg3-utils 1.29-1 utilities for devices using the SC

tgt recommends no packages.

tgt suggests no packages.

-- Configuration Files:
/etc/tgt/targets.conf changed [not included]

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110201082828.15906.9052.report...@sredniczarny.smp.if.uj.edu.pl



Bug#577925: additional parameters for tgtd

2011-02-01 Thread Witold Baryluk
Package: tgt
Version: 1:1.0.4-2
Severity: normal

initscript should also allow adding additional options to tgtd.

for example.

TGTD_OPTS=--iscsi 'portal=[2001:124:123::5]:3260'

to listen on single ipv6 interface.

Also TGTD_ENABLE=false would be usefull, to have tgtd disabled by default.


BTW. 1.0.13 version is already available, which contains lots of cumulatad
bugfixes comparing to 1.0.4.




-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=pl_PL.utf8, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to pl_PL.utf8)
Shell: /bin/sh linked to /bin/dash

Versions of packages tgt depends on:
ii  libc6 2.11.2-10  Embedded GNU C Library: Shared lib
ii  libconfig-general-perl2.48-1 Generic Configuration Module
ii  libibverbs1   1.1.3-2A library for direct userspace use
ii  librdmacm11.0.10-1   A library for managing RDMA connec
ii  sg3-utils 1.29-1 utilities for devices using the SC

tgt recommends no packages.

tgt suggests no packages.

-- Configuration Files:
/etc/tgt/targets.conf changed:
default-driver iscsi


-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110201084153.16243.8881.report...@sredniczarny.smp.if.uj.edu.pl



Bug#520928: linux-image-2.6.26-1-686: PIIX4 /dev/hda performance regression (10x times, DMA dissabled)

2011-01-22 Thread Witold Baryluk
Hi.

I tested for a week kernel 2.6.32-5-686-xen on xen 4.0 from squeeze.

Essentially perfromance is still very bad. It is slightly better (about 2-2.5 
MB/s,
instead of 1.5 MB/s), but still makes this useless). One still cannot even 
enforce
using DMA.


-- 
Witold Baryluk


signature.asc
Description: Digital signature


Bug#520928: PIIX performance regression still present in lenny's 2.6.26*

2011-01-09 Thread Witold Baryluk
 feature set
Security Mode feature set
   *Power Management feature set
   *Write cache
   *Look-ahead
Release interrupt
   *Host Protected Area feature set
   *WRITE_BUFFER command
   *READ_BUFFER command
   *NOP cmd
   *READ/WRITE_DMA_QUEUED
Advanced Power Management feature set
Power-Up In Standby feature set
SET_FEATURES required to spinup after power up
Address Offset Reserved Area Boot
SET_MAX security extension
Automatic Acoustic Management feature set
Security: 
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
26min for SECURITY ERASE UNIT. 
HW reset results:
CBLID- above Vih
Device num = 0 determined by the jumper
Checksum: correct
r...@noisy:~# 

Relevant part of dmesg

[0.00] Linux version 2.6.26-2-xen-686 (Debian 2.6.26-25) 
(da...@debian.org) (gcc version 4.1.3 20080704 (
prerelease) (Debian 4.1.2-25)) #1 SMP Mon Aug 30 10:02:38 UTC 2010
...
[3.670702] SCSI subsystem initialized
...
[3.779661] Uniform Multi-Platform E-IDE driver
[3.779882] ide: Assuming 33MHz system bus speed for PIO modes; override 
with idebus=xx
[3.826060] piix: 450NX errata present, disabling IDE DMA.
[3.826060] piix: A BIOS update may resolve this.
[3.826338] PIIX4: IDE controller (0x8086:0x7111 rev 0x01) at  PCI slot 
:00:0c.1
[3.826421] PIIX4: not 100% native mode: will probe irqs later
[3.826629] PIIX4: IDE port disabled
[3.826828] ide0: BM-DMA at 0x2c20-0x2c27
[3.827081] Probing IDE interface ide0...
...
[4.119428] hda: IBM-DTLA-307030, ATA DISK drive
[4.796760] hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
[4.797030] hda: no DMA mode selected
[4.797244] hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
...
[4.811725] PIIX4: IDE controller (0x8086:0x84ca rev 0x03) at  PCI slot 
:00:10.0
[4.812005] PIIX4: device not capable of full native PCI mode
[4.812209] PIIX4: device disabled (BIOS)
...
[5.202827] libata version 3.00 loaded.
...
[5.877421] hda: max request size: 128KiB
[5.905570] hda: 60036480 sectors (30738 MB) w/1916KiB Cache, CHS=59560/16/63
[5.906121] hda: cache flushes not supported
[5.906606]  hda: hda1 hda3
...


I can try kernel from squeeze.
I installed 2.6.32-5-686-xen from squeeze (and few dependencies),
but will it work with xen 3.2-1 ?




Regards,
Witek.

-- 
Witold Baryluk


signature.asc
Description: Digital signature


Bug#524534: error removing initrd when removing package

2009-12-21 Thread Witold Baryluk
Package: initramfs-tools
Version: 0.93.4
Severity: normal

Hi, also have this problem.

I build mainline kernel, and build debian package using `make deb-pkg`,
then i manually deleted some files in /boot.
When i then wanted to remove package using `dpkg -P linux-image-`,
i had this error:

Cannot delete /boot/initrd.img-2.6.33-rc1-sredniczarny-00096-gdd59f6c, doesn't 
exist.
run-parts: /etc/kernel/postrm.d/initramfs-tools exited with return code 1
dpkg: błąd przetwarzania linux-image-2.6.33-rc1-sredniczarny-00096-gdd59f6c 
(--purge):
 podproces zainstalowany skrypt post-removal zwrócił kod błędu 1
Wystąpiły błędy podczas przetwarzania:
 linux-image-2.6.33-rc1-sredniczarny-00096-gdd59f6c


changins last line of /etc/kernel/postrm.d/initramfs-tools to:
update-initramfs -d -k $1 || exit 0

resolved problem.



-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=//vmlinuz-2.6.31-1-686 root=/dev/mapper/sredniczarny-root ro vga=791 
radeon.modeset=0 nomodeset

-- /proc/filesystems
ext4
ext4dev
ext3
fuseblk

-- lsmod
Module  Size  Used by
lib80211_crypt_ccmp 5064  2 
ecb 2724  1 
ecryptfs   86028  1 
drm   150248  0 
sco 9744  2 
bridge 46000  0 
stp 2260  1 bridge
bnep   11464  2 
rfcomm 33444  0 
l2cap  19672  6 bnep,rfcomm
bluetooth  52832  6 sco,bnep,rfcomm,l2cap
microcode  12068  0 
acpi_cpufreq8104  0 
cpufreq_userspace   2944  0 
cpufreq_conservative 6780  0 
cpufreq_powersave   1408  0 
cpufreq_stats   3868  0 
binfmt_misc 7596  1 
uinput  7244  1 
deflate 2584  0 
zlib_deflate   18340  1 deflate
ctr 4188  0 
twofish 6400  0 
twofish_common 13400  1 twofish
camellia   17792  0 
serpent17096  0 
blowfish8092  0 
cast5  16524  0 
des_generic16452  0 
xcbc4540  0 
rmd160 10276  0 
sha1_generic2164  0 
hmac3856  0 
crypto_null 3176  0 
af_key 27648  2 
fuse   58196  31 
ext3  115288  1 
jbd45192  1 ext3
radeonfb   59072  0 
fb_ddc  1988  1 radeonfb
i2c_algo_bit5428  1 radeonfb
loop   14268  0 
joydev  9252  0 
pcmcia 26196  0 
snd_intel8x0   28036  4 
snd_ac97_codec 99668  1 snd_intel8x0
ac97_bus1628  1 snd_ac97_codec
snd_pcm_oss35316  0 
snd_mixer_oss  13528  1 snd_pcm_oss
snd_pcm69984  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_seq_midi6096  0 
snd_rawmidi20452  1 snd_seq_midi
snd_seq_midi_event  6992  1 snd_seq_midi
snd_seq47960  3 snd_seq_midi,snd_seq_midi_event
yenta_socket   22736  1 
snd_timer  19000  2 snd_pcm,snd_seq
rsrc_nonstatic 10616  1 yenta_socket
snd_seq_device  6780  3 snd_seq_midi,snd_rawmidi,snd_seq
ipw2200   127900  0 
pcmcia_core34464  3 pcmcia,yenta_socket,rsrc_nonstatic
libipw 25660  1 ipw2200
snd54440  18 
snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore   6844  1 snd
i2c_i8018948  0 
thinkpad_acpi  60088  0 
lib802116488  3 lib80211_crypt_ccmp,ipw2200,libipw
rfkill 18660  2 bluetooth,thinkpad_acpi
snd_page_alloc  8644  2 snd_intel8x0,snd_pcm
i2c_core   21744  5 drm,radeonfb,fb_ddc,i2c_algo_bit,i2c_i801
serio_raw   5108  0 
rng_core3996  0 
led_class   4236  1 thinkpad_acpi
parport_pc 23704  0 
psmouse41076  0 
pcspkr  2428  0 
parport33408  1 parport_pc
processor  36760  2 acpi_cpufreq
evdev   8832  23 
battery 6348  0 
nvram   6940  1 thinkpad_acpi
ac  3124  0 
button  5488  0 
ext4  284896  5 
mbcache 7488  2 ext3,ext4
jbd2   73892  1 ext4
crc16   1840  1 ext4
sha256_generic 11492  0 
aes_i5868312  5 
aes_generic27640  1 aes_i586
cbc 3352  1 
dm_crypt   12340  1 
dm_mod 65432  24 dm_crypt
sg 21560  3 
sd_mod 31840  3 
crc_t10dif  1716  1 sd_mod
sr_mod 14476  0 
cdrom  31704  1 sr_mod
ide_pci_generic 3784  0 
ide_core   97660  1 

Bug#520928: linux-image-2.6.26-1-686: PIIX4 /dev/hda performance regression (10x times, DMA dissabled)

2009-10-20 Thread Witold Baryluk
On 10-19 03:07, Ben Hutchings wrote:
 On Mon, 2009-03-23 at 18:36 +0100, root wrote:
  Package: linux-image-2.6.26-1-686
  Version: 2.6.26-13lenny2
  Severity: important

  So it looks like there is some blacklist (in piix modules) for this server 
  board,
  and kernel uses generic (and non-dma) module for ide. But with 2.6.18-686 
  it was working.
 
 However, this blacklist has been present since before Linux 2.6.12, so
 it doesn't really explain the change.
Hmm, i checked in git, and you are right, it is for long time (with small 
modification).
But as I already stated in Etch's 2.6.18-686 dmesg doesn't containt,
messages which are in 2.6.26. But according to sources they should be
excetly the same. So for some reason (API interfaces, PCI read procedures)
it is not blacklisted on older kernel.

 
  Additionally I probably have newset BIOS possible.
  
  Mayby this is because of broken write cache flushing?
 [...]
 
 What do you mean?

I just can't find erratum for this chipset so I don't know what was reason
for blacklisting this pci device id + rev. I was hypothetising
this is due to the broken cache flush support. So it (but in hw) can
potentilly make data losses. So for safety it is using slower mode.

But now i know it is something to do with UDMA directly.



  As far as I know rev 03 is blacklisted for some reason. Is there a way to 
  force
  dma?
 
 I expect that you can do this using hdparm, but I wouldn't recommend it.

And i don't want to experimate in this way.

What i want to say that when i was using 2.6.18 i have no problem with
performance, and no data losses, or any strange message, any DMA errors,
any incorect CRC checksums, etc.

Mayby it was problem in older BIOSes. I had no problem, even in older version
of BIOS. No i have the newest BIOS, and still it should be no problem.
(and in fact booting on 2.6.18 and testing it shows it is working correclty
in UDMA).
I checked few times data, and there was no silent data coruption.

Can it be false positive? I can't find erratum document, so i can't
verify if this is problem with my hardware or with implementation
of erratum in linux kernel. Eventually erratum can state in what
condition it is not safe to use UDMA, and i can check if
this conditions are met or not.



-- 
Witold Baryluk
JID: witold.baryluk // jabster.pl


signature.asc
Description: Digital signature


Bug#520928: Additional info

2009-05-10 Thread Witold Baryluk
This is Intel SC450NX MP Server System.

I just updated bios to RELEASE 16.0 - Build 89 (3/1/01)
which is newset possible for this system (acording to intel support).

r...@noisy:~# lspci 
00:06.0 Ethernet controller: D-Link System Inc DGE-528T Gigabit Ethernet 
Adapter (rev 10)
00:07.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 43)
00:08.0 SCSI storage controller: LSI Logic / Symbios Logic 53c810 (rev 23)
00:0a.0 VGA compatible controller: Cirrus Logic GD 5480 (rev 23)
00:0b.0 PIC: Intel Corporation 683053 Programmable Interrupt Device
00:0c.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
00:0c.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:0c.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
00:0c.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:10.0 Host bridge: Intel Corporation 450NX - 82451NX Memory  I/O Controller 
(rev 03)
00:12.0 Host bridge: Intel Corporation 450NX - 82454NX/84460GX PCI Expander 
Bridge (rev 02)
00:13.0 Host bridge: Intel Corporation 450NX - 82454NX/84460GX PCI Expander 
Bridge (rev 02)
01:03.0 SCSI storage controller: LSI Logic / Symbios Logic 53C896/897 (rev 01)
01:03.1 SCSI storage controller: LSI Logic / Symbios Logic 53C896/897 (rev 01)

r...@noisy:~# lspci -n 
00:06.0 0200: 1186:4300 (rev 10)
00:07.0 0200: 1106:3065 (rev 43)
00:08.0 0100: 1000:0001 (rev 23)
00:0a.0 0300: 1013:00bc (rev 23)
00:0b.0 0800: 8086:123d
00:0c.0 0601: 8086:7110 (rev 02)
00:0c.1 0101: 8086:7111 (rev 01)
00:0c.2 0c03: 8086:7112 (rev 01)
00:0c.3 0680: 8086:7113 (rev 02)
00:10.0 0600: 8086:84ca (rev 03)
00:12.0 0600: 8086:84cb (rev 02)
00:13.0 0600: 8086:84cb (rev 02)
01:03.0 0100: 1000:000b (rev 01)
01:03.1 0100: 1000:000b (rev 01)

# interesting parts

00:0c.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) 
(prog-if 80 [Master])
Flags: bus master, medium devsel, latency 64
[virtual] Memory at 01f0 (32-bit, non-prefetchable) [disabled] 
[size=8]
[virtual] Memory at 03f0 (type 3, non-prefetchable) [disabled] 
[size=1]
[virtual] Memory at 0170 (32-bit, non-prefetchable) [disabled] 
[size=8]
[virtual] Memory at 0370 (type 3, non-prefetchable) [disabled] 
[size=1]
I/O ports at 2c20 [size=16]
Kernel driver in use: PIIX_IDE
Kernel modules: piix

00:0c.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01) 
(prog-if 00 [UHCI])
Flags: bus master, medium devsel, latency 64, IRQ 54
I/O ports at 2c00 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd

00:0c.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
Flags: medium devsel, IRQ 9
Kernel driver in use: piix4_smbus
Kernel modules: i2c-piix4

00:10.0 Host bridge: Intel Corporation 450NX - 82451NX Memory  I/O Controller 
(rev 03)
Flags: fast devsel
Kernel modules: piix


r...@noisy:~# hdparm -tT /dev/hda

/dev/hda:
 Timing cached reads:84 MB in  2.00 seconds =  41.91 MB/sec
 Timing buffered disk reads:6 MB in  3.99 seconds =   1.50 MB/sec
r...@noisy:~# 




As far as I know rev 03 is blacklisted for some reason. Is there a way to force
dma?




-- 
Witold Baryluk


signature.asc
Description: Digital signature


Bug#483888: Kernel panic after upgrade

2008-06-20 Thread Witold Baryluk
Hi,

/bin/sh: error while loading shared libraries: libcrypt.so.1: cannot
open shared object file: No such file or directory
Kernel panic - not syncing: Attempted to kill init!

any idea why this is happening? /lib is on the same partition
that /bin/sh so i don't understand it. any way, why /bin/sh ?
shouldn't it be /bin/init  ?

This is very important bug to me. Beacuse of it
I have no access to kernel security updates
(machine is used by 200 users so it is important to me).


-- 
Witold Baryluk



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



Bug#483888: thanks

2008-06-20 Thread Witold Baryluk
Thank you.

After reading wiki and checking libraries in initrd,
I found that is have something with /lib/i686/nosegneg/.

update-initramfs creates initrd with libraries from it,
but old initrd doesn't have them. after inspection
i found that this have something with libc6 upgrades,
and my old initrd was using old libc6 (so it was booting
happyly, becasue i wasn't recreating initrd).


After searches I found this archived critical bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=420754

It was fixed, but only in unstable!


I am curious that other Etch+Xen users haven't notice
this bug already.

-- 
Witold Baryluk
MAIL: [EMAIL PROTECTED]
JID: [EMAIL PROTECTED]



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



Bug#483888: Kernel panic after upgrade

2008-06-20 Thread Witold Baryluk
Ok, I found why this bug triggered.

I had newer glibc (2.7) than in etch,
probably from testing, but old initramfs-tools.

(probably i was testing newer kernel (2.6.24) with my
second gigabit network card, but now i don't use it)

Downgraded to etch and 2.6.18-6-xen-686
with unpatched initramfs-tools helped, and now
everything works.


Sorry for wasting your time. Bug can be closed.

Thanks again.

-- 
Witold Baryluk




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



Bug#483888: linux-image-2.6.18-6-xen-686: Kernel panic after upgrade on loading libcrypt.so

2008-05-31 Thread Witold Baryluk
Package: linux-image-2.6.18-6-xen-686
Severity: important


On dom0 and/or domU with linux-image-2.6.18-6-xen-686
kernel panics with this message:

# grep boot/ /etc/xen/webtest.cfg
kernel  = '/boot/vmlinuz-2.6.18-6-xen-686'
ramdisk = '/boot/initrd.img-2.6.18-6-xen-686'
# xm create -c webtest.cfg


Freeing unused kernel memory: 148k freed
/bin/sh: error while loading shared libraries: libcrypt.so.1: cannot open 
shared object file: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
# 

domU have /lib/tls/libcrypt.so.1 file, and with 2.6.18-5-xen-686 it works.


The same message is when starting dom0, machine
is rebooting after kernel panic, and loops forever
(/boot/grub/menu.list is updated automaticly after update).



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



Bug#482757: kqemu-modules-2.6.18-6-686: no /dev/kqemu after modprobe

2008-05-24 Thread Witold Baryluk
Package: kqemu-modules-2.6.18-6-686
Version: 2.6.18+1.3.0~pre9-4etch2
Severity: important


# modprobe kqemu
# dmesg | tail
QEMU Accelerator Module version 1.3.0, Copyright (c) 2005-2006 Fabrice Bellard
This is a proprietary product. Read the LICENSE file for more information
Redistribution of this module is prohibited without authorization
KQEMU installed, max_locked_mem=1038264kB.
# ls /dev/kqemu
ls: /dev/kqemu: No such file or directory
#


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)

Versions of packages kqemu-modules-2.6.18-6-686 depends on:
ii  linux-image-2.6.18 2.6.18.dfsg.1-18etch4 Linux 2.6.18 image on PPro/Celeron

kqemu-modules-2.6.18-6-686 recommends no packages.

-- no debconf information



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



Bug#463607: initramfs-tools: hook-functions have hardcoded list of net drivers, omiting many popular chips

2008-02-01 Thread Witold Baryluk
Package: initramfs-tools
Version: 0.85h
Severity: normal

/usr/share/initramfs-tools/hook-functions  in function auto_add_modules
we have list of net drivers. I suppose that list is used instand of copying
files from drivers/net/ directory to save space, but many drivers (especially
from newer kernel 2.6.22) are omited (i.e. sky2, atl1). For people with
this net adapters MODULES=netboot, or usage of live-initramfs for netboot,,
or FAI installation via PXE will not work (on etch and lenny).

Please update list of drivers, and add proper comment to
default initramfs.conf, becaouse currently they implictly indicate that
all network modules are added:

-# netboot - Add the base modules, network modules, but skip block devices.
+# netboot - Add the base modules, some network modules, but skip block devices.


-- Package-specific info:
-- /proc/cmdline
root=/dev/sda2 ro 

-- /proc/filesystems
cramfs
ext3
vfat

-- lsmod
Module  Size  Used by
nfsd  197936  17 
exportfs5600  1 nfsd
iptable_mangle  2880  0 
iptable_nat 7044  0 
ip_nat 16876  1 iptable_nat
ip_conntrack   49088  2 iptable_nat,ip_nat
nfnetlink   6680  2 ip_nat,ip_conntrack
iptable_filter  3104  0 
ip_tables  13028  3 iptable_mangle,iptable_nat,iptable_filter
x_tables   13316  2 iptable_nat,ip_tables
ipv6  226272  20 
dm_snapshot15552  0 
dm_mirror  19152  0 
dm_mod 50232  2 dm_snapshot,dm_mirror
fuse   39892  0 
nfs   202828  2 
lockd  54344  3 nfsd,nfs
nfs_acl 3584  2 nfsd,nfs
sunrpc138812  14 nfsd,nfs,lockd,nfs_acl
vfat   11872  0 
fat46652  1 vfat
autofs419748  3 
binfmt_misc10984  1 
ohci_hcd   18276  0 
usbkbd  6816  0 
serio_raw   6660  0 
i2c_i8017468  0 
eth139418212  0 
tsdev   7520  0 
i2c_core   19680  1 i2c_i801
psmouse35016  0 
evdev   9088  1 
atl1   39576  0 
floppy 53156  0 
rtc12372  0 
pcspkr  3072  0 
ext3  119240  6 
jbd52456  1 ext3
mbcache 8356  1 ext3
ide_cd 36064  0 
cdrom  32544  1 ide_cd
sd_mod 19040  8 
generic 4868  0 [permanent]
jmicron 4192  0 [permanent]
ide_core  110504  3 ide_cd,generic,jmicron
usbhid 37248  0 
ata_piix   13896  7 
ohci1394   30800  0 
ieee1394   86904  2 eth1394,ohci1394
ahci   17924  0 
libata 89396  2 ata_piix,ahci
scsi_mod  124168  3 sd_mod,ahci,libata
ehci_hcd   28136  0 
uhci_hcd   21164  0 
usbcore   112644  6 ohci_hcd,usbkbd,usbhid,ehci_hcd,uhci_hcd
thermal13608  0 
processor  28840  1 thermal
fan 4804  0 

-- kernel-img.conf
do_symlinks = Yes
do_initrd = Yes
silent_modules=yes
clobber_modules=yes
do_boot_enable=no


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)

Versions of packages initramfs-tools depends on:
ii  busybox   1:1.1.3-4  Tiny utilities for small and embed
ii  cpio  2.6-17 GNU cpio -- a program to manage ar
ii  klibc-utils   1.4.34-2   small statically-linked utilities 
ii  module-init-tools 3.3-pre4-2 tools for managing Linux kernel mo
ii  udev  0.105-4/dev/ and hotplug management daemo

initramfs-tools recommends no packages.

-- no debconf information



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