Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Apr 4, 2011

PS3 mediacenter update

See this post PS3 media center finally working with mediatomb 
I've ditched mediatomb, it was way to hard to get to work, and manually editing scripts/config files was a hell.

I'm now using ps3mediaserver.
I downloaded the zip file, extracted to a folder, and fired up ./PMS.sh
I had to force it to use eth1 and a specific ip of eth1 to make it work.

It stream almoste all mkv/iso files without problems and ofc divx/xvid.
But in general Sony/PS3 is a crappy DLNA client, my samsung TV works much better and gives much better error messages.

Oct 14, 2009

Linux network problems, eth0 stops responding

I finally found a solution for this problem on my linux server.
Since kernel 2.6.25-r7 all kernel upgrades resulted in errors, like this one:
WARNING: at net/sched/sch_generic.c:246 dev_watchdog+0x12d/0x1d5()
Hardware name: System Product Name
NETDEV WATCHDOG: eth2 (8139too): transmit queue 0 timed out
...
[] ? dev_watchdog+0x12d/0x1d5
[] warn_slowpath_common+0x77/0xa4
[] warn_slowpath_fmt+0x64/0x66
[] ? default_wake_function+0xd/0xf
[] ? autoremove_wake_function+0x11/0x38
[] ? enqueue_entity+0x113/0x11b
[] ? __wake_up_common+0x46/0x76
[] ? netdev_drivername+0x43/0x4b
[] dev_watchdog+0x12d/0x1d5

And the network for eth0 would stop working, stopping the device, removing the module and reinserting it did not help.

I've read several places of people having the same problem, like this one:
http://kerneltrap.org/mailarchive/linux-kernel/2008/6/13/2121634

But none of the posts I found had a working solution. But they did help me solve the problem :o)

If I booted the kernel with the
pci=noapic
option, the kernel would freeze and write an error message like
IRQ #7 DISABLED nobody cared

That gave me a hint that i may had something to do with APIC, maybe a broken apic implementation on the motherboard/bios.

Anyways, i disabled APIC in the bios, and removed the
pci=noapic
option, and that solved it!

So i guess the ASUS K8V-VM motherboard has a broken APIC implementation..
(Or it could be the linux implementation that is faulty, since I never had any problems with this machine while it was running windows)

Sep 15, 2008

PS3 media center finally working with mediatomb


Update: See this post ps3 mediacenter update

I finally have media tomb working with dvd/iso images and mkv files.
It took some time to understand the config file (which is a general issue with linux apps), since mediatomb can stream divx movies/mp3 files without transcoding, getting transcoding to work with vlc was trublesome, there are 4 settings that have to match.
First the mime type reported to the ps3 which only seems to accept video/mpeg.
Second the video codec of the transcoded stream, only mpgv seems to be accepted.
Third the audio stream had to be mpga, mp3 doesnt  seem to work
Finally the container of the streamed transcoded media which is ps

That's great because i could read that from most tutorials/blogs.
But to get transcoding to actually work the section of  mediatomb config file had to map to a profile that will transcode the file eg:


Here is my full config file: config.xml
And my transcode scripts (using vlc)
For dvd/iso images: mediatomb-transcode-video-iso

Sep 14, 2008

What a week!?!

Gee first of my monday was crappy (like all my mondays).
Tuesday i had a breakin in my car, they stole my gps, my ipod and my jacket??.. What a great start of the week!
11:45 it was announced that my boss Niels was fired (Linked in), which totally blows, cuz he was a really great boss!
When i got home i had an email from my server with kernel dump attached. I havent had a kernel dump since last time my server was breached! And guess what some noob tard script kiddie had tried to hack my server!
Anyways it took most of my evening to verify that he didnt succed, pheewww

The rest of the week was spend installing mediatomb on my server for my ps3. It mostly works, i can play mp3 and divx movies. but for some reason mkv movies and jpg images doesnt work :(
And im yet to figure out how to "transcode" iso images of dvd's with vlc.

Aug 27, 2008

And we are live!

That's it i've finally created a blog @ blogger.com
I'm excited to see how well it works!

Update:
Setting up a proftp user and a virtual directory in apache was easy