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 Sun 26 Oct 2014, 00:46
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
WakePup2 for Puppy 2.x and greater (NOW WITH more SUPPORT)
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 3 of 7 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6, 7 Next
Author Message
PaulBx1

Joined: 16 Jun 2006
Posts: 2308
Location: Wyoming, USA

PostPosted: Thu 19 Jul 2007, 22:35    Post_subject:  

I posted a candidate fix for my hang issue on the 217B thread, but was not able to test it because of other issues I don't understand. Maybe the old edit-initrd script I have is out of date. John, how do you edit an initrd.gz?
Back to top
View user's profile Send_private_message 
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: Thu 19 Jul 2007, 23:46    Post_subject:  

Here give this one a try with RC1

*edit- deleted attachment, nevermind my initrd.gz didn't work.

BK is going to have to do it.

he could just post the new initrd.gz for you to test since you are using USB and Floppy.
Back to top
View user's profile Send_private_message 
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: Fri 20 Jul 2007, 13:33    Post_subject:  

John Doe wrote:
BK is going to have to do it.


actually, now that unleashed 2.17 is out i can do it.

give this one a test (it's 2.17 final).
initrd.gz
Description 
gz

 Download 
Filename  initrd.gz 
Filesize  949.26 KB 
Downloaded  471 Time(s) 

Edited_time_total
Back to top
View user's profile Send_private_message 
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: Fri 20 Jul 2007, 18:26    Post_subject:  

just wanted to mention i checked with that code and was able to boot in all manners i've previous attempted over here.

no adverse effects to current function.

if it works over there, it's golden.
Back to top
View user's profile Send_private_message 
PaulBx1

Joined: 16 Jun 2006
Posts: 2308
Location: Wyoming, USA

PostPosted: Sat 21 Jul 2007, 00:54    Post_subject:  

I booted with it, and it worked no differently. I then looked at /initrd/sbin/init and found that usbstoragecompletionfunc was the standard one, not the one that I modified. So it looks like this is the same initrd.gz as the standard one. Smile
Back to top
View user's profile Send_private_message 
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: Sat 21 Jul 2007, 01:22    Post_subject:  

I edited the wrong init in initrd-tree. There used to be a symlink in the root and now it's a file. I thought they moved it and edited the wrong one (it didn't even make it into the image, but the bakup i made did).

I edited the attachment above, please try again.

I'll have to redo my testing now also Rolling Eyes
Back to top
View user's profile Send_private_message 
PaulBx1

Joined: 16 Jun 2006
Posts: 2308
Location: Wyoming, USA

PostPosted: Sat 21 Jul 2007, 11:22    Post_subject:  

OK, with the new initrd.gz it does timeout properly in 50 sec (printing out 1 2 3 4... as it goes). Of course shortly afterward it dumps me at the command promt, saying something about gurus being able to troubleshoot. It also said it found no usb devices.

So anyway, I think that rearrangement of usbstoragecompletionfunc is correct.

As to what's wrong with the wakepup2? I think it needs also the boot parameter "pfix=usbcard". When I boot from CD and use "puppy pfix=usbcard pmedia=usbflash", it does boot up properly (that's how I'm booted now). Wakepup2 does detect the device when it is out on the pcmcia card. Is there a way for it to know that the USB where the device is, is generated from a pcmcia card?

Another thing you could do, if the above is not possible, is just allow the user to tack on a parameter manually. Another menu entry would do it. That's not as user-friendly, of course.
Back to top
View user's profile Send_private_message 
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: Sun 22 Jul 2007, 02:17    Post_subject:  

update is here:

http://www.murga-linux.com/puppy/viewtopic.php?p=122924#122924

PaulBx1 wrote:
So anyway, I think that rearrangement of usbstoragecompletionfunc is correct.


cool. did a couple tests here and all looks well so far.

PaulBx1 wrote:
As to what's wrong with the wakepup2? I think it needs also the boot parameter "pfix=usbcard".


JD: *slaps self on forehead*!

i've only seen that on the screen about 40000 times in the past year, thanks for making the connection...

i added an item under custom at the end after the first pfix dialog to turn that on. it plays nice with the previous dialog.

thanks for rounding this off with me for everyone.
Back to top
View user's profile Send_private_message 
PaulBx1

Joined: 16 Jun 2006
Posts: 2308
Location: Wyoming, USA

PostPosted: Sun 22 Jul 2007, 09:17    Post_subject:  

John, your md5sum there is wrong.

I take it, from the way you described the implementation, that there is no way for the program to automatically put that boot parameter in if the device is on a pcmcia card. Too bad...

For what it's worth, that rearrangement of the usbstoragecompletionfunc has the effect of reducing the timeout by one second. No big deal when invoked with a 50-sec timeout, but when called with smaller timeouts the reduction may become significant. So, the calls of this routine should be examined to see if you want to boost the timeout parameter.
Back to top
View user's profile Send_private_message 
PaulBx1

Joined: 16 Jun 2006
Posts: 2308
Location: Wyoming, USA

PostPosted: Wed 25 Jul 2007, 21:23    Post_subject:  

John, any update on this?
Back to top
View user's profile Send_private_message 
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: Thu 26 Jul 2007, 02:53    Post_subject:  

thanks for the bump, sorry on the delay.

PaulBx1 wrote:
John, your md5sum there is wrong.


thanks. try again (it's updated). i got burnt out and frustrated on it so i went out and picked some mushrooms and got a fishing license to clear my head.

PaulBx1 wrote:
For what it's worth, that rearrangement of the usbstoragecompletionfunc...


thanks (i'll have to actually look at it sometime). i just tested for problems on my machine configurations and didnt' find any.
Back to top
View user's profile Send_private_message 
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: Thu 26 Jul 2007, 03:03    Post_subject:  

PaulBx1 wrote:
I take it, from the way you described the implementation, that there is no way for the program to automatically put that boot parameter in if the device is on a pcmcia card. Too bad...


perhaps i explained wrong or didn't understand my options at the time.

it should work now for anyone...

one must use "Custom" under 'boot mode'. assuming that usbflash is chosen for the user as "Boot Media". one may need to select 6 first to change the "Boot Media" and then choose "Custom" under 'boot mode'.

let me know how it goes.
Back to top
View user's profile Send_private_message 
PaulBx1

Joined: 16 Jun 2006
Posts: 2308
Location: Wyoming, USA

PostPosted: Thu 26 Jul 2007, 11:15    Post_subject:  

Didn't work.

My flash boots fine on the 1.1 port using "Normal". When I plug it into the 2.0 port on the card, it doesn't matter if I use "Normal", or "Custom" with the usbcard parameter; the result is the same. It prints out "Kernel command line:", prints out the line it's going to use, then hangs there with the flash drive being accessed forever (flashing LED). Adding all the debug switches doesn't add any more info.

The md5sum checks out now, for what it's worth.

Sorry John.

BTW if I were you I'd put the question about the usbcard earlier than the debug questions, so it is in line with all those other questions such as apic. In fact I wonder if it can be combined with the "nopcmcia" question? I.e., "1=Normal (load pcmcia drivers, no pfix=usbcard switch", "2=nopcmcia (load no pcmcia drivers, no pfix=usbcard switch", "3=usbcard (load pcmcia drivers, pfix=usbcard" with a note explaining the distinction between the two (which to be honest, I don't understand either!) Just a suggestion...
Back to top
View user's profile Send_private_message 
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: Sat 28 Jul 2007, 00:17    Post_subject:  

i'm going to try and wrap this up tomorrow afternoon.

i think i need to dig up a new floppy and start over, as it seems i corrupted a driver along the way with a bad read or something.
Back to top
View user's profile Send_private_message 
Philh

Joined: 17 May 2006
Posts: 100
Location: England

PostPosted: Sat 28 Jul 2007, 07:11    Post_subject:  

Some more info
I just tried out a usbhd (usb to ide) on a usb1 port, and it hangs
loading Adaptec v4.01b ASPI disk driver.
But if I comment out the device=A:\driver\usb\USBASPI.SYS /v
leaving aspiuhci.sys in
then it boots up ok.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 3 of 7 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6, 7 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
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.0770s ][ Queries: 13 (0.0053s) ][ GZIP on ]