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 Sat 22 Nov 2014, 19:52
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
MUT2 buggy edition
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 4 of 5 [69 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Author Message
Jesse

Joined: 08 May 2005
Posts: 465
Location: Auckland, NZ

PostPosted: Sat 16 Feb 2008, 17:22    Post subject:  

Hi nic2109 & Everitt,

Thanks for the logs, the reason that MUT2 is not showing a hardware list on Dingo, is that the background server is crashing.
From Everitts log:

1203141345.887: DEBUG: TH080F6830 read cmd stat
1203141345.887: DEBUG: TH080F6830 COMMANDS:for sdb
1203141345.887: ERROR: TH080F6830 received SIGSEGV handler
1203141345.887: ERROR: TH080F6830 Unable to free ptr 0X80F97F8 as its not in the list. lib/backtrace.c:64
1203141345.887: ERROR: TH080F6830 Signal 11, Backtrace: [0x8048225][0x8056b49][0x8056bd9][0xffffe420][0x80562e7][0x805662a][0x8056a85][0x804995e][0x804aa6f][0x80689ea][0x8048131]
1203141345.887: BEGINEND: TH080F6830

I quickly tried to use Dingo edition 395, but at boot time with pfix=ram it compained that it could not find pup_395.sfs.
I had a quick look at Dingo from its command line shell and it is certainly using the new /dev/sd nodes for IDE drives, so that is quite a restructure, this must be what is triggering the bug in MUT2.
Also the mut client is not realising that the server connection is being dropped at an inappropriate moment, so this is another bug too.
You guys are great bug spotters! I'll fix these issues up at some point soon, I'm off to watch the motorcycle racing in Paeroa today, there might be some time tonight when I get back to fix up the bugs you spotted.

Jesse
Back to top
View user's profile Send private message 
Jesse

Joined: 08 May 2005
Posts: 465
Location: Auckland, NZ

PostPosted: Sun 17 Feb 2008, 08:27    Post subject:  

I've posted some updates that I managed to get done this weekend.
Some tweaks to cd drive ioctl (commands) useage.
Added in swapon/swapoff.
http://www.murga-linux.com/puppy/viewtopic.php?t=26336

Has anyone out there that has an internal SD card (non-USB variety) found it accessible via MUT2? I don't have one to try with. MUT2 doesn't load the drivers for it at this stage, you'll have to do that manually.

Jesse
Back to top
View user's profile Send private message 
Jesse

Joined: 08 May 2005
Posts: 465
Location: Auckland, NZ

PostPosted: Mon 18 Feb 2008, 01:31    Post subject:  

Hi Wolf Pup,

Theres were a few cd-control command doubleups that weren't needed that I've removed in latest edition.
can you please check to see if audio pauses are fixed with mut2_1.0.0.1079?

Thanks,
Jesse
Back to top
View user's profile Send private message 
JB4x4

Joined: 30 Jul 2006
Posts: 256

PostPosted: Mon 18 Feb 2008, 07:06    Post subject:  

Jesse,

I tested your latest MUT (mut2_1.0.0.1079), and am happy to report the CD/DVD eject and close now work. One thing though, it seems to "double" the name of the drive (see pic below). The text runs over the ReScan button.

JB
mut2-pic.png
 Description   
 Filesize   50.85 KB
 Viewed   501 Time(s)

mut2-pic.png

Back to top
View user's profile Send private message Yahoo Messenger 
Jesse

Joined: 08 May 2005
Posts: 465
Location: Auckland, NZ

PostPosted: Tue 19 Feb 2008, 09:01    Post subject:  

Hi JB,

That is odd.
Although theres a bit more data in the middle.

I figured it out. The revision ID is 8 bytes for your drive, and linux defines the revision right before the model.

struct hd_driveid {
...
unsigned char fw_rev[8]; /* 0 = not_specified */
unsigned char model[40]; /* 0 = not_specified */
...
}

And that way there is no nul string terminator to stop the string copy.
They probably did that so that all 8 bytes could be used for revision, and programs calling it, like mut, would be unlikely to crash with the apparently longer string.
I've fixed up mut, I'll post another revision in a day or so.
Jesse
Back to top
View user's profile Send private message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Tue 19 Feb 2008, 13:08    Post subject:  

Hi Jesse,
Jesse wrote:
Hi Sit Heel Speak,...
..."./mut mutclient" ...
..."./mut mutclient --debug" ...
..."./mut mutclient --debug --foreground --nothreads --nofork"...

The latest (mut2_1.0.0.1079) is throwing these errors in
./mut mutclient --debug. sda is a vintage-1998 2GB Seagate SCSI drive through an old Adaptec 2940UW PCI adapter, allotted as just one reiserfs partition:

1203438987.998: DEBUG: THB5FC3B90 scan_drive_node: sda
1203438987.998: BEGINEND: THB5FC3B90 scan drives sda 8:0
1203438987.999: DEBUG: THB5FC3B90 ensure_dev_node_exists on /dev/sda 8 0
1203438987.999: ERROR: THB5FC3B90 failed to get drive info sda

About 600 lines further down, its last gasp is:

1203438988.244: VERBOSE: TH080F6830 got 1 socks need attention
1203438988.244: DEBUG: TH080F6830 read cmd stat
1203438988.244: DEBUG: TH080F6830 read: <hw_list>
1203438988.244: DEBUG: TH080F6830 reading a line
1203438988.244: ERROR: TH080F6830 received SIGSEGV handler
1203438988.244: ERROR: TH080F6830 Unable to free ptr 0X80FCD48 as its not in the list. lib/backtrace.c:64
1203438988.244: ERROR: TH080F6830 Signal 11, Backtrace: [0x8048225][0x8057191][0x8057221][0xffffe420][0x805692f][0x8056c72][0x8057084][0x80570ba][0x8055277][0x8048ab3][0x8049e6a][0x804aaa3][0x806901a][0x8048131]
1203438988.244: BEGINEND: TH080F6830
1203438988.254: DEBUG: TH080F6830 finished reading <hw_list>
1203438988.254: DEBUG: TH080F6830 hw ctx got.
1203438988.254: BEGINEND: TH080F6830
1203438988.254: ERROR: TH080F6830 DriveContext no pointer? meaning no drives?
1203438988.254: INFO: TH080F6830 main exit code:0
#

I can send you the entire debug output, if you or someone will clue me in on how to enlarge the xterm/rxvt scrollback buffer. Simply piping to debug.txt doesn't work, I copied-and-pasted from the scrollback. If memory serves, at the time I originally set this Puppy up I enlarged it, but have forgotten how...

HTH, SHS

Last edited by Sit Heel Speak on Tue 19 Feb 2008, 13:26; edited 1 time in total
Back to top
View user's profile Send private message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Tue 19 Feb 2008, 13:26    Post subject:  

I've noticed another quirk of Puppy 4's new treatment of hdxn partitions as sdxn: Sabayon Gentoo 1.1 PE, which also uses only sdxn, puts the SCSI drive at the top of the chain as sda. Dingo puts it at the bottom, on my system sdd. I don't know whether this is liable to get us into trouble or not.

(the above debug listing is from Puppy 2.17-1, wherein the scsi drive is sda)
Back to top
View user's profile Send private message 
nic2109

Joined: 01 Jan 2007
Posts: 406
Location: Hayslope, near Middlemarch, Midlands, England

PostPosted: Tue 19 Feb 2008, 17:42    Post subject:  

Sit Heel Speak wrote:
Hi Jesse,
Jesse wrote:
Hi Sit Heel Speak,...
..."./mut mutclient" ...
..."./mut mutclient --debug" ...
..."./mut mutclient --debug --foreground --nothreads --nofork"...
Simply piping to debug.txt doesn't work,....

Hi; I found that this
Code:
 ./mut mutclient > name.of.logfile
worked for me. In other words use > rather than |.

Hope that helps.

_________________
Nick
Back to top
View user's profile Send private message 
Jesse

Joined: 08 May 2005
Posts: 465
Location: Auckland, NZ

PostPosted: Tue 19 Feb 2008, 18:49    Post subject:  

Hi SHS,

Thats interesting.
The crash you reported has only been reported on Dingo editions so far. But for you it is happening on 2.17-1.
The only thing that is common with your system and the Dingo editions (that I am aware of) is that there is a scsi disk present.
So perhaps the bug in mut2 is related to scsi disk processing.
Putting Puppy edition aside, the crash bug seems to always happen when processing a scsi disk.
I'm not sure how to test that right at the moment, I'll think about it a little while maybe it'll come to me.

Jesse
Back to top
View user's profile Send private message 
Jesse

Joined: 08 May 2005
Posts: 465
Location: Auckland, NZ

PostPosted: Wed 20 Feb 2008, 20:17    Post subject: mut2 1.0.0.1109  

Hello,

I've posted a new update. 1.0.0.1109
Some tweaks to cd drive ioctl (commands) useage.
gui window position is saved/restored
Cd disk size added.
Fix hard disk fw revision (JB4x4 bug)
http://www.murga-linux.com/puppy/viewtopic.php?t=26336

All the cdrom controls are finally all working on my PC, be sure to let me know if you have any quirks.

Jesse
Back to top
View user's profile Send private message 
Jesse

Joined: 08 May 2005
Posts: 465
Location: Auckland, NZ

PostPosted: Thu 21 Feb 2008, 09:58    Post subject:  Whoopeee!! its song and dance time, well sort of :)  

Hello,

Ahem! I don't know how kosher this is, but here is mut looking just like pmount (left), running next to pmount (right), all in Dingo alpha 6, running on another computer I have that usually only gets to play DVDs.
This is mut2_1.0.0.1130, minor hacked pmount included.
The Pmount script is different!! please don't install it over your existing Pmount script, unless you make a backup etc... You'll need to put the mut file next to it if you do install it.
This should save the issues of installing tcl/tk for those Dingo testers.

SCSI disks work with this edition of mut2.
Floppy disks are still rattling about with 1130.

Jesse
dingo.png
 Description   
 Filesize   127.81 KB
 Viewed   409 Time(s)

dingo.png

Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 2348
Location: New Zealand

PostPosted: Thu 21 Feb 2008, 10:10    Post subject:  

the mutclient frontend UI wiak idea rip
Back to top
View user's profile Send private message Visit poster's website 
Jesse

Joined: 08 May 2005
Posts: 465
Location: Auckland, NZ

PostPosted: Thu 21 Feb 2008, 10:26    Post subject:  

Hi mcewanw,
Don't write off your idea already, pmount doesn't have eject buttons for the CDs, its doesn't have everything, neither does mut2s tcl/tk gui. If you check through the history of the two, there are elements of each that different people adore, perhaps there is a better soloution to gui out there that you can make happen?
Jesse
Back to top
View user's profile Send private message 
Wolf Pup

Joined: 27 Apr 2006
Posts: 637

PostPosted: Fri 22 Feb 2008, 14:20    Post subject:  

Jesse wrote:
Hi Wolf Pup,

Theres were a few cd-control command doubleups that weren't needed that I've removed in latest edition.
can you please check to see if audio pauses are fixed with mut2_1.0.0.1079?

Thanks,
Jesse


mut2_1.0.0.1130 does not freeze up puppy anymore, but when play is clicked in MUT2, there is no music played.

_________________

Visit The Repository - Helpful and hard-to-find treats for Puppy 3.
Click Here for Puppy Support Chat, + Helpful Links.
Back to top
View user's profile Send private message 
steevieb


Joined: 30 Dec 2006
Posts: 288
Location: Poole, Dorset. UK

PostPosted: Fri 22 Feb 2008, 16:28    Post subject:  

I was getting the same errors as SHS but latest MUT2 (1.0.0.1130) working with LHP215.
Rebooted with LHP301 and working as well, except sda,b,c,d are now sde,f,g,h. Minor problem, as this means the 3 series is now usable for me. Very Happy
And Pmount is detecting all drives for the first time. These are scsi2/scsi3 drives.

LHP215
drive|0|0|sda|sda|8|0|0|0|disk|BB00911CA0|3B07|COMPAQ|sym53c8xx|scsi|scsi|||
LHP301
drive|0|0|sde|sde|8|64|0|0|disk|BB00911CA0|3B07|COMPAQ|sym53c8xx|scsi|scsi|||
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 4 of 5 [69 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0975s ][ Queries: 12 (0.0128s) ][ GZIP on ]