[Bug 1755863] Re: netbooting the bionic live CD over NFS goes straight to maintenance mode :

2018-08-06 Thread thh
Based on in-depth analysis, I found the cause of the error:

“Apr 03 12:59:15 ubuntu systemd[1]: Failed to set up mount unit: Device
or resource busy”

call tree on systemd mount.c & unit.c:
 mount_dispatch_io
  -> mount_load_proc_self_mountinfo
 -> mount_setup_unit
 -> mount_setup_existing_unit 
 -> mount_add_extras
 -> unit_set_default_slice:
  -> unit_set_slice:
 if (unit_active_state(u) != UNIT_INACTIVE)
  return -EBUSY;  

"unit_set_slice" return EBUSY always, because of nfsroot always active
state in netbooting,

"mount_dispatch_io" give up updating mount state when
"mount_load_proc_self_mountinfo" return the error.

finally, all systemd mount service failed and then goto emergency shell.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1755863

Title:
  netbooting the bionic live CD over NFS goes straight to maintenance
  mode :

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1755863/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 967399] Re: [11.10] Elantech trackpoint does not work Lenovo

2014-11-29 Thread thh
I think this bug has now been fixed upstream:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a2418fc4a13b5da8d007a038c0a6a50a54edfabd

Could somebody please backport that patch to the Ubuntu 14.04 kernel?
It's really annoying to re-compile my own mouse kernel module each time
I've got to update my kernel package...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/967399

Title:
  [11.10] Elantech trackpoint does not work Lenovo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/967399/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 87652] Re: No sound in linux-image-2.6.20-8-powerpc G4

2009-04-23 Thread thh
I just installed Ubuntu 9.04 on my G4 Silver PowerMac, with
vmlinux-2.6.28-6-powerpc kernel (NOT the smp version!), And yes, sound
is working completely right again. I think this bug can now be closed
for the new Ubuntu version.

-- 
No sound in linux-image-2.6.20-8-powerpc G4 
https://bugs.launchpad.net/bugs/87652
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 87652] Re: No sound in linux-image-2.6.20-8-powerpc G4

2008-03-10 Thread thh
I've tested an Ubuntu Linux SMP kernel today (2.6.22-14-powerpc-smp), and I can 
confirm that sound is working again with this kernel!
 (I have a Silver PowerMac G4 and sound was not working with the normal non-SMP 
kernel)

-- 
No sound in linux-image-2.6.20-8-powerpc G4 
https://bugs.launchpad.net/bugs/87652
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 87652] Re: No sound in linux-image-2.6.20-8-powerpc G4

2008-01-17 Thread thh
I encountered this bug on my silver PowerMac G4:

cat /proc/cpuinfo
[...]
machine : PowerMac3,5
motherboard : PowerMac3,5 MacRISC2 MacRISC Power Macintosh
detected as : 69 (PowerMac G4 Silver)
[...]

cat /dev/sndstat
[...]
Card config: 
PowerMac Tumbler (Dev 21) Sub-frame 0
Audio devices:
0: PowerMac Tumbler
[...]

I am currently using the normal Ubuntu 7.10 kernel (linux 2.6.22), without 
PREEMPT, and using CONFIG_HZ=250.
I also had this problem on Ubuntu 7.04 with kernel 2.6.20.
I  did _not_ have this problem on Ubuntu 6.10 with kernel 2.6.17 !


** Description changed:

  Binary package hint: linux-image-2.6.20-6-powerpc
  
  Audio plays (via any audio application) for about 3 seconds, then it
  blocks, and no further audio is heard until the player is killed.
  
  Powerbook G4, c. 2002 vintage with snd_powermac.
  
  Audio was fine in Edgy.
  
  Example of blocked app:
  
  jrh   5289  0.5  0.8  22072  4148 pts/0SLl+ 20:43   0:00 ogg123
  /home/shared/audio/cd/Berlioz/TeDeum/00.Te_Deum_Hymne.ogg
  
  Snd Modules:
  
  snd_powermac   49984  1 
  snd_aoa_i2sbus 24292  0 
  snd_pcm_oss53984  0 
  snd_mixer_oss  20960  1 snd_pcm_oss
  snd_pcm95812  3 snd_powermac,snd_aoa_i2sbus,snd_pcm_oss
  snd_page_alloc 11368  1 snd_pcm
  snd_seq_dummy   4004  0 
  snd_seq_oss40660  0 
  snd_seq_midi   10016  0 
  snd_rawmidi29632  1 snd_seq_midi
  snd_seq_midi_event  8192  2 snd_seq_oss,snd_seq_midi
  snd_seq61888  6 
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
  snd_timer  26404  2 snd_pcm,snd_seq
  snd_seq_device  9388  5 
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
  snd69812  12 
snd_powermac,snd_aoa_i2sbus,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
  soundcore   8996  1 snd
  snd_aoa_soundbus7812  1 snd_aoa_i2sbus
  
  
  this is known to effect the following macs (code name/numbers from cat 
/proc/cpuinfo)
  PowerBook3,5 - TiBook 15 inch 1GHz
+ PowerMac3,5 - PowerMac G4 silver, 933 MHz  (Audio: PowerMac Tumbler)

-- 
No sound in linux-image-2.6.20-8-powerpc G4 
https://bugs.launchpad.net/bugs/87652
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 87652] Re: No sound in linux-image-2.6.20-8-powerpc G4

2008-01-14 Thread thh
 Hi Dave!

 Thanks so much for fixing this! Would you mind telling me how the
dmasound_awacs.c fix came to your attention? I was completely stuck when
I tried looking into this earlier, maybe I'll learn something :-)

Pure luck :-) I am also completely new to kernel hacking... I read your
message about the xfer_status in snd_pmac_pcm_update, added some
debugging printks in my sources in this function, then found out that
the DEAD bit is set as soon as the sound dies. Since I knew that the old
OSS driver was still working with newer kernels (at least 2.6.20, I was
not able to use it in 2.6.22 anymore), I peeked into the sources there
and spotted the DEAD DMA transfer handling in it.

 I'm also wondering whether this counts as a fix or a workaround. It's
somewhat weird that we're now seeing the same problem in the ALSA driver
as OSS used to have--but for years these DEAD DMA transfers never showed
up in ALSA.

Agreed, maybe it's just a workaround. Maybe this patch from Ben
Herrenschmidt is causing some troubles with DMA that haven't been there
before? Looking at Ben's patch, there is some stuff related to DMA and
IDE (which also uses DMA) in it... have you already been in contact with
Ben Herrenschmidt because of this?

-- 
No sound in linux-image-2.6.20-8-powerpc G4 
https://bugs.launchpad.net/bugs/87652
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 87652] Re: No sound in linux-image-2.6.20-8-powerpc G4

2008-01-14 Thread thh
 Hi Scott!

All i can say that sound is now working quite good on my system again
with that patch. I don't have a second Mac for testing, and I am also
new to this kernel stuff, so I don't have a clue what could cause these
plopping noises on your system. There is a disabled printk line in the
snd_pmac_pcm_dead_xfer function. You could enable that line, recompile
and then tail -F /var/log/messages to see how often the DMA transfers
die on your system. If they die very often, this might be the cause.

-- 
No sound in linux-image-2.6.20-8-powerpc G4 
https://bugs.launchpad.net/bugs/87652
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 87652] Re: No sound in linux-image-2.6.20-8-powerpc G4

2008-01-12 Thread thh
I have the same problem on my PowerMac G4. After reading the note from Dave 
Vasilevsky, I also checked the status in the snd_pmac_pcm_update function, and 
it seems that the failing DMA transfer has the status DEAD.
I've then checked the old OSS powermac sound driver in 
sound/oss/dmasound/dmasound_awacs.c (which used to work with newer kernels) - 
and yes, this driver handles DEAD DMA transfers!

So I've spent some time porting the DEAD DMA transfer handling code from
the old driver to the new one - and now sound it working for me again
with kernels 2.6.22 / Ubuntu 7.10.

I've attached my patch, would be nice if other users here could try it
out, too!


** Attachment added: Patch for broken sound on G4 PowerMac
   http://launchpadlibrarian.net/11311439/pmac.c.diff

-- 
No sound in linux-image-2.6.20-8-powerpc G4 
https://bugs.launchpad.net/bugs/87652
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs