Re: [trinity-users] Re: Strange clicking noise from my laptop hard drive
On 11/05/17 18:21, Philip Ashmore wrote: On 10/05/17 20:54, Jhoanir Torres wrote: I think your disk is broken. On Wed, May 10, 2017 at 2:32 PM, Philip Ashmore <cont...@philipashmore.com <mailto:cont...@philipashmore.com>> wrote: Hi there. I managed to record it using my laptops built-in microphone. To those who would prefer a description: It starts fast and slows down. I opened the file with Audacity and determined the intervals to be 0.1, 0.3, 0.6, 10, 15 seconds, then it repeats. It sounds like some kind of protocol negotiation algorithm that requires a disk sync when the polling time doubles. Here's a link for your listening pleasure: https://www.dropbox.com/s/apdr1o056tam5ie/click.wav?dl=0 <https://www.dropbox.com/s/apdr1o056tam5ie/click.wav?dl=0> I'm hoping it's some cron job, or DropBox, Trinity Desktop, wifi, smart disk status monitoring, nVidia, Intel, ... not a virus trying to phone home. I'm really hoping that someone reading this will go "oh that thing" and know what it is instantly. Curiously it doesn't happen every day. Regards, Philip Ashmore -- Jhoanir Torres I had suspended to ram and restored => clicking. Fresh boot today => no clicking. Also the intervals are 0.1, 0.3, 0.6, 1.0, 1.5 seconds. And, yep, I've ordered another hard drive. Philip Ashmore - To unsubscribe, e-mail: trinity-users-unsubscr...@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-h...@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting I got a new hard disk. I still get the same clicking, but now it also sometimes happens before I type in the passphrase to unlock the luks encrypted lvm partition the OS sits on. Maybe it's the hard disk controller. I also took out the Broadcom wifi/bluetooth pci express card as it was acting up too. Maybe it's time to retire this Samsung NP-RF711-S07UK. Bought in 2012, that's four years more than the warranty. Regards, Philip Ashmore Still using the Samsung, no clicks at the moment.
Re: Strange clicking noise from my laptop hard drive
On 10/05/17 20:54, Jhoanir Torres wrote: I think your disk is broken. On Wed, May 10, 2017 at 2:32 PM, Philip Ashmore <cont...@philipashmore.com <mailto:cont...@philipashmore.com>> wrote: Hi there. I managed to record it using my laptops built-in microphone. To those who would prefer a description: It starts fast and slows down. I opened the file with Audacity and determined the intervals to be 0.1, 0.3, 0.6, 10, 15 seconds, then it repeats. It sounds like some kind of protocol negotiation algorithm that requires a disk sync when the polling time doubles. Here's a link for your listening pleasure: https://www.dropbox.com/s/apdr1o056tam5ie/click.wav?dl=0 <https://www.dropbox.com/s/apdr1o056tam5ie/click.wav?dl=0> I'm hoping it's some cron job, or DropBox, Trinity Desktop, wifi, smart disk status monitoring, nVidia, Intel, ... not a virus trying to phone home. I'm really hoping that someone reading this will go "oh that thing" and know what it is instantly. Curiously it doesn't happen every day. Regards, Philip Ashmore -- Jhoanir Torres I had suspended to ram and restored => clicking. Fresh boot today => no clicking. Also the intervals are 0.1, 0.3, 0.6, 1.0, 1.5 seconds. And, yep, I've ordered another hard drive. Philip Ashmore
Strange clicking noise from my laptop hard drive
Hi there. I managed to record it using my laptops built-in microphone. To those who would prefer a description: It starts fast and slows down. I opened the file with Audacity and determined the intervals to be 0.1, 0.3, 0.6, 10, 15 seconds, then it repeats. It sounds like some kind of protocol negotiation algorithm that requires a disk sync when the polling time doubles. Here's a link for your listening pleasure: https://www.dropbox.com/s/apdr1o056tam5ie/click.wav?dl=0 I'm hoping it's some cron job, or DropBox, Trinity Desktop, wifi, smart disk status monitoring, nVidia, Intel, ... not a virus trying to phone home. I'm really hoping that someone reading this will go "oh that thing" and know what it is instantly. Curiously it doesn't happen every day. Regards, Philip Ashmore
Re: Question a-propos a USB modem
On 24/01/15 16:11, Renaud (Ron) OLGIATI wrote: On Sat, 24 Jan 2015 15:35:15 +0100 Hans hans.ullr...@loop.de wrote: When I plug in my USB modem, it is recognized and mounted on /dev/ttyACM0 Sadly, it is not accessible to the user as: root@ron # ls -l /dev/ttyA* crw-rw---T 1 root dialout 166, 0 Jan 24 11:23 /dev/ttyACM0 and I must chmod a+rw before users can use it. Is there a way to make it mount crw-rw-rw-T without root intervention ? I believe (but I am not sure), the user, whos wants to use the modem, must be in group dialout. Take a look at the rigts of the modem aka /dev/. I have added the user to the dialout group, with no result: cannot send a fax until I have chmod'ed /dev/ttyACM0 Cheers, Ron. The user has to log out and log in again for the group changes to take effect. I've experienced the case where daemons running on behalf of the user continue to run even though the user has logged out, so check for these or just reboot the machine. Regards, Philip Ashmore -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/54c41265.6090...@philipashmore.com
Talking SPI using the sd card slot
Hi there. This is about talking SPI with 1/2/4/8 simultaneous data streams at 25MHz/50MHz from a desktop/laptop amd/intel pc with a built in or external sd card reader at 3.3v. I originally posted this question here: http://stackoverflow.com/questions/25507249/how-do-i-control-an-sd-card-reader-using-spidev lsusb reports my device as a Alcor Micro Corp. Multi Flash Reader but that device is only present when I have an sd card in the slot, so something's adding it and removing it. It's that something that I want to replace with spidev (somehow). I've built a custom kernel to enable the experimental spidev module but I've no clue about how to proceed. Any takers? Regards, Philip Ashmore -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/54035d78.8060...@philipashmore.com
Re: Cloning hdds of different sizes
Hi there. I've commented in-line below. On 28/05/14 21:02, Steve Litt wrote: On Wed, 28 May 2014 02:03:48 +0300 Catalin Soare lolinux.so...@gmail.com wrote: Hello, In one of my computers I have 2 HDDs. One of them is a 250 GB drive (debian) and the other is a 300 GB (data). I've decided to give one of them to my parents because the one they have right now makes some strange noises. So I've backed up and cleaned up the drive, and as we speak I am cloning my debian install (from the 250 GB disk) onto the other drive. Sounds to me like a job for dd, or more specifically, ddrescue. ddrescue is featured on the System Rescue CD (http://www.sysresccd.org/SystemRescueCd_Homepage). With ddrescue's logs and many ways of writing, you can be assured of the maximum possible likelihood of getting the job done, and finding out if either drive has problems that should concern you. If you want a quick way of cloning the drive that isn't particularly error prone, this is it, especially if your 250 is fairly full so that file by file copy wouldn't save you much. If both drives are in good shape so there are no misreads or miswrites, I'd imagine the clone will take about an hour, unattended. If there are disk problems it will take longer, but file by file might have missed that fact and written bad data. My fstab contains blkids to identify the root, swap, and home partitions. Will the new clone just boot as if it was on the old drive? After cloning the 250 onto the 300, the 300 will boot just like the 250, always assuming your last step before doing the clone is to get rid of the 300's entry in fstab. Labels and blkids on the 300 will be identical to the 250's after cloning. Also is there a simple method to resize the future home partition and move the root partition so that I don't end up with unallocated space on the drive? Now you're getting a little complicated. What I always do in this situation is just make an additional partition to consume that last bit of drive space, and usually find a use as a scratchpad area for that partition. Or, if you really want to make /home bigger, you can take the biggest subdirectory in /home significantly smaller than the new partition, rsync its contents to the new partition after mounting it, back them up somewhere else, remove them leaving only the empty directory on the original, and mount the new partition as that directory. If you want to expand a partition to include the unallocated space, I think you have to use whatever partition butts up against the unallocated space to make bigger. If there's a tool to enlarge a different partition and move the others to compensate, Im not aware of it. gparted can do this. SteveT Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance Regards, Philip Ashmore -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/53864844.2020...@philipashmore.com
Re: Has anyone got apache-websocket working?
On 18/02/14 08:18, Philip Ashmore wrote: Hi there. While looking for a web socket implementation for html5 I found this: https://github.com/disconnect/apache-websocket If someone got apache-websocket working on Wheezy amd64 with its example programs using Google chrome or firefox, then I'm doing something wrong. If not then I'd like to know when someone does, so I can give it another try. Any takers? Regards, Philip Ashmore Never mind - and thanks ;) I gave it one last try - it turned out that Chrome uses the obsolete protocol 76. I enabled it and I'm now Dumb Incrementing my ass off. Cheers. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/533f38d3.7070...@philipashmore.com
Has anyone got apache-websocket working?
Hi there. While looking for a web socket implementation for html5 I found this: https://github.com/disconnect/apache-websocket If someone got apache-websocket working on Wheezy amd64 with its example programs using Google chrome or firefox, then I'm doing something wrong. If not then I'd like to know when someone does, so I can give it another try. Any takers? Regards, Philip Ashmore -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/5303173c.9030...@philipashmore.com
Re: Shutdown computer after a specific command has been executed
On 09/12/13 11:42, Muntasim-Ul-Haque wrote: Hi, I need a tool that would make sure that, my computer would shutdown after a specific command has been executed. This tool would just wait for the Terminal for executing a command, like '/sudo apt-get upgrade/' and then after the command has been executed, my computer would shutdown. Is that possible? Is there a tool or anything out there that can do this for me? Let me know. It would be of great help. Thanks in advance. Muntasim-Ul-Haque to shut down the computer from a script or command line use shutdown -h now It needs elevated(root) permissions so initially I was tempted to use sudo shutdown -h now but I think sudo has a timeout after which it prompts you to re-enter your password, probably not what you want. So the solution would be to sudo everything and drop to a regular user to run your command, unless it too needs to be run as root. My bash scripting isn't sharp enough to do it but here's a place to start from for user bob, uid=1001 sudo { su -l bob -c 'echo $UID' }; echo $UID Yes it doesn't work, but if you can tweak it to output 1001 and 0 then you've solved it. Maybe it's easier to create a script file that takes your command then shuts down. There are also other ways to do this that depend on which desktop environment you're using. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52a5bf4b.9030...@philipashmore.com
Re: Linux' (and other OS's) code patterns present in device drivers, the kernel and userland code ...
particular set of development approaches, can effectively work with. So there's probably a few more years left for obfuscation. Regards, Philip Ashmore -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/529d0411.60...@philipashmore.com
Re: synaptic - stuck
On 08/09/13 18:43, Verde Denim wrote: Ran an update last evening to include adding mono to the layout. If I could attach a screenshot, I would, but basically it looks to have installed all of the packages and configure them, but is now just sitting (still open on the 'installing software' dialog. It has been over 12 hours, so I'm wondering if I could just shut this down. The end of the text in the dialog is here - Setting up mono-apache-server4 (2.10-2.4) ... [] Reloading web server config: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName . ok [] Restarting web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName . ok Any input is, as always, much appreciated. Two items that spring to mind 1. is the automatically close after the changes have been successfully applied check box checked? If not then it won't close 2. is there another synaptic dialog open? I remember it sometimes offers configuration options for some packages and the poor state of synaptic desktop integration means that these won't appear in the task switcher - you need to minimize all other windows and maybe even peek behind synaptic by moving it to one side Regards, Philip Ashmore -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/522cdaec.7080...@philipashmore.com
Re: synaptic - stuck
On 08/09/13 22:07, Verde Denim wrote: On 09/08/2013 04:15 PM, Philip Ashmore wrote: On 08/09/13 18:43, Verde Denim wrote: Ran an update last evening to include adding mono to the layout. If I could attach a screenshot, I would, but basically it looks to have installed all of the packages and configure them, but is now just sitting (still open on the 'installing software' dialog. It has been over 12 hours, so I'm wondering if I could just shut this down. The end of the text in the dialog is here - Setting up mono-apache-server4 (2.10-2.4) ... [] Reloading web server config: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName . ok [] Restarting web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName . ok Any input is, as always, much appreciated. Two items that spring to mind 1. is the automatically close after the changes have been successfully applied check box checked? If not then it won't close 2. is there another synaptic dialog open? I remember it sometimes offers configuration options for some packages and the poor state of synaptic desktop integration means that these won't appear in the task switcher - you need to minimize all other windows and maybe even peek behind synaptic by moving it to one side Regards, Philip Ashmore Philip Thanks for the suggestions, but yes, the 'Automatic close' is checked and no, there are no other windows on the desktop. I thought about the fact that another process might be a possible culprit, but - jack 1271 1804 0 Sep07 ?00:00:00 /bin/sh /usr/bin/synaptic-pkexec root 1273 1271 0 Sep07 ?00:00:58 /usr/sbin/synaptic root 3462 1273 0 Sep07 pts/300:00:01 /usr/sbin/synaptic This looks ok. The details on the process running the update are - root 5957 3462 0 Sep07 pts/400:00:00 /usr/bin/dpkg --status-fd 63 --configure libart2.0-cil:al l libglade2.0-cil:amd64 libglib2.0-cil-dev:amd64 libgtk2.0-cil-dev:amd64 libglade2.0-cil-dev:amd64 libgno me-vfs2.0-cil:all libgnome2.24-cil:amd64 libmono-2.0-1:amd64 libmono-2.0-dev:amd64 libmono-corlib2.0-cil: all libmono-accessibility2.0-cil:all libmono-accessibility4.0-cil:all libmono-c5-1.1-cil:all libmono-cair o2.0-cil:all libmono-posix2.0-cil:all libmono-system2.0-cil:all libmono-security2.0-cil:all libmono-cecil -private-cil:all libmono-sharpzip2.84-cil:all libmono-data-tds2.0-cil:all libmono-system-data2.0-cil:all libmono-sqlite2.0-cil:all libmono-messaging2.0-cil:all libmono-system-messaging2.0-cil:all libmono2.0-cil :all libmono-system-web2.0-cil:all libmono-wcf3.0-cil:all libmono-system-data-linq2.0-cil:all libmono-cod econtracts4.0-cil:all libmono-compilerservices-symbolwriter4.0-cil:all libmono-cscompmgd8.0-cil:all libmo no-csharp4.0-cil:all libmono-custommarshalers4.0-cil:all libmono-data-tds4.0-cil:all libmono-system-trans actions4.0-cil:all libmono-system-enterpriseservices4.0-cil:all libmono-system-data4.0-cil:all libmono-db 2-1.0-cil:all libmono-debugger-soft2.0-cil:all libmono-debugger-soft4.0-cil:all libmono-sqlite4.0-cil:all libmono-system-web-applicationservices4.0-cil:all libmono-system-web-services4.0-cil:all libmono-system- web4.0-cil:all libmono-web4.0-cil:all libmono-http4.0-cil:all libmono-i18n-west2.0-cil:all libmono-i18n2. 0-cil:all libmono-i18n-cjk4.0-cil:all libmono-i18n-mideast4.0-cil:all libmono-i18n-other4.0-cil:all libmo no-i18n-rare4.0-cil:all libmono-i18n4.0-all:all libmono-ldap2.0-cil:all libmono-ldap4.0-cil:all libmono-m anagement2.0-cil:all libmono-management4.0-cil:all libmono-messaging4.0-cil:all libmono-rabbitmq2.0-cil:a ll libmono-messaging-rabbitmq2.0-cil:all libmono-rabbitmq4.0-cil:all libmono-messaging-rabbitmq4.0-cil:al l libmono-microsoft8.0-cil:all libmono-microsoft-build2.0-cil:all libmono-microsoft-build-framework4.0-ci l:all libmono-microsoft-build-utilities-v4.0-4.0-cil:all libmono-microsoft-build-engine4.0-cil:all libmon o-microsoft-build-tasks-v4.0-4.0-cil:all libmono-microsoft-csharp4.0-cil:all libmono-microsoft-visualc10. 0-cil:all libmono-microsoft-web-infrastructure1.0-cil:all libmono-npgsql2.0-cil:all libmono-npgsql4.0-cil :all libmono-opensystem-c4.0-cil:all libmono-oracle2.0-cil:all libmono-oracle4.0-cil:all libmono-peapi2.0 -cil:all libmono-peapi4.0-cil:all libmono-relaxng2.0-cil:all libmono-relaxng4.0-cil:all libmono-sharpzip2 .6-cil:all libmono-simd2.0-cil:all libmono-simd4.0-cil:all libmono-system-componentmodel-composition4.0-c il:all libmono-system-componentmodel-dataannotations4.0-cil:all libmono-system-configuration-install4.0-c il:all libmono-system-data-datasetextensions4.0-cil:all libmono-system-runtime-serialization4.0-cil:all l ibmono
Re: battery
On 08/08/13 04:05, cletusjenkins wrote: I'm using wheezy and in gnome 3, if I disconnect my laptop from its charger and then at some point suspend. After bringing the system back up and connect the charger the battery charge indicator in gnome shows incorrect info. I plug in the charger and the battery charges, but it never reaches 100%, it stops at around usually in the 80's or 90's. The indicator shows the battery is charging no matter how long it is plugged in, but once the percentage stops increasing it will never go higher. This inaccuracy usually persists across reboots. I can shutdown, disconnect the charger, and remove the battery. The inaccuracy remains. At least once this process lead to a correct reading, but it hasn't worked recently. I'm not sure if this has gone on since I first got it or if this is a new thing. I noticed it about 3 months ago. This laptop is less than 6 months old, when disconnected from the charger the battery holds a charge for the same length it always has. Is there some file I can erase or some other procedure to reset the the indicator? It's a feature of modern laptops. The idea is that the battery lasts longer if you avoid full charge/discharge cycles. Mine is on 80% too - it's normal. As for how you tell it to charge to 100% because you're planning a bus trip - anyone out there, please let me know. Regards, Philip Ashmore -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/520356fd.1050...@philipashmore.com
Re: battery
On 08/08/13 12:46, Peter Hillier-Brook wrote: On 08/08/13 09:29, Philip Ashmore wrote: On 08/08/13 04:05, cletusjenkins wrote: I'm using wheezy and in gnome 3, if I disconnect my laptop from its charger and then at some point suspend. After bringing the system back up and connect the charger the battery charge indicator in gnome shows incorrect info. I plug in the charger and the battery charges, but it never reaches 100%, it stops at around usually in the 80's or 90's. The indicator shows the battery is charging no matter how long it is plugged in, but once the percentage stops increasing it will never go higher. This inaccuracy usually persists across reboots. I can shutdown, disconnect the charger, and remove the battery. The inaccuracy remains. At least once this process lead to a correct reading, but it hasn't worked recently. I'm not sure if this has gone on since I first got it or if this is a new thing. I noticed it about 3 months ago. This laptop is less than 6 months old, when disconnected from the charger the battery holds a charge for the same length it always has. Is there some file I can erase or some other procedure to reset the the indicator? [cut] I've noted similar behaviour in that I leave my machine connected to a mains supply after shut-down and the 80% charge seems to become a stable state, but after starting the system - Kubuntu in my case - the charge eventually reaches 100%, so it seems to be a function of the running/not running state of the m/c. Peter HB ...which means it's distro-specific. Maybe one distro asks the battery controller some questions the other doesn't and responds accordingly. I think I remember seeing Ubuntu charging my battery to 100% too on a dual boot machine with Debian. According to http://www.samsung.com/us/article/tips--tricks-extending-notebook-battery-life it's called Smart charging, so I guess it should have a config option somewhere. Philip -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52038a4c.6020...@philipashmore.com
Re: Driver for a TP-LINK USB wireless adapter.
On 25/07/13 09:52, Virgo Pärna wrote: On Wed, 24 Jul 2013 10:27:15 +0100, Philip Ashmore cont...@philipashmore.com wrote: If it's anything like the TL-WR702N then you need to configure it via it's web interface, which may be in Chinese. WIFI card with a web interface? No that would be something... :D Anyway, lsusb output should show more information about card. I looked it up on tp-links web site - http://www.tp-link.com/en/products/details/?model=TL-WN722N I didn't read the details and saw the big router on the top of the page and assumed that was the TL-WN722N. Anyway there must be some way to configure it. I have a Canon Pixma MP560 and it has a web interface. Has it got aWindows installer CD? Does it work on Windows? Regards, Philip Ashmore -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51f17091.4030...@philipashmore.com
Re: Driver for a TP-LINK USB wireless adapter.
On 23/07/13 22:36, atar wrote: Hi there!! I've a TP-LINK USB wireless adapter with model number TL-WN722N. When I plug it in to one of the USB slots in my PC, its LED diode isn't flashing (although under WIN XP it is flashing) and I cannot use it. from the messages of the 'dmesg' command it seems that the kernel detect it, but I unable to use it because it doesn't appear on the wicd window of available interfaces. What should I do in order to solve this problem? Thanks in advance!! atar. If it's anything like the TL-WR702N then you need to configure it via it's web interface, which may be in Chinese. See http://philipashmore.blogspot.ie/2012/06/wifi-bargain-hunting.html to find out how I (eventually) managed it. Regards, Philip Ashmore -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51ef9df3.9070...@philipashmore.com
Re: counter-PRISM PRISM - Re: wacky question
On 20/06/13 22:50, Paul E Condon wrote: On 20130620_084306, Slavko wrote: Hi, On 6/20/13, Greggreg...@att.net wrote: Does anyone think that debian could participate in any programs like PRISM? Or could a lone (or group of) sympathetic DD or DM slip a backdoor or something that could collect private info in the binary packages distributed by debian? Sure, here is something, that collect info and send it to the Debian - the popoularity contest... (yes, i see the differences) Anybody can do anything - then yes, it is possible, that someone from DD/DM can integrate something bad into some package. It is possible, that backdoor is implemented by upstream author/contributor too, and it is possible, that backdoor is in Linux kernel too. I remember reading about software complexity metrics and how the most complex pieces of code had the fewest bug fixes - because most everyone stayed away from them. And even if Debian had software provability built into Lintian, would it be bug free? Could it prove that it was itself bug free? But how long it will be in Debian? Because most of binaries in Debian are provided with they sources, anybody can take look into it and then anybody can find and report, that something is wrong ;-) And yes, it is possible, that some of DD/DM are CIA (and similar) followers. It is possible, but IMO not presumable, because i hope, that there are not the people, which think, that the freedom and privacy is for USA's inhabitants only... regards -- Slavko http://slavino.sk Debian is a international organization. Its OpenPRISM could be a service to all the spies of the world, whatever their political persuasion. Think of the cost saving if there were only one shared facility for all. Maybe the Koch brothers would be willing to be financial sponsors for the initial proof of concept work. If you've ever watched Ghost in the shell then you'd know that the possibility exists that while you believe you're typing away at the keyboard, you could in fact be drooling in the corner of an insane asylum. Droool. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51c3a1e8.3070...@philipashmore.com
Re: Cannot run a program from an optical drive
On 15/06/13 11:22, Nikolas Kallis wrote: Hello, When I try to run a program from an optical drive as the 'root' user in Debian 7.0, I get a permission denied return. Does anyone know why this happened and how I can stop it from happening again? Regards, Nikolas Kallis run mount to see if you're mounting with noexec. See man mount - filesystem independent options for details. Philip -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51bc62bf.8030...@philipashmore.com
Re: Changing to lvm from ext4
On 28/05/13 22:42, Thore wrote: What do you want to have? Your system in lvm or only a vg to create partitions? Am 28.05.2013 23:30, schrieb To Ro: What would be the best course of action to switch my system to lvm? This is what I have: Filesystem Size Used Avail Use% Mounted on rootfs 9.2G 8.3G 425M 96% / udev 10M 0 10M 0% /dev tmpfs 592M 756K 591M 1% /run /dev/disk/by-uuid/b9a3a0e3-9f3b-401e-8f12-8d123e6e7f3b 9.2G 8.3G 425M 96% / tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 1.5G 536K 1.5G 1% /run/shm /dev/sda7 29G 5.6G 22G 21% /home Plus mount -l sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=755582,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=605680k,mode=755) /dev/disk/by-uuid/b9a3a0e3-9f3b-401e-8f12-8d123e6e7f3b on / type ext4 (rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1474720k) /dev/sda7 on /home type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered) rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime) And there is also 600 GB of adjacent disk space where /home used to be from squeeze. I already made a tarball with these older /home and saved it to an exterior device. I want to reuse this disk space, with lvm, and migrate existing wheezy installation to it, occupying the whole disk this time and bringing back most of the old data saved in the tarball. Any comments on best way and steps to accomplish this? Thanks. I boot Windows + Ubuntu + Wheezy, using an encrypted LVM for Ubuntu, shared partitions, swap and Wheezy. Currently the only way I can do this is to install using VMware Player to a .vmdk and configure for encrypted LVM. Then I mount the .vmdk and copy the image over and rename some stuff using a script, so if I make a mess I can change the script and restart fromthe reference image. I still have tomanagegrub.cfg by hand as Ubuntu and Debian try to overwrite it when a new kernel comes along. Also, you need a separate /boot partition, outside of LVM. Regards, Philip Ashmore -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51a536ca.5080...@philipashmore.com
Synaptic can't find Debian changelogs
Hi there. When I click on the Get Changelog button for a package, for example llvm-3.2, I get This change is not coming from a source that supports changelogs. Failed to fetch the changelog for llvm-3.2 URI was: http://packages.debian.org/changelogs/pool/main/l/llvm-toolchain-3.2/llvm-toolchain-3.2_3.2repack-2/changelog so my first question is, doesn't packages.debian.org support changelogs or is Synaptic getting it wrong? I can access the changelog on the command line: gunzip -c /usr/share/doc/llvm-3.2/changelog.Debian.gz | less so couldn't synaptic access it there too? Regards, Philip Ashmore -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/518a3d2e.7070...@philipashmore.com
Re: Seeking advise on changing names of target in dm-crypt
On 18/03/13 08:40, J.A. de Vries wrote: On 2013-03-18 03:03, green wrote: J.A. de Vries wrote at 2013-03-17 13:46 -0500: I have been messing around with fstab, crypttab, blkid.tab, grub and initramfs and every time a new dependency rears its ugly head. The system still keeps asking for the original name of the partition with / on it. I am thinking of giving up and just starting anew (reinstall). That'll probably cost me less time. It's not the way I like to do things, but I just don't have time to solve this mess. Have you run `update-initramfs -u`? I did. I also adapted grub.cfg to point it to the correct partition and ran update-grub. Still, at boot the system keeps asking for a partition with the original name. A grep on /etc and /boot does not find it anymore, but the systems keeps asking for it. Grx HdV I had a similar problem with Where does the update-initramfs hook get the kernel name from? http://lists.debian.org/debian-devel/2011/01/msg00796.html I just realised that I posted the solution - to myself. Here it is. According to the docs you mentioned, the script gets supplied the kernel version from uname -r. The output I get is 2.6.32-5-amd64, not 26.32.5-amd64.squeeze as you see above, so the documentation must be wrong. Philip I finally went ahead and did an apt-get source initramfs-tools to check this out after upgrading to Wheezy. The postinstall hook was calling update-initramfs -u This script looks in $STATEDIR which is /var/lib/initramfs-tools by default, for versions to sort so it can get the latest one. The problem was that if you create a few flavours yourself, delete them in /boot and don't know about $STATEDIR then update-initramfs -u will forever more tell you about non-existent versions. The solution in this case is to delete the checksum files in $STATEDIR that match the ones you already deleted in /boot. The correct procedure is to update-initramfs -k some-version -d. There should probably be a Debian web page to store solutions to problems like this. Regards, Philip -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/514759d5.50...@philipashmore.com
Why does my wifi use wlan1 and wired ethernet use eth2?
Hi there. Here's some of /var/log/messages to start things off: Feb 28 00:16:55 buckyball kernel: [2.601270] eth%d: RTL8168E-VL/8111E-VL at 0xc9c7e000, e8:03:9a:08:d0:74, IRQ 41 Feb 28 00:16:55 buckyball kernel: [ 23.106590] r8168: eth2: link down Feb 28 00:16:55 buckyball kernel: [ 23.108215] ADDRCONF(NETDEV_UP): eth2: link is not ready OK I don't have the wired ethernet connected. Feb 28 00:16:55 buckyball kernel: [ 22.642834] ADDRCONF(NETDEV_UP): wlan1: link is not ready Feb 28 00:16:55 buckyball kernel: [ 23.483510] ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready lspci reveals 02:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01) 03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06) I've tried setting these to eth0 and wlan0 but I'm getting console messages like device not found for wlan0 - they're not logged anywhere I can find them. Eth0 isn't so important for now, but I'd like to know, where does Debian get these magic names from? Regards, Philip Ashmore -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/512ea5c0.9070...@philipashmore.com
Re: [1/2OT] skype
On 09/02/13 09:07, Lars Noodén wrote: On 2/9/13 6:52 AM, lina wrote: [snip] Is skype stable under the Debian? [snip] If you install Skype, you should also install an SIP client like Ekiga or Blink just to try to encourage open standards for IP telephony. /Lars WebRTC is fast becoming the standard for this. Even Skype is thinking about adopting this for phone to tablet to pc video chats without plug-ins - see http://www.html5rocks.com/en/tutorials/webrtc/basics/ Philip -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/511617f2.3040...@philipashmore.com
Re: alternatives to skype
On 10/02/13 00:34, Russell L. Harris wrote: * Philip Ashmorecont...@philipashmore.com [130209 09:45]: WebRTC is fast becoming the standard for this. Even Skype is thinking about adopting this for phone to tablet to pc video chats without plug-ins - see http://www.html5rocks.com/en/tutorials/webrtc/basics/ Because you appear to have a current and good perspective on video conferencing, may I ask your recommendation for an approach to utilize in the immediate future -- tomorrow, next week, next month. snip It's an up-coming browser technology - I read about it and thought they might have a demo for two people to use, to start a conversation via email links, but upon further reading I couldn't find one. Try Google+ hangouts - I've used it with Firefox. You need a GoogleEmail account. Create a hangout and others (in your circle) can join in. See http://www.google.com/+/learnmore/hangouts/ Philip -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51174b82.1040...@philipashmore.com
Is there an updates mailing list with change logs?
Hi there. My current work-flow of running synaptic, reloading, marking upgrades, viewing history, cherry-picking updates I'm interested in and viewing the changelogs for each, (or if they fail to download, gunzip -c xyz/changelog.Debian.gz | less) sucks. Is there an updates list I can subscribe to so that the updates, complete with the changelog entry for the updates, get mailed to me when they're available. I realise it's going to depend on their availability on my local mirror, so as an alternative, could it be bundled with the update, or available in semantic along side the history entries. I'm just brainstorming here - feedback welcome. Is there a package that does this already? Regards, Philip Ashmore -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50cceb71.9050...@philipashmore.com
Re: Is there an updates mailing list with change logs?
On 15/12/12 21:52, Steven Ayre wrote: I use apticron (http://packages.debian.org/squeeze/apticron). I see one of its dependencies is apt-listchanges. Its web page (http://packages.debian.org/sid/apt-listchanges) mentions When configured as an APT plugin but I web-surfing doesn't tell me if this is done on installation. I'd like synaptic to present me with a window with the packages in bold followed by a paragraph about the changes between the new version and the one I have installed. A note indicating what new packages it requires over the previous version (or no longer requires) would be useful too. I'm hoping a package (or package configuration) does this already, otherwise it's a feature request on Synaptic. It runs a daily cronjob that does a apt-get update and then emails you if there are any upgrades available. The email includes the recent changeling entries. -Steve On 15 Dec 2012, at 21:28, Philip Ashmore cont...@philipashmore.com mailto:cont...@philipashmore.com wrote: Hi there. My current work-flow of running synaptic, reloading, marking upgrades, viewing history, cherry-picking updates I'm interested in and viewing the changelogs for each, (or if they fail to download, gunzip -c xyz/changelog.Debian.gz | less) sucks. Is there an updates list I can subscribe to so that the updates, complete with the changelog entry for the updates, get mailed to me when they're available. I realise it's going to depend on their availability on my local mirror, so as an alternative, could it be bundled with the update, or available in semantic along side the history entries. I'm just brainstorming here - feedback welcome. Is there a package that does this already? Regards, Philip Ashmore -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org mailto:debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org mailto:listmas...@lists.debian.org Archive: http://lists.debian.org/50cceb71.9050...@philipashmore.com Regards, Philip Ashmore -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50cd2c9e.9040...@philipashmore.com
cpuid : Hyper threading siblings: 16?
But cat /proc/cpuinfo says: ... processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 42 model name : Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz stepping: 7 microcode : 0x28 cpu MHz : 2201.000 cache size : 6144 KB physical id : 0 siblings: 8 core id : 0 cpu cores : 4 ... I'm sure the system has 4 cores or 8 hyper-threads. Am I reading it wrong? Regards, Philip Ashmore -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/509bf05c.3050...@philipashmore.com
Re: cpuid : Hyper threading siblings: 16?
On 08/11/12 19:38, Martin Steigerwald wrote: Am Donnerstag, 8. November 2012 schrieb Philip Ashmore: But cat /proc/cpuinfo says: ... processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 42 model name : Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz stepping: 7 microcode : 0x28 cpu MHz : 2201.000 cache size : 6144 KB physical id : 0 siblings: 8 core id : 0 cpu cores : 4 ... I'm sure the system has 4 cores or 8 hyper-threads. Am I reading it wrong? Regarding the subject of you mail: Thats in total 8 siblings. So you divide 8 / 4 and get 2 siblings per core. I never seen any hyperthreading with more than 2 siblings per core so far. Ciao, I guess I wasn't being clear: cpuid tells me I have 16 siblings: $ cpuid eax ineax ebx ecx edx 000d 756e6547 6c65746e 49656e69 0001 000206a7 03100800 1fbae3bf bfebfbff 0002 76035a01 00f0b2ff 00ca 0003 0004 0005 0040 0040 0003 00021120 0006 0077 0002 0009 0007 0008 0009 000a 07300403 0603 000b 006f 0003 000c 000d 8000 8008 8001 0001 28100800 8002 20202020 6e492020 286c6574 43202952 8003 2865726f 20294d54 322d3769 51303736 8004 5043204d 20402055 30322e32 007a4847 8005 8006 01006040 8007 0100 8008 3024 Vendor ID: GenuineIntel; CPUID level 13 Intel-specific functions: Version 000206a7: Type 0 - Original OEM Family 6 - Pentium Pro Model 10 - Stepping 7 Reserved 8 Extended brand string: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz CLFLUSH instruction cache line size: 8 Initial APIC ID: 3 Hyper threading siblings: 16 Feature flags bfebfbff: FPUFloating Point Unit VMEVirtual 8086 Mode Enhancements DE Debugging Extensions PSEPage Size Extensions TSCTime Stamp Counter MSRModel Specific Registers PAEPhysical Address Extension MCEMachine Check Exception CX8COMPXCHG8B Instruction APIC On-chip Advanced Programmable Interrupt Controller present and enabled SEPFast System Call MTRR Memory Type Range Registers PGEPTE Global Flag MCAMachine Check Architecture CMOV Conditional Move and Compare Instructions FGPAT Page Attribute Table PSE-36 36-bit Page Size Extension CLFSH CFLUSH instruction DS Debug store ACPI Thermal Monitor and Clock Ctrl MMXMMX instruction set FXSR Fast FP/MMX Streaming SIMD Extensions save/restore SSEStreaming SIMD Extensions instruction set SSE2 SSE2 extensions SS Self Snoop HT Hyper Threading TM Thermal monitor 31 reserved TLB and cache info: 5a: unknown TLB/cache descriptor 03: Data TLB: 4KB pages, 4-way set assoc, 64 entries 76: unknown TLB/cache descriptor ff: unknown TLB/cache descriptor b2: unknown TLB/cache descriptor f0: unknown TLB/cache descriptor ca: unknown TLB/cache descriptor Processor serial: 0002-06A7---- $ lstopo --of txt ┌─┐ │ Machine (7918MB) │ │ │ │ ┌┐ ┌─┐ │ │ │ Socket P#0 │ ├┤╶─┬─┼┤╶───┤ PCI 10de:0df4 │ │ │ ││ │ └─┘ │ │ │ ┌┐ │ │ │ │ │ │ L3 (6144KB)│ │ │ ┌─┐ │ │ │ └┘ │ ├─┤ PCI 8086:0116 │ │ │ ││ │ │ │ │ │ │ ┌──┐ ┌──┐ ┌──┐ ┌──┐ │ │ │ ┌─┐ │ │ │ │ │ L2 (256KB) │ │ L2 (256KB) │ │ L2 (256KB) │ │ L2 (256KB) │ │ │ │ │ card0
Re: cpuid : Hyper threading siblings: 16?
On 08/11/12 22:45, Martin Steigerwald wrote: Am Donnerstag, 8. November 2012 schrieb Philip Ashmore: So I think there is a bug in cpuid. snip Reported as cupid reports wrong hyper-threading count. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692799 Regards, Philip Ashmore -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/509c87ae.2050...@philipashmore.com
Re: cannot detect USB3 external hard disk, uas the problem
On 20/10/12 17:56, H.S. wrote: Hello. I have a Hitach Touro USB3 external hard disk. When I connected it to a USB port (the one on the front of the case, it is usb2), my Debian testing (amd64, running 3.2.0-3-amd64) does not detect the disk. /var/log/syslog reports errors and I have pasted those further below. I had different problems with a usb3 - usb3 sata hard drive enclosure. Upgrading to 3.5-trunk-amd64 solved them for me. Just my 2c. Searching various webpages and forums resulted in narrowing down the solution to removing the uas module: $ sudo modprobe -r uas Now, when I connect the same hard disk to the same physical usb port, it is detected fine. Can somebody explain why this problem occurs and if there is a better solution? Thanks. HS. The /var/log/syslog error message: # Oct 20 11:58:37 red kernel: [130903.980090] usb 5-1: new high-speed USB device number 3 using ehci_hcd Oct 20 11:58:37 red kernel: [130904.115180] usb 5-1: New USB device found, idVendor=4971, idProduct=1012 Oct 20 11:58:37 red kernel: [130904.115191] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Oct 20 11:58:37 red kernel: [130904.115198] usb 5-1: Product: Touro Mobile Pro Oct 20 11:58:37 red kernel: [130904.115203] usb 5-1: Manufacturer: Hitachi GST Oct 20 11:58:37 red kernel: [130904.115208] usb 5-1: SerialNumber: 0210011071200503 Oct 20 11:58:37 red mtp-probe: checking bus 5, device 3: /sys/devices/pci:00/:00:16.2/usb5/5-1 Oct 20 11:58:37 red mtp-probe: bus: 5, device: 3 was not an MTP device Oct 20 11:58:37 red kernel: [130904.190353] scsi8 : uas Oct 20 11:58:37 red kernel: [130904.190455] usbcore: registered new interface driver uas Oct 20 11:58:37 red kernel: [130904.191620] Initializing USB Mass Storage driver... Oct 20 11:58:37 red kernel: [130904.191677] usbcore: registered new interface driver usb-storage Oct 20 11:58:37 red kernel: [130904.191678] USB Mass Storage support registered. Oct 20 11:58:41 red kernel: [130908.179280] scsi 8:0:0:0: Direct-Access Hitachi Touro Mobile Pro A0D0 PQ: 0 ANSI: 4 Oct 20 11:58:48 red kernel: [130914.816021] scsi 8:0:0:0: uas_eh_abort_handler tag 0 Oct 20 11:58:48 red kernel: [130914.816027] scsi 8:0:0:0: uas_eh_device_reset_handler tag 0 Oct 20 11:58:48 red kernel: [130914.816029] scsi 8:0:0:0: uas_eh_target_reset_handler tag 0 Oct 20 11:58:48 red kernel: [130914.816031] scsi 8:0:0:0: uas_eh_bus_reset_handler tag 0 Oct 20 11:58:48 red kernel: [130914.928061] usb 5-1: reset high-speed USB device number 3 using ehci_hcd Oct 20 11:58:48 red kernel: [130915.066413] scsi 8:0:0:0: Device offlined - not ready after error recovery Oct 20 11:58:48 red kernel: [130915.066470] scsi 8:0:0:0: rejecting I/O to offline device Oct 20 11:58:48 red kernel: [130915.066486] scsi 8:0:0:0: rejecting I/O to offline device Oct 20 11:58:48 red kernel: [130915.067811] scsi 8:0:0:1: Enclosure Hitachi SES A0D0 PQ: 0 ANSI: 4 Oct 20 11:58:48 red kernel: [130915.068030] scsi 8:0:0:2: uas_sense_old: urb length 26 disagrees with IU sense data length 510, using 18 bytes of sense data Oct 20 11:58:48 red kernel: [130915.068762] sd 8:0:0:0: Attached scsi generic sg5 type 0 Oct 20 11:58:48 red kernel: [130915.069145] scsi 8:0:0:1: Attached scsi generic sg6 type 13 Oct 20 11:59:19 red kernel: [130945.888054] sd 8:0:0:0: uas_eh_abort_handler tag 0 Oct 20 11:59:19 red kernel: [130945.888071] sd 8:0:0:0: uas_eh_device_reset_handler tag 0 Oct 20 11:59:19 red kernel: [130945.888080] sd 8:0:0:0: uas_eh_target_reset_handler tag 0 Oct 20 11:59:19 red kernel: [130945.888087] sd 8:0:0:0: uas_eh_bus_reset_handler tag 0 Oct 20 11:59:19 red kernel: [130946.70] usb 5-1: reset high-speed USB device number 3 using ehci_hcd Oct 20 11:59:19 red kernel: [130946.133919] sd 8:0:0:0: Device offlined - not ready after error recovery Oct 20 11:59:19 red kernel: [130946.133992] sd 8:0:0:0: rejecting I/O to offline device Oct 20 11:59:19 red kernel: [130946.134013] sd 8:0:0:0: rejecting I/O to offline device Oct 20 11:59:19 red kernel: [130946.134024] sd 8:0:0:0: rejecting I/O to offline device Oct 20 11:59:19 red kernel: [130946.134032] sd 8:0:0:0: [sde] READ CAPACITY failed Oct 20 11:59:19 red kernel: [130946.134037] sd 8:0:0:0: [sde] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK Oct 20 11:59:19 red kernel: [130946.134046] sd 8:0:0:0: [sde] Sense not available. Oct 20 11:59:19 red kernel: [130946.134056] sd 8:0:0:0: rejecting I/O to offline device Oct 20 11:59:19 red kernel: [130946.134065] sd 8:0:0:0: [sde] Write Protect is off Oct 20 11:59:19 red kernel: [130946.134072] sd 8:0:0:0: [sde] Mode Sense: 00 00 00 00 Oct 20 11:59:19 red kernel: [130946.134080] sd 8:0:0:0: rejecting I/O to offline device Oct 20 11:59:19 red kernel: [130946.134088] sd 8:0:0:0: [sde] Asking for cache data failed Oct 20 11:59:19 red kernel: [130946.134094] sd 8:0:0:0: [sde] Assuming drive cache: write through Oct 20 11:59:19 red
Can DVD isos be converted to use h264?
Hi there. I'm one of those people who think that the DVD menu is part of the movie experience - otherwise I'd just convert the VOB files and be done with it. Yeah, I know - the DVD standard mandates mpeg-1 or mpeg-2, but in a recent test, xbmc 3:11.0-0.1 appeared to want to at least try to decode the DVD iso I converted: You'll need to install xbmc-skin-confluence - xmbc will bail without it. Here's a snippet from ~/.xbmc/temp/xbmc.log CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 So it looks promising. I'm either encoding those VOB files incorrectly and/or not generating the ISO correctly. I've attached a script that uses fuseiso9660 to user-mount a dvd iso onto a directory, converts the VOB files to h264 and runs genisoimage to create a new iso. The new iso is 1,861,853,184 bytes long compared to 7,249,934,336 bytes - quite some space saving if I'm doing it right. I've attached a script based on what information I could find - but is this approach correct? Any comments/suggestions welcome. Regards, Philip Ashmore #!/bin/sh # Work files are created in the current directory as temp files will # most likely be too large for /tmp. # # Make sure you have enough free disk space for about 3x-4x the dvd size. # set -e cleanup() { rm -fr $wrkdir rm -fr $isodir return $1 } if test $1 = || test ! -f $1 ; then echo Usage: dvd2h264 file.iso [stage] exit 1 fi if `ffmpeg -formats | grep raw H.264 video format | wc -l` != 1 ; then echo ffmpeg doesn't support h264! exit 1 fi wrkdir=$PWD/temp isodir=$PWD/$1.dir if test $2 = ; then if test ! -d $wrkdir; then mkdir $wrkdir; else rm -fr $wrkdir/*; fi if test ! -d $isodir; then mkdir $isodir; else rm -fr $isodir/*; fi fuseiso9660 $1 $isodir # Has the DVD been converted already? avob=`ls $isodir/VIDEO_TS/*.VOB* | head -n 1 2/dev/null` if test $avob = ; then echo No VOB files found in VIDEO_TS/ - not a video DVD. fusermount -u $isodir return cleanup 1 fi codec=`ffprobe -show_streams VTS_01_0.VOB 2/dev/null | head -n 10 | grep codec_name` if test codec != codec_name=mpeg2video ; then echo DVD already converted. fusermount -u $isodir return cleanup 0 fi # Copy the contents into workdir cp -r $isodir/* $wrkdir/ fusermount -u $isodir fi # Get rid of ;1 that fuse sometimes adds (?) # VIDEO_TS/VTS_01_0.VOB;1 cd $wrkdir/VIDEO_TS chmod +w . for a in `ls *` ; do b=${a%*;*} if test $a != $b; then echo $a - $b chmod +w $a mv $a $b chmod -w $b fi done # Use ffmpeg to transform those VOB files. for a in `ls *.VOB` ; do if test -f $a.h264 ; then continue; fi # Taken from man ffmpeg. ffmpeg -i $a -map 0 -c:v libx264 -c:a copy -c:s copy $a.h264 done echo ffmpeg done. Replacing VOBs. for a in `ls *.VOB` ; do mv -f $a.h264 $a done cd ../.. # All done; convert the temp dir back into a DVD. echo Writing DVD image result-$1. genisoimage -o result-$1 $wrkdir chmod --reference=$1 result-$1 # Compare them, try the new one out, etc. # mv -f result-$1 $1
Re: [OT] Intelectual Property Law
On 03/08/12 02:09, Celejar wrote: On Thu, 02 Aug 2012 18:17:56 -0500 John Haslerjhas...@newsguy.com wrote: Celejar writes: This is dogma. It's just advice to someone who seems to think that owning copyrights makes the publishers his masters. Fair enough. There is a great deal of software, and certainly other cultural material (books, movies, music) out there which has no FLOSS equivalent, and I don't have the time / skill to manufacture my own. Do as you will. The point is, you don't actually _need_ that stuff. Quite true. You peruse it by choice (and so do I (except for the movies)). Agreed. Is it really reasonable to refuse to read all books that have not been released under a FLOSS license? It is evidently feasible to not read at all. I'm sure you have neighbors and/or coworkers who are living example of that. True. Celejar Ho hum. I just have to wade in with one additional point. Back in the day I remember when CD-ROMs were being promoted/released. I think it was on Blue Peter. They demonstrated how robust a medium it was by spreading marmalade (it's like jam) on the thing, wiping it off and showing that it still worked. These days I don't dare look sideways at a CDs or DVDs in case they catch a scratch. I'm backing up my collection onto hard disk and I'm using a CD/DVD repair kit, and I have to use it once or twice on those items I watch more frequently, oh gee, I must have watched that one a lot, out with the repair kit. This is all going to change once augmented reality really kicks in - last time I checked you could still invite friends over to watch a movie or listen to music. Once your place becomes virtual, no copyright laws are being broken, or am I wrong here? Regards, Philip Ashmore -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/501b29c6.6000...@philipashmore.com
slow DVD reading
Hi there. Ever since I heard about the Raspberry Pi, I dreamt of putting my entire DVD collection on a usb disk and having a DVD juke box that would fit into a DVD case. While I'm waiting for my Pi to arrive, I started copying DVDs onto ISOs - what can I say, I love those DVD menus. Unfortunately they take ages to copy. I'm using Brasero on kde-trinity and it never works out the estimated drive speed, but from the progress indications (3206MiB of 5726MiB) it looks like it's managing 3-4MiB per second. It's a Samsung RF711-S07UK laptop with a blu-ray drive, so I was expecting it to be able to read a lot faster. What, if anything, can I do to make it read faster? Regards, Philip Ashmore -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/501917c4.4070...@philipashmore.com
Faking quad buffers using VirtualGL for use with a 3D TV
Hi there. If you or someone you know has a 3D TV I bet you've wondered what it is about an OpenGL graphics card that's different from a normal or 2D graphics card. The short answer is - there is no significant difference, and some 3D laptops use the same graphics chip that 2D ones do - see http://www.zdnet.com/blog/computers/ces-2011-sony-debuts-vaio-f-series-3d-laptop-with-new-nvidia-geforce-gt-540m-graphics/4690 Some higher-end machines may use 2 2D graphics chips/cards, one for each eye. When you look at the actual 3D hdmi output format, it turns out it just outputs the two images one above the other - see http://hdguru.com/3d-hdtv-and-hdmi-explained/1336/ YouTube allows users to post 3D videos which you can search for with yt3d:enable=true. When YouTube detects this tag it adds a 3D button that allows you to choose several ways to view the video. Here are some examples: YouTube in 3D: http://www.youtube.com/watch?v=5ANcspdYh_Ufeature=plcp StereoQuake: http://www.youtube.com/watch?v=tXvirxRK-Ww I thought this would be something that's possible - even straightforward - to do with VirtualGL, but as you can see from this discussion Faking quad buffers for 3D TV http://sourceforge.net/projects/virtualgl/forums/forum/401860/topic/5335139 the author of VirtualGL seems somewhat inflexible in their approach, either that or they're missing the point I repeatedly tried to make. Maybe if Debian users show that they understand the concept, Debian can make a patch that someday might be accepted upstream. I just want to give Quake3 a go with a 3D TV - where's the harm? Regards, Philip Ashmore -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4fee567a.4090...@philipashmore.com
Re: Faking quad buffers using VirtualGL for use with a 3D TV
On 30/06/12 02:29, Philip Ashmore wrote: what it is about an OpenGL graphics card should read what it is about a stereo graphics card. Philip -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4fee5a06.6060...@philipashmore.com