Re: [gentoo-user] /dev/sr0 has disappeared: big mystery
Am Samstag, 16. Mai 2009 01:11:53 schrieb Philip Webb: 090515 Dirk Heinrichs wrote: Am Freitag, 15. Mai 2009 11:00:59 schrieb Philip Webb: For the 1st time in 2 months, I went to write a CD discovered that /dev/sr0 is not being created nor symlink /dev/cdrom ; I looked at 'dmesg': no mention of 'sr' or 'cd' being found. I tested the drive: SystemRescue 1.1.0 (kernel 2.6.25.16) starts correctly mounts /dev/sr0 on /mnt/cdrom ; its 'dmesg' says : sr0: scsi3-mmc drive: 16x/16x writer dvd-ram cd/rw xa/form2 cdda tray \ Uniform CD-ROM driver Revision: 3.20 Please post your kernel config. The relevant lines are No, the relevant lines are missing. Please post it completely, best together with output from lspci -v when booted into the LiveCD. What BIOS says is irrelevant. It does mention 'PATA' 'ATAPI', which mb relevant. For Windows, maybe. Not for Linux. Oh, just realised that you wanted to _write_ a CD (was too late yesterday to read more carefully ;) ). Then, the relevant line is of course: # CONFIG_CHR_DEV_SG is not set Bye... Dirk signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] /dev/sr0 has disappeared: big mystery
Am Samstag, 16. Mai 2009 08:56:38 schrieb Dirk Heinrichs: Am Samstag, 16. Mai 2009 01:11:53 schrieb Philip Webb: 090515 Dirk Heinrichs wrote: Am Freitag, 15. Mai 2009 11:00:59 schrieb Philip Webb: For the 1st time in 2 months, I went to write a CD discovered that /dev/sr0 is not being created nor symlink /dev/cdrom ; I looked at 'dmesg': no mention of 'sr' or 'cd' being found. I tested the drive: SystemRescue 1.1.0 (kernel 2.6.25.16) starts correctly mounts /dev/sr0 on /mnt/cdrom ; its 'dmesg' says : sr0: scsi3-mmc drive: 16x/16x writer dvd-ram cd/rw xa/form2 cdda tray \ Uniform CD-ROM driver Revision: 3.20 Please post your kernel config. The relevant lines are No, the relevant lines are missing. Please post it completely, best together with output from lspci -v when booted into the LiveCD. What BIOS says is irrelevant. It does mention 'PATA' 'ATAPI', which mb relevant. For Windows, maybe. Not for Linux. Oh, just realised that you wanted to _write_ a CD (was too late yesterday to read more carefully ;) ). Then, the relevant line is of course: # CONFIG_CHR_DEV_SG is not set However, since you don't even have the sr0 device, there may still be a different problem, so it won't hurt if you provide the requested information anyway, I guess. Bye... Dirk signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] help needed to connect wifi on eeeSTOKED!
On Fri, 15 May 2009 20:28:02 -0700 (PDT), maxim wexler wrote: Yes, very much so. I understand there are issues with too many read/write cycles on the SSHD. An SSD is not the same as a USB stick. They have wear levelling to avoid this problem. Up to now I've re-jiggered the kernel at least a dozen times. I guess I should have put the OS on a card first *then* onto the hard-drive once everything was in order. I've been running mine for over a year, using ~x86 so updates are frequent and no sign of any problems, and stll almost a year's warranty left :) I do have PORTAGE_TMPDIR on an SSDHCcard, but that's more for space reasons. -- Neil Bothwick If you cannot fix it, feature it. signature.asc Description: PGP signature
[gentoo-user] * Boot (initramfs) .. does not continue
Hi all, on my new computer i recently installed gentoo using a raid1 of /dev/sda6 and /dev/sdb6. i'm using genkernel with nearly standard config (except the configs regarding raid and power management) and my grub ist configured as u see below: title Gentoo Linux x86_64-2.6.28-5 (fb) root(hd0,5) kernel /boot/kernel-genkernel-x86_64-2.6.28-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/md1 udev video=vesafb:mtrr:3,ywrap vga=838 initrd /boot/initramfs-genkernel-x86_64-2.6.28-gentoo-r5 savedefault boot The framebuffer is working well, the scans that are made before booting are working and then it tries to * boot (initramfs) .. and at this point he simply stops and does nothing anymore. yesterday, everything was working fine, but i can't remember that i did something wrong or extraordinary. for me it sounds like raid-support is broken, but my config is ok. recompilation of kernel was no problem. please, help me solving this weird problem, that is driving me crazy. thank you very much in advance. kind regards, der Max
Re: [gentoo-user] * Boot (initramfs) .. does not continue
On Samstag 16 Mai 2009, Maximilian Bräutigam wrote: Hi all, on my new computer i recently installed gentoo using a raid1 of /dev/sda6 and /dev/sdb6. i'm using genkernel with nearly standard config (except the configs regarding raid and power management) and my grub ist configured as u see below: probably forgot something there. title Gentoo Linux x86_64-2.6.28-5 (fb) root(hd0,5) kernel /boot/kernel-genkernel-x86_64-2.6.28-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/md1 udev video=vesafb:mtrr:3,ywrap vga=838 initrd /boot/initramfs-genkernel-x86_64-2.6.28-gentoo-r5 savedefault boot ugh. You know that you don't need an initrd for raid1? The framebuffer is working well, the scans that are made before booting are working and then it tries to * boot (initramfs) .. and at this point he simply stops and does nothing anymore. yesterday, everything was working fine, but i can't remember that i did something wrong or extraordinary. for me it sounds like raid-support is broken, but my config is ok. recompilation of kernel was no problem. please, help me solving this weird problem, that is driving me crazy. boot systemrescuecd mount /dev/md1 /mnt/gentoo cd /mnt/gentoo mount --bind /proc proc mount --bind /dev dev mount --bind /sys sys chroot ./. /bin/zsh etc-update exit reboot
Re: [gentoo-user] /dev/sr0 has disappeared: kernel bug ?
Further to my earlier report, I have got 2.6.25 to work again after enabling 'evdev' have just successfully written System Rescue 1.2.0 using it. I also compiled 2.6.29-r4 -- the latest in Gentoo testing -- enabled the alternative IDE mode without anything changing. I also recompiled Udev Dbus Hal without any improvement. Kernel 2.6.29 is simply not creating a device for the CD drive. There is a thread on the Forum during the last few days, but it's like a conversation in a high-school cafeteria (smile) nothing has been resolved: others don't get /dev/sr0 either. Comments still welcome (I've sent output to a helper off the list). -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
Re: [gentoo-user] * Boot (initramfs) .. does not continue
On Sat, 16 May 2009 12:11:59 +0200 Maximilian Bräutigam max-br...@gmx.de wrote: on my new computer i recently installed gentoo using a raid1 of /dev/sda6 and /dev/sdb6. i'm using genkernel with nearly standard config (except the configs regarding raid and power management) and my grub ist configured as u see below: ... The framebuffer is working well, the scans that are made before booting are working and then it tries to * boot (initramfs) .. and at this point he simply stops and does nothing anymore. I've never had a chance to use genkernel, but unless you're using LVM on top of the raid, kernel with mdraid and fs drivers compiled-in should be able to see it, so you can try booting without initramfs line and hope genkernel hasn't compiled rootfs and mdraid support as modules. -- Mike Kazantsev // fraggod.net signature.asc Description: PGP signature
Re: [gentoo-user] Re: Copying encrypted files from a DVD
Nikos Chantziaras rea...@arcor.de wrote: Grant wrote: I'd like to back up the files on my DVD-Audio discs. The files are encrypted and I don't want to decrypt them, I just want to back them up. I'm getting I/O errors when I try to cp the files, and I'm guessing it's because of the encryption. Does anyone know of a method that would back these discs up in their encrypted form? That doesn't work that way. What you get is actually garbage and is not encrypted (otherwise you would be able to copy it to another DVD). Creating a copy of an audio DVD which is itself encrypted would defeat the purpose of a copy protection, since even though encrypted, it's still a copy, and the protection wants to prevent that. If you can copy it, it wouldn't be protected :P There is no copy protection on a DVD. There is however a region specific _usage_ protection. You should be able to copy the DVD using dvdbackup. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
[gentoo-user] Re: Copying encrypted files from a DVD
Joerg Schilling wrote: Nikos Chantziaras rea...@arcor.de wrote: Grant wrote: I'd like to back up the files on my DVD-Audio discs. The files are encrypted and I don't want to decrypt them, I just want to back them up. I'm getting I/O errors when I try to cp the files, and I'm guessing it's because of the encryption. Does anyone know of a method that would back these discs up in their encrypted form? That doesn't work that way. What you get is actually garbage and is not encrypted (otherwise you would be able to copy it to another DVD). Creating a copy of an audio DVD which is itself encrypted would defeat the purpose of a copy protection, since even though encrypted, it's still a copy, and the protection wants to prevent that. If you can copy it, it wouldn't be protected :P There is no copy protection on a DVD. There is however a region specific _usage_ protection. DVD-Audio works different, utilizing other forms of protection unrelated to video DVDs. See http://en.wikipedia.org/wiki/DVD-Audio
Re: [gentoo-user] * Boot (initramfs) .. does not continue
Am Samstag, den 16.05.2009, 16:23 +0600 schrieb Mike Kazantsev: On Sat, 16 May 2009 12:11:59 +0200 Maximilian Bräutigam max-br...@gmx.de wrote: on my new computer i recently installed gentoo using a raid1 of /dev/sda6 and /dev/sdb6. i'm using genkernel with nearly standard config (except the configs regarding raid and power management) and my grub ist configured as u see below: ... The framebuffer is working well, the scans that are made before booting are working and then it tries to * boot (initramfs) .. and at this point he simply stops and does nothing anymore. I've never had a chance to use genkernel, but unless you're using LVM on top of the raid, kernel with mdraid and fs drivers compiled-in should be able to see it, so you can try booting without initramfs line and hope genkernel hasn't compiled rootfs and mdraid support as modules. hi Mike, could you please tell me, where to find these options in menuconfig, because if i'm compiling my kernel i use: genkernel --menuconfig all if you are thinking of the options in http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml -- these are enabled. by the way, if i'm booting w/o the initrd, i get a kernel panic because he is not able to mount/find the raid system -- something with superblock not found. i'm despaired. thank you very much. der Max
[gentoo-user] Re: * Boot (initramfs) .. does not continue
Maximilian Bräutigam wrote: by the way, if i'm booting w/o the initrd, i get a kernel panic because he is not able to mount/find the raid system -- something with superblock not found. I assume you have set the partition type of your RAID components to fd (RAID autodetect)? -- Remy signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Re: * Boot (initramfs) .. does not continue
Am Samstag, den 16.05.2009, 13:44 +0200 schrieb Remy Blank: Maximilian Bräutigam wrote: by the way, if i'm booting w/o the initrd, i get a kernel panic because he is not able to mount/find the raid system -- something with superblock not found. I assume you have set the partition type of your RAID components to fd (RAID autodetect)? -- Remy Hi Remy, yes of course i did, because everything worked fine since today. but to be sure, i looked at cfdisk: Linux raid autodetect. kind regards, der Max
Re: [gentoo-user] * Boot (initramfs) .. does not continue
On Sat, 16 May 2009 13:33:04 +0200 Maximilian Bräutigam max-br...@gmx.de wrote: could you please tell me, where to find these options in menuconfig, because if i'm compiling my kernel i use: genkernel --menuconfig all if you are thinking of the options in http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml -- these are enabled. Yes, I mean these options as well, but in recent kernels there's one more flag in Multi-dev section that's missing in the guide: Autodetect RAID arrays during kernel boot. Obviously, it should be set if you want to boot from mdraid. Device Drivers --- [*] Multiple devices driver support (RAID and LVM) --- * RAID support [*] Autodetect RAID arrays during kernel boot * RAID-1 (mirroring) mode But that's not all the prequesites, since you also need a device and fs driver compiled in. It might look like this (but the hardware and/or fs is probably different in your case): Device Drivers --- SCSI device support --- (RAID settings here is not for sw raid) -*- SCSI device support * SCSI disk support * Serial ATA (prod) and Parallel ATA (experimental) drivers --- * AHCI SATA support [*] ATA SFF support * Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support File systems --- * The Extended 4 (ext4) filesystem by the way, if i'm booting w/o the initrd, i get a kernel panic because he is not able to mount/find the raid system -- something with superblock not found. -- Mike Kazantsev // fraggod.net signature.asc Description: PGP signature
Re: [gentoo-user] Copying encrypted files from a DVD
I'd like to back up the files on my DVD-Audio discs. The files are encrypted and I don't want to decrypt them, I just want to back them up. I'm getting I/O errors when I try to cp the files, and I'm guessing it's because of the encryption. Does anyone know of a method that would back these discs up in their encrypted form? Here are the errors I get: # cp -R /mnt/cdrom/AUDIO_TS DVD-A cp: reading `/mnt/cdrom/AUDIO_TS/ATS_01_1.AOB': Input/output error cp: reading `/mnt/cdrom/AUDIO_TS/ATS_01_2.AOB': Input/output error cp: reading `/mnt/cdrom/AUDIO_TS/ATS_01_3.AOB': Input/output error cp: reading `/mnt/cdrom/AUDIO_TS/ATS_01_4.AOB': Input/output error cp: reading `/mnt/cdrom/AUDIO_TS/AUDIO_SV.VOB': Input/output error cp: reading `/mnt/cdrom/AUDIO_TS/AUDIO_TS.VOB': Input/output error - Grant Why don't you use the (very old, but still effective) dd [1] command to create an ISO image? dd if=/dev/your-dvd-device of=some-path/bakup.iso bs=2048 conv=sync,notrunc Unfortunately I get: $ dd if=/dev/hda of=DVD-A/dvda.iso bs=2048 conv=sync,notruncdd: reading `/dev/hda': Input/output error 1848+0 records in 1848+0 records out 3784704 bytes (3.8 MB) copied, 2.36347 s, 1.6 MB/s I'm sure it's because of the encryption. I'll have to back it up unencrypted. In case anyone is interested, DVDA-Explorer and DVDFab will both do the job. Both free, both easy to find, both work via wine. - Grant That will make an exact copy of your DVD into your hard disk. I don't know if this is what you want to do. Ricardo. [1] http://en.wikipedia.org/wiki/Dd_(Unix)
Re: [gentoo-user] * Boot (initramfs) .. does not continue
Am Samstag, den 16.05.2009, 18:09 +0600 schrieb Mike Kazantsev: On Sat, 16 May 2009 13:33:04 +0200 Maximilian Bräutigam max-br...@gmx.de wrote: could you please tell me, where to find these options in menuconfig, because if i'm compiling my kernel i use: genkernel --menuconfig all if you are thinking of the options in http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml -- these are enabled. Yes, I mean these options as well, but in recent kernels there's one more flag in Multi-dev section that's missing in the guide: Autodetect RAID arrays during kernel boot. Obviously, it should be set if you want to boot from mdraid. Device Drivers --- [*] Multiple devices driver support (RAID and LVM) --- * RAID support [*] Autodetect RAID arrays during kernel boot * RAID-1 (mirroring) mode But that's not all the prequesites, since you also need a device and fs driver compiled in. It might look like this (but the hardware and/or fs is probably different in your case): Device Drivers --- SCSI device support --- (RAID settings here is not for sw raid) -*- SCSI device support * SCSI disk support * Serial ATA (prod) and Parallel ATA (experimental) drivers --- * AHCI SATA support [*] ATA SFF support * Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support File systems --- * The Extended 4 (ext4) filesystem by the way, if i'm booting w/o the initrd, i get a kernel panic because he is not able to mount/find the raid system -- something with superblock not found. Hi Mike and all other gentoos ;) all of your mentioned options are enabled (since genkernel and me did it). i copied all data to another partition /dev/sdb9 and disabled initrd. by the way, i think that initrd was running, because all the scans after executing the initrd ran without problems. despite, i disabled it and got a kernel panic, like: [md] scanned 0 and added 0 ... VFS: cannot open root device sdb9 or unknown block(0,0) please append correct root= ... Kernel panic - not syncing: VFS: unable to mount root fs on unknown-block(0,0) i don't know how to handel this error, since my grub entry is correct (or not?): title Gentoo Linux x86_64-2.6.28-5 (no initrd) (on /dev/sdb9) root(hd1,8) kernel /boot/kernel-genkernel-x86_64-2.6.28-gentoo-r5 root=/dev/sdb9 kind regards, der Max
[gentoo-user] Re: Copying encrypted files from a DVD
On 2009-05-16, Ricardo Bevilacqua rus.s...@gmail.com wrote: Why don't you use the (very old, but still effective) dd [1] command to create an ISO image? Because it won't work. Have you tried it with an encrypted DVD? dd if=/dev/your-dvd-device of=some-path/bakup.iso bs=2048 conv=sync,notrunc That will make an exact copy of your DVD into your hard disk. No, it won't. Commercially sold audio and video DVDs are encrypted so the DVD drive can't read them unless you load a decryption key into the DVD drive. DVD players have keys built into them. There are software packages like DeCSS and libdvdcss that either have a built-in key or know how to figure one out. http://en.wikipedia.org/wiki/Content_Scramble_System http://en.wikipedia.org/wiki/DeCSS http://en.wikipedia.org/wiki/Libdvdcss Audio DVD uses a different scheme (that's also been broken): http://en.wikipedia.org/wiki/DVD-Audio I don't know if this is what you want to do. Yes it is what he wants to do, but your suggestion is useless (as could been seen from the OP's post which showed the read-errors you get when you try to used tools like dd to read encyrpted DVDs). -- Grant
Re: [gentoo-user] Re: Copying encrypted files from a DVD
On 16 May 2009, at 15:56, Grant Edwards wrote: On 2009-05-16, Ricardo Bevilacqua rus.s...@gmail.com wrote: Why don't you use the (very old, but still effective) dd [1] command to create an ISO image? Because it won't work. Have you tried it with an encrypted DVD? It'll work fine I do it all the time before I decrypt rip DVDs. dd if=/dev/your-dvd-device of=some-path/bakup.iso bs=2048 conv=sync,notrunc That will make an exact copy of your DVD into your hard disk. No, it won't. Commercially sold audio and video DVDs are encrypted so the DVD drive can't read them unless you load a decryption key into the DVD drive. DVD players have keys built into them. There are software packages like DeCSS and libdvdcss that either have a built-in key or know how to figure one out. It WILL make an exact copy of the DVD onto the drive (assuming DVD video, and no ARccOS [1]), it will just be an exact copy of the *encrypted* movie. It won't be playable without an additional decryption step (although mplayer can include this step automagically), but it will be an *exact* copy. The OP is talking about DVD-audio, however. It is less clear to me whether this is playable under Linux [2]. If it is then I would be trying to rip it as some kind of playable audio - I agree with the other comments (a point you're also obviously trying to get at) that there's little point in storing an encrypted copy. Stroller. [1] http://en.wikipedia.org/wiki/DVD-Video#Anti-ripping [2] http://en.wikipedia.org/wiki/DVD-Audio#Copy_protection
[gentoo-user] Re: Copying encrypted files from a DVD
On 2009-05-16, Stroller strol...@stellar.eclipse.co.uk wrote: On 16 May 2009, at 15:56, Grant Edwards wrote: On 2009-05-16, Ricardo Bevilacqua rus.s...@gmail.com wrote: Why don't you use the (very old, but still effective) dd [1] command to create an ISO image? Because it won't work. Have you tried it with an encrypted DVD? It'll work fine I do it all the time before I decrypt rip DVDs. I've tried it numerous times, and it's never worked for me. It WILL make an exact copy of the DVD onto the drive (assuming DVD video, and no ARccOS [1]), it will just be an exact copy of the *encrypted* movie. It's never worked for me. I only get a fraction of the disk's content followed by a lot of read/seek errors. It won't be playable without an additional decryption step (although mplayer can include this step automagically), but it will be an *exact* copy. Not in my experience. -- Grant
Re: [gentoo-user] Re: Copying encrypted files from a DVD
Stroller strol...@stellar.eclipse.co.uk wrote: On 16 May 2009, at 15:56, Grant Edwards wrote: On 2009-05-16, Ricardo Bevilacqua rus.s...@gmail.com wrote: Why don't you use the (very old, but still effective) dd [1] command to create an ISO image? Because it won't work. Have you tried it with an encrypted DVD? It'll work fine I do it all the time before I decrypt rip DVDs. dd if=/dev/your-dvd-device of=some-path/bakup.iso bs=2048 conv=sync,notrunc That will make an exact copy of your DVD into your hard disk. No, it won't. Commercially sold audio and video DVDs are encrypted so the DVD drive can't read them unless you load a decryption key into the DVD drive. DVD players have keys built into them. There are software packages like DeCSS and libdvdcss that either have a built-in key or know how to figure one out. It WILL make an exact copy of the DVD onto the drive (assuming DVD video, and no ARccOS [1]), it will just be an exact copy of the *encrypted* movie. It won't be playable without an additional decryption step (although mplayer can include this step automagically), but it will be an *exact* copy. Even with a DVD-Video, you will not be able to make a copy of the DVD using dd if the DVD is using CSS. The sectors that are carrying content from VOB files will not be redable before you unlock the drive using e.g. dvdbackup. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Re: [gentoo-user] help needed to connect wifi on eeeSTOKED!
I've been running mine for over a year, using ~x86 so using ~x86? As a USE flag, in package.keywords, ACCEPT_KEYWORDS...? mw __ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now http://ca.toolbar.yahoo.com.
Re: [gentoo-user] Re: Copying encrypted files from a DVD
On 16 May 2009, at 16:56, Grant Edwards wrote: On 2009-05-16, Stroller strol...@stellar.eclipse.co.uk wrote: Why don't you use the (very old, but still effective) dd [1] command to create an ISO image? ... I've tried it numerous times, and it's never worked for me. It WILL make an exact copy of the DVD onto the drive (assuming DVD video, and no ARccOS [1]), it will just be an exact copy of the *encrypted* movie. It's never worked for me. I only get a fraction of the disk's content followed by a lot of read/seek errors. That tends to indicate that you're using newer ARccOS-protected DVDs. I have few of these very many more that are more than 5 years old. In this case I think you may have some success ripping using a newer SVN of mplayer (and the newer versions of dvdread dvdlib (??) which have been patched by the mplayer developers). Stroller.
Re: [gentoo-user] Re: New xorg.conf with x11-base/xorg-server-1.5.3-r5
On Friday 15 May 2009, Tony Davison wrote: On Tuesday 07 April 2009 12:25:07 Volker Armin Hemmann wrote: On Tuesday 07 April 2009, Alan McKinnon wrote: Is so OBVIOUSLY the correct way to go, and so OBVIOUSLY much easier. Right? I mean, what kind of twit do you have to be to not understand the hal files? /tongue_in_cheek using xml is just the rotten icing on that shitcake. There was a building up the road from here that proudly proclaimed, Software AG The XML Company. Now the carpark is empty and the sign on the gate reads, Office To Let. HA! HA! HA! :)) -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] /dev/sr0 has disappeared: big mystery
Am Samstag, 16. Mai 2009 11:55:18 schrieb Philip Webb: 090516 Dirk Heinrichs wrote: Please post your kernel config. Please post it completely, best together with output from lspci -v when booted into the LiveCD. I have got 2.6.25 to work again after enabling 'evdev' evdev is completely unrelated to CD writing. have just successfully written System Rescue 1.2.0 using it. I also compiled 2.6.29-r4 -- the latest in Gentoo testing -- enabled the alternative IDE mode without anything changing. I also recompiled Udev Dbus Hal without any improvement. Kernel 2.6.29 is simply not creating a device for the CD drive. Because you're lacking the kernel support for it, see below. Thanks for your interest: it mb that this is a kernel bug. No, it's not. Here is the output from 'lspci -v' when using 2.6.25 (when writing this), followed by .config for 2.6.29 : OK, let's look at the interesting parts: 00:1f.2 SATA controller: Intel Corporation 82801IB (ICH9) 4 port SATA AHCI Kernel driver in use: ahci So you need CONFIG_SATA_AHCI=y, which you have. 03:00.0 IDE interface: JMicron Technologies, Inc. JMB368 IDE controller Kernel driver in use: pata_jmicron For this you need CONFIG_PATA_JMICRON=y, which you don't have. This is where your CD drive is connected to, right? Let's go through the kernel config: # CONFIG_PCIEPORTBUS is not set You really need to enable this (that is a PCI-Express machine, isn't it?). CONFIG_BLK_DEV_FD=y Do you have a floppy drive, still? CONFIG_HAVE_IDE=y Useless. # CONFIG_CHR_DEV_SG is not set As written before: No SG, no write (to CD). # CONFIG_ATA_SFF is not set You need to enable this to make CONFIG_PATA_JMICRON visible. HTH... Dirk signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] How to IPSEC M$oft VPN client setup
On Monday 11 May 2009, Michael Higgins wrote: On Tue, 05 May 2009 17:49:06 +0100 Graham Murray gra...@gmurray.org.uk wrote: Michael Higgins li...@evolone.org writes: Is there a useful Gentoo document anyone might suggest describing how one *connects to* a VPN device of the 'Microsoft' flavour with IPSEC? I do not know about a Gentoo document, I've been working on this for *way* too long, with no apparent success. I have racoon and l2tpt running, but no network addresses in the VPN. Does anyone understand the actual procedure(s) for making a VPN like, l2tp, IPSEC pre-shared secret connection, and wish to elaborate just a bit on the issues (config files, possible values) involved? I mean, the ebuild for ipsec-tools doesn't even put in half the config files... as if any of this could work at all without them? Any help appreciated. :( Any progress with this guys? I am also trying to get something running between a router and my laptop (using kvnc) but I am failing with this error: = info: Gateway hostname (my.remote_router.com) resolved to XX.XXX.XXX.XX. error: [racoon helper err] /home/michael/.kde3.5/share/apps/kvpnc//setkey.ROUTER.sh: line 6: -f: command not found error: [racoon err] racoon: must be root to invoke this program. = I am not sure that I want to run kvnc as root - after all it is a GUI application ... Worth nothing that unlike the OP my remote router is not running MS l2tp, but IPSec with PSK. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: Copying encrypted files from a DVD
On 16 May 2009, at 17:20, Joerg Schilling wrote: ... It WILL make an exact copy of the DVD onto the drive (assuming DVD video, and no ARccOS [1]), it will just be an exact copy of the *encrypted* movie. It won't be playable without an additional decryption step (although mplayer can include this step automagically), but it will be an *exact* copy. Even with a DVD-Video, you will not be able to make a copy of the DVD using dd if the DVD is using CSS. The sectors that are carrying content from VOB files will not be redable before you unlock the drive using e.g. dvdbackup. I'm assuming you're talking about cross-region copies here? I.E. a region 2 disk in a region 2 drive will still be clonable in this way? Certainly I have copied disks using `dd` a number of times, PRIOR to decryption / ripping. However I cannot state the drives' status for sure - most of mine have region-free firmware applied as soon as I get them. Stroller.
[gentoo-user] Re: Copying encrypted files from a DVD
On 2009-05-16, Stroller strol...@stellar.eclipse.co.uk wrote: On 16 May 2009, at 16:56, Grant Edwards wrote: On 2009-05-16, Stroller strol...@stellar.eclipse.co.uk wrote: Why don't you use the (very old, but still effective) dd [1] command to create an ISO image? ... I've tried it numerous times, and it's never worked for me. It WILL make an exact copy of the DVD onto the drive (assuming DVD video, and no ARccOS [1]), it will just be an exact copy of the *encrypted* movie. It's never worked for me. I only get a fraction of the disk's content followed by a lot of read/seek errors. That tends to indicate that you're using newer ARccOS-protected DVDs. I have few of these very many more that are more than 5 years old. In this case I think you may have some success ripping using a newer SVN of mplayer (and the newer versions of dvdread dvdlib (??) which have been patched by the mplayer developers). Yup. They've always worked fine with k9copy and xine (which use libdvdread/libdvdcss/?). -- Grant
[gentoo-user] Re: Copying encrypted files from a DVD
On 2009-05-16, Joerg Schilling joerg.schill...@fokus.fraunhofer.de wrote: It WILL make an exact copy of the DVD onto the drive (assuming DVD video, and no ARccOS [1]), it will just be an exact copy of the *encrypted* movie. It won't be playable without an additional decryption step (although mplayer can include this step automagically), but it will be an *exact* copy. Even with a DVD-Video, you will not be able to make a copy of the DVD using dd if the DVD is using CSS. That's always been my experience. The sectors that are carrying content from VOB files will not be redable before you unlock the drive using e.g. dvdbackup. Again, that's what I've always seen. -- Grant
Re: [gentoo-user] Re: Copying encrypted files from a DVD
Stroller strol...@stellar.eclipse.co.uk wrote: On 16 May 2009, at 17:20, Joerg Schilling wrote: ... It WILL make an exact copy of the DVD onto the drive (assuming DVD video, and no ARccOS [1]), it will just be an exact copy of the *encrypted* movie. It won't be playable without an additional decryption step (although mplayer can include this step automagically), but it will be an *exact* copy. Even with a DVD-Video, you will not be able to make a copy of the DVD using dd if the DVD is using CSS. The sectors that are carrying content from VOB files will not be redable before you unlock the drive using e.g. dvdbackup. I'm assuming you're talking about cross-region copies here? I.E. a region 2 disk in a region 2 drive will still be clonable in this way? I cannot tell as I never set up a DVD-ROM drive for a CSS region. Certainly I have copied disks using `dd` a number of times, PRIOR to decryption / ripping. However I cannot state the drives' status for sure - most of mine have region-free firmware applied as soon as I get them. There are still a lot of DVD-Video media that don't use CSS. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Re: [gentoo-user] * Boot (initramfs) .. does not continue
On Sat, 16 May 2009 16:01:10 +0200 Maximilian Bräutigam max-br...@gmx.de wrote: all of your mentioned options are enabled (since genkernel and me did it). i copied all data to another partition /dev/sdb9 and disabled initrd. by the way, i think that initrd was running, because all the scans after executing the initrd ran without problems. despite, i disabled it and got a kernel panic, like: [md] scanned 0 and added 0 ... VFS: cannot open root device sdb9 or unknown block(0,0) please append correct root= ... Kernel panic - not syncing: VFS: unable to mount root fs on unknown-block(0,0) I think there should also be a list of detected partitions (if any). i don't know how to handel this error, since my grub entry is correct (or not?): title Gentoo Linux x86_64-2.6.28-5 (no initrd) (on /dev/sdb9) root (hd1,8) kernel/boot/kernel-genkernel-x86_64-2.6.28-gentoo-r5 root=/dev/sdb9 Looks correct to me. kernel /vmlinuz root=/dev/md0 works fine in my case with RAID1 and posted above settings, nearly all the other device drivers are modular. Prehaps it's just some weird version-hardware compatibility issue or build problem, although I believe it's quite rare with disk / fs drivers, so you must be doing something wrong. Try stopping the system boot as soon as possible using I key, exiting to shell, and look at the output of lsmod. It should list the stuff you have loaded as modules, which were probably loaded from initrd (since the system won't boot w/o it), so you can try either compiling the relevant ones in or dropping them from initrd to see if the system can boot (yeah, sounds crazy, but it might be just simplier ;) With some luck, there might be something critical you've just managed to miss, easily detectable at the first glance. -- Mike Kazantsev // fraggod.net signature.asc Description: PGP signature
Re: [gentoo-user] /dev/sr0 has disappeared: big mystery
Am Samstag, 16. Mai 2009 18:38:26 schrieb Dirk Heinrichs: CONFIG_HAVE_IDE=y Useless. Hmm, seems to be selected automatically, thus not that useless ;) However, I can't even find it in menuconfig. Bye... Dirk signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] help needed to connect wifi on eeeSTOKED!
On Sat, 16 May 2009 09:28:47 -0700 (PDT) maxim wexler bliss...@yahoo.com wrote: I've been running mine for over a year, using ~x86 so using ~x86? As a USE flag, in package.keywords, ACCEPT_KEYWORDS...? Must be ACCEPT_KEYWORDS for emerge since it's none too practical to set it for every package in .keywords or mix ~ and stable builds much. In fact, it can probably be considered some sort of a gentoo-specific slang :) -- Mike Kazantsev // fraggod.net signature.asc Description: PGP signature
Re: [gentoo-user] Re: Copying encrypted files from a DVD
On 16 May 2009, at 17:46, Joerg Schilling wrote: ... Certainly I have copied disks using `dd` a number of times, PRIOR to decryption / ripping. However I cannot state the drives' status for sure - most of mine have region-free firmware applied as soon as I get them. There are still a lot of DVD-Video media that don't use CSS. I have certainly cloned region-protected DVDs on a number of occasions using `dd`. These disks have given no read errors, and the subsequent encrypted .iso image has produced perfectly fine rips. Stroller.
Re: [gentoo-user] Re: Problem with compiling kernel
On Tuesday 12 May 2009, Marc Blumentritt wrote: Arnau Bria schrieb: hive linux # make make modules_install make just one question about your compiling command, why make ... make? I just do make all make modules_install ... I used this command only to show the problem I have. I have a special setup, where I place nearly the complete root file system inside the kernel image (only /usr is added via a squashfs mount). I use for this the kernel option General setup - (/path/to/my/files) Initramfs source file(s). When I change the source files, I have to recompile the kernel (just running make) to include the changes inside the kernel. This has worked up until last week. Now I always get the error I reported in my first email. Last time this happened to me (more than once), it was because I had selected something in the kernel that I shouldn't have. I had to retrace my steps, removed the offending module and then it compiled and installed fine. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] How to IPSEC M$oft VPN client setup
Mick michaelkintz...@gmail.com writes: Any progress with this guys? I am also trying to get something running between a router and my laptop (using kvnc) but I am failing with this error: Here are some samples. /etc/racoon/racoon.conf path pre_shared_key /etc/racoon/psk.txt; remote anonymous { exchange_mode main; proposal { encryption_algorithm aes; hash_algorithm sha1; lifetime time 24 hour; dh_group 2; authentication_method pre_shared_key; } } sainfo anonymous { encryption_algorithm aes, 3des; authentication_algorithm hmac_sha256, hmac_sha1; compression_algorithm deflate; } /etc/racoon/psk.txt 10.0.1.2This is the shared secret /etc/ipsec.conf flush; spdflush; spdadd 10.0.0.1/32 10.0.1.2/32 any -P out ipsec esp/transport//require; spdadd 10.0.1.2/32 10.0.0.1/32 any -P in ipsec esp/transport//require;
Re: [gentoo-user] Re: New xorg.conf with x11-base/xorg-server-1.5.3-r5
Alan McKinnon wrote: I'm not sure who's criticizing DeviceKit, but it isn't me :-) I guess it was me... :-) I find this thread interesting: http://lists.freedesktop.org/archives/xorg/2009-May/045561.html ...especially this: http://lists.freedesktop.org/archives/xorg/2009-May/045574.html Which seems like a much more sane way... to me. I don't know what BSD and other platforms use (instead of Udev) but I'm sure one could come up with a common API. Mvh Peter K
Re: [gentoo-user] Re: New xorg.conf with x11-base/xorg-server-1.5.3-r5
On Saturday 16 May 2009 19:14:17 pk wrote: Alan McKinnon wrote: I'm not sure who's criticizing DeviceKit, but it isn't me :-) I guess it was me... :-) I find this thread interesting: http://lists.freedesktop.org/archives/xorg/2009-May/045561.html ...especially this: http://lists.freedesktop.org/archives/xorg/2009-May/045574.html Which seems like a much more sane way... to me. I don't know what BSD and other platforms use (instead of Udev) but I'm sure one could come up with a common API. Sometimes you have to make several horrendous errors to know what to not do and thereby deduce what you should do - the only version 3 rule of thumb :-) From threads involving the hal maintainers I get the idea that the problem is not so much the idea of hal, but rather it's implementation. And then there's those fdi files... As I see it, at the bottom of the stack you have a kernel and at the top a user space app (the X server will do for an example). Plug in a USB device that the app can use, and the kernel needs to make a node in /dev for it if it's not already there. The kernel should not be interrogating the device for all possible info - that is expensive - and doesn't need to. It only needs enough info to know what driver, major and minor numbers to use. X OTOH, can successfully use much more info. If you have a 19 button mouse, it would like to know and could even use it as a one-handed keyboard (extreme example). So the current model uses udev as the interface to the kernel's nodes and HAL as the interface to exactly what hardware you have. Seems pretty sane for the most usual use case. At some point in the stack you will need the OS-dependant part, my guess is the best place is between hal and udev. Only Linux uses udev, but all OSes use something in that spot. And if not, they have static nodes. Meanwhile we have an acknowledged problem with hal - it's too complex, too many things have been shoved into it that were never catered for in the design, configuration is horrific - and the devs are having their usual spirited debate about how best to approach a solution. This is perfectly normal and perfectly healthy -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: Copying encrypted files from a DVD
Stroller strol...@stellar.eclipse.co.uk wrote: On 16 May 2009, at 17:46, Joerg Schilling wrote: ... Certainly I have copied disks using `dd` a number of times, PRIOR to decryption / ripping. However I cannot state the drives' status for sure - most of mine have region-free firmware applied as soon as I get them. There are still a lot of DVD-Video media that don't use CSS. I have certainly cloned region-protected DVDs on a number of occasions using `dd`. These disks have given no read errors, and the subsequent encrypted .iso image has produced perfectly fine rips. Most video DVDs are dual layer how did you write them? Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Re: [gentoo-user] Re: New xorg.conf with x11-base/xorg-server-1.5.3-r5
Alan McKinnon wrote: On Saturday 16 May 2009 19:14:17 pk wrote: Alan McKinnon wrote: I'm not sure who's criticizing DeviceKit, but it isn't me :-) I guess it was me... :-) I find this thread interesting: http://lists.freedesktop.org/archives/xorg/2009-May/045561.html ...especially this: http://lists.freedesktop.org/archives/xorg/2009-May/045574.html Which seems like a much more sane way... to me. I don't know what BSD and other platforms use (instead of Udev) but I'm sure one could come up with a common API. Sometimes you have to make several horrendous errors to know what to not do and thereby deduce what you should do - the only version 3 rule of thumb :-) From threads involving the hal maintainers I get the idea that the problem is not so much the idea of hal, but rather it's implementation. And then there's those fdi files... As I see it, at the bottom of the stack you have a kernel and at the top a user space app (the X server will do for an example). Plug in a USB device that the app can use, and the kernel needs to make a node in /dev for it if it's not already there. The kernel should not be interrogating the device for all possible info - that is expensive - and doesn't need to. It only needs enough info to know what driver, major and minor numbers to use. X OTOH, can successfully use much more info. If you have a 19 button mouse, it would like to know and could even use it as a one-handed keyboard (extreme example). So the current model uses udev as the interface to the kernel's nodes and HAL as the interface to exactly what hardware you have. Seems pretty sane for the most usual use case. At some point in the stack you will need the OS-dependant part, my guess is the best place is between hal and udev. Only Linux uses udev, but all OSes use something in that spot. And if not, they have static nodes. Meanwhile we have an acknowledged problem with hal - it's too complex, too many things have been shoved into it that were never catered for in the design, configuration is horrific - and the devs are having their usual spirited debate about how best to approach a solution. This is perfectly normal and perfectly healthy I hope someone wins the debate soon and gets this to work and be user friendly. I'm about to make a fresh backup and try this again. I have upgraded my kernel to a really new version, 2.6.25. Sorry, nvidia won't compile with anything newer that I have tried. If it don't work this time, this could end up a with permanent -hal for xorg-server. I quite happy with the way my box works now anyway. ;-) Just trying to keep up with the times I guess. Dale crosses fingers and toes to Dale :-) :-)
Re: [gentoo-user] Re: Copying encrypted files from a DVD
On 16 May 2009, at 19:00, Joerg Schilling wrote: ... There are still a lot of DVD-Video media that don't use CSS. I have certainly cloned region-protected DVDs on a number of occasions using `dd`. These disks have given no read errors, and the subsequent encrypted .iso image has produced perfectly fine rips. Most video DVDs are dual layer how did you write them? You can play the dvd.iso using mplayer - it will decrypt on the fly - or you decrypt them some other method before re-authoring. Usually I just convert them to mp4 using mplayer / mencoder. Stroller.
Re: [gentoo-user] Re: Copying encrypted files from a DVD
Stroller strol...@stellar.eclipse.co.uk wrote: On 16 May 2009, at 19:00, Joerg Schilling wrote: ... There are still a lot of DVD-Video media that don't use CSS. I have certainly cloned region-protected DVDs on a number of occasions using `dd`. These disks have given no read errors, and the subsequent encrypted .iso image has produced perfectly fine rips. Most video DVDs are dual layer how did you write them? You can play the dvd.iso using mplayer - it will decrypt on the fly - or you decrypt them some other method before re-authoring. Usually I just convert them to mp4 using mplayer / mencoder. If you like to write it to DVD in a way that allows standalone players to read it, you need to retain the layer break. You read it out with cdrecord and you set it with cdrecord driveropts=layerbreak=# Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Re: [gentoo-user] One of my cores sometimes sleeps
Roy Wright writes: Alex Schuster wrote: [temporary freezes] I replaced my media lan's router the other day with a gentoo+dnsmasq+shorewall homebrew and hit this behavior. My observation is that they freeze when you loose internet connection. Two quick tests: 1) pull you internet cable and see if that duplicates the behavior you are experiencing; 2) try to ping an internet system while you are experiencing the problem. Thaks, that looked promising - my internet connection _is_ quite unstable indeed. But at the moment it's working fine, I can ping while the problem happens, and pulling the cable does not trigger it. Wonko
Re: [gentoo-user] How to IPSEC M$oft VPN client setup
Thanks Graham, On Saturday 16 May 2009, Graham Murray wrote: Here are some samples. /etc/racoon/racoon.conf /etc/racoon/psk.txt /etc/ipsec.conf Do I need a /etc/setkey.conf file? How do I create it? When I run '/etc/init.d/racoon start' this is what I get: === # /etc/init.d/racoon --verbose restart * Loading ipsec policies from /etc/ipsec.conf. * Starting racoon ... /usr/sbin/racoon: invalid option -- '4' usage: racoon [-BdFv] [-a (port)] [-f (file)] [-l (file)] [-p (port)] -B: install SA to the kernel from the file specified by the configuration file. -d: debug level, more -d will generate more debug message. -C: dump parsed config file. -L: include location in debug messages -F: run in foreground, do not become daemon. -v: be more verbose -a: port number for admin port. -f: pathname for configuration file. -l: pathname for log file. -p: port number for isakmp (default: 500). -P: port number for NAT-T (default: 4500). [ !! ] === I am not sure I do this right. The remote router's LAN is 10.10.10.0/24. This is the same like my local LAN's subnet. My local LAN ip is 10.10.10.5. The remote router is giving (or is it expecting?) addresses for clients in the 172.16.1.0/24 subnet. How should I configure the /etc/ipsec.conf file? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: New xorg.conf with x11-base/xorg-server-1.5.3-r5
Alan McKinnon wrote: As I see it, at the bottom of the stack you have a kernel and at the top a user space app (the X server will do for an example). Plug in a USB device that the app can use, and the kernel needs to make a node in /dev for it if it's not already there. The kernel should not be interrogating the device for all possible info - that is expensive - and doesn't need to. It only needs enough info to know what driver, major and minor numbers to use. X OTOH, can I couldn't agree more. And this is what Udev, as a user space app, does. The only thing it doesn't handle is communicating with other user space apps; this is currently Hals job. the current model uses udev as the interface to the kernel's nodes and HAL as the interface to exactly what hardware you have. Seems pretty sane for the most usual use case. At some point in the stack you will need the OS-dependant part, my guess is the best place is between hal and udev. Only Linux uses Well, as I understand it this is what it looks like today: kernel - udev (or equivalent for non-linux kernel/OS) - hal - dbus - user apps To me that seems a bit redundant... What I would like to see: kernel - udev - user apps Or at the most: kernel - udev - daemon - user apps. udev, but all OSes use something in that spot. And if not, they have static nodes. Yes, but if the developers could agree on a common API for the udev daemon and it's equivalents on other platforms (what does BSD use?)... Or if they could agree on using Hal v2 (rewritten from scratch with no or a minimum of dependencies). Meanwhile we have an acknowledged problem with hal - it's too complex, too many things have been shoved into it that were never catered for in the design, configuration is horrific - and the devs are having their usual spirited debate about how best to approach a solution. This is perfectly normal and perfectly healthy Yes, I guess so. Since I'm (currently) not in the position to help out I'll have to live with whatever they come up with. But sometimes it's a bit frustrating... Sorry for the ranting. Best regards Peter K