Opened 14 years ago

Closed 11 years ago

#7713 closed bug (duplicate)

System freeze on installoptionalpackage.

Reported by: jonas.kirilla Owned by: mmu_man
Priority: normal Milestone: R1
Component: Drivers/Audio/OpenSound Version: R1/Development
Keywords: Cc:
Blocked By: #6849 Blocking:
Platform: All

Description

I've had four full system lockups when asking 'installoptionalpackage' to install all of the available packages. (I just copy-paste the list of uninstalled packages.) It downloads a bunch of packages okay, and then usually hangs on the Paladin package.

So I looked at the syslog, did some checkfs on another partition (unclean, since it hung) then entered KDL to have a look at the interrupts. Int 0 and 2 are turned off due to unhandled interrupts. See attached file.

I don't know if the ints look okay or not. Reporting just in case.

This is with the R1A3-RC (hrev42211) on a quad i5.

Attachments (1)

syslog-excerpt_interrupts.txt (6.5 KB ) - added by jonas.kirilla 14 years ago.

Download all attachments as: .zip

Change History (6)

by jonas.kirilla, 14 years ago

comment:1 by mmadia, 14 years ago

Could the system be hanging on the installation of OpenSound?

For me, upon installation of it, serial debug & syslog captures this

KERN: driver "oss_loader" added
KERN: driver "audio" added
KERN: driver "oss" added
KERN: driver "oss_loader" added
KERN: driver "oss_loader" removed
KERN: driver "oss_loader" added
KERN: oss_load_options(): oss_core
KERN: oss:init_osscore: 0x00000000
KERN: oss: matching pci 10de,03f0
KERN: oss_load_options(): oss_hdaudio
KERN: add_memory_type_range(265482, 0xdde78000, 0x4000, 0)
KERN: set MTRRs to:
KERN:   mtrr:  0: base: 0xbffc0000, size:    0x40000, type: 0
KERN:   mtrr:  1: base: 0xd0000000, size: 0x10000000, type: 0
KERN:   mtrr:  2: base: 0xe0000000, size: 0x20000000, type: 0
KERN:   mtrr:  3: base:  0x9200000, size:   0x100000, type: 1
KERN:   mtrr:  4: base: 0xc0000000, size: 0x40000000, type: 1
KERN: install_io_interrupt_handler (22, 0x805b430c, 0x8b075028, 0) = 0x00000000
KERN: oss_contig_malloc: area 265483 @ va 0x81eff000, pa 0x0f04d000, sz 4096
KERN: oss_contig_malloc: area 265484 @ va 0x80702000, pa 0x12dac000, sz 4096
KERN: oss_contig_malloc: area 265485 @ va 0x80703000, pa 0x141ce000, sz 4096
KERN: oss_contig_malloc: area 265486 @ va 0x81a7f000, pa 0x14263000, sz 4096
KERN: oss_contig_malloc: area 265487 @ va 0x81a80000, pa 0x15d3c000, sz 4096
KERN: oss_contig_malloc: area 265488 @ va 0x81a81000, pa 0x161ea000, sz 4096
KERN: oss_contig_malloc: area 265489 @ va 0x81a82000, pa 0x18d88000, sz 4096
KERN: oss_contig_malloc: area 265490 @ va 0x80708000, pa 0x194ff000, sz 4096
KERN: oss_contig_malloc: area 265491 @ va 0x80709000, pa 0x1a5c8000, sz 4096
KERN: oss_contig_malloc: area 265492 @ va 0x8070a000, pa 0x1a5cb000, sz 4096
KERN: oss_contig_malloc: area 265493 @ va 0x8070b000, pa 0x1b61e000, sz 4096
KERN: Could not load kernel add-on "/boot/home/config/add-ons/kernel/drivers/dev/audio": Is a directory
KERN: Could not load kernel add-on "/boot/home/config/add-ons/kernel/drivers/dev/oss": Is a directory
KERN: devfs: reload driver "oss_loader" (3, 3678757)
KERN: remove_io_interrupt_handler (22, 0x805b430c, 0x8b075028)
KERN: remove_memory_type_range(265482, 0xdde78000, 0x4000, 0)
KERN: set MTRRs to:
KERN:   mtrr:  0: base: 0xbffc0000, size:    0x40000, type: 0
KERN:   mtrr:  1: base: 0xd0000000, size: 0x10000000, type: 0
KERN:   mtrr:  2: base: 0xe0000000, size: 0x20000000, type: 0
KERN:   mtrr:  3: base:  0x9200000, size:   0x100000, type: 1
KERN:   mtrr:  4: base: 0xc0000000, size: 0x40000000, type: 1
KERN: oss: 0 irq handlers left
KERN: oss:uninit_osscore: 0x00000000
KERN: oss_load_options(): oss_core
KERN: oss:init_osscore: 0x00000000
KERN: oss: matching pci 10de,03f0
KERN: oss_load_options(): oss_hdaudio
KERN: add_memory_type_range(265500, 0xdde78000, 0x4000, 0)
KERN: set MTRRs to:
KERN:   mtrr:  0: base: 0xbffc0000, size:    0x40000, type: 0
KERN:   mtrr:  1: base: 0xd0000000, size: 0x10000000, type: 0
KERN:   mtrr:  2: base: 0xe0000000, size: 0x20000000, type: 0
KERN:   mtrr:  3: base:  0x9200000, size:   0x100000, type: 1
KERN:   mtrr:  4: base: 0xc0000000, size: 0x40000000, type: 1
KERN: install_io_interrupt_handler (22, 0x805b430c, 0x8ab426d8, 0) = 0x00000000
KERN: oss_contig_malloc: area 265501 @ va 0x81eff000, pa 0x0f04d000, sz 4096
KERN: oss_contig_malloc: area 265502 @ va 0x80702000, pa 0x12dac000, sz 4096
KERN: oss_contig_malloc: area 265503 @ va 0x80703000, pa 0x141ce000, sz 4096
KERN: oss_contig_malloc: area 265504 @ va 0x81a7f000, pa 0x14263000, sz 4096
KERN: oss_contig_malloc: area 265505 @ va 0x81a80000, pa 0x15d3c000, sz 4096
KERN: oss_contig_malloc: area 265506 @ va 0x81a81000, pa 0x161ea000, sz 4096
KERN: oss_contig_malloc: area 265507 @ va 0x81a82000, pa 0x18d88000, sz 4096
KERN: oss_contig_malloc: area 265508 @ va 0x80708000, pa 0x194ff000, sz 4096
KERN: oss_contig_malloc: area 265509 @ va 0x80709000, pa 0x1a5c8000, sz 4096
KERN: oss_contig_malloc: area 265510 @ va 0x8070a000, pa 0x1b88a000, sz 4096
KERN: oss_contig_malloc: area 265511 @ va 0x8070b000, pa 0x1b8a8000, sz 4096

comment:2 by jonas.kirilla, 14 years ago

Yup, OpenSound is the package that makes the system lock up. I guess that's expected currently. Close as invalid?

comment:3 by mmadia, 14 years ago

Component: System/KernelDrivers/Audio/OpenSound
Owner: changed from axeld to mmu_man

It's expected but not desirable. IIRC, the current OpenSound package is a bit old and doesn't handle unloading gracefully when a supported device is currently handled by a Haiku native driver.

Duplicate may be more appropriate, but I'm not sure which ticket.

in reply to:  3 comment:4 by stargatefan, 14 years ago

Replying to mmadia:

It's expected but not desirable. IIRC, the current OpenSound package is a bit old and doesn't handle unloading gracefully when a supported device is currently handled by a Haiku native driver.

Duplicate may be more appropriate, but I'm not sure which ticket.

This one I reported several months ago. https://dev.haiku-os.org/ticket/6849

comment:5 by mmadia, 11 years ago

Blocked By: 6849 added
Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.