Re: [indiana-discuss] zio_read_data failed in GRUB while trying to boot from compact flash (CF)

2009-07-25 Thread Vladimir
Mary,

Is 6864420 the  number of a bug here http://bugs.opensolaris.org/bugdatabase/ ?

Unfortunately I failed to find that via this number =(

 Vladimir:
 
 This had been brough up back in June.  James Lee said
 that downgrading 
 the controller firmware and he was able to boot the
 compact flash drive.
 
 I did went ahead and filed a bug against
 solaris/kernel/boot-x86 and 
 someone from that team will take a look and see
 whether they can 
 reproduce the problem and see what can be done. 
 
 6864420 - cannot boot off Kingston compact flash
 drive attached to a 
 standard Sil 0680 IDE controller

-- 
This message posted from opensolaris.org
___
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


Re: [indiana-discuss] zio_read_data failed in GRUB while trying to boot from compact flash (CF)

2009-07-25 Thread Jürgen Keil
 I am trying to get OpenSolaris 2009.06 to run from my 32 GB Kingston
 compact flash drive attached to a standard Sil 0680 IDE controller.  The
 installer detects the card and install successfully.  Upon reboot, GRUB
 rops to a grub prompt.  Any attempts to read menu.lst fail with:
 
 grub root (hd0,0,a)
 Filesystem type is zfs ...
 grub find /rpool/boot/grub/menu.lst
 zio_read_data failed
 Error 15: File not found

Not sure if this will avoid the zio_read_data failed,
but try the find command without the zpool name;
find /boot/grub/menu.lst

In a virtualbox guest / grub command line mode I see this:

grub root (hd0,0,a)
 Filesystem type is zfs ...

grub find /rpool/boot/grub/menu.lst
Error 15: File not found

grub find /boot/grub/menu.lst
(hd0,0,a)
-- 
This message posted from opensolaris.org
___
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


Re: [indiana-discuss] zio_read_data failed in GRUB while trying to boot from compact flash (CF)

2009-07-25 Thread Alan Coopersmith
Vladimir wrote:
 Mary,
 
 Is 6864420 the  number of a bug here http://bugs.opensolaris.org/bugdatabase/ 
 ?
 
 Unfortunately I failed to find that via this number =(

Yes, but it was filed yesterday afternoon, and the external web site only
updates from the internal bug db once a day, so it hasn't been published
there yet - try again later.

-- 
-Alan Coopersmith-   alan.coopersm...@sun.com
 Sun Microsystems, Inc. - X Window System Engineering

___
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


Re: [indiana-discuss] zio_read_data failed in GRUB while trying to boot from compact flash (CF)

2009-07-24 Thread Vladimir
I've got absolutely the same problem: I installed OpenSolaris 2009.06 to 20 Gb 
partition of my 160 Gb external USB drive.

Please advise a workaround for this.
-- 
This message posted from opensolaris.org
___
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


Re: [indiana-discuss] zio_read_data failed in GRUB while trying to boot from compact flash (CF)

2009-07-24 Thread Mary Ding

Vladimir:

This had been brough up back in June.  James Lee said that downgrading 
the controller firmware and he was able to boot the compact flash drive.


I did went ahead and filed a bug against solaris/kernel/boot-x86 and 
someone from that team will take a look and see whether they can 
reproduce the problem and see what can be done. 

6864420 - cannot boot off Kingston compact flash drive attached to a 
standard Sil 0680 IDE controller




Vladimir wrote:

I've got absolutely the same problem: I installed OpenSolaris 2009.06 to 20 Gb 
partition of my 160 Gb external USB drive.

Please advise a workaround for this.
  


___
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


Re: [indiana-discuss] zio_read_data failed in GRUB while trying to boot from compact flash (CF)

2009-06-05 Thread Ethan Quach

James,

Can you try removing the 'findroot' line from menu.lst entry.

-ethan


James Lee wrote:

Joseph J VLcek wrote:
  

With rpool imported/mounted can you cat the contents of the GRUB
menu.lst file? What does it contain?

e.g.: % cat /rpool/boot/grub/menu.lst

This question should probably be posted to install-disc...@opensolaris.org

Joe




Yes, I can cat the file just fine once booted into the livecd:

  

# zpool import rpool
# cat /rpool/boot/grub/menu.lst 
splashimage /boot/grub/splash.xpm.gz

background 215ECA
timeout 30
default 0
#-- ADDED BY BOOTADM - DO NOT EDIT --
title OpenSolaris 2009.06
findroot (pool_rpool,0,a)
bootfs rpool/ROOT/opensolaris
splashimage /boot/solaris.xpm
foreground d25f00
background 115d93
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,console=graphics
module$ /platform/i86pc/$ISADIR/boot_archive
#-END BOOTADM



Unfortunately, GRUB never gets to a point where it can.

___
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
  

___
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


Re: [indiana-discuss] zio_read_data failed in GRUB while trying to boot from compact flash (CF)

2009-06-05 Thread James Lee
cindy.swearin...@sun.com wrote:
 Hi James,
 
 No answers from me, just some information.
 
 The ability to boot from a disk greater than 1 TB integrated last fall
 and this support is in the OpenSolaris 2009.06 release.
 
 I see the same zio_read_data error (boot from install okay, but not
 from the disk) in this CR:
 
 6843138 can not boot off of a 2.2TB and zfs root
 
 The root cause seems to be that the that BIOS is not reporting correct
 capacity.
 
 This CR is fixed in Nevada, build 117. If someone can get you the stage2
 binary from build 117, then we would know for sure that is bug is your
 issue.

Thanks Cindy.  I think we may be onto something with this.  I grabbed
c62013fcda99 from hg where this fix was committed and compiled GRUB.  I
installed the stages like:

# installgrub stage1 stage2 /dev/rdsk/c7d0s0

And GRUB actually loaded menu.lst and the splash image!  This is the
furthest I've gotten so far.  Unfortunately, it can't read the kernel now:

 loading '/platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,console=graphics' 
 ...
 cpu: 'GenuineIntel' family 6 model 7 step 7
 [BIOS accepted mixed-mode target setting!]
 zio_read_data failed
 
 Error 15: File not found
 
 Press any key to continue...



Back in GRUB:

 grub find /platform/i86pc/kernel/unix
 zio_read_data failed
 
 Error 15: File not found



So what would cause GRUB to be able to load /rpool/boot/grub/menu.lst
fine but not /platform/i86pc/kernel/unix?
___
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


Re: [indiana-discuss] zio_read_data failed in GRUB while trying to boot from compact flash (CF)

2009-06-05 Thread Cindy . Swearingen

Hi James,

It was as the zio error that caught my attention as I have a superficial 
understanding of GRUB/x86-based booting.


I found only two bugs with the zio error message. One was fixed and then 
6843138, which seems to describe your boot error scenario, although

without the greater than 1 TB disk factor, is fixed in a later build.

Someone more experienced will have to comment.

Cindy

James Lee wrote:

cindy.swearin...@sun.com wrote:


Hi James,

No answers from me, just some information.

The ability to boot from a disk greater than 1 TB integrated last fall
and this support is in the OpenSolaris 2009.06 release.

I see the same zio_read_data error (boot from install okay, but not
from the disk) in this CR:

6843138 can not boot off of a 2.2TB and zfs root

The root cause seems to be that the that BIOS is not reporting correct
capacity.

This CR is fixed in Nevada, build 117. If someone can get you the stage2
binary from build 117, then we would know for sure that is bug is your
issue.



Thanks Cindy.  I think we may be onto something with this.  I grabbed
c62013fcda99 from hg where this fix was committed and compiled GRUB.  I
installed the stages like:

# installgrub stage1 stage2 /dev/rdsk/c7d0s0

And GRUB actually loaded menu.lst and the splash image!  This is the
furthest I've gotten so far.  Unfortunately, it can't read the kernel now:



loading '/platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,console=graphics' 
...
cpu: 'GenuineIntel' family 6 model 7 step 7
[BIOS accepted mixed-mode target setting!]
zio_read_data failed

Error 15: File not found

Press any key to continue...





Back in GRUB:



grub find /platform/i86pc/kernel/unix
zio_read_data failed

Error 15: File not found





So what would cause GRUB to be able to load /rpool/boot/grub/menu.lst
fine but not /platform/i86pc/kernel/unix?
___
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

___
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


[indiana-discuss] zio_read_data failed in GRUB while trying to boot from compact flash (CF)

2009-06-04 Thread James Lee
I am trying to get OpenSolaris 2009.06 to run from my 32 GB Kingston
compact flash drive attached to a standard Sil 0680 IDE controller.  The
installer detects the card and install successfully.  Upon reboot, GRUB
drops to a grub prompt.  Any attempts to read menu.lst fail with:

grub root (hd0,0,a)
Filesystem type is zfs ...
grub find /rpool/boot/grub/menu.lst
zio_read_data failed
Error 15: File not found


However, I have no problem importing/mounting rpool from the livecd and
it scrubs fine:

 # zpool status
   pool: rpool
  state: ONLINE
  scrub: scrub completed after 0h20m with 0 errors on Thu Jun  4 03:48:38 2009
 config:
 
 NAMESTATE READ WRITE CKSUM
 rpool   ONLINE   0 0 0
   c7d0s0ONLINE   0 0 0

 errors: No known data errors


Here's the zdb output if it helps:

 # zdb
 rpool
 version=14
 name='rpool'
 state=0
 txg=2260
 pool_guid=1956317138649872688
 hostid=4513662
 hostname='opensolaris'
 vdev_tree
 type='root'
 id=0
 guid=1956317138649872688
 children[0]
 type='disk'
 id=0
 guid=3886586958467541694
 path='/dev/dsk/c7d0s0'
 
 devid='id1,c...@aelite_pro_cf_card_32gb=200812051b70/a'
 
 phys_path='/p...@0,0/pci8086,2...@1e/pci-...@0/i...@0/c...@0,0:a'
 whole_disk=0
 metaslab_array=23
 metaslab_shift=28
 ashift=9
 asize=31975014400
 is_log=0
 DTL=85


Any idea why this would fail in GRUB but work when booted from a livecd?
 Thanks.
___
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


Re: [indiana-discuss] zio_read_data failed in GRUB while trying to boot from compact flash (CF)

2009-06-04 Thread Joseph J VLcek

James Lee wrote:

I am trying to get OpenSolaris 2009.06 to run from my 32 GB Kingston
compact flash drive attached to a standard Sil 0680 IDE controller.  The
installer detects the card and install successfully.  Upon reboot, GRUB
drops to a grub prompt.  Any attempts to read menu.lst fail with:

grub root (hd0,0,a)
Filesystem type is zfs ...
grub find /rpool/boot/grub/menu.lst
zio_read_data failed
Error 15: File not found


However, I have no problem importing/mounting rpool from the livecd and
it scrubs fine:


# zpool status
  pool: rpool
 state: ONLINE
 scrub: scrub completed after 0h20m with 0 errors on Thu Jun  4 03:48:38 2009
config:

NAMESTATE READ WRITE CKSUM
rpool   ONLINE   0 0 0
  c7d0s0ONLINE   0 0 0

errors: No known data errors



Here's the zdb output if it helps:


# zdb
rpool
version=14
name='rpool'
state=0
txg=2260
pool_guid=1956317138649872688
hostid=4513662
hostname='opensolaris'
vdev_tree
type='root'
id=0
guid=1956317138649872688
children[0]
type='disk'
id=0
guid=3886586958467541694
path='/dev/dsk/c7d0s0'
devid='id1,c...@aelite_pro_cf_card_32gb=200812051b70/a'

phys_path='/p...@0,0/pci8086,2...@1e/pci-...@0/i...@0/c...@0,0:a'
whole_disk=0
metaslab_array=23
metaslab_shift=28
ashift=9
asize=31975014400
is_log=0
DTL=85



Any idea why this would fail in GRUB but work when booted from a livecd?
 Thanks.
___
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss




With rpool imported/mounted can you cat the contents of the GRUB 
menu.lst file? What does it contain?


e.g.: % cat /rpool/boot/grub/menu.lst

This question should probably be posted to install-disc...@opensolaris.org

Joe



___
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


Re: [indiana-discuss] zio_read_data failed in GRUB while trying to boot from compact flash (CF)

2009-06-04 Thread James Lee
Joseph J VLcek wrote:
 With rpool imported/mounted can you cat the contents of the GRUB
 menu.lst file? What does it contain?
 
 e.g.: % cat /rpool/boot/grub/menu.lst
 
 This question should probably be posted to install-disc...@opensolaris.org
 
 Joe


Yes, I can cat the file just fine once booted into the livecd:

 # zpool import rpool
 # cat /rpool/boot/grub/menu.lst 
 splashimage /boot/grub/splash.xpm.gz
 background 215ECA
 timeout 30
 default 0
 #-- ADDED BY BOOTADM - DO NOT EDIT --
 title OpenSolaris 2009.06
 findroot (pool_rpool,0,a)
 bootfs rpool/ROOT/opensolaris
 splashimage /boot/solaris.xpm
 foreground d25f00
 background 115d93
 kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,console=graphics
 module$ /platform/i86pc/$ISADIR/boot_archive
 #-END BOOTADM

Unfortunately, GRUB never gets to a point where it can.

___
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


Re: [indiana-discuss] zio_read_data failed in GRUB while trying to boot from compact flash (CF)

2009-06-04 Thread Cindy . Swearingen

Hi James,

No answers from me, just some information.

The ability to boot from a disk greater than 1 TB integrated last fall 
and this support is in the OpenSolaris 2009.06 release.


I see the same zio_read_data error (boot from install okay, but not
from the disk) in this CR:

6843138 can not boot off of a 2.2TB and zfs root

The root cause seems to be that the that BIOS is not reporting correct
capacity.

This CR is fixed in Nevada, build 117. If someone can get you the stage2 
binary from build 117, then we would know for sure that is bug is your

issue.

Cindy

James Lee wrote:

Joseph J VLcek wrote:


With rpool imported/mounted can you cat the contents of the GRUB
menu.lst file? What does it contain?

e.g.: % cat /rpool/boot/grub/menu.lst

This question should probably be posted to install-disc...@opensolaris.org

Joe




Yes, I can cat the file just fine once booted into the livecd:



# zpool import rpool
# cat /rpool/boot/grub/menu.lst 
splashimage /boot/grub/splash.xpm.gz

background 215ECA
timeout 30
default 0
#-- ADDED BY BOOTADM - DO NOT EDIT --
title OpenSolaris 2009.06
findroot (pool_rpool,0,a)
bootfs rpool/ROOT/opensolaris
splashimage /boot/solaris.xpm
foreground d25f00
background 115d93
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,console=graphics
module$ /platform/i86pc/$ISADIR/boot_archive
#-END BOOTADM



Unfortunately, GRUB never gets to a point where it can.

___
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

___
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


Re: [indiana-discuss] zio_read_data failed in GRUB while trying to boot from compact flash (CF)

2009-06-04 Thread Joseph J VLcek

James Lee wrote:

Joseph J VLcek wrote:

With rpool imported/mounted can you cat the contents of the GRUB
menu.lst file? What does it contain?

e.g.: % cat /rpool/boot/grub/menu.lst

This question should probably be posted to install-disc...@opensolaris.org

Joe



Yes, I can cat the file just fine once booted into the livecd:


# zpool import rpool
# cat /rpool/boot/grub/menu.lst 
splashimage /boot/grub/splash.xpm.gz

background 215ECA
timeout 30
default 0
#-- ADDED BY BOOTADM - DO NOT EDIT --
title OpenSolaris 2009.06
findroot (pool_rpool,0,a)
bootfs rpool/ROOT/opensolaris
splashimage /boot/solaris.xpm
foreground d25f00
background 115d93
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,console=graphics
module$ /platform/i86pc/$ISADIR/boot_archive
#-END BOOTADM


Unfortunately, GRUB never gets to a point where it can.



What was in /tmp/install_log after the install but before the reboot? 
Were there any errors?


If there are errors you could enter a new bug report at: 
http://defect.opensolaris.org/bz/


Development/Installer
Component: gui (If you are using the GUI)

Please attach the Install log.

Joe




___
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


Re: [indiana-discuss] zio_read_data failed in GRUB while trying to boot from compact flash (CF)

2009-06-04 Thread Dave Miner

James Lee wrote:

I am trying to get OpenSolaris 2009.06 to run from my 32 GB Kingston
compact flash drive attached to a standard Sil 0680 IDE controller.  The
installer detects the card and install successfully.  Upon reboot, GRUB
drops to a grub prompt.  Any attempts to read menu.lst fail with:

grub root (hd0,0,a)
Filesystem type is zfs ...
grub find /rpool/boot/grub/menu.lst
zio_read_data failed
Error 15: File not found


However, I have no problem importing/mounting rpool from the livecd and
it scrubs fine:


...



Any idea why this would fail in GRUB but work when booted from a livecd?


You didn't by chance turn on gzip-compression for the file systems on 
this, did you?


Dave
___
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


Re: [indiana-discuss] zio_read_data failed in GRUB while trying to boot from compact flash (CF)

2009-06-04 Thread James Lee
Dave Miner wrote:
 You didn't by chance turn on gzip-compression for the file systems on
 this, did you?
 
 Dave

No.  I'm not using any compression.

___
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss