1. Someone know how to re-enable Serial-ATA port?

    On my system (2.6.23-rc9) I have Serial-ATA DVD/RW drive connected to sata_sil controller:

    [   96.858283] ata6: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
    [   97.012480] ata6.00: ATAPI: TSSTcorpCD/DVDW SH-S183A, SB02, max UDMA/33
    [   97.012482] ata6.00: applying bridge limits
    [   97.169126] ata6.00: configured for UDMA/33
    

    Sometimes when there is a problem with CD or DVD disk controller shutdowns drive:

    [53560.095573] cdrom: sr0: mrw address space DMA selected
    [53561.001946] ISO 9660 Extensions: Microsoft Joliet Level 3
    [53561.002777] ISOFS: changing to secondary root
    [53621.380238] ata6.00: exception Emask 0x10 SAct 0x0 SErr 0x90000 action 0x2
    [53621.380249] ata6.00: cmd a0/00:00:00:00:20/00:00:00:00:00/a0 tag 0 cdb 0x0 data 0
    [53621.380252]          res 51/60:03:00:00:00/00:00:00:00:00/a0 Emask 0x10 (ATA bus error)
    [53621.380263] ata6: hard resetting port
    [53623.783961] ata6: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
    [53642.595278] ata6.00: qc timeout (cmd 0xa1)
    [53642.595285] ata6.00: failed to IDENTIFY (I/O error, err_mask=0x4)
    [53642.595288] ata6.00: revalidation failed (errno=-5)
    [53642.595292] ata6: failed to recover some devices, retrying in 5 secs
    [53645.092046] ata6: hard resetting port
    [53646.193870] ata6: SATA link down (SStatus 1 SControl 310)
    [53646.193881] ata6.00: limiting speed to UDMA/25:PIO3
    [53646.193884] ata6: failed to recover some devices, retrying in 5 secs
    [53648.690501] ata6: hard resetting port
    [53649.792323] ata6: SATA link down (SStatus 1 SControl 310)
    [53649.792333] ata6.00: disabled
    [53650.042442] ata6: EH pending after completion, repeating EH (cnt=4)
    [53650.042459] ata6: EH complete
    [53650.042512] sr 6:0:0:0: rejecting I/O to offline device
    [53650.042518] sr 6:0:0:0: rejecting I/O to offline device
    [53650.042522] sr 6:0:0:0: rejecting I/O to offline device
    [53650.042536] sr 6:0:0:0: rejecting I/O to offline device
    [53650.042632] ata6.00: detaching (SCSI 6:0:0:0)
    

    I wonder is there a way to re-enable ata6.00 in other way then power down/power up whole machine because it looks like reboot is not a way to get it working again.

    Written by Marcin Juszkiewicz on
  2. Floppies

    Few days ago my wife brought some stuff from work. One of them was floppy disk. During evening when we were sitting and talking I saw that disk. After few moments of thinking I told: “Do you know that none of our computers is capable of reading it?”

    Computers are changing so fast… I remember my first computer less then 20 years ago — it was Atari 65XE and it used data tapes for storage, then I bought 360KB 5.25” disk drive for it. Next machine used 880KB 3.5” floppies (Amiga 600) and 425MB hard disk. After another Amiga I bought PC which got 1.44MB 3.5” floppy drive which I rarely used. During few upgrades I was keeping this drive ‘just in case’ but finally decided that drive bay occupied by floppy can get better usage so it landed in drawer somewhere.

    Now we use pendrives, memory cards etc. One of my phones has more storage then my first Amiga had, other has 128MB card which is unused but needed due to crappy card/SIM holder in GTA01 Bv3, other has 64MB card and last one has 32MB one.

    And imagine that there are places where people still use floppies…

    Written by Marcin Juszkiewicz on
  3. Grindhouse

    Today I was in cinema on “Planet Terror” movie. It is second part of “Grindhouse” project of Quentin Tarantino and Robert Rodriguez — first part was “Death Proof” which I watched some time ago.

    From two parts of “Grindhouse” I prefer first one anyway — was more thrilling then second. Personally I am not a fan of zombie movies but this one was nice to watch.

    Written by Marcin Juszkiewicz on
  4. High Definition contra big screen TVs

    During day I was also at shop with television sets. One which take most of my attention was Samsung 52” FullHD (1920x1080px) one — with very big contrast. It was connected to BluRay disc player with some demos and trailers. I had to admit that some of them really show what high resolution means — sharp screen, all details on furry animals etc. But some of them used a bit bigger level of compression so it was visible on 52” :(

    Looks like companies which worked on HD-DVD and BluRay did not get idea that LCD technologies will go into such big screens…

    Written by Marcin Juszkiewicz on
  5. Neod hacking day

    As part of OpenMoko testing I looked into Neod. It is a daemon which handle few interesting functions on Neo1973 phone such as launching Today screen (short AUX press), closing active window on short Power press and two menus.

    First one is available on hold of AUX button.

    AUX menu
    AUX menu

    Available options are:

    • Toggle fullscreen (state is remembered)
    • Swap orientation (calls xrandr to rotate screen to landscape)
    • Screenshot (calls gpe-scap application)

    Second menu is available on hold of Power key.

    Power menu
    Power menu

    Available options are:

    • Bluetooth On/Off (disabled currently)
    • GPS On/Off (also disabled)
    • GSM On/Off (disabled)
    • Profile: Full PM (phone will suspend if needed)
    • Profile: Dim Only (backlight off if needed)
    • Profile: No PM
    • Lock Phone (phone will suspend to ram)
    • Reboot Phone
    • Power Off

    Yesterday I looked into source code and pushed few changes to neod recipe — mainly added few runtime dependencies to get everything working. During evening I got idea that it should be GConf key so user will be able to define which direction screen has to rotate when “Swap Orientation” option is used from AUX menu. Resulting patch can be found in OpenMoko bug 929. I hope that it will be included soon.

    My other idea is to drop xrandr command usage and use libxrandr directly. But this needs to wait.

    Written by Marcin Juszkiewicz on
  6. OpenMoko testing continues…

    Today I have another day of OpenMoko 2007.2 testing. Decided to first look at list of bugs which I reported. Some of them was fixed in last weeks so I checked and closed them.

    Now the main problem for me is the ‘GSM daemon’ about which I have a problem to say something good. It is so unreliable, dies in random moments… And cooperation between gsmd and OpenMoko apps is another thing — for example Dialer waits for network registration when phone is already registered. I had to restart Dialer to get it to notify that phone is ready for calling.

    Situation does not looks good ;(

    Written by Marcin Juszkiewicz on
  7. OEDEM 2007: day 4

    Today we have 4th day of OEDEM. Discussed OE Foundation, BitBake development, OE development. Uli Luckas from ROAD company brought their ROAD S101 phone (running Qtopia 2.x as UI). After playing with it I can say that this is interesting device.

    Today’s dinner will be sponsored by Tarent, a German company that uses OpenEmbedded. And this time it will be German restaurant not Mexican, Italian or Patagonian.

    Written by Marcin Juszkiewicz on
  8. Battery replace time?

    During GUADEC I decided that I need to buy new battery for my Dell D400 laptop. Current one is giving me 40-50 minutes of working only. According to ACPI informations it is really low charged:

    11:44 hrw@maluch:BAT0$ cat info
    present:                 yes
    design capacity:         42000 mWh
    last full capacity:      11530 mWh
    battery technology:      rechargeable
    

    So it does not get even half of nominal charge. I wonder how much time I will be able to get from 4400mAh battery (current one is 3800mAh when most of available ones are 3600mAh).

    And this time I really need to buy one.

    UPDATE: bought one — will get it in few days.

    Written by Marcin Juszkiewicz on
Page 76 / 106