simple DVD read error - ALL DVD
by Balint Szigeti
hello
I have two DVDs which contains AVI files. I can't read it in my fedora
box but it works in gentoo and windows.
I used the DVD drive and the DVDs before so I don't think it is a HW
problem.
I got this in dmesg:
[ 7892.555826] sr 1:0:0:0: [sr0] Unhandled sense code
[ 7892.555834] sr 1:0:0:0: [sr0]
[ 7892.555836] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 7892.555839] sr 1:0:0:0: [sr0]
[ 7892.555842] Sense Key : Medium Error [current]
[ 7892.555847] sr 1:0:0:0: [sr0]
[ 7892.555851] ASC=0x10 <<vendor>> ASCQ=0x90
[ 7892.555854] sr 1:0:0:0: [sr0] CDB:
[ 7892.555856] Read(10): 28 00 00 00 00 00 00 00 02 00
[ 7892.555866] end_request: I/O error, dev sr0, sector 0
[ 7892.555872] Buffer I/O error on device sr0, logical block 0
what shoud I do now?
7 years, 9 months
Using wodim - get error opening /dev/sr0
by Michael Eager
I'm trying to use wodim to write or blank a cdrom. When I execute
$ sudo wodim dev=/dev/sr0 blank=all
I get the following error:
Error trying to open /dev/sr0 exclusively (Device or resource busy)... retrying
The same thing happens when I use K3B. It says it cannot get exclusive
control over the device.
I can't find any process which is using /dev/sr0. fuser returns nothing.
Any idea how to find what is locking /dev/sr0, or how to allow wodim to
write to the CD?
--
Michael Eager eager(a)eagercon.com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077
7 years, 9 months
Broadcasts and netmask
by CLOSE Dave
I have a Fedora 20 machine which is receiving UDP broadcast packets at
regular intervals on a high port. No program is presently listening
for these packets. If I run, "tcpdump -iany port 29531", I see each
of the packets arriving just as I expect.
But if I then use Ncat as a surrogate for an application, "nc -lup
29531", I sometimes don't see anything! Why not? (More details
below.) What obvious thing am I missing?
The machine has ten Ethernet ports, two Broadcom BCM5716 and eight
Intel 82576. The Broadcom ports are using the bnx2 driver, the Intel
ports use the igb driver.
Connecting the cable from the broadcast sender to any one of the ports,
I get the exactly same behavior. Without assigning the port an address,
tcpdump shows that the UDP broadcast packets are received but they are
not forwarded to an application. For example,
# ifup eth2
# ifconfig eth2
eth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::92e2:baff:fe32:f8a8 prefixlen 64 scopeid 0x20<link>
ether 90:e2:ba:32:f8:a8 txqueuelen 1000 (Ethernet)
RX packets 3892 bytes 3552566 (3.3 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 652 bytes 230557 (225.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0xdc7c0000-dc7dffff
# tcpdump -ieth2 udp port 29531
tcpdump: WARNING: eth2: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth2, link-type EN10MB (Ethernet), capture size 65535 bytes
14:40:14.343946 IP 172.17.5.1.60142 > 255.255.255.255.29531: UDP,
length 1212
14:40:15.349595 IP 172.17.5.1.60142 > 255.255.255.255.29531: UDP,
length 1212
14:40:16.360263 IP 172.17.5.1.60142 > 255.255.255.255.29531: UDP,
length 1212
# nc -i2 -lup 29531
Ncat: Idle timeout expired (2000 ms). QUITTING.
(The destination MAC address is FF:FF:FF:FF:FF:FF.)
When I assign the port an address, the result seems to depend on the
netmask I assign. For any netmask from 1 to 19, applications see the
broadcast. For netmasks from 20 through 32, they don't.
# ifconfig eth2 172.17.17.254/19
# nc -i2 -lup 29531
p%�{"00":24,"01":"13/10/15 00:34:36","04":0,"05":0,"06":3,"08":0,...
# ifconfig eth2 172.17.17.254/20
# nc -i2 -lup 29531
Ncat: Idle timeout expired (2000 ms). QUITTING.
For all netmasks, tcpdump still shows the packets being received.
(Obviously, tcpdump doesn't care about the port's address.) But I don't
understand why the drivers treat the broadcast differently based on
the netmask.
Of course, this behavior might not be unique to Fedora but that's the
environment I'm using. If this is known network behavior in general,
I'd sure appreciate some pointer to a reference.
--
Dave Close
7 years, 9 months
SELinux contexts
by Paolo Galtieri
I received a SELinux alert today which said:
SELinux is preventing /usr/local/bin/snort from search access on the
directory logs.
One of the options was to do:
semanage fcontext -a -t FILE_TYPE 'logs'
(lots of FILE_TYPEs)
followed by
restorecon -v 'logs'
So here is what happens:
ll -Zd logs
drwxr-xr-x. root root unconfined_u:object_r:file_t:s0 logs
sudo semanage fcontext -a -t var_log_t 'logs'
sudo restorecon -v 'logs'
restorecon: Warning no default label for /media/NSM/NSM-SENSOR-2/logs
ll -Zd logs
drwxr-xr-x. root root unconfined_u:object_r:file_t:s0 logs
Nothing has changed.
So what do I need to do to set the file context correctly?
Paolo
7 years, 9 months
confine user(s) to a core with systemd + gcgroup
by lejeczek
hi everybody
I thought I could easily (as easily as I could do that with
libcgroup) permanently restric a user to a specific cpu core.
I thought it would be CPUAffinity responsible for it either
in systemd-user-sessions or(and) in systemd-logind
but it does not work,
is it possible to have user(s) sessions permanently
restricted in this way? so his/her processes would be
executed only on given core?
if yes then how would you do this? please shed some light
thanks
P
7 years, 9 months
OT: ssh and svn+ssh with different keys
by Hiisi
Dear list!
Sorry for off-topic. I know you're cool guys and will help me :)
Is there way to use two different keys for ssh authentication on one
machine for the same user to login the same server? I need one key for
svn+ssh to run command on remote server and the other key to login and work
from shell on that same server.
TIA
--
Hiisi.
Registered Linux User #487982. Be counted at: https://linuxcounter.net/
--
Spandex is a privilege, not a right.
7 years, 9 months
lock screen from keyboard in ldxe
by Robert Moskowitz
System is f19 remix on armv7 (Allwinner A20).
The <windows key + l> which is what I use in F20 on x86 with Gnome.
So does ldxe use a different lock screen keystroke, or is something else
going on here.
7 years, 9 months
Importing mail archive into Thuderbird
by Robert Moskowitz
I am asking this here, as my system is F20 with Thunderbird 24.7.0.
I have downloaded an month's archived messages for Centos-arm and want
to import them into Thunderbird where I could then respond to them more
easily.
I tried the Tools>Import but when I select email, nothing is listed in
the dialog box. So how might I do the import? Where might i find
instructions?
7 years, 9 months
abrt questions??
by bruce
Hi.
Doing some tests on fed/centos boxes..
Running a test app, that in turn kicks off a bunch of python apps..
The test is long running. for hours!
However, somewhere along the way, the py apps die/crash. In looking
over the /var/log/messages logs, I see the abrt indicating it's
captured data for the crash, but it seems to also then delete the data
it collected.
An example of what I'm seeing is below.
I'm trying to figure out what parameters I can set, and where I need
to set the attributes, to be able to capture/analyse the resulting
data to figure out why the test py app is crashing..
Thoughts/comments would be useful..
Thanks
Jul 29 08:37:07 dell2 abrt: detected unhandled Python exception in
'/home/ihubuser/crawltest_denny/rprofParse.py'
Jul 29 08:37:07 dell2 abrtd: New client connected
Jul 29 08:37:07 dell2 abrtd: Directory
'pyhook-2014-07-29-08:37:07-27994' creation detected
Jul 29 08:37:07 dell2 abrt-server[29478]: Saved Python crash dump of
pid 27994 to /var/spool/abrt/pyhook-2014-07-29-08:37:07-27994
Jul 29 08:37:07 dell2 abrtd: Executable
'/home/ihubuser/crawltest_denny/rprofParse.py' doesn't belong to any
package and ProcessUnpackaged is set to 'no'
Jul 29 08:37:07 dell2 abrtd: 'post-create' on
'/var/spool/abrt/pyhook-2014-07-29-08:37:07-27994' exited with 1
Jul 29 08:37:07 dell2 abrtd: Deleting problem directory
'/var/spool/abrt/pyhook-2014-07-29-08:37:07-27994'
Jul 29 08:40:29 dell2 abrt: detected unhandled Python exception in
'/home/ihubuser/crawltest_denny/rprofParse.py'
Jul 29 08:40:29 dell2 abrtd: New client connected
Jul 29 08:40:29 dell2 abrtd: Directory
'pyhook-2014-07-29-08:40:29-6868' creation detected
Jul 29 08:40:29 dell2 abrt-server[7944]: Saved Python crash dump of
pid 6868 to /var/spool/abrt/pyhook-2014-07-29-08:40:29-6868
Jul 29 08:40:29 dell2 abrtd: Executable
'/home/ihubuser/crawltest_denny/rprofParse.py' doesn't belong to any
package and ProcessUnpackaged is set to 'no'
Jul 29 08:40:29 dell2 abrtd: 'post-create' on
'/var/spool/abrt/pyhook-2014-07-29-08:40:29-6868' exited with 1
Jul 29 08:40:29 dell2 abrtd: Deleting problem directory
'/var/spool/abrt/pyhook-2014-07-29-08:40:29-6868'
Jul 29 08:40:47 dell2 abrt: detected unhandled Python exception in
'/home/ihubuser/crawltest_denny/rprofParse.py'
7 years, 9 months
javafx
by Mike Wright
Hi all,
Does anybody know of any plans to package javafx for fedora? It
apparently exists somewhere in RedHat.
It provides a top level Window object for containing scenes or pop-ups.
I have an app that won't run without it.
Thanks for any information,
Mike Wright
7 years, 9 months