Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 22 Dec 2014, 00:20
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Announcements
WakePup2 v0.2 - Floppy boot disk (or boot CD) for Puppy2
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 3 of 6 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6 Next
Author Message
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Sun 22 Apr 2007, 10:55    Post_subject:  

whittycat wrote:
...no ntfs...

Good, that makes things easier. FAT16 is perfect for the USB stick.

whittycat wrote:
...What is wkpup2x? Is that the same as wkpup202?

Open a:\autoexec.bat in a text editor. The second line should identify it as "wkpup2x 0.1" which is why I call it that.

Below is a screenshot of a directory listing of my stick. Never mind the other .sfs files for now--just put pup_215.sfs and zdrv_215.sfs on. Never mind the "RECYCLED" subdir that stupid Windows put there. Notice that INITRD.GZ and VMLINUZ are in uppercase. Frankly, why it won't boot if these are lowercase (even if the names in linld.cfg are also lowercase) is a mystery to me. Use Windows Explorer (or whatever it's called in XP) or Rox in Puppy to rename these two from lowercase to uppercase. Also uppercase the two marker files (you'll need PUPXUSB when you boot on usb1 using the older WakeUSB. Just copy USBFLASH.).

Ah--I forgot. You don't have linld.cfg when you first start. Create linld.cfg on the stick as a textfile (use Geany) to read like this. It is all a single line. Later you can try changeing PHOME to sdb1 or even eliminating it altogether; you might also later try acpi=on for power management; and later you can try taking out the irqpoll parameter. This, below, is a sort-of "belt-and-suspenders-safe" rendition to get you going no matter what your hardware profile:

Code:
kernel=VMLINUZ initrd=INITRD.GZ root=/dev/ram0 PMEDIA=usbflash PUPSFS=pup_215.sfs acpi=off irqpoll PHOME=sda1


...and put the stick in your first (top) usb2 port and try booting it. Let me know if a problem arises. Back in ten hours...
Windows Directory of USB install of Puppy 2.15CE Final (patched).png
 Description   Directory of Sit Heel Speak's USB stick
 Filesize   10.26 KB
 Viewed   3165 Time(s)

Windows Directory of USB install of Puppy 2.15CE Final (patched).png

Back to top
View user's profile Send_private_message 
whittycat

Joined: 20 Apr 2007
Posts: 8

PostPosted: Sun 22 Apr 2007, 11:11    Post_subject:  

Thanks for all that. It gives me quite a bit to think about, so I'll need some time. Oh, btw if I look at the files on the stick with a windows XP command window the filenames are all lower case except USBFLASH which is upper case. I'll make the changes you suggest.

whittycat
Back to top
View user's profile Send_private_message 
whittycat

Joined: 20 Apr 2007
Posts: 8

PostPosted: Sun 22 Apr 2007, 15:50    Post_subject:  

I changed the filenames and the stick now contains

Volume in drive H has no label.
Volume Serial Number is 0CC1-D1FA

Directory of H:\

21/04/2007 20:27 0 USBFLASH
06/04/2007 08:58 2,048 boot.cat
06/04/2007 08:58 960 boot.msg
06/04/2007 08:58 10,648 isolinux.bin
06/04/2007 08:58 141 isolinux.cfg
06/04/2007 08:58 116,178,944 pup_215.sfs
06/04/2007 08:58 1,751,229 VMLINUZ
06/04/2007 08:58 17,756,160 zdrv_215.sfs
22/04/2007 18:09 109 linld.cfg
06/04/2007 08:58 1,316,243 INITRD.GZ
10 File(s) 137,016,482 bytes
0 Dir(s) 366,346,240 bytes free

> to get you going no matter what your hardware profile:

Ah, if only ...

Tried this, same result. You suggested putting the stick in the top
slot so I moved the mouse out of the way and put the stick in the top
left slot at the back. Same result.

I am not sure what PHOME is doing so I tried changing this to sdc1. Same
result.

Why is that everyone in the world is walking their puppies except me?
It's not fair. Waaaa!

It seems to me that the basic problem is that the FreeDOS program
can't see the files on the stick whereas Windows can. When the
program has searched for the marker and not found one it gives you a
DOS prompt and on disk E: it finds a device but then reports 'File not
found'. It doesn't matter what is on the stick if the program can't
see any of the files. I think the matter of upper case filenames and
linld.cfg are irrelevant until this can be explained. Or is there some
other solution?

Whittycat
Back to top
View user's profile Send_private_message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Sun 22 Apr 2007, 20:43    Post_subject:  

Are you very sure that your usb port is usb2?

You are plugging straight into the port, not through an adapter or hub, right?

If you can boot Puppy or any other Linux in some other fashion (either live-CD, or copy the files pup_215.sfs, initrd.gz, and vmlinuz to c:\ and then boot using WinGrub, etc.) then I would like to see the output of the command

lsmod

issued in an rxvt terminal window. Just the lines which say something about usb will do, i.e.

lsmod | grep "usb"

Or, for that matter, if you can see the brand and model number of the Universal Serial Bus controller from Windows (e.g. Device Manager), what is it?
Back to top
View user's profile Send_private_message 
whittycat

Joined: 20 Apr 2007
Posts: 8

PostPosted: Mon 23 Apr 2007, 11:08    Post_subject:  

Pretty sure. It is plugged in to the port not via a hub.
This is lsmod | grep -i usb

usbhid 45088 0
usb_storage 87616 1
scsi_mod 152880 3 sd_mod,libata,usb_storage
ide_core 147584 4 ide_cd,usb_storage,generic,amd74xx

(which is not very useful) and /proc/bus/usb/devices includes this:

T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh=10
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.18-3-amd64 ehci_hcd
S: Product=EHCI Host Controller
S: SerialNumber=0000:00:02.1
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms

(which is the controller, seems not to have a vendor?)

T: Bus=02 Lev=01 Prnt=01 Port=09 Cnt=01 Dev#= 4 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0951 ProdID=1603 Rev= 2.00
S: Manufacturer=Kingston
S: Product=DataTraveler 2.00000001815
S: SerialNumber=0000001815
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 50mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

and this is usbtree:

/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/10p, 480M
|__ Port 10: Dev 3, If 0, Class=stor., Driver=usb-storage, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ohci_hcd/10p, 12M
|__ Port 4: Dev 2, If 0, Class=HID, Driver=usbhid, 1.5M

In autoexec.bat the command 'if exist E:\usbflash' returns nothing
which is not surprising since A:\DIR E: finds the volume but says there
are no files on it. FreeDOS does better than MSDOS which just says
'invalid drive E:'.

I looked at Wakeusb but the .iso file is bigger than 1440k.

Does it matter that the usb stick has a partition table? I started by
creating a single FAT16 partition on it.

Thank you for your patience but I think I just give up don't you?

whittycat
Back to top
View user's profile Send_private_message 
whittycat

Joined: 20 Apr 2007
Posts: 8

PostPosted: Mon 23 Apr 2007, 12:07    Post_subject:  

I wonder ... I looked at what Windows XP says about the USB controller and it says 'Standard USB host controller', again with no manufacturer. So if USB is controlled by the OS and when I boot from Freedos there is no OS present there is no USB either. Is that what the problem is?

whittycat
Back to top
View user's profile Send_private_message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Mon 23 Apr 2007, 17:36    Post_subject:  

You seem to have a problematic controller. Here is my lsmod:

Code:
sh-3.00# lsmod | grep "usb"
usbhid                 40736  0
usb_storage            83904  1
usbcore               126116  5 usbhid,usb_storage,ehci_hcd,uhci_hcd


ehci_hcd is the usb2 module, uhci_hcd and ohci_hcd are usb1.

Evidently the usb-controller-sensing code in your Linux (and therefore, I presume also in wkpup2x) fails to sense your particular usb2 controller. How new, if I may ask, is this notebook?

Plug the stick in, boot Puppy (or other Linux), and see if you can mount the stick (should be /dev/sdx, x=a if no scsi or sata drives, /dev/sda0 = /mnt/sda1).

If it won't mount, try issuing

modprobe ehci_hcd

and then try mounting again; and let me see lsmod | grep "usb" now.

If your Linux has usbview, I'd like to see a screenshot--just of the USBView window, not the whole desktop.
Back to top
View user's profile Send_private_message 
whittycat

Joined: 20 Apr 2007
Posts: 8

PostPosted: Tue 24 Apr 2007, 09:31    Post_subject:  

> You seem to have a problematic controller. Here is my lsmod:

<snip>

> ehci_hcd is the usb2 module, uhci_hcd and ohci_hcd are usb1.

ehci_hcd is loaded, it just doesn't show up with 'lsmod | grep usb'
because I do not have usbcore. There is nothing wrong with the USB 2
controller. You can see from /proc/bus/usb/devices that the stick is
on a USB port with speed 480, so it is high-speed USB2, and the module
running it is ehci_hcd.

> How new, if I may ask, is this notebook?

I should explain. What I want to do is use an old laptop, with a
faulty HD, to run a program all the time measuring the temperature of
my solar heating system. That is all it needs to do. It seemed a good
idea to run the OS from a stick and avoid the HD altogether and I am
trying it out first on my desktop PC which I built last summer round a
Mainboard NF4ST-A9 mobo which has 10 USB2 ports. The OS is Debian etch
and this works fine in all regards, including access to the Kingston
stick. I can mount it and there is no point in 'modprobe ehci_hcd'
because it is already there.

It is now clear that I cannot load Puppy or any other OS from the
stick because FreeDOS cannot see the USB port, even though there is
nothing wrong with it. I can do what I want with the laptop by
running Puppy from a CD and loading the temperature measuring program
into RAM without involving the HD so I have abandoned the stick
idea. The only way I could run Puppy from a stick is to have a BIOS
that loads from USB.

I do have usbview but it just confirms what I have said. Among other
things it says:
Manufacturer: Linux 2.6.18-3-amd64 ehci_hcd
Speed: 480Mb/s (high)

whittycat
Back to top
View user's profile Send_private_message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Tue 24 Apr 2007, 14:05    Post_subject:  

Actually not FreeDOS's fault; the usbaspi.sys which wkpup2x and wakeusb both rely on was a lucky find, a proprietary nugget found tucked away in an obscure, deep-down subdir of a Japanese-language Panasonic corporate website. That it works at all is fortuitous, a piece of serendipity. I guess you just happen to have the exact two newer and older ehci controllers on which usbaspi.sys won't work. C'est la vie, unless you have friends in Tokyo who can persuade Panasonic to update it. If you are so fortunate, please keep us informed!
Back to top
View user's profile Send_private_message 
whittycat

Joined: 20 Apr 2007
Posts: 8

PostPosted: Wed 25 Apr 2007, 17:22    Post_subject:  

I have few friends in Japan (like none) so I'll have to run puppy
linux another way. Thank you again for all your help and advice
and I wish you continuing success with wakepup development.

whittycat
Back to top
View user's profile Send_private_message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Thu 26 Apr 2007, 00:32    Post_subject:  

Actually the sole developer is pakt, I was only the original tester. The information on where usbaspi.sys comes from is not from pakt, rather I deduce it from other sources. But I could be mistaken.

One thing I should have initially suggested: the floppy disk...format it freshly in Windows before you load the .img file onto it...and at the end of the format process, make sure there are "zero bad sectors" on it. Otherwise, even if it has only 512 bytes bad, then fold it in two, throw it in the trash, and start over with another one.
Back to top
View user's profile Send_private_message 
chintue

Joined: 09 Sep 2007
Posts: 1

PostPosted: Sun 09 Sep 2007, 06:08    Post_subject: The Basics of WakePup  

Hi Guys,
I've been an amazed fan of Puppy Linux for just about a year now. When I read that you could boot from USB, I was taken aback by the flexibility of this project. Then, when I found that you could boot from USB on machines that dont have support for USB in the BIOS, I was floored.

I've spent some time looking at the WakePUP boot disk, but it really doesn't tell me a lot. I was wondering if anyone would be willing to clue me in on how it was "built" so that I can ponder the possibility of using similar approaches to boot other OSes off USB sticks on NON-Bios Supported machines.

I have a very nice laptop that happens to have non-working hard drive controller. Being able to pick and choose which USB OS I want to run would be miraculous. But, since it doesnt bios support usb, USB Puppy has been my only answer so far (no cd burner in the machine).

Thank you in advance.
Back to top
View user's profile Send_private_message 
pakt


Joined: 04 Jun 2005
Posts: 1089
Location: Sweden

PostPosted: Sun 09 Sep 2007, 12:14    Post_subject:  

chintue, I made WakePup ages ago using FreeDOS and uses, as Sit Heel Speak correctly writes, Panasonic's superb USB DOS driver, as well as other drivers, and is completely MS-free. I've also made a couple of special-purpose versions of WakePup - search the forum for the links if you're interested. If you are familiar with DOS batch programming, you should be able to figure out how WakePup works. The FreeDOS project has extended the original DOS batch language, making it much more powerful.

John Doe and others have recently begun updating WakePup. You might like to join in the discussion. Here's the link: http://www.murga-linux.com/puppy/viewtopic.php?t=19831

_________________
Testing Puppy since v0.9.2 - my desktop OS since v1.0.7
Running SlaxerPup-4.12 - Puppy with a Slackware 12.2 heart Cool
Back to top
View user's profile Send_private_message 
Inuyasha


Joined: 21 Jul 2007
Posts: 118

PostPosted: Sun 17 Feb 2008, 07:26    Post_subject: Re: Using WakePup for subdirectories  

pakt wrote:
dsulmon wrote:
I'm trying to use wakepup to launch a puppy saved in a subdirectory.

This isn't an issue with wakepup but with Puppy. Puppy can only find files that are in the top directory. However there is a thread where someone (sunburnt?) has modified Puppy to look in subdirectories. You'll have to search the forum for more info.

Paul


Does anyone have more information about that?
I have a few versions of Puppy Linux on a hard drive.
Each version is within its own partition.

_________________


Back to top
View user's profile Send_private_message 
tithen

Joined: 22 Feb 2008
Posts: 9

PostPosted: Fri 22 Feb 2008, 04:32    Post_subject:  WONT BOOT  

Sad Sad I have put wake puppy on floppy using the writeing file then i have put a the marker and iso on usb flash,usb hd, and iehd all at the same time but when i insert the floppy it says like every other time i boot boot disk does not exist but then below when ive put in floppy it says freeDOS then it just stops it deosnt freeze it just stops. ive tried taking it out and putting it back in without rebooting it just makes a clicking noise like when i used the write file but it is louder but it still doesnt work. Sad Sad

also is it possible to have a setup puppy .exe file????? Question
ITS FOR MY SISTERS LAPTOP I DONT WANT TO BREAK IT AND I DONT KNOW HOW TO BOOT FROM A FLOPPY DISK SHE WANTS IT FULLY WITHOUT WINDOWS UNLESS IF IT WILL STUFF THE COMPUTER.

THANKS Very Happy

PS IF YOU NEED PICTURES OF IT EMAIL TO timsoutbox@hotmail.com
OR
REPLY HERE[/img]
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 3 of 6 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Taking the Puppy out for a walk » Announcements
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1054s ][ Queries: 13 (0.0080s) ][ GZIP on ]