[request-sponsor] 6766845: Tecra S1: ata0 timeout: abort request errors for PATA HDD ...

2008-11-04 Thread Jürgen Keil
My fix for bug 6766845: Tecra S1: ata0 timeout: abort request errors for 
PATA HDD after S3 resume
needs a sponsor.

A webrev with the suggested fix can be found here:

http://cr.opensolaris.org/~jkeil/cr6766845/

My contributor agreement # is OS0003.
-- 
This message posted from opensolaris.org



[request-sponsor] 6759217: uppc: state of legacy pic must be saved / restored to support susp

2008-10-29 Thread Jürgen Keil
Btw the webrev for 6759217 also includes the fix for
6761267 pci interrupt routing entries not restored after wakeup from S3 sleep

Bug 6761267 was a problem with my initial version of the uppc S3 suspend
changes. 

Seth Goldberg wrote:

I'll sponsor you.
 --S
 
 Quoting J?rgen Keil, who wrote the following on Tue, 28 Oct 2008:
 
  My fix for bug 6759217: uppc: state of legacy pic must be saved / restored 
  to support suspend to ram
  needs a sponsor.
 
  A webrev with the suggested fix can be found here:
 
  http://cr.opensolaris.org/~jkeil/cr6759217/
 
  My contributor agreement # is OS0003.
  -- 
  This message posted from opensolaris.org
  ___
  request-sponsor mailing list
  request-sponsor at opensolaris.org
 
 ___
 request-sponsor mailing list
 request-sponsor at opensolaris.org
-- 
This message posted from opensolaris.org



[request-sponsor] 6759202 ata: S3 suspend to ram hangs in pci_save_config_regs()

2008-10-28 Thread Jürgen Keil
My fix for bug 6759202 ata: S3 suspend to ram hangs in pci_save_config_regs() 
needs a sponsor.

A webrev with the suggested fix can be found here:

http://cr.opensolaris.org/~jkeil/cr6759202/

My contributor agreement # is OS0003.
-- 
This message posted from opensolaris.org



[request-sponsor] 6759210: uhci: suspend to ram on Toshiba Tecra S1 hangs in uhci_cpr_suspend

2008-10-28 Thread Jürgen Keil
My fix for bug 6759210: uhci: suspend to ram on Toshiba Tecra S1 hangs in 
uhci_cpr_suspend
needs a sponsor.

A webrev with the suggested fix can be found here:

http://cr.opensolaris.org/~jkeil/cr6759210/

My contributor agreement # is OS0003.
-- 
This message posted from opensolaris.org



[request-sponsor] 6759217: uppc: state of legacy pic must be saved / restored to support susp

2008-10-28 Thread Jürgen Keil
My fix for bug 6759217: uppc: state of legacy pic must be saved / restored to 
support suspend to ram 
needs a sponsor.

A webrev with the suggested fix can be found here:

http://cr.opensolaris.org/~jkeil/cr6759217/

My contributor agreement # is OS0003.
-- 
This message posted from opensolaris.org



[request-sponsor] 6759220: ipw2100: needs DDI_SUSPEND / DDI_RESUME support, for suspend to ra

2008-10-28 Thread Jürgen Keil
My fix for bug 6759220: ipw2100: needs DDI_SUSPEND / DDI_RESUME support, for 
suspend to ram
needs a sponsor.

A webrev with the suggested fix can be found here:

http://cr.opensolaris.org/~jkeil/cr6759220/

My contributor agreement # is OS0003.
-- 
This message posted from opensolaris.org



[request-sponsor] 6761274: acpi-crs property not freed after wakeup from s3 suspend to ram

2008-10-28 Thread Jürgen Keil
My fix for bug 6761274: acpi-crs property not freed after wakeup from s3 
suspend to ram
needs a sponsor.

A webrev with the suggested fix can be found here:

http://cr.opensolaris.org/~jkeil/cr6761274/

My contributor agreement # is OS0003.
-- 
This message posted from opensolaris.org



[request-sponsor] 6756285: ipw driver must implement quiesce() entry point

2008-10-06 Thread Jürgen Keil
My fix for bug 6756285 ipw driver must implement quiesce() entry point needs 
a  sponsor.

A webrev with the suggested fix can be found here:

http://cr.opensolaris.org/~jkeil/cr6756285/

My contributor agreement # is OS0003.
--
This message posted from opensolaris.org



[request-sponsor] 6756293 and 6756300: fast reboot fixes

2008-10-06 Thread Jürgen Keil
The following two fast reboot bugs need a sponsor for my bug fixes:

6756293 poweroff and halt commands broken by fast reboot feature
6756300 Fast reboot from an unmounted ufs root file system fails with errno 
EFBIG

A webrev with the suggested fix can be found here:

http://cr.opensolaris.org/~jkeil/cr6756293_6756300/

My contributor agreement # is OS0003.
--
This message posted from opensolaris.org



[request-sponsor] 6659297: pxegrub is unable to pass arguments to a kernel loaded via TFTP

2008-02-07 Thread Jürgen Keil
This is a sponsor request to fix 6659297: pxegrub is unable to pass arguments 
to a kernel loaded via TFTP:
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6659297

My contributor agreement # : OS0003

My suggested fix is included in the description of the bug report.
 
 
This message posted from opensolaris.org



[request-sponsor] 6632880: intermittent EIO errors from xvm xdf driver

2007-11-21 Thread Jürgen Keil
CR 6632880 needs a sponsor.

When the xvm/xen blkback driver does not support
BLKIF_OP_WRITE_BARRIER (or fails requests for
some reason), the Solaris blkfront driver xdf can fail
unrelated i/o requests with I/O errors.

My suggested fix in included in the workaround section 
for bug report 6632880

My contributor agreement # : OS0003
 
 
This message posted from opensolaris.org



[request-sponsor] 6626043: create_ramdisk could be faster

2007-11-07 Thread Jürgen Keil
6626043 create_ramdisk could be faster needs a sponsor;
my suggested performance enhancements can be found in the
workaround section of the bug:
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6626043

My contributor agreement # is OS0003.
 
 
This message posted from opensolaris.org



[request-sponsor] CR 6615189: reverse ip6 name lookups don't work in traceroute

2007-10-11 Thread Jürgen Keil
Requesting a sponsor for bug 6615189
reverse ip6 name lookups don't work in traceroute
  http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6615189

A suggested fix is already included in the bug report.

My contributor agreement # : OS0003
 
 
This message posted from opensolaris.org



[request-sponsor] CR 6520664: tamarack/hald: cannot mount fat partition inside extended fdisk

2007-02-02 Thread Jürgen Keil
This is a sponsor request for the fix for bug #6520664
tamarack / hald: cannot mount fat partition inside extended fdisk

My suggested fix is included in the bug report.
Contributor agreement # : OS0003
 
 
This message posted from opensolaris.org



[request-sponsor] CR 6518626: create_ramdisk fails to create new boot archives in de locale

2007-01-29 Thread Jürgen Keil
This is a sponsor request for the fix for bug #6518626,
create_ramdisk fails to create new boot archives in de locale

My suggested fix is included in the bug report.
Contributor agreement # : OS0003
 
 
This message posted from opensolaris.org



[request-sponsor] CR 6414472 [Re: difficulty using both channels of HPT370 on Abit TS20]

2007-01-15 Thread Jürgen Keil
This is a sponsor request for the fix for bug 6414472: ata driver
could lock up system when shared pci interrupts are in use.

My suggested fix is included in the bug report.

There is now at least a second system with different hardware
that suffers from the same problem:

http://www.opensolaris.org/jive/thread.jspa?threadID=20599tstart=0#81730


My contributor agreement # : OS0003


  Hmm, maybe this is bug 6414472, ata-x86: lockup in ata_id_common(), when 
  using shared pci interrupts ?
 
  http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6414472

 Fantastic, it works beautifully. Is there any way to
 get this fix into the source tree? I noticed it was
 not committed yet in b52, but it is working
 wonderfully for me.
 
 
This message posted from opensolaris.org



[request-sponsor] CR 6509575: sd(7d) un_f_mmc_writable_media flag not updated after media....

2007-01-04 Thread Jürgen Keil
I need a sponsor for CR 6509575,
sd(7d) un_f_mmc_writable_media flag not updated after media change

A suggested fix is included in the bug report.

My contributor agreement # : OS0003
 
 
This message posted from opensolaris.org



[request-sponsor] sponsor request for 6474649 and 6474631: fixes for on-20060918 pcfs issues

2006-09-25 Thread Jürgen Keil
This is a sponsor request to fix two new bugs that were introduced with 
on-20060918.

Frank Hofmann has already offered to sponsor CR 6474631 [1],
and I guess he'll sponsor CR 6474649 [2], too.

[1] http://www.opensolaris.org/jive/thread.jspa?threadID=14382tstart=0
[2] http://www.opensolaris.org/jive/thread.jspa?threadID=14148tstart=0
 
 
This message posted from opensolaris.org



[request-sponsor] Re: 6457265 RFE

2006-09-08 Thread Jürgen Keil
 Just a note, MikeE and I were discussing this on #opensolaris.  The code
 in question isn't actually open yet since it's in the Install
 consolidation.  However, the code in question is a shell script - so
 it's clearly open in the sense that it's visible to people.
 
 I told MikeE he should check with request-sponsor to see if it's
 possible for him to work on it even though it's not officially published
 yet.


I guess I'm in the same boat with bug 6342722, which is about broken
more in the installer (and the failsafe) environment:
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6342722

The /sbin/sulogin shell script in the installer's miniroot ramdisk and the same
/sbin/sulogin script in the /boot/x86.miniroot-safe needs to be fixed to open
stdin/stout/stderr in read/write mode to please commands like more that
expect that you can *read* from the stderr file handle.

Where does that  /sbin/sulogin script come from?  It seems it isn't part of
the ON on-src-MMDD.tar.bz2 source drops.  How can we get that 
script fixed in Solaris Express?
 
 
This message posted from opensolaris.org



[request-sponsor] 6448149: TEST_UNIT_READY / START_STOP_UNIT command doesn't work with 1394..

2006-07-12 Thread Jürgen Keil
CR 6448149 needs a sponsor. The suggested fix is inclded with the bug report.
(contributor agreement # OS0003).
 
 
This message posted from opensolaris.org



[request-sponsor] 6448139, 6448141: iscsitgtd heap corruption issues

2006-07-12 Thread Jürgen Keil
Some fixes for iscsitgtd heap corruption issues need a sponsor,
CR 6448139  CR 6448141
(contributor agreement # OS0003)
 
 
This message posted from opensolaris.org



[request-sponsor] 6445725: newfs / zpool create on firewire device hangs the OS

2006-07-06 Thread Jürgen Keil
CR 6445725 needs a sponsor:
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6445725
(contributor agreement # OS0003) 

The fix was included with the bug report, but it might have got lost in some
text - html conversion.  A copy of my suggested fix is available here:

http://www.tools.de/solaris/opensolaris/scsa1394-mkfs-hang2-alt
 
 
This message posted from opensolaris.org



[request-sponsor] 6434926: sd_get_write_cache_enabled() should verify the received mode sense

2006-06-07 Thread Jürgen Keil
This is a sponsor request for bug 6434926:

In a lot of cases, USB and Firewire mass storage devices do not support the
caching parameter mode sense page.  sd should try to verify that it is looking 
at
valid caching page mode sense data, before accessing the write cache enabled
flag.

See bug report CR 6434926, it also includes my suggested fix.

(contributor agreement # OS0003)
 
 
This message posted from opensolaris.org



[request-sponsor] Re: requests awaiting a sponsor...

2006-04-21 Thread Jürgen Keil
 Just a quick reminder that there are now 39 requests awaiting a sponsor. 
 The oldest was submitted on 2/3, ...

Btw. 6380514 is listed as Awaiting Sponsor, but it has already been 
integrated into snv_38,
by Anish Gupta, ~ 2006-4-3.
 
 
This message posted from opensolaris.org



[request-sponsor] Bug 6412936: no event data is received from a Apple Mighty Mouse

2006-04-18 Thread Jürgen Keil
This is a sponsor request to fix support for the Intel iMac USB mouse.

The suggested for for the issue is included in the bug report:

http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6412936
 
 
This message posted from opensolaris.org



[request-sponsor] 6388096: NULL pointer dereference panic in sd_range_lock()

2006-02-21 Thread Jürgen Keil
Another fix for the sd driver, for devices with block sizes  512 bytes: it was 
freeing memory
too early and panics with a NULL pointer dereference panic.

A suggested fix is included with the bug report.
This message posted from opensolaris.org



[request-sponsor] 6366097:hidparser shouldn't use signed chars when computing max packet size

2005-12-21 Thread Jürgen Keil
The fix is included in the bug report.
This message posted from opensolaris.org



[request-sponsor] Re: 6317146: syseventd refuses to use custom configuration files on nfs v

2005-12-12 Thread Jürgen Keil
 On Thu, Sep 01, 2005 at 11:18:50AM -0700, J?rgen Keil wrote:
 
  See http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6317146
  
  The workaround section contains the suggested fix.
 
 I've got this one.

This request for sponser can now be canceled.  snv_28 includes a fix for
bugid 6346636: expunge readdir_r uses from Solaris,  and it has removed
the pathconf() call that was failing with an NFS v2 root filesystem. 

Bug ID 6317146, Synopsis: syseventd refuses to use custom configuration files
on nfs v2 root filesystem should probably be closed, too, with a reference to 
bugid 6346636.
This message posted from opensolaris.org



[request-sponsor] 6335559, 6335549, 6335547: fixes for various smbios / prtdiag issues

2005-10-12 Thread Jürgen Keil
6335559: smbios utility reports bogus cache size information
6335549: prtdiag: can't get smbios tables on toshiba tecra s1 laptop
6335547: smbios intermediate checksum computation is broken, rejects valid 
smbios tables

See each bug's work around section for a suggested fix, with the exception of
CR 6335547 (see the attachment for a new suggested fix for 6335547).
This message posted from opensolaris.org
-- next part --
Diskless snv_22 client, ASUS A7V mainboard, bfu'ed to snv_23:

% prtdiag
prtdiag: failed to open SMBIOS: System does not export an SMBIOS table

/var/adm/messages:

Oct  8 20:05:17 moritz unix: [ID 672469 kern.info] SMBIOS not loaded (SMBIOS 
header checksum mismatch)



open /dev/smbios fails with ENXIO, because in the kernel, ksmbios == NULL.

This happens in post_startup():

ksmbios = smbios_open(NULL, SMB_VERSION, ksmbios_flags, NULL);


Root cause:

usr/src/common/smbios/smb_open.c function smbios_bufopen() computes an 
'isum' checksum like this:

76  smbios_hdl_t *
77  smbios_bufopen(const smbios_entry_t *ep, const void *buf, size_t len,
78  int version, int flags, int *errp)
79  {
   ...
   132  for (p = (uchar_t *)ep-smbe_ianchor; p  q + sizeof 
(*ep); p++)
   133  isum += *p;

The computed 'isum' checksum has a value != 0.

Problem is that the smbios entry structure has an odd length of 31 bytes, 
but the smbios_entry_t type definition is not 'packed' so that the compiler
works with an extra filler byte at the end and a sizeof(*ep) of 32 bytes.
One extra byte is included in the comupted checksum, the computed checksum
is bogus.

The smbios bios reference specification defines the intermediate checksum
as the sum of the values starting at offset 10h for 0Fh bytes (Solaris
sums 10h bytes).



XXX Old suggested fix:
XXX 
XXX In usr/src/uts/common/sys/smbios.h, use #pragma pack(1) around the
XXX smbios_entry_t typedef.
XXX
XXX but this breaks smbios on a Peacock Freeliner XP10 AMD laptop.

New suggested fix:

Don't rely on sizeof(smbios_entry_t) when computing/verifying the smbe_icksum.
Use the range of bytes [smbe_ianchor .. smbe_bcdrev] to compute/verify the
checksum.

*** usr/src/common/smbios/smb_open.c~   2005-10-10 19:14:20.155332000 +0200
--- usr/src/common/smbios/smb_open.c2005-10-11 17:15:12.305958000 +0200
***
*** 129,135 
for (p = q; p  q + ep-smbe_elen; p++)
esum += *p;
  
!   for (p = (uchar_t *)ep-smbe_ianchor; p  q + sizeof (*ep); p++)
isum += *p;
  
if (esum != 0 || isum != 0) {
--- 129,137 
for (p = q; p  q + ep-smbe_elen; p++)
esum += *p;
  
!   for (p = (uchar_t *)ep-smbe_ianchor;
!p = (uchar_t *)ep-smbe_bcdrev;
!p++)
isum += *p;
  
if (esum != 0 || isum != 0) {
***
*** 265,271 
  
ep-smbe_ecksum = ep-smbe_icksum = 0;
  
!   for (p = (uchar_t *)ep-smbe_ianchor; p  q + sizeof (*ep); p++)
isum += *p;
  
ep-smbe_icksum = -isum;
--- 267,275 
  
ep-smbe_ecksum = ep-smbe_icksum = 0;
  
!   for (p = (uchar_t *)ep-smbe_ianchor;
!p = (uchar_t *)ep-smbe_bcdrev;
!p++)
isum += *p;
  
ep-smbe_icksum = -isum;


[request-sponsor] 6323481: pci device enumeration for multifunction pci devices is incomplete

2005-09-14 Thread Jürgen Keil
See the bug's work around section for the suggested fix.
This message posted from opensolaris.org



[request-sponsor] 6317107: # key cannot be used in polled mode with a german layout ps/2 keyb

2005-09-01 Thread Jürgen Keil
See http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6317107

The suggested fix is included in the workaround section of the bug.
This message posted from opensolaris.org



[request-sponsor] 6317111: newboot x86 diskless client refuses to use nfs vers3 for root file

2005-09-01 Thread Jürgen Keil
See http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6317111

The suggested fix is included in the workaround section of the bug.
This message posted from opensolaris.org



[request-sponsor] 6317110: svc.startd terminates with a core dump, reports invalid or corrupt

2005-09-01 Thread Jürgen Keil
See http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6317110

The suggested fix is included in the workaround section of the bug.
This message posted from opensolaris.org



[request-sponsor] 6312400: ps/2 floppy is not enumerated when acpi is disabled or not supp...

2005-08-18 Thread Jürgen Keil
See http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6312400

The suggested fix is included in the description section of the bug.
This message posted from opensolaris.org



[request-sponsor] request sponsor for 6311025: build_reserved_irqlist ignores irq15 ...

2005-08-15 Thread Jürgen Keil
Fix for this issue is included in the bug's workaround section: in
usr/src/uts/i86pc/io/psm/psm_common.c, line 308, the condition for running the 
code
in the loop must be changed from i  MAX_ISA_IRQ to i = MAX_ISA_IRQ.
This message posted from opensolaris.org



[request-sponsor] request sponsor for 6311029: update pci interrupt line information after...

2005-08-15 Thread Jürgen Keil
Fix for this problem is included in the bug's workaround section.
This message posted from opensolaris.org



[request-sponsor] request sponsor for 6308413: sysi86(SI86DSCR) rejects the first valid ...

2005-08-10 Thread Jürgen Keil
I've already submitted the fix for 6308413 with the bug report (see the 
workaround
section)
This message posted from opensolaris.org



[request-sponsor] request-sponsor for bug 6203874 (ypxfrd coredumps ...)

2005-06-28 Thread Jürgen Keil
My first opensolaris contributed bugfix.  I have fixed

6203874 ypxfrd coredumps in x86 master/SPARC slave scenarios


Updated analysis for the bug:

Root cause for the coredump is that the original code is encoding the
pagebuffer into network byteorder when mygetpage() hasn't returned OK;
that is, when mygetpage() must have returned with GETDBM_EOF.

In the GETDBM_EOF case, no new data was filled into the pagblock.
The code in the DOSWAB section reads an already byteswapped length
cnt = s[0] from the previous loop, and uses this bogus length to byteswap
a block of shorts in memory.  Using the bogus length, it corrupts this
memory block; the corruption is not limited to the local
static variable static  struct pag res;.


Suggested fix:

*** usr/src/cmd/ypcmd/ypxfrd_server.c~  Tue Jun 14 09:44:51 2005
--- usr/src/cmd/ypcmd/ypxfrd_server.c   Tue Jun 28 18:45:11 2005
***
*** 267,276 
res.status = mygetpage(res.pag_u.ok.blkdat, (res.pag_u.ok.blkno), m);

  #ifdef DOSWAB
!   s = (short *)res.pag_u.ok.blkdat;
!   cnt = s[0];
!   for (i = 0; i = cnt; i++)
!   s[i] = ntohs(s[i]);
  #endif

if (!xdr_pag(xdrs, res))
--- 267,278 
res.status = mygetpage(res.pag_u.ok.blkdat, (res.pag_u.ok.blkno), m);

  #ifdef DOSWAB
!   if (res.status == OK) {
!   s = (short *)res.pag_u.ok.blkdat;
!   cnt = s[0];
!   for (i = 0; i = cnt; i++)
!   s[i] = htons(s[i]);
!   }
  #endif

if (!xdr_pag(xdrs, res))
***
*** 283,292 
(res.pag_u.ok.blkno), m);

  #ifdef DOSWAB
!   s = (short *)res.pag_u.ok.blkdat;
!   cnt = s[0];
!   for (i = 0; i = cnt; i++)
!   s[i] = ntohs(s[i]);
  #endif

if (!xdr_pag(xdrs, res))
--- 285,296 
(res.pag_u.ok.blkno), m);

  #ifdef DOSWAB
!   if (res.status == OK) {
!   s = (short *)res.pag_u.ok.blkdat;
!   cnt = s[0];
!   for (i = 0; i = cnt; i++)
!   s[i] = htons(s[i]);
!   }
  #endif

if (!xdr_pag(xdrs, res))
This message posted from opensolaris.org