Re: [gentoo-user] Re: Root-kitted (was: DSL and AT&T. About time.)
Grant Edwards wrote: > It was a very sobering experience... I'm sure it was. I hope I never experience anything like that. Well, I guess I could be already without knowing... :-/ Thanks for the info! Best regards Peter K
Re: [gentoo-user] Re: Root-kitted (was: DSL and AT&T. About time.)
On Monday 10 August 2009 05:36:00 Grant Edwards wrote: > On 2009-08-08, pk wrote: > > Grant Edwards wrote: > >> That's what I thought back when I was using dialup on a Linux > >> box that didn't have any servers running. Then one day I got > >> root-kitted. > > > > This may be off-topic but I'm curious about the details. Can you please > > elaborate? > > Well, it was probably about 9 years ago, but here's the way I > remember it: > > It started when I noticed the modem's RX/TX lights were > flashing when there was no reason for them to be doing so (I > was in the habit of keeping an eye on them to make sure the > connection was working OK). When I did a netstat, it showed > active network connections that shouldn't have been there, but > ps didn't show the processes that netstat said had connections > open. The "ps" binary had been replaced with a hacked version. > IIRC, so had the "lsof" binary because it didn't show the > processes that had the connections open either. > > I was running an RPM-based installation at the time (RH 6 or 7 > I believe), and and an rpm "verify" command failed for a > handful of system related binaries (among them ps and lsof): > they weren't the same files that rpm had installed. There was a Red Hat *.0 release of that era that shipped with every possible service installed and running, accepting connections from anywhere. IIRC, average time to be rooted was measured in minutes... Red Hat were quite clear at the time that the release was not actually for real use, more for testing. I think the switch to glibc-2 was the underlying reason. Anyway, lots of folks got bitten because they installed and used it anyway. Perhaps you got caught up in that? -- alan dot mckinnon at gmail dot com
[gentoo-user] Re: Root-kitted (was: DSL and AT&T. About time.)
On 2009-08-10, Alan McKinnon wrote: > On Monday 10 August 2009 05:36:00 Grant Edwards wrote: >> On 2009-08-08, pk wrote: >> > Grant Edwards wrote: >> >> That's what I thought back when I was using dialup on a Linux >> >> box that didn't have any servers running. Then one day I got >> >> root-kitted. >> > >> > This may be off-topic but I'm curious about the details. Can you please >> > elaborate? >> >> Well, it was probably about 9 years ago, but here's the way I >> remember it: >> >> It started when I noticed the modem's RX/TX lights were >> flashing when there was no reason for them to be doing so (I >> was in the habit of keeping an eye on them to make sure the >> connection was working OK). When I did a netstat, it showed >> active network connections that shouldn't have been there, but >> ps didn't show the processes that netstat said had connections >> open. The "ps" binary had been replaced with a hacked version. >> IIRC, so had the "lsof" binary because it didn't show the >> processes that had the connections open either. >> >> I was running an RPM-based installation at the time (RH 6 or 7 >> I believe), and and an rpm "verify" command failed for a >> handful of system related binaries (among them ps and lsof): >> they weren't the same files that rpm had installed. > > There was a Red Hat *.0 release of that era that shipped with > every possible service installed and running, accepting > connections from anywhere. IIRC, average time to be rooted was > measured in minutes... Unless RH had somehow hidden the servers, I'm pretty sure I wasn't running any except for ssh and ntp. I always did manual installs where I went through and reviewed all of the packages being installed. > Red Hat were quite clear at the time that the release was not > actually for real use, more for testing. I think the switch to > glibc-2 was the underlying reason. Anyway, lots of folks got > bitten because they installed and used it anyway. > > Perhaps you got caught up in that? It could be there were services running that I didn't know about. If so, they would have had to have been installed on the sly by Anaconda without having a checkmark next to them. They also would have had to start up without any notification on the boot-up screen. -- Grant Edwards grante Yow! Is this sexual at intercourse yet?? Is it, visi.comhuh, is it??
[gentoo-user] {OT} Printer recommendation
Hi, I intend to buy a new printer and would like to get some recommendations/experiences from you (to be sure to get it working with Linux). Here is what I'd like: - B/W and Color printing - Network attached (LAN) - Mostly used for office documents / rare graphics printing - Reasonably priced refill cartridges - Price up to ~ 180 US$ I am especially interested in your experience to get it working under Linux. Thanks for your tips! -- Best regards, Marco
Re: [gentoo-user] Anybody tried shake defragmenter?
On Sat, Aug 8, 2009 at 12:40 AM, wrote: > Paul Hartman [09-08-03 23:09]: >> On Mon, Aug 3, 2009 at 3:22 PM, Grant wrote: >> > I know Linux systems aren't supposed to become fragmented, but I've >> > also read that it can happen eventually. I'm on ext3. I've read that >> > ext4 will have a defragmenter but that it doesn't have one yet. >> >> It's not that they aren't supposed to become fragmented, it is that >> they try to avoid it. There is a big difference, and things like >> streaming writes (downloads, bittorrents, etc) can cause extreme >> fragmentation. >> >> The time-honored way of fixing this is "backup, delete, restore". In >> my case my simple defragmenter is to move a file to tmpfs and then >> move it back to the hard drive. I always do this to files I'm about to >> burn to a CD/DVD to ensure the read speed is optimal. >> >> > Has anyone tried the shake defragmenter? >> >> Yes, nothing has blown up yet. :) > > Hi, > > does anyone know a source of information -- except reading the C-source > of shake itsself -- what the meaning of the different columns of > >shake -pvv > > are ? No. :) There's no documentation really. The source cide is funny, everything is named after law, investigations, accused, trials and judgments. :) There best I can do is reproduce the part of the source that shows this info and hope you can infer from the names what they are showing: /* Show statistics about an accused */ void show_reg (struct accused *a, struct law *l) { /* Show file status */ printf ("%lli\t%lli\t%lli\t%i\t%i\t%i\t%i\t%s", a->ideal, a->start / 1024, a->end / 1024, a->fragc, a->crumbc, (int) (a->age / 3600 / 24), a->guilty, a->name); /* And, eventualy, list of frags and crumbs */ if (l->verbosity > 2 && a->poslog && a->poslog[0] != -1) { uint n; putchar ('\t'); for (n = 0; a->sizelog[n + 1] != -1; n++) printf ("%lli:%lli,", a->poslog[n] / 1024, a->sizelog[n] / 1024); printf ("%lli:%lli\n", a->poslog[n] / 1024, a->sizelog[n] / 1024); } else putchar ('\n'); }
Re: [gentoo-user] {OT} zflashpoint for Linux? (SSD performance "accelerator")
Josh Saddler had a couple blog posts recently about his adventures with SSD and Gentoo: http://blogs.gentoo.org/nightmorph/2009/08/02/ssds-and-filesystems http://blogs.gentoo.org/nightmorph/2009/08/09/ssds-and-filesystems-part-2
Re: [gentoo-user] {OT} Printer recommendation
Marco wrote: > Hi, > > I intend to buy a new printer and would like to get some > recommendations/experiences from you (to be sure to get it working > with Linux). Here is what I'd like: > - B/W and Color printing > - Network attached (LAN) > - Mostly used for office documents / rare graphics printing > - Reasonably priced refill cartridges > - Price up to ~ 180 US$ > > I am especially interested in your experience to get it working under Linux. > > Thanks for your tips! > > -- > Best regards, > Marco > > > I have always bought HP printers and they work very well. There are a couple other brands that works well, maybe Epson or something, but HP is really good in my opinion. Stay away from Lexmark. I have yet to get one to work under Linux. Unless you can find one that someone tells you works, stay away from Lexmark. That's not a lot of info but it may help a little at least. Dale :-) :-)
Re: [gentoo-user] Anybody tried shake defragmenter?
Paul Hartman wrote: > > No. :) There's no documentation really. The source cide is funny, > everything is named after law, investigations, accused, trials and > judgments. :) There best I can do is reproduce the part of the source > that shows this info and hope you can infer from the names what they > are showing: > > /* Show statistics about an accused */ > void > show_reg (struct accused *a, struct law *l) > { > /* Show file status */ > printf ("%lli\t%lli\t%lli\t%i\t%i\t%i\t%i\t%s", > a->ideal, a->start / 1024, a->end / 1024, a->fragc, a->crumbc, > (int) (a->age / 3600 / 24), a->guilty, a->name); > /* And, eventualy, list of frags and crumbs */ > if (l->verbosity > 2 && a->poslog && a->poslog[0] != -1) > { > uint n; > putchar ('\t'); > for (n = 0; a->sizelog[n + 1] != -1; n++) > printf ("%lli:%lli,", a->poslog[n] / 1024, a->sizelog[n] / 1024); > printf ("%lli:%lli\n", a->poslog[n] / 1024, a->sizelog[n] / 1024); > } > else > putchar ('\n'); > } > > > Does this make sense to anyone? It looks like it got worse instead of better. r...@smoker / # /root/fragck.pl /home/ 9.8476210220794% non contiguous files, 1.989530423966 average fragments. r...@smoker / # shake --old=0 -X /home/ r...@smoker / # /root/fragck.pl /home/ 14.6129132552596% non contiguous files, 1.65074100943103 average fragments. r...@smoker / # /root/fragck.pl /usr/portage/distfiles/ 24.3989314336598% non contiguous files, 9.93054318788958 average fragments. r...@smoker / # shake --old=0 -X /usr/portage/distfiles/ r...@smoker / # /root/fragck.pl /usr/portage/distfiles/ 38.646482635797% non contiguous files, 10.9777382012467 average fragments. r...@smoker / # Am I reading this wrong or something? Dale :-) :-)
Re: [gentoo-user] {OT} Printer recommendation
HP have good supports. Take a look here http://hplipopensource.com/hplip-web/index.html Cheers 2009/8/10 Dale > Marco wrote: > > Hi, > > > > I intend to buy a new printer and would like to get some > > recommendations/experiences from you (to be sure to get it working > > with Linux). Here is what I'd like: > > - B/W and Color printing > > - Network attached (LAN) > > - Mostly used for office documents / rare graphics printing > > - Reasonably priced refill cartridges > > - Price up to ~ 180 US$ > > > > I am especially interested in your experience to get it working under > Linux. > > > > Thanks for your tips! > > > > -- > > Best regards, > > Marco > > > > > > > > I have always bought HP printers and they work very well. There are a > couple other brands that works well, maybe Epson or something, but HP is > really good in my opinion. > > Stay away from Lexmark. I have yet to get one to work under Linux. > Unless you can find one that someone tells you works, stay away from > Lexmark. > > That's not a lot of info but it may help a little at least. > > Dale > > :-) :-) > >
Re: [gentoo-user] {OT} Printer recommendation
On 08/10/09 16:57, Marco wrote: Have a look at brother-HL-5250DN - duplex printing, network, usb and below 100.00 and quiet. HP is getting more of an evil with incorporating all these chip technology into their cartridges. I bought HP2550N and it very noisy and those toners with chip are more expensive. -- Joseph
Re: [gentoo-user] {OT} Printer recommendation
On Mon, Aug 10, 2009 at 9:57 AM, Marco wrote: > Hi, > > I intend to buy a new printer and would like to get some > recommendations/experiences from you (to be sure to get it working > with Linux). Here is what I'd like: > - B/W and Color printing > - Network attached (LAN) > - Mostly used for office documents / rare graphics printing > - Reasonably priced refill cartridges > - Price up to ~ 180 US$ > > I am especially interested in your experience to get it working under Linux. > > Thanks for your tips! Hi Marco, I don't use color printers so I can't give you a specific recommendation, but suggest browsing the list at http://www.linuxprinting.org/printer_list.cgi and of course consult the internet before making a purchase. :)
Re: [gentoo-user] {OT} Printer recommendation
Marco schrieb: > Hi, > > I intend to buy a new printer and would like to get some > recommendations/experiences from you (to be sure to get it working > with Linux). Here is what I'd like: > - B/W and Color printing > - Network attached (LAN) > - Mostly used for office documents / rare graphics printing > - Reasonably priced refill cartridges > - Price up to ~ 180 US$ > > I am especially interested in your experience to get it working under Linux. > HP works mostly out-of-the-box (printing. Scanning ... not so much). There's a reason that some companies have an HP-only policy. I've also got a pretty old Kyocera. It comes with a cups-compatible ppd-file. Works pretty well, too. signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Re: Root-kitted (was: DSL and AT&T. About time.)
On Monday 10 August 2009 16:10:53 Grant Edwards wrote: > > Red Hat were quite clear at the time that the release was not > > actually for real use, more for testing. I think the switch to > > glibc-2 was the underlying reason. Anyway, lots of folks got > > bitten because they installed and used it anyway. > > > > Perhaps you got caught up in that? > > It could be there were services running that I didn't know > about. If so, they would have had to have been installed on the > sly by Anaconda without having a checkmark next to them. They > also would have had to start up without any notification on the > boot-up screen. Sounds like it was more like simple bad luck. Exploits have always been a part of a sys admin's life. The RH version in question never did anything funny behind the scenes - it just set everything to on by default and presented a yes/no dialogue; which most users simply clicked yes on. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] vdpau-able ?
On Mon, Aug 10, 2009 at 03:40, Manuel Fiorelli wrote : > Assuming that you want to playback a H.264 video, then right command should > be > > mplayer -vo vdpau -vc ffh264vdpau > > to force the selection of the HW accelerated codec from FFMPEG. Can > anyone confirm that? > This is correct. To use VDPAU hardware acceleration you need to specify a hardware codec also - As I use VDPAU all the time i have this configured in my mplayer config (~/.mplayer/config) as so: vo=vdpau vc=ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau, Which lists all of the VDPAU codecs, and allows for fallback to the other codecs if a matching codec cant be found (thats what the trailing , is for). I have never had an issue with video in this setup. If you wish to run that from the command line I beleve the command would be: `mplayer -vo vdpau -vc ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau, ` My understanding is the VDPAU works on all GeForce 8 series or better cards (8*** 9*** 2**), I'm not sure what driver version you need to use VDPAU, however its working for me with 180.60. However I have only tested this with a 9600GT and a 8600GT. As for it working with Xinerama, I can't comment - however it seams to work _mostly_ using NVidia's TwinView which seams to provides all of the Xinerama information to the desktop (ie. windows don't maximize over all my monitors, just one). (As for the 'mostly' I only realy have an issue with subtitles, particulay if I pass -ass to mplayer) Nich
Re: [gentoo-user] vdpau-able ?
2009/8/10 Nich : > To use VDPAU hardware acceleration you need to specify a hardware codec also > - As I use VDPAU all the time i have this configured in my mplayer config > (~/.mplayer/config) as so: > > vo=vdpau > vc=ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau, > > Which lists all of the VDPAU codecs, and allows for fallback to the other > codecs if a matching codec cant be found (thats what the trailing , is for). > I have never had an issue with video in this setup. > If you wish to run that from the command line I beleve the command would be: > `mplayer -vo vdpau -vc ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau, > ` Interesting... I found on the web a similar command-line, but I didn't understand the meaining of the traling comma. I think that I will modifiy my ~/.mplayer/config too. Manuel Fiorelli
[gentoo-user] portpeek and relative vs absolute path
I'm seeing a quirk in portpeek on one of two machines with similar installations. Portpeek responds with, for example, package.keywords: Could not find file etc/portage/package.keywords Note the absence of an initial slash. The program executes correctly from "/" as a working directory. The system is up to date, x86 with ~x86 as required for KDE-4.2 and a handful of others. Python 2.5.4 is the only version installed, and the behavior is the same with eselect-python-20090801 or -20090804. I've tried simply re-emerging portage, portpeek, eselect, and python-eselect with no effect, and seen the same behavior with gentoo-sources-2.6.28-r5 and 2.6/30-r4. My other machine with the same versions of the packages that are likely to be related executes portpeek from any working directory, as did the machine in question until a few weeks ago. Any tips on where to look next?
[gentoo-user] Re: portpeek and relative vs absolute path
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gene Hannan wrote: > I'm seeing a quirk in portpeek on one of two machines with similar > installations. Portpeek responds with, for example, > > package.keywords: > Could not find file etc/portage/package.keywords > > Note the absence of an initial slash. The program executes correctly > from "/" as a working directory. > > The system is up to date, x86 with ~x86 as required for KDE-4.2 and a > handful of others. Python 2.5.4 is the only version installed, and the > behavior is the same with eselect-python-20090801 or -20090804. > > I've tried simply re-emerging portage, portpeek, eselect, and > python-eselect with no effect, and seen the same behavior with > gentoo-sources-2.6.28-r5 and 2.6/30-r4. > > My other machine with the same versions of the packages that are likely > to be related executes portpeek from any working directory, as did the > machine in question until a few weeks ago. Any tips on where to look > next? That looks like it may be a bug in portpeek that only is appearing now because portage changed some of its internals to simplify things in portage, but packages using portage's internal APIs incorrectly stopped working. - -- ABCD -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.11 (GNU/Linux) iEYEARECAAYFAkqArRkACgkQOypDUo0oQOpDeACdFYr7P+9iTuJZBdRRuGMponhP ckgAoLbaR0AsoqlVkOLq1NaObpJp1eHC =Px69 -END PGP SIGNATURE-
Re: [gentoo-user] deep emerge and masked Xorg
On Fri, 7 Aug 2009 21:40:44 +0200 Alan McKinnon wrote the words: > > Did I mention that you should rather just work at getting X to work > on your kit? > Yea - that's what I was expecting, and afraid of, but I had to ask. Thanks! Skippy -- On The Fly Photography -:- Creation From Chaos On The Fly Photography: http://204EastSouth.com Purchase from On The Fly: http://204EastSouth.com/OTFStore.htm The Cynical Libertarian Society: http://www.204EastSouth.com/cls
Re: [gentoo-user] deep emerge and masked Xorg
On Fri, 07 Aug 2009 15:00:43 -0500 Dale wrote the words: > > Well, I had trouble with the new xorg-server too. I added > "x11-base/xorg-server -hal" to /etc/portage/package.use and > everything worked fine here. That disables hal which is what causes > all the problems. My KDE still works fine and as far as I can tell, > made no difference whatsoever. I think I'll have to try the -hal as well. But not gonna try this until I've backed up *ha* Skippy -- On The Fly Photography -:- Creation From Chaos On The Fly Photography: http://204EastSouth.com Purchase from On The Fly: http://204EastSouth.com/OTFStore.htm The Cynical Libertarian Society: http://www.204EastSouth.com/cls
Re: [gentoo-user] deep emerge and masked Xorg
Skippy wrote: > On Fri, 07 Aug 2009 15:00:43 -0500 > Dale wrote the words: > >> Well, I had trouble with the new xorg-server too. I added >> "x11-base/xorg-server -hal" to /etc/portage/package.use and >> everything worked fine here. That disables hal which is what causes >> all the problems. My KDE still works fine and as far as I can tell, >> made no difference whatsoever. >> > > I think I'll have to try the -hal as well. But not gonna try this > until I've backed up *ha* > > Skippy > > > > If you go with -hal, it shouldn't be a problem. It just works the old way. I am afraid that we will both face the music one day tho. I think there is a new thing in the pipe line but not sure when it will be here. Most likely a couple months after we have to get hal working. Dale :-) :-)
Re: [gentoo-user] deep emerge and masked Xorg
On Mon, 10 Aug 2009 20:21:48 -0500 Dale wrote the words: > If you go with -hal, it shouldn't be a problem. It just works the old > way. I am afraid that we will both face the music one day tho. I > think there is a new thing in the pipe line but not sure when it will > be here. Most likely a couple months after we have to get hal > working. > > Dale Yea, great. *ha* I anticipate the day when one is forced to use hal, or something worse. What is so terrible about the way Xorg use to work? Part of the problem, I think, is that this computer is over 5 years old, on the motherboard graphics. Tomorrow - if UPS comes thru - my new computer parts arrive and I start to assemble a new system. In theory I could just stop upgrading this system as it will soon become my secondary desktop. -- On The Fly Photography -:- Creation From Chaos On The Fly Photography: http://204EastSouth.com Purchase from On The Fly: http://204EastSouth.com/OTFStore.htm The Cynical Libertarian Society: http://www.204EastSouth.com/cls
Re: [gentoo-user] deep emerge and masked Xorg
Skippy wrote: > On Mon, 10 Aug 2009 20:21:48 -0500 > Dale wrote the words: > > > >> If you go with -hal, it shouldn't be a problem. It just works the old >> way. I am afraid that we will both face the music one day tho. I >> think there is a new thing in the pipe line but not sure when it will >> be here. Most likely a couple months after we have to get hal >> working. >> >> Dale >> > > > Yea, great. *ha* I anticipate the day when one is forced to use hal, > or something worse. What is so terrible about the way Xorg use to work? > > Part of the problem, I think, is that this computer > is over 5 years old, on the motherboard graphics. Tomorrow - if UPS > comes thru - my new computer parts arrive and I start to assemble a new > system. In theory I could just stop upgrading this system as it will > soon become my secondary desktop. > > > Mine is about that age too. Abit NF7 Ver 2.0 mobo, AMD 2500+ CPU with a Nvidia FX-5200 video card. I used to like hal but it has really left a bad taste in my mouth this time around. Dale :-) :-)
[gentoo-user] Cloning movie DVDs with dd - only works after accessing disk with another command?
Hi there, Now I've got this new machine with all this space on it (or rather: now I seem to be more interested in doing stuff with this machine I built a while ago), I'm starting on the process of ripping all my DVDs. In the past I tried media-video/undvd for DVD ripping, but its .mp4 support now is broken, and probably won't be fixed. This week I've been trying HandBrakeCLI, and it seems to work pretty darn lovely. But the difference is that undvd has a simple --clone option which copies the DVD to disk first, and HandBrakeCLI doesn't. To save wear & tear on my optical drive I have been cloning the DVD to disk before ripping, and I've noticed that it doesn't seem to work if I just do `dd if=/dev/cdrom of=disc.iso`. It seems like I have to access the disk using some other command first, then dd works just fine (in exactly the way I tried a moment before). Can anyone explain this, please? I'm guessing it has something to do with DeCSS encryption, but firstly I don't understand how that applies to dd, because I'd have assumed that treats the drive as a block device. Secondly, if this is related to DeCSS, I don't understand why accessing the disk with one command leaves it unlocked for another command to access the disk a minute later. Anyone got any thoughts, please? I haven't looked into this deeply myself, yet, so I'm not able to give a full analysis of how exactly the behaviour is manifesting itself. I tried dd'ing one disk and it didn't work, so I started undvd working with the --clone option and cancelled when the cloning had finished (and the rip began). I basically wanted to see if it worked or failed, and it worked just fine, so I looked through undvd's source and it _seems_ (I say "seems" lest I'm reading undvd's perl code wrongly) just to use dd itself. So next I tried `dd if=/dev/cdrom of=disc_manual_dd.iso` myself and not only did it work just fine, but the md5sums of the two images (the one produced by undvd & the one produced by my manual dd) were identical. So I tried with a different disk - take a look at the attached cloning.txt - and dd fails repeatedly at 770kB. Then I run scandvd on the disk and after that dd works perfectly, "8027521024 bytes (8.0 GB) copied". scandvd is a tool which is packaged with undvd and it runs mplayer (I'm sure) on the disk, then shows the number of tracks on the disk in a pretty format. This is no kind of a show-stopper for me, because I've described the workaround above, it's just a curiosity. I guess I'm not alone on here in wanting to know how these computer things work. I'd be really interested if anyone else's DVD drives show the same behaviour. Does dd fail for you when you try it on a new movie? If you don't have undvd installed, just run `mplayer dvd://`, cancel it and then try dd again. Sorry if I've been a little verbose with my explanation, BTW. It's a little late here, I'm a little tired, and with these weird things that I almost don't believe myself I always like to explain comprehensively, and it prolly reads like I'm blabbering. Thanks for any thoughts, Stroller.
Re: [gentoo-user] Cloning movie DVDs with dd - only works after accessing disk with another command?
On 11 Aug 2009, at 05:43, Stroller wrote: ... So I tried with a different disk - take a look at the attached cloning.txt - and dd fails repeatedly at 770kB. Then I run scandvd on the disk and after that dd works perfectly, "8027521024 bytes (8.0 GB) copied". scandvd is a tool which is packaged with undvd and it runs mplayer (I'm sure) on the disk, then shows the number of tracks on the disk in a pretty format. Sorry, here's the promised attachment. ~ $ cd /mnt/space/DVDrip/ /mnt/space/DVDrip $ ls Day Of The Triffids Heat /mnt/space/DVDrip $ mkdir Narc /mnt/space/DVDrip $ cd Narc/ /mnt/space/DVDrip/Narc $ dd if=/dev/cdrom of=disc.iso dd: reading `/dev/cdrom': Input/output error 1504+0 records in 1504+0 records out 770048 bytes (770 kB) copied, 4.35681 s, 177 kB/s /mnt/space/DVDrip/Narc $ dd if=/dev/cdrom of=disc.iso dd: reading `/dev/cdrom': Input/output error 1504+0 records in 1504+0 records out 770048 bytes (770 kB) copied, 0.469213 s, 1.6 MB/s /mnt/space/DVDrip/Narc $ dd if=/dev/cdrom of=disc.iso dd: reading `/dev/cdrom': Input/output error 1504+0 records in 1504+0 records out 770048 bytes (770 kB) copied, 0.440263 s, 1.7 MB/s /mnt/space/DVDrip/Narc $ dd if=/dev/cdrom of=disc.iso dd: reading `/dev/cdrom': Input/output error 1504+0 records in 1504+0 records out 770048 bytes (770 kB) copied, 0.46938 s, 1.6 MB/s /mnt/space/DVDrip/Narc $ dd if=/dev/cdrom of=disc.iso dd: reading `/dev/cdrom': Input/output error 1504+0 records in 1504+0 records out 770048 bytes (770 kB) copied, 0.457693 s, 1.7 MB/s /mnt/space/DVDrip/Narc $ dd if=/dev/cdrom of=disc.iso dd: reading `/dev/cdrom': Input/output error 1504+0 records in 1504+0 records out 770048 bytes (770 kB) copied, 0.450244 s, 1.7 MB/s /mnt/space/DVDrip/Narc $ dd if=/dev/cdrom of=disc.iso dd: reading `/dev/cdrom': Input/output error 1504+0 records in 1504+0 records out 770048 bytes (770 kB) copied, 0.455701 s, 1.7 MB/s /mnt/space/DVDrip/Narc $ scandvd {( --- scandvd 0.7.5 --- )} * Scanning DVD for titles with lsdvd... 01 length: 00:00:00 audio: en en en en en en en en subs: xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx 02 length: 00:13:20 audio: en subs: en 03 length: 00:09:51 audio: en subs: en 04 length: 01:40:56 audio: en en subs: en en 05 length: 00:19:26 audio: en subs: en 06 length: 00:12:57 audio: en subs: en 07 length: 00:02:26 audio: en To watch a title: mplayer dvd://01 -alang en -slang en/off To rip titles: undvd -t 01,02,03 -a en -s en/off /mnt/space/DVDrip/Narc $ dd if=/dev/cdrom of=disc.iso 15678752+0 records in 15678752+0 records out 8027521024 bytes (8.0 GB) copied, 1352.31 s, 5.9 MB/s /mnt/space/DVDrip/Narc $ /mnt/space/DVDrip/Narc $ mplayer dvd://4 -dvd-device disc.iso -ao null -vo png -ss 600 -frames 1 MPlayer SVN-r29463-4.1.2 (C) 2000-2009 MPlayer Team Playing dvd://4. libdvdread: Using libdvdcss version 1.2.10 for DVD access There are 7 titles on this DVD. There are 1 angles in this DVD title. libdvdread: Attempting to retrieve all CSS keys libdvdread: This can take a _long_ time, please be patient libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x0147 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x01b3 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00013507 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x000135e2 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0001362f libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x0005e0b0 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0005e0fd libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x0009551b libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x00095568 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x002f2cc9 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x002f2d16 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x0035f7d4 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x0035f821 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_07_0.VOB at 0x003a8051 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x003a809e libdvdread: Elapsed time 0 libdvdread: Found 7 VTS's libdvdread: Elapsed time 0 audio stream: 0 format: ac3 (5.1) language: en aid: 128. audio stream: 1 format: ac3 (stereo) language: en aid: 129. number of audio channels on disk: 2. subtitle ( sid ): 0 language: en subtitle ( sid ): 1 language: en number of subtitles on disk: 2 MPEG-PS file format detected. VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 9000.0 kbps (1125.0 kbyte/s) == Opening video decoder: [mpegpes] MPEG 1/2 Video passthr
[gentoo-user] Re: Cloning movie DVDs with dd - only works after accessing disk with another command?
This is just a wild guess, but could the decryption keys be stored in the DVD drive? Playing the disc with mplayer retrieves the keys (using libdvdread) and sets them in the drive. From that point, the disc is readable by all means. When you change the disc, the keys are not valid anymore. As I said, this is a wild guess, I have no actual knowledge about these things. -- Remy signature.asc Description: OpenPGP digital signature