[atv-bootloader] Re: recovery-1.0 release

2011-07-22 Thread dkeefe
See my answers below.

Thanks again for your help.
  2. nano doesn't work if you telnet into the atv bootloader. I get

 For some reason, ubuntu (or the install I was using) doesn't have a /
 usr/share/terminfo/l/linux file.

 export TERM=xterm-basic

 seems to fix it for example, or symlinking linux-basic to just linux
 in the proper dir.

  error opening terminal: linux when trying to run it.

Is this something you can fix in a later release of the bootloader?

  3. my gyration keyboard doesn't work in the bootloader. It works fine
  after linux boots and I don't think it needs a driver, so I can't
  figure this one out.

 Did this work with the older recovery image?

I'm 99% sure it did. I know I used it with rev .6 of the bootloader.
not sure about .7.

  4. I get a lot of rx ethernet errors in linux. I thought Scott fixed
  this years ago. something with interrupts?

 In this an issue while booted to recovery or after you've kexec'd into
 the distro of choice?
 I personally don't see any of these while booted to recovery...


sorry. I should have been clearer about this. I get these errors after
booting linux (ubuntu server 11.04 in my case). I thought it was an
interrupt problem scott fixed in the bootloader, but I've since
researched it and found it is a cpu sleep issue. I don't think this is
actually your problem.

-- 
To post to this group, send email to atv-bootloader@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/atv-bootloader?hl=en


[atv-bootloader] Re: recovery-1.0 release

2011-07-22 Thread dkeefe
sure. I'll post it later tonight.

thanks again!


On Jul 22, 3:10 pm, Travis Hansen travisghan...@gmail.com wrote:
 I plan on fixing the nano issue yes.

 The keyboard issue is likely something missing from the kernel.  Can
 you send me the dmesg output from a system booted where it's working?

 On Jul 22, 12:45 pm, dkeefe dke...@eoimaging.com wrote:







  See my answers below.

  Thanks again for your help.

2. nano doesn't work if you telnet into the atv bootloader. I get

   For some reason, ubuntu (or the install I was using) doesn't have a /
   usr/share/terminfo/l/linux file.

   export TERM=xterm-basic

   seems to fix it for example, or symlinking linux-basic to just linux
   in the proper dir.

error opening terminal: linux when trying to run it.

  Is this something you can fix in a later release of the bootloader?

3. my gyration keyboard doesn't work in the bootloader. It works fine
after linux boots and I don't think it needs a driver, so I can't
figure this one out.

   Did this work with the older recovery image?

  I'm 99% sure it did. I know I used it with rev .6 of the bootloader.
  not sure about .7.

4. I get a lot of rx ethernet errors in linux. I thought Scott fixed
this years ago. something with interrupts?

   In this an issue while booted to recovery or after you've kexec'd into
   the distro of choice?
   I personally don't see any of these while booted to recovery...

  sorry. I should have been clearer about this. I get these errors after
  booting linux (ubuntu server 11.04 in my case). I thought it was an
  interrupt problem scott fixed in the bootloader, but I've since
  researched it and found it is a cpu sleep issue. I don't think this is
  actually your problem.

-- 
To post to this group, send email to atv-bootloader@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/atv-bootloader?hl=en


[atv-bootloader] Re: recovery-1.0 release

2011-07-22 Thread dkeefe
bootloader dmesg:

Linux version 2.6.39 (root@thansen-MP061) (gcc version 4.5.2 (Ubuntu/
Linaro 4.5.2-8ubuntu4) ) #2 Sun Jun 5 22:45:22 MDT 2011
BIOS-provided physical RAM map:
 BIOS-e820:  - 0008f000 (usable)
 BIOS-e820: 0008f000 - 0009 (ACPI NVS)
 BIOS-e820: 0009 - 000a (usable)
 BIOS-e820: 000a - 000c (reserved)
 BIOS-e820: 0010 - 025ae000 (usable)
 BIOS-e820: 02b07000 - 02b58000 (reserved)
 BIOS-e820: 02b58000 - 0f171000 (usable)
 BIOS-e820: 0f171000 - 0f372000 (ACPI NVS)
 BIOS-e820: 0f372000 - 0febd000 (usable)
 BIOS-e820: 0febd000 - 0febf000 (ACPI NVS)
 BIOS-e820: 0febf000 - 0fec (ACPI data)
 BIOS-e820: 0fec - 0feef000 (ACPI NVS)
 BIOS-e820: 0feef000 - 0fef1000 (usable)
 BIOS-e820: 0fef1000 - 0feff000 (ACPI data)
 BIOS-e820: 0feff000 - 0ff0 (usable)
 BIOS-e820: 0ff0 - 1000 (reserved)
 BIOS-e820: f00f8000 - f00f9000 (reserved)
 BIOS-e820: fed1c000 - fed2 (reserved)
 BIOS-e820: fffa - fffd (reserved)
Notice: NX (Execute Disable) protection cannot be enabled: non-PAE
kernel!
DMI 2.4 present.
DMI: Apple Inc. AppleTV1,1/Mac-F4228DC8, BIOSATV11.88Z.
00D9.B00.0703012002 03/01/07
e820 update range:  - 0001 (usable) ==
(reserved)
e820 remove range: 000a - 0010 (usable)
last_pfn = 0xff00 max_arch_pfn = 0x10
MTRR default type: uncachable
MTRR fixed ranges enabled:
  0-9 write-back
  A-B uncachable
  C-C write-protect
  D-D uncachable
  E-F write-protect
MTRR variable ranges enabled:
  0 base 0FFE0 mask FFFE0 write-protect
  1 base 0 mask FF000 write-back
  2 base 00FF0 mask 0 uncachable
  3 disabled
  4 disabled
  5 disabled
  6 disabled
  7 disabled
PAT not supported by CPU.
initial memory mapped : 0 - 01c0
Base memory trampoline at [c009e000] 9e000 size 4096
init_memory_mapping: -0ff0
 00 - 40 page 4k
 40 - 000fc0 page 2M
 000fc0 - 000ff0 page 4k
kernel direct mapping tables up to ff0 @ 199e000-19a3000
RAMDISK: 019a3000 - 0200
ACPI: RSDP 000f8000 00024 (v02 APPLE )
ACPI: XSDT 0fefd1c0 00064 (v01 APPLE   Apple00 00D9  0113)
ACPI: FACP 0fefb000 000F4 (v03 APPLE   Apple00 00D9 Loki 005F)
ACPI: DSDT 0fef4000 02BE5 (v01 APPLE   AppleTV 00010001 INTL 20050309)
ACPI: FACS 0fec 00040
ACPI: HPET 0fefa000 00038 (v01 APPLE   Apple00 0001 Loki 005F)
ACPI: APIC 0fef9000 00068 (v01 APPLE   Apple00 0001 Loki 005F)
ACPI: MCFG 0fef8000 0003C (v01 APPLE   Apple00 0001 Loki 005F)
ACPI: ASF! 0fef7000 000A0 (v32 APPLE   Apple00 0001 Loki 005F)
ACPI: SSDT 0fef2000 001A6 (v01 APPLE   Cpu0Ist 3000 INTL 20050309)
ACPI: SSDT 0fef3000 00158 (v01 APPLE   Cpu0Cst 3001 INTL 20050309)
ACPI: SSDT 0fef1000 004DC (v01 APPLE CpuPm 3000 INTL 20050309)
ACPI: Local APIC address 0xfee0
0MB HIGHMEM available.
255MB LOWMEM available.
  mapped low ram: 0 - 0ff0
  low ram: 0 - 0ff0
Zone PFN ranges:
  DMA  0x0010 - 0x1000
  Normal   0x1000 - 0xff00
  HighMem  empty
Movable zone start PFN for each node
early_node_map[7] active PFN ranges
0: 0x0010 - 0x008f
0: 0x0090 - 0x00a0
0: 0x0100 - 0x25ae
0: 0x2b58 - 0xf171
0: 0xf372 - 0xfebd
0: 0xfeef - 0xfef1
0: 0xfeff - 0xff00
On node 0 totalpages: 63140
free_area_init_node: node 0, pgdat c18b9180, node_mem_map cfcbd200
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 3951 pages, LIFO batch:0
  Normal zone: 478 pages used for memmap
  Normal zone: 58679 pages, LIFO batch:15
Using APIC driver default
ACPI: PM-Timer IO Port: 0x408
ACPI: Local APIC address 0xfee0
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] disabled)
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x01] address[0xfec0] gsi_base[0])
IOAPIC[0]: apic_id 1, version 32, address 0xfec0, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Using ACPI (MADT) for SMP configuration information
ACPI: HPET id: 0x8086a201 base: 0xfed0
nr_irqs_gsi: 40
Allocating PCI resources starting at 1000 (gap: 1000:e00f8000)
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages:
62630
Kernel command line: 

[atv-bootloader] Re: recovery-1.0 release

2011-07-22 Thread dkeefe
ubuntu dmesg:

[0.00] Initializing cgroup subsys cpuset
[0.00] Initializing cgroup subsys cpu
[0.00] Linux version 2.6.38-8-generic (buildd@vernadsky) (gcc
version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu3) ) #42-Ubuntu SMP Mon Apr
11 03:31:50 UTC 2011 (Ubuntu 2.6.38-8.42-generic 2.6.38.2)
[0.00] BIOS-provided physical RAM map:
[0.00]  BIOS-e820: 0100 - 0008f000
(usable)
[0.00]  BIOS-e820: 0008f000 - 0009 (ACPI
NVS)
[0.00]  BIOS-e820: 0009 - 000a
(usable)
[0.00]  BIOS-e820: 000a - 000c
(reserved)
[0.00]  BIOS-e820: 0010 - 025ae000
(usable)
[0.00]  BIOS-e820: 02b07000 - 02b58000
(reserved)
[0.00]  BIOS-e820: 02b58000 - 0f171000
(usable)
[0.00]  BIOS-e820: 0f171000 - 0f372000 (ACPI
NVS)
[0.00]  BIOS-e820: 0f372000 - 0febd000
(usable)
[0.00]  BIOS-e820: 0febd000 - 0febf000 (ACPI
NVS)
[0.00]  BIOS-e820: 0febf000 - 0fec (ACPI
data)
[0.00]  BIOS-e820: 0fec - 0feef000 (ACPI
NVS)
[0.00]  BIOS-e820: 0feef000 - 0fef1000
(usable)
[0.00]  BIOS-e820: 0fef1000 - 0feff000 (ACPI
data)
[0.00]  BIOS-e820: 0feff000 - 0ff0
(usable)
[0.00]  BIOS-e820: 0ff0 - 1000
(reserved)
[0.00]  BIOS-e820: f00f8000 - f00f9000
(reserved)
[0.00]  BIOS-e820: fed1c000 - fed2
(reserved)
[0.00]  BIOS-e820: fffa - fffd
(reserved)
[0.00] Notice: NX (Execute Disable) protection cannot be
enabled in hardware: non-PAE kernel!
[0.00] NX (Execute Disable) protection: approximated by x86
segment limits
[0.00] DMI 2.4 present.
[0.00] DMI: Apple Inc. AppleTV1,1/Mac-F4228DC8, BIOS
ATV11.88Z.00D9.B00.0703012002 03/01/07
[0.00] e820 update range:  - 0001
(usable) == (reserved)
[0.00] e820 remove range: 000a - 0010
(usable)
[0.00] last_pfn = 0xff00 max_arch_pfn = 0x10
[0.00] MTRR default type: uncachable
[0.00] MTRR fixed ranges enabled:
[0.00]   0-9 write-back
[0.00]   A-B uncachable
[0.00]   C-C write-protect
[0.00]   D-D uncachable
[0.00]   E-F write-protect
[0.00] MTRR variable ranges enabled:
[0.00]   0 base 0FFE0 mask FFFE0 write-protect
[0.00]   1 base 0 mask FF000 write-back
[0.00]   2 base 00FF0 mask 0 uncachable
[0.00]   3 base 01000 mask FF000 write-combining
[0.00]   4 disabled
[0.00]   5 disabled
[0.00]   6 disabled
[0.00]   7 disabled
[0.00] PAT not supported by CPU.
[0.00] initial memory mapped : 0 - 01c0
[0.00] init_memory_mapping: -0ff0
[0.00]  00 - 40 page 4k
[0.00]  40 - 000fc0 page 2M
[0.00]  000fc0 - 000ff0 page 4k
[0.00] kernel direct mapping tables up to ff0 @
1bfb000-1c0
[0.00] RAMDISK: 0e539000 - 0f171000
[0.00] ACPI: RSDP 000f8000 00024 (v02 APPLE )
[0.00] ACPI: XSDT 0fefd1c0 00064 (v01 APPLE   Apple00
00D9  0113)
[0.00] ACPI: FACP 0fefb000 000F4 (v03 APPLE   Apple00 00D9
Loki 005F)
[0.00] ACPI: DSDT 0fef4000 02BE5 (v01 APPLE   AppleTV 00010001
INTL 20050309)
[0.00] ACPI: FACS 0fec 00040
[0.00] ACPI: HPET 0fefa000 00038 (v01 APPLE   Apple00 0001
Loki 005F)
[0.00] ACPI: APIC 0fef9000 00068 (v01 APPLE   Apple00 0001
Loki 005F)
[0.00] ACPI: MCFG 0fef8000 0003C (v01 APPLE   Apple00 0001
Loki 005F)
[0.00] ACPI: ASF! 0fef7000 000A0 (v32 APPLE   Apple00 0001
Loki 005F)
[0.00] ACPI: SSDT 0fef2000 001A6 (v01 APPLE   Cpu0Ist 3000
INTL 20050309)
[0.00] ACPI: SSDT 0fef3000 00158 (v01 APPLE   Cpu0Cst 3001
INTL 20050309)
[0.00] ACPI: SSDT 0fef1000 004DC (v01 APPLE CpuPm 3000
INTL 20050309)
[0.00] ACPI: Local APIC address 0xfee0
[0.00] 0MB HIGHMEM available.
[0.00] 255MB LOWMEM available.
[0.00]   mapped low ram: 0 - 0ff0
[0.00]   low ram: 0 - 0ff0
[0.00] Zone PFN ranges:
[0.00]   DMA  0x0010 - 0x1000
[0.00]   Normal   0x1000 - 0xff00
[0.00]   HighMem  empty
[0.00] Movable zone start PFN for each node
[0.00] early_node_map[7] active PFN ranges
[0.00] 0: 0x0010 - 0x008f
[0.00] 0: 0x0090 - 0x00a0
[0.00] 0: 0x0100 - 0x25ae
[

[atv-bootloader] Re: recovery-1.0 release

2011-06-25 Thread Bharath Ramesh

On Jun 23, 11:52 pm, Travis Hansen travisghan...@gmail.com wrote:
 All

 You'll be happy to know we've released a new recovery image.

 http://code.google.com/p/atv-bootloader/downloads/list

 A couple of things to note...

 1. It does include support for pretty much every filesystem out there
 now.
 2. It does include boot.efi so no need to go hunting that down.
 3. It is twice the size of 0.6...so if you're looking for a speed
 demon it might not be for you (I haven't done any bootup time tests so
 it might not be bad either)
 4. grub2 support is in there
 5. It does not include ssh.  We tried but hit bugs :(
 6. Everything else is updated...parted, gdisk (added), rsync, proper
 dns resolving, wireless support, etc

Awesome, I will give this a try today. Which version of the firmware
is the boot.efi from, is it from the latest 3.0.2.
Were there issues with dropbear or openssh?

--
Bharath

-- 
To post to this group, send email to atv-bootloader@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/atv-bootloader?hl=en


[atv-bootloader] Re: recovery-1.0 release

2011-06-25 Thread Scott D. Davilla

On Jun 25, 7:10 pm, Travis Hansen travisghan...@gmail.com wrote:

 I'm actually not sure which version the boot.efi is from.



I just checked the md5sum it seems that the boot.efi hasnt changed in
a while.
The 3.0.2 boot.efi comes with the same md5sum as well.


boot.efi has never changed from the 1st one shipped in the 1st appletv1.

--
To post to this group, send email to atv-bootloader@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/atv-bootloader?hl=en


[atv-bootloader] Re: recovery-1.0 release

2011-06-24 Thread dkeefe
Yeah! I'll give it a shot this weekend.

what is gdisk and why would we need it?

Thanks again for your work!


On Jun 23, 11:52 pm, Travis Hansen travisghan...@gmail.com wrote:
 All

 You'll be happy to know we've released a new recovery image.

 http://code.google.com/p/atv-bootloader/downloads/list

 A couple of things to note...

 1. It does include support for pretty much every filesystem out there
 now.
 2. It does include boot.efi so no need to go hunting that down.
 3. It is twice the size of 0.6...so if you're looking for a speed
 demon it might not be for you (I haven't done any bootup time tests so
 it might not be bad either)
 4. grub2 support is in there
 5. It does not include ssh.  We tried but hit bugs :(
 6. Everything else is updated...parted, gdisk (added), rsync, proper
 dns resolving, wireless support, etc

 Enjoy!

-- 
To post to this group, send email to atv-bootloader@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/atv-bootloader?hl=en


[atv-bootloader] Re: recovery-1.0 release

2011-06-24 Thread Travis Hansen
gdisk is the gpt counterpart to the msdos fdisk.  Basically it's a
another tool that can be used to create gpt partition tables/
partitions instead of parted which may be more difficult for
beginners.

On Jun 24, 6:57 am, dkeefe dke...@eoimaging.com wrote:
 Yeah! I'll give it a shot this weekend.

 what is gdisk and why would we need it?

 Thanks again for your work!

 On Jun 23, 11:52 pm, Travis Hansen travisghan...@gmail.com wrote:







  All

  You'll be happy to know we've released a new recovery image.

 http://code.google.com/p/atv-bootloader/downloads/list

  A couple of things to note...

  1. It does include support for pretty much every filesystem out there
  now.
  2. It does include boot.efi so no need to go hunting that down.
  3. It is twice the size of 0.6...so if you're looking for a speed
  demon it might not be for you (I haven't done any bootup time tests so
  it might not be bad either)
  4. grub2 support is in there
  5. It does not include ssh.  We tried but hit bugs :(
  6. Everything else is updated...parted, gdisk (added), rsync, proper
  dns resolving, wireless support, etc

  Enjoy!

-- 
To post to this group, send email to atv-bootloader@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/atv-bootloader?hl=en


[atv-bootloader] Re: recovery-1.0 release

2011-06-24 Thread Travis Hansen
I'm guessing that's because you 'installed' a pre-created .img file to
your harddisk.  I believe simply running parted /dev/sdX will detect
and clean that up for you...not sure though.

On Jun 24, 10:35 am, dkeefe dke...@eoimaging.com wrote:
 got it.

 does it create a proper partition table? I always get a warning on
 boot about the end of the disk /= to some value, blah blah blah. it
 bugs me but since it works I haven't really looked into it.

 thanks again!

 On Jun 24, 10:50 am, Travis Hansen travisghan...@gmail.com wrote:







  gdisk is the gpt counterpart to the msdos fdisk.  Basically it's a
  another tool that can be used to create gpt partition tables/
  partitions instead of parted which may be more difficult for
  beginners.

  On Jun 24, 6:57 am, dkeefe dke...@eoimaging.com wrote:

   Yeah! I'll give it a shot this weekend.

   what is gdisk and why would we need it?

   Thanks again for your work!

   On Jun 23, 11:52 pm, Travis Hansen travisghan...@gmail.com wrote:

All

You'll be happy to know we've released a new recovery image.

   http://code.google.com/p/atv-bootloader/downloads/list

A couple of things to note...

1. It does include support for pretty much every filesystem out there
now.
2. It does include boot.efi so no need to go hunting that down.
3. It is twice the size of 0.6...so if you're looking for a speed
demon it might not be for you (I haven't done any bootup time tests so
it might not be bad either)
4. grub2 support is in there
5. It does not include ssh.  We tried but hit bugs :(
6. Everything else is updated...parted, gdisk (added), rsync, proper
dns resolving, wireless support, etc

Enjoy!

-- 
To post to this group, send email to atv-bootloader@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/atv-bootloader?hl=en


[atv-bootloader] Re: recovery-1.0 release

2011-06-24 Thread dkeefe
I've installed linux a bunch of different ways (including running live
images from vfat partitions), and I see that message every time.
parted and gptsync won't fix it.

It works fine, so it isn't a big deal. it is just annoying...

On Jun 24, 12:53 pm, Travis Hansen travisghan...@gmail.com wrote:
 I'm guessing that's because you 'installed' a pre-created .img file to
 your harddisk.  I believe simply running parted /dev/sdX will detect
 and clean that up for you...not sure though.

 On Jun 24, 10:35 am, dkeefe dke...@eoimaging.com wrote:







  got it.

  does it create a proper partition table? I always get a warning on
  boot about the end of the disk /= to some value, blah blah blah. it
  bugs me but since it works I haven't really looked into it.

  thanks again!

  On Jun 24, 10:50 am, Travis Hansen travisghan...@gmail.com wrote:

   gdisk is the gpt counterpart to the msdos fdisk.  Basically it's a
   another tool that can be used to create gpt partition tables/
   partitions instead of parted which may be more difficult for
   beginners.

   On Jun 24, 6:57 am, dkeefe dke...@eoimaging.com wrote:

Yeah! I'll give it a shot this weekend.

what is gdisk and why would we need it?

Thanks again for your work!

On Jun 23, 11:52 pm, Travis Hansen travisghan...@gmail.com wrote:

 All

 You'll be happy to know we've released a new recovery image.

http://code.google.com/p/atv-bootloader/downloads/list

 A couple of things to note...

 1. It does include support for pretty much every filesystem out there
 now.
 2. It does include boot.efi so no need to go hunting that down.
 3. It is twice the size of 0.6...so if you're looking for a speed
 demon it might not be for you (I haven't done any bootup time tests so
 it might not be bad either)
 4. grub2 support is in there
 5. It does not include ssh.  We tried but hit bugs :(
 6. Everything else is updated...parted, gdisk (added), rsync, proper
 dns resolving, wireless support, etc

 Enjoy!

-- 
To post to this group, send email to atv-bootloader@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/atv-bootloader?hl=en