2.14 beta SATA drive problem (solved)

Please post any bugs you have found
Post Reply
Message
Author
kirk
Posts: 1553
Joined: Fri 11 Nov 2005, 19:04
Location: florida

2.14 beta SATA drive problem (solved)

#1 Post by kirk »

When booting from CD and your pup_save file is on a SATA drive, PUPMODE is set to 13 instead of 12. Here's my PUPSTATE:

PUPMODE=13
PDEV1='hdc'
DEV1FS='iso9660'
PUPSFS='pup_214.sfs'
PUPSAVE='ext3,sda4,/pup_save.2fs'
PMEDIA='idecd'
SATADRIVES='sda '
#these directories are unionfs layers in /initrd...
SAVE_LAYER='/pup_ro1'
PUP_LAYER='/pup_ro2'
ZDRV='iso9660,hdc,/zdrv_214.sfs'

Here's some history:

http://www.murga-linux.com/puppy/viewto ... 63&t=14054
Last edited by kirk on Tue 20 Feb 2007, 02:25, edited 1 time in total.

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#2 Post by BarryK »

Okay, I'll examine the logic of how PUPMODE variable is assigned in
that case, see if I can fix it.

kirk
Posts: 1553
Joined: Fri 11 Nov 2005, 19:04
Location: florida

#3 Post by kirk »

Fixed in 2.14 . Thanks Barry!

The Alchemist
Posts: 9
Joined: Sun 18 Feb 2007, 13:22

#4 Post by The Alchemist »

This bug is back in 2.16....

The Alc

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#5 Post by BarryK »

Dougal, with help of others, did figure out how to distinguish between a USB Flash and hard drive, I think it is a 'removable' flag -- Dougal can confirm this.
Anyway, it is not implemented in 2.16. If the differentiation between the two types is consistent when I get to test on some more hardware, I am targetting to include in 2.17. So then it should finally work right, 12 instead of 13.

If I recall rightly, Dougal found this 'removable' flag in /sys, which currently is not mounted in the initrd. So, I wonder if the same info is available in /proc?
My mind was not focussed, been sitting in front of this screen too long today. I posted the above, but it has nothing to do with this thread.
Puppy is able to detect which drives are SATA at bootup, so should be able to bootup with PUPMODE=12. Something went wrong with the logic between 2.14 and 2.16. I'll check it out.

The Alchemist
Posts: 9
Joined: Sun 18 Feb 2007, 13:22

#6 Post by The Alchemist »

This bug is still in 2.17...

Post Reply