Ken Moffat | 6 Oct 2011 22:21

Re: quicktime .mov files and youtube

On Wed, Sep 07, 2011 at 04:27:28PM +0100, Ken Moffat wrote:
>  Thanks, I'd not thought of this!  Got too hung-up on the "maintain
> the quality" suggestions on the recent youtube pages (supposedly,
> everything gets recoded for html5).  Some things I've downloaded
> (with the youtube_dl Python prog/script) show all sorts of different
> codecs, but the video bitrates are typically 3000k or less, and audio
> never exceeds 125k bits.  My original .mov files are typically
> 31000k video and 512k audio (but only 16KHz sampling frequency).
> 
>  What I'm doing now is to use ffmpeg to convert .mov to .mp4 with
> lower bitrates.  When ffmpeg is told to produce .mov or .mp4 it
> converts the input mjpeg with mp3 to mpeg and aac.  Both xine and
> totem play these output files correctly.  Maybe I'll even do this in
> future for initial review, the outputs are more sensible sizes.
> 
>  Still experimenting with bitrates : -b 3000k -ab 64k is as good as
> I need [ 3000k+ video bits, nominal 64k audio bits ] but I'm still
> playing with the numbers.  Will need to upload an example at what I
> think is a good compromise size (my upload is *slow*), then see what
> results.
> 
 And then there was almost a month of silence on this thread,
accompanied by extremely loud swearing as my attempts to upload all
produced rubbish (as in - no relationship to either the audio or
video that I uploaded).  Luckily, I got a response at
http://www.google.com/support/forum/p/youtube last weekend, and
tonight, on my shiny new LFS-6.8 system I've successfully uploaded
a 20 second clip.

 In case anyone hits this in a search engine, here's a few of the
(Continue reading)

Andrew Elian | 19 Oct 2011 05:44
Picon
Favicon

AfterStep WM curiousity

Just wondering if other LFSers use AfterStep?  It has been around a
while.  Somehow I just never did quite get the hang of it, although I
*do* have it installed should I ever want to try again.
-- 
My Blog: http://elian001.wordpress.com
--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

simon.willcocks@t-online.de | 28 Oct 2011 20:42
Picon
Favicon

Re: Hi anyone and everyone

On Fri, 28 Oct 2011 16:27:29 Kevin Lyda <kevin <at> ie.suberic.net> wrote:

> On Oct 28, 2011 2:26 PM, "Clive Cooper" <clive <at> winpe.com> wrote:
> > But it only boots so far and I get a Kernel panic.
> >
> > VFS: unable to mount the root fs.

> There are a few causes of this:

> 1) you haven't compiled the right fs support into the kernel.
> 2) you haven't compiled the right drivers for the device. For a USB device maybe you need an initrd? Not sure.
> 3) the device might have a different name in this version of the kernel than the one you did the build with.


Failing to pass the rootwait parameter to the kernel can also cause a panic.

http://ro-lookandfeel.blogspot.com/2011/06/root-filesystem-for-beagleboard-on-mmc.html


I got a list of available partitions from the kernel that didn't include the boot device.


> As for the other reply about swap partitions, is it possible to use a file or a partition for hibernate? You'll kill a

> flash device if you use it for swap.


I'd like to know that, too, although I've never tried hybernate on Linux....

--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page
Nathan Coulson | 28 Oct 2011 20:47
Picon

Re: Hi anyone and everyone

On Fri, Oct 28, 2011 at 11:32 AM, Clive Cooper <clive <at> winpe.com> wrote:
>
> Hi Andrew, Matthew and Kevin,
>
> Thanks for the replies, it is really appreciated.
> I have solved the problem and my LFS boots fine.... there is no one
> more surprised than I.
> I feel I have really achieved something.
>
> I did not manage to get it to boot on the USB stick, I believe the
> problem is more to do with this laptop than anything else. I
> recompiled the kernel 4 times and included every module I could think
> may even have the slightest to do with it.
> I did read all the help info and after getting no further forward this
> is what I did.
>
> My laptop HDD was already partitioned into 4 primary partitions...
> sda1 boot 60MB
> sda2 swap 500MB
> sda3 /        15GB
> sda4 /home 280GB
>
> I cleared some space on sda4 and shrunk it. I deleted sda2 and called
> it a loss. I created 2 extended partitions in the 20GB I recovered
> from sda4, sda5 became a new 500MB swap and sda6 an empty ext3 drive.
> I copied everything from the USB stick to sda6 changed the LFS entry
> in my existing old grub menu.lst and rebooted.
> Selected LFS and it booted perfectly.
>
> Thanks to everyone for their help.
> As soon as I have finished having a play with it I intend to delete it
> all and do the LFS install all over again (doing all the tests fully
> this time).
>
> Thanks again
>
> Clive.
>
> On 28 October 2011 15:53, Andrew Benton <b3nton <at> gmail.com> wrote:
> > On Fri, 28 Oct 2011 15:22:01 +0100
> > Clive Cooper <clive <at> winpe.com> wrote:
> >
> >> Still not solved the Kernel panic here so anyone wants to help be my guest.
> >> Output is...
> >> Kernel panic - not syncing: VFS: unable to mount root fs on unknown-block(2,0)
> >>
> > This looks like a problem with your kernel config. I would suggest a
> > good place to start is Bruce's hint about kernels:
> > http://www.linuxfromscratch.org/hints/downloads/files/kernel-configuration.txt
> >
> > Start with a monolithic kernel (no modules). Compile into it drivers
> > for your hardware and the filesystems you'll be using. A useful tool is
> > lspci from pciutisl, it will tell you what hardware your kernel can
> > see. Also, boot into another distro and run lsmod. It will show you
> > what modules they've loaded. Compile them into your kernel. As you're
> > boot a usb stick don't forget to enable all the usb and sata options
> > you need.
> >
> > It's quite hard doing your first kernel compile. There's a lot of help
> > text to wade through and some options only appear in make menuconfig
> > when you enable other options. If you enable more options it takes
> > longer to compile and makes the kernel slightly larger. If you enable
> > too few options you may have missed the one crucial bit of code that
> > would have avoided a kernel panic. So start by erring on the side of
> > caution and once you've got a bootable kernel you can recompile and
> > turn things off. If that one doesn't work, go back to your last good
> > option which should be on your grub.cfg. grub.cfg is used by grub2
> > which we install in LFS. menu.lst was used by the older version of grub
> > which we used to use.
> >
> > Andy
> > --
> > http://linuxfromscratch.org/mailman/listinfo/lfs-chat
> > FAQ: http://www.linuxfromscratch.org/faq/
> > Unsubscribe: See the above information page
> >
>

Try adding rootwait to the kernel commandline.

USB devices tend to appear "after" it tries to mount the / partition.
rootwait tells the kernel to wait indefinately until the root
partition appears (if it appears).  Also a handy trick to keep the
kernel from panicking if you want to review the logs.

--
Nathan Coulson (conathan)
------
Location: British Columbia, Canada
Timezone: PST (-8)
Webpage: http://www.nathancoulson.com
--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page
Clive Cooper | 28 Oct 2011 16:22

Re: Hi anyone and everyone

Hi David,

Point taken, I never hibernate the system but may occasionally suspend it.
I dare say there may be a number of good reasons for swap I just don't
need any of them currently.
But you are right, HDD space is cheap so dedicating a few GB to swap
costs almost nothing.

It is nice to know there are lurkers on here.

Still not solved the Kernel panic here so anyone wants to help be my guest.
Output is...
Kernel panic - not syncing: VFS: unable to mount root fs on unknown-block(2,0)

Clive

On 28 October 2011 14:37, David Shaw <dj.shaw <at> btconnect.com> wrote:
> On 28/10/11 13:51, Clive Cooper wrote:
>> The swap is not important and to be honest since the amount of memory
>> is normally over 2 or 3 GB nowadays I have never seen the swap space
>> ever get used, I have monitored using 'top'.
>
>
> I regularly use my swap space.  It's where Linux stores the state of my
> system whenever I hibernate it  :-)
>
> It's a bit of a pain, having to have a 4GB chunk of my hard drive
> dedicated just for this but, hey, hard drive space is cheap :-)
>
> Apologies for the interruption, it's just that everyone nowadays seems
> to be saying that you don't need swap space and forgets this rather
> important (to some of us) use of it, so I've made it my mission to
> remind people every time I see it said that swap is unnecessary. (Can
> you see my halo? No?  I must try harder ;-) )
>
> Back to lurking.
>
> David Shaw
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-chat
> FAQ: http://www.linuxfromscratch.org/faq/
> Unsubscribe: See the above information page
>

-- 
Infinity: A concept for those who cannot comprehend the big picture.

() Arch Linux - For movers and shakers. ()
--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

David Shaw | 28 Oct 2011 15:37

Re: Hi anyone and everyone

On 28/10/11 13:51, Clive Cooper wrote:
> The swap is not important and to be honest since the amount of memory
> is normally over 2 or 3 GB nowadays I have never seen the swap space
> ever get used, I have monitored using 'top'.

I regularly use my swap space.  It's where Linux stores the state of my 
system whenever I hibernate it  :-)

It's a bit of a pain, having to have a 4GB chunk of my hard drive 
dedicated just for this but, hey, hard drive space is cheap :-)

Apologies for the interruption, it's just that everyone nowadays seems 
to be saying that you don't need swap space and forgets this rather 
important (to some of us) use of it, so I've made it my mission to 
remind people every time I see it said that swap is unnecessary. (Can 
you see my halo? No?  I must try harder ;-) )

Back to lurking.

David Shaw
--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Kevin Lyda | 28 Oct 2011 12:52
Gravatar

Re: Hi anyone and everyone

On Fri, Oct 28, 2011 at 11:25, Clive Cooper <clive <at> winpe.com> wrote:
> Just saying hello to anyone else on this list.
> I am in sunny Lincolnshire on the east coast of England.
>
> I am 90% of the way through my first LFS install onto a USB stick.
>
> Has anyone installed to a USB stick? If so how did it work out.
> I decided on using this list as I do tend to drift off topic now and then.

Just make sure not to have a swap partition on the USB stick.

Kevin

-- 
Kevin Lyda
Dublin, Ireland
US Citizen overseas? We can vote.
Register now: http://www.votefromabroad.org/
--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Kevin Lyda | 28 Oct 2011 15:03
Gravatar

Re: Hi anyone and everyone

On Oct 28, 2011 1:07 PM, "Andrew Benton" <b3nton <at> gmail.com> wrote:
> Why do you say that? Because usb is slow?

No, USB sticks are usually flash. Not a good thing to write on over and over again.

Kevin

--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page
Andrew Benton | 28 Oct 2011 13:57
Picon

Re: Hi anyone and everyone

On Fri, 28 Oct 2011 11:52:38 +0100
Kevin Lyda <kevin <at> ie.suberic.net> wrote:

> On Fri, Oct 28, 2011 at 11:25, Clive Cooper <clive <at> winpe.com> wrote:
> > Just saying hello to anyone else on this list.
> > I am in sunny Lincolnshire on the east coast of England.
> >
> > I am 90% of the way through my first LFS install onto a USB stick.
> >
> > Has anyone installed to a USB stick? If so how did it work out.
> > I decided on using this list as I do tend to drift off topic now and then.
> 
> Just make sure not to have a swap partition on the USB stick.

Why do you say that? Because usb is slow?

As far as installing on a usb stick goes, I've never done it but the
only problems I can foresee are with booting. Can your BIOS boot a usb
device? (Most modern BIOS can). Have you got grub installed on your
hard drive or will you install grub onto the MBR of your usb stick and
then get your BIOS to boot the usb?

Andy
--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Clive Cooper | 28 Oct 2011 15:26

Re: Hi anyone and everyone

Hi Kevin and Andrew,

Okay, finally I have got it to boot okay, that was the important thing.
But it only boots so far and I get a Kernel panic.

VFS: unable to mount the root fs.

I am guessing this is probably because the kernel is not compiled
correctly. It is the one thing I am not really happy with.
Do either of you know if there is anything that is a 'must-do' when
compiling the kernel or can I just get away with the default config?

I am quite pleased that it actually wants to boot now at least.

Clive.

On 28 October 2011 14:03, Kevin Lyda <kevin <at> ie.suberic.net> wrote:
> On Oct 28, 2011 1:07 PM, "Andrew Benton" <b3nton <at> gmail.com> wrote:
>> Why do you say that? Because usb is slow?
>
> No, USB sticks are usually flash. Not a good thing to write on over and over
> again.
>
> Kevin
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-chat
> FAQ: http://www.linuxfromscratch.org/faq/
> Unsubscribe: See the above information page
>

-- 
Infinity: A concept for those who cannot comprehend the big picture.

() Arch Linux - For movers and shakers. ()
--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page


Gmane