Wifi - unable to connect.

2024-02-26 Thread Grzesiek Sójka

Hi there,

I'm trying to connect to wifi at work, unfortunately I get the following:

wlan0: SME: Trying to authenticate with 24:81:3b:2a:0f:e1 (SSID='ssid' 
freq=2412 MHz)
wlan0: Trying to associate with 24:81:3b:2a:0f:e1 (SSID='ssid' freq=2412 
MHz)

wlan0: Associated with 24:81:3b:2a:0f:e1
wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlan0: CTRL-EVENT-REGDOM-CHANGE init=COUNTRY_IE type=COUNTRY alpha2=PL
wlan0: CTRL-EVENT-EAP-STARTED EAP authentication started
wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=26
wlan0: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 26 (MSCHAPV2) selected
EAP-MSCHAPV2: Authentication succeeded
wlan0: CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully
wlan0: PMKSA-CACHE-ADDED 24:81:3b:2a:0f:e1 1
wlan0: RSN: PMKID mismatch - authentication server may have derived 
different MSK?!
wlan0: CTRL-EVENT-DISCONNECTED bssid=24:81:3b:2a:0f:e1 reason=1 
locally_generated=1
BSSID 24:81:3b:2a:0f:e1 ignore list count incremented to 2, ignoring for 
10 seconds

wlan0: CTRL-EVENT-DSCP-POLICY clear_all

According to the instruction the settings should be:
WPA2 Enterprise,
PEAP,
MSCHAPv2,
no certificate.

And my wpa config is:
network={
ssid="ssid"
proto=RSN
key_mgmt=WPA-EAP
pairwise=CCMP
auth_alg=OPEN
eap=MSCHAPV2
identity="uid"
password="pas"
mesh_fwding=1
}

Any suggestions?

--
Regards
Greg



Bookworm: lighttpd as tvheadend proxy

2023-11-13 Thread Grzesiek Sójka

Hi there,

I'm using Lighttpd as https to http proxy for encrypting tvheadend 
connections. After upgrading from Bullseye to Bookworm 
(lighttpd-1.4.69-1) I see only some table borders after opening 
tvheadend. Downgrading to lighttpd-1.4.59-1+deb11u2 solves the problem.


My guess is that it is related to websockets. This is my Lighttpd proxy 
config:


$HTTP["url"] =~ "^/tv/comet/ws" {
setenv.add-request-header   = (
"Connection" => "Upgrade")
setenv.add-response-header  = (
"Connection" => "Upgrade")
proxy.server = ( "" => (
( "host" => "127.0.0.1",
"port" => "9981" ) )
)
proxy.header = ( "upgrade" => "enable")
}
$HTTP["url"] =~ "^/tv/" {
proxy.server  = ( "" => (
"internal" => (
    "host" => "127.0.0.1",
"port" => "9981",
"fix-redirects" => 1,
)
) )


--
Pozdriówka
Grzesiek
Najlepszym przyjacielem człowieka wcale nie jest pies a ..
... kolonia drożdży.
Duża kolonia => mnóstwo (% ;) ) radości.



TexMaker installation problem

2022-03-20 Thread Grzesiek

Hi there, please fix the following:

# apt install texmaker
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  libigdgmm12
Use 'apt autoremove' to remove it.
Suggested packages:
  texlive-lang-all
Recommended packages:
  asymptote
The following NEW packages will be installed:
  texmaker
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/4440 kB of archives.
After this operation, 10.8 MB of additional disk space will be used.
(Reading database ... 209748 files and directories currently installed.)
Preparing to unpack .../texmaker_5.1.2+dfsg-1_amd64.deb ...
Unpacking texmaker (5.1.2+dfsg-1) ...
dpkg: error processing archive /tmp/texmaker_5.1.2+dfsg-1_amd64.deb 
(--unpack):
 trying to overwrite '/usr/share/pixmaps/texmaker.png', which is also 
in package texmaker-data 5.1.2+dfsg-1

Errors were encountered while processing:
 /tmp/texmaker_5.1.2+dfsg-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)



Re: Ho to properly rebuild single module?

2022-02-27 Thread Grzesiek

On 2/27/22 22:21, Sven Hartge wrote:

Grzesiek  wrote:


I need to apply the following
https://lore.kernel.org/linux-rdma/1645106372-23004-1-git-send-email-mike.marcinis...@cornelisnetworks.com/T/#u
and rebuild ib_qib.


The easiest way to ensure consistency would be to just rebuild the
kernel package(s) as a whole:
https://www.debian.org/doc/manuals/debian-kernel-handbook/ch-common-tasks.html#s4.2.3


Well, it takes ages. building a single module is like minute or two.



Ho to properly rebuild single module?

2022-02-27 Thread Grzesiek

Hi there,

I need to apply the following
https://lore.kernel.org/linux-rdma/1645106372-23004-1-git-send-email-mike.marcinis...@cornelisnetworks.com/T/#u
and rebuild ib_qib. To rebuild I wrote the following script
($1 is the kernel version, i.e. 5.16.0-3)

#!/bin/sh
#use in /usr/src
set -e -x
tar xJf linux-source-`echo $1| cut -f -2 -d.`.tar.xz
cp linux-headers-$1-amd64/.config linux-source-`echo $1| cut -f -2 -d.`/
cp linux-headers-$1-amd64/Module.symvers linux-source-`echo $1| cut -f 
-2 -d.`/

cd linux-source-`echo $1| cut -f -2 -d.`
patch -p1 < ../ib_qib.patch
make menuconfig
# press exit and save
make kernelversion
make scripts
make prepare
make modules_prepare
make M=drivers/infiniband/hw/qib ib_qib.ko

But the module I get is almost 20 times bigger than the original one.

What is the proper way to build?

Regards Greg



Re: [OT] Online CPU configuration tool

2022-02-22 Thread Grzesiek
Thanks for all links. Only thing I miss is search by number of memory 
channels. As I understand only sockets with quad channels are LGA2066 
and TR4?




Re: [OT] Online CPU configuration tool

2022-02-22 Thread Grzesiek

On 2/22/22 21:05, Klaus Singvogel wrote:

Grzesiek wrote:

I'm looking for a tool listing CPUs by different criteria like the number of
cores, number of memory channels clock speed etc. Is there any web page
capable of that? I tried to google, no luck.


What's wrong with Wikipedia?

grep "model name" /proc/cpuinfo| uniq

and search for the output on wikipedia.org


It's not about system I poses. It's about choosing optimal CPU for a new 
one. For example, I would like to get a list of all available CPU with 
quad memory channel (Intel and AMD).


Regards
Greg



[OT] Online CPU configuration tool

2022-02-22 Thread Grzesiek

Hi there,

I'm looking for a tool listing CPUs by different criteria like the 
number of cores, number of memory channels clock speed etc. Is there any 
web page capable of that? I tried to google, no luck.


Regards
Greg



Re: [Sid] InfiniBand (please apply the following pach)

2022-02-20 Thread Grzesiek

On 2/20/22 01:14, Grzesiek wrote:

On 2/16/22 00:11, Grzesiek wrote:

Hi there,

I plan to use NFS over RDMA. I decided to buy two QLE7340 InfniBand 
controllers and DAC cable (no switch, two nodes only). Is QLE7340 
supported by Sid? Is required software included in Debian repositories?


It seems that the required software is present in Sid unfortunately 
there is a problem with kernels 5.15 and 5.16. When trying to load 
ib_qib you get:


[    4.481908] ib_qib :02:00.0: qib0: Reserving QPNs from 0x656b78 
to 0x656b78 for non-verbs use
[    4.482005] sysfs: cannot create duplicate filename 
'/devices/pci:00/:00:01.1/:02:00.0/infiniband/qib0/ports/1/

linkcontrol'
[    4.482008] CPU: 4 PID: 471 Comm: systemd-udevd Not tainted 
5.16.0-1-amd64 #1  Debian 5.16.7-2
[    4.482011] Hardware name: To Be Filled By O.E.M. To Be Filled By 
O.E.M./Z97 Extreme4, BIOS P2.60 03/06/2018

[    4.482013] Call Trace:
[    4.482014]  
[    4.482016]  dump_stack_lvl+0x48/0x5e
[    4.482021]  sysfs_warn_dup.cold+0x17/0x24
[    4.482024]  internal_create_group+0x365/0x380
[    4.482027]  internal_create_groups.part.0+0x3d/0xa0
[    4.482029]  setup_port+0x370/0x680 [ib_core]
[    4.482044]  ? kobject_add+0x7e/0xb0
[    4.482048]  ib_setup_port_attrs+0x98/0x240 [ib_core]
[    4.482058]  ib_register_device+0x57f/0x660 [ib_core]
[    4.482067]  ? vmalloc_node+0x47/0x50
[    4.482071]  rvt_register_device+0x10c/0x270 [rdmavt]
[    4.482076]  qib_register_ib_device+0x608/0x7d0 [ib_qib]
[    4.482089]  qib_init_one+0x17f/0x470 [ib_qib]
[    4.482099]  local_pci_probe+0x45/0x80
[    4.482102]  ? pci_match_device+0xd7/0x130
[    4.482104]  pci_device_probe+0xd2/0x1c0
[    4.482106]  really_probe+0x1f5/0x3f0
[    4.482109]  __driver_probe_device+0xfe/0x180
[    4.482111]  driver_probe_device+0x1e/0x90
[    4.482113]  __driver_attach+0xc0/0x1c0
[    4.482115]  ? __device_attach_driver+0xe0/0xe0
[    4.482117]  ? __device_attach_driver+0xe0/0xe0
[    4.482119]  bus_for_each_dev+0x78/0xc0
[    4.482122]  bus_add_driver+0x149/0x1e0
[    4.482124]  driver_register+0x8f/0xe0
[    4.482126]  ? qib_init_qibfs+0x11/0x11 [ib_qib]
[    4.482135]  qib_ib_init+0x3e/0xf62 [ib_qib]
[    4.482144]  do_one_initcall+0x44/0x200
[    4.482147]  ? kmem_cache_alloc_trace+0x175/0x3d0
[    4.482150]  do_init_module+0x5c/0x280
[    4.482153]  __do_sys_finit_module+0xae/0x110
[    4.482156]  do_syscall_64+0x3b/0xc0
[    4.482159]  entry_SYSCALL_64_after_hwframe+0x44/0xae
[    4.482162] RIP: 0033:0x7fe1bbc36f79
[    4.482164] Code: 48 8d 3d 9a a8 0d 00 0f 05 eb a5 66 0f 1f 44 00 00 
48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8
4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d c7 5e 0d 00 
f7 d8 64 89 01 48
[    4.482167] RSP: 002b:7fff9e28e408 EFLAGS: 0246 ORIG_RAX: 
0139
[    4.482170] RAX: ffda RBX: 556a935aedb0 RCX: 
7fe1bbc36f79
[    4.482171] RDX:  RSI: 7fe1bbde6eed RDI: 
000f
[    4.482173] RBP: 0002 R08:  R09: 
556a93570540
[    4.482174] R10: 000f R11: 0246 R12: 
7fe1bbde6eed
[    4.482175] R13:  R14: 556a935af730 R15: 
556a935aedb0

[    4.482178]  
[    4.482195] infiniband qib0: Couldn't register device with driver model
[    4.482209] ib_qib :02:00.0: qib0: Failed to register driver with 
ib core.

[    4.482229] ib_qib :02:00.0: qib0: cannot register verbs: 17!
[    4.482762] ib_qib :02:00.0: Disabling notifier on HCA 0 irq 49
[    4.482818] ib_qib :02:00.0: Disabling notifier on HCA 0 irq 50
[    4.482841] ib_qib :02:00.0: Disabling notifier on HCA 0 irq 51
[    4.482911] ib_qib :02:00.0: Disabling notifier on HCA 0 irq 53
[    4.483485] ib_qib: probe of :02:00.0 failed with error -17

After installing linux-image-5.10.0-10-amd64 from Bullseye ib_qib loads 
without problem. Please fix.


The problem seems to be related to newer kernels.

btw: Is the openibd needed to acquire direct connect between two 
adapters? If so, how to install it on Sid?


This patch seems to fix the problem. Please apply.

https://lore.kernel.org/linux-rdma/1645106372-23004-1-git-send-email-mike.marcinis...@cornelisnetworks.com/T/#u



Re: [Sid] InfiniBand (please fix)

2022-02-19 Thread Grzesiek

On 2/16/22 00:11, Grzesiek wrote:

Hi there,

I plan to use NFS over RDMA. I decided to buy two QLE7340 InfniBand 
controllers and DAC cable (no switch, two nodes only). Is QLE7340 
supported by Sid? Is required software included in Debian repositories?


It seems that the required software is present in Sid unfortunately 
there is a problem with kernels 5.15 and 5.16. When trying to load 
ib_qib you get:


[4.481908] ib_qib :02:00.0: qib0: Reserving QPNs from 0x656b78 
to 0x656b78 for non-verbs use
[4.482005] sysfs: cannot create duplicate filename 
'/devices/pci:00/:00:01.1/:02:00.0/infiniband/qib0/ports/1/

linkcontrol'
[4.482008] CPU: 4 PID: 471 Comm: systemd-udevd Not tainted 
5.16.0-1-amd64 #1  Debian 5.16.7-2
[4.482011] Hardware name: To Be Filled By O.E.M. To Be Filled By 
O.E.M./Z97 Extreme4, BIOS P2.60 03/06/2018

[4.482013] Call Trace:
[4.482014]  
[4.482016]  dump_stack_lvl+0x48/0x5e
[4.482021]  sysfs_warn_dup.cold+0x17/0x24
[4.482024]  internal_create_group+0x365/0x380
[4.482027]  internal_create_groups.part.0+0x3d/0xa0
[4.482029]  setup_port+0x370/0x680 [ib_core]
[4.482044]  ? kobject_add+0x7e/0xb0
[4.482048]  ib_setup_port_attrs+0x98/0x240 [ib_core]
[4.482058]  ib_register_device+0x57f/0x660 [ib_core]
[4.482067]  ? vmalloc_node+0x47/0x50
[4.482071]  rvt_register_device+0x10c/0x270 [rdmavt]
[4.482076]  qib_register_ib_device+0x608/0x7d0 [ib_qib]
[4.482089]  qib_init_one+0x17f/0x470 [ib_qib]
[4.482099]  local_pci_probe+0x45/0x80
[4.482102]  ? pci_match_device+0xd7/0x130
[4.482104]  pci_device_probe+0xd2/0x1c0
[4.482106]  really_probe+0x1f5/0x3f0
[4.482109]  __driver_probe_device+0xfe/0x180
[4.482111]  driver_probe_device+0x1e/0x90
[4.482113]  __driver_attach+0xc0/0x1c0
[4.482115]  ? __device_attach_driver+0xe0/0xe0
[4.482117]  ? __device_attach_driver+0xe0/0xe0
[4.482119]  bus_for_each_dev+0x78/0xc0
[4.482122]  bus_add_driver+0x149/0x1e0
[4.482124]  driver_register+0x8f/0xe0
[4.482126]  ? qib_init_qibfs+0x11/0x11 [ib_qib]
[4.482135]  qib_ib_init+0x3e/0xf62 [ib_qib]
[4.482144]  do_one_initcall+0x44/0x200
[4.482147]  ? kmem_cache_alloc_trace+0x175/0x3d0
[4.482150]  do_init_module+0x5c/0x280
[4.482153]  __do_sys_finit_module+0xae/0x110
[4.482156]  do_syscall_64+0x3b/0xc0
[4.482159]  entry_SYSCALL_64_after_hwframe+0x44/0xae
[4.482162] RIP: 0033:0x7fe1bbc36f79
[4.482164] Code: 48 8d 3d 9a a8 0d 00 0f 05 eb a5 66 0f 1f 44 00 00 
48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8
4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d c7 5e 0d 00 
f7 d8 64 89 01 48
[4.482167] RSP: 002b:7fff9e28e408 EFLAGS: 0246 ORIG_RAX: 
0139
[4.482170] RAX: ffda RBX: 556a935aedb0 RCX: 
7fe1bbc36f79
[4.482171] RDX:  RSI: 7fe1bbde6eed RDI: 
000f
[4.482173] RBP: 0002 R08:  R09: 
556a93570540
[4.482174] R10: 000f R11: 0246 R12: 
7fe1bbde6eed
[4.482175] R13:  R14: 556a935af730 R15: 
556a935aedb0

[4.482178]  
[4.482195] infiniband qib0: Couldn't register device with driver model
[4.482209] ib_qib :02:00.0: qib0: Failed to register driver with 
ib core.

[4.482229] ib_qib :02:00.0: qib0: cannot register verbs: 17!
[4.482762] ib_qib :02:00.0: Disabling notifier on HCA 0 irq 49
[4.482818] ib_qib :02:00.0: Disabling notifier on HCA 0 irq 50
[4.482841] ib_qib :02:00.0: Disabling notifier on HCA 0 irq 51
[4.482911] ib_qib :02:00.0: Disabling notifier on HCA 0 irq 53
[4.483485] ib_qib: probe of :02:00.0 failed with error -17

After installing linux-image-5.10.0-10-amd64 from Bullseye ib_qib loads 
without problem. Please fix.


The problem seems to be related to newer kernels.

btw: Is the openibd needed to acquire direct connect between two 
adapters? If so, how to install it on Sid?


Thanks in advance for any help

Greg




[Sid] InfiniBand

2022-02-15 Thread Grzesiek

Hi there,

I plan to use NFS over RDMA. I decided to buy two QLE7340 InfniBand 
controllers and DAC cable (no switch, two nodes only). Is QLE7340 
supported by Sid? Is required software included in Debian repositories?


Thanks in advance for any help
Greg



Re: Mini server hardware for home use NAS purposes

2022-02-02 Thread Grzesiek

On 2/2/22 15:11, Christian Britz wrote:

Inspired by my previous attempts to implent NFS on my Synology NAS, I am
thinking about buying a mini server where I install Debian to serve as
file share (SMB and NFS) and DLNA server.

It should fully support Debian Stable, have a low price but be capable
of performing the tasks well, ideally have working WIFI, be silent,
low-power and small.

Do you have any recommendations for me?



I used Zyxel NSA310 some time ago, Debian howto:
https://forum.doozan.com/read.php?2,29970,30036
More devices are supported



GPU PCIe link speed

2022-01-21 Thread Grzesiek

Hi there,

I noticed that all my GPU operate at PCIe 1.1=2.5GHz instead of PCIe 
2.0/3.0. Is there any way to force higher speed?


Hardware details below

---===### First system ###===---

CPU: i7-3770, Linux version 5.15.0-2-amd64

# dmesg  | grep bandwidth
[0.224924] pci :01:00.0: 16.000 Gb/s available PCIe bandwidth, 
limited by 2.5 GT/s PCIe x8 link at :00:01.0 (capable of 126.016 
Gb/s with 8.0 GT/s PCIe x16 link)


# lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core 
processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core 
processor PCI Express Root Port (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset 
Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C216 
Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family 
USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family 
High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI 
Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset 
Family PCI Express Root Port 2 (rev c4)

00:1c.3 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family 
USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Z77 Express Chipset LPC Controller 
(rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series/C210 Series Chipset 
Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus 
Controller (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GK110 [GeForce GTX 
780] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GK110 High Definition Audio 
Controller (rev a1)
03:00.0 Ethernet controller: Qualcomm Atheros Killer E220x Gigabit 
Ethernet Controller (rev 13)
04:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI 
Bridge (rev 03)


---===### Second system ###===---

CPU: i5-2500k, Linux version 5.15.0-2-amd64

# dmesg  | grep bandwidth
[0.285635] pci :03:00.0: 32.000 Gb/s available PCIe bandwidth, 
limited by 2.5 GT/s PCIe x16 link at :02:00.0 (capable of 126.016 
Gb/s with 8.0 GT/s PCIe x16 link)


# lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor 
Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core 
Processor Family PCI Express Root Port (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series 
Chipset Family MEI Controller #1 (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579V Gigabit Network 
Connection (rev 05)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset 
Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset 
Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset 
Family PCI Express Root Port 1 (rev b5)
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset 
Family PCI Express Root Port 3 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset 
Family PCI Express Root Port 4 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset 
Family PCI Express Root Port 5 (rev b5)
00:1c.6 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset 
Family PCI Express Root Port 7 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset 
Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation P67 Express Chipset LPC Controller 
(rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset 
Family 6 port Desktop SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family 
SMBus Controller (rev 05)

01:00.0 PCI bridge: NVIDIA Corporation NF200 PCIe 2.0 switch (rev a3)
02:00.0 PCI bridge: NVIDIA Corporation NF200 PCIe 2.0 switch (rev a3)
02:02.0 PCI bridge: NVIDIA Corporation NF200 PCIe 2.0 switch (rev a3)
03:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 
970] (rev a1)
03:00.1 Audio device: NVIDIA Corporation GM204 High Definition Audio 
Controller (rev a1)
06:00.0 Ethernet controller: Intel Corporation 82572EI Gigabit Ethernet 
Controller (Copper) (rev 06)
07:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6315 Series 
Firewire Controller (rev 01)
08:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host 
Controller (rev 04)
09:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network 
Connection


---===### Third system ###===---

CPU: Ryzen 7 1700, Linux version 5.10.0-10-amd64

# dmesg  | grep bandwidth
[0.647668] pci :22:00.0: 32.000 Gb/s available 

LXDM & on screen keyboard

2021-12-18 Thread Grzesiek Sójka

Hi there,

How to setup setup on screen keyboard on LXDM? I added /usr/bin/florence 
to /etc/lxdm/LoginReady unfortunately, in the /var/log/lxdm.log I get:


(florence:2825): Gtk-WARNING **: 14:21:06.181: cannot open display: :0
Florence version 0.6.3

Any suggestions?



Re: [Sid] Firefox problem

2021-11-07 Thread Grzesiek

On 11/7/21 06:29, Michael Castellon wrote:
wget --no-check-certificate -O firefox.tar 
"https://download.mozilla.org/?product=firefox-latest=linux64 
<https://download.mozilla.org/?product=firefox-latest=linux64>"


On Fri, Nov 5, 2021 at 5:54 PM Grzesiek <mailto:p...@sojka.co>> wrote:


On 10/19/21 16:21, Grzesiek wrote:
 > On 10/18/21 5:35 PM, Celejar wrote:
 >> On Sun, 17 Oct 2021 10:55:45 +0200
 >> Grzesiek mailto:p...@sojka.co>> wrote:
 >>
 >>> Hi there,
 >>>
 >>> On some of machines I use, after opening of Firefox I get empty
browser
 >>> window (with menus, decorations etc) but nothing else is
displayed. Its
 >>> impossible to open menu, type address, etc. The only thing you
can do is
 >>> to close the window. After changing display configuration
(rotate to
 >>> portrait, adding external monitor..) it starts to work as
expected. You
 >>> do not even need to reopen. Moreover, it looks that Firefox was
running
 >>> ok all the time but nothing was displayed.
 >>> After recent updates on some machines I get the same problem using
 >>> firefox-esr.
 >>> The only error mesg I get is:
 >>> ###!!! [Parent][RunMessage] Error: Channel closing: too late to
 >>> send/recv, messages will be lost
 >>
 >> I don't know what that message means, but I frequently get a similar
 >> message from Firefox, despite the fact that the program is (mostly)
 >> functional.
 >>
 >> ###!!! [Child][RunMessage] Error: Channel closing: too late to
 >> send/recv, messages will be lost
 >
 > So the message is not related to the problem
 >

After some more tests I discovered that the problem occurs on all my
machines using integrated GPU and intel_drv.so driver (i5-2520M,
i5-2450M, i7-2600, i5-8250U). The workaround is to switch to
modesetting_drv.so or rotate to portrait. After that Firefox starts to
work as expected.

On builds based on discrete GPU (in my case Nvidia GTX) Firefox
works ok.


Upgrading Firefox to 94.0.1 solved the problem



Re: [Sid] Firefox problem

2021-11-05 Thread Grzesiek

On 10/19/21 16:21, Grzesiek wrote:

On 10/18/21 5:35 PM, Celejar wrote:

On Sun, 17 Oct 2021 10:55:45 +0200
Grzesiek  wrote:


Hi there,

On some of machines I use, after opening of Firefox I get empty browser
window (with menus, decorations etc) but nothing else is displayed. Its
impossible to open menu, type address, etc. The only thing you can do is
to close the window. After changing display configuration (rotate to
portrait, adding external monitor..) it starts to work as expected. You
do not even need to reopen. Moreover, it looks that Firefox was running
ok all the time but nothing was displayed.
After recent updates on some machines I get the same problem using
firefox-esr.
The only error mesg I get is:
###!!! [Parent][RunMessage] Error: Channel closing: too late to
send/recv, messages will be lost


I don't know what that message means, but I frequently get a similar
message from Firefox, despite the fact that the program is (mostly)
functional.

###!!! [Child][RunMessage] Error: Channel closing: too late to 
send/recv, messages will be lost


So the message is not related to the problem



After some more tests I discovered that the problem occurs on all my 
machines using integrated GPU and intel_drv.so driver (i5-2520M, 
i5-2450M, i7-2600, i5-8250U). The workaround is to switch to 
modesetting_drv.so or rotate to portrait. After that Firefox starts to 
work as expected.


On builds based on discrete GPU (in my case Nvidia GTX) Firefox works ok.

Any ideas?

Could you confirm?

Regards
Greg



Buster -> Bullseye: cups printing

2021-10-22 Thread Grzesiek Sójka

Hi there,

I have cups configured to print to smb shared printer. Required user id 
and password is included in printer configuration. Before upgrading to 
Bullseye printing worked as expected (any app, no password required). 
After the upgrade apps like LibreOffice, Firefox, Evince ask for smb 
share password (which is included in cups printer configuration). Even 
more interesting is that xpdf prints without asking for passwd.


Is there any way to restore previous behaviour (from Buster) and make 
apps other than xpdf print without asking for password??


--
Pozdriówka
Grzesiek
Najlepszym przyjacielem człowieka wcale nie jest pies a ..
... kolonia drożdży.
Duża kolonia => mnóstwo (% ;) ) radości.



Re: [Sid] Firefox problem

2021-10-19 Thread Grzesiek

On 10/18/21 5:35 PM, Celejar wrote:

On Sun, 17 Oct 2021 10:55:45 +0200
Grzesiek  wrote:


Hi there,

On some of machines I use, after opening of Firefox I get empty browser
window (with menus, decorations etc) but nothing else is displayed. Its
impossible to open menu, type address, etc. The only thing you can do is
to close the window. After changing display configuration (rotate to
portrait, adding external monitor..) it starts to work as expected. You
do not even need to reopen. Moreover, it looks that Firefox was running
ok all the time but nothing was displayed.
After recent updates on some machines I get the same problem using
firefox-esr.
The only error mesg I get is:
###!!! [Parent][RunMessage] Error: Channel closing: too late to
send/recv, messages will be lost


I don't know what that message means, but I frequently get a similar
message from Firefox, despite the fact that the program is (mostly)
functional.

###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, 
messages will be lost


So the message is not related to the problem



Re: [Sid] Firefox problem

2021-10-19 Thread Grzesiek

On 10/17/21 8:40 PM, harrywea...@tutanota.com wrote:



17 Oct 2021, 18:55 by p...@sojka.co:


Hi there,

On some of machines I use, after opening of Firefox I get empty browser window 
(with menus, decorations etc) but nothing else is displayed. Its impossible to 
open menu, type address, etc. The only thing you can do is to close the window. 
After changing display configuration (rotate to portrait, adding external 
monitor..) it starts to work as expected. You do not even need to reopen. 
Moreover, it looks that Firefox was running ok all the time but nothing was 
displayed.
After recent updates on some machines I get the same problem using firefox-esr.
The only error mesg I get is:
###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, 
messages will be lost


I'm running 91.2.0 esr on SID and I'm not seeing any of this.
I find it performs better on some sites than others, so use Falkon as well, but 
general performance is good without these symptoms.


Well, I have 7 machines running Sid and on 4 of it Firefox is running 
ok. Thus I'm perfectly aware that on some configuration there are no 
(significant) issues with Firefox.


Regards
Greg



[Sid] csync2 startup scripts

2021-10-19 Thread Grzesiek Sójka

I think there is something wrong with scync2 startup scripts:

# systemctl status csync2.service
○ csync2.service - LSB: Cluster file synchronization daemon
 Loaded: loaded (/etc/init.d/csync2; generated)
 Active: inactive (dead) since Tue 2021-10-19 15:44:16 CEST; 7min ago
   Docs: man:systemd-sysv-generator(8)
Process: 1220 ExecStart=/etc/init.d/csync2 start (code=exited, 
status=0/SUCCESS)
Process: 1859 ExecStop=/etc/init.d/csync2 stop (code=exited, 
status=0/SUCCESS)

CPU: 28ms

Oct 19 15:08:42 Artemis systemd[1]: Starting LSB: Cluster file 
synchronization daemon...
Oct 19 15:08:42 Artemis csync2[1220]: Starting Cluster file 
synchronization daemon: csync2
Oct 19 15:08:42 Artemis systemd[1]: Started LSB: Cluster file 
synchronization daemon.
Oct 19 15:44:16 Artemis systemd[1]: Stopping LSB: Cluster file 
synchronization daemon...
Oct 19 15:44:16 Artemis csync2[1864]: start-stop-daemon: 
--remove-pidfile requires --pidfile
Oct 19 15:44:16 Artemis csync2[1864]: Try 'start-stop-daemon --help' for 
more information.
Oct 19 15:44:16 Artemis systemd[1]: csync2.service: Deactivated 
successfully.
Oct 19 15:44:16 Artemis systemd[1]: Stopped LSB: Cluster file 
synchronization daemon.




[Sid] Firefox problem

2021-10-17 Thread Grzesiek

Hi there,

On some of machines I use, after opening of Firefox I get empty browser 
window (with menus, decorations etc) but nothing else is displayed. Its 
impossible to open menu, type address, etc. The only thing you can do is 
to close the window. After changing display configuration (rotate to 
portrait, adding external monitor..) it starts to work as expected. You 
do not even need to reopen. Moreover, it looks that Firefox was running 
ok all the time but nothing was displayed.
After recent updates on some machines I get the same problem using 
firefox-esr.

The only error mesg I get is:
###!!! [Parent][RunMessage] Error: Channel closing: too late to 
send/recv, messages will be lost


Thanks in advance for any help

Greg



[Sid] Bluetooth notifications

2021-09-07 Thread Grzesiek

Hi there,

After one of the recent updates I started to get notifications from 
Bluetooth devices. Is there any way to turn it off?!


Its really annoying because:
1. I get like 10 messages every hour that HP Active Pen G2 was 
connected/disconnected.
2. This is tablet PC and it is impossible to close such notification 
without keyboard!


Thanks in advance for any help
Greg



Sid: Korean input

2021-08-23 Thread Grzesiek

Hi there,

I was asked to install Korean input on XFCE4 environment. I have never 
done this before and I do not speak Korean.


First question is if it is possible to get Korean input using standard 
US keyboard?


I tried to follow this manual:
https://linuxreviews.org/HOWTO_get_Korean_input_on_Debian
Unfortunately, no luck. I added the following to .bashrc:
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
but ibus-setup still asks to add these variables. ibus-daemon is not 
started automatically. So:


Is there any more detailed how-to? It would be perfect to have 
switchable English and Korean input.


How to test? Remember I do not speak Korean and I have never used Korean 
input.


--

Thanks for any help in advance

Greg



Re: Makefile help

2021-07-23 Thread Grzesiek

On 7/23/21 4:25 PM, john doe wrote:

On 7/23/2021 4:10 PM, Grzesiek wrote:

I do not have experience in writing Makefiles. Appropriate Makefile
examples appreciated.



Why do you need to use make?
As far as I understand your question, you are not concernde about the
'mtime'.


The number of files is rather large so make -j8 could save lot of time.



Makefile help

2021-07-23 Thread Grzesiek

Hi there!

I have two directories: source_dir and dest_dir. In the directory 
source_dir I have number of sub-directories and files. My goal is:


1.Recreate the sub-directory structure of the source_dir inside of the 
dest_dir


2. Each file found in source_dir should be converted to a new format 
using some command CMD in the following way:
CMD source_dir//.src dest_dir/file>/.dst


So, if source_dir contains:

source_dir
  +sub1
  |  +file1.src
  |  +file2.src
  |
  +file3.src
  +file4.src

In the dest_dir I would like to obtain:

dest_dir
  +sub1
  |  +file1.dst
  |  +file2.dst
  |
  +file3.dst
  +file4.dst

Is it possible to do it using make in a fully automatic way? What I mean 
is that make should find all sub-directories and files in source_dir by 
itself. Note that the sub-directories level may be grater than 1, no 
symlinks allowed.


I do not have experience in writing Makefiles. Appropriate Makefile 
examples appreciated.


--
Thanks in advance for any help.
Greg



Hi there, test only, please ignore

2021-06-17 Thread Grzesiek

test



Re: Qualcomm Snapdragon X12 LTE Modem

2021-05-25 Thread Grzesiek

Replaying to myself:

To get iIP information use the following:


# mmcli -m 0 -b 1
  
  General|  dbus path: /org/freedesktop/ModemManager1/Bearer/1
 |   type: default
  
  Status |  connected: yes
 |  suspended: no
 |  interface: wwan0
 | ip timeout: 20
  
  Properties |apn: darmowy
 |roaming: allowed
  
  IPv4 configuration | method: static
 |address: 100.83.243.37
 | prefix: 30
 |gateway: 100.83.243.38
 |dns: 212.2.127.254, 212.2.96.52
 |mtu: 1500
  
  Statistics |   attempts: 1



Re: Qualcomm Snapdragon X12 LTE Modem

2021-05-25 Thread Grzesiek

On 5/25/21 10:33 PM, Polyna-Maude Racicot-Summerside wrote:

Hi !
How about using dhclient ?


Does not work (like udhcpc).

Greg



Re: Qualcomm Snapdragon X12 LTE Modem

2021-05-25 Thread Grzesiek Sójka

Hi there,

I managed to connect _but_ I do no know how to obtain address. I tried:

udhcpc -q -f -n -i wwan0

no luck, unfortunately. Any suggestions?

To connect I use the following:

# mmcli -m 0 --simple-connect="apn=darmowy"
successfully connected the modem
# mmcli -m 0
  
  General  |dbus path: 
/org/freedesktop/ModemManager1/Modem/0
   |device id: 
09cd50ccb01495e91195c6792755a95ef0ad604c

  
  Hardware | manufacturer: Qualcomm
   |model: Snapdragon(TM) X12 LTE-A
   |firmware revision: T77W676.F0.0.0.4.7.GC.017
   |   041
   | h/w revision: Snapdragon(TM) X12 LTE-A
   |supported: gsm-umts, lte
   |  current: gsm-umts, lte
   | equipment id: 359195080308286
  
  System   |   device: 
/sys/devices/pci:00/:00:14.0/usb2/2-3

   |  drivers: cdc_mbim
   |   plugin: generic
   | primary port: cdc-wdm2
   |ports: cdc-wdm2 (mbim), wwan0 (net)
  
  Status   |   unlock retries: sim-pin2 (3)
   |state: connected
   |  power state: on
   |  access tech: lte
   |   signal quality: 9% (recent)
  
  Modes|supported: allowed: 3g; preferred: none
   |   allowed: 4g; preferred: none
   |   allowed: 3g, 4g; preferred: 4g
   |   allowed: 3g, 4g; preferred: 3g
   |  current: allowed: 3g, 4g; preferred: 4g
  
  Bands|supported: utran-1, utran-4, utran-6,
   |   utran-5, utran-8, utran-2,
   |   eutran-1, eutran-2, eutran-3,
   |   eutran-4, eutran-5, eutran-7,
   |   eutran-8,
   |   eutran-12, eutran-13, eutran-17,
   |   eutran-18, eutran-19, eutran-20,
   |   eutran-21, eutran-25, eutran-26,
   |   eutran-28, eutran-29, eutran-30,
   |   eutran-38, eutran-39, eutran-40,
   |   eutran-41, eutran-66, utran-19
   |  current: utran-1, utran-4, utran-6,
   |   utran-5, utran-8, utran-2,
   |   eutran-1, eutran-2, eutran-3,
   |   eutran-4, eutran-5, eutran-7,
   |   eutran-8,
   |   eutran-12, eutran-13, eutran-17,
   |   eutran-18, eutran-19, eutran-20,
   |   eutran-21, eutran-25, eutran-26,
   |   eutran-28, eutran-29, eutran-30,
   |   eutran-38, eutran-39, eutran-40,
   |   eutran-41, eutran-66, utran-19
  
  IP   |supported: ipv4, ipv6, ipv4v6
  
  3GPP | imei: 3591950803
   |enabled locks: fixed-dialing
   |  operator id: 26001
   |operator name: Aero2
   | registration: home
  
  3GPP EPS | initial bearer dbus path: 
/org/freedesktop/ModemManager1/Bearer/0

  
  SIM  |dbus path: /org/freedesktop/ModemManager1/SIM/0
  
  Bearer   |dbus path: 
/org/freedesktop/ModemManager1/Bearer/1



Regards
Greg



Re: [sid] efibootmgr not working on linux 5.10.x [solved]

2021-05-06 Thread Grzesiek

On 5/6/21 1:10 PM, Steve McIntyre wrote:

Hi!

p...@sojka.co wrote:

On 4/10/21 7:52 PM, Sven Joachim wrote:

On 2021-04-08 22:30 +0200, Grzesiek wrote:


The problem seems to be related to 5.10.x kernels & LGA1155 based systems.

1. On laptop based on i5-8250u efibootmgr works fine (all kernel versions)

2. On systems based on LGA1155 socket (i5-2500k, i7-3770):
- kernels 5.10.x: efibootmgr does not work,
directory /sys/firmware/efi/efivars is empty
- kernel 5.8.0-2: efibootmgr woks as expected

On 5.8.0-2 i get:

# lsmod | grep efi
efivarfs   16384  0
efi_pstore 16384  0
efivars20480  1 efi_pstore

There is no efivars.ko in 5.10.x. Maybe that is the problem?


The efivars module has indeed been removed from Debian's 5.10 kernels,
as it had been deprecated in favor of efivarfs for a while.

Which versions of efibootmgr and libefivar1 do you have installed?


The problem persists since several months. Now I have:

# apt-list | grep efi
efibootmgr/unstable,now 17-1 amd64 [installed]
libefiboot1/unstable,now 37-6 amd64 [installed,automatic]
libefivar1/unstable,now 37-6 amd64 [installed,automatic]


This line:

efivarfs   16384  0

suggests the cause of the problem for you. efibootmgr (and other tools
using libefivar) will look into both:

  * /sys/firmware/efi/vars (the old, deprecated interface that was
removed in 5.10)
  * /sys/firmware/efi/efivars (the new interface, provided by efivarfs)

As you have efivarfs loaded but with use-count of 0, that suggests
that you don't have the efivarfs pseudo-filesystem mounted. This
should normally be automatically mounted on system boot, along with
the other pseudo-filesystems like /sys and /proc.


Thanks! Manually mounting solved the problem. Which service is 
responsible for mounting /sys/firmware/efi/efivars?




Re: [sid] efibootmgr not working on linux 5.10.x & LGA1155

2021-05-05 Thread Grzesiek

On 4/10/21 7:52 PM, Sven Joachim wrote:

On 2021-04-08 22:30 +0200, Grzesiek wrote:


On 3/18/21 9:55 PM, Sven Joachim wrote:

On 2021-03-18 21:03 +0100, Grzesiek Sójka wrote:


I noticed recently that efibootmgr stoped working. On all my Sid
machines I get the following:

# efibootmgr
EFI variables are not supported on this system.

But if I run Buster (the same hardware) then everything is ok. So this
is definitely software problem. I also noticed that the
/sys/firmware/efi/efivars
directory is empty.

Not here, and efibootmgr works for me.


Kernel problem? Missing modules?

Perhaps the efivarfs module is not loaded.  I don not have to load
it
manually, though.


The problem seems to be related to 5.10.x kernels & LGA1155 based systems.

1. On laptop based on i5-8250u efibootmgr works fine (all kernel versions)

2. On systems based on LGA1155 socket (i5-2500k, i7-3770):
- kernels 5.10.x: efibootmgr does not work,
directory /sys/firmware/efi/efivars is empty
- kernel 5.8.0-2: efibootmgr woks as expected

On 5.8.0-2 i get:

# lsmod | grep efi
efivarfs   16384  0
efi_pstore 16384  0
efivars20480  1 efi_pstore

There is no efivars.ko in 5.10.x. Maybe that is the problem?


The efivars module has indeed been removed from Debian's 5.10 kernels,
as it had been deprecated in favor of efivarfs for a while.

Which versions of efibootmgr and libefivar1 do you have installed?


The problem persists since several months. Now I have:

# apt-list | grep efi
efibootmgr/unstable,now 17-1 amd64 [installed]
libefiboot1/unstable,now 37-6 amd64 [installed,automatic]
libefivar1/unstable,now 37-6 amd64 [installed,automatic]




Re: [sid] efibootmgr not working on linux 5.10.x & LGA1155

2021-04-08 Thread Grzesiek

On 3/18/21 9:55 PM, Sven Joachim wrote:

On 2021-03-18 21:03 +0100, Grzesiek Sójka wrote:


I noticed recently that efibootmgr stoped working. On all my Sid
machines I get the following:

# efibootmgr
EFI variables are not supported on this system.

But if I run Buster (the same hardware) then everything is ok. So this
is definitely software problem. I also noticed that the
/sys/firmware/efi/efivars
directory is empty.


Not here, and efibootmgr works for me.


Kernel problem? Missing modules?


Perhaps the efivarfs module is not loaded.  I don not have to load it
manually, though.


The problem seems to be related to 5.10.x kernels & LGA1155 based systems.

1. On laptop based on i5-8250u efibootmgr works fine (all kernel versions)

2. On systems based on LGA1155 socket (i5-2500k, i7-3770):
- kernels 5.10.x: efibootmgr does not work,
directory /sys/firmware/efi/efivars is empty
- kernel 5.8.0-2: efibootmgr woks as expected

On 5.8.0-2 i get:

# lsmod | grep efi
efivarfs   16384  0
efi_pstore 16384  0
efivars20480  1 efi_pstore

There is no efivars.ko in 5.10.x. Maybe that is the problem?

--
Regards
Greg



[sid] efibootmgr not working

2021-03-18 Thread Grzesiek Sójka

Hi there,

I noticed recently that efibootmgr stoped working. On all my Sid 
machines I get the following:


# efibootmgr
EFI variables are not supported on this system.

But if I run Buster (the same hardware) then everything is ok. So this 
is definitely software problem. I also noticed that the

/sys/firmware/efi/efivars
directory is empty.

Kernel problem? Missing modules?

Regards Greg




OT: it8728F PWM configuration

2021-02-28 Thread Grzesiek Sójka

Hi there,

I'm trying to configure automatic fan speed control. Unfortunately, in 
the it87 kernel module documentation explains only settings of IT8705F 
and IT8712F (these chips do not have slope setting). Could some explain 
how it works:


# grep "" pwm1*
pwm1:70
pwm1_auto_channels_temp:1
pwm1_auto_point1_temp:0
pwm1_auto_point1_temp_hyst:-3000
pwm1_auto_point2_temp:2
pwm1_auto_point3_temp:5
pwm1_auto_slope:16
pwm1_auto_start:70
pwm1_enable:2
pwm1_freq:23437

I know what pwm1_auto_channels_temp, pwm1_enable, pwm1_freq mean. What 
about the others? In particular, how the PWN value would be calculated 
for 40deg.


Thanks in advance for any help
Greg



Re: OT: GTX780 broken? - mystery solved ;)

2021-02-28 Thread Grzesiek Sójka

On 2/26/21 6:48 AM, Alexander V. Makartsev wrote:

On 26.02.2021 03:31, Grzesiek Sójka wrote:

Hi there,

It looks that my GPU may be broken. Frame buffer works ok but after 
starting xorg I get black screen. GPU is Asus GeForce GTX 780 
(GTX780-DC2OC-3GD5).


-
Any suggestions??


Try it with proprietary nvidia supported driver:
     # apt install nvidia-driver nvidia-driver-libs nvidia-driver-bin 
nvidia-kernel-support


It's a hardware problem, bad quality soldering. I king of solved the 
issue by worming up the GPU. Tutorials suggest to put GPU (stripped from 
cooler etc.) to an oven for 8-12min, ~200 deg. Celsius. I used heat gun. 
I don't think all the soldering was melted, it's rather temporary solution.


Regards,
Greg



OT: GTX780 broken?

2021-02-25 Thread Grzesiek Sójka

Hi there,

It looks that my GPU may be broken. Frame buffer works ok but after 
starting xorg I get black screen. GPU is Asus GeForce GTX 780 
(GTX780-DC2OC-3GD5).

--
# dmesg | grep nouveau
[4.121840] fb0: switching to nouveaufb from EFI VGA
[4.124068] nouveau :03:00.0: vgaarb: deactivate vga console
[4.124167] nouveau :03:00.0: NVIDIA GK110 (0f0040a1)
[4.245975] nouveau :03:00.0: bios: version 80.10.3a.00.13
[4.246847] nouveau :03:00.0: fb: 3072 MiB GDDR5
[4.317285] nouveau :03:00.0: DRM: VRAM: 3072 MiB
[4.317287] nouveau :03:00.0: DRM: GART: 1048576 MiB
[4.317291] nouveau :03:00.0: DRM: TMDS table version 2.0
[4.317293] nouveau :03:00.0: DRM: DCB version 4.0
[4.317295] nouveau :03:00.0: DRM: DCB outp 00: 01000f02 00020030
[4.317298] nouveau :03:00.0: DRM: DCB outp 01: 02000f00 
[4.317300] nouveau :03:00.0: DRM: DCB outp 02: 08011f82 00020030
[4.317302] nouveau :03:00.0: DRM: DCB outp 04: 02022f62 00020010
[4.317304] nouveau :03:00.0: DRM: DCB outp 05: 04833fb6 0f420010
[4.317305] nouveau :03:00.0: DRM: DCB outp 06: 04033f72 00020010
[4.317308] nouveau :03:00.0: DRM: DCB conn 00: 1030
[4.317309] nouveau :03:00.0: DRM: DCB conn 01: 00020131
[4.317311] nouveau :03:00.0: DRM: DCB conn 02: 2261
[4.317313] nouveau :03:00.0: DRM: DCB conn 03: 00010346
[4.317688] nouveau :03:00.0: fifo: fault 00 [READ] at 
0020 engine 04 [BAR1] client 07 [HUB/HOST_CPU] reason 00 
[PDE] on channel -1 [00bfc25000 unknown]
[4.317825] nouveau :03:00.0: fifo: fault 00 [READ] at 
0020 engine 04 [BAR1] client 07 [HUB/HOST_CPU] reason 00 
[PDE] on channel -1 [00bfc25000 unknown]

[4.317837] nouveau :03:00.0: DRM: MM: using COPY for buffer copies
[4.318247] nouveau :03:00.0: fifo: fault 01 [WRITE] at 
0021 engine 04 [BAR1] client 08 [HUB/HOST_CPU_NB] reason 00 
[PDE] on channel -1 [00bfc25000 unknown]
[4.318280] nouveau :03:00.0: fifo: fault 00 [READ] at 
0021 engine 04 [BAR1] client 07 [HUB/HOST_CPU] reason 00 
[PDE] on channel -1 [00bfc25000 unknown]
[4.319020] nouveau :03:00.0: fifo: fault 00 [READ] at 
0021 engine 04 [BAR1] client 07 [HUB/HOST_CPU] reason 00 
[PDE] on channel -1 [00bfc25000 unknown]
[4.320585] nouveau :03:00.0: fifo: fault 00 [READ] at 
0021 engine 04 [BAR1] client 07 [HUB/HOST_CPU] reason 00 
[PDE] on channel -1 [00bfc25000 unknown]
[4.320698] snd_hda_intel :03:00.1: bound :03:00.0 (ops 
nv50_audio_component_bind_ops [nouveau])
[4.320699] nouveau :03:00.0: fifo: fault 00 [READ] at 
0021 engine 04 [BAR1] client 07 [HUB/HOST_CPU] reason 00 
[PDE] on channel -1 [00bfc25000 unknown]
[4.705312] nouveau :03:00.0: DRM: allocated 2560x1600 fb: 
0xa, bo (ptrval)
[4.705370] nouveau :03:00.0: fifo: fault 01 [WRITE] at 
 engine 04 [BAR1] client 08 [HUB/HOST_CPU_NB] reason 00 
[PDE] on channel -1 [00bfc25000 unknown]

[4.705418] fbcon: nouveaudrmfb (fb0) is primary device
[4.855740] nouveau :03:00.0: fifo: fault 01 [WRITE] at 
0021 engine 04 [BAR1] client 08 [HUB/HOST_CPU_NB] reason 00 
[PDE] on channel -1 [00bfc25000 unknown]
[4.857159] nouveau :03:00.0: fifo: fault 01 [WRITE] at 
0021 engine 04 [BAR1] client 08 [HUB/HOST_CPU_NB] reason 00 
[PDE] on channel -1 [00bfc25000 unknown]

[4.857176] nouveau :03:00.0: fifo: DROPPED_MMU_FAULT 
[6.856688] nouveau :03:00.0: DRM: base-0: timeout
[8.856736] nouveau :03:00.0: DRM: base-1: timeout
[9.014830] nouveau :03:00.0: [drm] fb0: nouveaudrmfb frame 
buffer device
[9.027975] [drm] Initialized nouveau 1.3.1 20120801 for :03:00.0 
on minor 0

-
Any suggestions??



Re: NULL pointer dereference

2020-12-20 Thread Grzesiek Sójka



On 12/20/20 10:22 PM, Marko Randjelovic wrote:
> How often does this happen?

Not too often, once per few days.

Does it happen only on high load?

Difficult to say, rather not.

> I'm asking
> because you might boot live system with newest kernel possible to see
> if this will happen. Also you can simply try with backported kernel
> 5.9.6.

Thanks for the tip

btw I think it started after installing HPE Ethernet 1Gb 4-port 331T 
Adapter. This is server adapter end requires PCIe pin B5 and B6 covering 
to disconnect SMBus




Re: NULL pointer dereference

2020-12-20 Thread Grzesiek Sójka

On 12/19/20 9:57 PM, Alexander V. Makartsev wrote:
If this is recurring error, was it identical in terms of codes, trace 
and register data?


Errors look similar but I'm not an expert. Some numbers are different.

I think it started after installing HPE Ethernet 1Gb 4-port 331T 
Adapter. This is server adapter end requires PCIe pin B5 and B6 covering 
to disconnect SMBus




Re: NULL pointer dereference

2020-12-19 Thread Grzesiek Sójka

On 12/19/20 8:43 PM, David Christensen wrote:
>
> Which Debian?
Buster, up to date

> Which kernel?
cat /proc/version
Linux version 4.19.0-13-amd64 (debian-ker...@lists.debian.org) (gcc 
version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.160-2 (2020-11-28)


> Did you follow the instructions and reboot?

Yes, reboot does not help

Greg



NULL pointer dereference

2020-12-19 Thread Grzesiek Sójka

Hi there,

I found the following in my "server" log:

==

BUG: unable to handle kernel NULL pointer dereference at 0008
PGD 0 P4D 0
Oops:  [#2] SMP PTI
CPU: 5 PID: 12441 Comm: awk Tainted: G  D   4.19.0-13-amd64 
#1 Debian 4.19.160-2
Hardware name: FUJITSU D3162-B1/D3162-B1, BIOS V4.6.5.3 R1.23.0 for 
D3162-B1x 12/01/2014

RIP: 0010:unmap_page_range+0x561/0xa60
Code: 80 00 00 00 01 e8 4f 2b 01 00 49 8b 07 f6 c4 80 0f 84 0e 03 00 00 
4c 89 ff e8 6b 91 fe ff 85 c0 0f 88 e6 02 00 00 49 8b 46 28 <8b> 50 08 
8d 4a 01 89 48 08 4c 89 7c d0 10 3b 48 0c 0f 84 d2 00 00

RSP: 0018:9c3a49167cd0 EFLAGS: 00010206
RAX:  RBX: 8e2f47a83a10 RCX: 0001
RDX:  RSI:  RDI: 8e2f7dd2
RBP: 7faa2ed43000 R08:  R09: 8e2ef8ae1c70
R10: 8e2f9e5df000 R11:  R12: 7faa2ed42000
R13: 00014fd44025 R14: 9c3a49167dd0 R15: d073853f5100
FS:  () GS:8e2f7e14() knlGS:
CS:  0010 DS:  ES:  CR0: 80050033
CR2: 0008 CR3: 00015020a003 CR4: 000606e0
Call Trace:
 unmap_vmas+0x7f/0xb0
 exit_mmap+0xaa/0x180
 mmput+0x54/0x130
 do_exit+0x33f/0xbb0
 ? handle_mm_fault+0xd6/0x200
 do_group_exit+0x3a/0xa0
 __x64_sys_exit_group+0x14/0x20
 do_syscall_64+0x53/0x110
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7faa2eaa99d6
Code: Bad RIP value.
RSP: 002b:7ffd860931d8 EFLAGS: 0246 ORIG_RAX: 00e7
RAX: ffda RBX: 7faa2eb9a760 RCX: 7faa2eaa99d6
RDX:  RSI: 003c RDI: 
RBP:  R08: 00e7 R09: ff80
R10: 7ffd86093096 R11: 0246 R12: 7faa2eb9a760
R13: 0001 R14: 7faa2eba3428 R15: 
Modules linked in: ppp_deflate cfg80211 rfkill 8021q garp stp mrp llc 
ppp_async crc_ccitt ppp_generic slhc nfsd auth_rpcgss nfs_acl lockd 
grace sunrpc xt_nat nft_chain_nat_ipv4 nf_nat_ipv4 nf_nat nf_conntrack 
nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ipt_REJECT nf_reject_ipv4 
nft_limit xt_limit xt_tcpudp nft_compat x_tables nft_counter nf_tables 
nfnetlink binfmt_misc bonding sch5636 sch56xx_common rc_it913x_v1 it913x 
af9033 dvb_usb_af9035 dvb_usb_v2 dvb_core rc_core snd_hda_codec_hdmi 
snd_hda_codec_conexant snd_hda_codec_generic intel_rapl i915 
x86_pkg_temp_thermal snd_hda_intel intel_powerclamp snd_hda_codec 
coretemp snd_hda_core snd_hwdep snd_pcm xhci_pci ehci_pci ahci snd_timer 
xhci_hcd drm_kms_helper ehci_hcd libahci kvm snd mei_wdt tg3 iTCO_wdt 
irqbypass mei_me e1000e drm libata usbcore
 iTCO_vendor_support soundcore lpc_ich libphy mei i2c_algo_bit 
usb_common mfd_core crct10dif_pclmul crc32_pclmul ppdev 
ghash_clmulni_intel sg i2c_i801 intel_cstate evdev intel_uncore 
pcc_cpufreq video parport_pc button intel_rapl_perf pcspkr parport ext4 
crc16 mbcache jbd2 crc32c_generic fscrypto ecb sd_mod crc32c_intel 
aacraid aesni_intel aes_x86_64 crypto_simd scsi_mod cryptd glue_helper 
thermal fan

CR2: 0008
---[ end trace 1f0672175c6e1ff0 ]---
RIP: 0010:unmap_page_range+0x55d/0xa60
Code: ff 83 ac 84 80 00 00 00 01 e8 4f 2b 01 00 49 8b 07 f6 c4 80 0f 84 
0e 03 00 00 4c 89 ff e8 6b 91 fe ff 85 c0 0f 88 e6 02 00 00 <49> 8b 46 
28 8b 50 08 8d 4a 01 89 48 08 4c 89 7c d0 10 3b 48 0c 0f

RSP: 0018:9c3a43a67cd0 EFLAGS: 00010202
RAX: 0004 RBX: 8e2f47a0deb0 RCX: 0001
RDX:  RSI:  RDI: 8e2f7dd2
RBP: 7f9f121d7000 R08:  R09: 8e2f6a6e09c0
R10: 8e2f9e5df000 R11:  R12: 7f9f121d6000
R13: 00081e49f025 R14: 9c3a43a67dd0 R15: d073a07927c0
FS:  () GS:8e2f7e14() knlGS:
CS:  0010 DS:  ES:  CR0: 80050033
CR2: 7faa2eaa99ac CR3: 00015020a003 CR4: 000606e0
Fixing recursive fault but reboot is needed!



This is not the first time, so I suspect a persistent problem. I have no 
idea how to look for the solution. Any suggestions??

Just in case:



# lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor 
Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core 
Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core 
Processor Family Integrated Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset 
Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C216 
Chipset Family MEI Controller #1 (rev 04)
00:16.3 Serial controller: Intel Corporation 7 Series/C210 Series 
Chipset Family KT Controller (rev 04)
00:19.0 Ethernet controller: 

Re: Qualcomm Snapdragon X12 LTE Modem

2020-08-18 Thread Grzesiek Sójka

Hi there,

To be more specific: I already installed Debian Sid and the tablet is HP 
Elite X2 1013 G3. I'm trying to learn how to use the modem mentioned to 
connect to the internet.




Qualcomm Snapdragon X12 LTE Modem

2020-08-17 Thread Grzesiek Sójka

Hi there,

I have a tablet equipped with the modem mentioned above. I do not have 
any experience with such devices. I would be grateful for some links 
with some information how to use it on Debian.


regards



[Sid] gvfs & nfs shares icons on desktop

2020-08-04 Thread Grzesiek Sójka

Hi there,

I'm using laptop with Xfce and the following in the /etc/fstab:

server:/mnt/ex /mnt/ex nfs vers=3,defaults,noauto,users 0 0

Recently I installed gvfs.

Before gvfs installtion:
I had nfs icon on the desktop, so I could easily mount/unmount nfs (by 
right click). Since this is mobile device nfs needs to be mounted on demand.


After gvfs installation:
The nfs share icon disappeared from the desktop. So I need to mount by a 
terminal command.


Is there a way to have gvfs and have icons of nfs shares (defined in 
/etc.fstab) on the desktop?




.xsession-errors

2020-08-02 Thread Grzesiek Sójka

Hi there,

I found the following in the ~/.xsession-errors :

dbus-update-activation-environment: warning: error sending to systemd: 
org.freedesktop.DBus.Error.Spawn.ChildExited: Process 
org.freedesktop.systemd1 exited with status 1


I was trying to search the net but no luck. Any suggestions? Missing 
packages?


Thanks in advance for any help

Greg



Re: [Sid] ahci: disk order

2020-07-25 Thread Grzesiek Sójka

On 2020-07-24 21:08, Reco wrote:

Hi.

On Fri, Jul 24, 2020 at 10:03:01PM +0300, Andrei POPESCU wrote:

On Vi, 24 iul 20, 21:58:26, Andrei POPESCU wrote:

On Vi, 24 iul 20, 19:39:21, Grzesiek Sójka wrote:

Hi there,

I noticed that SATA disks appear in random order. More precisely, I have two
disks, HDD and SSD. Sometimes HDD=/dev/sda, SSD=/dev/sdb and sometimes
HDD=/dev/sdb, SSD=/dev/sda. Is there any way to fix the disk order?


Not that I know of.


I would
like the disk connected to port 1 to be sda, disk connected to port 2 to be
sdb and so on (like it was in the past)


It might be possible with some special udev rules,


Correction: probably not, since those names are assigned by the kernel.


A correction over the correction ;) :

- it's possible, it's called RENAME= in udev rules.
- it's unneeded in about every case, given that wonderful /dev/disk
   directory.
- and if it is needed for some reason, one's always better to use SYMLINK
   over the RENAME.


Thanks for the info



[Sid] ahci: disk order

2020-07-24 Thread Grzesiek Sójka

Hi there,

I noticed that SATA disks appear in random order. More precisely, I have 
two disks, HDD and SSD. Sometimes HDD=/dev/sda, SSD=/dev/sdb and 
sometimes HDD=/dev/sdb, SSD=/dev/sda. Is there any way to fix the disk 
order? I would like the disk connected to port 1 to be sda, disk 
connected to port 2 to be sdb and so on (like it was in the past)


Thanks in advance for any help.



[Sid] Tablet PC

2020-07-09 Thread Grzesiek Sójka

Hi there,

I have a tablet PC (withot keyboard). The problem is that "Unlock 
Keyring" window locks the focus on itself. This makes impossible to use 
on-screen keyboard. Is it possible to prevent "unlock Keyring" window 
from stilling focus?


Thanks in advance for any help
Greg



[Sid] hp active stylus support

2020-05-25 Thread Grzesiek Sójka

Hi there,

I'm considering buying Hp Elite X2 1013 tablet PC. I'm wondering if the 
Hp active stylus attached to the device is supported by Debian Sid. Any 
experiences?


Thanks in advance for any help
Greg



Re: Sid: /sbin/ifenslave missing??

2020-05-17 Thread Grzesiek Sójka

On 5/17/20 12:34 PM, Sven Hartge wrote:

Mind doing a "ifup -v bond0" to really see what is called how and where
it fails in what way?


after "ifup -v bond0" I get a larg number of following messages 
(probably 1000?):


+ [ -n  ]
+ return 0
+ setup_master
+ add_master
+ [ -f /sys/class/net/bond0/bonding/slaves ]
+ return
+ early_setup_master
+ sysfs fail_over_mac
+ [ -n  ]
+ return 0
+ setup_master
+ add_master
+ [ -f /sys/class/net/bond0/bonding/slaves ]
+ return
+ early_setup_master
+ sysfs fail_over_mac
/etc/network/if-pre-up.d/ifenslave: 67: Maximum function recursion depth 
(1000) reached

run-parts: /etc/network/if-pre-up.d/ifenslave exited with return code 2
ifup: failed to bring up bond0

BTW: # apt-list | grep ifup
ifupdown/unstable,now 0.8.35+b1 amd64 [installed]



Re: Sid: /sbin/ifenslave missing??

2020-05-17 Thread Grzesiek Sójka

On 5/17/20 12:13 PM, Sven Hartge wrote:

How does your /etc/network/interfaces look like? Usally all the work is
done via if-pre-up.d and if-up.d scripts provided by the ifenslave
package.


# cat /etc/network/interfaces
source-directory /etc/network/interfaces.d
auto bond0

iface bond0 inet static
  address 192.168.0.130
  netmask 255.255.255.252
  gateway 192.168.0.129
  slaves eth0 eth1
  mtu 9000

So I need to "adjust" network configuration to bond using iproute2 instead?



Sid: /sbin/ifenslave missing??

2020-05-17 Thread Grzesiek Sójka

Hi there,

After upgrading ifenslave from 2.9 to 2.10 i found that there if no 
/sbin/ifenslave binary. To restore network connectivity I had to 
manually downgrade to 2.9. Is it on purpose? If so, then how to properly 
configure link aggregation?


Thank for any help in advance
Greg



[solved] [sid] xorg keymap modifying

2020-02-01 Thread Grzesiek Sójka

On 2/1/20 6:11 PM, Siard wrote:

Grzesiek Sójka wrote:

I do have sid running on  tablet pc. I decided to use one of the
physical keys as F11. Its keycode is 125 (the one with windows icon). To
do it on console i put the following in /etc/rc.local:

echo "keycode 125 = F11" | loadkeys

And it works as expected. Unfortunately, I did not find a way to do it
on xorg.


xmodmap is used for that.

$ xmodmap -e "keycode 125 = F11"


Actually, I did try using xmodmap. What I didn't know was that the 
keycodes for console and x-environment may be different. The proper 
keycode is 133 (when running xorg).


Thanks!

--
Greg



[sid] xorg keymap modifying

2020-02-01 Thread Grzesiek Sójka

Hi there,

I do have sid running on  tablet pc. I decided to use one of the 
physical keys as F11. Its keycode is 125 (the one with windows icon). To 
do it on console i put the following in /etc/rc.local:


echo "keycode 125 = F11" | loadkeys

And it works as expected. Unfortunately, I did not find a way to do it 
on xorg.


Thanks in advance for any help.
Greg



crc16

2019-09-11 Thread Grzesiek Sójka

Hi there,

Is there any utility to calculate crc16 (not the crc32) in Debian?

Thanks in advance for any help



Temperatures rrd

2019-03-03 Thread Grzesiek Sójka

Hi there,

Since sensord was removed I would like to ask what do you use to log 
sensors readings to rrd database.


Regards
Greg



Re: Permanent Use of IPv4

2019-02-15 Thread Grzesiek Sójka

On 2/15/19 4:12 PM, Stephen P. Molnar wrote:
Thanks for help from this gropup I can force the use of IPv4 by 
running:  sysctl -w net.ipv6.conf.all.disable_ipv6=1.



If you would like to prevent the kernel from loading IPv6 simply add the 
following: ipv6.disable=1 to the kernel boot parameters. If you use lilo 
then in the /etc/lilo.conf should be line beginning with append:


image=/boot/vmlinuz
root=/dev/md0
label=DebianSid
initrd=/boot/initrd.img
append="net.ifnames=0 biosdevname=0 ipv6.disable=1"

In case of grub.conf search for the line beginning with "linux":

# For booting GNU/Linux
menuentry "Stretch - remote" --id deb {
set root=(hd0,msdos2)
	linux /boot/vmlinuz root=/dev/sda2 net.ifnames=0 biosdevname=0 
ipv6.disable=1

initrd /boot/initrd.img
}

After reboot you should see ipv6.disable=1 in /proc/cmdline

Greg



Re: Permanent Use of IPv4

2019-02-15 Thread Grzesiek Sójka

On 2/15/19 4:12 PM, Stephen P. Molnar wrote:
Thanks for help from this gropup I can force the use of IPv4 by 
running:  sysctl -w net.ipv6.conf.all.disable_ipv6=1.


If you would like to prevent the kernel from loading IPv6 simply add the 
followink




Re: Stretch: APC Smart-UPS 1500 & nut

2019-02-12 Thread Grzesiek Sójka

I corrected the subject. It was Sid but it should be stretch.
Sorry, to many computers.

On 2/12/19 10:54 AM, Grzesiek Sójka wrote:

On 2/11/19 1:56 PM, Alexander V. Makartsev wrote:

On 11.02.2019 16:20, Grzesiek Sójka wrote:

Hi there,

Ups is connected via usb:

Bus 003 Device 002: ID 051d:0002 American Power Conversion 
Uninterruptible Power Supply


Recently I noticed that nut stopped to recognize it (probably after 
some update):


# /lib/nut/usbhid-ups -a APC
Network UPS Tools - Generic HID driver 0.41 (2.7.4)
USB communication driver 0.33
No matching HID UPS found
# cat /etc/nut/ups.conf
[APC]
driver = usbhid-ups
port = auto

I did try to fix the problem by adding vendor or product options or 
changing the driver but no luck.


Any suggestions? Is the driver correct?

I don't know about nut, but I had similar problems with APC SU1500 
models in the past.
They had some kind of firmware bug, or hardware problem with USB 
interface and sporadically loose connectivity to host. Also there was no 

[...]

I have PLD-linux in chroot ad I did run the following:

# /lib/nut/usbhid-ups -u root -a APC
Network UPS Tools - Generic HID driver 0.41 (2.7.4)
USB communication driver 0.33
Using subdriver: APC HID 0.96

As you can see, result is positive. No reboot, the same kernel. So, this 
is 100% software problem related to Debian. A bug maybe??


Any suggestions? Workaround?? Different driver??





Re: Sid: APC Smart-UPS 1500 & nut

2019-02-12 Thread Grzesiek Sójka

On 2/11/19 1:56 PM, Alexander V. Makartsev wrote:

On 11.02.2019 16:20, Grzesiek Sójka wrote:

Hi there,

Ups is connected via usb:

Bus 003 Device 002: ID 051d:0002 American Power Conversion 
Uninterruptible Power Supply


Recently I noticed that nut stopped to recognize it (probably after 
some update):


# /lib/nut/usbhid-ups -a APC
Network UPS Tools - Generic HID driver 0.41 (2.7.4)
USB communication driver 0.33
No matching HID UPS found
# cat /etc/nut/ups.conf
[APC]
driver = usbhid-ups
port = auto

I did try to fix the problem by adding vendor or product options or 
changing the driver but no luck.


Any suggestions? Is the driver correct?

I don't know about nut, but I had similar problems with APC SU1500 
models in the past.
They had some kind of firmware bug, or hardware problem with USB 
interface and sporadically loose connectivity to host. Also there was no 

[...]

I have PLD-linux in chroot ad I did run the following:

# /lib/nut/usbhid-ups -u root -a APC
Network UPS Tools - Generic HID driver 0.41 (2.7.4)
USB communication driver 0.33
Using subdriver: APC HID 0.96

As you can see, result is positive. No reboot, the same kernel. So, this 
is 100% software problem related to Debian. A bug maybe??


Any suggestions? Workaround?? Different driver??



Sid: APC Smart-UPS 1500 & nut

2019-02-11 Thread Grzesiek Sójka

Hi there,

Ups is connected via usb:

Bus 003 Device 002: ID 051d:0002 American Power Conversion 
Uninterruptible Power Supply


Recently I noticed that nut stopped to recognize it (probably after some 
update):


# /lib/nut/usbhid-ups -a APC
Network UPS Tools - Generic HID driver 0.41 (2.7.4)
USB communication driver 0.33
No matching HID UPS found
# cat /etc/nut/ups.conf
[APC]
driver = usbhid-ups
port = auto

I did try to fix the problem by adding vendor or product options or 
changing the driver but no luck.


Any suggestions? Is the driver correct?

Ps.

# apt --installed list | egrep 'linux-image|nut-' | cut -d' ' -f1
linux-image-4.18.0-0.bpo.3-amd64/now
linux-image-4.19.0-0.bpo.1-amd64-unsigned/stretch-backports,now
linux-image-amd64/stretch-backports,now
nut-client/stable,now
nut-server/stable,now



Re: e2fsck detail check

2018-12-29 Thread Grzesiek Sójka

On 12/29/18 7:20 PM, Jude DaShiell wrote:

I have a question about the -c fd command line switch.  Would the valid
options for fd be stdin stdout and stderr?
I may need to provide remote support for someone and it will be helpful if
e2fsck can show completion percentage as any repair happens.


I use -C 0 (the capital "C")

--
Pozdrawiam
Grzesiek

Wysłane z kompa wolnego od wirusów Billa Gatesa.



12" ARM Debian Tablet

2018-12-27 Thread Grzesiek Sójka

Hi there,

I'm looking for a tablet with a native linux support (not chroot!). What 
I found is this:

https://forum.xda-developers.com/showthread.php?s=5dd2e0cb26bc93f3f37e1eb58bf5023c=2195778=9
Unfortunately, N80XX are only 10". So, my question is if there is any at 
least 12" ARM tablet with native (not a chroot!) linux (preferebly 
Debian) support??


--
Pozdrawiam
Grzesiek

Wysłane z kompa wolnego od wirusów Billa Gatesa.



Re: Sid: NFS after upgrade [solved] please fix /etc/init.d/rpcbind

2018-10-28 Thread Grzesiek Sójka

On 10/28/18 2:10 PM, Sven Joachim wrote:

Wouldn't it be better to fix the init system that sets such a bad
default PATH?  Whatever init system that may be - sysv-rc's
/etc/init.d/rc script sets PATH=/sbin:/usr/sbin:/bin:/usr/bin, so this
should not happen with sysvinit + sysv-rc. 


Please, keep in mind that /etc/init.d/rpcbind may also be invoked by 
/etc/network/if-up.d/mountnfs (after bringing up interfaces):


# grep PATH /etc/network/if-up.d/mountnfs
PATH=/sbin:/bin


What init system do you use?


# apt --installed list | grep sys | cut -f 1 -d ' '
busybox-syslogd/unstable,now
init-system-helpers/unstable,now
libboost-filesystem1.62.0/unstable,now
libboost-system1.62.0/unstable,now
libsystemd0/unstable,now
sysv-rc/unstable,now
sysvinit-core/unstable,now
sysvinit-utils/unstable,now

--
Pozdrawiam
Grzesiek

Wysłane z kompa wolnego od wirusów Billa Gatesa.



Re: Sid: NFS after upgrade [solved] please fix /etc/init.d/rpcbind

2018-10-28 Thread Grzesiek Sójka

On 10/28/18 11:27 AM, Grzesiek Sójka wrote:

Hi there,

I just upgraded Sid and now I get the following during boot:

[] Configuring network interfaces.../etc/init.d/rpcbind: 42: 
/etc/init.d/rpcbind: stat: not found

/run/rpcbind not owned by root failed!
Starting NFS common utilities: statd
Not starting: portmapper is not running ... (warning).
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd.


The problem is caused by wrong setting of the PATH variable during the 
execution of the /etc/init.d/rpcbind script. The new version uses stat 
binary which is located in /usr/bin but the PATH is set to 
PATH='/sbin:/bin'. As a workaround I added PATH="$PATH:/usr/bin" to 
/etc/init.d/rpcbind. It works fine now.


Please fix init scripts.

--
Pozdrawiam
Grzesiek

Wysłane z kompa wolnego od wirusów Billa Gatesa.



Sid: NFS after upgrade

2018-10-28 Thread Grzesiek Sójka

Hi there,

I just upgraded Sid and now I get the following during boot:

[] Configuring network interfaces.../etc/init.d/rpcbind: 42: 
/etc/init.d/rpcbind: stat: not found

/run/rpcbind not owned by root failed!
Starting NFS common utilities: statd
Not starting: portmapper is not running ... (warning).
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd.

Thus NFS directories are not mounted automatically during boot. But, 
after booting the command: mount -at nfs works perfectly. Moreover:


# rpcinfo localhost
   program version netid addressserviceowner
104tcp   0.0.0.0.0.111  portmapper superuser
103tcp   0.0.0.0.0.111  portmapper superuser
102tcp   0.0.0.0.0.111  portmapper superuser
104udp   0.0.0.0.0.111  portmapper superuser
103udp   0.0.0.0.0.111  portmapper superuser
102udp   0.0.0.0.0.111  portmapper superuser
104local /run/rpcbind.sock  portmapper superuser
103local /run/rpcbind.sock  portmapper superuser
1000241udp   0.0.0.0.171.0  status 103
1000241tcp   0.0.0.0.162.173status 103
1000211udp   0.0.0.0.168.197nlockmgr   superuser
1000213udp   0.0.0.0.168.197nlockmgr   superuser
1000214udp   0.0.0.0.168.197nlockmgr   superuser
1000211tcp   0.0.0.0.141.197nlockmgr   superuser
1000213tcp   0.0.0.0.141.197nlockmgr   superuser
1000214tcp   0.0.0.0.141.197nlockmgr   superuser

# egrep -v '^$|^#' /etc/default/nfs-common
NEED_STATD=yes
STATDOPTS=
NEED_IDMAPD=no
NEED_GSSD=

# ll /run/rpc* -d
-rw-r--r-- 1 root  root 0 Oct 28 11:06 /run/rpc.statd.lock
-rw-r--r-- 1 statd nogroup  5 Oct 28 11:06 /run/rpc.statd.pid
drwxr-xr-x 2 _rpc  root40 Oct 28 11:06 /run/rpcbind
-r--r--r-- 1 root  root 0 Oct 28 11:06 /run/rpcbind.lock
-rw-r--r-- 1 root  root 4 Oct 28 11:06 /run/rpcbind.pid
srw-rw-rw- 1 root  root 0 Oct 28 11:06 /run/rpcbind.sock

Any ideas??

--
Pozdrawiam
Grzesiek

Wysłane z kompa wolnego od wirusów Billa Gatesa.



Re: ncurses problem

2018-09-29 Thread Grzesiek Sójka

On 9/29/18 9:14 AM, Sven Joachim wrote:

On 2018-09-29 11:02 +, Grzesiek Sójka wrote:


On 9/28/18 9:44 AM, Sven Joachim wrote:


Actually it is exactly the other way around.  If LINES and COLUMNS are
set in the environment, then the ncurses library will _not_ update the
screen size upon receiving SIGWINCH, and that causes the behavior
Grzesiek observed.  This is documented in ncurses(3).


It seems that the problem is not related to the environment:

# set | egrep 'LINE|COL|BASHOPTS'
BASHOPTS=checkwinsize:cmdhist:complete_fullquote:expand_aliases:extquote:force_fignore:hostcomplete:interactive_comments:login_shell:progcomp:promptvars:sourcepath
BASH_LINENO=()
COLORTERM=truecolor
COLUMNS=119
LINES=84
# ssh localhost
# set | egrep 'LINE|COL|BASHOPTS'
BASHOPTS=checkwinsize:cmdhist:complete_fullquote:expand_aliases:extquote:force_fignore:hostcomplete:interactive_comments:login_shell:progcomp:promptvars:sourcepath
BASH_LINENO=()
COLUMNS=119
LINES=84


You need to look at the output of env(1) instead.  By default bash does
not export LINES and COLUMNS, so they are not visible in child programs:

,
| % bash
| $ echo $LINES
| 52
| $ dash
| $ echo $LINES
|
`


Ok, you right.

--
Pozdrawiam
Grzesiek

Wysłane z kompa wolnego od wirusów Billa Gatesa.



Re: ncurses problem

2018-09-29 Thread Grzesiek Sójka

On 9/28/18 9:44 AM, Sven Joachim wrote:

On 2018-09-27 08:51 -0400, Greg Wooledge wrote:


On Wed, Sep 26, 2018 at 10:38:53PM +, Grzesiek Sójka wrote:

Hi there,

I compiled following test program:
==
#include 
#include 

[snip]


It's supposed to show current window dimension when resizing terminal
window. Unfortunately, dimensions are not updated and it shows initial
geometry. Interesting thing is that it works perfectly after "ssh localhost"
or "su -". I tested on both, sid and stretch. exactly the same result.

Any ideas??


My first thought is that your shell login profile,


PS. I use xfce4 and lxdm.


... which is NOT how you normally log in, is turning on bash's
checkwinsize option, which causes bash to set the LINES and COLUMNS
variables upon receipt of a SIGWINCH (a signal that is sent when the
window changes size).

In the absence of that option, those variables might not be set at all,
or might be set to the wrong size, and won't be updated when the window
changes size while sitting in an idle shell.

(What an ncurses program does with this signal, I honestly do not know.)

So, just wild-ass guessing here, you might have put the necessaray
"shopt -s checkwinsize" and "export LINES COLUMNS" into ~/.profile
which is only read when you perform a shell login, and NOT when you
perform an lxdm login.


Actually it is exactly the other way around.  If LINES and COLUMNS are
set in the environment, then the ncurses library will _not_ update the
screen size upon receiving SIGWINCH, and that causes the behavior
Grzesiek observed.  This is documented in ncurses(3).


It seems that the problem is not related to the environment:

# set | egrep 'LINE|COL|BASHOPTS'
BASHOPTS=checkwinsize:cmdhist:complete_fullquote:expand_aliases:extquote:force_fignore:hostcomplete:interactive_comments:login_shell:progcomp:promptvars:sourcepath
BASH_LINENO=()
COLORTERM=truecolor
COLUMNS=119
LINES=84
# ssh localhost
# set | egrep 'LINE|COL|BASHOPTS'
BASHOPTS=checkwinsize:cmdhist:complete_fullquote:expand_aliases:extquote:force_fignore:hostcomplete:interactive_comments:login_shell:progcomp:promptvars:sourcepath
BASH_LINENO=()
COLUMNS=119
LINES=84

--
Pozdrawiam
Grzesiek

Wysłane z kompa wolnego od wirusów Billa Gatesa.



ncurses problem

2018-09-26 Thread Grzesiek Sójka

Hi there,

I compiled following test program:
==
#include 
#include 

int main()
{

initscr();

int key;
while ((key = getch()) != 27) {
if (key == KEY_RESIZE) {
clear();
mvprintw(0, 0, "COLS = %d, LINES = %d", COLS, LINES);
for (int i = 0; i < COLS; i++)
mvaddch(1, i, '*');
refresh();
}
}

endwin();
return 0;
}
==
It's supposed to show current window dimension when resizing terminal 
window. Unfortunately, dimensions are not updated and it shows initial 
geometry. Interesting thing is that it works perfectly after "ssh 
localhost" or "su -". I tested on both, sid and stretch. exactly the 
same result.


Any ideas??

PS. I use xfce4 and lxdm.

--
Pozdrawiam
Grzesiek

Wysłane z kompa wolnego od wirusów Billa Gatesa.



Re: cannot open display: localhost:0.0 [solved]

2018-09-23 Thread Grzesiek Sójka

On 9/23/18 2:36 PM, Rob van der Putten wrote:

Hi there


On 23/09/2018 13:48, Grzegorz Sójka wrote:

I need to allow remote applications to connect to xorg. Since I log in 
using lxdm i have tcp_listen=1 in /etc/lxdm/lxdm.conf. Thus Xorg is 
running without -nolisten tcp flag. Unfortunately:


$ xhost +localhost; DISPLAY=localhost:0.0 xterm
localhost being added to access control list
xterm: Xt error: Can't open display: localhost:0.0

Any suggestions??


Did you check port 6000?
root@pc6:~# netstat -anp | grep 6000
tcp   0   0 0.0.0.0:6000   0.0.0.0:*   LISTEN   2684/Xorg
tcp6  0   0 :::6000    :::*    LISTEN   2684/Xorg


Bingo! The command gave me empty output. Now -nolisten tcp is the 
default Xorg behaviour. Thus, you need to add -listen tcp flag 
explicitly. I added:

arg=/usr/bin/X -background vt07 -listen tcp
to /etc/lxdm/lxdm.conf and now it works perfectly.

--
Pozdrawiam
Grzesiek

Wysłane z kompa wolnego od wirusów Billa Gatesa.



Re: cannot open display: localhost:0.0

2018-09-23 Thread Grzesiek Sójka

On 9/23/18 1:06 PM, Étienne Mollier wrote:

On 9/23/18 2:59 PM, The Wanderer wrote:

On 2018-09-23 at 10:24, Grzesiek Sójka wrote:

On 9/23/18 10:30 AM, Étienne Mollier wrote:

Maybe try:

xhost +LOCAL:
DISPLAY=localhost:0.0 xterm


It does not work:

# xhost +LOCAL; DISPLAY=localhost:0.0 xterm
xhost:  bad hostname "LOCAL"


Did you try with '+LOCAL:' instead of '+LOCAL'?

The colon is important.


Indeed, furthermore if you need to do remote X, using X
forwarding through SSH should be preferred and won't require you
using “xhost” or removing “-nolisten” to Xorg parameters:

ssh -YC user@remotehost


I do not need encryption since all machines are in the same network 
segment. So I prefer not to use ssh.


--
Pozdrawiam
Grzesiek

Wysłane z kompa wolnego od wirusów Billa Gatesa.



Re: cannot open display: localhost:0.0

2018-09-23 Thread Grzesiek Sójka

On 9/23/18 12:59 PM, The Wanderer wrote:

On 2018-09-23 at 10:24, Grzesiek Sójka wrote:


On 9/23/18 10:30 AM, Étienne Mollier wrote:


On 9/23/18 1:48 PM, Grzegorz Sójka wrote:


Hi there,

I need to allow remote applications to connect to xorg. Since I
log in using lxdm i have tcp_listen=1 in /etc/lxdm/lxdm.conf.
Thus Xorg is running without -nolisten tcp flag. Unfortunately:

$ xhost +localhost; DISPLAY=localhost:0.0 xterm
localhost being added to access control list
xterm: Xt error: Can't open display: localhost:0.0

Any suggestions??



Maybe try:

xhost +LOCAL:
DISPLAY=localhost:0.0 xterm


It does not work:

# xhost +LOCAL; DISPLAY=localhost:0.0 xterm
xhost:  bad hostname "LOCAL"


Did you try with '+LOCAL:' instead of '+LOCAL'?

The colon is important.


$ xhost +LOCAL: ; DISPLAY=localhost:0.0 xterm
non-network local connections being added to access control list
xterm: Xt error: Can't open display: localhost:0.0

Please note that I need to enable remote connections. I use localhost 
just for testing.


--
Pozdrawiam
Grzesiek

Wysłane z kompa wolnego od wirusów Billa Gatesa.



Re: cannot open display: localhost:0.0

2018-09-23 Thread Grzesiek Sójka

On 9/23/18 12:27 PM, Anders Andersson wrote:

On Sun, Sep 23, 2018 at 4:24 PM, Grzesiek Sójka  wrote:

On 9/23/18 10:30 AM, Étienne Mollier wrote:


On 9/23/18 1:48 PM, Grzegorz Sójka wrote:


Hi there,

I need to allow remote applications to connect to xorg. Since I log in
using lxdm i have tcp_listen=1 in /etc/lxdm/lxdm.conf. Thus Xorg is running
without -nolisten tcp flag. Unfortunately:

$ xhost +localhost; DISPLAY=localhost:0.0 xterm
localhost being added to access control list
xterm: Xt error: Can't open display: localhost:0.0

Any suggestions??



Maybe try:

 xhost +LOCAL:
 DISPLAY=localhost:0.0 xterm



It does not work:

# xhost +LOCAL; DISPLAY=localhost:0.0 xterm
xhost:  bad hostname "LOCAL"
xterm: Xt error: Can't open display: localhost:0.0


Are you using Wayland? If you're using debian testing you probably use wayland.


Forgot to mention, I use Sid and xfce4. If i'm not wrong xfce does not 
support Wayland.



--
Pozdrawiam
Grzesiek

Wysłane z kompa wolnego od wirusów Billa Gatesa.



Re: cannot open display: localhost:0.0

2018-09-23 Thread Grzesiek Sójka

On 9/23/18 10:30 AM, Étienne Mollier wrote:

On 9/23/18 1:48 PM, Grzegorz Sójka wrote:

Hi there,

I need to allow remote applications to connect to xorg. Since I log in using 
lxdm i have tcp_listen=1 in /etc/lxdm/lxdm.conf. Thus Xorg is running without 
-nolisten tcp flag. Unfortunately:

$ xhost +localhost; DISPLAY=localhost:0.0 xterm
localhost being added to access control list
xterm: Xt error: Can't open display: localhost:0.0

Any suggestions??



Maybe try:

xhost +LOCAL:
DISPLAY=localhost:0.0 xterm


It does not work:

# xhost +LOCAL; DISPLAY=localhost:0.0 xterm
xhost:  bad hostname "LOCAL"
xterm: Xt error: Can't open display: localhost:0.0

Please note that I need to connect also from remote hosts. I used 
localhost just for testing.


Regards



solid-pop3d i ssl problem...

2006-08-30 Thread Grzesiek Szymanski
Aug 29 22:42:54 student solid-pop3d[7496]: config file: line 11, column 1: 
unknown option name

To są linie w których wyskakują błędy jak powyżej:

TSLAllow yes
TLSCAFile /etc/ssl/postfix/ca.pem
TLSCertFile /etc/ssl/postfix/cert.pem
TLSKeyFile /etc/ssl/postfix/key.pem

solid-pop3d jest zainstalowany z paczki, dystrybucja to debian testing.

Bez szyftowania działa dobrze i pobiera pocztę z serwera.




Załóż konto. Przelewy - 0zł. Darmowe konto oszczędnościowe - 3,25%!
Sprawdź i wygraj Toyotę Aygo!  Kliknij:
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fing22.htmlsid=854



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



Bind9, chroot, problemy...

2006-08-01 Thread Grzesiek Szymanski
Konfiguracje robiłem według http://www.howtoforge.com/howto_bind_chroot_debian.
Czemu sie tworza pliki tymczasowe? 
W named.conf.options jest directory /var/cache/bind;

Aug  1 19:35:10 student named[14427]: zone mojadomena.pl/IN: loading master 
file /var/lib/named/etc/bind/M/strefa.mojadomena.pl: file not found

Dzieje sie tak mimo, ze taki plik istnieje 
/var/lib/named/etc/bind/M/strefa.mojadomena.pl

Bede bardzo wdzieczny za jakies wskazowki
Pozdrawiam.


Aug  1 19:35:07 student named[14226]: shutting down: flushing changes
Aug  1 19:35:07 student named[14226]: stopping command channel on 127.0.0.1#953
Aug  1 19:35:07 student named[14226]: stopping command channel on ::1#953
Aug  1 19:35:07 student named[14226]: no longer listening on 127.0.0.1#53
Aug  1 19:35:07 student named[14226]: no longer listening on 193.111.146.13#53
Aug  1 19:35:07 student named[14226]: exiting
Aug  1 19:35:10 student named[14427]: starting BIND 9.3.2 -u bind -t 
/var/lib/named
Aug  1 19:35:10 student named[14427]: found 1 CPU, using 1 worker thread
Aug  1 19:35:10 student named[14427]: loading configuration from 
'/etc/bind/named.conf'
Aug  1 19:35:10 student named[14427]: listening on IPv4 interface lo, 
127.0.0.1#53
Aug  1 19:35:10 student named[14427]: listening on IPv4 interface eth0, 
111.111.111.13#53
Aug  1 19:35:10 student named[14427]: command channel listening on 127.0.0.1#953
Aug  1 19:35:10 student named[14427]: command channel listening on ::1#953
Aug  1 19:35:10 student named[14427]: zone 0.in-addr.arpa/IN: loaded serial 1
Aug  1 19:35:10 student named[14427]: zone 127.in-addr.arpa/IN: loaded serial 1
Aug  1 19:35:10 student named[14427]: zone 111.111.111.in-addr.arpa/IN: loading 
master file /var/lib/named/etc/bind/M/146.111.193.in-addr.arpa: file not found
Aug  1 19:35:10 student named[14427]: zone 255.in-addr.arpa/IN: loaded serial 1
Aug  1 19:35:10 student named[14427]: zone localhost/IN: loaded serial 1
Aug  1 19:35:10 student named[14427]: zone mojadomena.pl/IN: loading master 
file /var/lib/named/etc/bind/M/strefa.mojadomena.pl: file not found
Aug  1 19:35:10 student named[14427]: zone mojadomena.pl/IN: loading master 
file /var/lib/named/etc/bind/M/strefa.mojadomena.pl: file not found
Aug  1 19:35:10 student named[14427]: running
Aug  1 19:35:10 student named[14427]: zone innadomena.pl/IN: Transfer started.
Aug  1 19:35:10 student named[14427]: zone innadomena2.pl/IN: Transfer started.
Aug  1 19:35:10 student named[14427]: zone innadomena3.pl/IN: zone transfer 
deferred due to quota
Aug  1 19:35:10 student named[14427]: zone www.innadomena4.pl/IN: zone transfer 
deferred due to quota
Aug  1 19:35:10 student named[14427]: transfer of 'innadomena1.pl/IN' from 
222.222.222.130#53: connected using 111.111.111.13#52653
Aug  1 19:35:10 student named[14427]: transfer of 'innadomena2.pl/IN' from 
222.222.222.130#53: connected using 111.111.111.13#46197
Aug  1 19:35:10 student named[14427]: dumping master file: 
/var/lib/named/etc/bind/S/tmp-ZisEyxSv8N: open: file not found
Aug  1 19:35:10 student named[14427]: transfer of 'innadomena1.pl/IN' from 
222.222.222.130#53:  failed while receiving responses: file not found
Aug  1 19:35:10 student named[14427]: dumping master file: 
/var/lib/named/etc/bind/S/tmp-kqkaP2bzIh: open: file not found
Aug  1 19:35:10 student named[14427]: zone kolejnadomena.pl/IN: Transfer 
started.
Aug  1 19:35:10 student named[14427]: dumping master file: 
/var/lib/named/etc/bind/S/tmp-VO7VBZ55Oz: open: file not found



Cesaria Evora we Wrocławiu! Królowa World Music
zaśpiewa 6 sierpnia podczas Wrocław Summer Guitar  Folk Festival.
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fcesaria2.htmlsid=834



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



Rozsądne limity w /etc/security/limits.conf

2006-04-10 Thread Grzesiek Szymanski
Tak jak w tytule, jakie radzicie ustawić rozsądne limity w 
/etc/security/limits.conf? Może ktoś pokazałby swojego konfiga jako przykład? :)



GUNS N'ROSES z charyzmatycznym wokalistą Axl'em 
na jedynym koncercie w Warszawie!
Bilety: wwW.odyssey.pl wwW.ticketpro.pl
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fguns2.htmlsid=721



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



Re: Multicast question (newbie)

2004-01-12 Thread Grzesiek Sedek
Hi,
It seems your kernel does not have multicast enabled - you will have to
recompile it, that should fix it.
As to the multicast itself, your network most likely does not support it
unless it's academic or expensive commercial one.
Grzesiek Sedek

On Mon, Jan 12, 2004 at 06:59:57PM +, Tendril wrote:
: Hi
: 
: I have just installed VLC media player. During the install process I got 
: this message:
: 
: ###
: 
: WARNING: The kernel version that you are currently running does not support
: multicast. You must use a IP multicast enabled kernel for OpenSLP to
: function efficiently.
: NOTE: You don't seem to have a multicast route configured. You may need to
: add a multicast route by running the command:
: 
: route add -net 224.0.0.0 netmask 240.0.0.0 dev interface
: 
: You can add this command to your network init scripts to do this 
: automatically
: at startup.
: 
: ###
: 
: I have looked at the manual page for this command but my networking 
: experience is negligable.
: 
: Will these IP addresses be examples or the actual values and what do I 
: need to enter in the interface ?
: 
: Manny Thanks
: 
: 
: 
: 
: 
: 
: -- 
: Tendril
: ___
: 
: A mistake is only a mistake
: if one learns nothing from it
: 
: 
: -- 
: To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
: with a subject of unsubscribe. Trouble? Contact 
: [EMAIL PROTECTED]


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



Re: Starting dhclient at boot up

2004-01-03 Thread Grzesiek Sedek
Hi,
You can add 
iface eth0 inet dhcp
to your /etc/network/interfaces
Grzesiek

On Sun, 2004-01-04 at 01:48, [EMAIL PROTECTED] wrote:
 Hi:
 
 This may be an old question which has been already answered.  After booting into 
 linux (debian woody), I always have to open an xterm, log in as root and start 
 dhclient.  How can I do this automatically at boot up?
 
 Regards,
 
 Abhay
-- 
Grzesiek Sedek [EMAIL PROTECTED]


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



Re: Where is append command

2004-01-02 Thread Grzesiek Sedek
Hey,
you should add:
append=hdc=ide-scsi
and than run lilo

Grzesiek Sedek


On Sat, Jan 03, 2004 at 02:00:14AM +0800, Stephen Liu wrote:
 Hi all folks,
  
  Debian (testing/unstable)
  
  I could not find the append command
  
  # which append
  # whereis append
   had no printout
  
 I'm going to add following line to /etc/lilo.conf
  
  # append hdc=ide-scsi /etc/lilo.conf 
  bash: append: command not found
  
  # ls /etc/bash | grep append
  ls: /etc/bash: No such file or directory
 
 I have to edit /etc/lilo.conf manually with 'nano' command
  
  Is there a command replacing 'append' in Debian?
  
  Kindly advise.
  
  TIA
  
 B.R.
 Stephen Liu
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


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



Re: Installing debian on a SATA hard drive

2004-01-02 Thread Grzesiek Sedek
hey,
You could try booting Knoppix, if your drive is recognised install
new system using debootstrap.

Grzesiek Sedek

On Fri, Jan 02, 2004 at 11:05:27AM +0100, Olivier Sirven wrote:
 Hi
 
 I'm trying to install a debian on a serial ATA hard drive bu the kernel 
 version used with the woody installer is too old to see the sata disk. Any 
 idea to help me installing a debian on this disk ?
 
 Olivier
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


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



Re: strange galeon problem

2004-01-02 Thread Grzesiek Sedek
Hi,
It's possible you have crashed your previous session and galeon is
trying to restore it. Closing all tabs and shuting down g. should help.

Grzesiek Sedek

On Fri, Jan 02, 2004 at 09:27:09AM +, Rus Foster wrote:
 Hi,
 I'm running galeon and its devloped a strange problem that if I start it
 up for no apparent reason its start opening lots of tabs, one after the
 other. There are no actual URLS present and not sure what is going on
 
 rus
 
 -- 
 w: http://www.jvps.com  | Virtual Dedicated Servers from $15/mo
 e: [EMAIL PROTECTED]| Donations made to Debian, FreeBSD
 t: +44 7919 373537| and Slackware
 t: 1-888-327-6330 | http://www.hostbidder.com
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


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



Re: debootstrap

2003-12-24 Thread Grzesiek Sedek
hi
you can emerge debootstrap in gentoo
ciao
On Wed, Dec 24, 2003 at 11:50:28AM -0500, Ian Brandt wrote:
 
 Hello and Happy Holidays,
 
 I'm new to this list and debian in general.  I'm hoping to install debian 
 over gentoo remotely per...
 
 http://trilldev.sourceforge.net/files/remotedeb.html
 
 The link to debootstrap is broken...
 
 http://people.debian.org/~blade/install/debootstrap/
 
 Does anyone know of another location from where I could download this 
 utility?  Also, is there a particular version that I should use?
 
 Thanks!
 
 Ian
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact 
 [EMAIL PROTECTED]


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



Re: module-less kernel error messages

2003-12-24 Thread Grzesiek Sedek
hi
You could check if you have any modules in /etc/modules.conf from last
instalation
g.
On Wed, Dec 24, 2003 at 10:16:49AM -0500, Johann Koenig wrote:
 I built a new 2.4.23 kernel using kpkg, and not only compiled everything
 in, but went so far as to disable module loading. Therefore, I have no
 /lib/modules/2.4.23 directory. However, I get a bunch of:
 modprobe: Can't open dependencies file /lib/modules/2.4.23/modules.dep
 (No such file or directory)
 
 This is understandable, because said file does not exist. Is there
 anyway to keep modprobe from looking for it? Possibly uninstalling
 modprobe? What consequences would that have?
 
 Thanks
 -- 
 -johann koenig
 Now Playing: Collective Soul - Link : Disciplined Breakdown
 Today is Pungenday, the 66th day of The Aftermath in the YOLD 3169
 My public pgp key: http://mental-graffiti.com/pgp/johannkoenig.pgp



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



Re: module-less kernel error messages

2003-12-24 Thread Grzesiek Sedek
sorry, that would be /etc/modules
g.

On Wed, Dec 24, 2003 at 06:37:51PM +0100, Grzesiek Sedek wrote:
 hi
 You could check if you have any modules in /etc/modules.conf from last
 instalation
 g.
 On Wed, Dec 24, 2003 at 10:16:49AM -0500, Johann Koenig wrote:
  I built a new 2.4.23 kernel using kpkg, and not only compiled everything
  in, but went so far as to disable module loading. Therefore, I have no
  /lib/modules/2.4.23 directory. However, I get a bunch of:
  modprobe: Can't open dependencies file /lib/modules/2.4.23/modules.dep
  (No such file or directory)
  
  This is understandable, because said file does not exist. Is there
  anyway to keep modprobe from looking for it? Possibly uninstalling
  modprobe? What consequences would that have?
  
  Thanks
  -- 
  -johann koenig
  Now Playing: Collective Soul - Link : Disciplined Breakdown
  Today is Pungenday, the 66th day of The Aftermath in the YOLD 3169
  My public pgp key: http://mental-graffiti.com/pgp/johannkoenig.pgp
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


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



Re: Linux is not for consumers!

2003-12-11 Thread Grzesiek Sedek
There is as well fantastic live CD  bootable distro called Dynebolic, full of
audio and video production software

http://www.dynebolic.org

On Thu, Dec 11, 2003 at 04:09:36PM +0100, Burkhard Woelfel wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Thursday 11 December 2003 12:26, David Baron wrote:
  I would like to go over to Linux for everything except music production
  (since there is no appropriate software yet).
 
 I don't know what is appropriate for you, but you should check Dave Phillips 
 pages at http://linux-sound.org/ - there are numerous usable linux sound 
 applications. 
 
 There is also a Debian based multimedia distribution called AGNULA[1], which 
 has a second testing release of 1.0 available. 
 
 You might also read Dave's recent article about the main two mailing lists 
 addressing Linux audio issues[2].
 
 Linux audio development is gaining ground, check it out.
 
 - - Burkhard
 
 [1]: http://www.agnula.org
 [2]: http://www.linuxjournal.com/article.php?sid=7283mode=threadorder=0
 - -- 
 
 Public key available here:
 http://blackhole.pca.dfn.de:11371/pks/lookup?op=getsearch=0xFD82303B
 key FP 0A65 5E83 F44F 47A5 3DFC 19C5 7779 E411 FD82 303B
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.3 (GNU/Linux)
 
 iD8DBQE/2Iiwd3nkEf2CMDsRAhsRAJ4kTAcG8ePeyCJKF2vUp7fyvE6QjgCgwf8G
 vTV+NEYL67lzqxEqQ06yJek=
 =F4tg
 -END PGP SIGNATURE-
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 


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



Internet cafe software suggestions

2003-10-10 Thread Grzesiek Sedek
Hi,
I'm setting up linux based (yeah!) Internet cafe, can anyone suggest 
some kind of software to manage access for the users?
Many thanks
-- 
Grzesiek Sedek [EMAIL PROTECTED]


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



19 and 22 september - did anything unusual happened?

2003-10-01 Thread Grzesiek Sedek
Hello,
Just wanted to know if anyone of you experienced any unusual traffic (
worms, viruses, scanning, exploits?) around 19 and 22 September?
Many thanks.
G.   


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



problem with mutt and imap

2003-09-03 Thread Grzesiek Sedek
Hello everybody,
I'm getting this weird error when trying to connect to imap server:

gnutls_handshake: A TLS packet with unexpected length was received 

and then session drops.
When I'm on the server itself and connect to imap everything is fine!
any ideas?
Many thanks.
ps: please cc me

-- 
Grzesiek Sedek [EMAIL PROTECTED]


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



Re: Cisco logs to Debian-3.0 server problems..

2003-07-15 Thread Grzesiek Sedek
I think Debian in default is set quite secure, therefore you may
have to reconfigure your syslog to allow tcp connections.
I got cisco logs in syslog no problem.

On Tue, 15 Jul 2003, Bill Schoolcraft wrote:

 Hello Family,
 
 Been having a hell of a time trying to figure out why a (x86)
 Debian-3.0 box will do remote logging for other Linux boxes but
 will not log for a Cisco router.
 
 The same setup worked in the past with another version of Linux
 but not with Debian-3.0, anyone have any similiar issues like
 this involving a Cisco router?
 
 -- 
 |--Word-Wrap-At-72-Please--|
 Bill Schoolcraft
 PO Box 210076 -o)
 San Francisco CA 94121 /\
 UNIX, A Way Of Life._\_v
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 


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



question about ftpd and ftpchroot

2003-07-13 Thread Grzesiek Sedek
Hi,
Quick question:
I've added myself to /etc/ftpchroot and after login I could upload but
was unable to see the content of directory. Is there a way to see it?
Thanks



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



Re: Creative Audigy

2003-06-23 Thread Grzesiek Sedek
You should use ALSA,
if you are using stock kernel you could install all of it through
apt-get.

On Mon, 2003-06-23 at 18:20, Joel Konkle-Parker wrote:
 james leclair wrote:
  
  Hello all. Having trouble getting sound running under stable woody since 
  upgrading sound card to SB Audigy from SB 16. Did get my gforce4 vid 
  card working thanks to this list! Can anyone point me to a good 
  walkthrough/tutorial? Currently running kernel 2.4.18 with soundcore 
  module installed. Thnaks!
  
  
 
 Get and install the drivers from http://opensource.creative.com
 
 Worked perfectly for me.
 
 -- 
 Joel Konkle-Parker
 Webmaster [Ballsome.com]
 
 Phone [662-518-1636]
 E-mail[EMAIL PROTECTED]
-- 
Grzesiek Sedek [EMAIL PROTECTED]


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



network, confilicting ip addresses and how to avoid them?

2003-06-18 Thread Grzesiek Sedek
Hi,
I've got network 192.168.0.0 and several machines on it.
I'd like to know how to avoid situation where some client machine would
set up ip manually witch is conflicting with main server on the same
network - dhcpd with assigned mac addresses is ok but what if someone
sets ip manually? - how to make it bulletproof?
Thank you.


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



Re: howto extract data from...

2003-06-16 Thread Grzesiek Sedek
Thanks,
That worked well...
On Fri, 2003-06-13 at 17:32, Ben Kal wrote:
 On 11 Jun 2003 Grzesiek Sedek [EMAIL PROTECTED] wrote:
 
  Anyone have an idea how to extract clear text from inbox file (actual
  file is from m$ entuage on mac called Messages) it got corrupded and
  mail client does not read it. its quite big 500 Mb so I have to do it at
  least semi automaticly. main problem are the attachments(I dont need
  them)- they quite big, rest of content is text.
 
 You do not describe what the contents of the file look like, so I must
 guess at what distinguishes attachments from message texts.
 
 My guess then is that the 500 Mb file is essentially a text file, and that
 the attachments you want to get rid of are big  solid blocks of characters:
 long sequences of lines, all of the same length, without any spaces in them.
 If that is true, a simple sed command will suffice:
 
 sed -e '/^[^ ][^ ]*$/d' Messages  Messages_attachments_stripped
 
 This says: delete all lines that are not empty and do not contain spaces.
 Be careful. You may want to refine the regular expression that selects
 the lines to be deleted. As it stands, a line like
 ---
 that someone may have used in a message text to make a line stand out
 as a header, will also be deleted, as well as lines delimiting parts
 of messages, like
 --346095821--1674543256--1308352331
 
 Ben
-- 
Grzesiek Sedek [EMAIL PROTECTED]


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



howto extract data from...

2003-06-11 Thread Grzesiek Sedek
Hi,
Anyone have an idea how to extract clear text from inbox file (actual
file is from m$ entuage on mac called Messages) it got corrupded and
mail client does not read it. its quite big 500 Mb so I have to do it at
least semi automaticly. main problem are the attachments(I dont need
them)- they quite big, rest of content is text.
I've put it throught strings, but it still displays most of attachments.
Thanks.


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



Content Managment Systems List

2003-06-09 Thread Grzesiek Sedek
Hi,
Does anyone have a list of Content Mangement Systems avialable in
Debian?
Thanks
-- 
Grzesiek Sedek [EMAIL PROTECTED]


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



Re: Content Managment Systems List

2003-06-09 Thread Grzesiek Sedek
Thats great Thanks!
On Mon, 2003-06-09 at 16:47, Dan Hunt wrote:
 On Mon, Jun 09, 2003 at 03:31:37PM +0100, Grzesiek Sedek wrote:
  Hi,
  Does anyone have a list of Content Mangement Systems avialable in
  Debian?
 
 I have this link
 http://www.sydney.wilderness.org.au/docs/node.php?id=1PHPSESSID=5e8409c75bc4bbdc40c0f5dcaaf509f4
 Hope this helps.
 
 Dan Hunt
-- 
Grzesiek Sedek
[EMAIL PROTECTED]
mob: +44 (0)781 611 0640
fax: +44 (0)709 239 0465


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



is there any difference in upgrade and dist-upgrade on unstable?

2003-06-07 Thread Grzesiek Sedek
Hi,
Is there difference between upgrade and dist-upgrade running sid? 
Thanks
-- 
Grzesiek Sedek [EMAIL PROTECTED]


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



Re: can't access machine after upgrade !

2003-06-05 Thread Grzesiek Sedek
How about

/etc/hosts.deny
/etc/hosts.allow

can you show nmap localhost from this box?

On Wed, 2003-06-04 at 05:16, Sharninder Singh-662 wrote:
 hi,
 i had a debian stable machine running since the last one year or so since
 woody had been released. but last week i decided to upgrade it to testing
 and that was the worst decision IMO. after the upgrade i could'nt boot into
 the machine because of some lilo error. which is fine now after i played a
 little with the rescue disks. but now i find that i can't access the machine
 (ping or ssh both do not work) there is no firewall on the machine and the
 network interface is working, because i can ping to any other machine from
 this machine. only this machine cannot be accessed from anywhere.
 please help me ..this machine is really important to me and i can't possibly
 think of reinstalling it !!
 thanks
 sharninder


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



recovering corupted m$ word .doc

2003-06-02 Thread Grzesiek Sedek
Hello,
I've got corrupted m$ word .doc document, it partly opens in word (crash
after 4 out of 20 pages) and it doesn't open in openoffice.
Is there any programs that could recover as much as possible from it?
Thank you.


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



Re: recovering corupted m$ word .doc

2003-06-02 Thread Grzesiek Sedek
hey,
That worked well, thanks.
On Sun, 2003-06-01 at 18:18, [EMAIL PROTECTED] wrote:
 On Sun, Jun 01, 2003 at 05:55:29PM +0100, Grzesiek Sedek wrote:
  Hello,
  I've got corrupted m$ word .doc document, it partly opens in word (crash
  after 4 out of 20 pages) and it doesn't open in openoffice.
  Is there any programs that could recover as much as possible from it?
 
 Might try catdoc


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



  1   2   >